waldur-js-client 7.8.7 → 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.
@@ -6271,6 +6271,10 @@ export type OfferingUser = {
6271
6271
  * Check if the user needs to re-consent due to ToS changes.
6272
6272
  */
6273
6273
  readonly requires_reconsent?: boolean;
6274
+ /**
6275
+ * Check if the offering user has a connected compliance checklist completion.
6276
+ */
6277
+ readonly has_compliance_checklist?: boolean;
6274
6278
  };
6275
6279
  export type OfferingUserRequest = {
6276
6280
  user?: string;
@@ -9285,6 +9289,22 @@ export type PatchedQuestionAdminRequest = {
9285
9289
  * Defines how multiple dependencies are evaluated. AND: All dependencies must be satisfied. OR: At least one dependency must be satisfied.
9286
9290
  */
9287
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;
9288
9308
  };
9289
9309
  export type PatchedQuestionDependencyRequest = {
9290
9310
  question?: string;
@@ -10876,6 +10896,22 @@ export type QuestionAdmin = {
10876
10896
  * Defines how multiple dependencies are evaluated. AND: All dependencies must be satisfied. OR: At least one dependency must be satisfied.
10877
10897
  */
10878
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;
10879
10915
  };
10880
10916
  export type QuestionAdminRequest = {
10881
10917
  required?: boolean;
@@ -10923,6 +10959,22 @@ export type QuestionAdminRequest = {
10923
10959
  * Defines how multiple dependencies are evaluated. AND: All dependencies must be satisfied. OR: At least one dependency must be satisfied.
10924
10960
  */
10925
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;
10926
10978
  };
10927
10979
  export type QuestionAnswer = {
10928
10980
  readonly question_uuid: string;
@@ -10993,7 +11045,7 @@ export type QuestionOptionsAdminRequest = {
10993
11045
  order?: number;
10994
11046
  question: string;
10995
11047
  };
10996
- 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';
10997
11049
  export type QuestionWithAnswer = {
10998
11050
  readonly uuid: string;
10999
11051
  readonly description: string;
@@ -11016,6 +11068,22 @@ export type QuestionWithAnswer = {
11016
11068
  * Maximum value allowed for NUMBER type questions
11017
11069
  */
11018
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;
11019
11087
  };
11020
11088
  export type QuestionWithAnswerReviewer = {
11021
11089
  readonly uuid: string;
@@ -11039,6 +11107,22 @@ export type QuestionWithAnswerReviewer = {
11039
11107
  * Maximum value allowed for NUMBER type questions
11040
11108
  */
11041
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;
11042
11126
  operator?: ChecklistOperators | BlankEnum;
11043
11127
  /**
11044
11128
  * Answer value that trigger review.
@@ -26178,7 +26262,7 @@ export type MarketplaceOfferingUsersListData = {
26178
26262
  * Created after
26179
26263
  */
26180
26264
  created?: string;
26181
- field?: Array<'created' | 'customer_name' | 'customer_uuid' | 'has_consent' | 'is_restricted' | 'modified' | 'offering' | 'offering_name' | 'offering_uuid' | 'requires_reconsent' | 'service_provider_comment' | 'service_provider_comment_url' | 'state' | 'url' | 'user' | 'user_email' | 'user_full_name' | 'user_username' | 'user_uuid' | 'username' | 'uuid'>;
26265
+ field?: Array<'created' | 'customer_name' | 'customer_uuid' | 'has_compliance_checklist' | 'has_consent' | 'is_restricted' | 'modified' | 'offering' | 'offering_name' | 'offering_uuid' | 'requires_reconsent' | 'service_provider_comment' | 'service_provider_comment_url' | 'state' | 'url' | 'user' | 'user_email' | 'user_full_name' | 'user_username' | 'user_uuid' | 'username' | 'uuid'>;
26182
26266
  /**
26183
26267
  * User Has Consent
26184
26268
  */
@@ -26316,7 +26400,7 @@ export type MarketplaceOfferingUsersRetrieveData = {
26316
26400
  uuid: string;
26317
26401
  };
26318
26402
  query?: {
26319
- field?: Array<'created' | 'customer_name' | 'customer_uuid' | 'has_consent' | 'is_restricted' | 'modified' | 'offering' | 'offering_name' | 'offering_uuid' | 'requires_reconsent' | 'service_provider_comment' | 'service_provider_comment_url' | 'state' | 'url' | 'user' | 'user_email' | 'user_full_name' | 'user_username' | 'user_uuid' | 'username' | 'uuid'>;
26403
+ field?: Array<'created' | 'customer_name' | 'customer_uuid' | 'has_compliance_checklist' | 'has_consent' | 'is_restricted' | 'modified' | 'offering' | 'offering_name' | 'offering_uuid' | 'requires_reconsent' | 'service_provider_comment' | 'service_provider_comment_url' | 'state' | 'url' | 'user' | 'user_email' | 'user_full_name' | 'user_username' | 'user_uuid' | 'username' | 'uuid'>;
26320
26404
  };
26321
26405
  url: '/api/marketplace-offering-users/{uuid}/';
26322
26406
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "7.8.7",
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",