@nutanix-scratch/security-js-client 4.0.1-beta.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.
- package/LICENSE.txt +202 -0
- package/README.md +217 -0
- package/dist/Ntnx-Security-js-client-prod.js +1 -0
- package/dist/Ntnx-Security-js-client.js +1246 -0
- package/dist/es/ApiClient.d.ts +166 -0
- package/dist/es/ApiClient.js +1271 -0
- package/dist/es/Paginable.d.ts +95 -0
- package/dist/es/Paginable.js +287 -0
- package/dist/es/apis/approvalpolicies-endpoints.d.ts +90 -0
- package/dist/es/apis/approvalpolicies-endpoints.js +295 -0
- package/dist/es/apis/stigs-endpoints.d.ts +108 -0
- package/dist/es/apis/stigs-endpoints.js +202 -0
- package/dist/es/index.d.ts +158 -0
- package/dist/es/index.js +628 -0
- package/dist/es/models/common/v1/config/Flag.d.ts +64 -0
- package/dist/es/models/common/v1/config/Flag.js +319 -0
- package/dist/es/models/common/v1/config/KVPair.d.ts +71 -0
- package/dist/es/models/common/v1/config/KVPair.js +378 -0
- package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +58 -0
- package/dist/es/models/common/v1/config/MapOfStringWrapper.js +275 -0
- package/dist/es/models/common/v1/config/Message.d.ts +87 -0
- package/dist/es/models/common/v1/config/Message.js +386 -0
- package/dist/es/models/common/v1/config/MessageSeverity.d.ts +19 -0
- package/dist/es/models/common/v1/config/MessageSeverity.js +91 -0
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +52 -0
- package/dist/es/models/common/v1/config/TenantAwareModel.js +275 -0
- package/dist/es/models/common/v1/response/ApiLink.d.ts +64 -0
- package/dist/es/models/common/v1/response/ApiLink.js +312 -0
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +133 -0
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +482 -0
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +48 -0
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +310 -0
- package/dist/es/models/iam/v4/authn/BucketsAccessKey.d.ts +166 -0
- package/dist/es/models/iam/v4/authn/BucketsAccessKey.js +667 -0
- package/dist/es/models/iam/v4/authn/BucketsAccessKeyStatusType.d.ts +19 -0
- package/dist/es/models/iam/v4/authn/BucketsAccessKeyStatusType.js +91 -0
- package/dist/es/models/iam/v4/authn/CreationType.d.ts +19 -0
- package/dist/es/models/iam/v4/authn/CreationType.js +91 -0
- package/dist/es/models/iam/v4/authn/User.d.ts +318 -0
- package/dist/es/models/iam/v4/authn/User.js +1140 -0
- package/dist/es/models/iam/v4/authn/UserStatusType.d.ts +19 -0
- package/dist/es/models/iam/v4/authn/UserStatusType.js +85 -0
- package/dist/es/models/iam/v4/authn/UserType.d.ts +19 -0
- package/dist/es/models/iam/v4/authn/UserType.js +103 -0
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +52 -0
- package/dist/es/models/prism/v4/config/TaskReference.js +287 -0
- package/dist/es/models/security/v4/common/Cluster.d.ts +64 -0
- package/dist/es/models/security/v4/common/Cluster.js +311 -0
- package/dist/es/models/security/v4/common/ClusterProjection.d.ts +10 -0
- package/dist/es/models/security/v4/common/ClusterProjection.js +150 -0
- package/dist/es/models/security/v4/common/Timescale.d.ts +19 -0
- package/dist/es/models/security/v4/common/Timescale.js +103 -0
- package/dist/es/models/security/v4/config/AddPublicKeyApiResponse.d.ts +102 -0
- package/dist/es/models/security/v4/config/AddPublicKeyApiResponse.js +343 -0
- package/dist/es/models/security/v4/config/ChangePasswordSpec.d.ts +74 -0
- package/dist/es/models/security/v4/config/ChangePasswordSpec.js +317 -0
- package/dist/es/models/security/v4/config/ChangeSystemUserPasswordApiResponse.d.ts +102 -0
- package/dist/es/models/security/v4/config/ChangeSystemUserPasswordApiResponse.js +343 -0
- package/dist/es/models/security/v4/config/DeletePublicKeyApiResponse.d.ts +99 -0
- package/dist/es/models/security/v4/config/DeletePublicKeyApiResponse.js +343 -0
- package/dist/es/models/security/v4/config/HardeningStatus.d.ts +154 -0
- package/dist/es/models/security/v4/config/HardeningStatus.js +641 -0
- package/dist/es/models/security/v4/config/HardeningStatusProjection.d.ts +53 -0
- package/dist/es/models/security/v4/config/HardeningStatusProjection.js +358 -0
- package/dist/es/models/security/v4/config/HardeningVisibilitySetting.d.ts +121 -0
- package/dist/es/models/security/v4/config/HardeningVisibilitySetting.js +539 -0
- package/dist/es/models/security/v4/config/PasswordStatus.d.ts +19 -0
- package/dist/es/models/security/v4/config/PasswordStatus.js +97 -0
- package/dist/es/models/security/v4/config/PasswordVerificationStatus.d.ts +19 -0
- package/dist/es/models/security/v4/config/PasswordVerificationStatus.js +91 -0
- package/dist/es/models/security/v4/config/PublicKey.d.ts +80 -0
- package/dist/es/models/security/v4/config/PublicKey.js +373 -0
- package/dist/es/models/security/v4/config/PublicKeyProjection.d.ts +51 -0
- package/dist/es/models/security/v4/config/PublicKeyProjection.js +309 -0
- package/dist/es/models/security/v4/config/Schedule.d.ts +19 -0
- package/dist/es/models/security/v4/config/Schedule.js +97 -0
- package/dist/es/models/security/v4/config/SystemType.d.ts +19 -0
- package/dist/es/models/security/v4/config/SystemType.js +97 -0
- package/dist/es/models/security/v4/config/SystemUserPassword.d.ts +110 -0
- package/dist/es/models/security/v4/config/SystemUserPassword.js +500 -0
- package/dist/es/models/security/v4/config/SystemUserPasswordProjection.d.ts +49 -0
- package/dist/es/models/security/v4/config/SystemUserPasswordProjection.js +330 -0
- package/dist/es/models/security/v4/config/UpdateHardeningStatusesApiResponse.d.ts +99 -0
- package/dist/es/models/security/v4/config/UpdateHardeningStatusesApiResponse.js +343 -0
- package/dist/es/models/security/v4/config/UpdateHardeningVisibilitySettingApiResponse.d.ts +99 -0
- package/dist/es/models/security/v4/config/UpdateHardeningVisibilitySettingApiResponse.js +365 -0
- package/dist/es/models/security/v4/config/VerifyPassword.d.ts +36 -0
- package/dist/es/models/security/v4/config/VerifyPassword.js +272 -0
- package/dist/es/models/security/v4/config/VerifyPasswordSpec.d.ts +62 -0
- package/dist/es/models/security/v4/config/VerifyPasswordSpec.js +279 -0
- package/dist/es/models/security/v4/config/VerifySystemUserPasswordApiResponse.d.ts +99 -0
- package/dist/es/models/security/v4/config/VerifySystemUserPasswordApiResponse.js +343 -0
- package/dist/es/models/security/v4/error/AppMessage.d.ts +117 -0
- package/dist/es/models/security/v4/error/AppMessage.js +464 -0
- package/dist/es/models/security/v4/error/ErrorResponse.d.ts +52 -0
- package/dist/es/models/security/v4/error/ErrorResponse.js +330 -0
- package/dist/es/models/security/v4/error/SchemaValidationError.d.ts +108 -0
- package/dist/es/models/security/v4/error/SchemaValidationError.js +440 -0
- package/dist/es/models/security/v4/error/SchemaValidationErrorMessage.d.ts +76 -0
- package/dist/es/models/security/v4/error/SchemaValidationErrorMessage.js +350 -0
- package/dist/es/models/security/v4/management/ApprovalPolicy.d.ts +204 -0
- package/dist/es/models/security/v4/management/ApprovalPolicy.js +543 -0
- package/dist/es/models/security/v4/management/ApproverGroup.d.ts +160 -0
- package/dist/es/models/security/v4/management/ApproverGroup.js +385 -0
- package/dist/es/models/security/v4/management/AssociatePoliciesApiResponse.d.ts +99 -0
- package/dist/es/models/security/v4/management/AssociatePoliciesApiResponse.js +343 -0
- package/dist/es/models/security/v4/management/CreateApprovalPolicyApiResponse.d.ts +99 -0
- package/dist/es/models/security/v4/management/CreateApprovalPolicyApiResponse.js +343 -0
- package/dist/es/models/security/v4/management/EventType.d.ts +19 -0
- package/dist/es/models/security/v4/management/EventType.js +85 -0
- package/dist/es/models/security/v4/management/GetApprovalPolicyApiResponse.d.ts +99 -0
- package/dist/es/models/security/v4/management/GetApprovalPolicyApiResponse.js +343 -0
- package/dist/es/models/security/v4/management/ListApprovalPoliciesApiResponse.d.ts +99 -0
- package/dist/es/models/security/v4/management/ListApprovalPoliciesApiResponse.js +365 -0
- package/dist/es/models/security/v4/management/PolicyType.d.ts +19 -0
- package/dist/es/models/security/v4/management/PolicyType.js +79 -0
- package/dist/es/models/security/v4/management/SecuredEntityType.d.ts +19 -0
- package/dist/es/models/security/v4/management/SecuredEntityType.js +85 -0
- package/dist/es/models/security/v4/management/SecuredPolicy.d.ts +77 -0
- package/dist/es/models/security/v4/management/SecuredPolicy.js +323 -0
- package/dist/es/models/security/v4/management/SecurityValidationSpec.d.ts +160 -0
- package/dist/es/models/security/v4/management/SecurityValidationSpec.js +582 -0
- package/dist/es/models/security/v4/management/TriggerApprovalPolicyValidationApiResponse.d.ts +99 -0
- package/dist/es/models/security/v4/management/TriggerApprovalPolicyValidationApiResponse.js +343 -0
- package/dist/es/models/security/v4/management/TriggerScanApiResponse.d.ts +99 -0
- package/dist/es/models/security/v4/management/TriggerScanApiResponse.js +343 -0
- package/dist/es/models/security/v4/management/UpdateApprovalPolicyApiResponse.d.ts +99 -0
- package/dist/es/models/security/v4/management/UpdateApprovalPolicyApiResponse.js +343 -0
- package/dist/es/models/security/v4/report/IssueSummary.d.ts +71 -0
- package/dist/es/models/security/v4/report/IssueSummary.js +326 -0
- package/dist/es/models/security/v4/report/ListStigSummariesApiResponse.d.ts +100 -0
- package/dist/es/models/security/v4/report/ListStigSummariesApiResponse.js +370 -0
- package/dist/es/models/security/v4/report/ListStigsApiResponse.d.ts +100 -0
- package/dist/es/models/security/v4/report/ListStigsApiResponse.js +370 -0
- package/dist/es/models/security/v4/report/Severity.d.ts +19 -0
- package/dist/es/models/security/v4/report/Severity.js +97 -0
- package/dist/es/models/security/v4/report/SoftwareType.d.ts +19 -0
- package/dist/es/models/security/v4/report/SoftwareType.js +91 -0
- package/dist/es/models/security/v4/report/Stig.d.ts +143 -0
- package/dist/es/models/security/v4/report/Stig.js +623 -0
- package/dist/es/models/security/v4/report/StigProjection.d.ts +10 -0
- package/dist/es/models/security/v4/report/StigProjection.js +154 -0
- package/dist/es/models/security/v4/report/StigStatus.d.ts +19 -0
- package/dist/es/models/security/v4/report/StigStatus.js +91 -0
- package/dist/es/models/security/v4/report/StigSummary.d.ts +73 -0
- package/dist/es/models/security/v4/report/StigSummary.js +382 -0
- package/dist/es/models/security/v4/report/StigSummaryProjection.d.ts +46 -0
- package/dist/es/models/security/v4/report/StigSummaryProjection.js +298 -0
- package/dist/es/models/security/v4/report/Summary.d.ts +149 -0
- package/dist/es/models/security/v4/report/Summary.js +490 -0
- package/dist/es/models/security/v4/report/SummaryProjection.d.ts +97 -0
- package/dist/es/models/security/v4/report/SummaryProjection.js +329 -0
- package/dist/es/models/security/v4/report/TrendValue.d.ts +64 -0
- package/dist/es/models/security/v4/report/TrendValue.js +313 -0
- package/dist/es/models/security/v4/report/Vulnerability.d.ts +116 -0
- package/dist/es/models/security/v4/report/Vulnerability.js +543 -0
- package/dist/es/models/security/v4/report/VulnerabilityProjection.d.ts +10 -0
- package/dist/es/models/security/v4/report/VulnerabilityProjection.js +153 -0
- package/dist/es/models/security/v4/report/VulnerabilitySummary.d.ts +72 -0
- package/dist/es/models/security/v4/report/VulnerabilitySummary.js +393 -0
- package/dist/es/models/security/v4/report/VulnerabilitySummaryProjection.d.ts +10 -0
- package/dist/es/models/security/v4/report/VulnerabilitySummaryProjection.js +153 -0
- package/dist/es/models/validation/ValidationError.d.ts +13 -0
- package/dist/es/models/validation/ValidationError.js +60 -0
- package/dist/es/models/validation/ValidationScopes.d.ts +9 -0
- package/dist/es/models/validation/ValidationScopes.js +38 -0
- package/dist/es/utils/ValidationUtils.d.ts +13 -0
- package/dist/es/utils/ValidationUtils.js +85 -0
- package/dist/lib/ApiClient.d.ts +166 -0
- package/dist/lib/ApiClient.js +1271 -0
- package/dist/lib/Paginable.d.ts +95 -0
- package/dist/lib/Paginable.js +287 -0
- package/dist/lib/apis/approvalpolicies-endpoints.d.ts +90 -0
- package/dist/lib/apis/approvalpolicies-endpoints.js +295 -0
- package/dist/lib/apis/stigs-endpoints.d.ts +108 -0
- package/dist/lib/apis/stigs-endpoints.js +202 -0
- package/dist/lib/index.d.ts +158 -0
- package/dist/lib/index.js +628 -0
- package/dist/lib/models/common/v1/config/Flag.d.ts +64 -0
- package/dist/lib/models/common/v1/config/Flag.js +319 -0
- package/dist/lib/models/common/v1/config/KVPair.d.ts +71 -0
- package/dist/lib/models/common/v1/config/KVPair.js +378 -0
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +58 -0
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +275 -0
- package/dist/lib/models/common/v1/config/Message.d.ts +87 -0
- package/dist/lib/models/common/v1/config/Message.js +386 -0
- package/dist/lib/models/common/v1/config/MessageSeverity.d.ts +19 -0
- package/dist/lib/models/common/v1/config/MessageSeverity.js +91 -0
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +52 -0
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +275 -0
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +64 -0
- package/dist/lib/models/common/v1/response/ApiLink.js +312 -0
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +133 -0
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +482 -0
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +48 -0
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +310 -0
- package/dist/lib/models/iam/v4/authn/BucketsAccessKey.d.ts +166 -0
- package/dist/lib/models/iam/v4/authn/BucketsAccessKey.js +667 -0
- package/dist/lib/models/iam/v4/authn/BucketsAccessKeyStatusType.d.ts +19 -0
- package/dist/lib/models/iam/v4/authn/BucketsAccessKeyStatusType.js +91 -0
- package/dist/lib/models/iam/v4/authn/CreationType.d.ts +19 -0
- package/dist/lib/models/iam/v4/authn/CreationType.js +91 -0
- package/dist/lib/models/iam/v4/authn/User.d.ts +318 -0
- package/dist/lib/models/iam/v4/authn/User.js +1140 -0
- package/dist/lib/models/iam/v4/authn/UserStatusType.d.ts +19 -0
- package/dist/lib/models/iam/v4/authn/UserStatusType.js +85 -0
- package/dist/lib/models/iam/v4/authn/UserType.d.ts +19 -0
- package/dist/lib/models/iam/v4/authn/UserType.js +103 -0
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +52 -0
- package/dist/lib/models/prism/v4/config/TaskReference.js +287 -0
- package/dist/lib/models/security/v4/common/Cluster.d.ts +64 -0
- package/dist/lib/models/security/v4/common/Cluster.js +311 -0
- package/dist/lib/models/security/v4/common/ClusterProjection.d.ts +10 -0
- package/dist/lib/models/security/v4/common/ClusterProjection.js +150 -0
- package/dist/lib/models/security/v4/common/Timescale.d.ts +19 -0
- package/dist/lib/models/security/v4/common/Timescale.js +103 -0
- package/dist/lib/models/security/v4/config/AddPublicKeyApiResponse.d.ts +102 -0
- package/dist/lib/models/security/v4/config/AddPublicKeyApiResponse.js +343 -0
- package/dist/lib/models/security/v4/config/ChangePasswordSpec.d.ts +74 -0
- package/dist/lib/models/security/v4/config/ChangePasswordSpec.js +317 -0
- package/dist/lib/models/security/v4/config/ChangeSystemUserPasswordApiResponse.d.ts +102 -0
- package/dist/lib/models/security/v4/config/ChangeSystemUserPasswordApiResponse.js +343 -0
- package/dist/lib/models/security/v4/config/DeletePublicKeyApiResponse.d.ts +99 -0
- package/dist/lib/models/security/v4/config/DeletePublicKeyApiResponse.js +343 -0
- package/dist/lib/models/security/v4/config/HardeningStatus.d.ts +154 -0
- package/dist/lib/models/security/v4/config/HardeningStatus.js +641 -0
- package/dist/lib/models/security/v4/config/HardeningStatusProjection.d.ts +53 -0
- package/dist/lib/models/security/v4/config/HardeningStatusProjection.js +358 -0
- package/dist/lib/models/security/v4/config/HardeningVisibilitySetting.d.ts +121 -0
- package/dist/lib/models/security/v4/config/HardeningVisibilitySetting.js +539 -0
- package/dist/lib/models/security/v4/config/PasswordStatus.d.ts +19 -0
- package/dist/lib/models/security/v4/config/PasswordStatus.js +97 -0
- package/dist/lib/models/security/v4/config/PasswordVerificationStatus.d.ts +19 -0
- package/dist/lib/models/security/v4/config/PasswordVerificationStatus.js +91 -0
- package/dist/lib/models/security/v4/config/PublicKey.d.ts +80 -0
- package/dist/lib/models/security/v4/config/PublicKey.js +373 -0
- package/dist/lib/models/security/v4/config/PublicKeyProjection.d.ts +51 -0
- package/dist/lib/models/security/v4/config/PublicKeyProjection.js +309 -0
- package/dist/lib/models/security/v4/config/Schedule.d.ts +19 -0
- package/dist/lib/models/security/v4/config/Schedule.js +97 -0
- package/dist/lib/models/security/v4/config/SystemType.d.ts +19 -0
- package/dist/lib/models/security/v4/config/SystemType.js +97 -0
- package/dist/lib/models/security/v4/config/SystemUserPassword.d.ts +110 -0
- package/dist/lib/models/security/v4/config/SystemUserPassword.js +500 -0
- package/dist/lib/models/security/v4/config/SystemUserPasswordProjection.d.ts +49 -0
- package/dist/lib/models/security/v4/config/SystemUserPasswordProjection.js +330 -0
- package/dist/lib/models/security/v4/config/UpdateHardeningStatusesApiResponse.d.ts +99 -0
- package/dist/lib/models/security/v4/config/UpdateHardeningStatusesApiResponse.js +343 -0
- package/dist/lib/models/security/v4/config/UpdateHardeningVisibilitySettingApiResponse.d.ts +99 -0
- package/dist/lib/models/security/v4/config/UpdateHardeningVisibilitySettingApiResponse.js +365 -0
- package/dist/lib/models/security/v4/config/VerifyPassword.d.ts +36 -0
- package/dist/lib/models/security/v4/config/VerifyPassword.js +272 -0
- package/dist/lib/models/security/v4/config/VerifyPasswordSpec.d.ts +62 -0
- package/dist/lib/models/security/v4/config/VerifyPasswordSpec.js +279 -0
- package/dist/lib/models/security/v4/config/VerifySystemUserPasswordApiResponse.d.ts +99 -0
- package/dist/lib/models/security/v4/config/VerifySystemUserPasswordApiResponse.js +343 -0
- package/dist/lib/models/security/v4/error/AppMessage.d.ts +117 -0
- package/dist/lib/models/security/v4/error/AppMessage.js +464 -0
- package/dist/lib/models/security/v4/error/ErrorResponse.d.ts +52 -0
- package/dist/lib/models/security/v4/error/ErrorResponse.js +330 -0
- package/dist/lib/models/security/v4/error/SchemaValidationError.d.ts +108 -0
- package/dist/lib/models/security/v4/error/SchemaValidationError.js +440 -0
- package/dist/lib/models/security/v4/error/SchemaValidationErrorMessage.d.ts +76 -0
- package/dist/lib/models/security/v4/error/SchemaValidationErrorMessage.js +350 -0
- package/dist/lib/models/security/v4/management/ApprovalPolicy.d.ts +204 -0
- package/dist/lib/models/security/v4/management/ApprovalPolicy.js +543 -0
- package/dist/lib/models/security/v4/management/ApproverGroup.d.ts +160 -0
- package/dist/lib/models/security/v4/management/ApproverGroup.js +385 -0
- package/dist/lib/models/security/v4/management/AssociatePoliciesApiResponse.d.ts +99 -0
- package/dist/lib/models/security/v4/management/AssociatePoliciesApiResponse.js +343 -0
- package/dist/lib/models/security/v4/management/CreateApprovalPolicyApiResponse.d.ts +99 -0
- package/dist/lib/models/security/v4/management/CreateApprovalPolicyApiResponse.js +343 -0
- package/dist/lib/models/security/v4/management/EventType.d.ts +19 -0
- package/dist/lib/models/security/v4/management/EventType.js +85 -0
- package/dist/lib/models/security/v4/management/GetApprovalPolicyApiResponse.d.ts +99 -0
- package/dist/lib/models/security/v4/management/GetApprovalPolicyApiResponse.js +343 -0
- package/dist/lib/models/security/v4/management/ListApprovalPoliciesApiResponse.d.ts +99 -0
- package/dist/lib/models/security/v4/management/ListApprovalPoliciesApiResponse.js +365 -0
- package/dist/lib/models/security/v4/management/PolicyType.d.ts +19 -0
- package/dist/lib/models/security/v4/management/PolicyType.js +79 -0
- package/dist/lib/models/security/v4/management/SecuredEntityType.d.ts +19 -0
- package/dist/lib/models/security/v4/management/SecuredEntityType.js +85 -0
- package/dist/lib/models/security/v4/management/SecuredPolicy.d.ts +77 -0
- package/dist/lib/models/security/v4/management/SecuredPolicy.js +323 -0
- package/dist/lib/models/security/v4/management/SecurityValidationSpec.d.ts +160 -0
- package/dist/lib/models/security/v4/management/SecurityValidationSpec.js +582 -0
- package/dist/lib/models/security/v4/management/TriggerApprovalPolicyValidationApiResponse.d.ts +99 -0
- package/dist/lib/models/security/v4/management/TriggerApprovalPolicyValidationApiResponse.js +343 -0
- package/dist/lib/models/security/v4/management/TriggerScanApiResponse.d.ts +99 -0
- package/dist/lib/models/security/v4/management/TriggerScanApiResponse.js +343 -0
- package/dist/lib/models/security/v4/management/UpdateApprovalPolicyApiResponse.d.ts +99 -0
- package/dist/lib/models/security/v4/management/UpdateApprovalPolicyApiResponse.js +343 -0
- package/dist/lib/models/security/v4/report/IssueSummary.d.ts +71 -0
- package/dist/lib/models/security/v4/report/IssueSummary.js +326 -0
- package/dist/lib/models/security/v4/report/ListStigSummariesApiResponse.d.ts +100 -0
- package/dist/lib/models/security/v4/report/ListStigSummariesApiResponse.js +370 -0
- package/dist/lib/models/security/v4/report/ListStigsApiResponse.d.ts +100 -0
- package/dist/lib/models/security/v4/report/ListStigsApiResponse.js +370 -0
- package/dist/lib/models/security/v4/report/Severity.d.ts +19 -0
- package/dist/lib/models/security/v4/report/Severity.js +97 -0
- package/dist/lib/models/security/v4/report/SoftwareType.d.ts +19 -0
- package/dist/lib/models/security/v4/report/SoftwareType.js +91 -0
- package/dist/lib/models/security/v4/report/Stig.d.ts +143 -0
- package/dist/lib/models/security/v4/report/Stig.js +623 -0
- package/dist/lib/models/security/v4/report/StigProjection.d.ts +10 -0
- package/dist/lib/models/security/v4/report/StigProjection.js +154 -0
- package/dist/lib/models/security/v4/report/StigStatus.d.ts +19 -0
- package/dist/lib/models/security/v4/report/StigStatus.js +91 -0
- package/dist/lib/models/security/v4/report/StigSummary.d.ts +73 -0
- package/dist/lib/models/security/v4/report/StigSummary.js +382 -0
- package/dist/lib/models/security/v4/report/StigSummaryProjection.d.ts +46 -0
- package/dist/lib/models/security/v4/report/StigSummaryProjection.js +298 -0
- package/dist/lib/models/security/v4/report/Summary.d.ts +149 -0
- package/dist/lib/models/security/v4/report/Summary.js +490 -0
- package/dist/lib/models/security/v4/report/SummaryProjection.d.ts +97 -0
- package/dist/lib/models/security/v4/report/SummaryProjection.js +329 -0
- package/dist/lib/models/security/v4/report/TrendValue.d.ts +64 -0
- package/dist/lib/models/security/v4/report/TrendValue.js +313 -0
- package/dist/lib/models/security/v4/report/Vulnerability.d.ts +116 -0
- package/dist/lib/models/security/v4/report/Vulnerability.js +543 -0
- package/dist/lib/models/security/v4/report/VulnerabilityProjection.d.ts +10 -0
- package/dist/lib/models/security/v4/report/VulnerabilityProjection.js +153 -0
- package/dist/lib/models/security/v4/report/VulnerabilitySummary.d.ts +72 -0
- package/dist/lib/models/security/v4/report/VulnerabilitySummary.js +393 -0
- package/dist/lib/models/security/v4/report/VulnerabilitySummaryProjection.d.ts +10 -0
- package/dist/lib/models/security/v4/report/VulnerabilitySummaryProjection.js +153 -0
- package/dist/lib/models/validation/ValidationError.d.ts +13 -0
- package/dist/lib/models/validation/ValidationError.js +60 -0
- package/dist/lib/models/validation/ValidationScopes.d.ts +9 -0
- package/dist/lib/models/validation/ValidationScopes.js +38 -0
- package/dist/lib/utils/ValidationUtils.d.ts +13 -0
- package/dist/lib/utils/ValidationUtils.js +85 -0
- package/package.json +53 -0
|
@@ -0,0 +1,582 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _EventType = _interopRequireDefault(require("./EventType"));
|
|
8
|
+
var _SecuredEntityType = _interopRequireDefault(require("./SecuredEntityType"));
|
|
9
|
+
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
10
|
+
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
11
|
+
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
13
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
14
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
15
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
16
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
17
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
18
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
19
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
20
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
21
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
22
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
23
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
24
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
25
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
26
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
27
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
28
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
|
29
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
|
|
30
|
+
* Nutanix Security APIs
|
|
31
|
+
*
|
|
32
|
+
* OpenAPI spec version: 4.0.1-beta-1
|
|
33
|
+
*
|
|
34
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
35
|
+
*
|
|
36
|
+
* Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
|
|
37
|
+
*
|
|
38
|
+
* Do not edit the class manually.
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
/**
|
|
42
|
+
* The SecurityValidationSpec model module.
|
|
43
|
+
* @module Ntnx/SecurityValidationSpec
|
|
44
|
+
* @version 4.0.1-beta-1
|
|
45
|
+
* @class SecurityValidationSpec
|
|
46
|
+
*
|
|
47
|
+
* @param { SecuredEntityType } securedEntityType
|
|
48
|
+
*
|
|
49
|
+
* @param { string } securedEntityName Name of the secured entity.
|
|
50
|
+
*
|
|
51
|
+
* @param { string } securedEntityExtId UUID of the secured entity.
|
|
52
|
+
*
|
|
53
|
+
* @param { EventType } eventType
|
|
54
|
+
*
|
|
55
|
+
* @param { string } requesterExtId IAM UUID of the requester.
|
|
56
|
+
*/
|
|
57
|
+
var _SecurityValidationSpec_brand = /*#__PURE__*/new WeakSet();
|
|
58
|
+
var SecurityValidationSpec = exports["default"] = /*#__PURE__*/function () {
|
|
59
|
+
/**
|
|
60
|
+
* Constructs a new <code>SecurityValidationSpec</code>.
|
|
61
|
+
* Specifications required to trigger a security validation job.
|
|
62
|
+
* @alias module:Ntnx/SecurityValidationSpec
|
|
63
|
+
*
|
|
64
|
+
* @param { SecuredEntityType } securedEntityType
|
|
65
|
+
*
|
|
66
|
+
* @param { string } securedEntityName Name of the secured entity.
|
|
67
|
+
*
|
|
68
|
+
* @param { string } securedEntityExtId UUID of the secured entity.
|
|
69
|
+
*
|
|
70
|
+
* @param { EventType } eventType
|
|
71
|
+
*
|
|
72
|
+
* @param { string } requesterExtId IAM UUID of the requester.
|
|
73
|
+
*/
|
|
74
|
+
function SecurityValidationSpec(securedEntityType, securedEntityName, securedEntityExtId, eventType, requesterExtId) {
|
|
75
|
+
_classCallCheck(this, SecurityValidationSpec);
|
|
76
|
+
/*
|
|
77
|
+
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
78
|
+
* @param {Object} obj
|
|
79
|
+
* @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
|
|
80
|
+
* Otherwise, just returns the input object.
|
|
81
|
+
*/
|
|
82
|
+
_classPrivateMethodInitSpec(this, _SecurityValidationSpec_brand);
|
|
83
|
+
this.securedEntityType = securedEntityType;
|
|
84
|
+
this.securedEntityName = securedEntityName;
|
|
85
|
+
this.securedEntityExtId = securedEntityExtId;
|
|
86
|
+
this.eventType = eventType;
|
|
87
|
+
this.requesterExtId = requesterExtId;
|
|
88
|
+
this.$objectType = "security.v4.management.SecurityValidationSpec";
|
|
89
|
+
/** @type {object<string, any>} */
|
|
90
|
+
this.$reserved = {
|
|
91
|
+
'$fv': "v4.r0.b1"
|
|
92
|
+
};
|
|
93
|
+
/** @type {object<string, any>} */
|
|
94
|
+
this.$unknownFields = {};
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Constructs a <code>SecurityValidationSpec</code> from a plain JavaScript object, optionally creating a new instance.
|
|
99
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
100
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
101
|
+
* @param {module:Ntnx/SecurityValidationSpec} obj Optional instance to populate.
|
|
102
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
103
|
+
* @return {module:Ntnx/SecurityValidationSpec} The populated <code>SecurityValidationSpec</code> instance.
|
|
104
|
+
*/
|
|
105
|
+
return _createClass(SecurityValidationSpec, [{
|
|
106
|
+
key: "getSecuredEntityType",
|
|
107
|
+
value:
|
|
108
|
+
/**
|
|
109
|
+
* @return {SecuredEntityType}
|
|
110
|
+
*/
|
|
111
|
+
function getSecuredEntityType() {
|
|
112
|
+
return this.securedEntityType;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @param {SecuredEntityType} securedEntityType
|
|
117
|
+
*/
|
|
118
|
+
}, {
|
|
119
|
+
key: "setSecuredEntityType",
|
|
120
|
+
value: function setSecuredEntityType(securedEntityType) {
|
|
121
|
+
this.securedEntityType = securedEntityType;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Returns Name of the secured entity.
|
|
126
|
+
* @return {string}
|
|
127
|
+
*/
|
|
128
|
+
}, {
|
|
129
|
+
key: "getSecuredEntityName",
|
|
130
|
+
value: function getSecuredEntityName() {
|
|
131
|
+
return this.securedEntityName;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Sets Name of the secured entity.
|
|
136
|
+
* @param {string} securedEntityName Name of the secured entity.
|
|
137
|
+
*/
|
|
138
|
+
}, {
|
|
139
|
+
key: "setSecuredEntityName",
|
|
140
|
+
value: function setSecuredEntityName(securedEntityName) {
|
|
141
|
+
this.securedEntityName = securedEntityName;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Returns UUID of the secured entity.
|
|
146
|
+
* @return {string}
|
|
147
|
+
*/
|
|
148
|
+
}, {
|
|
149
|
+
key: "getSecuredEntityExtId",
|
|
150
|
+
value: function getSecuredEntityExtId() {
|
|
151
|
+
return this.securedEntityExtId;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Sets UUID of the secured entity.
|
|
156
|
+
* @param {string} securedEntityExtId UUID of the secured entity.
|
|
157
|
+
*/
|
|
158
|
+
}, {
|
|
159
|
+
key: "setSecuredEntityExtId",
|
|
160
|
+
value: function setSecuredEntityExtId(securedEntityExtId) {
|
|
161
|
+
this.securedEntityExtId = securedEntityExtId;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* @return {EventType}
|
|
166
|
+
*/
|
|
167
|
+
}, {
|
|
168
|
+
key: "getEventType",
|
|
169
|
+
value: function getEventType() {
|
|
170
|
+
return this.eventType;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* @param {EventType} eventType
|
|
175
|
+
*/
|
|
176
|
+
}, {
|
|
177
|
+
key: "setEventType",
|
|
178
|
+
value: function setEventType(eventType) {
|
|
179
|
+
this.eventType = eventType;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Returns UUID of secured policy
|
|
184
|
+
* @return {string}
|
|
185
|
+
*/
|
|
186
|
+
}, {
|
|
187
|
+
key: "getSecuredPolicyExtId",
|
|
188
|
+
value: function getSecuredPolicyExtId() {
|
|
189
|
+
return this.securedPolicyExtId;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Sets UUID of secured policy
|
|
194
|
+
* @param {string} securedPolicyExtId UUID of secured policy
|
|
195
|
+
*/
|
|
196
|
+
}, {
|
|
197
|
+
key: "setSecuredPolicyExtId",
|
|
198
|
+
value: function setSecuredPolicyExtId(securedPolicyExtId) {
|
|
199
|
+
this.securedPolicyExtId = securedPolicyExtId;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Returns Location of the secured entity.
|
|
204
|
+
* @return {string}
|
|
205
|
+
*/
|
|
206
|
+
}, {
|
|
207
|
+
key: "getSecuredEntityLocation",
|
|
208
|
+
value: function getSecuredEntityLocation() {
|
|
209
|
+
return this.securedEntityLocation;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Sets Location of the secured entity.
|
|
214
|
+
* @param {string} securedEntityLocation Location of the secured entity.
|
|
215
|
+
*/
|
|
216
|
+
}, {
|
|
217
|
+
key: "setSecuredEntityLocation",
|
|
218
|
+
value: function setSecuredEntityLocation(securedEntityLocation) {
|
|
219
|
+
this.securedEntityLocation = securedEntityLocation;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Returns IAM UUID of the requester.
|
|
224
|
+
* @return {string}
|
|
225
|
+
*/
|
|
226
|
+
}, {
|
|
227
|
+
key: "getRequesterExtId",
|
|
228
|
+
value: function getRequesterExtId() {
|
|
229
|
+
return this.requesterExtId;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Sets IAM UUID of the requester.
|
|
234
|
+
* @param {string} requesterExtId IAM UUID of the requester.
|
|
235
|
+
*/
|
|
236
|
+
}, {
|
|
237
|
+
key: "setRequesterExtId",
|
|
238
|
+
value: function setRequesterExtId(requesterExtId) {
|
|
239
|
+
this.requesterExtId = requesterExtId;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Returns Qualified entity type. For example dataprotection:config:recovery-point
|
|
244
|
+
* @return {string}
|
|
245
|
+
*/
|
|
246
|
+
}, {
|
|
247
|
+
key: "getFullyQualifiedSecuredEntityName",
|
|
248
|
+
value: function getFullyQualifiedSecuredEntityName() {
|
|
249
|
+
return this.fullyQualifiedSecuredEntityName;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Sets Qualified entity type. For example dataprotection:config:recovery-point
|
|
254
|
+
* @param {string} fullyQualifiedSecuredEntityName Qualified entity type. For example dataprotection:config:recovery-point
|
|
255
|
+
*/
|
|
256
|
+
}, {
|
|
257
|
+
key: "setFullyQualifiedSecuredEntityName",
|
|
258
|
+
value: function setFullyQualifiedSecuredEntityName(fullyQualifiedSecuredEntityName) {
|
|
259
|
+
this.fullyQualifiedSecuredEntityName = fullyQualifiedSecuredEntityName;
|
|
260
|
+
}
|
|
261
|
+
}, {
|
|
262
|
+
key: "get$Reserved",
|
|
263
|
+
value: function get$Reserved() {
|
|
264
|
+
return this.$reserved;
|
|
265
|
+
}
|
|
266
|
+
}, {
|
|
267
|
+
key: "get$ObjectType",
|
|
268
|
+
value: function get$ObjectType() {
|
|
269
|
+
return this.$objectType;
|
|
270
|
+
}
|
|
271
|
+
}, {
|
|
272
|
+
key: "get$UnknownFields",
|
|
273
|
+
value: function get$UnknownFields() {
|
|
274
|
+
return this.$unknownFields;
|
|
275
|
+
}
|
|
276
|
+
}, {
|
|
277
|
+
key: "toJson",
|
|
278
|
+
value: function toJson(forMutation) {
|
|
279
|
+
if (forMutation === false) {
|
|
280
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getSecuredEntityType() !== 'undefined' && this.getSecuredEntityType() !== null ? {
|
|
281
|
+
'securedEntityType': this.getSecuredEntityType()
|
|
282
|
+
} : {}), typeof this.getSecuredEntityName() !== 'undefined' && this.getSecuredEntityName() !== null ? {
|
|
283
|
+
'securedEntityName': this.getSecuredEntityName()
|
|
284
|
+
} : {}), typeof this.getSecuredEntityExtId() !== 'undefined' && this.getSecuredEntityExtId() !== null ? {
|
|
285
|
+
'securedEntityExtId': this.getSecuredEntityExtId()
|
|
286
|
+
} : {}), typeof this.getEventType() !== 'undefined' && this.getEventType() !== null ? {
|
|
287
|
+
'eventType': this.getEventType()
|
|
288
|
+
} : {}), typeof this.getSecuredPolicyExtId() !== 'undefined' && this.getSecuredPolicyExtId() !== null ? {
|
|
289
|
+
'securedPolicyExtId': this.getSecuredPolicyExtId()
|
|
290
|
+
} : {}), typeof this.getSecuredEntityLocation() !== 'undefined' && this.getSecuredEntityLocation() !== null ? {
|
|
291
|
+
'securedEntityLocation': this.getSecuredEntityLocation()
|
|
292
|
+
} : {}), typeof this.getRequesterExtId() !== 'undefined' && this.getRequesterExtId() !== null ? {
|
|
293
|
+
'requesterExtId': this.getRequesterExtId()
|
|
294
|
+
} : {}), typeof this.getFullyQualifiedSecuredEntityName() !== 'undefined' && this.getFullyQualifiedSecuredEntityName() !== null ? {
|
|
295
|
+
'fullyQualifiedSecuredEntityName': this.getFullyQualifiedSecuredEntityName()
|
|
296
|
+
} : {}), {}, {
|
|
297
|
+
'$reserved': this.get$Reserved(),
|
|
298
|
+
'$objectType': this.get$ObjectType(),
|
|
299
|
+
'$unknownFields': this.get$UnknownFields()
|
|
300
|
+
});
|
|
301
|
+
}
|
|
302
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getSecuredEntityType() !== 'undefined' && this.getSecuredEntityType() !== null ? {
|
|
303
|
+
'securedEntityType': this.getSecuredEntityType()
|
|
304
|
+
} : {}), typeof this.getSecuredEntityName() !== 'undefined' && this.getSecuredEntityName() !== null ? {
|
|
305
|
+
'securedEntityName': this.getSecuredEntityName()
|
|
306
|
+
} : {}), typeof this.getSecuredEntityExtId() !== 'undefined' && this.getSecuredEntityExtId() !== null ? {
|
|
307
|
+
'securedEntityExtId': this.getSecuredEntityExtId()
|
|
308
|
+
} : {}), typeof this.getEventType() !== 'undefined' && this.getEventType() !== null ? {
|
|
309
|
+
'eventType': this.getEventType()
|
|
310
|
+
} : {}), typeof this.getSecuredPolicyExtId() !== 'undefined' && this.getSecuredPolicyExtId() !== null ? {
|
|
311
|
+
'securedPolicyExtId': this.getSecuredPolicyExtId()
|
|
312
|
+
} : {}), typeof this.getSecuredEntityLocation() !== 'undefined' && this.getSecuredEntityLocation() !== null ? {
|
|
313
|
+
'securedEntityLocation': this.getSecuredEntityLocation()
|
|
314
|
+
} : {}), typeof this.getRequesterExtId() !== 'undefined' && this.getRequesterExtId() !== null ? {
|
|
315
|
+
'requesterExtId': this.getRequesterExtId()
|
|
316
|
+
} : {}), typeof this.getFullyQualifiedSecuredEntityName() !== 'undefined' && this.getFullyQualifiedSecuredEntityName() !== null ? {
|
|
317
|
+
'fullyQualifiedSecuredEntityName': this.getFullyQualifiedSecuredEntityName()
|
|
318
|
+
} : {}), {}, {
|
|
319
|
+
'$reserved': this.get$Reserved(),
|
|
320
|
+
'$objectType': this.get$ObjectType(),
|
|
321
|
+
'$unknownFields': this.get$UnknownFields()
|
|
322
|
+
});
|
|
323
|
+
}
|
|
324
|
+
}, {
|
|
325
|
+
key: "validate",
|
|
326
|
+
value: function validate(scope, properties) {
|
|
327
|
+
var _this = this;
|
|
328
|
+
var propList = [];
|
|
329
|
+
if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes["default"]) {
|
|
330
|
+
//cases validate() and validate(scope)
|
|
331
|
+
propList = ["securedEntityType", "securedEntityName", "securedEntityExtId", "eventType", "requesterExtId"];
|
|
332
|
+
} else if (arguments.length === 1) {
|
|
333
|
+
//case validate(properties)
|
|
334
|
+
propList = arguments[0];
|
|
335
|
+
scope = null;
|
|
336
|
+
} else {
|
|
337
|
+
//case validate(scope, properties)
|
|
338
|
+
propList = arguments[1];
|
|
339
|
+
}
|
|
340
|
+
var res = [];
|
|
341
|
+
var err = null;
|
|
342
|
+
propList.forEach(function (property) {
|
|
343
|
+
err = _this.validateProperty(property, scope);
|
|
344
|
+
if (err) {
|
|
345
|
+
res.push(err);
|
|
346
|
+
}
|
|
347
|
+
});
|
|
348
|
+
return new Promise(function (resolve, reject) {
|
|
349
|
+
if (res.length !== 0) {
|
|
350
|
+
reject(err);
|
|
351
|
+
} else {
|
|
352
|
+
resolve();
|
|
353
|
+
}
|
|
354
|
+
});
|
|
355
|
+
}
|
|
356
|
+
}, {
|
|
357
|
+
key: "validateProperty",
|
|
358
|
+
value: function validateProperty(scope, property) {
|
|
359
|
+
if (property === "securedEntityType") {
|
|
360
|
+
if (typeof this.securedEntityType === 'undefined' || this.securedEntityType === null) {
|
|
361
|
+
return new _ValidationError["default"]("securedEntityType", "undefined or null");
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
if (property === "securedEntityName") {
|
|
365
|
+
if (typeof this.securedEntityName === 'undefined' || this.securedEntityName === null) {
|
|
366
|
+
return new _ValidationError["default"]("securedEntityName", "undefined or null");
|
|
367
|
+
}
|
|
368
|
+
if (!_ValidationUtils["default"].validateMaxLength(this.securedEntityName, 199)) {
|
|
369
|
+
return new _ValidationError["default"]("securedEntityName", "does not satisfy required maxLength constraint: 199");
|
|
370
|
+
}
|
|
371
|
+
if (!_ValidationUtils["default"].validateMinLength(this.securedEntityName, 4)) {
|
|
372
|
+
return new _ValidationError["default"]("securedEntityName", "does not satisfy required minLength constraint: 4");
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
if (property === "securedEntityExtId") {
|
|
376
|
+
if (typeof this.securedEntityExtId === 'undefined' || this.securedEntityExtId === null) {
|
|
377
|
+
return new _ValidationError["default"]("securedEntityExtId", "undefined or null");
|
|
378
|
+
}
|
|
379
|
+
if (!_ValidationUtils["default"].validatePattern(this.securedEntityExtId, /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)) {
|
|
380
|
+
return new _ValidationError["default"]("securedEntityExtId", "does not satisfy required pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/");
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
if (property === "eventType") {
|
|
384
|
+
if (typeof this.eventType === 'undefined' || this.eventType === null) {
|
|
385
|
+
return new _ValidationError["default"]("eventType", "undefined or null");
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
if (property === "securedPolicyExtId") {
|
|
389
|
+
if (typeof this.securedPolicyExtId === 'undefined' || this.securedPolicyExtId === null) {
|
|
390
|
+
return new _ValidationError["default"]("securedPolicyExtId", "undefined or null");
|
|
391
|
+
}
|
|
392
|
+
if (!_ValidationUtils["default"].validatePattern(this.securedPolicyExtId, /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)) {
|
|
393
|
+
return new _ValidationError["default"]("securedPolicyExtId", "does not satisfy required pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/");
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
if (property === "securedEntityLocation") {
|
|
397
|
+
if (typeof this.securedEntityLocation === 'undefined' || this.securedEntityLocation === null) {
|
|
398
|
+
return new _ValidationError["default"]("securedEntityLocation", "undefined or null");
|
|
399
|
+
}
|
|
400
|
+
if (!_ValidationUtils["default"].validatePattern(this.securedEntityLocation, /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)) {
|
|
401
|
+
return new _ValidationError["default"]("securedEntityLocation", "does not satisfy required pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/");
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
if (property === "requesterExtId") {
|
|
405
|
+
if (typeof this.requesterExtId === 'undefined' || this.requesterExtId === null) {
|
|
406
|
+
return new _ValidationError["default"]("requesterExtId", "undefined or null");
|
|
407
|
+
}
|
|
408
|
+
if (!_ValidationUtils["default"].validatePattern(this.requesterExtId, /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)) {
|
|
409
|
+
return new _ValidationError["default"]("requesterExtId", "does not satisfy required pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/");
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
if (property === "fullyQualifiedSecuredEntityName") {
|
|
413
|
+
if (typeof this.fullyQualifiedSecuredEntityName === 'undefined' || this.fullyQualifiedSecuredEntityName === null) {
|
|
414
|
+
return new _ValidationError["default"]("fullyQualifiedSecuredEntityName", "undefined or null");
|
|
415
|
+
}
|
|
416
|
+
if (!_ValidationUtils["default"].validateMaxLength(this.fullyQualifiedSecuredEntityName, 199)) {
|
|
417
|
+
return new _ValidationError["default"]("fullyQualifiedSecuredEntityName", "does not satisfy required maxLength constraint: 199");
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
if (property === "$reserved") {
|
|
421
|
+
if (typeof this.$reserved === 'undefined' || this.$reserved === null) {
|
|
422
|
+
return new _ValidationError["default"]("$reserved", "undefined or null");
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
if (property === "$objectType") {
|
|
426
|
+
if (typeof this.$objectType === 'undefined' || this.$objectType === null) {
|
|
427
|
+
return new _ValidationError["default"]("$objectType", "undefined or null");
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
if (property === "$unknownFields") {
|
|
431
|
+
if (typeof this.$unknownFields === 'undefined' || this.$unknownFields === null) {
|
|
432
|
+
return new _ValidationError["default"]("$unknownFields", "undefined or null");
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
return new _ValidationError["default"](property, "no such property exists");
|
|
436
|
+
}
|
|
437
|
+
}], [{
|
|
438
|
+
key: "constructFromObject",
|
|
439
|
+
value: function constructFromObject(data) {
|
|
440
|
+
var obj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
441
|
+
var callFromChild = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
442
|
+
var items, item, i, itemArr, discriminator;
|
|
443
|
+
if (data) {
|
|
444
|
+
obj = obj || new SecurityValidationSpec();
|
|
445
|
+
if (data.hasOwnProperty('securedEntityType') && data.securedEntityType !== null && data.securedEntityType !== undefined) {
|
|
446
|
+
obj.setSecuredEntityType(_SecuredEntityType["default"].constructFromObject(data['securedEntityType']));
|
|
447
|
+
}
|
|
448
|
+
if (data.hasOwnProperty('securedEntityName') && data.securedEntityName !== null && data.securedEntityName !== undefined) {
|
|
449
|
+
obj.setSecuredEntityName(data['securedEntityName']);
|
|
450
|
+
}
|
|
451
|
+
if (data.hasOwnProperty('securedEntityExtId') && data.securedEntityExtId !== null && data.securedEntityExtId !== undefined) {
|
|
452
|
+
obj.setSecuredEntityExtId(data['securedEntityExtId']);
|
|
453
|
+
}
|
|
454
|
+
if (data.hasOwnProperty('eventType') && data.eventType !== null && data.eventType !== undefined) {
|
|
455
|
+
obj.setEventType(_EventType["default"].constructFromObject(data['eventType']));
|
|
456
|
+
}
|
|
457
|
+
if (data.hasOwnProperty('securedPolicyExtId') && data.securedPolicyExtId !== null && data.securedPolicyExtId !== undefined) {
|
|
458
|
+
obj.setSecuredPolicyExtId(data['securedPolicyExtId']);
|
|
459
|
+
}
|
|
460
|
+
if (data.hasOwnProperty('securedEntityLocation') && data.securedEntityLocation !== null && data.securedEntityLocation !== undefined) {
|
|
461
|
+
obj.setSecuredEntityLocation(data['securedEntityLocation']);
|
|
462
|
+
}
|
|
463
|
+
if (data.hasOwnProperty('requesterExtId') && data.requesterExtId !== null && data.requesterExtId !== undefined) {
|
|
464
|
+
obj.setRequesterExtId(data['requesterExtId']);
|
|
465
|
+
}
|
|
466
|
+
if (data.hasOwnProperty('fullyQualifiedSecuredEntityName') && data.fullyQualifiedSecuredEntityName !== null && data.fullyQualifiedSecuredEntityName !== undefined) {
|
|
467
|
+
obj.setFullyQualifiedSecuredEntityName(data['fullyQualifiedSecuredEntityName']);
|
|
468
|
+
}
|
|
469
|
+
if (data.hasOwnProperty('$reserved')) {
|
|
470
|
+
obj.$reserved = data['$reserved'];
|
|
471
|
+
}
|
|
472
|
+
if (data.hasOwnProperty('$objectType')) {
|
|
473
|
+
obj.$objectType = data['$objectType'];
|
|
474
|
+
}
|
|
475
|
+
if (data.hasOwnProperty('$unknownFields')) {
|
|
476
|
+
obj.$unknownFields = data['$unknownFields'];
|
|
477
|
+
}
|
|
478
|
+
if (!callFromChild) {
|
|
479
|
+
obj.$unknownFields = _objectSpread({}, data.$unknownFields);
|
|
480
|
+
for (var property in data) {
|
|
481
|
+
// Check if the `property` is not already present in `obj` keys, either in snake_case or camelCase,
|
|
482
|
+
// as the model's fields are generated in camelCase, but the server might return snake_case (e.g., due to standards like OIDC).
|
|
483
|
+
// Also, ensure the `property` does not start with '$' and end with 'ItemDiscriminator'.
|
|
484
|
+
// If all conditions are true, add the `property` from `data` to `obj.$unknownFields` as an unknown field.
|
|
485
|
+
if (!Object.keys(obj).includes(property) && !Object.keys(obj).includes(this.snakeToCamel(property)) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
|
|
486
|
+
obj.$unknownFields[property] = data[property];
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
return obj;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* Converts a given snake_case string to camelCase.
|
|
496
|
+
* @param {string} snakeStr - The input string in snake_case format.
|
|
497
|
+
* @returns {string} - The converted string in camelCase format.
|
|
498
|
+
*/
|
|
499
|
+
}, {
|
|
500
|
+
key: "snakeToCamel",
|
|
501
|
+
value: function snakeToCamel(snakeStr) {
|
|
502
|
+
return snakeStr.replace(/(_\w)/g, function (match) {
|
|
503
|
+
return match[1].toUpperCase();
|
|
504
|
+
});
|
|
505
|
+
}
|
|
506
|
+
}]);
|
|
507
|
+
}();
|
|
508
|
+
/**
|
|
509
|
+
* @memberof SecurityValidationSpec
|
|
510
|
+
*/
|
|
511
|
+
function _toJsonMapType(obj, forMutation) {
|
|
512
|
+
if (obj instanceof Map) {
|
|
513
|
+
return Object.fromEntries(Array.from(obj, function (_ref) {
|
|
514
|
+
var _ref2 = _slicedToArray(_ref, 2),
|
|
515
|
+
k = _ref2[0],
|
|
516
|
+
v = _ref2[1];
|
|
517
|
+
return [k, typeof v.toJson !== "undefined" ? v.toJson(forMutation) : v];
|
|
518
|
+
}));
|
|
519
|
+
} else if (_typeof(obj) === 'object' && obj != null && obj.constructor === Object) {
|
|
520
|
+
return Object.fromEntries(Array.from(Object.entries(obj), function (entry) {
|
|
521
|
+
return [entry[0], typeof entry[1].toJson !== "undefined" ? entry[1].toJson(forMutation) : entry[1]];
|
|
522
|
+
}));
|
|
523
|
+
}
|
|
524
|
+
return obj;
|
|
525
|
+
}
|
|
526
|
+
/*
|
|
527
|
+
* toJson method for a date type which serializes a Date object to proper Date or DateTime formatting
|
|
528
|
+
* @param {Object} obj Object to serialize
|
|
529
|
+
* @param {boolean} isDateOnly Boolean variable to identify Date or DateTime format for serialization
|
|
530
|
+
* @returns {Object|string} Returns serialized date object or original input object
|
|
531
|
+
*/
|
|
532
|
+
function _handleDateType(obj, isDateOnly) {
|
|
533
|
+
if (obj instanceof Date && isDateOnly !== undefined) {
|
|
534
|
+
return isDateOnly ? obj.toISOString().slice(0, 10) : obj.toISOString();
|
|
535
|
+
}
|
|
536
|
+
return obj;
|
|
537
|
+
}
|
|
538
|
+
SecurityValidationSpec.prototype.securedEntityType = undefined;
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* Name of the secured entity.
|
|
542
|
+
* @memberof SecurityValidationSpec
|
|
543
|
+
*/
|
|
544
|
+
SecurityValidationSpec.prototype.securedEntityName = undefined;
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* UUID of the secured entity.
|
|
548
|
+
* @memberof SecurityValidationSpec
|
|
549
|
+
*/
|
|
550
|
+
SecurityValidationSpec.prototype.securedEntityExtId = undefined;
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* @memberof SecurityValidationSpec
|
|
554
|
+
*/
|
|
555
|
+
SecurityValidationSpec.prototype.eventType = undefined;
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* UUID of secured policy
|
|
559
|
+
* @memberof SecurityValidationSpec
|
|
560
|
+
*/
|
|
561
|
+
SecurityValidationSpec.prototype.securedPolicyExtId = undefined;
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* Location of the secured entity.
|
|
565
|
+
* @memberof SecurityValidationSpec
|
|
566
|
+
*/
|
|
567
|
+
SecurityValidationSpec.prototype.securedEntityLocation = undefined;
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* IAM UUID of the requester.
|
|
571
|
+
* @memberof SecurityValidationSpec
|
|
572
|
+
*/
|
|
573
|
+
SecurityValidationSpec.prototype.requesterExtId = undefined;
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* Qualified entity type. For example dataprotection:config:recovery-point
|
|
577
|
+
* @memberof SecurityValidationSpec
|
|
578
|
+
*/
|
|
579
|
+
SecurityValidationSpec.prototype.fullyQualifiedSecuredEntityName = undefined;
|
|
580
|
+
SecurityValidationSpec.prototype.$reserved = undefined;
|
|
581
|
+
SecurityValidationSpec.prototype.$objectType = undefined;
|
|
582
|
+
SecurityValidationSpec.prototype.$unknownFields = undefined;
|
package/dist/lib/models/security/v4/management/TriggerApprovalPolicyValidationApiResponse.d.ts
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The TriggerApprovalPolicyValidationApiResponse model module.
|
|
3
|
+
* @module Ntnx/TriggerApprovalPolicyValidationApiResponse
|
|
4
|
+
* @version 4.0.1-beta-1
|
|
5
|
+
* @class TriggerApprovalPolicyValidationApiResponse
|
|
6
|
+
*/
|
|
7
|
+
export default class TriggerApprovalPolicyValidationApiResponse extends Paginable {
|
|
8
|
+
/**
|
|
9
|
+
* Constructs a <code>TriggerApprovalPolicyValidationApiResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
|
10
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
11
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
12
|
+
* @param {module:Ntnx/TriggerApprovalPolicyValidationApiResponse} obj Optional instance to populate.
|
|
13
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
14
|
+
* @return {module:Ntnx/TriggerApprovalPolicyValidationApiResponse} The populated <code>TriggerApprovalPolicyValidationApiResponse</code> instance.
|
|
15
|
+
*/
|
|
16
|
+
static constructFromObject(data: any, obj?: any, callFromChild?: boolean): any;
|
|
17
|
+
/**
|
|
18
|
+
* Converts a given snake_case string to camelCase.
|
|
19
|
+
* @param {string} snakeStr - The input string in snake_case format.
|
|
20
|
+
* @returns {string} - The converted string in camelCase format.
|
|
21
|
+
*/
|
|
22
|
+
static snakeToCamel(snakeStr: string): string;
|
|
23
|
+
$objectType: string;
|
|
24
|
+
/** @type {object<string, any>} */
|
|
25
|
+
$reserved: object;
|
|
26
|
+
/** @type {object<string, any>} */
|
|
27
|
+
$unknownFields: object;
|
|
28
|
+
/**
|
|
29
|
+
* @return {ApiResponseMetadata}
|
|
30
|
+
*/
|
|
31
|
+
getMetadata(): ApiResponseMetadata;
|
|
32
|
+
/**
|
|
33
|
+
* @param {ApiResponseMetadata} metadata
|
|
34
|
+
*/
|
|
35
|
+
setMetadata(metadata: ApiResponseMetadata): void;
|
|
36
|
+
metadata: ApiResponseMetadata;
|
|
37
|
+
/**
|
|
38
|
+
* @return {TaskReference | ErrorResponse}
|
|
39
|
+
*/
|
|
40
|
+
getData(): TaskReference | ErrorResponse;
|
|
41
|
+
/**
|
|
42
|
+
* @param {TaskReference | ErrorResponse} data
|
|
43
|
+
*/
|
|
44
|
+
setData(data: TaskReference | ErrorResponse): void;
|
|
45
|
+
data: TaskReference | ErrorResponse;
|
|
46
|
+
get$Reserved(): any;
|
|
47
|
+
get$ObjectType(): string;
|
|
48
|
+
get$UnknownFields(): any;
|
|
49
|
+
toJson(forMutation: any): {
|
|
50
|
+
$reserved: any;
|
|
51
|
+
$objectType: string;
|
|
52
|
+
$unknownFields: any;
|
|
53
|
+
data?: any;
|
|
54
|
+
metadata?: {
|
|
55
|
+
$reserved: any;
|
|
56
|
+
$objectType: string;
|
|
57
|
+
$unknownFields: any;
|
|
58
|
+
extraInfo?: {
|
|
59
|
+
$reserved: any;
|
|
60
|
+
$objectType: string;
|
|
61
|
+
$unknownFields: any;
|
|
62
|
+
value?: any;
|
|
63
|
+
name?: string;
|
|
64
|
+
}[];
|
|
65
|
+
messages?: {
|
|
66
|
+
$reserved: any;
|
|
67
|
+
$objectType: string;
|
|
68
|
+
$unknownFields: any;
|
|
69
|
+
severity?: string;
|
|
70
|
+
locale?: string;
|
|
71
|
+
message?: string;
|
|
72
|
+
code?: string;
|
|
73
|
+
}[];
|
|
74
|
+
totalAvailableResults?: number;
|
|
75
|
+
links?: {
|
|
76
|
+
$reserved: any;
|
|
77
|
+
$objectType: string;
|
|
78
|
+
$unknownFields: any;
|
|
79
|
+
rel?: string;
|
|
80
|
+
href?: string;
|
|
81
|
+
}[];
|
|
82
|
+
flags?: {
|
|
83
|
+
$reserved: any;
|
|
84
|
+
$objectType: string;
|
|
85
|
+
$unknownFields: any;
|
|
86
|
+
value?: boolean;
|
|
87
|
+
name?: string;
|
|
88
|
+
}[];
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
validate(scope: any, properties: any, ...args: any[]): Promise<any>;
|
|
92
|
+
validateProperty(scope: any, property: any): ValidationError;
|
|
93
|
+
#private;
|
|
94
|
+
}
|
|
95
|
+
import Paginable from "../../../../Paginable";
|
|
96
|
+
import ApiResponseMetadata from "../../../common/v1/response/ApiResponseMetadata";
|
|
97
|
+
import TaskReference from "../../../prism/v4/config/TaskReference";
|
|
98
|
+
import ErrorResponse from "../error/ErrorResponse";
|
|
99
|
+
import ValidationError from "../../../validation/ValidationError";
|