@accelbyte/sdk-ams 5.2.1 → 5.3.0
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 +1 -1
|
@@ -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, a as AccountCreateResponse, b as AccountCreateRequest, c as AccountLinkTokenResponse, d as AccountLinkResponse, e as AccountLinkRequest, f as AmsRegionsResponse,
|
|
4
|
+
import { A as AccountResponse, a as AccountCreateResponse, b as AccountCreateRequest, c as AccountLinkTokenResponse, d as AccountLinkResponse, e as AccountLinkRequest, f as AmsRegionsResponse, I as InstanceTypesResponse, Q as QoSEndpointResponse, U as UpdateServerRequest, g as ArtifactListResponse, h as ArtifactUsageResponse, i as ArtifactUrlResponse, F as FleetArtifactsSampleRules, D as DevelopmentServerConfigurationListResponse, j as DevelopmentServerConfigurationCreateResponse, k as DevelopmentServerConfigurationCreateRequest, l as DevelopmentServerConfigurationGetResponse, m as DevelopmentServerConfigurationUpdateRequest, n as FleetListResponse, o as FleetCreateResponse, p as FleetParameters, q as FleetGetResponse, r as FleetServersResponse, s as ImageList, t as ImageStorage, u as ImageDetails, v as ImageUpdate, w as FleetServerInfoResponse, x as FleetServerHistoryResponse, y as DsHistoryList, z as FleetServerConnectionInfoResponse, B as FleetClaimResponse, C as FleetClaimByKeysReq, E as FleetClaimReq } from './FleetClaimResponse-CE1Oz24x.cjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -53,7 +53,7 @@ declare const useAccountAdminApi_CreateAccountMutation: (sdk: AccelByteSDK, opti
|
|
|
53
53
|
*/
|
|
54
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
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
|
|
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 Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]
|
|
57
57
|
*
|
|
58
58
|
* #### Default Query Options
|
|
59
59
|
* The default options include:
|
|
@@ -100,7 +100,7 @@ declare const useAmsInfoAdminApi_GetRegions: (sdk: AccelByteSDK, input: SdkSetCo
|
|
|
100
100
|
* }
|
|
101
101
|
* ```
|
|
102
102
|
*/
|
|
103
|
-
declare const useAmsInfoAdminApi_GetSupportedInstances: (sdk: AccelByteSDK, input: SdkSetConfigParam, options?: Omit<UseQueryOptions<
|
|
103
|
+
declare const useAmsInfoAdminApi_GetSupportedInstances: (sdk: AccelByteSDK, input: SdkSetConfigParam, options?: Omit<UseQueryOptions<InstanceTypesResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<InstanceTypesResponse>) => void) => UseQueryResult<InstanceTypesResponse, AxiosError<ApiError>>;
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
106
|
* AUTO GENERATED
|
|
@@ -205,6 +205,8 @@ declare const useArtifactsAdminApi_GetArtifacts: (sdk: AccelByteSDK, input: SdkS
|
|
|
205
205
|
offset?: number;
|
|
206
206
|
region?: string | null;
|
|
207
207
|
serverId?: string | null;
|
|
208
|
+
sortBy?: string | null;
|
|
209
|
+
sortDirection?: "asc" | "desc";
|
|
208
210
|
startDate?: string | null;
|
|
209
211
|
status?: string | null;
|
|
210
212
|
};
|
|
@@ -355,7 +357,25 @@ declare const useDevelopmentAdminApi_DeleteDevelopmentServerConfiguration_ByDeve
|
|
|
355
357
|
*/
|
|
356
358
|
declare const useDevelopmentAdminApi_GetDevelopmentServerConfiguration_ByDevelopmentServerConfigId: (sdk: AccelByteSDK, input: SdkSetConfigParam & {
|
|
357
359
|
developmentServerConfigID: string;
|
|
358
|
-
}, options?: Omit<UseQueryOptions<DevelopmentServerConfigurationGetResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<DevelopmentServerConfigurationGetResponse>) => void) => UseQueryResult<DevelopmentServerConfigurationGetResponse, AxiosError<ApiError>>;
|
|
360
|
+
}, options?: Omit<UseQueryOptions<DevelopmentServerConfigurationGetResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<DevelopmentServerConfigurationGetResponse>) => void) => UseQueryResult<DevelopmentServerConfigurationGetResponse, AxiosError<ApiError>>;
|
|
361
|
+
/**
|
|
362
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [UPDATE]
|
|
363
|
+
*
|
|
364
|
+
* #### Default Query Options
|
|
365
|
+
* The default options include:
|
|
366
|
+
* ```
|
|
367
|
+
* {
|
|
368
|
+
* queryKey: [Key_DevelopmentAdmin.DevelopmentServerConfiguration_ByDevelopmentServerConfigId, input]
|
|
369
|
+
* }
|
|
370
|
+
* ```
|
|
371
|
+
*/
|
|
372
|
+
declare const useDevelopmentAdminApi_PatchDevelopmentServerConfiguration_ByDevelopmentServerConfigIdMutation: (sdk: AccelByteSDK, options?: Omit<UseMutationOptions<unknown, AxiosError<ApiError>, SdkSetConfigParam & {
|
|
373
|
+
developmentServerConfigID: string;
|
|
374
|
+
data: DevelopmentServerConfigurationUpdateRequest;
|
|
375
|
+
}>, "mutationKey">, callback?: (data: unknown) => void) => UseMutationResult<unknown, AxiosError<ApiError>, SdkSetConfigParam & {
|
|
376
|
+
developmentServerConfigID: string;
|
|
377
|
+
data: DevelopmentServerConfigurationUpdateRequest;
|
|
378
|
+
}>;
|
|
359
379
|
|
|
360
380
|
/**
|
|
361
381
|
* AUTO GENERATED
|
|
@@ -378,7 +398,17 @@ declare enum Key_FleetsAdmin {
|
|
|
378
398
|
* }
|
|
379
399
|
* ```
|
|
380
400
|
*/
|
|
381
|
-
declare const useFleetsAdminApi_GetFleets: (sdk: AccelByteSDK, input: SdkSetConfigParam
|
|
401
|
+
declare const useFleetsAdminApi_GetFleets: (sdk: AccelByteSDK, input: SdkSetConfigParam & {
|
|
402
|
+
queryParams?: {
|
|
403
|
+
active?: boolean | null;
|
|
404
|
+
count?: number;
|
|
405
|
+
name?: string | null;
|
|
406
|
+
offset?: number;
|
|
407
|
+
region?: string | null;
|
|
408
|
+
sortBy?: "active" | "name";
|
|
409
|
+
sortDirection?: "asc" | "desc";
|
|
410
|
+
};
|
|
411
|
+
}, options?: Omit<UseQueryOptions<FleetListResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<FleetListResponse>) => void) => UseQueryResult<FleetListResponse, AxiosError<ApiError>>;
|
|
382
412
|
/**
|
|
383
413
|
* Optionally, sampling rules for the fleet can also be specified Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
|
|
384
414
|
*
|
|
@@ -488,7 +518,19 @@ declare enum Key_ImagesAdmin {
|
|
|
488
518
|
* }
|
|
489
519
|
* ```
|
|
490
520
|
*/
|
|
491
|
-
declare const useImagesAdminApi_GetImages: (sdk: AccelByteSDK, input: SdkSetConfigParam
|
|
521
|
+
declare const useImagesAdminApi_GetImages: (sdk: AccelByteSDK, input: SdkSetConfigParam & {
|
|
522
|
+
queryParams?: {
|
|
523
|
+
count?: number;
|
|
524
|
+
inUse?: string | null;
|
|
525
|
+
isProtected?: boolean | null;
|
|
526
|
+
name?: string | null;
|
|
527
|
+
offset?: number;
|
|
528
|
+
sortBy?: string | null;
|
|
529
|
+
sortDirection?: string | null;
|
|
530
|
+
status?: string | null;
|
|
531
|
+
tag?: string | null;
|
|
532
|
+
};
|
|
533
|
+
}, options?: Omit<UseQueryOptions<ImageList, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<ImageList>) => void) => UseQueryResult<ImageList, AxiosError<ApiError>>;
|
|
492
534
|
/**
|
|
493
535
|
* Returns information regarding the account's usage for images storage including the free tier quota Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
|
|
494
536
|
*
|
|
@@ -780,4 +822,4 @@ declare const useWatchdogsApi_GetConnect_ByWatchdogId_ByNS: (sdk: AccelByteSDK,
|
|
|
780
822
|
watchdogID: string;
|
|
781
823
|
}, options?: Omit<UseQueryOptions<unknown, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<unknown>) => void) => UseQueryResult<unknown, AxiosError<ApiError>>;
|
|
782
824
|
|
|
783
|
-
export { Key_Account, Key_AccountAdmin, Key_AmsInfo, Key_AmsInfoAdmin, Key_AmsQoSAdmin, Key_ArtifactsAdmin, Key_Auth, Key_DevelopmentAdmin, Key_FleetCommander, Key_Fleets, Key_FleetsAdmin, Key_ImagesAdmin, Key_ServersAdmin, Key_Watchdogs, useAccountAdminApi_CreateAccountLinkMutation, useAccountAdminApi_CreateAccountMutation, useAccountAdminApi_GetAccount, useAccountAdminApi_GetAccountLink, useAccountApi_GetAccount, useAmsInfoAdminApi_GetRegions, useAmsInfoAdminApi_GetSupportedInstances, useAmsInfoApi_GetUploadUrl, useAmsQoSAdminApi_GetQos, useAmsQoSAdminApi_PatchQo_ByRegionMutation, useArtifactsAdminApi_DeleteArtifactMutation, useArtifactsAdminApi_DeleteArtifact_ByArtifactIdMutation, useArtifactsAdminApi_GetArtifacts, useArtifactsAdminApi_GetArtifactsSamplingRules_ByFleetId, useArtifactsAdminApi_GetArtifactsUsage, useArtifactsAdminApi_GetUrl_ByArtifactId, useArtifactsAdminApi_UpdateArtifactsSamplingRule_ByFleetIdMutation, useAuthApi_GetAuth, useDevelopmentAdminApi_CreateDevelopmentServerConfigurationMutation, useDevelopmentAdminApi_DeleteDevelopmentServerConfiguration_ByDevelopmentServerConfigIdMutation, useDevelopmentAdminApi_GetDevelopmentServerConfiguration_ByDevelopmentServerConfigId, useDevelopmentAdminApi_GetDevelopmentServerConfigurations, useFleetCommanderApi_GetVersion, useFleetsAdminApi_CreateFleetMutation, useFleetsAdminApi_DeleteFleet_ByFleetIdMutation, useFleetsAdminApi_GetFleet_ByFleetId, useFleetsAdminApi_GetFleets, useFleetsAdminApi_GetServers_ByFleetId, useFleetsAdminApi_UpdateFleet_ByFleetIdMutation, useFleetsApi_UpdateClaim_ByFleetIdMutation, useFleetsApi_UpdateServerClaimMutation, useImagesAdminApi_CreateRestore_ByImageIdMutation, useImagesAdminApi_DeleteImage_ByImageIdMutation, useImagesAdminApi_GetImage_ByImageId, useImagesAdminApi_GetImages, useImagesAdminApi_GetImagesStorage, useImagesAdminApi_PatchImage_ByImageIdMutation, useServersAdminApi_GetConnectioninfo_ByServerId, useServersAdminApi_GetHistory_ByServerId, useServersAdminApi_GetServer_ByServerId, useServersAdminApi_GetServersHistory_ByFleetId, useWatchdogsApi_GetConnect_ByWatchdogId, useWatchdogsApi_GetConnect_ByWatchdogId_ByNS };
|
|
825
|
+
export { Key_Account, Key_AccountAdmin, Key_AmsInfo, Key_AmsInfoAdmin, Key_AmsQoSAdmin, Key_ArtifactsAdmin, Key_Auth, Key_DevelopmentAdmin, Key_FleetCommander, Key_Fleets, Key_FleetsAdmin, Key_ImagesAdmin, Key_ServersAdmin, Key_Watchdogs, useAccountAdminApi_CreateAccountLinkMutation, useAccountAdminApi_CreateAccountMutation, useAccountAdminApi_GetAccount, useAccountAdminApi_GetAccountLink, useAccountApi_GetAccount, useAmsInfoAdminApi_GetRegions, useAmsInfoAdminApi_GetSupportedInstances, useAmsInfoApi_GetUploadUrl, useAmsQoSAdminApi_GetQos, useAmsQoSAdminApi_PatchQo_ByRegionMutation, useArtifactsAdminApi_DeleteArtifactMutation, useArtifactsAdminApi_DeleteArtifact_ByArtifactIdMutation, useArtifactsAdminApi_GetArtifacts, useArtifactsAdminApi_GetArtifactsSamplingRules_ByFleetId, useArtifactsAdminApi_GetArtifactsUsage, useArtifactsAdminApi_GetUrl_ByArtifactId, useArtifactsAdminApi_UpdateArtifactsSamplingRule_ByFleetIdMutation, useAuthApi_GetAuth, useDevelopmentAdminApi_CreateDevelopmentServerConfigurationMutation, useDevelopmentAdminApi_DeleteDevelopmentServerConfiguration_ByDevelopmentServerConfigIdMutation, useDevelopmentAdminApi_GetDevelopmentServerConfiguration_ByDevelopmentServerConfigId, useDevelopmentAdminApi_GetDevelopmentServerConfigurations, useDevelopmentAdminApi_PatchDevelopmentServerConfiguration_ByDevelopmentServerConfigIdMutation, useFleetCommanderApi_GetVersion, useFleetsAdminApi_CreateFleetMutation, useFleetsAdminApi_DeleteFleet_ByFleetIdMutation, useFleetsAdminApi_GetFleet_ByFleetId, useFleetsAdminApi_GetFleets, useFleetsAdminApi_GetServers_ByFleetId, useFleetsAdminApi_UpdateFleet_ByFleetIdMutation, useFleetsApi_UpdateClaim_ByFleetIdMutation, useFleetsApi_UpdateServerClaimMutation, useImagesAdminApi_CreateRestore_ByImageIdMutation, useImagesAdminApi_DeleteImage_ByImageIdMutation, useImagesAdminApi_GetImage_ByImageId, useImagesAdminApi_GetImages, useImagesAdminApi_GetImagesStorage, useImagesAdminApi_PatchImage_ByImageIdMutation, useServersAdminApi_GetConnectioninfo_ByServerId, useServersAdminApi_GetHistory_ByServerId, useServersAdminApi_GetServer_ByServerId, useServersAdminApi_GetServersHistory_ByFleetId, useWatchdogsApi_GetConnect_ByWatchdogId, useWatchdogsApi_GetConnect_ByWatchdogId_ByNS };
|
|
@@ -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, a as AccountCreateResponse, b as AccountCreateRequest, c as AccountLinkTokenResponse, d as AccountLinkResponse, e as AccountLinkRequest, f as AmsRegionsResponse,
|
|
4
|
+
import { A as AccountResponse, a as AccountCreateResponse, b as AccountCreateRequest, c as AccountLinkTokenResponse, d as AccountLinkResponse, e as AccountLinkRequest, f as AmsRegionsResponse, I as InstanceTypesResponse, Q as QoSEndpointResponse, U as UpdateServerRequest, g as ArtifactListResponse, h as ArtifactUsageResponse, i as ArtifactUrlResponse, F as FleetArtifactsSampleRules, D as DevelopmentServerConfigurationListResponse, j as DevelopmentServerConfigurationCreateResponse, k as DevelopmentServerConfigurationCreateRequest, l as DevelopmentServerConfigurationGetResponse, m as DevelopmentServerConfigurationUpdateRequest, n as FleetListResponse, o as FleetCreateResponse, p as FleetParameters, q as FleetGetResponse, r as FleetServersResponse, s as ImageList, t as ImageStorage, u as ImageDetails, v as ImageUpdate, w as FleetServerInfoResponse, x as FleetServerHistoryResponse, y as DsHistoryList, z as FleetServerConnectionInfoResponse, B as FleetClaimResponse, C as FleetClaimByKeysReq, E as FleetClaimReq } from './FleetClaimResponse-CE1Oz24x.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -53,7 +53,7 @@ declare const useAccountAdminApi_CreateAccountMutation: (sdk: AccelByteSDK, opti
|
|
|
53
53
|
*/
|
|
54
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
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
|
|
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 Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]
|
|
57
57
|
*
|
|
58
58
|
* #### Default Query Options
|
|
59
59
|
* The default options include:
|
|
@@ -100,7 +100,7 @@ declare const useAmsInfoAdminApi_GetRegions: (sdk: AccelByteSDK, input: SdkSetCo
|
|
|
100
100
|
* }
|
|
101
101
|
* ```
|
|
102
102
|
*/
|
|
103
|
-
declare const useAmsInfoAdminApi_GetSupportedInstances: (sdk: AccelByteSDK, input: SdkSetConfigParam, options?: Omit<UseQueryOptions<
|
|
103
|
+
declare const useAmsInfoAdminApi_GetSupportedInstances: (sdk: AccelByteSDK, input: SdkSetConfigParam, options?: Omit<UseQueryOptions<InstanceTypesResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<InstanceTypesResponse>) => void) => UseQueryResult<InstanceTypesResponse, AxiosError<ApiError>>;
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
106
|
* AUTO GENERATED
|
|
@@ -205,6 +205,8 @@ declare const useArtifactsAdminApi_GetArtifacts: (sdk: AccelByteSDK, input: SdkS
|
|
|
205
205
|
offset?: number;
|
|
206
206
|
region?: string | null;
|
|
207
207
|
serverId?: string | null;
|
|
208
|
+
sortBy?: string | null;
|
|
209
|
+
sortDirection?: "asc" | "desc";
|
|
208
210
|
startDate?: string | null;
|
|
209
211
|
status?: string | null;
|
|
210
212
|
};
|
|
@@ -355,7 +357,25 @@ declare const useDevelopmentAdminApi_DeleteDevelopmentServerConfiguration_ByDeve
|
|
|
355
357
|
*/
|
|
356
358
|
declare const useDevelopmentAdminApi_GetDevelopmentServerConfiguration_ByDevelopmentServerConfigId: (sdk: AccelByteSDK, input: SdkSetConfigParam & {
|
|
357
359
|
developmentServerConfigID: string;
|
|
358
|
-
}, options?: Omit<UseQueryOptions<DevelopmentServerConfigurationGetResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<DevelopmentServerConfigurationGetResponse>) => void) => UseQueryResult<DevelopmentServerConfigurationGetResponse, AxiosError<ApiError>>;
|
|
360
|
+
}, options?: Omit<UseQueryOptions<DevelopmentServerConfigurationGetResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<DevelopmentServerConfigurationGetResponse>) => void) => UseQueryResult<DevelopmentServerConfigurationGetResponse, AxiosError<ApiError>>;
|
|
361
|
+
/**
|
|
362
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [UPDATE]
|
|
363
|
+
*
|
|
364
|
+
* #### Default Query Options
|
|
365
|
+
* The default options include:
|
|
366
|
+
* ```
|
|
367
|
+
* {
|
|
368
|
+
* queryKey: [Key_DevelopmentAdmin.DevelopmentServerConfiguration_ByDevelopmentServerConfigId, input]
|
|
369
|
+
* }
|
|
370
|
+
* ```
|
|
371
|
+
*/
|
|
372
|
+
declare const useDevelopmentAdminApi_PatchDevelopmentServerConfiguration_ByDevelopmentServerConfigIdMutation: (sdk: AccelByteSDK, options?: Omit<UseMutationOptions<unknown, AxiosError<ApiError>, SdkSetConfigParam & {
|
|
373
|
+
developmentServerConfigID: string;
|
|
374
|
+
data: DevelopmentServerConfigurationUpdateRequest;
|
|
375
|
+
}>, "mutationKey">, callback?: (data: unknown) => void) => UseMutationResult<unknown, AxiosError<ApiError>, SdkSetConfigParam & {
|
|
376
|
+
developmentServerConfigID: string;
|
|
377
|
+
data: DevelopmentServerConfigurationUpdateRequest;
|
|
378
|
+
}>;
|
|
359
379
|
|
|
360
380
|
/**
|
|
361
381
|
* AUTO GENERATED
|
|
@@ -378,7 +398,17 @@ declare enum Key_FleetsAdmin {
|
|
|
378
398
|
* }
|
|
379
399
|
* ```
|
|
380
400
|
*/
|
|
381
|
-
declare const useFleetsAdminApi_GetFleets: (sdk: AccelByteSDK, input: SdkSetConfigParam
|
|
401
|
+
declare const useFleetsAdminApi_GetFleets: (sdk: AccelByteSDK, input: SdkSetConfigParam & {
|
|
402
|
+
queryParams?: {
|
|
403
|
+
active?: boolean | null;
|
|
404
|
+
count?: number;
|
|
405
|
+
name?: string | null;
|
|
406
|
+
offset?: number;
|
|
407
|
+
region?: string | null;
|
|
408
|
+
sortBy?: "active" | "name";
|
|
409
|
+
sortDirection?: "asc" | "desc";
|
|
410
|
+
};
|
|
411
|
+
}, options?: Omit<UseQueryOptions<FleetListResponse, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<FleetListResponse>) => void) => UseQueryResult<FleetListResponse, AxiosError<ApiError>>;
|
|
382
412
|
/**
|
|
383
413
|
* Optionally, sampling rules for the fleet can also be specified Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
|
|
384
414
|
*
|
|
@@ -488,7 +518,19 @@ declare enum Key_ImagesAdmin {
|
|
|
488
518
|
* }
|
|
489
519
|
* ```
|
|
490
520
|
*/
|
|
491
|
-
declare const useImagesAdminApi_GetImages: (sdk: AccelByteSDK, input: SdkSetConfigParam
|
|
521
|
+
declare const useImagesAdminApi_GetImages: (sdk: AccelByteSDK, input: SdkSetConfigParam & {
|
|
522
|
+
queryParams?: {
|
|
523
|
+
count?: number;
|
|
524
|
+
inUse?: string | null;
|
|
525
|
+
isProtected?: boolean | null;
|
|
526
|
+
name?: string | null;
|
|
527
|
+
offset?: number;
|
|
528
|
+
sortBy?: string | null;
|
|
529
|
+
sortDirection?: string | null;
|
|
530
|
+
status?: string | null;
|
|
531
|
+
tag?: string | null;
|
|
532
|
+
};
|
|
533
|
+
}, options?: Omit<UseQueryOptions<ImageList, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<ImageList>) => void) => UseQueryResult<ImageList, AxiosError<ApiError>>;
|
|
492
534
|
/**
|
|
493
535
|
* Returns information regarding the account's usage for images storage including the free tier quota Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
|
|
494
536
|
*
|
|
@@ -780,4 +822,4 @@ declare const useWatchdogsApi_GetConnect_ByWatchdogId_ByNS: (sdk: AccelByteSDK,
|
|
|
780
822
|
watchdogID: string;
|
|
781
823
|
}, options?: Omit<UseQueryOptions<unknown, AxiosError<ApiError>>, "queryKey">, callback?: (data: AxiosResponse<unknown>) => void) => UseQueryResult<unknown, AxiosError<ApiError>>;
|
|
782
824
|
|
|
783
|
-
export { Key_Account, Key_AccountAdmin, Key_AmsInfo, Key_AmsInfoAdmin, Key_AmsQoSAdmin, Key_ArtifactsAdmin, Key_Auth, Key_DevelopmentAdmin, Key_FleetCommander, Key_Fleets, Key_FleetsAdmin, Key_ImagesAdmin, Key_ServersAdmin, Key_Watchdogs, useAccountAdminApi_CreateAccountLinkMutation, useAccountAdminApi_CreateAccountMutation, useAccountAdminApi_GetAccount, useAccountAdminApi_GetAccountLink, useAccountApi_GetAccount, useAmsInfoAdminApi_GetRegions, useAmsInfoAdminApi_GetSupportedInstances, useAmsInfoApi_GetUploadUrl, useAmsQoSAdminApi_GetQos, useAmsQoSAdminApi_PatchQo_ByRegionMutation, useArtifactsAdminApi_DeleteArtifactMutation, useArtifactsAdminApi_DeleteArtifact_ByArtifactIdMutation, useArtifactsAdminApi_GetArtifacts, useArtifactsAdminApi_GetArtifactsSamplingRules_ByFleetId, useArtifactsAdminApi_GetArtifactsUsage, useArtifactsAdminApi_GetUrl_ByArtifactId, useArtifactsAdminApi_UpdateArtifactsSamplingRule_ByFleetIdMutation, useAuthApi_GetAuth, useDevelopmentAdminApi_CreateDevelopmentServerConfigurationMutation, useDevelopmentAdminApi_DeleteDevelopmentServerConfiguration_ByDevelopmentServerConfigIdMutation, useDevelopmentAdminApi_GetDevelopmentServerConfiguration_ByDevelopmentServerConfigId, useDevelopmentAdminApi_GetDevelopmentServerConfigurations, useFleetCommanderApi_GetVersion, useFleetsAdminApi_CreateFleetMutation, useFleetsAdminApi_DeleteFleet_ByFleetIdMutation, useFleetsAdminApi_GetFleet_ByFleetId, useFleetsAdminApi_GetFleets, useFleetsAdminApi_GetServers_ByFleetId, useFleetsAdminApi_UpdateFleet_ByFleetIdMutation, useFleetsApi_UpdateClaim_ByFleetIdMutation, useFleetsApi_UpdateServerClaimMutation, useImagesAdminApi_CreateRestore_ByImageIdMutation, useImagesAdminApi_DeleteImage_ByImageIdMutation, useImagesAdminApi_GetImage_ByImageId, useImagesAdminApi_GetImages, useImagesAdminApi_GetImagesStorage, useImagesAdminApi_PatchImage_ByImageIdMutation, useServersAdminApi_GetConnectioninfo_ByServerId, useServersAdminApi_GetHistory_ByServerId, useServersAdminApi_GetServer_ByServerId, useServersAdminApi_GetServersHistory_ByFleetId, useWatchdogsApi_GetConnect_ByWatchdogId, useWatchdogsApi_GetConnect_ByWatchdogId_ByNS };
|
|
825
|
+
export { Key_Account, Key_AccountAdmin, Key_AmsInfo, Key_AmsInfoAdmin, Key_AmsQoSAdmin, Key_ArtifactsAdmin, Key_Auth, Key_DevelopmentAdmin, Key_FleetCommander, Key_Fleets, Key_FleetsAdmin, Key_ImagesAdmin, Key_ServersAdmin, Key_Watchdogs, useAccountAdminApi_CreateAccountLinkMutation, useAccountAdminApi_CreateAccountMutation, useAccountAdminApi_GetAccount, useAccountAdminApi_GetAccountLink, useAccountApi_GetAccount, useAmsInfoAdminApi_GetRegions, useAmsInfoAdminApi_GetSupportedInstances, useAmsInfoApi_GetUploadUrl, useAmsQoSAdminApi_GetQos, useAmsQoSAdminApi_PatchQo_ByRegionMutation, useArtifactsAdminApi_DeleteArtifactMutation, useArtifactsAdminApi_DeleteArtifact_ByArtifactIdMutation, useArtifactsAdminApi_GetArtifacts, useArtifactsAdminApi_GetArtifactsSamplingRules_ByFleetId, useArtifactsAdminApi_GetArtifactsUsage, useArtifactsAdminApi_GetUrl_ByArtifactId, useArtifactsAdminApi_UpdateArtifactsSamplingRule_ByFleetIdMutation, useAuthApi_GetAuth, useDevelopmentAdminApi_CreateDevelopmentServerConfigurationMutation, useDevelopmentAdminApi_DeleteDevelopmentServerConfiguration_ByDevelopmentServerConfigIdMutation, useDevelopmentAdminApi_GetDevelopmentServerConfiguration_ByDevelopmentServerConfigId, useDevelopmentAdminApi_GetDevelopmentServerConfigurations, useDevelopmentAdminApi_PatchDevelopmentServerConfiguration_ByDevelopmentServerConfigIdMutation, useFleetCommanderApi_GetVersion, useFleetsAdminApi_CreateFleetMutation, useFleetsAdminApi_DeleteFleet_ByFleetIdMutation, useFleetsAdminApi_GetFleet_ByFleetId, useFleetsAdminApi_GetFleets, useFleetsAdminApi_GetServers_ByFleetId, useFleetsAdminApi_UpdateFleet_ByFleetIdMutation, useFleetsApi_UpdateClaim_ByFleetIdMutation, useFleetsApi_UpdateServerClaimMutation, useImagesAdminApi_CreateRestore_ByImageIdMutation, useImagesAdminApi_DeleteImage_ByImageIdMutation, useImagesAdminApi_GetImage_ByImageId, useImagesAdminApi_GetImages, useImagesAdminApi_GetImagesStorage, useImagesAdminApi_PatchImage_ByImageIdMutation, useServersAdminApi_GetConnectioninfo_ByServerId, useServersAdminApi_GetHistory_ByServerId, useServersAdminApi_GetServer_ByServerId, useServersAdminApi_GetServersHistory_ByFleetId, useWatchdogsApi_GetConnect_ByWatchdogId, useWatchdogsApi_GetConnect_ByWatchdogId_ByNS };
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
ImagesAdminApi,
|
|
14
14
|
ServersAdminApi,
|
|
15
15
|
WatchdogsApi
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UPPXBGXY.js";
|
|
17
17
|
|
|
18
18
|
// src/generated-admin/queries/AccountAdmin.query.ts
|
|
19
19
|
import { useMutation, useQuery } from "@tanstack/react-query";
|
|
@@ -320,6 +320,21 @@ var useDevelopmentAdminApi_GetDevelopmentServerConfiguration_ByDevelopmentServer
|
|
|
320
320
|
...options
|
|
321
321
|
});
|
|
322
322
|
};
|
|
323
|
+
var useDevelopmentAdminApi_PatchDevelopmentServerConfiguration_ByDevelopmentServerConfigIdMutation = (sdk, options, callback) => {
|
|
324
|
+
const mutationFn = async (input) => {
|
|
325
|
+
const response = await DevelopmentAdminApi(sdk, {
|
|
326
|
+
coreConfig: input.coreConfig,
|
|
327
|
+
axiosConfig: input.axiosConfig
|
|
328
|
+
}).patchDevelopmentServerConfiguration_ByDevelopmentServerConfigId(input.developmentServerConfigID, input.data);
|
|
329
|
+
callback && callback(response.data);
|
|
330
|
+
return response.data;
|
|
331
|
+
};
|
|
332
|
+
return useMutation4({
|
|
333
|
+
mutationKey: ["Ams.DevelopmentAdmin.DevelopmentServerConfiguration_ByDevelopmentServerConfigId" /* DevelopmentServerConfiguration_ByDevelopmentServerConfigId */],
|
|
334
|
+
mutationFn,
|
|
335
|
+
...options
|
|
336
|
+
});
|
|
337
|
+
};
|
|
323
338
|
|
|
324
339
|
// src/generated-admin/queries/FleetsAdmin.query.ts
|
|
325
340
|
import { useMutation as useMutation5, useQuery as useQuery6 } from "@tanstack/react-query";
|
|
@@ -332,7 +347,9 @@ var Key_FleetsAdmin = /* @__PURE__ */ ((Key_FleetsAdmin2) => {
|
|
|
332
347
|
})(Key_FleetsAdmin || {});
|
|
333
348
|
var useFleetsAdminApi_GetFleets = (sdk, input, options, callback) => {
|
|
334
349
|
const queryFn = (sdk2, input2) => async () => {
|
|
335
|
-
const response = await FleetsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getFleets(
|
|
350
|
+
const response = await FleetsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getFleets(
|
|
351
|
+
input2.queryParams
|
|
352
|
+
);
|
|
336
353
|
callback && callback(response);
|
|
337
354
|
return response.data;
|
|
338
355
|
};
|
|
@@ -424,7 +441,9 @@ var Key_ImagesAdmin = /* @__PURE__ */ ((Key_ImagesAdmin2) => {
|
|
|
424
441
|
})(Key_ImagesAdmin || {});
|
|
425
442
|
var useImagesAdminApi_GetImages = (sdk, input, options, callback) => {
|
|
426
443
|
const queryFn = (sdk2, input2) => async () => {
|
|
427
|
-
const response = await ImagesAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getImages(
|
|
444
|
+
const response = await ImagesAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getImages(
|
|
445
|
+
input2.queryParams
|
|
446
|
+
);
|
|
428
447
|
callback && callback(response);
|
|
429
448
|
return response.data;
|
|
430
449
|
};
|
|
@@ -755,6 +774,7 @@ export {
|
|
|
755
774
|
useDevelopmentAdminApi_DeleteDevelopmentServerConfiguration_ByDevelopmentServerConfigIdMutation,
|
|
756
775
|
useDevelopmentAdminApi_GetDevelopmentServerConfiguration_ByDevelopmentServerConfigId,
|
|
757
776
|
useDevelopmentAdminApi_GetDevelopmentServerConfigurations,
|
|
777
|
+
useDevelopmentAdminApi_PatchDevelopmentServerConfiguration_ByDevelopmentServerConfigIdMutation,
|
|
758
778
|
useFleetCommanderApi_GetVersion,
|
|
759
779
|
useFleetsAdminApi_CreateFleetMutation,
|
|
760
780
|
useFleetsAdminApi_DeleteFleet_ByFleetIdMutation,
|