@hautechai/sdk 2.34.0 → 2.35.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 +57 -1
- package/dist/index.d.ts +57 -1
- package/dist/index.js +51 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +49 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -14458,6 +14458,19 @@ var PosesControllerListPosesV1OrderBy = {
|
|
|
14458
14458
|
createdAt_DESC: "createdAt_DESC"
|
|
14459
14459
|
};
|
|
14460
14460
|
|
|
14461
|
+
// src/autogenerated/schemas/pricingControllerListPricingV1OrderBy.ts
|
|
14462
|
+
var PricingControllerListPricingV1OrderBy = {
|
|
14463
|
+
type_ASC: "type_ASC",
|
|
14464
|
+
type_DESC: "type_DESC"
|
|
14465
|
+
};
|
|
14466
|
+
|
|
14467
|
+
// src/autogenerated/schemas/pricingControllerListPricingV1Strategy.ts
|
|
14468
|
+
var PricingControllerListPricingV1Strategy = {
|
|
14469
|
+
fixed: "fixed",
|
|
14470
|
+
inputBased: "inputBased",
|
|
14471
|
+
metricsBased: "metricsBased"
|
|
14472
|
+
};
|
|
14473
|
+
|
|
14461
14474
|
// src/autogenerated/schemas/removeAccountFromGroupControllerParamsDtoRole.ts
|
|
14462
14475
|
var RemoveAccountFromGroupControllerParamsDtoRole = {
|
|
14463
14476
|
maintainer: "maintainer",
|
|
@@ -16854,6 +16867,39 @@ var usePipelinesApi = () => {
|
|
|
16854
16867
|
return useApi(api);
|
|
16855
16868
|
};
|
|
16856
16869
|
|
|
16870
|
+
// src/autogenerated/pricing/pricing.ts
|
|
16871
|
+
var getPricing = () => {
|
|
16872
|
+
const pricingControllerListPricingV1 = (params, options) => {
|
|
16873
|
+
return axiosMutator(
|
|
16874
|
+
{
|
|
16875
|
+
url: `/v1/operations/prices`,
|
|
16876
|
+
method: "GET",
|
|
16877
|
+
params
|
|
16878
|
+
},
|
|
16879
|
+
options
|
|
16880
|
+
);
|
|
16881
|
+
};
|
|
16882
|
+
const pricingControllerGetPricingV1 = (type, options) => {
|
|
16883
|
+
return axiosMutator(
|
|
16884
|
+
{
|
|
16885
|
+
url: `/v1/operations/prices/${type}`,
|
|
16886
|
+
method: "GET"
|
|
16887
|
+
},
|
|
16888
|
+
options
|
|
16889
|
+
);
|
|
16890
|
+
};
|
|
16891
|
+
return { pricingControllerListPricingV1, pricingControllerGetPricingV1 };
|
|
16892
|
+
};
|
|
16893
|
+
|
|
16894
|
+
// src/sdk/api-definitions/pricing.ts
|
|
16895
|
+
var usePricingApi = () => {
|
|
16896
|
+
const hautechApi = getPricing();
|
|
16897
|
+
return useApi({
|
|
16898
|
+
list: hautechApi.pricingControllerListPricingV1,
|
|
16899
|
+
get: wrapApiCallNullable(hautechApi.pricingControllerGetPricingV1)
|
|
16900
|
+
});
|
|
16901
|
+
};
|
|
16902
|
+
|
|
16857
16903
|
// src/autogenerated/upload/upload.ts
|
|
16858
16904
|
var getUpload = () => {
|
|
16859
16905
|
const uploadControllerInitUploadV1 = (initializeGenericUploadParamsDto, options) => {
|
|
@@ -17272,6 +17318,7 @@ var apiDefinitions = {
|
|
|
17272
17318
|
balances: useBalancesApi(),
|
|
17273
17319
|
access: useAccessApi(),
|
|
17274
17320
|
pipelines: usePipelinesApi(),
|
|
17321
|
+
pricing: usePricingApi(),
|
|
17275
17322
|
upload: useUploadApi(),
|
|
17276
17323
|
loras: useLorasApi(),
|
|
17277
17324
|
rewards: useRewardsApi()
|
|
@@ -17672,6 +17719,8 @@ export {
|
|
|
17672
17719
|
PoseEstimationV1ResponseKind,
|
|
17673
17720
|
PoseEstimationV1ResponseStatus,
|
|
17674
17721
|
PosesControllerListPosesV1OrderBy,
|
|
17722
|
+
PricingControllerListPricingV1OrderBy,
|
|
17723
|
+
PricingControllerListPricingV1Strategy,
|
|
17675
17724
|
RemoveAccountFromGroupControllerParamsDtoRole,
|
|
17676
17725
|
RemoveAccountFromGroupParamsDtoRole,
|
|
17677
17726
|
ResizeV1ResponseKind,
|