@heymantle/core-api-client 0.1.24 → 0.1.25

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.mts CHANGED
@@ -4730,6 +4730,27 @@ declare class MeetingsResource extends BaseResource {
4730
4730
  updateAttendee(meetingId: string, attendeeId: string, data: MeetingAttendeeUpdateParams, options?: {
4731
4731
  useExternalId?: boolean;
4732
4732
  }): Promise<MeetingAttendeeUpdateResponse>;
4733
+ /**
4734
+ * Get a signed URL to stream/download the meeting recording
4735
+ *
4736
+ * Returns a temporary signed URL that can be used to play or download
4737
+ * the meeting recording. URLs expire after 1 hour.
4738
+ *
4739
+ * @param meetingId - The meeting ID
4740
+ * @returns Signed URL and expiration info
4741
+ *
4742
+ * @example
4743
+ * ```typescript
4744
+ * const { recordingUrl, expiresIn } = await client.meetings.getRecordingUrl('meeting_123');
4745
+ *
4746
+ * // Use the URL in an audio/video element
4747
+ * audioElement.src = recordingUrl;
4748
+ * ```
4749
+ */
4750
+ getRecordingUrl(meetingId: string): Promise<{
4751
+ recordingUrl: string;
4752
+ expiresIn: number;
4753
+ }>;
4733
4754
  }
4734
4755
 
4735
4756
  /**
package/dist/index.d.ts CHANGED
@@ -4730,6 +4730,27 @@ declare class MeetingsResource extends BaseResource {
4730
4730
  updateAttendee(meetingId: string, attendeeId: string, data: MeetingAttendeeUpdateParams, options?: {
4731
4731
  useExternalId?: boolean;
4732
4732
  }): Promise<MeetingAttendeeUpdateResponse>;
4733
+ /**
4734
+ * Get a signed URL to stream/download the meeting recording
4735
+ *
4736
+ * Returns a temporary signed URL that can be used to play or download
4737
+ * the meeting recording. URLs expire after 1 hour.
4738
+ *
4739
+ * @param meetingId - The meeting ID
4740
+ * @returns Signed URL and expiration info
4741
+ *
4742
+ * @example
4743
+ * ```typescript
4744
+ * const { recordingUrl, expiresIn } = await client.meetings.getRecordingUrl('meeting_123');
4745
+ *
4746
+ * // Use the URL in an audio/video element
4747
+ * audioElement.src = recordingUrl;
4748
+ * ```
4749
+ */
4750
+ getRecordingUrl(meetingId: string): Promise<{
4751
+ recordingUrl: string;
4752
+ expiresIn: number;
4753
+ }>;
4733
4754
  }
4734
4755
 
4735
4756
  /**
package/dist/index.js CHANGED
@@ -2623,6 +2623,28 @@ var MeetingsResource = class extends BaseResource {
2623
2623
  data
2624
2624
  );
2625
2625
  }
2626
+ /**
2627
+ * Get a signed URL to stream/download the meeting recording
2628
+ *
2629
+ * Returns a temporary signed URL that can be used to play or download
2630
+ * the meeting recording. URLs expire after 1 hour.
2631
+ *
2632
+ * @param meetingId - The meeting ID
2633
+ * @returns Signed URL and expiration info
2634
+ *
2635
+ * @example
2636
+ * ```typescript
2637
+ * const { recordingUrl, expiresIn } = await client.meetings.getRecordingUrl('meeting_123');
2638
+ *
2639
+ * // Use the URL in an audio/video element
2640
+ * audioElement.src = recordingUrl;
2641
+ * ```
2642
+ */
2643
+ async getRecordingUrl(meetingId) {
2644
+ return this.get(
2645
+ `/meetings/${meetingId}/recording-url`
2646
+ );
2647
+ }
2626
2648
  };
2627
2649
 
2628
2650
  // src/client.ts
package/dist/index.mjs CHANGED
@@ -2557,6 +2557,28 @@ var MeetingsResource = class extends BaseResource {
2557
2557
  data
2558
2558
  );
2559
2559
  }
2560
+ /**
2561
+ * Get a signed URL to stream/download the meeting recording
2562
+ *
2563
+ * Returns a temporary signed URL that can be used to play or download
2564
+ * the meeting recording. URLs expire after 1 hour.
2565
+ *
2566
+ * @param meetingId - The meeting ID
2567
+ * @returns Signed URL and expiration info
2568
+ *
2569
+ * @example
2570
+ * ```typescript
2571
+ * const { recordingUrl, expiresIn } = await client.meetings.getRecordingUrl('meeting_123');
2572
+ *
2573
+ * // Use the URL in an audio/video element
2574
+ * audioElement.src = recordingUrl;
2575
+ * ```
2576
+ */
2577
+ async getRecordingUrl(meetingId) {
2578
+ return this.get(
2579
+ `/meetings/${meetingId}/recording-url`
2580
+ );
2581
+ }
2560
2582
  };
2561
2583
 
2562
2584
  // src/client.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heymantle/core-api-client",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "description": "TypeScript SDK for the Mantle Core API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",