@heymantle/core-api-client 0.3.0 → 0.3.2

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;
@@ -11929,6 +12170,10 @@ type paths = {
11929
12170
  dealId?: string;
11930
12171
  /** @description Filter by priority (can provide multiple as comma-separated values) */
11931
12172
  priority?: "high" | "medium" | "low";
12173
+ /** @description Field to sort tasks by */
12174
+ sort?: "dueDate" | "createdAt" | "priority";
12175
+ /** @description Sort direction */
12176
+ sortDirection?: "asc" | "desc";
11932
12177
  /** @description Filter by status (can provide multiple as comma-separated values) */
11933
12178
  status?: "new" | "in_progress" | "complete";
11934
12179
  /** @description Number of tasks to return per page */
@@ -12178,16 +12423,239 @@ type paths = {
12178
12423
  };
12179
12424
  };
12180
12425
  };
12181
- /** @description Bad request (invalid status, priority, or reminder time). */
12182
- 400: {
12426
+ /** @description Bad request (invalid status, priority, or reminder time). */
12427
+ 400: {
12428
+ headers: {
12429
+ [name: string]: unknown;
12430
+ };
12431
+ content?: never;
12432
+ };
12433
+ 401: components["responses"]["401"];
12434
+ 403: components["responses"]["403"];
12435
+ /** @description Task not found. */
12436
+ 404: {
12437
+ headers: {
12438
+ [name: string]: unknown;
12439
+ };
12440
+ content?: never;
12441
+ };
12442
+ };
12443
+ };
12444
+ post?: never;
12445
+ /**
12446
+ * Delete a task by ID
12447
+ * @description Delete an existing task by its ID (soft delete).
12448
+ */
12449
+ delete: {
12450
+ parameters: {
12451
+ query?: never;
12452
+ header?: never;
12453
+ path: {
12454
+ id: string;
12455
+ };
12456
+ cookie?: never;
12457
+ };
12458
+ requestBody?: never;
12459
+ responses: {
12460
+ /** @description Task successfully deleted. */
12461
+ 200: {
12462
+ headers: {
12463
+ [name: string]: unknown;
12464
+ };
12465
+ content: {
12466
+ "application/json": {
12467
+ success?: boolean;
12468
+ };
12469
+ };
12470
+ };
12471
+ 401: components["responses"]["401"];
12472
+ 403: components["responses"]["403"];
12473
+ /** @description Task not found. */
12474
+ 404: {
12475
+ headers: {
12476
+ [name: string]: unknown;
12477
+ };
12478
+ content?: never;
12479
+ };
12480
+ };
12481
+ };
12482
+ options?: never;
12483
+ head?: never;
12484
+ patch?: never;
12485
+ trace?: never;
12486
+ };
12487
+ "/tasks/{id}/comments": {
12488
+ parameters: {
12489
+ query?: never;
12490
+ header?: never;
12491
+ path?: never;
12492
+ cookie?: never;
12493
+ };
12494
+ /**
12495
+ * List comments for a task
12496
+ * @description Retrieve all comments associated with a task, ordered by creation date.
12497
+ */
12498
+ get: {
12499
+ parameters: {
12500
+ query?: never;
12501
+ header?: never;
12502
+ path: {
12503
+ /** @description The task ID */
12504
+ id: string;
12505
+ };
12506
+ cookie?: never;
12507
+ };
12508
+ requestBody?: never;
12509
+ responses: {
12510
+ /** @description List of comments */
12511
+ 200: {
12512
+ headers: {
12513
+ [name: string]: unknown;
12514
+ };
12515
+ content: {
12516
+ "application/json": {
12517
+ comments?: components["schemas"]["TaskComment"][];
12518
+ total?: number;
12519
+ };
12520
+ };
12521
+ };
12522
+ 401: components["responses"]["401"];
12523
+ 403: components["responses"]["403"];
12524
+ /** @description Task not found */
12525
+ 404: {
12526
+ headers: {
12527
+ [name: string]: unknown;
12528
+ };
12529
+ content?: never;
12530
+ };
12531
+ };
12532
+ };
12533
+ put?: never;
12534
+ /**
12535
+ * Create a comment on a task
12536
+ * @description Create a new comment on a task. At least one of comment or commentHtml is required.
12537
+ */
12538
+ post: {
12539
+ parameters: {
12540
+ query?: never;
12541
+ header?: never;
12542
+ path: {
12543
+ /** @description The task ID */
12544
+ id: string;
12545
+ };
12546
+ cookie?: never;
12547
+ };
12548
+ requestBody: {
12549
+ content: {
12550
+ "application/json": {
12551
+ /** @description The plain text content of the comment */
12552
+ comment?: string;
12553
+ /** @description The HTML-formatted content of the comment */
12554
+ commentHtml?: string;
12555
+ /** @description Users to tag in the comment */
12556
+ taggedUsers?: {
12557
+ /** @description The user ID to tag */
12558
+ id: string;
12559
+ }[];
12560
+ };
12561
+ };
12562
+ };
12563
+ responses: {
12564
+ /** @description Comment created */
12565
+ 201: {
12566
+ headers: {
12567
+ [name: string]: unknown;
12568
+ };
12569
+ content: {
12570
+ "application/json": {
12571
+ comment?: components["schemas"]["TaskComment"];
12572
+ };
12573
+ };
12574
+ };
12575
+ /** @description Invalid request (missing comment content) */
12576
+ 400: {
12577
+ headers: {
12578
+ [name: string]: unknown;
12579
+ };
12580
+ content?: never;
12581
+ };
12582
+ 401: components["responses"]["401"];
12583
+ 403: components["responses"]["403"];
12584
+ /** @description Task not found */
12585
+ 404: {
12586
+ headers: {
12587
+ [name: string]: unknown;
12588
+ };
12589
+ content?: never;
12590
+ };
12591
+ };
12592
+ };
12593
+ delete?: never;
12594
+ options?: never;
12595
+ head?: never;
12596
+ patch?: never;
12597
+ trace?: never;
12598
+ };
12599
+ "/tasks/{id}/comments/{commentId}": {
12600
+ parameters: {
12601
+ query?: never;
12602
+ header?: never;
12603
+ path?: never;
12604
+ cookie?: never;
12605
+ };
12606
+ get?: never;
12607
+ /**
12608
+ * Update a comment
12609
+ * @description Update an existing comment on a task. Only the comment author can update it.
12610
+ */
12611
+ put: {
12612
+ parameters: {
12613
+ query?: never;
12614
+ header?: never;
12615
+ path: {
12616
+ /** @description The comment ID */
12617
+ commentId: string;
12618
+ /** @description The task ID */
12619
+ id: string;
12620
+ };
12621
+ cookie?: never;
12622
+ };
12623
+ requestBody: {
12624
+ content: {
12625
+ "application/json": {
12626
+ /** @description The plain text content of the comment */
12627
+ comment?: string;
12628
+ /** @description The HTML-formatted content of the comment */
12629
+ commentHtml?: string;
12630
+ /** @description Users to tag in the comment (replaces existing tags) */
12631
+ taggedUsers?: {
12632
+ /** @description The user ID to tag */
12633
+ id: string;
12634
+ }[];
12635
+ };
12636
+ };
12637
+ };
12638
+ responses: {
12639
+ /** @description The updated comment */
12640
+ 200: {
12641
+ headers: {
12642
+ [name: string]: unknown;
12643
+ };
12644
+ content: {
12645
+ "application/json": {
12646
+ comment?: components["schemas"]["TaskComment"];
12647
+ };
12648
+ };
12649
+ };
12650
+ 401: components["responses"]["401"];
12651
+ /** @description Not authorized to update this comment */
12652
+ 403: {
12183
12653
  headers: {
12184
12654
  [name: string]: unknown;
12185
12655
  };
12186
12656
  content?: never;
12187
12657
  };
12188
- 401: components["responses"]["401"];
12189
- 403: components["responses"]["403"];
12190
- /** @description Task not found. */
12658
+ /** @description Task or comment not found */
12191
12659
  404: {
12192
12660
  headers: {
12193
12661
  [name: string]: unknown;
@@ -12198,21 +12666,24 @@ type paths = {
12198
12666
  };
12199
12667
  post?: never;
12200
12668
  /**
12201
- * Delete a task by ID
12202
- * @description Delete an existing task by its ID (soft delete).
12669
+ * Delete a comment
12670
+ * @description Delete a comment from a task. Only the comment author can delete it.
12203
12671
  */
12204
12672
  delete: {
12205
12673
  parameters: {
12206
12674
  query?: never;
12207
12675
  header?: never;
12208
12676
  path: {
12677
+ /** @description The comment ID */
12678
+ commentId: string;
12679
+ /** @description The task ID */
12209
12680
  id: string;
12210
12681
  };
12211
12682
  cookie?: never;
12212
12683
  };
12213
12684
  requestBody?: never;
12214
12685
  responses: {
12215
- /** @description Task successfully deleted. */
12686
+ /** @description Comment deleted */
12216
12687
  200: {
12217
12688
  headers: {
12218
12689
  [name: string]: unknown;
@@ -12224,8 +12695,14 @@ type paths = {
12224
12695
  };
12225
12696
  };
12226
12697
  401: components["responses"]["401"];
12227
- 403: components["responses"]["403"];
12228
- /** @description Task not found. */
12698
+ /** @description Not authorized to delete this comment */
12699
+ 403: {
12700
+ headers: {
12701
+ [name: string]: unknown;
12702
+ };
12703
+ content?: never;
12704
+ };
12705
+ /** @description Task or comment not found */
12229
12706
  404: {
12230
12707
  headers: {
12231
12708
  [name: string]: unknown;
@@ -14713,6 +15190,8 @@ type components = {
14713
15190
  iconUrl?: string;
14714
15191
  id: string;
14715
15192
  name: string;
15193
+ /** @description The platform type (e.g., 'shopify', 'web'). */
15194
+ platform?: string;
14716
15195
  slug?: string;
14717
15196
  };
14718
15197
  AppChargeWebhook: components["schemas"]["CustomerWebhook"] & components["schemas"]["TransactionWebhook"] & {
@@ -16142,6 +16621,14 @@ type components = {
16142
16621
  id?: string;
16143
16622
  name?: string;
16144
16623
  };
16624
+ MeetingPermission: {
16625
+ /** Format: date-time */
16626
+ createdAt?: string;
16627
+ grantedBy?: components["schemas"]["MeetingUser"];
16628
+ id?: string;
16629
+ user?: components["schemas"]["MeetingUser"];
16630
+ userId?: string;
16631
+ };
16145
16632
  MeetingTaskSuggestion: {
16146
16633
  /** Format: date-time */
16147
16634
  createdAt?: string;
@@ -16963,6 +17450,8 @@ type components = {
16963
17450
  * @description The due date for the task.
16964
17451
  */
16965
17452
  dueDate?: string;
17453
+ /** @description Whether the task has any comments. */
17454
+ hasComments?: boolean;
16966
17455
  /** @description The unique identifier for the task. */
16967
17456
  id?: string;
16968
17457
  /**
@@ -16987,6 +17476,38 @@ type components = {
16987
17476
  */
16988
17477
  updatedAt?: string;
16989
17478
  };
17479
+ TaskComment: {
17480
+ /** @description The plain text content of the comment. */
17481
+ comment?: string;
17482
+ /** @description The HTML-formatted content of the comment. */
17483
+ commentHtml?: string;
17484
+ /**
17485
+ * Format: date-time
17486
+ * @description The creation timestamp of the comment.
17487
+ */
17488
+ createdAt?: string;
17489
+ /** @description The user who created this comment. */
17490
+ createdBy?: {
17491
+ email?: string;
17492
+ id?: string;
17493
+ name?: string;
17494
+ };
17495
+ /** @description The unique identifier for the comment. */
17496
+ id?: string;
17497
+ /** @description Users tagged in this comment. */
17498
+ taggedUsers?: {
17499
+ email?: string;
17500
+ id?: string;
17501
+ name?: string;
17502
+ }[];
17503
+ /** @description The task this comment belongs to. */
17504
+ taskId?: string;
17505
+ /**
17506
+ * Format: date-time
17507
+ * @description The last update timestamp of the comment.
17508
+ */
17509
+ updatedAt?: string;
17510
+ };
16990
17511
  TaskTodoItem: {
16991
17512
  /** @description Whether the todo item is completed. */
16992
17513
  completed?: boolean;
@@ -18245,6 +18766,7 @@ declare class AppsResource extends BaseResource {
18245
18766
  iconUrl?: string | undefined;
18246
18767
  id: string;
18247
18768
  name: string;
18769
+ platform?: string | undefined;
18248
18770
  slug?: string | undefined;
18249
18771
  }[];
18250
18772
  }>;
@@ -18260,6 +18782,7 @@ declare class AppsResource extends BaseResource {
18260
18782
  iconUrl?: string | undefined;
18261
18783
  id: string;
18262
18784
  name: string;
18785
+ platform?: string | undefined;
18263
18786
  slug?: string | undefined;
18264
18787
  };
18265
18788
  }>;
@@ -19252,6 +19775,7 @@ declare class CustomersResource extends BaseResource {
19252
19775
  iconUrl?: string | undefined;
19253
19776
  id: string;
19254
19777
  name: string;
19778
+ platform?: string | undefined;
19255
19779
  slug?: string | undefined;
19256
19780
  } | undefined;
19257
19781
  averageMonthlyRevenue?: number | undefined;
@@ -19431,6 +19955,7 @@ declare class CustomersResource extends BaseResource {
19431
19955
  iconUrl?: string | undefined;
19432
19956
  id: string;
19433
19957
  name: string;
19958
+ platform?: string | undefined;
19434
19959
  slug?: string | undefined;
19435
19960
  } | undefined;
19436
19961
  averageMonthlyRevenue?: number | undefined;
@@ -19657,6 +20182,7 @@ declare class CustomersResource extends BaseResource {
19657
20182
  iconUrl?: string | undefined;
19658
20183
  id: string;
19659
20184
  name: string;
20185
+ platform?: string | undefined;
19660
20186
  slug?: string | undefined;
19661
20187
  } | undefined;
19662
20188
  averageMonthlyRevenue?: number | undefined;
@@ -19836,6 +20362,7 @@ declare class CustomersResource extends BaseResource {
19836
20362
  iconUrl?: string | undefined;
19837
20363
  id: string;
19838
20364
  name: string;
20365
+ platform?: string | undefined;
19839
20366
  slug?: string | undefined;
19840
20367
  } | undefined;
19841
20368
  averageMonthlyRevenue?: number | undefined;
@@ -20015,6 +20542,7 @@ declare class CustomersResource extends BaseResource {
20015
20542
  iconUrl?: string | undefined;
20016
20543
  id: string;
20017
20544
  name: string;
20545
+ platform?: string | undefined;
20018
20546
  slug?: string | undefined;
20019
20547
  } | undefined;
20020
20548
  averageMonthlyRevenue?: number | undefined;
@@ -20194,6 +20722,7 @@ declare class CustomersResource extends BaseResource {
20194
20722
  iconUrl?: string | undefined;
20195
20723
  id: string;
20196
20724
  name: string;
20725
+ platform?: string | undefined;
20197
20726
  slug?: string | undefined;
20198
20727
  } | undefined;
20199
20728
  averageMonthlyRevenue?: number | undefined;
@@ -21889,6 +22418,7 @@ declare class EntitiesResource extends BaseResource {
21889
22418
  iconUrl?: string | undefined;
21890
22419
  id: string;
21891
22420
  name: string;
22421
+ platform?: string | undefined;
21892
22422
  slug?: string | undefined;
21893
22423
  } | undefined;
21894
22424
  averageMonthlyRevenue?: number | undefined;
@@ -22526,6 +23056,7 @@ declare class ListsResource extends BaseResource {
22526
23056
  iconUrl?: string | undefined;
22527
23057
  id: string;
22528
23058
  name: string;
23059
+ platform?: string | undefined;
22529
23060
  slug?: string | undefined;
22530
23061
  } | undefined;
22531
23062
  averageMonthlyRevenue?: number | undefined;
@@ -22976,6 +23507,43 @@ declare class MeetingsResource extends BaseResource {
22976
23507
  } | undefined;
22977
23508
  updatedAt?: string | undefined;
22978
23509
  }>;
23510
+ listPermissions(meetingId: string): Promise<{
23511
+ permissions?: {
23512
+ createdAt?: string | undefined;
23513
+ grantedBy?: {
23514
+ email?: string | undefined;
23515
+ id?: string | undefined;
23516
+ name?: string | undefined;
23517
+ } | undefined;
23518
+ id?: string | undefined;
23519
+ user?: {
23520
+ email?: string | undefined;
23521
+ id?: string | undefined;
23522
+ name?: string | undefined;
23523
+ } | undefined;
23524
+ userId?: string | undefined;
23525
+ }[] | undefined;
23526
+ }>;
23527
+ createPermission(meetingId: string, data: NonNullable<paths['/meetings/{id}/permissions']['post']['requestBody']>['content']['application/json']): Promise<{
23528
+ permission?: {
23529
+ createdAt?: string | undefined;
23530
+ grantedBy?: {
23531
+ email?: string | undefined;
23532
+ id?: string | undefined;
23533
+ name?: string | undefined;
23534
+ } | undefined;
23535
+ id?: string | undefined;
23536
+ user?: {
23537
+ email?: string | undefined;
23538
+ id?: string | undefined;
23539
+ name?: string | undefined;
23540
+ } | undefined;
23541
+ userId?: string | undefined;
23542
+ } | undefined;
23543
+ }>;
23544
+ deletePermissions(meetingId: string, data: NonNullable<paths['/meetings/{id}/permissions']['delete']['requestBody']>['content']['application/json']): Promise<{
23545
+ success?: boolean | undefined;
23546
+ }>;
22979
23547
  getRecordingUrl(meetingId: string): Promise<{
22980
23548
  expiresIn?: number | undefined;
22981
23549
  recordingUrl?: string | undefined;
@@ -23001,6 +23569,124 @@ declare class MeetingsResource extends BaseResource {
23001
23569
  dismissTaskSuggestion(meetingId: string, suggestionId: string): Promise<{
23002
23570
  success?: boolean | undefined;
23003
23571
  }>;
23572
+ updateVisibility(meetingId: string, data: NonNullable<paths['/meetings/{id}/visibility']['put']['requestBody']>['content']['application/json']): Promise<{
23573
+ aiDealInsights?: {} | null | undefined;
23574
+ aiDecisions?: {
23575
+ context?: string | null | undefined;
23576
+ decision?: string | undefined;
23577
+ }[] | undefined;
23578
+ aiEnrichedAt?: string | null | undefined;
23579
+ aiEnrichmentStatus?: string | null | undefined;
23580
+ aiKeyPoints?: {
23581
+ point?: string | undefined;
23582
+ speaker?: string | null | undefined;
23583
+ timestampMs?: number | null | undefined;
23584
+ }[] | undefined;
23585
+ aiOpenQuestions?: {
23586
+ askedBy?: string | null | undefined;
23587
+ question?: string | undefined;
23588
+ }[] | undefined;
23589
+ aiSummary?: string | null | undefined;
23590
+ aiTopics?: {
23591
+ relevance?: number | undefined;
23592
+ topic?: string | undefined;
23593
+ }[] | undefined;
23594
+ attendees?: {
23595
+ color?: string | undefined;
23596
+ contact?: {
23597
+ email?: string | undefined;
23598
+ id?: string | undefined;
23599
+ name?: string | undefined;
23600
+ } | undefined;
23601
+ email?: string | undefined;
23602
+ engagementScore?: number | null | undefined;
23603
+ externalId?: string | undefined;
23604
+ id?: string | undefined;
23605
+ name?: string | undefined;
23606
+ sentiment?: number | null | undefined;
23607
+ talkTime?: number | undefined;
23608
+ user?: {
23609
+ email?: string | undefined;
23610
+ id?: string | undefined;
23611
+ name?: string | undefined;
23612
+ } | undefined;
23613
+ wordCount?: number | undefined;
23614
+ }[] | undefined;
23615
+ createdAt?: string | undefined;
23616
+ createdBy?: {
23617
+ email?: string | undefined;
23618
+ id?: string | undefined;
23619
+ name?: string | undefined;
23620
+ } | undefined;
23621
+ customer?: {
23622
+ email?: string | undefined;
23623
+ id?: string | undefined;
23624
+ name?: string | undefined;
23625
+ } | undefined;
23626
+ deal?: {
23627
+ id?: string | undefined;
23628
+ name?: string | undefined;
23629
+ } | undefined;
23630
+ duration?: number | undefined;
23631
+ endTime?: string | undefined;
23632
+ externalId?: string | undefined;
23633
+ id?: string | undefined;
23634
+ meetingUrl?: string | undefined;
23635
+ overallSentiment?: number | null | undefined;
23636
+ platform?: string | undefined;
23637
+ platformMeetingId?: string | undefined;
23638
+ recordingStatus?: string | undefined;
23639
+ recordingUrl?: string | undefined;
23640
+ sentimentTrend?: {
23641
+ sentiment?: number | undefined;
23642
+ timestampMs?: number | undefined;
23643
+ }[] | undefined;
23644
+ startTime?: string | undefined;
23645
+ summary?: string | undefined;
23646
+ taskSuggestions?: {
23647
+ createdAt?: string | undefined;
23648
+ createdTaskId?: string | null | undefined;
23649
+ description?: string | null | undefined;
23650
+ id?: string | undefined;
23651
+ priority?: string | undefined;
23652
+ status?: string | undefined;
23653
+ suggestedAssigneeId?: string | null | undefined;
23654
+ suggestedDueDate?: string | null | undefined;
23655
+ title?: string | undefined;
23656
+ triggerPhrase?: string | null | undefined;
23657
+ }[] | undefined;
23658
+ title?: string | undefined;
23659
+ transcript?: {
23660
+ createdAt?: string | undefined;
23661
+ externalId?: string | undefined;
23662
+ fullText?: string | undefined;
23663
+ id?: string | undefined;
23664
+ language?: string | undefined;
23665
+ status?: string | undefined;
23666
+ updatedAt?: string | undefined;
23667
+ utterances?: {
23668
+ attendee?: {
23669
+ email?: string | undefined;
23670
+ id?: string | undefined;
23671
+ name?: string | undefined;
23672
+ } | undefined;
23673
+ attendeeId?: string | undefined;
23674
+ confidence?: number | undefined;
23675
+ endTime?: number | undefined;
23676
+ id?: string | undefined;
23677
+ sequence?: number | undefined;
23678
+ startTime?: number | undefined;
23679
+ text?: string | undefined;
23680
+ words?: {
23681
+ confidence?: number | undefined;
23682
+ endTime?: number | undefined;
23683
+ startTime?: number | undefined;
23684
+ text?: string | undefined;
23685
+ }[] | undefined;
23686
+ }[] | undefined;
23687
+ } | undefined;
23688
+ updatedAt?: string | undefined;
23689
+ }>;
23004
23690
  updateAttendee(meetingId: string, attendeeId: string, data: NonNullable<paths['/meetings/{id}/attendees/{attendeeId}']['put']['requestBody']>['content']['application/json']): Promise<{
23005
23691
  attendee?: {
23006
23692
  color?: string | undefined;
@@ -24154,6 +24840,7 @@ declare class TasksResource extends BaseResource {
24154
24840
  description?: string | undefined;
24155
24841
  descriptionHtml?: string | undefined;
24156
24842
  dueDate?: string | undefined;
24843
+ hasComments?: boolean | undefined;
24157
24844
  id?: string | undefined;
24158
24845
  priority?: "low" | "medium" | "high" | undefined;
24159
24846
  status?: "new" | "in_progress" | "complete" | undefined;
@@ -24210,6 +24897,7 @@ declare class TasksResource extends BaseResource {
24210
24897
  description?: string | undefined;
24211
24898
  descriptionHtml?: string | undefined;
24212
24899
  dueDate?: string | undefined;
24900
+ hasComments?: boolean | undefined;
24213
24901
  id?: string | undefined;
24214
24902
  priority?: "low" | "medium" | "high" | undefined;
24215
24903
  status?: "new" | "in_progress" | "complete" | undefined;
@@ -24265,6 +24953,7 @@ declare class TasksResource extends BaseResource {
24265
24953
  description?: string | undefined;
24266
24954
  descriptionHtml?: string | undefined;
24267
24955
  dueDate?: string | undefined;
24956
+ hasComments?: boolean | undefined;
24268
24957
  id?: string | undefined;
24269
24958
  priority?: "low" | "medium" | "high" | undefined;
24270
24959
  status?: "new" | "in_progress" | "complete" | undefined;
@@ -24321,6 +25010,7 @@ declare class TasksResource extends BaseResource {
24321
25010
  description?: string | undefined;
24322
25011
  descriptionHtml?: string | undefined;
24323
25012
  dueDate?: string | undefined;
25013
+ hasComments?: boolean | undefined;
24324
25014
  id?: string | undefined;
24325
25015
  priority?: "low" | "medium" | "high" | undefined;
24326
25016
  status?: "new" | "in_progress" | "complete" | undefined;
@@ -24390,6 +25080,7 @@ declare class TasksResource extends BaseResource {
24390
25080
  description?: string | undefined;
24391
25081
  descriptionHtml?: string | undefined;
24392
25082
  dueDate?: string | undefined;
25083
+ hasComments?: boolean | undefined;
24393
25084
  id?: string | undefined;
24394
25085
  priority?: "low" | "medium" | "high" | undefined;
24395
25086
  status?: "new" | "in_progress" | "complete" | undefined;
@@ -24408,6 +25099,70 @@ declare class TasksResource extends BaseResource {
24408
25099
  del(taskId: string): Promise<{
24409
25100
  success?: boolean | undefined;
24410
25101
  }>;
25102
+ updateComment(taskId: string, commentId: string, data: NonNullable<paths['/tasks/{id}/comments/{commentId}']['put']['requestBody']>['content']['application/json']): Promise<{
25103
+ comment?: {
25104
+ comment?: string | undefined;
25105
+ commentHtml?: string | undefined;
25106
+ createdAt?: string | undefined;
25107
+ createdBy?: {
25108
+ email?: string | undefined;
25109
+ id?: string | undefined;
25110
+ name?: string | undefined;
25111
+ } | undefined;
25112
+ id?: string | undefined;
25113
+ taggedUsers?: {
25114
+ email?: string | undefined;
25115
+ id?: string | undefined;
25116
+ name?: string | undefined;
25117
+ }[] | undefined;
25118
+ taskId?: string | undefined;
25119
+ updatedAt?: string | undefined;
25120
+ } | undefined;
25121
+ }>;
25122
+ deleteComment(taskId: string, commentId: string): Promise<{
25123
+ success?: boolean | undefined;
25124
+ }>;
25125
+ listComments(taskId: string): Promise<{
25126
+ comments?: {
25127
+ comment?: string | undefined;
25128
+ commentHtml?: string | undefined;
25129
+ createdAt?: string | undefined;
25130
+ createdBy?: {
25131
+ email?: string | undefined;
25132
+ id?: string | undefined;
25133
+ name?: string | undefined;
25134
+ } | undefined;
25135
+ id?: string | undefined;
25136
+ taggedUsers?: {
25137
+ email?: string | undefined;
25138
+ id?: string | undefined;
25139
+ name?: string | undefined;
25140
+ }[] | undefined;
25141
+ taskId?: string | undefined;
25142
+ updatedAt?: string | undefined;
25143
+ }[] | undefined;
25144
+ total?: number | undefined;
25145
+ }>;
25146
+ createComment(taskId: string, data: NonNullable<paths['/tasks/{id}/comments']['post']['requestBody']>['content']['application/json']): Promise<{
25147
+ comment?: {
25148
+ comment?: string | undefined;
25149
+ commentHtml?: string | undefined;
25150
+ createdAt?: string | undefined;
25151
+ createdBy?: {
25152
+ email?: string | undefined;
25153
+ id?: string | undefined;
25154
+ name?: string | undefined;
25155
+ } | undefined;
25156
+ id?: string | undefined;
25157
+ taggedUsers?: {
25158
+ email?: string | undefined;
25159
+ id?: string | undefined;
25160
+ name?: string | undefined;
25161
+ }[] | undefined;
25162
+ taskId?: string | undefined;
25163
+ updatedAt?: string | undefined;
25164
+ } | undefined;
25165
+ }>;
24411
25166
  getTodoItem(taskId: string, itemId: string): Promise<{
24412
25167
  item?: {
24413
25168
  completed?: boolean | undefined;
@@ -25554,6 +26309,7 @@ type MeetingAttendeeRef = components['schemas']['MeetingAttendeeRef'];
25554
26309
  type MeetingContactRef = components['schemas']['MeetingContactRef'];
25555
26310
  type MeetingCustomer = components['schemas']['MeetingCustomer'];
25556
26311
  type MeetingDeal = components['schemas']['MeetingDeal'];
26312
+ type MeetingPermission = components['schemas']['MeetingPermission'];
25557
26313
  type MeetingTaskSuggestion = components['schemas']['MeetingTaskSuggestion'];
25558
26314
  type MeetingTranscript = components['schemas']['MeetingTranscript'];
25559
26315
  type MeetingUser = components['schemas']['MeetingUser'];
@@ -25585,6 +26341,7 @@ type SyncedEmailDeal = components['schemas']['SyncedEmailDeal'];
25585
26341
  type SyncedEmailMessage = components['schemas']['SyncedEmailMessage'];
25586
26342
  type SyncedEmailUser = components['schemas']['SyncedEmailUser'];
25587
26343
  type Task = components['schemas']['Task'];
26344
+ type TaskComment = components['schemas']['TaskComment'];
25588
26345
  type TaskTodoItem = components['schemas']['TaskTodoItem'];
25589
26346
  type ThreadEventType = components['schemas']['ThreadEventType'];
25590
26347
  type ThreadMessageWebhook = components['schemas']['ThreadMessageWebhook'];
@@ -25736,4 +26493,4 @@ interface RateLimitOptions {
25736
26493
  */
25737
26494
  declare function createRateLimitMiddleware(options?: RateLimitOptions): Middleware;
25738
26495
 
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 };
26496
+ 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 };