@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
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AccelByteSDK, SdkSetConfigParam, Response } from '@accelbyte/sdk';
|
|
2
2
|
import { AxiosResponse, AxiosInstance } from 'axios';
|
|
3
|
-
import { A as AccountResponse, b as AccountCreateRequest, a as AccountCreateResponse, c as AccountLinkTokenResponse, e as AccountLinkRequest, d as AccountLinkResponse, f as AmsRegionsResponse,
|
|
3
|
+
import { A as AccountResponse, b as AccountCreateRequest, a as AccountCreateResponse, c as AccountLinkTokenResponse, e as AccountLinkRequest, d as AccountLinkResponse, 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, k as DevelopmentServerConfigurationCreateRequest, j as DevelopmentServerConfigurationCreateResponse, l as DevelopmentServerConfigurationGetResponse, m as DevelopmentServerConfigurationUpdateRequest, n as FleetListResponse, p as FleetParameters, o as FleetCreateResponse, 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, C as FleetClaimByKeysReq, B as FleetClaimResponse, E as FleetClaimReq } from './FleetClaimResponse-CE1Oz24x.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -21,7 +21,7 @@ declare function AccountAdminApi(sdk: AccelByteSDK, args?: SdkSetConfigParam): {
|
|
|
21
21
|
*/
|
|
22
22
|
getAccountLink: () => Promise<AxiosResponse<AccountLinkTokenResponse>>;
|
|
23
23
|
/**
|
|
24
|
-
* 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
|
|
24
|
+
* 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]
|
|
25
25
|
*/
|
|
26
26
|
createAccountLink: (data: AccountLinkRequest) => Promise<AxiosResponse<AccountLinkResponse>>;
|
|
27
27
|
};
|
|
@@ -38,7 +38,7 @@ declare function AmsInfoAdminApi(sdk: AccelByteSDK, args?: SdkSetConfigParam): {
|
|
|
38
38
|
/**
|
|
39
39
|
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
|
|
40
40
|
*/
|
|
41
|
-
getSupportedInstances: () => Promise<AxiosResponse<
|
|
41
|
+
getSupportedInstances: () => Promise<AxiosResponse<InstanceTypesResponse>>;
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
/**
|
|
@@ -85,6 +85,8 @@ declare function ArtifactsAdminApi(sdk: AccelByteSDK, args?: SdkSetConfigParam):
|
|
|
85
85
|
offset?: number;
|
|
86
86
|
region?: string | null;
|
|
87
87
|
serverId?: string | null;
|
|
88
|
+
sortBy?: string | null;
|
|
89
|
+
sortDirection?: "asc" | "desc";
|
|
88
90
|
startDate?: string | null;
|
|
89
91
|
status?: string | null;
|
|
90
92
|
}) => Promise<AxiosResponse<ArtifactListResponse>>;
|
|
@@ -134,6 +136,10 @@ declare function DevelopmentAdminApi(sdk: AccelByteSDK, args?: SdkSetConfigParam
|
|
|
134
136
|
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
135
137
|
*/
|
|
136
138
|
getDevelopmentServerConfiguration_ByDevelopmentServerConfigId: (developmentServerConfigID: string) => Promise<AxiosResponse<DevelopmentServerConfigurationGetResponse>>;
|
|
139
|
+
/**
|
|
140
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [UPDATE]
|
|
141
|
+
*/
|
|
142
|
+
patchDevelopmentServerConfiguration_ByDevelopmentServerConfigId: (developmentServerConfigID: string, data: DevelopmentServerConfigurationUpdateRequest) => Promise<AxiosResponse<unknown>>;
|
|
137
143
|
};
|
|
138
144
|
|
|
139
145
|
/**
|
|
@@ -144,7 +150,15 @@ declare function FleetsAdminApi(sdk: AccelByteSDK, args?: SdkSetConfigParam): {
|
|
|
144
150
|
/**
|
|
145
151
|
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
146
152
|
*/
|
|
147
|
-
getFleets: (
|
|
153
|
+
getFleets: (queryParams?: {
|
|
154
|
+
active?: boolean | null;
|
|
155
|
+
count?: number;
|
|
156
|
+
name?: string | null;
|
|
157
|
+
offset?: number;
|
|
158
|
+
region?: string | null;
|
|
159
|
+
sortBy?: "active" | "name";
|
|
160
|
+
sortDirection?: "asc" | "desc";
|
|
161
|
+
}) => Promise<AxiosResponse<FleetListResponse>>;
|
|
148
162
|
/**
|
|
149
163
|
* Optionally, sampling rules for the fleet can also be specified Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
|
|
150
164
|
*/
|
|
@@ -183,7 +197,17 @@ declare function ImagesAdminApi(sdk: AccelByteSDK, args?: SdkSetConfigParam): {
|
|
|
183
197
|
/**
|
|
184
198
|
* 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]
|
|
185
199
|
*/
|
|
186
|
-
getImages: (
|
|
200
|
+
getImages: (queryParams?: {
|
|
201
|
+
count?: number;
|
|
202
|
+
inUse?: string | null;
|
|
203
|
+
isProtected?: boolean | null;
|
|
204
|
+
name?: string | null;
|
|
205
|
+
offset?: number;
|
|
206
|
+
sortBy?: string | null;
|
|
207
|
+
sortDirection?: string | null;
|
|
208
|
+
status?: string | null;
|
|
209
|
+
tag?: string | null;
|
|
210
|
+
}) => Promise<AxiosResponse<ImageList>>;
|
|
187
211
|
/**
|
|
188
212
|
* Returns information regarding the account's usage for images storage including the free tier quota Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
|
|
189
213
|
*/
|
|
@@ -349,7 +373,7 @@ declare class AccountAdmin$ {
|
|
|
349
373
|
*/
|
|
350
374
|
getAccountLink(): Promise<Response<AccountLinkTokenResponse>>;
|
|
351
375
|
/**
|
|
352
|
-
* 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
|
|
376
|
+
* 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]
|
|
353
377
|
*/
|
|
354
378
|
createAccountLink(data: AccountLinkRequest): Promise<Response<AccountLinkResponse>>;
|
|
355
379
|
}
|
|
@@ -370,7 +394,7 @@ declare class AmsInfoAdmin$ {
|
|
|
370
394
|
/**
|
|
371
395
|
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
|
|
372
396
|
*/
|
|
373
|
-
getSupportedInstances(): Promise<Response<
|
|
397
|
+
getSupportedInstances(): Promise<Response<InstanceTypesResponse>>;
|
|
374
398
|
}
|
|
375
399
|
|
|
376
400
|
/**
|
|
@@ -425,6 +449,8 @@ declare class ArtifactsAdmin$ {
|
|
|
425
449
|
offset?: number;
|
|
426
450
|
region?: string | null;
|
|
427
451
|
serverId?: string | null;
|
|
452
|
+
sortBy?: string | null;
|
|
453
|
+
sortDirection?: 'asc' | 'desc';
|
|
428
454
|
startDate?: string | null;
|
|
429
455
|
status?: string | null;
|
|
430
456
|
}): Promise<Response<ArtifactListResponse>>;
|
|
@@ -478,6 +504,10 @@ declare class DevelopmentAdmin$ {
|
|
|
478
504
|
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
479
505
|
*/
|
|
480
506
|
getDevelopmentServerConfiguration_ByDevelopmentServerConfigId(developmentServerConfigID: string): Promise<Response<DevelopmentServerConfigurationGetResponse>>;
|
|
507
|
+
/**
|
|
508
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [UPDATE]
|
|
509
|
+
*/
|
|
510
|
+
patchDevelopmentServerConfiguration_ByDevelopmentServerConfigId(developmentServerConfigID: string, data: DevelopmentServerConfigurationUpdateRequest): Promise<Response<unknown>>;
|
|
481
511
|
}
|
|
482
512
|
|
|
483
513
|
/**
|
|
@@ -492,7 +522,15 @@ declare class FleetsAdmin$ {
|
|
|
492
522
|
/**
|
|
493
523
|
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
494
524
|
*/
|
|
495
|
-
getFleets(
|
|
525
|
+
getFleets(queryParams?: {
|
|
526
|
+
active?: boolean | null;
|
|
527
|
+
count?: number;
|
|
528
|
+
name?: string | null;
|
|
529
|
+
offset?: number;
|
|
530
|
+
region?: string | null;
|
|
531
|
+
sortBy?: 'active' | 'name';
|
|
532
|
+
sortDirection?: 'asc' | 'desc';
|
|
533
|
+
}): Promise<Response<FleetListResponse>>;
|
|
496
534
|
/**
|
|
497
535
|
* Optionally, sampling rules for the fleet can also be specified Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
|
|
498
536
|
*/
|
|
@@ -535,7 +573,17 @@ declare class ImagesAdmin$ {
|
|
|
535
573
|
/**
|
|
536
574
|
* 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]
|
|
537
575
|
*/
|
|
538
|
-
getImages(
|
|
576
|
+
getImages(queryParams?: {
|
|
577
|
+
count?: number;
|
|
578
|
+
inUse?: string | null;
|
|
579
|
+
isProtected?: boolean | null;
|
|
580
|
+
name?: string | null;
|
|
581
|
+
offset?: number;
|
|
582
|
+
sortBy?: string | null;
|
|
583
|
+
sortDirection?: string | null;
|
|
584
|
+
status?: string | null;
|
|
585
|
+
tag?: string | null;
|
|
586
|
+
}): Promise<Response<ImageList>>;
|
|
539
587
|
/**
|
|
540
588
|
* Returns information regarding the account's usage for images storage including the free tier quota Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
|
|
541
589
|
*/
|
|
@@ -625,6 +673,7 @@ declare const ArtifactResponse: z.ZodObject<{
|
|
|
625
673
|
id: z.ZodString;
|
|
626
674
|
imageId: z.ZodString;
|
|
627
675
|
namespace: z.ZodString;
|
|
676
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
628
677
|
region: z.ZodString;
|
|
629
678
|
sizeBytes: z.ZodNumber;
|
|
630
679
|
status: z.ZodString;
|
|
@@ -641,6 +690,7 @@ declare const ArtifactResponse: z.ZodObject<{
|
|
|
641
690
|
sizeBytes: number;
|
|
642
691
|
createdOn?: any;
|
|
643
692
|
expiresOn?: any;
|
|
693
|
+
reason?: string | null | undefined;
|
|
644
694
|
}, {
|
|
645
695
|
namespace: string;
|
|
646
696
|
status: string;
|
|
@@ -654,6 +704,7 @@ declare const ArtifactResponse: z.ZodObject<{
|
|
|
654
704
|
sizeBytes: number;
|
|
655
705
|
createdOn?: any;
|
|
656
706
|
expiresOn?: any;
|
|
707
|
+
reason?: string | null | undefined;
|
|
657
708
|
}>;
|
|
658
709
|
interface ArtifactResponse extends z.TypeOf<typeof ArtifactResponse> {
|
|
659
710
|
}
|
|
@@ -692,6 +743,16 @@ declare const ArtifactTypeSamplingRules: z.ZodObject<{
|
|
|
692
743
|
collect: boolean;
|
|
693
744
|
percentage: number;
|
|
694
745
|
}>;
|
|
746
|
+
unclaimed: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
747
|
+
collect: z.ZodBoolean;
|
|
748
|
+
percentage: z.ZodNumber;
|
|
749
|
+
}, "strip", z.ZodTypeAny, {
|
|
750
|
+
collect: boolean;
|
|
751
|
+
percentage: number;
|
|
752
|
+
}, {
|
|
753
|
+
collect: boolean;
|
|
754
|
+
percentage: number;
|
|
755
|
+
}>>>;
|
|
695
756
|
}, "strip", z.ZodTypeAny, {
|
|
696
757
|
success: {
|
|
697
758
|
collect: boolean;
|
|
@@ -701,6 +762,10 @@ declare const ArtifactTypeSamplingRules: z.ZodObject<{
|
|
|
701
762
|
collect: boolean;
|
|
702
763
|
percentage: number;
|
|
703
764
|
};
|
|
765
|
+
unclaimed?: {
|
|
766
|
+
collect: boolean;
|
|
767
|
+
percentage: number;
|
|
768
|
+
} | null | undefined;
|
|
704
769
|
}, {
|
|
705
770
|
success: {
|
|
706
771
|
collect: boolean;
|
|
@@ -710,10 +775,52 @@ declare const ArtifactTypeSamplingRules: z.ZodObject<{
|
|
|
710
775
|
collect: boolean;
|
|
711
776
|
percentage: number;
|
|
712
777
|
};
|
|
778
|
+
unclaimed?: {
|
|
779
|
+
collect: boolean;
|
|
780
|
+
percentage: number;
|
|
781
|
+
} | null | undefined;
|
|
713
782
|
}>;
|
|
714
783
|
interface ArtifactTypeSamplingRules extends z.TypeOf<typeof ArtifactTypeSamplingRules> {
|
|
715
784
|
}
|
|
716
785
|
|
|
786
|
+
declare const Capacity: z.ZodObject<{
|
|
787
|
+
region: z.ZodString;
|
|
788
|
+
vmCount: z.ZodNumber;
|
|
789
|
+
}, "strip", z.ZodTypeAny, {
|
|
790
|
+
region: string;
|
|
791
|
+
vmCount: number;
|
|
792
|
+
}, {
|
|
793
|
+
region: string;
|
|
794
|
+
vmCount: number;
|
|
795
|
+
}>;
|
|
796
|
+
interface Capacity extends z.TypeOf<typeof Capacity> {
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
declare const CoredumpSamplingRules: z.ZodObject<{
|
|
800
|
+
crashed: z.ZodObject<{
|
|
801
|
+
collect: z.ZodBoolean;
|
|
802
|
+
percentage: z.ZodNumber;
|
|
803
|
+
}, "strip", z.ZodTypeAny, {
|
|
804
|
+
collect: boolean;
|
|
805
|
+
percentage: number;
|
|
806
|
+
}, {
|
|
807
|
+
collect: boolean;
|
|
808
|
+
percentage: number;
|
|
809
|
+
}>;
|
|
810
|
+
}, "strip", z.ZodTypeAny, {
|
|
811
|
+
crashed: {
|
|
812
|
+
collect: boolean;
|
|
813
|
+
percentage: number;
|
|
814
|
+
};
|
|
815
|
+
}, {
|
|
816
|
+
crashed: {
|
|
817
|
+
collect: boolean;
|
|
818
|
+
percentage: number;
|
|
819
|
+
};
|
|
820
|
+
}>;
|
|
821
|
+
interface CoredumpSamplingRules extends z.TypeOf<typeof CoredumpSamplingRules> {
|
|
822
|
+
}
|
|
823
|
+
|
|
717
824
|
declare const DsHistoryEvent: z.ZodObject<{
|
|
718
825
|
createdAt: z.ZodAny;
|
|
719
826
|
exitCode: z.ZodNumber;
|
|
@@ -726,20 +833,20 @@ declare const DsHistoryEvent: z.ZodObject<{
|
|
|
726
833
|
}, "strip", z.ZodTypeAny, {
|
|
727
834
|
status: string;
|
|
728
835
|
region: string;
|
|
836
|
+
reason: string;
|
|
729
837
|
ipAddress: string;
|
|
730
838
|
serverId: string;
|
|
731
839
|
sessionId: string;
|
|
732
840
|
exitCode: number;
|
|
733
|
-
reason: string;
|
|
734
841
|
createdAt?: any;
|
|
735
842
|
}, {
|
|
736
843
|
status: string;
|
|
737
844
|
region: string;
|
|
845
|
+
reason: string;
|
|
738
846
|
ipAddress: string;
|
|
739
847
|
serverId: string;
|
|
740
848
|
sessionId: string;
|
|
741
849
|
exitCode: number;
|
|
742
|
-
reason: string;
|
|
743
850
|
createdAt?: any;
|
|
744
851
|
}>;
|
|
745
852
|
interface DsHistoryEvent extends z.TypeOf<typeof DsHistoryEvent> {
|
|
@@ -747,20 +854,36 @@ interface DsHistoryEvent extends z.TypeOf<typeof DsHistoryEvent> {
|
|
|
747
854
|
|
|
748
855
|
declare const DsHostConfiguration: z.ZodObject<{
|
|
749
856
|
instanceId: z.ZodString;
|
|
857
|
+
instanceProvider: z.ZodString;
|
|
750
858
|
instanceType: z.ZodString;
|
|
751
859
|
serversPerVm: z.ZodNumber;
|
|
752
860
|
}, "strip", z.ZodTypeAny, {
|
|
753
861
|
instanceId: string;
|
|
862
|
+
instanceProvider: string;
|
|
754
863
|
instanceType: string;
|
|
755
864
|
serversPerVm: number;
|
|
756
865
|
}, {
|
|
757
866
|
instanceId: string;
|
|
867
|
+
instanceProvider: string;
|
|
758
868
|
instanceType: string;
|
|
759
869
|
serversPerVm: number;
|
|
760
870
|
}>;
|
|
761
871
|
interface DsHostConfiguration extends z.TypeOf<typeof DsHostConfiguration> {
|
|
762
872
|
}
|
|
763
873
|
|
|
874
|
+
declare const DsHostConfigurationParameters: z.ZodObject<{
|
|
875
|
+
instanceId: z.ZodString;
|
|
876
|
+
serversPerVm: z.ZodNumber;
|
|
877
|
+
}, "strip", z.ZodTypeAny, {
|
|
878
|
+
instanceId: string;
|
|
879
|
+
serversPerVm: number;
|
|
880
|
+
}, {
|
|
881
|
+
instanceId: string;
|
|
882
|
+
serversPerVm: number;
|
|
883
|
+
}>;
|
|
884
|
+
interface DsHostConfigurationParameters extends z.TypeOf<typeof DsHostConfigurationParameters> {
|
|
885
|
+
}
|
|
886
|
+
|
|
764
887
|
declare const ErrorResponse: z.ZodObject<{
|
|
765
888
|
errorMessage: z.ZodString;
|
|
766
889
|
errorType: z.ZodString;
|
|
@@ -801,19 +924,25 @@ declare const FleetListItemResponse: z.ZodObject<{
|
|
|
801
924
|
targetDsCount: number;
|
|
802
925
|
targetVmCount: number;
|
|
803
926
|
}>, "many">;
|
|
927
|
+
fallbackFleet: z.ZodString;
|
|
804
928
|
id: z.ZodString;
|
|
805
929
|
image: z.ZodString;
|
|
930
|
+
instanceProvider: z.ZodString;
|
|
806
931
|
isLocal: z.ZodBoolean;
|
|
807
932
|
name: z.ZodString;
|
|
808
933
|
onDemand: z.ZodBoolean;
|
|
934
|
+
primaryFleet: z.ZodString;
|
|
809
935
|
regions: z.ZodArray<z.ZodString, "many">;
|
|
810
936
|
}, "strip", z.ZodTypeAny, {
|
|
811
937
|
name: string;
|
|
812
938
|
id: string;
|
|
813
939
|
regions: string[];
|
|
940
|
+
instanceProvider: string;
|
|
814
941
|
active: boolean;
|
|
942
|
+
fallbackFleet: string;
|
|
815
943
|
isLocal: boolean;
|
|
816
944
|
onDemand: boolean;
|
|
945
|
+
primaryFleet: string;
|
|
817
946
|
counts: {
|
|
818
947
|
region: string;
|
|
819
948
|
claimedServerCount: number;
|
|
@@ -827,9 +956,12 @@ declare const FleetListItemResponse: z.ZodObject<{
|
|
|
827
956
|
name: string;
|
|
828
957
|
id: string;
|
|
829
958
|
regions: string[];
|
|
959
|
+
instanceProvider: string;
|
|
830
960
|
active: boolean;
|
|
961
|
+
fallbackFleet: string;
|
|
831
962
|
isLocal: boolean;
|
|
832
963
|
onDemand: boolean;
|
|
964
|
+
primaryFleet: string;
|
|
833
965
|
counts: {
|
|
834
966
|
region: string;
|
|
835
967
|
claimedServerCount: number;
|
|
@@ -878,17 +1010,17 @@ declare const FleetServerHistoryEventResponse: z.ZodObject<{
|
|
|
878
1010
|
serverId: z.ZodString;
|
|
879
1011
|
}, "strip", z.ZodTypeAny, {
|
|
880
1012
|
fleetId: string;
|
|
1013
|
+
reason: string;
|
|
881
1014
|
serverId: string;
|
|
882
1015
|
exitCode: number;
|
|
883
|
-
reason: string;
|
|
884
1016
|
newState: string;
|
|
885
1017
|
oldState: string;
|
|
886
1018
|
createdAt?: any;
|
|
887
1019
|
}, {
|
|
888
1020
|
fleetId: string;
|
|
1021
|
+
reason: string;
|
|
889
1022
|
serverId: string;
|
|
890
1023
|
exitCode: number;
|
|
891
|
-
reason: string;
|
|
892
1024
|
newState: string;
|
|
893
1025
|
oldState: string;
|
|
894
1026
|
createdAt?: any;
|
|
@@ -909,59 +1041,65 @@ declare const ImageDeploymentProfile: z.ZodObject<{
|
|
|
909
1041
|
name: string;
|
|
910
1042
|
protocol: string;
|
|
911
1043
|
}>, "many">;
|
|
912
|
-
timeout: z.ZodObject<{
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
1044
|
+
timeout: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1045
|
+
claim: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1046
|
+
creation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1047
|
+
drain: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1048
|
+
session: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1049
|
+
unresponsive: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
917
1050
|
}, "strip", z.ZodTypeAny, {
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
1051
|
+
claim?: number | null | undefined;
|
|
1052
|
+
creation?: number | null | undefined;
|
|
1053
|
+
drain?: number | null | undefined;
|
|
1054
|
+
session?: number | null | undefined;
|
|
1055
|
+
unresponsive?: number | null | undefined;
|
|
922
1056
|
}, {
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
1057
|
+
claim?: number | null | undefined;
|
|
1058
|
+
creation?: number | null | undefined;
|
|
1059
|
+
drain?: number | null | undefined;
|
|
1060
|
+
session?: number | null | undefined;
|
|
1061
|
+
unresponsive?: number | null | undefined;
|
|
1062
|
+
}>>>;
|
|
928
1063
|
}, "strip", z.ZodTypeAny, {
|
|
929
|
-
timeout: {
|
|
930
|
-
creation: number;
|
|
931
|
-
drain: number;
|
|
932
|
-
session: number;
|
|
933
|
-
unresponsive: number;
|
|
934
|
-
};
|
|
935
1064
|
imageId: string;
|
|
936
1065
|
commandLine: string;
|
|
937
1066
|
portConfigurations: {
|
|
938
1067
|
name: string;
|
|
939
1068
|
protocol: string;
|
|
940
1069
|
}[];
|
|
1070
|
+
timeout?: {
|
|
1071
|
+
claim?: number | null | undefined;
|
|
1072
|
+
creation?: number | null | undefined;
|
|
1073
|
+
drain?: number | null | undefined;
|
|
1074
|
+
session?: number | null | undefined;
|
|
1075
|
+
unresponsive?: number | null | undefined;
|
|
1076
|
+
} | null | undefined;
|
|
941
1077
|
}, {
|
|
942
|
-
timeout: {
|
|
943
|
-
creation: number;
|
|
944
|
-
drain: number;
|
|
945
|
-
session: number;
|
|
946
|
-
unresponsive: number;
|
|
947
|
-
};
|
|
948
1078
|
imageId: string;
|
|
949
1079
|
commandLine: string;
|
|
950
1080
|
portConfigurations: {
|
|
951
1081
|
name: string;
|
|
952
1082
|
protocol: string;
|
|
953
1083
|
}[];
|
|
1084
|
+
timeout?: {
|
|
1085
|
+
claim?: number | null | undefined;
|
|
1086
|
+
creation?: number | null | undefined;
|
|
1087
|
+
drain?: number | null | undefined;
|
|
1088
|
+
session?: number | null | undefined;
|
|
1089
|
+
unresponsive?: number | null | undefined;
|
|
1090
|
+
} | null | undefined;
|
|
954
1091
|
}>;
|
|
955
1092
|
interface ImageDeploymentProfile extends z.TypeOf<typeof ImageDeploymentProfile> {
|
|
956
1093
|
}
|
|
957
1094
|
|
|
958
1095
|
declare const ImageListItem: z.ZodObject<{
|
|
959
1096
|
createdAt: z.ZodAny;
|
|
960
|
-
deleteAt: z.ZodAny
|
|
1097
|
+
deleteAt: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
961
1098
|
executable: z.ZodString;
|
|
962
1099
|
id: z.ZodString;
|
|
963
1100
|
isProtected: z.ZodBoolean;
|
|
964
1101
|
name: z.ZodString;
|
|
1102
|
+
referencingConfigs: z.ZodNumber;
|
|
965
1103
|
referencingFleets: z.ZodNumber;
|
|
966
1104
|
sizeInByte: z.ZodNumber;
|
|
967
1105
|
status: z.ZodString;
|
|
@@ -978,6 +1116,7 @@ declare const ImageListItem: z.ZodObject<{
|
|
|
978
1116
|
sizeInByte: number;
|
|
979
1117
|
tags: string[];
|
|
980
1118
|
uploadedBy: string;
|
|
1119
|
+
referencingConfigs: number;
|
|
981
1120
|
createdAt?: any;
|
|
982
1121
|
deleteAt?: any;
|
|
983
1122
|
uploadedAt?: any;
|
|
@@ -991,6 +1130,7 @@ declare const ImageListItem: z.ZodObject<{
|
|
|
991
1130
|
sizeInByte: number;
|
|
992
1131
|
tags: string[];
|
|
993
1132
|
uploadedBy: string;
|
|
1133
|
+
referencingConfigs: number;
|
|
994
1134
|
createdAt?: any;
|
|
995
1135
|
deleteAt?: any;
|
|
996
1136
|
uploadedAt?: any;
|
|
@@ -998,122 +1138,78 @@ declare const ImageListItem: z.ZodObject<{
|
|
|
998
1138
|
interface ImageListItem extends z.TypeOf<typeof ImageListItem> {
|
|
999
1139
|
}
|
|
1000
1140
|
|
|
1001
|
-
declare const
|
|
1141
|
+
declare const InstanceType: z.ZodObject<{
|
|
1142
|
+
capacity: z.ZodArray<z.ZodObject<{
|
|
1143
|
+
region: z.ZodString;
|
|
1144
|
+
vmCount: z.ZodNumber;
|
|
1145
|
+
}, "strip", z.ZodTypeAny, {
|
|
1146
|
+
region: string;
|
|
1147
|
+
vmCount: number;
|
|
1148
|
+
}, {
|
|
1149
|
+
region: string;
|
|
1150
|
+
vmCount: number;
|
|
1151
|
+
}>, "many">;
|
|
1002
1152
|
description: z.ZodString;
|
|
1003
1153
|
id: z.ZodString;
|
|
1154
|
+
isBaremetal: z.ZodBoolean;
|
|
1004
1155
|
memoryGiB: z.ZodNumber;
|
|
1005
1156
|
minSpeed: z.ZodString;
|
|
1006
1157
|
name: z.ZodString;
|
|
1158
|
+
ownerAccountId: z.ZodString;
|
|
1159
|
+
provider: z.ZodString;
|
|
1007
1160
|
virtualCpu: z.ZodNumber;
|
|
1008
1161
|
}, "strip", z.ZodTypeAny, {
|
|
1009
1162
|
name: string;
|
|
1010
1163
|
id: string;
|
|
1164
|
+
capacity: {
|
|
1165
|
+
region: string;
|
|
1166
|
+
vmCount: number;
|
|
1167
|
+
}[];
|
|
1011
1168
|
description: string;
|
|
1169
|
+
isBaremetal: boolean;
|
|
1012
1170
|
memoryGiB: number;
|
|
1013
1171
|
minSpeed: string;
|
|
1172
|
+
ownerAccountId: string;
|
|
1173
|
+
provider: string;
|
|
1014
1174
|
virtualCpu: number;
|
|
1015
1175
|
}, {
|
|
1016
1176
|
name: string;
|
|
1017
1177
|
id: string;
|
|
1178
|
+
capacity: {
|
|
1179
|
+
region: string;
|
|
1180
|
+
vmCount: number;
|
|
1181
|
+
}[];
|
|
1018
1182
|
description: string;
|
|
1183
|
+
isBaremetal: boolean;
|
|
1019
1184
|
memoryGiB: number;
|
|
1020
1185
|
minSpeed: string;
|
|
1186
|
+
ownerAccountId: string;
|
|
1187
|
+
provider: string;
|
|
1021
1188
|
virtualCpu: number;
|
|
1022
1189
|
}>;
|
|
1023
|
-
interface
|
|
1190
|
+
interface InstanceType extends z.TypeOf<typeof InstanceType> {
|
|
1024
1191
|
}
|
|
1025
1192
|
|
|
1026
|
-
declare const
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
offset: z.ZodNumber;
|
|
1033
|
-
}, "strip", z.ZodTypeAny, {
|
|
1034
|
-
name: string;
|
|
1035
|
-
isDST: boolean;
|
|
1036
|
-
offset: number;
|
|
1037
|
-
}, {
|
|
1038
|
-
name: string;
|
|
1039
|
-
isDST: boolean;
|
|
1040
|
-
offset: number;
|
|
1041
|
-
}>;
|
|
1042
|
-
extend: z.ZodString;
|
|
1043
|
-
name: z.ZodString;
|
|
1044
|
-
tx: z.ZodArray<z.ZodObject<{
|
|
1045
|
-
index: z.ZodNumber;
|
|
1046
|
-
isstd: z.ZodBoolean;
|
|
1047
|
-
isutc: z.ZodBoolean;
|
|
1048
|
-
when: z.ZodNumber;
|
|
1049
|
-
}, "strip", z.ZodTypeAny, {
|
|
1050
|
-
index: number;
|
|
1051
|
-
isstd: boolean;
|
|
1052
|
-
isutc: boolean;
|
|
1053
|
-
when: number;
|
|
1054
|
-
}, {
|
|
1055
|
-
index: number;
|
|
1056
|
-
isstd: boolean;
|
|
1057
|
-
isutc: boolean;
|
|
1058
|
-
when: number;
|
|
1059
|
-
}>, "many">;
|
|
1060
|
-
zone: z.ZodArray<z.ZodObject<{
|
|
1061
|
-
isDST: z.ZodBoolean;
|
|
1062
|
-
name: z.ZodString;
|
|
1063
|
-
offset: z.ZodNumber;
|
|
1064
|
-
}, "strip", z.ZodTypeAny, {
|
|
1065
|
-
name: string;
|
|
1066
|
-
isDST: boolean;
|
|
1067
|
-
offset: number;
|
|
1068
|
-
}, {
|
|
1069
|
-
name: string;
|
|
1070
|
-
isDST: boolean;
|
|
1071
|
-
offset: number;
|
|
1072
|
-
}>, "many">;
|
|
1193
|
+
declare const PaginationInfo: z.ZodObject<{
|
|
1194
|
+
first: z.ZodString;
|
|
1195
|
+
last: z.ZodString;
|
|
1196
|
+
next: z.ZodString;
|
|
1197
|
+
previous: z.ZodString;
|
|
1198
|
+
total: z.ZodNumber;
|
|
1073
1199
|
}, "strip", z.ZodTypeAny, {
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
isDST: boolean;
|
|
1080
|
-
offset: number;
|
|
1081
|
-
};
|
|
1082
|
-
extend: string;
|
|
1083
|
-
tx: {
|
|
1084
|
-
index: number;
|
|
1085
|
-
isstd: boolean;
|
|
1086
|
-
isutc: boolean;
|
|
1087
|
-
when: number;
|
|
1088
|
-
}[];
|
|
1089
|
-
zone: {
|
|
1090
|
-
name: string;
|
|
1091
|
-
isDST: boolean;
|
|
1092
|
-
offset: number;
|
|
1093
|
-
}[];
|
|
1200
|
+
first: string;
|
|
1201
|
+
last: string;
|
|
1202
|
+
next: string;
|
|
1203
|
+
previous: string;
|
|
1204
|
+
total: number;
|
|
1094
1205
|
}, {
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
isDST: boolean;
|
|
1101
|
-
offset: number;
|
|
1102
|
-
};
|
|
1103
|
-
extend: string;
|
|
1104
|
-
tx: {
|
|
1105
|
-
index: number;
|
|
1106
|
-
isstd: boolean;
|
|
1107
|
-
isutc: boolean;
|
|
1108
|
-
when: number;
|
|
1109
|
-
}[];
|
|
1110
|
-
zone: {
|
|
1111
|
-
name: string;
|
|
1112
|
-
isDST: boolean;
|
|
1113
|
-
offset: number;
|
|
1114
|
-
}[];
|
|
1206
|
+
first: string;
|
|
1207
|
+
last: string;
|
|
1208
|
+
next: string;
|
|
1209
|
+
previous: string;
|
|
1210
|
+
total: number;
|
|
1115
1211
|
}>;
|
|
1116
|
-
interface
|
|
1212
|
+
interface PaginationInfo extends z.TypeOf<typeof PaginationInfo> {
|
|
1117
1213
|
}
|
|
1118
1214
|
|
|
1119
1215
|
declare const PagingInfo: z.ZodObject<{
|
|
@@ -1126,23 +1222,23 @@ declare const PagingInfo: z.ZodObject<{
|
|
|
1126
1222
|
previous: z.ZodString;
|
|
1127
1223
|
total: z.ZodNumber;
|
|
1128
1224
|
}, "strip", z.ZodTypeAny, {
|
|
1225
|
+
next: string;
|
|
1226
|
+
previous: string;
|
|
1227
|
+
total: number;
|
|
1129
1228
|
currentPage: number;
|
|
1130
1229
|
hasNext: boolean;
|
|
1131
1230
|
hasPages: boolean;
|
|
1132
1231
|
hasPrev: boolean;
|
|
1133
|
-
next: string;
|
|
1134
1232
|
pageNums: number[];
|
|
1233
|
+
}, {
|
|
1234
|
+
next: string;
|
|
1135
1235
|
previous: string;
|
|
1136
1236
|
total: number;
|
|
1137
|
-
}, {
|
|
1138
1237
|
currentPage: number;
|
|
1139
1238
|
hasNext: boolean;
|
|
1140
1239
|
hasPages: boolean;
|
|
1141
1240
|
hasPrev: boolean;
|
|
1142
|
-
next: string;
|
|
1143
1241
|
pageNums: number[];
|
|
1144
|
-
previous: string;
|
|
1145
|
-
total: number;
|
|
1146
1242
|
}>;
|
|
1147
1243
|
interface PagingInfo extends z.TypeOf<typeof PagingInfo> {
|
|
1148
1244
|
}
|
|
@@ -1169,17 +1265,17 @@ declare const QoSServer: z.ZodObject<{
|
|
|
1169
1265
|
status: z.ZodString;
|
|
1170
1266
|
}, "strip", z.ZodTypeAny, {
|
|
1171
1267
|
status: string;
|
|
1268
|
+
region: string;
|
|
1172
1269
|
alias: string;
|
|
1173
1270
|
ip: string;
|
|
1174
1271
|
port: number;
|
|
1175
|
-
region: string;
|
|
1176
1272
|
last_update?: any;
|
|
1177
1273
|
}, {
|
|
1178
1274
|
status: string;
|
|
1275
|
+
region: string;
|
|
1179
1276
|
alias: string;
|
|
1180
1277
|
ip: string;
|
|
1181
1278
|
port: number;
|
|
1182
|
-
region: string;
|
|
1183
1279
|
last_update?: any;
|
|
1184
1280
|
}>;
|
|
1185
1281
|
interface QoSServer extends z.TypeOf<typeof QoSServer> {
|
|
@@ -1228,59 +1324,27 @@ interface Time extends z.TypeOf<typeof Time> {
|
|
|
1228
1324
|
}
|
|
1229
1325
|
|
|
1230
1326
|
declare const Timeout: z.ZodObject<{
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1327
|
+
claim: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1328
|
+
creation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1329
|
+
drain: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1330
|
+
session: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1331
|
+
unresponsive: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1235
1332
|
}, "strip", z.ZodTypeAny, {
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1333
|
+
claim?: number | null | undefined;
|
|
1334
|
+
creation?: number | null | undefined;
|
|
1335
|
+
drain?: number | null | undefined;
|
|
1336
|
+
session?: number | null | undefined;
|
|
1337
|
+
unresponsive?: number | null | undefined;
|
|
1240
1338
|
}, {
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1339
|
+
claim?: number | null | undefined;
|
|
1340
|
+
creation?: number | null | undefined;
|
|
1341
|
+
drain?: number | null | undefined;
|
|
1342
|
+
session?: number | null | undefined;
|
|
1343
|
+
unresponsive?: number | null | undefined;
|
|
1245
1344
|
}>;
|
|
1246
1345
|
interface Timeout extends z.TypeOf<typeof Timeout> {
|
|
1247
1346
|
}
|
|
1248
1347
|
|
|
1249
|
-
declare const Zone: z.ZodObject<{
|
|
1250
|
-
isDST: z.ZodBoolean;
|
|
1251
|
-
name: z.ZodString;
|
|
1252
|
-
offset: z.ZodNumber;
|
|
1253
|
-
}, "strip", z.ZodTypeAny, {
|
|
1254
|
-
name: string;
|
|
1255
|
-
isDST: boolean;
|
|
1256
|
-
offset: number;
|
|
1257
|
-
}, {
|
|
1258
|
-
name: string;
|
|
1259
|
-
isDST: boolean;
|
|
1260
|
-
offset: number;
|
|
1261
|
-
}>;
|
|
1262
|
-
interface Zone extends z.TypeOf<typeof Zone> {
|
|
1263
|
-
}
|
|
1264
|
-
|
|
1265
|
-
declare const ZoneTrans: z.ZodObject<{
|
|
1266
|
-
index: z.ZodNumber;
|
|
1267
|
-
isstd: z.ZodBoolean;
|
|
1268
|
-
isutc: z.ZodBoolean;
|
|
1269
|
-
when: z.ZodNumber;
|
|
1270
|
-
}, "strip", z.ZodTypeAny, {
|
|
1271
|
-
index: number;
|
|
1272
|
-
isstd: boolean;
|
|
1273
|
-
isutc: boolean;
|
|
1274
|
-
when: number;
|
|
1275
|
-
}, {
|
|
1276
|
-
index: number;
|
|
1277
|
-
isstd: boolean;
|
|
1278
|
-
isutc: boolean;
|
|
1279
|
-
when: number;
|
|
1280
|
-
}>;
|
|
1281
|
-
interface ZoneTrans extends z.TypeOf<typeof ZoneTrans> {
|
|
1282
|
-
}
|
|
1283
|
-
|
|
1284
1348
|
/**
|
|
1285
1349
|
* AUTO GENERATED
|
|
1286
1350
|
*/
|
|
@@ -1373,4 +1437,4 @@ declare class Watchdogs$ {
|
|
|
1373
1437
|
getConnect_ByWatchdogId_ByNS(watchdogID: string): Promise<Response<unknown>>;
|
|
1374
1438
|
}
|
|
1375
1439
|
|
|
1376
|
-
export { Account$, AccountAdmin$, AccountAdminApi, AccountApi, AccountCreateRequest, AccountCreateResponse, AccountLimits, AccountLinkRequest, AccountLinkResponse, AccountLinkTokenResponse, AccountResponse, Ams, AmsInfo$, AmsInfoAdmin$, AmsInfoAdminApi, AmsInfoApi, AmsQoSAdmin$, AmsQoSAdminApi, AmsRegionsResponse, ArtifactListResponse, ArtifactResponse, ArtifactSamplingRule, ArtifactTypeSamplingRules, ArtifactUrlResponse, ArtifactUsageResponse, ArtifactsAdmin$, ArtifactsAdminApi, Auth$, AuthApi,
|
|
1440
|
+
export { Account$, AccountAdmin$, AccountAdminApi, AccountApi, AccountCreateRequest, AccountCreateResponse, AccountLimits, AccountLinkRequest, AccountLinkResponse, AccountLinkTokenResponse, AccountResponse, Ams, AmsInfo$, AmsInfoAdmin$, AmsInfoAdminApi, AmsInfoApi, AmsQoSAdmin$, AmsQoSAdminApi, AmsRegionsResponse, ArtifactListResponse, ArtifactResponse, ArtifactSamplingRule, ArtifactTypeSamplingRules, ArtifactUrlResponse, ArtifactUsageResponse, ArtifactsAdmin$, ArtifactsAdminApi, Auth$, AuthApi, Capacity, CoredumpSamplingRules, DevelopmentAdmin$, DevelopmentAdminApi, DevelopmentServerConfigurationCreateRequest, DevelopmentServerConfigurationCreateResponse, DevelopmentServerConfigurationGetResponse, DevelopmentServerConfigurationListResponse, DevelopmentServerConfigurationUpdateRequest, DsHistoryEvent, DsHistoryList, DsHostConfiguration, DsHostConfigurationParameters, ErrorResponse, FleetArtifactsSampleRules, FleetClaimByKeysReq, FleetClaimReq, FleetClaimResponse, FleetCommander$, FleetCommanderApi, FleetCreateResponse, FleetGetResponse, FleetListItemResponse, FleetListResponse, FleetParameters, FleetRegionalServerCounts, FleetServerConnectionInfoResponse, FleetServerHistoryEventResponse, FleetServerHistoryResponse, FleetServerInfoResponse, FleetServersResponse, Fleets$, FleetsAdmin$, FleetsAdminApi, FleetsApi, ImageDeploymentProfile, ImageDetails, ImageList, ImageListItem, ImageStorage, ImageUpdate, ImagesAdmin$, ImagesAdminApi, InstanceType, InstanceTypesResponse, PaginationInfo, PagingInfo, PortConfiguration, QoSEndpointResponse, QoSServer, ReferencingFleet, RegionConfig, ServersAdmin$, ServersAdminApi, Time, Timeout, UpdateServerRequest, Watchdogs$, WatchdogsApi };
|