@xmobitea/gn-typescript-client 2.0.0 → 2.0.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/gn.js.client.min.js +1 -1
- package/dist/index.js +1 -1
- package/dist/runtime/entity/models/AuthenticateModels.d.ts +22 -22
- package/dist/runtime/entity/models/CharacterPlayerModels.d.ts +30 -30
- package/dist/runtime/entity/models/DashboardModels.d.ts +47 -47
- package/dist/runtime/entity/models/GamePlayerModels.d.ts +28 -28
- package/dist/runtime/entity/models/GroupModels.d.ts +21 -21
- package/package.json +1 -1
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
import { MasterPlayerModels } from "./MasterPlayerModels";
|
|
2
2
|
export declare module AuthenticateModels {
|
|
3
|
+
class InfoRequestParam {
|
|
4
|
+
external?: boolean;
|
|
5
|
+
segments?: boolean;
|
|
6
|
+
customDatas?: boolean;
|
|
7
|
+
displayName?: boolean;
|
|
8
|
+
avatar?: boolean;
|
|
9
|
+
tsCreate?: boolean;
|
|
10
|
+
tags?: boolean;
|
|
11
|
+
playerBan?: boolean;
|
|
12
|
+
playerCurrencies?: boolean;
|
|
13
|
+
playerStatistics?: boolean;
|
|
14
|
+
playerDatas?: boolean;
|
|
15
|
+
ipAddressCreate?: boolean;
|
|
16
|
+
countryCode?: boolean;
|
|
17
|
+
email?: boolean;
|
|
18
|
+
tsLastLogin?: boolean;
|
|
19
|
+
playerDataKeys?: Array<string>;
|
|
20
|
+
playerCurrencyKeys?: Array<string>;
|
|
21
|
+
playerStatisticsKeys?: Array<string>;
|
|
22
|
+
customDataKeys?: Array<string>;
|
|
23
|
+
tagKeys?: Array<string>;
|
|
24
|
+
}
|
|
3
25
|
class LoginByAccountRequestData {
|
|
4
26
|
username: string;
|
|
5
27
|
password: string;
|
|
@@ -77,28 +99,6 @@ export declare module AuthenticateModels {
|
|
|
77
99
|
password: string;
|
|
78
100
|
infoRequestParam: InfoRequestParam;
|
|
79
101
|
}
|
|
80
|
-
class InfoRequestParam {
|
|
81
|
-
external?: boolean;
|
|
82
|
-
segments?: boolean;
|
|
83
|
-
customDatas?: boolean;
|
|
84
|
-
displayName?: boolean;
|
|
85
|
-
avatar?: boolean;
|
|
86
|
-
tsCreate?: boolean;
|
|
87
|
-
tags?: boolean;
|
|
88
|
-
playerBan?: boolean;
|
|
89
|
-
playerCurrencies?: boolean;
|
|
90
|
-
playerStatistics?: boolean;
|
|
91
|
-
playerDatas?: boolean;
|
|
92
|
-
ipAddressCreate?: boolean;
|
|
93
|
-
countryCode?: boolean;
|
|
94
|
-
email?: boolean;
|
|
95
|
-
tsLastLogin?: boolean;
|
|
96
|
-
playerDataKeys?: Array<string>;
|
|
97
|
-
playerCurrencyKeys?: Array<string>;
|
|
98
|
-
playerStatisticsKeys?: Array<string>;
|
|
99
|
-
customDataKeys?: Array<string>;
|
|
100
|
-
tagKeys?: Array<string>;
|
|
101
|
-
}
|
|
102
102
|
class AuthenticateResponseData extends MasterPlayerModels.MasterPlayerWithUserIdResponseData {
|
|
103
103
|
newlyCreated?: boolean;
|
|
104
104
|
authToken: string;
|
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
import { GenericModels } from "./GenericModels";
|
|
2
2
|
export declare module CharacterPlayerModels {
|
|
3
|
+
class InfoRequestParam {
|
|
4
|
+
catalogId?: boolean;
|
|
5
|
+
owner?: boolean;
|
|
6
|
+
removeStatus?: boolean;
|
|
7
|
+
segments?: boolean;
|
|
8
|
+
customDatas?: boolean;
|
|
9
|
+
displayName?: boolean;
|
|
10
|
+
avatar?: boolean;
|
|
11
|
+
tsCreate?: boolean;
|
|
12
|
+
tags?: boolean;
|
|
13
|
+
playerBan?: boolean;
|
|
14
|
+
playerCurrencies?: boolean;
|
|
15
|
+
playerStatistics?: boolean;
|
|
16
|
+
playerDatas?: boolean;
|
|
17
|
+
ipAddressCreate?: boolean;
|
|
18
|
+
countryCode?: boolean;
|
|
19
|
+
tsLastLogin?: boolean;
|
|
20
|
+
playerInventories?: boolean;
|
|
21
|
+
playerGroups?: boolean;
|
|
22
|
+
playerFriends?: boolean;
|
|
23
|
+
playerDataKeys?: Array<string>;
|
|
24
|
+
playerCurrencyKeys?: Array<string>;
|
|
25
|
+
playerStatisticsKeys?: Array<string>;
|
|
26
|
+
customDataKeys?: Array<string>;
|
|
27
|
+
tagKeys?: Array<string>;
|
|
28
|
+
characterCatalogIds?: Array<string>;
|
|
29
|
+
itemCatalogIds?: Array<string>;
|
|
30
|
+
groupCatalogIds?: Array<string>;
|
|
31
|
+
friendCatalogIds?: Array<string>;
|
|
32
|
+
}
|
|
3
33
|
class PlayerStatisticsParam {
|
|
4
34
|
key: string;
|
|
5
35
|
value: number;
|
|
@@ -422,36 +452,6 @@ export declare module CharacterPlayerModels {
|
|
|
422
452
|
}
|
|
423
453
|
class AdminSetTagRequestData extends ServerSetTagRequestData {
|
|
424
454
|
}
|
|
425
|
-
class InfoRequestParam {
|
|
426
|
-
catalogId?: boolean;
|
|
427
|
-
owner?: boolean;
|
|
428
|
-
removeStatus?: boolean;
|
|
429
|
-
segments?: boolean;
|
|
430
|
-
customDatas?: boolean;
|
|
431
|
-
displayName?: boolean;
|
|
432
|
-
avatar?: boolean;
|
|
433
|
-
tsCreate?: boolean;
|
|
434
|
-
tags?: boolean;
|
|
435
|
-
playerBan?: boolean;
|
|
436
|
-
playerCurrencies?: boolean;
|
|
437
|
-
playerStatistics?: boolean;
|
|
438
|
-
playerDatas?: boolean;
|
|
439
|
-
ipAddressCreate?: boolean;
|
|
440
|
-
countryCode?: boolean;
|
|
441
|
-
tsLastLogin?: boolean;
|
|
442
|
-
playerInventories?: boolean;
|
|
443
|
-
playerGroups?: boolean;
|
|
444
|
-
playerFriends?: boolean;
|
|
445
|
-
playerDataKeys?: Array<string>;
|
|
446
|
-
playerCurrencyKeys?: Array<string>;
|
|
447
|
-
playerStatisticsKeys?: Array<string>;
|
|
448
|
-
customDataKeys?: Array<string>;
|
|
449
|
-
tagKeys?: Array<string>;
|
|
450
|
-
characterCatalogIds?: Array<string>;
|
|
451
|
-
itemCatalogIds?: Array<string>;
|
|
452
|
-
groupCatalogIds?: Array<string>;
|
|
453
|
-
friendCatalogIds?: Array<string>;
|
|
454
|
-
}
|
|
455
455
|
class InfoResponseParameters {
|
|
456
456
|
catalogId?: string;
|
|
457
457
|
owner?: GenericModels.OwnerItem;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
export declare module DashboardModels {
|
|
2
|
+
class PermissionRulesParam {
|
|
3
|
+
selfEnable?: boolean;
|
|
4
|
+
otherSelfEnable?: boolean;
|
|
5
|
+
adminSelfEnable?: boolean;
|
|
6
|
+
serverSelfEnable?: boolean;
|
|
7
|
+
}
|
|
2
8
|
class FriendCatalogSettingsParam {
|
|
3
9
|
catalogId: string;
|
|
4
10
|
forceAcceptFriend: boolean;
|
|
@@ -187,6 +193,20 @@ export declare module DashboardModels {
|
|
|
187
193
|
playerItemCatalogSettings?: Array<ItemCatalogSettingsParam>;
|
|
188
194
|
playerFriendCatalogSettings?: Array<FriendCatalogSettingsParam>;
|
|
189
195
|
}
|
|
196
|
+
class GroupSettingsParam {
|
|
197
|
+
groupCurrencySettings?: Array<CurrencySettingsParam>;
|
|
198
|
+
groupStatisticsSettings?: Array<StatisticsSettingsParam>;
|
|
199
|
+
groupDatasSettings?: Array<DataSettingsParam>;
|
|
200
|
+
customDatasSettings?: Array<DataSettingsParam>;
|
|
201
|
+
tagsSettings?: Array<TagSettingsParam>;
|
|
202
|
+
groupItemCatalogSettings?: Array<ItemCatalogSettingsParam>;
|
|
203
|
+
}
|
|
204
|
+
class InventorySettingsParam {
|
|
205
|
+
inventoryStatisticsSettings?: Array<StatisticsSettingsParam>;
|
|
206
|
+
inventoryDatasSettings?: Array<DataSettingsParam>;
|
|
207
|
+
customDatasSettings?: Array<DataSettingsParam>;
|
|
208
|
+
tagsSettings?: Array<TagSettingsParam>;
|
|
209
|
+
}
|
|
190
210
|
class GameSettingsParam {
|
|
191
211
|
gamePlayerSettings?: GamePlayerSettingsParam;
|
|
192
212
|
characterPlayerSettings?: CharacterPlayerSettingsParam;
|
|
@@ -234,14 +254,6 @@ export declare module DashboardModels {
|
|
|
234
254
|
setRemoveStatus?: PermissionRulesParam;
|
|
235
255
|
getGroupsWithDisplayName?: PermissionRulesParam;
|
|
236
256
|
}
|
|
237
|
-
class GroupSettingsParam {
|
|
238
|
-
groupCurrencySettings?: Array<CurrencySettingsParam>;
|
|
239
|
-
groupStatisticsSettings?: Array<StatisticsSettingsParam>;
|
|
240
|
-
groupDatasSettings?: Array<DataSettingsParam>;
|
|
241
|
-
customDatasSettings?: Array<DataSettingsParam>;
|
|
242
|
-
tagsSettings?: Array<TagSettingsParam>;
|
|
243
|
-
groupItemCatalogSettings?: Array<ItemCatalogSettingsParam>;
|
|
244
|
-
}
|
|
245
257
|
class InventoryPermissionRulesParam {
|
|
246
258
|
addSegment?: PermissionRulesParam;
|
|
247
259
|
removeSegment?: PermissionRulesParam;
|
|
@@ -276,12 +288,6 @@ export declare module DashboardModels {
|
|
|
276
288
|
setRemoveStatus?: PermissionRulesParam;
|
|
277
289
|
getItemsWithDisplayName?: PermissionRulesParam;
|
|
278
290
|
}
|
|
279
|
-
class InventorySettingsParam {
|
|
280
|
-
inventoryStatisticsSettings?: Array<StatisticsSettingsParam>;
|
|
281
|
-
inventoryDatasSettings?: Array<DataSettingsParam>;
|
|
282
|
-
customDatasSettings?: Array<DataSettingsParam>;
|
|
283
|
-
tagsSettings?: Array<TagSettingsParam>;
|
|
284
|
-
}
|
|
285
291
|
class MasterAdminPermissionRulesParam {
|
|
286
292
|
setMasterGameSettings?: PermissionRulesParam;
|
|
287
293
|
grantAdminAccount?: PermissionRulesParam;
|
|
@@ -380,22 +386,22 @@ export declare module DashboardModels {
|
|
|
380
386
|
customDatasSettings?: Array<DataSettingsParam>;
|
|
381
387
|
tagsSettings?: Array<TagSettingsParam>;
|
|
382
388
|
}
|
|
383
|
-
class
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
389
|
+
class AuthenticatePermissionRulesParam {
|
|
390
|
+
loginByAccount?: PermissionRulesParam;
|
|
391
|
+
loginByAndroidDeviceId?: PermissionRulesParam;
|
|
392
|
+
loginByApple?: PermissionRulesParam;
|
|
393
|
+
loginByCustomDeviceId?: PermissionRulesParam;
|
|
394
|
+
loginByCustomId?: PermissionRulesParam;
|
|
395
|
+
loginByFacebook?: PermissionRulesParam;
|
|
396
|
+
loginByGenericService?: PermissionRulesParam;
|
|
397
|
+
loginByGoogle?: PermissionRulesParam;
|
|
398
|
+
loginByiOSDeviceId?: PermissionRulesParam;
|
|
399
|
+
loginByWindowsPhoneDeviceId?: PermissionRulesParam;
|
|
400
|
+
registerAccount?: PermissionRulesParam;
|
|
401
|
+
loginByEditorDeviceId?: PermissionRulesParam;
|
|
402
|
+
loginByLinuxDeviceId?: PermissionRulesParam;
|
|
403
|
+
loginByMacOSDeviceId?: PermissionRulesParam;
|
|
404
|
+
loginByWindowsDeviceId?: PermissionRulesParam;
|
|
399
405
|
}
|
|
400
406
|
class StoreInventoryPermissionRulesParam {
|
|
401
407
|
buyStoreItem?: PermissionRulesParam;
|
|
@@ -408,6 +414,17 @@ export declare module DashboardModels {
|
|
|
408
414
|
validateGooglePlayStoreReceipt?: PermissionRulesParam;
|
|
409
415
|
validateFacebookStoreReceipt?: PermissionRulesParam;
|
|
410
416
|
}
|
|
417
|
+
class PermissionParam {
|
|
418
|
+
authenticate?: AuthenticatePermissionRulesParam;
|
|
419
|
+
masterPlayer?: MasterPlayerPermissionRulesParam;
|
|
420
|
+
gamePlayer?: GamePlayerPermissionRulesParam;
|
|
421
|
+
characterPlayer?: CharacterPlayerPermissionRulesParam;
|
|
422
|
+
content?: ContentPermissionRulesParam;
|
|
423
|
+
group?: GroupPermissionRulesParam;
|
|
424
|
+
inventory?: InventoryPermissionRulesParam;
|
|
425
|
+
storeInventory?: StoreInventoryPermissionRulesParam;
|
|
426
|
+
masterAdmin?: MasterAdminPermissionRulesParam;
|
|
427
|
+
}
|
|
411
428
|
class ChangePasswordAdminAccountRequestData {
|
|
412
429
|
currentPassword: string;
|
|
413
430
|
password: string;
|
|
@@ -473,23 +490,6 @@ export declare module DashboardModels {
|
|
|
473
490
|
userId: string;
|
|
474
491
|
secretKey: string;
|
|
475
492
|
}
|
|
476
|
-
class AuthenticatePermissionRulesParam {
|
|
477
|
-
loginByAccount?: PermissionRulesParam;
|
|
478
|
-
loginByAndroidDeviceId?: PermissionRulesParam;
|
|
479
|
-
loginByApple?: PermissionRulesParam;
|
|
480
|
-
loginByCustomDeviceId?: PermissionRulesParam;
|
|
481
|
-
loginByCustomId?: PermissionRulesParam;
|
|
482
|
-
loginByFacebook?: PermissionRulesParam;
|
|
483
|
-
loginByGenericService?: PermissionRulesParam;
|
|
484
|
-
loginByGoogle?: PermissionRulesParam;
|
|
485
|
-
loginByiOSDeviceId?: PermissionRulesParam;
|
|
486
|
-
loginByWindowsPhoneDeviceId?: PermissionRulesParam;
|
|
487
|
-
registerAccount?: PermissionRulesParam;
|
|
488
|
-
loginByEditorDeviceId?: PermissionRulesParam;
|
|
489
|
-
loginByLinuxDeviceId?: PermissionRulesParam;
|
|
490
|
-
loginByMacOSDeviceId?: PermissionRulesParam;
|
|
491
|
-
loginByWindowsDeviceId?: PermissionRulesParam;
|
|
492
|
-
}
|
|
493
493
|
class AdminAccountResponseData {
|
|
494
494
|
userId: string;
|
|
495
495
|
username: string;
|
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
import { GenericModels } from "./GenericModels";
|
|
2
2
|
export declare module GamePlayerModels {
|
|
3
|
+
class InfoRequestParam {
|
|
4
|
+
segments?: boolean;
|
|
5
|
+
customDatas?: boolean;
|
|
6
|
+
displayName?: boolean;
|
|
7
|
+
avatar?: boolean;
|
|
8
|
+
tsCreate?: boolean;
|
|
9
|
+
tags?: boolean;
|
|
10
|
+
playerBan?: boolean;
|
|
11
|
+
playerCurrencies?: boolean;
|
|
12
|
+
playerStatistics?: boolean;
|
|
13
|
+
playerDatas?: boolean;
|
|
14
|
+
ipAddressCreate?: boolean;
|
|
15
|
+
countryCode?: boolean;
|
|
16
|
+
tsLastLogin?: boolean;
|
|
17
|
+
playerCharacters?: boolean;
|
|
18
|
+
playerInventories?: boolean;
|
|
19
|
+
playerGroups?: boolean;
|
|
20
|
+
playerFriends?: boolean;
|
|
21
|
+
playerDataKeys?: Array<string>;
|
|
22
|
+
playerCurrencyKeys?: Array<string>;
|
|
23
|
+
playerStatisticsKeys?: Array<string>;
|
|
24
|
+
customDataKeys?: Array<string>;
|
|
25
|
+
tagKeys?: Array<string>;
|
|
26
|
+
characterCatalogIds?: Array<string>;
|
|
27
|
+
itemCatalogIds?: Array<string>;
|
|
28
|
+
groupCatalogIds?: Array<string>;
|
|
29
|
+
friendCatalogIds?: Array<string>;
|
|
30
|
+
}
|
|
3
31
|
class CustomDataParam {
|
|
4
32
|
key: string;
|
|
5
33
|
value: any;
|
|
@@ -460,34 +488,6 @@ export declare module GamePlayerModels {
|
|
|
460
488
|
}
|
|
461
489
|
class AdminSetTagRequestData extends ServerSetTagRequestData {
|
|
462
490
|
}
|
|
463
|
-
class InfoRequestParam {
|
|
464
|
-
segments?: boolean;
|
|
465
|
-
customDatas?: boolean;
|
|
466
|
-
displayName?: boolean;
|
|
467
|
-
avatar?: boolean;
|
|
468
|
-
tsCreate?: boolean;
|
|
469
|
-
tags?: boolean;
|
|
470
|
-
playerBan?: boolean;
|
|
471
|
-
playerCurrencies?: boolean;
|
|
472
|
-
playerStatistics?: boolean;
|
|
473
|
-
playerDatas?: boolean;
|
|
474
|
-
ipAddressCreate?: boolean;
|
|
475
|
-
countryCode?: boolean;
|
|
476
|
-
tsLastLogin?: boolean;
|
|
477
|
-
playerCharacters?: boolean;
|
|
478
|
-
playerInventories?: boolean;
|
|
479
|
-
playerGroups?: boolean;
|
|
480
|
-
playerFriends?: boolean;
|
|
481
|
-
playerDataKeys?: Array<string>;
|
|
482
|
-
playerCurrencyKeys?: Array<string>;
|
|
483
|
-
playerStatisticsKeys?: Array<string>;
|
|
484
|
-
customDataKeys?: Array<string>;
|
|
485
|
-
tagKeys?: Array<string>;
|
|
486
|
-
characterCatalogIds?: Array<string>;
|
|
487
|
-
itemCatalogIds?: Array<string>;
|
|
488
|
-
groupCatalogIds?: Array<string>;
|
|
489
|
-
friendCatalogIds?: Array<string>;
|
|
490
|
-
}
|
|
491
491
|
class InfoResponseParameters {
|
|
492
492
|
segments?: Array<string>;
|
|
493
493
|
customDatas?: Array<GenericModels.DataItem>;
|
|
@@ -1,26 +1,5 @@
|
|
|
1
1
|
import { GenericModels } from "./GenericModels";
|
|
2
2
|
export declare module GroupModels {
|
|
3
|
-
class CustomDataParam {
|
|
4
|
-
key: string;
|
|
5
|
-
value: any;
|
|
6
|
-
}
|
|
7
|
-
class GroupCurrencyParam {
|
|
8
|
-
key: string;
|
|
9
|
-
amount: number;
|
|
10
|
-
}
|
|
11
|
-
class GroupDataParam {
|
|
12
|
-
key: string;
|
|
13
|
-
value: any;
|
|
14
|
-
permission: number;
|
|
15
|
-
}
|
|
16
|
-
class GroupMemberParam {
|
|
17
|
-
userId: string;
|
|
18
|
-
role: number;
|
|
19
|
-
}
|
|
20
|
-
class GroupStatisticsParam {
|
|
21
|
-
key: string;
|
|
22
|
-
value: number;
|
|
23
|
-
}
|
|
24
3
|
class InfoRequestParam {
|
|
25
4
|
catalogId?: boolean;
|
|
26
5
|
members?: boolean;
|
|
@@ -42,6 +21,27 @@ export declare module GroupModels {
|
|
|
42
21
|
tagKeys?: Array<string>;
|
|
43
22
|
itemCatalogIds?: Array<string>;
|
|
44
23
|
}
|
|
24
|
+
class CustomDataParam {
|
|
25
|
+
key: string;
|
|
26
|
+
value: any;
|
|
27
|
+
}
|
|
28
|
+
class GroupCurrencyParam {
|
|
29
|
+
key: string;
|
|
30
|
+
amount: number;
|
|
31
|
+
}
|
|
32
|
+
class GroupDataParam {
|
|
33
|
+
key: string;
|
|
34
|
+
value: any;
|
|
35
|
+
permission: number;
|
|
36
|
+
}
|
|
37
|
+
class GroupMemberParam {
|
|
38
|
+
userId: string;
|
|
39
|
+
role: number;
|
|
40
|
+
}
|
|
41
|
+
class GroupStatisticsParam {
|
|
42
|
+
key: string;
|
|
43
|
+
value: number;
|
|
44
|
+
}
|
|
45
45
|
class AddMemberRequestData {
|
|
46
46
|
userId: string;
|
|
47
47
|
groupId: string;
|