@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.mts +764 -11
- package/dist/index.d.ts +764 -11
- package/dist/index.js +24 -0
- package/dist/index.mjs +24 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -779,6 +779,15 @@ var MeetingsResource = class extends BaseResource {
|
|
|
779
779
|
async create(data) {
|
|
780
780
|
return this.unwrap(this.api.POST("/meetings", { body: data }));
|
|
781
781
|
}
|
|
782
|
+
async listPermissions(meetingId) {
|
|
783
|
+
return this.unwrap(this.api.GET("/meetings/{id}/permissions", { params: { path: { id: meetingId } } }));
|
|
784
|
+
}
|
|
785
|
+
async createPermission(meetingId, data) {
|
|
786
|
+
return this.unwrap(this.api.POST("/meetings/{id}/permissions", { params: { path: { id: meetingId } }, body: data }));
|
|
787
|
+
}
|
|
788
|
+
async deletePermissions(meetingId, data) {
|
|
789
|
+
return this.unwrap(this.api.DELETE("/meetings/{id}/permissions", { params: { path: { id: meetingId } }, body: data }));
|
|
790
|
+
}
|
|
782
791
|
async getRecordingUrl(meetingId) {
|
|
783
792
|
return this.unwrap(this.api.GET("/meetings/{id}/recording-url", { params: { path: { id: meetingId } } }));
|
|
784
793
|
}
|
|
@@ -788,6 +797,9 @@ var MeetingsResource = class extends BaseResource {
|
|
|
788
797
|
async dismissTaskSuggestion(meetingId, suggestionId) {
|
|
789
798
|
return this.unwrap(this.api.POST("/meetings/{id}/task-suggestions/{suggestionId}/dismiss", { params: { path: { id: meetingId, suggestionId } } }));
|
|
790
799
|
}
|
|
800
|
+
async updateVisibility(meetingId, data) {
|
|
801
|
+
return this.unwrap(this.api.PUT("/meetings/{id}/visibility", { params: { path: { id: meetingId } }, body: data }));
|
|
802
|
+
}
|
|
791
803
|
async updateAttendee(meetingId, attendeeId, data) {
|
|
792
804
|
return this.unwrap(this.api.PUT("/meetings/{id}/attendees/{attendeeId}", { params: { path: { id: meetingId, attendeeId } }, body: data }));
|
|
793
805
|
}
|
|
@@ -929,6 +941,18 @@ var TasksResource = class extends BaseResource {
|
|
|
929
941
|
async del(taskId) {
|
|
930
942
|
return this.unwrap(this.api.DELETE("/tasks/{id}", { params: { path: { id: taskId } } }));
|
|
931
943
|
}
|
|
944
|
+
async updateComment(taskId, commentId, data) {
|
|
945
|
+
return this.unwrap(this.api.PUT("/tasks/{id}/comments/{commentId}", { params: { path: { id: taskId, commentId } }, body: data }));
|
|
946
|
+
}
|
|
947
|
+
async deleteComment(taskId, commentId) {
|
|
948
|
+
return this.unwrap(this.api.DELETE("/tasks/{id}/comments/{commentId}", { params: { path: { id: taskId, commentId } } }));
|
|
949
|
+
}
|
|
950
|
+
async listComments(taskId) {
|
|
951
|
+
return this.unwrap(this.api.GET("/tasks/{id}/comments", { params: { path: { id: taskId } } }));
|
|
952
|
+
}
|
|
953
|
+
async createComment(taskId, data) {
|
|
954
|
+
return this.unwrap(this.api.POST("/tasks/{id}/comments", { params: { path: { id: taskId } }, body: data }));
|
|
955
|
+
}
|
|
932
956
|
async getTodoItem(taskId, itemId) {
|
|
933
957
|
return this.unwrap(this.api.GET("/tasks/{id}/todo-items/{itemId}", { params: { path: { id: taskId, itemId } } }));
|
|
934
958
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -696,6 +696,15 @@ var MeetingsResource = class extends BaseResource {
|
|
|
696
696
|
async create(data) {
|
|
697
697
|
return this.unwrap(this.api.POST("/meetings", { body: data }));
|
|
698
698
|
}
|
|
699
|
+
async listPermissions(meetingId) {
|
|
700
|
+
return this.unwrap(this.api.GET("/meetings/{id}/permissions", { params: { path: { id: meetingId } } }));
|
|
701
|
+
}
|
|
702
|
+
async createPermission(meetingId, data) {
|
|
703
|
+
return this.unwrap(this.api.POST("/meetings/{id}/permissions", { params: { path: { id: meetingId } }, body: data }));
|
|
704
|
+
}
|
|
705
|
+
async deletePermissions(meetingId, data) {
|
|
706
|
+
return this.unwrap(this.api.DELETE("/meetings/{id}/permissions", { params: { path: { id: meetingId } }, body: data }));
|
|
707
|
+
}
|
|
699
708
|
async getRecordingUrl(meetingId) {
|
|
700
709
|
return this.unwrap(this.api.GET("/meetings/{id}/recording-url", { params: { path: { id: meetingId } } }));
|
|
701
710
|
}
|
|
@@ -705,6 +714,9 @@ var MeetingsResource = class extends BaseResource {
|
|
|
705
714
|
async dismissTaskSuggestion(meetingId, suggestionId) {
|
|
706
715
|
return this.unwrap(this.api.POST("/meetings/{id}/task-suggestions/{suggestionId}/dismiss", { params: { path: { id: meetingId, suggestionId } } }));
|
|
707
716
|
}
|
|
717
|
+
async updateVisibility(meetingId, data) {
|
|
718
|
+
return this.unwrap(this.api.PUT("/meetings/{id}/visibility", { params: { path: { id: meetingId } }, body: data }));
|
|
719
|
+
}
|
|
708
720
|
async updateAttendee(meetingId, attendeeId, data) {
|
|
709
721
|
return this.unwrap(this.api.PUT("/meetings/{id}/attendees/{attendeeId}", { params: { path: { id: meetingId, attendeeId } }, body: data }));
|
|
710
722
|
}
|
|
@@ -846,6 +858,18 @@ var TasksResource = class extends BaseResource {
|
|
|
846
858
|
async del(taskId) {
|
|
847
859
|
return this.unwrap(this.api.DELETE("/tasks/{id}", { params: { path: { id: taskId } } }));
|
|
848
860
|
}
|
|
861
|
+
async updateComment(taskId, commentId, data) {
|
|
862
|
+
return this.unwrap(this.api.PUT("/tasks/{id}/comments/{commentId}", { params: { path: { id: taskId, commentId } }, body: data }));
|
|
863
|
+
}
|
|
864
|
+
async deleteComment(taskId, commentId) {
|
|
865
|
+
return this.unwrap(this.api.DELETE("/tasks/{id}/comments/{commentId}", { params: { path: { id: taskId, commentId } } }));
|
|
866
|
+
}
|
|
867
|
+
async listComments(taskId) {
|
|
868
|
+
return this.unwrap(this.api.GET("/tasks/{id}/comments", { params: { path: { id: taskId } } }));
|
|
869
|
+
}
|
|
870
|
+
async createComment(taskId, data) {
|
|
871
|
+
return this.unwrap(this.api.POST("/tasks/{id}/comments", { params: { path: { id: taskId } }, body: data }));
|
|
872
|
+
}
|
|
849
873
|
async getTodoItem(taskId, itemId) {
|
|
850
874
|
return this.unwrap(this.api.GET("/tasks/{id}/todo-items/{itemId}", { params: { path: { id: taskId, itemId } } }));
|
|
851
875
|
}
|