@civitai/client 0.2.0-beta.40 → 0.2.0-beta.42
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/generated/client/client.gen.d.ts +2 -0
- package/dist/generated/client/client.gen.js +237 -0
- package/dist/generated/client/index.d.ts +9 -8
- package/dist/generated/client/index.js +6 -4
- package/dist/generated/client/types.gen.d.ts +194 -0
- package/dist/generated/client/types.gen.js +2 -0
- package/dist/generated/client/utils.gen.d.ts +58 -0
- package/dist/generated/client/utils.gen.js +234 -0
- package/dist/generated/client.gen.d.ts +5 -5
- package/dist/generated/client.gen.js +1 -1
- package/dist/generated/core/auth.gen.d.ts +21 -0
- package/dist/generated/core/auth.gen.js +14 -0
- package/dist/generated/core/bodySerializer.gen.d.ts +25 -0
- package/dist/generated/core/bodySerializer.gen.js +57 -0
- package/dist/generated/core/params.gen.d.ts +49 -0
- package/dist/generated/core/params.gen.js +100 -0
- package/dist/generated/core/pathSerializer.gen.d.ts +49 -0
- package/dist/generated/core/pathSerializer.gen.js +106 -0
- package/dist/generated/core/queryKeySerializer.gen.d.ts +24 -0
- package/dist/generated/core/queryKeySerializer.gen.js +92 -0
- package/dist/generated/core/serverSentEvents.gen.d.ts +88 -0
- package/dist/generated/core/serverSentEvents.gen.js +134 -0
- package/dist/generated/core/types.gen.d.ts +106 -0
- package/dist/generated/core/types.gen.js +2 -0
- package/dist/generated/core/utils.gen.d.ts +25 -0
- package/dist/generated/core/utils.gen.js +87 -0
- package/dist/generated/index.d.ts +1228 -2
- package/dist/generated/index.js +2 -2
- package/dist/generated/sdk.gen.d.ts +505 -75
- package/dist/generated/sdk.gen.js +371 -331
- package/dist/generated/types.gen.d.ts +9742 -2074
- package/dist/generated/types.gen.js +81 -82
- package/package.json +3 -3
|
@@ -1,143 +1,239 @@
|
|
|
1
|
-
import type { Options as
|
|
1
|
+
import type { Client, Options as Options2, TDataShape } from './client';
|
|
2
2
|
import type {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
AddWorkflowTagData,
|
|
4
|
+
AddWorkflowTagErrors,
|
|
5
|
+
AddWorkflowTagResponses,
|
|
6
|
+
ClaimJobsData,
|
|
7
|
+
ClaimJobsErrors,
|
|
8
|
+
ClaimJobsResponses,
|
|
9
|
+
CreateConfigurationData,
|
|
10
|
+
CreateConfigurationErrors,
|
|
11
|
+
CreateConfigurationResponses,
|
|
12
|
+
CreateWorkerData,
|
|
13
|
+
CreateWorkerErrors,
|
|
14
|
+
CreateWorkerResponses,
|
|
15
|
+
DeleteConfigurationData,
|
|
16
|
+
DeleteConfigurationErrors,
|
|
17
|
+
DeleteConfigurationResponses,
|
|
18
|
+
DeleteV2ProvidersWorkersByWorkerIdPeersByPeerNodeIdentifierData,
|
|
19
|
+
DeleteV2ProvidersWorkersByWorkerIdPeersByPeerNodeIdentifierErrors,
|
|
20
|
+
DeleteV2ProvidersWorkersByWorkerIdPeersByPeerNodeIdentifierResponses,
|
|
21
|
+
DeleteWorkerData,
|
|
22
|
+
DeleteWorkerErrors,
|
|
23
|
+
DeleteWorkerResponses,
|
|
24
|
+
DeleteWorkflowData,
|
|
25
|
+
DeleteWorkflowErrors,
|
|
26
|
+
DeleteWorkflowResponses,
|
|
27
|
+
DiagnoseJobResourcesData,
|
|
28
|
+
DiagnoseJobResourcesErrors,
|
|
29
|
+
DiagnoseJobResourcesResponses,
|
|
30
|
+
DownloadResourceData,
|
|
31
|
+
DownloadResourceErrors,
|
|
32
|
+
DownloadResourceResponses,
|
|
14
33
|
GetBlobContentData,
|
|
15
|
-
GetBlobContentResponses,
|
|
16
34
|
GetBlobContentErrors,
|
|
35
|
+
GetBlobContentResponses,
|
|
36
|
+
GetBlobData,
|
|
37
|
+
GetBlobErrors,
|
|
17
38
|
GetBlockedContentData,
|
|
18
39
|
GetBlockedContentErrors,
|
|
40
|
+
GetConfigurationData,
|
|
41
|
+
GetConfigurationErrors,
|
|
42
|
+
GetConfigurationResponses,
|
|
43
|
+
GetConsumerBlobUploadUrlData,
|
|
44
|
+
GetConsumerBlobUploadUrlErrors,
|
|
45
|
+
GetConsumerBlobUploadUrlResponses,
|
|
46
|
+
GetHuggingFaceRepositorySnapshotData,
|
|
47
|
+
GetHuggingFaceRepositorySnapshotErrors,
|
|
48
|
+
GetHuggingFaceRepositorySnapshotResponses,
|
|
49
|
+
GetRecommendedResourcesData,
|
|
50
|
+
GetRecommendedResourcesErrors,
|
|
51
|
+
GetRecommendedResourcesResponses,
|
|
52
|
+
GetRegistrationData,
|
|
53
|
+
GetRegistrationErrors,
|
|
54
|
+
GetRegistrationResponses,
|
|
55
|
+
GetResourceData,
|
|
56
|
+
GetResourceErrors,
|
|
57
|
+
GetResourceResponses,
|
|
58
|
+
GetStreamingBlobData,
|
|
59
|
+
GetStreamingBlobErrors,
|
|
60
|
+
GetStreamingBlobResponses,
|
|
61
|
+
GetWorkerData,
|
|
62
|
+
GetWorkerErrors,
|
|
63
|
+
GetWorkerResourceStatusData,
|
|
64
|
+
GetWorkerResourceStatusErrors,
|
|
65
|
+
GetWorkerResourceStatusResponses,
|
|
66
|
+
GetWorkerResponses,
|
|
67
|
+
GetWorkflowData,
|
|
68
|
+
GetWorkflowErrors,
|
|
69
|
+
GetWorkflowResponses,
|
|
70
|
+
GetWorkflowStepData,
|
|
71
|
+
GetWorkflowStepErrors,
|
|
72
|
+
GetWorkflowStepResponses,
|
|
73
|
+
HeadBlobData,
|
|
74
|
+
HeadBlobErrors,
|
|
75
|
+
HeadBlobResponses,
|
|
76
|
+
InvalidateResourceData,
|
|
77
|
+
InvalidateResourceErrors,
|
|
78
|
+
InvalidateResourceResponses,
|
|
79
|
+
InvalidateUserCacheData,
|
|
80
|
+
InvalidateUserCacheErrors,
|
|
81
|
+
InvalidateUserCacheResponses,
|
|
19
82
|
InvokeAceStepAudioStepTemplateData,
|
|
20
|
-
InvokeAceStepAudioStepTemplateResponses,
|
|
21
83
|
InvokeAceStepAudioStepTemplateErrors,
|
|
84
|
+
InvokeAceStepAudioStepTemplateResponses,
|
|
22
85
|
InvokeAgeClassificationStepTemplateData,
|
|
23
|
-
InvokeAgeClassificationStepTemplateResponses,
|
|
24
86
|
InvokeAgeClassificationStepTemplateErrors,
|
|
87
|
+
InvokeAgeClassificationStepTemplateResponses,
|
|
88
|
+
InvokeBatchOcrSafetyClassificationStepTemplateData,
|
|
89
|
+
InvokeBatchOcrSafetyClassificationStepTemplateErrors,
|
|
90
|
+
InvokeBatchOcrSafetyClassificationStepTemplateResponses,
|
|
25
91
|
InvokeChatCompletionStepTemplateData,
|
|
26
|
-
InvokeChatCompletionStepTemplateResponses,
|
|
27
92
|
InvokeChatCompletionStepTemplateErrors,
|
|
93
|
+
InvokeChatCompletionStepTemplateResponses,
|
|
28
94
|
InvokeComfyStepTemplateData,
|
|
29
|
-
InvokeComfyStepTemplateResponses,
|
|
30
95
|
InvokeComfyStepTemplateErrors,
|
|
96
|
+
InvokeComfyStepTemplateResponses,
|
|
31
97
|
InvokeConvertImageStepTemplateData,
|
|
32
|
-
InvokeConvertImageStepTemplateResponses,
|
|
33
98
|
InvokeConvertImageStepTemplateErrors,
|
|
99
|
+
InvokeConvertImageStepTemplateResponses,
|
|
34
100
|
InvokeEchoStepTemplateData,
|
|
35
|
-
InvokeEchoStepTemplateResponses,
|
|
36
101
|
InvokeEchoStepTemplateErrors,
|
|
102
|
+
InvokeEchoStepTemplateResponses,
|
|
103
|
+
InvokeHumanoidImageMaskStepTemplateData,
|
|
104
|
+
InvokeHumanoidImageMaskStepTemplateErrors,
|
|
105
|
+
InvokeHumanoidImageMaskStepTemplateResponses,
|
|
37
106
|
InvokeImageGenStepTemplateData,
|
|
38
|
-
InvokeImageGenStepTemplateResponses,
|
|
39
107
|
InvokeImageGenStepTemplateErrors,
|
|
108
|
+
InvokeImageGenStepTemplateResponses,
|
|
40
109
|
InvokeImageResourceTrainingStepTemplateData,
|
|
41
|
-
InvokeImageResourceTrainingStepTemplateResponses,
|
|
42
110
|
InvokeImageResourceTrainingStepTemplateErrors,
|
|
111
|
+
InvokeImageResourceTrainingStepTemplateResponses,
|
|
43
112
|
InvokeImageUploadStepTemplateData,
|
|
44
|
-
InvokeImageUploadStepTemplateResponses,
|
|
45
113
|
InvokeImageUploadStepTemplateErrors,
|
|
114
|
+
InvokeImageUploadStepTemplateResponses,
|
|
46
115
|
InvokeImageUpscalerStepTemplateData,
|
|
47
|
-
InvokeImageUpscalerStepTemplateResponses,
|
|
48
116
|
InvokeImageUpscalerStepTemplateErrors,
|
|
117
|
+
InvokeImageUpscalerStepTemplateResponses,
|
|
49
118
|
InvokeMediaHashStepTemplateData,
|
|
50
|
-
InvokeMediaHashStepTemplateResponses,
|
|
51
119
|
InvokeMediaHashStepTemplateErrors,
|
|
120
|
+
InvokeMediaHashStepTemplateResponses,
|
|
52
121
|
InvokeMediaRatingStepTemplateData,
|
|
53
|
-
InvokeMediaRatingStepTemplateResponses,
|
|
54
122
|
InvokeMediaRatingStepTemplateErrors,
|
|
123
|
+
InvokeMediaRatingStepTemplateResponses,
|
|
55
124
|
InvokePreprocessImageStepTemplateData,
|
|
56
|
-
InvokePreprocessImageStepTemplateResponses,
|
|
57
125
|
InvokePreprocessImageStepTemplateErrors,
|
|
126
|
+
InvokePreprocessImageStepTemplateResponses,
|
|
127
|
+
InvokePromptEnhancementStepTemplateData,
|
|
128
|
+
InvokePromptEnhancementStepTemplateErrors,
|
|
129
|
+
InvokePromptEnhancementStepTemplateResponses,
|
|
130
|
+
InvokeRepeatStepTemplateData,
|
|
131
|
+
InvokeRepeatStepTemplateErrors,
|
|
132
|
+
InvokeRepeatStepTemplateResponses,
|
|
58
133
|
InvokeTextToImageStepTemplateData,
|
|
59
|
-
InvokeTextToImageStepTemplateResponses,
|
|
60
134
|
InvokeTextToImageStepTemplateErrors,
|
|
135
|
+
InvokeTextToImageStepTemplateResponses,
|
|
61
136
|
InvokeTextToSpeechStepTemplateData,
|
|
62
|
-
InvokeTextToSpeechStepTemplateResponses,
|
|
63
137
|
InvokeTextToSpeechStepTemplateErrors,
|
|
138
|
+
InvokeTextToSpeechStepTemplateResponses,
|
|
64
139
|
InvokeTrainingStepTemplateData,
|
|
65
|
-
InvokeTrainingStepTemplateResponses,
|
|
66
140
|
InvokeTrainingStepTemplateErrors,
|
|
141
|
+
InvokeTrainingStepTemplateResponses,
|
|
142
|
+
InvokeTranscodeStepTemplateData,
|
|
143
|
+
InvokeTranscodeStepTemplateErrors,
|
|
144
|
+
InvokeTranscodeStepTemplateResponses,
|
|
67
145
|
InvokeTranscriptionStepTemplateData,
|
|
68
|
-
InvokeTranscriptionStepTemplateResponses,
|
|
69
146
|
InvokeTranscriptionStepTemplateErrors,
|
|
147
|
+
InvokeTranscriptionStepTemplateResponses,
|
|
148
|
+
InvokeTryOnUStepTemplateData,
|
|
149
|
+
InvokeTryOnUStepTemplateErrors,
|
|
150
|
+
InvokeTryOnUStepTemplateResponses,
|
|
70
151
|
InvokeVideoEnhancementStepTemplateData,
|
|
71
|
-
InvokeVideoEnhancementStepTemplateResponses,
|
|
72
152
|
InvokeVideoEnhancementStepTemplateErrors,
|
|
153
|
+
InvokeVideoEnhancementStepTemplateResponses,
|
|
73
154
|
InvokeVideoFrameExtractionStepTemplateData,
|
|
74
|
-
InvokeVideoFrameExtractionStepTemplateResponses,
|
|
75
155
|
InvokeVideoFrameExtractionStepTemplateErrors,
|
|
156
|
+
InvokeVideoFrameExtractionStepTemplateResponses,
|
|
76
157
|
InvokeVideoGenStepTemplateData,
|
|
77
|
-
InvokeVideoGenStepTemplateResponses,
|
|
78
158
|
InvokeVideoGenStepTemplateErrors,
|
|
159
|
+
InvokeVideoGenStepTemplateResponses,
|
|
79
160
|
InvokeVideoInterpolationStepTemplateData,
|
|
80
|
-
InvokeVideoInterpolationStepTemplateResponses,
|
|
81
161
|
InvokeVideoInterpolationStepTemplateErrors,
|
|
162
|
+
InvokeVideoInterpolationStepTemplateResponses,
|
|
82
163
|
InvokeVideoMetadataStepTemplateData,
|
|
83
|
-
InvokeVideoMetadataStepTemplateResponses,
|
|
84
164
|
InvokeVideoMetadataStepTemplateErrors,
|
|
165
|
+
InvokeVideoMetadataStepTemplateResponses,
|
|
85
166
|
InvokeVideoUpscalerStepTemplateData,
|
|
86
|
-
InvokeVideoUpscalerStepTemplateResponses,
|
|
87
167
|
InvokeVideoUpscalerStepTemplateErrors,
|
|
168
|
+
InvokeVideoUpscalerStepTemplateResponses,
|
|
88
169
|
InvokeWdTaggingStepTemplateData,
|
|
89
|
-
InvokeWdTaggingStepTemplateResponses,
|
|
90
170
|
InvokeWdTaggingStepTemplateErrors,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
GetResourceResponses,
|
|
96
|
-
GetResourceErrors,
|
|
97
|
-
GetStreamingBlobData,
|
|
98
|
-
GetStreamingBlobResponses,
|
|
99
|
-
GetStreamingBlobErrors,
|
|
100
|
-
QueryWorkflowsData,
|
|
101
|
-
QueryWorkflowsResponses,
|
|
102
|
-
QueryWorkflowsErrors,
|
|
103
|
-
SubmitWorkflowData,
|
|
104
|
-
SubmitWorkflowResponses,
|
|
105
|
-
SubmitWorkflowErrors,
|
|
106
|
-
DeleteWorkflowData,
|
|
107
|
-
DeleteWorkflowResponses,
|
|
108
|
-
DeleteWorkflowErrors,
|
|
109
|
-
GetWorkflowData,
|
|
110
|
-
GetWorkflowResponses,
|
|
111
|
-
GetWorkflowErrors,
|
|
171
|
+
InvokeWdTaggingStepTemplateResponses,
|
|
172
|
+
PatchWorkerResourcesData,
|
|
173
|
+
PatchWorkerResourcesErrors,
|
|
174
|
+
PatchWorkerResourcesResponses,
|
|
112
175
|
PatchWorkflowData,
|
|
113
|
-
PatchWorkflowResponses,
|
|
114
176
|
PatchWorkflowErrors,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
177
|
+
PatchWorkflowResponses,
|
|
178
|
+
PatchWorkflowStepData,
|
|
179
|
+
PatchWorkflowStepErrors,
|
|
180
|
+
PatchWorkflowStepResponses,
|
|
181
|
+
PostV2ProvidersWorkersByWorkerIdPeersByPeerNodeIdentifierData,
|
|
182
|
+
PostV2ProvidersWorkersByWorkerIdPeersByPeerNodeIdentifierErrors,
|
|
183
|
+
PostV2ProvidersWorkersByWorkerIdPeersByPeerNodeIdentifierResponses,
|
|
184
|
+
QueryConfigurationsData,
|
|
185
|
+
QueryConfigurationsErrors,
|
|
186
|
+
QueryConfigurationsResponses,
|
|
187
|
+
QueryWorkersData,
|
|
188
|
+
QueryWorkersErrors,
|
|
189
|
+
QueryWorkersResponses,
|
|
190
|
+
QueryWorkflowsData,
|
|
191
|
+
QueryWorkflowsErrors,
|
|
192
|
+
QueryWorkflowsResponses,
|
|
118
193
|
RemoveAllWorkflowTagsData,
|
|
119
|
-
RemoveAllWorkflowTagsResponses,
|
|
120
194
|
RemoveAllWorkflowTagsErrors,
|
|
121
|
-
|
|
122
|
-
AddWorkflowTagResponses,
|
|
123
|
-
AddWorkflowTagErrors,
|
|
195
|
+
RemoveAllWorkflowTagsResponses,
|
|
124
196
|
RemoveWorkflowTagData,
|
|
125
|
-
RemoveWorkflowTagResponses,
|
|
126
197
|
RemoveWorkflowTagErrors,
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
198
|
+
RemoveWorkflowTagResponses,
|
|
199
|
+
SubmitWorkflowData,
|
|
200
|
+
SubmitWorkflowErrors,
|
|
201
|
+
SubmitWorkflowResponses,
|
|
202
|
+
TriggerWorkerDiagnosticsData,
|
|
203
|
+
TriggerWorkerDiagnosticsErrors,
|
|
204
|
+
TriggerWorkerDiagnosticsResponses,
|
|
205
|
+
UpdateClaimStatusData,
|
|
206
|
+
UpdateClaimStatusErrors,
|
|
207
|
+
UpdateClaimStatusResponses,
|
|
208
|
+
UpdateWorkerData,
|
|
209
|
+
UpdateWorkerErrors,
|
|
210
|
+
UpdateWorkerRegistrationData,
|
|
211
|
+
UpdateWorkerRegistrationErrors,
|
|
212
|
+
UpdateWorkerRegistrationResponses,
|
|
213
|
+
UpdateWorkerResponses,
|
|
214
|
+
UpdateWorkflowData,
|
|
215
|
+
UpdateWorkflowErrors,
|
|
216
|
+
UpdateWorkflowResponses,
|
|
133
217
|
UpdateWorkflowStepData,
|
|
134
|
-
UpdateWorkflowStepResponses,
|
|
135
218
|
UpdateWorkflowStepErrors,
|
|
219
|
+
UpdateWorkflowStepResponses,
|
|
220
|
+
UploadBlobData,
|
|
221
|
+
UploadBlobErrors,
|
|
222
|
+
UploadBlobResponses,
|
|
223
|
+
UploadConsumerBlobData,
|
|
224
|
+
UploadConsumerBlobErrors,
|
|
225
|
+
UploadConsumerBlobResponses,
|
|
226
|
+
UploadMultipleBlobsData,
|
|
227
|
+
UploadMultipleBlobsErrors,
|
|
228
|
+
UploadMultipleBlobsResponses,
|
|
229
|
+
UploadStreamingBlobData,
|
|
230
|
+
UploadStreamingBlobErrors,
|
|
231
|
+
UploadStreamingBlobResponses,
|
|
136
232
|
} from './types.gen';
|
|
137
233
|
export type Options<
|
|
138
234
|
TData extends TDataShape = TDataShape,
|
|
139
235
|
ThrowOnError extends boolean = boolean,
|
|
140
|
-
> =
|
|
236
|
+
> = Options2<TData, ThrowOnError> & {
|
|
141
237
|
/**
|
|
142
238
|
* You can provide a client instance returned by `createClient()` instead of
|
|
143
239
|
* individual options. This might be also useful if you want to implement a
|
|
@@ -150,6 +246,22 @@ export type Options<
|
|
|
150
246
|
*/
|
|
151
247
|
meta?: Record<string, unknown>;
|
|
152
248
|
};
|
|
249
|
+
export declare const uploadBlob: <ThrowOnError extends boolean = false>(
|
|
250
|
+
options: Options<UploadBlobData, ThrowOnError>
|
|
251
|
+
) => import('./client').RequestResult<
|
|
252
|
+
UploadBlobResponses,
|
|
253
|
+
UploadBlobErrors,
|
|
254
|
+
ThrowOnError,
|
|
255
|
+
'fields'
|
|
256
|
+
>;
|
|
257
|
+
export declare const uploadMultipleBlobs: <ThrowOnError extends boolean = false>(
|
|
258
|
+
options?: Options<UploadMultipleBlobsData, ThrowOnError>
|
|
259
|
+
) => import('./client').RequestResult<
|
|
260
|
+
UploadMultipleBlobsResponses,
|
|
261
|
+
UploadMultipleBlobsErrors,
|
|
262
|
+
ThrowOnError,
|
|
263
|
+
'fields'
|
|
264
|
+
>;
|
|
153
265
|
/**
|
|
154
266
|
* Get blob by ID. This will redirect to a cacheable content URL.
|
|
155
267
|
*/
|
|
@@ -203,6 +315,69 @@ export declare const getBlobContent: <ThrowOnError extends boolean = false>(
|
|
|
203
315
|
export declare const getBlockedContent: <ThrowOnError extends boolean = false>(
|
|
204
316
|
options: Options<GetBlockedContentData, ThrowOnError>
|
|
205
317
|
) => import('./client').RequestResult<unknown, GetBlockedContentErrors, ThrowOnError, 'fields'>;
|
|
318
|
+
export declare const invalidateUserCache: <ThrowOnError extends boolean = false>(
|
|
319
|
+
options: Options<InvalidateUserCacheData, ThrowOnError>
|
|
320
|
+
) => import('./client').RequestResult<
|
|
321
|
+
InvalidateUserCacheResponses,
|
|
322
|
+
InvalidateUserCacheErrors,
|
|
323
|
+
ThrowOnError,
|
|
324
|
+
'fields'
|
|
325
|
+
>;
|
|
326
|
+
export declare const claimJobs: <ThrowOnError extends boolean = false>(
|
|
327
|
+
options: Options<ClaimJobsData, ThrowOnError>
|
|
328
|
+
) => import('./client').RequestResult<ClaimJobsResponses, ClaimJobsErrors, ThrowOnError, 'fields'>;
|
|
329
|
+
export declare const updateClaimStatus: <ThrowOnError extends boolean = false>(
|
|
330
|
+
options: Options<UpdateClaimStatusData, ThrowOnError>
|
|
331
|
+
) => import('./client').RequestResult<
|
|
332
|
+
UpdateClaimStatusResponses,
|
|
333
|
+
UpdateClaimStatusErrors,
|
|
334
|
+
ThrowOnError,
|
|
335
|
+
'fields'
|
|
336
|
+
>;
|
|
337
|
+
/**
|
|
338
|
+
* Query for existing configurations.
|
|
339
|
+
*/
|
|
340
|
+
export declare const queryConfigurations: <ThrowOnError extends boolean = false>(
|
|
341
|
+
options?: Options<QueryConfigurationsData, ThrowOnError>
|
|
342
|
+
) => import('./client').RequestResult<
|
|
343
|
+
QueryConfigurationsResponses,
|
|
344
|
+
QueryConfigurationsErrors,
|
|
345
|
+
ThrowOnError,
|
|
346
|
+
'fields'
|
|
347
|
+
>;
|
|
348
|
+
/**
|
|
349
|
+
* Create a new configuration.
|
|
350
|
+
*/
|
|
351
|
+
export declare const createConfiguration: <ThrowOnError extends boolean = false>(
|
|
352
|
+
options?: Options<CreateConfigurationData, ThrowOnError>
|
|
353
|
+
) => import('./client').RequestResult<
|
|
354
|
+
CreateConfigurationResponses,
|
|
355
|
+
CreateConfigurationErrors,
|
|
356
|
+
ThrowOnError,
|
|
357
|
+
'fields'
|
|
358
|
+
>;
|
|
359
|
+
/**
|
|
360
|
+
* Get options for a configuration.
|
|
361
|
+
*/
|
|
362
|
+
export declare const getConfiguration: <ThrowOnError extends boolean = false>(
|
|
363
|
+
options: Options<GetConfigurationData, ThrowOnError>
|
|
364
|
+
) => import('./client').RequestResult<
|
|
365
|
+
GetConfigurationResponses,
|
|
366
|
+
GetConfigurationErrors,
|
|
367
|
+
ThrowOnError,
|
|
368
|
+
'fields'
|
|
369
|
+
>;
|
|
370
|
+
/**
|
|
371
|
+
* Delete a configuration.
|
|
372
|
+
*/
|
|
373
|
+
export declare const deleteConfiguration: <ThrowOnError extends boolean = false>(
|
|
374
|
+
options: Options<DeleteConfigurationData, ThrowOnError>
|
|
375
|
+
) => import('./client').RequestResult<
|
|
376
|
+
DeleteConfigurationResponses,
|
|
377
|
+
DeleteConfigurationErrors,
|
|
378
|
+
ThrowOnError,
|
|
379
|
+
'fields'
|
|
380
|
+
>;
|
|
206
381
|
/**
|
|
207
382
|
* Workflow step for generating music using ACE Step 1.5.
|
|
208
383
|
* /// Produces full songs from text descriptions and structured lyrics.
|
|
@@ -217,6 +392,7 @@ export declare const invokeAceStepAudioStepTemplate: <ThrowOnError extends boole
|
|
|
217
392
|
>;
|
|
218
393
|
/**
|
|
219
394
|
* Age classification
|
|
395
|
+
*
|
|
220
396
|
* Detects minors in media content. Returns a boolean value indicating whether the content contains minors as well as details on where minors are detected.
|
|
221
397
|
*/
|
|
222
398
|
export declare const invokeAgeClassificationStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -227,8 +403,19 @@ export declare const invokeAgeClassificationStepTemplate: <ThrowOnError extends
|
|
|
227
403
|
ThrowOnError,
|
|
228
404
|
'fields'
|
|
229
405
|
>;
|
|
406
|
+
export declare const invokeBatchOcrSafetyClassificationStepTemplate: <
|
|
407
|
+
ThrowOnError extends boolean = false,
|
|
408
|
+
>(
|
|
409
|
+
options?: Options<InvokeBatchOcrSafetyClassificationStepTemplateData, ThrowOnError>
|
|
410
|
+
) => import('./client').RequestResult<
|
|
411
|
+
InvokeBatchOcrSafetyClassificationStepTemplateResponses,
|
|
412
|
+
InvokeBatchOcrSafetyClassificationStepTemplateErrors,
|
|
413
|
+
ThrowOnError,
|
|
414
|
+
'fields'
|
|
415
|
+
>;
|
|
230
416
|
/**
|
|
231
417
|
* ChatCompletion
|
|
418
|
+
*
|
|
232
419
|
* Generate chat completions using language models with support for text and image inputs.
|
|
233
420
|
* /// Compatible with OpenAI Chat Completions API format.
|
|
234
421
|
*/
|
|
@@ -242,6 +429,7 @@ export declare const invokeChatCompletionStepTemplate: <ThrowOnError extends boo
|
|
|
242
429
|
>;
|
|
243
430
|
/**
|
|
244
431
|
* Comfy workflows
|
|
432
|
+
*
|
|
245
433
|
* Runs a comfy workflow. Currently there are limited nodes available. Contact support for more information.
|
|
246
434
|
*/
|
|
247
435
|
export declare const invokeComfyStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -265,6 +453,7 @@ export declare const invokeConvertImageStepTemplate: <ThrowOnError extends boole
|
|
|
265
453
|
>;
|
|
266
454
|
/**
|
|
267
455
|
* Echo
|
|
456
|
+
*
|
|
268
457
|
* A workflow step that takes a message string and retuns it.
|
|
269
458
|
* /// This step is intended for testing purposes.
|
|
270
459
|
*/
|
|
@@ -276,8 +465,17 @@ export declare const invokeEchoStepTemplate: <ThrowOnError extends boolean = fal
|
|
|
276
465
|
ThrowOnError,
|
|
277
466
|
'fields'
|
|
278
467
|
>;
|
|
468
|
+
export declare const invokeHumanoidImageMaskStepTemplate: <ThrowOnError extends boolean = false>(
|
|
469
|
+
options?: Options<InvokeHumanoidImageMaskStepTemplateData, ThrowOnError>
|
|
470
|
+
) => import('./client').RequestResult<
|
|
471
|
+
InvokeHumanoidImageMaskStepTemplateResponses,
|
|
472
|
+
InvokeHumanoidImageMaskStepTemplateErrors,
|
|
473
|
+
ThrowOnError,
|
|
474
|
+
'fields'
|
|
475
|
+
>;
|
|
279
476
|
/**
|
|
280
477
|
* Image Generation
|
|
478
|
+
*
|
|
281
479
|
* Generate images through text/image inputs using any of our supported engines
|
|
282
480
|
*/
|
|
283
481
|
export declare const invokeImageGenStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -290,6 +488,7 @@ export declare const invokeImageGenStepTemplate: <ThrowOnError extends boolean =
|
|
|
290
488
|
>;
|
|
291
489
|
/**
|
|
292
490
|
* LORA Training
|
|
491
|
+
*
|
|
293
492
|
* Train LORA's
|
|
294
493
|
*/
|
|
295
494
|
export declare const invokeImageResourceTrainingStepTemplate: <
|
|
@@ -304,6 +503,7 @@ export declare const invokeImageResourceTrainingStepTemplate: <
|
|
|
304
503
|
>;
|
|
305
504
|
/**
|
|
306
505
|
* Image upload
|
|
506
|
+
*
|
|
307
507
|
* Uploads an image to be used in a workflow
|
|
308
508
|
*/
|
|
309
509
|
export declare const invokeImageUploadStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -324,6 +524,7 @@ export declare const invokeImageUpscalerStepTemplate: <ThrowOnError extends bool
|
|
|
324
524
|
>;
|
|
325
525
|
/**
|
|
326
526
|
* MediaHash
|
|
527
|
+
*
|
|
327
528
|
* Generates perceptual hashes for media content to enable similarity detection and duplicate identification.
|
|
328
529
|
*/
|
|
329
530
|
export declare const invokeMediaHashStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -336,6 +537,7 @@ export declare const invokeMediaHashStepTemplate: <ThrowOnError extends boolean
|
|
|
336
537
|
>;
|
|
337
538
|
/**
|
|
338
539
|
* MediaRating
|
|
540
|
+
*
|
|
339
541
|
* Performs NSFW level detection and content safety classification on media content.
|
|
340
542
|
*/
|
|
341
543
|
export declare const invokeMediaRatingStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -354,8 +556,34 @@ export declare const invokePreprocessImageStepTemplate: <ThrowOnError extends bo
|
|
|
354
556
|
ThrowOnError,
|
|
355
557
|
'fields'
|
|
356
558
|
>;
|
|
559
|
+
/**
|
|
560
|
+
* PromptEnhancement
|
|
561
|
+
*
|
|
562
|
+
* Analyzes and enhances user prompts for a specific AI ecosystem.
|
|
563
|
+
* /// Returns detected issues, recommendations, and improved prompt variants.
|
|
564
|
+
*/
|
|
565
|
+
export declare const invokePromptEnhancementStepTemplate: <ThrowOnError extends boolean = false>(
|
|
566
|
+
options?: Options<InvokePromptEnhancementStepTemplateData, ThrowOnError>
|
|
567
|
+
) => import('./client').RequestResult<
|
|
568
|
+
InvokePromptEnhancementStepTemplateResponses,
|
|
569
|
+
InvokePromptEnhancementStepTemplateErrors,
|
|
570
|
+
ThrowOnError,
|
|
571
|
+
'fields'
|
|
572
|
+
>;
|
|
573
|
+
/**
|
|
574
|
+
* Repeat workflow step.
|
|
575
|
+
*/
|
|
576
|
+
export declare const invokeRepeatStepTemplate: <ThrowOnError extends boolean = false>(
|
|
577
|
+
options?: Options<InvokeRepeatStepTemplateData, ThrowOnError>
|
|
578
|
+
) => import('./client').RequestResult<
|
|
579
|
+
InvokeRepeatStepTemplateResponses,
|
|
580
|
+
InvokeRepeatStepTemplateErrors,
|
|
581
|
+
ThrowOnError,
|
|
582
|
+
'fields'
|
|
583
|
+
>;
|
|
357
584
|
/**
|
|
358
585
|
* TextToImage
|
|
586
|
+
*
|
|
359
587
|
* Generate images using text as input
|
|
360
588
|
*/
|
|
361
589
|
export declare const invokeTextToImageStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -368,6 +596,7 @@ export declare const invokeTextToImageStepTemplate: <ThrowOnError extends boolea
|
|
|
368
596
|
>;
|
|
369
597
|
/**
|
|
370
598
|
* Text-to-Speech
|
|
599
|
+
*
|
|
371
600
|
* Synthesizes speech from text, supporting both voice cloning (Base mode with reference audio) and built-in speakers (CustomVoice mode).
|
|
372
601
|
*/
|
|
373
602
|
export declare const invokeTextToSpeechStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -380,6 +609,7 @@ export declare const invokeTextToSpeechStepTemplate: <ThrowOnError extends boole
|
|
|
380
609
|
>;
|
|
381
610
|
/**
|
|
382
611
|
* Training
|
|
612
|
+
*
|
|
383
613
|
* A workflow step for training machine learning models (LoRAs, checkpoints, etc.)
|
|
384
614
|
* /// on various types of data (images, videos, audio). This replaces ImageResourceTraining
|
|
385
615
|
* /// with a cleaner architecture that creates one job per epoch instead of a single monolithic job.
|
|
@@ -392,8 +622,20 @@ export declare const invokeTrainingStepTemplate: <ThrowOnError extends boolean =
|
|
|
392
622
|
ThrowOnError,
|
|
393
623
|
'fields'
|
|
394
624
|
>;
|
|
625
|
+
/**
|
|
626
|
+
* Transcoding
|
|
627
|
+
*/
|
|
628
|
+
export declare const invokeTranscodeStepTemplate: <ThrowOnError extends boolean = false>(
|
|
629
|
+
options?: Options<InvokeTranscodeStepTemplateData, ThrowOnError>
|
|
630
|
+
) => import('./client').RequestResult<
|
|
631
|
+
InvokeTranscodeStepTemplateResponses,
|
|
632
|
+
InvokeTranscodeStepTemplateErrors,
|
|
633
|
+
ThrowOnError,
|
|
634
|
+
'fields'
|
|
635
|
+
>;
|
|
395
636
|
/**
|
|
396
637
|
* Transcription
|
|
638
|
+
*
|
|
397
639
|
* Performs automatic speech recognition (ASR) on audio media, returning transcribed text with optional timestamps.
|
|
398
640
|
*/
|
|
399
641
|
export declare const invokeTranscriptionStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -404,6 +646,14 @@ export declare const invokeTranscriptionStepTemplate: <ThrowOnError extends bool
|
|
|
404
646
|
ThrowOnError,
|
|
405
647
|
'fields'
|
|
406
648
|
>;
|
|
649
|
+
export declare const invokeTryOnUStepTemplate: <ThrowOnError extends boolean = false>(
|
|
650
|
+
options?: Options<InvokeTryOnUStepTemplateData, ThrowOnError>
|
|
651
|
+
) => import('./client').RequestResult<
|
|
652
|
+
InvokeTryOnUStepTemplateResponses,
|
|
653
|
+
InvokeTryOnUStepTemplateErrors,
|
|
654
|
+
ThrowOnError,
|
|
655
|
+
'fields'
|
|
656
|
+
>;
|
|
407
657
|
/**
|
|
408
658
|
* Upscale videos and/or interpolate frames
|
|
409
659
|
*/
|
|
@@ -417,6 +667,7 @@ export declare const invokeVideoEnhancementStepTemplate: <ThrowOnError extends b
|
|
|
417
667
|
>;
|
|
418
668
|
/**
|
|
419
669
|
* Video Frame Extraction
|
|
670
|
+
*
|
|
420
671
|
* Extracts unique frames from a video at a specified rate using perceptual hashing to filter out duplicate/similar frames.
|
|
421
672
|
* /// Useful for generating video previews, storyboards, or analyzing video content.
|
|
422
673
|
*/
|
|
@@ -430,6 +681,7 @@ export declare const invokeVideoFrameExtractionStepTemplate: <ThrowOnError exten
|
|
|
430
681
|
>;
|
|
431
682
|
/**
|
|
432
683
|
* Video generation
|
|
684
|
+
*
|
|
433
685
|
* Generate videos through text/image inputs using any of our supported engines
|
|
434
686
|
*/
|
|
435
687
|
export declare const invokeVideoGenStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -475,6 +727,7 @@ export declare const invokeVideoUpscalerStepTemplate: <ThrowOnError extends bool
|
|
|
475
727
|
>;
|
|
476
728
|
/**
|
|
477
729
|
* WDTagging
|
|
730
|
+
*
|
|
478
731
|
* Performs Waifu Diffusion tagging on media content to identify characteristics, objects, and themes.
|
|
479
732
|
*/
|
|
480
733
|
export declare const invokeWdTaggingStepTemplate: <ThrowOnError extends boolean = false>(
|
|
@@ -507,6 +760,25 @@ export declare const getResource: <ThrowOnError extends boolean = false>(
|
|
|
507
760
|
ThrowOnError,
|
|
508
761
|
'fields'
|
|
509
762
|
>;
|
|
763
|
+
/**
|
|
764
|
+
* Download a HuggingFace repository as a TAR archive.
|
|
765
|
+
*/
|
|
766
|
+
export declare const getHuggingFaceRepositorySnapshot: <ThrowOnError extends boolean = false>(
|
|
767
|
+
options: Options<GetHuggingFaceRepositorySnapshotData, ThrowOnError>
|
|
768
|
+
) => import('./client').RequestResult<
|
|
769
|
+
GetHuggingFaceRepositorySnapshotResponses,
|
|
770
|
+
GetHuggingFaceRepositorySnapshotErrors,
|
|
771
|
+
ThrowOnError,
|
|
772
|
+
'fields'
|
|
773
|
+
>;
|
|
774
|
+
export declare const uploadStreamingBlob: <ThrowOnError extends boolean = false>(
|
|
775
|
+
options: Options<UploadStreamingBlobData, ThrowOnError>
|
|
776
|
+
) => import('./client').RequestResult<
|
|
777
|
+
UploadStreamingBlobResponses,
|
|
778
|
+
UploadStreamingBlobErrors,
|
|
779
|
+
ThrowOnError,
|
|
780
|
+
'fields'
|
|
781
|
+
>;
|
|
510
782
|
export declare const getStreamingBlob: <ThrowOnError extends boolean = false>(
|
|
511
783
|
options: Options<GetStreamingBlobData, ThrowOnError>
|
|
512
784
|
) => import('./client').RequestResult<
|
|
@@ -515,6 +787,160 @@ export declare const getStreamingBlob: <ThrowOnError extends boolean = false>(
|
|
|
515
787
|
ThrowOnError,
|
|
516
788
|
'fields'
|
|
517
789
|
>;
|
|
790
|
+
/**
|
|
791
|
+
* Diagnoses resource availability for a specific job on a specific worker.
|
|
792
|
+
* Compares the WorkerGrain's view (source of truth) with the queue's view to identify sync issues.
|
|
793
|
+
*/
|
|
794
|
+
export declare const diagnoseJobResources: <ThrowOnError extends boolean = false>(
|
|
795
|
+
options: Options<DiagnoseJobResourcesData, ThrowOnError>
|
|
796
|
+
) => import('./client').RequestResult<
|
|
797
|
+
DiagnoseJobResourcesResponses,
|
|
798
|
+
DiagnoseJobResourcesErrors,
|
|
799
|
+
ThrowOnError,
|
|
800
|
+
'fields'
|
|
801
|
+
>;
|
|
802
|
+
/**
|
|
803
|
+
* Triggers a full registration resync for a worker.
|
|
804
|
+
* This will force the queue to fetch the latest worker registration from the WorkerGrain.
|
|
805
|
+
*/
|
|
806
|
+
export declare const triggerWorkerDiagnostics: <ThrowOnError extends boolean = false>(
|
|
807
|
+
options: Options<TriggerWorkerDiagnosticsData, ThrowOnError>
|
|
808
|
+
) => import('./client').RequestResult<
|
|
809
|
+
TriggerWorkerDiagnosticsResponses,
|
|
810
|
+
TriggerWorkerDiagnosticsErrors,
|
|
811
|
+
ThrowOnError,
|
|
812
|
+
'fields'
|
|
813
|
+
>;
|
|
814
|
+
export declare const deleteV2ProvidersWorkersByWorkerIdPeersByPeerNodeIdentifier: <
|
|
815
|
+
ThrowOnError extends boolean = false,
|
|
816
|
+
>(
|
|
817
|
+
options: Options<DeleteV2ProvidersWorkersByWorkerIdPeersByPeerNodeIdentifierData, ThrowOnError>
|
|
818
|
+
) => import('./client').RequestResult<
|
|
819
|
+
DeleteV2ProvidersWorkersByWorkerIdPeersByPeerNodeIdentifierResponses,
|
|
820
|
+
DeleteV2ProvidersWorkersByWorkerIdPeersByPeerNodeIdentifierErrors,
|
|
821
|
+
ThrowOnError,
|
|
822
|
+
'fields'
|
|
823
|
+
>;
|
|
824
|
+
export declare const postV2ProvidersWorkersByWorkerIdPeersByPeerNodeIdentifier: <
|
|
825
|
+
ThrowOnError extends boolean = false,
|
|
826
|
+
>(
|
|
827
|
+
options: Options<PostV2ProvidersWorkersByWorkerIdPeersByPeerNodeIdentifierData, ThrowOnError>
|
|
828
|
+
) => import('./client').RequestResult<
|
|
829
|
+
PostV2ProvidersWorkersByWorkerIdPeersByPeerNodeIdentifierResponses,
|
|
830
|
+
PostV2ProvidersWorkersByWorkerIdPeersByPeerNodeIdentifierErrors,
|
|
831
|
+
ThrowOnError,
|
|
832
|
+
'fields'
|
|
833
|
+
>;
|
|
834
|
+
export declare const getRecommendedResources: <ThrowOnError extends boolean = false>(
|
|
835
|
+
options: Options<GetRecommendedResourcesData, ThrowOnError>
|
|
836
|
+
) => import('./client').RequestResult<
|
|
837
|
+
GetRecommendedResourcesResponses,
|
|
838
|
+
GetRecommendedResourcesErrors,
|
|
839
|
+
ThrowOnError,
|
|
840
|
+
'fields'
|
|
841
|
+
>;
|
|
842
|
+
export declare const downloadResource: <ThrowOnError extends boolean = false>(
|
|
843
|
+
options: Options<DownloadResourceData, ThrowOnError>
|
|
844
|
+
) => import('./client').RequestResult<
|
|
845
|
+
DownloadResourceResponses,
|
|
846
|
+
DownloadResourceErrors,
|
|
847
|
+
ThrowOnError,
|
|
848
|
+
'fields'
|
|
849
|
+
>;
|
|
850
|
+
/**
|
|
851
|
+
* Query existing workers.
|
|
852
|
+
*/
|
|
853
|
+
export declare const queryWorkers: <ThrowOnError extends boolean = false>(
|
|
854
|
+
options?: Options<QueryWorkersData, ThrowOnError>
|
|
855
|
+
) => import('./client').RequestResult<
|
|
856
|
+
QueryWorkersResponses,
|
|
857
|
+
QueryWorkersErrors,
|
|
858
|
+
ThrowOnError,
|
|
859
|
+
'fields'
|
|
860
|
+
>;
|
|
861
|
+
/**
|
|
862
|
+
* Create a worker with a given registration.
|
|
863
|
+
*/
|
|
864
|
+
export declare const createWorker: <ThrowOnError extends boolean = false>(
|
|
865
|
+
options?: Options<CreateWorkerData, ThrowOnError>
|
|
866
|
+
) => import('./client').RequestResult<
|
|
867
|
+
CreateWorkerResponses,
|
|
868
|
+
CreateWorkerErrors,
|
|
869
|
+
ThrowOnError,
|
|
870
|
+
'fields'
|
|
871
|
+
>;
|
|
872
|
+
/**
|
|
873
|
+
* Delete a worker.
|
|
874
|
+
*/
|
|
875
|
+
export declare const deleteWorker: <ThrowOnError extends boolean = false>(
|
|
876
|
+
options: Options<DeleteWorkerData, ThrowOnError>
|
|
877
|
+
) => import('./client').RequestResult<
|
|
878
|
+
DeleteWorkerResponses,
|
|
879
|
+
DeleteWorkerErrors,
|
|
880
|
+
ThrowOnError,
|
|
881
|
+
'fields'
|
|
882
|
+
>;
|
|
883
|
+
/**
|
|
884
|
+
* Gets the worker for the provided ID.
|
|
885
|
+
*/
|
|
886
|
+
export declare const getWorker: <ThrowOnError extends boolean = false>(
|
|
887
|
+
options: Options<GetWorkerData, ThrowOnError>
|
|
888
|
+
) => import('./client').RequestResult<GetWorkerResponses, GetWorkerErrors, ThrowOnError, 'fields'>;
|
|
889
|
+
/**
|
|
890
|
+
* Update mutable worker properties such as paused state.
|
|
891
|
+
*/
|
|
892
|
+
export declare const updateWorker: <ThrowOnError extends boolean = false>(
|
|
893
|
+
options: Options<UpdateWorkerData, ThrowOnError>
|
|
894
|
+
) => import('./client').RequestResult<
|
|
895
|
+
UpdateWorkerResponses,
|
|
896
|
+
UpdateWorkerErrors,
|
|
897
|
+
ThrowOnError,
|
|
898
|
+
'fields'
|
|
899
|
+
>;
|
|
900
|
+
/**
|
|
901
|
+
* Gets the registration details for the specified worker.
|
|
902
|
+
*/
|
|
903
|
+
export declare const getRegistration: <ThrowOnError extends boolean = false>(
|
|
904
|
+
options: Options<GetRegistrationData, ThrowOnError>
|
|
905
|
+
) => import('./client').RequestResult<
|
|
906
|
+
GetRegistrationResponses,
|
|
907
|
+
GetRegistrationErrors,
|
|
908
|
+
ThrowOnError,
|
|
909
|
+
'fields'
|
|
910
|
+
>;
|
|
911
|
+
/**
|
|
912
|
+
* Update the registration details of the specified worker.
|
|
913
|
+
*/
|
|
914
|
+
export declare const updateWorkerRegistration: <ThrowOnError extends boolean = false>(
|
|
915
|
+
options: Options<UpdateWorkerRegistrationData, ThrowOnError>
|
|
916
|
+
) => import('./client').RequestResult<
|
|
917
|
+
UpdateWorkerRegistrationResponses,
|
|
918
|
+
UpdateWorkerRegistrationErrors,
|
|
919
|
+
ThrowOnError,
|
|
920
|
+
'fields'
|
|
921
|
+
>;
|
|
922
|
+
/**
|
|
923
|
+
* Get the status of a particular workers resource
|
|
924
|
+
*/
|
|
925
|
+
export declare const getWorkerResourceStatus: <ThrowOnError extends boolean = false>(
|
|
926
|
+
options: Options<GetWorkerResourceStatusData, ThrowOnError>
|
|
927
|
+
) => import('./client').RequestResult<
|
|
928
|
+
GetWorkerResourceStatusResponses,
|
|
929
|
+
GetWorkerResourceStatusErrors,
|
|
930
|
+
ThrowOnError,
|
|
931
|
+
'fields'
|
|
932
|
+
>;
|
|
933
|
+
/**
|
|
934
|
+
* Patch a worker's registration resources
|
|
935
|
+
*/
|
|
936
|
+
export declare const patchWorkerResources: <ThrowOnError extends boolean = false>(
|
|
937
|
+
options: Options<PatchWorkerResourcesData, ThrowOnError>
|
|
938
|
+
) => import('./client').RequestResult<
|
|
939
|
+
PatchWorkerResourcesResponses,
|
|
940
|
+
PatchWorkerResourcesErrors,
|
|
941
|
+
ThrowOnError,
|
|
942
|
+
'fields'
|
|
943
|
+
>;
|
|
518
944
|
/**
|
|
519
945
|
* Query workflows
|
|
520
946
|
*/
|
|
@@ -539,6 +965,7 @@ export declare const submitWorkflow: <ThrowOnError extends boolean = false>(
|
|
|
539
965
|
>;
|
|
540
966
|
/**
|
|
541
967
|
* Delete workflow
|
|
968
|
+
*
|
|
542
969
|
* This will delete a workflow. This may trigger a refund if the work requested with this workflow has not yet started
|
|
543
970
|
*/
|
|
544
971
|
export declare const deleteWorkflow: <ThrowOnError extends boolean = false>(
|
|
@@ -562,6 +989,7 @@ export declare const getWorkflow: <ThrowOnError extends boolean = false>(
|
|
|
562
989
|
>;
|
|
563
990
|
/**
|
|
564
991
|
* Patch workflow
|
|
992
|
+
*
|
|
565
993
|
* Patches a worfklow using JSON Patch. This can currently be used to cancel a worfklow, update metadata and add additional tags
|
|
566
994
|
*/
|
|
567
995
|
export declare const patchWorkflow: <ThrowOnError extends boolean = false>(
|
|
@@ -574,6 +1002,7 @@ export declare const patchWorkflow: <ThrowOnError extends boolean = false>(
|
|
|
574
1002
|
>;
|
|
575
1003
|
/**
|
|
576
1004
|
* Update workflow
|
|
1005
|
+
*
|
|
577
1006
|
* Updates a worfklow. This can currently be used to cancel a worfklow or override metadata and/or tags
|
|
578
1007
|
*/
|
|
579
1008
|
export declare const updateWorkflow: <ThrowOnError extends boolean = false>(
|
|
@@ -597,6 +1026,7 @@ export declare const removeAllWorkflowTags: <ThrowOnError extends boolean = fals
|
|
|
597
1026
|
>;
|
|
598
1027
|
/**
|
|
599
1028
|
* Add workflow tag
|
|
1029
|
+
*
|
|
600
1030
|
* Adds a tag to a workflow
|
|
601
1031
|
*/
|
|
602
1032
|
export declare const addWorkflowTag: <ThrowOnError extends boolean = false>(
|