@axivoy/api 2.40.0 → 2.43.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.
@@ -160854,10 +160854,33 @@ export interface operations {
160854
160854
  outcome?: string | null;
160855
160855
  /** @description Notes a person kept on the call */
160856
160856
  notes?: string | null;
160857
- /** @description none, pending, stored, failed or purged (removed after the retention period) */
160857
+ /** @description Call recording part 1 (the call from the first ring): none, pending, stored, failed or purged (removed after the retention period) */
160858
160858
  recording_status: string;
160859
- /** @description Link to listen to the recording; works for 10 minutes; null unless stored */
160859
+ /** @description Link to listen to call recording part 1; works for 10 minutes; null unless stored */
160860
160860
  recording_url?: string | null;
160861
+ /** @description The voicemail the caller left: none, pending, stored, failed or purged */
160862
+ voicemail_status: string;
160863
+ /** @description Length of the voicemail in seconds; null when there is none or it is not known yet */
160864
+ voicemail_duration_seconds?: number | null;
160865
+ /** @description Link to listen to the voicemail; works for 10 minutes; null unless stored */
160866
+ voicemail_url?: string | null;
160867
+ /** @description none, live, finalizing, writing (Axivoy AI is writing it), final or failed; null when transcription is off or there is no voicemail */
160868
+ voicemail_transcript_status?: string | null;
160869
+ /** @description What the caller said in the voicemail, one "[m:ss] Caller: text" line each; null when there is no voicemail transcript */
160870
+ voicemail_transcript_text?: string | null;
160871
+ /** @description Every recording of the call: the call recording parts in the order they started, then the voicemail */
160872
+ recordings: {
160873
+ /** @description call (the call from the first ring, or part 2 or later after a transfer) or voicemail (only the message the caller left) */
160874
+ kind: string;
160875
+ /** @description For a call recording, its part number in the order the parts started (1 first); null for the voicemail */
160876
+ part?: number | null;
160877
+ /** @description pending, stored, failed or purged */
160878
+ status: string;
160879
+ /** @description Length in seconds; null when not known yet */
160880
+ duration_seconds?: number | null;
160881
+ /** @description Link to listen; works for 10 minutes; null unless stored */
160882
+ url?: string | null;
160883
+ }[];
160861
160884
  /** @description Records the call is linked to */
160862
160885
  links: {
160863
160886
  /** @description The link (for voice.calls.links.remove) */
@@ -160871,9 +160894,11 @@ export interface operations {
160871
160894
  /** @description manual (a person linked it) or phone_match (matched by phone number) */
160872
160895
  method: string;
160873
160896
  }[];
160874
- /** @description none, live, finalizing, final or failed; null when transcription is off */
160897
+ /** @description The call's transcript (call recording part 1's, else the live one; never the voicemail's): none, live, finalizing, writing (Axivoy AI is writing it), final or failed; null when transcription is off */
160875
160898
  transcript_status?: string | null;
160876
- /** @description What was said, one "[m:ss] Us|Caller: text" line each; null when there is no transcript */
160899
+ /** @description Who wrote that transcript: realtime (the phone provider during the call), recording (the phone provider from the recording) or ai (Axivoy AI from the stored recording); null when there is none or transcription is off */
160900
+ transcript_source?: string | null;
160901
+ /** @description What was said on the call, one "[m:ss] Us|Caller: text" line each; null when there is no transcript */
160877
160902
  transcript_text?: string | null;
160878
160903
  /** @description A short summary of the finished call; null until the transcript is final and summarized */
160879
160904
  transcript_summary?: string | null;
@@ -161324,8 +161349,12 @@ export interface operations {
161324
161349
  duration_seconds?: number | null;
161325
161350
  /** @description resolved, callback_needed, voicemail_left, wrong_number, spam or other; null until someone records it */
161326
161351
  outcome?: string | null;
161327
- /** @description Whether a stored recording exists */
161352
+ /** @description Whether a stored call recording exists (the call from the first ring; never the voicemail) */
161328
161353
  has_recording: boolean;
161354
+ /** @description Whether the caller left a voicemail (only the message they recorded after the prompt) */
161355
+ has_voicemail: boolean;
161356
+ /** @description A short summary of the call: the voicemail's, else the last call recording part's, else the live transcript's; null until a transcript is summarized */
161357
+ summary?: string | null;
161329
161358
  /** @description The call's team (communication_teams.list key); null when no team is set up */
161330
161359
  team_key?: string | null;
161331
161360
  /** @description The call's team name */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axivoy/api",
3
- "version": "2.40.0",
3
+ "version": "2.43.0",
4
4
  "description": "Typed client for the Axivoy API: operations, webhooks and errors.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://app.axivoy.ai/developers",