@hautechai/sdk 1.2.0 → 1.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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
- # [1.2.0](https://github.com/HautechAI/sdk/compare/@hautechai/sdk@1.1.1...@hautechai/sdk@1.2.0) (2025-07-22)
1
+ # [1.3.0](https://github.com/HautechAI/sdk/compare/@hautechai/sdk@1.2.0...@hautechai/sdk@1.3.0) (2025-07-23)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * add workflow entity and onecompiler operation support ([12027ef](https://github.com/HautechAI/sdk/commit/12027ef5734e19f805421d7b21e1b94e86399e73))
6
+ * add onecompiler ([ecb97b1](https://github.com/HautechAI/sdk/commit/ecb97b1e9b908ef53c047b78c5f6721ba6d5573d))
@@ -288,6 +288,12 @@ export declare const createSDK: (options: SDKOptions) => {
288
288
  }) => Promise<import("../autogenerated").StringsTemplateV1Response>;
289
289
  };
290
290
  };
291
+ onecompiler: {
292
+ v1: (props: {
293
+ input: import("../autogenerated").OneCompilerV1Input;
294
+ metadata?: any;
295
+ }) => Promise<import("../autogenerated").OnecompilerV1Response>;
296
+ };
291
297
  };
292
298
  get: (props: {
293
299
  id: string;
@@ -570,6 +576,11 @@ export declare const createSDK: (options: SDKOptions) => {
570
576
  }) => Promise<import("../autogenerated").StringsTemplateV1Response>;
571
577
  };
572
578
  };
579
+ onecompiler: {
580
+ v1: (params: import("../autogenerated").OnecompilerV1Request & {
581
+ __taskOutput__?: never;
582
+ }) => Promise<import("../autogenerated").OnecompilerV1Response>;
583
+ };
573
584
  };
574
585
  wait: (params: import("../autogenerated").WaitOperationParamsDto & {
575
586
  __taskOutput__?: never;
@@ -865,6 +876,11 @@ export declare const createSDK: (options: SDKOptions) => {
865
876
  }) => Promise<import("../autogenerated").StringsTemplateV1Response>;
866
877
  };
867
878
  };
879
+ onecompiler: {
880
+ v1: (params: import("../autogenerated").OnecompilerV1Request & {
881
+ __taskOutput__?: never;
882
+ }) => Promise<import("../autogenerated").OnecompilerV1Response>;
883
+ };
868
884
  };
869
885
  wait: (params: import("../autogenerated").WaitOperationParamsDto & {
870
886
  __taskOutput__?: never;
@@ -1160,6 +1176,11 @@ export declare const createSDK: (options: SDKOptions) => {
1160
1176
  }) => Promise<import("../autogenerated").StringsTemplateV1Response>;
1161
1177
  };
1162
1178
  };
1179
+ onecompiler: {
1180
+ v1: (params: import("../autogenerated").OnecompilerV1Request & {
1181
+ __taskOutput__?: never;
1182
+ }) => Promise<import("../autogenerated").OnecompilerV1Response>;
1183
+ };
1163
1184
  };
1164
1185
  wait: (params: import("../autogenerated").WaitOperationParamsDto & {
1165
1186
  __taskOutput__?: never;
@@ -1458,6 +1479,11 @@ export declare const createSDK: (options: SDKOptions) => {
1458
1479
  }) => Promise<import("../autogenerated").StringsTemplateV1Response>;
1459
1480
  };
1460
1481
  };
1482
+ onecompiler: {
1483
+ v1: (params: import("../autogenerated").OnecompilerV1Request & {
1484
+ __taskOutput__?: never;
1485
+ }) => Promise<import("../autogenerated").OnecompilerV1Response>;
1486
+ };
1461
1487
  };
1462
1488
  wait: (params: import("../autogenerated").WaitOperationParamsDto & {
1463
1489
  __taskOutput__?: never;
@@ -1,4 +1,4 @@
1
- import { AnimateCreatomateV1Input, AnimateCreatomateV1Response, AnimateKling16ProV1Input, AnimateKling16ProV1Response, AnimateKling21V1Input, AnimateKling21V1Response, CompositeV1Input, CompositeV1Response, ContrastV1Input, ContrastV1Response, CropV1Input, CropV1Response, CutV1Input, CutV1Response, EditFluxKontextDevV1Input, EditFluxKontextDevV1Response, GiseleVtonV1Input, GPTV1Input, GptV1Response, GPTV2Input, GptV2Response, HauteLindaV1Response, HauteNaomiV1Response, ImagineKateV1Response, KateImagineV1Input, KateInpaintV1Input, LindaHauteV1Input, MathV1Input, MathV1Response, NaomiHauteV1Input, NegateImageV1Input, NegateImageV1Response, NoiseV1Input, NoiseV1Response, ObjectDetectionV1Input, ObjectDetectionV1Response, OperationEntity, OperationEntityStatusEnum, PoseEstimationV1Input, PoseEstimationV1Response, ResizeV1Input, ResizeV1Response, SegmentAnythingEmbeddingsV1Input, SegmentAnythingEmbeddingsV1Response, SegmentAnythingMaskV1Input, SegmentAnythingMaskV1Response, StringsTemplateV1Input, StringsTemplateV1Response, TranslateV1Input, TranslateV1Response, UpscaleV1Input, UpscaleV1Response, VtonGiseleV1Response } from '../../autogenerated';
1
+ import { AnimateCreatomateV1Input, AnimateCreatomateV1Response, AnimateKling16ProV1Input, AnimateKling16ProV1Response, AnimateKling21V1Input, AnimateKling21V1Response, CompositeV1Input, CompositeV1Response, ContrastV1Input, ContrastV1Response, CropV1Input, CropV1Response, CutV1Input, CutV1Response, EditFluxKontextDevV1Input, EditFluxKontextDevV1Response, GiseleVtonV1Input, GPTV1Input, GptV1Response, GPTV2Input, GptV2Response, HauteLindaV1Response, HauteNaomiV1Response, ImagineKateV1Response, KateImagineV1Input, KateInpaintV1Input, LindaHauteV1Input, MathV1Input, MathV1Response, NaomiHauteV1Input, NegateImageV1Input, NegateImageV1Response, NoiseV1Input, NoiseV1Response, ObjectDetectionV1Input, ObjectDetectionV1Response, OneCompilerV1Input, OnecompilerV1Response, OperationEntity, OperationEntityStatusEnum, PoseEstimationV1Input, PoseEstimationV1Response, ResizeV1Input, ResizeV1Response, SegmentAnythingEmbeddingsV1Input, SegmentAnythingEmbeddingsV1Response, SegmentAnythingMaskV1Input, SegmentAnythingMaskV1Response, StringsTemplateV1Input, StringsTemplateV1Response, TranslateV1Input, TranslateV1Response, UpscaleV1Input, UpscaleV1Response, VtonGiseleV1Response } from '../../autogenerated';
2
2
  import { ListProps, ListResponse, SDKOptions } from '../../types';
3
3
  import { OperationMetadata } from '../index';
4
4
  import { OperationsListener } from '../listeners';
@@ -186,6 +186,12 @@ declare const operations: (options: SDKOptions, operationsListener: OperationsLi
186
186
  }) => Promise<StringsTemplateV1Response>;
187
187
  };
188
188
  };
189
+ onecompiler: {
190
+ v1: (props: {
191
+ input: OneCompilerV1Input;
192
+ metadata?: any;
193
+ }) => Promise<OnecompilerV1Response>;
194
+ };
189
195
  };
190
196
  get: (props: {
191
197
  id: string;
@@ -99,6 +99,9 @@ const operations = (options, operationsListener) => {
99
99
  v1: createOperation((methods, props) => methods.operationsControllerRunStringsTemplateV1V1(props)),
100
100
  },
101
101
  },
102
+ onecompiler: {
103
+ v1: createOperation((methods, props) => methods.operationsControllerRunOnecompilerV1V1(props)),
104
+ },
102
105
  },
103
106
  get: (props) => api.callWithReturningUndefinedOn404({
104
107
  run: (methods) => methods.operationsControllerGetOperationV1(props.id),
@@ -252,6 +252,11 @@ declare const pipelines: (options: SDKOptions) => {
252
252
  }) => Promise<import("../../autogenerated").StringsTemplateV1Response>;
253
253
  };
254
254
  };
255
+ onecompiler: {
256
+ v1: (params: import("../../autogenerated").OnecompilerV1Request & {
257
+ __taskOutput__?: never;
258
+ }) => Promise<import("../../autogenerated").OnecompilerV1Response>;
259
+ };
255
260
  };
256
261
  wait: (params: import("../../autogenerated").WaitOperationParamsDto & {
257
262
  __taskOutput__?: never;
@@ -547,6 +552,11 @@ declare const pipelines: (options: SDKOptions) => {
547
552
  }) => Promise<import("../../autogenerated").StringsTemplateV1Response>;
548
553
  };
549
554
  };
555
+ onecompiler: {
556
+ v1: (params: import("../../autogenerated").OnecompilerV1Request & {
557
+ __taskOutput__?: never;
558
+ }) => Promise<import("../../autogenerated").OnecompilerV1Response>;
559
+ };
550
560
  };
551
561
  wait: (params: import("../../autogenerated").WaitOperationParamsDto & {
552
562
  __taskOutput__?: never;
@@ -842,6 +852,11 @@ declare const pipelines: (options: SDKOptions) => {
842
852
  }) => Promise<import("../../autogenerated").StringsTemplateV1Response>;
843
853
  };
844
854
  };
855
+ onecompiler: {
856
+ v1: (params: import("../../autogenerated").OnecompilerV1Request & {
857
+ __taskOutput__?: never;
858
+ }) => Promise<import("../../autogenerated").OnecompilerV1Response>;
859
+ };
845
860
  };
846
861
  wait: (params: import("../../autogenerated").WaitOperationParamsDto & {
847
862
  __taskOutput__?: never;
@@ -1140,6 +1155,11 @@ declare const pipelines: (options: SDKOptions) => {
1140
1155
  }) => Promise<import("../../autogenerated").StringsTemplateV1Response>;
1141
1156
  };
1142
1157
  };
1158
+ onecompiler: {
1159
+ v1: (params: import("../../autogenerated").OnecompilerV1Request & {
1160
+ __taskOutput__?: never;
1161
+ }) => Promise<import("../../autogenerated").OnecompilerV1Response>;
1162
+ };
1143
1163
  };
1144
1164
  wait: (params: import("../../autogenerated").WaitOperationParamsDto & {
1145
1165
  __taskOutput__?: never;
@@ -150,6 +150,9 @@ const pipelines = (options) => {
150
150
  v1: callMethod((methods) => methods.callControllerCallOperationsRunStringsTemplateV1V1),
151
151
  },
152
152
  },
153
+ onecompiler: {
154
+ v1: callMethod((methods) => methods.callControllerCallOperationsRunOnecompilerV1V1),
155
+ },
153
156
  },
154
157
  wait: callMethod((methods) => methods.callControllerCallOperationsWaitV1),
155
158
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hautechai/sdk",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "license": "MIT",
5
5
  "keywords": [],
6
6
  "repository": {