waldur-js-client 7.8.8-dev.0 → 7.8.8-dev.1

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.
@@ -9289,6 +9289,22 @@ export type PatchedQuestionAdminRequest = {
9289
9289
  * Defines how multiple dependencies are evaluated. AND: All dependencies must be satisfied. OR: At least one dependency must be satisfied.
9290
9290
  */
9291
9291
  dependency_logic_operator?: DependencyLogicOperatorEnum;
9292
+ /**
9293
+ * List of allowed file extensions (e.g., ['.pdf', '.doc', '.docx']). If empty, all file types are allowed.
9294
+ */
9295
+ allowed_file_types?: unknown;
9296
+ /**
9297
+ * List of allowed MIME types (e.g., ['application/pdf', 'application/msword']). If empty, MIME type validation is not enforced. When both extensions and MIME types are specified, files must match both criteria for security.
9298
+ */
9299
+ allowed_mime_types?: unknown;
9300
+ /**
9301
+ * Maximum file size in megabytes. If not set, no size limit is enforced.
9302
+ */
9303
+ max_file_size_mb?: number | null;
9304
+ /**
9305
+ * Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
9306
+ */
9307
+ max_files_count?: number | null;
9292
9308
  };
9293
9309
  export type PatchedQuestionDependencyRequest = {
9294
9310
  question?: string;
@@ -10880,6 +10896,22 @@ export type QuestionAdmin = {
10880
10896
  * Defines how multiple dependencies are evaluated. AND: All dependencies must be satisfied. OR: At least one dependency must be satisfied.
10881
10897
  */
10882
10898
  dependency_logic_operator?: DependencyLogicOperatorEnum;
10899
+ /**
10900
+ * List of allowed file extensions (e.g., ['.pdf', '.doc', '.docx']). If empty, all file types are allowed.
10901
+ */
10902
+ allowed_file_types?: unknown;
10903
+ /**
10904
+ * List of allowed MIME types (e.g., ['application/pdf', 'application/msword']). If empty, MIME type validation is not enforced. When both extensions and MIME types are specified, files must match both criteria for security.
10905
+ */
10906
+ allowed_mime_types?: unknown;
10907
+ /**
10908
+ * Maximum file size in megabytes. If not set, no size limit is enforced.
10909
+ */
10910
+ max_file_size_mb?: number | null;
10911
+ /**
10912
+ * Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
10913
+ */
10914
+ max_files_count?: number | null;
10883
10915
  };
10884
10916
  export type QuestionAdminRequest = {
10885
10917
  required?: boolean;
@@ -10927,6 +10959,22 @@ export type QuestionAdminRequest = {
10927
10959
  * Defines how multiple dependencies are evaluated. AND: All dependencies must be satisfied. OR: At least one dependency must be satisfied.
10928
10960
  */
10929
10961
  dependency_logic_operator?: DependencyLogicOperatorEnum;
10962
+ /**
10963
+ * List of allowed file extensions (e.g., ['.pdf', '.doc', '.docx']). If empty, all file types are allowed.
10964
+ */
10965
+ allowed_file_types?: unknown;
10966
+ /**
10967
+ * List of allowed MIME types (e.g., ['application/pdf', 'application/msword']). If empty, MIME type validation is not enforced. When both extensions and MIME types are specified, files must match both criteria for security.
10968
+ */
10969
+ allowed_mime_types?: unknown;
10970
+ /**
10971
+ * Maximum file size in megabytes. If not set, no size limit is enforced.
10972
+ */
10973
+ max_file_size_mb?: number | null;
10974
+ /**
10975
+ * Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
10976
+ */
10977
+ max_files_count?: number | null;
10930
10978
  };
10931
10979
  export type QuestionAnswer = {
10932
10980
  readonly question_uuid: string;
@@ -10997,7 +11045,7 @@ export type QuestionOptionsAdminRequest = {
10997
11045
  order?: number;
10998
11046
  question: string;
10999
11047
  };
11000
- export type QuestionTypeEnum = 'boolean' | 'single_select' | 'multi_select' | 'text_input' | 'text_area' | 'number' | 'date' | 'file';
11048
+ export type QuestionTypeEnum = 'boolean' | 'single_select' | 'multi_select' | 'text_input' | 'text_area' | 'number' | 'date' | 'file' | 'multiple_files';
11001
11049
  export type QuestionWithAnswer = {
11002
11050
  readonly uuid: string;
11003
11051
  readonly description: string;
@@ -11020,6 +11068,22 @@ export type QuestionWithAnswer = {
11020
11068
  * Maximum value allowed for NUMBER type questions
11021
11069
  */
11022
11070
  readonly max_value: string | null;
11071
+ /**
11072
+ * List of allowed file extensions (e.g., ['.pdf', '.doc', '.docx']). If empty, all file types are allowed.
11073
+ */
11074
+ readonly allowed_file_types: unknown;
11075
+ /**
11076
+ * List of allowed MIME types (e.g., ['application/pdf', 'application/msword']). If empty, MIME type validation is not enforced. When both extensions and MIME types are specified, files must match both criteria for security.
11077
+ */
11078
+ readonly allowed_mime_types: unknown;
11079
+ /**
11080
+ * Maximum file size in megabytes. If not set, no size limit is enforced.
11081
+ */
11082
+ readonly max_file_size_mb: number | null;
11083
+ /**
11084
+ * Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
11085
+ */
11086
+ readonly max_files_count: number | null;
11023
11087
  };
11024
11088
  export type QuestionWithAnswerReviewer = {
11025
11089
  readonly uuid: string;
@@ -11043,6 +11107,22 @@ export type QuestionWithAnswerReviewer = {
11043
11107
  * Maximum value allowed for NUMBER type questions
11044
11108
  */
11045
11109
  readonly max_value: string | null;
11110
+ /**
11111
+ * List of allowed file extensions (e.g., ['.pdf', '.doc', '.docx']). If empty, all file types are allowed.
11112
+ */
11113
+ readonly allowed_file_types: unknown;
11114
+ /**
11115
+ * List of allowed MIME types (e.g., ['application/pdf', 'application/msword']). If empty, MIME type validation is not enforced. When both extensions and MIME types are specified, files must match both criteria for security.
11116
+ */
11117
+ readonly allowed_mime_types: unknown;
11118
+ /**
11119
+ * Maximum file size in megabytes. If not set, no size limit is enforced.
11120
+ */
11121
+ readonly max_file_size_mb: number | null;
11122
+ /**
11123
+ * Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced.
11124
+ */
11125
+ readonly max_files_count: number | null;
11046
11126
  operator?: ChecklistOperators | BlankEnum;
11047
11127
  /**
11048
11128
  * Answer value that trigger review.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "7.8.8-dev.0",
3
+ "version": "7.8.8-dev.1",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",