@civitai/client 0.2.0-beta.42 → 0.2.0-beta.43
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/types.d.ts +4 -5
- package/dist/generated/client/types.gen.d.ts +4 -3
- package/dist/generated/client/utils.gen.js +1 -1
- package/dist/generated/core/types.gen.d.ts +1 -1
- package/dist/generated/core/utils.gen.js +1 -1
- package/dist/generated/index.d.ts +56 -378
- package/dist/generated/index.js +2 -2
- package/dist/generated/sdk.gen.d.ts +46 -317
- package/dist/generated/sdk.gen.js +37 -216
- package/dist/generated/types.gen.d.ts +2182 -7958
- package/dist/generated/types.gen.js +6 -47
- package/package.json +1 -1
package/dist/generated/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
export { addWorkflowTag,
|
|
3
|
-
export { AnimalPoseBboxDetector, AnimalPoseEstimator, AnylineMergeWith, BlurRegionMode, BuzzClientAccount,
|
|
2
|
+
export { addWorkflowTag, deleteWorkflow, getBlob, getBlobContent, getBlockedContent, getConsumerBlobUploadUrl, getResource, getStreamingBlob, getWorkflow, getWorkflowStep, headBlob, invalidateResource, invalidateUserCache, invokeAceStepAudioStepTemplate, invokeAgeClassificationStepTemplate, invokeBatchOcrSafetyClassificationStepTemplate, invokeChatCompletionStepTemplate, invokeComfyStepTemplate, invokeConvertImageStepTemplate, invokeEchoStepTemplate, invokeHumanoidImageMaskStepTemplate, invokeImageGenStepTemplate, invokeImageResourceTrainingStepTemplate, invokeImageUploadStepTemplate, invokeImageUpscalerStepTemplate, invokeMediaCaptioningStepTemplate, invokeMediaHashStepTemplate, invokeMediaRatingStepTemplate, invokePreprocessImageStepTemplate, invokePromptEnhancementStepTemplate, invokeRepeatStepTemplate, invokeTextToImageStepTemplate, invokeTextToSpeechStepTemplate, invokeTrainingStepTemplate, invokeTranscodeStepTemplate, invokeTranscriptionStepTemplate, invokeTryOnUStepTemplate, invokeVideoEnhancementStepTemplate, invokeVideoFrameExtractionStepTemplate, invokeVideoGenStepTemplate, invokeVideoInterpolationStepTemplate, invokeVideoMetadataStepTemplate, invokeVideoUpscalerStepTemplate, invokeWdTaggingStepTemplate, invokeXGuardModerationStepTemplate, patchWorkflow, patchWorkflowStep, queryWorkflows, refreshBlob, removeAllWorkflowTags, removeWorkflowTag, submitWorkflow, updateWorkflow, updateWorkflowStep, uploadConsumerBlob, } from './sdk.gen';
|
|
3
|
+
export { AnimalPoseBboxDetector, AnimalPoseEstimator, AnylineMergeWith, BlurRegionMode, BuzzClientAccount, CoarseMode, ComfySampler, ComfyScheduler, ContainerFormat, DensePoseColormap, DensePoseModel, DepthAnythingCheckpoint, DepthAnythingV2Checkpoint, DwPoseBboxDetector, DwPoseEstimator, FileFormat, HaiperVideoGenAspectRatio, HaiperVideoGenCameraMovement, HaiperVideoGenModel, HumanoidImageMaskCategory, ImageGenOutputFormat, ImageResouceTrainingModerationStatus, ImageTransformer, JobSupport, KlingMode, KlingModel, KlingV3Operation, KlingVideoGenAspectRatio, KlingVideoGenDuration, LeresBoost, LightricksAspectRatio, MediaHashType, Metric3dBackbone, MiniMaxVideoGenModel, NsfwLevel, OutputFormat, Priority, SafeMode, Scheduler, SdCppSampleMethod, SdCppSchedule, SdCppUCacheMode, SeedreamVersion, TrainingModerationStatus, TransactionType, UpdateWorkflowStatus, Veo3AspectRatio, Veo3GenerationMode, Veo3Version, ViduVideoGenModel, ViduVideoGenStyle, WorkflowStatus, WorkflowUpgradeMode, XGuardModerationMode, ZoeDepthEnvironment, } from './types.gen';
|
|
@@ -3,33 +3,9 @@ import type {
|
|
|
3
3
|
AddWorkflowTagData,
|
|
4
4
|
AddWorkflowTagErrors,
|
|
5
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
6
|
DeleteWorkflowData,
|
|
25
7
|
DeleteWorkflowErrors,
|
|
26
8
|
DeleteWorkflowResponses,
|
|
27
|
-
DiagnoseJobResourcesData,
|
|
28
|
-
DiagnoseJobResourcesErrors,
|
|
29
|
-
DiagnoseJobResourcesResponses,
|
|
30
|
-
DownloadResourceData,
|
|
31
|
-
DownloadResourceErrors,
|
|
32
|
-
DownloadResourceResponses,
|
|
33
9
|
GetBlobContentData,
|
|
34
10
|
GetBlobContentErrors,
|
|
35
11
|
GetBlobContentResponses,
|
|
@@ -37,33 +13,15 @@ import type {
|
|
|
37
13
|
GetBlobErrors,
|
|
38
14
|
GetBlockedContentData,
|
|
39
15
|
GetBlockedContentErrors,
|
|
40
|
-
GetConfigurationData,
|
|
41
|
-
GetConfigurationErrors,
|
|
42
|
-
GetConfigurationResponses,
|
|
43
16
|
GetConsumerBlobUploadUrlData,
|
|
44
17
|
GetConsumerBlobUploadUrlErrors,
|
|
45
18
|
GetConsumerBlobUploadUrlResponses,
|
|
46
|
-
GetHuggingFaceRepositorySnapshotData,
|
|
47
|
-
GetHuggingFaceRepositorySnapshotErrors,
|
|
48
|
-
GetHuggingFaceRepositorySnapshotResponses,
|
|
49
|
-
GetRecommendedResourcesData,
|
|
50
|
-
GetRecommendedResourcesErrors,
|
|
51
|
-
GetRecommendedResourcesResponses,
|
|
52
|
-
GetRegistrationData,
|
|
53
|
-
GetRegistrationErrors,
|
|
54
|
-
GetRegistrationResponses,
|
|
55
19
|
GetResourceData,
|
|
56
20
|
GetResourceErrors,
|
|
57
21
|
GetResourceResponses,
|
|
58
22
|
GetStreamingBlobData,
|
|
59
23
|
GetStreamingBlobErrors,
|
|
60
24
|
GetStreamingBlobResponses,
|
|
61
|
-
GetWorkerData,
|
|
62
|
-
GetWorkerErrors,
|
|
63
|
-
GetWorkerResourceStatusData,
|
|
64
|
-
GetWorkerResourceStatusErrors,
|
|
65
|
-
GetWorkerResourceStatusResponses,
|
|
66
|
-
GetWorkerResponses,
|
|
67
25
|
GetWorkflowData,
|
|
68
26
|
GetWorkflowErrors,
|
|
69
27
|
GetWorkflowResponses,
|
|
@@ -115,6 +73,9 @@ import type {
|
|
|
115
73
|
InvokeImageUpscalerStepTemplateData,
|
|
116
74
|
InvokeImageUpscalerStepTemplateErrors,
|
|
117
75
|
InvokeImageUpscalerStepTemplateResponses,
|
|
76
|
+
InvokeMediaCaptioningStepTemplateData,
|
|
77
|
+
InvokeMediaCaptioningStepTemplateErrors,
|
|
78
|
+
InvokeMediaCaptioningStepTemplateResponses,
|
|
118
79
|
InvokeMediaHashStepTemplateData,
|
|
119
80
|
InvokeMediaHashStepTemplateErrors,
|
|
120
81
|
InvokeMediaHashStepTemplateResponses,
|
|
@@ -169,27 +130,21 @@ import type {
|
|
|
169
130
|
InvokeWdTaggingStepTemplateData,
|
|
170
131
|
InvokeWdTaggingStepTemplateErrors,
|
|
171
132
|
InvokeWdTaggingStepTemplateResponses,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
133
|
+
InvokeXGuardModerationStepTemplateData,
|
|
134
|
+
InvokeXGuardModerationStepTemplateErrors,
|
|
135
|
+
InvokeXGuardModerationStepTemplateResponses,
|
|
175
136
|
PatchWorkflowData,
|
|
176
137
|
PatchWorkflowErrors,
|
|
177
138
|
PatchWorkflowResponses,
|
|
178
139
|
PatchWorkflowStepData,
|
|
179
140
|
PatchWorkflowStepErrors,
|
|
180
141
|
PatchWorkflowStepResponses,
|
|
181
|
-
PostV2ProvidersWorkersByWorkerIdPeersByPeerNodeIdentifierData,
|
|
182
|
-
PostV2ProvidersWorkersByWorkerIdPeersByPeerNodeIdentifierErrors,
|
|
183
|
-
PostV2ProvidersWorkersByWorkerIdPeersByPeerNodeIdentifierResponses,
|
|
184
|
-
QueryConfigurationsData,
|
|
185
|
-
QueryConfigurationsErrors,
|
|
186
|
-
QueryConfigurationsResponses,
|
|
187
|
-
QueryWorkersData,
|
|
188
|
-
QueryWorkersErrors,
|
|
189
|
-
QueryWorkersResponses,
|
|
190
142
|
QueryWorkflowsData,
|
|
191
143
|
QueryWorkflowsErrors,
|
|
192
144
|
QueryWorkflowsResponses,
|
|
145
|
+
RefreshBlobData,
|
|
146
|
+
RefreshBlobErrors,
|
|
147
|
+
RefreshBlobResponses,
|
|
193
148
|
RemoveAllWorkflowTagsData,
|
|
194
149
|
RemoveAllWorkflowTagsErrors,
|
|
195
150
|
RemoveAllWorkflowTagsResponses,
|
|
@@ -199,36 +154,15 @@ import type {
|
|
|
199
154
|
SubmitWorkflowData,
|
|
200
155
|
SubmitWorkflowErrors,
|
|
201
156
|
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
157
|
UpdateWorkflowData,
|
|
215
158
|
UpdateWorkflowErrors,
|
|
216
159
|
UpdateWorkflowResponses,
|
|
217
160
|
UpdateWorkflowStepData,
|
|
218
161
|
UpdateWorkflowStepErrors,
|
|
219
162
|
UpdateWorkflowStepResponses,
|
|
220
|
-
UploadBlobData,
|
|
221
|
-
UploadBlobErrors,
|
|
222
|
-
UploadBlobResponses,
|
|
223
163
|
UploadConsumerBlobData,
|
|
224
164
|
UploadConsumerBlobErrors,
|
|
225
165
|
UploadConsumerBlobResponses,
|
|
226
|
-
UploadMultipleBlobsData,
|
|
227
|
-
UploadMultipleBlobsErrors,
|
|
228
|
-
UploadMultipleBlobsResponses,
|
|
229
|
-
UploadStreamingBlobData,
|
|
230
|
-
UploadStreamingBlobErrors,
|
|
231
|
-
UploadStreamingBlobResponses,
|
|
232
166
|
} from './types.gen';
|
|
233
167
|
export type Options<
|
|
234
168
|
TData extends TDataShape = TDataShape,
|
|
@@ -246,22 +180,6 @@ export type Options<
|
|
|
246
180
|
*/
|
|
247
181
|
meta?: Record<string, unknown>;
|
|
248
182
|
};
|
|
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
|
-
>;
|
|
265
183
|
/**
|
|
266
184
|
* Get blob by ID. This will redirect to a cacheable content URL.
|
|
267
185
|
*/
|
|
@@ -315,66 +233,23 @@ export declare const getBlobContent: <ThrowOnError extends boolean = false>(
|
|
|
315
233
|
export declare const getBlockedContent: <ThrowOnError extends boolean = false>(
|
|
316
234
|
options: Options<GetBlockedContentData, ThrowOnError>
|
|
317
235
|
) => 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
236
|
/**
|
|
360
|
-
*
|
|
237
|
+
* Refresh a blob's URL and debounce its lifetime.
|
|
238
|
+
* Returns a fresh presigned URL and resets the 30-day TTL.
|
|
361
239
|
*/
|
|
362
|
-
export declare const
|
|
363
|
-
options: Options<
|
|
240
|
+
export declare const refreshBlob: <ThrowOnError extends boolean = false>(
|
|
241
|
+
options: Options<RefreshBlobData, ThrowOnError>
|
|
364
242
|
) => import('./client').RequestResult<
|
|
365
|
-
|
|
366
|
-
|
|
243
|
+
RefreshBlobResponses,
|
|
244
|
+
RefreshBlobErrors,
|
|
367
245
|
ThrowOnError,
|
|
368
246
|
'fields'
|
|
369
247
|
>;
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
*/
|
|
373
|
-
export declare const deleteConfiguration: <ThrowOnError extends boolean = false>(
|
|
374
|
-
options: Options<DeleteConfigurationData, ThrowOnError>
|
|
248
|
+
export declare const invalidateUserCache: <ThrowOnError extends boolean = false>(
|
|
249
|
+
options: Options<InvalidateUserCacheData, ThrowOnError>
|
|
375
250
|
) => import('./client').RequestResult<
|
|
376
|
-
|
|
377
|
-
|
|
251
|
+
InvalidateUserCacheResponses,
|
|
252
|
+
InvalidateUserCacheErrors,
|
|
378
253
|
ThrowOnError,
|
|
379
254
|
'fields'
|
|
380
255
|
>;
|
|
@@ -522,6 +397,19 @@ export declare const invokeImageUpscalerStepTemplate: <ThrowOnError extends bool
|
|
|
522
397
|
ThrowOnError,
|
|
523
398
|
'fields'
|
|
524
399
|
>;
|
|
400
|
+
/**
|
|
401
|
+
* Media Captioning
|
|
402
|
+
*
|
|
403
|
+
* Generates a descriptive caption for a single media item using the JoyCaption model.
|
|
404
|
+
*/
|
|
405
|
+
export declare const invokeMediaCaptioningStepTemplate: <ThrowOnError extends boolean = false>(
|
|
406
|
+
options?: Options<InvokeMediaCaptioningStepTemplateData, ThrowOnError>
|
|
407
|
+
) => import('./client').RequestResult<
|
|
408
|
+
InvokeMediaCaptioningStepTemplateResponses,
|
|
409
|
+
InvokeMediaCaptioningStepTemplateErrors,
|
|
410
|
+
ThrowOnError,
|
|
411
|
+
'fields'
|
|
412
|
+
>;
|
|
525
413
|
/**
|
|
526
414
|
* MediaHash
|
|
527
415
|
*
|
|
@@ -738,6 +626,20 @@ export declare const invokeWdTaggingStepTemplate: <ThrowOnError extends boolean
|
|
|
738
626
|
ThrowOnError,
|
|
739
627
|
'fields'
|
|
740
628
|
>;
|
|
629
|
+
/**
|
|
630
|
+
* XGuardModeration
|
|
631
|
+
*
|
|
632
|
+
* Evaluate text or generation prompts against XGuard content moderation policies.
|
|
633
|
+
* /// Generates one ChatCompletion job per label and aggregates results with logprob-based scoring.
|
|
634
|
+
*/
|
|
635
|
+
export declare const invokeXGuardModerationStepTemplate: <ThrowOnError extends boolean = false>(
|
|
636
|
+
options?: Options<InvokeXGuardModerationStepTemplateData, ThrowOnError>
|
|
637
|
+
) => import('./client').RequestResult<
|
|
638
|
+
InvokeXGuardModerationStepTemplateResponses,
|
|
639
|
+
InvokeXGuardModerationStepTemplateErrors,
|
|
640
|
+
ThrowOnError,
|
|
641
|
+
'fields'
|
|
642
|
+
>;
|
|
741
643
|
/**
|
|
742
644
|
* Invalidates the cache of a specific resource.
|
|
743
645
|
*/
|
|
@@ -760,25 +662,6 @@ export declare const getResource: <ThrowOnError extends boolean = false>(
|
|
|
760
662
|
ThrowOnError,
|
|
761
663
|
'fields'
|
|
762
664
|
>;
|
|
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
|
-
>;
|
|
782
665
|
export declare const getStreamingBlob: <ThrowOnError extends boolean = false>(
|
|
783
666
|
options: Options<GetStreamingBlobData, ThrowOnError>
|
|
784
667
|
) => import('./client').RequestResult<
|
|
@@ -787,160 +670,6 @@ export declare const getStreamingBlob: <ThrowOnError extends boolean = false>(
|
|
|
787
670
|
ThrowOnError,
|
|
788
671
|
'fields'
|
|
789
672
|
>;
|
|
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
|
-
>;
|
|
944
673
|
/**
|
|
945
674
|
* Query workflows
|
|
946
675
|
*/
|