@parra/parra-js-sdk 0.3.447 → 0.3.448
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 +10 -10
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
@@ -1772,7 +1772,7 @@ export interface SubmitCommentReviewRequestBody {
|
|
1772
1772
|
}
|
1773
1773
|
export interface SubmitFeedbackFormResponseBody {
|
1774
1774
|
}
|
1775
|
-
export interface
|
1775
|
+
export interface FeedbackForm {
|
1776
1776
|
id: string;
|
1777
1777
|
created_at: string;
|
1778
1778
|
updated_at: string;
|
@@ -1782,7 +1782,7 @@ export interface FeedbackFormResponse {
|
|
1782
1782
|
description?: string | null;
|
1783
1783
|
data: FeedbackFormData;
|
1784
1784
|
}
|
1785
|
-
export interface
|
1785
|
+
export interface FeedbackFormResponse {
|
1786
1786
|
id: string;
|
1787
1787
|
created_at: string;
|
1788
1788
|
updated_at: string;
|
@@ -1790,15 +1790,15 @@ export interface FeedbackFormSubmission {
|
|
1790
1790
|
feedback_form_id: string;
|
1791
1791
|
user_id: string;
|
1792
1792
|
data: SubmitFeedbackFormResponseBody;
|
1793
|
-
form?:
|
1793
|
+
form?: FeedbackForm;
|
1794
1794
|
user?: TenantUserStub | null;
|
1795
1795
|
}
|
1796
|
-
export interface
|
1796
|
+
export interface FeedbackFormResponseCollectionResponse {
|
1797
1797
|
page: number;
|
1798
1798
|
page_count: number;
|
1799
1799
|
page_size: number;
|
1800
1800
|
total_count: number;
|
1801
|
-
data: Array<
|
1801
|
+
data: Array<FeedbackFormResponse>;
|
1802
1802
|
}
|
1803
1803
|
export declare enum QuestionType {
|
1804
1804
|
choice = "choice",
|
@@ -4706,7 +4706,7 @@ declare class ParraAPI {
|
|
4706
4706
|
$filter?: string;
|
4707
4707
|
$expand?: string;
|
4708
4708
|
$search?: string;
|
4709
|
-
}, options?: Options) => Promise<
|
4709
|
+
}, options?: Options) => Promise<FeedbackFormResponseCollectionResponse>;
|
4710
4710
|
getFormById: (feedback_form_id: string, options?: Options) => Promise<FeedbackFormDataStub>;
|
4711
4711
|
submitFormById: (feedback_form_id: string, body?: SubmitFeedbackFormResponseBody, options?: Options) => Promise<Response>;
|
4712
4712
|
createQuestion: (body: CreateQuestionRequestBody, options?: Options) => Promise<Question>;
|
@@ -4747,11 +4747,11 @@ declare class ParraAPI {
|
|
4747
4747
|
$expand?: string;
|
4748
4748
|
$search?: string;
|
4749
4749
|
}, options?: Options) => Promise<FeedbackFormCollectionResponse>;
|
4750
|
-
createFeedbackFormForTenantById: (tenant_id: string, body?: CreateFeedbackFormRequestBody, options?: Options) => Promise<
|
4750
|
+
createFeedbackFormForTenantById: (tenant_id: string, body?: CreateFeedbackFormRequestBody, options?: Options) => Promise<FeedbackForm>;
|
4751
4751
|
getFeedbackFormForTenantById: (tenant_id: string, feedback_form_id: string, query?: {
|
4752
4752
|
include?: string;
|
4753
|
-
}, options?: Options) => Promise<
|
4754
|
-
updateFeedbackFormForTenantById: (tenant_id: string, feedback_form_id: string, body: UpdateFeedbackFormRequestBody, options?: Options) => Promise<
|
4753
|
+
}, options?: Options) => Promise<FeedbackForm>;
|
4754
|
+
updateFeedbackFormForTenantById: (tenant_id: string, feedback_form_id: string, body: UpdateFeedbackFormRequestBody, options?: Options) => Promise<FeedbackForm>;
|
4755
4755
|
deleteFeedbackFormForTenantById: (tenant_id: string, feedback_form_id: string, options?: Options) => Promise<Response>;
|
4756
4756
|
paginateFeedbackFormResponsesForTenantById: (tenant_id: string, feedback_form_id: string, query?: {
|
4757
4757
|
$select?: string;
|
@@ -4761,7 +4761,7 @@ declare class ParraAPI {
|
|
4761
4761
|
$filter?: string;
|
4762
4762
|
$expand?: string;
|
4763
4763
|
$search?: string;
|
4764
|
-
}, options?: Options) => Promise<
|
4764
|
+
}, options?: Options) => Promise<FeedbackFormResponseCollectionResponse>;
|
4765
4765
|
deleteFeedbackFormResponseById: (tenant_id: string, feedback_form_id: string, feedback_form_response_id: string, options?: Options) => Promise<Response>;
|
4766
4766
|
createAnalyticEventTypeForTenantById: (tenant_id: string, body: CreateAnalyticEventTypeRequestBody, options?: Options) => Promise<AnalyticEventType>;
|
4767
4767
|
paginateAnalyticEventTypesForTenantById: (tenant_id: string, query?: {
|