@accelbyte/sdk 0.2.0-beta.4 → 0.2.0-beta.8
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 +16 -0
- package/README.md +1 -4
- package/dist/index.browser.es.js +950 -541
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.d.ts +1499 -1060
- package/dist/index.node.es.js +950 -541
- package/dist/index.node.es.js.map +1 -1
- package/dist/index.node.js +950 -541
- package/dist/index.node.js.map +1 -1
- package/examples/next/package.json +1 -1
- package/examples/node/package.json +1 -1
- package/examples/typescript-node/README.md +13 -0
- package/examples/typescript-node/node-example.ts +60 -0
- package/examples/vite/package.json +1 -1
- package/package.json +1 -1
package/dist/index.browser.es.js
CHANGED
|
@@ -5980,6 +5980,8 @@ class FileUploadApi {
|
|
|
5980
5980
|
this.conf = conf;
|
|
5981
5981
|
this.namespace = namespace;
|
|
5982
5982
|
/**
|
|
5983
|
+
* POST [/basic/v1/public/namespaces/{namespace}/folders/{folder}/files](api)
|
|
5984
|
+
*
|
|
5983
5985
|
* Generate an upload URL. It's valid for 10 minutes.
|
|
5984
5986
|
* Returns: URL data
|
|
5985
5987
|
*/
|
|
@@ -6102,12 +6104,18 @@ class MiscApi {
|
|
|
6102
6104
|
this.namespace = namespace;
|
|
6103
6105
|
this.cache = cache;
|
|
6104
6106
|
/**
|
|
6105
|
-
*
|
|
6106
|
-
*
|
|
6107
|
+
* GET [/basic/v1/public/namespaces/{namespace}/misc/countries](api)
|
|
6108
|
+
*
|
|
6109
|
+
* _Returns_: country code list
|
|
6107
6110
|
*/
|
|
6108
6111
|
this.getCountries = (lang) => {
|
|
6109
6112
|
return this.newInstance().fetchV1NsMiscCountries({ lang });
|
|
6110
6113
|
};
|
|
6114
|
+
/**
|
|
6115
|
+
* GET [/basic/v1/public/namespaces/{namespace}/misc/languages](api)
|
|
6116
|
+
*
|
|
6117
|
+
* _Returns_: language list
|
|
6118
|
+
*/
|
|
6111
6119
|
this.getLanguages = () => {
|
|
6112
6120
|
return this.newInstance().fetchV1NsMiscLanguages();
|
|
6113
6121
|
};
|
|
@@ -6197,9 +6205,10 @@ class NamespaceApi {
|
|
|
6197
6205
|
this.namespace = namespace;
|
|
6198
6206
|
this.cache = cache;
|
|
6199
6207
|
/**
|
|
6208
|
+
* GET [/basic/v1/public/namespaces](api)
|
|
6209
|
+
*
|
|
6200
6210
|
* Get all namespaces.
|
|
6201
6211
|
*
|
|
6202
|
-
* Other detail info:
|
|
6203
6212
|
* - _Required permission_: login user
|
|
6204
6213
|
* - _Action code_: 11303
|
|
6205
6214
|
* - _Returns_: list of namespaces
|
|
@@ -6509,6 +6518,8 @@ class UserProfileApi {
|
|
|
6509
6518
|
this.namespace = namespace;
|
|
6510
6519
|
this.cache = cache;
|
|
6511
6520
|
/**
|
|
6521
|
+
* GET [/basic/v1/public/namespaces/{namespace}/users/me/profiles](api)
|
|
6522
|
+
*
|
|
6512
6523
|
* Get my profile
|
|
6513
6524
|
*
|
|
6514
6525
|
* __Client with user token can get user profile in target namespace__
|
|
@@ -6517,6 +6528,8 @@ class UserProfileApi {
|
|
|
6517
6528
|
return this.newInstance().fetchV1NsUsersMeProfiles();
|
|
6518
6529
|
};
|
|
6519
6530
|
/**
|
|
6531
|
+
* POST [/basic/v1/public/namespaces/{namespace}/users/me/profiles](api)
|
|
6532
|
+
*
|
|
6520
6533
|
* Create my profile.
|
|
6521
6534
|
*
|
|
6522
6535
|
* __Client with user token can create user profile in target namespace__
|
|
@@ -6525,6 +6538,8 @@ class UserProfileApi {
|
|
|
6525
6538
|
return this.newInstance().postV1NsUsersMeProfiles(data);
|
|
6526
6539
|
};
|
|
6527
6540
|
/**
|
|
6541
|
+
* PUT [/basic/v1/public/namespaces/{namespace}/users/me/profiles](api)
|
|
6542
|
+
*
|
|
6528
6543
|
* Update my profile.
|
|
6529
6544
|
* Updates user profile in the target namespace. If token's namespace doesn't match the target namespace, the service automatically maps the token's user ID into the user ID in the target namespace. The method returns the updated user profile on a successful call.
|
|
6530
6545
|
*/
|
|
@@ -6532,6 +6547,8 @@ class UserProfileApi {
|
|
|
6532
6547
|
return this.newInstance().putV1NsUsersMeProfiles(data);
|
|
6533
6548
|
};
|
|
6534
6549
|
/**
|
|
6550
|
+
* PUT [/basic/v1/public/namespaces/{namespace}/users/{userId}/profiles/customAttributes](api)
|
|
6551
|
+
*
|
|
6535
6552
|
* Update partially custom attributes tied to user id.
|
|
6536
6553
|
* _Returns_: Updated custom attributes
|
|
6537
6554
|
*/
|
|
@@ -6600,16 +6617,17 @@ class CachingApi {
|
|
|
6600
6617
|
constructor(conf, namespace) {
|
|
6601
6618
|
this.conf = conf;
|
|
6602
6619
|
this.namespace = namespace;
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
|
-
|
|
6620
|
+
/**
|
|
6621
|
+
* GET [/buildinfo/public/namespaces/{namespace}/diff/cache/source/{sourceBuildId}/dest/{destinationBuildId}](api)
|
|
6622
|
+
*
|
|
6623
|
+
* This API is used to retrieve detailed diff cache.
|
|
6624
|
+
* The response will contains list of diff cache files along with its download url.
|
|
6625
|
+
*
|
|
6626
|
+
* _Required permission_: login user
|
|
6627
|
+
*/
|
|
6628
|
+
this.getDiffCache = (sourceBuildId, destinationBuildId) => {
|
|
6629
|
+
return this.newInstance().fetchNsDiffCacheSourceBySourcebuildidDestByDestinationbuildid(sourceBuildId, destinationBuildId);
|
|
6630
|
+
};
|
|
6613
6631
|
}
|
|
6614
6632
|
newInstance() {
|
|
6615
6633
|
// this is expensive to cache, apply "cache: false"
|
|
@@ -6783,21 +6801,26 @@ class DlcApi {
|
|
|
6783
6801
|
constructor(conf, namespace) {
|
|
6784
6802
|
this.conf = conf;
|
|
6785
6803
|
this.namespace = namespace;
|
|
6786
|
-
|
|
6787
|
-
|
|
6788
|
-
|
|
6789
|
-
|
|
6790
|
-
|
|
6791
|
-
|
|
6792
|
-
|
|
6793
|
-
|
|
6794
|
-
|
|
6795
|
-
|
|
6796
|
-
|
|
6797
|
-
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6804
|
+
/**
|
|
6805
|
+
* GET [/buildinfo/public/namespaces/{namespace}/dlcs/latest/byGameAppId/{appId}](api)
|
|
6806
|
+
*
|
|
6807
|
+
* Retrieve the list of DLC available on specific game. Use game's appId to query.
|
|
6808
|
+
*
|
|
6809
|
+
* _Returns_: list of DLC
|
|
6810
|
+
*/
|
|
6811
|
+
this.getLatestDLCByGameAppId = (appId) => {
|
|
6812
|
+
return this.newInstance().fetchNsDlcsLatestByGameAppIdByAppid(appId);
|
|
6813
|
+
};
|
|
6814
|
+
/**
|
|
6815
|
+
* GET [/buildinfo/public/namespaces/{namespace}/apps/latest/byDLCAppId/{dlcAppId}](api)
|
|
6816
|
+
*
|
|
6817
|
+
* Retrieve the list of DLC available on specific game. Use DLC's appId to query.
|
|
6818
|
+
*
|
|
6819
|
+
* _Returns_: appId of game and list of its builds by platformId
|
|
6820
|
+
*/
|
|
6821
|
+
this.getBaseGamesByDlcAppId = (dlcAppId) => {
|
|
6822
|
+
return this.newInstance().fetchNsAppsLatestByDlcAppIdByDlcappid(dlcAppId);
|
|
6823
|
+
};
|
|
6801
6824
|
}
|
|
6802
6825
|
newInstance() {
|
|
6803
6826
|
// this is be expensive to cache, apply "cache: false"
|
|
@@ -7164,66 +7187,76 @@ class DownloaderApi {
|
|
|
7164
7187
|
constructor(conf, namespace) {
|
|
7165
7188
|
this.conf = conf;
|
|
7166
7189
|
this.namespace = namespace;
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
|
|
7180
|
-
|
|
7181
|
-
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
|
|
7203
|
-
|
|
7204
|
-
|
|
7190
|
+
/**
|
|
7191
|
+
* GET [/buildinfo/public/namespaces/{namespace}/availablebuilds/{appId}](api)
|
|
7192
|
+
*
|
|
7193
|
+
* This API is used to get simple build manifest that contains list of current build in various platform.
|
|
7194
|
+
*
|
|
7195
|
+
* - _Required permission_: login user
|
|
7196
|
+
* - _Returns_: build manifest
|
|
7197
|
+
*/
|
|
7198
|
+
this.getAvailableBuilds = (appId) => {
|
|
7199
|
+
return this.newInstance().fetchNsAvailablebuildsByAppid(appId);
|
|
7200
|
+
};
|
|
7201
|
+
/**
|
|
7202
|
+
* GET [/buildinfo/public/namespaces/{namespace}/v2/updategame/{appId}/{platformId}](api)
|
|
7203
|
+
*
|
|
7204
|
+
* This API is used to get build manifest of release version of the application.
|
|
7205
|
+
*
|
|
7206
|
+
* - _Required permission_: login user
|
|
7207
|
+
* - _Returns_: build manifest
|
|
7208
|
+
*/
|
|
7209
|
+
this.getBuildManifest = (appId, platformId) => {
|
|
7210
|
+
const axios = Network.create({ ...this.conf, timeout: 1800000 });
|
|
7211
|
+
return new Downloader$(axios, this.namespace, false).fetchNsV2UpdategameByAppidByPlatformid(appId, platformId);
|
|
7212
|
+
};
|
|
7213
|
+
/**
|
|
7214
|
+
* GET [/buildinfo/public/namespaces/{namespace}/diff/cache/source/{sourceBuildId}/dest/{destinationBuildId}](api)
|
|
7215
|
+
*
|
|
7216
|
+
* This API is used to retrieve detailed diff cache.
|
|
7217
|
+
* The response will contains list of diff cache files along with its download url.
|
|
7218
|
+
*
|
|
7219
|
+
* - _Required permission_: login user
|
|
7220
|
+
*/
|
|
7221
|
+
this.getDiffCache = (sourceBuildId, destinationBuildId) => {
|
|
7222
|
+
return new Caching$(Network.create(this.conf), this.namespace, false).fetchNsDiffCacheSourceBySourcebuildidDestByDestinationbuildid(sourceBuildId, destinationBuildId);
|
|
7223
|
+
};
|
|
7224
|
+
/**
|
|
7225
|
+
* Check which platform is available for the user to download the game
|
|
7226
|
+
*
|
|
7227
|
+
* @internal
|
|
7228
|
+
*/
|
|
7229
|
+
this.getMatchPlatform = ({ buildsAvailability, userPlatform }) => {
|
|
7230
|
+
const availablePlatformID = new Set();
|
|
7231
|
+
for (const buildAvailability of buildsAvailability) {
|
|
7232
|
+
if (buildAvailability.platformId) {
|
|
7233
|
+
availablePlatformID.add(buildAvailability.platformId);
|
|
7234
|
+
}
|
|
7205
7235
|
}
|
|
7206
|
-
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
|
|
7211
|
-
|
|
7236
|
+
const currentMatchPlatform = this.getCurrentPlatform(userPlatform);
|
|
7237
|
+
if (currentMatchPlatform) {
|
|
7238
|
+
for (const key in currentMatchPlatform.targetPlatform) {
|
|
7239
|
+
if (availablePlatformID.has(currentMatchPlatform.targetPlatform[key])) {
|
|
7240
|
+
return currentMatchPlatform.targetPlatform[key];
|
|
7241
|
+
}
|
|
7212
7242
|
}
|
|
7213
7243
|
}
|
|
7214
|
-
|
|
7215
|
-
|
|
7244
|
+
return null;
|
|
7245
|
+
};
|
|
7246
|
+
/**
|
|
7247
|
+
* @internal
|
|
7248
|
+
*/
|
|
7249
|
+
this.getCurrentPlatform = (userPlatform) => {
|
|
7250
|
+
const devicePlatform = userPlatform.platform;
|
|
7251
|
+
const deviceArch = userPlatform.arch;
|
|
7252
|
+
const currentPlatform = AvailablePlatform.find((platform) => platform.platform === devicePlatform && platform.arch.includes(deviceArch));
|
|
7253
|
+
return currentPlatform;
|
|
7254
|
+
};
|
|
7216
7255
|
}
|
|
7217
7256
|
newInstance() {
|
|
7218
7257
|
// this is be expensive to cache, apply "cache: false"
|
|
7219
7258
|
return new Downloader$(Network.create(this.conf), this.namespace, false);
|
|
7220
7259
|
}
|
|
7221
|
-
getCurrentPlatform(userPlatform) {
|
|
7222
|
-
const devicePlatform = userPlatform.platform;
|
|
7223
|
-
const deviceArch = userPlatform.arch;
|
|
7224
|
-
const currentPlatform = AvailablePlatform.find((platform) => platform.platform === devicePlatform && platform.arch.includes(deviceArch));
|
|
7225
|
-
return currentPlatform;
|
|
7226
|
-
}
|
|
7227
7260
|
}
|
|
7228
7261
|
|
|
7229
7262
|
/*
|
|
@@ -7327,6 +7360,8 @@ class EventApi {
|
|
|
7327
7360
|
this.namespace = namespace;
|
|
7328
7361
|
this.cache = cache;
|
|
7329
7362
|
/**
|
|
7363
|
+
* GET [/event/v2/public/namespaces/{namespace}/users/{userId}/edithistory](api)
|
|
7364
|
+
*
|
|
7330
7365
|
* Available Type:
|
|
7331
7366
|
* - email
|
|
7332
7367
|
* - password
|
|
@@ -7335,7 +7370,7 @@ class EventApi {
|
|
|
7335
7370
|
* - country
|
|
7336
7371
|
* - language
|
|
7337
7372
|
*
|
|
7338
|
-
*
|
|
7373
|
+
* _Requires a valid user access token_
|
|
7339
7374
|
*/
|
|
7340
7375
|
this.getAccountHistoryByUserId = ({ userId, queryParams }) => {
|
|
7341
7376
|
return this.newInstance().fetchEventV2NsUsersByUseridEdithistory(userId, queryParams);
|
|
@@ -7429,27 +7464,36 @@ class DataDeletionApi {
|
|
|
7429
7464
|
this.conf = conf;
|
|
7430
7465
|
this.namespace = namespace;
|
|
7431
7466
|
this.cache = cache;
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
|
|
7435
|
-
|
|
7436
|
-
|
|
7437
|
-
|
|
7438
|
-
|
|
7439
|
-
|
|
7440
|
-
|
|
7441
|
-
|
|
7442
|
-
|
|
7443
|
-
|
|
7444
|
-
|
|
7445
|
-
|
|
7446
|
-
|
|
7447
|
-
|
|
7448
|
-
|
|
7449
|
-
|
|
7450
|
-
|
|
7451
|
-
|
|
7452
|
-
|
|
7467
|
+
/**
|
|
7468
|
+
* GET [/gdpr/public/namespaces/{namespace}/users/{userId}/deletions/status](api)
|
|
7469
|
+
*
|
|
7470
|
+
* Fetch the status to check whether or not a user's account is on a deletion status
|
|
7471
|
+
*
|
|
7472
|
+
* _Requires a valid user access token_
|
|
7473
|
+
*/
|
|
7474
|
+
this.getGdprDeletionStatus = (userId) => {
|
|
7475
|
+
return this.newInstance().fetchGdprNsUsersByUseridDeletionsStatus(userId);
|
|
7476
|
+
};
|
|
7477
|
+
/**
|
|
7478
|
+
* POST [/gdpr/public/namespaces/{namespace}/users/{userId}/deletions](api)
|
|
7479
|
+
*
|
|
7480
|
+
* Request an account's deletion
|
|
7481
|
+
*
|
|
7482
|
+
* _Requires a valid user access token and password_
|
|
7483
|
+
*/
|
|
7484
|
+
this.requestAccountDeletion = ({ userId, data }) => {
|
|
7485
|
+
return this.newInstance().postGdprNsUsersByUseridDeletions(userId, data);
|
|
7486
|
+
};
|
|
7487
|
+
/**
|
|
7488
|
+
* DELETE [/gdpr/public/namespaces/{namespace}/users/{userId}/deletions](api)
|
|
7489
|
+
*
|
|
7490
|
+
* Cancel a deletion request
|
|
7491
|
+
*
|
|
7492
|
+
* _Requires a valid user access token_
|
|
7493
|
+
*/
|
|
7494
|
+
this.cancelAccountDeletion = (userId) => {
|
|
7495
|
+
return this.newInstance().deleteGdprNsUsersByUseridDeletions(userId);
|
|
7496
|
+
};
|
|
7453
7497
|
}
|
|
7454
7498
|
newInstance() {
|
|
7455
7499
|
return new DataDeletion$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -7570,34 +7614,46 @@ class DataRetrievalApi {
|
|
|
7570
7614
|
this.conf = conf;
|
|
7571
7615
|
this.namespace = namespace;
|
|
7572
7616
|
this.cache = cache;
|
|
7573
|
-
|
|
7574
|
-
|
|
7575
|
-
|
|
7576
|
-
|
|
7577
|
-
|
|
7578
|
-
|
|
7579
|
-
|
|
7580
|
-
|
|
7581
|
-
|
|
7582
|
-
|
|
7583
|
-
|
|
7584
|
-
|
|
7585
|
-
|
|
7586
|
-
|
|
7587
|
-
|
|
7588
|
-
|
|
7589
|
-
|
|
7590
|
-
|
|
7591
|
-
|
|
7592
|
-
|
|
7593
|
-
|
|
7594
|
-
|
|
7595
|
-
|
|
7596
|
-
|
|
7597
|
-
|
|
7598
|
-
|
|
7599
|
-
|
|
7600
|
-
|
|
7617
|
+
/**
|
|
7618
|
+
* GET [/gdpr/public/namespaces/{namespace}/users/{userId}/requests](api)
|
|
7619
|
+
*
|
|
7620
|
+
* Fetch personal data request list
|
|
7621
|
+
*
|
|
7622
|
+
* _Requires a valid user access token_
|
|
7623
|
+
*/
|
|
7624
|
+
this.getGdprDataRequestList = ({ userId, queryParams }) => {
|
|
7625
|
+
return this.newInstance().fetchGdprNsUsersByUseridRequests(userId, queryParams);
|
|
7626
|
+
};
|
|
7627
|
+
/**
|
|
7628
|
+
* POST [/gdpr/public/namespaces/{namespace}/users/{userId}/requests](api)
|
|
7629
|
+
*
|
|
7630
|
+
* Create a request for personal data download
|
|
7631
|
+
*
|
|
7632
|
+
* _Requires a valid user access token_
|
|
7633
|
+
*/
|
|
7634
|
+
this.requestGdprData = ({ userId, data }) => {
|
|
7635
|
+
return this.newInstance().postGdprNsUsersByUseridRequests(userId, data);
|
|
7636
|
+
};
|
|
7637
|
+
/**
|
|
7638
|
+
* DELETE [/gdpr/public/namespaces/{namespace}/users/{userId}/requests/{requestDate}](api)
|
|
7639
|
+
*
|
|
7640
|
+
* Cancel the request for personal data download
|
|
7641
|
+
*
|
|
7642
|
+
* _Requires a valid user access token_
|
|
7643
|
+
*/
|
|
7644
|
+
this.cancelGdprDataRequest = ({ userId, requestDate }) => {
|
|
7645
|
+
return this.newInstance().deleteGdprNsUsersByUseridRequestsByRequestdate(userId, requestDate);
|
|
7646
|
+
};
|
|
7647
|
+
/**
|
|
7648
|
+
* POST [/gdpr/public/namespaces/{namespace}/users/{userId}/requests/{requestDate}/generate](api)
|
|
7649
|
+
*
|
|
7650
|
+
* Create a download URL for personal data request
|
|
7651
|
+
*
|
|
7652
|
+
* _Requires a valid user access token_
|
|
7653
|
+
*/
|
|
7654
|
+
this.requestGdprDataDownloadUrl = ({ userId, requestDate, data }) => {
|
|
7655
|
+
return this.newInstance().postGdprNsUsersByUseridRequestsByRequestdateGenerate(userId, requestDate, data);
|
|
7656
|
+
};
|
|
7601
7657
|
}
|
|
7602
7658
|
newInstance() {
|
|
7603
7659
|
return new DataRetrieval$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -7690,10 +7746,11 @@ class InputValidationsApi {
|
|
|
7690
7746
|
this.namespace = namespace;
|
|
7691
7747
|
this.cache = cache;
|
|
7692
7748
|
/**
|
|
7749
|
+
* GET [/iam/v3/public/inputValidations](api)
|
|
7750
|
+
*
|
|
7693
7751
|
* No role required
|
|
7694
7752
|
* This method is to get list of input validation configuration.
|
|
7695
7753
|
* `regex` parameter will be returned if `isCustomRegex` is true. Otherwise, it will be empty.
|
|
7696
|
-
*
|
|
7697
7754
|
*/
|
|
7698
7755
|
this.getValidations = (languageCode, defaultOnEmpty) => {
|
|
7699
7756
|
const queryParams = { languageCode, defaultOnEmpty };
|
|
@@ -8373,28 +8430,12 @@ class DesktopChecker {
|
|
|
8373
8430
|
}
|
|
8374
8431
|
DesktopChecker.desktopApp = DesktopChecker.isElectron();
|
|
8375
8432
|
|
|
8376
|
-
/*
|
|
8377
|
-
* Copyright (c) 2022 AccelByte Inc. All Rights Reserved
|
|
8378
|
-
* This is licensed software from AccelByte Inc, for limitations
|
|
8379
|
-
* and restrictions contact your company contract manager.
|
|
8380
|
-
*/
|
|
8381
|
-
class BrowserHelper {
|
|
8382
|
-
}
|
|
8383
|
-
BrowserHelper.isOnBrowser = () => {
|
|
8384
|
-
return typeof window !== 'undefined' && window.document;
|
|
8385
|
-
};
|
|
8386
|
-
|
|
8387
|
-
/*
|
|
8388
|
-
* Copyright (c) 2022 AccelByte Inc. All Rights Reserved
|
|
8389
|
-
* This is licensed software from AccelByte Inc, for limitations
|
|
8390
|
-
* and restrictions contact your company contract manager.
|
|
8391
|
-
*/
|
|
8392
8433
|
class RefreshSession {
|
|
8393
8434
|
}
|
|
8394
8435
|
// --
|
|
8395
8436
|
RefreshSession.KEY = 'RefreshSession.lock';
|
|
8396
8437
|
RefreshSession.isLocked = () => {
|
|
8397
|
-
if (!
|
|
8438
|
+
if (!UrlHelper.isOnBrowser())
|
|
8398
8439
|
return false;
|
|
8399
8440
|
const lockStatus = localStorage.getItem(RefreshSession.KEY);
|
|
8400
8441
|
if (!lockStatus) {
|
|
@@ -8407,12 +8448,12 @@ RefreshSession.isLocked = () => {
|
|
|
8407
8448
|
return lockExpiry > new Date().getTime();
|
|
8408
8449
|
};
|
|
8409
8450
|
RefreshSession.lock = (expiry) => {
|
|
8410
|
-
if (!
|
|
8451
|
+
if (!UrlHelper.isOnBrowser())
|
|
8411
8452
|
return;
|
|
8412
8453
|
localStorage.setItem(RefreshSession.KEY, `${new Date().getTime() + expiry}`);
|
|
8413
8454
|
};
|
|
8414
8455
|
RefreshSession.unlock = () => {
|
|
8415
|
-
if (!
|
|
8456
|
+
if (!UrlHelper.isOnBrowser())
|
|
8416
8457
|
return;
|
|
8417
8458
|
localStorage.removeItem(RefreshSession.KEY);
|
|
8418
8459
|
};
|
|
@@ -15326,12 +15367,12 @@ CodeChallenge.load = () => {
|
|
|
15326
15367
|
return parseStoredState(localStorage.getItem('pp:pkce:cd') || '');
|
|
15327
15368
|
};
|
|
15328
15369
|
CodeChallenge.save = (codeVerifier) => {
|
|
15329
|
-
if (
|
|
15370
|
+
if (UrlHelper.isOnBrowser()) {
|
|
15330
15371
|
localStorage.setItem('pp:pkce:cd', stringifyStoredState(codeVerifier));
|
|
15331
15372
|
}
|
|
15332
15373
|
};
|
|
15333
15374
|
CodeChallenge.clear = () => {
|
|
15334
|
-
if (
|
|
15375
|
+
if (UrlHelper.isOnBrowser()) {
|
|
15335
15376
|
localStorage.removeItem('pp:pkce:cd');
|
|
15336
15377
|
}
|
|
15337
15378
|
};
|
|
@@ -15366,7 +15407,7 @@ const stringifyStoredState = (storedState) => {
|
|
|
15366
15407
|
};
|
|
15367
15408
|
|
|
15368
15409
|
/*
|
|
15369
|
-
* Copyright (c) 2022 AccelByte Inc. All Rights Reserved
|
|
15410
|
+
* Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
|
|
15370
15411
|
* This is licensed software from AccelByte Inc, for limitations
|
|
15371
15412
|
* and restrictions contact your company contract manager.
|
|
15372
15413
|
*/
|
|
@@ -15401,6 +15442,9 @@ class UrlHelper {
|
|
|
15401
15442
|
return new URL(pathname, origin).toString();
|
|
15402
15443
|
}
|
|
15403
15444
|
}
|
|
15445
|
+
UrlHelper.isOnBrowser = () => {
|
|
15446
|
+
return typeof window !== 'undefined' && window.document;
|
|
15447
|
+
};
|
|
15404
15448
|
UrlHelper.isCompleteURLString = (urlString) => {
|
|
15405
15449
|
try {
|
|
15406
15450
|
const url = new URL(urlString);
|
|
@@ -16678,6 +16722,8 @@ class UserAuthorizationApi {
|
|
|
16678
16722
|
this.cache = cache;
|
|
16679
16723
|
this.options = options;
|
|
16680
16724
|
/**
|
|
16725
|
+
* POST: [/iam/v3/oauth/token](api)
|
|
16726
|
+
*
|
|
16681
16727
|
* This method supports grant type:
|
|
16682
16728
|
* - Grant Type == `authorization_code`:
|
|
16683
16729
|
* It generates the user token by given the authorization
|
|
@@ -16784,24 +16830,58 @@ class UserAuthorizationApi {
|
|
|
16784
16830
|
CodeChallenge.clear();
|
|
16785
16831
|
return { ...result, mfaData };
|
|
16786
16832
|
};
|
|
16833
|
+
/**
|
|
16834
|
+
* @internal
|
|
16835
|
+
*/
|
|
16787
16836
|
this.getMfaDataFromError = (errorResponse) => {
|
|
16788
16837
|
const doesMFADataExist = Validate.safeParse(errorResponse.data, MFADataResponse);
|
|
16789
16838
|
if (!doesMFADataExist)
|
|
16790
16839
|
return;
|
|
16791
16840
|
const { mfa_token: mfaToken, factors, default_factor: defaultFactor, email } = errorResponse.data;
|
|
16792
16841
|
const result = { mfaToken, factors, defaultFactor, email };
|
|
16793
|
-
if (
|
|
16842
|
+
if (UrlHelper.isOnBrowser()) {
|
|
16794
16843
|
localStorage.setItem(MFA_DATA_STORAGE_KEY, JSON.stringify(result));
|
|
16795
16844
|
}
|
|
16796
16845
|
return result;
|
|
16797
16846
|
};
|
|
16847
|
+
/**
|
|
16848
|
+
* @internal
|
|
16849
|
+
*/
|
|
16798
16850
|
this.getMfaDataFromStorage = () => {
|
|
16799
|
-
const storedMFAData =
|
|
16851
|
+
const storedMFAData = UrlHelper.isOnBrowser() && localStorage.getItem(MFA_DATA_STORAGE_KEY);
|
|
16800
16852
|
return storedMFAData ? JSON.parse(storedMFAData) : null;
|
|
16801
16853
|
};
|
|
16854
|
+
/**
|
|
16855
|
+
* @internal
|
|
16856
|
+
*/
|
|
16802
16857
|
this.removeMfaDataFromStorage = () => {
|
|
16803
16858
|
localStorage.removeItem(MFA_DATA_STORAGE_KEY);
|
|
16804
16859
|
};
|
|
16860
|
+
/**
|
|
16861
|
+
* @internal
|
|
16862
|
+
*/
|
|
16863
|
+
this.matchReceivedState = (maybeSentState) => {
|
|
16864
|
+
const sentStateResult = CodeChallenge.parseSentState(maybeSentState);
|
|
16865
|
+
if (sentStateResult.error)
|
|
16866
|
+
return { error: sentStateResult.error, result: null };
|
|
16867
|
+
const storedStateResult = CodeChallenge.load();
|
|
16868
|
+
if (storedStateResult.error)
|
|
16869
|
+
return { error: storedStateResult.error, result: null };
|
|
16870
|
+
const sentState = sentStateResult.sentState;
|
|
16871
|
+
const storedState = storedStateResult.storedState;
|
|
16872
|
+
if (sentState.csrf !== storedState.csrf)
|
|
16873
|
+
return { error: null, result: null };
|
|
16874
|
+
return {
|
|
16875
|
+
error: null,
|
|
16876
|
+
result: {
|
|
16877
|
+
payload: sentState.payload,
|
|
16878
|
+
codeVerifier: storedState.codeVerifier
|
|
16879
|
+
}
|
|
16880
|
+
};
|
|
16881
|
+
};
|
|
16882
|
+
/**
|
|
16883
|
+
* @internal
|
|
16884
|
+
*/
|
|
16805
16885
|
this.deduceLoginError = (error) => {
|
|
16806
16886
|
switch (error) {
|
|
16807
16887
|
case LoginErrorParam.Enum.login_session_expired:
|
|
@@ -16843,6 +16923,11 @@ class UserAuthorizationApi {
|
|
|
16843
16923
|
returnPath
|
|
16844
16924
|
};
|
|
16845
16925
|
};
|
|
16926
|
+
/**
|
|
16927
|
+
* GET [/iam/v3/oauth/authorize](api)
|
|
16928
|
+
*
|
|
16929
|
+
* Creates a URL to be used for Login, Register, Link to existing account or Twitch Link
|
|
16930
|
+
*/
|
|
16846
16931
|
this.createLoginURL = (returnPath, targetAuthPage, oneTimeLinkCode) => {
|
|
16847
16932
|
const { verifier, challenge } = CodeChallenge.generateChallenge();
|
|
16848
16933
|
const csrf = CodeChallenge.generateCsrf();
|
|
@@ -16866,6 +16951,11 @@ class UserAuthorizationApi {
|
|
|
16866
16951
|
const url = new URL(UrlHelper.combineURLPaths(this.options.baseURL, `${AUTHORIZE_URL}?${searchParams.toString()}`));
|
|
16867
16952
|
return url.toString();
|
|
16868
16953
|
};
|
|
16954
|
+
/**
|
|
16955
|
+
* GET [/iam/v3/oauth/authorize](api)
|
|
16956
|
+
*
|
|
16957
|
+
* Creates a URL to be used for password recovery
|
|
16958
|
+
*/
|
|
16869
16959
|
this.createForgotPasswordURL = () => {
|
|
16870
16960
|
const { verifier, challenge } = CodeChallenge.generateChallenge();
|
|
16871
16961
|
const csrf = CodeChallenge.generateCsrf();
|
|
@@ -16884,9 +16974,15 @@ class UserAuthorizationApi {
|
|
|
16884
16974
|
const url = new URL(UrlHelper.combineURLPaths(this.options.baseURL, `${AUTHORIZE_URL}?${searchParams.toString()}`));
|
|
16885
16975
|
return url.toString();
|
|
16886
16976
|
};
|
|
16977
|
+
/**
|
|
16978
|
+
* @internal
|
|
16979
|
+
*/
|
|
16887
16980
|
this.getCodeChallenge = () => {
|
|
16888
16981
|
return CodeChallenge.generateChallenge();
|
|
16889
16982
|
};
|
|
16983
|
+
/**
|
|
16984
|
+
* @internal
|
|
16985
|
+
*/
|
|
16890
16986
|
this.refreshToken = () => {
|
|
16891
16987
|
const { clientId, refreshToken } = this.options;
|
|
16892
16988
|
if (DesktopChecker.isDesktopApp()) {
|
|
@@ -16894,6 +16990,9 @@ class UserAuthorizationApi {
|
|
|
16894
16990
|
}
|
|
16895
16991
|
return refreshWithLock({ axiosConfig: this.conf, clientId });
|
|
16896
16992
|
};
|
|
16993
|
+
/**
|
|
16994
|
+
* @internal
|
|
16995
|
+
*/
|
|
16897
16996
|
this.getSearchParams = (sentState, challenge) => {
|
|
16898
16997
|
const searchParams = new URLSearchParams();
|
|
16899
16998
|
searchParams.append('response_type', 'code');
|
|
@@ -16905,25 +17004,6 @@ class UserAuthorizationApi {
|
|
|
16905
17004
|
return searchParams;
|
|
16906
17005
|
};
|
|
16907
17006
|
}
|
|
16908
|
-
matchReceivedState(maybeSentState) {
|
|
16909
|
-
const sentStateResult = CodeChallenge.parseSentState(maybeSentState);
|
|
16910
|
-
if (sentStateResult.error)
|
|
16911
|
-
return { error: sentStateResult.error, result: null };
|
|
16912
|
-
const storedStateResult = CodeChallenge.load();
|
|
16913
|
-
if (storedStateResult.error)
|
|
16914
|
-
return { error: storedStateResult.error, result: null };
|
|
16915
|
-
const sentState = sentStateResult.sentState;
|
|
16916
|
-
const storedState = storedStateResult.storedState;
|
|
16917
|
-
if (sentState.csrf !== storedState.csrf)
|
|
16918
|
-
return { error: null, result: null };
|
|
16919
|
-
return {
|
|
16920
|
-
error: null,
|
|
16921
|
-
result: {
|
|
16922
|
-
payload: sentState.payload,
|
|
16923
|
-
codeVerifier: storedState.codeVerifier
|
|
16924
|
-
}
|
|
16925
|
-
};
|
|
16926
|
-
}
|
|
16927
17007
|
}
|
|
16928
17008
|
function isAxiosError(error) {
|
|
16929
17009
|
return !!error && !!error.config;
|
|
@@ -17332,6 +17412,14 @@ class OAuthApi {
|
|
|
17332
17412
|
this.cache = cache;
|
|
17333
17413
|
this.options = options;
|
|
17334
17414
|
/**
|
|
17415
|
+
* @internal
|
|
17416
|
+
*/
|
|
17417
|
+
this.newOAuth20Extension = () => {
|
|
17418
|
+
return new OAuth20Extension$(Network.create(this.conf), this.namespace, this.cache);
|
|
17419
|
+
};
|
|
17420
|
+
/**
|
|
17421
|
+
* POST [/iam/v3/logout](api)
|
|
17422
|
+
*
|
|
17335
17423
|
* This method is used to remove __access_token__, __refresh_token__ from cookie and revoke token from usage.
|
|
17336
17424
|
* Supported methods:
|
|
17337
17425
|
* - VerifyToken to verify token from header
|
|
@@ -17347,6 +17435,8 @@ class OAuthApi {
|
|
|
17347
17435
|
return new OAuth20Extension$(axios, this.namespace, this.cache).postIamV3Logout();
|
|
17348
17436
|
};
|
|
17349
17437
|
/**
|
|
17438
|
+
* POST [/iam/v3/oauth/revoke](api)
|
|
17439
|
+
*
|
|
17350
17440
|
* This method revokes a token.
|
|
17351
17441
|
* This method requires authorized requests header with Basic Authentication from client that establish the token.action code: 10706
|
|
17352
17442
|
*/
|
|
@@ -17362,6 +17452,8 @@ class OAuthApi {
|
|
|
17362
17452
|
return new OAuth20$(axios, this.namespace, this.cache).postIamV3OauthRevoke({ token });
|
|
17363
17453
|
};
|
|
17364
17454
|
/**
|
|
17455
|
+
* POST [/iam/v3/oauth/mfa/verify](api)
|
|
17456
|
+
*
|
|
17365
17457
|
* Verify 2FA code
|
|
17366
17458
|
* This method is used for verifying 2FA code.
|
|
17367
17459
|
* ##2FA remember device
|
|
@@ -17377,6 +17469,9 @@ class OAuthApi {
|
|
|
17377
17469
|
localStorage.removeItem(MFA_DATA_STORAGE_KEY);
|
|
17378
17470
|
return result.response;
|
|
17379
17471
|
};
|
|
17472
|
+
/**
|
|
17473
|
+
* POST [/iam/v3/oauth/mfa/code](api)
|
|
17474
|
+
*/
|
|
17380
17475
|
this.request2FAEmailCode = async ({ mfaToken = null, factor }) => {
|
|
17381
17476
|
const result = await this.newInstance().postIamV3OauthMfaCode({ mfaToken, clientId: this.options.clientId, factor });
|
|
17382
17477
|
if (result.error)
|
|
@@ -17384,12 +17479,16 @@ class OAuthApi {
|
|
|
17384
17479
|
return result.response;
|
|
17385
17480
|
};
|
|
17386
17481
|
/**
|
|
17482
|
+
* GET [/iam/v3/location/country](api)
|
|
17483
|
+
*
|
|
17387
17484
|
* This method get country location based on the request.
|
|
17388
17485
|
*/
|
|
17389
17486
|
this.getCurrentLocationCountry = () => {
|
|
17390
17487
|
return this.newOAuth20Extension().fetchIamV3LocationCountry();
|
|
17391
17488
|
};
|
|
17392
17489
|
/**
|
|
17490
|
+
* GET [/iam/v3/oauth/namespaces/{namespace}/users/{userId}/platforms/{platformId}/platformToken](api)
|
|
17491
|
+
*
|
|
17393
17492
|
* Retrieve User Third Party Platform Token
|
|
17394
17493
|
*
|
|
17395
17494
|
* This method used for retrieving third party platform token for user that login using third party,
|
|
@@ -17409,6 +17508,8 @@ class OAuthApi {
|
|
|
17409
17508
|
return this.newInstance().fetchV3OauthUsersByUseridPlatformsByPlatformidPlatformToken(userId, platformId);
|
|
17410
17509
|
};
|
|
17411
17510
|
/**
|
|
17511
|
+
* POST [/iam/v3/authenticateWithLink](api)
|
|
17512
|
+
*
|
|
17412
17513
|
* This method is being used to authenticate a user account and perform platform link.
|
|
17413
17514
|
* It validates user's email / username and password.
|
|
17414
17515
|
* If user already enable 2FA, then invoke _/mfa/verify_ using __mfa_token__ from this method response.
|
|
@@ -17423,31 +17524,27 @@ class OAuthApi {
|
|
|
17423
17524
|
this.authenticateWithLink = (data) => {
|
|
17424
17525
|
return this.newOAuth20Extension().postIamV3AuthenticateWithLink(data);
|
|
17425
17526
|
};
|
|
17426
|
-
|
|
17427
|
-
|
|
17428
|
-
|
|
17429
|
-
|
|
17430
|
-
|
|
17431
|
-
|
|
17432
|
-
|
|
17433
|
-
|
|
17434
|
-
|
|
17435
|
-
|
|
17436
|
-
|
|
17437
|
-
|
|
17438
|
-
|
|
17439
|
-
|
|
17440
|
-
|
|
17441
|
-
|
|
17442
|
-
|
|
17443
|
-
|
|
17444
|
-
|
|
17445
|
-
|
|
17446
|
-
|
|
17447
|
-
*
|
|
17448
|
-
*/
|
|
17449
|
-
exchangeTokenByOneTimeLinkCode(data) {
|
|
17450
|
-
return this.newOAuth20Extension().postIamV3LinkTokenExchange(data);
|
|
17527
|
+
/**
|
|
17528
|
+
* POST [/iam/v3/link/code/validate](api)
|
|
17529
|
+
*
|
|
17530
|
+
* This method is being used to validate one time link code.
|
|
17531
|
+
* It require a valid user token.
|
|
17532
|
+
* Should specify the target platform id and current user should already linked to this platform.
|
|
17533
|
+
* Current user should be a headless account.
|
|
17534
|
+
*/
|
|
17535
|
+
this.validateOneTimeLinkCode = (data) => {
|
|
17536
|
+
return this.newOAuth20Extension().postIamV3LinkCodeValidate(data);
|
|
17537
|
+
};
|
|
17538
|
+
/**
|
|
17539
|
+
* POST [/iam/v3/link/token/exchange](api)
|
|
17540
|
+
*
|
|
17541
|
+
* This method is being used to generate user's token by one time link code.
|
|
17542
|
+
* It require publisher ClientID
|
|
17543
|
+
* It required a code which can be generated from __/iam/v3/link/code/request__.
|
|
17544
|
+
*/
|
|
17545
|
+
this.exchangeTokenByOneTimeLinkCode = (data) => {
|
|
17546
|
+
return this.newOAuth20Extension().postIamV3LinkTokenExchange(data);
|
|
17547
|
+
};
|
|
17451
17548
|
}
|
|
17452
17549
|
newInstance() {
|
|
17453
17550
|
return new OAuth20$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -17526,6 +17623,8 @@ class ThirdPartyCredentialApi {
|
|
|
17526
17623
|
this.namespace = namespace;
|
|
17527
17624
|
this.cache = cache;
|
|
17528
17625
|
/**
|
|
17626
|
+
* GET [/iam/v3/public/namespaces/{namespace}/platforms/clients/active](api)
|
|
17627
|
+
*
|
|
17529
17628
|
* This is the Public API to Get All Active 3rd Platform Credential.
|
|
17530
17629
|
*/
|
|
17531
17630
|
this.getThirdPartyPlatformInfo = () => {
|
|
@@ -18027,85 +18126,112 @@ class TwoFA {
|
|
|
18027
18126
|
this.namespace = namespace;
|
|
18028
18127
|
this.cache = cache;
|
|
18029
18128
|
/**
|
|
18129
|
+
* GET [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode](api)
|
|
18130
|
+
*
|
|
18030
18131
|
* This method is used to get 8-digits backup codes.
|
|
18031
18132
|
* Each code is a one-time code and will be deleted once used.
|
|
18032
|
-
* This method Requires valid user access token
|
|
18033
18133
|
*
|
|
18134
|
+
* _Requires a valid user access token_
|
|
18034
18135
|
*/
|
|
18035
18136
|
this.getBackupCode = () => {
|
|
18036
18137
|
return this.newInstance().fetchV4NsUsersMeMfaBackupCode();
|
|
18037
18138
|
};
|
|
18038
18139
|
/**
|
|
18140
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode/enable](api)
|
|
18141
|
+
*
|
|
18039
18142
|
* This method is used to enable 2FA backup codes.
|
|
18040
|
-
* This method Requires valid user access token
|
|
18041
18143
|
*
|
|
18144
|
+
* _Requires a valid user access token_
|
|
18042
18145
|
*/
|
|
18043
18146
|
this.enable2FABackupCodes = () => {
|
|
18044
18147
|
return this.newInstance().postV4NsUsersMeMfaBackupCodeEnable();
|
|
18045
18148
|
};
|
|
18046
18149
|
/**
|
|
18150
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode](api)
|
|
18151
|
+
*
|
|
18047
18152
|
* This method is used to enable 2FA backup codes.
|
|
18048
|
-
* This method Requires valid user access token
|
|
18049
18153
|
*
|
|
18154
|
+
* _Requires a valid user access token_
|
|
18050
18155
|
*/
|
|
18051
18156
|
this.generateBackupCodes = () => {
|
|
18052
18157
|
return this.newInstance().postV4NsUsersMeMfaBackupCode();
|
|
18053
18158
|
};
|
|
18054
18159
|
/**
|
|
18160
|
+
* DELETE [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode/disable](api)
|
|
18161
|
+
*
|
|
18055
18162
|
* This method is used to enable 2FA backup codes.
|
|
18056
|
-
* This method Requires valid user access token
|
|
18057
18163
|
*
|
|
18164
|
+
* _Requires a valid user access token_
|
|
18058
18165
|
*/
|
|
18059
18166
|
this.disableBackupCodes = () => {
|
|
18060
18167
|
return this.newInstance().deleteV4NsUsersMeMfaBackupCodeDisable();
|
|
18061
18168
|
};
|
|
18062
18169
|
/**
|
|
18170
|
+
* DELETE [/iam/v4/public/namespaces/{namespace}/users/me/mfa/authenticator/disable](api)
|
|
18171
|
+
* }
|
|
18063
18172
|
* This method is used to disable 2FA authenticator.
|
|
18064
|
-
* This method Requires valid user access token
|
|
18065
18173
|
*
|
|
18174
|
+
* _Requires a valid user access token_
|
|
18066
18175
|
*/
|
|
18067
18176
|
this.disableAuthenticator = () => {
|
|
18068
18177
|
return this.newInstance().deleteV4NsUsersMeMfaAuthenticatorDisable();
|
|
18069
18178
|
};
|
|
18070
18179
|
/**
|
|
18180
|
+
* GET [/iam/v4/public/namespaces/{namespace}/users/me/mfa/factor](api)
|
|
18181
|
+
*
|
|
18071
18182
|
* This method is used to get user enabled factors.
|
|
18072
|
-
* This method Requires valid user access token
|
|
18073
18183
|
*
|
|
18184
|
+
* _Requires a valid user access token_
|
|
18074
18185
|
*/
|
|
18075
18186
|
this.getEnabledMethods = () => {
|
|
18076
18187
|
return this.newInstance().fetchV4NsUsersMeMfaFactor();
|
|
18077
18188
|
};
|
|
18078
18189
|
/**
|
|
18190
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/factor](api)
|
|
18191
|
+
*
|
|
18079
18192
|
* This method is used to make 2FA factor default.
|
|
18080
|
-
* This method Requires valid user access token
|
|
18081
18193
|
*
|
|
18194
|
+
* _Requires a valid user access token_
|
|
18082
18195
|
*/
|
|
18083
18196
|
this.set2FAAsDefault = (factor) => {
|
|
18084
18197
|
return this.newInstance().postV4NsUsersMeMfaFactor({ factor });
|
|
18085
18198
|
};
|
|
18086
18199
|
/**
|
|
18200
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/authenticator/enable](api)
|
|
18201
|
+
*
|
|
18087
18202
|
* This method is used to enable 2FA authenticator.
|
|
18088
|
-
* This method Requires valid user access token
|
|
18089
18203
|
*
|
|
18204
|
+
* _Requires a valid user access token_
|
|
18090
18205
|
*/
|
|
18091
18206
|
this.enable2FAAuthenticator = (code) => {
|
|
18092
18207
|
return this.newInstance().postV4NsUsersMeMfaAuthenticatorEnable({ code });
|
|
18093
18208
|
};
|
|
18094
18209
|
/**
|
|
18210
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/authenticator/key](api)
|
|
18211
|
+
*
|
|
18095
18212
|
* This method is used to generate a secret key for 3rd-party authenticator app.
|
|
18096
18213
|
* A QR code URI is also returned so that frontend can generate QR code image.
|
|
18097
|
-
* This method Requires valid user access token
|
|
18098
18214
|
*
|
|
18215
|
+
* _Requires a valid user access token_
|
|
18099
18216
|
*/
|
|
18100
18217
|
this.generateSecretKey = () => {
|
|
18101
18218
|
return this.newInstance().postV4NsUsersMeMfaAuthenticatorKey();
|
|
18102
18219
|
};
|
|
18220
|
+
/**
|
|
18221
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/code](api)
|
|
18222
|
+
*/
|
|
18103
18223
|
this.requestEmailCode = () => {
|
|
18104
18224
|
return this.newInstance().postV4NsUsersMeMfaEmailCode();
|
|
18105
18225
|
};
|
|
18226
|
+
/**
|
|
18227
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/enable](api)
|
|
18228
|
+
*/
|
|
18106
18229
|
this.enableEmailMethod = (code) => {
|
|
18107
18230
|
return this.newInstance().postV4NsUsersMeMfaEmailEnable({ code });
|
|
18108
18231
|
};
|
|
18232
|
+
/**
|
|
18233
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/disable](api)
|
|
18234
|
+
*/
|
|
18109
18235
|
this.disableEmailMethod = () => {
|
|
18110
18236
|
return this.newInstance().postV4NsUsersMeMfaEmailDisable();
|
|
18111
18237
|
};
|
|
@@ -19319,30 +19445,40 @@ class UserApi {
|
|
|
19319
19445
|
this.namespace = namespace;
|
|
19320
19446
|
this.cache = cache;
|
|
19321
19447
|
/**
|
|
19322
|
-
*
|
|
19448
|
+
* GET [/iam/v3/public/users/me](api)
|
|
19449
|
+
*
|
|
19450
|
+
* get currently logged-in user
|
|
19323
19451
|
*/
|
|
19324
19452
|
this.getCurrentUser = () => {
|
|
19325
19453
|
return this.newInstance().fetchIamV3PublicUsersMe();
|
|
19326
19454
|
};
|
|
19327
19455
|
/**
|
|
19328
|
-
*
|
|
19456
|
+
* PATCH [/iam/v3/public/namespaces/{namespace}/users/me](api)
|
|
19457
|
+
*
|
|
19458
|
+
* Update current user
|
|
19329
19459
|
*/
|
|
19330
19460
|
this.updateUserMe = (data) => {
|
|
19331
19461
|
return this.newInstance().patchV3NsUsersMe(data);
|
|
19332
19462
|
};
|
|
19333
19463
|
/**
|
|
19464
|
+
* PUT [/iam/v4/public/namespaces/{namespace}/users/me/email](api)
|
|
19465
|
+
*
|
|
19334
19466
|
* update current user's email
|
|
19335
19467
|
*/
|
|
19336
19468
|
this.updateEmailMe = (data) => {
|
|
19337
19469
|
return this.newInstance4().putV4NsUsersMeEmail(data);
|
|
19338
19470
|
};
|
|
19339
19471
|
/**
|
|
19472
|
+
* PUT [/iam/v3/public/namespaces/{namespace}/users/me/password](api)
|
|
19473
|
+
*
|
|
19340
19474
|
* update current user's password
|
|
19341
19475
|
*/
|
|
19342
19476
|
this.updatePasswordMe = (data) => {
|
|
19343
19477
|
return this.newInstance().putV3NsUsersMePassword(data);
|
|
19344
19478
|
};
|
|
19345
19479
|
/**
|
|
19480
|
+
* POST [/iam/v3/public/namespaces/{namespace}/users/me/code/request](api)
|
|
19481
|
+
*
|
|
19346
19482
|
* Required valid user authorization
|
|
19347
19483
|
* The verification code is sent to email address
|
|
19348
19484
|
* Available contexts for use :
|
|
@@ -19365,6 +19501,8 @@ class UserApi {
|
|
|
19365
19501
|
return this.newInstance().postV3NsUsersMeCodeRequest(data);
|
|
19366
19502
|
};
|
|
19367
19503
|
/**
|
|
19504
|
+
* POST [/iam/v3/public/namespaces/{namespace}/users/me/code/verify](api)
|
|
19505
|
+
*
|
|
19368
19506
|
* Will consume code if validateOnly is set false
|
|
19369
19507
|
* Required valid user authorization
|
|
19370
19508
|
* Redeems a verification code sent to a user to verify the user's contact address is correct
|
|
@@ -19376,6 +19514,8 @@ class UserApi {
|
|
|
19376
19514
|
return this.newInstance().postV3NsUsersMeCodeVerify(data);
|
|
19377
19515
|
};
|
|
19378
19516
|
/**
|
|
19517
|
+
* POST [/iam/v3/public/namespaces/{namespace}/users/me/headless/code/verify](api)
|
|
19518
|
+
*
|
|
19379
19519
|
* If validateOnly is set false, consume code and upgrade headless account and automatically verified the email address if it is succeeded
|
|
19380
19520
|
* Require valid user access token.
|
|
19381
19521
|
* The method upgrades a headless account by linking the headless account with the email address and the password.
|
|
@@ -19395,6 +19535,8 @@ class UserApi {
|
|
|
19395
19535
|
return this.newInstance().postV3NsUsersMeHeadlessCodeVerify(data);
|
|
19396
19536
|
};
|
|
19397
19537
|
/**
|
|
19538
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users/me/headless/code/verify](api)
|
|
19539
|
+
*
|
|
19398
19540
|
* Require valid user access token.
|
|
19399
19541
|
* The method upgrades a headless account by linking the headless account with the email address, username, and password.
|
|
19400
19542
|
* By upgrading the headless account into a full account, the user could use the email address, username, and password for using Justice IAM.
|
|
@@ -19414,13 +19556,17 @@ class UserApi {
|
|
|
19414
19556
|
return this.newInstance4().postV4NsUsersMeHeadlessCodeVerify(data);
|
|
19415
19557
|
};
|
|
19416
19558
|
/**
|
|
19559
|
+
* GET [/iam/v3/public/namespaces/{namespace}/users/{userId}/platforms](api)
|
|
19560
|
+
*
|
|
19417
19561
|
* This method retrieves platform accounts linked to user. Required valid user authorization.
|
|
19418
|
-
*
|
|
19562
|
+
* action code: 10128
|
|
19419
19563
|
*/
|
|
19420
19564
|
this.getUserLinkedPlatform = (userId) => {
|
|
19421
19565
|
return this.newInstance().fetchV3NsUsersByUseridPlatforms(userId);
|
|
19422
19566
|
};
|
|
19423
19567
|
/**
|
|
19568
|
+
* POST [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}](api)
|
|
19569
|
+
*
|
|
19424
19570
|
* Required valid user authorization.
|
|
19425
19571
|
* __Prerequisite:__
|
|
19426
19572
|
* Platform client configuration need to be added to database for specific platformId. Namespace service URL need to be specified (refer to required environment variables).
|
|
@@ -19450,22 +19596,26 @@ class UserApi {
|
|
|
19450
19596
|
return this.newInstance().postV3NsUsersMePlatformsByPlatformid(platformId, data);
|
|
19451
19597
|
};
|
|
19452
19598
|
/**
|
|
19599
|
+
* GET [/iam/v3/public/namespaces/{namespace}/requests/{requestId}/async/status](api)
|
|
19600
|
+
*
|
|
19453
19601
|
* Get the linking status between a third-party platform to a user
|
|
19454
19602
|
*/
|
|
19455
19603
|
this.getLinkRequestStatus = (requestId) => {
|
|
19456
19604
|
return this.newInstance().fetchV3NsRequestsByRequestidAsyncStatus(requestId);
|
|
19457
19605
|
};
|
|
19458
19606
|
/**
|
|
19607
|
+
* @internal
|
|
19459
19608
|
* It is going to be __DEPRECATED__.
|
|
19460
19609
|
* Update Platform Account relation to current User Account.
|
|
19461
19610
|
* Note: Game progression data (statistics, reward, etc) associated with previous User Account will not be
|
|
19462
19611
|
* transferred. If the data is tight to game user ID, the user will have the game progression data.
|
|
19463
|
-
*
|
|
19464
19612
|
*/
|
|
19465
19613
|
this.linkPlatformToUserAccount = ({ userId, data }) => {
|
|
19466
19614
|
return this.newInstance().postV3NsUsersByUseridPlatformsLink(userId, data);
|
|
19467
19615
|
};
|
|
19468
19616
|
/**
|
|
19617
|
+
* DELETE [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}](api)
|
|
19618
|
+
*
|
|
19469
19619
|
* Required valid user authorization.
|
|
19470
19620
|
* ##Supported platforms:
|
|
19471
19621
|
*
|
|
@@ -19498,110 +19648,123 @@ class UserApi {
|
|
|
19498
19648
|
return this.newInstance().deleteV3NsUsersMePlatformsByPlatformid(platformId, data);
|
|
19499
19649
|
};
|
|
19500
19650
|
/**
|
|
19651
|
+
* GET [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}/web/link](api)
|
|
19652
|
+
*
|
|
19501
19653
|
* This method is used to generate third party login page which will redirected to establish method.
|
|
19502
19654
|
*/
|
|
19503
19655
|
this.getThirdPartyURL = ({ platformId, queryParams }) => {
|
|
19504
19656
|
return this.newInstance().fetchV3NsUsersMePlatformsByPlatformidWebLink(platformId, queryParams);
|
|
19505
19657
|
};
|
|
19506
19658
|
/**
|
|
19659
|
+
* GET [/iam/v3/public/namespaces/{namespace}/agerestrictions/countries/{countryCode}](api)
|
|
19660
|
+
*
|
|
19507
19661
|
* Get age restriction by country code. It will always get by publisher namespace
|
|
19508
19662
|
*/
|
|
19509
19663
|
this.getAgeRestrictionByCountry = (countryCode) => {
|
|
19510
19664
|
return this.newInstance().fetchV3NsAgerestrictionsCountriesByCountrycode(countryCode);
|
|
19511
19665
|
};
|
|
19512
|
-
|
|
19513
|
-
|
|
19514
|
-
|
|
19515
|
-
|
|
19516
|
-
|
|
19517
|
-
|
|
19518
|
-
|
|
19519
|
-
|
|
19520
|
-
|
|
19521
|
-
|
|
19522
|
-
|
|
19523
|
-
|
|
19524
|
-
|
|
19525
|
-
|
|
19526
|
-
|
|
19527
|
-
|
|
19528
|
-
|
|
19529
|
-
|
|
19530
|
-
|
|
19531
|
-
|
|
19532
|
-
|
|
19533
|
-
|
|
19534
|
-
|
|
19535
|
-
|
|
19536
|
-
|
|
19537
|
-
|
|
19538
|
-
|
|
19539
|
-
|
|
19540
|
-
|
|
19541
|
-
|
|
19542
|
-
|
|
19543
|
-
|
|
19544
|
-
|
|
19545
|
-
|
|
19546
|
-
|
|
19547
|
-
|
|
19548
|
-
|
|
19549
|
-
|
|
19550
|
-
|
|
19551
|
-
|
|
19552
|
-
|
|
19553
|
-
|
|
19554
|
-
|
|
19555
|
-
|
|
19556
|
-
|
|
19557
|
-
|
|
19558
|
-
|
|
19559
|
-
|
|
19560
|
-
|
|
19561
|
-
|
|
19562
|
-
|
|
19563
|
-
|
|
19564
|
-
|
|
19565
|
-
|
|
19566
|
-
|
|
19567
|
-
|
|
19568
|
-
|
|
19569
|
-
|
|
19570
|
-
|
|
19571
|
-
|
|
19572
|
-
|
|
19573
|
-
|
|
19574
|
-
|
|
19575
|
-
|
|
19576
|
-
|
|
19577
|
-
|
|
19578
|
-
|
|
19579
|
-
|
|
19580
|
-
|
|
19581
|
-
|
|
19582
|
-
|
|
19583
|
-
|
|
19584
|
-
|
|
19585
|
-
|
|
19586
|
-
|
|
19587
|
-
|
|
19588
|
-
|
|
19589
|
-
|
|
19590
|
-
|
|
19591
|
-
|
|
19592
|
-
|
|
19593
|
-
|
|
19594
|
-
|
|
19595
|
-
|
|
19596
|
-
|
|
19597
|
-
|
|
19598
|
-
|
|
19599
|
-
|
|
19600
|
-
|
|
19601
|
-
|
|
19602
|
-
|
|
19603
|
-
|
|
19604
|
-
|
|
19666
|
+
/**
|
|
19667
|
+
* Render 2D Avatar via readyplayer.me POST [](https://docs.readyplayer.me/ready-player-me/avatars/2d-avatars/render-api)
|
|
19668
|
+
* @internal
|
|
19669
|
+
*/
|
|
19670
|
+
this.renderImageFromGlbModel = (data) => {
|
|
19671
|
+
const axios = Network.create({
|
|
19672
|
+
...this.conf
|
|
19673
|
+
});
|
|
19674
|
+
return Validate.responseType(() => axios.post('https://render.readyplayer.me/render', data), ReadyPlayerMe);
|
|
19675
|
+
};
|
|
19676
|
+
/**
|
|
19677
|
+
* POST [/iam/v3/public/namespaces/{namespace}/users/code/request](api)
|
|
19678
|
+
*
|
|
19679
|
+
* This method will validate the request's email address.
|
|
19680
|
+
*
|
|
19681
|
+
* If it already been used, will response 409.
|
|
19682
|
+
*
|
|
19683
|
+
* If it is available, we will send a verification code to this email address.
|
|
19684
|
+
*/
|
|
19685
|
+
this.requestNewUserVerificationCode = (data) => {
|
|
19686
|
+
return this.newInstance().postV3NsUsersCodeRequest(data);
|
|
19687
|
+
};
|
|
19688
|
+
/**
|
|
19689
|
+
* POST [/iam/v4/public/namespaces/{namespace}/users](api)
|
|
19690
|
+
*
|
|
19691
|
+
* Create a new user with unique email address and username.
|
|
19692
|
+
*
|
|
19693
|
+
* __Required attributes:__
|
|
19694
|
+
* - authType: possible value is EMAILPASSWD
|
|
19695
|
+
* - emailAddress: Please refer to the rule from /v3/public/inputValidations API.
|
|
19696
|
+
* - username: Please refer to the rule from /v3/public/inputValidations API.
|
|
19697
|
+
* - password: Please refer to the rule from /v3/public/inputValidations API.
|
|
19698
|
+
* - country: ISO3166-1 alpha-2 two letter, e.g. US.
|
|
19699
|
+
* - dateOfBirth: YYYY-MM-DD, e.g. 1990-01-01. valid values are between 1905-01-01 until current date.
|
|
19700
|
+
*
|
|
19701
|
+
* __Not required attributes:__
|
|
19702
|
+
* - displayName: Please refer to the rule from /v3/public/inputValidations API.
|
|
19703
|
+
*
|
|
19704
|
+
* This method support accepting agreements for the created user. Supply the accepted agreements in acceptedPolicies attribute.
|
|
19705
|
+
*
|
|
19706
|
+
*/
|
|
19707
|
+
this.createUser = (data) => {
|
|
19708
|
+
return this.newInstance4().postV4NsUsers(data);
|
|
19709
|
+
};
|
|
19710
|
+
/**
|
|
19711
|
+
* GET [/iam/v3/public/namespaces/{namespace}/users/{userId}/distinctPlatforms](api)
|
|
19712
|
+
*
|
|
19713
|
+
* This method retrieves platform accounts linked to user.
|
|
19714
|
+
* It will query all linked platform accounts and result will be distinct & grouped, same platform we will pick oldest linked one.
|
|
19715
|
+
* Required valid user authorization.
|
|
19716
|
+
*/
|
|
19717
|
+
this.getUserDistinctLinkedPlatform = (userId) => {
|
|
19718
|
+
return this.newInstance().fetchV3NsUsersByUseridDistinctPlatforms(userId);
|
|
19719
|
+
};
|
|
19720
|
+
/**
|
|
19721
|
+
* DELETE [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}/all](api)
|
|
19722
|
+
*
|
|
19723
|
+
* Required valid user authorization.
|
|
19724
|
+
* Unlink user's account from for all third platforms.
|
|
19725
|
+
*/
|
|
19726
|
+
this.unLinkAccountFromPlatformDistinct = (platformId) => {
|
|
19727
|
+
return this.newInstance().deleteV3NsUsersMePlatformsByPlatformidAll(platformId);
|
|
19728
|
+
};
|
|
19729
|
+
/**
|
|
19730
|
+
* POST [/iam/v3/public/users/me/verify_link/request](api)
|
|
19731
|
+
*
|
|
19732
|
+
* Required valid user authorization
|
|
19733
|
+
* The verification link is sent to email address
|
|
19734
|
+
* It will not send request if user email is already verified
|
|
19735
|
+
*/
|
|
19736
|
+
this.sendVerificationLink = (languageTag) => {
|
|
19737
|
+
return this.newInstance().postIamV3PublicUsersMeVerifyLinkRequest({ languageTag });
|
|
19738
|
+
};
|
|
19739
|
+
/**
|
|
19740
|
+
* GET [/iam/v3/public/namespaces/{namespace}/users/{userId}/platforms](api)
|
|
19741
|
+
*
|
|
19742
|
+
* This method retrieves platform accounts linked to user. Required valid user authorization.
|
|
19743
|
+
* action code: 10128
|
|
19744
|
+
*/
|
|
19745
|
+
this.getLinkedAccount = (userId) => {
|
|
19746
|
+
return this.newInstance().fetchV3NsUsersByUseridPlatforms(userId);
|
|
19747
|
+
};
|
|
19748
|
+
/**
|
|
19749
|
+
* GET [/iam/v3/public/users/me/headless/link/conflict](api)
|
|
19750
|
+
*
|
|
19751
|
+
* Note:
|
|
19752
|
+
* 1. My account should be full account
|
|
19753
|
+
* 2. My account not linked to request headless account's third platform.
|
|
19754
|
+
*/
|
|
19755
|
+
this.getLinkAccountByOneTimeCodeConflict = (params) => {
|
|
19756
|
+
return this.newInstance().fetchIamV3PublicUsersMeHeadlessLinkConflict(params);
|
|
19757
|
+
};
|
|
19758
|
+
/**
|
|
19759
|
+
* POST [/iam/v3/public/users/me/headless/linkWithProgression](api)
|
|
19760
|
+
*
|
|
19761
|
+
* Note:
|
|
19762
|
+
* 1. My account should be full account
|
|
19763
|
+
* 2. My account not linked to headless account's third platform.
|
|
19764
|
+
*/
|
|
19765
|
+
this.linkWithProgression = (data) => {
|
|
19766
|
+
return this.newInstance().postIamV3PublicUsersMeHeadlessLinkWithProgression(data);
|
|
19767
|
+
};
|
|
19605
19768
|
}
|
|
19606
19769
|
/**
|
|
19607
19770
|
* @internal
|
|
@@ -19758,27 +19921,36 @@ class AgreementApi {
|
|
|
19758
19921
|
this.conf = conf;
|
|
19759
19922
|
this.namespace = namespace;
|
|
19760
19923
|
this.cache = cache;
|
|
19761
|
-
|
|
19762
|
-
|
|
19763
|
-
|
|
19764
|
-
|
|
19765
|
-
|
|
19766
|
-
|
|
19767
|
-
|
|
19768
|
-
|
|
19769
|
-
|
|
19770
|
-
|
|
19771
|
-
|
|
19772
|
-
|
|
19773
|
-
|
|
19774
|
-
|
|
19775
|
-
|
|
19776
|
-
|
|
19777
|
-
|
|
19778
|
-
|
|
19779
|
-
|
|
19780
|
-
|
|
19781
|
-
|
|
19924
|
+
/**
|
|
19925
|
+
* POST [/agreement/public/agreements/policies](api)
|
|
19926
|
+
*
|
|
19927
|
+
* Accepts many legal policy versions all at once. Supply with localized version policy id to accept an agreement.
|
|
19928
|
+
*
|
|
19929
|
+
* _Required permission_: login user
|
|
19930
|
+
*/
|
|
19931
|
+
this.acceptLegalPolicies = (acceptAgreements) => {
|
|
19932
|
+
return this.newInstance().postPublicAgreementsPolicies(acceptAgreements);
|
|
19933
|
+
};
|
|
19934
|
+
/**
|
|
19935
|
+
* GET [/agreement/public/agreements/policies](api)
|
|
19936
|
+
*
|
|
19937
|
+
* Retrieve accepted Legal Agreements.
|
|
19938
|
+
*
|
|
19939
|
+
* _Required permission_: login user
|
|
19940
|
+
*/
|
|
19941
|
+
this.getAgreements = () => {
|
|
19942
|
+
return this.newInstance().fetchPublicAgreementsPolicies();
|
|
19943
|
+
};
|
|
19944
|
+
/**
|
|
19945
|
+
* PATCH [/agreement/public/agreements/localized-policy-versions/preferences](api)
|
|
19946
|
+
*
|
|
19947
|
+
* Change marketing preference consent
|
|
19948
|
+
*
|
|
19949
|
+
* _Required permission_: login user
|
|
19950
|
+
*/
|
|
19951
|
+
this.updateMarketingPreferences = (acceptAgreements) => {
|
|
19952
|
+
return this.newInstance().patchPublicAgreementsLocalizedPolicyVersionsPreferences(acceptAgreements);
|
|
19953
|
+
};
|
|
19782
19954
|
}
|
|
19783
19955
|
newInstance() {
|
|
19784
19956
|
return new Agreement$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -19891,13 +20063,16 @@ class EligibilitiesApi {
|
|
|
19891
20063
|
this.conf = conf;
|
|
19892
20064
|
this.namespace = namespace;
|
|
19893
20065
|
this.cache = cache;
|
|
19894
|
-
|
|
19895
|
-
|
|
19896
|
-
|
|
19897
|
-
|
|
19898
|
-
|
|
19899
|
-
|
|
19900
|
-
|
|
20066
|
+
/**
|
|
20067
|
+
* GET [/agreement/public/eligibilities/namespaces/{namespace}](api)
|
|
20068
|
+
*
|
|
20069
|
+
* 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.
|
|
20070
|
+
*
|
|
20071
|
+
* _Required permission_: login user
|
|
20072
|
+
*/
|
|
20073
|
+
this.getUserEligibilities = () => {
|
|
20074
|
+
return this.newInstance().fetchPublicEligibilitiesNamespacesByNamespace();
|
|
20075
|
+
};
|
|
19901
20076
|
}
|
|
19902
20077
|
newInstance() {
|
|
19903
20078
|
return new Eligibilities$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -20000,12 +20175,14 @@ class LocalizedPolicyVersionsApi {
|
|
|
20000
20175
|
this.conf = conf;
|
|
20001
20176
|
this.namespace = namespace;
|
|
20002
20177
|
this.cache = cache;
|
|
20003
|
-
|
|
20004
|
-
|
|
20005
|
-
|
|
20006
|
-
|
|
20007
|
-
|
|
20008
|
-
|
|
20178
|
+
/**
|
|
20179
|
+
* GET [/agreement/public/localized-policy-versions/{localizedPolicyVersionId}](api)
|
|
20180
|
+
*
|
|
20181
|
+
* Retrieve specific localized policy version including the policy version and base policy version where the localized policy version located.
|
|
20182
|
+
*/
|
|
20183
|
+
this.fetchLocalizedPolicyVersionById = (localizedPolicyVersionId) => {
|
|
20184
|
+
return this.newInstance().fetchPublicLocalizedPolicyVersionsByLocalizedpolicyversionid(localizedPolicyVersionId);
|
|
20185
|
+
};
|
|
20009
20186
|
}
|
|
20010
20187
|
newInstance() {
|
|
20011
20188
|
return new LocalizedPolicyVersions$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -20111,36 +20288,37 @@ class PoliciesApi {
|
|
|
20111
20288
|
this.conf = conf;
|
|
20112
20289
|
this.namespace = namespace;
|
|
20113
20290
|
this.cache = cache;
|
|
20114
|
-
|
|
20115
|
-
|
|
20116
|
-
|
|
20117
|
-
|
|
20118
|
-
|
|
20119
|
-
|
|
20120
|
-
|
|
20121
|
-
|
|
20122
|
-
|
|
20123
|
-
|
|
20124
|
-
|
|
20125
|
-
|
|
20126
|
-
|
|
20127
|
-
|
|
20128
|
-
|
|
20129
|
-
|
|
20130
|
-
|
|
20131
|
-
|
|
20132
|
-
|
|
20133
|
-
|
|
20134
|
-
|
|
20135
|
-
|
|
20136
|
-
|
|
20137
|
-
|
|
20138
|
-
|
|
20139
|
-
|
|
20140
|
-
|
|
20141
|
-
|
|
20142
|
-
|
|
20143
|
-
|
|
20291
|
+
/**
|
|
20292
|
+
* GET [/agreement/public/policies/namespaces/{namespace}/countries/{countryCode}](api)
|
|
20293
|
+
*
|
|
20294
|
+
* Retrieve all active latest policies based on a namespace and country.
|
|
20295
|
+
*
|
|
20296
|
+
* - _Leave the policyType empty if you want to be responded with all policy type_
|
|
20297
|
+
* - _Fill the tags if you want to filter the responded policy by tags_
|
|
20298
|
+
* - _Fill the defaultOnEmpty with true if you want to be responded with default country-specific policy if your requested country is not exist_
|
|
20299
|
+
* - _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:_
|
|
20300
|
+
*
|
|
20301
|
+
* - Document 1 (default): Region US (default), UA
|
|
20302
|
+
* - Document 2 (default): Region US (default)
|
|
20303
|
+
* - Document 3 (default): Region US (default)
|
|
20304
|
+
* - User: Region UA
|
|
20305
|
+
* - Query: alwaysIncludeDefault: true
|
|
20306
|
+
* - Response: Document 1 (UA), Document 2 (US), Document 3 (US)
|
|
20307
|
+
*/
|
|
20308
|
+
this.fetchPoliciesByCountry = ({ countryCode, queryParams }) => {
|
|
20309
|
+
return this.newInstance().fetchPublicPoliciesNamespacesByNamespaceCountriesByCountrycode(countryCode, queryParams);
|
|
20310
|
+
};
|
|
20311
|
+
/**
|
|
20312
|
+
* GET [/agreement/public/policies/countries/{countryCode}](api)
|
|
20313
|
+
*
|
|
20314
|
+
* Retrieve all active latest policies based on country from all namespaces.
|
|
20315
|
+
* - _Leave the policyType empty if you want to be responded with all policy type_
|
|
20316
|
+
* - _Fill the tags if you want to filter the responded policy by tags_
|
|
20317
|
+
* - _Fill the defaultOnEmpty with true if you want to be responded with default country-specific policy if your requested country is not exist_
|
|
20318
|
+
*/
|
|
20319
|
+
this.fetchAllPoliciesByCountry = ({ countryCode, queryParams }) => {
|
|
20320
|
+
return this.newInstance().fetchPublicPoliciesCountriesByCountrycode(countryCode, queryParams);
|
|
20321
|
+
};
|
|
20144
20322
|
}
|
|
20145
20323
|
newInstance() {
|
|
20146
20324
|
return new Policies$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -20224,12 +20402,21 @@ class PublicTemplateApi {
|
|
|
20224
20402
|
this.conf = conf;
|
|
20225
20403
|
this.namespace = namespace;
|
|
20226
20404
|
this.cache = cache;
|
|
20405
|
+
/**
|
|
20406
|
+
* @internal
|
|
20407
|
+
*/
|
|
20227
20408
|
this.getTemplateConfigs = (template) => {
|
|
20228
20409
|
return this.newInstance().fetchV1NsTemplatesByTemplateConfigs(template);
|
|
20229
20410
|
};
|
|
20411
|
+
/**
|
|
20412
|
+
* @internal
|
|
20413
|
+
*/
|
|
20230
20414
|
this.getTemplateConfig = (template, configId) => {
|
|
20231
20415
|
return this.newInstance().fetchV1NsTemplatesByTemplateConfigsByConfig(template, configId);
|
|
20232
20416
|
};
|
|
20417
|
+
/**
|
|
20418
|
+
* @internal
|
|
20419
|
+
*/
|
|
20233
20420
|
this.getDiscoveryTemplateConfigs = () => {
|
|
20234
20421
|
return this.newInstance().fetchV1NsTemplatesByTemplateConfigs(DISCOVERY_TEMPLATE_NAME);
|
|
20235
20422
|
};
|
|
@@ -20299,7 +20486,10 @@ class CurrencyApi {
|
|
|
20299
20486
|
this.namespace = namespace;
|
|
20300
20487
|
this.cache = cache;
|
|
20301
20488
|
/**
|
|
20489
|
+
* GET [/platform/public/namespaces/{namespace}/currencies](api)
|
|
20490
|
+
*
|
|
20302
20491
|
* List currencies of a namespace.
|
|
20492
|
+
*
|
|
20303
20493
|
* Returns: Currency List
|
|
20304
20494
|
*/
|
|
20305
20495
|
this.getCurrencies = () => {
|
|
@@ -20307,6 +20497,8 @@ class CurrencyApi {
|
|
|
20307
20497
|
};
|
|
20308
20498
|
/**
|
|
20309
20499
|
* Get the currencies list and convert into a map of currency code and the currency itself
|
|
20500
|
+
*
|
|
20501
|
+
* @internal
|
|
20310
20502
|
*/
|
|
20311
20503
|
this.getCurrencyMap = async () => {
|
|
20312
20504
|
const result = await this.getCurrencies();
|
|
@@ -20919,40 +21111,42 @@ class EntitlementApi {
|
|
|
20919
21111
|
this.conf = conf;
|
|
20920
21112
|
this.namespace = namespace;
|
|
20921
21113
|
this.cache = cache;
|
|
20922
|
-
|
|
20923
|
-
|
|
20924
|
-
|
|
20925
|
-
|
|
20926
|
-
|
|
20927
|
-
|
|
20928
|
-
|
|
20929
|
-
|
|
20930
|
-
|
|
20931
|
-
|
|
20932
|
-
|
|
20933
|
-
|
|
20934
|
-
|
|
20935
|
-
|
|
20936
|
-
|
|
20937
|
-
|
|
20938
|
-
|
|
20939
|
-
|
|
20940
|
-
|
|
20941
|
-
|
|
20942
|
-
|
|
20943
|
-
|
|
20944
|
-
|
|
20945
|
-
|
|
20946
|
-
|
|
20947
|
-
|
|
20948
|
-
|
|
20949
|
-
|
|
20950
|
-
|
|
20951
|
-
|
|
20952
|
-
|
|
20953
|
-
|
|
20954
|
-
|
|
20955
|
-
|
|
21114
|
+
/**
|
|
21115
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/entitlements/byAppId](api)
|
|
21116
|
+
*
|
|
21117
|
+
* Get user app entitlement by appId.
|
|
21118
|
+
*/
|
|
21119
|
+
this.getEntitlementByAppId = ({ userId, appId }) => {
|
|
21120
|
+
return this.newInstance().fetchNsUsersByUseridEntitlementsByAppId(userId, {
|
|
21121
|
+
appId
|
|
21122
|
+
});
|
|
21123
|
+
};
|
|
21124
|
+
/**
|
|
21125
|
+
* Query user entitlements for a specific user.
|
|
21126
|
+
* Returns: entitlement list
|
|
21127
|
+
*/
|
|
21128
|
+
this.getEntitlements = ({ userId, queryParams }) => {
|
|
21129
|
+
return this.newInstance().fetchNsUsersByUseridEntitlements(userId, queryParams);
|
|
21130
|
+
};
|
|
21131
|
+
/**
|
|
21132
|
+
* Exists any user active entitlement of specified itemIds, skus and appIds
|
|
21133
|
+
*/
|
|
21134
|
+
this.getEntitlementOwnerShip = ({ userId, queryParams }) => {
|
|
21135
|
+
return this.newInstance().fetchNsUsersByUseridEntitlementsOwnershipAny(userId, queryParams);
|
|
21136
|
+
};
|
|
21137
|
+
/**
|
|
21138
|
+
* Get user entitlement ownership by itemIds.
|
|
21139
|
+
*/
|
|
21140
|
+
this.getEntitlementByItemIds = ({ userId, queryParams }) => {
|
|
21141
|
+
return this.newInstance().fetchNsUsersByUseridEntitlementsOwnershipByItemIds(userId, queryParams);
|
|
21142
|
+
};
|
|
21143
|
+
/**
|
|
21144
|
+
* 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
|
|
21145
|
+
* Returns: consumed entitlement
|
|
21146
|
+
*/
|
|
21147
|
+
this.claimEntitlement = ({ userId, entitlementId, data }) => {
|
|
21148
|
+
return this.newInstance().putNsUsersByUseridEntitlementsByEntitlementidDecrement(userId, entitlementId, data);
|
|
21149
|
+
};
|
|
20956
21150
|
}
|
|
20957
21151
|
newInstance() {
|
|
20958
21152
|
return new Entitlement$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -20964,7 +21158,13 @@ class EntitlementApi {
|
|
|
20964
21158
|
* This is licensed software from AccelByte Inc, for limitations
|
|
20965
21159
|
* and restrictions contact your company contract manager.
|
|
20966
21160
|
*/
|
|
20967
|
-
const CreditSummary = mod.object({
|
|
21161
|
+
const CreditSummary = mod.object({
|
|
21162
|
+
walletId: mod.string(),
|
|
21163
|
+
namespace: mod.string(),
|
|
21164
|
+
userId: mod.string(),
|
|
21165
|
+
amount: mod.number().int(),
|
|
21166
|
+
currencyCode: mod.string().nullish()
|
|
21167
|
+
});
|
|
20968
21168
|
|
|
20969
21169
|
/*
|
|
20970
21170
|
* Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
|
|
@@ -20974,6 +21174,7 @@ const CreditSummary = mod.object({ walletId: mod.string(), namespace: mod.string
|
|
|
20974
21174
|
const EntitlementSummary = mod.object({
|
|
20975
21175
|
id: mod.string(),
|
|
20976
21176
|
namespace: mod.string(),
|
|
21177
|
+
name: mod.string().nullish(),
|
|
20977
21178
|
userId: mod.string(),
|
|
20978
21179
|
clazz: mod.enum(['APP', 'ENTITLEMENT', 'CODE', 'SUBSCRIPTION', 'MEDIA', 'OPTIONBOX', 'LOOTBOX']),
|
|
20979
21180
|
type: mod.enum(['DURABLE', 'CONSUMABLE']),
|
|
@@ -21052,7 +21253,10 @@ class FulfillmentApi {
|
|
|
21052
21253
|
this.namespace = namespace;
|
|
21053
21254
|
this.cache = cache;
|
|
21054
21255
|
/**
|
|
21055
|
-
*
|
|
21256
|
+
* POST [/platform/public/namespaces/{namespace}/users/{userId}/fulfillment/code](api)
|
|
21257
|
+
*
|
|
21258
|
+
* Redeem campaign code
|
|
21259
|
+
*
|
|
21056
21260
|
* Returns: fulfillment result
|
|
21057
21261
|
*/
|
|
21058
21262
|
this.redeemCode = ({ userId, data }) => {
|
|
@@ -21606,69 +21810,90 @@ class ItemApi {
|
|
|
21606
21810
|
this.conf = conf;
|
|
21607
21811
|
this.namespace = namespace;
|
|
21608
21812
|
this.cache = cache;
|
|
21609
|
-
|
|
21610
|
-
|
|
21611
|
-
|
|
21612
|
-
|
|
21613
|
-
|
|
21614
|
-
|
|
21615
|
-
|
|
21616
|
-
|
|
21617
|
-
|
|
21618
|
-
|
|
21619
|
-
|
|
21620
|
-
|
|
21621
|
-
|
|
21622
|
-
|
|
21623
|
-
|
|
21624
|
-
|
|
21625
|
-
|
|
21626
|
-
|
|
21627
|
-
|
|
21628
|
-
|
|
21629
|
-
|
|
21630
|
-
|
|
21631
|
-
|
|
21632
|
-
|
|
21633
|
-
|
|
21634
|
-
|
|
21635
|
-
|
|
21636
|
-
|
|
21637
|
-
|
|
21638
|
-
|
|
21639
|
-
|
|
21640
|
-
|
|
21641
|
-
|
|
21642
|
-
|
|
21643
|
-
|
|
21644
|
-
|
|
21645
|
-
|
|
21646
|
-
|
|
21647
|
-
|
|
21648
|
-
|
|
21649
|
-
|
|
21650
|
-
}
|
|
21651
|
-
|
|
21652
|
-
|
|
21653
|
-
|
|
21654
|
-
|
|
21655
|
-
|
|
21656
|
-
|
|
21657
|
-
|
|
21658
|
-
|
|
21659
|
-
|
|
21660
|
-
|
|
21661
|
-
|
|
21662
|
-
|
|
21663
|
-
|
|
21664
|
-
|
|
21665
|
-
|
|
21666
|
-
|
|
21667
|
-
|
|
21668
|
-
|
|
21669
|
-
|
|
21670
|
-
|
|
21671
|
-
|
|
21813
|
+
/**
|
|
21814
|
+
* GET [/platform/public/namespaces/{namespace}/items/byAppId](api)
|
|
21815
|
+
*
|
|
21816
|
+
* This API is used to get item by appId
|
|
21817
|
+
*
|
|
21818
|
+
* Returns: the item with that appId
|
|
21819
|
+
*/
|
|
21820
|
+
this.getItemByAppId = ({ ...queryParams }) => {
|
|
21821
|
+
return this.newInstance().fetchNsItemsByAppId(queryParams);
|
|
21822
|
+
};
|
|
21823
|
+
/**
|
|
21824
|
+
* GET [/platform/public/namespaces/{namespace}/items/{itemId}/dynamic](api)
|
|
21825
|
+
*
|
|
21826
|
+
* Get item dynamic data for a published item
|
|
21827
|
+
*
|
|
21828
|
+
* Returns: item dynamic data
|
|
21829
|
+
*/
|
|
21830
|
+
this.getItemByItemIdDynamic = (itemId) => {
|
|
21831
|
+
return this.newInstance().fetchNsItemsByItemidDynamic(itemId);
|
|
21832
|
+
};
|
|
21833
|
+
/**
|
|
21834
|
+
* GET [/platform/public/namespaces/{namespace}/items/byCriteria](api)
|
|
21835
|
+
*/
|
|
21836
|
+
this.fetchItemsByCriteria = ({ queryParams }) => {
|
|
21837
|
+
return this.newInstance().fetchNsItemsByCriteria(queryParams);
|
|
21838
|
+
};
|
|
21839
|
+
/**
|
|
21840
|
+
* GET [/platform/public/namespaces/{namespace}/items/locale/byIds](api)
|
|
21841
|
+
*
|
|
21842
|
+
* This API is used to query items by criteria within a store. If item not exist in specific region, default region item will return.
|
|
21843
|
+
*
|
|
21844
|
+
* Returns: the list of items
|
|
21845
|
+
*/
|
|
21846
|
+
this.getItemsByItemIds = ({ queryParams }) => {
|
|
21847
|
+
return this.newInstance().fetchNsItemsLocaleByIds(queryParams);
|
|
21848
|
+
};
|
|
21849
|
+
// TODO if not used, delete below
|
|
21850
|
+
// /**
|
|
21851
|
+
// * Fetch the items and convert it into a map of `itemId` and its item info
|
|
21852
|
+
// */
|
|
21853
|
+
// fetchAvailableItemInfoMap = async ({ queryParams }: { queryParams: QueryParamsItemIds }) => {
|
|
21854
|
+
// const result = await this.getItemsByItemIds({ queryParams })
|
|
21855
|
+
// if (result.response) {
|
|
21856
|
+
// return {
|
|
21857
|
+
// error: null,
|
|
21858
|
+
// value: result.response.data.reduce((map: Map<string, ItemInfo>, availableItemInfo) => {
|
|
21859
|
+
// const { itemId } = availableItemInfo
|
|
21860
|
+
// if (itemId) {
|
|
21861
|
+
// map.set(itemId, availableItemInfo)
|
|
21862
|
+
// }
|
|
21863
|
+
// return map
|
|
21864
|
+
// }, new Map())
|
|
21865
|
+
// }
|
|
21866
|
+
// }
|
|
21867
|
+
// return result
|
|
21868
|
+
// }
|
|
21869
|
+
/**
|
|
21870
|
+
* GET [/platform/public/namespaces/{namespace}/items/{itemId}/locale](api)
|
|
21871
|
+
*
|
|
21872
|
+
* This API is used to get an item in locale. If item not exist in specific region, default region item will return.
|
|
21873
|
+
*
|
|
21874
|
+
* Returns: item data
|
|
21875
|
+
*/
|
|
21876
|
+
this.getItemsByItemIdLocale = ({ itemId, queryParams }) => {
|
|
21877
|
+
return this.newInstance().fetchNsItemsByItemidLocale(itemId, queryParams);
|
|
21878
|
+
};
|
|
21879
|
+
/**
|
|
21880
|
+
* GET [/platform/public/namespaces/{namespace}/items/{itemId}/app/locale](api)
|
|
21881
|
+
*
|
|
21882
|
+
* This API is used to get an app in locale. If app not exist in specific region, default region app will return.
|
|
21883
|
+
*
|
|
21884
|
+
* Returns: app data
|
|
21885
|
+
*/
|
|
21886
|
+
this.getAppInfoByItemId = ({ itemId, queryParams }) => {
|
|
21887
|
+
return this.newInstance().fetchNsItemsByItemidAppLocale(itemId, queryParams);
|
|
21888
|
+
};
|
|
21889
|
+
/**
|
|
21890
|
+
* POST [/platform/public/namespaces/{namespace}/items/purchase/conditions/validate](api)
|
|
21891
|
+
*
|
|
21892
|
+
* This API is used to validate user item purchase condition
|
|
21893
|
+
*/
|
|
21894
|
+
this.validatePurchaseCondition = (data) => {
|
|
21895
|
+
return this.newInstance().postNsItemsPurchaseConditionsValidate(data);
|
|
21896
|
+
};
|
|
21672
21897
|
}
|
|
21673
21898
|
newInstance() {
|
|
21674
21899
|
return new Item$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -21909,36 +22134,102 @@ class OrderApi {
|
|
|
21909
22134
|
this.namespace = namespace;
|
|
21910
22135
|
this.cache = cache;
|
|
21911
22136
|
/**
|
|
21912
|
-
*
|
|
21913
|
-
*
|
|
22137
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/orders](api)
|
|
22138
|
+
*
|
|
22139
|
+
* Query user orders
|
|
22140
|
+
*
|
|
22141
|
+
* Returns a paginated list of `OrderInfo`:
|
|
22142
|
+
* <pre lang="json">{
|
|
22143
|
+
orderNo,
|
|
22144
|
+
paymentOrderNo,
|
|
22145
|
+
namespace,
|
|
22146
|
+
userId,
|
|
22147
|
+
itemId,
|
|
22148
|
+
sandbox,
|
|
22149
|
+
quantity,
|
|
22150
|
+
price,
|
|
22151
|
+
discountedPrice,
|
|
22152
|
+
creationOptions
|
|
22153
|
+
paymentProvider: ('WALLET', 'XSOLLA', 'ADYEN', 'STRIPE', 'CHECKOUT', 'ALIPAY', 'WXPAY', 'PAYPAL'),
|
|
22154
|
+
paymentMethod,
|
|
22155
|
+
tax,
|
|
22156
|
+
vat,
|
|
22157
|
+
salesTax,
|
|
22158
|
+
paymentProviderFee,
|
|
22159
|
+
paymentMethodFee
|
|
22160
|
+
currency: CurrencySummary,
|
|
22161
|
+
paymentStationUrl,
|
|
22162
|
+
itemSnapshot,
|
|
22163
|
+
region,
|
|
22164
|
+
language,
|
|
22165
|
+
status: (
|
|
22166
|
+
'INIT',
|
|
22167
|
+
'CHARGED',
|
|
22168
|
+
'CHARGEBACK',
|
|
22169
|
+
'CHARGEBACK_REVERSED',
|
|
22170
|
+
'FULFILLED',
|
|
22171
|
+
'FULFILL_FAILED',
|
|
22172
|
+
'REFUNDING',
|
|
22173
|
+
'REFUNDED',
|
|
22174
|
+
'REFUND_FAILED',
|
|
22175
|
+
'CLOSED',
|
|
22176
|
+
'DELETED'
|
|
22177
|
+
),
|
|
22178
|
+
statusReason,
|
|
22179
|
+
createdTime,
|
|
22180
|
+
chargedTime,
|
|
22181
|
+
fulfilledTime,
|
|
22182
|
+
refundedTime,
|
|
22183
|
+
chargebackTime,
|
|
22184
|
+
chargebackReversedTime,
|
|
22185
|
+
expireTime,
|
|
22186
|
+
paymentRemainSeconds,
|
|
22187
|
+
ext,
|
|
22188
|
+
totalTax,
|
|
22189
|
+
totalPrice,
|
|
22190
|
+
subtotalPrice,
|
|
22191
|
+
createdAt,
|
|
22192
|
+
updatedAt
|
|
22193
|
+
}</pre>
|
|
21914
22194
|
*/
|
|
21915
22195
|
this.getOrderList = ({ userId, queryParams }) => {
|
|
21916
22196
|
return this.newInstance().fetchNsUsersByUseridOrders(userId, queryParams);
|
|
21917
22197
|
};
|
|
21918
22198
|
/**
|
|
22199
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/orders/{orderNo}](api)
|
|
22200
|
+
*
|
|
21919
22201
|
* Get user order.
|
|
21920
|
-
*
|
|
22202
|
+
*
|
|
22203
|
+
* Returns: `OrderInfo`
|
|
21921
22204
|
*/
|
|
21922
22205
|
this.getOrderByOrderNo = ({ userId, orderNo }) => {
|
|
21923
22206
|
return this.newInstance().fetchNsUsersByUseridOrdersByOrderno(userId, orderNo);
|
|
21924
22207
|
};
|
|
21925
22208
|
/**
|
|
22209
|
+
* PUT [/platform/public/namespaces/{namespace}/users/{userId}/orders/{orderNo}/cancel](api)
|
|
22210
|
+
*
|
|
21926
22211
|
* Cancel user order.
|
|
21927
|
-
*
|
|
22212
|
+
*
|
|
22213
|
+
* Returns: cancelled `OrderInfo`
|
|
21928
22214
|
*/
|
|
21929
22215
|
this.cancelOrder = ({ userId, orderNo }) => {
|
|
21930
22216
|
return this.newInstance().putNsUsersByUseridOrdersByOrdernoCancel(userId, orderNo);
|
|
21931
22217
|
};
|
|
21932
22218
|
/**
|
|
22219
|
+
* POST [/platform/public/namespaces/{namespace}/users/{userId}/orders](api)
|
|
22220
|
+
*
|
|
21933
22221
|
* Create an order. The result contains the checkout link and payment token.
|
|
21934
22222
|
* User with permission SANDBOX will create sandbox order that not real paid for xsolla/alipay and not validate price for wxpay.
|
|
21935
|
-
*
|
|
22223
|
+
*
|
|
22224
|
+
* Returns: created `OrderInfo`
|
|
21936
22225
|
*/
|
|
21937
22226
|
this.createOrder = ({ userId, data }) => {
|
|
21938
22227
|
return this.newInstance().postNsUsersByUseridOrders(userId, data);
|
|
21939
22228
|
};
|
|
21940
22229
|
/**
|
|
21941
22230
|
* Fetch all information needed for a user to check the user's availability to purchase the item
|
|
22231
|
+
*
|
|
22232
|
+
* @internal
|
|
21942
22233
|
*/
|
|
21943
22234
|
this.fetchPrePurchaseInformation = async ({ userId, item }) => {
|
|
21944
22235
|
const currencyApi = new CurrencyApi(this.conf, this.namespace, this.cache);
|
|
@@ -22267,36 +22558,48 @@ class PaymentApi {
|
|
|
22267
22558
|
this.namespace = namespace;
|
|
22268
22559
|
this.cache = cache;
|
|
22269
22560
|
/**
|
|
22270
|
-
*
|
|
22271
|
-
*
|
|
22561
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/payment/accounts](api)
|
|
22562
|
+
*
|
|
22563
|
+
* Get payment accounts.
|
|
22564
|
+
*
|
|
22565
|
+
* Returns: Payment account list `PaymentAccountArray`
|
|
22272
22566
|
*/
|
|
22273
22567
|
this.getPaymentAccounts = (userId) => {
|
|
22274
22568
|
return this.newInstance().fetchNsUsersByUseridPaymentAccounts(userId);
|
|
22275
22569
|
};
|
|
22276
22570
|
/**
|
|
22277
|
-
*
|
|
22571
|
+
* DELETE [/platform/public/namespaces/{namespace}/users/{userId}/payment/accounts/{type}/{id}](api)
|
|
22278
22572
|
*
|
|
22279
|
-
*
|
|
22573
|
+
* Delete payment account.
|
|
22280
22574
|
*/
|
|
22281
22575
|
this.deletePaymentAccount = ({ userId, type, id }) => {
|
|
22282
22576
|
return this.newInstance().deleteNsUsersByUseridPaymentAccountsByTypeById(userId, type, id);
|
|
22283
22577
|
};
|
|
22284
22578
|
/**
|
|
22579
|
+
* GET [/platform/public/namespaces/{namespace}/payment/orders/{paymentOrderNo}/info](api)
|
|
22580
|
+
*
|
|
22285
22581
|
* Get payment order info.
|
|
22286
|
-
*
|
|
22582
|
+
*
|
|
22583
|
+
* Returns: Payment order details `PaymentOrderDetails`
|
|
22287
22584
|
*/
|
|
22288
22585
|
this.getPaymentInfo = (paymentOrderNo) => {
|
|
22289
22586
|
return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentOrdersByPaymentordernoInfo(paymentOrderNo);
|
|
22290
22587
|
};
|
|
22291
22588
|
/**
|
|
22589
|
+
* POST [/platform/public/namespaces/{namespace}/payment/orders/{paymentOrderNo}/pay](api)
|
|
22590
|
+
*
|
|
22292
22591
|
* Do payment(For now, this only support checkout.com).
|
|
22592
|
+
*
|
|
22293
22593
|
* Returns: Payment process result
|
|
22294
22594
|
*/
|
|
22295
22595
|
this.processPaymentOrder = (paymentOrderNo, data, queryParams) => {
|
|
22296
22596
|
return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).postNsPaymentOrdersByPaymentordernoPay(paymentOrderNo, data, queryParams);
|
|
22297
22597
|
};
|
|
22298
22598
|
/**
|
|
22599
|
+
* GET [/platform/public/namespaces/{namespace}/payment/publicconfig](api)
|
|
22600
|
+
*
|
|
22299
22601
|
* Get payment provider public config, at current only Strip provide public config.
|
|
22602
|
+
*
|
|
22300
22603
|
* Returns: Public config
|
|
22301
22604
|
*/
|
|
22302
22605
|
this.getPaymentProviderPublicConfig = (paymentProvider, region, sandbox) => {
|
|
@@ -22307,7 +22610,10 @@ class PaymentApi {
|
|
|
22307
22610
|
});
|
|
22308
22611
|
};
|
|
22309
22612
|
/**
|
|
22613
|
+
* GET [/platform/public/namespaces/{namespace}/payment/orders/{paymentOrderNo}/status](api)
|
|
22614
|
+
*
|
|
22310
22615
|
* Check payment order paid status.
|
|
22616
|
+
*
|
|
22311
22617
|
* Returns: Payment order paid result
|
|
22312
22618
|
*/
|
|
22313
22619
|
this.getPaymentOrderStatus = (paymentOrderNo) => {
|
|
@@ -22321,7 +22627,10 @@ class PaymentApi {
|
|
|
22321
22627
|
return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentMethods({ paymentOrderNo });
|
|
22322
22628
|
};
|
|
22323
22629
|
/**
|
|
22630
|
+
* GET [/platform/public/namespaces/{namespace}/payment/methods](api)
|
|
22631
|
+
*
|
|
22324
22632
|
* Check and get a payment order's should pay tax.
|
|
22633
|
+
*
|
|
22325
22634
|
* Returns: tax result
|
|
22326
22635
|
*/
|
|
22327
22636
|
this.getPaymentTax = (paymentProvider, paymentOrderNo, zipCode) => {
|
|
@@ -22332,7 +22641,10 @@ class PaymentApi {
|
|
|
22332
22641
|
});
|
|
22333
22642
|
};
|
|
22334
22643
|
/**
|
|
22644
|
+
* POST [/platform/public/namespaces/{namespace}/payment/link](api)
|
|
22645
|
+
*
|
|
22335
22646
|
* Get payment url.
|
|
22647
|
+
*
|
|
22336
22648
|
* Returns: Get payment link
|
|
22337
22649
|
*/
|
|
22338
22650
|
this.createPaymentUrl = (data) => {
|
|
@@ -22589,56 +22901,73 @@ class SubscriptionApi {
|
|
|
22589
22901
|
this.conf = conf;
|
|
22590
22902
|
this.namespace = namespace;
|
|
22591
22903
|
this.cache = cache;
|
|
22592
|
-
|
|
22593
|
-
|
|
22594
|
-
|
|
22595
|
-
|
|
22596
|
-
|
|
22597
|
-
|
|
22598
|
-
|
|
22599
|
-
|
|
22600
|
-
|
|
22601
|
-
|
|
22602
|
-
|
|
22603
|
-
|
|
22604
|
-
|
|
22605
|
-
|
|
22606
|
-
|
|
22607
|
-
|
|
22608
|
-
|
|
22609
|
-
|
|
22610
|
-
|
|
22611
|
-
|
|
22612
|
-
|
|
22613
|
-
|
|
22614
|
-
|
|
22615
|
-
|
|
22616
|
-
|
|
22617
|
-
|
|
22618
|
-
|
|
22619
|
-
|
|
22620
|
-
|
|
22621
|
-
|
|
22622
|
-
|
|
22623
|
-
|
|
22624
|
-
|
|
22625
|
-
|
|
22626
|
-
|
|
22627
|
-
|
|
22628
|
-
|
|
22629
|
-
|
|
22630
|
-
|
|
22631
|
-
|
|
22632
|
-
|
|
22633
|
-
|
|
22634
|
-
|
|
22635
|
-
|
|
22636
|
-
|
|
22637
|
-
|
|
22638
|
-
|
|
22639
|
-
|
|
22640
|
-
|
|
22641
|
-
|
|
22904
|
+
/**
|
|
22905
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions](api)
|
|
22906
|
+
*
|
|
22907
|
+
* Query user subscriptions.
|
|
22908
|
+
*
|
|
22909
|
+
* Returns: paginated subscription
|
|
22910
|
+
*/
|
|
22911
|
+
this.getUserSubscriptions = ({ userId, queryParams }) => {
|
|
22912
|
+
return this.newInstance().fetchNsUsersByUseridSubscriptions(userId, queryParams);
|
|
22913
|
+
};
|
|
22914
|
+
/**
|
|
22915
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}](api)
|
|
22916
|
+
*
|
|
22917
|
+
* Get user subscription.
|
|
22918
|
+
*
|
|
22919
|
+
* Returns: subscription
|
|
22920
|
+
*/
|
|
22921
|
+
this.getUserSubscriptionBySubscriptionId = ({ userId, subscriptionId }) => {
|
|
22922
|
+
return this.newInstance().fetchNsUsersByUseridSubscriptionsBySubscriptionid(userId, subscriptionId);
|
|
22923
|
+
};
|
|
22924
|
+
/**
|
|
22925
|
+
* POST [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions](api)
|
|
22926
|
+
*
|
|
22927
|
+
* Subscribe a subscription. Support both real and virtual payment. Need go through payment flow using the paymentOrderNo if paymentFlowRequired true.
|
|
22928
|
+
* __ACTIVE USER subscription can't do subscribe again.__
|
|
22929
|
+
* __The next billing date will be X(default 4) hours before the current period ends if correctly subscribed.__
|
|
22930
|
+
* User with permission SANDBOX will create sandbox subscription that not real paid.
|
|
22931
|
+
*
|
|
22932
|
+
* Returns: created subscription
|
|
22933
|
+
*/
|
|
22934
|
+
this.createSubscription = ({ userId, data }) => {
|
|
22935
|
+
return this.newInstance().postNsUsersByUseridSubscriptions(userId, data);
|
|
22936
|
+
};
|
|
22937
|
+
/**
|
|
22938
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}/history](api)
|
|
22939
|
+
*
|
|
22940
|
+
* Get user subscription billing histories.
|
|
22941
|
+
*
|
|
22942
|
+
* Returns: paginated subscription history
|
|
22943
|
+
*/
|
|
22944
|
+
this.getUserSubscriptionBillingHistory = ({ userId, subscriptionId, queryParams }) => {
|
|
22945
|
+
return this.newInstance().fetchNsUsersByUseridSubscriptionsBySubscriptionidHistory(userId, subscriptionId, queryParams);
|
|
22946
|
+
};
|
|
22947
|
+
/**
|
|
22948
|
+
* PUT [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}/billingAccount](api)
|
|
22949
|
+
*
|
|
22950
|
+
* Request to change a subscription billing account, this will guide user to payment station.
|
|
22951
|
+
* The actual change will happen at the 0 payment notification successfully handled.
|
|
22952
|
+
* Only ACTIVE USER subscription with real currency billing account can be changed.
|
|
22953
|
+
*
|
|
22954
|
+
* Returns: updated subscription
|
|
22955
|
+
*/
|
|
22956
|
+
this.updateUserSubscriptionPaymentMethod = ({ userId, subscriptionId }) => {
|
|
22957
|
+
return this.newInstance().putNsUsersByUseridSubscriptionsBySubscriptionidBillingAccount(userId, subscriptionId);
|
|
22958
|
+
};
|
|
22959
|
+
/**
|
|
22960
|
+
* PUT [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}/cancel](api)
|
|
22961
|
+
*
|
|
22962
|
+
* Cancel a subscription, only ACTIVE subscription can be cancelled.
|
|
22963
|
+
* __Ensure successfully cancel, recommend at least 1 day before current period ends, otherwise it may be charging or charged.__
|
|
22964
|
+
* Set immediate true, the subscription will be terminated immediately, otherwise till the end of current billing cycle.
|
|
22965
|
+
*
|
|
22966
|
+
* Returns: cancelled subscription
|
|
22967
|
+
*/
|
|
22968
|
+
this.cancelUserSubscription = ({ userId, subscriptionId, data }) => {
|
|
22969
|
+
return this.newInstance().putNsUsersByUseridSubscriptionsBySubscriptionidCancel(userId, subscriptionId, data);
|
|
22970
|
+
};
|
|
22642
22971
|
}
|
|
22643
22972
|
newInstance() {
|
|
22644
22973
|
return new Subscription$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -22805,9 +23134,12 @@ class WalletApi {
|
|
|
22805
23134
|
this.namespace = namespace;
|
|
22806
23135
|
this.cache = cache;
|
|
22807
23136
|
/**
|
|
23137
|
+
* GET [/platform/public/namespaces/{namespace}/users/me/wallets/{currencyCode}](api)
|
|
23138
|
+
*
|
|
22808
23139
|
* get my wallet by currency code and namespace.
|
|
22809
23140
|
*
|
|
22810
23141
|
* Returns: wallet info
|
|
23142
|
+
*
|
|
22811
23143
|
* Path's namespace:
|
|
22812
23144
|
* - can be filled with __publisher namespace__ in order to get __publisher user wallet__
|
|
22813
23145
|
* - can be filled with __game namespace__ in order to get __game user wallet__
|
|
@@ -22816,7 +23148,10 @@ class WalletApi {
|
|
|
22816
23148
|
return this.newInstance().fetchNsUsersMeWalletsByCurrencycode(currencyCode);
|
|
22817
23149
|
};
|
|
22818
23150
|
/**
|
|
23151
|
+
* GET [/platform/public/namespaces/{namespace}/users/{userId}/wallets/{currencyCode}](api)
|
|
23152
|
+
*
|
|
22819
23153
|
* Get a wallet by currency code.
|
|
23154
|
+
*
|
|
22820
23155
|
* Returns: wallet info
|
|
22821
23156
|
*/
|
|
22822
23157
|
this.getWalletByUserId = (userId, currencyCode) => {
|
|
@@ -22824,6 +23159,7 @@ class WalletApi {
|
|
|
22824
23159
|
};
|
|
22825
23160
|
/**
|
|
22826
23161
|
* get a map of wallet represented by its currency code
|
|
23162
|
+
* @internal
|
|
22827
23163
|
*/
|
|
22828
23164
|
this.getWalletMap = async ({ userId, currencyCodes }) => {
|
|
22829
23165
|
try {
|
|
@@ -23014,7 +23350,63 @@ const injectErrorInterceptors = (baseUrl, onUserEligibilityChange, onError) => {
|
|
|
23014
23350
|
var version$1="x.y.z";var build$1="x.y.z";var timestamp="x.y.z";var buildInfo = {version:version$1,build:build$1,timestamp:timestamp};
|
|
23015
23351
|
|
|
23016
23352
|
/*
|
|
23017
|
-
* Copyright (c)
|
|
23353
|
+
* Copyright (c) 2023 AccelByte Inc. All Rights Reserved
|
|
23354
|
+
* This is licensed software from AccelByte Inc, for limitations
|
|
23355
|
+
* and restrictions contact your company contract manager.
|
|
23356
|
+
*/
|
|
23357
|
+
var BasicVersion = { name: 'justice-basic-service', version: '2.6.0', buildDate: '2023-02-21T19:51:38.655Z' };
|
|
23358
|
+
|
|
23359
|
+
/*
|
|
23360
|
+
* Copyright (c) 2023 AccelByte Inc. All Rights Reserved
|
|
23361
|
+
* This is licensed software from AccelByte Inc, for limitations
|
|
23362
|
+
* and restrictions contact your company contract manager.
|
|
23363
|
+
*/
|
|
23364
|
+
var BuildinfoVersion = { name: 'justice-buildinfo-service', version: '3.28.2', buildDate: '2023-02-21T19:51:38.678Z' };
|
|
23365
|
+
|
|
23366
|
+
/*
|
|
23367
|
+
* Copyright (c) 2023 AccelByte Inc. All Rights Reserved
|
|
23368
|
+
* This is licensed software from AccelByte Inc, for limitations
|
|
23369
|
+
* and restrictions contact your company contract manager.
|
|
23370
|
+
*/
|
|
23371
|
+
var EventVersion = { name: 'justice-event-log-service', version: undefined, buildDate: '2023-02-21T19:51:38.687Z' };
|
|
23372
|
+
|
|
23373
|
+
/*
|
|
23374
|
+
* Copyright (c) 2023 AccelByte Inc. All Rights Reserved
|
|
23375
|
+
* This is licensed software from AccelByte Inc, for limitations
|
|
23376
|
+
* and restrictions contact your company contract manager.
|
|
23377
|
+
*/
|
|
23378
|
+
var GdprVersion = { name: 'justice-gdpr-service', version: '1.19.1', buildDate: '2023-02-21T19:51:38.692Z' };
|
|
23379
|
+
|
|
23380
|
+
/*
|
|
23381
|
+
* Copyright (c) 2023 AccelByte Inc. All Rights Reserved
|
|
23382
|
+
* This is licensed software from AccelByte Inc, for limitations
|
|
23383
|
+
* and restrictions contact your company contract manager.
|
|
23384
|
+
*/
|
|
23385
|
+
var IamVersion = { name: 'justice-iam-service', version: '5.28.0', buildDate: '2023-02-21T19:51:38.699Z' };
|
|
23386
|
+
|
|
23387
|
+
/*
|
|
23388
|
+
* Copyright (c) 2023 AccelByte Inc. All Rights Reserved
|
|
23389
|
+
* This is licensed software from AccelByte Inc, for limitations
|
|
23390
|
+
* and restrictions contact your company contract manager.
|
|
23391
|
+
*/
|
|
23392
|
+
var LegalVersion = { name: 'justice-legal-service', version: '1.27.0', buildDate: '2023-02-21T19:51:38.669Z' };
|
|
23393
|
+
|
|
23394
|
+
/*
|
|
23395
|
+
* Copyright (c) 2023 AccelByte Inc. All Rights Reserved
|
|
23396
|
+
* This is licensed software from AccelByte Inc, for limitations
|
|
23397
|
+
* and restrictions contact your company contract manager.
|
|
23398
|
+
*/
|
|
23399
|
+
var OdinConfigVersion = { name: 'config-service-app', version: 'dev', buildDate: '2023-02-21T19:51:38.691Z' };
|
|
23400
|
+
|
|
23401
|
+
/*
|
|
23402
|
+
* Copyright (c) 2023 AccelByte Inc. All Rights Reserved
|
|
23403
|
+
* This is licensed software from AccelByte Inc, for limitations
|
|
23404
|
+
* and restrictions contact your company contract manager.
|
|
23405
|
+
*/
|
|
23406
|
+
var PlatformVersion = { name: 'justice-platform-service', version: '4.24.0', buildDate: '2023-02-21T19:51:38.742Z' };
|
|
23407
|
+
|
|
23408
|
+
/*
|
|
23409
|
+
* Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
|
|
23018
23410
|
* This is licensed software from AccelByte Inc, for limitations
|
|
23019
23411
|
* and restrictions contact your company contract manager.
|
|
23020
23412
|
*/
|
|
@@ -23091,18 +23483,21 @@ class AccelbyteSDKFactory {
|
|
|
23091
23483
|
OAuth: (overrides) => ApiFactory.oauthApi(this.config, this.options, this.options.namespace, this.override(overrides)),
|
|
23092
23484
|
InputValidation: (overrides) => ApiFactory.inputValidationApi(this.config, this.options.namespace, this.override(overrides)),
|
|
23093
23485
|
ThirdPartyCredential: (overrides) => ApiFactory.thirdPartyCredentialApi(this.config, this.options.namespace, this.override(overrides)),
|
|
23094
|
-
TwoFA: (overrides) => ApiFactory.twoFA(this.config, this.options.namespace, this.override(overrides))
|
|
23486
|
+
TwoFA: (overrides) => ApiFactory.twoFA(this.config, this.options.namespace, this.override(overrides)),
|
|
23487
|
+
version: IamVersion
|
|
23095
23488
|
},
|
|
23096
23489
|
BuildInfo: {
|
|
23097
23490
|
Downloader: (overrides) => ApiFactory.downloaderApi(this.config, this.options.namespace, this.override(overrides)),
|
|
23098
23491
|
Caching: (overrides) => ApiFactory.cachingApi(this.config, this.options.namespace, this.override(overrides)),
|
|
23099
|
-
DLC: (overrides) => ApiFactory.dlcApi(this.config, this.options.namespace, this.override(overrides))
|
|
23492
|
+
DLC: (overrides) => ApiFactory.dlcApi(this.config, this.options.namespace, this.override(overrides)),
|
|
23493
|
+
version: BuildinfoVersion
|
|
23100
23494
|
},
|
|
23101
23495
|
Basic: {
|
|
23102
23496
|
Misc: (overrides) => ApiFactory.miscApi(this.config, this.options.namespace, this.override(overrides)),
|
|
23103
23497
|
UserProfile: (overrides) => ApiFactory.userProfileApi(this.config, this.options.namespace, this.override(overrides)),
|
|
23104
23498
|
FileUpload: (overrides) => ApiFactory.fileUploadApi(this.config, this.options.namespace, this.override(overrides)),
|
|
23105
|
-
Namespace: (overrides) => ApiFactory.namespaceApi(this.config, this.options.namespace, this.override(overrides))
|
|
23499
|
+
Namespace: (overrides) => ApiFactory.namespaceApi(this.config, this.options.namespace, this.override(overrides)),
|
|
23500
|
+
version: BasicVersion
|
|
23106
23501
|
},
|
|
23107
23502
|
Platform: {
|
|
23108
23503
|
Currency: (overrides) => ApiFactory.currencyApi(this.config, this.options.namespace, this.override(overrides)),
|
|
@@ -23112,23 +23507,37 @@ class AccelbyteSDKFactory {
|
|
|
23112
23507
|
Order: (overrides) => ApiFactory.orderApi(this.config, this.options.namespace, this.override(overrides)),
|
|
23113
23508
|
Payment: (overrides) => ApiFactory.paymentApi(this.config, this.options.namespace, this.override(overrides)),
|
|
23114
23509
|
Subscription: (overrides) => ApiFactory.subscriptionApi(this.config, this.options.namespace, this.override(overrides)),
|
|
23115
|
-
Wallet: (overrides) => ApiFactory.walletApi(this.config, this.options.namespace, this.override(overrides))
|
|
23510
|
+
Wallet: (overrides) => ApiFactory.walletApi(this.config, this.options.namespace, this.override(overrides)),
|
|
23511
|
+
version: PlatformVersion
|
|
23116
23512
|
},
|
|
23117
23513
|
Legal: {
|
|
23118
23514
|
Eligibilities: (overrides) => ApiFactory.eligibillitiesApi(this.config, this.options.namespace, this.override(overrides)),
|
|
23119
23515
|
Agreement: (overrides) => ApiFactory.agreementApi(this.config, this.options.namespace, this.override(overrides)),
|
|
23120
23516
|
Policies: (overrides) => ApiFactory.policiesApi(this.config, this.options.namespace, this.override(overrides)),
|
|
23121
|
-
LocalizedPolicyVersions: (overrides) => ApiFactory.localizedPolicyVersionsApi(this.config, this.options.namespace, this.override(overrides))
|
|
23517
|
+
LocalizedPolicyVersions: (overrides) => ApiFactory.localizedPolicyVersionsApi(this.config, this.options.namespace, this.override(overrides)),
|
|
23518
|
+
version: LegalVersion
|
|
23122
23519
|
},
|
|
23123
23520
|
GDPR: {
|
|
23124
23521
|
DataDeletion: (overrides) => ApiFactory.dataDeletionApi(this.config, this.options.namespace, this.override(overrides)),
|
|
23125
|
-
DataRetrieval: (overrides) => ApiFactory.dataRetrievalApi(this.config, this.options.namespace, this.override(overrides))
|
|
23522
|
+
DataRetrieval: (overrides) => ApiFactory.dataRetrievalApi(this.config, this.options.namespace, this.override(overrides)),
|
|
23523
|
+
version: GdprVersion
|
|
23126
23524
|
},
|
|
23127
23525
|
Event: {
|
|
23128
|
-
Event: (overrides) => ApiFactory.eventApi(this.config, this.options.namespace, this.override(overrides))
|
|
23526
|
+
Event: (overrides) => ApiFactory.eventApi(this.config, this.options.namespace, this.override(overrides)),
|
|
23527
|
+
version: EventVersion
|
|
23129
23528
|
},
|
|
23130
23529
|
AccelbyteConfig: {
|
|
23131
|
-
PublicTemplate: (overrides) => ApiFactory.publicTemplateApi(this.config, this.options.namespace, this.override(overrides))
|
|
23530
|
+
PublicTemplate: (overrides) => ApiFactory.publicTemplateApi(this.config, this.options.namespace, this.override(overrides)),
|
|
23531
|
+
version: OdinConfigVersion
|
|
23532
|
+
},
|
|
23533
|
+
version: () => {
|
|
23534
|
+
console.log('IamVersion: ', IamVersion.version);
|
|
23535
|
+
console.log('BuildinfoVersion: ', BuildinfoVersion.version);
|
|
23536
|
+
console.log('BasicVersion: ', BasicVersion.version);
|
|
23537
|
+
console.log('PlatformVersion: ', PlatformVersion.version);
|
|
23538
|
+
console.log('LegalVersion: ', LegalVersion.version);
|
|
23539
|
+
console.log('GdprVersion: ', GdprVersion.version);
|
|
23540
|
+
console.log('EventVersion: ', EventVersion.version);
|
|
23132
23541
|
}
|
|
23133
23542
|
};
|
|
23134
23543
|
}
|
|
@@ -24279,7 +24688,7 @@ const InviteUserRequestV4 = mod.object({
|
|
|
24279
24688
|
assignedNamespaces: mod.array(mod.string()),
|
|
24280
24689
|
emailAddresses: mod.array(mod.string()),
|
|
24281
24690
|
isAdmin: mod.boolean(),
|
|
24282
|
-
namespace: mod.string(),
|
|
24691
|
+
namespace: mod.string().nullish(),
|
|
24283
24692
|
roleId: mod.string()
|
|
24284
24693
|
});
|
|
24285
24694
|
|
|
@@ -24807,7 +25216,7 @@ const ThirdPartyLoginPlatformCredentialRequest = mod.object({
|
|
|
24807
25216
|
ACSURL: mod.string(),
|
|
24808
25217
|
AWSCognitoRegion: mod.string(),
|
|
24809
25218
|
AWSCognitoUserPool: mod.string(),
|
|
24810
|
-
AllowedClients: mod.array(mod.string()),
|
|
25219
|
+
AllowedClients: mod.array(mod.string()).nullish(),
|
|
24811
25220
|
AppId: mod.string(),
|
|
24812
25221
|
AuthorizationEndpoint: mod.string(),
|
|
24813
25222
|
ClientId: mod.string(),
|
|
@@ -24826,7 +25235,7 @@ const ThirdPartyLoginPlatformCredentialRequest = mod.object({
|
|
|
24826
25235
|
Secret: mod.string(),
|
|
24827
25236
|
TeamID: mod.string(),
|
|
24828
25237
|
TokenAuthenticationType: mod.string(),
|
|
24829
|
-
TokenClaimsMapping: mod.record(mod.string()),
|
|
25238
|
+
TokenClaimsMapping: mod.record(mod.string()).nullish(),
|
|
24830
25239
|
TokenEndpoint: mod.string(),
|
|
24831
25240
|
UserInfoEndpoint: mod.string(),
|
|
24832
25241
|
UserInfoHTTPMethod: mod.string(),
|
|
@@ -40170,5 +40579,5 @@ CodeGenUtil.getFormUrlEncodedData = (data) => {
|
|
|
40170
40579
|
return formPayload;
|
|
40171
40580
|
};
|
|
40172
40581
|
|
|
40173
|
-
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 };
|
|
40582
|
+
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, BuildAvailability, BuildAvailabilityArray, BuildDeletionData, BuildIdManifest, BuildIdVersion, BuildInfoPii, BuildManifest, BulkBanCreateRequestV3, BulkOperationResult, BulkUnbanCreateRequestV3, BundledItemInfo, Caching$, CalculateDiffCacheRequest, CampaignCreate, CampaignDynamicInfo, CampaignInfo, CampaignPagingSlicedResult, CampaignUpdate, CancelRequest, CatalogChangeInfo, CatalogChangePagingSlicedResult, CatalogChangeStatistics, Category$, CategoryCreate, CategoryInfo, CategoryInfoArray, CategoryUpdate, CheckValidUserIdRequestV4, CheckoutConfig, CleanerConfigObject, ClientCreateRequest, ClientCreationResponse, ClientCreationV3Request, ClientPayload, ClientPermission, ClientPermissionV3, ClientPermissions, ClientPermissionsV3, ClientRequestParameter, ClientResponse, ClientUpdateRequest, ClientUpdateSecretRequest, ClientUpdateV3Request, ClientV3Response, ClientsV3Response, CodeCreate, CodeCreateResult, CodeGenUtil, CodeInfo, CodeInfoPagingSlicedResult, ColorConfig, ColorConfigs, CommitDiffCacheRequest, CommitMultipartUploadRequest, CompanyLogo, CompanyLogoConfig, CompatibilityObject, ConditionGroup, ConditionGroupValidateResult, ConditionMatchResult, Config, Configs, ConfigurationInfo, ConfigurationUpdate, ConflictedUserPlatformAccounts, ConsumeItem, Country, CountryAgeRestriction, CountryAgeRestrictionRequest, CountryAgeRestrictionV3Request, CountryGroupObject, CountryLocationResponse, CountryObject, CountryObjectArray, CountryV3Response, CreateBasePolicyRequest, CreateBasePolicyRequestV2, CreateBasePolicyResponse, CreateDependencyLinkRequest, CreateDiffCacheRequest, CreateJusticeUserResponse, CreateLocalizedPolicyVersionRequest, CreateLocalizedPolicyVersionResponse, CreatePolicyVersionRequest, CreatePolicyVersionResponse, CreateTestUserRequestV4, CreateTestUserResponseV4, CreateTestUsersRequestV4, CreateTestUsersResponseV4, CreateUserRequestV4, CreateUserResponseV4, CreditRequest, CreditRevocation, CreditSummary, Currency$, CurrencyConfig, CurrencyCreate, CurrencyInfo, CurrencyInfoArray, CurrencySummary, CurrencyUpdate, CurrencyWallet, Customization, DISCOVERY_TEMPLATE_NAME, DataDeletion$, DataRetrieval$, DataRetrievalResponse, DebitByCurrencyCodeRequest, DebitRequest, DecodeError, DefaultLaunchProfile, DeleteRewardConditionRequest, DeletionData, DeletionStatus, DependencyObject, Description, DesktopChecker, DetailedWalletTransactionInfo, DetailedWalletTransactionPagingSlicedResult, DeviceBanRequestV4, DeviceBanResponseV4, DeviceBanUpdateRequestV4, DeviceBannedResponseV4, DeviceBansResponseV4, DeviceIdDecryptResponseV4, DeviceResponseV4, DeviceTypeResponseV4, DeviceTypesResponseV4, DeviceUserResponseV4, DeviceUsersResponseV4, DevicesResponseV4, DiffCacheObject, DiffPatchRequest, DiffStatusReport, DifferentialBuildManifest, DifferentialFileManifest, DifferentialUploadSummary, DisableUserRequest, DiscoveryConfigData, DisplayedPolicy, DistinctLinkedPlatformV3, DistinctPlatformResponseV3, Dlc$, DlcItem, DlcItemConfigInfo, DlcItemConfigUpdate, DlcRecord, Downloader$, DownloaderApi, Drm$, DurableEntitlementRevocationConfig, ERROR_CODE_LINK_DELETION_ACCOUNT, ERROR_CODE_TOKEN_EXPIRED, ERROR_LINK_ANOTHER_3RD_PARTY_ACCOUNT, ERROR_USER_BANNED, Eligibilities$, EligibleUser, EmailUpdateRequestV4, EnabledFactorsResponseV4, EncryptedIdentity, Entitlement$, EntitlementDecrement, EntitlementDecrementResult, EntitlementGrant, EntitlementHistoryInfo, EntitlementInfo, EntitlementLootBoxReward, EntitlementOwnership, EntitlementOwnershipArray, EntitlementPagingSlicedResult, EntitlementRevocation, EntitlementRevocationConfig, EntitlementSummary, EntitlementUpdate, EpicGamesDlcSyncRequest, EpicGamesIapConfigInfo, EpicGamesIapConfigRequest, EpicGamesReconcileRequest, EpicGamesReconcileResult, EpicGamesReconcileResultArray, Equ8Config, Error$1 as Error, ErrorEntity, ErrorResponse, ErrorResponseWithConflictedUserPlatformAccounts, Event, EventId, EventLevel, EventPayload, EventRegistry, EventResponse, EventResponseV2, EventType, EventV2, EventV2$, ExportStoreRequest, ExtensionFulfillmentSummary, ExternalPaymentOrderCreate, FailedBanUnbanUserV3, FieldValidationError, FileDiffingStatus, FileManifest, FileUpload$, FileUploadUrlInfo, FilterJson, FixedPeriodRotationConfig, FontConfigs, ForgotPasswordRequestV3, FulfillCodeRequest, Fulfillment$, FulfillmentError, FulfillmentHistoryInfo, FulfillmentHistoryPagingSlicedResult, FulfillmentItem, FulfillmentRequest, FulfillmentResult, FulfillmentScriptContext, FulfillmentScriptCreate, FulfillmentScriptEvalTestRequest, FulfillmentScriptEvalTestResult, FulfillmentScriptInfo, FulfillmentScriptUpdate, FullAppInfo, FullCategoryInfo, FullItemInfo, FullItemPagingSlicedResult, FullSectionInfo, FullViewInfo, GameTokenCodeResponse, GenericQueryPayload, GetAdminUsersResponse, GetLinkHeadlessAccountConflictResponse, GetPublisherUserResponse, GetPublisherUserV3Response, GetUserBanV3Response, GetUserJusticePlatformAccountResponse, GetUserMapping, GetUserMappingV3, GetUserMappingV3Array, GetUsersResponseWithPaginationV3, GlobalStyleConfig, GoogleIapConfigInfo, GoogleIapConfigRequest, GoogleIapReceipt, GoogleReceiptResolveResult, GrantSubscriptionDaysRequest, HierarchicalCategoryInfo, HierarchicalCategoryInfoArray, IamHelper, Iap$, IapConsumeHistoryInfo, IapConsumeHistoryPagingSlicedResult, IapItemConfigInfo, IapItemConfigUpdate, IapItemEntry, IapOrderInfo, IapOrderPagingSlicedResult, Image, ImportErrorDetails, ImportStoreError, ImportStoreItemInfo, ImportStoreResult, InGameItemSync, InputValidationData, InputValidationDataPublic, InputValidationDescription, InputValidationHelper, InputValidationUpdatePayload, InputValidations$, InputValidationsApi, InputValidationsPublicResponse, InputValidationsResponse, InviteUserRequestV3, InviteUserRequestV4, InviteUserResponseV3, InvoiceCurrencySummary, InvoiceSummary, Item$, ItemAcquireRequest, ItemAcquireResult, ItemCreate, ItemDynamicDataInfo, ItemId, ItemInfo, ItemInfoArray, ItemNaming, ItemPagingSlicedResult, ItemPurchaseConditionValidateRequest, ItemPurchaseConditionValidateResult, ItemPurchaseConditionValidateResultArray, ItemReturnRequest, ItemRevocation, ItemSnapshot, ItemTypeConfigCreate, ItemTypeConfigInfo, ItemTypeConfigUpdate, ItemUpdate, JwkKey, JwkSet, JwtBanV3, KeyGroupCreate, KeyGroupDynamicInfo, KeyGroupInfo, KeyGroupPagingSlicedResult, KeyGroupUpdate, KeyInfo, KeyPagingSliceResult, LauncherPageConfig, LegalHelper, LegalPolicyType, LegalReadinessStatusResponse, LinkHeadlessAccountRequest, LinkPlatformAccountRequest, LinkPlatformAccountWithProgressionRequest, LinkRequest, LinkingHistoryResponseWithPaginationV3, ListAssignedUsersV4Response, ListBulkUserBanResponseV3, ListBulkUserResponse, ListDeletionDataResponse, ListEmailAddressRequest, ListPersonalDataResponse, ListRoleV4Response, ListUserInformationResult, ListUserResponseV3, ListUserRolesV4Response, ListUsersWithPlatformAccountsResponse, ListValidUserIdResponseV4, ListViewInfo, Localization, LocalizedPolicyVersionObject, LocalizedPolicyVersions$, LocalizedPolicyVersionsWithNamespace$, LogLevel, LoginErrorCancelled, LoginErrorExpired, LoginErrorParam, LoginErrorUnknown, LoginErrorUnmatchedState, LoginHistoriesResponse, LogoVariantConfig, LootBoxConfig, LootBoxReward, MFADataResponse, MFA_DATA_STORAGE_KEY, MachineIdentity, Misc$, MiscApi, MockIapReceipt, ModelCountry, MultipartUploadSummary, MultipartUploadUrl, MultipartUploadedPart, MultipleAgentType, MultipleEventId, MultipleEventLevel, MultipleEventType, MultipleUx, Namespace$, NamespaceCreate, NamespaceInfo, NamespaceInfoArray, NamespacePublisherInfo, NamespaceRole, NamespaceRoleRequest, NamespaceStatusUpdate, NamespaceUpdate, NetflixCertificates, Network, NotificationProcessResult, OAuth20$, OAuth20Extension$, ObsoleteFileManifest, OneTimeLinkingCodeResponse, OneTimeLinkingCodeValidationResponse, OptionBoxConfig, Order, Order$, OrderCreate, OrderCreationOptions, OrderGrantInfo, OrderHistoryInfo, OrderHistoryInfoArray, OrderInfo, OrderPagingResult, OrderPagingSlicedResult, OrderRefundCreate, OrderStatistics, OrderStatus, OrderSummary, OrderSyncResult, OrderUpdate, Ownership, OwnershipToken, PLATFORM, PageConfig, PagedRetrieveUserAcceptedAgreementResponse, Pagination$1 as Pagination, PaginationV3, Paging$1 as Paging, PayPalConfig, PaymentAccount, PaymentAccount$, PaymentAccountArray, PaymentApi, PaymentCallbackConfigInfo, PaymentCallbackConfigUpdate, PaymentMerchantConfigInfo, PaymentMethod, PaymentMethodArray, PaymentNotificationInfo, PaymentNotificationPagingSlicedResult, PaymentOrder, PaymentOrderChargeRequest, PaymentOrderChargeStatus, PaymentOrderCreate, PaymentOrderCreateResult, PaymentOrderDetails, PaymentOrderInfo, PaymentOrderNotifySimulation, PaymentOrderPagingSlicedResult, PaymentOrderPaidResult, PaymentOrderRefund, PaymentOrderRefundResult, PaymentOrderSyncResult, PaymentProcessResult, PaymentProviderConfigEdit, PaymentProviderConfigInfo, PaymentProviderConfigPagingSlicedResult, PaymentRequest, PaymentStation$, PaymentTaxConfigEdit, PaymentTaxConfigInfo, PaymentToken, PaymentUrl, PaymentUrlCreate, Permission, PermissionDeleteRequest, PermissionV3, Permissions, PermissionsV3, PersonalData, PingResultResponse, PlatformAccount, PlatformDlcConfigInfo, PlatformDlcConfigUpdate, PlatformDlcEntry, PlatformDomainDeleteRequest, PlatformDomainResponse, PlatformDomainUpdateRequest, PlatformReward, PlatformRewardCurrency, PlatformRewardItem, PlatformSubscribeRequest, PlatformUserIdRequest, PlatformUserInformation, PlatformUserInformationV3, PlatformWallet, PlatformWalletConfigInfo, PlatformWalletConfigUpdate, PlayStationDlcSyncMultiServiceLabelsRequest, PlayStationDlcSyncRequest, PlayStationIapConfigInfo, PlayStationMultiServiceLabelsReconcileRequest, PlayStationReconcileRequest, PlayStationReconcileResult, PlayStationReconcileResultArray, PlayerPortalConfigData, PlayerPortalFeatureFlagsConfig, PlayerPortalFooterConfig, PlayerPortalFooterConfigLink, PlayerPortalFooterIDs, PlayerPortalHomePageKeys, PlayerPortalHomepageConfig, PlayerPortalHomepageKeys, PlaystationIapConfigRequest, Policies$, PoliciesApi, PolicyObject, PolicyVersionObject, PolicyVersionWithLocalizedVersionObject, PopulatedItemInfo, PreCheckUploadRequest, Predicate, PredicateValidateResult, PublicKeyPresignedUrl, PublicThirdPartyPlatformInfo, PublicThirdPartyPlatformInfoArray, PublicUserInformationResponseV3, PublicUserInformationV3, PublicUserResponse, PublicUserResponseV3, PublicUsersResponse, PurchaseCondition, PurchaseConditionUpdate, PurchasedItemCount, ReadyPlayerMe, Recurring, RecurringChargeResult, RedeemHistoryInfo, RedeemHistoryPagingSlicedResult, RedeemRequest, RedeemResult, RedeemableItem, RegionDataItem, RegisteredDomain, ReleaseNoteDto, ReleaseNoteLocalizationDto, ReleaseNoteManifest, RemoveUserRoleV4Request, RequestDeleteResponse, RequestHistory, Requirement, ResetPasswordRequest, ResetPasswordRequestV3, RestErrorResponse, RetrieveAcceptedAgreementResponse, RetrieveAcceptedAgreementResponseArray, RetrieveBaseGameResponse, RetrieveBaseGameResponseArray, RetrieveBasePolicyResponse, RetrieveCountryGroupResponse, RetrieveDependencyCompatibilityResponse, RetrieveDependencyLinkResponse, RetrieveDiffCacheResponse, RetrieveLatestDlcResponse, RetrieveLatestDlcResponseArray, RetrieveLocalizedPolicyVersionPublicResponse, RetrieveLocalizedPolicyVersionResponse, RetrievePolicyPublicResponse, RetrievePolicyPublicResponseArray, RetrievePolicyResponse, RetrievePolicyTypeResponse, RetrievePolicyVersionResponse, RetrieveTimeResponse, RetrieveUserAcceptedAgreementResponse, RetrieveUserEligibilitiesIndirectResponse, RetrieveUserEligibilitiesResponse, RetrieveUserEligibilitiesResponseArray, RetrieveUserInfoCacheStatusResponse, RevocationConfigInfo, RevocationConfigUpdate, RevocationHistoryInfo, RevocationHistoryPagingSlicedResult, RevocationList, RevocationRequest, RevocationResult, RevokeCurrency, RevokeEntitlement, RevokeEntry, RevokeItem, RevokeItemSummary, RevokeResult, RevokeUserV4Request, Reward$, RewardCondition, RewardCreate, RewardInfo, RewardItem, RewardPagingSlicedResult, RewardUpdate, RewardsRequest, Role, RoleAdminStatusResponse, RoleAdminStatusResponseV3, RoleCreateRequest, RoleCreateV3Request, RoleManager, RoleManagerV3, RoleManagersRequest, RoleManagersRequestV3, RoleManagersResponse, RoleManagersResponsesV3, RoleMember, RoleMemberV3, RoleMembersRequest, RoleMembersRequestV3, RoleMembersResponse, RoleMembersResponseV3, RoleNamesResponseV3, RoleResponse, RoleResponseV3, RoleResponseWithManagers, RoleResponseWithManagersAndPaginationV3, RoleResponseWithManagersV3, RoleUpdateRequest, RoleUpdateRequestV3, RoleV3, RoleV4Request, RoleV4Response, Roles$, SdkCache, SdkDevice, SearchUsersByPlatformIdResponse, SearchUsersResponse, SearchUsersResponseWithPaginationV3, Section$, SectionCreate, SectionInfo, SectionInfoArray, SectionItem, SectionPagingSlicedResult, SectionUpdate, SendRegisterVerificationCodeRequest, SendVerificationCodeRequest, SendVerificationCodeRequestV3, SendVerificationLinkRequest, ServicePluginConfigInfo, ServicePluginConfigUpdate, SimpleLatestBaseGame, SimpleUserPlatformInfoV3, Slide, SocialLinkConfig, Sso$, SsoPlatformCredentialRequest, SsoPlatformCredentialResponse, SsoSaml20$, StackableEntitlementInfo, StartMultipartUploadRequest, StaticConfigs$, SteamAchievementUpdateRequest, SteamDlcSyncRequest, SteamIapConfig, SteamIapConfigInfo, SteamIapConfigRequest, SteamSyncRequest, Store$, StoreBackupInfo, StoreCreate, StoreInfo, StoreInfoArray, StoreUpdate, StripeConfig, Subscribable, SubscribeRequest, Subscription$, SubscriptionActivityInfo, SubscriptionActivityPagingSlicedResult, SubscriptionChargeStatus, SubscriptionInfo, SubscriptionPagingSlicedResult, SubscriptionStatus, SubscriptionSummary, TWOFA_PAGE, TaxResult, Template, TemplateCompact, TemplateConfig, TemplateInfoConfig, Templates$, TestResult, ThirdPartyCredential$, ThirdPartyLoginPlatformCredentialRequest, ThirdPartyLoginPlatformCredentialResponse, TicketAcquireRequest, TicketAcquireResult, TicketBoothId, TicketDynamicInfo, TicketSaleDecrementRequest, TicketSaleIncrementRequest, TicketSaleIncrementResult, TimeLimitedBalance, TimedOwnership, TokenIntrospectResponse, TokenResponse, TokenResponseV3, TokenThirdPartyLinkStatusResponse, TokenThirdPartyResponse, TokenWithDeviceCookieResponseV3, TradeNotification, Transaction, TransactionAmountDetails, TwitchIapConfigInfo, TwitchIapConfigRequest, TwitchSyncRequest, UnlinkUserPlatformRequest, UpdateBasePolicyRequest, UpdateBasePolicyRequestV2, UpdateBasePolicyResponse, UpdateBuildMetadataRequest, UpdateCountryGroupRequest, UpdateLocalizedPolicyVersionRequest, UpdateLocalizedPolicyVersionResponse, UpdatePermissionScheduleRequest, UpdatePolicyRequest, UpdatePolicyVersionRequest, UpdatePolicyVersionResponse, UpdateUserDeletionStatusRequest, UpdateUserStatusRequest, UpgradeHeadlessAccountRequest, UpgradeHeadlessAccountRequestV4, UpgradeHeadlessAccountV3Request, UpgradeHeadlessAccountWithVerificationCodeRequest, UpgradeHeadlessAccountWithVerificationCodeRequestV3, UpgradeHeadlessAccountWithVerificationCodeRequestV4, UploadBuildManifest, UploadLocalizedPolicyVersionAttachmentResponse, UploadModeCheck, UploadPolicyVersionAttachmentRequest, UploadSummary, UrlHelper, UserAction$, UserActiveBanResponse, UserActiveBanResponseV3, UserActiveBanResponseV4, UserApi, UserAuthorizationApi, UserBan, UserBanRequest, UserBanResponse, UserBanResponseV3, UserBaseInfo, UserCreateFromInvitationRequestV3, UserCreateFromInvitationRequestV4, UserCreateRequest, UserCreateRequestV3, UserCreateResponse, UserCreateResponseV3, UserDataUrl, UserDeletionStatusResponse, UserDlc, UserIDsRequest, UserInfoResponse, UserInformation, UserInformationV3, UserInvitationV3, UserLastActivity, UserLinkedPlatform, UserLinkedPlatformV3, UserLinkedPlatformsResponseV3, UserLoginHistoryResponse, UserPasswordUpdateRequest, UserPasswordUpdateV3Request, UserPermissionsResponseV3, UserPermissionsResponseV4, UserPersonalData, UserPersonalDataResponse, UserPlatformInfo, UserPlatforms, UserProfile$, UserProfileAdmin, UserProfileApi, UserProfileBulkRequest, UserProfileCreate, UserProfileInfo, UserProfilePrivateCreate, UserProfilePrivateInfo, UserProfilePrivateUpdate, UserProfilePublicInfo, UserProfilePublicInfoArray, UserProfileStatusUpdate, UserProfileUpdate, UserReportRequest, UserResponse, UserResponseV3, UserResponseV4, UserRevocationListRecord, UserRolesV4Response, UserSearchByPlatformIdResult, UserSearchResult, UserUnbanCreateRequestV3, UserUpdateRequest, UserUpdateRequestV3, UserVerificationRequest, UserVerificationRequestV3, UserWithLinkedPlatformAccounts, UserWithPlatformAccounts, UserZipCode, UserZipCodeUpdate, Users$, UsersV4$, Utility$, Ux, V3ClientUpdateSecretRequest, VALIDATION_ERROR_CODE, ValidUserIdResponseV4, Validate, ValidateableInputField, Validation, ValidationConfig, ValidationDescription, ValidationDetail, ValidationDetailPublic, ValidationErrorEntity, VerificationCodeResponse, VerifyRegistrationCode, VersionChain, VersionNode, View$, ViewCreate, ViewInfo, ViewInfoArray, ViewUpdate, Wallet$, WalletInfo, WalletPagingSlicedResult, WalletRevocationConfig, WalletTransactionInfo, WalletTransactionPagingSlicedResult, WebLinkingResponse, WxPayConfigInfo, WxPayConfigRequest, XblAchievementUpdateRequest, XblDlcSyncRequest, XblIapConfigInfo, XblIapConfigRequest, XblReconcileRequest, XblReconcileResult, XblReconcileResultArray, XblUserAchievements, XsollaConfig, XsollaPaywallConfig, XsollaPaywallConfigRequest, ZsyncDiffRequest, ZsyncFileManifest, injectRequestInterceptors, injectResponseInterceptors };
|
|
40174
40583
|
//# sourceMappingURL=index.browser.es.js.map
|