@parra/parra-js-sdk 0.3.90 → 0.3.91
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/ParraAPI.d.ts +5 -0
- package/dist/ParraAPI.js +5 -0
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -948,6 +948,10 @@ export interface UserNoteCollectionResponse {
|
|
|
948
948
|
total_count: number;
|
|
949
949
|
data: Array<UserNote>;
|
|
950
950
|
}
|
|
951
|
+
export interface UserNoteMetrics {
|
|
952
|
+
total_requests: number;
|
|
953
|
+
pending_requests: number;
|
|
954
|
+
}
|
|
951
955
|
export interface LinkUserNoteRequestBody {
|
|
952
956
|
ticket_id: string;
|
|
953
957
|
}
|
|
@@ -1686,6 +1690,7 @@ declare class ParraAPI {
|
|
|
1686
1690
|
$expand?: string;
|
|
1687
1691
|
$search?: string;
|
|
1688
1692
|
}) => Promise<UserNoteCollectionResponse>;
|
|
1693
|
+
generateUserNoteMetricsForBoard: (tenant_id: string, board_id: string) => Promise<UserNoteMetrics>;
|
|
1689
1694
|
deleteUserNoteById: (tenant_id: string, user_note_id: string) => Promise<Response>;
|
|
1690
1695
|
linkUserNoteToTicket: (tenant_id: string, user_note_id: string, body: LinkUserNoteRequestBody) => Promise<Response>;
|
|
1691
1696
|
bulkUpdateTickets: (tenant_id: string, body?: BulkUpdateTicketsRequestBody) => Promise<Response>;
|
package/dist/ParraAPI.js
CHANGED
|
@@ -555,6 +555,11 @@ var ParraAPI = /** @class */ (function () {
|
|
|
555
555
|
query: query,
|
|
556
556
|
});
|
|
557
557
|
};
|
|
558
|
+
this.generateUserNoteMetricsForBoard = function (tenant_id, board_id) {
|
|
559
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/boards/").concat(board_id, "/notes/metrics"), {
|
|
560
|
+
method: "post",
|
|
561
|
+
});
|
|
562
|
+
};
|
|
558
563
|
this.deleteUserNoteById = function (tenant_id, user_note_id) {
|
|
559
564
|
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/notes/").concat(user_note_id), {
|
|
560
565
|
method: "delete",
|