@civitai/orchestration-client 0.2.0-beta.101 → 0.2.0-beta.103
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/client/CivitaiClient.d.ts +7 -5
- package/dist/generated/client/index.d.ts +17 -2
- package/dist/generated/client/types.gen.d.ts +167 -89
- package/dist/generated/client/utils.gen.d.ts +44 -19
- package/dist/generated/client.gen.d.ts +4 -2
- package/dist/generated/core/auth.gen.d.ts +18 -15
- package/dist/generated/core/bodySerializer.gen.d.ts +11 -11
- package/dist/generated/core/params.gen.d.ts +42 -36
- package/dist/generated/core/pathSerializer.gen.d.ts +35 -19
- package/dist/generated/core/queryKeySerializer.gen.d.ts +9 -3
- package/dist/generated/core/serverSentEvents.gen.d.ts +25 -8
- package/dist/generated/core/types.gen.d.ts +98 -70
- package/dist/generated/core/utils.gen.d.ts +17 -11
- package/dist/generated/index.d.ts +1404 -2
- package/dist/generated/sdk.gen.d.ts +892 -93
- package/dist/generated/types.gen.d.ts +11532 -10267
- package/dist/utils/Air.d.ts +17 -17
- package/dist/utils/TimeSpan.d.ts +43 -36
- package/dist/utils/patch-json.d.ts +91 -25
- package/package.json +58 -55
|
@@ -1,94 +1,451 @@
|
|
|
1
1
|
import type { Client, Options as Options2, TDataShape } from './client';
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
2
|
+
import type {
|
|
3
|
+
AddWorkflowTagData,
|
|
4
|
+
AddWorkflowTagErrors,
|
|
5
|
+
AddWorkflowTagResponses,
|
|
6
|
+
DeleteWorkflowData,
|
|
7
|
+
DeleteWorkflowErrors,
|
|
8
|
+
DeleteWorkflowResponses,
|
|
9
|
+
GetBlobArchiveData,
|
|
10
|
+
GetBlobArchiveErrors,
|
|
11
|
+
GetBlobArchiveResponses,
|
|
12
|
+
GetBlobContentData,
|
|
13
|
+
GetBlobContentErrors,
|
|
14
|
+
GetBlobContentResponses,
|
|
15
|
+
GetBlobData,
|
|
16
|
+
GetBlobErrors,
|
|
17
|
+
GetBlockedContentData,
|
|
18
|
+
GetBlockedContentErrors,
|
|
19
|
+
GetConsumerBlobUploadUrlData,
|
|
20
|
+
GetConsumerBlobUploadUrlErrors,
|
|
21
|
+
GetConsumerBlobUploadUrlResponses,
|
|
22
|
+
GetResourceData,
|
|
23
|
+
GetResourceErrors,
|
|
24
|
+
GetResourceResponses,
|
|
25
|
+
GetServiceData,
|
|
26
|
+
GetServiceErrors,
|
|
27
|
+
GetServiceResponses,
|
|
28
|
+
GetStreamingBlobData,
|
|
29
|
+
GetStreamingBlobErrors,
|
|
30
|
+
GetStreamingBlobResponses,
|
|
31
|
+
GetWorkflowData,
|
|
32
|
+
GetWorkflowErrors,
|
|
33
|
+
GetWorkflowResponses,
|
|
34
|
+
GetWorkflowStepData,
|
|
35
|
+
GetWorkflowStepErrors,
|
|
36
|
+
GetWorkflowStepResponses,
|
|
37
|
+
HeadBlobData,
|
|
38
|
+
HeadBlobErrors,
|
|
39
|
+
HeadBlobResponses,
|
|
40
|
+
InvalidateUserCacheData,
|
|
41
|
+
InvalidateUserCacheErrors,
|
|
42
|
+
InvalidateUserCacheResponses,
|
|
43
|
+
InvalidateUserTokensData,
|
|
44
|
+
InvalidateUserTokensErrors,
|
|
45
|
+
InvalidateUserTokensResponses,
|
|
46
|
+
InvokeAceStepAudioStepTemplateData,
|
|
47
|
+
InvokeAceStepAudioStepTemplateErrors,
|
|
48
|
+
InvokeAceStepAudioStepTemplateResponses,
|
|
49
|
+
InvokeAgeClassificationStepTemplateData,
|
|
50
|
+
InvokeAgeClassificationStepTemplateErrors,
|
|
51
|
+
InvokeAgeClassificationStepTemplateResponses,
|
|
52
|
+
InvokeAudioCaptioningStepTemplateData,
|
|
53
|
+
InvokeAudioCaptioningStepTemplateErrors,
|
|
54
|
+
InvokeAudioCaptioningStepTemplateResponses,
|
|
55
|
+
InvokeBatchOcrSafetyClassificationStepTemplateData,
|
|
56
|
+
InvokeBatchOcrSafetyClassificationStepTemplateErrors,
|
|
57
|
+
InvokeBatchOcrSafetyClassificationStepTemplateResponses,
|
|
58
|
+
InvokeBlobArchiveStepTemplateData,
|
|
59
|
+
InvokeBlobArchiveStepTemplateErrors,
|
|
60
|
+
InvokeBlobArchiveStepTemplateResponses,
|
|
61
|
+
InvokeChatCompletionStepTemplateData,
|
|
62
|
+
InvokeChatCompletionStepTemplateErrors,
|
|
63
|
+
InvokeChatCompletionStepTemplateResponses,
|
|
64
|
+
InvokeComfyNodepackSnapshotStepTemplateData,
|
|
65
|
+
InvokeComfyNodepackSnapshotStepTemplateErrors,
|
|
66
|
+
InvokeComfyNodepackSnapshotStepTemplateResponses,
|
|
67
|
+
InvokeComfyStepTemplateData,
|
|
68
|
+
InvokeComfyStepTemplateErrors,
|
|
69
|
+
InvokeComfyStepTemplateResponses,
|
|
70
|
+
InvokeComposeMediaStepTemplateData,
|
|
71
|
+
InvokeComposeMediaStepTemplateErrors,
|
|
72
|
+
InvokeComposeMediaStepTemplateResponses,
|
|
73
|
+
InvokeConvertImageStepTemplateData,
|
|
74
|
+
InvokeConvertImageStepTemplateErrors,
|
|
75
|
+
InvokeConvertImageStepTemplateResponses,
|
|
76
|
+
InvokeCustomComfyStepTemplateData,
|
|
77
|
+
InvokeCustomComfyStepTemplateErrors,
|
|
78
|
+
InvokeCustomComfyStepTemplateResponses,
|
|
79
|
+
InvokeEchoStepTemplateData,
|
|
80
|
+
InvokeEchoStepTemplateErrors,
|
|
81
|
+
InvokeEchoStepTemplateResponses,
|
|
82
|
+
InvokeHumanoidImageMaskStepTemplateData,
|
|
83
|
+
InvokeHumanoidImageMaskStepTemplateErrors,
|
|
84
|
+
InvokeHumanoidImageMaskStepTemplateResponses,
|
|
85
|
+
InvokeImageBackgroundRemovalStepTemplateData,
|
|
86
|
+
InvokeImageBackgroundRemovalStepTemplateErrors,
|
|
87
|
+
InvokeImageBackgroundRemovalStepTemplateResponses,
|
|
88
|
+
InvokeImageGenStepTemplateData,
|
|
89
|
+
InvokeImageGenStepTemplateErrors,
|
|
90
|
+
InvokeImageGenStepTemplateResponses,
|
|
91
|
+
InvokeImageResourceTrainingStepTemplateData,
|
|
92
|
+
InvokeImageResourceTrainingStepTemplateErrors,
|
|
93
|
+
InvokeImageResourceTrainingStepTemplateResponses,
|
|
94
|
+
InvokeImageToSvgStepTemplateData,
|
|
95
|
+
InvokeImageToSvgStepTemplateErrors,
|
|
96
|
+
InvokeImageToSvgStepTemplateResponses,
|
|
97
|
+
InvokeImageUploadStepTemplateData,
|
|
98
|
+
InvokeImageUploadStepTemplateErrors,
|
|
99
|
+
InvokeImageUploadStepTemplateResponses,
|
|
100
|
+
InvokeImageUpscalerStepTemplateData,
|
|
101
|
+
InvokeImageUpscalerStepTemplateErrors,
|
|
102
|
+
InvokeImageUpscalerStepTemplateResponses,
|
|
103
|
+
InvokeMediaCaptioningStepTemplateData,
|
|
104
|
+
InvokeMediaCaptioningStepTemplateErrors,
|
|
105
|
+
InvokeMediaCaptioningStepTemplateResponses,
|
|
106
|
+
InvokeMediaHashStepTemplateData,
|
|
107
|
+
InvokeMediaHashStepTemplateErrors,
|
|
108
|
+
InvokeMediaHashStepTemplateResponses,
|
|
109
|
+
InvokeMediaRatingStepTemplateData,
|
|
110
|
+
InvokeMediaRatingStepTemplateErrors,
|
|
111
|
+
InvokeMediaRatingStepTemplateResponses,
|
|
112
|
+
InvokeMiniMaxMusic3StepTemplateData,
|
|
113
|
+
InvokeMiniMaxMusic3StepTemplateErrors,
|
|
114
|
+
InvokeMiniMaxMusic3StepTemplateResponses,
|
|
115
|
+
InvokeModel3dPreviewStepTemplateData,
|
|
116
|
+
InvokeModel3dPreviewStepTemplateErrors,
|
|
117
|
+
InvokeModel3dPreviewStepTemplateResponses,
|
|
118
|
+
InvokeModelClamScanStepTemplateData,
|
|
119
|
+
InvokeModelClamScanStepTemplateErrors,
|
|
120
|
+
InvokeModelClamScanStepTemplateResponses,
|
|
121
|
+
InvokeModelHashStepTemplateData,
|
|
122
|
+
InvokeModelHashStepTemplateErrors,
|
|
123
|
+
InvokeModelHashStepTemplateResponses,
|
|
124
|
+
InvokeModelParseMetadataStepTemplateData,
|
|
125
|
+
InvokeModelParseMetadataStepTemplateErrors,
|
|
126
|
+
InvokeModelParseMetadataStepTemplateResponses,
|
|
127
|
+
InvokeModelPickleScanStepTemplateData,
|
|
128
|
+
InvokeModelPickleScanStepTemplateErrors,
|
|
129
|
+
InvokeModelPickleScanStepTemplateResponses,
|
|
130
|
+
InvokePolyGenStepTemplateData,
|
|
131
|
+
InvokePolyGenStepTemplateErrors,
|
|
132
|
+
InvokePolyGenStepTemplateResponses,
|
|
133
|
+
InvokePrepareResourceStepTemplateData,
|
|
134
|
+
InvokePrepareResourceStepTemplateErrors,
|
|
135
|
+
InvokePrepareResourceStepTemplateResponses,
|
|
136
|
+
InvokePreprocessImageStepTemplateData,
|
|
137
|
+
InvokePreprocessImageStepTemplateErrors,
|
|
138
|
+
InvokePreprocessImageStepTemplateResponses,
|
|
139
|
+
InvokePreprocessVideoStepTemplateData,
|
|
140
|
+
InvokePreprocessVideoStepTemplateErrors,
|
|
141
|
+
InvokePreprocessVideoStepTemplateResponses,
|
|
142
|
+
InvokePromptEnhancementStepTemplateData,
|
|
143
|
+
InvokePromptEnhancementStepTemplateErrors,
|
|
144
|
+
InvokePromptEnhancementStepTemplateResponses,
|
|
145
|
+
InvokeQwenImageBenchStepTemplateData,
|
|
146
|
+
InvokeQwenImageBenchStepTemplateErrors,
|
|
147
|
+
InvokeQwenImageBenchStepTemplateResponses,
|
|
148
|
+
InvokeRepeatStepTemplateData,
|
|
149
|
+
InvokeRepeatStepTemplateErrors,
|
|
150
|
+
InvokeRepeatStepTemplateResponses,
|
|
151
|
+
InvokeShieldstralModerationStepTemplateData,
|
|
152
|
+
InvokeShieldstralModerationStepTemplateErrors,
|
|
153
|
+
InvokeShieldstralModerationStepTemplateResponses,
|
|
154
|
+
InvokeTextToImageStepTemplateData,
|
|
155
|
+
InvokeTextToImageStepTemplateErrors,
|
|
156
|
+
InvokeTextToImageStepTemplateResponses,
|
|
157
|
+
InvokeTextToSpeechStepTemplateData,
|
|
158
|
+
InvokeTextToSpeechStepTemplateErrors,
|
|
159
|
+
InvokeTextToSpeechStepTemplateResponses,
|
|
160
|
+
InvokeTrainingStepTemplateData,
|
|
161
|
+
InvokeTrainingStepTemplateErrors,
|
|
162
|
+
InvokeTrainingStepTemplateResponses,
|
|
163
|
+
InvokeTranscodeStepTemplateData,
|
|
164
|
+
InvokeTranscodeStepTemplateErrors,
|
|
165
|
+
InvokeTranscodeStepTemplateResponses,
|
|
166
|
+
InvokeTranscriptionStepTemplateData,
|
|
167
|
+
InvokeTranscriptionStepTemplateErrors,
|
|
168
|
+
InvokeTranscriptionStepTemplateResponses,
|
|
169
|
+
InvokeTryOnUStepTemplateData,
|
|
170
|
+
InvokeTryOnUStepTemplateErrors,
|
|
171
|
+
InvokeTryOnUStepTemplateResponses,
|
|
172
|
+
InvokeVideoBackgroundRemovalStepTemplateData,
|
|
173
|
+
InvokeVideoBackgroundRemovalStepTemplateErrors,
|
|
174
|
+
InvokeVideoBackgroundRemovalStepTemplateResponses,
|
|
175
|
+
InvokeVideoEnhancementStepTemplateData,
|
|
176
|
+
InvokeVideoEnhancementStepTemplateErrors,
|
|
177
|
+
InvokeVideoEnhancementStepTemplateResponses,
|
|
178
|
+
InvokeVideoFrameExtractionStepTemplateData,
|
|
179
|
+
InvokeVideoFrameExtractionStepTemplateErrors,
|
|
180
|
+
InvokeVideoFrameExtractionStepTemplateResponses,
|
|
181
|
+
InvokeVideoGenStepTemplateData,
|
|
182
|
+
InvokeVideoGenStepTemplateErrors,
|
|
183
|
+
InvokeVideoGenStepTemplateResponses,
|
|
184
|
+
InvokeVideoInterpolationStepTemplateData,
|
|
185
|
+
InvokeVideoInterpolationStepTemplateErrors,
|
|
186
|
+
InvokeVideoInterpolationStepTemplateResponses,
|
|
187
|
+
InvokeVideoMetadataStepTemplateData,
|
|
188
|
+
InvokeVideoMetadataStepTemplateErrors,
|
|
189
|
+
InvokeVideoMetadataStepTemplateResponses,
|
|
190
|
+
InvokeVideoUpscalerStepTemplateData,
|
|
191
|
+
InvokeVideoUpscalerStepTemplateErrors,
|
|
192
|
+
InvokeVideoUpscalerStepTemplateResponses,
|
|
193
|
+
InvokeWdTaggingStepTemplateData,
|
|
194
|
+
InvokeWdTaggingStepTemplateErrors,
|
|
195
|
+
InvokeWdTaggingStepTemplateResponses,
|
|
196
|
+
InvokeWebScrapeStepTemplateData,
|
|
197
|
+
InvokeWebScrapeStepTemplateErrors,
|
|
198
|
+
InvokeWebScrapeStepTemplateResponses,
|
|
199
|
+
InvokeWebSearchStepTemplateData,
|
|
200
|
+
InvokeWebSearchStepTemplateErrors,
|
|
201
|
+
InvokeWebSearchStepTemplateResponses,
|
|
202
|
+
InvokeXGuardModerationStepTemplateData,
|
|
203
|
+
InvokeXGuardModerationStepTemplateErrors,
|
|
204
|
+
InvokeXGuardModerationStepTemplateResponses,
|
|
205
|
+
ListServicesData,
|
|
206
|
+
ListServicesErrors,
|
|
207
|
+
ListServicesResponses,
|
|
208
|
+
PatchWorkflowData,
|
|
209
|
+
PatchWorkflowErrors,
|
|
210
|
+
PatchWorkflowResponses,
|
|
211
|
+
PatchWorkflowStepData,
|
|
212
|
+
PatchWorkflowStepErrors,
|
|
213
|
+
PatchWorkflowStepResponses,
|
|
214
|
+
QueryResourcesData,
|
|
215
|
+
QueryResourcesErrors,
|
|
216
|
+
QueryResourcesResponses,
|
|
217
|
+
QueryWorkflowsData,
|
|
218
|
+
QueryWorkflowsErrors,
|
|
219
|
+
QueryWorkflowsResponses,
|
|
220
|
+
RefreshBlobData,
|
|
221
|
+
RefreshBlobErrors,
|
|
222
|
+
RefreshBlobResponses,
|
|
223
|
+
RemoveAllWorkflowTagsData,
|
|
224
|
+
RemoveAllWorkflowTagsErrors,
|
|
225
|
+
RemoveAllWorkflowTagsResponses,
|
|
226
|
+
RemoveWorkflowTagData,
|
|
227
|
+
RemoveWorkflowTagErrors,
|
|
228
|
+
RemoveWorkflowTagResponses,
|
|
229
|
+
SubmitWorkflowData,
|
|
230
|
+
SubmitWorkflowErrors,
|
|
231
|
+
SubmitWorkflowResponses,
|
|
232
|
+
UpdateWorkflowData,
|
|
233
|
+
UpdateWorkflowErrors,
|
|
234
|
+
UpdateWorkflowResponses,
|
|
235
|
+
UpdateWorkflowStepData,
|
|
236
|
+
UpdateWorkflowStepErrors,
|
|
237
|
+
UpdateWorkflowStepResponses,
|
|
238
|
+
UploadConsumerBlobData,
|
|
239
|
+
UploadConsumerBlobErrors,
|
|
240
|
+
UploadConsumerBlobResponses,
|
|
241
|
+
} from './types.gen';
|
|
242
|
+
export type Options<
|
|
243
|
+
TData extends TDataShape = TDataShape,
|
|
244
|
+
ThrowOnError extends boolean = boolean,
|
|
245
|
+
> = Options2<TData, ThrowOnError> & {
|
|
246
|
+
/**
|
|
247
|
+
* You can provide a client instance returned by `createClient()` instead of
|
|
248
|
+
* individual options. This might be also useful if you want to implement a
|
|
249
|
+
* custom client.
|
|
250
|
+
*/
|
|
251
|
+
client?: Client;
|
|
252
|
+
/**
|
|
253
|
+
* You can pass arbitrary values through the `meta` object. This can be
|
|
254
|
+
* used to access values that aren't defined as part of the SDK function.
|
|
255
|
+
*/
|
|
256
|
+
meta?: Record<string, unknown>;
|
|
15
257
|
};
|
|
16
258
|
/**
|
|
17
259
|
* Get blob by ID. This will redirect to a cacheable content URL.
|
|
18
260
|
*/
|
|
19
|
-
export declare const getBlob: <ThrowOnError extends boolean = false>(
|
|
261
|
+
export declare const getBlob: <ThrowOnError extends boolean = false>(
|
|
262
|
+
options: Options<GetBlobData, ThrowOnError>
|
|
263
|
+
) => import('./client').RequestResult<unknown, GetBlobErrors, ThrowOnError, 'fields'>;
|
|
20
264
|
/**
|
|
21
265
|
* Handles HTTP HEAD requests for a specific blob, checking its existence and NSFW level.
|
|
22
266
|
*/
|
|
23
|
-
export declare const headBlob: <ThrowOnError extends boolean = false>(
|
|
267
|
+
export declare const headBlob: <ThrowOnError extends boolean = false>(
|
|
268
|
+
options: Options<HeadBlobData, ThrowOnError>
|
|
269
|
+
) => import('./client').RequestResult<HeadBlobResponses, HeadBlobErrors, ThrowOnError, 'fields'>;
|
|
24
270
|
/**
|
|
25
271
|
* Get a presigned URL for browser uploads.
|
|
26
272
|
* The returned URL points to POST /v2/consumer/blobs with a signature for authentication.
|
|
27
273
|
*/
|
|
28
|
-
export declare const getConsumerBlobUploadUrl: <ThrowOnError extends boolean = false>(
|
|
274
|
+
export declare const getConsumerBlobUploadUrl: <ThrowOnError extends boolean = false>(
|
|
275
|
+
options?: Options<GetConsumerBlobUploadUrlData, ThrowOnError>
|
|
276
|
+
) => import('./client').RequestResult<
|
|
277
|
+
GetConsumerBlobUploadUrlResponses,
|
|
278
|
+
GetConsumerBlobUploadUrlErrors,
|
|
279
|
+
ThrowOnError,
|
|
280
|
+
'fields'
|
|
281
|
+
>;
|
|
29
282
|
/**
|
|
30
283
|
* Upload a blob directly with on-the-fly moderation.
|
|
31
284
|
* Supports both authenticated requests (Bearer token) and presigned URLs (sig query param).
|
|
32
285
|
*/
|
|
33
|
-
export declare const uploadConsumerBlob: <ThrowOnError extends boolean = false>(
|
|
286
|
+
export declare const uploadConsumerBlob: <ThrowOnError extends boolean = false>(
|
|
287
|
+
options?: Options<UploadConsumerBlobData, ThrowOnError>
|
|
288
|
+
) => import('./client').RequestResult<
|
|
289
|
+
UploadConsumerBlobResponses,
|
|
290
|
+
UploadConsumerBlobErrors,
|
|
291
|
+
ThrowOnError,
|
|
292
|
+
'fields'
|
|
293
|
+
>;
|
|
34
294
|
/**
|
|
35
295
|
* Serves cacheable blob content using a deterministic encrypted token
|
|
36
296
|
*/
|
|
37
|
-
export declare const getBlobContent: <ThrowOnError extends boolean = false>(
|
|
297
|
+
export declare const getBlobContent: <ThrowOnError extends boolean = false>(
|
|
298
|
+
options: Options<GetBlobContentData, ThrowOnError>
|
|
299
|
+
) => import('./client').RequestResult<
|
|
300
|
+
GetBlobContentResponses,
|
|
301
|
+
GetBlobContentErrors,
|
|
302
|
+
ThrowOnError,
|
|
303
|
+
'fields'
|
|
304
|
+
>;
|
|
38
305
|
/**
|
|
39
306
|
* Serves a blocked placeholder image with the specified dimensions
|
|
40
307
|
*/
|
|
41
|
-
export declare const getBlockedContent: <ThrowOnError extends boolean = false>(
|
|
308
|
+
export declare const getBlockedContent: <ThrowOnError extends boolean = false>(
|
|
309
|
+
options: Options<GetBlockedContentData, ThrowOnError>
|
|
310
|
+
) => import('./client').RequestResult<unknown, GetBlockedContentErrors, ThrowOnError, 'fields'>;
|
|
42
311
|
/**
|
|
43
312
|
* Streams an archive (zip or tar) of the blobs referenced by a signed archive token.
|
|
44
313
|
* Tokens are produced by the `blobArchive` workflow step.
|
|
45
314
|
*/
|
|
46
|
-
export declare const getBlobArchive: <ThrowOnError extends boolean = false>(
|
|
315
|
+
export declare const getBlobArchive: <ThrowOnError extends boolean = false>(
|
|
316
|
+
options: Options<GetBlobArchiveData, ThrowOnError>
|
|
317
|
+
) => import('./client').RequestResult<
|
|
318
|
+
GetBlobArchiveResponses,
|
|
319
|
+
GetBlobArchiveErrors,
|
|
320
|
+
ThrowOnError,
|
|
321
|
+
'fields'
|
|
322
|
+
>;
|
|
47
323
|
/**
|
|
48
324
|
* Refresh a blob's URL and debounce its lifetime.
|
|
49
325
|
* Returns a fresh presigned URL and resets the 30-day TTL.
|
|
50
326
|
*/
|
|
51
|
-
export declare const refreshBlob: <ThrowOnError extends boolean = false>(
|
|
52
|
-
|
|
53
|
-
|
|
327
|
+
export declare const refreshBlob: <ThrowOnError extends boolean = false>(
|
|
328
|
+
options: Options<RefreshBlobData, ThrowOnError>
|
|
329
|
+
) => import('./client').RequestResult<
|
|
330
|
+
RefreshBlobResponses,
|
|
331
|
+
RefreshBlobErrors,
|
|
332
|
+
ThrowOnError,
|
|
333
|
+
'fields'
|
|
334
|
+
>;
|
|
335
|
+
export declare const invalidateUserCache: <ThrowOnError extends boolean = false>(
|
|
336
|
+
options: Options<InvalidateUserCacheData, ThrowOnError>
|
|
337
|
+
) => import('./client').RequestResult<
|
|
338
|
+
InvalidateUserCacheResponses,
|
|
339
|
+
InvalidateUserCacheErrors,
|
|
340
|
+
ThrowOnError,
|
|
341
|
+
'fields'
|
|
342
|
+
>;
|
|
343
|
+
export declare const invalidateUserTokens: <ThrowOnError extends boolean = false>(
|
|
344
|
+
options: Options<InvalidateUserTokensData, ThrowOnError>
|
|
345
|
+
) => import('./client').RequestResult<
|
|
346
|
+
InvalidateUserTokensResponses,
|
|
347
|
+
InvalidateUserTokensErrors,
|
|
348
|
+
ThrowOnError,
|
|
349
|
+
'fields'
|
|
350
|
+
>;
|
|
54
351
|
/**
|
|
55
352
|
* Workflow step for generating music using ACE Step 1.5.
|
|
56
353
|
* /// Produces full songs from text descriptions and structured lyrics.
|
|
57
354
|
*/
|
|
58
|
-
export declare const invokeAceStepAudioStepTemplate: <ThrowOnError extends boolean = false>(
|
|
355
|
+
export declare const invokeAceStepAudioStepTemplate: <ThrowOnError extends boolean = false>(
|
|
356
|
+
options?: Options<InvokeAceStepAudioStepTemplateData, ThrowOnError>
|
|
357
|
+
) => import('./client').RequestResult<
|
|
358
|
+
InvokeAceStepAudioStepTemplateResponses,
|
|
359
|
+
InvokeAceStepAudioStepTemplateErrors,
|
|
360
|
+
ThrowOnError,
|
|
361
|
+
'fields'
|
|
362
|
+
>;
|
|
59
363
|
/**
|
|
60
364
|
* Age classification
|
|
61
365
|
*
|
|
62
366
|
* Detects minors in media content. Returns a boolean value indicating whether the content contains minors as well as details on where minors are detected.
|
|
63
367
|
*/
|
|
64
|
-
export declare const invokeAgeClassificationStepTemplate: <ThrowOnError extends boolean = false>(
|
|
368
|
+
export declare const invokeAgeClassificationStepTemplate: <ThrowOnError extends boolean = false>(
|
|
369
|
+
options?: Options<InvokeAgeClassificationStepTemplateData, ThrowOnError>
|
|
370
|
+
) => import('./client').RequestResult<
|
|
371
|
+
InvokeAgeClassificationStepTemplateResponses,
|
|
372
|
+
InvokeAgeClassificationStepTemplateErrors,
|
|
373
|
+
ThrowOnError,
|
|
374
|
+
'fields'
|
|
375
|
+
>;
|
|
65
376
|
/**
|
|
66
377
|
* Audio Captioning
|
|
67
378
|
*
|
|
68
379
|
* Generates music captions, lyrics, and metadata by running the ACE-Step captioner and transcriber models.
|
|
69
380
|
*/
|
|
70
|
-
export declare const invokeAudioCaptioningStepTemplate: <ThrowOnError extends boolean = false>(
|
|
71
|
-
|
|
381
|
+
export declare const invokeAudioCaptioningStepTemplate: <ThrowOnError extends boolean = false>(
|
|
382
|
+
options?: Options<InvokeAudioCaptioningStepTemplateData, ThrowOnError>
|
|
383
|
+
) => import('./client').RequestResult<
|
|
384
|
+
InvokeAudioCaptioningStepTemplateResponses,
|
|
385
|
+
InvokeAudioCaptioningStepTemplateErrors,
|
|
386
|
+
ThrowOnError,
|
|
387
|
+
'fields'
|
|
388
|
+
>;
|
|
389
|
+
export declare const invokeBatchOcrSafetyClassificationStepTemplate: <
|
|
390
|
+
ThrowOnError extends boolean = false,
|
|
391
|
+
>(
|
|
392
|
+
options?: Options<InvokeBatchOcrSafetyClassificationStepTemplateData, ThrowOnError>
|
|
393
|
+
) => import('./client').RequestResult<
|
|
394
|
+
InvokeBatchOcrSafetyClassificationStepTemplateResponses,
|
|
395
|
+
InvokeBatchOcrSafetyClassificationStepTemplateErrors,
|
|
396
|
+
ThrowOnError,
|
|
397
|
+
'fields'
|
|
398
|
+
>;
|
|
72
399
|
/**
|
|
73
400
|
* Bundles a set of blobs into a single archive (zip or tar) that callers can
|
|
74
401
|
* /// download from a signed streaming URL. Runs in-process in the orchestrator;
|
|
75
402
|
* /// no worker job is dispatched.
|
|
76
403
|
*/
|
|
77
|
-
export declare const invokeBlobArchiveStepTemplate: <ThrowOnError extends boolean = false>(
|
|
404
|
+
export declare const invokeBlobArchiveStepTemplate: <ThrowOnError extends boolean = false>(
|
|
405
|
+
options?: Options<InvokeBlobArchiveStepTemplateData, ThrowOnError>
|
|
406
|
+
) => import('./client').RequestResult<
|
|
407
|
+
InvokeBlobArchiveStepTemplateResponses,
|
|
408
|
+
InvokeBlobArchiveStepTemplateErrors,
|
|
409
|
+
ThrowOnError,
|
|
410
|
+
'fields'
|
|
411
|
+
>;
|
|
78
412
|
/**
|
|
79
413
|
* ChatCompletion
|
|
80
414
|
*
|
|
81
415
|
* Generate chat completions using language models with support for text and image inputs.
|
|
82
416
|
* /// Compatible with OpenAI Chat Completions API format.
|
|
83
417
|
*/
|
|
84
|
-
export declare const invokeChatCompletionStepTemplate: <ThrowOnError extends boolean = false>(
|
|
418
|
+
export declare const invokeChatCompletionStepTemplate: <ThrowOnError extends boolean = false>(
|
|
419
|
+
options?: Options<InvokeChatCompletionStepTemplateData, ThrowOnError>
|
|
420
|
+
) => import('./client').RequestResult<
|
|
421
|
+
InvokeChatCompletionStepTemplateResponses,
|
|
422
|
+
InvokeChatCompletionStepTemplateErrors,
|
|
423
|
+
ThrowOnError,
|
|
424
|
+
'fields'
|
|
425
|
+
>;
|
|
85
426
|
/**
|
|
86
427
|
* Comfy workflows
|
|
87
428
|
*
|
|
88
429
|
* Runs a comfy workflow. Currently there are limited nodes available. Contact support for more information.
|
|
89
430
|
*/
|
|
90
|
-
export declare const invokeComfyStepTemplate: <ThrowOnError extends boolean = false>(
|
|
91
|
-
|
|
431
|
+
export declare const invokeComfyStepTemplate: <ThrowOnError extends boolean = false>(
|
|
432
|
+
options?: Options<InvokeComfyStepTemplateData, ThrowOnError>
|
|
433
|
+
) => import('./client').RequestResult<
|
|
434
|
+
InvokeComfyStepTemplateResponses,
|
|
435
|
+
InvokeComfyStepTemplateErrors,
|
|
436
|
+
ThrowOnError,
|
|
437
|
+
'fields'
|
|
438
|
+
>;
|
|
439
|
+
export declare const invokeComfyNodepackSnapshotStepTemplate: <
|
|
440
|
+
ThrowOnError extends boolean = false,
|
|
441
|
+
>(
|
|
442
|
+
options?: Options<InvokeComfyNodepackSnapshotStepTemplateData, ThrowOnError>
|
|
443
|
+
) => import('./client').RequestResult<
|
|
444
|
+
InvokeComfyNodepackSnapshotStepTemplateResponses,
|
|
445
|
+
InvokeComfyNodepackSnapshotStepTemplateErrors,
|
|
446
|
+
ThrowOnError,
|
|
447
|
+
'fields'
|
|
448
|
+
>;
|
|
92
449
|
/**
|
|
93
450
|
* Compose Media
|
|
94
451
|
*
|
|
@@ -99,11 +456,25 @@ export declare const invokeComfyNodepackSnapshotStepTemplate: <ThrowOnError exte
|
|
|
99
456
|
* /// text-to-speech, music, and video-generation steps to assemble narrated clips, multi-speaker
|
|
100
457
|
* /// scenes with cross-talk, or picture-in-picture compositions.
|
|
101
458
|
*/
|
|
102
|
-
export declare const invokeComposeMediaStepTemplate: <ThrowOnError extends boolean = false>(
|
|
459
|
+
export declare const invokeComposeMediaStepTemplate: <ThrowOnError extends boolean = false>(
|
|
460
|
+
options?: Options<InvokeComposeMediaStepTemplateData, ThrowOnError>
|
|
461
|
+
) => import('./client').RequestResult<
|
|
462
|
+
InvokeComposeMediaStepTemplateResponses,
|
|
463
|
+
InvokeComposeMediaStepTemplateErrors,
|
|
464
|
+
ThrowOnError,
|
|
465
|
+
'fields'
|
|
466
|
+
>;
|
|
103
467
|
/**
|
|
104
468
|
* A workflow step that converts images to different formats and applies optional transforms.
|
|
105
469
|
*/
|
|
106
|
-
export declare const invokeConvertImageStepTemplate: <ThrowOnError extends boolean = false>(
|
|
470
|
+
export declare const invokeConvertImageStepTemplate: <ThrowOnError extends boolean = false>(
|
|
471
|
+
options?: Options<InvokeConvertImageStepTemplateData, ThrowOnError>
|
|
472
|
+
) => import('./client').RequestResult<
|
|
473
|
+
InvokeConvertImageStepTemplateResponses,
|
|
474
|
+
InvokeConvertImageStepTemplateErrors,
|
|
475
|
+
ThrowOnError,
|
|
476
|
+
'fields'
|
|
477
|
+
>;
|
|
107
478
|
/**
|
|
108
479
|
* CustomComfy
|
|
109
480
|
*
|
|
@@ -113,144 +484,346 @@ export declare const invokeConvertImageStepTemplate: <ThrowOnError extends boole
|
|
|
113
484
|
* /// the orchestrator does not scan the workflow. Billing happens after
|
|
114
485
|
* /// execution based on actual ComfyUI runtime; infra failures don't charge.
|
|
115
486
|
*/
|
|
116
|
-
export declare const invokeCustomComfyStepTemplate: <ThrowOnError extends boolean = false>(
|
|
487
|
+
export declare const invokeCustomComfyStepTemplate: <ThrowOnError extends boolean = false>(
|
|
488
|
+
options?: Options<InvokeCustomComfyStepTemplateData, ThrowOnError>
|
|
489
|
+
) => import('./client').RequestResult<
|
|
490
|
+
InvokeCustomComfyStepTemplateResponses,
|
|
491
|
+
InvokeCustomComfyStepTemplateErrors,
|
|
492
|
+
ThrowOnError,
|
|
493
|
+
'fields'
|
|
494
|
+
>;
|
|
117
495
|
/**
|
|
118
496
|
* Echo
|
|
119
497
|
*
|
|
120
498
|
* A workflow step that takes a message string and retuns it.
|
|
121
499
|
* /// This step is intended for testing purposes.
|
|
122
500
|
*/
|
|
123
|
-
export declare const invokeEchoStepTemplate: <ThrowOnError extends boolean = false>(
|
|
124
|
-
|
|
501
|
+
export declare const invokeEchoStepTemplate: <ThrowOnError extends boolean = false>(
|
|
502
|
+
options?: Options<InvokeEchoStepTemplateData, ThrowOnError>
|
|
503
|
+
) => import('./client').RequestResult<
|
|
504
|
+
InvokeEchoStepTemplateResponses,
|
|
505
|
+
InvokeEchoStepTemplateErrors,
|
|
506
|
+
ThrowOnError,
|
|
507
|
+
'fields'
|
|
508
|
+
>;
|
|
509
|
+
export declare const invokeHumanoidImageMaskStepTemplate: <ThrowOnError extends boolean = false>(
|
|
510
|
+
options?: Options<InvokeHumanoidImageMaskStepTemplateData, ThrowOnError>
|
|
511
|
+
) => import('./client').RequestResult<
|
|
512
|
+
InvokeHumanoidImageMaskStepTemplateResponses,
|
|
513
|
+
InvokeHumanoidImageMaskStepTemplateErrors,
|
|
514
|
+
ThrowOnError,
|
|
515
|
+
'fields'
|
|
516
|
+
>;
|
|
125
517
|
/**
|
|
126
518
|
* A workflow step that removes the background from an image using BiRefNet (builds a ComfyUI graph under the hood and runs it as a comfy job).
|
|
127
519
|
*/
|
|
128
|
-
export declare const invokeImageBackgroundRemovalStepTemplate: <
|
|
520
|
+
export declare const invokeImageBackgroundRemovalStepTemplate: <
|
|
521
|
+
ThrowOnError extends boolean = false,
|
|
522
|
+
>(
|
|
523
|
+
options?: Options<InvokeImageBackgroundRemovalStepTemplateData, ThrowOnError>
|
|
524
|
+
) => import('./client').RequestResult<
|
|
525
|
+
InvokeImageBackgroundRemovalStepTemplateResponses,
|
|
526
|
+
InvokeImageBackgroundRemovalStepTemplateErrors,
|
|
527
|
+
ThrowOnError,
|
|
528
|
+
'fields'
|
|
529
|
+
>;
|
|
129
530
|
/**
|
|
130
531
|
* Image Generation
|
|
131
532
|
*
|
|
132
533
|
* Generate images through text/image inputs using any of our supported engines
|
|
133
534
|
*/
|
|
134
|
-
export declare const invokeImageGenStepTemplate: <ThrowOnError extends boolean = false>(
|
|
535
|
+
export declare const invokeImageGenStepTemplate: <ThrowOnError extends boolean = false>(
|
|
536
|
+
options?: Options<InvokeImageGenStepTemplateData, ThrowOnError>
|
|
537
|
+
) => import('./client').RequestResult<
|
|
538
|
+
InvokeImageGenStepTemplateResponses,
|
|
539
|
+
InvokeImageGenStepTemplateErrors,
|
|
540
|
+
ThrowOnError,
|
|
541
|
+
'fields'
|
|
542
|
+
>;
|
|
135
543
|
/**
|
|
136
544
|
* LORA Training
|
|
137
545
|
*
|
|
138
546
|
* Train LORA's
|
|
139
547
|
*/
|
|
140
|
-
export declare const invokeImageResourceTrainingStepTemplate: <
|
|
548
|
+
export declare const invokeImageResourceTrainingStepTemplate: <
|
|
549
|
+
ThrowOnError extends boolean = false,
|
|
550
|
+
>(
|
|
551
|
+
options?: Options<InvokeImageResourceTrainingStepTemplateData, ThrowOnError>
|
|
552
|
+
) => import('./client').RequestResult<
|
|
553
|
+
InvokeImageResourceTrainingStepTemplateResponses,
|
|
554
|
+
InvokeImageResourceTrainingStepTemplateErrors,
|
|
555
|
+
ThrowOnError,
|
|
556
|
+
'fields'
|
|
557
|
+
>;
|
|
141
558
|
/**
|
|
142
559
|
* Converts a raster image to an SVG using a local StarVector or OmniSVG model.
|
|
143
560
|
*/
|
|
144
|
-
export declare const invokeImageToSvgStepTemplate: <ThrowOnError extends boolean = false>(
|
|
561
|
+
export declare const invokeImageToSvgStepTemplate: <ThrowOnError extends boolean = false>(
|
|
562
|
+
options?: Options<InvokeImageToSvgStepTemplateData, ThrowOnError>
|
|
563
|
+
) => import('./client').RequestResult<
|
|
564
|
+
InvokeImageToSvgStepTemplateResponses,
|
|
565
|
+
InvokeImageToSvgStepTemplateErrors,
|
|
566
|
+
ThrowOnError,
|
|
567
|
+
'fields'
|
|
568
|
+
>;
|
|
145
569
|
/**
|
|
146
570
|
* Image upload
|
|
147
571
|
*
|
|
148
572
|
* Uploads an image to be used in a workflow
|
|
149
573
|
*/
|
|
150
|
-
export declare const invokeImageUploadStepTemplate: <ThrowOnError extends boolean = false>(
|
|
151
|
-
|
|
574
|
+
export declare const invokeImageUploadStepTemplate: <ThrowOnError extends boolean = false>(
|
|
575
|
+
options?: Options<InvokeImageUploadStepTemplateData, ThrowOnError>
|
|
576
|
+
) => import('./client').RequestResult<
|
|
577
|
+
InvokeImageUploadStepTemplateResponses,
|
|
578
|
+
InvokeImageUploadStepTemplateErrors,
|
|
579
|
+
ThrowOnError,
|
|
580
|
+
'fields'
|
|
581
|
+
>;
|
|
582
|
+
export declare const invokeImageUpscalerStepTemplate: <ThrowOnError extends boolean = false>(
|
|
583
|
+
options?: Options<InvokeImageUpscalerStepTemplateData, ThrowOnError>
|
|
584
|
+
) => import('./client').RequestResult<
|
|
585
|
+
InvokeImageUpscalerStepTemplateResponses,
|
|
586
|
+
InvokeImageUpscalerStepTemplateErrors,
|
|
587
|
+
ThrowOnError,
|
|
588
|
+
'fields'
|
|
589
|
+
>;
|
|
152
590
|
/**
|
|
153
591
|
* Media Captioning
|
|
154
592
|
*
|
|
155
593
|
* Generates a descriptive caption for a single media item using the JoyCaption model.
|
|
156
594
|
*/
|
|
157
|
-
export declare const invokeMediaCaptioningStepTemplate: <ThrowOnError extends boolean = false>(
|
|
595
|
+
export declare const invokeMediaCaptioningStepTemplate: <ThrowOnError extends boolean = false>(
|
|
596
|
+
options?: Options<InvokeMediaCaptioningStepTemplateData, ThrowOnError>
|
|
597
|
+
) => import('./client').RequestResult<
|
|
598
|
+
InvokeMediaCaptioningStepTemplateResponses,
|
|
599
|
+
InvokeMediaCaptioningStepTemplateErrors,
|
|
600
|
+
ThrowOnError,
|
|
601
|
+
'fields'
|
|
602
|
+
>;
|
|
158
603
|
/**
|
|
159
604
|
* MediaHash
|
|
160
605
|
*
|
|
161
606
|
* Generates perceptual hashes for media content to enable similarity detection and duplicate identification.
|
|
162
607
|
*/
|
|
163
|
-
export declare const invokeMediaHashStepTemplate: <ThrowOnError extends boolean = false>(
|
|
608
|
+
export declare const invokeMediaHashStepTemplate: <ThrowOnError extends boolean = false>(
|
|
609
|
+
options?: Options<InvokeMediaHashStepTemplateData, ThrowOnError>
|
|
610
|
+
) => import('./client').RequestResult<
|
|
611
|
+
InvokeMediaHashStepTemplateResponses,
|
|
612
|
+
InvokeMediaHashStepTemplateErrors,
|
|
613
|
+
ThrowOnError,
|
|
614
|
+
'fields'
|
|
615
|
+
>;
|
|
164
616
|
/**
|
|
165
617
|
* MediaRating
|
|
166
618
|
*
|
|
167
619
|
* Performs NSFW level detection and content safety classification on media content.
|
|
168
620
|
*/
|
|
169
|
-
export declare const invokeMediaRatingStepTemplate: <ThrowOnError extends boolean = false>(
|
|
621
|
+
export declare const invokeMediaRatingStepTemplate: <ThrowOnError extends boolean = false>(
|
|
622
|
+
options?: Options<InvokeMediaRatingStepTemplateData, ThrowOnError>
|
|
623
|
+
) => import('./client').RequestResult<
|
|
624
|
+
InvokeMediaRatingStepTemplateResponses,
|
|
625
|
+
InvokeMediaRatingStepTemplateErrors,
|
|
626
|
+
ThrowOnError,
|
|
627
|
+
'fields'
|
|
628
|
+
>;
|
|
170
629
|
/**
|
|
171
630
|
* Generate a complete song from a structured caption and lyrics with MiniMax Music 3.
|
|
172
631
|
*/
|
|
173
|
-
export declare const invokeMiniMaxMusic3StepTemplate: <ThrowOnError extends boolean = false>(
|
|
632
|
+
export declare const invokeMiniMaxMusic3StepTemplate: <ThrowOnError extends boolean = false>(
|
|
633
|
+
options?: Options<InvokeMiniMaxMusic3StepTemplateData, ThrowOnError>
|
|
634
|
+
) => import('./client').RequestResult<
|
|
635
|
+
InvokeMiniMaxMusic3StepTemplateResponses,
|
|
636
|
+
InvokeMiniMaxMusic3StepTemplateErrors,
|
|
637
|
+
ThrowOnError,
|
|
638
|
+
'fields'
|
|
639
|
+
>;
|
|
174
640
|
/**
|
|
175
641
|
* 3D model preview
|
|
176
642
|
*
|
|
177
643
|
* Renders screenshots of a 3D model from predefined or supplied camera poses.
|
|
178
644
|
*/
|
|
179
|
-
export declare const invokeModel3dPreviewStepTemplate: <ThrowOnError extends boolean = false>(
|
|
645
|
+
export declare const invokeModel3dPreviewStepTemplate: <ThrowOnError extends boolean = false>(
|
|
646
|
+
options?: Options<InvokeModel3dPreviewStepTemplateData, ThrowOnError>
|
|
647
|
+
) => import('./client').RequestResult<
|
|
648
|
+
InvokeModel3dPreviewStepTemplateResponses,
|
|
649
|
+
InvokeModel3dPreviewStepTemplateErrors,
|
|
650
|
+
ThrowOnError,
|
|
651
|
+
'fields'
|
|
652
|
+
>;
|
|
180
653
|
/**
|
|
181
654
|
* ModelClamScan
|
|
182
655
|
*
|
|
183
656
|
* Runs ClamAV malware scanning against a model file.
|
|
184
657
|
*/
|
|
185
|
-
export declare const invokeModelClamScanStepTemplate: <ThrowOnError extends boolean = false>(
|
|
658
|
+
export declare const invokeModelClamScanStepTemplate: <ThrowOnError extends boolean = false>(
|
|
659
|
+
options?: Options<InvokeModelClamScanStepTemplateData, ThrowOnError>
|
|
660
|
+
) => import('./client').RequestResult<
|
|
661
|
+
InvokeModelClamScanStepTemplateResponses,
|
|
662
|
+
InvokeModelClamScanStepTemplateErrors,
|
|
663
|
+
ThrowOnError,
|
|
664
|
+
'fields'
|
|
665
|
+
>;
|
|
186
666
|
/**
|
|
187
667
|
* ModelHash
|
|
188
668
|
*
|
|
189
669
|
* Computes Civitai content hashes (SHA256, AutoV1/2/3, Blake3, CRC32) of a model file.
|
|
190
670
|
*/
|
|
191
|
-
export declare const invokeModelHashStepTemplate: <ThrowOnError extends boolean = false>(
|
|
671
|
+
export declare const invokeModelHashStepTemplate: <ThrowOnError extends boolean = false>(
|
|
672
|
+
options?: Options<InvokeModelHashStepTemplateData, ThrowOnError>
|
|
673
|
+
) => import('./client').RequestResult<
|
|
674
|
+
InvokeModelHashStepTemplateResponses,
|
|
675
|
+
InvokeModelHashStepTemplateErrors,
|
|
676
|
+
ThrowOnError,
|
|
677
|
+
'fields'
|
|
678
|
+
>;
|
|
192
679
|
/**
|
|
193
680
|
* ModelParseMetadata
|
|
194
681
|
*
|
|
195
682
|
* Extracts the embedded JSON metadata header from a safetensors model file.
|
|
196
683
|
*/
|
|
197
|
-
export declare const invokeModelParseMetadataStepTemplate: <ThrowOnError extends boolean = false>(
|
|
684
|
+
export declare const invokeModelParseMetadataStepTemplate: <ThrowOnError extends boolean = false>(
|
|
685
|
+
options?: Options<InvokeModelParseMetadataStepTemplateData, ThrowOnError>
|
|
686
|
+
) => import('./client').RequestResult<
|
|
687
|
+
InvokeModelParseMetadataStepTemplateResponses,
|
|
688
|
+
InvokeModelParseMetadataStepTemplateErrors,
|
|
689
|
+
ThrowOnError,
|
|
690
|
+
'fields'
|
|
691
|
+
>;
|
|
198
692
|
/**
|
|
199
693
|
* ModelPickleScan
|
|
200
694
|
*
|
|
201
695
|
* Runs picklescan against a model file to detect dangerous pickle imports.
|
|
202
696
|
*/
|
|
203
|
-
export declare const invokeModelPickleScanStepTemplate: <ThrowOnError extends boolean = false>(
|
|
697
|
+
export declare const invokeModelPickleScanStepTemplate: <ThrowOnError extends boolean = false>(
|
|
698
|
+
options?: Options<InvokeModelPickleScanStepTemplateData, ThrowOnError>
|
|
699
|
+
) => import('./client').RequestResult<
|
|
700
|
+
InvokeModelPickleScanStepTemplateResponses,
|
|
701
|
+
InvokeModelPickleScanStepTemplateErrors,
|
|
702
|
+
ThrowOnError,
|
|
703
|
+
'fields'
|
|
704
|
+
>;
|
|
204
705
|
/**
|
|
205
706
|
* 3D model generation
|
|
206
707
|
*
|
|
207
708
|
* Generate 3D models through text or image inputs using any of our supported engines.
|
|
208
709
|
*/
|
|
209
|
-
export declare const invokePolyGenStepTemplate: <ThrowOnError extends boolean = false>(
|
|
710
|
+
export declare const invokePolyGenStepTemplate: <ThrowOnError extends boolean = false>(
|
|
711
|
+
options?: Options<InvokePolyGenStepTemplateData, ThrowOnError>
|
|
712
|
+
) => import('./client').RequestResult<
|
|
713
|
+
InvokePolyGenStepTemplateResponses,
|
|
714
|
+
InvokePolyGenStepTemplateErrors,
|
|
715
|
+
ThrowOnError,
|
|
716
|
+
'fields'
|
|
717
|
+
>;
|
|
210
718
|
/**
|
|
211
719
|
* Prepare Resource
|
|
212
720
|
*
|
|
213
721
|
* Loads a resource into a provider so later work needing it does not pay the cold-start download. Succeeds immediately when the resource is already available on the fleet.
|
|
214
722
|
*/
|
|
215
|
-
export declare const invokePrepareResourceStepTemplate: <ThrowOnError extends boolean = false>(
|
|
216
|
-
|
|
217
|
-
|
|
723
|
+
export declare const invokePrepareResourceStepTemplate: <ThrowOnError extends boolean = false>(
|
|
724
|
+
options?: Options<InvokePrepareResourceStepTemplateData, ThrowOnError>
|
|
725
|
+
) => import('./client').RequestResult<
|
|
726
|
+
InvokePrepareResourceStepTemplateResponses,
|
|
727
|
+
InvokePrepareResourceStepTemplateErrors,
|
|
728
|
+
ThrowOnError,
|
|
729
|
+
'fields'
|
|
730
|
+
>;
|
|
731
|
+
export declare const invokePreprocessImageStepTemplate: <ThrowOnError extends boolean = false>(
|
|
732
|
+
options?: Options<InvokePreprocessImageStepTemplateData, ThrowOnError>
|
|
733
|
+
) => import('./client').RequestResult<
|
|
734
|
+
InvokePreprocessImageStepTemplateResponses,
|
|
735
|
+
InvokePreprocessImageStepTemplateErrors,
|
|
736
|
+
ThrowOnError,
|
|
737
|
+
'fields'
|
|
738
|
+
>;
|
|
739
|
+
export declare const invokePreprocessVideoStepTemplate: <ThrowOnError extends boolean = false>(
|
|
740
|
+
options?: Options<InvokePreprocessVideoStepTemplateData, ThrowOnError>
|
|
741
|
+
) => import('./client').RequestResult<
|
|
742
|
+
InvokePreprocessVideoStepTemplateResponses,
|
|
743
|
+
InvokePreprocessVideoStepTemplateErrors,
|
|
744
|
+
ThrowOnError,
|
|
745
|
+
'fields'
|
|
746
|
+
>;
|
|
218
747
|
/**
|
|
219
748
|
* PromptEnhancement
|
|
220
749
|
*
|
|
221
750
|
* Analyzes and enhances user prompts for a specific AI ecosystem.
|
|
222
751
|
* /// Returns detected issues, recommendations, and improved prompt variants.
|
|
223
752
|
*/
|
|
224
|
-
export declare const invokePromptEnhancementStepTemplate: <ThrowOnError extends boolean = false>(
|
|
753
|
+
export declare const invokePromptEnhancementStepTemplate: <ThrowOnError extends boolean = false>(
|
|
754
|
+
options?: Options<InvokePromptEnhancementStepTemplateData, ThrowOnError>
|
|
755
|
+
) => import('./client').RequestResult<
|
|
756
|
+
InvokePromptEnhancementStepTemplateResponses,
|
|
757
|
+
InvokePromptEnhancementStepTemplateErrors,
|
|
758
|
+
ThrowOnError,
|
|
759
|
+
'fields'
|
|
760
|
+
>;
|
|
225
761
|
/**
|
|
226
762
|
* Qwen Image Bench
|
|
227
763
|
*
|
|
228
764
|
* Scores generated images against their prompts using Qwen-Image-Bench.
|
|
229
765
|
*/
|
|
230
|
-
export declare const invokeQwenImageBenchStepTemplate: <ThrowOnError extends boolean = false>(
|
|
766
|
+
export declare const invokeQwenImageBenchStepTemplate: <ThrowOnError extends boolean = false>(
|
|
767
|
+
options?: Options<InvokeQwenImageBenchStepTemplateData, ThrowOnError>
|
|
768
|
+
) => import('./client').RequestResult<
|
|
769
|
+
InvokeQwenImageBenchStepTemplateResponses,
|
|
770
|
+
InvokeQwenImageBenchStepTemplateErrors,
|
|
771
|
+
ThrowOnError,
|
|
772
|
+
'fields'
|
|
773
|
+
>;
|
|
231
774
|
/**
|
|
232
775
|
* Repeat workflow step.
|
|
233
776
|
*/
|
|
234
|
-
export declare const invokeRepeatStepTemplate: <ThrowOnError extends boolean = false>(
|
|
777
|
+
export declare const invokeRepeatStepTemplate: <ThrowOnError extends boolean = false>(
|
|
778
|
+
options?: Options<InvokeRepeatStepTemplateData, ThrowOnError>
|
|
779
|
+
) => import('./client').RequestResult<
|
|
780
|
+
InvokeRepeatStepTemplateResponses,
|
|
781
|
+
InvokeRepeatStepTemplateErrors,
|
|
782
|
+
ThrowOnError,
|
|
783
|
+
'fields'
|
|
784
|
+
>;
|
|
235
785
|
/**
|
|
236
786
|
* ShieldstralModeration
|
|
237
787
|
*
|
|
238
788
|
* Evaluate text or generation prompts against configurable natural-language Shieldstral policies.
|
|
239
789
|
* /// Generates one single-token yes/no ChatCompletion job per policy and returns normalized policy scores.
|
|
240
790
|
*/
|
|
241
|
-
export declare const invokeShieldstralModerationStepTemplate: <
|
|
791
|
+
export declare const invokeShieldstralModerationStepTemplate: <
|
|
792
|
+
ThrowOnError extends boolean = false,
|
|
793
|
+
>(
|
|
794
|
+
options?: Options<InvokeShieldstralModerationStepTemplateData, ThrowOnError>
|
|
795
|
+
) => import('./client').RequestResult<
|
|
796
|
+
InvokeShieldstralModerationStepTemplateResponses,
|
|
797
|
+
InvokeShieldstralModerationStepTemplateErrors,
|
|
798
|
+
ThrowOnError,
|
|
799
|
+
'fields'
|
|
800
|
+
>;
|
|
242
801
|
/**
|
|
243
802
|
* TextToImage
|
|
244
803
|
*
|
|
245
804
|
* Generate images using text as input
|
|
246
805
|
*/
|
|
247
|
-
export declare const invokeTextToImageStepTemplate: <ThrowOnError extends boolean = false>(
|
|
806
|
+
export declare const invokeTextToImageStepTemplate: <ThrowOnError extends boolean = false>(
|
|
807
|
+
options?: Options<InvokeTextToImageStepTemplateData, ThrowOnError>
|
|
808
|
+
) => import('./client').RequestResult<
|
|
809
|
+
InvokeTextToImageStepTemplateResponses,
|
|
810
|
+
InvokeTextToImageStepTemplateErrors,
|
|
811
|
+
ThrowOnError,
|
|
812
|
+
'fields'
|
|
813
|
+
>;
|
|
248
814
|
/**
|
|
249
815
|
* Text-to-Speech
|
|
250
816
|
*
|
|
251
817
|
* Synthesizes speech from text, supporting both voice cloning (Base mode with reference audio) and built-in speakers (CustomVoice mode).
|
|
252
818
|
*/
|
|
253
|
-
export declare const invokeTextToSpeechStepTemplate: <ThrowOnError extends boolean = false>(
|
|
819
|
+
export declare const invokeTextToSpeechStepTemplate: <ThrowOnError extends boolean = false>(
|
|
820
|
+
options?: Options<InvokeTextToSpeechStepTemplateData, ThrowOnError>
|
|
821
|
+
) => import('./client').RequestResult<
|
|
822
|
+
InvokeTextToSpeechStepTemplateResponses,
|
|
823
|
+
InvokeTextToSpeechStepTemplateErrors,
|
|
824
|
+
ThrowOnError,
|
|
825
|
+
'fields'
|
|
826
|
+
>;
|
|
254
827
|
/**
|
|
255
828
|
* Training
|
|
256
829
|
*
|
|
@@ -258,140 +831,366 @@ export declare const invokeTextToSpeechStepTemplate: <ThrowOnError extends boole
|
|
|
258
831
|
* /// on various types of data (images, videos, audio). This replaces ImageResourceTraining
|
|
259
832
|
* /// with a cleaner architecture that creates one job per epoch instead of a single monolithic job.
|
|
260
833
|
*/
|
|
261
|
-
export declare const invokeTrainingStepTemplate: <ThrowOnError extends boolean = false>(
|
|
834
|
+
export declare const invokeTrainingStepTemplate: <ThrowOnError extends boolean = false>(
|
|
835
|
+
options?: Options<InvokeTrainingStepTemplateData, ThrowOnError>
|
|
836
|
+
) => import('./client').RequestResult<
|
|
837
|
+
InvokeTrainingStepTemplateResponses,
|
|
838
|
+
InvokeTrainingStepTemplateErrors,
|
|
839
|
+
ThrowOnError,
|
|
840
|
+
'fields'
|
|
841
|
+
>;
|
|
262
842
|
/**
|
|
263
843
|
* Transcoding
|
|
264
844
|
*/
|
|
265
|
-
export declare const invokeTranscodeStepTemplate: <ThrowOnError extends boolean = false>(
|
|
845
|
+
export declare const invokeTranscodeStepTemplate: <ThrowOnError extends boolean = false>(
|
|
846
|
+
options?: Options<InvokeTranscodeStepTemplateData, ThrowOnError>
|
|
847
|
+
) => import('./client').RequestResult<
|
|
848
|
+
InvokeTranscodeStepTemplateResponses,
|
|
849
|
+
InvokeTranscodeStepTemplateErrors,
|
|
850
|
+
ThrowOnError,
|
|
851
|
+
'fields'
|
|
852
|
+
>;
|
|
266
853
|
/**
|
|
267
854
|
* Transcription
|
|
268
855
|
*
|
|
269
856
|
* Performs automatic speech recognition (ASR) on audio media, returning transcribed text with optional timestamps.
|
|
270
857
|
*/
|
|
271
|
-
export declare const invokeTranscriptionStepTemplate: <ThrowOnError extends boolean = false>(
|
|
272
|
-
|
|
858
|
+
export declare const invokeTranscriptionStepTemplate: <ThrowOnError extends boolean = false>(
|
|
859
|
+
options?: Options<InvokeTranscriptionStepTemplateData, ThrowOnError>
|
|
860
|
+
) => import('./client').RequestResult<
|
|
861
|
+
InvokeTranscriptionStepTemplateResponses,
|
|
862
|
+
InvokeTranscriptionStepTemplateErrors,
|
|
863
|
+
ThrowOnError,
|
|
864
|
+
'fields'
|
|
865
|
+
>;
|
|
866
|
+
export declare const invokeTryOnUStepTemplate: <ThrowOnError extends boolean = false>(
|
|
867
|
+
options?: Options<InvokeTryOnUStepTemplateData, ThrowOnError>
|
|
868
|
+
) => import('./client').RequestResult<
|
|
869
|
+
InvokeTryOnUStepTemplateResponses,
|
|
870
|
+
InvokeTryOnUStepTemplateErrors,
|
|
871
|
+
ThrowOnError,
|
|
872
|
+
'fields'
|
|
873
|
+
>;
|
|
273
874
|
/**
|
|
274
875
|
* Tracks a prompted foreground object across a video and returns a lossless animated WebP with transparency.
|
|
275
876
|
*/
|
|
276
|
-
export declare const invokeVideoBackgroundRemovalStepTemplate: <
|
|
877
|
+
export declare const invokeVideoBackgroundRemovalStepTemplate: <
|
|
878
|
+
ThrowOnError extends boolean = false,
|
|
879
|
+
>(
|
|
880
|
+
options?: Options<InvokeVideoBackgroundRemovalStepTemplateData, ThrowOnError>
|
|
881
|
+
) => import('./client').RequestResult<
|
|
882
|
+
InvokeVideoBackgroundRemovalStepTemplateResponses,
|
|
883
|
+
InvokeVideoBackgroundRemovalStepTemplateErrors,
|
|
884
|
+
ThrowOnError,
|
|
885
|
+
'fields'
|
|
886
|
+
>;
|
|
277
887
|
/**
|
|
278
888
|
* Upscale videos and/or interpolate frames
|
|
279
889
|
*/
|
|
280
|
-
export declare const invokeVideoEnhancementStepTemplate: <ThrowOnError extends boolean = false>(
|
|
890
|
+
export declare const invokeVideoEnhancementStepTemplate: <ThrowOnError extends boolean = false>(
|
|
891
|
+
options?: Options<InvokeVideoEnhancementStepTemplateData, ThrowOnError>
|
|
892
|
+
) => import('./client').RequestResult<
|
|
893
|
+
InvokeVideoEnhancementStepTemplateResponses,
|
|
894
|
+
InvokeVideoEnhancementStepTemplateErrors,
|
|
895
|
+
ThrowOnError,
|
|
896
|
+
'fields'
|
|
897
|
+
>;
|
|
281
898
|
/**
|
|
282
899
|
* Video Frame Extraction
|
|
283
900
|
*
|
|
284
901
|
* Extracts unique frames from a video at a specified rate, filtering near-duplicates by perceptual hash.
|
|
285
902
|
*/
|
|
286
|
-
export declare const invokeVideoFrameExtractionStepTemplate: <ThrowOnError extends boolean = false>(
|
|
903
|
+
export declare const invokeVideoFrameExtractionStepTemplate: <ThrowOnError extends boolean = false>(
|
|
904
|
+
options?: Options<InvokeVideoFrameExtractionStepTemplateData, ThrowOnError>
|
|
905
|
+
) => import('./client').RequestResult<
|
|
906
|
+
InvokeVideoFrameExtractionStepTemplateResponses,
|
|
907
|
+
InvokeVideoFrameExtractionStepTemplateErrors,
|
|
908
|
+
ThrowOnError,
|
|
909
|
+
'fields'
|
|
910
|
+
>;
|
|
287
911
|
/**
|
|
288
912
|
* Video generation
|
|
289
913
|
*
|
|
290
914
|
* Generate videos through text/image inputs using any of our supported engines
|
|
291
915
|
*/
|
|
292
|
-
export declare const invokeVideoGenStepTemplate: <ThrowOnError extends boolean = false>(
|
|
916
|
+
export declare const invokeVideoGenStepTemplate: <ThrowOnError extends boolean = false>(
|
|
917
|
+
options?: Options<InvokeVideoGenStepTemplateData, ThrowOnError>
|
|
918
|
+
) => import('./client').RequestResult<
|
|
919
|
+
InvokeVideoGenStepTemplateResponses,
|
|
920
|
+
InvokeVideoGenStepTemplateErrors,
|
|
921
|
+
ThrowOnError,
|
|
922
|
+
'fields'
|
|
923
|
+
>;
|
|
293
924
|
/**
|
|
294
925
|
* Interpolate videos using VFI Mamba
|
|
295
926
|
*/
|
|
296
|
-
export declare const invokeVideoInterpolationStepTemplate: <ThrowOnError extends boolean = false>(
|
|
927
|
+
export declare const invokeVideoInterpolationStepTemplate: <ThrowOnError extends boolean = false>(
|
|
928
|
+
options?: Options<InvokeVideoInterpolationStepTemplateData, ThrowOnError>
|
|
929
|
+
) => import('./client').RequestResult<
|
|
930
|
+
InvokeVideoInterpolationStepTemplateResponses,
|
|
931
|
+
InvokeVideoInterpolationStepTemplateErrors,
|
|
932
|
+
ThrowOnError,
|
|
933
|
+
'fields'
|
|
934
|
+
>;
|
|
297
935
|
/**
|
|
298
936
|
* Extract metadata from videos including width, height, FPS, and duration
|
|
299
937
|
*/
|
|
300
|
-
export declare const invokeVideoMetadataStepTemplate: <ThrowOnError extends boolean = false>(
|
|
938
|
+
export declare const invokeVideoMetadataStepTemplate: <ThrowOnError extends boolean = false>(
|
|
939
|
+
options?: Options<InvokeVideoMetadataStepTemplateData, ThrowOnError>
|
|
940
|
+
) => import('./client').RequestResult<
|
|
941
|
+
InvokeVideoMetadataStepTemplateResponses,
|
|
942
|
+
InvokeVideoMetadataStepTemplateErrors,
|
|
943
|
+
ThrowOnError,
|
|
944
|
+
'fields'
|
|
945
|
+
>;
|
|
301
946
|
/**
|
|
302
947
|
* Upscale videos using FlashVSR
|
|
303
948
|
*/
|
|
304
|
-
export declare const invokeVideoUpscalerStepTemplate: <ThrowOnError extends boolean = false>(
|
|
949
|
+
export declare const invokeVideoUpscalerStepTemplate: <ThrowOnError extends boolean = false>(
|
|
950
|
+
options?: Options<InvokeVideoUpscalerStepTemplateData, ThrowOnError>
|
|
951
|
+
) => import('./client').RequestResult<
|
|
952
|
+
InvokeVideoUpscalerStepTemplateResponses,
|
|
953
|
+
InvokeVideoUpscalerStepTemplateErrors,
|
|
954
|
+
ThrowOnError,
|
|
955
|
+
'fields'
|
|
956
|
+
>;
|
|
305
957
|
/**
|
|
306
958
|
* WDTagging
|
|
307
959
|
*
|
|
308
960
|
* Performs Waifu Diffusion tagging on media content to identify characteristics, objects, and themes.
|
|
309
961
|
*/
|
|
310
|
-
export declare const invokeWdTaggingStepTemplate: <ThrowOnError extends boolean = false>(
|
|
962
|
+
export declare const invokeWdTaggingStepTemplate: <ThrowOnError extends boolean = false>(
|
|
963
|
+
options?: Options<InvokeWdTaggingStepTemplateData, ThrowOnError>
|
|
964
|
+
) => import('./client').RequestResult<
|
|
965
|
+
InvokeWdTaggingStepTemplateResponses,
|
|
966
|
+
InvokeWdTaggingStepTemplateErrors,
|
|
967
|
+
ThrowOnError,
|
|
968
|
+
'fields'
|
|
969
|
+
>;
|
|
311
970
|
/**
|
|
312
971
|
* WebScrape
|
|
313
972
|
*
|
|
314
973
|
* Fetches and renders a single web page, returning its content as markdown and/or HTML.
|
|
315
974
|
*/
|
|
316
|
-
export declare const invokeWebScrapeStepTemplate: <ThrowOnError extends boolean = false>(
|
|
975
|
+
export declare const invokeWebScrapeStepTemplate: <ThrowOnError extends boolean = false>(
|
|
976
|
+
options?: Options<InvokeWebScrapeStepTemplateData, ThrowOnError>
|
|
977
|
+
) => import('./client').RequestResult<
|
|
978
|
+
InvokeWebScrapeStepTemplateResponses,
|
|
979
|
+
InvokeWebScrapeStepTemplateErrors,
|
|
980
|
+
ThrowOnError,
|
|
981
|
+
'fields'
|
|
982
|
+
>;
|
|
317
983
|
/**
|
|
318
984
|
* WebSearch
|
|
319
985
|
*
|
|
320
986
|
* Searches the web, returning result titles, URLs and descriptions, optionally with the scraped content of each result page.
|
|
321
987
|
*/
|
|
322
|
-
export declare const invokeWebSearchStepTemplate: <ThrowOnError extends boolean = false>(
|
|
988
|
+
export declare const invokeWebSearchStepTemplate: <ThrowOnError extends boolean = false>(
|
|
989
|
+
options?: Options<InvokeWebSearchStepTemplateData, ThrowOnError>
|
|
990
|
+
) => import('./client').RequestResult<
|
|
991
|
+
InvokeWebSearchStepTemplateResponses,
|
|
992
|
+
InvokeWebSearchStepTemplateErrors,
|
|
993
|
+
ThrowOnError,
|
|
994
|
+
'fields'
|
|
995
|
+
>;
|
|
323
996
|
/**
|
|
324
997
|
* XGuardModeration
|
|
325
998
|
*
|
|
326
999
|
* Evaluate text or generation prompts against XGuard content moderation policies.
|
|
327
1000
|
* /// Generates one ChatCompletion job per label and aggregates results with logprob-based scoring.
|
|
328
1001
|
*/
|
|
329
|
-
export declare const invokeXGuardModerationStepTemplate: <ThrowOnError extends boolean = false>(
|
|
330
|
-
|
|
1002
|
+
export declare const invokeXGuardModerationStepTemplate: <ThrowOnError extends boolean = false>(
|
|
1003
|
+
options?: Options<InvokeXGuardModerationStepTemplateData, ThrowOnError>
|
|
1004
|
+
) => import('./client').RequestResult<
|
|
1005
|
+
InvokeXGuardModerationStepTemplateResponses,
|
|
1006
|
+
InvokeXGuardModerationStepTemplateErrors,
|
|
1007
|
+
ThrowOnError,
|
|
1008
|
+
'fields'
|
|
1009
|
+
>;
|
|
1010
|
+
export declare const queryResources: <ThrowOnError extends boolean = false>(
|
|
1011
|
+
options: Options<QueryResourcesData, ThrowOnError>
|
|
1012
|
+
) => import('./client').RequestResult<
|
|
1013
|
+
QueryResourcesResponses,
|
|
1014
|
+
QueryResourcesErrors,
|
|
1015
|
+
ThrowOnError,
|
|
1016
|
+
'fields'
|
|
1017
|
+
>;
|
|
331
1018
|
/**
|
|
332
1019
|
* Get an existing resource.
|
|
333
1020
|
*/
|
|
334
|
-
export declare const getResource: <ThrowOnError extends boolean = false>(
|
|
1021
|
+
export declare const getResource: <ThrowOnError extends boolean = false>(
|
|
1022
|
+
options: Options<GetResourceData, ThrowOnError>
|
|
1023
|
+
) => import('./client').RequestResult<
|
|
1024
|
+
GetResourceResponses,
|
|
1025
|
+
GetResourceErrors,
|
|
1026
|
+
ThrowOnError,
|
|
1027
|
+
'fields'
|
|
1028
|
+
>;
|
|
335
1029
|
/**
|
|
336
1030
|
* List services, optionally filtered.
|
|
337
1031
|
*/
|
|
338
|
-
export declare const listServices: <ThrowOnError extends boolean = false>(
|
|
1032
|
+
export declare const listServices: <ThrowOnError extends boolean = false>(
|
|
1033
|
+
options?: Options<ListServicesData, ThrowOnError>
|
|
1034
|
+
) => import('./client').RequestResult<
|
|
1035
|
+
ListServicesResponses,
|
|
1036
|
+
ListServicesErrors,
|
|
1037
|
+
ThrowOnError,
|
|
1038
|
+
'fields'
|
|
1039
|
+
>;
|
|
339
1040
|
/**
|
|
340
1041
|
* Get a single service by id, e.g. "image/flux2/klein/createImage/9b", with its bucketed
|
|
341
1042
|
* history over the window.
|
|
342
1043
|
*/
|
|
343
|
-
export declare const getService: <ThrowOnError extends boolean = false>(
|
|
344
|
-
|
|
1044
|
+
export declare const getService: <ThrowOnError extends boolean = false>(
|
|
1045
|
+
options: Options<GetServiceData, ThrowOnError>
|
|
1046
|
+
) => import('./client').RequestResult<
|
|
1047
|
+
GetServiceResponses,
|
|
1048
|
+
GetServiceErrors,
|
|
1049
|
+
ThrowOnError,
|
|
1050
|
+
'fields'
|
|
1051
|
+
>;
|
|
1052
|
+
export declare const getStreamingBlob: <ThrowOnError extends boolean = false>(
|
|
1053
|
+
options: Options<GetStreamingBlobData, ThrowOnError>
|
|
1054
|
+
) => import('./client').RequestResult<
|
|
1055
|
+
GetStreamingBlobResponses,
|
|
1056
|
+
GetStreamingBlobErrors,
|
|
1057
|
+
ThrowOnError,
|
|
1058
|
+
'fields'
|
|
1059
|
+
>;
|
|
345
1060
|
/**
|
|
346
1061
|
* Query workflows
|
|
347
1062
|
*/
|
|
348
|
-
export declare const queryWorkflows: <ThrowOnError extends boolean = false>(
|
|
1063
|
+
export declare const queryWorkflows: <ThrowOnError extends boolean = false>(
|
|
1064
|
+
options?: Options<QueryWorkflowsData, ThrowOnError>
|
|
1065
|
+
) => import('./client').RequestResult<
|
|
1066
|
+
QueryWorkflowsResponses,
|
|
1067
|
+
QueryWorkflowsErrors,
|
|
1068
|
+
ThrowOnError,
|
|
1069
|
+
'fields'
|
|
1070
|
+
>;
|
|
349
1071
|
/**
|
|
350
1072
|
* Submit workflow
|
|
351
1073
|
*/
|
|
352
|
-
export declare const submitWorkflow: <ThrowOnError extends boolean = false>(
|
|
1074
|
+
export declare const submitWorkflow: <ThrowOnError extends boolean = false>(
|
|
1075
|
+
options?: Options<SubmitWorkflowData, ThrowOnError>
|
|
1076
|
+
) => import('./client').RequestResult<
|
|
1077
|
+
SubmitWorkflowResponses,
|
|
1078
|
+
SubmitWorkflowErrors,
|
|
1079
|
+
ThrowOnError,
|
|
1080
|
+
'fields'
|
|
1081
|
+
>;
|
|
353
1082
|
/**
|
|
354
1083
|
* Delete workflow
|
|
355
1084
|
*
|
|
356
1085
|
* This will delete a workflow. This may trigger a refund if the work requested with this workflow has not yet started
|
|
357
1086
|
*/
|
|
358
|
-
export declare const deleteWorkflow: <ThrowOnError extends boolean = false>(
|
|
1087
|
+
export declare const deleteWorkflow: <ThrowOnError extends boolean = false>(
|
|
1088
|
+
options: Options<DeleteWorkflowData, ThrowOnError>
|
|
1089
|
+
) => import('./client').RequestResult<
|
|
1090
|
+
DeleteWorkflowResponses,
|
|
1091
|
+
DeleteWorkflowErrors,
|
|
1092
|
+
ThrowOnError,
|
|
1093
|
+
'fields'
|
|
1094
|
+
>;
|
|
359
1095
|
/**
|
|
360
1096
|
* Get workflow
|
|
361
1097
|
*/
|
|
362
|
-
export declare const getWorkflow: <ThrowOnError extends boolean = false>(
|
|
1098
|
+
export declare const getWorkflow: <ThrowOnError extends boolean = false>(
|
|
1099
|
+
options: Options<GetWorkflowData, ThrowOnError>
|
|
1100
|
+
) => import('./client').RequestResult<
|
|
1101
|
+
GetWorkflowResponses,
|
|
1102
|
+
GetWorkflowErrors,
|
|
1103
|
+
ThrowOnError,
|
|
1104
|
+
'fields'
|
|
1105
|
+
>;
|
|
363
1106
|
/**
|
|
364
1107
|
* Patch workflow
|
|
365
1108
|
*
|
|
366
1109
|
* Patches a worfklow using JSON Patch. This can currently be used to cancel a worfklow, update metadata and add additional tags
|
|
367
1110
|
*/
|
|
368
|
-
export declare const patchWorkflow: <ThrowOnError extends boolean = false>(
|
|
1111
|
+
export declare const patchWorkflow: <ThrowOnError extends boolean = false>(
|
|
1112
|
+
options: Options<PatchWorkflowData, ThrowOnError>
|
|
1113
|
+
) => import('./client').RequestResult<
|
|
1114
|
+
PatchWorkflowResponses,
|
|
1115
|
+
PatchWorkflowErrors,
|
|
1116
|
+
ThrowOnError,
|
|
1117
|
+
'fields'
|
|
1118
|
+
>;
|
|
369
1119
|
/**
|
|
370
1120
|
* Update workflow
|
|
371
1121
|
*
|
|
372
1122
|
* Updates a worfklow. This can currently be used to cancel a worfklow or override metadata and/or tags
|
|
373
1123
|
*/
|
|
374
|
-
export declare const updateWorkflow: <ThrowOnError extends boolean = false>(
|
|
1124
|
+
export declare const updateWorkflow: <ThrowOnError extends boolean = false>(
|
|
1125
|
+
options: Options<UpdateWorkflowData, ThrowOnError>
|
|
1126
|
+
) => import('./client').RequestResult<
|
|
1127
|
+
UpdateWorkflowResponses,
|
|
1128
|
+
UpdateWorkflowErrors,
|
|
1129
|
+
ThrowOnError,
|
|
1130
|
+
'fields'
|
|
1131
|
+
>;
|
|
375
1132
|
/**
|
|
376
1133
|
* Delete all workflow tags
|
|
377
1134
|
*/
|
|
378
|
-
export declare const removeAllWorkflowTags: <ThrowOnError extends boolean = false>(
|
|
1135
|
+
export declare const removeAllWorkflowTags: <ThrowOnError extends boolean = false>(
|
|
1136
|
+
options: Options<RemoveAllWorkflowTagsData, ThrowOnError>
|
|
1137
|
+
) => import('./client').RequestResult<
|
|
1138
|
+
RemoveAllWorkflowTagsResponses,
|
|
1139
|
+
RemoveAllWorkflowTagsErrors,
|
|
1140
|
+
ThrowOnError,
|
|
1141
|
+
'fields'
|
|
1142
|
+
>;
|
|
379
1143
|
/**
|
|
380
1144
|
* Add workflow tag
|
|
381
1145
|
*
|
|
382
1146
|
* Adds a tag to a workflow
|
|
383
1147
|
*/
|
|
384
|
-
export declare const addWorkflowTag: <ThrowOnError extends boolean = false>(
|
|
1148
|
+
export declare const addWorkflowTag: <ThrowOnError extends boolean = false>(
|
|
1149
|
+
options: Options<AddWorkflowTagData, ThrowOnError>
|
|
1150
|
+
) => import('./client').RequestResult<
|
|
1151
|
+
AddWorkflowTagResponses,
|
|
1152
|
+
AddWorkflowTagErrors,
|
|
1153
|
+
ThrowOnError,
|
|
1154
|
+
'fields'
|
|
1155
|
+
>;
|
|
385
1156
|
/**
|
|
386
1157
|
* Delete workflow tag
|
|
387
1158
|
*/
|
|
388
|
-
export declare const removeWorkflowTag: <ThrowOnError extends boolean = false>(
|
|
1159
|
+
export declare const removeWorkflowTag: <ThrowOnError extends boolean = false>(
|
|
1160
|
+
options: Options<RemoveWorkflowTagData, ThrowOnError>
|
|
1161
|
+
) => import('./client').RequestResult<
|
|
1162
|
+
RemoveWorkflowTagResponses,
|
|
1163
|
+
RemoveWorkflowTagErrors,
|
|
1164
|
+
ThrowOnError,
|
|
1165
|
+
'fields'
|
|
1166
|
+
>;
|
|
389
1167
|
/**
|
|
390
1168
|
* Get the status of a workflow step
|
|
391
1169
|
*/
|
|
392
|
-
export declare const getWorkflowStep: <ThrowOnError extends boolean = false>(
|
|
393
|
-
|
|
1170
|
+
export declare const getWorkflowStep: <ThrowOnError extends boolean = false>(
|
|
1171
|
+
options: Options<GetWorkflowStepData, ThrowOnError>
|
|
1172
|
+
) => import('./client').RequestResult<
|
|
1173
|
+
GetWorkflowStepResponses,
|
|
1174
|
+
GetWorkflowStepErrors,
|
|
1175
|
+
ThrowOnError,
|
|
1176
|
+
'fields'
|
|
1177
|
+
>;
|
|
1178
|
+
export declare const patchWorkflowStep: <ThrowOnError extends boolean = false>(
|
|
1179
|
+
options: Options<PatchWorkflowStepData, ThrowOnError>
|
|
1180
|
+
) => import('./client').RequestResult<
|
|
1181
|
+
PatchWorkflowStepResponses,
|
|
1182
|
+
PatchWorkflowStepErrors,
|
|
1183
|
+
ThrowOnError,
|
|
1184
|
+
'fields'
|
|
1185
|
+
>;
|
|
394
1186
|
/**
|
|
395
1187
|
* Updates a step within a particular workflow.
|
|
396
1188
|
*/
|
|
397
|
-
export declare const updateWorkflowStep: <ThrowOnError extends boolean = false>(
|
|
1189
|
+
export declare const updateWorkflowStep: <ThrowOnError extends boolean = false>(
|
|
1190
|
+
options: Options<UpdateWorkflowStepData, ThrowOnError>
|
|
1191
|
+
) => import('./client').RequestResult<
|
|
1192
|
+
UpdateWorkflowStepResponses,
|
|
1193
|
+
UpdateWorkflowStepErrors,
|
|
1194
|
+
ThrowOnError,
|
|
1195
|
+
'fields'
|
|
1196
|
+
>;
|