@parra/parra-js-sdk 0.2.125 → 0.2.126

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.
@@ -1118,6 +1118,7 @@ declare class ParraAPI {
1118
1118
  createFeedbackFormForTenantById: (tenant_id: string, body?: CreateFeedbackFormRequestBody | undefined) => Promise<FeedbackFormResponse>;
1119
1119
  getFeedbackFormForTenantById: (tenant_id: string, feedback_form_id: string) => Promise<FeedbackFormResponse>;
1120
1120
  updateFeedbackFormForTenantById: (tenant_id: string, feedback_form_id: string, body?: UpdateFeedbackFormRequestBody | undefined) => Promise<FeedbackFormResponse>;
1121
+ deleteFeedbackFormForTenantById: (tenant_id: string, feedback_form_id: string) => Promise<Response>;
1121
1122
  getFormById: (feedback_form_id: string) => Promise<FeedbackFormDataStub>;
1122
1123
  submitFormById: (feedback_form_id: string, body?: FeedbackFormResponse | undefined) => Promise<Response>;
1123
1124
  createQuestion: (body?: CreateQuestionRequestBody | undefined) => Promise<Question>;
package/dist/ParraAPI.js CHANGED
@@ -401,6 +401,11 @@ var ParraAPI = /** @class */ (function () {
401
401
  },
402
402
  });
403
403
  };
404
+ this.deleteFeedbackFormForTenantById = function (tenant_id, feedback_form_id) {
405
+ return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/feedback/forms/").concat(feedback_form_id), {
406
+ method: "delete",
407
+ });
408
+ };
404
409
  this.getFormById = function (feedback_form_id) {
405
410
  return _this.http.execute("".concat(_this.options.baseUrl, "/v1/feedback/forms/").concat(feedback_form_id), {
406
411
  method: "get",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.2.125",
3
+ "version": "0.2.126",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",