@parra/parra-js-sdk 0.3.31 → 0.3.33
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 +1 -0
- package/dist/ParraAPI.js +5 -0
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -1362,6 +1362,7 @@ declare class ParraAPI {
|
|
|
1362
1362
|
$expand?: string;
|
|
1363
1363
|
$search?: string;
|
|
1364
1364
|
}) => Promise<UserNoteCollectionResponse>;
|
|
1365
|
+
deleteUserNoteById: (tenant_id: string, user_note_id: string) => Promise<Response>;
|
|
1365
1366
|
linkUserNoteToTicket: (tenant_id: string, user_note_id: string, body: LinkUserNoteRequestBody) => Promise<Response>;
|
|
1366
1367
|
updateTicketById: (tenant_id: string, ticket_id: string, body?: UpdateTicketRequestBody) => Promise<Ticket>;
|
|
1367
1368
|
deleteTicketById: (tenant_id: string, ticket_id: string) => Promise<Response>;
|
package/dist/ParraAPI.js
CHANGED
|
@@ -491,6 +491,11 @@ var ParraAPI = /** @class */ (function () {
|
|
|
491
491
|
query: query,
|
|
492
492
|
});
|
|
493
493
|
};
|
|
494
|
+
this.deleteUserNoteById = function (tenant_id, user_note_id) {
|
|
495
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/notes/").concat(user_note_id), {
|
|
496
|
+
method: "delete",
|
|
497
|
+
});
|
|
498
|
+
};
|
|
494
499
|
this.linkUserNoteToTicket = function (tenant_id, user_note_id, body) {
|
|
495
500
|
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/notes/").concat(user_note_id, "/link"), {
|
|
496
501
|
method: "post",
|