@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,1140 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _KVPair = _interopRequireDefault(require("../../../common/v1/config/KVPair"));
|
|
8
|
+
var _TenantAwareModel = _interopRequireDefault(require("../../../common/v1/config/TenantAwareModel"));
|
|
9
|
+
var _ApiLink = _interopRequireDefault(require("../../../common/v1/response/ApiLink"));
|
|
10
|
+
var _ExternalizableAbstractModel = _interopRequireDefault(require("../../../common/v1/response/ExternalizableAbstractModel"));
|
|
11
|
+
var _BucketsAccessKey = _interopRequireDefault(require("./BucketsAccessKey"));
|
|
12
|
+
var _CreationType = _interopRequireDefault(require("./CreationType"));
|
|
13
|
+
var _UserStatusType = _interopRequireDefault(require("./UserStatusType"));
|
|
14
|
+
var _UserType = _interopRequireDefault(require("./UserType"));
|
|
15
|
+
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
16
|
+
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
17
|
+
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
18
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
19
|
+
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); }
|
|
20
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
21
|
+
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."); }
|
|
22
|
+
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; } }
|
|
23
|
+
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; }
|
|
24
|
+
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; } }
|
|
25
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
26
|
+
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; }
|
|
27
|
+
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; }
|
|
28
|
+
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; }
|
|
29
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
30
|
+
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); } }
|
|
31
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
32
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
33
|
+
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); }
|
|
34
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
35
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
36
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
37
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
38
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
39
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
40
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
41
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
|
42
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
43
|
+
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
44
|
+
* Nutanix Security APIs
|
|
45
|
+
*
|
|
46
|
+
* OpenAPI spec version: 4.0.1-beta-1
|
|
47
|
+
*
|
|
48
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
49
|
+
*
|
|
50
|
+
* Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
|
|
51
|
+
*
|
|
52
|
+
* Do not edit the class manually.
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
/**
|
|
56
|
+
* The User model module.
|
|
57
|
+
* @module Ntnx/User
|
|
58
|
+
* @version 4.0.1-beta-1
|
|
59
|
+
* @class User
|
|
60
|
+
* @extends ExternalizableAbstractModel
|
|
61
|
+
*/
|
|
62
|
+
var _User_brand = /*#__PURE__*/new WeakSet();
|
|
63
|
+
var User = exports["default"] = /*#__PURE__*/function (_ExternalizableAbstra) {
|
|
64
|
+
/**
|
|
65
|
+
* Constructs a new <code>User</code>.
|
|
66
|
+
* Information of the user.
|
|
67
|
+
* @alias module:Ntnx/User
|
|
68
|
+
* @extends module:Ntnx/ExternalizableAbstractModel
|
|
69
|
+
*/
|
|
70
|
+
function User() {
|
|
71
|
+
var _this;
|
|
72
|
+
_classCallCheck(this, User);
|
|
73
|
+
_this = _callSuper(this, User);
|
|
74
|
+
/*
|
|
75
|
+
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
76
|
+
* @param {Object} obj
|
|
77
|
+
* @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
|
|
78
|
+
* Otherwise, just returns the input object.
|
|
79
|
+
*/
|
|
80
|
+
_classPrivateMethodInitSpec(_this, _User_brand);
|
|
81
|
+
_this.$objectType = "iam.v4.authn.User";
|
|
82
|
+
/** @type {object<string, any>} */
|
|
83
|
+
_this.$reserved = {
|
|
84
|
+
'$fv': "v4.r0"
|
|
85
|
+
};
|
|
86
|
+
/** @type {object<string, any>} */
|
|
87
|
+
_this.$unknownFields = {};
|
|
88
|
+
return _this;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Constructs a <code>User</code> from a plain JavaScript object, optionally creating a new instance.
|
|
93
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
94
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
95
|
+
* @param {module:Ntnx/User} obj Optional instance to populate.
|
|
96
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
97
|
+
* @return {module:Ntnx/User} The populated <code>User</code> instance.
|
|
98
|
+
*/
|
|
99
|
+
_inherits(User, _ExternalizableAbstra);
|
|
100
|
+
return _createClass(User, [{
|
|
101
|
+
key: "getUsername",
|
|
102
|
+
value:
|
|
103
|
+
/**
|
|
104
|
+
* Returns Identifier of the user.
|
|
105
|
+
* @return {string}
|
|
106
|
+
*/
|
|
107
|
+
function getUsername() {
|
|
108
|
+
return this.username;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Sets Identifier of the user.
|
|
113
|
+
* @param {string} username Identifier of the user.
|
|
114
|
+
*/
|
|
115
|
+
}, {
|
|
116
|
+
key: "setUsername",
|
|
117
|
+
value: function setUsername(username) {
|
|
118
|
+
this.username = username;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* @return {UserType}
|
|
123
|
+
*/
|
|
124
|
+
}, {
|
|
125
|
+
key: "getUserType",
|
|
126
|
+
value: function getUserType() {
|
|
127
|
+
return this.userType;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* @param {UserType} userType
|
|
132
|
+
*/
|
|
133
|
+
}, {
|
|
134
|
+
key: "setUserType",
|
|
135
|
+
value: function setUserType(userType) {
|
|
136
|
+
this.userType = userType;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Returns Identifier of the IDP for the user.
|
|
141
|
+
* @return {string}
|
|
142
|
+
*/
|
|
143
|
+
}, {
|
|
144
|
+
key: "getIdpId",
|
|
145
|
+
value: function getIdpId() {
|
|
146
|
+
return this.idpId;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Sets Identifier of the IDP for the user.
|
|
151
|
+
* @param {string} idpId Identifier of the IDP for the user.
|
|
152
|
+
*/
|
|
153
|
+
}, {
|
|
154
|
+
key: "setIdpId",
|
|
155
|
+
value: function setIdpId(idpId) {
|
|
156
|
+
this.idpId = idpId;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Returns Display name of the user. For LDAP and SAML users, this is set from AD config.
|
|
161
|
+
* @return {string}
|
|
162
|
+
*/
|
|
163
|
+
}, {
|
|
164
|
+
key: "getDisplayName",
|
|
165
|
+
value: function getDisplayName() {
|
|
166
|
+
return this.displayName;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Sets Display name of the user. For LDAP and SAML users, this is set from AD config.
|
|
171
|
+
* @param {string} displayName Display name of the user. For LDAP and SAML users, this is set from AD config.
|
|
172
|
+
*/
|
|
173
|
+
}, {
|
|
174
|
+
key: "setDisplayName",
|
|
175
|
+
value: function setDisplayName(displayName) {
|
|
176
|
+
this.displayName = displayName;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Returns First name of the user.
|
|
181
|
+
* @return {string}
|
|
182
|
+
*/
|
|
183
|
+
}, {
|
|
184
|
+
key: "getFirstName",
|
|
185
|
+
value: function getFirstName() {
|
|
186
|
+
return this.firstName;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Sets First name of the user.
|
|
191
|
+
* @param {string} firstName First name of the user.
|
|
192
|
+
*/
|
|
193
|
+
}, {
|
|
194
|
+
key: "setFirstName",
|
|
195
|
+
value: function setFirstName(firstName) {
|
|
196
|
+
this.firstName = firstName;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Returns Middle name of the user.
|
|
201
|
+
* @return {string}
|
|
202
|
+
*/
|
|
203
|
+
}, {
|
|
204
|
+
key: "getMiddleInitial",
|
|
205
|
+
value: function getMiddleInitial() {
|
|
206
|
+
return this.middleInitial;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Sets Middle name of the user.
|
|
211
|
+
* @param {string} middleInitial Middle name of the user.
|
|
212
|
+
*/
|
|
213
|
+
}, {
|
|
214
|
+
key: "setMiddleInitial",
|
|
215
|
+
value: function setMiddleInitial(middleInitial) {
|
|
216
|
+
this.middleInitial = middleInitial;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Returns Last name of the user.
|
|
221
|
+
* @return {string}
|
|
222
|
+
*/
|
|
223
|
+
}, {
|
|
224
|
+
key: "getLastName",
|
|
225
|
+
value: function getLastName() {
|
|
226
|
+
return this.lastName;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Sets Last name of the user.
|
|
231
|
+
* @param {string} lastName Last name of the user.
|
|
232
|
+
*/
|
|
233
|
+
}, {
|
|
234
|
+
key: "setLastName",
|
|
235
|
+
value: function setLastName(lastName) {
|
|
236
|
+
this.lastName = lastName;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Returns Email ID of the user.
|
|
241
|
+
* @return {string}
|
|
242
|
+
*/
|
|
243
|
+
}, {
|
|
244
|
+
key: "getEmailId",
|
|
245
|
+
value: function getEmailId() {
|
|
246
|
+
return this.emailId;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Sets Email ID of the user.
|
|
251
|
+
* @param {string} emailId Email ID of the user.
|
|
252
|
+
*/
|
|
253
|
+
}, {
|
|
254
|
+
key: "setEmailId",
|
|
255
|
+
value: function setEmailId(emailId) {
|
|
256
|
+
this.emailId = emailId;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Returns Default locale of the user.
|
|
261
|
+
* @return {string}
|
|
262
|
+
*/
|
|
263
|
+
}, {
|
|
264
|
+
key: "getLocale",
|
|
265
|
+
value: function getLocale() {
|
|
266
|
+
return this.locale;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Sets Default locale of the user.
|
|
271
|
+
* @param {string} locale Default locale of the user.
|
|
272
|
+
*/
|
|
273
|
+
}, {
|
|
274
|
+
key: "setLocale",
|
|
275
|
+
value: function setLocale(locale) {
|
|
276
|
+
this.locale = locale;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Returns Default region of the user.
|
|
281
|
+
* @return {string}
|
|
282
|
+
*/
|
|
283
|
+
}, {
|
|
284
|
+
key: "getRegion",
|
|
285
|
+
value: function getRegion() {
|
|
286
|
+
return this.region;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Sets Default region of the user.
|
|
291
|
+
* @param {string} region Default region of the user.
|
|
292
|
+
*/
|
|
293
|
+
}, {
|
|
294
|
+
key: "setRegion",
|
|
295
|
+
value: function setRegion(region) {
|
|
296
|
+
this.region = region;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* Returns Password of the user.
|
|
301
|
+
* @return {string}
|
|
302
|
+
*/
|
|
303
|
+
}, {
|
|
304
|
+
key: "getPassword",
|
|
305
|
+
value: function getPassword() {
|
|
306
|
+
return this.password;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Sets Password of the user.
|
|
311
|
+
* @param {string} password Password of the user.
|
|
312
|
+
*/
|
|
313
|
+
}, {
|
|
314
|
+
key: "setPassword",
|
|
315
|
+
value: function setPassword(password) {
|
|
316
|
+
this.password = password;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Returns Flag to force the user to reset password.
|
|
321
|
+
* @return {boolean}
|
|
322
|
+
*/
|
|
323
|
+
}, {
|
|
324
|
+
key: "getIsForceResetPasswordEnabled",
|
|
325
|
+
value: function getIsForceResetPasswordEnabled() {
|
|
326
|
+
return this.isForceResetPasswordEnabled;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Sets Flag to force the user to reset password.
|
|
331
|
+
* @param {boolean} isForceResetPasswordEnabled Flag to force the user to reset password.
|
|
332
|
+
*/
|
|
333
|
+
}, {
|
|
334
|
+
key: "setIsForceResetPasswordEnabled",
|
|
335
|
+
value: function setIsForceResetPasswordEnabled(isForceResetPasswordEnabled) {
|
|
336
|
+
this.isForceResetPasswordEnabled = isForceResetPasswordEnabled;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* Returns Indicates additional attributes of the user.
|
|
341
|
+
* @return {KVPair[]}
|
|
342
|
+
*/
|
|
343
|
+
}, {
|
|
344
|
+
key: "getAdditionalAttributes",
|
|
345
|
+
value: function getAdditionalAttributes() {
|
|
346
|
+
return this.additionalAttributes;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Sets Indicates additional attributes of the user.
|
|
351
|
+
* @param {KVPair[]} additionalAttributes Indicates additional attributes of the user.
|
|
352
|
+
*/
|
|
353
|
+
}, {
|
|
354
|
+
key: "setAdditionalAttributes",
|
|
355
|
+
value: function setAdditionalAttributes(additionalAttributes) {
|
|
356
|
+
this.additionalAttributes = additionalAttributes;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* @return {UserStatusType}
|
|
361
|
+
*/
|
|
362
|
+
}, {
|
|
363
|
+
key: "getStatus",
|
|
364
|
+
value: function getStatus() {
|
|
365
|
+
return this.status;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* @param {UserStatusType} status
|
|
370
|
+
*/
|
|
371
|
+
}, {
|
|
372
|
+
key: "setStatus",
|
|
373
|
+
value: function setStatus(status) {
|
|
374
|
+
this.status = status;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* Returns Bucket access keys for the user.
|
|
379
|
+
* @return {BucketsAccessKey[]}
|
|
380
|
+
*/
|
|
381
|
+
}, {
|
|
382
|
+
key: "getBucketsAccessKeys",
|
|
383
|
+
value: function getBucketsAccessKeys() {
|
|
384
|
+
return this.bucketsAccessKeys;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* Sets Bucket access keys for the user.
|
|
389
|
+
* @param {BucketsAccessKey[]} bucketsAccessKeys Bucket access keys for the user.
|
|
390
|
+
*/
|
|
391
|
+
}, {
|
|
392
|
+
key: "setBucketsAccessKeys",
|
|
393
|
+
value: function setBucketsAccessKeys(bucketsAccessKeys) {
|
|
394
|
+
this.bucketsAccessKeys = bucketsAccessKeys;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* Returns The last successful login time for the user.
|
|
399
|
+
* @return {Date}
|
|
400
|
+
*/
|
|
401
|
+
}, {
|
|
402
|
+
key: "getLastLoginTime",
|
|
403
|
+
value: function getLastLoginTime() {
|
|
404
|
+
return this.lastLoginTime;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* Sets The last successful login time for the user.
|
|
409
|
+
* @param {Date} lastLoginTime The last successful login time for the user.
|
|
410
|
+
*/
|
|
411
|
+
}, {
|
|
412
|
+
key: "setLastLoginTime",
|
|
413
|
+
value: function setLastLoginTime(lastLoginTime) {
|
|
414
|
+
this.lastLoginTime = lastLoginTime;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Returns Creation time of the user.
|
|
419
|
+
* @return {Date}
|
|
420
|
+
*/
|
|
421
|
+
}, {
|
|
422
|
+
key: "getCreatedTime",
|
|
423
|
+
value: function getCreatedTime() {
|
|
424
|
+
return this.createdTime;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* Sets Creation time of the user.
|
|
429
|
+
* @param {Date} createdTime Creation time of the user.
|
|
430
|
+
*/
|
|
431
|
+
}, {
|
|
432
|
+
key: "setCreatedTime",
|
|
433
|
+
value: function setCreatedTime(createdTime) {
|
|
434
|
+
this.createdTime = createdTime;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* Returns The last updated time for the user.
|
|
439
|
+
* @return {Date}
|
|
440
|
+
*/
|
|
441
|
+
}, {
|
|
442
|
+
key: "getLastUpdatedTime",
|
|
443
|
+
value: function getLastUpdatedTime() {
|
|
444
|
+
return this.lastUpdatedTime;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* Sets The last updated time for the user.
|
|
449
|
+
* @param {Date} lastUpdatedTime The last updated time for the user.
|
|
450
|
+
*/
|
|
451
|
+
}, {
|
|
452
|
+
key: "setLastUpdatedTime",
|
|
453
|
+
value: function setLastUpdatedTime(lastUpdatedTime) {
|
|
454
|
+
this.lastUpdatedTime = lastUpdatedTime;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* Returns User or Service who created the user.
|
|
459
|
+
* @return {string}
|
|
460
|
+
*/
|
|
461
|
+
}, {
|
|
462
|
+
key: "getCreatedBy",
|
|
463
|
+
value: function getCreatedBy() {
|
|
464
|
+
return this.createdBy;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* Sets User or Service who created the user.
|
|
469
|
+
* @param {string} createdBy User or Service who created the user.
|
|
470
|
+
*/
|
|
471
|
+
}, {
|
|
472
|
+
key: "setCreatedBy",
|
|
473
|
+
value: function setCreatedBy(createdBy) {
|
|
474
|
+
this.createdBy = createdBy;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* Returns Last updated by this user ID.
|
|
479
|
+
* @return {string}
|
|
480
|
+
*/
|
|
481
|
+
}, {
|
|
482
|
+
key: "getLastUpdatedBy",
|
|
483
|
+
value: function getLastUpdatedBy() {
|
|
484
|
+
return this.lastUpdatedBy;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* Sets Last updated by this user ID.
|
|
489
|
+
* @param {string} lastUpdatedBy Last updated by this user ID.
|
|
490
|
+
*/
|
|
491
|
+
}, {
|
|
492
|
+
key: "setLastUpdatedBy",
|
|
493
|
+
value: function setLastUpdatedBy(lastUpdatedBy) {
|
|
494
|
+
this.lastUpdatedBy = lastUpdatedBy;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Returns Description of the user.
|
|
499
|
+
* @return {string}
|
|
500
|
+
*/
|
|
501
|
+
}, {
|
|
502
|
+
key: "getDescription",
|
|
503
|
+
value: function getDescription() {
|
|
504
|
+
return this.description;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* Sets Description of the user.
|
|
509
|
+
* @param {string} description Description of the user.
|
|
510
|
+
*/
|
|
511
|
+
}, {
|
|
512
|
+
key: "setDescription",
|
|
513
|
+
value: function setDescription(description) {
|
|
514
|
+
this.description = description;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* @return {CreationType}
|
|
519
|
+
*/
|
|
520
|
+
}, {
|
|
521
|
+
key: "getCreationType",
|
|
522
|
+
value: function getCreationType() {
|
|
523
|
+
return this.creationType;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* @param {CreationType} creationType
|
|
528
|
+
*/
|
|
529
|
+
}, {
|
|
530
|
+
key: "setCreationType",
|
|
531
|
+
value: function setCreationType(creationType) {
|
|
532
|
+
this.creationType = creationType;
|
|
533
|
+
}
|
|
534
|
+
}, {
|
|
535
|
+
key: "toJson",
|
|
536
|
+
value: function toJson(forMutation) {
|
|
537
|
+
if (forMutation === false) {
|
|
538
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getUsername() !== 'undefined' && this.getUsername() !== null ? {
|
|
539
|
+
'username': this.getUsername()
|
|
540
|
+
} : {}), typeof this.getUserType() !== 'undefined' && this.getUserType() !== null ? {
|
|
541
|
+
'userType': this.getUserType()
|
|
542
|
+
} : {}), typeof this.getIdpId() !== 'undefined' && this.getIdpId() !== null ? {
|
|
543
|
+
'idpId': this.getIdpId()
|
|
544
|
+
} : {}), typeof this.getDisplayName() !== 'undefined' && this.getDisplayName() !== null ? {
|
|
545
|
+
'displayName': this.getDisplayName()
|
|
546
|
+
} : {}), typeof this.getFirstName() !== 'undefined' && this.getFirstName() !== null ? {
|
|
547
|
+
'firstName': this.getFirstName()
|
|
548
|
+
} : {}), typeof this.getMiddleInitial() !== 'undefined' && this.getMiddleInitial() !== null ? {
|
|
549
|
+
'middleInitial': this.getMiddleInitial()
|
|
550
|
+
} : {}), typeof this.getLastName() !== 'undefined' && this.getLastName() !== null ? {
|
|
551
|
+
'lastName': this.getLastName()
|
|
552
|
+
} : {}), typeof this.getEmailId() !== 'undefined' && this.getEmailId() !== null ? {
|
|
553
|
+
'emailId': this.getEmailId()
|
|
554
|
+
} : {}), typeof this.getLocale() !== 'undefined' && this.getLocale() !== null ? {
|
|
555
|
+
'locale': this.getLocale()
|
|
556
|
+
} : {}), typeof this.getRegion() !== 'undefined' && this.getRegion() !== null ? {
|
|
557
|
+
'region': this.getRegion()
|
|
558
|
+
} : {}), typeof this.getPassword() !== 'undefined' && this.getPassword() !== null ? {
|
|
559
|
+
'password': this.getPassword()
|
|
560
|
+
} : {}), typeof this.getIsForceResetPasswordEnabled() !== 'undefined' && this.getIsForceResetPasswordEnabled() !== null ? {
|
|
561
|
+
'isForceResetPasswordEnabled': this.getIsForceResetPasswordEnabled()
|
|
562
|
+
} : {}), typeof this.getAdditionalAttributes() !== 'undefined' && this.getAdditionalAttributes() !== null ? {
|
|
563
|
+
'additionalAttributes': this.getAdditionalAttributes().map(function (item) {
|
|
564
|
+
return item.toJson(false);
|
|
565
|
+
})
|
|
566
|
+
} : {}), typeof this.getStatus() !== 'undefined' && this.getStatus() !== null ? {
|
|
567
|
+
'status': this.getStatus()
|
|
568
|
+
} : {}), typeof this.getBucketsAccessKeys() !== 'undefined' && this.getBucketsAccessKeys() !== null ? {
|
|
569
|
+
'bucketsAccessKeys': this.getBucketsAccessKeys().map(function (item) {
|
|
570
|
+
return item.toJson(false);
|
|
571
|
+
})
|
|
572
|
+
} : {}), typeof this.getLastLoginTime() !== 'undefined' && this.getLastLoginTime() !== null ? {
|
|
573
|
+
'lastLoginTime': _assertClassBrand(_User_brand, this, _handleDateType).call(this, this.getLastLoginTime(), false)
|
|
574
|
+
} : {}), typeof this.getCreatedTime() !== 'undefined' && this.getCreatedTime() !== null ? {
|
|
575
|
+
'createdTime': _assertClassBrand(_User_brand, this, _handleDateType).call(this, this.getCreatedTime(), false)
|
|
576
|
+
} : {}), typeof this.getLastUpdatedTime() !== 'undefined' && this.getLastUpdatedTime() !== null ? {
|
|
577
|
+
'lastUpdatedTime': _assertClassBrand(_User_brand, this, _handleDateType).call(this, this.getLastUpdatedTime(), false)
|
|
578
|
+
} : {}), typeof this.getCreatedBy() !== 'undefined' && this.getCreatedBy() !== null ? {
|
|
579
|
+
'createdBy': this.getCreatedBy()
|
|
580
|
+
} : {}), typeof this.getLastUpdatedBy() !== 'undefined' && this.getLastUpdatedBy() !== null ? {
|
|
581
|
+
'lastUpdatedBy': this.getLastUpdatedBy()
|
|
582
|
+
} : {}), typeof this.getDescription() !== 'undefined' && this.getDescription() !== null ? {
|
|
583
|
+
'description': this.getDescription()
|
|
584
|
+
} : {}), typeof this.getCreationType() !== 'undefined' && this.getCreationType() !== null ? {
|
|
585
|
+
'creationType': this.getCreationType()
|
|
586
|
+
} : {}), typeof this.getExtId() !== 'undefined' && this.getExtId() !== null ? {
|
|
587
|
+
'extId': this.getExtId()
|
|
588
|
+
} : {}), typeof this.getLinks() !== 'undefined' && this.getLinks() !== null ? {
|
|
589
|
+
'links': this.getLinks().map(function (item) {
|
|
590
|
+
return item.toJson(false);
|
|
591
|
+
})
|
|
592
|
+
} : {}), typeof this.getTenantId() !== 'undefined' && this.getTenantId() !== null ? {
|
|
593
|
+
'tenantId': this.getTenantId()
|
|
594
|
+
} : {}), {}, {
|
|
595
|
+
'$reserved': this.get$Reserved(),
|
|
596
|
+
'$objectType': this.get$ObjectType(),
|
|
597
|
+
'$unknownFields': this.get$UnknownFields()
|
|
598
|
+
});
|
|
599
|
+
}
|
|
600
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getUsername() !== 'undefined' && this.getUsername() !== null ? {
|
|
601
|
+
'username': this.getUsername()
|
|
602
|
+
} : {}), typeof this.getUserType() !== 'undefined' && this.getUserType() !== null ? {
|
|
603
|
+
'userType': this.getUserType()
|
|
604
|
+
} : {}), typeof this.getIdpId() !== 'undefined' && this.getIdpId() !== null ? {
|
|
605
|
+
'idpId': this.getIdpId()
|
|
606
|
+
} : {}), typeof this.getDisplayName() !== 'undefined' && this.getDisplayName() !== null ? {
|
|
607
|
+
'displayName': this.getDisplayName()
|
|
608
|
+
} : {}), typeof this.getFirstName() !== 'undefined' && this.getFirstName() !== null ? {
|
|
609
|
+
'firstName': this.getFirstName()
|
|
610
|
+
} : {}), typeof this.getMiddleInitial() !== 'undefined' && this.getMiddleInitial() !== null ? {
|
|
611
|
+
'middleInitial': this.getMiddleInitial()
|
|
612
|
+
} : {}), typeof this.getLastName() !== 'undefined' && this.getLastName() !== null ? {
|
|
613
|
+
'lastName': this.getLastName()
|
|
614
|
+
} : {}), typeof this.getEmailId() !== 'undefined' && this.getEmailId() !== null ? {
|
|
615
|
+
'emailId': this.getEmailId()
|
|
616
|
+
} : {}), typeof this.getLocale() !== 'undefined' && this.getLocale() !== null ? {
|
|
617
|
+
'locale': this.getLocale()
|
|
618
|
+
} : {}), typeof this.getRegion() !== 'undefined' && this.getRegion() !== null ? {
|
|
619
|
+
'region': this.getRegion()
|
|
620
|
+
} : {}), typeof this.getPassword() !== 'undefined' && this.getPassword() !== null ? {
|
|
621
|
+
'password': this.getPassword()
|
|
622
|
+
} : {}), typeof this.getIsForceResetPasswordEnabled() !== 'undefined' && this.getIsForceResetPasswordEnabled() !== null ? {
|
|
623
|
+
'isForceResetPasswordEnabled': this.getIsForceResetPasswordEnabled()
|
|
624
|
+
} : {}), typeof this.getAdditionalAttributes() !== 'undefined' && this.getAdditionalAttributes() !== null ? {
|
|
625
|
+
'additionalAttributes': this.getAdditionalAttributes().map(function (item) {
|
|
626
|
+
return item.toJson(false);
|
|
627
|
+
})
|
|
628
|
+
} : {}), typeof this.getStatus() !== 'undefined' && this.getStatus() !== null ? {
|
|
629
|
+
'status': this.getStatus()
|
|
630
|
+
} : {}), typeof this.getDescription() !== 'undefined' && this.getDescription() !== null ? {
|
|
631
|
+
'description': this.getDescription()
|
|
632
|
+
} : {}), typeof this.getCreationType() !== 'undefined' && this.getCreationType() !== null ? {
|
|
633
|
+
'creationType': this.getCreationType()
|
|
634
|
+
} : {}), {}, {
|
|
635
|
+
'$reserved': this.get$Reserved(),
|
|
636
|
+
'$objectType': this.get$ObjectType(),
|
|
637
|
+
'$unknownFields': this.get$UnknownFields()
|
|
638
|
+
});
|
|
639
|
+
}
|
|
640
|
+
}, {
|
|
641
|
+
key: "validate",
|
|
642
|
+
value: function validate(scope, properties) {
|
|
643
|
+
var _this2 = this;
|
|
644
|
+
var propList = [];
|
|
645
|
+
if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes["default"]) {
|
|
646
|
+
//cases validate() and validate(scope)
|
|
647
|
+
propList = [];
|
|
648
|
+
} else if (arguments.length === 1) {
|
|
649
|
+
//case validate(properties)
|
|
650
|
+
propList = arguments[0];
|
|
651
|
+
scope = null;
|
|
652
|
+
} else {
|
|
653
|
+
//case validate(scope, properties)
|
|
654
|
+
propList = arguments[1];
|
|
655
|
+
}
|
|
656
|
+
var res = [];
|
|
657
|
+
var err = null;
|
|
658
|
+
propList.forEach(function (property) {
|
|
659
|
+
err = _this2.validateProperty(property, scope);
|
|
660
|
+
if (err) {
|
|
661
|
+
res.push(err);
|
|
662
|
+
}
|
|
663
|
+
});
|
|
664
|
+
return new Promise(function (resolve, reject) {
|
|
665
|
+
if (res.length !== 0) {
|
|
666
|
+
reject(err);
|
|
667
|
+
} else {
|
|
668
|
+
resolve();
|
|
669
|
+
}
|
|
670
|
+
});
|
|
671
|
+
}
|
|
672
|
+
}, {
|
|
673
|
+
key: "validateProperty",
|
|
674
|
+
value: function validateProperty(scope, property) {
|
|
675
|
+
if (property === "username") {
|
|
676
|
+
if (typeof this.username === 'undefined' || this.username === null) {
|
|
677
|
+
return new _ValidationError["default"]("username", "undefined or null");
|
|
678
|
+
}
|
|
679
|
+
if (!_ValidationUtils["default"].validateMaxLength(this.username, 255)) {
|
|
680
|
+
return new _ValidationError["default"]("username", "does not satisfy required maxLength constraint: 255");
|
|
681
|
+
}
|
|
682
|
+
if (!_ValidationUtils["default"].validateMinLength(this.username, 1)) {
|
|
683
|
+
return new _ValidationError["default"]("username", "does not satisfy required minLength constraint: 1");
|
|
684
|
+
}
|
|
685
|
+
if (!_ValidationUtils["default"].validatePattern(this.username, /^[^<>;'()&+%\/\\\\\"`]*$/)) {
|
|
686
|
+
return new _ValidationError["default"]("username", "does not satisfy required pattern: /^[^<>;'()&+%\/\\\\\"`]*$/");
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
if (property === "userType") {
|
|
690
|
+
if (typeof this.userType === 'undefined' || this.userType === null) {
|
|
691
|
+
return new _ValidationError["default"]("userType", "undefined or null");
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
if (property === "idpId") {
|
|
695
|
+
if (typeof this.idpId === 'undefined' || this.idpId === null) {
|
|
696
|
+
return new _ValidationError["default"]("idpId", "undefined or null");
|
|
697
|
+
}
|
|
698
|
+
if (!_ValidationUtils["default"].validatePattern(this.idpId, /^[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}$/)) {
|
|
699
|
+
return new _ValidationError["default"]("idpId", "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}$/");
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
if (property === "displayName") {
|
|
703
|
+
if (typeof this.displayName === 'undefined' || this.displayName === null) {
|
|
704
|
+
return new _ValidationError["default"]("displayName", "undefined or null");
|
|
705
|
+
}
|
|
706
|
+
if (!_ValidationUtils["default"].validateMaxLength(this.displayName, 255)) {
|
|
707
|
+
return new _ValidationError["default"]("displayName", "does not satisfy required maxLength constraint: 255");
|
|
708
|
+
}
|
|
709
|
+
if (!_ValidationUtils["default"].validateMinLength(this.displayName, 1)) {
|
|
710
|
+
return new _ValidationError["default"]("displayName", "does not satisfy required minLength constraint: 1");
|
|
711
|
+
}
|
|
712
|
+
if (!_ValidationUtils["default"].validatePattern(this.displayName, /^[^<>;'()&+%\/\\\\\"`]*$/)) {
|
|
713
|
+
return new _ValidationError["default"]("displayName", "does not satisfy required pattern: /^[^<>;'()&+%\/\\\\\"`]*$/");
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
if (property === "firstName") {
|
|
717
|
+
if (typeof this.firstName === 'undefined' || this.firstName === null) {
|
|
718
|
+
return new _ValidationError["default"]("firstName", "undefined or null");
|
|
719
|
+
}
|
|
720
|
+
if (!_ValidationUtils["default"].validateMaxLength(this.firstName, 255)) {
|
|
721
|
+
return new _ValidationError["default"]("firstName", "does not satisfy required maxLength constraint: 255");
|
|
722
|
+
}
|
|
723
|
+
if (!_ValidationUtils["default"].validateMinLength(this.firstName, 1)) {
|
|
724
|
+
return new _ValidationError["default"]("firstName", "does not satisfy required minLength constraint: 1");
|
|
725
|
+
}
|
|
726
|
+
if (!_ValidationUtils["default"].validatePattern(this.firstName, /^[^<>;'()&+%\/\\\\\"`]*$/)) {
|
|
727
|
+
return new _ValidationError["default"]("firstName", "does not satisfy required pattern: /^[^<>;'()&+%\/\\\\\"`]*$/");
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
if (property === "middleInitial") {
|
|
731
|
+
if (typeof this.middleInitial === 'undefined' || this.middleInitial === null) {
|
|
732
|
+
return new _ValidationError["default"]("middleInitial", "undefined or null");
|
|
733
|
+
}
|
|
734
|
+
if (!_ValidationUtils["default"].validateMaxLength(this.middleInitial, 255)) {
|
|
735
|
+
return new _ValidationError["default"]("middleInitial", "does not satisfy required maxLength constraint: 255");
|
|
736
|
+
}
|
|
737
|
+
if (!_ValidationUtils["default"].validateMinLength(this.middleInitial, 1)) {
|
|
738
|
+
return new _ValidationError["default"]("middleInitial", "does not satisfy required minLength constraint: 1");
|
|
739
|
+
}
|
|
740
|
+
if (!_ValidationUtils["default"].validatePattern(this.middleInitial, /^[^<>;'()&+%\/\\\\\"`]*$/)) {
|
|
741
|
+
return new _ValidationError["default"]("middleInitial", "does not satisfy required pattern: /^[^<>;'()&+%\/\\\\\"`]*$/");
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
if (property === "lastName") {
|
|
745
|
+
if (typeof this.lastName === 'undefined' || this.lastName === null) {
|
|
746
|
+
return new _ValidationError["default"]("lastName", "undefined or null");
|
|
747
|
+
}
|
|
748
|
+
if (!_ValidationUtils["default"].validateMaxLength(this.lastName, 255)) {
|
|
749
|
+
return new _ValidationError["default"]("lastName", "does not satisfy required maxLength constraint: 255");
|
|
750
|
+
}
|
|
751
|
+
if (!_ValidationUtils["default"].validateMinLength(this.lastName, 1)) {
|
|
752
|
+
return new _ValidationError["default"]("lastName", "does not satisfy required minLength constraint: 1");
|
|
753
|
+
}
|
|
754
|
+
if (!_ValidationUtils["default"].validatePattern(this.lastName, /^[^<>;'()&+%\/\\\\\"`]*$/)) {
|
|
755
|
+
return new _ValidationError["default"]("lastName", "does not satisfy required pattern: /^[^<>;'()&+%\/\\\\\"`]*$/");
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
if (property === "emailId") {
|
|
759
|
+
if (typeof this.emailId === 'undefined' || this.emailId === null) {
|
|
760
|
+
return new _ValidationError["default"]("emailId", "undefined or null");
|
|
761
|
+
}
|
|
762
|
+
if (!_ValidationUtils["default"].validateMaxLength(this.emailId, 255)) {
|
|
763
|
+
return new _ValidationError["default"]("emailId", "does not satisfy required maxLength constraint: 255");
|
|
764
|
+
}
|
|
765
|
+
if (!_ValidationUtils["default"].validatePattern(this.emailId, /^([a-zA-Z0-9_\\-\\.]+)@([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,5})$/)) {
|
|
766
|
+
return new _ValidationError["default"]("emailId", "does not satisfy required pattern: /^([a-zA-Z0-9_\\-\\.]+)@([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,5})$/");
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
if (property === "locale") {
|
|
770
|
+
if (typeof this.locale === 'undefined' || this.locale === null) {
|
|
771
|
+
return new _ValidationError["default"]("locale", "undefined or null");
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
if (property === "region") {
|
|
775
|
+
if (typeof this.region === 'undefined' || this.region === null) {
|
|
776
|
+
return new _ValidationError["default"]("region", "undefined or null");
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
if (property === "password") {
|
|
780
|
+
if (typeof this.password === 'undefined' || this.password === null) {
|
|
781
|
+
return new _ValidationError["default"]("password", "undefined or null");
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
if (property === "isForceResetPasswordEnabled") {
|
|
785
|
+
if (typeof this.isForceResetPasswordEnabled === 'undefined' || this.isForceResetPasswordEnabled === null) {
|
|
786
|
+
return new _ValidationError["default"]("isForceResetPasswordEnabled", "undefined or null");
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
if (property === "additionalAttributes") {
|
|
790
|
+
if (typeof this.additionalAttributes === 'undefined' || this.additionalAttributes === null) {
|
|
791
|
+
return new _ValidationError["default"]("additionalAttributes", "undefined or null");
|
|
792
|
+
}
|
|
793
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.additionalAttributes, 10)) {
|
|
794
|
+
return new _ValidationError["default"]("additionalAttributes", "does not satisfy required maxItems constraint: 10");
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
if (property === "status") {
|
|
798
|
+
if (typeof this.status === 'undefined' || this.status === null) {
|
|
799
|
+
return new _ValidationError["default"]("status", "undefined or null");
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
if (property === "bucketsAccessKeys") {
|
|
803
|
+
if (typeof this.bucketsAccessKeys === 'undefined' || this.bucketsAccessKeys === null) {
|
|
804
|
+
return new _ValidationError["default"]("bucketsAccessKeys", "undefined or null");
|
|
805
|
+
}
|
|
806
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.bucketsAccessKeys, 5)) {
|
|
807
|
+
return new _ValidationError["default"]("bucketsAccessKeys", "does not satisfy required maxItems constraint: 5");
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
if (property === "lastLoginTime") {
|
|
811
|
+
if (typeof this.lastLoginTime === 'undefined' || this.lastLoginTime === null) {
|
|
812
|
+
return new _ValidationError["default"]("lastLoginTime", "undefined or null");
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
if (property === "createdTime") {
|
|
816
|
+
if (typeof this.createdTime === 'undefined' || this.createdTime === null) {
|
|
817
|
+
return new _ValidationError["default"]("createdTime", "undefined or null");
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
if (property === "lastUpdatedTime") {
|
|
821
|
+
if (typeof this.lastUpdatedTime === 'undefined' || this.lastUpdatedTime === null) {
|
|
822
|
+
return new _ValidationError["default"]("lastUpdatedTime", "undefined or null");
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
if (property === "createdBy") {
|
|
826
|
+
if (typeof this.createdBy === 'undefined' || this.createdBy === null) {
|
|
827
|
+
return new _ValidationError["default"]("createdBy", "undefined or null");
|
|
828
|
+
}
|
|
829
|
+
if (!_ValidationUtils["default"].validatePattern(this.createdBy, /^[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}$/)) {
|
|
830
|
+
return new _ValidationError["default"]("createdBy", "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}$/");
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
if (property === "lastUpdatedBy") {
|
|
834
|
+
if (typeof this.lastUpdatedBy === 'undefined' || this.lastUpdatedBy === null) {
|
|
835
|
+
return new _ValidationError["default"]("lastUpdatedBy", "undefined or null");
|
|
836
|
+
}
|
|
837
|
+
if (!_ValidationUtils["default"].validatePattern(this.lastUpdatedBy, /^[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}$/)) {
|
|
838
|
+
return new _ValidationError["default"]("lastUpdatedBy", "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}$/");
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
if (property === "description") {
|
|
842
|
+
if (typeof this.description === 'undefined' || this.description === null) {
|
|
843
|
+
return new _ValidationError["default"]("description", "undefined or null");
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
if (property === "creationType") {
|
|
847
|
+
if (typeof this.creationType === 'undefined' || this.creationType === null) {
|
|
848
|
+
return new _ValidationError["default"]("creationType", "undefined or null");
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
return new _ValidationError["default"](property, "no such property exists");
|
|
852
|
+
}
|
|
853
|
+
}], [{
|
|
854
|
+
key: "constructFromObject",
|
|
855
|
+
value: function constructFromObject(data) {
|
|
856
|
+
var obj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
857
|
+
var callFromChild = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
858
|
+
var items, item, i, itemArr, discriminator;
|
|
859
|
+
if (data) {
|
|
860
|
+
obj = obj || new User();
|
|
861
|
+
_ExternalizableAbstractModel["default"].constructFromObject(data, obj, true);
|
|
862
|
+
if (data.hasOwnProperty('username') && data.username !== null && data.username !== undefined) {
|
|
863
|
+
obj.setUsername(data['username']);
|
|
864
|
+
}
|
|
865
|
+
if (data.hasOwnProperty('userType') && data.userType !== null && data.userType !== undefined) {
|
|
866
|
+
obj.setUserType(_UserType["default"].constructFromObject(data['userType']));
|
|
867
|
+
}
|
|
868
|
+
if (data.hasOwnProperty('idpId') && data.idpId !== null && data.idpId !== undefined) {
|
|
869
|
+
obj.setIdpId(data['idpId']);
|
|
870
|
+
}
|
|
871
|
+
if (data.hasOwnProperty('displayName') && data.displayName !== null && data.displayName !== undefined) {
|
|
872
|
+
obj.setDisplayName(data['displayName']);
|
|
873
|
+
}
|
|
874
|
+
if (data.hasOwnProperty('firstName') && data.firstName !== null && data.firstName !== undefined) {
|
|
875
|
+
obj.setFirstName(data['firstName']);
|
|
876
|
+
}
|
|
877
|
+
if (data.hasOwnProperty('middleInitial') && data.middleInitial !== null && data.middleInitial !== undefined) {
|
|
878
|
+
obj.setMiddleInitial(data['middleInitial']);
|
|
879
|
+
}
|
|
880
|
+
if (data.hasOwnProperty('lastName') && data.lastName !== null && data.lastName !== undefined) {
|
|
881
|
+
obj.setLastName(data['lastName']);
|
|
882
|
+
}
|
|
883
|
+
if (data.hasOwnProperty('emailId') && data.emailId !== null && data.emailId !== undefined) {
|
|
884
|
+
obj.setEmailId(data['emailId']);
|
|
885
|
+
}
|
|
886
|
+
if (data.hasOwnProperty('locale') && data.locale !== null && data.locale !== undefined) {
|
|
887
|
+
obj.setLocale(data['locale']);
|
|
888
|
+
}
|
|
889
|
+
if (data.hasOwnProperty('region') && data.region !== null && data.region !== undefined) {
|
|
890
|
+
obj.setRegion(data['region']);
|
|
891
|
+
}
|
|
892
|
+
if (data.hasOwnProperty('password') && data.password !== null && data.password !== undefined) {
|
|
893
|
+
obj.setPassword(data['password']);
|
|
894
|
+
}
|
|
895
|
+
if (data.hasOwnProperty('isForceResetPasswordEnabled') && data.isForceResetPasswordEnabled !== null && data.isForceResetPasswordEnabled !== undefined) {
|
|
896
|
+
obj.setIsForceResetPasswordEnabled(data['isForceResetPasswordEnabled']);
|
|
897
|
+
}
|
|
898
|
+
if (data.hasOwnProperty('additionalAttributes') && data.additionalAttributes !== null && data.additionalAttributes !== undefined) {
|
|
899
|
+
itemArr = [];
|
|
900
|
+
items = data.additionalAttributes;
|
|
901
|
+
for (i = 0; i < items.length; i++) {
|
|
902
|
+
item = _KVPair["default"].constructFromObject(items[i], undefined);
|
|
903
|
+
itemArr.push(item);
|
|
904
|
+
}
|
|
905
|
+
obj.setAdditionalAttributes(itemArr);
|
|
906
|
+
}
|
|
907
|
+
if (data.hasOwnProperty('status') && data.status !== null && data.status !== undefined) {
|
|
908
|
+
obj.setStatus(_UserStatusType["default"].constructFromObject(data['status']));
|
|
909
|
+
}
|
|
910
|
+
if (data.hasOwnProperty('bucketsAccessKeys') && data.bucketsAccessKeys !== null && data.bucketsAccessKeys !== undefined) {
|
|
911
|
+
itemArr = [];
|
|
912
|
+
items = data.bucketsAccessKeys;
|
|
913
|
+
for (i = 0; i < items.length; i++) {
|
|
914
|
+
item = _BucketsAccessKey["default"].constructFromObject(items[i], undefined);
|
|
915
|
+
itemArr.push(item);
|
|
916
|
+
}
|
|
917
|
+
obj.setBucketsAccessKeys(itemArr);
|
|
918
|
+
}
|
|
919
|
+
if (data.hasOwnProperty('lastLoginTime') && data.lastLoginTime !== null && data.lastLoginTime !== undefined) {
|
|
920
|
+
obj.setLastLoginTime(data['lastLoginTime']);
|
|
921
|
+
}
|
|
922
|
+
if (data.hasOwnProperty('createdTime') && data.createdTime !== null && data.createdTime !== undefined) {
|
|
923
|
+
obj.setCreatedTime(data['createdTime']);
|
|
924
|
+
}
|
|
925
|
+
if (data.hasOwnProperty('lastUpdatedTime') && data.lastUpdatedTime !== null && data.lastUpdatedTime !== undefined) {
|
|
926
|
+
obj.setLastUpdatedTime(data['lastUpdatedTime']);
|
|
927
|
+
}
|
|
928
|
+
if (data.hasOwnProperty('createdBy') && data.createdBy !== null && data.createdBy !== undefined) {
|
|
929
|
+
obj.setCreatedBy(data['createdBy']);
|
|
930
|
+
}
|
|
931
|
+
if (data.hasOwnProperty('lastUpdatedBy') && data.lastUpdatedBy !== null && data.lastUpdatedBy !== undefined) {
|
|
932
|
+
obj.setLastUpdatedBy(data['lastUpdatedBy']);
|
|
933
|
+
}
|
|
934
|
+
if (data.hasOwnProperty('description') && data.description !== null && data.description !== undefined) {
|
|
935
|
+
obj.setDescription(data['description']);
|
|
936
|
+
}
|
|
937
|
+
if (data.hasOwnProperty('creationType') && data.creationType !== null && data.creationType !== undefined) {
|
|
938
|
+
obj.setCreationType(_CreationType["default"].constructFromObject(data['creationType']));
|
|
939
|
+
}
|
|
940
|
+
if (!callFromChild) {
|
|
941
|
+
obj.$unknownFields = _objectSpread({}, data.$unknownFields);
|
|
942
|
+
for (var property in data) {
|
|
943
|
+
// Check if the `property` is not already present in `obj` keys, either in snake_case or camelCase,
|
|
944
|
+
// as the model's fields are generated in camelCase, but the server might return snake_case (e.g., due to standards like OIDC).
|
|
945
|
+
// Also, ensure the `property` does not start with '$' and end with 'ItemDiscriminator'.
|
|
946
|
+
// If all conditions are true, add the `property` from `data` to `obj.$unknownFields` as an unknown field.
|
|
947
|
+
if (!Object.keys(obj).includes(property) && !Object.keys(obj).includes(this.snakeToCamel(property)) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
|
|
948
|
+
obj.$unknownFields[property] = data[property];
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
return obj;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* Converts a given snake_case string to camelCase.
|
|
958
|
+
* @param {string} snakeStr - The input string in snake_case format.
|
|
959
|
+
* @returns {string} - The converted string in camelCase format.
|
|
960
|
+
*/
|
|
961
|
+
}, {
|
|
962
|
+
key: "snakeToCamel",
|
|
963
|
+
value: function snakeToCamel(snakeStr) {
|
|
964
|
+
return snakeStr.replace(/(_\w)/g, function (match) {
|
|
965
|
+
return match[1].toUpperCase();
|
|
966
|
+
});
|
|
967
|
+
}
|
|
968
|
+
}]);
|
|
969
|
+
}(_ExternalizableAbstractModel["default"]);
|
|
970
|
+
/**
|
|
971
|
+
* Identifier of the user.
|
|
972
|
+
* @memberof User
|
|
973
|
+
*/
|
|
974
|
+
function _toJsonMapType(obj, forMutation) {
|
|
975
|
+
if (obj instanceof Map) {
|
|
976
|
+
return Object.fromEntries(Array.from(obj, function (_ref) {
|
|
977
|
+
var _ref2 = _slicedToArray(_ref, 2),
|
|
978
|
+
k = _ref2[0],
|
|
979
|
+
v = _ref2[1];
|
|
980
|
+
return [k, typeof v.toJson !== "undefined" ? v.toJson(forMutation) : v];
|
|
981
|
+
}));
|
|
982
|
+
} else if (_typeof(obj) === 'object' && obj != null && obj.constructor === Object) {
|
|
983
|
+
return Object.fromEntries(Array.from(Object.entries(obj), function (entry) {
|
|
984
|
+
return [entry[0], typeof entry[1].toJson !== "undefined" ? entry[1].toJson(forMutation) : entry[1]];
|
|
985
|
+
}));
|
|
986
|
+
}
|
|
987
|
+
return obj;
|
|
988
|
+
}
|
|
989
|
+
/*
|
|
990
|
+
* toJson method for a date type which serializes a Date object to proper Date or DateTime formatting
|
|
991
|
+
* @param {Object} obj Object to serialize
|
|
992
|
+
* @param {boolean} isDateOnly Boolean variable to identify Date or DateTime format for serialization
|
|
993
|
+
* @returns {Object|string} Returns serialized date object or original input object
|
|
994
|
+
*/
|
|
995
|
+
function _handleDateType(obj, isDateOnly) {
|
|
996
|
+
if (obj instanceof Date && isDateOnly !== undefined) {
|
|
997
|
+
return isDateOnly ? obj.toISOString().slice(0, 10) : obj.toISOString();
|
|
998
|
+
}
|
|
999
|
+
return obj;
|
|
1000
|
+
}
|
|
1001
|
+
User.prototype.username = undefined;
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
* @memberof User
|
|
1005
|
+
*/
|
|
1006
|
+
User.prototype.userType = undefined;
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* Identifier of the IDP for the user.
|
|
1010
|
+
* @memberof User
|
|
1011
|
+
*/
|
|
1012
|
+
User.prototype.idpId = undefined;
|
|
1013
|
+
|
|
1014
|
+
/**
|
|
1015
|
+
* Display name of the user. For LDAP and SAML users, this is set from AD config.
|
|
1016
|
+
* @memberof User
|
|
1017
|
+
*/
|
|
1018
|
+
User.prototype.displayName = undefined;
|
|
1019
|
+
|
|
1020
|
+
/**
|
|
1021
|
+
* First name of the user.
|
|
1022
|
+
* @memberof User
|
|
1023
|
+
*/
|
|
1024
|
+
User.prototype.firstName = undefined;
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
* Middle name of the user.
|
|
1028
|
+
* @memberof User
|
|
1029
|
+
*/
|
|
1030
|
+
User.prototype.middleInitial = undefined;
|
|
1031
|
+
|
|
1032
|
+
/**
|
|
1033
|
+
* Last name of the user.
|
|
1034
|
+
* @memberof User
|
|
1035
|
+
*/
|
|
1036
|
+
User.prototype.lastName = undefined;
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
* Email ID of the user.
|
|
1040
|
+
* @memberof User
|
|
1041
|
+
*/
|
|
1042
|
+
User.prototype.emailId = undefined;
|
|
1043
|
+
|
|
1044
|
+
/**
|
|
1045
|
+
* Default locale of the user.
|
|
1046
|
+
* @memberof User
|
|
1047
|
+
*/
|
|
1048
|
+
User.prototype.locale = undefined;
|
|
1049
|
+
|
|
1050
|
+
/**
|
|
1051
|
+
* Default region of the user.
|
|
1052
|
+
* @memberof User
|
|
1053
|
+
*/
|
|
1054
|
+
User.prototype.region = undefined;
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* Password of the user.
|
|
1058
|
+
* @memberof User
|
|
1059
|
+
*/
|
|
1060
|
+
User.prototype.password = undefined;
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* Flag to force the user to reset password.
|
|
1064
|
+
* @memberof User
|
|
1065
|
+
*/
|
|
1066
|
+
User.prototype.isForceResetPasswordEnabled = undefined;
|
|
1067
|
+
|
|
1068
|
+
/**
|
|
1069
|
+
* Indicates additional attributes of the user.
|
|
1070
|
+
* @memberof User
|
|
1071
|
+
*/
|
|
1072
|
+
User.prototype.additionalAttributes = undefined;
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* @memberof User
|
|
1076
|
+
*/
|
|
1077
|
+
User.prototype.status = undefined;
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* Bucket access keys for the user.
|
|
1081
|
+
* @memberof User
|
|
1082
|
+
*/
|
|
1083
|
+
User.prototype.bucketsAccessKeys = undefined;
|
|
1084
|
+
|
|
1085
|
+
/**
|
|
1086
|
+
* The last successful login time for the user.
|
|
1087
|
+
* @memberof User
|
|
1088
|
+
*/
|
|
1089
|
+
User.prototype.lastLoginTime = undefined;
|
|
1090
|
+
|
|
1091
|
+
/**
|
|
1092
|
+
* Creation time of the user.
|
|
1093
|
+
* @memberof User
|
|
1094
|
+
*/
|
|
1095
|
+
User.prototype.createdTime = undefined;
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* The last updated time for the user.
|
|
1099
|
+
* @memberof User
|
|
1100
|
+
*/
|
|
1101
|
+
User.prototype.lastUpdatedTime = undefined;
|
|
1102
|
+
|
|
1103
|
+
/**
|
|
1104
|
+
* User or Service who created the user.
|
|
1105
|
+
* @memberof User
|
|
1106
|
+
*/
|
|
1107
|
+
User.prototype.createdBy = undefined;
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* Last updated by this user ID.
|
|
1111
|
+
* @memberof User
|
|
1112
|
+
*/
|
|
1113
|
+
User.prototype.lastUpdatedBy = undefined;
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* Description of the user.
|
|
1117
|
+
* @memberof User
|
|
1118
|
+
*/
|
|
1119
|
+
User.prototype.description = undefined;
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* @memberof User
|
|
1123
|
+
*/
|
|
1124
|
+
User.prototype.creationType = undefined;
|
|
1125
|
+
|
|
1126
|
+
/**
|
|
1127
|
+
* A globally unique identifier of an instance that is suitable for external consumption.
|
|
1128
|
+
* @memberof User
|
|
1129
|
+
*/
|
|
1130
|
+
_ExternalizableAbstractModel["default"].prototype.extId = undefined;
|
|
1131
|
+
/**
|
|
1132
|
+
* A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
|
|
1133
|
+
* @memberof User
|
|
1134
|
+
*/
|
|
1135
|
+
_ExternalizableAbstractModel["default"].prototype.links = undefined;
|
|
1136
|
+
/**
|
|
1137
|
+
* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
|
|
1138
|
+
* @memberof User
|
|
1139
|
+
*/
|
|
1140
|
+
_TenantAwareModel["default"].prototype.tenantId = undefined;
|