@accelbyte/sdk 1.1.1 → 1.1.2
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/dist/cjs/node/index.cjs +26 -16
- package/dist/cjs/node/index.cjs.map +1 -1
- package/dist/es/browser/index.browser.js +26 -16
- package/dist/es/browser/index.browser.js.map +1 -1
- package/dist/es/node/index.node.js +26 -16
- package/dist/es/node/index.node.js.map +1 -1
- package/dist/index.d.ts +76 -59
- package/package.json +1 -1
package/dist/cjs/node/index.cjs
CHANGED
|
@@ -2146,10 +2146,10 @@ const TokenResponseV3 = zod.z.object({
|
|
|
2146
2146
|
permissions: zod.z.array(PermissionV3),
|
|
2147
2147
|
platform_id: zod.z.string().nullish(),
|
|
2148
2148
|
platform_user_id: zod.z.string().nullish(),
|
|
2149
|
-
refresh_expires_in: zod.z.number().int(),
|
|
2150
|
-
refresh_token: zod.z.string(),
|
|
2149
|
+
refresh_expires_in: zod.z.number().int().nullish(),
|
|
2150
|
+
refresh_token: zod.z.string().nullish(),
|
|
2151
2151
|
roles: zod.z.array(zod.z.string()).nullish(),
|
|
2152
|
-
scope: zod.z.string(),
|
|
2152
|
+
scope: zod.z.string().nullish(),
|
|
2153
2153
|
token_type: zod.z.string(),
|
|
2154
2154
|
user_id: zod.z.string(),
|
|
2155
2155
|
xuid: zod.z.string().nullish()
|
|
@@ -7264,6 +7264,7 @@ const ItemInfo = zod.z.object({
|
|
|
7264
7264
|
status: zod.z.enum(['ACTIVE', 'INACTIVE']),
|
|
7265
7265
|
listable: zod.z.boolean().nullish(),
|
|
7266
7266
|
purchasable: zod.z.boolean().nullish(),
|
|
7267
|
+
sectionExclusive: zod.z.boolean().nullish(),
|
|
7267
7268
|
itemType: zod.z.enum([
|
|
7268
7269
|
'APP',
|
|
7269
7270
|
'COINS',
|
|
@@ -7305,7 +7306,6 @@ const ItemInfo = zod.z.object({
|
|
|
7305
7306
|
fresh: zod.z.boolean().nullish(),
|
|
7306
7307
|
sellable: zod.z.boolean().nullish(),
|
|
7307
7308
|
saleConfig: SaleConfig.nullish(),
|
|
7308
|
-
sectionExclusive: zod.z.boolean().nullish(),
|
|
7309
7309
|
localExt: zod.z.record(zod.z.any()).nullish()
|
|
7310
7310
|
});
|
|
7311
7311
|
|
|
@@ -7392,6 +7392,7 @@ const BundledItemInfo = zod.z.object({
|
|
|
7392
7392
|
status: zod.z.enum(['ACTIVE', 'INACTIVE']),
|
|
7393
7393
|
listable: zod.z.boolean().nullish(),
|
|
7394
7394
|
purchasable: zod.z.boolean().nullish(),
|
|
7395
|
+
sectionExclusive: zod.z.boolean().nullish(),
|
|
7395
7396
|
itemType: zod.z.enum([
|
|
7396
7397
|
'APP',
|
|
7397
7398
|
'COINS',
|
|
@@ -7434,7 +7435,6 @@ const BundledItemInfo = zod.z.object({
|
|
|
7434
7435
|
sellable: zod.z.boolean().nullish(),
|
|
7435
7436
|
saleConfig: SaleConfig.nullish(),
|
|
7436
7437
|
bundledQty: zod.z.number().int().nullish(),
|
|
7437
|
-
sectionExclusive: zod.z.boolean().nullish(),
|
|
7438
7438
|
localExt: zod.z.record(zod.z.any()).nullish()
|
|
7439
7439
|
});
|
|
7440
7440
|
|
|
@@ -7462,6 +7462,7 @@ const PopulatedItemInfo = zod.z.object({
|
|
|
7462
7462
|
status: zod.z.enum(['ACTIVE', 'INACTIVE']),
|
|
7463
7463
|
listable: zod.z.boolean().nullish(),
|
|
7464
7464
|
purchasable: zod.z.boolean().nullish(),
|
|
7465
|
+
sectionExclusive: zod.z.boolean().nullish(),
|
|
7465
7466
|
itemType: zod.z.enum([
|
|
7466
7467
|
'APP',
|
|
7467
7468
|
'COINS',
|
|
@@ -7504,7 +7505,6 @@ const PopulatedItemInfo = zod.z.object({
|
|
|
7504
7505
|
sellable: zod.z.boolean().nullish(),
|
|
7505
7506
|
saleConfig: SaleConfig.nullish(),
|
|
7506
7507
|
items: zod.z.array(BundledItemInfo).nullish(),
|
|
7507
|
-
sectionExclusive: zod.z.boolean().nullish(),
|
|
7508
7508
|
localExt: zod.z.record(zod.z.any()).nullish()
|
|
7509
7509
|
});
|
|
7510
7510
|
|
|
@@ -10275,6 +10275,7 @@ const FullItemInfo = zod.z.object({
|
|
|
10275
10275
|
status: zod.z.enum(['ACTIVE', 'INACTIVE']),
|
|
10276
10276
|
listable: zod.z.boolean().nullish(),
|
|
10277
10277
|
purchasable: zod.z.boolean().nullish(),
|
|
10278
|
+
sectionExclusive: zod.z.boolean().nullish(),
|
|
10278
10279
|
itemType: zod.z.enum([
|
|
10279
10280
|
'APP',
|
|
10280
10281
|
'COINS',
|
|
@@ -10384,7 +10385,7 @@ const ItemUpdate = zod.z.object({
|
|
|
10384
10385
|
status: zod.z.enum(['ACTIVE', 'INACTIVE']).nullish(),
|
|
10385
10386
|
listable: zod.z.boolean().nullish(),
|
|
10386
10387
|
purchasable: zod.z.boolean().nullish(),
|
|
10387
|
-
|
|
10388
|
+
sectionExclusive: zod.z.boolean().nullish(),
|
|
10388
10389
|
sku: zod.z.string().nullish(),
|
|
10389
10390
|
regionData: zod.z.record(zod.z.array(RegionDataItem)).nullish(),
|
|
10390
10391
|
itemIds: zod.z.array(zod.z.string()).nullish(),
|
|
@@ -10463,7 +10464,7 @@ const ItemCreate = zod.z.object({
|
|
|
10463
10464
|
status: zod.z.enum(['ACTIVE', 'INACTIVE']),
|
|
10464
10465
|
listable: zod.z.boolean().nullish(),
|
|
10465
10466
|
purchasable: zod.z.boolean().nullish(),
|
|
10466
|
-
|
|
10467
|
+
sectionExclusive: zod.z.boolean().nullish(),
|
|
10467
10468
|
sku: zod.z.string().nullish(),
|
|
10468
10469
|
images: zod.z.array(Image).nullish(),
|
|
10469
10470
|
thumbnailUrl: zod.z.string().nullish(),
|
|
@@ -16359,6 +16360,15 @@ class OAuthApi {
|
|
|
16359
16360
|
this.exchangeOauthToken = (data) => {
|
|
16360
16361
|
return this.newInstance().postOauthToken(data);
|
|
16361
16362
|
};
|
|
16363
|
+
/**
|
|
16364
|
+
* POST [/iam/v3/oauth/verify](api)
|
|
16365
|
+
*
|
|
16366
|
+
* This endpoint requires all requests to have Authorization header set with Basic access authentication constructed from client id and client secret.
|
|
16367
|
+
*
|
|
16368
|
+
*/
|
|
16369
|
+
this.verifyAccessToken = (data) => {
|
|
16370
|
+
return this.newInstance().postOauthVerify(data);
|
|
16371
|
+
};
|
|
16362
16372
|
}
|
|
16363
16373
|
newInstance() {
|
|
16364
16374
|
return new OAuth20$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -17876,7 +17886,7 @@ var BasicVersion = {
|
|
|
17876
17886
|
title: 'basic',
|
|
17877
17887
|
name: 'justice-basic-service',
|
|
17878
17888
|
version: '2.8.0',
|
|
17879
|
-
buildDate: '2023-04-
|
|
17889
|
+
buildDate: '2023-04-05T00:51:10.228Z'
|
|
17880
17890
|
};
|
|
17881
17891
|
|
|
17882
17892
|
/*
|
|
@@ -17888,7 +17898,7 @@ var BuildinfoVersion = {
|
|
|
17888
17898
|
title: 'buildinfo',
|
|
17889
17899
|
name: 'justice-buildinfo-service',
|
|
17890
17900
|
version: '3.28.3',
|
|
17891
|
-
buildDate: '2023-04-
|
|
17901
|
+
buildDate: '2023-04-05T00:51:10.228Z'
|
|
17892
17902
|
};
|
|
17893
17903
|
|
|
17894
17904
|
/*
|
|
@@ -17900,7 +17910,7 @@ var EventVersion = {
|
|
|
17900
17910
|
title: 'event',
|
|
17901
17911
|
name: 'justice-event-log-service',
|
|
17902
17912
|
version: undefined,
|
|
17903
|
-
buildDate: '2023-04-
|
|
17913
|
+
buildDate: '2023-04-05T00:51:10.228Z'
|
|
17904
17914
|
};
|
|
17905
17915
|
|
|
17906
17916
|
/*
|
|
@@ -17912,7 +17922,7 @@ var GdprVersion = {
|
|
|
17912
17922
|
title: 'gdpr',
|
|
17913
17923
|
name: 'justice-gdpr-service',
|
|
17914
17924
|
version: '1.20.0',
|
|
17915
|
-
buildDate: '2023-04-
|
|
17925
|
+
buildDate: '2023-04-05T00:51:10.228Z'
|
|
17916
17926
|
};
|
|
17917
17927
|
|
|
17918
17928
|
/*
|
|
@@ -17924,7 +17934,7 @@ var IamVersion = {
|
|
|
17924
17934
|
title: 'iam',
|
|
17925
17935
|
name: 'justice-iam-service',
|
|
17926
17936
|
version: '5.31.0',
|
|
17927
|
-
buildDate: '2023-04-
|
|
17937
|
+
buildDate: '2023-04-05T00:51:10.228Z'
|
|
17928
17938
|
};
|
|
17929
17939
|
|
|
17930
17940
|
/*
|
|
@@ -17936,7 +17946,7 @@ var LegalVersion = {
|
|
|
17936
17946
|
title: 'legal',
|
|
17937
17947
|
name: 'justice-legal-service',
|
|
17938
17948
|
version: '1.28.1',
|
|
17939
|
-
buildDate: '2023-04-
|
|
17949
|
+
buildDate: '2023-04-05T00:51:10.228Z'
|
|
17940
17950
|
};
|
|
17941
17951
|
|
|
17942
17952
|
/*
|
|
@@ -17948,7 +17958,7 @@ var OdinConfigVersion = {
|
|
|
17948
17958
|
title: 'odin-config',
|
|
17949
17959
|
name: 'config-service-app',
|
|
17950
17960
|
version: '0.13.3',
|
|
17951
|
-
buildDate: '2023-04-
|
|
17961
|
+
buildDate: '2023-04-05T00:51:10.228Z'
|
|
17952
17962
|
};
|
|
17953
17963
|
|
|
17954
17964
|
/*
|
|
@@ -17960,7 +17970,7 @@ var PlatformVersion = {
|
|
|
17960
17970
|
title: 'platform',
|
|
17961
17971
|
name: 'justice-platform-service',
|
|
17962
17972
|
version: '4.27.0',
|
|
17963
|
-
buildDate: '2023-04-
|
|
17973
|
+
buildDate: '2023-04-05T00:51:10.228Z'
|
|
17964
17974
|
};
|
|
17965
17975
|
|
|
17966
17976
|
/*
|