@accelbyte/sdk-ams 0.0.0-dev-20241024073009 → 0.0.0-dev-20250113092628

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/index.js CHANGED
@@ -25,7 +25,8 @@ import {
25
25
  ArtifactsAdminApi,
26
26
  Auth$,
27
27
  AuthApi,
28
- AvailableInstanceTypesResponse,
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
- InstanceTypeDescriptionResponse,
63
+ InstanceTypeForNamespaceResponse,
64
+ InstanceTypesForNamespaceResponse,
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-LBIKEJ3H.js";
78
+ } from "./chunk-YDYBKQVZ.js";
76
79
 
77
80
  // package.json
78
81
  var name = "@accelbyte/sdk-ams";
79
- var version = "5.0.1";
82
+ var version = "5.1.0";
80
83
  var author = "AccelByte Inc";
81
84
 
82
85
  // src/Ams.ts
@@ -116,69 +119,74 @@ 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: z3.string(),
119
123
  imageId: z3.string(),
120
124
  name: z3.string()
121
125
  });
122
126
 
123
- // src/generated-definitions/ErrorResponse.ts
127
+ // src/generated-definitions/DsHostConfigurationParameters.ts
124
128
  import { z as z4 } from "zod";
125
- var ErrorResponse = z4.object({ errorMessage: z4.string(), errorType: z4.string(), traceId: z4.string() });
129
+ var DsHostConfigurationParameters = z4.object({ instanceId: z4.string(), serversPerVm: z4.number().int() });
126
130
 
127
- // src/generated-definitions/FleetClaimByKeysReq.ts
131
+ // src/generated-definitions/ErrorResponse.ts
128
132
  import { z as z5 } from "zod";
129
- var FleetClaimByKeysReq = z5.object({ claimKeys: z5.array(z5.string()), regions: z5.array(z5.string()), sessionId: z5.string() });
133
+ var ErrorResponse = z5.object({ errorMessage: z5.string(), errorType: z5.string(), traceId: z5.string() });
130
134
 
131
- // src/generated-definitions/FleetClaimReq.ts
135
+ // src/generated-definitions/FleetClaimByKeysReq.ts
132
136
  import { z as z6 } from "zod";
133
- var FleetClaimReq = z6.object({ region: z6.string(), sessionId: z6.string() });
137
+ var FleetClaimByKeysReq = z6.object({ claimKeys: z6.array(z6.string()), regions: z6.array(z6.string()), sessionId: z6.string() });
134
138
 
135
- // src/generated-definitions/FleetParameters.ts
139
+ // src/generated-definitions/FleetClaimReq.ts
136
140
  import { z as z7 } from "zod";
137
- var FleetParameters = z7.object({
138
- active: z7.boolean(),
139
- claimKeys: z7.array(z7.string()).nullish(),
140
- dsHostConfiguration: DsHostConfiguration,
141
+ var FleetClaimReq = z7.object({ region: z7.string(), sessionId: z7.string() });
142
+
143
+ // src/generated-definitions/FleetParameters.ts
144
+ import { z as z8 } from "zod";
145
+ var FleetParameters = z8.object({
146
+ active: z8.boolean(),
147
+ claimKeys: z8.array(z8.string()).nullish(),
148
+ dsHostConfiguration: DsHostConfigurationParameters,
141
149
  imageDeploymentProfile: ImageDeploymentProfile,
142
- name: z7.string(),
143
- onDemand: z7.boolean(),
144
- regions: z7.array(RegionConfig),
150
+ name: z8.string(),
151
+ onDemand: z8.boolean(),
152
+ regions: z8.array(RegionConfig),
145
153
  samplingRules: FleetArtifactsSampleRules.nullish()
146
154
  });
147
155
 
148
156
  // src/generated-definitions/ImageUpdate.ts
149
- import { z as z8 } from "zod";
150
- var ImageUpdate = z8.object({
151
- addedTags: z8.array(z8.string()),
152
- isProtected: z8.boolean(),
153
- name: z8.string(),
154
- removedTags: z8.array(z8.string())
157
+ import { z as z9 } from "zod";
158
+ var ImageUpdate = z9.object({
159
+ addedTags: z9.array(z9.string()),
160
+ isProtected: z9.boolean(),
161
+ name: z9.string(),
162
+ removedTags: z9.array(z9.string())
155
163
  });
156
164
 
157
165
  // src/generated-definitions/Location.ts
158
- import { z as z11 } from "zod";
166
+ import { z as z12 } from "zod";
159
167
 
160
168
  // src/generated-definitions/Zone.ts
161
- import { z as z9 } from "zod";
162
- var Zone = z9.object({ isDST: z9.boolean(), name: z9.string(), offset: z9.number().int() });
169
+ import { z as z10 } from "zod";
170
+ var Zone = z10.object({ isDST: z10.boolean(), name: z10.string(), offset: z10.number().int() });
163
171
 
164
172
  // src/generated-definitions/ZoneTrans.ts
165
- import { z as z10 } from "zod";
166
- var ZoneTrans = z10.object({ index: z10.number().int(), isstd: z10.boolean(), isutc: z10.boolean(), when: z10.number().int() });
173
+ import { z as z11 } from "zod";
174
+ var ZoneTrans = z11.object({ index: z11.number().int(), isstd: z11.boolean(), isutc: z11.boolean(), when: z11.number().int() });
167
175
 
168
176
  // src/generated-definitions/Location.ts
169
- var Location = z11.object({
170
- cacheEnd: z11.number().int(),
171
- cacheStart: z11.number().int(),
177
+ var Location = z12.object({
178
+ cacheEnd: z12.number().int(),
179
+ cacheStart: z12.number().int(),
172
180
  cacheZone: Zone,
173
- extend: z11.string(),
174
- name: z11.string(),
175
- tx: z11.array(ZoneTrans),
176
- zone: z11.array(Zone)
181
+ extend: z12.string(),
182
+ name: z12.string(),
183
+ tx: z12.array(ZoneTrans),
184
+ zone: z12.array(Zone)
177
185
  });
178
186
 
179
187
  // src/generated-definitions/UpdateServerRequest.ts
180
- import { z as z12 } from "zod";
181
- var UpdateServerRequest = z12.object({ status: z12.string() });
188
+ import { z as z13 } from "zod";
189
+ var UpdateServerRequest = z13.object({ status: z13.string() });
182
190
  export {
183
191
  Account$,
184
192
  AccountAdmin$,
@@ -209,7 +217,8 @@ export {
209
217
  ArtifactsAdminApi,
210
218
  Auth$,
211
219
  AuthApi,
212
- AvailableInstanceTypesResponse,
220
+ Capacity,
221
+ CoredumpSamplingRules,
213
222
  DevelopmentAdmin$,
214
223
  DevelopmentAdminApi,
215
224
  DevelopmentServerConfigurationCreateRequest,
@@ -219,6 +228,7 @@ export {
219
228
  DsHistoryEvent,
220
229
  DsHistoryList,
221
230
  DsHostConfiguration,
231
+ DsHostConfigurationParameters,
222
232
  ErrorResponse,
223
233
  FleetArtifactsSampleRules,
224
234
  FleetClaimByKeysReq,
@@ -249,8 +259,10 @@ export {
249
259
  ImageUpdate,
250
260
  ImagesAdmin$,
251
261
  ImagesAdminApi,
252
- InstanceTypeDescriptionResponse,
262
+ InstanceTypeForNamespaceResponse,
263
+ InstanceTypesForNamespaceResponse,
253
264
  Location,
265
+ PaginationInfo,
254
266
  PagingInfo,
255
267
  PortConfiguration,
256
268
  QoSEndpointResponse,
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@accelbyte/sdk-ams",
3
- "version": "0.0.0-dev-20241024073009",
3
+ "version": "0.0.0-dev-20250113092628",
4
4
  "author": "AccelByte Inc",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "main": "./dist/index.js",
7
7
  "type": "module",
8
8
  "scripts": {
9
- "build": "rimraf dist && tsup src/index.ts src/all-query-imports.ts --dts --format esm,cjs",
9
+ "build": "rimraf dist && tsup --config ../../tsupconfig.base.ts",
10
10
  "test": "echo ''",
11
11
  "test-and-build": "yarn test && yarn build",
12
12
  "clean:src": "rimraf src/generated-*",
@@ -34,18 +34,18 @@
34
34
  "typescript": "5.5.4"
35
35
  },
36
36
  "dependencies": {
37
- "@accelbyte/validator": "0.0.0-dev-20241024073009",
37
+ "@accelbyte/validator": "0.0.0-dev-20250113092628",
38
38
  "axios": "1.7.7",
39
39
  "buffer": "6.0.3",
40
- "crypto-js": "4.1.1",
40
+ "crypto-js": "4.2.0",
41
41
  "platform": "1.3.6",
42
42
  "uuid": "8.3.2",
43
43
  "validator": "13.7.0",
44
44
  "zod": "3.23.8"
45
45
  },
46
46
  "peerDependencies": {
47
- "@accelbyte/sdk": "0.0.0-dev-20241024073009",
48
- "@tanstack/react-query": "^4.36.1"
47
+ "@accelbyte/sdk": "0.0.0-dev-20250113092628",
48
+ "@tanstack/react-query": "^4.36.1 || ^5.0.0"
49
49
  },
50
50
  "sideEffects": false,
51
51
  "peerDependenciesMeta": {