@accelbyte/sdk-ams 5.2.1 → 5.3.1
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/{FleetClaimResponse-B0Ss45Mo.d.cts → FleetClaimResponse-CE1Oz24x.d.cts} +435 -230
- package/dist/{FleetClaimResponse-B0Ss45Mo.d.ts → FleetClaimResponse-CE1Oz24x.d.ts} +435 -230
- package/dist/all-query-imports.cjs +331 -247
- package/dist/all-query-imports.d.cts +49 -7
- package/dist/all-query-imports.d.ts +49 -7
- package/dist/all-query-imports.js +23 -3
- package/dist/{chunk-LBIKEJ3H.js → chunk-UPPXBGXY.js} +310 -246
- package/dist/global/index.global.js +1 -1
- package/dist/index.cjs +369 -311
- package/dist/index.d.cts +249 -185
- package/dist/index.d.ts +249 -185
- package/dist/index.js +49 -53
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -25,7 +25,8 @@ import {
|
|
|
25
25
|
ArtifactsAdminApi,
|
|
26
26
|
Auth$,
|
|
27
27
|
AuthApi,
|
|
28
|
-
|
|
28
|
+
Capacity,
|
|
29
|
+
CoredumpSamplingRules,
|
|
29
30
|
DevelopmentAdmin$,
|
|
30
31
|
DevelopmentAdminApi,
|
|
31
32
|
DevelopmentServerConfigurationCreateResponse,
|
|
@@ -59,7 +60,9 @@ import {
|
|
|
59
60
|
ImageStorage,
|
|
60
61
|
ImagesAdmin$,
|
|
61
62
|
ImagesAdminApi,
|
|
62
|
-
|
|
63
|
+
InstanceType,
|
|
64
|
+
InstanceTypesResponse,
|
|
65
|
+
PaginationInfo,
|
|
63
66
|
PagingInfo,
|
|
64
67
|
PortConfiguration,
|
|
65
68
|
QoSEndpointResponse,
|
|
@@ -72,11 +75,11 @@ import {
|
|
|
72
75
|
Timeout,
|
|
73
76
|
Watchdogs$,
|
|
74
77
|
WatchdogsApi
|
|
75
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-UPPXBGXY.js";
|
|
76
79
|
|
|
77
80
|
// package.json
|
|
78
81
|
var name = "@accelbyte/sdk-ams";
|
|
79
|
-
var version = "5.
|
|
82
|
+
var version = "5.3.0";
|
|
80
83
|
var author = "AccelByte Inc";
|
|
81
84
|
|
|
82
85
|
// src/Ams.ts
|
|
@@ -116,69 +119,60 @@ var AccountLinkRequest = z2.object({ token: z2.string() });
|
|
|
116
119
|
import { z as z3 } from "zod";
|
|
117
120
|
var DevelopmentServerConfigurationCreateRequest = z3.object({
|
|
118
121
|
commandLineArguments: z3.string(),
|
|
122
|
+
expiresAt: Time.nullish(),
|
|
119
123
|
imageId: z3.string(),
|
|
120
124
|
name: z3.string()
|
|
121
125
|
});
|
|
122
126
|
|
|
123
|
-
// src/generated-definitions/
|
|
127
|
+
// src/generated-definitions/DevelopmentServerConfigurationUpdateRequest.ts
|
|
124
128
|
import { z as z4 } from "zod";
|
|
125
|
-
var
|
|
129
|
+
var DevelopmentServerConfigurationUpdateRequest = z4.object({
|
|
130
|
+
commandLineArguments: z4.string().nullish(),
|
|
131
|
+
expiresAt: Time.nullish()
|
|
132
|
+
});
|
|
126
133
|
|
|
127
|
-
// src/generated-definitions/
|
|
134
|
+
// src/generated-definitions/DsHostConfigurationParameters.ts
|
|
128
135
|
import { z as z5 } from "zod";
|
|
129
|
-
var
|
|
136
|
+
var DsHostConfigurationParameters = z5.object({ instanceId: z5.string(), serversPerVm: z5.number().int() });
|
|
130
137
|
|
|
131
|
-
// src/generated-definitions/
|
|
138
|
+
// src/generated-definitions/ErrorResponse.ts
|
|
132
139
|
import { z as z6 } from "zod";
|
|
133
|
-
var
|
|
140
|
+
var ErrorResponse = z6.object({ errorMessage: z6.string(), errorType: z6.string(), traceId: z6.string() });
|
|
134
141
|
|
|
135
|
-
// src/generated-definitions/
|
|
142
|
+
// src/generated-definitions/FleetClaimByKeysReq.ts
|
|
136
143
|
import { z as z7 } from "zod";
|
|
137
|
-
var
|
|
138
|
-
active: z7.boolean(),
|
|
139
|
-
claimKeys: z7.array(z7.string()).nullish(),
|
|
140
|
-
dsHostConfiguration: DsHostConfiguration,
|
|
141
|
-
imageDeploymentProfile: ImageDeploymentProfile,
|
|
142
|
-
name: z7.string(),
|
|
143
|
-
onDemand: z7.boolean(),
|
|
144
|
-
regions: z7.array(RegionConfig),
|
|
145
|
-
samplingRules: FleetArtifactsSampleRules.nullish()
|
|
146
|
-
});
|
|
144
|
+
var FleetClaimByKeysReq = z7.object({ claimKeys: z7.array(z7.string()), regions: z7.array(z7.string()), sessionId: z7.string() });
|
|
147
145
|
|
|
148
|
-
// src/generated-definitions/
|
|
146
|
+
// src/generated-definitions/FleetClaimReq.ts
|
|
149
147
|
import { z as z8 } from "zod";
|
|
150
|
-
var
|
|
151
|
-
addedTags: z8.array(z8.string()),
|
|
152
|
-
isProtected: z8.boolean(),
|
|
153
|
-
name: z8.string(),
|
|
154
|
-
removedTags: z8.array(z8.string())
|
|
155
|
-
});
|
|
156
|
-
|
|
157
|
-
// src/generated-definitions/Location.ts
|
|
158
|
-
import { z as z11 } from "zod";
|
|
148
|
+
var FleetClaimReq = z8.object({ region: z8.string(), sessionId: z8.string() });
|
|
159
149
|
|
|
160
|
-
// src/generated-definitions/
|
|
150
|
+
// src/generated-definitions/FleetParameters.ts
|
|
161
151
|
import { z as z9 } from "zod";
|
|
162
|
-
var
|
|
152
|
+
var FleetParameters = z9.object({
|
|
153
|
+
active: z9.boolean(),
|
|
154
|
+
claimKeys: z9.array(z9.string()).nullish(),
|
|
155
|
+
dsHostConfiguration: DsHostConfigurationParameters,
|
|
156
|
+
fallbackFleet: z9.string().nullish(),
|
|
157
|
+
imageDeploymentProfile: ImageDeploymentProfile,
|
|
158
|
+
name: z9.string(),
|
|
159
|
+
onDemand: z9.boolean(),
|
|
160
|
+
regions: z9.array(RegionConfig),
|
|
161
|
+
samplingRules: FleetArtifactsSampleRules.nullish()
|
|
162
|
+
});
|
|
163
163
|
|
|
164
|
-
// src/generated-definitions/
|
|
164
|
+
// src/generated-definitions/ImageUpdate.ts
|
|
165
165
|
import { z as z10 } from "zod";
|
|
166
|
-
var
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
cacheStart: z11.number().int(),
|
|
172
|
-
cacheZone: Zone,
|
|
173
|
-
extend: z11.string(),
|
|
174
|
-
name: z11.string(),
|
|
175
|
-
tx: z11.array(ZoneTrans),
|
|
176
|
-
zone: z11.array(Zone)
|
|
166
|
+
var ImageUpdate = z10.object({
|
|
167
|
+
addedTags: z10.array(z10.string()),
|
|
168
|
+
isProtected: z10.boolean().nullish(),
|
|
169
|
+
name: z10.string().nullish(),
|
|
170
|
+
removedTags: z10.array(z10.string())
|
|
177
171
|
});
|
|
178
172
|
|
|
179
173
|
// src/generated-definitions/UpdateServerRequest.ts
|
|
180
|
-
import { z as
|
|
181
|
-
var UpdateServerRequest =
|
|
174
|
+
import { z as z11 } from "zod";
|
|
175
|
+
var UpdateServerRequest = z11.object({ status: z11.string() });
|
|
182
176
|
export {
|
|
183
177
|
Account$,
|
|
184
178
|
AccountAdmin$,
|
|
@@ -209,16 +203,19 @@ export {
|
|
|
209
203
|
ArtifactsAdminApi,
|
|
210
204
|
Auth$,
|
|
211
205
|
AuthApi,
|
|
212
|
-
|
|
206
|
+
Capacity,
|
|
207
|
+
CoredumpSamplingRules,
|
|
213
208
|
DevelopmentAdmin$,
|
|
214
209
|
DevelopmentAdminApi,
|
|
215
210
|
DevelopmentServerConfigurationCreateRequest,
|
|
216
211
|
DevelopmentServerConfigurationCreateResponse,
|
|
217
212
|
DevelopmentServerConfigurationGetResponse,
|
|
218
213
|
DevelopmentServerConfigurationListResponse,
|
|
214
|
+
DevelopmentServerConfigurationUpdateRequest,
|
|
219
215
|
DsHistoryEvent,
|
|
220
216
|
DsHistoryList,
|
|
221
217
|
DsHostConfiguration,
|
|
218
|
+
DsHostConfigurationParameters,
|
|
222
219
|
ErrorResponse,
|
|
223
220
|
FleetArtifactsSampleRules,
|
|
224
221
|
FleetClaimByKeysReq,
|
|
@@ -249,8 +246,9 @@ export {
|
|
|
249
246
|
ImageUpdate,
|
|
250
247
|
ImagesAdmin$,
|
|
251
248
|
ImagesAdminApi,
|
|
252
|
-
|
|
253
|
-
|
|
249
|
+
InstanceType,
|
|
250
|
+
InstanceTypesResponse,
|
|
251
|
+
PaginationInfo,
|
|
254
252
|
PagingInfo,
|
|
255
253
|
PortConfiguration,
|
|
256
254
|
QoSEndpointResponse,
|
|
@@ -263,7 +261,5 @@ export {
|
|
|
263
261
|
Timeout,
|
|
264
262
|
UpdateServerRequest,
|
|
265
263
|
Watchdogs$,
|
|
266
|
-
WatchdogsApi
|
|
267
|
-
Zone,
|
|
268
|
-
ZoneTrans
|
|
264
|
+
WatchdogsApi
|
|
269
265
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@accelbyte/sdk-ams",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.1",
|
|
4
4
|
"author": "AccelByte Inc",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"typescript": "5.5.4"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@accelbyte/validator": "0.2.
|
|
37
|
+
"@accelbyte/validator": "0.2.30",
|
|
38
38
|
"axios": "1.8.4",
|
|
39
39
|
"buffer": "6.0.3",
|
|
40
40
|
"crypto-js": "4.2.0",
|