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