@avallon-labs/sdk 52.5.0 → 52.6.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
@@ -4675,6 +4675,7 @@ declare const DispatchTriggerType: {
4675
4675
  readonly email: "email";
4676
4676
  readonly information_request: "information_request";
4677
4677
  readonly manual: "manual";
4678
+ readonly call: "call";
4678
4679
  };
4679
4680
 
4680
4681
  /**
@@ -8540,6 +8541,7 @@ declare const ListDispatchesTriggerType: {
8540
8541
  readonly email: "email";
8541
8542
  readonly information_request: "information_request";
8542
8543
  readonly manual: "manual";
8544
+ readonly call: "call";
8543
8545
  };
8544
8546
 
8545
8547
  /**
@@ -14746,7 +14748,7 @@ declare const getListDispatchesUrl: (params?: ListDispatchesParams) => string;
14746
14748
  /**
14747
14749
  * List the organization's dispatches, newest occurrence first.
14748
14750
  *
14749
- * A dispatch is one occurrence of a trigger in one environment, carried out on its own: a schedule produces one per environment it runs in every time it fires, an inbound email produces one for the environment its inbox received it in, a resolved information request produces one that restarts the worker that asked, and creating a worker run through the API produces a `manual` one, carried out before the request returns. Listing them shows what a trigger has actually done, including occurrences that never produced anything.
14751
+ * A dispatch is one occurrence of a trigger in one environment, carried out on its own: a schedule produces one per environment it runs in every time it fires, an inbound email produces one for the environment its inbox received it in, a resolved information request produces one that restarts the worker that asked, an ended call produces one that runs its voice agent's post-call processor once its transcript is ready, and creating a worker run through the API produces a `manual` one, carried out before the request returns. Listing them shows what a trigger has actually done, including occurrences that never produced anything.
14750
14752
  *
14751
14753
  * - `pending` — not carried out yet: waiting to be picked up, in flight, or waiting on a retry after an earlier pickup did not complete.
14752
14754
  * - `dispatched` — carried out.
@@ -14754,9 +14756,9 @@ declare const getListDispatchesUrl: (params?: ListDispatchesParams) => string;
14754
14756
  *
14755
14757
  * `attempts` counts how many times the occurrence has been picked up, not how many times it failed: a dispatch carried out on the first pickup ends at `attempts: 1`, and a higher count means earlier pickups did not complete.
14756
14758
  *
14757
- * `target` is what the occurrence produced — a worker run, or an extractor job for an email whose inbox extracts. It is null until the dispatch is carried out.
14759
+ * `target` is what the occurrence produced — a worker run, or an extractor job for an email whose inbox extracts or a call whose voice agent extracts. It is null until the dispatch is carried out.
14758
14760
  *
14759
- * Narrow to one trigger with `trigger_type` and `trigger_id` — the schedule's ID for a schedule, the email's ID for an email, the request's ID for an information request. `trigger_id` requires `trigger_type`.
14761
+ * Narrow to one trigger with `trigger_type` and `trigger_id` — the schedule's ID for a schedule, the email's ID for an email, the request's ID for an information request, the call's ID for a call. `trigger_id` requires `trigger_type`.
14760
14762
  * @summary List dispatches
14761
14763
  */
14762
14764
  declare const listDispatches: (params?: ListDispatchesParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListDispatchesEnvelope>;
package/dist/index.js CHANGED
@@ -6239,7 +6239,8 @@ var DispatchTriggerType = {
6239
6239
  schedule: "schedule",
6240
6240
  email: "email",
6241
6241
  information_request: "information_request",
6242
- manual: "manual"
6242
+ manual: "manual",
6243
+ call: "call"
6243
6244
  };
6244
6245
 
6245
6246
  // generated/models/emailAttachmentStatus.ts
@@ -6589,7 +6590,8 @@ var ListDispatchesTriggerType = {
6589
6590
  schedule: "schedule",
6590
6591
  email: "email",
6591
6592
  information_request: "information_request",
6592
- manual: "manual"
6593
+ manual: "manual",
6594
+ call: "call"
6593
6595
  };
6594
6596
 
6595
6597
  // generated/models/listEmailsEnvironment.ts