@parra/parra-js-sdk 0.3.31 → 0.3.32

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.
@@ -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: "post",
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.31",
3
+ "version": "0.3.32",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",