@waldur/admin 8.0.9-dev.16 → 8.0.9-dev.17

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.
@@ -1,4 +1,4 @@
1
- import type { AccessorTypeEnum, AccessorUser, BackendResourceReqOEnum, BlankEnum, ChecklistOperators, CoreStates, DependencyLogicOperatorEnum, EventSubscription, MaintenanceAnnouncementTemplateOEnum, MaintenanceTypeEnum, ObservableObjectTypeEnum, OrganizationGroup, QuestionTypeEnum, SshKey, SshKeyFieldEnum, SshKeyOEnum, VersionHistory } from '@waldur/core';
1
+ import type { AccessorTypeEnum, AccessorUser, BackendResourceReqOEnum, BlankEnum, ChecklistOperators, CoreStates, DependencyLogicOperatorEnum, EventSubscription, LikertScaleLengthEnum, MaintenanceAnnouncementTemplateOEnum, MaintenanceTypeEnum, NullEnum, ObservableObjectTypeEnum, OrganizationGroup, QuestionTypeEnum, RichTextToolbarLevelEnum, SshKey, SshKeyFieldEnum, SshKeyOEnum, VersionHistory } from '@waldur/core';
2
2
  export type AiassistantenabledrolesEnum = 'disabled' | 'staff' | 'staff_and_support' | 'all' | 'anonymous';
3
3
  export type AccessSubnet = {
4
4
  readonly uuid: string;
@@ -2637,6 +2637,30 @@ export type PatchedQuestionAdminRequest = {
2637
2637
  * Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
2638
2638
  */
2639
2639
  max_files_count?: number | null;
2640
+ /**
2641
+ * Number of points on the Likert scale (3, 5, or 7). Required for LIKERT type questions.
2642
+ */
2643
+ likert_scale_length?: LikertScaleLengthEnum | NullEnum | null;
2644
+ /**
2645
+ * Label for the lowest point on the Likert scale (e.g. 'Strongly disagree'). Optional.
2646
+ */
2647
+ likert_low_label?: string;
2648
+ /**
2649
+ * Label for the highest point on the Likert scale (e.g. 'Strongly agree'). Optional.
2650
+ */
2651
+ likert_high_label?: string;
2652
+ /**
2653
+ * Allow respondents to choose 'N/A' as an answer for LIKERT type questions.
2654
+ */
2655
+ likert_allow_na?: boolean;
2656
+ /**
2657
+ * Maximum number of characters allowed in RICH_TEXT type answers. If not set, no limit is enforced.
2658
+ */
2659
+ rich_text_char_limit?: number | null;
2660
+ /**
2661
+ * Toolbar level for the rich text editor: 'minimal', 'standard', or 'extended'.
2662
+ */
2663
+ rich_text_toolbar_level?: RichTextToolbarLevelEnum | BlankEnum;
2640
2664
  operator?: ChecklistOperators | BlankEnum;
2641
2665
  /**
2642
2666
  * Answer value that trigger review.
@@ -3010,6 +3034,30 @@ export type QuestionAdmin = {
3010
3034
  * Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
3011
3035
  */
3012
3036
  max_files_count?: number | null;
3037
+ /**
3038
+ * Number of points on the Likert scale (3, 5, or 7). Required for LIKERT type questions.
3039
+ */
3040
+ likert_scale_length?: LikertScaleLengthEnum | NullEnum | null;
3041
+ /**
3042
+ * Label for the lowest point on the Likert scale (e.g. 'Strongly disagree'). Optional.
3043
+ */
3044
+ likert_low_label?: string;
3045
+ /**
3046
+ * Label for the highest point on the Likert scale (e.g. 'Strongly agree'). Optional.
3047
+ */
3048
+ likert_high_label?: string;
3049
+ /**
3050
+ * Allow respondents to choose 'N/A' as an answer for LIKERT type questions.
3051
+ */
3052
+ likert_allow_na?: boolean;
3053
+ /**
3054
+ * Maximum number of characters allowed in RICH_TEXT type answers. If not set, no limit is enforced.
3055
+ */
3056
+ rich_text_char_limit?: number | null;
3057
+ /**
3058
+ * Toolbar level for the rich text editor: 'minimal', 'standard', or 'extended'.
3059
+ */
3060
+ rich_text_toolbar_level?: RichTextToolbarLevelEnum | BlankEnum;
3013
3061
  operator?: ChecklistOperators | BlankEnum;
3014
3062
  /**
3015
3063
  * Answer value that trigger review.
@@ -3077,6 +3125,30 @@ export type QuestionAdminRequest = {
3077
3125
  * Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
3078
3126
  */
3079
3127
  max_files_count?: number | null;
3128
+ /**
3129
+ * Number of points on the Likert scale (3, 5, or 7). Required for LIKERT type questions.
3130
+ */
3131
+ likert_scale_length?: LikertScaleLengthEnum | NullEnum | null;
3132
+ /**
3133
+ * Label for the lowest point on the Likert scale (e.g. 'Strongly disagree'). Optional.
3134
+ */
3135
+ likert_low_label?: string;
3136
+ /**
3137
+ * Label for the highest point on the Likert scale (e.g. 'Strongly agree'). Optional.
3138
+ */
3139
+ likert_high_label?: string;
3140
+ /**
3141
+ * Allow respondents to choose 'N/A' as an answer for LIKERT type questions.
3142
+ */
3143
+ likert_allow_na?: boolean;
3144
+ /**
3145
+ * Maximum number of characters allowed in RICH_TEXT type answers. If not set, no limit is enforced.
3146
+ */
3147
+ rich_text_char_limit?: number | null;
3148
+ /**
3149
+ * Toolbar level for the rich text editor: 'minimal', 'standard', or 'extended'.
3150
+ */
3151
+ rich_text_toolbar_level?: RichTextToolbarLevelEnum | BlankEnum;
3080
3152
  operator?: ChecklistOperators | BlankEnum;
3081
3153
  /**
3082
3154
  * Answer value that trigger review.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@waldur/admin",
3
- "version": "8.0.9-dev.16",
3
+ "version": "8.0.9-dev.17",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
package/src/types.gen.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  // This file is auto-generated by split-sdk script
2
2
 
3
- import type { AccessorTypeEnum, AccessorUser, BackendResourceReqOEnum, BlankEnum, ChecklistOperators, CoreStates, DependencyLogicOperatorEnum, EventSubscription, MaintenanceAnnouncementTemplateOEnum, MaintenanceTypeEnum, ObservableObjectTypeEnum, OrganizationGroup, QuestionTypeEnum, SshKey, SshKeyFieldEnum, SshKeyOEnum, VersionHistory } from '@waldur/core';
3
+ import type { AccessorTypeEnum, AccessorUser, BackendResourceReqOEnum, BlankEnum, ChecklistOperators, CoreStates, DependencyLogicOperatorEnum, EventSubscription, LikertScaleLengthEnum, MaintenanceAnnouncementTemplateOEnum, MaintenanceTypeEnum, NullEnum, ObservableObjectTypeEnum, OrganizationGroup, QuestionTypeEnum, RichTextToolbarLevelEnum, SshKey, SshKeyFieldEnum, SshKeyOEnum, VersionHistory } from '@waldur/core';
4
4
 
5
5
  // This file is auto-generated by @hey-api/openapi-ts
6
6
 
@@ -2787,6 +2787,30 @@ export type PatchedQuestionAdminRequest = {
2787
2787
  * Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
2788
2788
  */
2789
2789
  max_files_count?: number | null;
2790
+ /**
2791
+ * Number of points on the Likert scale (3, 5, or 7). Required for LIKERT type questions.
2792
+ */
2793
+ likert_scale_length?: LikertScaleLengthEnum | NullEnum | null;
2794
+ /**
2795
+ * Label for the lowest point on the Likert scale (e.g. 'Strongly disagree'). Optional.
2796
+ */
2797
+ likert_low_label?: string;
2798
+ /**
2799
+ * Label for the highest point on the Likert scale (e.g. 'Strongly agree'). Optional.
2800
+ */
2801
+ likert_high_label?: string;
2802
+ /**
2803
+ * Allow respondents to choose 'N/A' as an answer for LIKERT type questions.
2804
+ */
2805
+ likert_allow_na?: boolean;
2806
+ /**
2807
+ * Maximum number of characters allowed in RICH_TEXT type answers. If not set, no limit is enforced.
2808
+ */
2809
+ rich_text_char_limit?: number | null;
2810
+ /**
2811
+ * Toolbar level for the rich text editor: 'minimal', 'standard', or 'extended'.
2812
+ */
2813
+ rich_text_toolbar_level?: RichTextToolbarLevelEnum | BlankEnum;
2790
2814
  operator?: ChecklistOperators | BlankEnum;
2791
2815
  /**
2792
2816
  * Answer value that trigger review.
@@ -3178,6 +3202,30 @@ export type QuestionAdmin = {
3178
3202
  * Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
3179
3203
  */
3180
3204
  max_files_count?: number | null;
3205
+ /**
3206
+ * Number of points on the Likert scale (3, 5, or 7). Required for LIKERT type questions.
3207
+ */
3208
+ likert_scale_length?: LikertScaleLengthEnum | NullEnum | null;
3209
+ /**
3210
+ * Label for the lowest point on the Likert scale (e.g. 'Strongly disagree'). Optional.
3211
+ */
3212
+ likert_low_label?: string;
3213
+ /**
3214
+ * Label for the highest point on the Likert scale (e.g. 'Strongly agree'). Optional.
3215
+ */
3216
+ likert_high_label?: string;
3217
+ /**
3218
+ * Allow respondents to choose 'N/A' as an answer for LIKERT type questions.
3219
+ */
3220
+ likert_allow_na?: boolean;
3221
+ /**
3222
+ * Maximum number of characters allowed in RICH_TEXT type answers. If not set, no limit is enforced.
3223
+ */
3224
+ rich_text_char_limit?: number | null;
3225
+ /**
3226
+ * Toolbar level for the rich text editor: 'minimal', 'standard', or 'extended'.
3227
+ */
3228
+ rich_text_toolbar_level?: RichTextToolbarLevelEnum | BlankEnum;
3181
3229
  operator?: ChecklistOperators | BlankEnum;
3182
3230
  /**
3183
3231
  * Answer value that trigger review.
@@ -3246,6 +3294,30 @@ export type QuestionAdminRequest = {
3246
3294
  * Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
3247
3295
  */
3248
3296
  max_files_count?: number | null;
3297
+ /**
3298
+ * Number of points on the Likert scale (3, 5, or 7). Required for LIKERT type questions.
3299
+ */
3300
+ likert_scale_length?: LikertScaleLengthEnum | NullEnum | null;
3301
+ /**
3302
+ * Label for the lowest point on the Likert scale (e.g. 'Strongly disagree'). Optional.
3303
+ */
3304
+ likert_low_label?: string;
3305
+ /**
3306
+ * Label for the highest point on the Likert scale (e.g. 'Strongly agree'). Optional.
3307
+ */
3308
+ likert_high_label?: string;
3309
+ /**
3310
+ * Allow respondents to choose 'N/A' as an answer for LIKERT type questions.
3311
+ */
3312
+ likert_allow_na?: boolean;
3313
+ /**
3314
+ * Maximum number of characters allowed in RICH_TEXT type answers. If not set, no limit is enforced.
3315
+ */
3316
+ rich_text_char_limit?: number | null;
3317
+ /**
3318
+ * Toolbar level for the rich text editor: 'minimal', 'standard', or 'extended'.
3319
+ */
3320
+ rich_text_toolbar_level?: RichTextToolbarLevelEnum | BlankEnum;
3249
3321
  operator?: ChecklistOperators | BlankEnum;
3250
3322
  /**
3251
3323
  * Answer value that trigger review.