@xmobitea/gn-typescript-client 2.0.4 → 2.0.6

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.
Files changed (105) hide show
  1. package/GNServerSettingsConfig.debug.json +3 -3
  2. package/dist/gn.js.client.js +50188 -0
  3. package/dist/gn.js.client.min.js +1 -1
  4. package/dist/index.d.ts +190 -190
  5. package/dist/index.js +24803 -22847
  6. package/dist/runtime/GNNetwork.d.ts +66 -67
  7. package/dist/runtime/GNNetworkAuthenticateApi.d.ts +28 -27
  8. package/dist/runtime/GNNetworkCharacterPlayerApi.d.ts +156 -156
  9. package/dist/runtime/GNNetworkContentApi.d.ts +33 -33
  10. package/dist/runtime/GNNetworkDashboardApi.d.ts +30 -30
  11. package/dist/runtime/GNNetworkGamePlayerApi.d.ts +153 -153
  12. package/dist/runtime/GNNetworkGroupApi.d.ts +120 -120
  13. package/dist/runtime/GNNetworkInventoryApi.d.ts +108 -108
  14. package/dist/runtime/GNNetworkMasterPlayerApi.d.ts +217 -217
  15. package/dist/runtime/GNNetworkStoreInventoryApi.d.ts +39 -39
  16. package/dist/runtime/common/Action0.d.ts +1 -1
  17. package/dist/runtime/common/Action1.d.ts +1 -1
  18. package/dist/runtime/common/Action2.d.ts +1 -1
  19. package/dist/runtime/common/Action3.d.ts +1 -1
  20. package/dist/runtime/common/Action4.d.ts +1 -1
  21. package/dist/runtime/common/GNData.d.ts +69 -69
  22. package/dist/runtime/config/GNServerSettings.d.ts +64 -64
  23. package/dist/runtime/constant/Commands.d.ts +17 -17
  24. package/dist/runtime/constant/EventCode.d.ts +8 -8
  25. package/dist/runtime/constant/OperationCode.d.ts +175 -174
  26. package/dist/runtime/constant/ReturnCode.d.ts +14 -14
  27. package/dist/runtime/constant/enumType/FriendStatus.d.ts +6 -6
  28. package/dist/runtime/constant/enumType/GoogleLoginType.d.ts +4 -4
  29. package/dist/runtime/constant/enumType/GroupStatus.d.ts +6 -6
  30. package/dist/runtime/constant/enumType/InvalidMemberType.d.ts +17 -17
  31. package/dist/runtime/constant/enumType/ItemType.d.ts +4 -4
  32. package/dist/runtime/constant/enumType/LoginType.d.ts +10 -10
  33. package/dist/runtime/constant/enumType/OwnerType.d.ts +6 -6
  34. package/dist/runtime/constant/enumType/PermissionDataItem.d.ts +4 -4
  35. package/dist/runtime/constant/enumType/RequestRole.d.ts +5 -5
  36. package/dist/runtime/constant/enumType/RequestType.d.ts +12 -12
  37. package/dist/runtime/constant/enumType/StatisticsAggregationMethod.d.ts +6 -6
  38. package/dist/runtime/constant/enumType/UserRoleType.d.ts +8 -8
  39. package/dist/runtime/constant/errorCode/GNErrorCode.d.ts +40 -39
  40. package/dist/runtime/constant/parameterCode/GNParameterCode.d.ts +376 -375
  41. package/dist/runtime/constant/parameterCode/ParameterCode.d.ts +6 -6
  42. package/dist/runtime/entity/DataMember.d.ts +77 -77
  43. package/dist/runtime/entity/GNMetadata.d.ts +22 -22
  44. package/dist/runtime/entity/InvalidMember.d.ts +5 -5
  45. package/dist/runtime/entity/OperationEvent.d.ts +14 -14
  46. package/dist/runtime/entity/OperationHelper.d.ts +7 -7
  47. package/dist/runtime/entity/OperationRequest.d.ts +21 -21
  48. package/dist/runtime/entity/OperationResponse.d.ts +27 -27
  49. package/dist/runtime/entity/models/AuthenticateModels.d.ts +116 -108
  50. package/dist/runtime/entity/models/AuthenticateRequestModels.d.ts +118 -111
  51. package/dist/runtime/entity/models/AuthenticateResponseModels.d.ts +52 -34
  52. package/dist/runtime/entity/models/CharacterPlayerModels.d.ts +493 -493
  53. package/dist/runtime/entity/models/CharacterPlayerRequestModels.d.ts +726 -726
  54. package/dist/runtime/entity/models/CharacterPlayerResponseModels.d.ts +148 -100
  55. package/dist/runtime/entity/models/ContentModels.d.ts +90 -90
  56. package/dist/runtime/entity/models/ContentRequestModels.d.ts +111 -111
  57. package/dist/runtime/entity/models/ContentResponseModels.d.ts +25 -18
  58. package/dist/runtime/entity/models/DashboardModels.d.ts +546 -545
  59. package/dist/runtime/entity/models/DashboardRequestModels.d.ts +132 -132
  60. package/dist/runtime/entity/models/DashboardResponseModels.d.ts +58 -40
  61. package/dist/runtime/entity/models/GamePlayerModels.d.ts +531 -531
  62. package/dist/runtime/entity/models/GamePlayerRequestModels.d.ts +711 -711
  63. package/dist/runtime/entity/models/GamePlayerResponseModels.d.ts +145 -98
  64. package/dist/runtime/entity/models/GenericModels.d.ts +59 -59
  65. package/dist/runtime/entity/models/GroupModels.d.ts +387 -387
  66. package/dist/runtime/entity/models/GroupRequestModels.d.ts +546 -546
  67. package/dist/runtime/entity/models/GroupResponseModels.d.ts +112 -76
  68. package/dist/runtime/entity/models/InventoryModels.d.ts +331 -331
  69. package/dist/runtime/entity/models/InventoryRequestModels.d.ts +486 -486
  70. package/dist/runtime/entity/models/InventoryResponseModels.d.ts +100 -68
  71. package/dist/runtime/entity/models/MasterPlayerModels.d.ts +767 -767
  72. package/dist/runtime/entity/models/MasterPlayerRequestModels.d.ts +1033 -1033
  73. package/dist/runtime/entity/models/MasterPlayerResponseModels.d.ts +211 -142
  74. package/dist/runtime/entity/models/StoreInventoryModels.d.ts +187 -187
  75. package/dist/runtime/entity/models/StoreInventoryRequestModels.d.ts +141 -141
  76. package/dist/runtime/entity/models/StoreInventoryResponseModels.d.ts +31 -22
  77. package/dist/runtime/entity/request/CustomOperationRequest.d.ts +21 -19
  78. package/dist/runtime/entity/response/CustomOperationResponse.d.ts +20 -19
  79. package/dist/runtime/helper/CodeHelper.d.ts +15 -15
  80. package/dist/runtime/helper/ConverterService.d.ts +14 -14
  81. package/dist/runtime/helper/GNSupport.d.ts +5 -5
  82. package/dist/runtime/logger/GNDebug.d.ts +15 -15
  83. package/dist/runtime/networking/AuthenticateStatus.d.ts +8 -11
  84. package/dist/runtime/networking/IPeer.d.ts +12 -12
  85. package/dist/runtime/networking/NetworkingPeer.d.ts +40 -40
  86. package/dist/runtime/networking/OperationPending.d.ts +30 -30
  87. package/dist/runtime/networking/PeerBase.d.ts +30 -30
  88. package/dist/runtime/networking/handler/IServerEventHandler.d.ts +14 -14
  89. package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.d.ts +13 -13
  90. package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.d.ts +13 -13
  91. package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.d.ts +13 -13
  92. package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.d.ts +13 -13
  93. package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.d.ts +12 -12
  94. package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.d.ts +12 -12
  95. package/dist/runtime/networking/http/HttpPeer.d.ts +24 -24
  96. package/dist/runtime/networking/http/NetworkingHttpPeerBase.d.ts +11 -11
  97. package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.d.ts +13 -13
  98. package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.d.ts +25 -25
  99. package/dist/runtime/networking/socket/NetworkingSocketPeerBase.d.ts +48 -48
  100. package/dist/runtime/networking/socket/SocketPeer.d.ts +28 -28
  101. package/dist/runtime/typescript/ServiceUpdate.d.ts +6 -6
  102. package/package.json +16 -14
  103. package/tsconfig-build.min.udm.json +13 -0
  104. package/tsconfig.min.udm.json +9 -0
  105. package/webpack.config.min.udm.js +48 -0
@@ -1,187 +1,187 @@
1
- import { GenericModels } from "./GenericModels";
2
- export declare module StoreInventoryModels {
3
- class AvatarParam {
4
- type: number;
5
- value: string;
6
- }
7
- class CurrencyParam {
8
- key: string;
9
- value: number;
10
- }
11
- class InAppPurchaseParam {
12
- facebookStoreId: string;
13
- googlePlayStoreId: string;
14
- appleAppStoreId: string;
15
- }
16
- class InfoRequestParam {
17
- storeItems?: boolean;
18
- storeCurrencies?: boolean;
19
- priceCurrencies?: boolean;
20
- inAppPurchase?: boolean;
21
- removeStatus?: boolean;
22
- displayName?: boolean;
23
- avatar?: boolean;
24
- tsCreate?: boolean;
25
- tags?: boolean;
26
- storeDatas?: boolean;
27
- }
28
- class StoreDataParam {
29
- key: string;
30
- value: any;
31
- }
32
- class StoreItemParam {
33
- catalogId: string;
34
- classId: string;
35
- amount: number;
36
- }
37
- class TagParam {
38
- key: string;
39
- value: string;
40
- }
41
- class InAppPurchaseItem {
42
- facebookStoreId: string;
43
- appleAppStoreId: string;
44
- googlePlayStoreId: string;
45
- }
46
- class PriceCurrencyItem {
47
- key: string;
48
- value: number;
49
- }
50
- class OwnerStoreInventoryItem {
51
- itemId: string;
52
- catalogId: string;
53
- classId: string;
54
- }
55
- class StoreInventoryItem {
56
- catalogId: string;
57
- classId: string;
58
- amount: number;
59
- }
60
- class BuyStoreItemRequestData {
61
- storeId: string;
62
- id: string;
63
- type: number;
64
- }
65
- class ServerBuyStoreItemRequestData extends BuyStoreItemRequestData {
66
- }
67
- class AdminBuyStoreItemRequestData extends ServerBuyStoreItemRequestData {
68
- }
69
- class GetStoreItemInformationRequestData {
70
- storeId: string;
71
- infoRequestParam: InfoRequestParam;
72
- }
73
- class ServerGetStoreItemInformationRequestData extends GetStoreItemInformationRequestData {
74
- }
75
- class AdminGetStoreItemInformationRequestData extends ServerGetStoreItemInformationRequestData {
76
- }
77
- class GetStoreItemsWithTagRequestData {
78
- key: string;
79
- value: string;
80
- infoRequestParam: InfoRequestParam;
81
- skip?: number;
82
- limit?: number;
83
- }
84
- class ServerGetStoreItemsWithTagRequestData extends GetStoreItemsWithTagRequestData {
85
- }
86
- class AdminGetStoreItemsWithTagRequestData extends ServerGetStoreItemsWithTagRequestData {
87
- }
88
- class GrantStoreItemRequestData {
89
- displayName?: string;
90
- }
91
- class ServerGrantStoreItemRequestData extends GrantStoreItemRequestData {
92
- }
93
- class AdminGrantStoreItemRequestData extends ServerGrantStoreItemRequestData {
94
- }
95
- class SetRemoveStatusRequestData {
96
- storeId: string;
97
- reason?: string;
98
- }
99
- class ServerSetRemoveStatusRequestData extends SetRemoveStatusRequestData {
100
- }
101
- class AdminSetRemoveStatusRequestData extends ServerSetRemoveStatusRequestData {
102
- }
103
- class SetStoreItemInformationRequestData {
104
- storeId: string;
105
- storeDataParams: Array<StoreDataParam>;
106
- storeItemParams: Array<StoreItemParam>;
107
- storeCurrencyParams: Array<CurrencyParam>;
108
- priceCurrencyParams: Array<CurrencyParam>;
109
- inAppPurchaseParam: InAppPurchaseParam;
110
- displayName: string;
111
- avatarParam: AvatarParam;
112
- tagParams: Array<TagParam>;
113
- }
114
- class ServerSetStoreItemInformationRequestData extends SetStoreItemInformationRequestData {
115
- }
116
- class AdminSetStoreItemInformationRequestData extends ServerSetStoreItemInformationRequestData {
117
- }
118
- class ValidateAppleAppStoreReceiptRequestData {
119
- receipt: string;
120
- id: string;
121
- type: number;
122
- }
123
- class ServerValidateAppleAppStoreReceiptRequestData extends ValidateAppleAppStoreReceiptRequestData {
124
- }
125
- class AdminValidateAppleAppStoreReceiptRequestData extends ServerValidateAppleAppStoreReceiptRequestData {
126
- }
127
- class ValidateFacebookStoreReceiptRequestData {
128
- receipt: string;
129
- id: string;
130
- type: number;
131
- }
132
- class ServerValidateFacebookStoreReceiptRequestData extends ValidateFacebookStoreReceiptRequestData {
133
- }
134
- class AdminValidateFacebookStoreReceiptRequestData extends ServerValidateFacebookStoreReceiptRequestData {
135
- }
136
- class ValidateGooglePlayStoreReceiptRequestData {
137
- receipt: string;
138
- id: string;
139
- type: number;
140
- }
141
- class ServerValidateGooglePlayStoreReceiptRequestData extends ValidateGooglePlayStoreReceiptRequestData {
142
- }
143
- class AdminValidateGooglePlayStoreReceiptRequestData extends ServerValidateGooglePlayStoreReceiptRequestData {
144
- }
145
- class InfoResponseParameters {
146
- storeItems?: Array<StoreInventoryItem>;
147
- storeCurrencies?: Array<PriceCurrencyItem>;
148
- priceCurrencies?: Array<PriceCurrencyItem>;
149
- inAppPurchase?: InAppPurchaseItem;
150
- removeStatus?: GenericModels.RemoveStatusItem;
151
- displayName?: string;
152
- avatar?: GenericModels.AvatarItem;
153
- tsCreate?: number;
154
- tags?: Array<GenericModels.TagItem>;
155
- storeDatas?: Array<GenericModels.DataItem>;
156
- }
157
- class StoreInventoryResponseData {
158
- infoResponseParameters: InfoResponseParameters;
159
- }
160
- class StoreInventoryWithStoreIdResponseData extends StoreInventoryResponseData {
161
- storeId: string;
162
- }
163
- class StoreInventoryLeaderboardResponseData extends StoreInventoryWithStoreIdResponseData {
164
- position: number;
165
- }
166
- class GetStatisticsLeaderboardResponseData {
167
- results: Array<StoreInventoryLeaderboardResponseData>;
168
- }
169
- class StoreInventoriesWithStoreIdResponseData {
170
- results: Array<StoreInventoryWithStoreIdResponseData>;
171
- }
172
- class GrantStoreItemResponseData {
173
- storeId: string;
174
- }
175
- class OwnerInfoResponseParameters {
176
- currencies?: Array<PriceCurrencyItem>;
177
- inventories?: Array<OwnerStoreInventoryItem>;
178
- }
179
- class BuyStoreInventoryResponseData {
180
- storeItems?: Array<StoreInventoryItem>;
181
- storeCurrencies?: Array<PriceCurrencyItem>;
182
- priceCurrencies?: Array<PriceCurrencyItem>;
183
- infoResponseParameters?: OwnerInfoResponseParameters;
184
- }
185
- class EmptyResponseData {
186
- }
187
- }
1
+ import { GenericModels } from "./GenericModels";
2
+ export declare namespace StoreInventoryModels {
3
+ class AvatarParam {
4
+ type: number;
5
+ value: string;
6
+ }
7
+ class CurrencyParam {
8
+ key: string;
9
+ value: number;
10
+ }
11
+ class InAppPurchaseParam {
12
+ facebookStoreId: string;
13
+ googlePlayStoreId: string;
14
+ appleAppStoreId: string;
15
+ }
16
+ class InfoRequestParam {
17
+ storeItems?: boolean;
18
+ storeCurrencies?: boolean;
19
+ priceCurrencies?: boolean;
20
+ inAppPurchase?: boolean;
21
+ removeStatus?: boolean;
22
+ displayName?: boolean;
23
+ avatar?: boolean;
24
+ tsCreate?: boolean;
25
+ tags?: boolean;
26
+ storeDatas?: boolean;
27
+ }
28
+ class StoreDataParam {
29
+ key: string;
30
+ value: any;
31
+ }
32
+ class StoreItemParam {
33
+ catalogId: string;
34
+ classId: string;
35
+ amount: number;
36
+ }
37
+ class TagParam {
38
+ key: string;
39
+ value: string;
40
+ }
41
+ class InAppPurchaseItem {
42
+ facebookStoreId: string;
43
+ appleAppStoreId: string;
44
+ googlePlayStoreId: string;
45
+ }
46
+ class PriceCurrencyItem {
47
+ key: string;
48
+ value: number;
49
+ }
50
+ class OwnerStoreInventoryItem {
51
+ itemId: string;
52
+ catalogId: string;
53
+ classId: string;
54
+ }
55
+ class StoreInventoryItem {
56
+ catalogId: string;
57
+ classId: string;
58
+ amount: number;
59
+ }
60
+ class BuyStoreItemRequestData {
61
+ storeId: string;
62
+ id: string;
63
+ type: number;
64
+ }
65
+ class ServerBuyStoreItemRequestData extends BuyStoreItemRequestData {
66
+ }
67
+ class AdminBuyStoreItemRequestData extends ServerBuyStoreItemRequestData {
68
+ }
69
+ class GetStoreItemInformationRequestData {
70
+ storeId: string;
71
+ infoRequestParam: InfoRequestParam;
72
+ }
73
+ class ServerGetStoreItemInformationRequestData extends GetStoreItemInformationRequestData {
74
+ }
75
+ class AdminGetStoreItemInformationRequestData extends ServerGetStoreItemInformationRequestData {
76
+ }
77
+ class GetStoreItemsWithTagRequestData {
78
+ key: string;
79
+ value: string;
80
+ infoRequestParam: InfoRequestParam;
81
+ skip?: number;
82
+ limit?: number;
83
+ }
84
+ class ServerGetStoreItemsWithTagRequestData extends GetStoreItemsWithTagRequestData {
85
+ }
86
+ class AdminGetStoreItemsWithTagRequestData extends ServerGetStoreItemsWithTagRequestData {
87
+ }
88
+ class GrantStoreItemRequestData {
89
+ displayName?: string;
90
+ }
91
+ class ServerGrantStoreItemRequestData extends GrantStoreItemRequestData {
92
+ }
93
+ class AdminGrantStoreItemRequestData extends ServerGrantStoreItemRequestData {
94
+ }
95
+ class SetRemoveStatusRequestData {
96
+ storeId: string;
97
+ reason?: string;
98
+ }
99
+ class ServerSetRemoveStatusRequestData extends SetRemoveStatusRequestData {
100
+ }
101
+ class AdminSetRemoveStatusRequestData extends ServerSetRemoveStatusRequestData {
102
+ }
103
+ class SetStoreItemInformationRequestData {
104
+ storeId: string;
105
+ storeDataParams: Array<StoreDataParam>;
106
+ storeItemParams: Array<StoreItemParam>;
107
+ storeCurrencyParams: Array<CurrencyParam>;
108
+ priceCurrencyParams: Array<CurrencyParam>;
109
+ inAppPurchaseParam: InAppPurchaseParam;
110
+ displayName: string;
111
+ avatarParam: AvatarParam;
112
+ tagParams: Array<TagParam>;
113
+ }
114
+ class ServerSetStoreItemInformationRequestData extends SetStoreItemInformationRequestData {
115
+ }
116
+ class AdminSetStoreItemInformationRequestData extends ServerSetStoreItemInformationRequestData {
117
+ }
118
+ class ValidateAppleAppStoreReceiptRequestData {
119
+ receipt: string;
120
+ id: string;
121
+ type: number;
122
+ }
123
+ class ServerValidateAppleAppStoreReceiptRequestData extends ValidateAppleAppStoreReceiptRequestData {
124
+ }
125
+ class AdminValidateAppleAppStoreReceiptRequestData extends ServerValidateAppleAppStoreReceiptRequestData {
126
+ }
127
+ class ValidateFacebookStoreReceiptRequestData {
128
+ receipt: string;
129
+ id: string;
130
+ type: number;
131
+ }
132
+ class ServerValidateFacebookStoreReceiptRequestData extends ValidateFacebookStoreReceiptRequestData {
133
+ }
134
+ class AdminValidateFacebookStoreReceiptRequestData extends ServerValidateFacebookStoreReceiptRequestData {
135
+ }
136
+ class ValidateGooglePlayStoreReceiptRequestData {
137
+ receipt: string;
138
+ id: string;
139
+ type: number;
140
+ }
141
+ class ServerValidateGooglePlayStoreReceiptRequestData extends ValidateGooglePlayStoreReceiptRequestData {
142
+ }
143
+ class AdminValidateGooglePlayStoreReceiptRequestData extends ServerValidateGooglePlayStoreReceiptRequestData {
144
+ }
145
+ class InfoResponseParameters {
146
+ storeItems?: Array<StoreInventoryItem>;
147
+ storeCurrencies?: Array<PriceCurrencyItem>;
148
+ priceCurrencies?: Array<PriceCurrencyItem>;
149
+ inAppPurchase?: InAppPurchaseItem;
150
+ removeStatus?: GenericModels.RemoveStatusItem;
151
+ displayName?: string;
152
+ avatar?: GenericModels.AvatarItem;
153
+ tsCreate?: number;
154
+ tags?: Array<GenericModels.TagItem>;
155
+ storeDatas?: Array<GenericModels.DataItem>;
156
+ }
157
+ class StoreInventoryResponseData {
158
+ infoResponseParameters: InfoResponseParameters;
159
+ }
160
+ class StoreInventoryWithStoreIdResponseData extends StoreInventoryResponseData {
161
+ storeId: string;
162
+ }
163
+ class StoreInventoryLeaderboardResponseData extends StoreInventoryWithStoreIdResponseData {
164
+ position: number;
165
+ }
166
+ class GetStatisticsLeaderboardResponseData {
167
+ results: Array<StoreInventoryLeaderboardResponseData>;
168
+ }
169
+ class StoreInventoriesWithStoreIdResponseData {
170
+ results: Array<StoreInventoryWithStoreIdResponseData>;
171
+ }
172
+ class GrantStoreItemResponseData {
173
+ storeId: string;
174
+ }
175
+ class OwnerInfoResponseParameters {
176
+ currencies?: Array<PriceCurrencyItem>;
177
+ inventories?: Array<OwnerStoreInventoryItem>;
178
+ }
179
+ class BuyStoreInventoryResponseData {
180
+ storeItems?: Array<StoreInventoryItem>;
181
+ storeCurrencies?: Array<PriceCurrencyItem>;
182
+ priceCurrencies?: Array<PriceCurrencyItem>;
183
+ infoResponseParameters?: OwnerInfoResponseParameters;
184
+ }
185
+ class EmptyResponseData {
186
+ }
187
+ }