@poolse/sdk 2.26.0 → 3.0.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.cts CHANGED
@@ -527,7 +527,7 @@ interface LiveCallMember {
527
527
  display_name: string | null;
528
528
  }
529
529
  /**
530
- * The call running on a conversation right now (CONTRACT.md §4.2's
530
+ * The call running on a conversation right now (CALL_CONTRACT.md §4.2's
531
531
  * CallSummary). `participants` is who is in the room at this moment.
532
532
  */
533
533
  interface LiveCall {
@@ -547,6 +547,10 @@ interface LiveCall {
547
547
  * | `declined` | `missed` (rang out unanswered).
548
548
  */
549
549
  ring_states: Record<string, 'ringing' | 'answered' | 'declined' | 'missed'>;
550
+ /** The workspace's call limits (dashboard → Calls). False: hide the camera button. */
551
+ video_allowed?: boolean;
552
+ /** How many people the call holds; one more joining is refused with `call_full`. */
553
+ max_participants?: number;
550
554
  }
551
555
  /**
552
556
  * `/v1/conversations/:id/call` — whether a call is running on a
@@ -1787,7 +1791,7 @@ declare class AuthError extends ApiError {
1787
1791
  */
1788
1792
  type CallMedia = 'audio' | 'video';
1789
1793
 
1790
- declare const version = "2.26.0";
1794
+ declare const version = "3.0.0";
1791
1795
 
1792
1796
  type CallLogMedia = 'audio' | 'video';
1793
1797
  /** What became of one person a call involved (the caller excluded). */
package/dist/index.d.ts CHANGED
@@ -527,7 +527,7 @@ interface LiveCallMember {
527
527
  display_name: string | null;
528
528
  }
529
529
  /**
530
- * The call running on a conversation right now (CONTRACT.md §4.2's
530
+ * The call running on a conversation right now (CALL_CONTRACT.md §4.2's
531
531
  * CallSummary). `participants` is who is in the room at this moment.
532
532
  */
533
533
  interface LiveCall {
@@ -547,6 +547,10 @@ interface LiveCall {
547
547
  * | `declined` | `missed` (rang out unanswered).
548
548
  */
549
549
  ring_states: Record<string, 'ringing' | 'answered' | 'declined' | 'missed'>;
550
+ /** The workspace's call limits (dashboard → Calls). False: hide the camera button. */
551
+ video_allowed?: boolean;
552
+ /** How many people the call holds; one more joining is refused with `call_full`. */
553
+ max_participants?: number;
550
554
  }
551
555
  /**
552
556
  * `/v1/conversations/:id/call` — whether a call is running on a
@@ -1787,7 +1791,7 @@ declare class AuthError extends ApiError {
1787
1791
  */
1788
1792
  type CallMedia = 'audio' | 'video';
1789
1793
 
1790
- declare const version = "2.26.0";
1794
+ declare const version = "3.0.0";
1791
1795
 
1792
1796
  type CallLogMedia = 'audio' | 'video';
1793
1797
  /** What became of one person a call involved (the caller excluded). */
package/dist/index.js CHANGED
@@ -1891,7 +1891,7 @@ var Poolse = class {
1891
1891
  };
1892
1892
 
1893
1893
  // src/version.ts
1894
- var version = "2.26.0";
1894
+ var version = "3.0.0";
1895
1895
 
1896
1896
  // src/call-log.ts
1897
1897
  function parseCallLogBody(body) {