@hautechai/sdk 2.15.3 → 2.16.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/index.d.mts +95 -2
- package/dist/index.d.ts +95 -2
- package/dist/index.js +64 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +61 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -13308,6 +13308,29 @@ var ListStacksParamsDtoOrderBy = {
|
|
|
13308
13308
|
updatedAt_DESC: "updatedAt_DESC"
|
|
13309
13309
|
};
|
|
13310
13310
|
|
|
13311
|
+
// src/autogenerated/schemas/loraControllerGetLorasV1ModelType.ts
|
|
13312
|
+
var LoraControllerGetLorasV1ModelType = {
|
|
13313
|
+
flux: "flux",
|
|
13314
|
+
naomi: "naomi",
|
|
13315
|
+
custom: "custom"
|
|
13316
|
+
};
|
|
13317
|
+
|
|
13318
|
+
// src/autogenerated/schemas/loraDtoModelType.ts
|
|
13319
|
+
var LoraDtoModelType = {
|
|
13320
|
+
flux: "flux",
|
|
13321
|
+
naomi: "naomi",
|
|
13322
|
+
custom: "custom"
|
|
13323
|
+
};
|
|
13324
|
+
|
|
13325
|
+
// src/autogenerated/schemas/loraDtoStatus.ts
|
|
13326
|
+
var LoraDtoStatus = {
|
|
13327
|
+
starting: "starting",
|
|
13328
|
+
processing: "processing",
|
|
13329
|
+
succeeded: "succeeded",
|
|
13330
|
+
failed: "failed",
|
|
13331
|
+
canceled: "canceled"
|
|
13332
|
+
};
|
|
13333
|
+
|
|
13311
13334
|
// src/autogenerated/schemas/lumaPhotonV1InputAspectRatio.ts
|
|
13312
13335
|
var LumaPhotonV1InputAspectRatio = {
|
|
13313
13336
|
"1:1": "1:1",
|
|
@@ -15363,6 +15386,39 @@ var useChatsApi = () => {
|
|
|
15363
15386
|
});
|
|
15364
15387
|
};
|
|
15365
15388
|
|
|
15389
|
+
// src/autogenerated/lora/lora.ts
|
|
15390
|
+
var getLora = () => {
|
|
15391
|
+
const loraControllerGetLorasV1 = (params, options) => {
|
|
15392
|
+
return axiosMutator(
|
|
15393
|
+
{
|
|
15394
|
+
url: `/v1/loras`,
|
|
15395
|
+
method: "GET",
|
|
15396
|
+
params
|
|
15397
|
+
},
|
|
15398
|
+
options
|
|
15399
|
+
);
|
|
15400
|
+
};
|
|
15401
|
+
const loraControllerGetLoraByIdV1 = (id, options) => {
|
|
15402
|
+
return axiosMutator(
|
|
15403
|
+
{
|
|
15404
|
+
url: `/v1/loras/${id}`,
|
|
15405
|
+
method: "GET"
|
|
15406
|
+
},
|
|
15407
|
+
options
|
|
15408
|
+
);
|
|
15409
|
+
};
|
|
15410
|
+
return { loraControllerGetLorasV1, loraControllerGetLoraByIdV1 };
|
|
15411
|
+
};
|
|
15412
|
+
|
|
15413
|
+
// src/sdk/api-definitions/loras.ts
|
|
15414
|
+
var useLorasApi = () => {
|
|
15415
|
+
const hautechApi = getLora();
|
|
15416
|
+
return useApi({
|
|
15417
|
+
get: wrapApiCallNullable(hautechApi.loraControllerGetLoraByIdV1),
|
|
15418
|
+
list: hautechApi.loraControllerGetLorasV1
|
|
15419
|
+
});
|
|
15420
|
+
};
|
|
15421
|
+
|
|
15366
15422
|
// src/sdk/ws-client.ts
|
|
15367
15423
|
import { io } from "socket.io-client";
|
|
15368
15424
|
var useWsClient = (config) => new WsClient(config);
|
|
@@ -15455,7 +15511,8 @@ var apiDefinitions = {
|
|
|
15455
15511
|
balances: useBalancesApi(),
|
|
15456
15512
|
access: useAccessApi(),
|
|
15457
15513
|
pipelines: usePipelinesApi(),
|
|
15458
|
-
upload: useUploadApi()
|
|
15514
|
+
upload: useUploadApi(),
|
|
15515
|
+
loras: useLorasApi()
|
|
15459
15516
|
};
|
|
15460
15517
|
var pipelineDefinitions = usePipelineDefinitions();
|
|
15461
15518
|
var getWsClientDefinitions = (config) => ({
|
|
@@ -15735,6 +15792,9 @@ export {
|
|
|
15735
15792
|
ListOperationsParamsDtoOrderBy,
|
|
15736
15793
|
ListPosesParamsDtoOrderBy,
|
|
15737
15794
|
ListStacksParamsDtoOrderBy,
|
|
15795
|
+
LoraControllerGetLorasV1ModelType,
|
|
15796
|
+
LoraDtoModelType,
|
|
15797
|
+
LoraDtoStatus,
|
|
15738
15798
|
LumaPhotonV1InputAspectRatio,
|
|
15739
15799
|
LumaPhotonV1ResponseKind,
|
|
15740
15800
|
LumaPhotonV1ResponseStatus,
|