@parra/parra-js-sdk 0.2.123 → 0.2.124
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 +11 -5
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -448,7 +448,7 @@ export interface FeedbackForm {
|
|
|
448
448
|
created_at: string;
|
|
449
449
|
updated_at: string;
|
|
450
450
|
deleted_at?: string | null;
|
|
451
|
-
data
|
|
451
|
+
data: FeedbackFormData;
|
|
452
452
|
}
|
|
453
453
|
export interface FeedbackFormData {
|
|
454
454
|
title: string;
|
|
@@ -458,20 +458,26 @@ export interface FeedbackFormData {
|
|
|
458
458
|
export interface FeedbackFormField {
|
|
459
459
|
name: string;
|
|
460
460
|
title?: string;
|
|
461
|
+
helper_text?: string;
|
|
461
462
|
type: string;
|
|
462
463
|
required?: boolean;
|
|
463
464
|
data: FeedbackFormFieldData;
|
|
464
465
|
}
|
|
465
|
-
export declare type FeedbackFormFieldData = FeedbackFormTextFieldData |
|
|
466
|
+
export declare type FeedbackFormFieldData = FeedbackFormTextFieldData | FeedbackFormSelectFieldData | FeedbackFormInputFieldData;
|
|
466
467
|
export interface FeedbackFormTextFieldData {
|
|
467
468
|
placeholder?: string;
|
|
469
|
+
lines?: number;
|
|
468
470
|
max_lines?: number;
|
|
469
471
|
min_characters?: number;
|
|
470
472
|
max_characters?: number;
|
|
473
|
+
max_height?: number;
|
|
471
474
|
}
|
|
472
|
-
export interface
|
|
475
|
+
export interface FeedbackFormInputFieldData {
|
|
473
476
|
placeholder?: string;
|
|
474
|
-
|
|
477
|
+
}
|
|
478
|
+
export interface FeedbackFormSelectFieldData {
|
|
479
|
+
placeholder?: string;
|
|
480
|
+
options: Array<FeedbackFormSelectFieldOption>;
|
|
475
481
|
}
|
|
476
482
|
export interface FeedbackFormSelectFieldOption {
|
|
477
483
|
title: string;
|
|
@@ -1103,7 +1109,7 @@ declare class ParraAPI {
|
|
|
1103
1109
|
$filter?: string | undefined;
|
|
1104
1110
|
$expand?: string | undefined;
|
|
1105
1111
|
$search?: string | undefined;
|
|
1106
|
-
} | undefined) => Promise<
|
|
1112
|
+
} | undefined) => Promise<FeedbackFormCollectionResponse>;
|
|
1107
1113
|
createFeedbackFormForTenantById: (tenant_id: string, body?: CreateFeedbackFormRequestBody | undefined) => Promise<FeedbackFormResponse>;
|
|
1108
1114
|
getFeedbackFormForTenantById: (tenant_id: string, feedback_form_id: string) => Promise<FeedbackFormResponse>;
|
|
1109
1115
|
getFormById: (feedback_form_id: string) => Promise<FeedbackFormResponse>;
|