diff --git a/okta/models/access_policy_constraint.py b/okta/models/access_policy_constraint.py index ccbd38c6..62b4c537 100644 --- a/okta/models/access_policy_constraint.py +++ b/okta/models/access_policy_constraint.py @@ -99,24 +99,24 @@ def methods_validate_enum(cls, value): for i in value: if i not in set( [ - "PASSWORD", - "SECURITY_QUESTION", - "SMS", - "VOICE", - "EMAIL", - "PUSH", - "SIGNED_NONCE", - "OTP", - "TOTP", - "WEBAUTHN", - "DUO", - "IDP", - "CERT", + "password", + "security_question", + "sms", + "voice", + "email", + "push", + "signed_nonce", + "otp", + "totp", + "webauthn", + "duo", + "idp", + "cert", ] ): raise ValueError( - "each list item must be one of ('PASSWORD', 'SECURITY_QUESTION', 'SMS', 'VOICE', 'EMAIL', 'PUSH', " - "'SIGNED_NONCE', 'OTP', 'TOTP', 'WEBAUTHN', 'DUO', 'IDP', 'CERT')" + "each list item must be one of ('password', 'security_question', 'sms', 'voice', 'email', 'push', " + "'signed_nonce', 'otp', 'totp', 'webauthn', 'duo', 'idp', 'cert')" ) return value @@ -129,18 +129,18 @@ def types_validate_enum(cls, value): for i in value: if i not in set( [ - "SECURITY_KEY", - "PHONE", - "EMAIL", - "PASSWORD", - "SECURITY_QUESTION", - "APP", - "FEDERATED", + "security_key", + "phone", + "email", + "password", + "security_question", + "app", + "federated", ] ): raise ValueError( - "each list item must be one of ('SECURITY_KEY', 'PHONE', 'EMAIL', 'PASSWORD', 'SECURITY_QUESTION', " - "'APP', 'FEDERATED')" + "each list item must be one of ('security_key', 'phone', 'email', 'password', 'security_question', " + "'app', 'federated')" ) return value diff --git a/okta/models/knowledge_constraint.py b/okta/models/knowledge_constraint.py index c14c8e76..d3cfbb6e 100644 --- a/okta/models/knowledge_constraint.py +++ b/okta/models/knowledge_constraint.py @@ -96,24 +96,24 @@ def methods_validate_enum(cls, value): for i in value: if i not in set( [ - "PASSWORD", - "SECURITY_QUESTION", - "SMS", - "VOICE", - "EMAIL", - "PUSH", - "SIGNED_NONCE", - "OTP", - "TOTP", - "WEBAUTHN", - "DUO", - "IDP", - "CERT", + "password", + "security_question", + "sms", + "voice", + "email", + "push", + "signed_nonce", + "otp", + "totp", + "webauthn", + "duo", + "idp", + "cert", ] ): raise ValueError( - "each list item must be one of ('PASSWORD', 'SECURITY_QUESTION', 'SMS', 'VOICE', 'EMAIL', 'PUSH', " - "'SIGNED_NONCE', 'OTP', 'TOTP', 'WEBAUTHN', 'DUO', 'IDP', 'CERT')" + "each list item must be one of ('password', 'security_question', 'sms', 'voice', 'email', 'push', " + "'signed_nonce', 'otp', 'totp', 'webauthn', 'duo', 'idp', 'cert')" ) return value @@ -126,18 +126,18 @@ def types_validate_enum(cls, value): for i in value: if i not in set( [ - "SECURITY_KEY", - "PHONE", - "EMAIL", - "PASSWORD", - "SECURITY_QUESTION", - "APP", - "FEDERATED", + "security_key", + "phone", + "email", + "password", + "security_question", + "app", + "federated", ] ): raise ValueError( - "each list item must be one of ('SECURITY_KEY', 'PHONE', 'EMAIL', 'PASSWORD', 'SECURITY_QUESTION', " - "'APP', 'FEDERATED')" + "each list item must be one of ('security_key', 'phone', 'email', 'password', 'security_question', " + "'app', 'federated')" ) return value diff --git a/okta/models/possession_constraint.py b/okta/models/possession_constraint.py index b8ca7eec..3c611bab 100644 --- a/okta/models/possession_constraint.py +++ b/okta/models/possession_constraint.py @@ -137,24 +137,24 @@ def methods_validate_enum(cls, value): for i in value: if i not in set( [ - "PASSWORD", - "SECURITY_QUESTION", - "SMS", - "VOICE", - "EMAIL", - "PUSH", - "SIGNED_NONCE", - "OTP", - "TOTP", - "WEBAUTHN", - "DUO", - "IDP", - "CERT", + "password", + "security_question", + "sms", + "voice", + "email", + "push", + "signed_nonce", + "otp", + "totp", + "webauthn", + "duo", + "idp", + "cert", ] ): raise ValueError( - "each list item must be one of ('PASSWORD', 'SECURITY_QUESTION', 'SMS', 'VOICE', 'EMAIL', 'PUSH', " - "'SIGNED_NONCE', 'OTP', 'TOTP', 'WEBAUTHN', 'DUO', 'IDP', 'CERT')" + "each list item must be one of ('password', 'security_question', 'sms', 'voice', 'email', 'push', " + "'signed_nonce', 'otp', 'totp', 'webauthn', 'duo', 'idp', 'cert')" ) return value @@ -167,18 +167,18 @@ def types_validate_enum(cls, value): for i in value: if i not in set( [ - "SECURITY_KEY", - "PHONE", - "EMAIL", - "PASSWORD", - "SECURITY_QUESTION", - "APP", - "FEDERATED", + "security_key", + "phone", + "email", + "password", + "security_question", + "app", + "federated", ] ): raise ValueError( - "each list item must be one of ('SECURITY_KEY', 'PHONE', 'EMAIL', 'PASSWORD', 'SECURITY_QUESTION', " - "'APP', 'FEDERATED')" + "each list item must be one of ('security_key', 'phone', 'email', 'password', 'security_question', " + "'app', 'federated')" ) return value diff --git a/openapi/api.yaml b/openapi/api.yaml index d07ef21e..050b0fbb 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -57789,19 +57789,19 @@ components: items: type: string enum: - - PASSWORD - - SECURITY_QUESTION - - SMS - - VOICE - - EMAIL - - PUSH - - SIGNED_NONCE - - OTP - - TOTP - - WEBAUTHN - - DUO - - IDP - - CERT + - password + - security_question + - sms + - voice + - email + - push + - signed_nonce + - otp + - totp + - webauthn + - duo + - idp + - cert type: array reauthenticateIn: description: The duration after which the user must re-authenticate regardless of user activity. This re-authentication interval overrides the Verification Method object's `reauthenticateIn` interval. The supported values use ISO 8601 period format for recurring time intervals (for example, `PT1H`). @@ -57814,13 +57814,13 @@ components: items: type: string enum: - - SECURITY_KEY - - PHONE - - EMAIL - - PASSWORD - - SECURITY_QUESTION - - APP - - FEDERATED + - security_key + - phone + - email + - password + - security_question + - app + - federated type: array AccessPolicyConstraints: description: Specifies constraints for the authenticator. Constraints are logically evaluated such that only one constraint object needs to be satisfied. But, within a constraint object, each constraint property must be satisfied.