@avallon-labs/sdk 35.7.0 → 36.0.0-staging.895
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 +8 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1995,7 +1995,7 @@ type CreateWorkerBody = {
|
|
|
1995
1995
|
*/
|
|
1996
1996
|
type CreateWorkerRunBodyScope = {
|
|
1997
1997
|
[key: string]: string | number | boolean | null;
|
|
1998
|
-
};
|
|
1998
|
+
} | null;
|
|
1999
1999
|
|
|
2000
2000
|
/**
|
|
2001
2001
|
* Generated by orval v8.1.0 🍺
|
|
@@ -3164,11 +3164,11 @@ interface GetVoiceAgentResponse {
|
|
|
3164
3164
|
* OpenAPI spec version: 1.0.0
|
|
3165
3165
|
*/
|
|
3166
3166
|
/**
|
|
3167
|
-
* Run scope metadata (e.g. claim_id, email_id)
|
|
3167
|
+
* Run scope metadata (e.g. claim_id, email_id). Null when the run has no artifacts.
|
|
3168
3168
|
*/
|
|
3169
3169
|
type WorkerRunScope = {
|
|
3170
3170
|
[key: string]: unknown;
|
|
3171
|
-
};
|
|
3171
|
+
} | null;
|
|
3172
3172
|
|
|
3173
3173
|
/**
|
|
3174
3174
|
* Generated by orval v8.1.0 🍺
|
|
@@ -3192,7 +3192,7 @@ interface WorkerRun {
|
|
|
3192
3192
|
worker_name: string;
|
|
3193
3193
|
/** Current run status */
|
|
3194
3194
|
status: string;
|
|
3195
|
-
/** Run scope metadata (e.g. claim_id, email_id) */
|
|
3195
|
+
/** Run scope metadata (e.g. claim_id, email_id). Null when the run has no artifacts. */
|
|
3196
3196
|
scope: WorkerRunScope;
|
|
3197
3197
|
/** ISO 8601 timestamp when the run was created */
|
|
3198
3198
|
created_at: string;
|
|
@@ -6244,7 +6244,7 @@ interface WorkerPromptUpdated {
|
|
|
6244
6244
|
*/
|
|
6245
6245
|
type WorkerRunCreatedScope = {
|
|
6246
6246
|
[key: string]: unknown;
|
|
6247
|
-
};
|
|
6247
|
+
} | null;
|
|
6248
6248
|
|
|
6249
6249
|
/**
|
|
6250
6250
|
* Generated by orval v8.1.0 🍺
|
|
@@ -9726,7 +9726,9 @@ declare const useListWorkerRuns: <TError = ErrorType<ErrorResponse>>(params?: Li
|
|
|
9726
9726
|
/**
|
|
9727
9727
|
* Create a new worker run for the specified worker.
|
|
9728
9728
|
|
|
9729
|
-
Provide a
|
|
9729
|
+
Provide a `scope` object with at least one key to define which artifacts the worker should process (e.g. `{ "claim_id": "abc-123" }`). The run stays `pending` until those artifacts are ready.
|
|
9730
|
+
|
|
9731
|
+
Pass `null` to run the worker without any artifacts — the run is queued immediately. An empty object is rejected.
|
|
9730
9732
|
* @summary Create worker run
|
|
9731
9733
|
*/
|
|
9732
9734
|
declare const getCreateWorkerRunUrl: () => string;
|