@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.node.es.js
CHANGED
|
@@ -9541,7 +9541,10 @@ class FileUploadApi {
|
|
|
9541
9541
|
this.conf = conf;
|
|
9542
9542
|
this.namespace = namespace;
|
|
9543
9543
|
/**
|
|
9544
|
-
*
|
|
9544
|
+
* POST [/basic/v1/public/namespaces/{namespace}/folders/{folder}/files](api)
|
|
9545
|
+
*
|
|
9546
|
+
* Generate an upload URL. It's valid for 10 minutes.
|
|
9547
|
+
* Returns: URL data
|
|
9545
9548
|
*/
|
|
9546
9549
|
this.generateFolderUploadFileUrl = ({ folder, queryParams }) => {
|
|
9547
9550
|
return this.newInstance().postV1NsFoldersByFolderFiles(folder, queryParams);
|
|
@@ -9662,11 +9665,18 @@ class MiscApi {
|
|
|
9662
9665
|
this.namespace = namespace;
|
|
9663
9666
|
this.cache = cache;
|
|
9664
9667
|
/**
|
|
9665
|
-
*
|
|
9668
|
+
* GET [/basic/v1/public/namespaces/{namespace}/misc/countries](api)
|
|
9669
|
+
*
|
|
9670
|
+
* _Returns_: country code list
|
|
9666
9671
|
*/
|
|
9667
9672
|
this.getCountries = (lang) => {
|
|
9668
9673
|
return this.newInstance().fetchV1NsMiscCountries({ lang });
|
|
9669
9674
|
};
|
|
9675
|
+
/**
|
|
9676
|
+
* GET [/basic/v1/public/namespaces/{namespace}/misc/languages](api)
|
|
9677
|
+
*
|
|
9678
|
+
* _Returns_: language list
|
|
9679
|
+
*/
|
|
9670
9680
|
this.getLanguages = () => {
|
|
9671
9681
|
return this.newInstance().fetchV1NsMiscLanguages();
|
|
9672
9682
|
};
|
|
@@ -9756,7 +9766,13 @@ class NamespaceApi {
|
|
|
9756
9766
|
this.namespace = namespace;
|
|
9757
9767
|
this.cache = cache;
|
|
9758
9768
|
/**
|
|
9759
|
-
*
|
|
9769
|
+
* GET [/basic/v1/public/namespaces](api)
|
|
9770
|
+
*
|
|
9771
|
+
* Get all namespaces.
|
|
9772
|
+
*
|
|
9773
|
+
* - _Required permission_: login user
|
|
9774
|
+
* - _Action code_: 11303
|
|
9775
|
+
* - _Returns_: list of namespaces
|
|
9760
9776
|
*/
|
|
9761
9777
|
this.getNamespaces = (activeOnly) => {
|
|
9762
9778
|
return this.newInstance().fetchV1PublicNamespaces({ activeOnly });
|
|
@@ -10063,25 +10079,39 @@ class UserProfileApi {
|
|
|
10063
10079
|
this.namespace = namespace;
|
|
10064
10080
|
this.cache = cache;
|
|
10065
10081
|
/**
|
|
10066
|
-
*
|
|
10082
|
+
* GET [/basic/v1/public/namespaces/{namespace}/users/me/profiles](api)
|
|
10083
|
+
*
|
|
10084
|
+
* Get my profile
|
|
10085
|
+
*
|
|
10086
|
+
* __Client with user token can get user profile in target namespace__
|
|
10067
10087
|
*/
|
|
10068
10088
|
this.getUsersMeProfiles = () => {
|
|
10069
10089
|
return this.newInstance().fetchV1NsUsersMeProfiles();
|
|
10070
10090
|
};
|
|
10071
10091
|
/**
|
|
10072
|
-
*
|
|
10092
|
+
* POST [/basic/v1/public/namespaces/{namespace}/users/me/profiles](api)
|
|
10093
|
+
*
|
|
10094
|
+
* Create my profile.
|
|
10095
|
+
*
|
|
10096
|
+
* __Client with user token can create user profile in target namespace__
|
|
10073
10097
|
*/
|
|
10074
10098
|
this.createUserMeProfile = (data) => {
|
|
10075
10099
|
return this.newInstance().postV1NsUsersMeProfiles(data);
|
|
10076
10100
|
};
|
|
10077
10101
|
/**
|
|
10078
|
-
*
|
|
10102
|
+
* PUT [/basic/v1/public/namespaces/{namespace}/users/me/profiles](api)
|
|
10103
|
+
*
|
|
10104
|
+
* Update my profile.
|
|
10105
|
+
* 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.
|
|
10079
10106
|
*/
|
|
10080
10107
|
this.updateUserMeProfile = (data) => {
|
|
10081
10108
|
return this.newInstance().putV1NsUsersMeProfiles(data);
|
|
10082
10109
|
};
|
|
10083
10110
|
/**
|
|
10084
|
-
*
|
|
10111
|
+
* PUT [/basic/v1/public/namespaces/{namespace}/users/{userId}/profiles/customAttributes](api)
|
|
10112
|
+
*
|
|
10113
|
+
* Update partially custom attributes tied to user id.
|
|
10114
|
+
* _Returns_: Updated custom attributes
|
|
10085
10115
|
*/
|
|
10086
10116
|
this.updateUserCustomAttributes = (userId, data) => {
|
|
10087
10117
|
return this.newInstance().putV1NsUsersByUseridProfilesCustomAttributes(userId, data);
|
|
@@ -10148,12 +10178,17 @@ class CachingApi {
|
|
|
10148
10178
|
constructor(conf, namespace) {
|
|
10149
10179
|
this.conf = conf;
|
|
10150
10180
|
this.namespace = namespace;
|
|
10151
|
-
|
|
10152
|
-
|
|
10153
|
-
|
|
10154
|
-
|
|
10155
|
-
|
|
10156
|
-
|
|
10181
|
+
/**
|
|
10182
|
+
* GET [/buildinfo/public/namespaces/{namespace}/diff/cache/source/{sourceBuildId}/dest/{destinationBuildId}](api)
|
|
10183
|
+
*
|
|
10184
|
+
* This API is used to retrieve detailed diff cache.
|
|
10185
|
+
* The response will contains list of diff cache files along with its download url.
|
|
10186
|
+
*
|
|
10187
|
+
* _Required permission_: login user
|
|
10188
|
+
*/
|
|
10189
|
+
this.getDiffCache = (sourceBuildId, destinationBuildId) => {
|
|
10190
|
+
return this.newInstance().fetchNsDiffCacheSourceBySourcebuildidDestByDestinationbuildid(sourceBuildId, destinationBuildId);
|
|
10191
|
+
};
|
|
10157
10192
|
}
|
|
10158
10193
|
newInstance() {
|
|
10159
10194
|
// this is expensive to cache, apply "cache: false"
|
|
@@ -10327,18 +10362,26 @@ class DlcApi {
|
|
|
10327
10362
|
constructor(conf, namespace) {
|
|
10328
10363
|
this.conf = conf;
|
|
10329
10364
|
this.namespace = namespace;
|
|
10330
|
-
|
|
10331
|
-
|
|
10332
|
-
|
|
10333
|
-
|
|
10334
|
-
|
|
10335
|
-
|
|
10336
|
-
|
|
10337
|
-
|
|
10338
|
-
|
|
10339
|
-
|
|
10340
|
-
|
|
10341
|
-
|
|
10365
|
+
/**
|
|
10366
|
+
* GET [/buildinfo/public/namespaces/{namespace}/dlcs/latest/byGameAppId/{appId}](api)
|
|
10367
|
+
*
|
|
10368
|
+
* Retrieve the list of DLC available on specific game. Use game's appId to query.
|
|
10369
|
+
*
|
|
10370
|
+
* _Returns_: list of DLC
|
|
10371
|
+
*/
|
|
10372
|
+
this.getLatestDLCByGameAppId = (appId) => {
|
|
10373
|
+
return this.newInstance().fetchNsDlcsLatestByGameAppIdByAppid(appId);
|
|
10374
|
+
};
|
|
10375
|
+
/**
|
|
10376
|
+
* GET [/buildinfo/public/namespaces/{namespace}/apps/latest/byDLCAppId/{dlcAppId}](api)
|
|
10377
|
+
*
|
|
10378
|
+
* Retrieve the list of DLC available on specific game. Use DLC's appId to query.
|
|
10379
|
+
*
|
|
10380
|
+
* _Returns_: appId of game and list of its builds by platformId
|
|
10381
|
+
*/
|
|
10382
|
+
this.getBaseGamesByDlcAppId = (dlcAppId) => {
|
|
10383
|
+
return this.newInstance().fetchNsAppsLatestByDlcAppIdByDlcappid(dlcAppId);
|
|
10384
|
+
};
|
|
10342
10385
|
}
|
|
10343
10386
|
newInstance() {
|
|
10344
10387
|
// this is be expensive to cache, apply "cache: false"
|
|
@@ -10705,56 +10748,76 @@ class DownloaderApi {
|
|
|
10705
10748
|
constructor(conf, namespace) {
|
|
10706
10749
|
this.conf = conf;
|
|
10707
10750
|
this.namespace = namespace;
|
|
10708
|
-
|
|
10709
|
-
|
|
10710
|
-
|
|
10711
|
-
|
|
10712
|
-
|
|
10713
|
-
|
|
10714
|
-
|
|
10715
|
-
|
|
10716
|
-
|
|
10717
|
-
|
|
10718
|
-
|
|
10719
|
-
|
|
10720
|
-
|
|
10721
|
-
|
|
10722
|
-
|
|
10723
|
-
|
|
10724
|
-
|
|
10725
|
-
|
|
10726
|
-
|
|
10727
|
-
|
|
10728
|
-
|
|
10729
|
-
|
|
10730
|
-
|
|
10731
|
-
|
|
10732
|
-
|
|
10733
|
-
|
|
10734
|
-
|
|
10735
|
-
|
|
10751
|
+
/**
|
|
10752
|
+
* GET [/buildinfo/public/namespaces/{namespace}/availablebuilds/{appId}](api)
|
|
10753
|
+
*
|
|
10754
|
+
* This API is used to get simple build manifest that contains list of current build in various platform.
|
|
10755
|
+
*
|
|
10756
|
+
* - _Required permission_: login user
|
|
10757
|
+
* - _Returns_: build manifest
|
|
10758
|
+
*/
|
|
10759
|
+
this.getAvailableBuilds = (appId) => {
|
|
10760
|
+
return this.newInstance().fetchNsAvailablebuildsByAppid(appId);
|
|
10761
|
+
};
|
|
10762
|
+
/**
|
|
10763
|
+
* GET [/buildinfo/public/namespaces/{namespace}/v2/updategame/{appId}/{platformId}](api)
|
|
10764
|
+
*
|
|
10765
|
+
* This API is used to get build manifest of release version of the application.
|
|
10766
|
+
*
|
|
10767
|
+
* - _Required permission_: login user
|
|
10768
|
+
* - _Returns_: build manifest
|
|
10769
|
+
*/
|
|
10770
|
+
this.getBuildManifest = (appId, platformId) => {
|
|
10771
|
+
const axios = Network.create({ ...this.conf, timeout: 1800000 });
|
|
10772
|
+
return new Downloader$(axios, this.namespace, false).fetchNsV2UpdategameByAppidByPlatformid(appId, platformId);
|
|
10773
|
+
};
|
|
10774
|
+
/**
|
|
10775
|
+
* GET [/buildinfo/public/namespaces/{namespace}/diff/cache/source/{sourceBuildId}/dest/{destinationBuildId}](api)
|
|
10776
|
+
*
|
|
10777
|
+
* This API is used to retrieve detailed diff cache.
|
|
10778
|
+
* The response will contains list of diff cache files along with its download url.
|
|
10779
|
+
*
|
|
10780
|
+
* - _Required permission_: login user
|
|
10781
|
+
*/
|
|
10782
|
+
this.getDiffCache = (sourceBuildId, destinationBuildId) => {
|
|
10783
|
+
return new Caching$(Network.create(this.conf), this.namespace, false).fetchNsDiffCacheSourceBySourcebuildidDestByDestinationbuildid(sourceBuildId, destinationBuildId);
|
|
10784
|
+
};
|
|
10785
|
+
/**
|
|
10786
|
+
* Check which platform is available for the user to download the game
|
|
10787
|
+
*
|
|
10788
|
+
* @internal
|
|
10789
|
+
*/
|
|
10790
|
+
this.getMatchPlatform = ({ buildsAvailability, userPlatform }) => {
|
|
10791
|
+
const availablePlatformID = new Set();
|
|
10792
|
+
for (const buildAvailability of buildsAvailability) {
|
|
10793
|
+
if (buildAvailability.platformId) {
|
|
10794
|
+
availablePlatformID.add(buildAvailability.platformId);
|
|
10795
|
+
}
|
|
10736
10796
|
}
|
|
10737
|
-
|
|
10738
|
-
|
|
10739
|
-
|
|
10740
|
-
|
|
10741
|
-
|
|
10742
|
-
|
|
10797
|
+
const currentMatchPlatform = this.getCurrentPlatform(userPlatform);
|
|
10798
|
+
if (currentMatchPlatform) {
|
|
10799
|
+
for (const key in currentMatchPlatform.targetPlatform) {
|
|
10800
|
+
if (availablePlatformID.has(currentMatchPlatform.targetPlatform[key])) {
|
|
10801
|
+
return currentMatchPlatform.targetPlatform[key];
|
|
10802
|
+
}
|
|
10743
10803
|
}
|
|
10744
10804
|
}
|
|
10745
|
-
|
|
10746
|
-
|
|
10805
|
+
return null;
|
|
10806
|
+
};
|
|
10807
|
+
/**
|
|
10808
|
+
* @internal
|
|
10809
|
+
*/
|
|
10810
|
+
this.getCurrentPlatform = (userPlatform) => {
|
|
10811
|
+
const devicePlatform = userPlatform.platform;
|
|
10812
|
+
const deviceArch = userPlatform.arch;
|
|
10813
|
+
const currentPlatform = AvailablePlatform.find((platform) => platform.platform === devicePlatform && platform.arch.includes(deviceArch));
|
|
10814
|
+
return currentPlatform;
|
|
10815
|
+
};
|
|
10747
10816
|
}
|
|
10748
10817
|
newInstance() {
|
|
10749
10818
|
// this is be expensive to cache, apply "cache: false"
|
|
10750
10819
|
return new Downloader$(Network.create(this.conf), this.namespace, false);
|
|
10751
10820
|
}
|
|
10752
|
-
getCurrentPlatform(userPlatform) {
|
|
10753
|
-
const devicePlatform = userPlatform.platform;
|
|
10754
|
-
const deviceArch = userPlatform.arch;
|
|
10755
|
-
const currentPlatform = AvailablePlatform.find((platform) => platform.platform === devicePlatform && platform.arch.includes(deviceArch));
|
|
10756
|
-
return currentPlatform;
|
|
10757
|
-
}
|
|
10758
10821
|
}
|
|
10759
10822
|
|
|
10760
10823
|
/*
|
|
@@ -10858,16 +10921,17 @@ class EventApi {
|
|
|
10858
10921
|
this.namespace = namespace;
|
|
10859
10922
|
this.cache = cache;
|
|
10860
10923
|
/**
|
|
10861
|
-
*
|
|
10862
|
-
*
|
|
10863
|
-
*
|
|
10864
|
-
*
|
|
10865
|
-
*
|
|
10866
|
-
*
|
|
10867
|
-
*
|
|
10868
|
-
*
|
|
10869
|
-
*
|
|
10870
|
-
*
|
|
10924
|
+
* GET [/event/v2/public/namespaces/{namespace}/users/{userId}/edithistory](api)
|
|
10925
|
+
*
|
|
10926
|
+
* Available Type:
|
|
10927
|
+
* - email
|
|
10928
|
+
* - password
|
|
10929
|
+
* - displayname
|
|
10930
|
+
* - dateofbirth
|
|
10931
|
+
* - country
|
|
10932
|
+
* - language
|
|
10933
|
+
*
|
|
10934
|
+
* _Requires a valid user access token_
|
|
10871
10935
|
*/
|
|
10872
10936
|
this.getAccountHistoryByUserId = ({ userId, queryParams }) => {
|
|
10873
10937
|
return this.newInstance().fetchEventV2NsUsersByUseridEdithistory(userId, queryParams);
|
|
@@ -10961,27 +11025,36 @@ class DataDeletionApi {
|
|
|
10961
11025
|
this.conf = conf;
|
|
10962
11026
|
this.namespace = namespace;
|
|
10963
11027
|
this.cache = cache;
|
|
10964
|
-
|
|
10965
|
-
|
|
10966
|
-
|
|
10967
|
-
|
|
10968
|
-
|
|
10969
|
-
|
|
10970
|
-
|
|
10971
|
-
|
|
10972
|
-
|
|
10973
|
-
|
|
10974
|
-
|
|
10975
|
-
|
|
10976
|
-
|
|
10977
|
-
|
|
10978
|
-
|
|
10979
|
-
|
|
10980
|
-
|
|
10981
|
-
|
|
10982
|
-
|
|
10983
|
-
|
|
10984
|
-
|
|
11028
|
+
/**
|
|
11029
|
+
* GET [/gdpr/public/namespaces/{namespace}/users/{userId}/deletions/status](api)
|
|
11030
|
+
*
|
|
11031
|
+
* Fetch the status to check whether or not a user's account is on a deletion status
|
|
11032
|
+
*
|
|
11033
|
+
* _Requires a valid user access token_
|
|
11034
|
+
*/
|
|
11035
|
+
this.getGdprDeletionStatus = (userId) => {
|
|
11036
|
+
return this.newInstance().fetchGdprNsUsersByUseridDeletionsStatus(userId);
|
|
11037
|
+
};
|
|
11038
|
+
/**
|
|
11039
|
+
* POST [/gdpr/public/namespaces/{namespace}/users/{userId}/deletions](api)
|
|
11040
|
+
*
|
|
11041
|
+
* Request an account's deletion
|
|
11042
|
+
*
|
|
11043
|
+
* _Requires a valid user access token and password_
|
|
11044
|
+
*/
|
|
11045
|
+
this.requestAccountDeletion = ({ userId, data }) => {
|
|
11046
|
+
return this.newInstance().postGdprNsUsersByUseridDeletions(userId, data);
|
|
11047
|
+
};
|
|
11048
|
+
/**
|
|
11049
|
+
* DELETE [/gdpr/public/namespaces/{namespace}/users/{userId}/deletions](api)
|
|
11050
|
+
*
|
|
11051
|
+
* Cancel a deletion request
|
|
11052
|
+
*
|
|
11053
|
+
* _Requires a valid user access token_
|
|
11054
|
+
*/
|
|
11055
|
+
this.cancelAccountDeletion = (userId) => {
|
|
11056
|
+
return this.newInstance().deleteGdprNsUsersByUseridDeletions(userId);
|
|
11057
|
+
};
|
|
10985
11058
|
}
|
|
10986
11059
|
newInstance() {
|
|
10987
11060
|
return new DataDeletion$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -11102,34 +11175,46 @@ class DataRetrievalApi {
|
|
|
11102
11175
|
this.conf = conf;
|
|
11103
11176
|
this.namespace = namespace;
|
|
11104
11177
|
this.cache = cache;
|
|
11105
|
-
|
|
11106
|
-
|
|
11107
|
-
|
|
11108
|
-
|
|
11109
|
-
|
|
11110
|
-
|
|
11111
|
-
|
|
11112
|
-
|
|
11113
|
-
|
|
11114
|
-
|
|
11115
|
-
|
|
11116
|
-
|
|
11117
|
-
|
|
11118
|
-
|
|
11119
|
-
|
|
11120
|
-
|
|
11121
|
-
|
|
11122
|
-
|
|
11123
|
-
|
|
11124
|
-
|
|
11125
|
-
|
|
11126
|
-
|
|
11127
|
-
|
|
11128
|
-
|
|
11129
|
-
|
|
11130
|
-
|
|
11131
|
-
|
|
11132
|
-
|
|
11178
|
+
/**
|
|
11179
|
+
* GET [/gdpr/public/namespaces/{namespace}/users/{userId}/requests](api)
|
|
11180
|
+
*
|
|
11181
|
+
* Fetch personal data request list
|
|
11182
|
+
*
|
|
11183
|
+
* _Requires a valid user access token_
|
|
11184
|
+
*/
|
|
11185
|
+
this.getGdprDataRequestList = ({ userId, queryParams }) => {
|
|
11186
|
+
return this.newInstance().fetchGdprNsUsersByUseridRequests(userId, queryParams);
|
|
11187
|
+
};
|
|
11188
|
+
/**
|
|
11189
|
+
* POST [/gdpr/public/namespaces/{namespace}/users/{userId}/requests](api)
|
|
11190
|
+
*
|
|
11191
|
+
* Create a request for personal data download
|
|
11192
|
+
*
|
|
11193
|
+
* _Requires a valid user access token_
|
|
11194
|
+
*/
|
|
11195
|
+
this.requestGdprData = ({ userId, data }) => {
|
|
11196
|
+
return this.newInstance().postGdprNsUsersByUseridRequests(userId, data);
|
|
11197
|
+
};
|
|
11198
|
+
/**
|
|
11199
|
+
* DELETE [/gdpr/public/namespaces/{namespace}/users/{userId}/requests/{requestDate}](api)
|
|
11200
|
+
*
|
|
11201
|
+
* Cancel the request for personal data download
|
|
11202
|
+
*
|
|
11203
|
+
* _Requires a valid user access token_
|
|
11204
|
+
*/
|
|
11205
|
+
this.cancelGdprDataRequest = ({ userId, requestDate }) => {
|
|
11206
|
+
return this.newInstance().deleteGdprNsUsersByUseridRequestsByRequestdate(userId, requestDate);
|
|
11207
|
+
};
|
|
11208
|
+
/**
|
|
11209
|
+
* POST [/gdpr/public/namespaces/{namespace}/users/{userId}/requests/{requestDate}/generate](api)
|
|
11210
|
+
*
|
|
11211
|
+
* Create a download URL for personal data request
|
|
11212
|
+
*
|
|
11213
|
+
* _Requires a valid user access token_
|
|
11214
|
+
*/
|
|
11215
|
+
this.requestGdprDataDownloadUrl = ({ userId, requestDate, data }) => {
|
|
11216
|
+
return this.newInstance().postGdprNsUsersByUseridRequestsByRequestdateGenerate(userId, requestDate, data);
|
|
11217
|
+
};
|
|
11133
11218
|
}
|
|
11134
11219
|
newInstance() {
|
|
11135
11220
|
return new DataRetrieval$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -11222,10 +11307,11 @@ class InputValidationsApi {
|
|
|
11222
11307
|
this.namespace = namespace;
|
|
11223
11308
|
this.cache = cache;
|
|
11224
11309
|
/**
|
|
11225
|
-
*
|
|
11226
|
-
* <p>This method is to get list of input validation configuration.</p>
|
|
11227
|
-
* <p><code>regex</code> parameter will be returned if <code>isCustomRegex</code> is true. Otherwise, it will be empty.</p>
|
|
11310
|
+
* GET [/iam/v3/public/inputValidations](api)
|
|
11228
11311
|
*
|
|
11312
|
+
* No role required
|
|
11313
|
+
* This method is to get list of input validation configuration.
|
|
11314
|
+
* `regex` parameter will be returned if `isCustomRegex` is true. Otherwise, it will be empty.
|
|
11229
11315
|
*/
|
|
11230
11316
|
this.getValidations = (languageCode, defaultOnEmpty) => {
|
|
11231
11317
|
const queryParams = { languageCode, defaultOnEmpty };
|
|
@@ -20191,7 +20277,7 @@ class LoginErrorUnknown extends Error {
|
|
|
20191
20277
|
}
|
|
20192
20278
|
class LoginErrorUnmatchedState extends Error {
|
|
20193
20279
|
}
|
|
20194
|
-
class
|
|
20280
|
+
class UserAuthorizationApi {
|
|
20195
20281
|
/**
|
|
20196
20282
|
* @internal
|
|
20197
20283
|
*/
|
|
@@ -20201,81 +20287,83 @@ class UserAuthorization {
|
|
|
20201
20287
|
this.cache = cache;
|
|
20202
20288
|
this.options = options;
|
|
20203
20289
|
/**
|
|
20204
|
-
*
|
|
20205
|
-
*
|
|
20290
|
+
* POST: [/iam/v3/oauth/token](api)
|
|
20291
|
+
*
|
|
20292
|
+
* This method supports grant type:
|
|
20293
|
+
* - Grant Type == `authorization_code`:
|
|
20206
20294
|
* It generates the user token by given the authorization
|
|
20207
20295
|
* code which generated in "/iam/v3/authenticate" API response. It should also pass
|
|
20208
20296
|
* in the redirect_uri, which should be the same as generating the
|
|
20209
20297
|
* authorization code request.
|
|
20210
|
-
*
|
|
20211
|
-
*
|
|
20298
|
+
*
|
|
20299
|
+
* - Grant Type == `password`:
|
|
20212
20300
|
* The grant type to use for authenticating a user, whether it's by email / username and password combination
|
|
20213
20301
|
* or through platform.
|
|
20214
|
-
*
|
|
20215
|
-
*
|
|
20302
|
+
*
|
|
20303
|
+
* - Grant Type == `refresh_token`:
|
|
20216
20304
|
* Used to get a new access token for a valid refresh token.
|
|
20217
|
-
*
|
|
20218
|
-
*
|
|
20305
|
+
*
|
|
20306
|
+
* - Grant Type == `client_credentials`:
|
|
20219
20307
|
* It generates a token by checking the client credentials provided through Authorization header.
|
|
20220
|
-
*
|
|
20221
|
-
*
|
|
20222
|
-
*
|
|
20223
|
-
*
|
|
20224
|
-
*
|
|
20225
|
-
*
|
|
20226
|
-
*
|
|
20227
|
-
*
|
|
20228
|
-
*
|
|
20229
|
-
*
|
|
20230
|
-
*
|
|
20231
|
-
*
|
|
20232
|
-
*
|
|
20233
|
-
*
|
|
20234
|
-
*
|
|
20235
|
-
*
|
|
20236
|
-
*
|
|
20237
|
-
*
|
|
20238
|
-
*
|
|
20239
|
-
*
|
|
20240
|
-
*
|
|
20241
|
-
*
|
|
20242
|
-
*
|
|
20243
|
-
*
|
|
20244
|
-
*
|
|
20245
|
-
*
|
|
20246
|
-
*
|
|
20247
|
-
*
|
|
20248
|
-
*
|
|
20249
|
-
*
|
|
20250
|
-
*
|
|
20251
|
-
*
|
|
20252
|
-
*
|
|
20253
|
-
*
|
|
20254
|
-
*
|
|
20255
|
-
*
|
|
20256
|
-
*
|
|
20257
|
-
*
|
|
20258
|
-
*
|
|
20259
|
-
*
|
|
20260
|
-
*
|
|
20261
|
-
*
|
|
20262
|
-
*
|
|
20263
|
-
*
|
|
20264
|
-
*
|
|
20265
|
-
*
|
|
20266
|
-
*
|
|
20267
|
-
*
|
|
20268
|
-
*
|
|
20269
|
-
*
|
|
20270
|
-
*
|
|
20271
|
-
*
|
|
20272
|
-
*
|
|
20273
|
-
*
|
|
20274
|
-
*
|
|
20275
|
-
*
|
|
20276
|
-
*
|
|
20277
|
-
*
|
|
20278
|
-
*
|
|
20308
|
+
* ##Access Token Content
|
|
20309
|
+
* Following is the access token’s content:
|
|
20310
|
+
*
|
|
20311
|
+
* -
|
|
20312
|
+
* __namespace__. It is the namespace the token was generated from.
|
|
20313
|
+
*
|
|
20314
|
+
* -
|
|
20315
|
+
* __display_name__. The display name of the sub. It is empty if the token is generated from the client credential
|
|
20316
|
+
*
|
|
20317
|
+
* -
|
|
20318
|
+
* __roles__. The sub’s roles. It is empty if the token is generated from the client credential
|
|
20319
|
+
*
|
|
20320
|
+
* -
|
|
20321
|
+
* __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
|
|
20322
|
+
*
|
|
20323
|
+
* -
|
|
20324
|
+
* __permissions__. The sub or aud’ permissions
|
|
20325
|
+
*
|
|
20326
|
+
* -
|
|
20327
|
+
* __bans__. The sub’s list of bans. It is used by the IAM client for validating the token.
|
|
20328
|
+
*
|
|
20329
|
+
* -
|
|
20330
|
+
* __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:
|
|
20331
|
+
*
|
|
20332
|
+
* - 1: Email Address Verified
|
|
20333
|
+
* - 2: Phone Number Verified
|
|
20334
|
+
* - 4: Anonymous
|
|
20335
|
+
* - 8: Suspicious Login
|
|
20336
|
+
*
|
|
20337
|
+
*
|
|
20338
|
+
* -
|
|
20339
|
+
* __aud__. The aud is the targeted resource server.
|
|
20340
|
+
*
|
|
20341
|
+
* -
|
|
20342
|
+
* __iat__. The time the token issues at. It is in Epoch time format
|
|
20343
|
+
*
|
|
20344
|
+
* -
|
|
20345
|
+
* __exp__. The time the token expires. It is in Epoch time format
|
|
20346
|
+
*
|
|
20347
|
+
* -
|
|
20348
|
+
* __client_id__. The UserID. The sub is omitted if the token is generated from client credential
|
|
20349
|
+
*
|
|
20350
|
+
* -
|
|
20351
|
+
* __scope__. The scope of the access request, expressed as a list of space-delimited, case-sensitive strings
|
|
20352
|
+
*
|
|
20353
|
+
*
|
|
20354
|
+
* ##Bans
|
|
20355
|
+
* The JWT contains user's active bans with its expiry date. List of ban types can be obtained from /bans.
|
|
20356
|
+
* ##Device Cookie Validation
|
|
20357
|
+
* __For grant type "password" only__
|
|
20358
|
+
* Device Cookie is used to protect the user account from brute force login attack,
|
|
20359
|
+
* [more detail from OWASP](https://owasp.org/www-community/Slow_Down_Online_Guessing_Attacks_with_Device_Cookies)
|
|
20360
|
+
* 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.
|
|
20361
|
+
* ##Track Login History
|
|
20362
|
+
* 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".
|
|
20363
|
+
* Align with General Data Protection Regulation in Europe, user login history will be kept within 28 days by default"
|
|
20364
|
+
* ##2FA remember device
|
|
20365
|
+
* To remember device for 2FA, should provide cookie: device_token or header: Device-Token
|
|
20366
|
+
* action code: 10703
|
|
20279
20367
|
*/
|
|
20280
20368
|
this.loginWithAuthorizationCode = async ({ code, codeVerifier }) => {
|
|
20281
20369
|
const deviceId = SdkDevice.getDeviceId();
|
|
@@ -20307,6 +20395,9 @@ class UserAuthorization {
|
|
|
20307
20395
|
CodeChallenge.clear();
|
|
20308
20396
|
return { ...result, mfaData };
|
|
20309
20397
|
};
|
|
20398
|
+
/**
|
|
20399
|
+
* @internal
|
|
20400
|
+
*/
|
|
20310
20401
|
this.getMfaDataFromError = (errorResponse) => {
|
|
20311
20402
|
const doesMFADataExist = Validate.safeParse(errorResponse.data, MFADataResponse);
|
|
20312
20403
|
if (!doesMFADataExist)
|
|
@@ -20318,13 +20409,44 @@ class UserAuthorization {
|
|
|
20318
20409
|
}
|
|
20319
20410
|
return result;
|
|
20320
20411
|
};
|
|
20412
|
+
/**
|
|
20413
|
+
* @internal
|
|
20414
|
+
*/
|
|
20321
20415
|
this.getMfaDataFromStorage = () => {
|
|
20322
20416
|
const storedMFAData = BrowserHelper.isOnBrowser() && localStorage.getItem(MFA_DATA_STORAGE_KEY);
|
|
20323
20417
|
return storedMFAData ? JSON.parse(storedMFAData) : null;
|
|
20324
20418
|
};
|
|
20419
|
+
/**
|
|
20420
|
+
* @internal
|
|
20421
|
+
*/
|
|
20325
20422
|
this.removeMfaDataFromStorage = () => {
|
|
20326
20423
|
localStorage.removeItem(MFA_DATA_STORAGE_KEY);
|
|
20327
20424
|
};
|
|
20425
|
+
/**
|
|
20426
|
+
* @internal
|
|
20427
|
+
*/
|
|
20428
|
+
this.matchReceivedState = (maybeSentState) => {
|
|
20429
|
+
const sentStateResult = CodeChallenge.parseSentState(maybeSentState);
|
|
20430
|
+
if (sentStateResult.error)
|
|
20431
|
+
return { error: sentStateResult.error, result: null };
|
|
20432
|
+
const storedStateResult = CodeChallenge.load();
|
|
20433
|
+
if (storedStateResult.error)
|
|
20434
|
+
return { error: storedStateResult.error, result: null };
|
|
20435
|
+
const sentState = sentStateResult.sentState;
|
|
20436
|
+
const storedState = storedStateResult.storedState;
|
|
20437
|
+
if (sentState.csrf !== storedState.csrf)
|
|
20438
|
+
return { error: null, result: null };
|
|
20439
|
+
return {
|
|
20440
|
+
error: null,
|
|
20441
|
+
result: {
|
|
20442
|
+
payload: sentState.payload,
|
|
20443
|
+
codeVerifier: storedState.codeVerifier
|
|
20444
|
+
}
|
|
20445
|
+
};
|
|
20446
|
+
};
|
|
20447
|
+
/**
|
|
20448
|
+
* @internal
|
|
20449
|
+
*/
|
|
20328
20450
|
this.deduceLoginError = (error) => {
|
|
20329
20451
|
switch (error) {
|
|
20330
20452
|
case LoginErrorParam.Enum.login_session_expired:
|
|
@@ -20366,6 +20488,11 @@ class UserAuthorization {
|
|
|
20366
20488
|
returnPath
|
|
20367
20489
|
};
|
|
20368
20490
|
};
|
|
20491
|
+
/**
|
|
20492
|
+
* GET [/iam/v3/oauth/authorize](api)
|
|
20493
|
+
*
|
|
20494
|
+
* Creates a URL to be used for Login, Register, Link to existing account or Twitch Link
|
|
20495
|
+
*/
|
|
20369
20496
|
this.createLoginURL = (returnPath, targetAuthPage, oneTimeLinkCode) => {
|
|
20370
20497
|
const { verifier, challenge } = CodeChallenge.generateChallenge();
|
|
20371
20498
|
const csrf = CodeChallenge.generateCsrf();
|
|
@@ -20389,6 +20516,11 @@ class UserAuthorization {
|
|
|
20389
20516
|
const url = new URL(UrlHelper.combineURLPaths(this.options.baseURL, `${AUTHORIZE_URL}?${searchParams.toString()}`));
|
|
20390
20517
|
return url.toString();
|
|
20391
20518
|
};
|
|
20519
|
+
/**
|
|
20520
|
+
* GET [/iam/v3/oauth/authorize](api)
|
|
20521
|
+
*
|
|
20522
|
+
* Creates a URL to be used for password recovery
|
|
20523
|
+
*/
|
|
20392
20524
|
this.createForgotPasswordURL = () => {
|
|
20393
20525
|
const { verifier, challenge } = CodeChallenge.generateChallenge();
|
|
20394
20526
|
const csrf = CodeChallenge.generateCsrf();
|
|
@@ -20407,9 +20539,15 @@ class UserAuthorization {
|
|
|
20407
20539
|
const url = new URL(UrlHelper.combineURLPaths(this.options.baseURL, `${AUTHORIZE_URL}?${searchParams.toString()}`));
|
|
20408
20540
|
return url.toString();
|
|
20409
20541
|
};
|
|
20542
|
+
/**
|
|
20543
|
+
* @internal
|
|
20544
|
+
*/
|
|
20410
20545
|
this.getCodeChallenge = () => {
|
|
20411
20546
|
return CodeChallenge.generateChallenge();
|
|
20412
20547
|
};
|
|
20548
|
+
/**
|
|
20549
|
+
* @internal
|
|
20550
|
+
*/
|
|
20413
20551
|
this.refreshToken = () => {
|
|
20414
20552
|
const { clientId, refreshToken } = this.options;
|
|
20415
20553
|
if (DesktopChecker.isDesktopApp()) {
|
|
@@ -20417,6 +20555,9 @@ class UserAuthorization {
|
|
|
20417
20555
|
}
|
|
20418
20556
|
return refreshWithLock({ axiosConfig: this.conf, clientId });
|
|
20419
20557
|
};
|
|
20558
|
+
/**
|
|
20559
|
+
* @internal
|
|
20560
|
+
*/
|
|
20420
20561
|
this.getSearchParams = (sentState, challenge) => {
|
|
20421
20562
|
const searchParams = new URLSearchParams();
|
|
20422
20563
|
searchParams.append('response_type', 'code');
|
|
@@ -20428,25 +20569,6 @@ class UserAuthorization {
|
|
|
20428
20569
|
return searchParams;
|
|
20429
20570
|
};
|
|
20430
20571
|
}
|
|
20431
|
-
matchReceivedState(maybeSentState) {
|
|
20432
|
-
const sentStateResult = CodeChallenge.parseSentState(maybeSentState);
|
|
20433
|
-
if (sentStateResult.error)
|
|
20434
|
-
return { error: sentStateResult.error, result: null };
|
|
20435
|
-
const storedStateResult = CodeChallenge.load();
|
|
20436
|
-
if (storedStateResult.error)
|
|
20437
|
-
return { error: storedStateResult.error, result: null };
|
|
20438
|
-
const sentState = sentStateResult.sentState;
|
|
20439
|
-
const storedState = storedStateResult.storedState;
|
|
20440
|
-
if (sentState.csrf !== storedState.csrf)
|
|
20441
|
-
return { error: null, result: null };
|
|
20442
|
-
return {
|
|
20443
|
-
error: null,
|
|
20444
|
-
result: {
|
|
20445
|
-
payload: sentState.payload,
|
|
20446
|
-
codeVerifier: storedState.codeVerifier
|
|
20447
|
-
}
|
|
20448
|
-
};
|
|
20449
|
-
}
|
|
20450
20572
|
}
|
|
20451
20573
|
function isAxiosError(error) {
|
|
20452
20574
|
return !!error && !!error.config;
|
|
@@ -20855,12 +20977,18 @@ class OAuthApi {
|
|
|
20855
20977
|
this.cache = cache;
|
|
20856
20978
|
this.options = options;
|
|
20857
20979
|
/**
|
|
20858
|
-
*
|
|
20859
|
-
|
|
20860
|
-
|
|
20861
|
-
|
|
20862
|
-
|
|
20863
|
-
|
|
20980
|
+
* @internal
|
|
20981
|
+
*/
|
|
20982
|
+
this.newOAuth20Extension = () => {
|
|
20983
|
+
return new OAuth20Extension$(Network.create(this.conf), this.namespace, this.cache);
|
|
20984
|
+
};
|
|
20985
|
+
/**
|
|
20986
|
+
* POST [/iam/v3/logout](api)
|
|
20987
|
+
*
|
|
20988
|
+
* This method is used to remove __access_token__, __refresh_token__ from cookie and revoke token from usage.
|
|
20989
|
+
* Supported methods:
|
|
20990
|
+
* - VerifyToken to verify token from header
|
|
20991
|
+
* - AddTokenToRevocationList to revoke token with TTL
|
|
20864
20992
|
*/
|
|
20865
20993
|
this.logout = () => {
|
|
20866
20994
|
const axios = Network.create({
|
|
@@ -20872,8 +21000,10 @@ class OAuthApi {
|
|
|
20872
21000
|
return new OAuth20Extension$(axios, this.namespace, this.cache).postIamV3Logout();
|
|
20873
21001
|
};
|
|
20874
21002
|
/**
|
|
20875
|
-
*
|
|
20876
|
-
*
|
|
21003
|
+
* POST [/iam/v3/oauth/revoke](api)
|
|
21004
|
+
*
|
|
21005
|
+
* This method revokes a token.
|
|
21006
|
+
* This method requires authorized requests header with Basic Authentication from client that establish the token.action code: 10706
|
|
20877
21007
|
*/
|
|
20878
21008
|
this.revoke = ({ token }) => {
|
|
20879
21009
|
const axios = Network.create({
|
|
@@ -20887,10 +21017,12 @@ class OAuthApi {
|
|
|
20887
21017
|
return new OAuth20$(axios, this.namespace, this.cache).postIamV3OauthRevoke({ token });
|
|
20888
21018
|
};
|
|
20889
21019
|
/**
|
|
20890
|
-
*
|
|
20891
|
-
*
|
|
20892
|
-
*
|
|
20893
|
-
*
|
|
21020
|
+
* POST [/iam/v3/oauth/mfa/verify](api)
|
|
21021
|
+
*
|
|
21022
|
+
* Verify 2FA code
|
|
21023
|
+
* This method is used for verifying 2FA code.
|
|
21024
|
+
* ##2FA remember device
|
|
21025
|
+
* To remember device for 2FA, should provide cookie: device_token or header: Device-Token
|
|
20894
21026
|
*
|
|
20895
21027
|
*/
|
|
20896
21028
|
this.verify2FA = async ({ factor, code, mfaToken = null, rememberDevice }) => {
|
|
@@ -20902,6 +21034,9 @@ class OAuthApi {
|
|
|
20902
21034
|
localStorage.removeItem(MFA_DATA_STORAGE_KEY);
|
|
20903
21035
|
return result.response;
|
|
20904
21036
|
};
|
|
21037
|
+
/**
|
|
21038
|
+
* POST [/iam/v3/oauth/mfa/code](api)
|
|
21039
|
+
*/
|
|
20905
21040
|
this.request2FAEmailCode = async ({ mfaToken = null, factor }) => {
|
|
20906
21041
|
const result = await this.newInstance().postIamV3OauthMfaCode({ mfaToken, clientId: this.options.clientId, factor });
|
|
20907
21042
|
if (result.error)
|
|
@@ -20909,70 +21044,72 @@ class OAuthApi {
|
|
|
20909
21044
|
return result.response;
|
|
20910
21045
|
};
|
|
20911
21046
|
/**
|
|
20912
|
-
*
|
|
21047
|
+
* GET [/iam/v3/location/country](api)
|
|
21048
|
+
*
|
|
21049
|
+
* This method get country location based on the request.
|
|
20913
21050
|
*/
|
|
20914
21051
|
this.getCurrentLocationCountry = () => {
|
|
20915
21052
|
return this.newOAuth20Extension().fetchIamV3LocationCountry();
|
|
20916
21053
|
};
|
|
20917
21054
|
/**
|
|
20918
|
-
*
|
|
20919
|
-
*
|
|
21055
|
+
* GET [/iam/v3/oauth/namespaces/{namespace}/users/{userId}/platforms/{platformId}/platformToken](api)
|
|
21056
|
+
*
|
|
21057
|
+
* Retrieve User Third Party Platform Token
|
|
21058
|
+
*
|
|
20920
21059
|
* This method used for retrieving third party platform token for user that login using third party,
|
|
20921
21060
|
* if user have not link requested platform in game namespace, will try to retrieving third party platform token from publisher namespace.
|
|
20922
21061
|
* Passing platform group name or it's member will return same access token that can be used across the platform members.
|
|
20923
|
-
*
|
|
20924
|
-
*
|
|
20925
|
-
*
|
|
20926
|
-
*
|
|
20927
|
-
*
|
|
20928
|
-
*
|
|
20929
|
-
*
|
|
20930
|
-
*
|
|
20931
|
-
*
|
|
20932
|
-
* </ul>
|
|
21062
|
+
*
|
|
21063
|
+
* The third party platform and platform group covered for this is:
|
|
21064
|
+
* - (psn) ps4web
|
|
21065
|
+
* - (psn) ps4
|
|
21066
|
+
* - (psn) ps5
|
|
21067
|
+
* - epicgames
|
|
21068
|
+
* - twitch
|
|
21069
|
+
* - awscognito
|
|
21070
|
+
*
|
|
20933
21071
|
*/
|
|
20934
21072
|
this.getThirdPartyPlatformToken = (userId, platformId) => {
|
|
20935
21073
|
return this.newInstance().fetchV3OauthUsersByUseridPlatformsByPlatformidPlatformToken(userId, platformId);
|
|
20936
21074
|
};
|
|
20937
21075
|
/**
|
|
21076
|
+
* POST [/iam/v3/authenticateWithLink](api)
|
|
21077
|
+
*
|
|
20938
21078
|
* This method is being used to authenticate a user account and perform platform link.
|
|
20939
21079
|
* It validates user's email / username and password.
|
|
20940
|
-
* If user already enable 2FA, then invoke
|
|
21080
|
+
* If user already enable 2FA, then invoke _/mfa/verify_ using __mfa_token__ from this method response.
|
|
20941
21081
|
*
|
|
20942
|
-
*
|
|
21082
|
+
* ##Device Cookie Validation
|
|
20943
21083
|
*
|
|
20944
|
-
* Device Cookie is used to protect the user account from brute force login attack,
|
|
20945
|
-
*
|
|
21084
|
+
* Device Cookie is used to protect the user account from brute force login attack,
|
|
21085
|
+
* [more detail from OWASP](https://owasp.org/www-community/Slow_Down_Online_Guessing_Attacks_with_Device_Cookies).
|
|
21086
|
+
* 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.
|
|
20946
21087
|
*
|
|
20947
21088
|
*/
|
|
20948
21089
|
this.authenticateWithLink = (data) => {
|
|
20949
21090
|
return this.newOAuth20Extension().postIamV3AuthenticateWithLink(data);
|
|
20950
21091
|
};
|
|
20951
|
-
|
|
20952
|
-
|
|
20953
|
-
|
|
20954
|
-
|
|
20955
|
-
|
|
20956
|
-
|
|
20957
|
-
|
|
20958
|
-
|
|
20959
|
-
|
|
20960
|
-
|
|
20961
|
-
|
|
20962
|
-
|
|
20963
|
-
|
|
20964
|
-
|
|
20965
|
-
|
|
20966
|
-
|
|
20967
|
-
|
|
20968
|
-
|
|
20969
|
-
|
|
20970
|
-
|
|
20971
|
-
|
|
20972
|
-
*
|
|
20973
|
-
*/
|
|
20974
|
-
exchangeTokenByOneTimeLinkCode(data) {
|
|
20975
|
-
return this.newOAuth20Extension().postIamV3LinkTokenExchange(data);
|
|
21092
|
+
/**
|
|
21093
|
+
* POST [/iam/v3/link/code/validate](api)
|
|
21094
|
+
*
|
|
21095
|
+
* This method is being used to validate one time link code.
|
|
21096
|
+
* It require a valid user token.
|
|
21097
|
+
* Should specify the target platform id and current user should already linked to this platform.
|
|
21098
|
+
* Current user should be a headless account.
|
|
21099
|
+
*/
|
|
21100
|
+
this.validateOneTimeLinkCode = (data) => {
|
|
21101
|
+
return this.newOAuth20Extension().postIamV3LinkCodeValidate(data);
|
|
21102
|
+
};
|
|
21103
|
+
/**
|
|
21104
|
+
* POST [/iam/v3/link/token/exchange](api)
|
|
21105
|
+
*
|
|
21106
|
+
* This method is being used to generate user's token by one time link code.
|
|
21107
|
+
* It require publisher ClientID
|
|
21108
|
+
* It required a code which can be generated from __/iam/v3/link/code/request__.
|
|
21109
|
+
*/
|
|
21110
|
+
this.exchangeTokenByOneTimeLinkCode = (data) => {
|
|
21111
|
+
return this.newOAuth20Extension().postIamV3LinkTokenExchange(data);
|
|
21112
|
+
};
|
|
20976
21113
|
}
|
|
20977
21114
|
newInstance() {
|
|
20978
21115
|
return new OAuth20$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -21051,6 +21188,8 @@ class ThirdPartyCredentialApi {
|
|
|
21051
21188
|
this.namespace = namespace;
|
|
21052
21189
|
this.cache = cache;
|
|
21053
21190
|
/**
|
|
21191
|
+
* GET [/iam/v3/public/namespaces/{namespace}/platforms/clients/active](api)
|
|
21192
|
+
*
|
|
21054
21193
|
* This is the Public API to Get All Active 3rd Platform Credential.
|
|
21055
21194
|
*/
|
|
21056
21195
|
this.getThirdPartyPlatformInfo = () => {
|
|
@@ -21552,85 +21691,112 @@ class TwoFA {
|
|
|
21552
21691
|
this.namespace = namespace;
|
|
21553
21692
|
this.cache = cache;
|
|
21554
21693
|
/**
|
|
21555
|
-
*
|
|
21556
|
-
* Each code is a one-time code and will be deleted once used.</p>
|
|
21557
|
-
* <p>This method Requires valid user access token</p>
|
|
21694
|
+
* GET [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode](api)
|
|
21558
21695
|
*
|
|
21696
|
+
* This method is used to get 8-digits backup codes.
|
|
21697
|
+
* Each code is a one-time code and will be deleted once used.
|
|
21698
|
+
*
|
|
21699
|
+
* _Requires a valid user access token_
|
|
21559
21700
|
*/
|
|
21560
21701
|
this.getBackupCode = () => {
|
|
21561
21702
|
return this.newInstance().fetchV4NsUsersMeMfaBackupCode();
|
|
21562
21703
|
};
|
|
21563
21704
|
/**
|
|
21564
|
-
*
|
|
21565
|
-
*
|
|
21705
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode/enable](api)
|
|
21706
|
+
*
|
|
21707
|
+
* This method is used to enable 2FA backup codes.
|
|
21566
21708
|
*
|
|
21709
|
+
* _Requires a valid user access token_
|
|
21567
21710
|
*/
|
|
21568
21711
|
this.enable2FABackupCodes = () => {
|
|
21569
21712
|
return this.newInstance().postV4NsUsersMeMfaBackupCodeEnable();
|
|
21570
21713
|
};
|
|
21571
21714
|
/**
|
|
21572
|
-
*
|
|
21573
|
-
* <p>This method Requires valid user access token</p>
|
|
21715
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode](api)
|
|
21574
21716
|
*
|
|
21717
|
+
* This method is used to enable 2FA backup codes.
|
|
21718
|
+
*
|
|
21719
|
+
* _Requires a valid user access token_
|
|
21575
21720
|
*/
|
|
21576
21721
|
this.generateBackupCodes = () => {
|
|
21577
21722
|
return this.newInstance().postV4NsUsersMeMfaBackupCode();
|
|
21578
21723
|
};
|
|
21579
21724
|
/**
|
|
21580
|
-
*
|
|
21581
|
-
*
|
|
21725
|
+
* DELETE [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode/disable](api)
|
|
21726
|
+
*
|
|
21727
|
+
* This method is used to enable 2FA backup codes.
|
|
21582
21728
|
*
|
|
21729
|
+
* _Requires a valid user access token_
|
|
21583
21730
|
*/
|
|
21584
21731
|
this.disableBackupCodes = () => {
|
|
21585
21732
|
return this.newInstance().deleteV4NsUsersMeMfaBackupCodeDisable();
|
|
21586
21733
|
};
|
|
21587
21734
|
/**
|
|
21588
|
-
*
|
|
21589
|
-
*
|
|
21735
|
+
* DELETE [/iam/v4/public/namespaces/{namespace}/users/me/mfa/authenticator/disable](api)
|
|
21736
|
+
* }
|
|
21737
|
+
* This method is used to disable 2FA authenticator.
|
|
21590
21738
|
*
|
|
21739
|
+
* _Requires a valid user access token_
|
|
21591
21740
|
*/
|
|
21592
21741
|
this.disableAuthenticator = () => {
|
|
21593
21742
|
return this.newInstance().deleteV4NsUsersMeMfaAuthenticatorDisable();
|
|
21594
21743
|
};
|
|
21595
21744
|
/**
|
|
21596
|
-
*
|
|
21597
|
-
* <p>This method Requires valid user access token</p>
|
|
21745
|
+
* GET [/iam/v4/public/namespaces/{namespace}/users/me/mfa/factor](api)
|
|
21598
21746
|
*
|
|
21747
|
+
* This method is used to get user enabled factors.
|
|
21748
|
+
*
|
|
21749
|
+
* _Requires a valid user access token_
|
|
21599
21750
|
*/
|
|
21600
21751
|
this.getEnabledMethods = () => {
|
|
21601
21752
|
return this.newInstance().fetchV4NsUsersMeMfaFactor();
|
|
21602
21753
|
};
|
|
21603
21754
|
/**
|
|
21604
|
-
*
|
|
21605
|
-
*
|
|
21755
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/factor](api)
|
|
21756
|
+
*
|
|
21757
|
+
* This method is used to make 2FA factor default.
|
|
21606
21758
|
*
|
|
21759
|
+
* _Requires a valid user access token_
|
|
21607
21760
|
*/
|
|
21608
21761
|
this.set2FAAsDefault = (factor) => {
|
|
21609
21762
|
return this.newInstance().postV4NsUsersMeMfaFactor({ factor });
|
|
21610
21763
|
};
|
|
21611
21764
|
/**
|
|
21612
|
-
*
|
|
21613
|
-
* <p>This method Requires valid user access token</p>
|
|
21765
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/authenticator/enable](api)
|
|
21614
21766
|
*
|
|
21767
|
+
* This method is used to enable 2FA authenticator.
|
|
21768
|
+
*
|
|
21769
|
+
* _Requires a valid user access token_
|
|
21615
21770
|
*/
|
|
21616
21771
|
this.enable2FAAuthenticator = (code) => {
|
|
21617
21772
|
return this.newInstance().postV4NsUsersMeMfaAuthenticatorEnable({ code });
|
|
21618
21773
|
};
|
|
21619
21774
|
/**
|
|
21620
|
-
*
|
|
21621
|
-
*
|
|
21622
|
-
*
|
|
21775
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/authenticator/key](api)
|
|
21776
|
+
*
|
|
21777
|
+
* This method is used to generate a secret key for 3rd-party authenticator app.
|
|
21778
|
+
* A QR code URI is also returned so that frontend can generate QR code image.
|
|
21623
21779
|
*
|
|
21780
|
+
* _Requires a valid user access token_
|
|
21624
21781
|
*/
|
|
21625
21782
|
this.generateSecretKey = () => {
|
|
21626
21783
|
return this.newInstance().postV4NsUsersMeMfaAuthenticatorKey();
|
|
21627
21784
|
};
|
|
21785
|
+
/**
|
|
21786
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/code](api)
|
|
21787
|
+
*/
|
|
21628
21788
|
this.requestEmailCode = () => {
|
|
21629
21789
|
return this.newInstance().postV4NsUsersMeMfaEmailCode();
|
|
21630
21790
|
};
|
|
21791
|
+
/**
|
|
21792
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/enable](api)
|
|
21793
|
+
*/
|
|
21631
21794
|
this.enableEmailMethod = (code) => {
|
|
21632
21795
|
return this.newInstance().postV4NsUsersMeMfaEmailEnable({ code });
|
|
21633
21796
|
};
|
|
21797
|
+
/**
|
|
21798
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/disable](api)
|
|
21799
|
+
*/
|
|
21634
21800
|
this.disableEmailMethod = () => {
|
|
21635
21801
|
return this.newInstance().postV4NsUsersMeMfaEmailDisable();
|
|
21636
21802
|
};
|
|
@@ -22844,295 +23010,326 @@ class UserApi {
|
|
|
22844
23010
|
this.namespace = namespace;
|
|
22845
23011
|
this.cache = cache;
|
|
22846
23012
|
/**
|
|
22847
|
-
*
|
|
23013
|
+
* GET [/iam/v3/public/users/me](api)
|
|
23014
|
+
*
|
|
23015
|
+
* get currently logged-in user
|
|
22848
23016
|
*/
|
|
22849
23017
|
this.getCurrentUser = () => {
|
|
22850
23018
|
return this.newInstance().fetchIamV3PublicUsersMe();
|
|
22851
23019
|
};
|
|
22852
23020
|
/**
|
|
22853
|
-
*
|
|
23021
|
+
* PATCH [/iam/v3/public/namespaces/{namespace}/users/me](api)
|
|
23022
|
+
*
|
|
23023
|
+
* Update current user
|
|
22854
23024
|
*/
|
|
22855
23025
|
this.updateUserMe = (data) => {
|
|
22856
23026
|
return this.newInstance().patchV3NsUsersMe(data);
|
|
22857
23027
|
};
|
|
22858
23028
|
/**
|
|
23029
|
+
* PUT [/iam/v4/public/namespaces/{namespace}/users/me/email](api)
|
|
23030
|
+
*
|
|
22859
23031
|
* update current user's email
|
|
22860
23032
|
*/
|
|
22861
23033
|
this.updateEmailMe = (data) => {
|
|
22862
23034
|
return this.newInstance4().putV4NsUsersMeEmail(data);
|
|
22863
23035
|
};
|
|
22864
23036
|
/**
|
|
23037
|
+
* PUT [/iam/v3/public/namespaces/{namespace}/users/me/password](api)
|
|
23038
|
+
*
|
|
22865
23039
|
* update current user's password
|
|
22866
23040
|
*/
|
|
22867
23041
|
this.updatePasswordMe = (data) => {
|
|
22868
23042
|
return this.newInstance().putV3NsUsersMePassword(data);
|
|
22869
23043
|
};
|
|
22870
23044
|
/**
|
|
23045
|
+
* POST [/iam/v3/public/namespaces/{namespace}/users/me/code/request](api)
|
|
23046
|
+
*
|
|
22871
23047
|
* Required valid user authorization
|
|
22872
|
-
*
|
|
22873
|
-
*
|
|
22874
|
-
*
|
|
22875
|
-
*
|
|
22876
|
-
*
|
|
22877
|
-
*
|
|
22878
|
-
* <strong><em>It is the default context if the Context field is empty</em></strong></p>
|
|
22879
|
-
* </li>
|
|
22880
|
-
* <li>
|
|
22881
|
-
* <strong>UpdateEmailAddress</strong>
|
|
22882
|
-
* <p>a context type used for verify user before updating email address.(Without email address verified checking)</p>
|
|
22883
|
-
* </li>
|
|
22884
|
-
* <li><strong>upgradeHeadlessAccount</strong>
|
|
22885
|
-
* <p>The context is intended to be used whenever the email address wanted to be automatically verified on upgrading a headless account.
|
|
22886
|
-
* If this context used, IAM rejects the request if the email address is already used by others by returning HTTP Status Code 409.</p>
|
|
22887
|
-
* </li>
|
|
22888
|
-
* </ol>
|
|
22889
|
-
* <p>action code: 10116</p>
|
|
23048
|
+
* The verification code is sent to email address
|
|
23049
|
+
* Available contexts for use :
|
|
23050
|
+
* -
|
|
23051
|
+
* __UserAccountRegistration__
|
|
23052
|
+
* a context type used for verifying email address in user account registration. It returns 409 if the email address already verified.
|
|
23053
|
+
* __It is the default context if the Context field is empty__
|
|
22890
23054
|
*
|
|
22891
|
-
|
|
23055
|
+
* -
|
|
23056
|
+
* __UpdateEmailAddress__
|
|
23057
|
+
* a context type used for verify user before updating email address.(Without email address verified checking)
|
|
23058
|
+
*
|
|
23059
|
+
* - __upgradeHeadlessAccount__
|
|
23060
|
+
* The context is intended to be used whenever the email address wanted to be automatically verified on upgrading a headless account.
|
|
23061
|
+
* If this context used, IAM rejects the request if the email address is already used by others by returning HTTP Status Code 409.
|
|
23062
|
+
* action code: 10116
|
|
23063
|
+
*
|
|
23064
|
+
*/
|
|
22892
23065
|
this.requestVerificationCode = (data) => {
|
|
22893
23066
|
return this.newInstance().postV3NsUsersMeCodeRequest(data);
|
|
22894
23067
|
};
|
|
22895
23068
|
/**
|
|
22896
|
-
*
|
|
22897
|
-
*
|
|
22898
|
-
*
|
|
22899
|
-
*
|
|
22900
|
-
*
|
|
23069
|
+
* POST [/iam/v3/public/namespaces/{namespace}/users/me/code/verify](api)
|
|
23070
|
+
*
|
|
23071
|
+
* Will consume code if validateOnly is set false
|
|
23072
|
+
* Required valid user authorization
|
|
23073
|
+
* Redeems a verification code sent to a user to verify the user's contact address is correct
|
|
23074
|
+
* Available ContactType : __email__
|
|
23075
|
+
* action code: 10107
|
|
22901
23076
|
*
|
|
22902
23077
|
*/
|
|
22903
23078
|
this.verifyCode = (data) => {
|
|
22904
23079
|
return this.newInstance().postV3NsUsersMeCodeVerify(data);
|
|
22905
23080
|
};
|
|
22906
23081
|
/**
|
|
22907
|
-
*
|
|
23082
|
+
* POST [/iam/v3/public/namespaces/{namespace}/users/me/headless/code/verify](api)
|
|
23083
|
+
*
|
|
23084
|
+
* If validateOnly is set false, consume code and upgrade headless account and automatically verified the email address if it is succeeded
|
|
22908
23085
|
* Require valid user access token.
|
|
22909
|
-
*
|
|
22910
|
-
* By upgrading the headless account into a full account, the user could use the email address and password for using Justice IAM.
|
|
22911
|
-
*
|
|
22912
|
-
* In order to get a verification code for the method, please check the send verification code method
|
|
22913
|
-
*
|
|
23086
|
+
* The method upgrades a headless account by linking the headless account with the email address and the password.
|
|
23087
|
+
* By upgrading the headless account into a full account, the user could use the email address and password for using Justice IAM.
|
|
23088
|
+
* The method is a shortcut for upgrading a headless account and verifying the email address in one call.
|
|
23089
|
+
* In order to get a verification code for the method, please check the send verification code method.
|
|
23090
|
+
* 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.
|
|
22914
23091
|
* Supported user data fields :
|
|
22915
|
-
*
|
|
22916
|
-
*
|
|
22917
|
-
*
|
|
22918
|
-
*
|
|
22919
|
-
*
|
|
22920
|
-
*
|
|
23092
|
+
*
|
|
23093
|
+
* - displayName
|
|
23094
|
+
* - dateOfBirth : format YYYY-MM-DD, e.g. 2019-04-29
|
|
23095
|
+
* - country : format ISO3166-1 alpha-2 two letter, e.g. US
|
|
23096
|
+
*
|
|
23097
|
+
* action code : 10124
|
|
22921
23098
|
*/
|
|
22922
23099
|
this.upgradeHeadlessAccount = (data) => {
|
|
22923
23100
|
return this.newInstance().postV3NsUsersMeHeadlessCodeVerify(data);
|
|
22924
23101
|
};
|
|
22925
23102
|
/**
|
|
23103
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/headless/code/verify](api)
|
|
23104
|
+
*
|
|
22926
23105
|
* Require valid user access token.
|
|
22927
23106
|
* The method upgrades a headless account by linking the headless account with the email address, username, and password.
|
|
22928
23107
|
* By upgrading the headless account into a full account, the user could use the email address, username, and password for using Justice IAM.
|
|
22929
|
-
*
|
|
23108
|
+
*
|
|
22930
23109
|
* The method is a shortcut for upgrading a headless account and verifying the email address in one call.
|
|
22931
|
-
*
|
|
22932
|
-
* <br>
|
|
23110
|
+
*
|
|
22933
23111
|
* 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.
|
|
22934
23112
|
* Supported user data fields:
|
|
22935
|
-
*
|
|
22936
|
-
*
|
|
22937
|
-
*
|
|
22938
|
-
*
|
|
22939
|
-
*
|
|
23113
|
+
*
|
|
23114
|
+
* - displayName
|
|
23115
|
+
* - dateOfBirth : format YYYY-MM-DD, e.g. 2019-04-29
|
|
23116
|
+
* - country : format ISO3166-1 alpha-2 two letter, e.g. US
|
|
23117
|
+
*
|
|
22940
23118
|
* action code : 10124
|
|
22941
23119
|
*/
|
|
22942
23120
|
this.upgradeHeadlessAccountV4 = (data) => {
|
|
22943
23121
|
return this.newInstance4().postV4NsUsersMeHeadlessCodeVerify(data);
|
|
22944
23122
|
};
|
|
22945
23123
|
/**
|
|
22946
|
-
*
|
|
22947
|
-
*
|
|
23124
|
+
* GET [/iam/v3/public/namespaces/{namespace}/users/{userId}/platforms](api)
|
|
23125
|
+
*
|
|
23126
|
+
* This method retrieves platform accounts linked to user. Required valid user authorization.
|
|
23127
|
+
* action code: 10128
|
|
22948
23128
|
*/
|
|
22949
23129
|
this.getUserLinkedPlatform = (userId) => {
|
|
22950
23130
|
return this.newInstance().fetchV3NsUsersByUseridPlatforms(userId);
|
|
22951
23131
|
};
|
|
22952
23132
|
/**
|
|
23133
|
+
* POST [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}](api)
|
|
23134
|
+
*
|
|
22953
23135
|
* Required valid user authorization.
|
|
22954
|
-
*
|
|
23136
|
+
* __Prerequisite:__
|
|
22955
23137
|
* Platform client configuration need to be added to database for specific platformId. Namespace service URL need to be specified (refer to required environment variables).
|
|
22956
|
-
*
|
|
22957
|
-
*
|
|
22958
|
-
*
|
|
22959
|
-
*
|
|
22960
|
-
*
|
|
22961
|
-
*
|
|
22962
|
-
*
|
|
22963
|
-
*
|
|
22964
|
-
*
|
|
22965
|
-
*
|
|
22966
|
-
*
|
|
22967
|
-
*
|
|
22968
|
-
*
|
|
22969
|
-
*
|
|
22970
|
-
*
|
|
22971
|
-
*
|
|
22972
|
-
*
|
|
22973
|
-
*
|
|
22974
|
-
*
|
|
22975
|
-
*
|
|
22976
|
-
*
|
|
23138
|
+
* ##Supported platforms:
|
|
23139
|
+
*
|
|
23140
|
+
* - __steam__: The ticket’s value is the authentication code returned by Steam.
|
|
23141
|
+
* - __steamopenid__: Steam's user authentication method using OpenID 2.0. The ticket's value is URL generated by Steam on web authentication
|
|
23142
|
+
* - __facebook__: The ticket’s value is the authorization code returned by Facebook OAuth
|
|
23143
|
+
* - __google__: The ticket’s value is the authorization code returned by Google OAuth
|
|
23144
|
+
* - __oculus__: The ticket’s value is a string composed of Oculus's user ID and the nonce separated by a colon (:).
|
|
23145
|
+
* - __twitch__: The ticket’s value is the authorization code returned by Twitch OAuth.
|
|
23146
|
+
* - __android__: The ticket's value is the Android’s device ID
|
|
23147
|
+
* - __ios__: The ticket's value is the iOS’s device ID.
|
|
23148
|
+
* - __apple__: The ticket’s value is the authorization code returned by Apple OAuth.
|
|
23149
|
+
* - __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.
|
|
23150
|
+
* - __discord__: The ticket’s value is the authorization code returned by Discord OAuth.
|
|
23151
|
+
* - __ps4web__: The ticket’s value is the authorization code returned by PSN OAuth.
|
|
23152
|
+
* - __xblweb__: The ticket’s value is the authorization code returned by XBox Live OAuth.
|
|
23153
|
+
* - __awscognito__: The ticket’s value is the aws cognito access token (JWT).
|
|
23154
|
+
* - __epicgames__: The ticket’s value is an access-token obtained from Epicgames EOS Account Service.
|
|
23155
|
+
* - __nintendo__: The ticket’s value is the authorization code(id_token) returned by Nintendo OAuth.
|
|
23156
|
+
* - __stadia__: The ticket’s value is a JWT Token, which can be obtained after calling the Stadia SDK's function.
|
|
23157
|
+
*
|
|
23158
|
+
* action code : 10144
|
|
22977
23159
|
*/
|
|
22978
23160
|
this.linkAccountToPlatform = ({ platformId, data }) => {
|
|
22979
23161
|
return this.newInstance().postV3NsUsersMePlatformsByPlatformid(platformId, data);
|
|
22980
23162
|
};
|
|
22981
23163
|
/**
|
|
23164
|
+
* GET [/iam/v3/public/namespaces/{namespace}/requests/{requestId}/async/status](api)
|
|
23165
|
+
*
|
|
22982
23166
|
* Get the linking status between a third-party platform to a user
|
|
22983
23167
|
*/
|
|
22984
23168
|
this.getLinkRequestStatus = (requestId) => {
|
|
22985
23169
|
return this.newInstance().fetchV3NsRequestsByRequestidAsyncStatus(requestId);
|
|
22986
23170
|
};
|
|
22987
23171
|
/**
|
|
22988
|
-
*
|
|
23172
|
+
* @internal
|
|
23173
|
+
* It is going to be __DEPRECATED__.
|
|
22989
23174
|
* Update Platform Account relation to current User Account.
|
|
22990
23175
|
* Note: Game progression data (statistics, reward, etc) associated with previous User Account will not be
|
|
22991
23176
|
* transferred. If the data is tight to game user ID, the user will have the game progression data.
|
|
22992
|
-
*
|
|
22993
23177
|
*/
|
|
22994
23178
|
this.linkPlatformToUserAccount = ({ userId, data }) => {
|
|
22995
23179
|
return this.newInstance().postV3NsUsersByUseridPlatformsLink(userId, data);
|
|
22996
23180
|
};
|
|
22997
23181
|
/**
|
|
23182
|
+
* DELETE [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}](api)
|
|
23183
|
+
*
|
|
22998
23184
|
* Required valid user authorization.
|
|
22999
|
-
*
|
|
23000
|
-
*
|
|
23001
|
-
*
|
|
23002
|
-
*
|
|
23003
|
-
*
|
|
23004
|
-
*
|
|
23005
|
-
*
|
|
23006
|
-
*
|
|
23007
|
-
*
|
|
23008
|
-
*
|
|
23009
|
-
*
|
|
23010
|
-
*
|
|
23011
|
-
*
|
|
23012
|
-
*
|
|
23013
|
-
*
|
|
23014
|
-
*
|
|
23015
|
-
*
|
|
23016
|
-
*
|
|
23017
|
-
*
|
|
23018
|
-
*
|
|
23019
|
-
*
|
|
23020
|
-
*
|
|
23021
|
-
*
|
|
23022
|
-
*
|
|
23023
|
-
*
|
|
23024
|
-
*
|
|
23185
|
+
* ##Supported platforms:
|
|
23186
|
+
*
|
|
23187
|
+
* - __steam__
|
|
23188
|
+
* - __steamopenid__
|
|
23189
|
+
* - __facebook__
|
|
23190
|
+
* - __google__
|
|
23191
|
+
* - __oculus__
|
|
23192
|
+
* - __twitch__
|
|
23193
|
+
* - __android__
|
|
23194
|
+
* - __ios__
|
|
23195
|
+
* - __apple__
|
|
23196
|
+
* - __device__
|
|
23197
|
+
* - __discord__
|
|
23198
|
+
* - __awscognito__
|
|
23199
|
+
* - __epicgames__
|
|
23200
|
+
* - __nintendo__
|
|
23201
|
+
* - __stadia__
|
|
23202
|
+
*
|
|
23203
|
+
* Unlink user's account from a specific platform. 'justice' platform might have multiple accounts from different namespaces linked.
|
|
23204
|
+
* _platformNamespace_ need to be specified when the platform ID is 'justice'.
|
|
23205
|
+
*
|
|
23206
|
+
* Unlink user's account from justice platform will enable password token grant and password update.
|
|
23207
|
+
*
|
|
23208
|
+
* If you want to unlink user's account in a game namespace, you have to specify _platformNamespace_ to that game namespace.
|
|
23209
|
+
*
|
|
23210
|
+
* action code : 10121
|
|
23025
23211
|
*/
|
|
23026
23212
|
this.unLinkAccountFromPlatform = ({ platformId, data }) => {
|
|
23027
23213
|
return this.newInstance().deleteV3NsUsersMePlatformsByPlatformid(platformId, data);
|
|
23028
23214
|
};
|
|
23029
23215
|
/**
|
|
23216
|
+
* GET [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}/web/link](api)
|
|
23217
|
+
*
|
|
23030
23218
|
* This method is used to generate third party login page which will redirected to establish method.
|
|
23031
23219
|
*/
|
|
23032
23220
|
this.getThirdPartyURL = ({ platformId, queryParams }) => {
|
|
23033
23221
|
return this.newInstance().fetchV3NsUsersMePlatformsByPlatformidWebLink(platformId, queryParams);
|
|
23034
23222
|
};
|
|
23035
23223
|
/**
|
|
23224
|
+
* GET [/iam/v3/public/namespaces/{namespace}/agerestrictions/countries/{countryCode}](api)
|
|
23225
|
+
*
|
|
23036
23226
|
* Get age restriction by country code. It will always get by publisher namespace
|
|
23037
23227
|
*/
|
|
23038
23228
|
this.getAgeRestrictionByCountry = (countryCode) => {
|
|
23039
23229
|
return this.newInstance().fetchV3NsAgerestrictionsCountriesByCountrycode(countryCode);
|
|
23040
23230
|
};
|
|
23041
|
-
|
|
23042
|
-
|
|
23043
|
-
|
|
23044
|
-
|
|
23045
|
-
|
|
23046
|
-
|
|
23047
|
-
|
|
23048
|
-
|
|
23049
|
-
|
|
23050
|
-
|
|
23051
|
-
|
|
23052
|
-
|
|
23053
|
-
|
|
23054
|
-
|
|
23055
|
-
|
|
23056
|
-
|
|
23057
|
-
|
|
23058
|
-
|
|
23059
|
-
|
|
23060
|
-
|
|
23061
|
-
|
|
23062
|
-
|
|
23063
|
-
|
|
23064
|
-
|
|
23065
|
-
|
|
23066
|
-
|
|
23067
|
-
|
|
23068
|
-
|
|
23069
|
-
|
|
23070
|
-
|
|
23071
|
-
|
|
23072
|
-
|
|
23073
|
-
|
|
23074
|
-
|
|
23075
|
-
|
|
23076
|
-
|
|
23077
|
-
|
|
23078
|
-
|
|
23079
|
-
|
|
23080
|
-
|
|
23081
|
-
|
|
23082
|
-
|
|
23083
|
-
|
|
23084
|
-
|
|
23085
|
-
|
|
23086
|
-
|
|
23087
|
-
|
|
23088
|
-
|
|
23089
|
-
|
|
23090
|
-
|
|
23091
|
-
|
|
23092
|
-
|
|
23093
|
-
|
|
23094
|
-
|
|
23095
|
-
|
|
23096
|
-
|
|
23097
|
-
|
|
23098
|
-
|
|
23099
|
-
|
|
23100
|
-
|
|
23101
|
-
|
|
23102
|
-
|
|
23103
|
-
|
|
23104
|
-
|
|
23105
|
-
|
|
23106
|
-
|
|
23107
|
-
|
|
23108
|
-
|
|
23109
|
-
|
|
23110
|
-
|
|
23111
|
-
|
|
23112
|
-
|
|
23113
|
-
|
|
23114
|
-
|
|
23115
|
-
|
|
23116
|
-
|
|
23117
|
-
|
|
23118
|
-
|
|
23119
|
-
|
|
23120
|
-
|
|
23121
|
-
|
|
23122
|
-
|
|
23123
|
-
|
|
23124
|
-
|
|
23125
|
-
|
|
23126
|
-
|
|
23127
|
-
|
|
23128
|
-
|
|
23129
|
-
|
|
23130
|
-
|
|
23131
|
-
|
|
23132
|
-
|
|
23133
|
-
|
|
23134
|
-
|
|
23135
|
-
|
|
23231
|
+
/**
|
|
23232
|
+
* Render 2D Avatar via readyplayer.me POST [](https://docs.readyplayer.me/ready-player-me/avatars/2d-avatars/render-api)
|
|
23233
|
+
* @internal
|
|
23234
|
+
*/
|
|
23235
|
+
this.renderImageFromGlbModel = (data) => {
|
|
23236
|
+
const axios = Network.create({
|
|
23237
|
+
...this.conf
|
|
23238
|
+
});
|
|
23239
|
+
return Validate.responseType(() => axios.post('https://render.readyplayer.me/render', data), ReadyPlayerMe);
|
|
23240
|
+
};
|
|
23241
|
+
/**
|
|
23242
|
+
* POST [/iam/v3/public/namespaces/{namespace}/users/code/request](api)
|
|
23243
|
+
*
|
|
23244
|
+
* This method will validate the request's email address.
|
|
23245
|
+
*
|
|
23246
|
+
* If it already been used, will response 409.
|
|
23247
|
+
*
|
|
23248
|
+
* If it is available, we will send a verification code to this email address.
|
|
23249
|
+
*/
|
|
23250
|
+
this.requestNewUserVerificationCode = (data) => {
|
|
23251
|
+
return this.newInstance().postV3NsUsersCodeRequest(data);
|
|
23252
|
+
};
|
|
23253
|
+
/**
|
|
23254
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users](api)
|
|
23255
|
+
*
|
|
23256
|
+
* Create a new user with unique email address and username.
|
|
23257
|
+
*
|
|
23258
|
+
* __Required attributes:__
|
|
23259
|
+
* - authType: possible value is EMAILPASSWD
|
|
23260
|
+
* - emailAddress: Please refer to the rule from /v3/public/inputValidations API.
|
|
23261
|
+
* - username: Please refer to the rule from /v3/public/inputValidations API.
|
|
23262
|
+
* - password: Please refer to the rule from /v3/public/inputValidations API.
|
|
23263
|
+
* - country: ISO3166-1 alpha-2 two letter, e.g. US.
|
|
23264
|
+
* - dateOfBirth: YYYY-MM-DD, e.g. 1990-01-01. valid values are between 1905-01-01 until current date.
|
|
23265
|
+
*
|
|
23266
|
+
* __Not required attributes:__
|
|
23267
|
+
* - displayName: Please refer to the rule from /v3/public/inputValidations API.
|
|
23268
|
+
*
|
|
23269
|
+
* This method support accepting agreements for the created user. Supply the accepted agreements in acceptedPolicies attribute.
|
|
23270
|
+
*
|
|
23271
|
+
*/
|
|
23272
|
+
this.createUser = (data) => {
|
|
23273
|
+
return this.newInstance4().postV4NsUsers(data);
|
|
23274
|
+
};
|
|
23275
|
+
/**
|
|
23276
|
+
* GET [/iam/v3/public/namespaces/{namespace}/users/{userId}/distinctPlatforms](api)
|
|
23277
|
+
*
|
|
23278
|
+
* This method retrieves platform accounts linked to user.
|
|
23279
|
+
* It will query all linked platform accounts and result will be distinct & grouped, same platform we will pick oldest linked one.
|
|
23280
|
+
* Required valid user authorization.
|
|
23281
|
+
*/
|
|
23282
|
+
this.getUserDistinctLinkedPlatform = (userId) => {
|
|
23283
|
+
return this.newInstance().fetchV3NsUsersByUseridDistinctPlatforms(userId);
|
|
23284
|
+
};
|
|
23285
|
+
/**
|
|
23286
|
+
* DELETE [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}/all](api)
|
|
23287
|
+
*
|
|
23288
|
+
* Required valid user authorization.
|
|
23289
|
+
* Unlink user's account from for all third platforms.
|
|
23290
|
+
*/
|
|
23291
|
+
this.unLinkAccountFromPlatformDistinct = (platformId) => {
|
|
23292
|
+
return this.newInstance().deleteV3NsUsersMePlatformsByPlatformidAll(platformId);
|
|
23293
|
+
};
|
|
23294
|
+
/**
|
|
23295
|
+
* POST [/iam/v3/public/users/me/verify_link/request](api)
|
|
23296
|
+
*
|
|
23297
|
+
* Required valid user authorization
|
|
23298
|
+
* The verification link is sent to email address
|
|
23299
|
+
* It will not send request if user email is already verified
|
|
23300
|
+
*/
|
|
23301
|
+
this.sendVerificationLink = (languageTag) => {
|
|
23302
|
+
return this.newInstance().postIamV3PublicUsersMeVerifyLinkRequest({ languageTag });
|
|
23303
|
+
};
|
|
23304
|
+
/**
|
|
23305
|
+
* GET [/iam/v3/public/namespaces/{namespace}/users/{userId}/platforms](api)
|
|
23306
|
+
*
|
|
23307
|
+
* This method retrieves platform accounts linked to user. Required valid user authorization.
|
|
23308
|
+
* action code: 10128
|
|
23309
|
+
*/
|
|
23310
|
+
this.getLinkedAccount = (userId) => {
|
|
23311
|
+
return this.newInstance().fetchV3NsUsersByUseridPlatforms(userId);
|
|
23312
|
+
};
|
|
23313
|
+
/**
|
|
23314
|
+
* GET [/iam/v3/public/users/me/headless/link/conflict](api)
|
|
23315
|
+
*
|
|
23316
|
+
* Note:
|
|
23317
|
+
* 1. My account should be full account
|
|
23318
|
+
* 2. My account not linked to request headless account's third platform.
|
|
23319
|
+
*/
|
|
23320
|
+
this.getLinkAccountByOneTimeCodeConflict = (params) => {
|
|
23321
|
+
return this.newInstance().fetchIamV3PublicUsersMeHeadlessLinkConflict(params);
|
|
23322
|
+
};
|
|
23323
|
+
/**
|
|
23324
|
+
* POST [/iam/v3/public/users/me/headless/linkWithProgression](api)
|
|
23325
|
+
*
|
|
23326
|
+
* Note:
|
|
23327
|
+
* 1. My account should be full account
|
|
23328
|
+
* 2. My account not linked to headless account's third platform.
|
|
23329
|
+
*/
|
|
23330
|
+
this.linkWithProgression = (data) => {
|
|
23331
|
+
return this.newInstance().postIamV3PublicUsersMeHeadlessLinkWithProgression(data);
|
|
23332
|
+
};
|
|
23136
23333
|
}
|
|
23137
23334
|
/**
|
|
23138
23335
|
* @internal
|
|
@@ -23289,24 +23486,36 @@ class AgreementApi {
|
|
|
23289
23486
|
this.conf = conf;
|
|
23290
23487
|
this.namespace = namespace;
|
|
23291
23488
|
this.cache = cache;
|
|
23292
|
-
|
|
23293
|
-
|
|
23294
|
-
|
|
23295
|
-
|
|
23296
|
-
|
|
23297
|
-
|
|
23298
|
-
|
|
23299
|
-
|
|
23300
|
-
|
|
23301
|
-
|
|
23302
|
-
|
|
23303
|
-
|
|
23304
|
-
|
|
23305
|
-
|
|
23306
|
-
|
|
23307
|
-
|
|
23308
|
-
|
|
23309
|
-
|
|
23489
|
+
/**
|
|
23490
|
+
* POST [/agreement/public/agreements/policies](api)
|
|
23491
|
+
*
|
|
23492
|
+
* Accepts many legal policy versions all at once. Supply with localized version policy id to accept an agreement.
|
|
23493
|
+
*
|
|
23494
|
+
* _Required permission_: login user
|
|
23495
|
+
*/
|
|
23496
|
+
this.acceptLegalPolicies = (acceptAgreements) => {
|
|
23497
|
+
return this.newInstance().postPublicAgreementsPolicies(acceptAgreements);
|
|
23498
|
+
};
|
|
23499
|
+
/**
|
|
23500
|
+
* GET [/agreement/public/agreements/policies](api)
|
|
23501
|
+
*
|
|
23502
|
+
* Retrieve accepted Legal Agreements.
|
|
23503
|
+
*
|
|
23504
|
+
* _Required permission_: login user
|
|
23505
|
+
*/
|
|
23506
|
+
this.getAgreements = () => {
|
|
23507
|
+
return this.newInstance().fetchPublicAgreementsPolicies();
|
|
23508
|
+
};
|
|
23509
|
+
/**
|
|
23510
|
+
* PATCH [/agreement/public/agreements/localized-policy-versions/preferences](api)
|
|
23511
|
+
*
|
|
23512
|
+
* Change marketing preference consent
|
|
23513
|
+
*
|
|
23514
|
+
* _Required permission_: login user
|
|
23515
|
+
*/
|
|
23516
|
+
this.updateMarketingPreferences = (acceptAgreements) => {
|
|
23517
|
+
return this.newInstance().patchPublicAgreementsLocalizedPolicyVersionsPreferences(acceptAgreements);
|
|
23518
|
+
};
|
|
23310
23519
|
}
|
|
23311
23520
|
newInstance() {
|
|
23312
23521
|
return new Agreement$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -23419,12 +23628,16 @@ class EligibilitiesApi {
|
|
|
23419
23628
|
this.conf = conf;
|
|
23420
23629
|
this.namespace = namespace;
|
|
23421
23630
|
this.cache = cache;
|
|
23422
|
-
|
|
23423
|
-
|
|
23424
|
-
|
|
23425
|
-
|
|
23426
|
-
|
|
23427
|
-
|
|
23631
|
+
/**
|
|
23632
|
+
* GET [/agreement/public/eligibilities/namespaces/{namespace}](api)
|
|
23633
|
+
*
|
|
23634
|
+
* 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.
|
|
23635
|
+
*
|
|
23636
|
+
* _Required permission_: login user
|
|
23637
|
+
*/
|
|
23638
|
+
this.getUserEligibilities = () => {
|
|
23639
|
+
return this.newInstance().fetchPublicEligibilitiesNamespacesByNamespace();
|
|
23640
|
+
};
|
|
23428
23641
|
}
|
|
23429
23642
|
newInstance() {
|
|
23430
23643
|
return new Eligibilities$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -23527,12 +23740,14 @@ class LocalizedPolicyVersionsApi {
|
|
|
23527
23740
|
this.conf = conf;
|
|
23528
23741
|
this.namespace = namespace;
|
|
23529
23742
|
this.cache = cache;
|
|
23530
|
-
|
|
23531
|
-
|
|
23532
|
-
|
|
23533
|
-
|
|
23534
|
-
|
|
23535
|
-
|
|
23743
|
+
/**
|
|
23744
|
+
* GET [/agreement/public/localized-policy-versions/{localizedPolicyVersionId}](api)
|
|
23745
|
+
*
|
|
23746
|
+
* Retrieve specific localized policy version including the policy version and base policy version where the localized policy version located.
|
|
23747
|
+
*/
|
|
23748
|
+
this.fetchLocalizedPolicyVersionById = (localizedPolicyVersionId) => {
|
|
23749
|
+
return this.newInstance().fetchPublicLocalizedPolicyVersionsByLocalizedpolicyversionid(localizedPolicyVersionId);
|
|
23750
|
+
};
|
|
23536
23751
|
}
|
|
23537
23752
|
newInstance() {
|
|
23538
23753
|
return new LocalizedPolicyVersions$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -23638,18 +23853,37 @@ class PoliciesApi {
|
|
|
23638
23853
|
this.conf = conf;
|
|
23639
23854
|
this.namespace = namespace;
|
|
23640
23855
|
this.cache = cache;
|
|
23641
|
-
|
|
23642
|
-
|
|
23643
|
-
|
|
23644
|
-
|
|
23645
|
-
|
|
23646
|
-
|
|
23647
|
-
|
|
23648
|
-
|
|
23649
|
-
|
|
23650
|
-
|
|
23651
|
-
|
|
23652
|
-
|
|
23856
|
+
/**
|
|
23857
|
+
* GET [/agreement/public/policies/namespaces/{namespace}/countries/{countryCode}](api)
|
|
23858
|
+
*
|
|
23859
|
+
* Retrieve all active latest policies based on a namespace and country.
|
|
23860
|
+
*
|
|
23861
|
+
* - _Leave the policyType empty if you want to be responded with all policy type_
|
|
23862
|
+
* - _Fill the tags if you want to filter the responded policy by tags_
|
|
23863
|
+
* - _Fill the defaultOnEmpty with true if you want to be responded with default country-specific policy if your requested country is not exist_
|
|
23864
|
+
* - _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:_
|
|
23865
|
+
*
|
|
23866
|
+
* - Document 1 (default): Region US (default), UA
|
|
23867
|
+
* - Document 2 (default): Region US (default)
|
|
23868
|
+
* - Document 3 (default): Region US (default)
|
|
23869
|
+
* - User: Region UA
|
|
23870
|
+
* - Query: alwaysIncludeDefault: true
|
|
23871
|
+
* - Response: Document 1 (UA), Document 2 (US), Document 3 (US)
|
|
23872
|
+
*/
|
|
23873
|
+
this.fetchPoliciesByCountry = ({ countryCode, queryParams }) => {
|
|
23874
|
+
return this.newInstance().fetchPublicPoliciesNamespacesByNamespaceCountriesByCountrycode(countryCode, queryParams);
|
|
23875
|
+
};
|
|
23876
|
+
/**
|
|
23877
|
+
* GET [/agreement/public/policies/countries/{countryCode}](api)
|
|
23878
|
+
*
|
|
23879
|
+
* Retrieve all active latest policies based on country from all namespaces.
|
|
23880
|
+
* - _Leave the policyType empty if you want to be responded with all policy type_
|
|
23881
|
+
* - _Fill the tags if you want to filter the responded policy by tags_
|
|
23882
|
+
* - _Fill the defaultOnEmpty with true if you want to be responded with default country-specific policy if your requested country is not exist_
|
|
23883
|
+
*/
|
|
23884
|
+
this.fetchAllPoliciesByCountry = ({ countryCode, queryParams }) => {
|
|
23885
|
+
return this.newInstance().fetchPublicPoliciesCountriesByCountrycode(countryCode, queryParams);
|
|
23886
|
+
};
|
|
23653
23887
|
}
|
|
23654
23888
|
newInstance() {
|
|
23655
23889
|
return new Policies$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -23733,12 +23967,21 @@ class PublicTemplateApi {
|
|
|
23733
23967
|
this.conf = conf;
|
|
23734
23968
|
this.namespace = namespace;
|
|
23735
23969
|
this.cache = cache;
|
|
23970
|
+
/**
|
|
23971
|
+
* @internal
|
|
23972
|
+
*/
|
|
23736
23973
|
this.getTemplateConfigs = (template) => {
|
|
23737
23974
|
return this.newInstance().fetchV1NsTemplatesByTemplateConfigs(template);
|
|
23738
23975
|
};
|
|
23976
|
+
/**
|
|
23977
|
+
* @internal
|
|
23978
|
+
*/
|
|
23739
23979
|
this.getTemplateConfig = (template, configId) => {
|
|
23740
23980
|
return this.newInstance().fetchV1NsTemplatesByTemplateConfigsByConfig(template, configId);
|
|
23741
23981
|
};
|
|
23982
|
+
/**
|
|
23983
|
+
* @internal
|
|
23984
|
+
*/
|
|
23742
23985
|
this.getDiscoveryTemplateConfigs = () => {
|
|
23743
23986
|
return this.newInstance().fetchV1NsTemplatesByTemplateConfigs(DISCOVERY_TEMPLATE_NAME);
|
|
23744
23987
|
};
|
|
@@ -23808,13 +24051,19 @@ class CurrencyApi {
|
|
|
23808
24051
|
this.namespace = namespace;
|
|
23809
24052
|
this.cache = cache;
|
|
23810
24053
|
/**
|
|
23811
|
-
*
|
|
24054
|
+
* GET [/platform/public/namespaces/{namespace}/currencies](api)
|
|
24055
|
+
*
|
|
24056
|
+
* List currencies of a namespace.
|
|
24057
|
+
*
|
|
24058
|
+
* Returns: Currency List
|
|
23812
24059
|
*/
|
|
23813
24060
|
this.getCurrencies = () => {
|
|
23814
24061
|
return this.newInstance().fetchNsCurrencies();
|
|
23815
24062
|
};
|
|
23816
24063
|
/**
|
|
23817
24064
|
* Get the currencies list and convert into a map of currency code and the currency itself
|
|
24065
|
+
*
|
|
24066
|
+
* @internal
|
|
23818
24067
|
*/
|
|
23819
24068
|
this.getCurrencyMap = async () => {
|
|
23820
24069
|
const result = await this.getCurrencies();
|
|
@@ -24427,38 +24676,42 @@ class EntitlementApi {
|
|
|
24427
24676
|
this.conf = conf;
|
|
24428
24677
|
this.namespace = namespace;
|
|
24429
24678
|
this.cache = cache;
|
|
24430
|
-
|
|
24431
|
-
|
|
24432
|
-
|
|
24433
|
-
|
|
24434
|
-
|
|
24435
|
-
|
|
24436
|
-
|
|
24437
|
-
|
|
24438
|
-
|
|
24439
|
-
|
|
24440
|
-
|
|
24441
|
-
|
|
24442
|
-
|
|
24443
|
-
|
|
24444
|
-
|
|
24445
|
-
|
|
24446
|
-
|
|
24447
|
-
|
|
24448
|
-
|
|
24449
|
-
|
|
24450
|
-
|
|
24451
|
-
|
|
24452
|
-
|
|
24453
|
-
|
|
24454
|
-
|
|
24455
|
-
|
|
24456
|
-
|
|
24457
|
-
|
|
24458
|
-
|
|
24459
|
-
|
|
24460
|
-
|
|
24461
|
-
|
|
24679
|
+
/**
|
|
24680
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/entitlements/byAppId](api)
|
|
24681
|
+
*
|
|
24682
|
+
* Get user app entitlement by appId.
|
|
24683
|
+
*/
|
|
24684
|
+
this.getEntitlementByAppId = ({ userId, appId }) => {
|
|
24685
|
+
return this.newInstance().fetchNsUsersByUseridEntitlementsByAppId(userId, {
|
|
24686
|
+
appId
|
|
24687
|
+
});
|
|
24688
|
+
};
|
|
24689
|
+
/**
|
|
24690
|
+
* Query user entitlements for a specific user.
|
|
24691
|
+
* Returns: entitlement list
|
|
24692
|
+
*/
|
|
24693
|
+
this.getEntitlements = ({ userId, queryParams }) => {
|
|
24694
|
+
return this.newInstance().fetchNsUsersByUseridEntitlements(userId, queryParams);
|
|
24695
|
+
};
|
|
24696
|
+
/**
|
|
24697
|
+
* Exists any user active entitlement of specified itemIds, skus and appIds
|
|
24698
|
+
*/
|
|
24699
|
+
this.getEntitlementOwnerShip = ({ userId, queryParams }) => {
|
|
24700
|
+
return this.newInstance().fetchNsUsersByUseridEntitlementsOwnershipAny(userId, queryParams);
|
|
24701
|
+
};
|
|
24702
|
+
/**
|
|
24703
|
+
* Get user entitlement ownership by itemIds.
|
|
24704
|
+
*/
|
|
24705
|
+
this.getEntitlementByItemIds = ({ userId, queryParams }) => {
|
|
24706
|
+
return this.newInstance().fetchNsUsersByUseridEntitlementsOwnershipByItemIds(userId, queryParams);
|
|
24707
|
+
};
|
|
24708
|
+
/**
|
|
24709
|
+
* 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
|
|
24710
|
+
* Returns: consumed entitlement
|
|
24711
|
+
*/
|
|
24712
|
+
this.claimEntitlement = ({ userId, entitlementId, data }) => {
|
|
24713
|
+
return this.newInstance().putNsUsersByUseridEntitlementsByEntitlementidDecrement(userId, entitlementId, data);
|
|
24714
|
+
};
|
|
24462
24715
|
}
|
|
24463
24716
|
newInstance() {
|
|
24464
24717
|
return new Entitlement$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -24558,7 +24811,11 @@ class FulfillmentApi {
|
|
|
24558
24811
|
this.namespace = namespace;
|
|
24559
24812
|
this.cache = cache;
|
|
24560
24813
|
/**
|
|
24561
|
-
*
|
|
24814
|
+
* POST [/platform/public/namespaces/{namespace}/users/{userId}/fulfillment/code](api)
|
|
24815
|
+
*
|
|
24816
|
+
* Redeem campaign code
|
|
24817
|
+
*
|
|
24818
|
+
* Returns: fulfillment result
|
|
24562
24819
|
*/
|
|
24563
24820
|
this.redeemCode = ({ userId, data }) => {
|
|
24564
24821
|
return this.newInstance().postNsUsersByUseridFulfillmentCode(userId, data);
|
|
@@ -25111,64 +25368,90 @@ class ItemApi {
|
|
|
25111
25368
|
this.conf = conf;
|
|
25112
25369
|
this.namespace = namespace;
|
|
25113
25370
|
this.cache = cache;
|
|
25114
|
-
|
|
25115
|
-
|
|
25116
|
-
|
|
25117
|
-
|
|
25118
|
-
|
|
25119
|
-
|
|
25120
|
-
|
|
25121
|
-
|
|
25122
|
-
|
|
25123
|
-
|
|
25124
|
-
|
|
25125
|
-
|
|
25126
|
-
|
|
25127
|
-
|
|
25128
|
-
|
|
25129
|
-
|
|
25130
|
-
|
|
25131
|
-
|
|
25132
|
-
|
|
25133
|
-
|
|
25134
|
-
|
|
25135
|
-
|
|
25136
|
-
|
|
25137
|
-
|
|
25138
|
-
|
|
25139
|
-
|
|
25140
|
-
|
|
25141
|
-
|
|
25142
|
-
|
|
25143
|
-
|
|
25144
|
-
|
|
25145
|
-
|
|
25146
|
-
|
|
25147
|
-
|
|
25148
|
-
|
|
25149
|
-
|
|
25150
|
-
|
|
25151
|
-
|
|
25152
|
-
|
|
25153
|
-
|
|
25154
|
-
|
|
25155
|
-
|
|
25156
|
-
|
|
25157
|
-
|
|
25158
|
-
|
|
25159
|
-
|
|
25160
|
-
|
|
25161
|
-
|
|
25162
|
-
|
|
25163
|
-
|
|
25164
|
-
|
|
25165
|
-
|
|
25166
|
-
|
|
25167
|
-
|
|
25168
|
-
|
|
25169
|
-
|
|
25170
|
-
|
|
25171
|
-
|
|
25371
|
+
/**
|
|
25372
|
+
* GET [/platform/public/namespaces/{namespace}/items/byAppId](api)
|
|
25373
|
+
*
|
|
25374
|
+
* This API is used to get item by appId
|
|
25375
|
+
*
|
|
25376
|
+
* Returns: the item with that appId
|
|
25377
|
+
*/
|
|
25378
|
+
this.getItemByAppId = ({ ...queryParams }) => {
|
|
25379
|
+
return this.newInstance().fetchNsItemsByAppId(queryParams);
|
|
25380
|
+
};
|
|
25381
|
+
/**
|
|
25382
|
+
* GET [/platform/public/namespaces/{namespace}/items/{itemId}/dynamic](api)
|
|
25383
|
+
*
|
|
25384
|
+
* Get item dynamic data for a published item
|
|
25385
|
+
*
|
|
25386
|
+
* Returns: item dynamic data
|
|
25387
|
+
*/
|
|
25388
|
+
this.getItemByItemIdDynamic = (itemId) => {
|
|
25389
|
+
return this.newInstance().fetchNsItemsByItemidDynamic(itemId);
|
|
25390
|
+
};
|
|
25391
|
+
/**
|
|
25392
|
+
* GET [/platform/public/namespaces/{namespace}/items/byCriteria](api)
|
|
25393
|
+
*/
|
|
25394
|
+
this.fetchItemsByCriteria = ({ queryParams }) => {
|
|
25395
|
+
return this.newInstance().fetchNsItemsByCriteria(queryParams);
|
|
25396
|
+
};
|
|
25397
|
+
/**
|
|
25398
|
+
* GET [/platform/public/namespaces/{namespace}/items/locale/byIds](api)
|
|
25399
|
+
*
|
|
25400
|
+
* This API is used to query items by criteria within a store. If item not exist in specific region, default region item will return.
|
|
25401
|
+
*
|
|
25402
|
+
* Returns: the list of items
|
|
25403
|
+
*/
|
|
25404
|
+
this.getItemsByItemIds = ({ queryParams }) => {
|
|
25405
|
+
return this.newInstance().fetchNsItemsLocaleByIds(queryParams);
|
|
25406
|
+
};
|
|
25407
|
+
// TODO if not used, delete below
|
|
25408
|
+
// /**
|
|
25409
|
+
// * Fetch the items and convert it into a map of `itemId` and its item info
|
|
25410
|
+
// */
|
|
25411
|
+
// fetchAvailableItemInfoMap = async ({ queryParams }: { queryParams: QueryParamsItemIds }) => {
|
|
25412
|
+
// const result = await this.getItemsByItemIds({ queryParams })
|
|
25413
|
+
// if (result.response) {
|
|
25414
|
+
// return {
|
|
25415
|
+
// error: null,
|
|
25416
|
+
// value: result.response.data.reduce((map: Map<string, ItemInfo>, availableItemInfo) => {
|
|
25417
|
+
// const { itemId } = availableItemInfo
|
|
25418
|
+
// if (itemId) {
|
|
25419
|
+
// map.set(itemId, availableItemInfo)
|
|
25420
|
+
// }
|
|
25421
|
+
// return map
|
|
25422
|
+
// }, new Map())
|
|
25423
|
+
// }
|
|
25424
|
+
// }
|
|
25425
|
+
// return result
|
|
25426
|
+
// }
|
|
25427
|
+
/**
|
|
25428
|
+
* GET [/platform/public/namespaces/{namespace}/items/{itemId}/locale](api)
|
|
25429
|
+
*
|
|
25430
|
+
* This API is used to get an item in locale. If item not exist in specific region, default region item will return.
|
|
25431
|
+
*
|
|
25432
|
+
* Returns: item data
|
|
25433
|
+
*/
|
|
25434
|
+
this.getItemsByItemIdLocale = ({ itemId, queryParams }) => {
|
|
25435
|
+
return this.newInstance().fetchNsItemsByItemidLocale(itemId, queryParams);
|
|
25436
|
+
};
|
|
25437
|
+
/**
|
|
25438
|
+
* GET [/platform/public/namespaces/{namespace}/items/{itemId}/app/locale](api)
|
|
25439
|
+
*
|
|
25440
|
+
* This API is used to get an app in locale. If app not exist in specific region, default region app will return.
|
|
25441
|
+
*
|
|
25442
|
+
* Returns: app data
|
|
25443
|
+
*/
|
|
25444
|
+
this.getAppInfoByItemId = ({ itemId, queryParams }) => {
|
|
25445
|
+
return this.newInstance().fetchNsItemsByItemidAppLocale(itemId, queryParams);
|
|
25446
|
+
};
|
|
25447
|
+
/**
|
|
25448
|
+
* POST [/platform/public/namespaces/{namespace}/items/purchase/conditions/validate](api)
|
|
25449
|
+
*
|
|
25450
|
+
* This API is used to validate user item purchase condition
|
|
25451
|
+
*/
|
|
25452
|
+
this.validatePurchaseCondition = (data) => {
|
|
25453
|
+
return this.newInstance().postNsItemsPurchaseConditionsValidate(data);
|
|
25454
|
+
};
|
|
25172
25455
|
}
|
|
25173
25456
|
newInstance() {
|
|
25174
25457
|
return new Item$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -25409,31 +25692,102 @@ class OrderApi {
|
|
|
25409
25692
|
this.namespace = namespace;
|
|
25410
25693
|
this.cache = cache;
|
|
25411
25694
|
/**
|
|
25412
|
-
*
|
|
25695
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/orders](api)
|
|
25696
|
+
*
|
|
25697
|
+
* Query user orders
|
|
25698
|
+
*
|
|
25699
|
+
* Returns a paginated list of `OrderInfo`:
|
|
25700
|
+
* <pre lang="json">{
|
|
25701
|
+
orderNo,
|
|
25702
|
+
paymentOrderNo,
|
|
25703
|
+
namespace,
|
|
25704
|
+
userId,
|
|
25705
|
+
itemId,
|
|
25706
|
+
sandbox,
|
|
25707
|
+
quantity,
|
|
25708
|
+
price,
|
|
25709
|
+
discountedPrice,
|
|
25710
|
+
creationOptions
|
|
25711
|
+
paymentProvider: ('WALLET', 'XSOLLA', 'ADYEN', 'STRIPE', 'CHECKOUT', 'ALIPAY', 'WXPAY', 'PAYPAL'),
|
|
25712
|
+
paymentMethod,
|
|
25713
|
+
tax,
|
|
25714
|
+
vat,
|
|
25715
|
+
salesTax,
|
|
25716
|
+
paymentProviderFee,
|
|
25717
|
+
paymentMethodFee
|
|
25718
|
+
currency: CurrencySummary,
|
|
25719
|
+
paymentStationUrl,
|
|
25720
|
+
itemSnapshot,
|
|
25721
|
+
region,
|
|
25722
|
+
language,
|
|
25723
|
+
status: (
|
|
25724
|
+
'INIT',
|
|
25725
|
+
'CHARGED',
|
|
25726
|
+
'CHARGEBACK',
|
|
25727
|
+
'CHARGEBACK_REVERSED',
|
|
25728
|
+
'FULFILLED',
|
|
25729
|
+
'FULFILL_FAILED',
|
|
25730
|
+
'REFUNDING',
|
|
25731
|
+
'REFUNDED',
|
|
25732
|
+
'REFUND_FAILED',
|
|
25733
|
+
'CLOSED',
|
|
25734
|
+
'DELETED'
|
|
25735
|
+
),
|
|
25736
|
+
statusReason,
|
|
25737
|
+
createdTime,
|
|
25738
|
+
chargedTime,
|
|
25739
|
+
fulfilledTime,
|
|
25740
|
+
refundedTime,
|
|
25741
|
+
chargebackTime,
|
|
25742
|
+
chargebackReversedTime,
|
|
25743
|
+
expireTime,
|
|
25744
|
+
paymentRemainSeconds,
|
|
25745
|
+
ext,
|
|
25746
|
+
totalTax,
|
|
25747
|
+
totalPrice,
|
|
25748
|
+
subtotalPrice,
|
|
25749
|
+
createdAt,
|
|
25750
|
+
updatedAt
|
|
25751
|
+
}</pre>
|
|
25413
25752
|
*/
|
|
25414
25753
|
this.getOrderList = ({ userId, queryParams }) => {
|
|
25415
25754
|
return this.newInstance().fetchNsUsersByUseridOrders(userId, queryParams);
|
|
25416
25755
|
};
|
|
25417
25756
|
/**
|
|
25418
|
-
*
|
|
25757
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/orders/{orderNo}](api)
|
|
25758
|
+
*
|
|
25759
|
+
* Get user order.
|
|
25760
|
+
*
|
|
25761
|
+
* Returns: `OrderInfo`
|
|
25419
25762
|
*/
|
|
25420
25763
|
this.getOrderByOrderNo = ({ userId, orderNo }) => {
|
|
25421
25764
|
return this.newInstance().fetchNsUsersByUseridOrdersByOrderno(userId, orderNo);
|
|
25422
25765
|
};
|
|
25423
25766
|
/**
|
|
25424
|
-
*
|
|
25767
|
+
* PUT [/platform/public/namespaces/{namespace}/users/{userId}/orders/{orderNo}/cancel](api)
|
|
25768
|
+
*
|
|
25769
|
+
* Cancel user order.
|
|
25770
|
+
*
|
|
25771
|
+
* Returns: cancelled `OrderInfo`
|
|
25425
25772
|
*/
|
|
25426
25773
|
this.cancelOrder = ({ userId, orderNo }) => {
|
|
25427
25774
|
return this.newInstance().putNsUsersByUseridOrdersByOrdernoCancel(userId, orderNo);
|
|
25428
25775
|
};
|
|
25429
25776
|
/**
|
|
25430
|
-
*
|
|
25777
|
+
* POST [/platform/public/namespaces/{namespace}/users/{userId}/orders](api)
|
|
25778
|
+
*
|
|
25779
|
+
* Create an order. The result contains the checkout link and payment token.
|
|
25780
|
+
* User with permission SANDBOX will create sandbox order that not real paid for xsolla/alipay and not validate price for wxpay.
|
|
25781
|
+
*
|
|
25782
|
+
* Returns: created `OrderInfo`
|
|
25431
25783
|
*/
|
|
25432
25784
|
this.createOrder = ({ userId, data }) => {
|
|
25433
25785
|
return this.newInstance().postNsUsersByUseridOrders(userId, data);
|
|
25434
25786
|
};
|
|
25435
25787
|
/**
|
|
25436
25788
|
* Fetch all information needed for a user to check the user's availability to purchase the item
|
|
25789
|
+
*
|
|
25790
|
+
* @internal
|
|
25437
25791
|
*/
|
|
25438
25792
|
this.fetchPrePurchaseInformation = async ({ userId, item }) => {
|
|
25439
25793
|
const currencyApi = new CurrencyApi(this.conf, this.namespace, this.cache);
|
|
@@ -25762,31 +26116,49 @@ class PaymentApi {
|
|
|
25762
26116
|
this.namespace = namespace;
|
|
25763
26117
|
this.cache = cache;
|
|
25764
26118
|
/**
|
|
25765
|
-
*
|
|
26119
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/payment/accounts](api)
|
|
26120
|
+
*
|
|
26121
|
+
* Get payment accounts.
|
|
26122
|
+
*
|
|
26123
|
+
* Returns: Payment account list `PaymentAccountArray`
|
|
25766
26124
|
*/
|
|
25767
26125
|
this.getPaymentAccounts = (userId) => {
|
|
25768
26126
|
return this.newInstance().fetchNsUsersByUseridPaymentAccounts(userId);
|
|
25769
26127
|
};
|
|
25770
26128
|
/**
|
|
25771
|
-
*
|
|
26129
|
+
* DELETE [/platform/public/namespaces/{namespace}/users/{userId}/payment/accounts/{type}/{id}](api)
|
|
26130
|
+
*
|
|
26131
|
+
* Delete payment account.
|
|
25772
26132
|
*/
|
|
25773
26133
|
this.deletePaymentAccount = ({ userId, type, id }) => {
|
|
25774
26134
|
return this.newInstance().deleteNsUsersByUseridPaymentAccountsByTypeById(userId, type, id);
|
|
25775
26135
|
};
|
|
25776
26136
|
/**
|
|
25777
|
-
*
|
|
26137
|
+
* GET [/platform/public/namespaces/{namespace}/payment/orders/{paymentOrderNo}/info](api)
|
|
26138
|
+
*
|
|
26139
|
+
* Get payment order info.
|
|
26140
|
+
*
|
|
26141
|
+
* Returns: Payment order details `PaymentOrderDetails`
|
|
25778
26142
|
*/
|
|
25779
26143
|
this.getPaymentInfo = (paymentOrderNo) => {
|
|
25780
26144
|
return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentOrdersByPaymentordernoInfo(paymentOrderNo);
|
|
25781
26145
|
};
|
|
25782
26146
|
/**
|
|
25783
|
-
*
|
|
26147
|
+
* POST [/platform/public/namespaces/{namespace}/payment/orders/{paymentOrderNo}/pay](api)
|
|
26148
|
+
*
|
|
26149
|
+
* Do payment(For now, this only support checkout.com).
|
|
26150
|
+
*
|
|
26151
|
+
* Returns: Payment process result
|
|
25784
26152
|
*/
|
|
25785
26153
|
this.processPaymentOrder = (paymentOrderNo, data, queryParams) => {
|
|
25786
26154
|
return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).postNsPaymentOrdersByPaymentordernoPay(paymentOrderNo, data, queryParams);
|
|
25787
26155
|
};
|
|
25788
26156
|
/**
|
|
25789
|
-
*
|
|
26157
|
+
* GET [/platform/public/namespaces/{namespace}/payment/publicconfig](api)
|
|
26158
|
+
*
|
|
26159
|
+
* Get payment provider public config, at current only Strip provide public config.
|
|
26160
|
+
*
|
|
26161
|
+
* Returns: Public config
|
|
25790
26162
|
*/
|
|
25791
26163
|
this.getPaymentProviderPublicConfig = (paymentProvider, region, sandbox) => {
|
|
25792
26164
|
return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentPublicconfig({
|
|
@@ -25796,19 +26168,28 @@ class PaymentApi {
|
|
|
25796
26168
|
});
|
|
25797
26169
|
};
|
|
25798
26170
|
/**
|
|
25799
|
-
*
|
|
26171
|
+
* GET [/platform/public/namespaces/{namespace}/payment/orders/{paymentOrderNo}/status](api)
|
|
26172
|
+
*
|
|
26173
|
+
* Check payment order paid status.
|
|
26174
|
+
*
|
|
26175
|
+
* Returns: Payment order paid result
|
|
25800
26176
|
*/
|
|
25801
26177
|
this.getPaymentOrderStatus = (paymentOrderNo) => {
|
|
25802
26178
|
return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentOrdersByPaymentordernoStatus(paymentOrderNo);
|
|
25803
26179
|
};
|
|
25804
26180
|
/**
|
|
25805
|
-
* Get payment methods
|
|
26181
|
+
* Get payment methods.
|
|
26182
|
+
* Returns: Payment method list
|
|
25806
26183
|
*/
|
|
25807
26184
|
this.getPaymentMethods = (paymentOrderNo) => {
|
|
25808
26185
|
return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentMethods({ paymentOrderNo });
|
|
25809
26186
|
};
|
|
25810
26187
|
/**
|
|
25811
|
-
*
|
|
26188
|
+
* GET [/platform/public/namespaces/{namespace}/payment/methods](api)
|
|
26189
|
+
*
|
|
26190
|
+
* Check and get a payment order's should pay tax.
|
|
26191
|
+
*
|
|
26192
|
+
* Returns: tax result
|
|
25812
26193
|
*/
|
|
25813
26194
|
this.getPaymentTax = (paymentProvider, paymentOrderNo, zipCode) => {
|
|
25814
26195
|
return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentTax({
|
|
@@ -25818,7 +26199,11 @@ class PaymentApi {
|
|
|
25818
26199
|
});
|
|
25819
26200
|
};
|
|
25820
26201
|
/**
|
|
25821
|
-
*
|
|
26202
|
+
* POST [/platform/public/namespaces/{namespace}/payment/link](api)
|
|
26203
|
+
*
|
|
26204
|
+
* Get payment url.
|
|
26205
|
+
*
|
|
26206
|
+
* Returns: Get payment link
|
|
25822
26207
|
*/
|
|
25823
26208
|
this.createPaymentUrl = (data) => {
|
|
25824
26209
|
return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).postNsPaymentLink(data);
|
|
@@ -26074,42 +26459,73 @@ class SubscriptionApi {
|
|
|
26074
26459
|
this.conf = conf;
|
|
26075
26460
|
this.namespace = namespace;
|
|
26076
26461
|
this.cache = cache;
|
|
26077
|
-
|
|
26078
|
-
|
|
26079
|
-
|
|
26080
|
-
|
|
26081
|
-
|
|
26082
|
-
|
|
26083
|
-
|
|
26084
|
-
|
|
26085
|
-
|
|
26086
|
-
|
|
26087
|
-
|
|
26088
|
-
|
|
26089
|
-
|
|
26090
|
-
|
|
26091
|
-
|
|
26092
|
-
|
|
26093
|
-
|
|
26094
|
-
|
|
26095
|
-
|
|
26096
|
-
|
|
26097
|
-
|
|
26098
|
-
|
|
26099
|
-
|
|
26100
|
-
|
|
26101
|
-
|
|
26102
|
-
|
|
26103
|
-
|
|
26104
|
-
|
|
26105
|
-
|
|
26106
|
-
|
|
26107
|
-
|
|
26108
|
-
|
|
26109
|
-
|
|
26110
|
-
|
|
26111
|
-
|
|
26112
|
-
|
|
26462
|
+
/**
|
|
26463
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions](api)
|
|
26464
|
+
*
|
|
26465
|
+
* Query user subscriptions.
|
|
26466
|
+
*
|
|
26467
|
+
* Returns: paginated subscription
|
|
26468
|
+
*/
|
|
26469
|
+
this.getUserSubscriptions = ({ userId, queryParams }) => {
|
|
26470
|
+
return this.newInstance().fetchNsUsersByUseridSubscriptions(userId, queryParams);
|
|
26471
|
+
};
|
|
26472
|
+
/**
|
|
26473
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}](api)
|
|
26474
|
+
*
|
|
26475
|
+
* Get user subscription.
|
|
26476
|
+
*
|
|
26477
|
+
* Returns: subscription
|
|
26478
|
+
*/
|
|
26479
|
+
this.getUserSubscriptionBySubscriptionId = ({ userId, subscriptionId }) => {
|
|
26480
|
+
return this.newInstance().fetchNsUsersByUseridSubscriptionsBySubscriptionid(userId, subscriptionId);
|
|
26481
|
+
};
|
|
26482
|
+
/**
|
|
26483
|
+
* POST [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions](api)
|
|
26484
|
+
*
|
|
26485
|
+
* Subscribe a subscription. Support both real and virtual payment. Need go through payment flow using the paymentOrderNo if paymentFlowRequired true.
|
|
26486
|
+
* __ACTIVE USER subscription can't do subscribe again.__
|
|
26487
|
+
* __The next billing date will be X(default 4) hours before the current period ends if correctly subscribed.__
|
|
26488
|
+
* User with permission SANDBOX will create sandbox subscription that not real paid.
|
|
26489
|
+
*
|
|
26490
|
+
* Returns: created subscription
|
|
26491
|
+
*/
|
|
26492
|
+
this.createSubscription = ({ userId, data }) => {
|
|
26493
|
+
return this.newInstance().postNsUsersByUseridSubscriptions(userId, data);
|
|
26494
|
+
};
|
|
26495
|
+
/**
|
|
26496
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}/history](api)
|
|
26497
|
+
*
|
|
26498
|
+
* Get user subscription billing histories.
|
|
26499
|
+
*
|
|
26500
|
+
* Returns: paginated subscription history
|
|
26501
|
+
*/
|
|
26502
|
+
this.getUserSubscriptionBillingHistory = ({ userId, subscriptionId, queryParams }) => {
|
|
26503
|
+
return this.newInstance().fetchNsUsersByUseridSubscriptionsBySubscriptionidHistory(userId, subscriptionId, queryParams);
|
|
26504
|
+
};
|
|
26505
|
+
/**
|
|
26506
|
+
* PUT [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}/billingAccount](api)
|
|
26507
|
+
*
|
|
26508
|
+
* Request to change a subscription billing account, this will guide user to payment station.
|
|
26509
|
+
* The actual change will happen at the 0 payment notification successfully handled.
|
|
26510
|
+
* Only ACTIVE USER subscription with real currency billing account can be changed.
|
|
26511
|
+
*
|
|
26512
|
+
* Returns: updated subscription
|
|
26513
|
+
*/
|
|
26514
|
+
this.updateUserSubscriptionPaymentMethod = ({ userId, subscriptionId }) => {
|
|
26515
|
+
return this.newInstance().putNsUsersByUseridSubscriptionsBySubscriptionidBillingAccount(userId, subscriptionId);
|
|
26516
|
+
};
|
|
26517
|
+
/**
|
|
26518
|
+
* PUT [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}/cancel](api)
|
|
26519
|
+
*
|
|
26520
|
+
* Cancel a subscription, only ACTIVE subscription can be cancelled.
|
|
26521
|
+
* __Ensure successfully cancel, recommend at least 1 day before current period ends, otherwise it may be charging or charged.__
|
|
26522
|
+
* Set immediate true, the subscription will be terminated immediately, otherwise till the end of current billing cycle.
|
|
26523
|
+
*
|
|
26524
|
+
* Returns: cancelled subscription
|
|
26525
|
+
*/
|
|
26526
|
+
this.cancelUserSubscription = ({ userId, subscriptionId, data }) => {
|
|
26527
|
+
return this.newInstance().putNsUsersByUseridSubscriptionsBySubscriptionidCancel(userId, subscriptionId, data);
|
|
26528
|
+
};
|
|
26113
26529
|
}
|
|
26114
26530
|
newInstance() {
|
|
26115
26531
|
return new Subscription$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -26276,19 +26692,32 @@ class WalletApi {
|
|
|
26276
26692
|
this.namespace = namespace;
|
|
26277
26693
|
this.cache = cache;
|
|
26278
26694
|
/**
|
|
26279
|
-
*
|
|
26695
|
+
* GET [/platform/public/namespaces/{namespace}/users/me/wallets/{currencyCode}](api)
|
|
26696
|
+
*
|
|
26697
|
+
* get my wallet by currency code and namespace.
|
|
26698
|
+
*
|
|
26699
|
+
* Returns: wallet info
|
|
26700
|
+
*
|
|
26701
|
+
* Path's namespace:
|
|
26702
|
+
* - can be filled with __publisher namespace__ in order to get __publisher user wallet__
|
|
26703
|
+
* - can be filled with __game namespace__ in order to get __game user wallet__
|
|
26280
26704
|
*/
|
|
26281
26705
|
this.getUserMeWallet = (currencyCode) => {
|
|
26282
26706
|
return this.newInstance().fetchNsUsersMeWalletsByCurrencycode(currencyCode);
|
|
26283
26707
|
};
|
|
26284
26708
|
/**
|
|
26285
|
-
*
|
|
26709
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/wallets/{currencyCode}](api)
|
|
26710
|
+
*
|
|
26711
|
+
* Get a wallet by currency code.
|
|
26712
|
+
*
|
|
26713
|
+
* Returns: wallet info
|
|
26286
26714
|
*/
|
|
26287
26715
|
this.getWalletByUserId = (userId, currencyCode) => {
|
|
26288
26716
|
return this.newInstance().fetchNsUsersByUseridWalletsByCurrencycode(userId, currencyCode);
|
|
26289
26717
|
};
|
|
26290
26718
|
/**
|
|
26291
26719
|
* get a map of wallet represented by its currency code
|
|
26720
|
+
* @internal
|
|
26292
26721
|
*/
|
|
26293
26722
|
this.getWalletMap = async ({ userId, currencyCodes }) => {
|
|
26294
26723
|
try {
|
|
@@ -26318,7 +26747,7 @@ class WalletApi {
|
|
|
26318
26747
|
class ApiFactory {
|
|
26319
26748
|
static userAuthorization(config, options, refreshToken, namespace, overrides) {
|
|
26320
26749
|
const conf = ApiFactory.mergedConfigs(config, overrides);
|
|
26321
|
-
return new
|
|
26750
|
+
return new UserAuthorizationApi(conf, namespace, false, {
|
|
26322
26751
|
clientId: options.clientId,
|
|
26323
26752
|
redirectURI: options.redirectURI,
|
|
26324
26753
|
baseURL: options.baseURL,
|
|
@@ -39764,5 +40193,5 @@ CodeGenUtil.getFormUrlEncodedData = (data) => {
|
|
|
39764
40193
|
return formPayload;
|
|
39765
40194
|
};
|
|
39766
40195
|
|
|
39767
|
-
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 };
|
|
40196
|
+
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 };
|
|
39768
40197
|
//# sourceMappingURL=index.node.es.js.map
|