@parra/parra-js-sdk 0.2.121 → 0.2.122
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
|
@@ -1103,6 +1103,7 @@ declare class ParraAPI {
|
|
|
1103
1103
|
$search?: string | undefined;
|
|
1104
1104
|
} | undefined) => Promise<TenantUserCollectionResponse>;
|
|
1105
1105
|
createFeedbackFormForTenantById: (tenant_id: string, body?: CreateFeedbackFormRequestBody | undefined) => Promise<FeedbackForm>;
|
|
1106
|
+
getFeedbackFormForTenantById: (tenant_id: string, feedback_form_id: string) => Promise<FeedbackForm>;
|
|
1106
1107
|
getFormById: (feedback_form_id: string) => Promise<FeedbackForm>;
|
|
1107
1108
|
submitFormById: (feedback_form_id: string, body?: FeedbackFormResponse | undefined) => Promise<Response>;
|
|
1108
1109
|
createQuestion: (body?: CreateQuestionRequestBody | undefined) => Promise<Question>;
|
package/dist/ParraAPI.js
CHANGED
|
@@ -387,6 +387,11 @@ var ParraAPI = /** @class */ (function () {
|
|
|
387
387
|
},
|
|
388
388
|
});
|
|
389
389
|
};
|
|
390
|
+
this.getFeedbackFormForTenantById = function (tenant_id, feedback_form_id) {
|
|
391
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/feedback/forms/").concat(feedback_form_id), {
|
|
392
|
+
method: "get",
|
|
393
|
+
});
|
|
394
|
+
};
|
|
390
395
|
this.getFormById = function (feedback_form_id) {
|
|
391
396
|
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/feedback/forms/").concat(feedback_form_id), {
|
|
392
397
|
method: "get",
|