@xmobitea/gn-typescript-client 2.6.9-tsc → 2.6.10-tsc

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 (91) hide show
  1. package/dist/runtime/config/GNServerSettings.d.ts +3 -0
  2. package/dist/runtime/config/GNServerSettings.js +7 -0
  3. package/dist/runtime/constant/Commands.d.ts +1 -0
  4. package/dist/runtime/constant/Commands.js +1 -0
  5. package/dist/runtime/networking/http/HttpPeer.js +1 -0
  6. package/dist/runtime/networking/http/NetworkingHttpPeerBase.d.ts +2 -0
  7. package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +3 -0
  8. package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +19 -4
  9. package/package.json +1 -1
  10. package/responseModel/chatgpt/Authenticate.json +0 -724
  11. package/responseModel/chatgpt/CharacterPlayer.json +0 -1890
  12. package/responseModel/chatgpt/CloudScript.json +0 -254
  13. package/responseModel/chatgpt/Content.json +0 -273
  14. package/responseModel/chatgpt/Dashboard.json +0 -4110
  15. package/responseModel/chatgpt/GamePlayer.json +0 -2306
  16. package/responseModel/chatgpt/Generic.json +0 -253
  17. package/responseModel/chatgpt/Group.json +0 -1509
  18. package/responseModel/chatgpt/Inventory.json +0 -1211
  19. package/responseModel/chatgpt/MasterPlayer.json +0 -3801
  20. package/responseModel/chatgpt/Multiplayer.json +0 -634
  21. package/responseModel/chatgpt/StoreInventory.json +0 -1099
  22. package/responseModel/clients/AuthenticateModels.json +0 -271
  23. package/responseModel/clients/CharacterPlayerModels.json +0 -792
  24. package/responseModel/clients/CloudScriptModels.json +0 -191
  25. package/responseModel/clients/ContentModels.json +0 -178
  26. package/responseModel/clients/DashboardModels.json +0 -5423
  27. package/responseModel/clients/GamePlayerModels.json +0 -781
  28. package/responseModel/clients/GenericModels.json +0 -344
  29. package/responseModel/clients/GroupModels.json +0 -705
  30. package/responseModel/clients/InventoryModels.json +0 -568
  31. package/responseModel/clients/MasterPlayerModels.json +0 -1281
  32. package/responseModel/clients/MultiplayerModels.json +0 -439
  33. package/responseModel/clients/StoreInventoryModels.json +0 -971
  34. package/responseModel/finalChatgpt/Authenticate.json +0 -1475
  35. package/responseModel/finalChatgpt/CharacterPlayer.json +0 -4104
  36. package/responseModel/finalChatgpt/CloudScript.json +0 -515
  37. package/responseModel/finalChatgpt/Content.json +0 -536
  38. package/responseModel/finalChatgpt/Dashboard.json +0 -6712
  39. package/responseModel/finalChatgpt/GamePlayer.json +0 -5142
  40. package/responseModel/finalChatgpt/Generic.json +0 -333
  41. package/responseModel/finalChatgpt/Group.json +0 -3232
  42. package/responseModel/finalChatgpt/Inventory.json +0 -2606
  43. package/responseModel/finalChatgpt/MasterPlayer.json +0 -8385
  44. package/responseModel/finalChatgpt/Multiplayer.json +0 -1196
  45. package/responseModel/finalChatgpt/StoreInventory.json +0 -2085
  46. package/responseModel/finals/Authenticate.json +0 -1460
  47. package/responseModel/finals/CharacterPlayer.json +0 -3639
  48. package/responseModel/finals/CloudScript.json +0 -465
  49. package/responseModel/finals/Content.json +0 -479
  50. package/responseModel/finals/Dashboard.json +0 -6718
  51. package/responseModel/finals/GamePlayer.json +0 -4291
  52. package/responseModel/finals/Generic.json +0 -345
  53. package/responseModel/finals/Group.json +0 -2885
  54. package/responseModel/finals/Inventory.json +0 -2309
  55. package/responseModel/finals/MasterPlayer.json +0 -7018
  56. package/responseModel/finals/Multiplayer.json +0 -1082
  57. package/responseModel/finals/StoreInventory.json +0 -1979
  58. package/responseModel/finalsShort/Authenticate.json +0 -723
  59. package/responseModel/finalsShort/CharacterPlayer.json +0 -1889
  60. package/responseModel/finalsShort/CloudScript.json +0 -253
  61. package/responseModel/finalsShort/Content.json +0 -272
  62. package/responseModel/finalsShort/Dashboard.json +0 -4109
  63. package/responseModel/finalsShort/GamePlayer.json +0 -2305
  64. package/responseModel/finalsShort/Generic.json +0 -252
  65. package/responseModel/finalsShort/Group.json +0 -1508
  66. package/responseModel/finalsShort/Inventory.json +0 -1210
  67. package/responseModel/finalsShort/MasterPlayer.json +0 -3800
  68. package/responseModel/finalsShort/Multiplayer.json +0 -633
  69. package/responseModel/finalsShort/StoreInventory.json +0 -1098
  70. package/responseModel/operationResponse/AuthenticateResponseModels.json +0 -77
  71. package/responseModel/operationResponse/CharacterPlayerResponseModels.json +0 -217
  72. package/responseModel/operationResponse/CloudScriptResponseModels.json +0 -25
  73. package/responseModel/operationResponse/ContentResponseModels.json +0 -33
  74. package/responseModel/operationResponse/DashboardResponseModels.json +0 -109
  75. package/responseModel/operationResponse/GamePlayerResponseModels.json +0 -213
  76. package/responseModel/operationResponse/GroupResponseModels.json +0 -165
  77. package/responseModel/operationResponse/InventoryResponseModels.json +0 -141
  78. package/responseModel/operationResponse/MasterPlayerResponseModels.json +0 -349
  79. package/responseModel/operationResponse/MultiplayerResponseModels.json +0 -45
  80. package/responseModel/operationResponse/StoreInventoryResponseModels.json +0 -61
  81. package/responseModel/servers/Authenticate.json +0 -1328
  82. package/responseModel/servers/CharacterPlayer.json +0 -3199
  83. package/responseModel/servers/CloudScript.json +0 -278
  84. package/responseModel/servers/Content.json +0 -324
  85. package/responseModel/servers/GamePlayer.json +0 -3844
  86. package/responseModel/servers/Group.json +0 -2454
  87. package/responseModel/servers/Inventory.json +0 -1964
  88. package/responseModel/servers/MasterAdmin.json +0 -5569
  89. package/responseModel/servers/MasterPlayer.json +0 -5924
  90. package/responseModel/servers/Multiplayer.json +0 -545
  91. package/responseModel/servers/StoreInventory.json +0 -1290
@@ -1,254 +0,0 @@
1
- {
2
- "requestType": "CloudScript",
3
- "description": "API requests related to managing and executing server-side CloudScript functions.",
4
- "operations": [
5
- {
6
- "operationCode": "AddFunction",
7
- "details": [
8
- {
9
- "role": "Client",
10
- "requestData": [
11
- {
12
- "code": "Script",
13
- "description": "The full JavaScript or TypeScript source code of the CloudScript function.",
14
- "type": "string"
15
- },
16
- {
17
- "code": "CanExecute",
18
- "description": "Indicates whether this function can be invoked by clients.",
19
- "type": "boolean"
20
- },
21
- {
22
- "code": "IsLive",
23
- "description": "Whether this function version is live and callable in production.",
24
- "type": "boolean"
25
- }
26
- ]
27
- }
28
- ],
29
- "description": "Deploy a new CloudScript function to the server, including its code and access configuration."
30
- },
31
- {
32
- "operationCode": "EditFunction",
33
- "details": [
34
- {
35
- "role": "Client",
36
- "requestData": [
37
- {
38
- "code": "Version",
39
- "description": "The version identifier of the CloudScript function.",
40
- "type": "string"
41
- },
42
- {
43
- "code": "CanExecute",
44
- "description": "Indicates whether this function can be invoked by clients.",
45
- "type": "boolean"
46
- },
47
- {
48
- "code": "IsLive",
49
- "description": "Whether this function version is live and callable in production.",
50
- "type": "boolean"
51
- }
52
- ]
53
- }
54
- ],
55
- "description": "Modify the code or metadata of an existing CloudScript function by version."
56
- },
57
- {
58
- "operationCode": "ExecuteFunction",
59
- "details": [
60
- {
61
- "role": "Client",
62
- "requestData": [
63
- {
64
- "code": "UserId",
65
- "description": "The unique identifier of the player for whom the function is being executed.",
66
- "type": "string"
67
- },
68
- {
69
- "code": "FunctionName",
70
- "description": "The name of the function to be executed.",
71
- "type": "string"
72
- },
73
- {
74
- "code": "FunctionParameters",
75
- "description": "A JSON object containing input arguments to pass to the function.",
76
- "type": "object"
77
- },
78
- {
79
- "code": "Version",
80
- "description": "The version identifier of the CloudScript function.",
81
- "type": "string"
82
- }
83
- ]
84
- },
85
- {
86
- "role": "Server",
87
- "requestData": [
88
- {
89
- "code": "UserId",
90
- "description": "The unique identifier of the player for whom the function is being executed.",
91
- "type": "string"
92
- }
93
- ]
94
- }
95
- ],
96
- "description": "Run a deployed CloudScript function with optional input parameters."
97
- },
98
- {
99
- "operationCode": "GetFunction",
100
- "details": [
101
- {
102
- "role": "Client",
103
- "requestData": [
104
- {
105
- "code": "Version",
106
- "description": "The version identifier of the CloudScript function.",
107
- "type": "string"
108
- }
109
- ]
110
- }
111
- ],
112
- "description": "Retrieve the source code and metadata of a specific CloudScript function version."
113
- },
114
- {
115
- "operationCode": "GetFunctions",
116
- "details": [],
117
- "description": "List all available versions of deployed CloudScript functions."
118
- }
119
- ],
120
- "models": [
121
- {
122
- "name": "AddFunctionResponseData",
123
- "details": [
124
- {
125
- "code": "Version",
126
- "description": "The version assigned to the CloudScript function.",
127
- "type": "string"
128
- },
129
- {
130
- "code": "ErrorMessage",
131
- "description": "The error message if the operation failed.",
132
- "type": "string"
133
- }
134
- ],
135
- "extends": null,
136
- "description": "Contains metadata about the newly deployed CloudScript function."
137
- },
138
- {
139
- "name": "EditFunctionResponseData",
140
- "details": [
141
- {
142
- "code": "ErrorMessage",
143
- "description": "The error message if the operation failed.",
144
- "type": "string"
145
- }
146
- ],
147
- "extends": null,
148
- "description": "Result of a CloudScript function code update operation."
149
- },
150
- {
151
- "name": "ExecuteFunctionResponseData",
152
- "details": [
153
- {
154
- "code": "Status",
155
- "description": "The numeric status code returned from execution.",
156
- "type": "number"
157
- },
158
- {
159
- "code": "ExecutionTimeInMs",
160
- "description": "Time in milliseconds taken to execute the function.",
161
- "type": "number"
162
- },
163
- {
164
- "code": "MemoryUsedInBytes",
165
- "description": "Amount of memory used during function execution.",
166
- "type": "number"
167
- },
168
- {
169
- "code": "FunctionResult",
170
- "description": "The returned output from the executed function.",
171
- "type": "any"
172
- },
173
- {
174
- "code": "ErrorMessage",
175
- "description": "The error message if the operation failed.",
176
- "type": "string"
177
- },
178
- {
179
- "code": "FunctionLogs",
180
- "description": "A list of log messages generated during execution.",
181
- "type": "Array<string>"
182
- }
183
- ],
184
- "extends": null,
185
- "description": "Result of executing a CloudScript function, including return value and metrics."
186
- },
187
- {
188
- "name": "GetFunctionResponseData",
189
- "details": [
190
- {
191
- "code": "Script",
192
- "description": "The JavaScript or TypeScript source code of the function.",
193
- "type": "string"
194
- },
195
- {
196
- "code": "CanExecute",
197
- "description": "Whether this function version can be executed.",
198
- "type": "boolean"
199
- },
200
- {
201
- "code": "IsLive",
202
- "description": "Whether this function version is currently live.",
203
- "type": "boolean"
204
- },
205
- {
206
- "code": "TsCreate",
207
- "description": "The timestamp when the function version was created.",
208
- "type": "number"
209
- }
210
- ],
211
- "extends": null,
212
- "description": "Details of a specific CloudScript function, including source and flags."
213
- },
214
- {
215
- "name": "FunctionResponseData",
216
- "details": [
217
- {
218
- "code": "Version",
219
- "description": "The version assigned to the CloudScript function.",
220
- "type": "string"
221
- },
222
- {
223
- "code": "CanExecute",
224
- "description": "Whether this function version can be executed.",
225
- "type": "boolean"
226
- }
227
- ],
228
- "extends": null,
229
- "description": "Metadata for a CloudScript function version."
230
- },
231
- {
232
- "name": "GetFunctionsResponseData",
233
- "details": [
234
- {
235
- "code": "Results",
236
- "description": "A list of available function versions.",
237
- "type": "Array<FunctionResponseData>"
238
- },
239
- {
240
- "code": "LatestVersion",
241
- "description": "The latest version number of the function.",
242
- "type": "string"
243
- },
244
- {
245
- "code": "LiveLatestVersion",
246
- "description": "The latest version number currently marked as live.",
247
- "type": "string"
248
- }
249
- ],
250
- "extends": null,
251
- "description": "List of all versions of deployed CloudScript functions."
252
- }
253
- ]
254
- }
@@ -1,273 +0,0 @@
1
- {
2
- "requestType": "Content",
3
- "description": "API requests for managing game-related content such as downloadable assets, thumbnails, and external catalog references.",
4
- "operations": [
5
- {
6
- "operationCode": "CreateNewFileUploadInfo",
7
- "details": [
8
- {
9
- "role": "Client",
10
- "requestData": [
11
- {
12
- "code": "FileName",
13
- "description": "FileName used in this context.",
14
- "type": "string"
15
- }
16
- ]
17
- }
18
- ],
19
- "description": "Perform operation: CreateNewFileUploadInfo"
20
- },
21
- {
22
- "operationCode": "GetContentData",
23
- "details": [
24
- {
25
- "role": "Client",
26
- "requestData": [
27
- {
28
- "code": "Keys",
29
- "description": "Keys used in this context.",
30
- "type": "Array<string>"
31
- },
32
- {
33
- "code": "Label",
34
- "description": "Label used in this context.",
35
- "type": "string",
36
- "defaultValue": "\"\""
37
- }
38
- ]
39
- }
40
- ],
41
- "description": "Perform operation: GetContentData"
42
- },
43
- {
44
- "operationCode": "GetFileUploadInfoList",
45
- "details": [
46
- {
47
- "role": "Client",
48
- "requestData": [
49
- {
50
- "code": "Skip",
51
- "description": "Skip used in this context.",
52
- "type": "number",
53
- "defaultValue": "0"
54
- },
55
- {
56
- "code": "Limit",
57
- "description": "Limit used in this context.",
58
- "type": "number",
59
- "defaultValue": "10"
60
- }
61
- ]
62
- }
63
- ],
64
- "description": "Perform operation: GetFileUploadInfoList"
65
- },
66
- {
67
- "operationCode": "GetFileUploadInfo",
68
- "details": [
69
- {
70
- "role": "Client",
71
- "requestData": [
72
- {
73
- "code": "FileId",
74
- "description": "FileId used in this context.",
75
- "type": "string"
76
- }
77
- ]
78
- }
79
- ],
80
- "description": "Perform operation: GetFileUploadInfo"
81
- },
82
- {
83
- "operationCode": "RemoveFileUploadInfo",
84
- "details": [
85
- {
86
- "role": "Client",
87
- "requestData": [
88
- {
89
- "code": "FileId",
90
- "description": "FileId used in this context.",
91
- "type": "string"
92
- },
93
- {
94
- "code": "Reason",
95
- "description": "Reason used in this context.",
96
- "type": "string",
97
- "defaultValue": "\"\""
98
- }
99
- ]
100
- }
101
- ],
102
- "description": "Perform operation: RemoveFileUploadInfo"
103
- },
104
- {
105
- "operationCode": "RequestDownloadFileUploadInfo",
106
- "details": [
107
- {
108
- "role": "Client",
109
- "requestData": [
110
- {
111
- "code": "FileId",
112
- "description": "FileId used in this context.",
113
- "type": "string"
114
- }
115
- ]
116
- }
117
- ],
118
- "description": "Perform operation: RequestDownloadFileUploadInfo"
119
- },
120
- {
121
- "operationCode": "SetContentData",
122
- "details": [
123
- {
124
- "role": "Client",
125
- "requestData": [
126
- {
127
- "code": "Configs",
128
- "description": "Configs used in this context.",
129
- "type": "Array<ContentDataParam>"
130
- },
131
- {
132
- "code": "Label",
133
- "description": "Label used in this context.",
134
- "type": "string"
135
- }
136
- ]
137
- }
138
- ],
139
- "description": "Perform operation: SetContentData"
140
- }
141
- ],
142
- "models": [
143
- {
144
- "name": "ContentDataParam",
145
- "details": [
146
- {
147
- "code": "Key",
148
- "description": "Key field in ContentDataParam.",
149
- "type": "string"
150
- },
151
- {
152
- "code": "Data",
153
- "description": "Data field in ContentDataParam.",
154
- "type": "GNHashtable"
155
- }
156
- ],
157
- "description": "Data model for ContentDataParam."
158
- },
159
- {
160
- "name": "FileIdUploadResponseData",
161
- "details": [
162
- {
163
- "code": "FileId",
164
- "description": "FileId field in FileIdUploadResponseData.",
165
- "type": "string"
166
- }
167
- ],
168
- "extends": null,
169
- "description": "Data model for FileIdUploadResponseData."
170
- },
171
- {
172
- "name": "GetContentDataResponseData",
173
- "details": [
174
- {
175
- "code": "Configs",
176
- "description": "Configs field in GetContentDataResponseData.",
177
- "type": "Array<ContentDataParam>"
178
- }
179
- ],
180
- "extends": null,
181
- "description": "Data model for GetContentDataResponseData."
182
- },
183
- {
184
- "name": "GetFileUploadInfoListResponseData",
185
- "details": [
186
- {
187
- "code": "Results",
188
- "description": "Results field in GetFileUploadInfoListResponseData.",
189
- "type": "Array<FileIdUploadResponseData>"
190
- }
191
- ],
192
- "extends": null,
193
- "description": "Data model for GetFileUploadInfoListResponseData."
194
- },
195
- {
196
- "name": "FileUploadItem",
197
- "details": [
198
- {
199
- "code": "MimeType",
200
- "description": "MimeType field in FileUploadItem.",
201
- "type": "string"
202
- },
203
- {
204
- "code": "Size",
205
- "description": "Size field in FileUploadItem.",
206
- "type": "number"
207
- },
208
- {
209
- "code": "FolderFileName",
210
- "description": "FolderFileName field in FileUploadItem.",
211
- "type": "string"
212
- }
213
- ],
214
- "extends": null,
215
- "description": "Data model for FileUploadItem."
216
- },
217
- {
218
- "name": "GetFileUploadInfoResponseData",
219
- "details": [
220
- {
221
- "code": "FileName",
222
- "description": "FileName field in GetFileUploadInfoResponseData.",
223
- "type": "string"
224
- },
225
- {
226
- "code": "TsCreate",
227
- "description": "TsCreate field in GetFileUploadInfoResponseData.",
228
- "type": "number"
229
- },
230
- {
231
- "code": "RemoveStatus",
232
- "description": "RemoveStatus field in GetFileUploadInfoResponseData.",
233
- "type": "GenericModels.RemoveStatusItem"
234
- },
235
- {
236
- "code": "TsUploadExpire",
237
- "description": "TsUploadExpire field in GetFileUploadInfoResponseData.",
238
- "type": "number"
239
- },
240
- {
241
- "code": "FileUpload",
242
- "description": "FileUpload field in GetFileUploadInfoResponseData.",
243
- "type": "FileUploadItem"
244
- },
245
- {
246
- "code": "FileId",
247
- "description": "FileId field in GetFileUploadInfoResponseData.",
248
- "type": "string"
249
- }
250
- ],
251
- "extends": null,
252
- "description": "Data model for GetFileUploadInfoResponseData."
253
- },
254
- {
255
- "name": "RequestDownloadFileUploadInfoResponseData",
256
- "details": [
257
- {
258
- "code": "DownloadToken",
259
- "description": "DownloadToken field in RequestDownloadFileUploadInfoResponseData.",
260
- "type": "string"
261
- }
262
- ],
263
- "extends": null,
264
- "description": "Data model for RequestDownloadFileUploadInfoResponseData."
265
- },
266
- {
267
- "name": "EmptyResponseData",
268
- "details": [],
269
- "extends": null,
270
- "description": "Data model for EmptyResponseData."
271
- }
272
- ]
273
- }