@hautechai/sdk 2.33.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.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) => {
@@ -17137,6 +17183,17 @@ var getWorkflowVersions = () => {
17137
17183
  options
17138
17184
  );
17139
17185
  };
17186
+ const workflowVersionsControllerUpdateVersionV1 = (versionId, updateWorkflowVersionParamsDto, options) => {
17187
+ return axiosMutator(
17188
+ {
17189
+ url: `/v1/workflow-versions/${versionId}`,
17190
+ method: "PATCH",
17191
+ headers: { "Content-Type": "application/json" },
17192
+ data: updateWorkflowVersionParamsDto
17193
+ },
17194
+ options
17195
+ );
17196
+ };
17140
17197
  const workflowVersionsControllerDeleteVersionV1 = (versionId, options) => {
17141
17198
  return axiosMutator(
17142
17199
  {
@@ -17146,7 +17203,7 @@ var getWorkflowVersions = () => {
17146
17203
  options
17147
17204
  );
17148
17205
  };
17149
- return { workflowVersionsControllerPublishVersionV1, workflowVersionsControllerListWorkflowVersionsV1, workflowVersionsControllerGetVersionByNumberV1, workflowVersionsControllerGetVersionV1, workflowVersionsControllerDeleteVersionV1 };
17206
+ return { workflowVersionsControllerPublishVersionV1, workflowVersionsControllerListWorkflowVersionsV1, workflowVersionsControllerGetVersionByNumberV1, workflowVersionsControllerGetVersionV1, workflowVersionsControllerUpdateVersionV1, workflowVersionsControllerDeleteVersionV1 };
17150
17207
  };
17151
17208
 
17152
17209
  // src/sdk/api-definitions/workflow-versions.ts
@@ -17157,6 +17214,7 @@ var useWorkflowVersionsApi = () => {
17157
17214
  list: hautechApi.workflowVersionsControllerListWorkflowVersionsV1,
17158
17215
  get: hautechApi.workflowVersionsControllerGetVersionV1,
17159
17216
  getByNumber: hautechApi.workflowVersionsControllerGetVersionByNumberV1,
17217
+ update: hautechApi.workflowVersionsControllerUpdateVersionV1,
17160
17218
  delete: hautechApi.workflowVersionsControllerDeleteVersionV1
17161
17219
  });
17162
17220
  };
@@ -17260,6 +17318,7 @@ var apiDefinitions = {
17260
17318
  balances: useBalancesApi(),
17261
17319
  access: useAccessApi(),
17262
17320
  pipelines: usePipelinesApi(),
17321
+ pricing: usePricingApi(),
17263
17322
  upload: useUploadApi(),
17264
17323
  loras: useLorasApi(),
17265
17324
  rewards: useRewardsApi()
@@ -17660,6 +17719,8 @@ export {
17660
17719
  PoseEstimationV1ResponseKind,
17661
17720
  PoseEstimationV1ResponseStatus,
17662
17721
  PosesControllerListPosesV1OrderBy,
17722
+ PricingControllerListPricingV1OrderBy,
17723
+ PricingControllerListPricingV1Strategy,
17663
17724
  RemoveAccountFromGroupControllerParamsDtoRole,
17664
17725
  RemoveAccountFromGroupParamsDtoRole,
17665
17726
  ResizeV1ResponseKind,