@dench.com/cli 3.12.14 → 3.12.16-staging.1294

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
@@ -236,6 +236,7 @@ export interface ApiRequests {
236
236
  };
237
237
  limit?: number;
238
238
  pageToken?: string;
239
+ partialPages?: boolean;
239
240
  };
240
241
  /** Search and add up to 50 people to an existing campaign. New identities become Leads. Search credits apply; use nextPageToken for another page. — `dench campaign add --search` — POST /api/v1/campaigns/{sequenceId}/people/search */
241
242
  "campaigns.people.addFromSearch": {
@@ -2253,6 +2254,8 @@ export interface ApiRequests {
2253
2254
  /** Opaque token from a previous response's metadata.nextPageToken. */
2254
2255
  pageToken?: string;
2255
2256
  preferCache?: boolean;
2257
+ /** Return an early partial page with metadata.nextPageToken once results are ready instead of waiting for every upstream round. */
2258
+ partialPages?: boolean;
2256
2259
  };
2257
2260
  /** Search for companies through the enrichment gateway (also `dench companies find`). — `dench crm companies search` — POST /api/v1/enrichment/company/search */
2258
2261
  "crm.companies.search": {
@@ -2374,6 +2377,11 @@ export interface ApiRequests {
2374
2377
  /** continueCursor from the prior page. */
2375
2378
  cursor?: string;
2376
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
+ };
2377
2385
  /** Read a meeting's transcript, in order, one page at a time. — `dench meetings transcript get` — GET /api/v1/meetings/{meetingEntryId}/transcript */
2378
2386
  "meetings.transcript.list": {
2379
2387
  meetingEntryId: string;
@@ -6357,6 +6365,16 @@ export interface ApiResponses {
6357
6365
  finishedAt?: number;
6358
6366
  };
6359
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
+ };
6360
6378
  "meetings.transcript.list": unknown;
6361
6379
  "meetings.transcript.append": unknown;
6362
6380
  "meetings.transcript.clear": unknown;
@@ -9850,6 +9868,10 @@ export type DenchApiTree = {
9850
9868
  /** Record attendees by name/email; known members and existing people are linked, nobody is created. (`dench meetings participants set`) */
9851
9869
  set(args: Req<"meetings.participants.set">): Promise<Res<"meetings.participants.set">>;
9852
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
+ };
9853
9875
  sharing: {
9854
9876
  /** Whether a meeting is shared with the whole workspace, and whether you may change that. (`dench meetings share`) */
9855
9877
  get(args: Req<"meetings.sharing.get">): Promise<Res<"meetings.sharing.get">>;
@@ -10299,6 +10321,8 @@ export interface DenchMembers {
10299
10321
  export interface DenchMeetings {
10300
10322
  /** Meetings (CRM `meeting` rows), newest first. Permission: `meetings:read`. Wraps `meetings.list`. */
10301
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">>;
10302
10326
  /** Transcript segments of a meeting. Permission: `meetings:read`. Wraps `meetings.transcript.list`. */
10303
10327
  transcript(meetingEntryId: string, opts?: Omit<Req<"meetings.transcript.list">, "meetingEntryId">): Promise<Res<"meetings.transcript.list">>;
10304
10328
  /** Action items of a meeting. Permission: `meetings:read`. Wraps `meetings.actionItems.list`. */
@@ -2631,6 +2631,12 @@ const peopleSearch = z.object({
2631
2631
  "Opaque token from a previous response's metadata.nextPageToken.",
2632
2632
  ),
2633
2633
  preferCache: z.boolean().optional(),
2634
+ partialPages: z
2635
+ .boolean()
2636
+ .optional()
2637
+ .describe(
2638
+ "Return an early partial page with metadata.nextPageToken once results are ready instead of waiting for every upstream round.",
2639
+ ),
2634
2640
  });
2635
2641
 
2636
2642
  export const campaignAudienceFiltersSchema = peopleSearch
@@ -2638,6 +2644,7 @@ export const campaignAudienceFiltersSchema = peopleSearch
2638
2644
  limit: true,
2639
2645
  offset: true,
2640
2646
  pageToken: true,
2647
+ partialPages: true,
2641
2648
  })
2642
2649
  .strict();
2643
2650
 
@@ -3400,6 +3407,7 @@ export const requestSchemas: Record<string, ZodTypeAny> = {
3400
3407
  filters: campaignAudienceFiltersSchema,
3401
3408
  limit: z.number().int().min(1).max(100).optional(),
3402
3409
  pageToken: z.string().optional(),
3410
+ partialPages: z.boolean().optional(),
3403
3411
  })
3404
3412
  .strict(),
3405
3413
  "campaigns.people.addFromSearch": z
@@ -4609,6 +4617,12 @@ export const requestSchemas: Record<string, ZodTypeAny> = {
4609
4617
  .optional()
4610
4618
  .describe("continueCursor from the prior page."),
4611
4619
  }),
4620
+ "meetings.recording.get": z.object({
4621
+ meetingEntryId: z
4622
+ .string()
4623
+ .min(1)
4624
+ .describe("The meeting record's entry id."),
4625
+ }),
4612
4626
  "meetings.transcript.list": z.object({
4613
4627
  meetingEntryId: z.string(),
4614
4628
  limit: z.coerce.number().int().min(1).max(500).optional(),
@@ -6889,6 +6903,37 @@ export const responseSchemas: Record<string, ZodTypeAny> = {
6889
6903
  .string()
6890
6904
  .nullable()
6891
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
+ }),
6892
6937
  "files.delete": z
6893
6938
  .object({ path: z.string() })
6894
6939
  .nullable()
@@ -8925,6 +8970,12 @@ export const responseExamples: Record<string, unknown> = {
8925
8970
  },
8926
8971
  "files.write": { path: "/reports/q2.md", contentHash: "9f86d081884c7d65" },
8927
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
+ },
8928
8979
  "files.delete": { path: "/README.md" },
8929
8980
  "files.move": {
8930
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",
@@ -118,6 +118,8 @@ export type SearchPeopleBody = {
118
118
  searchAfter?: unknown;
119
119
  /** Opaque token from a previous response's `metadata.nextPageToken`. */
120
120
  pageToken?: string;
121
+ /** Return an early partial page with `metadata.nextPageToken` once results are ready. */
122
+ partialPages?: boolean;
121
123
  // Rich filters, gateway-named. Merged with the legacy person*/organization*
122
124
  // aliases above; entries may carry per-value exclude / exactMatch.
123
125
  titles?: SearchFilterItem[];
@@ -1405,6 +1407,7 @@ export function buildPeopleSearchRequest(
1405
1407
  }
1406
1408
  if (body.searchAfter !== undefined) payload.searchAfter = body.searchAfter;
1407
1409
  if (body.pageToken) payload.pageToken = body.pageToken;
1410
+ if (body.partialPages !== undefined) payload.partialPages = body.partialPages;
1408
1411
 
1409
1412
  return payload;
1410
1413
  }