@accelbyte/sdk-ams 0.0.0-dev-20240828032938 → 0.0.0-dev-20240828053809
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-DIDPJOnU.d.cts +2014 -0
- package/dist/FleetClaimResponse-DIDPJOnU.d.ts +2014 -0
- package/dist/all-query-imports.cjs +2382 -0
- package/dist/all-query-imports.d.cts +327 -0
- package/dist/all-query-imports.d.ts +327 -0
- package/dist/all-query-imports.js +711 -0
- package/dist/chunk-DMVQYRRS.js +1574 -0
- package/dist/index.cjs +1871 -0
- package/dist/index.d.cts +1239 -0
- package/dist/index.d.ts +1239 -0
- package/dist/index.js +258 -0
- package/package.json +28 -30
- package/CHANGELOG.md +0 -11
- package/src/Ams.ts +0 -42
- package/src/all-imports.ts +0 -91
- package/src/all-query-imports.ts +0 -19
- package/src/custom/index.ts +0 -6
- package/src/generated-admin/AccountAdminApi.ts +0 -91
- package/src/generated-admin/AmsInfoAdminApi.ts +0 -65
- package/src/generated-admin/AmsQoSAdminApi.ts +0 -65
- package/src/generated-admin/ArtifactsAdminApi.ts +0 -122
- package/src/generated-admin/DevelopmentAdminApi.ts +0 -89
- package/src/generated-admin/FleetsAdminApi.ts +0 -112
- package/src/generated-admin/ImagesAdminApi.ts +0 -111
- package/src/generated-admin/ServersAdminApi.ts +0 -89
- package/src/generated-admin/endpoints/AccountAdmin$.ts +0 -68
- package/src/generated-admin/endpoints/AmsInfoAdmin$.ts +0 -42
- package/src/generated-admin/endpoints/AmsQoSAdmin$.ts +0 -43
- package/src/generated-admin/endpoints/ArtifactsAdmin$.ts +0 -100
- package/src/generated-admin/endpoints/DevelopmentAdmin$.ts +0 -67
- package/src/generated-admin/endpoints/FleetsAdmin$.ts +0 -90
- package/src/generated-admin/endpoints/ImagesAdmin$.ts +0 -89
- package/src/generated-admin/endpoints/ServersAdmin$.ts +0 -66
- package/src/generated-admin/queries/AccountAdmin.query.ts +0 -131
- package/src/generated-admin/queries/AmsInfoAdmin.query.ts +0 -81
- package/src/generated-admin/queries/AmsQoSAdmin.query.ts +0 -77
- package/src/generated-admin/queries/ArtifactsAdmin.query.ts +0 -211
- package/src/generated-admin/queries/DevelopmentAdmin.query.ts +0 -130
- package/src/generated-admin/queries/FleetsAdmin.query.ts +0 -182
- package/src/generated-admin/queries/ImagesAdmin.query.ts +0 -181
- package/src/generated-admin/queries/ServersAdmin.query.ts +0 -139
- package/src/generated-definitions/AccountCreateRequest.ts +0 -10
- package/src/generated-definitions/AccountCreateResponse.ts +0 -11
- package/src/generated-definitions/AccountLimits.ts +0 -16
- package/src/generated-definitions/AccountLinkRequest.ts +0 -10
- package/src/generated-definitions/AccountLinkResponse.ts +0 -11
- package/src/generated-definitions/AccountLinkTokenResponse.ts +0 -10
- package/src/generated-definitions/AccountResponse.ts +0 -11
- package/src/generated-definitions/AmsRegionsResponse.ts +0 -10
- package/src/generated-definitions/ArtifactListResponse.ts +0 -11
- package/src/generated-definitions/ArtifactResponse.ts +0 -24
- package/src/generated-definitions/ArtifactSamplingRule.ts +0 -10
- package/src/generated-definitions/ArtifactTypeSamplingRules.ts +0 -11
- package/src/generated-definitions/ArtifactUrlResponse.ts +0 -10
- package/src/generated-definitions/ArtifactUsageResponse.ts +0 -14
- package/src/generated-definitions/AvailableInstanceTypesResponse.ts +0 -11
- package/src/generated-definitions/DevelopmentServerConfigurationCreateRequest.ts +0 -14
- package/src/generated-definitions/DevelopmentServerConfigurationCreateResponse.ts +0 -10
- package/src/generated-definitions/DevelopmentServerConfigurationGetResponse.ts +0 -14
- package/src/generated-definitions/DevelopmentServerConfigurationListResponse.ts +0 -14
- package/src/generated-definitions/DsHistoryEvent.ts +0 -19
- package/src/generated-definitions/DsHistoryList.ts +0 -12
- package/src/generated-definitions/DsHostConfiguration.ts +0 -10
- package/src/generated-definitions/ErrorResponse.ts +0 -10
- package/src/generated-definitions/FleetArtifactsSampleRules.ts +0 -11
- package/src/generated-definitions/FleetClaimByKeysReq.ts +0 -10
- package/src/generated-definitions/FleetClaimReq.ts +0 -10
- package/src/generated-definitions/FleetClaimResponse.ts +0 -10
- package/src/generated-definitions/FleetCreateResponse.ts +0 -10
- package/src/generated-definitions/FleetGetResponse.ts +0 -25
- package/src/generated-definitions/FleetListItemResponse.ts +0 -20
- package/src/generated-definitions/FleetListResponse.ts +0 -11
- package/src/generated-definitions/FleetParameters.ts +0 -23
- package/src/generated-definitions/FleetRegionalServerCounts.ts +0 -17
- package/src/generated-definitions/FleetServerConnectionInfoResponse.ts +0 -16
- package/src/generated-definitions/FleetServerHistoryEventResponse.ts +0 -19
- package/src/generated-definitions/FleetServerHistoryResponse.ts +0 -11
- package/src/generated-definitions/FleetServerInfoResponse.ts +0 -26
- package/src/generated-definitions/FleetServersResponse.ts +0 -17
- package/src/generated-definitions/ImageDeploymentProfile.ts +0 -17
- package/src/generated-definitions/ImageDetails.ts +0 -25
- package/src/generated-definitions/ImageList.ts +0 -11
- package/src/generated-definitions/ImageListItem.ts +0 -24
- package/src/generated-definitions/ImageStorage.ts +0 -14
- package/src/generated-definitions/ImageUpdate.ts +0 -15
- package/src/generated-definitions/InstanceTypeDescriptionResponse.ts +0 -17
- package/src/generated-definitions/Location.ts +0 -20
- package/src/generated-definitions/PagingInfo.ts +0 -19
- package/src/generated-definitions/PortConfiguration.ts +0 -10
- package/src/generated-definitions/QoSEndpointResponse.ts +0 -11
- package/src/generated-definitions/QoSServer.ts +0 -18
- package/src/generated-definitions/ReferencingFleet.ts +0 -10
- package/src/generated-definitions/RegionConfig.ts +0 -16
- package/src/generated-definitions/Time.ts +0 -10
- package/src/generated-definitions/Timeout.ts +0 -15
- package/src/generated-definitions/UpdateServerRequest.ts +0 -10
- package/src/generated-definitions/Zone.ts +0 -10
- package/src/generated-definitions/ZoneTrans.ts +0 -10
- package/src/generated-public/AccountApi.ts +0 -53
- package/src/generated-public/AmsInfoApi.ts +0 -50
- package/src/generated-public/AuthApi.ts +0 -53
- package/src/generated-public/FleetCommanderApi.ts +0 -50
- package/src/generated-public/FleetsApi.ts +0 -66
- package/src/generated-public/WatchdogsApi.ts +0 -64
- package/src/generated-public/endpoints/Account$.ts +0 -30
- package/src/generated-public/endpoints/AmsInfo$.ts +0 -28
- package/src/generated-public/endpoints/Auth$.ts +0 -31
- package/src/generated-public/endpoints/FleetCommander$.ts +0 -28
- package/src/generated-public/endpoints/Fleets$.ts +0 -43
- package/src/generated-public/endpoints/Watchdogs$.ts +0 -42
- package/src/generated-public/queries/Account.query.ts +0 -52
- package/src/generated-public/queries/AmsInfo.query.ts +0 -52
- package/src/generated-public/queries/Auth.query.ts +0 -52
- package/src/generated-public/queries/FleetCommander.query.ts +0 -52
- package/src/generated-public/queries/Fleets.query.ts +0 -74
- package/src/generated-public/queries/Watchdogs.query.ts +0 -80
- package/src/index.ts +0 -7
- package/src/version.json +0 -7
- package/swaggers/ams.json +0 -3978
- package/swaggers.json +0 -1
- package/tsconfig.json +0 -18
|
@@ -0,0 +1,711 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AccountAdminApi,
|
|
3
|
+
AccountApi,
|
|
4
|
+
AmsInfoAdminApi,
|
|
5
|
+
AmsInfoApi,
|
|
6
|
+
AmsQoSAdminApi,
|
|
7
|
+
ArtifactsAdminApi,
|
|
8
|
+
AuthApi,
|
|
9
|
+
DevelopmentAdminApi,
|
|
10
|
+
FleetCommanderApi,
|
|
11
|
+
FleetsAdminApi,
|
|
12
|
+
FleetsApi,
|
|
13
|
+
ImagesAdminApi,
|
|
14
|
+
ServersAdminApi,
|
|
15
|
+
WatchdogsApi
|
|
16
|
+
} from "./chunk-DMVQYRRS.js";
|
|
17
|
+
|
|
18
|
+
// src/generated-admin/queries/AccountAdmin.query.ts
|
|
19
|
+
import { useQuery, useMutation } from "@tanstack/react-query";
|
|
20
|
+
var Key_AccountAdmin = /* @__PURE__ */ ((Key_AccountAdmin2) => {
|
|
21
|
+
Key_AccountAdmin2["Account"] = "Ams.AccountAdmin.Account";
|
|
22
|
+
Key_AccountAdmin2["AccountLink"] = "Ams.AccountAdmin.AccountLink";
|
|
23
|
+
return Key_AccountAdmin2;
|
|
24
|
+
})(Key_AccountAdmin || {});
|
|
25
|
+
var useAccountAdminApi_GetAccount = (sdk, input, options, callback) => {
|
|
26
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
27
|
+
const response = await AccountAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getAccount();
|
|
28
|
+
callback && callback(response);
|
|
29
|
+
return response.data;
|
|
30
|
+
};
|
|
31
|
+
return useQuery({
|
|
32
|
+
queryKey: ["Ams.AccountAdmin.Account" /* Account */, input],
|
|
33
|
+
queryFn: queryFn(sdk, input),
|
|
34
|
+
...options
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
var useAccountAdminApi_CreateAccount = (sdk, options, callback) => {
|
|
38
|
+
const mutationFn = async (input) => {
|
|
39
|
+
const response = await AccountAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).createAccount(input.data);
|
|
40
|
+
callback && callback(response.data);
|
|
41
|
+
return response.data;
|
|
42
|
+
};
|
|
43
|
+
return useMutation({
|
|
44
|
+
mutationKey: ["Ams.AccountAdmin.Account" /* Account */],
|
|
45
|
+
mutationFn,
|
|
46
|
+
...options
|
|
47
|
+
});
|
|
48
|
+
};
|
|
49
|
+
var useAccountAdminApi_GetAccountLink = (sdk, input, options, callback) => {
|
|
50
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
51
|
+
const response = await AccountAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getAccountLink();
|
|
52
|
+
callback && callback(response);
|
|
53
|
+
return response.data;
|
|
54
|
+
};
|
|
55
|
+
return useQuery({
|
|
56
|
+
queryKey: ["Ams.AccountAdmin.AccountLink" /* AccountLink */, input],
|
|
57
|
+
queryFn: queryFn(sdk, input),
|
|
58
|
+
...options
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
var useAccountAdminApi_CreateAccountLink = (sdk, options, callback) => {
|
|
62
|
+
const mutationFn = async (input) => {
|
|
63
|
+
const response = await AccountAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).createAccountLink(input.data);
|
|
64
|
+
callback && callback(response.data);
|
|
65
|
+
return response.data;
|
|
66
|
+
};
|
|
67
|
+
return useMutation({
|
|
68
|
+
mutationKey: ["Ams.AccountAdmin.AccountLink" /* AccountLink */],
|
|
69
|
+
mutationFn,
|
|
70
|
+
...options
|
|
71
|
+
});
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
// src/generated-admin/queries/AmsInfoAdmin.query.ts
|
|
75
|
+
import { useQuery as useQuery2 } from "@tanstack/react-query";
|
|
76
|
+
var Key_AmsInfoAdmin = /* @__PURE__ */ ((Key_AmsInfoAdmin2) => {
|
|
77
|
+
Key_AmsInfoAdmin2["Regions"] = "Ams.AmsInfoAdmin.Regions";
|
|
78
|
+
Key_AmsInfoAdmin2["SupportedInstances"] = "Ams.AmsInfoAdmin.SupportedInstances";
|
|
79
|
+
return Key_AmsInfoAdmin2;
|
|
80
|
+
})(Key_AmsInfoAdmin || {});
|
|
81
|
+
var useAmsInfoAdminApi_GetRegions = (sdk, input, options, callback) => {
|
|
82
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
83
|
+
const response = await AmsInfoAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getRegions();
|
|
84
|
+
callback && callback(response);
|
|
85
|
+
return response.data;
|
|
86
|
+
};
|
|
87
|
+
return useQuery2({
|
|
88
|
+
queryKey: ["Ams.AmsInfoAdmin.Regions" /* Regions */, input],
|
|
89
|
+
queryFn: queryFn(sdk, input),
|
|
90
|
+
...options
|
|
91
|
+
});
|
|
92
|
+
};
|
|
93
|
+
var useAmsInfoAdminApi_GetSupportedInstances = (sdk, input, options, callback) => {
|
|
94
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
95
|
+
const response = await AmsInfoAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getSupportedInstances();
|
|
96
|
+
callback && callback(response);
|
|
97
|
+
return response.data;
|
|
98
|
+
};
|
|
99
|
+
return useQuery2({
|
|
100
|
+
queryKey: ["Ams.AmsInfoAdmin.SupportedInstances" /* SupportedInstances */, input],
|
|
101
|
+
queryFn: queryFn(sdk, input),
|
|
102
|
+
...options
|
|
103
|
+
});
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
// src/generated-admin/queries/AmsQoSAdmin.query.ts
|
|
107
|
+
import { useQuery as useQuery3, useMutation as useMutation2 } from "@tanstack/react-query";
|
|
108
|
+
var Key_AmsQoSAdmin = /* @__PURE__ */ ((Key_AmsQoSAdmin2) => {
|
|
109
|
+
Key_AmsQoSAdmin2["Qos"] = "Ams.AmsQoSAdmin.Qos";
|
|
110
|
+
Key_AmsQoSAdmin2["Qo_ByRegion"] = "Ams.AmsQoSAdmin.Qo_ByRegion";
|
|
111
|
+
return Key_AmsQoSAdmin2;
|
|
112
|
+
})(Key_AmsQoSAdmin || {});
|
|
113
|
+
var useAmsQoSAdminApi_GetQos = (sdk, input, options, callback) => {
|
|
114
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
115
|
+
const response = await AmsQoSAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getQos(input2.queryParams);
|
|
116
|
+
callback && callback(response);
|
|
117
|
+
return response.data;
|
|
118
|
+
};
|
|
119
|
+
return useQuery3({
|
|
120
|
+
queryKey: ["Ams.AmsQoSAdmin.Qos" /* Qos */, input],
|
|
121
|
+
queryFn: queryFn(sdk, input),
|
|
122
|
+
...options
|
|
123
|
+
});
|
|
124
|
+
};
|
|
125
|
+
var useAmsQoSAdminApi_PatchQo_ByRegion = (sdk, options, callback) => {
|
|
126
|
+
const mutationFn = async (input) => {
|
|
127
|
+
const response = await AmsQoSAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).patchQo_ByRegion(input.region, input.data);
|
|
128
|
+
callback && callback(response.data);
|
|
129
|
+
return response.data;
|
|
130
|
+
};
|
|
131
|
+
return useMutation2({
|
|
132
|
+
mutationKey: ["Ams.AmsQoSAdmin.Qo_ByRegion" /* Qo_ByRegion */],
|
|
133
|
+
mutationFn,
|
|
134
|
+
...options
|
|
135
|
+
});
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
// src/generated-admin/queries/ArtifactsAdmin.query.ts
|
|
139
|
+
import { useQuery as useQuery4, useMutation as useMutation3 } from "@tanstack/react-query";
|
|
140
|
+
var Key_ArtifactsAdmin = /* @__PURE__ */ ((Key_ArtifactsAdmin2) => {
|
|
141
|
+
Key_ArtifactsAdmin2["Artifact"] = "Ams.ArtifactsAdmin.Artifact";
|
|
142
|
+
Key_ArtifactsAdmin2["Artifacts"] = "Ams.ArtifactsAdmin.Artifacts";
|
|
143
|
+
Key_ArtifactsAdmin2["ArtifactsUsage"] = "Ams.ArtifactsAdmin.ArtifactsUsage";
|
|
144
|
+
Key_ArtifactsAdmin2["Artifact_ByArtifactId"] = "Ams.ArtifactsAdmin.Artifact_ByArtifactId";
|
|
145
|
+
Key_ArtifactsAdmin2["Url_ByArtifactId"] = "Ams.ArtifactsAdmin.Url_ByArtifactId";
|
|
146
|
+
Key_ArtifactsAdmin2["ArtifactsSamplingRules_ByFleetId"] = "Ams.ArtifactsAdmin.ArtifactsSamplingRules_ByFleetId";
|
|
147
|
+
Key_ArtifactsAdmin2["ArtifactsSamplingRule_ByFleetId"] = "Ams.ArtifactsAdmin.ArtifactsSamplingRule_ByFleetId";
|
|
148
|
+
return Key_ArtifactsAdmin2;
|
|
149
|
+
})(Key_ArtifactsAdmin || {});
|
|
150
|
+
var useArtifactsAdminApi_DeleteArtifact = (sdk, options, callback) => {
|
|
151
|
+
const mutationFn = async (input) => {
|
|
152
|
+
const response = await ArtifactsAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).deleteArtifact(input.queryParams);
|
|
153
|
+
callback && callback(response.data);
|
|
154
|
+
return response.data;
|
|
155
|
+
};
|
|
156
|
+
return useMutation3({
|
|
157
|
+
mutationKey: ["Ams.ArtifactsAdmin.Artifact" /* Artifact */],
|
|
158
|
+
mutationFn,
|
|
159
|
+
...options
|
|
160
|
+
});
|
|
161
|
+
};
|
|
162
|
+
var useArtifactsAdminApi_GetArtifacts = (sdk, input, options, callback) => {
|
|
163
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
164
|
+
const response = await ArtifactsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getArtifacts(input2.queryParams);
|
|
165
|
+
callback && callback(response);
|
|
166
|
+
return response.data;
|
|
167
|
+
};
|
|
168
|
+
return useQuery4({
|
|
169
|
+
queryKey: ["Ams.ArtifactsAdmin.Artifacts" /* Artifacts */, input],
|
|
170
|
+
queryFn: queryFn(sdk, input),
|
|
171
|
+
...options
|
|
172
|
+
});
|
|
173
|
+
};
|
|
174
|
+
var useArtifactsAdminApi_GetArtifactsUsage = (sdk, input, options, callback) => {
|
|
175
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
176
|
+
const response = await ArtifactsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getArtifactsUsage();
|
|
177
|
+
callback && callback(response);
|
|
178
|
+
return response.data;
|
|
179
|
+
};
|
|
180
|
+
return useQuery4({
|
|
181
|
+
queryKey: ["Ams.ArtifactsAdmin.ArtifactsUsage" /* ArtifactsUsage */, input],
|
|
182
|
+
queryFn: queryFn(sdk, input),
|
|
183
|
+
...options
|
|
184
|
+
});
|
|
185
|
+
};
|
|
186
|
+
var useArtifactsAdminApi_DeleteArtifact_ByArtifactId = (sdk, options, callback) => {
|
|
187
|
+
const mutationFn = async (input) => {
|
|
188
|
+
const response = await ArtifactsAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).deleteArtifact_ByArtifactId(input.artifactID);
|
|
189
|
+
callback && callback(response.data);
|
|
190
|
+
return response.data;
|
|
191
|
+
};
|
|
192
|
+
return useMutation3({
|
|
193
|
+
mutationKey: ["Ams.ArtifactsAdmin.Artifact_ByArtifactId" /* Artifact_ByArtifactId */],
|
|
194
|
+
mutationFn,
|
|
195
|
+
...options
|
|
196
|
+
});
|
|
197
|
+
};
|
|
198
|
+
var useArtifactsAdminApi_GetUrl_ByArtifactId = (sdk, input, options, callback) => {
|
|
199
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
200
|
+
const response = await ArtifactsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getUrl_ByArtifactId(input2.artifactID);
|
|
201
|
+
callback && callback(response);
|
|
202
|
+
return response.data;
|
|
203
|
+
};
|
|
204
|
+
return useQuery4({
|
|
205
|
+
queryKey: ["Ams.ArtifactsAdmin.Url_ByArtifactId" /* Url_ByArtifactId */, input],
|
|
206
|
+
queryFn: queryFn(sdk, input),
|
|
207
|
+
...options
|
|
208
|
+
});
|
|
209
|
+
};
|
|
210
|
+
var useArtifactsAdminApi_GetArtifactsSamplingRules_ByFleetId = (sdk, input, options, callback) => {
|
|
211
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
212
|
+
const response = await ArtifactsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getArtifactsSamplingRules_ByFleetId(input2.fleetID);
|
|
213
|
+
callback && callback(response);
|
|
214
|
+
return response.data;
|
|
215
|
+
};
|
|
216
|
+
return useQuery4({
|
|
217
|
+
queryKey: ["Ams.ArtifactsAdmin.ArtifactsSamplingRules_ByFleetId" /* ArtifactsSamplingRules_ByFleetId */, input],
|
|
218
|
+
queryFn: queryFn(sdk, input),
|
|
219
|
+
...options
|
|
220
|
+
});
|
|
221
|
+
};
|
|
222
|
+
var useArtifactsAdminApi_UpdateArtifactsSamplingRule_ByFleetId = (sdk, options, callback) => {
|
|
223
|
+
const mutationFn = async (input) => {
|
|
224
|
+
const response = await ArtifactsAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).updateArtifactsSamplingRule_ByFleetId(input.fleetID, input.data);
|
|
225
|
+
callback && callback(response.data);
|
|
226
|
+
return response.data;
|
|
227
|
+
};
|
|
228
|
+
return useMutation3({
|
|
229
|
+
mutationKey: ["Ams.ArtifactsAdmin.ArtifactsSamplingRule_ByFleetId" /* ArtifactsSamplingRule_ByFleetId */],
|
|
230
|
+
mutationFn,
|
|
231
|
+
...options
|
|
232
|
+
});
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
// src/generated-admin/queries/DevelopmentAdmin.query.ts
|
|
236
|
+
import { useQuery as useQuery5, useMutation as useMutation4 } from "@tanstack/react-query";
|
|
237
|
+
var Key_DevelopmentAdmin = /* @__PURE__ */ ((Key_DevelopmentAdmin2) => {
|
|
238
|
+
Key_DevelopmentAdmin2["DevelopmentServerConfigurations"] = "Ams.DevelopmentAdmin.DevelopmentServerConfigurations";
|
|
239
|
+
Key_DevelopmentAdmin2["DevelopmentServerConfiguration"] = "Ams.DevelopmentAdmin.DevelopmentServerConfiguration";
|
|
240
|
+
Key_DevelopmentAdmin2["DevelopmentServerConfiguration_ByDevelopmentServerConfigId"] = "Ams.DevelopmentAdmin.DevelopmentServerConfiguration_ByDevelopmentServerConfigId";
|
|
241
|
+
return Key_DevelopmentAdmin2;
|
|
242
|
+
})(Key_DevelopmentAdmin || {});
|
|
243
|
+
var useDevelopmentAdminApi_GetDevelopmentServerConfigurations = (sdk, input, options, callback) => {
|
|
244
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
245
|
+
const response = await DevelopmentAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getDevelopmentServerConfigurations(input2.queryParams);
|
|
246
|
+
callback && callback(response);
|
|
247
|
+
return response.data;
|
|
248
|
+
};
|
|
249
|
+
return useQuery5({
|
|
250
|
+
queryKey: ["Ams.DevelopmentAdmin.DevelopmentServerConfigurations" /* DevelopmentServerConfigurations */, input],
|
|
251
|
+
queryFn: queryFn(sdk, input),
|
|
252
|
+
...options
|
|
253
|
+
});
|
|
254
|
+
};
|
|
255
|
+
var useDevelopmentAdminApi_CreateDevelopmentServerConfiguration = (sdk, options, callback) => {
|
|
256
|
+
const mutationFn = async (input) => {
|
|
257
|
+
const response = await DevelopmentAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).createDevelopmentServerConfiguration(input.data);
|
|
258
|
+
callback && callback(response.data);
|
|
259
|
+
return response.data;
|
|
260
|
+
};
|
|
261
|
+
return useMutation4({
|
|
262
|
+
mutationKey: ["Ams.DevelopmentAdmin.DevelopmentServerConfiguration" /* DevelopmentServerConfiguration */],
|
|
263
|
+
mutationFn,
|
|
264
|
+
...options
|
|
265
|
+
});
|
|
266
|
+
};
|
|
267
|
+
var useDevelopmentAdminApi_DeleteDevelopmentServerConfiguration_ByDevelopmentServerConfigId = (sdk, options, callback) => {
|
|
268
|
+
const mutationFn = async (input) => {
|
|
269
|
+
const response = await DevelopmentAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).deleteDevelopmentServerConfiguration_ByDevelopmentServerConfigId(input.developmentServerConfigID);
|
|
270
|
+
callback && callback(response.data);
|
|
271
|
+
return response.data;
|
|
272
|
+
};
|
|
273
|
+
return useMutation4({
|
|
274
|
+
mutationKey: ["Ams.DevelopmentAdmin.DevelopmentServerConfiguration_ByDevelopmentServerConfigId" /* DevelopmentServerConfiguration_ByDevelopmentServerConfigId */],
|
|
275
|
+
mutationFn,
|
|
276
|
+
...options
|
|
277
|
+
});
|
|
278
|
+
};
|
|
279
|
+
var useDevelopmentAdminApi_GetDevelopmentServerConfiguration_ByDevelopmentServerConfigId = (sdk, input, options, callback) => {
|
|
280
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
281
|
+
const response = await DevelopmentAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getDevelopmentServerConfiguration_ByDevelopmentServerConfigId(input2.developmentServerConfigID);
|
|
282
|
+
callback && callback(response);
|
|
283
|
+
return response.data;
|
|
284
|
+
};
|
|
285
|
+
return useQuery5({
|
|
286
|
+
queryKey: ["Ams.DevelopmentAdmin.DevelopmentServerConfiguration_ByDevelopmentServerConfigId" /* DevelopmentServerConfiguration_ByDevelopmentServerConfigId */, input],
|
|
287
|
+
queryFn: queryFn(sdk, input),
|
|
288
|
+
...options
|
|
289
|
+
});
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
// src/generated-admin/queries/FleetsAdmin.query.ts
|
|
293
|
+
import { useQuery as useQuery6, useMutation as useMutation5 } from "@tanstack/react-query";
|
|
294
|
+
var Key_FleetsAdmin = /* @__PURE__ */ ((Key_FleetsAdmin2) => {
|
|
295
|
+
Key_FleetsAdmin2["Fleets"] = "Ams.FleetsAdmin.Fleets";
|
|
296
|
+
Key_FleetsAdmin2["Fleet"] = "Ams.FleetsAdmin.Fleet";
|
|
297
|
+
Key_FleetsAdmin2["Fleet_ByFleetId"] = "Ams.FleetsAdmin.Fleet_ByFleetId";
|
|
298
|
+
Key_FleetsAdmin2["Servers_ByFleetId"] = "Ams.FleetsAdmin.Servers_ByFleetId";
|
|
299
|
+
return Key_FleetsAdmin2;
|
|
300
|
+
})(Key_FleetsAdmin || {});
|
|
301
|
+
var useFleetsAdminApi_GetFleets = (sdk, input, options, callback) => {
|
|
302
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
303
|
+
const response = await FleetsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getFleets();
|
|
304
|
+
callback && callback(response);
|
|
305
|
+
return response.data;
|
|
306
|
+
};
|
|
307
|
+
return useQuery6({
|
|
308
|
+
queryKey: ["Ams.FleetsAdmin.Fleets" /* Fleets */, input],
|
|
309
|
+
queryFn: queryFn(sdk, input),
|
|
310
|
+
...options
|
|
311
|
+
});
|
|
312
|
+
};
|
|
313
|
+
var useFleetsAdminApi_CreateFleet = (sdk, options, callback) => {
|
|
314
|
+
const mutationFn = async (input) => {
|
|
315
|
+
const response = await FleetsAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).createFleet(input.data);
|
|
316
|
+
callback && callback(response.data);
|
|
317
|
+
return response.data;
|
|
318
|
+
};
|
|
319
|
+
return useMutation5({
|
|
320
|
+
mutationKey: ["Ams.FleetsAdmin.Fleet" /* Fleet */],
|
|
321
|
+
mutationFn,
|
|
322
|
+
...options
|
|
323
|
+
});
|
|
324
|
+
};
|
|
325
|
+
var useFleetsAdminApi_DeleteFleet_ByFleetId = (sdk, options, callback) => {
|
|
326
|
+
const mutationFn = async (input) => {
|
|
327
|
+
const response = await FleetsAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).deleteFleet_ByFleetId(input.fleetID);
|
|
328
|
+
callback && callback(response.data);
|
|
329
|
+
return response.data;
|
|
330
|
+
};
|
|
331
|
+
return useMutation5({
|
|
332
|
+
mutationKey: ["Ams.FleetsAdmin.Fleet_ByFleetId" /* Fleet_ByFleetId */],
|
|
333
|
+
mutationFn,
|
|
334
|
+
...options
|
|
335
|
+
});
|
|
336
|
+
};
|
|
337
|
+
var useFleetsAdminApi_GetFleet_ByFleetId = (sdk, input, options, callback) => {
|
|
338
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
339
|
+
const response = await FleetsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getFleet_ByFleetId(input2.fleetID);
|
|
340
|
+
callback && callback(response);
|
|
341
|
+
return response.data;
|
|
342
|
+
};
|
|
343
|
+
return useQuery6({
|
|
344
|
+
queryKey: ["Ams.FleetsAdmin.Fleet_ByFleetId" /* Fleet_ByFleetId */, input],
|
|
345
|
+
queryFn: queryFn(sdk, input),
|
|
346
|
+
...options
|
|
347
|
+
});
|
|
348
|
+
};
|
|
349
|
+
var useFleetsAdminApi_UpdateFleet_ByFleetId = (sdk, options, callback) => {
|
|
350
|
+
const mutationFn = async (input) => {
|
|
351
|
+
const response = await FleetsAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).updateFleet_ByFleetId(input.fleetID, input.data);
|
|
352
|
+
callback && callback(response.data);
|
|
353
|
+
return response.data;
|
|
354
|
+
};
|
|
355
|
+
return useMutation5({
|
|
356
|
+
mutationKey: ["Ams.FleetsAdmin.Fleet_ByFleetId" /* Fleet_ByFleetId */],
|
|
357
|
+
mutationFn,
|
|
358
|
+
...options
|
|
359
|
+
});
|
|
360
|
+
};
|
|
361
|
+
var useFleetsAdminApi_GetServers_ByFleetId = (sdk, input, options, callback) => {
|
|
362
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
363
|
+
const response = await FleetsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getServers_ByFleetId(input2.fleetID, input2.queryParams);
|
|
364
|
+
callback && callback(response);
|
|
365
|
+
return response.data;
|
|
366
|
+
};
|
|
367
|
+
return useQuery6({
|
|
368
|
+
queryKey: ["Ams.FleetsAdmin.Servers_ByFleetId" /* Servers_ByFleetId */, input],
|
|
369
|
+
queryFn: queryFn(sdk, input),
|
|
370
|
+
...options
|
|
371
|
+
});
|
|
372
|
+
};
|
|
373
|
+
|
|
374
|
+
// src/generated-admin/queries/ImagesAdmin.query.ts
|
|
375
|
+
import { useQuery as useQuery7, useMutation as useMutation6 } from "@tanstack/react-query";
|
|
376
|
+
var Key_ImagesAdmin = /* @__PURE__ */ ((Key_ImagesAdmin2) => {
|
|
377
|
+
Key_ImagesAdmin2["Images"] = "Ams.ImagesAdmin.Images";
|
|
378
|
+
Key_ImagesAdmin2["ImagesStorage"] = "Ams.ImagesAdmin.ImagesStorage";
|
|
379
|
+
Key_ImagesAdmin2["Image_ByImageId"] = "Ams.ImagesAdmin.Image_ByImageId";
|
|
380
|
+
Key_ImagesAdmin2["Restore_ByImageId"] = "Ams.ImagesAdmin.Restore_ByImageId";
|
|
381
|
+
return Key_ImagesAdmin2;
|
|
382
|
+
})(Key_ImagesAdmin || {});
|
|
383
|
+
var useImagesAdminApi_GetImages = (sdk, input, options, callback) => {
|
|
384
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
385
|
+
const response = await ImagesAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getImages();
|
|
386
|
+
callback && callback(response);
|
|
387
|
+
return response.data;
|
|
388
|
+
};
|
|
389
|
+
return useQuery7({
|
|
390
|
+
queryKey: ["Ams.ImagesAdmin.Images" /* Images */, input],
|
|
391
|
+
queryFn: queryFn(sdk, input),
|
|
392
|
+
...options
|
|
393
|
+
});
|
|
394
|
+
};
|
|
395
|
+
var useImagesAdminApi_GetImagesStorage = (sdk, input, options, callback) => {
|
|
396
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
397
|
+
const response = await ImagesAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getImagesStorage();
|
|
398
|
+
callback && callback(response);
|
|
399
|
+
return response.data;
|
|
400
|
+
};
|
|
401
|
+
return useQuery7({
|
|
402
|
+
queryKey: ["Ams.ImagesAdmin.ImagesStorage" /* ImagesStorage */, input],
|
|
403
|
+
queryFn: queryFn(sdk, input),
|
|
404
|
+
...options
|
|
405
|
+
});
|
|
406
|
+
};
|
|
407
|
+
var useImagesAdminApi_DeleteImage_ByImageId = (sdk, options, callback) => {
|
|
408
|
+
const mutationFn = async (input) => {
|
|
409
|
+
const response = await ImagesAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).deleteImage_ByImageId(input.imageID);
|
|
410
|
+
callback && callback(response.data);
|
|
411
|
+
return response.data;
|
|
412
|
+
};
|
|
413
|
+
return useMutation6({
|
|
414
|
+
mutationKey: ["Ams.ImagesAdmin.Image_ByImageId" /* Image_ByImageId */],
|
|
415
|
+
mutationFn,
|
|
416
|
+
...options
|
|
417
|
+
});
|
|
418
|
+
};
|
|
419
|
+
var useImagesAdminApi_GetImage_ByImageId = (sdk, input, options, callback) => {
|
|
420
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
421
|
+
const response = await ImagesAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getImage_ByImageId(input2.imageID);
|
|
422
|
+
callback && callback(response);
|
|
423
|
+
return response.data;
|
|
424
|
+
};
|
|
425
|
+
return useQuery7({
|
|
426
|
+
queryKey: ["Ams.ImagesAdmin.Image_ByImageId" /* Image_ByImageId */, input],
|
|
427
|
+
queryFn: queryFn(sdk, input),
|
|
428
|
+
...options
|
|
429
|
+
});
|
|
430
|
+
};
|
|
431
|
+
var useImagesAdminApi_PatchImage_ByImageId = (sdk, options, callback) => {
|
|
432
|
+
const mutationFn = async (input) => {
|
|
433
|
+
const response = await ImagesAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).patchImage_ByImageId(input.imageID, input.data);
|
|
434
|
+
callback && callback(response.data);
|
|
435
|
+
return response.data;
|
|
436
|
+
};
|
|
437
|
+
return useMutation6({
|
|
438
|
+
mutationKey: ["Ams.ImagesAdmin.Image_ByImageId" /* Image_ByImageId */],
|
|
439
|
+
mutationFn,
|
|
440
|
+
...options
|
|
441
|
+
});
|
|
442
|
+
};
|
|
443
|
+
var useImagesAdminApi_CreateRestore_ByImageId = (sdk, options, callback) => {
|
|
444
|
+
const mutationFn = async (input) => {
|
|
445
|
+
const response = await ImagesAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).createRestore_ByImageId(input.imageID);
|
|
446
|
+
callback && callback(response.data);
|
|
447
|
+
return response.data;
|
|
448
|
+
};
|
|
449
|
+
return useMutation6({
|
|
450
|
+
mutationKey: ["Ams.ImagesAdmin.Restore_ByImageId" /* Restore_ByImageId */],
|
|
451
|
+
mutationFn,
|
|
452
|
+
...options
|
|
453
|
+
});
|
|
454
|
+
};
|
|
455
|
+
|
|
456
|
+
// src/generated-admin/queries/ServersAdmin.query.ts
|
|
457
|
+
import { useQuery as useQuery8 } from "@tanstack/react-query";
|
|
458
|
+
var Key_ServersAdmin = /* @__PURE__ */ ((Key_ServersAdmin2) => {
|
|
459
|
+
Key_ServersAdmin2["Server_ByServerId"] = "Ams.ServersAdmin.Server_ByServerId";
|
|
460
|
+
Key_ServersAdmin2["History_ByServerId"] = "Ams.ServersAdmin.History_ByServerId";
|
|
461
|
+
Key_ServersAdmin2["ServersHistory_ByFleetId"] = "Ams.ServersAdmin.ServersHistory_ByFleetId";
|
|
462
|
+
Key_ServersAdmin2["Connectioninfo_ByServerId"] = "Ams.ServersAdmin.Connectioninfo_ByServerId";
|
|
463
|
+
return Key_ServersAdmin2;
|
|
464
|
+
})(Key_ServersAdmin || {});
|
|
465
|
+
var useServersAdminApi_GetServer_ByServerId = (sdk, input, options, callback) => {
|
|
466
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
467
|
+
const response = await ServersAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getServer_ByServerId(input2.serverID);
|
|
468
|
+
callback && callback(response);
|
|
469
|
+
return response.data;
|
|
470
|
+
};
|
|
471
|
+
return useQuery8({
|
|
472
|
+
queryKey: ["Ams.ServersAdmin.Server_ByServerId" /* Server_ByServerId */, input],
|
|
473
|
+
queryFn: queryFn(sdk, input),
|
|
474
|
+
...options
|
|
475
|
+
});
|
|
476
|
+
};
|
|
477
|
+
var useServersAdminApi_GetHistory_ByServerId = (sdk, input, options, callback) => {
|
|
478
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
479
|
+
const response = await ServersAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getHistory_ByServerId(input2.serverID);
|
|
480
|
+
callback && callback(response);
|
|
481
|
+
return response.data;
|
|
482
|
+
};
|
|
483
|
+
return useQuery8({
|
|
484
|
+
queryKey: ["Ams.ServersAdmin.History_ByServerId" /* History_ByServerId */, input],
|
|
485
|
+
queryFn: queryFn(sdk, input),
|
|
486
|
+
...options
|
|
487
|
+
});
|
|
488
|
+
};
|
|
489
|
+
var useServersAdminApi_GetServersHistory_ByFleetId = (sdk, input, options, callback) => {
|
|
490
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
491
|
+
const response = await ServersAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getServersHistory_ByFleetId(input2.fleetID, input2.queryParams);
|
|
492
|
+
callback && callback(response);
|
|
493
|
+
return response.data;
|
|
494
|
+
};
|
|
495
|
+
return useQuery8({
|
|
496
|
+
queryKey: ["Ams.ServersAdmin.ServersHistory_ByFleetId" /* ServersHistory_ByFleetId */, input],
|
|
497
|
+
queryFn: queryFn(sdk, input),
|
|
498
|
+
...options
|
|
499
|
+
});
|
|
500
|
+
};
|
|
501
|
+
var useServersAdminApi_GetConnectioninfo_ByServerId = (sdk, input, options, callback) => {
|
|
502
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
503
|
+
const response = await ServersAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getConnectioninfo_ByServerId(input2.serverID);
|
|
504
|
+
callback && callback(response);
|
|
505
|
+
return response.data;
|
|
506
|
+
};
|
|
507
|
+
return useQuery8({
|
|
508
|
+
queryKey: ["Ams.ServersAdmin.Connectioninfo_ByServerId" /* Connectioninfo_ByServerId */, input],
|
|
509
|
+
queryFn: queryFn(sdk, input),
|
|
510
|
+
...options
|
|
511
|
+
});
|
|
512
|
+
};
|
|
513
|
+
|
|
514
|
+
// src/generated-public/queries/Account.query.ts
|
|
515
|
+
import { useQuery as useQuery9 } from "@tanstack/react-query";
|
|
516
|
+
var Key_Account = /* @__PURE__ */ ((Key_Account2) => {
|
|
517
|
+
Key_Account2["Account"] = "Ams.Account.Account";
|
|
518
|
+
return Key_Account2;
|
|
519
|
+
})(Key_Account || {});
|
|
520
|
+
var useAccountApi_GetAccount = (sdk, input, options, callback) => {
|
|
521
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
522
|
+
const response = await AccountApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getAccount();
|
|
523
|
+
callback && callback(response);
|
|
524
|
+
return response.data;
|
|
525
|
+
};
|
|
526
|
+
return useQuery9({
|
|
527
|
+
queryKey: ["Ams.Account.Account" /* Account */, input],
|
|
528
|
+
queryFn: queryFn(sdk, input),
|
|
529
|
+
...options
|
|
530
|
+
});
|
|
531
|
+
};
|
|
532
|
+
|
|
533
|
+
// src/generated-public/queries/AmsInfo.query.ts
|
|
534
|
+
import { useQuery as useQuery10 } from "@tanstack/react-query";
|
|
535
|
+
var Key_AmsInfo = /* @__PURE__ */ ((Key_AmsInfo2) => {
|
|
536
|
+
Key_AmsInfo2["UploadUrl"] = "Ams.AmsInfo.UploadUrl";
|
|
537
|
+
return Key_AmsInfo2;
|
|
538
|
+
})(Key_AmsInfo || {});
|
|
539
|
+
var useAmsInfoApi_GetUploadUrl = (sdk, input, options, callback) => {
|
|
540
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
541
|
+
const response = await AmsInfoApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getUploadUrl();
|
|
542
|
+
callback && callback(response);
|
|
543
|
+
return response.data;
|
|
544
|
+
};
|
|
545
|
+
return useQuery10({
|
|
546
|
+
queryKey: ["Ams.AmsInfo.UploadUrl" /* UploadUrl */, input],
|
|
547
|
+
queryFn: queryFn(sdk, input),
|
|
548
|
+
...options
|
|
549
|
+
});
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
// src/generated-public/queries/Auth.query.ts
|
|
553
|
+
import { useQuery as useQuery11 } from "@tanstack/react-query";
|
|
554
|
+
var Key_Auth = /* @__PURE__ */ ((Key_Auth2) => {
|
|
555
|
+
Key_Auth2["Auth"] = "Ams.Auth.Auth";
|
|
556
|
+
return Key_Auth2;
|
|
557
|
+
})(Key_Auth || {});
|
|
558
|
+
var useAuthApi_GetAuth = (sdk, input, options, callback) => {
|
|
559
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
560
|
+
const response = await AuthApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getAuth();
|
|
561
|
+
callback && callback(response);
|
|
562
|
+
return response.data;
|
|
563
|
+
};
|
|
564
|
+
return useQuery11({
|
|
565
|
+
queryKey: ["Ams.Auth.Auth" /* Auth */, input],
|
|
566
|
+
queryFn: queryFn(sdk, input),
|
|
567
|
+
...options
|
|
568
|
+
});
|
|
569
|
+
};
|
|
570
|
+
|
|
571
|
+
// src/generated-public/queries/FleetCommander.query.ts
|
|
572
|
+
import { useQuery as useQuery12 } from "@tanstack/react-query";
|
|
573
|
+
var Key_FleetCommander = /* @__PURE__ */ ((Key_FleetCommander2) => {
|
|
574
|
+
Key_FleetCommander2["Version"] = "Ams.FleetCommander.Version";
|
|
575
|
+
return Key_FleetCommander2;
|
|
576
|
+
})(Key_FleetCommander || {});
|
|
577
|
+
var useFleetCommanderApi_GetVersion = (sdk, input, options, callback) => {
|
|
578
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
579
|
+
const response = await FleetCommanderApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getVersion();
|
|
580
|
+
callback && callback(response);
|
|
581
|
+
return response.data;
|
|
582
|
+
};
|
|
583
|
+
return useQuery12({
|
|
584
|
+
queryKey: ["Ams.FleetCommander.Version" /* Version */, input],
|
|
585
|
+
queryFn: queryFn(sdk, input),
|
|
586
|
+
...options
|
|
587
|
+
});
|
|
588
|
+
};
|
|
589
|
+
|
|
590
|
+
// src/generated-public/queries/Fleets.query.ts
|
|
591
|
+
import { useMutation as useMutation7 } from "@tanstack/react-query";
|
|
592
|
+
var Key_Fleets = /* @__PURE__ */ ((Key_Fleets2) => {
|
|
593
|
+
Key_Fleets2["ServerClaim"] = "Ams.Fleets.ServerClaim";
|
|
594
|
+
Key_Fleets2["Claim_ByFleetId"] = "Ams.Fleets.Claim_ByFleetId";
|
|
595
|
+
return Key_Fleets2;
|
|
596
|
+
})(Key_Fleets || {});
|
|
597
|
+
var useFleetsApi_UpdateServerClaim = (sdk, options, callback) => {
|
|
598
|
+
const mutationFn = async (input) => {
|
|
599
|
+
const response = await FleetsApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).updateServerClaim(input.data);
|
|
600
|
+
callback && callback(response.data);
|
|
601
|
+
return response.data;
|
|
602
|
+
};
|
|
603
|
+
return useMutation7({
|
|
604
|
+
mutationKey: ["Ams.Fleets.ServerClaim" /* ServerClaim */],
|
|
605
|
+
mutationFn,
|
|
606
|
+
...options
|
|
607
|
+
});
|
|
608
|
+
};
|
|
609
|
+
var useFleetsApi_UpdateClaim_ByFleetId = (sdk, options, callback) => {
|
|
610
|
+
const mutationFn = async (input) => {
|
|
611
|
+
const response = await FleetsApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).updateClaim_ByFleetId(input.fleetID, input.data);
|
|
612
|
+
callback && callback(response.data);
|
|
613
|
+
return response.data;
|
|
614
|
+
};
|
|
615
|
+
return useMutation7({
|
|
616
|
+
mutationKey: ["Ams.Fleets.Claim_ByFleetId" /* Claim_ByFleetId */],
|
|
617
|
+
mutationFn,
|
|
618
|
+
...options
|
|
619
|
+
});
|
|
620
|
+
};
|
|
621
|
+
|
|
622
|
+
// src/generated-public/queries/Watchdogs.query.ts
|
|
623
|
+
import { useQuery as useQuery13 } from "@tanstack/react-query";
|
|
624
|
+
var Key_Watchdogs = /* @__PURE__ */ ((Key_Watchdogs2) => {
|
|
625
|
+
Key_Watchdogs2["Connect_ByWatchdogId"] = "Ams.Watchdogs.Connect_ByWatchdogId";
|
|
626
|
+
Key_Watchdogs2["Connect_ByWatchdogId_ByNS"] = "Ams.Watchdogs.Connect_ByWatchdogId_ByNS";
|
|
627
|
+
return Key_Watchdogs2;
|
|
628
|
+
})(Key_Watchdogs || {});
|
|
629
|
+
var useWatchdogsApi_GetConnect_ByWatchdogId = (sdk, input, options, callback) => {
|
|
630
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
631
|
+
const response = await WatchdogsApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getConnect_ByWatchdogId(input2.watchdogID);
|
|
632
|
+
callback && callback(response);
|
|
633
|
+
return response.data;
|
|
634
|
+
};
|
|
635
|
+
return useQuery13({
|
|
636
|
+
queryKey: ["Ams.Watchdogs.Connect_ByWatchdogId" /* Connect_ByWatchdogId */, input],
|
|
637
|
+
queryFn: queryFn(sdk, input),
|
|
638
|
+
...options
|
|
639
|
+
});
|
|
640
|
+
};
|
|
641
|
+
var useWatchdogsApi_GetConnect_ByWatchdogId_ByNS = (sdk, input, options, callback) => {
|
|
642
|
+
const queryFn = (sdk2, input2) => async () => {
|
|
643
|
+
const response = await WatchdogsApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getConnect_ByWatchdogId_ByNS(input2.watchdogID);
|
|
644
|
+
callback && callback(response);
|
|
645
|
+
return response.data;
|
|
646
|
+
};
|
|
647
|
+
return useQuery13({
|
|
648
|
+
queryKey: ["Ams.Watchdogs.Connect_ByWatchdogId_ByNS" /* Connect_ByWatchdogId_ByNS */, input],
|
|
649
|
+
queryFn: queryFn(sdk, input),
|
|
650
|
+
...options
|
|
651
|
+
});
|
|
652
|
+
};
|
|
653
|
+
export {
|
|
654
|
+
Key_Account,
|
|
655
|
+
Key_AccountAdmin,
|
|
656
|
+
Key_AmsInfo,
|
|
657
|
+
Key_AmsInfoAdmin,
|
|
658
|
+
Key_AmsQoSAdmin,
|
|
659
|
+
Key_ArtifactsAdmin,
|
|
660
|
+
Key_Auth,
|
|
661
|
+
Key_DevelopmentAdmin,
|
|
662
|
+
Key_FleetCommander,
|
|
663
|
+
Key_Fleets,
|
|
664
|
+
Key_FleetsAdmin,
|
|
665
|
+
Key_ImagesAdmin,
|
|
666
|
+
Key_ServersAdmin,
|
|
667
|
+
Key_Watchdogs,
|
|
668
|
+
useAccountAdminApi_CreateAccount,
|
|
669
|
+
useAccountAdminApi_CreateAccountLink,
|
|
670
|
+
useAccountAdminApi_GetAccount,
|
|
671
|
+
useAccountAdminApi_GetAccountLink,
|
|
672
|
+
useAccountApi_GetAccount,
|
|
673
|
+
useAmsInfoAdminApi_GetRegions,
|
|
674
|
+
useAmsInfoAdminApi_GetSupportedInstances,
|
|
675
|
+
useAmsInfoApi_GetUploadUrl,
|
|
676
|
+
useAmsQoSAdminApi_GetQos,
|
|
677
|
+
useAmsQoSAdminApi_PatchQo_ByRegion,
|
|
678
|
+
useArtifactsAdminApi_DeleteArtifact,
|
|
679
|
+
useArtifactsAdminApi_DeleteArtifact_ByArtifactId,
|
|
680
|
+
useArtifactsAdminApi_GetArtifacts,
|
|
681
|
+
useArtifactsAdminApi_GetArtifactsSamplingRules_ByFleetId,
|
|
682
|
+
useArtifactsAdminApi_GetArtifactsUsage,
|
|
683
|
+
useArtifactsAdminApi_GetUrl_ByArtifactId,
|
|
684
|
+
useArtifactsAdminApi_UpdateArtifactsSamplingRule_ByFleetId,
|
|
685
|
+
useAuthApi_GetAuth,
|
|
686
|
+
useDevelopmentAdminApi_CreateDevelopmentServerConfiguration,
|
|
687
|
+
useDevelopmentAdminApi_DeleteDevelopmentServerConfiguration_ByDevelopmentServerConfigId,
|
|
688
|
+
useDevelopmentAdminApi_GetDevelopmentServerConfiguration_ByDevelopmentServerConfigId,
|
|
689
|
+
useDevelopmentAdminApi_GetDevelopmentServerConfigurations,
|
|
690
|
+
useFleetCommanderApi_GetVersion,
|
|
691
|
+
useFleetsAdminApi_CreateFleet,
|
|
692
|
+
useFleetsAdminApi_DeleteFleet_ByFleetId,
|
|
693
|
+
useFleetsAdminApi_GetFleet_ByFleetId,
|
|
694
|
+
useFleetsAdminApi_GetFleets,
|
|
695
|
+
useFleetsAdminApi_GetServers_ByFleetId,
|
|
696
|
+
useFleetsAdminApi_UpdateFleet_ByFleetId,
|
|
697
|
+
useFleetsApi_UpdateClaim_ByFleetId,
|
|
698
|
+
useFleetsApi_UpdateServerClaim,
|
|
699
|
+
useImagesAdminApi_CreateRestore_ByImageId,
|
|
700
|
+
useImagesAdminApi_DeleteImage_ByImageId,
|
|
701
|
+
useImagesAdminApi_GetImage_ByImageId,
|
|
702
|
+
useImagesAdminApi_GetImages,
|
|
703
|
+
useImagesAdminApi_GetImagesStorage,
|
|
704
|
+
useImagesAdminApi_PatchImage_ByImageId,
|
|
705
|
+
useServersAdminApi_GetConnectioninfo_ByServerId,
|
|
706
|
+
useServersAdminApi_GetHistory_ByServerId,
|
|
707
|
+
useServersAdminApi_GetServer_ByServerId,
|
|
708
|
+
useServersAdminApi_GetServersHistory_ByFleetId,
|
|
709
|
+
useWatchdogsApi_GetConnect_ByWatchdogId,
|
|
710
|
+
useWatchdogsApi_GetConnect_ByWatchdogId_ByNS
|
|
711
|
+
};
|