@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
|
@@ -2125,10 +2125,10 @@ const TokenResponseV3 = z.object({
|
|
|
2125
2125
|
permissions: z.array(PermissionV3),
|
|
2126
2126
|
platform_id: z.string().nullish(),
|
|
2127
2127
|
platform_user_id: z.string().nullish(),
|
|
2128
|
-
refresh_expires_in: z.number().int(),
|
|
2129
|
-
refresh_token: z.string(),
|
|
2128
|
+
refresh_expires_in: z.number().int().nullish(),
|
|
2129
|
+
refresh_token: z.string().nullish(),
|
|
2130
2130
|
roles: z.array(z.string()).nullish(),
|
|
2131
|
-
scope: z.string(),
|
|
2131
|
+
scope: z.string().nullish(),
|
|
2132
2132
|
token_type: z.string(),
|
|
2133
2133
|
user_id: z.string(),
|
|
2134
2134
|
xuid: z.string().nullish()
|
|
@@ -7243,6 +7243,7 @@ const ItemInfo = z.object({
|
|
|
7243
7243
|
status: z.enum(['ACTIVE', 'INACTIVE']),
|
|
7244
7244
|
listable: z.boolean().nullish(),
|
|
7245
7245
|
purchasable: z.boolean().nullish(),
|
|
7246
|
+
sectionExclusive: z.boolean().nullish(),
|
|
7246
7247
|
itemType: z.enum([
|
|
7247
7248
|
'APP',
|
|
7248
7249
|
'COINS',
|
|
@@ -7284,7 +7285,6 @@ const ItemInfo = z.object({
|
|
|
7284
7285
|
fresh: z.boolean().nullish(),
|
|
7285
7286
|
sellable: z.boolean().nullish(),
|
|
7286
7287
|
saleConfig: SaleConfig.nullish(),
|
|
7287
|
-
sectionExclusive: z.boolean().nullish(),
|
|
7288
7288
|
localExt: z.record(z.any()).nullish()
|
|
7289
7289
|
});
|
|
7290
7290
|
|
|
@@ -7371,6 +7371,7 @@ const BundledItemInfo = z.object({
|
|
|
7371
7371
|
status: z.enum(['ACTIVE', 'INACTIVE']),
|
|
7372
7372
|
listable: z.boolean().nullish(),
|
|
7373
7373
|
purchasable: z.boolean().nullish(),
|
|
7374
|
+
sectionExclusive: z.boolean().nullish(),
|
|
7374
7375
|
itemType: z.enum([
|
|
7375
7376
|
'APP',
|
|
7376
7377
|
'COINS',
|
|
@@ -7413,7 +7414,6 @@ const BundledItemInfo = z.object({
|
|
|
7413
7414
|
sellable: z.boolean().nullish(),
|
|
7414
7415
|
saleConfig: SaleConfig.nullish(),
|
|
7415
7416
|
bundledQty: z.number().int().nullish(),
|
|
7416
|
-
sectionExclusive: z.boolean().nullish(),
|
|
7417
7417
|
localExt: z.record(z.any()).nullish()
|
|
7418
7418
|
});
|
|
7419
7419
|
|
|
@@ -7441,6 +7441,7 @@ const PopulatedItemInfo = z.object({
|
|
|
7441
7441
|
status: z.enum(['ACTIVE', 'INACTIVE']),
|
|
7442
7442
|
listable: z.boolean().nullish(),
|
|
7443
7443
|
purchasable: z.boolean().nullish(),
|
|
7444
|
+
sectionExclusive: z.boolean().nullish(),
|
|
7444
7445
|
itemType: z.enum([
|
|
7445
7446
|
'APP',
|
|
7446
7447
|
'COINS',
|
|
@@ -7483,7 +7484,6 @@ const PopulatedItemInfo = z.object({
|
|
|
7483
7484
|
sellable: z.boolean().nullish(),
|
|
7484
7485
|
saleConfig: SaleConfig.nullish(),
|
|
7485
7486
|
items: z.array(BundledItemInfo).nullish(),
|
|
7486
|
-
sectionExclusive: z.boolean().nullish(),
|
|
7487
7487
|
localExt: z.record(z.any()).nullish()
|
|
7488
7488
|
});
|
|
7489
7489
|
|
|
@@ -10254,6 +10254,7 @@ const FullItemInfo = z.object({
|
|
|
10254
10254
|
status: z.enum(['ACTIVE', 'INACTIVE']),
|
|
10255
10255
|
listable: z.boolean().nullish(),
|
|
10256
10256
|
purchasable: z.boolean().nullish(),
|
|
10257
|
+
sectionExclusive: z.boolean().nullish(),
|
|
10257
10258
|
itemType: z.enum([
|
|
10258
10259
|
'APP',
|
|
10259
10260
|
'COINS',
|
|
@@ -10363,7 +10364,7 @@ const ItemUpdate = z.object({
|
|
|
10363
10364
|
status: z.enum(['ACTIVE', 'INACTIVE']).nullish(),
|
|
10364
10365
|
listable: z.boolean().nullish(),
|
|
10365
10366
|
purchasable: z.boolean().nullish(),
|
|
10366
|
-
|
|
10367
|
+
sectionExclusive: z.boolean().nullish(),
|
|
10367
10368
|
sku: z.string().nullish(),
|
|
10368
10369
|
regionData: z.record(z.array(RegionDataItem)).nullish(),
|
|
10369
10370
|
itemIds: z.array(z.string()).nullish(),
|
|
@@ -10442,7 +10443,7 @@ const ItemCreate = z.object({
|
|
|
10442
10443
|
status: z.enum(['ACTIVE', 'INACTIVE']),
|
|
10443
10444
|
listable: z.boolean().nullish(),
|
|
10444
10445
|
purchasable: z.boolean().nullish(),
|
|
10445
|
-
|
|
10446
|
+
sectionExclusive: z.boolean().nullish(),
|
|
10446
10447
|
sku: z.string().nullish(),
|
|
10447
10448
|
images: z.array(Image).nullish(),
|
|
10448
10449
|
thumbnailUrl: z.string().nullish(),
|
|
@@ -16338,6 +16339,15 @@ class OAuthApi {
|
|
|
16338
16339
|
this.exchangeOauthToken = (data) => {
|
|
16339
16340
|
return this.newInstance().postOauthToken(data);
|
|
16340
16341
|
};
|
|
16342
|
+
/**
|
|
16343
|
+
* POST [/iam/v3/oauth/verify](api)
|
|
16344
|
+
*
|
|
16345
|
+
* This endpoint requires all requests to have Authorization header set with Basic access authentication constructed from client id and client secret.
|
|
16346
|
+
*
|
|
16347
|
+
*/
|
|
16348
|
+
this.verifyAccessToken = (data) => {
|
|
16349
|
+
return this.newInstance().postOauthVerify(data);
|
|
16350
|
+
};
|
|
16341
16351
|
}
|
|
16342
16352
|
newInstance() {
|
|
16343
16353
|
return new OAuth20$(Network.create(this.conf), this.namespace, this.cache);
|
|
@@ -17855,7 +17865,7 @@ var BasicVersion = {
|
|
|
17855
17865
|
title: 'basic',
|
|
17856
17866
|
name: 'justice-basic-service',
|
|
17857
17867
|
version: '2.8.0',
|
|
17858
|
-
buildDate: '2023-04-
|
|
17868
|
+
buildDate: '2023-04-05T00:51:10.228Z'
|
|
17859
17869
|
};
|
|
17860
17870
|
|
|
17861
17871
|
/*
|
|
@@ -17867,7 +17877,7 @@ var BuildinfoVersion = {
|
|
|
17867
17877
|
title: 'buildinfo',
|
|
17868
17878
|
name: 'justice-buildinfo-service',
|
|
17869
17879
|
version: '3.28.3',
|
|
17870
|
-
buildDate: '2023-04-
|
|
17880
|
+
buildDate: '2023-04-05T00:51:10.228Z'
|
|
17871
17881
|
};
|
|
17872
17882
|
|
|
17873
17883
|
/*
|
|
@@ -17879,7 +17889,7 @@ var EventVersion = {
|
|
|
17879
17889
|
title: 'event',
|
|
17880
17890
|
name: 'justice-event-log-service',
|
|
17881
17891
|
version: undefined,
|
|
17882
|
-
buildDate: '2023-04-
|
|
17892
|
+
buildDate: '2023-04-05T00:51:10.228Z'
|
|
17883
17893
|
};
|
|
17884
17894
|
|
|
17885
17895
|
/*
|
|
@@ -17891,7 +17901,7 @@ var GdprVersion = {
|
|
|
17891
17901
|
title: 'gdpr',
|
|
17892
17902
|
name: 'justice-gdpr-service',
|
|
17893
17903
|
version: '1.20.0',
|
|
17894
|
-
buildDate: '2023-04-
|
|
17904
|
+
buildDate: '2023-04-05T00:51:10.228Z'
|
|
17895
17905
|
};
|
|
17896
17906
|
|
|
17897
17907
|
/*
|
|
@@ -17903,7 +17913,7 @@ var IamVersion = {
|
|
|
17903
17913
|
title: 'iam',
|
|
17904
17914
|
name: 'justice-iam-service',
|
|
17905
17915
|
version: '5.31.0',
|
|
17906
|
-
buildDate: '2023-04-
|
|
17916
|
+
buildDate: '2023-04-05T00:51:10.228Z'
|
|
17907
17917
|
};
|
|
17908
17918
|
|
|
17909
17919
|
/*
|
|
@@ -17915,7 +17925,7 @@ var LegalVersion = {
|
|
|
17915
17925
|
title: 'legal',
|
|
17916
17926
|
name: 'justice-legal-service',
|
|
17917
17927
|
version: '1.28.1',
|
|
17918
|
-
buildDate: '2023-04-
|
|
17928
|
+
buildDate: '2023-04-05T00:51:10.228Z'
|
|
17919
17929
|
};
|
|
17920
17930
|
|
|
17921
17931
|
/*
|
|
@@ -17927,7 +17937,7 @@ var OdinConfigVersion = {
|
|
|
17927
17937
|
title: 'odin-config',
|
|
17928
17938
|
name: 'config-service-app',
|
|
17929
17939
|
version: '0.13.3',
|
|
17930
|
-
buildDate: '2023-04-
|
|
17940
|
+
buildDate: '2023-04-05T00:51:10.228Z'
|
|
17931
17941
|
};
|
|
17932
17942
|
|
|
17933
17943
|
/*
|
|
@@ -17939,7 +17949,7 @@ var PlatformVersion = {
|
|
|
17939
17949
|
title: 'platform',
|
|
17940
17950
|
name: 'justice-platform-service',
|
|
17941
17951
|
version: '4.27.0',
|
|
17942
|
-
buildDate: '2023-04-
|
|
17952
|
+
buildDate: '2023-04-05T00:51:10.228Z'
|
|
17943
17953
|
};
|
|
17944
17954
|
|
|
17945
17955
|
/*
|