@avallon-labs/sdk 39.2.0 → 39.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -12798,8 +12798,13 @@ declare const useListWorkerRunMessages: <TError = ErrorType<ErrorResponse>>(work
12798
12798
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
12799
12799
  };
12800
12800
  /**
12801
- * Merge-update scope on an existing worker run. Provided keys are added or overwritten; other existing keys are preserved.
12802
- * @summary Update worker run scope
12801
+ * **DO NOT USE.** This endpoint is deprecated and will be removed.
12802
+
12803
+ A run's scope records what the run was dispatched against, so it is immutable: changing it after the fact rewrites history and makes the change impossible to track.
12804
+
12805
+ Use `POST /v1/cases/{id}/links` to group a worker run with related entities.
12806
+ * @deprecated
12807
+ * @summary Update worker run scope (deprecated)
12803
12808
  */
12804
12809
  declare const getUpdateWorkerRunScopeUrl: (workerRunId: string) => string;
12805
12810
  declare const updateWorkerRunScope: (workerRunId: string, updateWorkerRunScopeBody: UpdateWorkerRunScopeBody, options?: RequestInit) => Promise<UpdateWorkerRunScopeEnvelope>;
@@ -12809,7 +12814,8 @@ declare const getUpdateWorkerRunScopeMutationFetcher: (workerRunId: string, opti
12809
12814
  declare const getUpdateWorkerRunScopeMutationKey: (workerRunId: string) => readonly [`/v1/worker-runs/${string}/scope`];
12810
12815
  type UpdateWorkerRunScopeMutationResult = NonNullable<Awaited$2<ReturnType<typeof updateWorkerRunScope>>>;
12811
12816
  /**
12812
- * @summary Update worker run scope
12817
+ * @deprecated
12818
+ * @summary Update worker run scope (deprecated)
12813
12819
  */
12814
12820
  declare const useUpdateWorkerRunScope: <TError = ErrorType<ErrorResponse>>(workerRunId: string, options?: {
12815
12821
  swr?: SWRMutationConfiguration<Awaited$2<ReturnType<typeof updateWorkerRunScope>>, TError, Key, UpdateWorkerRunScopeBody, Awaited$2<ReturnType<typeof updateWorkerRunScope>>> & {