@accelbyte/sdk-ams 0.0.0-dev-20240828055251 → 0.0.0-dev-20240904033042

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.
@@ -1,7 +1,7 @@
1
1
  import { AccelByteSDK, SdkSetConfigParam, ApiError } from '@accelbyte/sdk';
2
2
  import { AxiosError, AxiosResponse } from 'axios';
3
3
  import { UseQueryOptions, UseQueryResult, UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
4
- import { A as AccountResponse, b as AccountCreateResponse, a as AccountCreateRequest, c as AccountLinkTokenResponse, e as AccountLinkResponse, d as AccountLinkRequest, f as AmsRegionsResponse, g as AvailableInstanceTypesResponse, Q as QoSEndpointResponse, U as UpdateServerRequest, h as ArtifactListResponse, i as ArtifactUsageResponse, j as ArtifactUrlResponse, F as FleetArtifactsSampleRules, D as DevelopmentServerConfigurationListResponse, l as DevelopmentServerConfigurationCreateResponse, k as DevelopmentServerConfigurationCreateRequest, m as DevelopmentServerConfigurationGetResponse, n as FleetListResponse, p as FleetCreateResponse, o as FleetParameters, q as FleetGetResponse, r as FleetServersResponse, I as ImageList, s as ImageStorage, t as ImageDetails, u as ImageUpdate, v as FleetServerInfoResponse, w as FleetServerHistoryResponse, x as DsHistoryList, y as FleetServerConnectionInfoResponse, B as FleetClaimResponse, z as FleetClaimByKeysReq, C as FleetClaimReq } from './FleetClaimResponse-DIDPJOnU.cjs';
4
+ import { A as AccountResponse, b as AccountCreateResponse, a as AccountCreateRequest, c as AccountLinkTokenResponse, e as AccountLinkResponse, d as AccountLinkRequest, f as AmsRegionsResponse, g as AvailableInstanceTypesResponse, Q as QoSEndpointResponse, U as UpdateServerRequest, h as ArtifactListResponse, i as ArtifactUsageResponse, j as ArtifactUrlResponse, F as FleetArtifactsSampleRules, D as DevelopmentServerConfigurationListResponse, l as DevelopmentServerConfigurationCreateResponse, k as DevelopmentServerConfigurationCreateRequest, m as DevelopmentServerConfigurationGetResponse, n as FleetListResponse, p as FleetCreateResponse, o as FleetParameters, q as FleetGetResponse, r as FleetServersResponse, I as ImageList, s as ImageStorage, t as ImageDetails, u as ImageUpdate, v as FleetServerInfoResponse, w as FleetServerHistoryResponse, x as DsHistoryList, y as FleetServerConnectionInfoResponse, B as FleetClaimResponse, z as FleetClaimByKeysReq, C as FleetClaimReq } from './FleetClaimResponse-CS_GmAA_.cjs';
5
5
  import 'zod';
6
6
 
7
7
  /**
@@ -12,13 +12,57 @@ declare enum Key_AccountAdmin {
12
12
  Account = "Ams.AccountAdmin.Account",
13
13
  AccountLink = "Ams.AccountAdmin.AccountLink"
14
14
  }
15
+ /**
16
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]
17
+ *
18
+ * #### Default Query Options
19
+ * The default options include:
20
+ * ```
21
+ * {
22
+ * queryKey: [Key_AccountAdmin.Account, input]
23
+ * }
24
+ * ```
25
+ */
15
26
  declare const useAccountAdminApi_GetAccount: (sdk: AccelByteSDK, input: SdkSetConfigParam, options?: Omit<UseQueryOptions<AccountResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<AccountResponse>) => void) => UseQueryResult<AccountResponse, AxiosError<ApiError>>;
27
+ /**
28
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]
29
+ *
30
+ * #### Default Query Options
31
+ * The default options include:
32
+ * ```
33
+ * {
34
+ * queryKey: [Key_AccountAdmin.Account, input]
35
+ * }
36
+ * ```
37
+ */
16
38
  declare const useAccountAdminApi_CreateAccount: (sdk: AccelByteSDK, options?: Omit<UseMutationOptions<AccountCreateResponse, AxiosError<ApiError>, SdkSetConfigParam & {
17
39
  data: AccountCreateRequest;
18
40
  }>, "mutationKey">, callback?: (data: AccountCreateResponse) => void) => UseMutationResult<AccountCreateResponse, AxiosError<ApiError>, SdkSetConfigParam & {
19
41
  data: AccountCreateRequest;
20
42
  }>;
43
+ /**
44
+ * The link token returned can be used to connect another namespace to the account in which the provided namespace is linked. This route fails if there is no account linked to the specified namespace. Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]
45
+ *
46
+ * #### Default Query Options
47
+ * The default options include:
48
+ * ```
49
+ * {
50
+ * queryKey: [Key_AccountAdmin.AccountLink, input]
51
+ * }
52
+ * ```
53
+ */
21
54
  declare const useAccountAdminApi_GetAccountLink: (sdk: AccelByteSDK, input: SdkSetConfigParam, options?: Omit<UseQueryOptions<AccountLinkTokenResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<AccountLinkTokenResponse>) => void) => UseQueryResult<AccountLinkTokenResponse, AxiosError<ApiError>>;
55
+ /**
56
+ * This route will attempt to register the account to namespace linkage in AMS and requires a valid account link token. This route fails if an account is already linked AdminAccountLink Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]
57
+ *
58
+ * #### Default Query Options
59
+ * The default options include:
60
+ * ```
61
+ * {
62
+ * queryKey: [Key_AccountAdmin.AccountLink, input]
63
+ * }
64
+ * ```
65
+ */
22
66
  declare const useAccountAdminApi_CreateAccountLink: (sdk: AccelByteSDK, options?: Omit<UseMutationOptions<AccountLinkResponse, AxiosError<ApiError>, SdkSetConfigParam & {
23
67
  data: AccountLinkRequest;
24
68
  }>, "mutationKey">, callback?: (data: AccountLinkResponse) => void) => UseMutationResult<AccountLinkResponse, AxiosError<ApiError>, SdkSetConfigParam & {
@@ -33,7 +77,29 @@ declare enum Key_AmsInfoAdmin {
33
77
  Regions = "Ams.AmsInfoAdmin.Regions",
34
78
  SupportedInstances = "Ams.AmsInfoAdmin.SupportedInstances"
35
79
  }
80
+ /**
81
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
82
+ *
83
+ * #### Default Query Options
84
+ * The default options include:
85
+ * ```
86
+ * {
87
+ * queryKey: [Key_AmsInfoAdmin.Regions, input]
88
+ * }
89
+ * ```
90
+ */
36
91
  declare const useAmsInfoAdminApi_GetRegions: (sdk: AccelByteSDK, input: SdkSetConfigParam, options?: Omit<UseQueryOptions<AmsRegionsResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<AmsRegionsResponse>) => void) => UseQueryResult<AmsRegionsResponse, AxiosError<ApiError>>;
92
+ /**
93
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
94
+ *
95
+ * #### Default Query Options
96
+ * The default options include:
97
+ * ```
98
+ * {
99
+ * queryKey: [Key_AmsInfoAdmin.SupportedInstances, input]
100
+ * }
101
+ * ```
102
+ */
37
103
  declare const useAmsInfoAdminApi_GetSupportedInstances: (sdk: AccelByteSDK, input: SdkSetConfigParam, options?: Omit<UseQueryOptions<AvailableInstanceTypesResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<AvailableInstanceTypesResponse>) => void) => UseQueryResult<AvailableInstanceTypesResponse, AxiosError<ApiError>>;
38
104
 
39
105
  /**
@@ -44,11 +110,33 @@ declare enum Key_AmsQoSAdmin {
44
110
  Qos = "Ams.AmsQoSAdmin.Qos",
45
111
  Qo_ByRegion = "Ams.AmsQoSAdmin.Qo_ByRegion"
46
112
  }
113
+ /**
114
+ * ``` Required Permission: ADMIN:NAMESPACE:{namespace}:QOS:SERVER [READ] This endpoint lists all QoS services available in all regions. This endpoint is intended to be called by game client to find out all available regions. After getting a list of QoS on each region, game client is expected to ping each one with UDP connection as described below: 1. Make UDP connection to each QoS&#39;s IP:Port 2. Send string &#34;PING&#34; after connection established 3. Wait for string &#34;PONG&#34; response 4. Note the request-response latency for each QoS in each region The game then can use ping latency information to either: 1. Inform the player on these latencies and let player choose preferred region 2. Send the latency list to Matchmaking Service so that player can be matched with other players in nearby regions
115
+ *
116
+ * #### Default Query Options
117
+ * The default options include:
118
+ * ```
119
+ * {
120
+ * queryKey: [Key_AmsQoSAdmin.Qos, input]
121
+ * }
122
+ * ```
123
+ */
47
124
  declare const useAmsQoSAdminApi_GetQos: (sdk: AccelByteSDK, input: SdkSetConfigParam & {
48
125
  queryParams?: {
49
126
  status?: string | null;
50
127
  };
51
128
  }, options?: Omit<UseQueryOptions<QoSEndpointResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<QoSEndpointResponse>) => void) => UseQueryResult<QoSEndpointResponse, AxiosError<ApiError>>;
129
+ /**
130
+ * ``` Required Permission: ADMIN:NAMESPACE:{namespace}:QOS:SERVER [UPDATE] This endpoint updates the registered QoS service&#39;s configurable configuration.
131
+ *
132
+ * #### Default Query Options
133
+ * The default options include:
134
+ * ```
135
+ * {
136
+ * queryKey: [Key_AmsQoSAdmin.Qo_ByRegion, input]
137
+ * }
138
+ * ```
139
+ */
52
140
  declare const useAmsQoSAdminApi_PatchQo_ByRegion: (sdk: AccelByteSDK, options?: Omit<UseMutationOptions<unknown, AxiosError<ApiError>, SdkSetConfigParam & {
53
141
  region: string;
54
142
  data: UpdateServerRequest;
@@ -70,6 +158,17 @@ declare enum Key_ArtifactsAdmin {
70
158
  ArtifactsSamplingRules_ByFleetId = "Ams.ArtifactsAdmin.ArtifactsSamplingRules_ByFleetId",
71
159
  ArtifactsSamplingRule_ByFleetId = "Ams.ArtifactsAdmin.ArtifactsSamplingRule_ByFleetId"
72
160
  }
161
+ /**
162
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [DELETE]
163
+ *
164
+ * #### Default Query Options
165
+ * The default options include:
166
+ * ```
167
+ * {
168
+ * queryKey: [Key_ArtifactsAdmin.Artifact, input]
169
+ * }
170
+ * ```
171
+ */
73
172
  declare const useArtifactsAdminApi_DeleteArtifact: (sdk: AccelByteSDK, options?: Omit<UseMutationOptions<unknown, AxiosError<ApiError>, SdkSetConfigParam & {
74
173
  queryParams?: {
75
174
  artifactType?: string | null;
@@ -83,6 +182,17 @@ declare const useArtifactsAdminApi_DeleteArtifact: (sdk: AccelByteSDK, options?:
83
182
  uploadedBefore?: string | null;
84
183
  };
85
184
  }>;
185
+ /**
186
+ * Get all artifacts matching the provided search criteria. When criteria is not specified the data returned won&#39;t have been filtered on those parameters Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
187
+ *
188
+ * #### Default Query Options
189
+ * The default options include:
190
+ * ```
191
+ * {
192
+ * queryKey: [Key_ArtifactsAdmin.Artifacts, input]
193
+ * }
194
+ * ```
195
+ */
86
196
  declare const useArtifactsAdminApi_GetArtifacts: (sdk: AccelByteSDK, input: SdkSetConfigParam & {
87
197
  queryParams?: {
88
198
  artifactType?: string | null;
@@ -99,18 +209,73 @@ declare const useArtifactsAdminApi_GetArtifacts: (sdk: AccelByteSDK, input: SdkS
99
209
  status?: string | null;
100
210
  };
101
211
  }, options?: Omit<UseQueryOptions<ArtifactListResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<ArtifactListResponse>) => void) => UseQueryResult<ArtifactListResponse, AxiosError<ApiError>>;
212
+ /**
213
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
214
+ *
215
+ * #### Default Query Options
216
+ * The default options include:
217
+ * ```
218
+ * {
219
+ * queryKey: [Key_ArtifactsAdmin.ArtifactsUsage, input]
220
+ * }
221
+ * ```
222
+ */
102
223
  declare const useArtifactsAdminApi_GetArtifactsUsage: (sdk: AccelByteSDK, input: SdkSetConfigParam, options?: Omit<UseQueryOptions<ArtifactUsageResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<ArtifactUsageResponse>) => void) => UseQueryResult<ArtifactUsageResponse, AxiosError<ApiError>>;
224
+ /**
225
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [DELETE]
226
+ *
227
+ * #### Default Query Options
228
+ * The default options include:
229
+ * ```
230
+ * {
231
+ * queryKey: [Key_ArtifactsAdmin.Artifact_ByArtifactId, input]
232
+ * }
233
+ * ```
234
+ */
103
235
  declare const useArtifactsAdminApi_DeleteArtifact_ByArtifactId: (sdk: AccelByteSDK, options?: Omit<UseMutationOptions<unknown, AxiosError<ApiError>, SdkSetConfigParam & {
104
236
  artifactID: string;
105
237
  }>, "mutationKey">, callback?: (data: unknown) => void) => UseMutationResult<unknown, AxiosError<ApiError>, SdkSetConfigParam & {
106
238
  artifactID: string;
107
239
  }>;
240
+ /**
241
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
242
+ *
243
+ * #### Default Query Options
244
+ * The default options include:
245
+ * ```
246
+ * {
247
+ * queryKey: [Key_ArtifactsAdmin.Url_ByArtifactId, input]
248
+ * }
249
+ * ```
250
+ */
108
251
  declare const useArtifactsAdminApi_GetUrl_ByArtifactId: (sdk: AccelByteSDK, input: SdkSetConfigParam & {
109
252
  artifactID: string;
110
253
  }, options?: Omit<UseQueryOptions<ArtifactUrlResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<ArtifactUrlResponse>) => void) => UseQueryResult<ArtifactUrlResponse, AxiosError<ApiError>>;
254
+ /**
255
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
256
+ *
257
+ * #### Default Query Options
258
+ * The default options include:
259
+ * ```
260
+ * {
261
+ * queryKey: [Key_ArtifactsAdmin.ArtifactsSamplingRules_ByFleetId, input]
262
+ * }
263
+ * ```
264
+ */
111
265
  declare const useArtifactsAdminApi_GetArtifactsSamplingRules_ByFleetId: (sdk: AccelByteSDK, input: SdkSetConfigParam & {
112
266
  fleetID: string;
113
267
  }, options?: Omit<UseQueryOptions<FleetArtifactsSampleRules, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<FleetArtifactsSampleRules>) => void) => UseQueryResult<FleetArtifactsSampleRules, AxiosError<ApiError>>;
268
+ /**
269
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [UPDATE]
270
+ *
271
+ * #### Default Query Options
272
+ * The default options include:
273
+ * ```
274
+ * {
275
+ * queryKey: [Key_ArtifactsAdmin.ArtifactsSamplingRule_ByFleetId, input]
276
+ * }
277
+ * ```
278
+ */
114
279
  declare const useArtifactsAdminApi_UpdateArtifactsSamplingRule_ByFleetId: (sdk: AccelByteSDK, options?: Omit<UseMutationOptions<FleetArtifactsSampleRules, AxiosError<ApiError>, SdkSetConfigParam & {
115
280
  fleetID: string;
116
281
  data: FleetArtifactsSampleRules;
@@ -128,22 +293,66 @@ declare enum Key_DevelopmentAdmin {
128
293
  DevelopmentServerConfiguration = "Ams.DevelopmentAdmin.DevelopmentServerConfiguration",
129
294
  DevelopmentServerConfiguration_ByDevelopmentServerConfigId = "Ams.DevelopmentAdmin.DevelopmentServerConfiguration_ByDevelopmentServerConfigId"
130
295
  }
296
+ /**
297
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
298
+ *
299
+ * #### Default Query Options
300
+ * The default options include:
301
+ * ```
302
+ * {
303
+ * queryKey: [Key_DevelopmentAdmin.DevelopmentServerConfigurations, input]
304
+ * }
305
+ * ```
306
+ */
131
307
  declare const useDevelopmentAdminApi_GetDevelopmentServerConfigurations: (sdk: AccelByteSDK, input: SdkSetConfigParam & {
132
308
  queryParams?: {
133
309
  count?: number;
134
310
  offset?: number;
135
311
  };
136
312
  }, options?: Omit<UseQueryOptions<DevelopmentServerConfigurationListResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<DevelopmentServerConfigurationListResponse>) => void) => UseQueryResult<DevelopmentServerConfigurationListResponse, AxiosError<ApiError>>;
313
+ /**
314
+ * Configuration name can be up to 128 characters and must conform to ^[.a-zA-Z0-9_-]+$ Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
315
+ *
316
+ * #### Default Query Options
317
+ * The default options include:
318
+ * ```
319
+ * {
320
+ * queryKey: [Key_DevelopmentAdmin.DevelopmentServerConfiguration, input]
321
+ * }
322
+ * ```
323
+ */
137
324
  declare const useDevelopmentAdminApi_CreateDevelopmentServerConfiguration: (sdk: AccelByteSDK, options?: Omit<UseMutationOptions<DevelopmentServerConfigurationCreateResponse, AxiosError<ApiError>, SdkSetConfigParam & {
138
325
  data: DevelopmentServerConfigurationCreateRequest;
139
326
  }>, "mutationKey">, callback?: (data: DevelopmentServerConfigurationCreateResponse) => void) => UseMutationResult<DevelopmentServerConfigurationCreateResponse, AxiosError<ApiError>, SdkSetConfigParam & {
140
327
  data: DevelopmentServerConfigurationCreateRequest;
141
328
  }>;
329
+ /**
330
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]
331
+ *
332
+ * #### Default Query Options
333
+ * The default options include:
334
+ * ```
335
+ * {
336
+ * queryKey: [Key_DevelopmentAdmin.DevelopmentServerConfiguration_ByDevelopmentServerConfigId, input]
337
+ * }
338
+ * ```
339
+ */
142
340
  declare const useDevelopmentAdminApi_DeleteDevelopmentServerConfiguration_ByDevelopmentServerConfigId: (sdk: AccelByteSDK, options?: Omit<UseMutationOptions<unknown, AxiosError<ApiError>, SdkSetConfigParam & {
143
341
  developmentServerConfigID: string;
144
342
  }>, "mutationKey">, callback?: (data: unknown) => void) => UseMutationResult<unknown, AxiosError<ApiError>, SdkSetConfigParam & {
145
343
  developmentServerConfigID: string;
146
344
  }>;
345
+ /**
346
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
347
+ *
348
+ * #### Default Query Options
349
+ * The default options include:
350
+ * ```
351
+ * {
352
+ * queryKey: [Key_DevelopmentAdmin.DevelopmentServerConfiguration_ByDevelopmentServerConfigId, input]
353
+ * }
354
+ * ```
355
+ */
147
356
  declare const useDevelopmentAdminApi_GetDevelopmentServerConfiguration_ByDevelopmentServerConfigId: (sdk: AccelByteSDK, input: SdkSetConfigParam & {
148
357
  developmentServerConfigID: string;
149
358
  }, options?: Omit<UseQueryOptions<DevelopmentServerConfigurationGetResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<DevelopmentServerConfigurationGetResponse>) => void) => UseQueryResult<DevelopmentServerConfigurationGetResponse, AxiosError<ApiError>>;
@@ -158,20 +367,75 @@ declare enum Key_FleetsAdmin {
158
367
  Fleet_ByFleetId = "Ams.FleetsAdmin.Fleet_ByFleetId",
159
368
  Servers_ByFleetId = "Ams.FleetsAdmin.Servers_ByFleetId"
160
369
  }
370
+ /**
371
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
372
+ *
373
+ * #### Default Query Options
374
+ * The default options include:
375
+ * ```
376
+ * {
377
+ * queryKey: [Key_FleetsAdmin.Fleets, input]
378
+ * }
379
+ * ```
380
+ */
161
381
  declare const useFleetsAdminApi_GetFleets: (sdk: AccelByteSDK, input: SdkSetConfigParam, options?: Omit<UseQueryOptions<FleetListResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<FleetListResponse>) => void) => UseQueryResult<FleetListResponse, AxiosError<ApiError>>;
382
+ /**
383
+ * Optionally, sampling rules for the fleet can also be specified Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
384
+ *
385
+ * #### Default Query Options
386
+ * The default options include:
387
+ * ```
388
+ * {
389
+ * queryKey: [Key_FleetsAdmin.Fleet, input]
390
+ * }
391
+ * ```
392
+ */
162
393
  declare const useFleetsAdminApi_CreateFleet: (sdk: AccelByteSDK, options?: Omit<UseMutationOptions<FleetCreateResponse, AxiosError<ApiError>, SdkSetConfigParam & {
163
394
  data: FleetParameters;
164
395
  }>, "mutationKey">, callback?: (data: FleetCreateResponse) => void) => UseMutationResult<FleetCreateResponse, AxiosError<ApiError>, SdkSetConfigParam & {
165
396
  data: FleetParameters;
166
397
  }>;
398
+ /**
399
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]
400
+ *
401
+ * #### Default Query Options
402
+ * The default options include:
403
+ * ```
404
+ * {
405
+ * queryKey: [Key_FleetsAdmin.Fleet_ByFleetId, input]
406
+ * }
407
+ * ```
408
+ */
167
409
  declare const useFleetsAdminApi_DeleteFleet_ByFleetId: (sdk: AccelByteSDK, options?: Omit<UseMutationOptions<unknown, AxiosError<ApiError>, SdkSetConfigParam & {
168
410
  fleetID: string;
169
411
  }>, "mutationKey">, callback?: (data: unknown) => void) => UseMutationResult<unknown, AxiosError<ApiError>, SdkSetConfigParam & {
170
412
  fleetID: string;
171
413
  }>;
414
+ /**
415
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
416
+ *
417
+ * #### Default Query Options
418
+ * The default options include:
419
+ * ```
420
+ * {
421
+ * queryKey: [Key_FleetsAdmin.Fleet_ByFleetId, input]
422
+ * }
423
+ * ```
424
+ */
172
425
  declare const useFleetsAdminApi_GetFleet_ByFleetId: (sdk: AccelByteSDK, input: SdkSetConfigParam & {
173
426
  fleetID: string;
174
427
  }, options?: Omit<UseQueryOptions<FleetGetResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<FleetGetResponse>) => void) => UseQueryResult<FleetGetResponse, AxiosError<ApiError>>;
428
+ /**
429
+ * Optionally, sampling rules for the fleet can also be updated Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [UPDATE]
430
+ *
431
+ * #### Default Query Options
432
+ * The default options include:
433
+ * ```
434
+ * {
435
+ * queryKey: [Key_FleetsAdmin.Fleet_ByFleetId, input]
436
+ * }
437
+ * ```
438
+ */
175
439
  declare const useFleetsAdminApi_UpdateFleet_ByFleetId: (sdk: AccelByteSDK, options?: Omit<UseMutationOptions<unknown, AxiosError<ApiError>, SdkSetConfigParam & {
176
440
  fleetID: string;
177
441
  data: FleetParameters;
@@ -179,11 +443,27 @@ declare const useFleetsAdminApi_UpdateFleet_ByFleetId: (sdk: AccelByteSDK, optio
179
443
  fleetID: string;
180
444
  data: FleetParameters;
181
445
  }>;
446
+ /**
447
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
448
+ *
449
+ * #### Default Query Options
450
+ * The default options include:
451
+ * ```
452
+ * {
453
+ * queryKey: [Key_FleetsAdmin.Servers_ByFleetId, input]
454
+ * }
455
+ * ```
456
+ */
182
457
  declare const useFleetsAdminApi_GetServers_ByFleetId: (sdk: AccelByteSDK, input: SdkSetConfigParam & {
183
458
  fleetID: string;
184
459
  queryParams?: {
185
- count?: string | null;
460
+ count?: number;
186
461
  offset?: number;
462
+ region?: string | null;
463
+ serverId?: string | null;
464
+ sortBy?: string | null;
465
+ sortDirection?: "asc" | "desc";
466
+ status?: "claimed" | "claiming" | "crash backoff" | "creating" | "draining" | "ready" | "unresponsive";
187
467
  };
188
468
  }, options?: Omit<UseQueryOptions<FleetServersResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<FleetServersResponse>) => void) => UseQueryResult<FleetServersResponse, AxiosError<ApiError>>;
189
469
 
@@ -197,16 +477,71 @@ declare enum Key_ImagesAdmin {
197
477
  Image_ByImageId = "Ams.ImagesAdmin.Image_ByImageId",
198
478
  Restore_ByImageId = "Ams.ImagesAdmin.Restore_ByImageId"
199
479
  }
480
+ /**
481
+ * Returns images which exist (uploaded, uploading, or building) in the linked account. This route fails if no account is linked Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
482
+ *
483
+ * #### Default Query Options
484
+ * The default options include:
485
+ * ```
486
+ * {
487
+ * queryKey: [Key_ImagesAdmin.Images, input]
488
+ * }
489
+ * ```
490
+ */
200
491
  declare const useImagesAdminApi_GetImages: (sdk: AccelByteSDK, input: SdkSetConfigParam, options?: Omit<UseQueryOptions<ImageList, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<ImageList>) => void) => UseQueryResult<ImageList, AxiosError<ApiError>>;
492
+ /**
493
+ * Returns information regarding the account&#39;s usage for images storage including the free tier quota Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
494
+ *
495
+ * #### Default Query Options
496
+ * The default options include:
497
+ * ```
498
+ * {
499
+ * queryKey: [Key_ImagesAdmin.ImagesStorage, input]
500
+ * }
501
+ * ```
502
+ */
201
503
  declare const useImagesAdminApi_GetImagesStorage: (sdk: AccelByteSDK, input: SdkSetConfigParam, options?: Omit<UseQueryOptions<ImageStorage, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<ImageStorage>) => void) => UseQueryResult<ImageStorage, AxiosError<ApiError>>;
504
+ /**
505
+ * Marks an image for deletion. The image will stop being available for fleets and will eventually be deleted. Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [DELETE]
506
+ *
507
+ * #### Default Query Options
508
+ * The default options include:
509
+ * ```
510
+ * {
511
+ * queryKey: [Key_ImagesAdmin.Image_ByImageId, input]
512
+ * }
513
+ * ```
514
+ */
202
515
  declare const useImagesAdminApi_DeleteImage_ByImageId: (sdk: AccelByteSDK, options?: Omit<UseMutationOptions<unknown, AxiosError<ApiError>, SdkSetConfigParam & {
203
516
  imageID: string;
204
517
  }>, "mutationKey">, callback?: (data: unknown) => void) => UseMutationResult<unknown, AxiosError<ApiError>, SdkSetConfigParam & {
205
518
  imageID: string;
206
519
  }>;
520
+ /**
521
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
522
+ *
523
+ * #### Default Query Options
524
+ * The default options include:
525
+ * ```
526
+ * {
527
+ * queryKey: [Key_ImagesAdmin.Image_ByImageId, input]
528
+ * }
529
+ * ```
530
+ */
207
531
  declare const useImagesAdminApi_GetImage_ByImageId: (sdk: AccelByteSDK, input: SdkSetConfigParam & {
208
532
  imageID: string;
209
533
  }, options?: Omit<UseQueryOptions<ImageDetails, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<ImageDetails>) => void) => UseQueryResult<ImageDetails, AxiosError<ApiError>>;
534
+ /**
535
+ * This allows editing of the image name, toggling `IsProtected`, or adding &amp; removal of tags Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [UPDATE]
536
+ *
537
+ * #### Default Query Options
538
+ * The default options include:
539
+ * ```
540
+ * {
541
+ * queryKey: [Key_ImagesAdmin.Image_ByImageId, input]
542
+ * }
543
+ * ```
544
+ */
210
545
  declare const useImagesAdminApi_PatchImage_ByImageId: (sdk: AccelByteSDK, options?: Omit<UseMutationOptions<ImageDetails, AxiosError<ApiError>, SdkSetConfigParam & {
211
546
  imageID: string;
212
547
  data: ImageUpdate;
@@ -214,6 +549,17 @@ declare const useImagesAdminApi_PatchImage_ByImageId: (sdk: AccelByteSDK, option
214
549
  imageID: string;
215
550
  data: ImageUpdate;
216
551
  }>;
552
+ /**
553
+ * Unmarks an image for deletion. The image will be available for fleets. Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [DELETE]
554
+ *
555
+ * #### Default Query Options
556
+ * The default options include:
557
+ * ```
558
+ * {
559
+ * queryKey: [Key_ImagesAdmin.Restore_ByImageId, input]
560
+ * }
561
+ * ```
562
+ */
217
563
  declare const useImagesAdminApi_CreateRestore_ByImageId: (sdk: AccelByteSDK, options?: Omit<UseMutationOptions<unknown, AxiosError<ApiError>, SdkSetConfigParam & {
218
564
  imageID: string;
219
565
  }>, "mutationKey">, callback?: (data: unknown) => void) => UseMutationResult<unknown, AxiosError<ApiError>, SdkSetConfigParam & {
@@ -230,12 +576,45 @@ declare enum Key_ServersAdmin {
230
576
  ServersHistory_ByFleetId = "Ams.ServersAdmin.ServersHistory_ByFleetId",
231
577
  Connectioninfo_ByServerId = "Ams.ServersAdmin.Connectioninfo_ByServerId"
232
578
  }
579
+ /**
580
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
581
+ *
582
+ * #### Default Query Options
583
+ * The default options include:
584
+ * ```
585
+ * {
586
+ * queryKey: [Key_ServersAdmin.Server_ByServerId, input]
587
+ * }
588
+ * ```
589
+ */
233
590
  declare const useServersAdminApi_GetServer_ByServerId: (sdk: AccelByteSDK, input: SdkSetConfigParam & {
234
591
  serverID: string;
235
592
  }, options?: Omit<UseQueryOptions<FleetServerInfoResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<FleetServerInfoResponse>) => void) => UseQueryResult<FleetServerInfoResponse, AxiosError<ApiError>>;
593
+ /**
594
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
595
+ *
596
+ * #### Default Query Options
597
+ * The default options include:
598
+ * ```
599
+ * {
600
+ * queryKey: [Key_ServersAdmin.History_ByServerId, input]
601
+ * }
602
+ * ```
603
+ */
236
604
  declare const useServersAdminApi_GetHistory_ByServerId: (sdk: AccelByteSDK, input: SdkSetConfigParam & {
237
605
  serverID: string;
238
606
  }, options?: Omit<UseQueryOptions<FleetServerHistoryResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<FleetServerHistoryResponse>) => void) => UseQueryResult<FleetServerHistoryResponse, AxiosError<ApiError>>;
607
+ /**
608
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
609
+ *
610
+ * #### Default Query Options
611
+ * The default options include:
612
+ * ```
613
+ * {
614
+ * queryKey: [Key_ServersAdmin.ServersHistory_ByFleetId, input]
615
+ * }
616
+ * ```
617
+ */
239
618
  declare const useServersAdminApi_GetServersHistory_ByFleetId: (sdk: AccelByteSDK, input: SdkSetConfigParam & {
240
619
  fleetID: string;
241
620
  queryParams?: {
@@ -248,6 +627,17 @@ declare const useServersAdminApi_GetServersHistory_ByFleetId: (sdk: AccelByteSDK
248
627
  status?: string | null;
249
628
  };
250
629
  }, options?: Omit<UseQueryOptions<DsHistoryList, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<DsHistoryList>) => void) => UseQueryResult<DsHistoryList, AxiosError<ApiError>>;
630
+ /**
631
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:DS:LOGS [READ]
632
+ *
633
+ * #### Default Query Options
634
+ * The default options include:
635
+ * ```
636
+ * {
637
+ * queryKey: [Key_ServersAdmin.Connectioninfo_ByServerId, input]
638
+ * }
639
+ * ```
640
+ */
251
641
  declare const useServersAdminApi_GetConnectioninfo_ByServerId: (sdk: AccelByteSDK, input: SdkSetConfigParam & {
252
642
  serverID: string;
253
643
  }, options?: Omit<UseQueryOptions<FleetServerConnectionInfoResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<FleetServerConnectionInfoResponse>) => void) => UseQueryResult<FleetServerConnectionInfoResponse, AxiosError<ApiError>>;
@@ -259,6 +649,17 @@ declare const useServersAdminApi_GetConnectioninfo_ByServerId: (sdk: AccelByteSD
259
649
  declare enum Key_Account {
260
650
  Account = "Ams.Account.Account"
261
651
  }
652
+ /**
653
+ * Required Permission: NAMESPACE:{namespace}:AMS:ACCOUNT [READ]
654
+ *
655
+ * #### Default Query Options
656
+ * The default options include:
657
+ * ```
658
+ * {
659
+ * queryKey: [Key_Account.Account, input]
660
+ * }
661
+ * ```
662
+ */
262
663
  declare const useAccountApi_GetAccount: (sdk: AccelByteSDK, input: SdkSetConfigParam, options?: Omit<UseQueryOptions<AccountResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<AccountResponse>) => void) => UseQueryResult<AccountResponse, AxiosError<ApiError>>;
263
664
 
264
665
  /**
@@ -277,6 +678,17 @@ declare const useAmsInfoApi_GetUploadUrl: (sdk: AccelByteSDK, input: SdkSetConfi
277
678
  declare enum Key_Auth {
278
679
  Auth = "Ams.Auth.Auth"
279
680
  }
681
+ /**
682
+ * Check if fleet commander is authorized to talk to AMS with this IAM
683
+ *
684
+ * #### Default Query Options
685
+ * The default options include:
686
+ * ```
687
+ * {
688
+ * queryKey: [Key_Auth.Auth, input]
689
+ * }
690
+ * ```
691
+ */
280
692
  declare const useAuthApi_GetAuth: (sdk: AccelByteSDK, input: SdkSetConfigParam, options?: Omit<UseQueryOptions<unknown, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<unknown>) => void) => UseQueryResult<unknown, AxiosError<ApiError>>;
281
693
 
282
694
  /**
@@ -296,11 +708,33 @@ declare enum Key_Fleets {
296
708
  ServerClaim = "Ams.Fleets.ServerClaim",
297
709
  Claim_ByFleetId = "Ams.Fleets.Claim_ByFleetId"
298
710
  }
711
+ /**
712
+ * Claim a dedicated server from fleets with matching claim keys. If the claim key is for a regular fleet (non development), the request will instantly fail if there are no DS available (HTTP 404). If the claim key is for a development fleet and there are no DS available, a new DS will be launched and the request might take up to 8 seconds to return (depending on the environment configuration). If it&#39;s not ready after that duration the request will still return HTTP 404. In either case, the call to this endpoint may be retried at any time to check if a DS has become available. Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]
713
+ *
714
+ * #### Default Query Options
715
+ * The default options include:
716
+ * ```
717
+ * {
718
+ * queryKey: [Key_Fleets.ServerClaim, input]
719
+ * }
720
+ * ```
721
+ */
299
722
  declare const useFleetsApi_UpdateServerClaim: (sdk: AccelByteSDK, options?: Omit<UseMutationOptions<FleetClaimResponse, AxiosError<ApiError>, SdkSetConfigParam & {
300
723
  data: FleetClaimByKeysReq;
301
724
  }>, "mutationKey">, callback?: (data: FleetClaimResponse) => void) => UseMutationResult<FleetClaimResponse, AxiosError<ApiError>, SdkSetConfigParam & {
302
725
  data: FleetClaimByKeysReq;
303
726
  }>;
727
+ /**
728
+ * Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]
729
+ *
730
+ * #### Default Query Options
731
+ * The default options include:
732
+ * ```
733
+ * {
734
+ * queryKey: [Key_Fleets.Claim_ByFleetId, input]
735
+ * }
736
+ * ```
737
+ */
304
738
  declare const useFleetsApi_UpdateClaim_ByFleetId: (sdk: AccelByteSDK, options?: Omit<UseMutationOptions<FleetClaimResponse, AxiosError<ApiError>, SdkSetConfigParam & {
305
739
  fleetID: string;
306
740
  data: FleetClaimReq;
@@ -317,9 +751,31 @@ declare enum Key_Watchdogs {
317
751
  Connect_ByWatchdogId = "Ams.Watchdogs.Connect_ByWatchdogId",
318
752
  Connect_ByWatchdogId_ByNS = "Ams.Watchdogs.Connect_ByWatchdogId_ByNS"
319
753
  }
754
+ /**
755
+ * This is to support local ds development scenarios Required Permission: NAMESPACE:{namespace}:AMS:LOCALDS [CREATE]
756
+ *
757
+ * #### Default Query Options
758
+ * The default options include:
759
+ * ```
760
+ * {
761
+ * queryKey: [Key_Watchdogs.Connect_ByWatchdogId, input]
762
+ * }
763
+ * ```
764
+ */
320
765
  declare const useWatchdogsApi_GetConnect_ByWatchdogId: (sdk: AccelByteSDK, input: SdkSetConfigParam & {
321
766
  watchdogID: string;
322
767
  }, options?: Omit<UseQueryOptions<unknown, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<unknown>) => void) => UseQueryResult<unknown, AxiosError<ApiError>>;
768
+ /**
769
+ * Required Permission: NAMESPACE:{namespace}:ARMADA:WATCHDOG [CREATE]
770
+ *
771
+ * #### Default Query Options
772
+ * The default options include:
773
+ * ```
774
+ * {
775
+ * queryKey: [Key_Watchdogs.Connect_ByWatchdogId_ByNS, input]
776
+ * }
777
+ * ```
778
+ */
323
779
  declare const useWatchdogsApi_GetConnect_ByWatchdogId_ByNS: (sdk: AccelByteSDK, input: SdkSetConfigParam & {
324
780
  watchdogID: string;
325
781
  }, options?: Omit<UseQueryOptions<unknown, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<unknown>) => void) => UseQueryResult<unknown, AxiosError<ApiError>>;