@hautechai/sdk 2.11.0 → 2.11.2
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 +1067 -2158
- package/dist/index.d.ts +1067 -2158
- package/dist/index.js +27 -259
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +27 -229
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10347,8 +10347,6 @@ __export(index_exports, {
|
|
|
10347
10347
|
EchoV1ResponseStatus: () => EchoV1ResponseStatus,
|
|
10348
10348
|
EditFluxKontextDevV1ResponseKind: () => EditFluxKontextDevV1ResponseKind,
|
|
10349
10349
|
EditFluxKontextDevV1ResponseStatus: () => EditFluxKontextDevV1ResponseStatus,
|
|
10350
|
-
Flux11ProUltraV1ResponseKind: () => Flux11ProUltraV1ResponseKind,
|
|
10351
|
-
Flux11ProUltraV1ResponseStatus: () => Flux11ProUltraV1ResponseStatus,
|
|
10352
10350
|
GPTV1InputModel: () => GPTV1InputModel,
|
|
10353
10351
|
GPTV2AssistantMessageDtoRole: () => GPTV2AssistantMessageDtoRole,
|
|
10354
10352
|
GPTV2DeveloperMessageDtoRole: () => GPTV2DeveloperMessageDtoRole,
|
|
@@ -10361,29 +10359,16 @@ __export(index_exports, {
|
|
|
10361
10359
|
GPTV2ToolDtoType: () => GPTV2ToolDtoType,
|
|
10362
10360
|
GPTV2ToolMessageDtoRole: () => GPTV2ToolMessageDtoRole,
|
|
10363
10361
|
GPTV2UserMessageDtoRole: () => GPTV2UserMessageDtoRole,
|
|
10364
|
-
GPTV3AnnotationDtoType: () => GPTV3AnnotationDtoType,
|
|
10365
|
-
GPTV3AssistantMessageDtoRole: () => GPTV3AssistantMessageDtoRole,
|
|
10366
|
-
GPTV3AssistantMessageDtoType: () => GPTV3AssistantMessageDtoType,
|
|
10367
|
-
GPTV3ContentWithAnnotationsDtoType: () => GPTV3ContentWithAnnotationsDtoType,
|
|
10368
|
-
GPTV3DeveloperMessageDtoRole: () => GPTV3DeveloperMessageDtoRole,
|
|
10369
|
-
GPTV3DeveloperMessageDtoType: () => GPTV3DeveloperMessageDtoType,
|
|
10370
10362
|
GPTV3FileSearchCallDtoType: () => GPTV3FileSearchCallDtoType,
|
|
10371
|
-
GPTV3FileSearchResultDtoStatus: () => GPTV3FileSearchResultDtoStatus,
|
|
10372
|
-
GPTV3FileSearchResultDtoType: () => GPTV3FileSearchResultDtoType,
|
|
10373
10363
|
GPTV3FileSearchToolDtoType: () => GPTV3FileSearchToolDtoType,
|
|
10374
|
-
GPTV3FunctionCallDtoType: () => GPTV3FunctionCallDtoType,
|
|
10375
10364
|
GPTV3FunctionToolDtoType: () => GPTV3FunctionToolDtoType,
|
|
10376
10365
|
GPTV3ImageGenerationCallDtoType: () => GPTV3ImageGenerationCallDtoType,
|
|
10377
|
-
GPTV3ImageGenerationResultDtoStatus: () => GPTV3ImageGenerationResultDtoStatus,
|
|
10378
|
-
GPTV3ImageGenerationResultDtoType: () => GPTV3ImageGenerationResultDtoType,
|
|
10379
10366
|
GPTV3ImageGenerationToolDtoQuality: () => GPTV3ImageGenerationToolDtoQuality,
|
|
10380
10367
|
GPTV3ImageGenerationToolDtoSize: () => GPTV3ImageGenerationToolDtoSize,
|
|
10381
10368
|
GPTV3ImageGenerationToolDtoType: () => GPTV3ImageGenerationToolDtoType,
|
|
10382
10369
|
GPTV3ImageInputDtoDetail: () => GPTV3ImageInputDtoDetail,
|
|
10383
10370
|
GPTV3ImageInputDtoType: () => GPTV3ImageInputDtoType,
|
|
10384
10371
|
GPTV3InputModel: () => GPTV3InputModel,
|
|
10385
|
-
GPTV3MessageContentDtoRole: () => GPTV3MessageContentDtoRole,
|
|
10386
|
-
GPTV3MessageContentDtoType: () => GPTV3MessageContentDtoType,
|
|
10387
10372
|
GPTV3OutputKind: () => GPTV3OutputKind,
|
|
10388
10373
|
GPTV3ResponseCodeInterpreterToolCallDtoStatus: () => GPTV3ResponseCodeInterpreterToolCallDtoStatus,
|
|
10389
10374
|
GPTV3ResponseCodeInterpreterToolCallDtoType: () => GPTV3ResponseCodeInterpreterToolCallDtoType,
|
|
@@ -10404,8 +10389,6 @@ __export(index_exports, {
|
|
|
10404
10389
|
GPTV3ResponseCustomToolCallDtoStatus: () => GPTV3ResponseCustomToolCallDtoStatus,
|
|
10405
10390
|
GPTV3ResponseCustomToolCallDtoType: () => GPTV3ResponseCustomToolCallDtoType,
|
|
10406
10391
|
GPTV3ResponseCustomToolCallOutputDtoType: () => GPTV3ResponseCustomToolCallOutputDtoType,
|
|
10407
|
-
GPTV3ResponseDtoFinishReason: () => GPTV3ResponseDtoFinishReason,
|
|
10408
|
-
GPTV3ResponseDtoRole: () => GPTV3ResponseDtoRole,
|
|
10409
10392
|
GPTV3ResponseFileSearchToolCallDtoStatus: () => GPTV3ResponseFileSearchToolCallDtoStatus,
|
|
10410
10393
|
GPTV3ResponseFileSearchToolCallDtoType: () => GPTV3ResponseFileSearchToolCallDtoType,
|
|
10411
10394
|
GPTV3ResponseFormatJsonSchemaDtoType: () => GPTV3ResponseFormatJsonSchemaDtoType,
|
|
@@ -10453,16 +10436,8 @@ __export(index_exports, {
|
|
|
10453
10436
|
GPTV3ResponseReasoningItemDtoStatus: () => GPTV3ResponseReasoningItemDtoStatus,
|
|
10454
10437
|
GPTV3ResponseReasoningItemDtoType: () => GPTV3ResponseReasoningItemDtoType,
|
|
10455
10438
|
GPTV3ResponseReasoningItemSummaryDtoType: () => GPTV3ResponseReasoningItemSummaryDtoType,
|
|
10456
|
-
GPTV3SystemMessageDtoRole: () => GPTV3SystemMessageDtoRole,
|
|
10457
|
-
GPTV3SystemMessageDtoType: () => GPTV3SystemMessageDtoType,
|
|
10458
10439
|
GPTV3TextInputDtoType: () => GPTV3TextInputDtoType,
|
|
10459
|
-
GPTV3ToolChoiceDtoType: () => GPTV3ToolChoiceDtoType,
|
|
10460
|
-
GPTV3ToolDtoType: () => GPTV3ToolDtoType,
|
|
10461
|
-
GPTV3UserMessageDtoRole: () => GPTV3UserMessageDtoRole,
|
|
10462
|
-
GPTV3UserMessageDtoType: () => GPTV3UserMessageDtoType,
|
|
10463
10440
|
GPTV3WebSearchCallDtoType: () => GPTV3WebSearchCallDtoType,
|
|
10464
|
-
GPTV3WebSearchResultDtoStatus: () => GPTV3WebSearchResultDtoStatus,
|
|
10465
|
-
GPTV3WebSearchResultDtoType: () => GPTV3WebSearchResultDtoType,
|
|
10466
10441
|
GPTV3WebSearchToolDtoSearchContextSize: () => GPTV3WebSearchToolDtoSearchContextSize,
|
|
10467
10442
|
GPTV3WebSearchToolDtoType: () => GPTV3WebSearchToolDtoType,
|
|
10468
10443
|
GetImageRepresentationParamsDtoType: () => GetImageRepresentationParamsDtoType,
|
|
@@ -10506,13 +10481,10 @@ __export(index_exports, {
|
|
|
10506
10481
|
ListOperationsParamsDtoOrderBy: () => ListOperationsParamsDtoOrderBy,
|
|
10507
10482
|
ListPosesParamsDtoOrderBy: () => ListPosesParamsDtoOrderBy,
|
|
10508
10483
|
ListStacksParamsDtoOrderBy: () => ListStacksParamsDtoOrderBy,
|
|
10509
|
-
LoraControllerListV1OrderBy: () => LoraControllerListV1OrderBy,
|
|
10510
|
-
LoraControllerListV1Status: () => LoraControllerListV1Status,
|
|
10511
10484
|
LoraDtoStatus: () => LoraDtoStatus,
|
|
10512
10485
|
LoraTrainingOutputKind: () => LoraTrainingOutputKind,
|
|
10513
10486
|
LoraTrainingResponseKind: () => LoraTrainingResponseKind,
|
|
10514
10487
|
LoraTrainingResponseStatus: () => LoraTrainingResponseStatus,
|
|
10515
|
-
LoraWebhookDtoStatus: () => LoraWebhookDtoStatus,
|
|
10516
10488
|
LumaPhotonV1InputAspectRatio: () => LumaPhotonV1InputAspectRatio,
|
|
10517
10489
|
LumaPhotonV1ResponseKind: () => LumaPhotonV1ResponseKind,
|
|
10518
10490
|
LumaPhotonV1ResponseStatus: () => LumaPhotonV1ResponseStatus,
|
|
@@ -10576,8 +10548,6 @@ __export(index_exports, {
|
|
|
10576
10548
|
SelfAccountDtoType: () => SelfAccountDtoType,
|
|
10577
10549
|
StackEntityKind: () => StackEntityKind,
|
|
10578
10550
|
StacksControllerListStacksV1OrderBy: () => StacksControllerListStacksV1OrderBy,
|
|
10579
|
-
StartNaomiTrainingParamsDtoLrScheduler: () => StartNaomiTrainingParamsDtoLrScheduler,
|
|
10580
|
-
StartNaomiTrainingParamsDtoMixedPrecision: () => StartNaomiTrainingParamsDtoMixedPrecision,
|
|
10581
10551
|
StartTrainingParamsDtoModelType: () => StartTrainingParamsDtoModelType,
|
|
10582
10552
|
StorageEntityKind: () => StorageEntityKind,
|
|
10583
10553
|
StringsTemplateV1ResponseKind: () => StringsTemplateV1ResponseKind,
|
|
@@ -10837,17 +10807,6 @@ var useVideosApi = () => {
|
|
|
10837
10807
|
|
|
10838
10808
|
// src/autogenerated/workflows/workflows.ts
|
|
10839
10809
|
var getWorkflows = () => {
|
|
10840
|
-
const workflowsControllerRunWorkflowV1 = (workflowId, runWorkflowParamsDto, options) => {
|
|
10841
|
-
return axiosMutator(
|
|
10842
|
-
{
|
|
10843
|
-
url: `/v1/workflows/run/${workflowId}`,
|
|
10844
|
-
method: "POST",
|
|
10845
|
-
headers: { "Content-Type": "application/json" },
|
|
10846
|
-
data: runWorkflowParamsDto
|
|
10847
|
-
},
|
|
10848
|
-
options
|
|
10849
|
-
);
|
|
10850
|
-
};
|
|
10851
10810
|
const workflowsControllerCreateWorkflowV1 = (createWorkflowParamsDto, options) => {
|
|
10852
10811
|
return axiosMutator(
|
|
10853
10812
|
{
|
|
@@ -10898,7 +10857,27 @@ var getWorkflows = () => {
|
|
|
10898
10857
|
options
|
|
10899
10858
|
);
|
|
10900
10859
|
};
|
|
10901
|
-
|
|
10860
|
+
const workflowsControllerRunWorkflowV1 = (id, runWorkflowParamsDto, options) => {
|
|
10861
|
+
return axiosMutator(
|
|
10862
|
+
{
|
|
10863
|
+
url: `/v1/workflows/${id}/run`,
|
|
10864
|
+
method: "POST",
|
|
10865
|
+
headers: { "Content-Type": "application/json" },
|
|
10866
|
+
data: runWorkflowParamsDto
|
|
10867
|
+
},
|
|
10868
|
+
options
|
|
10869
|
+
);
|
|
10870
|
+
};
|
|
10871
|
+
const workflowsControllerGetWorkflowSchemaV1 = (id, options) => {
|
|
10872
|
+
return axiosMutator(
|
|
10873
|
+
{
|
|
10874
|
+
url: `/v1/workflows/${id}/schema`,
|
|
10875
|
+
method: "GET"
|
|
10876
|
+
},
|
|
10877
|
+
options
|
|
10878
|
+
);
|
|
10879
|
+
};
|
|
10880
|
+
return { workflowsControllerCreateWorkflowV1, workflowsControllerListWorkflowsV1, workflowsControllerGetWorkflowV1, workflowsControllerUpdateWorkflowV1, workflowsControllerDeleteWorkflowV1, workflowsControllerRunWorkflowV1, workflowsControllerGetWorkflowSchemaV1 };
|
|
10902
10881
|
};
|
|
10903
10882
|
|
|
10904
10883
|
// src/sdk/api-definitions/workflows.ts
|
|
@@ -10908,7 +10887,10 @@ var useWorkflowsApi = () => {
|
|
|
10908
10887
|
create: hautechApi.workflowsControllerCreateWorkflowV1,
|
|
10909
10888
|
get: wrapApiCallNullable(hautechApi.workflowsControllerGetWorkflowV1),
|
|
10910
10889
|
list: hautechApi.workflowsControllerListWorkflowsV1,
|
|
10911
|
-
update: hautechApi.workflowsControllerUpdateWorkflowV1
|
|
10890
|
+
update: hautechApi.workflowsControllerUpdateWorkflowV1,
|
|
10891
|
+
delete: hautechApi.workflowsControllerDeleteWorkflowV1,
|
|
10892
|
+
getSchema: hautechApi.workflowsControllerGetWorkflowSchemaV1,
|
|
10893
|
+
run: hautechApi.workflowsControllerRunWorkflowV1
|
|
10912
10894
|
});
|
|
10913
10895
|
};
|
|
10914
10896
|
|
|
@@ -11742,9 +11724,8 @@ var getOperations = () => {
|
|
|
11742
11724
|
};
|
|
11743
11725
|
|
|
11744
11726
|
// src/sdk/api-definitions/operations.ts
|
|
11745
|
-
var waitOperation = wrapCustomMethod(async function(operation, timeoutMs = 6e4) {
|
|
11727
|
+
var waitOperation = wrapCustomMethod(async function(operation, timeoutMs = 6e4, delay = 3e3) {
|
|
11746
11728
|
const deadline = Date.now() + timeoutMs;
|
|
11747
|
-
const delay = 3e3;
|
|
11748
11729
|
const sdk = this;
|
|
11749
11730
|
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
11750
11731
|
const poll = async (id) => {
|
|
@@ -12550,18 +12531,6 @@ var EditFluxKontextDevV1ResponseStatus = {
|
|
|
12550
12531
|
failed: "failed"
|
|
12551
12532
|
};
|
|
12552
12533
|
|
|
12553
|
-
// src/autogenerated/schemas/flux11ProUltraV1ResponseKind.ts
|
|
12554
|
-
var Flux11ProUltraV1ResponseKind = {
|
|
12555
|
-
operation: "operation"
|
|
12556
|
-
};
|
|
12557
|
-
|
|
12558
|
-
// src/autogenerated/schemas/flux11ProUltraV1ResponseStatus.ts
|
|
12559
|
-
var Flux11ProUltraV1ResponseStatus = {
|
|
12560
|
-
pending: "pending",
|
|
12561
|
-
finished: "finished",
|
|
12562
|
-
failed: "failed"
|
|
12563
|
-
};
|
|
12564
|
-
|
|
12565
12534
|
// src/autogenerated/schemas/gPTV1InputModel.ts
|
|
12566
12535
|
var GPTV1InputModel = {
|
|
12567
12536
|
"gpt-4o": "gpt-4o",
|
|
@@ -12632,64 +12601,16 @@ var GPTV2UserMessageDtoRole = {
|
|
|
12632
12601
|
user: "user"
|
|
12633
12602
|
};
|
|
12634
12603
|
|
|
12635
|
-
// src/autogenerated/schemas/gPTV3AnnotationDtoType.ts
|
|
12636
|
-
var GPTV3AnnotationDtoType = {
|
|
12637
|
-
file_citation: "file_citation",
|
|
12638
|
-
url_citation: "url_citation"
|
|
12639
|
-
};
|
|
12640
|
-
|
|
12641
|
-
// src/autogenerated/schemas/gPTV3AssistantMessageDtoRole.ts
|
|
12642
|
-
var GPTV3AssistantMessageDtoRole = {
|
|
12643
|
-
assistant: "assistant"
|
|
12644
|
-
};
|
|
12645
|
-
|
|
12646
|
-
// src/autogenerated/schemas/gPTV3AssistantMessageDtoType.ts
|
|
12647
|
-
var GPTV3AssistantMessageDtoType = {
|
|
12648
|
-
message: "message"
|
|
12649
|
-
};
|
|
12650
|
-
|
|
12651
|
-
// src/autogenerated/schemas/gPTV3ContentWithAnnotationsDtoType.ts
|
|
12652
|
-
var GPTV3ContentWithAnnotationsDtoType = {
|
|
12653
|
-
output_text: "output_text"
|
|
12654
|
-
};
|
|
12655
|
-
|
|
12656
|
-
// src/autogenerated/schemas/gPTV3DeveloperMessageDtoRole.ts
|
|
12657
|
-
var GPTV3DeveloperMessageDtoRole = {
|
|
12658
|
-
developer: "developer"
|
|
12659
|
-
};
|
|
12660
|
-
|
|
12661
|
-
// src/autogenerated/schemas/gPTV3DeveloperMessageDtoType.ts
|
|
12662
|
-
var GPTV3DeveloperMessageDtoType = {
|
|
12663
|
-
message: "message"
|
|
12664
|
-
};
|
|
12665
|
-
|
|
12666
12604
|
// src/autogenerated/schemas/gPTV3FileSearchCallDtoType.ts
|
|
12667
12605
|
var GPTV3FileSearchCallDtoType = {
|
|
12668
12606
|
file_search: "file_search"
|
|
12669
12607
|
};
|
|
12670
12608
|
|
|
12671
|
-
// src/autogenerated/schemas/gPTV3FileSearchResultDtoStatus.ts
|
|
12672
|
-
var GPTV3FileSearchResultDtoStatus = {
|
|
12673
|
-
completed: "completed",
|
|
12674
|
-
failed: "failed",
|
|
12675
|
-
pending: "pending"
|
|
12676
|
-
};
|
|
12677
|
-
|
|
12678
|
-
// src/autogenerated/schemas/gPTV3FileSearchResultDtoType.ts
|
|
12679
|
-
var GPTV3FileSearchResultDtoType = {
|
|
12680
|
-
file_search_call: "file_search_call"
|
|
12681
|
-
};
|
|
12682
|
-
|
|
12683
12609
|
// src/autogenerated/schemas/gPTV3FileSearchToolDtoType.ts
|
|
12684
12610
|
var GPTV3FileSearchToolDtoType = {
|
|
12685
12611
|
file_search: "file_search"
|
|
12686
12612
|
};
|
|
12687
12613
|
|
|
12688
|
-
// src/autogenerated/schemas/gPTV3FunctionCallDtoType.ts
|
|
12689
|
-
var GPTV3FunctionCallDtoType = {
|
|
12690
|
-
function: "function"
|
|
12691
|
-
};
|
|
12692
|
-
|
|
12693
12614
|
// src/autogenerated/schemas/gPTV3FunctionToolDtoType.ts
|
|
12694
12615
|
var GPTV3FunctionToolDtoType = {
|
|
12695
12616
|
function: "function"
|
|
@@ -12700,18 +12621,6 @@ var GPTV3ImageGenerationCallDtoType = {
|
|
|
12700
12621
|
image_generation: "image_generation"
|
|
12701
12622
|
};
|
|
12702
12623
|
|
|
12703
|
-
// src/autogenerated/schemas/gPTV3ImageGenerationResultDtoStatus.ts
|
|
12704
|
-
var GPTV3ImageGenerationResultDtoStatus = {
|
|
12705
|
-
completed: "completed",
|
|
12706
|
-
failed: "failed",
|
|
12707
|
-
pending: "pending"
|
|
12708
|
-
};
|
|
12709
|
-
|
|
12710
|
-
// src/autogenerated/schemas/gPTV3ImageGenerationResultDtoType.ts
|
|
12711
|
-
var GPTV3ImageGenerationResultDtoType = {
|
|
12712
|
-
image_generation_call: "image_generation_call"
|
|
12713
|
-
};
|
|
12714
|
-
|
|
12715
12624
|
// src/autogenerated/schemas/gPTV3ImageGenerationToolDtoQuality.ts
|
|
12716
12625
|
var GPTV3ImageGenerationToolDtoQuality = {
|
|
12717
12626
|
auto: "auto",
|
|
@@ -12756,16 +12665,6 @@ var GPTV3InputModel = {
|
|
|
12756
12665
|
"gpt-41-nano": "gpt-4.1-nano"
|
|
12757
12666
|
};
|
|
12758
12667
|
|
|
12759
|
-
// src/autogenerated/schemas/gPTV3MessageContentDtoRole.ts
|
|
12760
|
-
var GPTV3MessageContentDtoRole = {
|
|
12761
|
-
assistant: "assistant"
|
|
12762
|
-
};
|
|
12763
|
-
|
|
12764
|
-
// src/autogenerated/schemas/gPTV3MessageContentDtoType.ts
|
|
12765
|
-
var GPTV3MessageContentDtoType = {
|
|
12766
|
-
message: "message"
|
|
12767
|
-
};
|
|
12768
|
-
|
|
12769
12668
|
// src/autogenerated/schemas/gPTV3OutputKind.ts
|
|
12770
12669
|
var GPTV3OutputKind = {
|
|
12771
12670
|
json: "json"
|
|
@@ -12878,17 +12777,6 @@ var GPTV3ResponseCustomToolCallOutputDtoType = {
|
|
|
12878
12777
|
custom_tool_call_output: "custom_tool_call_output"
|
|
12879
12778
|
};
|
|
12880
12779
|
|
|
12881
|
-
// src/autogenerated/schemas/gPTV3ResponseDtoFinishReason.ts
|
|
12882
|
-
var GPTV3ResponseDtoFinishReason = {
|
|
12883
|
-
stop: "stop",
|
|
12884
|
-
tool_calls: "tool_calls"
|
|
12885
|
-
};
|
|
12886
|
-
|
|
12887
|
-
// src/autogenerated/schemas/gPTV3ResponseDtoRole.ts
|
|
12888
|
-
var GPTV3ResponseDtoRole = {
|
|
12889
|
-
assistant: "assistant"
|
|
12890
|
-
};
|
|
12891
|
-
|
|
12892
12780
|
// src/autogenerated/schemas/gPTV3ResponseFileSearchToolCallDtoStatus.ts
|
|
12893
12781
|
var GPTV3ResponseFileSearchToolCallDtoStatus = {
|
|
12894
12782
|
in_progress: "in_progress",
|
|
@@ -13155,67 +13043,16 @@ var GPTV3ResponseReasoningItemSummaryDtoType = {
|
|
|
13155
13043
|
summary_text: "summary_text"
|
|
13156
13044
|
};
|
|
13157
13045
|
|
|
13158
|
-
// src/autogenerated/schemas/gPTV3SystemMessageDtoRole.ts
|
|
13159
|
-
var GPTV3SystemMessageDtoRole = {
|
|
13160
|
-
system: "system"
|
|
13161
|
-
};
|
|
13162
|
-
|
|
13163
|
-
// src/autogenerated/schemas/gPTV3SystemMessageDtoType.ts
|
|
13164
|
-
var GPTV3SystemMessageDtoType = {
|
|
13165
|
-
message: "message"
|
|
13166
|
-
};
|
|
13167
|
-
|
|
13168
13046
|
// src/autogenerated/schemas/gPTV3TextInputDtoType.ts
|
|
13169
13047
|
var GPTV3TextInputDtoType = {
|
|
13170
13048
|
input_text: "input_text"
|
|
13171
13049
|
};
|
|
13172
13050
|
|
|
13173
|
-
// src/autogenerated/schemas/gPTV3ToolChoiceDtoType.ts
|
|
13174
|
-
var GPTV3ToolChoiceDtoType = {
|
|
13175
|
-
none: "none",
|
|
13176
|
-
auto: "auto",
|
|
13177
|
-
required: "required",
|
|
13178
|
-
function: "function",
|
|
13179
|
-
file_search: "file_search",
|
|
13180
|
-
web_search_preview: "web_search_preview",
|
|
13181
|
-
image_generation: "image_generation"
|
|
13182
|
-
};
|
|
13183
|
-
|
|
13184
|
-
// src/autogenerated/schemas/gPTV3ToolDtoType.ts
|
|
13185
|
-
var GPTV3ToolDtoType = {
|
|
13186
|
-
function: "function",
|
|
13187
|
-
file_search: "file_search",
|
|
13188
|
-
web_search_preview: "web_search_preview",
|
|
13189
|
-
image_generation: "image_generation"
|
|
13190
|
-
};
|
|
13191
|
-
|
|
13192
|
-
// src/autogenerated/schemas/gPTV3UserMessageDtoRole.ts
|
|
13193
|
-
var GPTV3UserMessageDtoRole = {
|
|
13194
|
-
user: "user"
|
|
13195
|
-
};
|
|
13196
|
-
|
|
13197
|
-
// src/autogenerated/schemas/gPTV3UserMessageDtoType.ts
|
|
13198
|
-
var GPTV3UserMessageDtoType = {
|
|
13199
|
-
message: "message"
|
|
13200
|
-
};
|
|
13201
|
-
|
|
13202
13051
|
// src/autogenerated/schemas/gPTV3WebSearchCallDtoType.ts
|
|
13203
13052
|
var GPTV3WebSearchCallDtoType = {
|
|
13204
13053
|
web_search_preview: "web_search_preview"
|
|
13205
13054
|
};
|
|
13206
13055
|
|
|
13207
|
-
// src/autogenerated/schemas/gPTV3WebSearchResultDtoStatus.ts
|
|
13208
|
-
var GPTV3WebSearchResultDtoStatus = {
|
|
13209
|
-
completed: "completed",
|
|
13210
|
-
failed: "failed",
|
|
13211
|
-
pending: "pending"
|
|
13212
|
-
};
|
|
13213
|
-
|
|
13214
|
-
// src/autogenerated/schemas/gPTV3WebSearchResultDtoType.ts
|
|
13215
|
-
var GPTV3WebSearchResultDtoType = {
|
|
13216
|
-
web_search_call: "web_search_call"
|
|
13217
|
-
};
|
|
13218
|
-
|
|
13219
13056
|
// src/autogenerated/schemas/gPTV3WebSearchToolDtoSearchContextSize.ts
|
|
13220
13057
|
var GPTV3WebSearchToolDtoSearchContextSize = {
|
|
13221
13058
|
low: "low",
|
|
@@ -13543,21 +13380,6 @@ var ListStacksParamsDtoOrderBy = {
|
|
|
13543
13380
|
updatedAt_DESC: "updatedAt_DESC"
|
|
13544
13381
|
};
|
|
13545
13382
|
|
|
13546
|
-
// src/autogenerated/schemas/loraControllerListV1OrderBy.ts
|
|
13547
|
-
var LoraControllerListV1OrderBy = {
|
|
13548
|
-
createdAt_ASC: "createdAt_ASC",
|
|
13549
|
-
createdAt_DESC: "createdAt_DESC"
|
|
13550
|
-
};
|
|
13551
|
-
|
|
13552
|
-
// src/autogenerated/schemas/loraControllerListV1Status.ts
|
|
13553
|
-
var LoraControllerListV1Status = {
|
|
13554
|
-
starting: "starting",
|
|
13555
|
-
processing: "processing",
|
|
13556
|
-
succeeded: "succeeded",
|
|
13557
|
-
failed: "failed",
|
|
13558
|
-
canceled: "canceled"
|
|
13559
|
-
};
|
|
13560
|
-
|
|
13561
13383
|
// src/autogenerated/schemas/loraDtoStatus.ts
|
|
13562
13384
|
var LoraDtoStatus = {
|
|
13563
13385
|
starting: "starting",
|
|
@@ -13584,15 +13406,6 @@ var LoraTrainingResponseStatus = {
|
|
|
13584
13406
|
failed: "failed"
|
|
13585
13407
|
};
|
|
13586
13408
|
|
|
13587
|
-
// src/autogenerated/schemas/loraWebhookDtoStatus.ts
|
|
13588
|
-
var LoraWebhookDtoStatus = {
|
|
13589
|
-
starting: "starting",
|
|
13590
|
-
processing: "processing",
|
|
13591
|
-
succeeded: "succeeded",
|
|
13592
|
-
failed: "failed",
|
|
13593
|
-
canceled: "canceled"
|
|
13594
|
-
};
|
|
13595
|
-
|
|
13596
13409
|
// src/autogenerated/schemas/lumaPhotonV1InputAspectRatio.ts
|
|
13597
13410
|
var LumaPhotonV1InputAspectRatio = {
|
|
13598
13411
|
"1:1": "1:1",
|
|
@@ -14019,20 +13832,6 @@ var StacksControllerListStacksV1OrderBy = {
|
|
|
14019
13832
|
updatedAt_DESC: "updatedAt_DESC"
|
|
14020
13833
|
};
|
|
14021
13834
|
|
|
14022
|
-
// src/autogenerated/schemas/startNaomiTrainingParamsDtoLrScheduler.ts
|
|
14023
|
-
var StartNaomiTrainingParamsDtoLrScheduler = {
|
|
14024
|
-
linear: "linear",
|
|
14025
|
-
cosine: "cosine",
|
|
14026
|
-
polynomial: "polynomial"
|
|
14027
|
-
};
|
|
14028
|
-
|
|
14029
|
-
// src/autogenerated/schemas/startNaomiTrainingParamsDtoMixedPrecision.ts
|
|
14030
|
-
var StartNaomiTrainingParamsDtoMixedPrecision = {
|
|
14031
|
-
no: "no",
|
|
14032
|
-
fp16: "fp16",
|
|
14033
|
-
bf16: "bf16"
|
|
14034
|
-
};
|
|
14035
|
-
|
|
14036
13835
|
// src/autogenerated/schemas/startTrainingParamsDtoModelType.ts
|
|
14037
13836
|
var StartTrainingParamsDtoModelType = {
|
|
14038
13837
|
flux: "flux",
|
|
@@ -15414,10 +15213,9 @@ var usePipelinesApi = () => {
|
|
|
15414
15213
|
const sdk = this;
|
|
15415
15214
|
return builder(buildPipeline(sdk));
|
|
15416
15215
|
}),
|
|
15417
|
-
wait: wrapCustomMethod(async function(pipeline, timeoutMs = 6e4) {
|
|
15216
|
+
wait: wrapCustomMethod(async function(pipeline, timeoutMs = 6e4, delay = 3e3) {
|
|
15418
15217
|
const sdk = this;
|
|
15419
15218
|
const deadline = Date.now() + timeoutMs;
|
|
15420
|
-
const delay = 3e3;
|
|
15421
15219
|
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
15422
15220
|
const poll = async (id) => {
|
|
15423
15221
|
const pipeline2 = await sdk.pipelines.get(id);
|
|
@@ -15758,8 +15556,6 @@ var createTokenSigner = (options) => {
|
|
|
15758
15556
|
EchoV1ResponseStatus,
|
|
15759
15557
|
EditFluxKontextDevV1ResponseKind,
|
|
15760
15558
|
EditFluxKontextDevV1ResponseStatus,
|
|
15761
|
-
Flux11ProUltraV1ResponseKind,
|
|
15762
|
-
Flux11ProUltraV1ResponseStatus,
|
|
15763
15559
|
GPTV1InputModel,
|
|
15764
15560
|
GPTV2AssistantMessageDtoRole,
|
|
15765
15561
|
GPTV2DeveloperMessageDtoRole,
|
|
@@ -15772,29 +15568,16 @@ var createTokenSigner = (options) => {
|
|
|
15772
15568
|
GPTV2ToolDtoType,
|
|
15773
15569
|
GPTV2ToolMessageDtoRole,
|
|
15774
15570
|
GPTV2UserMessageDtoRole,
|
|
15775
|
-
GPTV3AnnotationDtoType,
|
|
15776
|
-
GPTV3AssistantMessageDtoRole,
|
|
15777
|
-
GPTV3AssistantMessageDtoType,
|
|
15778
|
-
GPTV3ContentWithAnnotationsDtoType,
|
|
15779
|
-
GPTV3DeveloperMessageDtoRole,
|
|
15780
|
-
GPTV3DeveloperMessageDtoType,
|
|
15781
15571
|
GPTV3FileSearchCallDtoType,
|
|
15782
|
-
GPTV3FileSearchResultDtoStatus,
|
|
15783
|
-
GPTV3FileSearchResultDtoType,
|
|
15784
15572
|
GPTV3FileSearchToolDtoType,
|
|
15785
|
-
GPTV3FunctionCallDtoType,
|
|
15786
15573
|
GPTV3FunctionToolDtoType,
|
|
15787
15574
|
GPTV3ImageGenerationCallDtoType,
|
|
15788
|
-
GPTV3ImageGenerationResultDtoStatus,
|
|
15789
|
-
GPTV3ImageGenerationResultDtoType,
|
|
15790
15575
|
GPTV3ImageGenerationToolDtoQuality,
|
|
15791
15576
|
GPTV3ImageGenerationToolDtoSize,
|
|
15792
15577
|
GPTV3ImageGenerationToolDtoType,
|
|
15793
15578
|
GPTV3ImageInputDtoDetail,
|
|
15794
15579
|
GPTV3ImageInputDtoType,
|
|
15795
15580
|
GPTV3InputModel,
|
|
15796
|
-
GPTV3MessageContentDtoRole,
|
|
15797
|
-
GPTV3MessageContentDtoType,
|
|
15798
15581
|
GPTV3OutputKind,
|
|
15799
15582
|
GPTV3ResponseCodeInterpreterToolCallDtoStatus,
|
|
15800
15583
|
GPTV3ResponseCodeInterpreterToolCallDtoType,
|
|
@@ -15815,8 +15598,6 @@ var createTokenSigner = (options) => {
|
|
|
15815
15598
|
GPTV3ResponseCustomToolCallDtoStatus,
|
|
15816
15599
|
GPTV3ResponseCustomToolCallDtoType,
|
|
15817
15600
|
GPTV3ResponseCustomToolCallOutputDtoType,
|
|
15818
|
-
GPTV3ResponseDtoFinishReason,
|
|
15819
|
-
GPTV3ResponseDtoRole,
|
|
15820
15601
|
GPTV3ResponseFileSearchToolCallDtoStatus,
|
|
15821
15602
|
GPTV3ResponseFileSearchToolCallDtoType,
|
|
15822
15603
|
GPTV3ResponseFormatJsonSchemaDtoType,
|
|
@@ -15864,16 +15645,8 @@ var createTokenSigner = (options) => {
|
|
|
15864
15645
|
GPTV3ResponseReasoningItemDtoStatus,
|
|
15865
15646
|
GPTV3ResponseReasoningItemDtoType,
|
|
15866
15647
|
GPTV3ResponseReasoningItemSummaryDtoType,
|
|
15867
|
-
GPTV3SystemMessageDtoRole,
|
|
15868
|
-
GPTV3SystemMessageDtoType,
|
|
15869
15648
|
GPTV3TextInputDtoType,
|
|
15870
|
-
GPTV3ToolChoiceDtoType,
|
|
15871
|
-
GPTV3ToolDtoType,
|
|
15872
|
-
GPTV3UserMessageDtoRole,
|
|
15873
|
-
GPTV3UserMessageDtoType,
|
|
15874
15649
|
GPTV3WebSearchCallDtoType,
|
|
15875
|
-
GPTV3WebSearchResultDtoStatus,
|
|
15876
|
-
GPTV3WebSearchResultDtoType,
|
|
15877
15650
|
GPTV3WebSearchToolDtoSearchContextSize,
|
|
15878
15651
|
GPTV3WebSearchToolDtoType,
|
|
15879
15652
|
GetImageRepresentationParamsDtoType,
|
|
@@ -15917,13 +15690,10 @@ var createTokenSigner = (options) => {
|
|
|
15917
15690
|
ListOperationsParamsDtoOrderBy,
|
|
15918
15691
|
ListPosesParamsDtoOrderBy,
|
|
15919
15692
|
ListStacksParamsDtoOrderBy,
|
|
15920
|
-
LoraControllerListV1OrderBy,
|
|
15921
|
-
LoraControllerListV1Status,
|
|
15922
15693
|
LoraDtoStatus,
|
|
15923
15694
|
LoraTrainingOutputKind,
|
|
15924
15695
|
LoraTrainingResponseKind,
|
|
15925
15696
|
LoraTrainingResponseStatus,
|
|
15926
|
-
LoraWebhookDtoStatus,
|
|
15927
15697
|
LumaPhotonV1InputAspectRatio,
|
|
15928
15698
|
LumaPhotonV1ResponseKind,
|
|
15929
15699
|
LumaPhotonV1ResponseStatus,
|
|
@@ -15987,8 +15757,6 @@ var createTokenSigner = (options) => {
|
|
|
15987
15757
|
SelfAccountDtoType,
|
|
15988
15758
|
StackEntityKind,
|
|
15989
15759
|
StacksControllerListStacksV1OrderBy,
|
|
15990
|
-
StartNaomiTrainingParamsDtoLrScheduler,
|
|
15991
|
-
StartNaomiTrainingParamsDtoMixedPrecision,
|
|
15992
15760
|
StartTrainingParamsDtoModelType,
|
|
15993
15761
|
StorageEntityKind,
|
|
15994
15762
|
StringsTemplateV1ResponseKind,
|