@heymantle/core-api-client 0.3.0 → 0.3.1

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.ts CHANGED
@@ -10879,6 +10879,173 @@ type paths = {
10879
10879
  patch?: never;
10880
10880
  trace?: never;
10881
10881
  };
10882
+ "/meetings/{id}/permissions": {
10883
+ parameters: {
10884
+ query?: never;
10885
+ header?: never;
10886
+ path?: never;
10887
+ cookie?: never;
10888
+ };
10889
+ /**
10890
+ * List meeting permissions
10891
+ * @description Get a list of users who have been granted explicit access to a meeting.
10892
+ */
10893
+ get: {
10894
+ parameters: {
10895
+ query?: never;
10896
+ header?: never;
10897
+ path: {
10898
+ /** @description The meeting ID */
10899
+ id: string;
10900
+ };
10901
+ cookie?: never;
10902
+ };
10903
+ requestBody?: never;
10904
+ responses: {
10905
+ /** @description List of permissions. */
10906
+ 200: {
10907
+ headers: {
10908
+ [name: string]: unknown;
10909
+ };
10910
+ content: {
10911
+ "application/json": {
10912
+ permissions?: components["schemas"]["MeetingPermission"][];
10913
+ };
10914
+ };
10915
+ };
10916
+ 401: components["responses"]["401"];
10917
+ 403: components["responses"]["403"];
10918
+ /** @description Meeting not found. */
10919
+ 404: {
10920
+ headers: {
10921
+ [name: string]: unknown;
10922
+ };
10923
+ content?: never;
10924
+ };
10925
+ };
10926
+ };
10927
+ put?: never;
10928
+ /**
10929
+ * Grant meeting permission
10930
+ * @description Grant a user explicit access to view a private meeting.
10931
+ */
10932
+ post: {
10933
+ parameters: {
10934
+ query?: never;
10935
+ header?: never;
10936
+ path: {
10937
+ /** @description The meeting ID */
10938
+ id: string;
10939
+ };
10940
+ cookie?: never;
10941
+ };
10942
+ requestBody: {
10943
+ content: {
10944
+ "application/json": {
10945
+ /** @description The user ID to grant access to. */
10946
+ userId: string;
10947
+ };
10948
+ };
10949
+ };
10950
+ responses: {
10951
+ /** @description Permission granted. */
10952
+ 201: {
10953
+ headers: {
10954
+ [name: string]: unknown;
10955
+ };
10956
+ content: {
10957
+ "application/json": {
10958
+ permission?: components["schemas"]["MeetingPermission"];
10959
+ };
10960
+ };
10961
+ };
10962
+ /** @description Bad request. */
10963
+ 400: {
10964
+ headers: {
10965
+ [name: string]: unknown;
10966
+ };
10967
+ content?: never;
10968
+ };
10969
+ 401: components["responses"]["401"];
10970
+ /** @description Not authorized to manage meeting permissions. */
10971
+ 403: {
10972
+ headers: {
10973
+ [name: string]: unknown;
10974
+ };
10975
+ content?: never;
10976
+ };
10977
+ /** @description Meeting not found. */
10978
+ 404: {
10979
+ headers: {
10980
+ [name: string]: unknown;
10981
+ };
10982
+ content?: never;
10983
+ };
10984
+ };
10985
+ };
10986
+ /**
10987
+ * Revoke meeting permission
10988
+ * @description Revoke a user's explicit access to a meeting.
10989
+ */
10990
+ delete: {
10991
+ parameters: {
10992
+ query?: never;
10993
+ header?: never;
10994
+ path: {
10995
+ /** @description The meeting ID */
10996
+ id: string;
10997
+ };
10998
+ cookie?: never;
10999
+ };
11000
+ requestBody: {
11001
+ content: {
11002
+ "application/json": {
11003
+ /** @description The user ID to revoke access from. */
11004
+ userId: string;
11005
+ };
11006
+ };
11007
+ };
11008
+ responses: {
11009
+ /** @description Permission revoked. */
11010
+ 200: {
11011
+ headers: {
11012
+ [name: string]: unknown;
11013
+ };
11014
+ content: {
11015
+ "application/json": {
11016
+ success?: boolean;
11017
+ };
11018
+ };
11019
+ };
11020
+ /** @description Bad request. */
11021
+ 400: {
11022
+ headers: {
11023
+ [name: string]: unknown;
11024
+ };
11025
+ content?: never;
11026
+ };
11027
+ 401: components["responses"]["401"];
11028
+ /** @description Not authorized to manage meeting permissions. */
11029
+ 403: {
11030
+ headers: {
11031
+ [name: string]: unknown;
11032
+ };
11033
+ content?: never;
11034
+ };
11035
+ /** @description Meeting or permission not found. */
11036
+ 404: {
11037
+ headers: {
11038
+ [name: string]: unknown;
11039
+ };
11040
+ content?: never;
11041
+ };
11042
+ };
11043
+ };
11044
+ options?: never;
11045
+ head?: never;
11046
+ patch?: never;
11047
+ trace?: never;
11048
+ };
10882
11049
  "/meetings/{id}/recording-url": {
10883
11050
  parameters: {
10884
11051
  query?: never;
@@ -11288,6 +11455,80 @@ type paths = {
11288
11455
  patch?: never;
11289
11456
  trace?: never;
11290
11457
  };
11458
+ "/meetings/{id}/visibility": {
11459
+ parameters: {
11460
+ query?: never;
11461
+ header?: never;
11462
+ path?: never;
11463
+ cookie?: never;
11464
+ };
11465
+ get?: never;
11466
+ /**
11467
+ * Update meeting visibility
11468
+ * @description Update the visibility of a meeting. Only the meeting creator or organization owner can change visibility.
11469
+ */
11470
+ put: {
11471
+ parameters: {
11472
+ query?: never;
11473
+ header?: never;
11474
+ path: {
11475
+ /** @description The meeting ID */
11476
+ id: string;
11477
+ };
11478
+ cookie?: never;
11479
+ };
11480
+ requestBody: {
11481
+ content: {
11482
+ "application/json": {
11483
+ /**
11484
+ * @description The visibility setting for the meeting.
11485
+ * @enum {string}
11486
+ */
11487
+ visibility: "private" | "organization";
11488
+ };
11489
+ };
11490
+ };
11491
+ responses: {
11492
+ /** @description The updated meeting. */
11493
+ 200: {
11494
+ headers: {
11495
+ [name: string]: unknown;
11496
+ };
11497
+ content: {
11498
+ "application/json": components["schemas"]["Meeting"];
11499
+ };
11500
+ };
11501
+ /** @description Bad request. */
11502
+ 400: {
11503
+ headers: {
11504
+ [name: string]: unknown;
11505
+ };
11506
+ content?: never;
11507
+ };
11508
+ 401: components["responses"]["401"];
11509
+ /** @description Not authorized to manage meeting visibility. */
11510
+ 403: {
11511
+ headers: {
11512
+ [name: string]: unknown;
11513
+ };
11514
+ content?: never;
11515
+ };
11516
+ /** @description Meeting not found. */
11517
+ 404: {
11518
+ headers: {
11519
+ [name: string]: unknown;
11520
+ };
11521
+ content?: never;
11522
+ };
11523
+ };
11524
+ };
11525
+ post?: never;
11526
+ delete?: never;
11527
+ options?: never;
11528
+ head?: never;
11529
+ patch?: never;
11530
+ trace?: never;
11531
+ };
11291
11532
  "/metrics/sales": {
11292
11533
  parameters: {
11293
11534
  query?: never;
@@ -12178,16 +12419,239 @@ type paths = {
12178
12419
  };
12179
12420
  };
12180
12421
  };
12181
- /** @description Bad request (invalid status, priority, or reminder time). */
12182
- 400: {
12422
+ /** @description Bad request (invalid status, priority, or reminder time). */
12423
+ 400: {
12424
+ headers: {
12425
+ [name: string]: unknown;
12426
+ };
12427
+ content?: never;
12428
+ };
12429
+ 401: components["responses"]["401"];
12430
+ 403: components["responses"]["403"];
12431
+ /** @description Task not found. */
12432
+ 404: {
12433
+ headers: {
12434
+ [name: string]: unknown;
12435
+ };
12436
+ content?: never;
12437
+ };
12438
+ };
12439
+ };
12440
+ post?: never;
12441
+ /**
12442
+ * Delete a task by ID
12443
+ * @description Delete an existing task by its ID (soft delete).
12444
+ */
12445
+ delete: {
12446
+ parameters: {
12447
+ query?: never;
12448
+ header?: never;
12449
+ path: {
12450
+ id: string;
12451
+ };
12452
+ cookie?: never;
12453
+ };
12454
+ requestBody?: never;
12455
+ responses: {
12456
+ /** @description Task successfully deleted. */
12457
+ 200: {
12458
+ headers: {
12459
+ [name: string]: unknown;
12460
+ };
12461
+ content: {
12462
+ "application/json": {
12463
+ success?: boolean;
12464
+ };
12465
+ };
12466
+ };
12467
+ 401: components["responses"]["401"];
12468
+ 403: components["responses"]["403"];
12469
+ /** @description Task not found. */
12470
+ 404: {
12471
+ headers: {
12472
+ [name: string]: unknown;
12473
+ };
12474
+ content?: never;
12475
+ };
12476
+ };
12477
+ };
12478
+ options?: never;
12479
+ head?: never;
12480
+ patch?: never;
12481
+ trace?: never;
12482
+ };
12483
+ "/tasks/{id}/comments": {
12484
+ parameters: {
12485
+ query?: never;
12486
+ header?: never;
12487
+ path?: never;
12488
+ cookie?: never;
12489
+ };
12490
+ /**
12491
+ * List comments for a task
12492
+ * @description Retrieve all comments associated with a task, ordered by creation date.
12493
+ */
12494
+ get: {
12495
+ parameters: {
12496
+ query?: never;
12497
+ header?: never;
12498
+ path: {
12499
+ /** @description The task ID */
12500
+ id: string;
12501
+ };
12502
+ cookie?: never;
12503
+ };
12504
+ requestBody?: never;
12505
+ responses: {
12506
+ /** @description List of comments */
12507
+ 200: {
12508
+ headers: {
12509
+ [name: string]: unknown;
12510
+ };
12511
+ content: {
12512
+ "application/json": {
12513
+ comments?: components["schemas"]["TaskComment"][];
12514
+ total?: number;
12515
+ };
12516
+ };
12517
+ };
12518
+ 401: components["responses"]["401"];
12519
+ 403: components["responses"]["403"];
12520
+ /** @description Task not found */
12521
+ 404: {
12522
+ headers: {
12523
+ [name: string]: unknown;
12524
+ };
12525
+ content?: never;
12526
+ };
12527
+ };
12528
+ };
12529
+ put?: never;
12530
+ /**
12531
+ * Create a comment on a task
12532
+ * @description Create a new comment on a task. At least one of comment or commentHtml is required.
12533
+ */
12534
+ post: {
12535
+ parameters: {
12536
+ query?: never;
12537
+ header?: never;
12538
+ path: {
12539
+ /** @description The task ID */
12540
+ id: string;
12541
+ };
12542
+ cookie?: never;
12543
+ };
12544
+ requestBody: {
12545
+ content: {
12546
+ "application/json": {
12547
+ /** @description The plain text content of the comment */
12548
+ comment?: string;
12549
+ /** @description The HTML-formatted content of the comment */
12550
+ commentHtml?: string;
12551
+ /** @description Users to tag in the comment */
12552
+ taggedUsers?: {
12553
+ /** @description The user ID to tag */
12554
+ id: string;
12555
+ }[];
12556
+ };
12557
+ };
12558
+ };
12559
+ responses: {
12560
+ /** @description Comment created */
12561
+ 201: {
12562
+ headers: {
12563
+ [name: string]: unknown;
12564
+ };
12565
+ content: {
12566
+ "application/json": {
12567
+ comment?: components["schemas"]["TaskComment"];
12568
+ };
12569
+ };
12570
+ };
12571
+ /** @description Invalid request (missing comment content) */
12572
+ 400: {
12573
+ headers: {
12574
+ [name: string]: unknown;
12575
+ };
12576
+ content?: never;
12577
+ };
12578
+ 401: components["responses"]["401"];
12579
+ 403: components["responses"]["403"];
12580
+ /** @description Task not found */
12581
+ 404: {
12582
+ headers: {
12583
+ [name: string]: unknown;
12584
+ };
12585
+ content?: never;
12586
+ };
12587
+ };
12588
+ };
12589
+ delete?: never;
12590
+ options?: never;
12591
+ head?: never;
12592
+ patch?: never;
12593
+ trace?: never;
12594
+ };
12595
+ "/tasks/{id}/comments/{commentId}": {
12596
+ parameters: {
12597
+ query?: never;
12598
+ header?: never;
12599
+ path?: never;
12600
+ cookie?: never;
12601
+ };
12602
+ get?: never;
12603
+ /**
12604
+ * Update a comment
12605
+ * @description Update an existing comment on a task. Only the comment author can update it.
12606
+ */
12607
+ put: {
12608
+ parameters: {
12609
+ query?: never;
12610
+ header?: never;
12611
+ path: {
12612
+ /** @description The comment ID */
12613
+ commentId: string;
12614
+ /** @description The task ID */
12615
+ id: string;
12616
+ };
12617
+ cookie?: never;
12618
+ };
12619
+ requestBody: {
12620
+ content: {
12621
+ "application/json": {
12622
+ /** @description The plain text content of the comment */
12623
+ comment?: string;
12624
+ /** @description The HTML-formatted content of the comment */
12625
+ commentHtml?: string;
12626
+ /** @description Users to tag in the comment (replaces existing tags) */
12627
+ taggedUsers?: {
12628
+ /** @description The user ID to tag */
12629
+ id: string;
12630
+ }[];
12631
+ };
12632
+ };
12633
+ };
12634
+ responses: {
12635
+ /** @description The updated comment */
12636
+ 200: {
12637
+ headers: {
12638
+ [name: string]: unknown;
12639
+ };
12640
+ content: {
12641
+ "application/json": {
12642
+ comment?: components["schemas"]["TaskComment"];
12643
+ };
12644
+ };
12645
+ };
12646
+ 401: components["responses"]["401"];
12647
+ /** @description Not authorized to update this comment */
12648
+ 403: {
12183
12649
  headers: {
12184
12650
  [name: string]: unknown;
12185
12651
  };
12186
12652
  content?: never;
12187
12653
  };
12188
- 401: components["responses"]["401"];
12189
- 403: components["responses"]["403"];
12190
- /** @description Task not found. */
12654
+ /** @description Task or comment not found */
12191
12655
  404: {
12192
12656
  headers: {
12193
12657
  [name: string]: unknown;
@@ -12198,21 +12662,24 @@ type paths = {
12198
12662
  };
12199
12663
  post?: never;
12200
12664
  /**
12201
- * Delete a task by ID
12202
- * @description Delete an existing task by its ID (soft delete).
12665
+ * Delete a comment
12666
+ * @description Delete a comment from a task. Only the comment author can delete it.
12203
12667
  */
12204
12668
  delete: {
12205
12669
  parameters: {
12206
12670
  query?: never;
12207
12671
  header?: never;
12208
12672
  path: {
12673
+ /** @description The comment ID */
12674
+ commentId: string;
12675
+ /** @description The task ID */
12209
12676
  id: string;
12210
12677
  };
12211
12678
  cookie?: never;
12212
12679
  };
12213
12680
  requestBody?: never;
12214
12681
  responses: {
12215
- /** @description Task successfully deleted. */
12682
+ /** @description Comment deleted */
12216
12683
  200: {
12217
12684
  headers: {
12218
12685
  [name: string]: unknown;
@@ -12224,8 +12691,14 @@ type paths = {
12224
12691
  };
12225
12692
  };
12226
12693
  401: components["responses"]["401"];
12227
- 403: components["responses"]["403"];
12228
- /** @description Task not found. */
12694
+ /** @description Not authorized to delete this comment */
12695
+ 403: {
12696
+ headers: {
12697
+ [name: string]: unknown;
12698
+ };
12699
+ content?: never;
12700
+ };
12701
+ /** @description Task or comment not found */
12229
12702
  404: {
12230
12703
  headers: {
12231
12704
  [name: string]: unknown;
@@ -14713,6 +15186,8 @@ type components = {
14713
15186
  iconUrl?: string;
14714
15187
  id: string;
14715
15188
  name: string;
15189
+ /** @description The platform type (e.g., 'shopify', 'web'). */
15190
+ platform?: string;
14716
15191
  slug?: string;
14717
15192
  };
14718
15193
  AppChargeWebhook: components["schemas"]["CustomerWebhook"] & components["schemas"]["TransactionWebhook"] & {
@@ -16142,6 +16617,14 @@ type components = {
16142
16617
  id?: string;
16143
16618
  name?: string;
16144
16619
  };
16620
+ MeetingPermission: {
16621
+ /** Format: date-time */
16622
+ createdAt?: string;
16623
+ grantedBy?: components["schemas"]["MeetingUser"];
16624
+ id?: string;
16625
+ user?: components["schemas"]["MeetingUser"];
16626
+ userId?: string;
16627
+ };
16145
16628
  MeetingTaskSuggestion: {
16146
16629
  /** Format: date-time */
16147
16630
  createdAt?: string;
@@ -16963,6 +17446,8 @@ type components = {
16963
17446
  * @description The due date for the task.
16964
17447
  */
16965
17448
  dueDate?: string;
17449
+ /** @description Whether the task has any comments. */
17450
+ hasComments?: boolean;
16966
17451
  /** @description The unique identifier for the task. */
16967
17452
  id?: string;
16968
17453
  /**
@@ -16987,6 +17472,38 @@ type components = {
16987
17472
  */
16988
17473
  updatedAt?: string;
16989
17474
  };
17475
+ TaskComment: {
17476
+ /** @description The plain text content of the comment. */
17477
+ comment?: string;
17478
+ /** @description The HTML-formatted content of the comment. */
17479
+ commentHtml?: string;
17480
+ /**
17481
+ * Format: date-time
17482
+ * @description The creation timestamp of the comment.
17483
+ */
17484
+ createdAt?: string;
17485
+ /** @description The user who created this comment. */
17486
+ createdBy?: {
17487
+ email?: string;
17488
+ id?: string;
17489
+ name?: string;
17490
+ };
17491
+ /** @description The unique identifier for the comment. */
17492
+ id?: string;
17493
+ /** @description Users tagged in this comment. */
17494
+ taggedUsers?: {
17495
+ email?: string;
17496
+ id?: string;
17497
+ name?: string;
17498
+ }[];
17499
+ /** @description The task this comment belongs to. */
17500
+ taskId?: string;
17501
+ /**
17502
+ * Format: date-time
17503
+ * @description The last update timestamp of the comment.
17504
+ */
17505
+ updatedAt?: string;
17506
+ };
16990
17507
  TaskTodoItem: {
16991
17508
  /** @description Whether the todo item is completed. */
16992
17509
  completed?: boolean;
@@ -18245,6 +18762,7 @@ declare class AppsResource extends BaseResource {
18245
18762
  iconUrl?: string | undefined;
18246
18763
  id: string;
18247
18764
  name: string;
18765
+ platform?: string | undefined;
18248
18766
  slug?: string | undefined;
18249
18767
  }[];
18250
18768
  }>;
@@ -18260,6 +18778,7 @@ declare class AppsResource extends BaseResource {
18260
18778
  iconUrl?: string | undefined;
18261
18779
  id: string;
18262
18780
  name: string;
18781
+ platform?: string | undefined;
18263
18782
  slug?: string | undefined;
18264
18783
  };
18265
18784
  }>;
@@ -19252,6 +19771,7 @@ declare class CustomersResource extends BaseResource {
19252
19771
  iconUrl?: string | undefined;
19253
19772
  id: string;
19254
19773
  name: string;
19774
+ platform?: string | undefined;
19255
19775
  slug?: string | undefined;
19256
19776
  } | undefined;
19257
19777
  averageMonthlyRevenue?: number | undefined;
@@ -19431,6 +19951,7 @@ declare class CustomersResource extends BaseResource {
19431
19951
  iconUrl?: string | undefined;
19432
19952
  id: string;
19433
19953
  name: string;
19954
+ platform?: string | undefined;
19434
19955
  slug?: string | undefined;
19435
19956
  } | undefined;
19436
19957
  averageMonthlyRevenue?: number | undefined;
@@ -19657,6 +20178,7 @@ declare class CustomersResource extends BaseResource {
19657
20178
  iconUrl?: string | undefined;
19658
20179
  id: string;
19659
20180
  name: string;
20181
+ platform?: string | undefined;
19660
20182
  slug?: string | undefined;
19661
20183
  } | undefined;
19662
20184
  averageMonthlyRevenue?: number | undefined;
@@ -19836,6 +20358,7 @@ declare class CustomersResource extends BaseResource {
19836
20358
  iconUrl?: string | undefined;
19837
20359
  id: string;
19838
20360
  name: string;
20361
+ platform?: string | undefined;
19839
20362
  slug?: string | undefined;
19840
20363
  } | undefined;
19841
20364
  averageMonthlyRevenue?: number | undefined;
@@ -20015,6 +20538,7 @@ declare class CustomersResource extends BaseResource {
20015
20538
  iconUrl?: string | undefined;
20016
20539
  id: string;
20017
20540
  name: string;
20541
+ platform?: string | undefined;
20018
20542
  slug?: string | undefined;
20019
20543
  } | undefined;
20020
20544
  averageMonthlyRevenue?: number | undefined;
@@ -20194,6 +20718,7 @@ declare class CustomersResource extends BaseResource {
20194
20718
  iconUrl?: string | undefined;
20195
20719
  id: string;
20196
20720
  name: string;
20721
+ platform?: string | undefined;
20197
20722
  slug?: string | undefined;
20198
20723
  } | undefined;
20199
20724
  averageMonthlyRevenue?: number | undefined;
@@ -21889,6 +22414,7 @@ declare class EntitiesResource extends BaseResource {
21889
22414
  iconUrl?: string | undefined;
21890
22415
  id: string;
21891
22416
  name: string;
22417
+ platform?: string | undefined;
21892
22418
  slug?: string | undefined;
21893
22419
  } | undefined;
21894
22420
  averageMonthlyRevenue?: number | undefined;
@@ -22526,6 +23052,7 @@ declare class ListsResource extends BaseResource {
22526
23052
  iconUrl?: string | undefined;
22527
23053
  id: string;
22528
23054
  name: string;
23055
+ platform?: string | undefined;
22529
23056
  slug?: string | undefined;
22530
23057
  } | undefined;
22531
23058
  averageMonthlyRevenue?: number | undefined;
@@ -22976,6 +23503,43 @@ declare class MeetingsResource extends BaseResource {
22976
23503
  } | undefined;
22977
23504
  updatedAt?: string | undefined;
22978
23505
  }>;
23506
+ listPermissions(meetingId: string): Promise<{
23507
+ permissions?: {
23508
+ createdAt?: string | undefined;
23509
+ grantedBy?: {
23510
+ email?: string | undefined;
23511
+ id?: string | undefined;
23512
+ name?: string | undefined;
23513
+ } | undefined;
23514
+ id?: string | undefined;
23515
+ user?: {
23516
+ email?: string | undefined;
23517
+ id?: string | undefined;
23518
+ name?: string | undefined;
23519
+ } | undefined;
23520
+ userId?: string | undefined;
23521
+ }[] | undefined;
23522
+ }>;
23523
+ createPermission(meetingId: string, data: NonNullable<paths['/meetings/{id}/permissions']['post']['requestBody']>['content']['application/json']): Promise<{
23524
+ permission?: {
23525
+ createdAt?: string | undefined;
23526
+ grantedBy?: {
23527
+ email?: string | undefined;
23528
+ id?: string | undefined;
23529
+ name?: string | undefined;
23530
+ } | undefined;
23531
+ id?: string | undefined;
23532
+ user?: {
23533
+ email?: string | undefined;
23534
+ id?: string | undefined;
23535
+ name?: string | undefined;
23536
+ } | undefined;
23537
+ userId?: string | undefined;
23538
+ } | undefined;
23539
+ }>;
23540
+ deletePermissions(meetingId: string, data: NonNullable<paths['/meetings/{id}/permissions']['delete']['requestBody']>['content']['application/json']): Promise<{
23541
+ success?: boolean | undefined;
23542
+ }>;
22979
23543
  getRecordingUrl(meetingId: string): Promise<{
22980
23544
  expiresIn?: number | undefined;
22981
23545
  recordingUrl?: string | undefined;
@@ -23001,6 +23565,124 @@ declare class MeetingsResource extends BaseResource {
23001
23565
  dismissTaskSuggestion(meetingId: string, suggestionId: string): Promise<{
23002
23566
  success?: boolean | undefined;
23003
23567
  }>;
23568
+ updateVisibility(meetingId: string, data: NonNullable<paths['/meetings/{id}/visibility']['put']['requestBody']>['content']['application/json']): Promise<{
23569
+ aiDealInsights?: {} | null | undefined;
23570
+ aiDecisions?: {
23571
+ context?: string | null | undefined;
23572
+ decision?: string | undefined;
23573
+ }[] | undefined;
23574
+ aiEnrichedAt?: string | null | undefined;
23575
+ aiEnrichmentStatus?: string | null | undefined;
23576
+ aiKeyPoints?: {
23577
+ point?: string | undefined;
23578
+ speaker?: string | null | undefined;
23579
+ timestampMs?: number | null | undefined;
23580
+ }[] | undefined;
23581
+ aiOpenQuestions?: {
23582
+ askedBy?: string | null | undefined;
23583
+ question?: string | undefined;
23584
+ }[] | undefined;
23585
+ aiSummary?: string | null | undefined;
23586
+ aiTopics?: {
23587
+ relevance?: number | undefined;
23588
+ topic?: string | undefined;
23589
+ }[] | undefined;
23590
+ attendees?: {
23591
+ color?: string | undefined;
23592
+ contact?: {
23593
+ email?: string | undefined;
23594
+ id?: string | undefined;
23595
+ name?: string | undefined;
23596
+ } | undefined;
23597
+ email?: string | undefined;
23598
+ engagementScore?: number | null | undefined;
23599
+ externalId?: string | undefined;
23600
+ id?: string | undefined;
23601
+ name?: string | undefined;
23602
+ sentiment?: number | null | undefined;
23603
+ talkTime?: number | undefined;
23604
+ user?: {
23605
+ email?: string | undefined;
23606
+ id?: string | undefined;
23607
+ name?: string | undefined;
23608
+ } | undefined;
23609
+ wordCount?: number | undefined;
23610
+ }[] | undefined;
23611
+ createdAt?: string | undefined;
23612
+ createdBy?: {
23613
+ email?: string | undefined;
23614
+ id?: string | undefined;
23615
+ name?: string | undefined;
23616
+ } | undefined;
23617
+ customer?: {
23618
+ email?: string | undefined;
23619
+ id?: string | undefined;
23620
+ name?: string | undefined;
23621
+ } | undefined;
23622
+ deal?: {
23623
+ id?: string | undefined;
23624
+ name?: string | undefined;
23625
+ } | undefined;
23626
+ duration?: number | undefined;
23627
+ endTime?: string | undefined;
23628
+ externalId?: string | undefined;
23629
+ id?: string | undefined;
23630
+ meetingUrl?: string | undefined;
23631
+ overallSentiment?: number | null | undefined;
23632
+ platform?: string | undefined;
23633
+ platformMeetingId?: string | undefined;
23634
+ recordingStatus?: string | undefined;
23635
+ recordingUrl?: string | undefined;
23636
+ sentimentTrend?: {
23637
+ sentiment?: number | undefined;
23638
+ timestampMs?: number | undefined;
23639
+ }[] | undefined;
23640
+ startTime?: string | undefined;
23641
+ summary?: string | undefined;
23642
+ taskSuggestions?: {
23643
+ createdAt?: string | undefined;
23644
+ createdTaskId?: string | null | undefined;
23645
+ description?: string | null | undefined;
23646
+ id?: string | undefined;
23647
+ priority?: string | undefined;
23648
+ status?: string | undefined;
23649
+ suggestedAssigneeId?: string | null | undefined;
23650
+ suggestedDueDate?: string | null | undefined;
23651
+ title?: string | undefined;
23652
+ triggerPhrase?: string | null | undefined;
23653
+ }[] | undefined;
23654
+ title?: string | undefined;
23655
+ transcript?: {
23656
+ createdAt?: string | undefined;
23657
+ externalId?: string | undefined;
23658
+ fullText?: string | undefined;
23659
+ id?: string | undefined;
23660
+ language?: string | undefined;
23661
+ status?: string | undefined;
23662
+ updatedAt?: string | undefined;
23663
+ utterances?: {
23664
+ attendee?: {
23665
+ email?: string | undefined;
23666
+ id?: string | undefined;
23667
+ name?: string | undefined;
23668
+ } | undefined;
23669
+ attendeeId?: string | undefined;
23670
+ confidence?: number | undefined;
23671
+ endTime?: number | undefined;
23672
+ id?: string | undefined;
23673
+ sequence?: number | undefined;
23674
+ startTime?: number | undefined;
23675
+ text?: string | undefined;
23676
+ words?: {
23677
+ confidence?: number | undefined;
23678
+ endTime?: number | undefined;
23679
+ startTime?: number | undefined;
23680
+ text?: string | undefined;
23681
+ }[] | undefined;
23682
+ }[] | undefined;
23683
+ } | undefined;
23684
+ updatedAt?: string | undefined;
23685
+ }>;
23004
23686
  updateAttendee(meetingId: string, attendeeId: string, data: NonNullable<paths['/meetings/{id}/attendees/{attendeeId}']['put']['requestBody']>['content']['application/json']): Promise<{
23005
23687
  attendee?: {
23006
23688
  color?: string | undefined;
@@ -24154,6 +24836,7 @@ declare class TasksResource extends BaseResource {
24154
24836
  description?: string | undefined;
24155
24837
  descriptionHtml?: string | undefined;
24156
24838
  dueDate?: string | undefined;
24839
+ hasComments?: boolean | undefined;
24157
24840
  id?: string | undefined;
24158
24841
  priority?: "low" | "medium" | "high" | undefined;
24159
24842
  status?: "new" | "in_progress" | "complete" | undefined;
@@ -24210,6 +24893,7 @@ declare class TasksResource extends BaseResource {
24210
24893
  description?: string | undefined;
24211
24894
  descriptionHtml?: string | undefined;
24212
24895
  dueDate?: string | undefined;
24896
+ hasComments?: boolean | undefined;
24213
24897
  id?: string | undefined;
24214
24898
  priority?: "low" | "medium" | "high" | undefined;
24215
24899
  status?: "new" | "in_progress" | "complete" | undefined;
@@ -24265,6 +24949,7 @@ declare class TasksResource extends BaseResource {
24265
24949
  description?: string | undefined;
24266
24950
  descriptionHtml?: string | undefined;
24267
24951
  dueDate?: string | undefined;
24952
+ hasComments?: boolean | undefined;
24268
24953
  id?: string | undefined;
24269
24954
  priority?: "low" | "medium" | "high" | undefined;
24270
24955
  status?: "new" | "in_progress" | "complete" | undefined;
@@ -24321,6 +25006,7 @@ declare class TasksResource extends BaseResource {
24321
25006
  description?: string | undefined;
24322
25007
  descriptionHtml?: string | undefined;
24323
25008
  dueDate?: string | undefined;
25009
+ hasComments?: boolean | undefined;
24324
25010
  id?: string | undefined;
24325
25011
  priority?: "low" | "medium" | "high" | undefined;
24326
25012
  status?: "new" | "in_progress" | "complete" | undefined;
@@ -24390,6 +25076,7 @@ declare class TasksResource extends BaseResource {
24390
25076
  description?: string | undefined;
24391
25077
  descriptionHtml?: string | undefined;
24392
25078
  dueDate?: string | undefined;
25079
+ hasComments?: boolean | undefined;
24393
25080
  id?: string | undefined;
24394
25081
  priority?: "low" | "medium" | "high" | undefined;
24395
25082
  status?: "new" | "in_progress" | "complete" | undefined;
@@ -24408,6 +25095,70 @@ declare class TasksResource extends BaseResource {
24408
25095
  del(taskId: string): Promise<{
24409
25096
  success?: boolean | undefined;
24410
25097
  }>;
25098
+ updateComment(taskId: string, commentId: string, data: NonNullable<paths['/tasks/{id}/comments/{commentId}']['put']['requestBody']>['content']['application/json']): Promise<{
25099
+ comment?: {
25100
+ comment?: string | undefined;
25101
+ commentHtml?: string | undefined;
25102
+ createdAt?: string | undefined;
25103
+ createdBy?: {
25104
+ email?: string | undefined;
25105
+ id?: string | undefined;
25106
+ name?: string | undefined;
25107
+ } | undefined;
25108
+ id?: string | undefined;
25109
+ taggedUsers?: {
25110
+ email?: string | undefined;
25111
+ id?: string | undefined;
25112
+ name?: string | undefined;
25113
+ }[] | undefined;
25114
+ taskId?: string | undefined;
25115
+ updatedAt?: string | undefined;
25116
+ } | undefined;
25117
+ }>;
25118
+ deleteComment(taskId: string, commentId: string): Promise<{
25119
+ success?: boolean | undefined;
25120
+ }>;
25121
+ listComments(taskId: string): Promise<{
25122
+ comments?: {
25123
+ comment?: string | undefined;
25124
+ commentHtml?: string | undefined;
25125
+ createdAt?: string | undefined;
25126
+ createdBy?: {
25127
+ email?: string | undefined;
25128
+ id?: string | undefined;
25129
+ name?: string | undefined;
25130
+ } | undefined;
25131
+ id?: string | undefined;
25132
+ taggedUsers?: {
25133
+ email?: string | undefined;
25134
+ id?: string | undefined;
25135
+ name?: string | undefined;
25136
+ }[] | undefined;
25137
+ taskId?: string | undefined;
25138
+ updatedAt?: string | undefined;
25139
+ }[] | undefined;
25140
+ total?: number | undefined;
25141
+ }>;
25142
+ createComment(taskId: string, data: NonNullable<paths['/tasks/{id}/comments']['post']['requestBody']>['content']['application/json']): Promise<{
25143
+ comment?: {
25144
+ comment?: string | undefined;
25145
+ commentHtml?: string | undefined;
25146
+ createdAt?: string | undefined;
25147
+ createdBy?: {
25148
+ email?: string | undefined;
25149
+ id?: string | undefined;
25150
+ name?: string | undefined;
25151
+ } | undefined;
25152
+ id?: string | undefined;
25153
+ taggedUsers?: {
25154
+ email?: string | undefined;
25155
+ id?: string | undefined;
25156
+ name?: string | undefined;
25157
+ }[] | undefined;
25158
+ taskId?: string | undefined;
25159
+ updatedAt?: string | undefined;
25160
+ } | undefined;
25161
+ }>;
24411
25162
  getTodoItem(taskId: string, itemId: string): Promise<{
24412
25163
  item?: {
24413
25164
  completed?: boolean | undefined;
@@ -25554,6 +26305,7 @@ type MeetingAttendeeRef = components['schemas']['MeetingAttendeeRef'];
25554
26305
  type MeetingContactRef = components['schemas']['MeetingContactRef'];
25555
26306
  type MeetingCustomer = components['schemas']['MeetingCustomer'];
25556
26307
  type MeetingDeal = components['schemas']['MeetingDeal'];
26308
+ type MeetingPermission = components['schemas']['MeetingPermission'];
25557
26309
  type MeetingTaskSuggestion = components['schemas']['MeetingTaskSuggestion'];
25558
26310
  type MeetingTranscript = components['schemas']['MeetingTranscript'];
25559
26311
  type MeetingUser = components['schemas']['MeetingUser'];
@@ -25585,6 +26337,7 @@ type SyncedEmailDeal = components['schemas']['SyncedEmailDeal'];
25585
26337
  type SyncedEmailMessage = components['schemas']['SyncedEmailMessage'];
25586
26338
  type SyncedEmailUser = components['schemas']['SyncedEmailUser'];
25587
26339
  type Task = components['schemas']['Task'];
26340
+ type TaskComment = components['schemas']['TaskComment'];
25588
26341
  type TaskTodoItem = components['schemas']['TaskTodoItem'];
25589
26342
  type ThreadEventType = components['schemas']['ThreadEventType'];
25590
26343
  type ThreadMessageWebhook = components['schemas']['ThreadMessageWebhook'];
@@ -25736,4 +26489,4 @@ interface RateLimitOptions {
25736
26489
  */
25737
26490
  declare function createRateLimitMiddleware(options?: RateLimitOptions): Middleware;
25738
26491
 
25739
- export { type AccountOwner, type AccountOwnerType, type Action, type ActiveSubscriptionsResponse, type Affiliate, type AffiliateAttributionWebhook, type AffiliateCommission, AffiliateCommissionsResource, type AffiliateMembershipWebhook, type AffiliatePayout, type AffiliatePayoutWebhook, AffiliatePayoutsResource, type AffiliateProgram, type AffiliateProgramGroup, type AffiliateProgramMembership, type AffiliateProgramWebhook, AffiliateProgramsResource, type AffiliateReferral, AffiliateReferralsResource, type AffiliateRules, type AffiliateRulesWebhook, type AffiliateWebhook, AffiliatesResource, type Agent, type AgentRun, AgentsResource, AiAgentRunsResource, type App, type AppChargeWebhook, type AppEvent, type AppInstallation, type AppInstallationWebhook, type AppWebhook, AppsResource, type AuthRefreshOptions, type BaseCustomerWebhook, BaseResource, ChannelsResource, type Charge, ChargesResource, type Checklist, type ChecklistStep, CompaniesResource, type Company, type Contact, type ContactWebhook, ContactsResource, type CursorPagination, CustomDataResource, type CustomField, type CustomFieldDefaultValue, type Customer, type CustomerContact, type CustomerContactWebhook, type CustomerSegment, CustomerSegmentsResource, type CustomerWebhook, type CustomerWithoutSubscriptionWebhook, CustomersResource, type Deal, type DealAcquirer, DealActivitiesResource, type DealActivity, type DealAffiliate, type DealApp, type DealContact, type DealCustomData, type DealCustomer, type DealEvent, type DealFlow, type DealFlowAffiliate, type DealFlowDefaultSource, type DealFlowPartnership, type DealFlowStage, type DealFlowUser, DealFlowsResource, type DealOwner, type DealPartnership, type DealPlan, type DealStage, DealsResource, type DetailedAffiliate, type DetailedFlow, type DocsCollection, type DocsCollectionResponse, type DocsGenerateJobResponse, type DocsGenerateStatusCompleted, type DocsGenerateStatusFailed, type DocsGenerateStatusPending, type DocsGroup, type DocsGroupResponse, type DocsPage, type DocsPageResponse, type DocsPageSummary, type DocsRepository, DocsResource, type EmailUnsubscribeGroup, type EmailUnsubscribeGroupMember, EmailUnsubscribeGroupsResource, EntitiesResource, type EventWebhook, type ExtensionUninstallPayload, type ExtensionWebhook, type Feature, type Flow, type FlowActionRun, FlowExtensionsResource, FlowsResource, type InvalidTokenError, type Invoice, type InvoiceWebhook, JournalEntriesResource, type JournalEntry, type JournalEntryApp, type JournalEntryFile, type List, ListsResource, type LogoChurnResponse, MantleAPIError, MantleAuthenticationError, MantleCoreClient, type MantleCoreClientConfig, MantleNotFoundError, MantlePermissionError, MantleRateLimitError, MantleValidationError, MeResource, type Meeting, type MeetingAttendee, type MeetingAttendeeRef, type MeetingContactRef, type MeetingCustomer, type MeetingDeal, type MeetingTaskSuggestion, type MeetingTranscript, type MeetingUser, type MeetingUtterance, MeetingsResource, MetricsResource, type MissingScopesError, type MrrResponse, type NetInstallsResponse, type NetRevenueResponse, type NetRevenueRetentionResponse, type Organization, OrganizationResource, type Pagination, type PayoutResponse, type Plan, type PlanFeature, type PlanFeatureWebhook, type PlanUsageChargeWebhook, type PlanWebhook, type PredictedLtvResponse, type RateLimitOptions, type RevenueRetentionResponse, type Review, type ReviewWebhook, type StandardMetricResponse, type Subscription, type SubscriptionWebhook, SubscriptionsResource, type SyncedEmail, type SyncedEmailContact, type SyncedEmailCustomer, type SyncedEmailDeal, type SyncedEmailMessage, type SyncedEmailUser, SyncedEmailsResource, type Task, type TaskTodoItem, TasksResource, type ThreadEventType, type ThreadMessageWebhook, type ThreadWebhook, type Ticket, type TicketAgent, type TicketApp, type TicketAttachment, type TicketChannel, type TicketContact, type TicketCustomer, type TicketEvent, type TicketLoop, type TicketMessage, TicketsResource, type TimeSeriesDataPoint, type TimelineComment, TimelineCommentsResource, type Transaction, type TransactionWebhook, TransactionsResource, type Trigger, type UninstallEventWebhook, type UsageEvent, type UsageEventResponse, UsageEventsResource, type UsageMetric, type UsageMetricResponse, type User, UsersResource, type Webhook, WebhooksResource, type components, createAuthRefreshMiddleware, createRateLimitMiddleware, type paths };
26492
+ export { type AccountOwner, type AccountOwnerType, type Action, type ActiveSubscriptionsResponse, type Affiliate, type AffiliateAttributionWebhook, type AffiliateCommission, AffiliateCommissionsResource, type AffiliateMembershipWebhook, type AffiliatePayout, type AffiliatePayoutWebhook, AffiliatePayoutsResource, type AffiliateProgram, type AffiliateProgramGroup, type AffiliateProgramMembership, type AffiliateProgramWebhook, AffiliateProgramsResource, type AffiliateReferral, AffiliateReferralsResource, type AffiliateRules, type AffiliateRulesWebhook, type AffiliateWebhook, AffiliatesResource, type Agent, type AgentRun, AgentsResource, AiAgentRunsResource, type App, type AppChargeWebhook, type AppEvent, type AppInstallation, type AppInstallationWebhook, type AppWebhook, AppsResource, type AuthRefreshOptions, type BaseCustomerWebhook, BaseResource, ChannelsResource, type Charge, ChargesResource, type Checklist, type ChecklistStep, CompaniesResource, type Company, type Contact, type ContactWebhook, ContactsResource, type CursorPagination, CustomDataResource, type CustomField, type CustomFieldDefaultValue, type Customer, type CustomerContact, type CustomerContactWebhook, type CustomerSegment, CustomerSegmentsResource, type CustomerWebhook, type CustomerWithoutSubscriptionWebhook, CustomersResource, type Deal, type DealAcquirer, DealActivitiesResource, type DealActivity, type DealAffiliate, type DealApp, type DealContact, type DealCustomData, type DealCustomer, type DealEvent, type DealFlow, type DealFlowAffiliate, type DealFlowDefaultSource, type DealFlowPartnership, type DealFlowStage, type DealFlowUser, DealFlowsResource, type DealOwner, type DealPartnership, type DealPlan, type DealStage, DealsResource, type DetailedAffiliate, type DetailedFlow, type DocsCollection, type DocsCollectionResponse, type DocsGenerateJobResponse, type DocsGenerateStatusCompleted, type DocsGenerateStatusFailed, type DocsGenerateStatusPending, type DocsGroup, type DocsGroupResponse, type DocsPage, type DocsPageResponse, type DocsPageSummary, type DocsRepository, DocsResource, type EmailUnsubscribeGroup, type EmailUnsubscribeGroupMember, EmailUnsubscribeGroupsResource, EntitiesResource, type EventWebhook, type ExtensionUninstallPayload, type ExtensionWebhook, type Feature, type Flow, type FlowActionRun, FlowExtensionsResource, FlowsResource, type InvalidTokenError, type Invoice, type InvoiceWebhook, JournalEntriesResource, type JournalEntry, type JournalEntryApp, type JournalEntryFile, type List, ListsResource, type LogoChurnResponse, MantleAPIError, MantleAuthenticationError, MantleCoreClient, type MantleCoreClientConfig, MantleNotFoundError, MantlePermissionError, MantleRateLimitError, MantleValidationError, MeResource, type Meeting, type MeetingAttendee, type MeetingAttendeeRef, type MeetingContactRef, type MeetingCustomer, type MeetingDeal, type MeetingPermission, type MeetingTaskSuggestion, type MeetingTranscript, type MeetingUser, type MeetingUtterance, MeetingsResource, MetricsResource, type MissingScopesError, type MrrResponse, type NetInstallsResponse, type NetRevenueResponse, type NetRevenueRetentionResponse, type Organization, OrganizationResource, type Pagination, type PayoutResponse, type Plan, type PlanFeature, type PlanFeatureWebhook, type PlanUsageChargeWebhook, type PlanWebhook, type PredictedLtvResponse, type RateLimitOptions, type RevenueRetentionResponse, type Review, type ReviewWebhook, type StandardMetricResponse, type Subscription, type SubscriptionWebhook, SubscriptionsResource, type SyncedEmail, type SyncedEmailContact, type SyncedEmailCustomer, type SyncedEmailDeal, type SyncedEmailMessage, type SyncedEmailUser, SyncedEmailsResource, type Task, type TaskComment, type TaskTodoItem, TasksResource, type ThreadEventType, type ThreadMessageWebhook, type ThreadWebhook, type Ticket, type TicketAgent, type TicketApp, type TicketAttachment, type TicketChannel, type TicketContact, type TicketCustomer, type TicketEvent, type TicketLoop, type TicketMessage, TicketsResource, type TimeSeriesDataPoint, type TimelineComment, TimelineCommentsResource, type Transaction, type TransactionWebhook, TransactionsResource, type Trigger, type UninstallEventWebhook, type UsageEvent, type UsageEventResponse, UsageEventsResource, type UsageMetric, type UsageMetricResponse, type User, UsersResource, type Webhook, WebhooksResource, type components, createAuthRefreshMiddleware, createRateLimitMiddleware, type paths };