waldur-js-client 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.
Files changed (2) hide show
  1. package/dist/types.gen.d.ts +147 -1
  2. package/package.json +1 -1
@@ -9270,6 +9270,7 @@ export type LicenseSuggestion = {
9270
9270
  */
9271
9271
  confidence: number;
9272
9272
  };
9273
+ export type LikertScaleLengthEnum = 3 | 5 | 7;
9273
9274
  export type LimitPeriodEnum = 'month' | 'quarterly' | 'annual' | 'total';
9274
9275
  export type LimitTypeEnum = 'GrpTRESMins' | 'MaxTRESMins' | 'GrpTRES';
9275
9276
  export type LinkOpenstackRequest = {
@@ -17368,6 +17369,30 @@ export type PatchedQuestionAdminRequest = {
17368
17369
  * Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
17369
17370
  */
17370
17371
  max_files_count?: number | null;
17372
+ /**
17373
+ * Number of points on the Likert scale (3, 5, or 7). Required for LIKERT type questions.
17374
+ */
17375
+ likert_scale_length?: LikertScaleLengthEnum | NullEnum | null;
17376
+ /**
17377
+ * Label for the lowest point on the Likert scale (e.g. 'Strongly disagree'). Optional.
17378
+ */
17379
+ likert_low_label?: string;
17380
+ /**
17381
+ * Label for the highest point on the Likert scale (e.g. 'Strongly agree'). Optional.
17382
+ */
17383
+ likert_high_label?: string;
17384
+ /**
17385
+ * Allow respondents to choose 'N/A' as an answer for LIKERT type questions.
17386
+ */
17387
+ likert_allow_na?: boolean;
17388
+ /**
17389
+ * Maximum number of characters allowed in RICH_TEXT type answers. If not set, no limit is enforced.
17390
+ */
17391
+ rich_text_char_limit?: number | null;
17392
+ /**
17393
+ * Toolbar level for the rich text editor: 'minimal', 'standard', or 'extended'.
17394
+ */
17395
+ rich_text_toolbar_level?: RichTextToolbarLevelEnum | BlankEnum;
17371
17396
  operator?: ChecklistOperators | BlankEnum;
17372
17397
  /**
17373
17398
  * Answer value that trigger review.
@@ -20384,6 +20409,30 @@ export type Question = {
20384
20409
  * Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
20385
20410
  */
20386
20411
  max_files_count?: number | null;
20412
+ /**
20413
+ * Number of points on the Likert scale (3, 5, or 7). Required for LIKERT type questions.
20414
+ */
20415
+ likert_scale_length?: LikertScaleLengthEnum | NullEnum | null;
20416
+ /**
20417
+ * Label for the lowest point on the Likert scale (e.g. 'Strongly disagree'). Optional.
20418
+ */
20419
+ likert_low_label?: string;
20420
+ /**
20421
+ * Label for the highest point on the Likert scale (e.g. 'Strongly agree'). Optional.
20422
+ */
20423
+ likert_high_label?: string;
20424
+ /**
20425
+ * Allow respondents to choose 'N/A' as an answer for LIKERT type questions.
20426
+ */
20427
+ likert_allow_na?: boolean;
20428
+ /**
20429
+ * Maximum number of characters allowed in RICH_TEXT type answers. If not set, no limit is enforced.
20430
+ */
20431
+ rich_text_char_limit?: number | null;
20432
+ /**
20433
+ * Toolbar level for the rich text editor: 'minimal', 'standard', or 'extended'.
20434
+ */
20435
+ rich_text_toolbar_level?: RichTextToolbarLevelEnum | BlankEnum;
20387
20436
  operator?: ChecklistOperators | BlankEnum;
20388
20437
  /**
20389
20438
  * Answer value that trigger review.
@@ -20448,6 +20497,30 @@ export type QuestionAdmin = {
20448
20497
  * Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
20449
20498
  */
20450
20499
  max_files_count?: number | null;
20500
+ /**
20501
+ * Number of points on the Likert scale (3, 5, or 7). Required for LIKERT type questions.
20502
+ */
20503
+ likert_scale_length?: LikertScaleLengthEnum | NullEnum | null;
20504
+ /**
20505
+ * Label for the lowest point on the Likert scale (e.g. 'Strongly disagree'). Optional.
20506
+ */
20507
+ likert_low_label?: string;
20508
+ /**
20509
+ * Label for the highest point on the Likert scale (e.g. 'Strongly agree'). Optional.
20510
+ */
20511
+ likert_high_label?: string;
20512
+ /**
20513
+ * Allow respondents to choose 'N/A' as an answer for LIKERT type questions.
20514
+ */
20515
+ likert_allow_na?: boolean;
20516
+ /**
20517
+ * Maximum number of characters allowed in RICH_TEXT type answers. If not set, no limit is enforced.
20518
+ */
20519
+ rich_text_char_limit?: number | null;
20520
+ /**
20521
+ * Toolbar level for the rich text editor: 'minimal', 'standard', or 'extended'.
20522
+ */
20523
+ rich_text_toolbar_level?: RichTextToolbarLevelEnum | BlankEnum;
20451
20524
  operator?: ChecklistOperators | BlankEnum;
20452
20525
  /**
20453
20526
  * Answer value that trigger review.
@@ -20515,6 +20588,30 @@ export type QuestionAdminRequest = {
20515
20588
  * Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
20516
20589
  */
20517
20590
  max_files_count?: number | null;
20591
+ /**
20592
+ * Number of points on the Likert scale (3, 5, or 7). Required for LIKERT type questions.
20593
+ */
20594
+ likert_scale_length?: LikertScaleLengthEnum | NullEnum | null;
20595
+ /**
20596
+ * Label for the lowest point on the Likert scale (e.g. 'Strongly disagree'). Optional.
20597
+ */
20598
+ likert_low_label?: string;
20599
+ /**
20600
+ * Label for the highest point on the Likert scale (e.g. 'Strongly agree'). Optional.
20601
+ */
20602
+ likert_high_label?: string;
20603
+ /**
20604
+ * Allow respondents to choose 'N/A' as an answer for LIKERT type questions.
20605
+ */
20606
+ likert_allow_na?: boolean;
20607
+ /**
20608
+ * Maximum number of characters allowed in RICH_TEXT type answers. If not set, no limit is enforced.
20609
+ */
20610
+ rich_text_char_limit?: number | null;
20611
+ /**
20612
+ * Toolbar level for the rich text editor: 'minimal', 'standard', or 'extended'.
20613
+ */
20614
+ rich_text_toolbar_level?: RichTextToolbarLevelEnum | BlankEnum;
20518
20615
  operator?: ChecklistOperators | BlankEnum;
20519
20616
  /**
20520
20617
  * Answer value that trigger review.
@@ -20611,7 +20708,7 @@ export type QuestionOptionsAdminRequest = {
20611
20708
  order?: number;
20612
20709
  question: string;
20613
20710
  };
20614
- export type QuestionTypeEnum = 'boolean' | 'single_select' | 'multi_select' | 'text_input' | 'text_area' | 'number' | 'date' | 'file' | 'multiple_files' | 'phone_number' | 'year' | 'email' | 'url' | 'country' | 'rating' | 'datetime';
20711
+ export type QuestionTypeEnum = 'boolean' | 'single_select' | 'multi_select' | 'text_input' | 'text_area' | 'number' | 'date' | 'file' | 'multiple_files' | 'phone_number' | 'year' | 'email' | 'url' | 'country' | 'rating' | 'datetime' | 'likert' | 'rich_text';
20615
20712
  export type QuestionWithAnswer = {
20616
20713
  readonly uuid: string;
20617
20714
  readonly description: string;
@@ -20650,6 +20747,30 @@ export type QuestionWithAnswer = {
20650
20747
  * Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
20651
20748
  */
20652
20749
  readonly max_files_count: number | null;
20750
+ /**
20751
+ * Number of points on the Likert scale (3, 5, or 7). Required for LIKERT type questions.
20752
+ */
20753
+ likert_scale_length: LikertScaleLengthEnum | NullEnum | null;
20754
+ /**
20755
+ * Label for the lowest point on the Likert scale (e.g. 'Strongly disagree'). Optional.
20756
+ */
20757
+ readonly likert_low_label: string;
20758
+ /**
20759
+ * Label for the highest point on the Likert scale (e.g. 'Strongly agree'). Optional.
20760
+ */
20761
+ readonly likert_high_label: string;
20762
+ /**
20763
+ * Allow respondents to choose 'N/A' as an answer for LIKERT type questions.
20764
+ */
20765
+ readonly likert_allow_na: boolean;
20766
+ /**
20767
+ * Maximum number of characters allowed in RICH_TEXT type answers. If not set, no limit is enforced.
20768
+ */
20769
+ readonly rich_text_char_limit: number | null;
20770
+ /**
20771
+ * Toolbar level for the rich text editor: 'minimal', 'standard', or 'extended'.
20772
+ */
20773
+ rich_text_toolbar_level: RichTextToolbarLevelEnum;
20653
20774
  readonly dependencies_info: {
20654
20775
  [key: string]: unknown;
20655
20776
  } | null;
@@ -20692,6 +20813,30 @@ export type QuestionWithAnswerReviewer = {
20692
20813
  * Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
20693
20814
  */
20694
20815
  readonly max_files_count: number | null;
20816
+ /**
20817
+ * Number of points on the Likert scale (3, 5, or 7). Required for LIKERT type questions.
20818
+ */
20819
+ likert_scale_length: LikertScaleLengthEnum | NullEnum | null;
20820
+ /**
20821
+ * Label for the lowest point on the Likert scale (e.g. 'Strongly disagree'). Optional.
20822
+ */
20823
+ readonly likert_low_label: string;
20824
+ /**
20825
+ * Label for the highest point on the Likert scale (e.g. 'Strongly agree'). Optional.
20826
+ */
20827
+ readonly likert_high_label: string;
20828
+ /**
20829
+ * Allow respondents to choose 'N/A' as an answer for LIKERT type questions.
20830
+ */
20831
+ readonly likert_allow_na: boolean;
20832
+ /**
20833
+ * Maximum number of characters allowed in RICH_TEXT type answers. If not set, no limit is enforced.
20834
+ */
20835
+ readonly rich_text_char_limit: number | null;
20836
+ /**
20837
+ * Toolbar level for the rich text editor: 'minimal', 'standard', or 'extended'.
20838
+ */
20839
+ rich_text_toolbar_level: RichTextToolbarLevelEnum;
20695
20840
  readonly dependencies_info: {
20696
20841
  [key: string]: unknown;
20697
20842
  } | null;
@@ -22924,6 +23069,7 @@ export type ReviewerSuggestionRequest = {
22924
23069
  rejection_reason?: string;
22925
23070
  };
22926
23071
  export type ReviewerSuggestionStatusEnum = 'pending' | 'confirmed' | 'rejected' | 'invited';
23072
+ export type RichTextToolbarLevelEnum = 'minimal' | 'standard' | 'extended';
22927
23073
  export type RmqClientProperties = {
22928
23074
  /**
22929
23075
  * Client product name (e.g., 'pika', 'amqp-client')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "8.0.9-dev.16",
3
+ "version": "8.0.9-dev.17",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",