@dench.com/cli 3.12.15-staging.1289 → 3.12.16-staging.1305

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/app-sdk.d.ts CHANGED
@@ -2377,6 +2377,11 @@ export interface ApiRequests {
2377
2377
  /** continueCursor from the prior page. */
2378
2378
  cursor?: string;
2379
2379
  };
2380
+ /** Get short-lived signed playback/download URLs for a meeting's recorded video (MP4) and audio. — `dench meetings recording` — GET /api/v1/meetings/{meetingEntryId}/recording */
2381
+ "meetings.recording.get": {
2382
+ /** The meeting record's entry id. */
2383
+ meetingEntryId: string;
2384
+ };
2380
2385
  /** Read a meeting's transcript, in order, one page at a time. — `dench meetings transcript get` — GET /api/v1/meetings/{meetingEntryId}/transcript */
2381
2386
  "meetings.transcript.list": {
2382
2387
  meetingEntryId: string;
@@ -6360,6 +6365,16 @@ export interface ApiResponses {
6360
6365
  finishedAt?: number;
6361
6366
  };
6362
6367
  "meetings.list": unknown;
6368
+ "meetings.recording.get": {
6369
+ /** Short-lived signed MP4 video URL (expires in minutes), or null when video is unavailable. */
6370
+ videoUrl: string | null;
6371
+ /** Signed audio URL (mirrored audio or provider fallback), or null when unavailable. */
6372
+ audioUrl: string | null;
6373
+ /** Whether Dench's meeting recorder was attached to this meeting. */
6374
+ hasRecorder: boolean;
6375
+ /** Playback availability code: ok (video available), video_disabled (audio-only recording), no_recording, media_expired, not_configured, or provider_error. */
6376
+ code: "ok" | "video_disabled" | "no_recording" | "media_expired" | "not_configured" | "provider_error";
6377
+ };
6363
6378
  "meetings.transcript.list": unknown;
6364
6379
  "meetings.transcript.append": unknown;
6365
6380
  "meetings.transcript.clear": unknown;
@@ -9853,6 +9868,10 @@ export type DenchApiTree = {
9853
9868
  /** Record attendees by name/email; known members and existing people are linked, nobody is created. (`dench meetings participants set`) */
9854
9869
  set(args: Req<"meetings.participants.set">): Promise<Res<"meetings.participants.set">>;
9855
9870
  };
9871
+ recording: {
9872
+ /** Get short-lived signed playback/download URLs for a meeting's recorded video (MP4) and audio. (`dench meetings recording`) */
9873
+ get(args: Req<"meetings.recording.get">): Promise<Res<"meetings.recording.get">>;
9874
+ };
9856
9875
  sharing: {
9857
9876
  /** Whether a meeting is shared with the whole workspace, and whether you may change that. (`dench meetings share`) */
9858
9877
  get(args: Req<"meetings.sharing.get">): Promise<Res<"meetings.sharing.get">>;
@@ -10302,6 +10321,8 @@ export interface DenchMembers {
10302
10321
  export interface DenchMeetings {
10303
10322
  /** Meetings (CRM `meeting` rows), newest first. Permission: `meetings:read`. Wraps `meetings.list`. */
10304
10323
  list(opts?: Req<"meetings.list">): Promise<Res<"meetings.list">>;
10324
+ /** Short-lived signed video/audio URLs for a recorded meeting. Permission: `meetings:read`. Wraps `meetings.recording.get`. */
10325
+ recording(meetingEntryId: string): Promise<Res<"meetings.recording.get">>;
10305
10326
  /** Transcript segments of a meeting. Permission: `meetings:read`. Wraps `meetings.transcript.list`. */
10306
10327
  transcript(meetingEntryId: string, opts?: Omit<Req<"meetings.transcript.list">, "meetingEntryId">): Promise<Res<"meetings.transcript.list">>;
10307
10328
  /** Action items of a meeting. Permission: `meetings:read`. Wraps `meetings.actionItems.list`. */
@@ -4617,6 +4617,12 @@ export const requestSchemas: Record<string, ZodTypeAny> = {
4617
4617
  .optional()
4618
4618
  .describe("continueCursor from the prior page."),
4619
4619
  }),
4620
+ "meetings.recording.get": z.object({
4621
+ meetingEntryId: z
4622
+ .string()
4623
+ .min(1)
4624
+ .describe("The meeting record's entry id."),
4625
+ }),
4620
4626
  "meetings.transcript.list": z.object({
4621
4627
  meetingEntryId: z.string(),
4622
4628
  limit: z.coerce.number().int().min(1).max(500).optional(),
@@ -6897,6 +6903,37 @@ export const responseSchemas: Record<string, ZodTypeAny> = {
6897
6903
  .string()
6898
6904
  .nullable()
6899
6905
  .describe("Signed download URL, or null when the file has no blob."),
6906
+ "meetings.recording.get": z.object({
6907
+ videoUrl: z
6908
+ .string()
6909
+ .nullable()
6910
+ .describe(
6911
+ "Short-lived signed MP4 video URL (expires in minutes), or null when video is unavailable.",
6912
+ ),
6913
+ audioUrl: z
6914
+ .string()
6915
+ .nullable()
6916
+ .describe(
6917
+ "Signed audio URL (mirrored audio or provider fallback), or null when unavailable.",
6918
+ ),
6919
+ hasRecorder: z
6920
+ .boolean()
6921
+ .describe(
6922
+ "Whether Dench's meeting recorder was attached to this meeting.",
6923
+ ),
6924
+ code: z
6925
+ .enum([
6926
+ "ok",
6927
+ "video_disabled",
6928
+ "no_recording",
6929
+ "media_expired",
6930
+ "not_configured",
6931
+ "provider_error",
6932
+ ])
6933
+ .describe(
6934
+ "Playback availability code: ok (video available), video_disabled (audio-only recording), no_recording, media_expired, not_configured, or provider_error.",
6935
+ ),
6936
+ }),
6900
6937
  "files.delete": z
6901
6938
  .object({ path: z.string() })
6902
6939
  .nullable()
@@ -8933,6 +8970,12 @@ export const responseExamples: Record<string, unknown> = {
8933
8970
  },
8934
8971
  "files.write": { path: "/reports/q2.md", contentHash: "9f86d081884c7d65" },
8935
8972
  "files.downloadUrl": "https://files.example.com/abc123?download=README.md",
8973
+ "meetings.recording.get": {
8974
+ videoUrl: "https://media.example.com/recordings/meet_1.mp4?sig=abc",
8975
+ audioUrl: "https://files.example.com/storage/audio_1.mp3",
8976
+ hasRecorder: true,
8977
+ code: "ok",
8978
+ },
8936
8979
  "files.delete": { path: "/README.md" },
8937
8980
  "files.move": {
8938
8981
  ok: true,
@@ -324,6 +324,7 @@ export const APP_SDK_OPERATIONS: readonly AppSdkOperationInfo[] = [
324
324
  {"id":"crm.exports.start","group":"crm","summary":"Start a server-side CSV export of a CRM object into the workspace files (/exports). Returns at once; one export runs per workspace, and a second start returns the running one.","cli":"dench crm exports start","method":"POST","path":"/crm/exports","permission":"crm:write","pathParams":[]},
325
325
  {"id":"crm.exports.get","group":"crm","summary":"Read a CRM CSV export's progress, and its file path and download link once done.","cli":"dench crm exports get","method":"GET","path":"/crm/exports/{jobId}","permission":"crm:read","pathParams":["jobId"]},
326
326
  {"id":"meetings.list","group":"meetings","summary":"List meetings, newest first, with status and participants.","cli":"dench meetings list","method":"GET","path":"/meetings","permission":"meetings:read","pathParams":[]},
327
+ {"id":"meetings.recording.get","group":"meetings","summary":"Get short-lived signed playback/download URLs for a meeting's recorded video (MP4) and audio.","cli":"dench meetings recording","method":"GET","path":"/meetings/{meetingEntryId}/recording","permission":"meetings:read","pathParams":["meetingEntryId"]},
327
328
  {"id":"meetings.transcript.list","group":"meetings","summary":"Read a meeting's transcript, in order, one page at a time.","cli":"dench meetings transcript get","method":"GET","path":"/meetings/{meetingEntryId}/transcript","permission":"meetings:read","pathParams":["meetingEntryId"]},
328
329
  {"id":"meetings.transcript.append","group":"meetings","summary":"Append up to 500 transcript segments to a meeting (speakers with an email link to existing people).","cli":"dench meetings transcript set","method":"POST","path":"/meetings/{meetingEntryId}/transcript","permission":"meetings:write","pathParams":["meetingEntryId"]},
329
330
  {"id":"meetings.transcript.clear","group":"meetings","summary":"Delete a batch of a meeting's transcript segments; repeat until `done` before re-appending.","cli":"dench meetings transcript clear","method":"DELETE","path":"/meetings/{meetingEntryId}/transcript","permission":"meetings:write","pathParams":["meetingEntryId"]},
@@ -602,6 +603,7 @@ export const APP_SDK_METHODS: Readonly<Record<string, AppSdkMethodInfo>> = {
602
603
  "members.me": {"kind":"op","permission":"members:read","op":"me.profile.get","doc":"My own profile."},
603
604
  "members.updateMe": {"kind":"op","permission":"members:write","op":"me.profile.update","doc":"Update my name / tagline / timezone."},
604
605
  "meetings.list": {"kind":"op","permission":"meetings:read","op":"meetings.list","doc":"Meetings (CRM `meeting` rows), newest first."},
606
+ "meetings.recording": {"kind":"op","permission":"meetings:read","op":"meetings.recording.get","doc":"Short-lived signed video/audio URLs for a recorded meeting."},
605
607
  "meetings.transcript": {"kind":"op","permission":"meetings:read","op":"meetings.transcript.list","doc":"Transcript segments of a meeting."},
606
608
  "meetings.actionItems": {"kind":"op","permission":"meetings:read","op":"meetings.actionItems.list","doc":"Action items of a meeting."},
607
609
  "meetings.addActionItems": {"kind":"op","permission":"meetings:write","op":"meetings.actionItems.add","doc":"Add action items to a meeting."},
@@ -557,6 +557,12 @@ export const APP_SDK_SURFACE: AppSdkSurface = {
557
557
  args: `opts?: ${A("meetings.list")}`,
558
558
  returns: R("meetings.list"),
559
559
  },
560
+ recording: {
561
+ op: "meetings.recording.get",
562
+ doc: "Short-lived signed video/audio URLs for a recorded meeting.",
563
+ args: "meetingEntryId: string",
564
+ returns: R("meetings.recording.get"),
565
+ },
560
566
  transcript: {
561
567
  op: "meetings.transcript.list",
562
568
  doc: "Transcript segments of a meeting.",
@@ -54,6 +54,7 @@ export type CustomOperation = {
54
54
  | "upgrade"
55
55
  | "filesMove"
56
56
  | "filesStage"
57
+ | "meetingsRecording"
57
58
  | "browserAction"
58
59
  | "signinOtpStart"
59
60
  | "signinOtpVerify"
@@ -3528,6 +3529,18 @@ const rawApiOperations = [
3528
3529
  }),
3529
3530
  },
3530
3531
  }),
3532
+ op({
3533
+ id: "meetings.recording.get",
3534
+ group: "meetings",
3535
+ summary:
3536
+ "Get short-lived signed playback/download URLs for a meeting's recorded video (MP4) and audio.",
3537
+ cli: "dench meetings recording",
3538
+ method: "GET",
3539
+ path: "/meetings/{meetingEntryId}/recording",
3540
+ requestSchema: noBody,
3541
+ responseSchema: anyResponse,
3542
+ backend: custom("meetingsRecording", "bearer"),
3543
+ }),
3531
3544
  op({
3532
3545
  id: "meetings.transcript.list",
3533
3546
  group: "meetings",