@civitai/client 0.1.9-beta.9 → 0.2.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -0
- package/dist/client/CivitaiClient.d.ts +2 -1
- package/dist/client/CivitaiClient.js +13 -13
- package/dist/generated/client/client.d.ts +2 -0
- package/dist/generated/client/client.js +145 -0
- package/dist/generated/client/index.d.ts +22 -0
- package/dist/generated/client/index.js +4 -0
- package/dist/generated/client/types.d.ts +185 -0
- package/dist/generated/client/utils.d.ts +72 -0
- package/dist/generated/client/utils.js +285 -0
- package/dist/generated/client.gen.d.ts +14 -0
- package/dist/generated/client.gen.js +3 -0
- package/dist/generated/core/auth.d.ts +21 -0
- package/dist/generated/core/auth.js +13 -0
- package/dist/generated/core/bodySerializer.d.ts +17 -0
- package/dist/generated/core/bodySerializer.js +53 -0
- package/dist/generated/core/params.d.ts +38 -0
- package/dist/generated/core/params.js +88 -0
- package/dist/generated/core/pathSerializer.d.ts +49 -0
- package/dist/generated/core/pathSerializer.js +105 -0
- package/dist/generated/core/types.d.ts +89 -0
- package/dist/generated/core/types.js +1 -0
- package/dist/generated/index.d.ts +1 -2
- package/dist/generated/index.js +2 -6
- package/dist/generated/schemas.gen.d.ts +2083 -2028
- package/dist/generated/schemas.gen.js +2093 -2031
- package/dist/generated/sdk.gen.d.ts +370 -0
- package/dist/generated/sdk.gen.js +472 -0
- package/dist/generated/services.gen.d.ts +88 -90
- package/dist/generated/services.gen.js +100 -147
- package/dist/generated/types.gen.d.ts +1545 -1982
- package/dist/generated/types.gen.js +70 -134
- package/dist/index.js +3 -6
- package/dist/utils/Air.js +2 -6
- package/dist/utils/TimeSpan.js +24 -28
- package/dist/utils/handleError.d.ts +2 -0
- package/dist/utils/handleError.js +9 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +4 -6
- package/dist/utils/patch-json.js +19 -8
- package/dist/utils/types.d.ts +3 -0
- package/dist/utils/types.js +1 -0
- package/package.json +5 -3
- package/dist/client/RequestsClient.d.ts +0 -0
- package/dist/client/RequestsClient.js +0 -58
- package/dist/generated/GeneratedClient.d.ts +0 -22
- package/dist/generated/GeneratedClient.js +0 -40
- package/dist/generated/core/ApiError.d.ts +0 -10
- package/dist/generated/core/ApiError.js +0 -15
- package/dist/generated/core/ApiRequestOptions.d.ts +0 -13
- package/dist/generated/core/ApiRequestOptions.js +0 -2
- package/dist/generated/core/ApiResult.d.ts +0 -7
- package/dist/generated/core/ApiResult.js +0 -2
- package/dist/generated/core/AxiosHttpRequest.d.ts +0 -14
- package/dist/generated/core/AxiosHttpRequest.js +0 -20
- package/dist/generated/core/BaseHttpRequest.d.ts +0 -8
- package/dist/generated/core/BaseHttpRequest.js +0 -9
- package/dist/generated/core/CancelablePromise.d.ts +0 -37
- package/dist/generated/core/CancelablePromise.js +0 -93
- package/dist/generated/core/FetchHttpRequest.d.ts +0 -14
- package/dist/generated/core/FetchHttpRequest.js +0 -20
- package/dist/generated/core/OpenAPI.d.ts +0 -27
- package/dist/generated/core/OpenAPI.js +0 -33
- package/dist/generated/core/request.d.ts +0 -49
- package/dist/generated/core/request.js +0 -325
- package/dist/generated/enums.gen.d.ts +0 -97
- package/dist/generated/enums.gen.js +0 -101
- package/dist/utils/CivitaiClientError.d.ts +0 -0
- package/dist/utils/CivitaiClientError.js +0 -4
- package/dist/utils/CivitaiError.d.ts +0 -5
- package/dist/utils/CivitaiError.js +0 -13
- package/dist/utils/createClient.js +0 -119
- /package/dist/{utils/createClient.d.ts → generated/client/types.js} +0 -0
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
import type { Options as ClientOptions, TDataShape, Client } from './client';
|
|
2
|
+
import type {
|
|
3
|
+
GetBlobData,
|
|
4
|
+
GetBlobErrors,
|
|
5
|
+
HeadBlobData,
|
|
6
|
+
HeadBlobResponses,
|
|
7
|
+
HeadBlobErrors,
|
|
8
|
+
InvokeAgeClassificationStepTemplateData,
|
|
9
|
+
InvokeAgeClassificationStepTemplateResponses,
|
|
10
|
+
InvokeAgeClassificationStepTemplateErrors,
|
|
11
|
+
InvokeComfyStepTemplateData,
|
|
12
|
+
InvokeComfyStepTemplateResponses,
|
|
13
|
+
InvokeComfyStepTemplateErrors,
|
|
14
|
+
InvokeEchoStepTemplateData,
|
|
15
|
+
InvokeEchoStepTemplateResponses,
|
|
16
|
+
InvokeEchoStepTemplateErrors,
|
|
17
|
+
InvokeImageGenStepTemplateData,
|
|
18
|
+
InvokeImageGenStepTemplateResponses,
|
|
19
|
+
InvokeImageGenStepTemplateErrors,
|
|
20
|
+
InvokeImageResourceTrainingStepTemplateData,
|
|
21
|
+
InvokeImageResourceTrainingStepTemplateResponses,
|
|
22
|
+
InvokeImageResourceTrainingStepTemplateErrors,
|
|
23
|
+
InvokeImageUploadStepTemplateData,
|
|
24
|
+
InvokeImageUploadStepTemplateResponses,
|
|
25
|
+
InvokeImageUploadStepTemplateErrors,
|
|
26
|
+
InvokeTextToImageStepTemplateData,
|
|
27
|
+
InvokeTextToImageStepTemplateResponses,
|
|
28
|
+
InvokeTextToImageStepTemplateErrors,
|
|
29
|
+
InvokeVideoEnhancementStepTemplateData,
|
|
30
|
+
InvokeVideoEnhancementStepTemplateResponses,
|
|
31
|
+
InvokeVideoEnhancementStepTemplateErrors,
|
|
32
|
+
InvokeVideoGenStepTemplateData,
|
|
33
|
+
InvokeVideoGenStepTemplateResponses,
|
|
34
|
+
InvokeVideoGenStepTemplateErrors,
|
|
35
|
+
InvalidateResourceData,
|
|
36
|
+
InvalidateResourceResponses,
|
|
37
|
+
InvalidateResourceErrors,
|
|
38
|
+
GetResourceData,
|
|
39
|
+
GetResourceResponses,
|
|
40
|
+
GetResourceErrors,
|
|
41
|
+
QueryWorkflowsData,
|
|
42
|
+
QueryWorkflowsResponses,
|
|
43
|
+
QueryWorkflowsErrors,
|
|
44
|
+
SubmitWorkflowData,
|
|
45
|
+
SubmitWorkflowResponses,
|
|
46
|
+
SubmitWorkflowErrors,
|
|
47
|
+
DeleteWorkflowData,
|
|
48
|
+
DeleteWorkflowResponses,
|
|
49
|
+
DeleteWorkflowErrors,
|
|
50
|
+
GetWorkflowData,
|
|
51
|
+
GetWorkflowResponses,
|
|
52
|
+
GetWorkflowErrors,
|
|
53
|
+
PatchWorkflowData,
|
|
54
|
+
PatchWorkflowResponses,
|
|
55
|
+
PatchWorkflowErrors,
|
|
56
|
+
UpdateWorkflowData,
|
|
57
|
+
UpdateWorkflowResponses,
|
|
58
|
+
UpdateWorkflowErrors,
|
|
59
|
+
RemoveAllWorkflowTagsData,
|
|
60
|
+
RemoveAllWorkflowTagsResponses,
|
|
61
|
+
RemoveAllWorkflowTagsErrors,
|
|
62
|
+
AddWorkflowTagData,
|
|
63
|
+
AddWorkflowTagResponses,
|
|
64
|
+
AddWorkflowTagErrors,
|
|
65
|
+
RemoveWorkflowTagData,
|
|
66
|
+
RemoveWorkflowTagResponses,
|
|
67
|
+
RemoveWorkflowTagErrors,
|
|
68
|
+
GetWorkflowStepData,
|
|
69
|
+
GetWorkflowStepResponses,
|
|
70
|
+
GetWorkflowStepErrors,
|
|
71
|
+
PatchWorkflowStepData,
|
|
72
|
+
PatchWorkflowStepResponses,
|
|
73
|
+
PatchWorkflowStepErrors,
|
|
74
|
+
UpdateWorkflowStepData,
|
|
75
|
+
UpdateWorkflowStepResponses,
|
|
76
|
+
UpdateWorkflowStepErrors,
|
|
77
|
+
} from './types.gen';
|
|
78
|
+
export type Options<
|
|
79
|
+
TData extends TDataShape = TDataShape,
|
|
80
|
+
ThrowOnError extends boolean = boolean,
|
|
81
|
+
> = ClientOptions<TData, ThrowOnError> & {
|
|
82
|
+
/**
|
|
83
|
+
* You can provide a client instance returned by `createClient()` instead of
|
|
84
|
+
* individual options. This might be also useful if you want to implement a
|
|
85
|
+
* custom client.
|
|
86
|
+
*/
|
|
87
|
+
client?: Client;
|
|
88
|
+
/**
|
|
89
|
+
* You can pass arbitrary values through the `meta` object. This can be
|
|
90
|
+
* used to access values that aren't defined as part of the SDK function.
|
|
91
|
+
*/
|
|
92
|
+
meta?: Record<string, unknown>;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Get blob by ID. This will return the blob as a binary stream.
|
|
96
|
+
*/
|
|
97
|
+
export declare const getBlob: <ThrowOnError extends boolean = false>(
|
|
98
|
+
options: Options<GetBlobData, ThrowOnError>
|
|
99
|
+
) => import('./client').RequestResult<unknown, GetBlobErrors, ThrowOnError, 'fields'>;
|
|
100
|
+
/**
|
|
101
|
+
* Handles HTTP HEAD requests for a specific blob, checking its existence and NSFW level.
|
|
102
|
+
*/
|
|
103
|
+
export declare const headBlob: <ThrowOnError extends boolean = false>(
|
|
104
|
+
options: Options<HeadBlobData, ThrowOnError>
|
|
105
|
+
) => import('./client').RequestResult<HeadBlobResponses, HeadBlobErrors, ThrowOnError, 'fields'>;
|
|
106
|
+
/**
|
|
107
|
+
* Age classification
|
|
108
|
+
* Detects minors in media content. Returns a boolean value indicating whether the content contains minors as well as details on where minors are detected.
|
|
109
|
+
*/
|
|
110
|
+
export declare const invokeAgeClassificationStepTemplate: <ThrowOnError extends boolean = false>(
|
|
111
|
+
options?: Options<InvokeAgeClassificationStepTemplateData, ThrowOnError>
|
|
112
|
+
) => import('./client').RequestResult<
|
|
113
|
+
InvokeAgeClassificationStepTemplateResponses,
|
|
114
|
+
InvokeAgeClassificationStepTemplateErrors,
|
|
115
|
+
ThrowOnError,
|
|
116
|
+
'fields'
|
|
117
|
+
>;
|
|
118
|
+
/**
|
|
119
|
+
* Comfy workflows
|
|
120
|
+
* Runs a comfy workflow. Currently there are limited nodes available. Contact support for more information.
|
|
121
|
+
*/
|
|
122
|
+
export declare const invokeComfyStepTemplate: <ThrowOnError extends boolean = false>(
|
|
123
|
+
options?: Options<InvokeComfyStepTemplateData, ThrowOnError>
|
|
124
|
+
) => import('./client').RequestResult<
|
|
125
|
+
InvokeComfyStepTemplateResponses,
|
|
126
|
+
InvokeComfyStepTemplateErrors,
|
|
127
|
+
ThrowOnError,
|
|
128
|
+
'fields'
|
|
129
|
+
>;
|
|
130
|
+
/**
|
|
131
|
+
* Echo
|
|
132
|
+
* A workflow step that takes a message string and retuns it.
|
|
133
|
+
* /// This step is intended for testing purposes.
|
|
134
|
+
*/
|
|
135
|
+
export declare const invokeEchoStepTemplate: <ThrowOnError extends boolean = false>(
|
|
136
|
+
options?: Options<InvokeEchoStepTemplateData, ThrowOnError>
|
|
137
|
+
) => import('./client').RequestResult<
|
|
138
|
+
InvokeEchoStepTemplateResponses,
|
|
139
|
+
InvokeEchoStepTemplateErrors,
|
|
140
|
+
ThrowOnError,
|
|
141
|
+
'fields'
|
|
142
|
+
>;
|
|
143
|
+
/**
|
|
144
|
+
* Image Generation
|
|
145
|
+
* Generate images through text/image inputs using any of our supported engines
|
|
146
|
+
*/
|
|
147
|
+
export declare const invokeImageGenStepTemplate: <ThrowOnError extends boolean = false>(
|
|
148
|
+
options?: Options<InvokeImageGenStepTemplateData, ThrowOnError>
|
|
149
|
+
) => import('./client').RequestResult<
|
|
150
|
+
InvokeImageGenStepTemplateResponses,
|
|
151
|
+
InvokeImageGenStepTemplateErrors,
|
|
152
|
+
ThrowOnError,
|
|
153
|
+
'fields'
|
|
154
|
+
>;
|
|
155
|
+
/**
|
|
156
|
+
* LORA Training
|
|
157
|
+
* Train LORA's
|
|
158
|
+
*/
|
|
159
|
+
export declare const invokeImageResourceTrainingStepTemplate: <
|
|
160
|
+
ThrowOnError extends boolean = false,
|
|
161
|
+
>(
|
|
162
|
+
options?: Options<InvokeImageResourceTrainingStepTemplateData, ThrowOnError>
|
|
163
|
+
) => import('./client').RequestResult<
|
|
164
|
+
InvokeImageResourceTrainingStepTemplateResponses,
|
|
165
|
+
InvokeImageResourceTrainingStepTemplateErrors,
|
|
166
|
+
ThrowOnError,
|
|
167
|
+
'fields'
|
|
168
|
+
>;
|
|
169
|
+
/**
|
|
170
|
+
* Image upload
|
|
171
|
+
* Uploads an image to be used in a workflow
|
|
172
|
+
*/
|
|
173
|
+
export declare const invokeImageUploadStepTemplate: <ThrowOnError extends boolean = false>(
|
|
174
|
+
options?: Options<InvokeImageUploadStepTemplateData, ThrowOnError>
|
|
175
|
+
) => import('./client').RequestResult<
|
|
176
|
+
InvokeImageUploadStepTemplateResponses,
|
|
177
|
+
InvokeImageUploadStepTemplateErrors,
|
|
178
|
+
ThrowOnError,
|
|
179
|
+
'fields'
|
|
180
|
+
>;
|
|
181
|
+
/**
|
|
182
|
+
* TextToImage
|
|
183
|
+
* Generate images using text as input
|
|
184
|
+
*/
|
|
185
|
+
export declare const invokeTextToImageStepTemplate: <ThrowOnError extends boolean = false>(
|
|
186
|
+
options?: Options<InvokeTextToImageStepTemplateData, ThrowOnError>
|
|
187
|
+
) => import('./client').RequestResult<
|
|
188
|
+
InvokeTextToImageStepTemplateResponses,
|
|
189
|
+
InvokeTextToImageStepTemplateErrors,
|
|
190
|
+
ThrowOnError,
|
|
191
|
+
'fields'
|
|
192
|
+
>;
|
|
193
|
+
/**
|
|
194
|
+
* Upscale videos and/or interpolate frames
|
|
195
|
+
*/
|
|
196
|
+
export declare const invokeVideoEnhancementStepTemplate: <ThrowOnError extends boolean = false>(
|
|
197
|
+
options?: Options<InvokeVideoEnhancementStepTemplateData, ThrowOnError>
|
|
198
|
+
) => import('./client').RequestResult<
|
|
199
|
+
InvokeVideoEnhancementStepTemplateResponses,
|
|
200
|
+
InvokeVideoEnhancementStepTemplateErrors,
|
|
201
|
+
ThrowOnError,
|
|
202
|
+
'fields'
|
|
203
|
+
>;
|
|
204
|
+
/**
|
|
205
|
+
* Video generation
|
|
206
|
+
* Generate videos through text/image inputs using any of our supported engines
|
|
207
|
+
*/
|
|
208
|
+
export declare const invokeVideoGenStepTemplate: <ThrowOnError extends boolean = false>(
|
|
209
|
+
options?: Options<InvokeVideoGenStepTemplateData, ThrowOnError>
|
|
210
|
+
) => import('./client').RequestResult<
|
|
211
|
+
InvokeVideoGenStepTemplateResponses,
|
|
212
|
+
InvokeVideoGenStepTemplateErrors,
|
|
213
|
+
ThrowOnError,
|
|
214
|
+
'fields'
|
|
215
|
+
>;
|
|
216
|
+
/**
|
|
217
|
+
* Invalidates the cache of a specific resource.
|
|
218
|
+
*/
|
|
219
|
+
export declare const invalidateResource: <ThrowOnError extends boolean = false>(
|
|
220
|
+
options: Options<InvalidateResourceData, ThrowOnError>
|
|
221
|
+
) => import('./client').RequestResult<
|
|
222
|
+
InvalidateResourceResponses,
|
|
223
|
+
InvalidateResourceErrors,
|
|
224
|
+
ThrowOnError,
|
|
225
|
+
'fields'
|
|
226
|
+
>;
|
|
227
|
+
/**
|
|
228
|
+
* Get an existing resource.
|
|
229
|
+
*/
|
|
230
|
+
export declare const getResource: <ThrowOnError extends boolean = false>(
|
|
231
|
+
options: Options<GetResourceData, ThrowOnError>
|
|
232
|
+
) => import('./client').RequestResult<
|
|
233
|
+
GetResourceResponses,
|
|
234
|
+
GetResourceErrors,
|
|
235
|
+
ThrowOnError,
|
|
236
|
+
'fields'
|
|
237
|
+
>;
|
|
238
|
+
/**
|
|
239
|
+
* Query workflows
|
|
240
|
+
*/
|
|
241
|
+
export declare const queryWorkflows: <ThrowOnError extends boolean = false>(
|
|
242
|
+
options?: Options<QueryWorkflowsData, ThrowOnError>
|
|
243
|
+
) => import('./client').RequestResult<
|
|
244
|
+
QueryWorkflowsResponses,
|
|
245
|
+
QueryWorkflowsErrors,
|
|
246
|
+
ThrowOnError,
|
|
247
|
+
'fields'
|
|
248
|
+
>;
|
|
249
|
+
/**
|
|
250
|
+
* Submit workflow
|
|
251
|
+
*/
|
|
252
|
+
export declare const submitWorkflow: <ThrowOnError extends boolean = false>(
|
|
253
|
+
options?: Options<SubmitWorkflowData, ThrowOnError>
|
|
254
|
+
) => import('./client').RequestResult<
|
|
255
|
+
SubmitWorkflowResponses,
|
|
256
|
+
SubmitWorkflowErrors,
|
|
257
|
+
ThrowOnError,
|
|
258
|
+
'fields'
|
|
259
|
+
>;
|
|
260
|
+
/**
|
|
261
|
+
* Delete workflow
|
|
262
|
+
* This will delete a workflow. This may trigger a refund if the work requested with this workflow has not yet started
|
|
263
|
+
*/
|
|
264
|
+
export declare const deleteWorkflow: <ThrowOnError extends boolean = false>(
|
|
265
|
+
options: Options<DeleteWorkflowData, ThrowOnError>
|
|
266
|
+
) => import('./client').RequestResult<
|
|
267
|
+
DeleteWorkflowResponses,
|
|
268
|
+
DeleteWorkflowErrors,
|
|
269
|
+
ThrowOnError,
|
|
270
|
+
'fields'
|
|
271
|
+
>;
|
|
272
|
+
/**
|
|
273
|
+
* Get workflow
|
|
274
|
+
*/
|
|
275
|
+
export declare const getWorkflow: <ThrowOnError extends boolean = false>(
|
|
276
|
+
options: Options<GetWorkflowData, ThrowOnError>
|
|
277
|
+
) => import('./client').RequestResult<
|
|
278
|
+
GetWorkflowResponses,
|
|
279
|
+
GetWorkflowErrors,
|
|
280
|
+
ThrowOnError,
|
|
281
|
+
'fields'
|
|
282
|
+
>;
|
|
283
|
+
/**
|
|
284
|
+
* Patch workflow
|
|
285
|
+
* Patches a worfklow using JSON Patch. This can currently be used to cancel a worfklow, update metadata and add additional tags
|
|
286
|
+
*/
|
|
287
|
+
export declare const patchWorkflow: <ThrowOnError extends boolean = false>(
|
|
288
|
+
options: Options<PatchWorkflowData, ThrowOnError>
|
|
289
|
+
) => import('./client').RequestResult<
|
|
290
|
+
PatchWorkflowResponses,
|
|
291
|
+
PatchWorkflowErrors,
|
|
292
|
+
ThrowOnError,
|
|
293
|
+
'fields'
|
|
294
|
+
>;
|
|
295
|
+
/**
|
|
296
|
+
* Update workflow
|
|
297
|
+
* Updates a worfklow. This can currently be used to cancel a worfklow or override metadata and/or tags
|
|
298
|
+
*/
|
|
299
|
+
export declare const updateWorkflow: <ThrowOnError extends boolean = false>(
|
|
300
|
+
options: Options<UpdateWorkflowData, ThrowOnError>
|
|
301
|
+
) => import('./client').RequestResult<
|
|
302
|
+
UpdateWorkflowResponses,
|
|
303
|
+
UpdateWorkflowErrors,
|
|
304
|
+
ThrowOnError,
|
|
305
|
+
'fields'
|
|
306
|
+
>;
|
|
307
|
+
/**
|
|
308
|
+
* Delete all workflow tags
|
|
309
|
+
*/
|
|
310
|
+
export declare const removeAllWorkflowTags: <ThrowOnError extends boolean = false>(
|
|
311
|
+
options: Options<RemoveAllWorkflowTagsData, ThrowOnError>
|
|
312
|
+
) => import('./client').RequestResult<
|
|
313
|
+
RemoveAllWorkflowTagsResponses,
|
|
314
|
+
RemoveAllWorkflowTagsErrors,
|
|
315
|
+
ThrowOnError,
|
|
316
|
+
'fields'
|
|
317
|
+
>;
|
|
318
|
+
/**
|
|
319
|
+
* Add workflow tag
|
|
320
|
+
* Adds a tag to a workflow
|
|
321
|
+
*/
|
|
322
|
+
export declare const addWorkflowTag: <ThrowOnError extends boolean = false>(
|
|
323
|
+
options: Options<AddWorkflowTagData, ThrowOnError>
|
|
324
|
+
) => import('./client').RequestResult<
|
|
325
|
+
AddWorkflowTagResponses,
|
|
326
|
+
AddWorkflowTagErrors,
|
|
327
|
+
ThrowOnError,
|
|
328
|
+
'fields'
|
|
329
|
+
>;
|
|
330
|
+
/**
|
|
331
|
+
* Delete workflow tag
|
|
332
|
+
*/
|
|
333
|
+
export declare const removeWorkflowTag: <ThrowOnError extends boolean = false>(
|
|
334
|
+
options: Options<RemoveWorkflowTagData, ThrowOnError>
|
|
335
|
+
) => import('./client').RequestResult<
|
|
336
|
+
RemoveWorkflowTagResponses,
|
|
337
|
+
RemoveWorkflowTagErrors,
|
|
338
|
+
ThrowOnError,
|
|
339
|
+
'fields'
|
|
340
|
+
>;
|
|
341
|
+
/**
|
|
342
|
+
* Get the status of a workflow step
|
|
343
|
+
*/
|
|
344
|
+
export declare const getWorkflowStep: <ThrowOnError extends boolean = false>(
|
|
345
|
+
options: Options<GetWorkflowStepData, ThrowOnError>
|
|
346
|
+
) => import('./client').RequestResult<
|
|
347
|
+
GetWorkflowStepResponses,
|
|
348
|
+
GetWorkflowStepErrors,
|
|
349
|
+
ThrowOnError,
|
|
350
|
+
'fields'
|
|
351
|
+
>;
|
|
352
|
+
export declare const patchWorkflowStep: <ThrowOnError extends boolean = false>(
|
|
353
|
+
options: Options<PatchWorkflowStepData, ThrowOnError>
|
|
354
|
+
) => import('./client').RequestResult<
|
|
355
|
+
PatchWorkflowStepResponses,
|
|
356
|
+
PatchWorkflowStepErrors,
|
|
357
|
+
ThrowOnError,
|
|
358
|
+
'fields'
|
|
359
|
+
>;
|
|
360
|
+
/**
|
|
361
|
+
* Updates a step within a particular workflow.
|
|
362
|
+
*/
|
|
363
|
+
export declare const updateWorkflowStep: <ThrowOnError extends boolean = false>(
|
|
364
|
+
options: Options<UpdateWorkflowStepData, ThrowOnError>
|
|
365
|
+
) => import('./client').RequestResult<
|
|
366
|
+
UpdateWorkflowStepResponses,
|
|
367
|
+
UpdateWorkflowStepErrors,
|
|
368
|
+
ThrowOnError,
|
|
369
|
+
'fields'
|
|
370
|
+
>;
|