Skip to content

Commit 0ae9eaa

Browse files
authored
Merge pull request #290 from okta/email_templates_api
2 parents 5d4ffa5 + e393bcf commit 0ae9eaa

File tree

117 files changed

+4654
-486
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+4654
-486
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Okta Python SDK Changelog
22

3+
## v2.5.0
4+
- Regenerate code using the [open API spec v2.11.1](https://github.com/okta/okta-management-openapi-spec/releases/tag/openapi-2.11.1)
5+
- Updates client template to persist aiohttp and related logic
6+
- Fixed copyright headers which had the incorrect starting year
7+
8+
_New resources:_
9+
* Brand
10+
11+
_New models:_
12+
* EmailTemplate
13+
* EmailTemplateContent
14+
* EmailTemplateCustomization
15+
* EmailTemplateCustomizationRequest
16+
* EmailTemplateTestTrequest
17+
* IdpPolicyRuleAction
18+
* IdpPolicyRuleActionProvider
319
## v2.4.0
420
- Regenerate code using the [open API spec v2.10.0](https://github.com/okta/okta-management-openapi-spec/releases/tag/openapi-2.10.0).
521
- Allow possibility to re-use http session.

okta/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.4.0'
1+
__version__ = '2.5.0'

okta/models/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,16 @@
224224
DomainValidationStatus = domain_validation_status.DomainValidationStatus
225225
from okta.models import duration as duration
226226
Duration = duration.Duration
227+
from okta.models import email_template as email_template
228+
EmailTemplate = email_template.EmailTemplate
229+
from okta.models import email_template_content as email_template_content
230+
EmailTemplateContent = email_template_content.EmailTemplateContent
231+
from okta.models import email_template_customization as email_template_customization
232+
EmailTemplateCustomization = email_template_customization.EmailTemplateCustomization
233+
from okta.models import email_template_customization_request as email_template_customization_request
234+
EmailTemplateCustomizationRequest = email_template_customization_request.EmailTemplateCustomizationRequest
235+
from okta.models import email_template_test_request as email_template_test_request
236+
EmailTemplateTestRequest = email_template_test_request.EmailTemplateTestRequest
227237
from okta.models import email_template_touch_point_variant as email_template_touch_point_variant
228238
EmailTemplateTouchPointVariant = email_template_touch_point_variant.EmailTemplateTouchPointVariant
229239
from okta.models import email_user_factor as email_user_factor
@@ -334,6 +344,10 @@
334344
IdentityProviderPolicy = identity_provider_policy.IdentityProviderPolicy
335345
from okta.models import identity_provider_policy_rule_condition as identity_provider_policy_rule_condition
336346
IdentityProviderPolicyRuleCondition = identity_provider_policy_rule_condition.IdentityProviderPolicyRuleCondition
347+
from okta.models import idp_policy_rule_action as idp_policy_rule_action
348+
IdpPolicyRuleAction = idp_policy_rule_action.IdpPolicyRuleAction
349+
from okta.models import idp_policy_rule_action_provider as idp_policy_rule_action_provider
350+
IdpPolicyRuleActionProvider = idp_policy_rule_action_provider.IdpPolicyRuleActionProvider
337351
from okta.models import image_upload_response as image_upload_response
338352
ImageUploadResponse = image_upload_response.ImageUploadResponse
339353
from okta.models import inactivity_policy_rule_condition as inactivity_policy_rule_condition

okta/models/access_policy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# flake8: noqa
22
"""
3-
Copyright 2021 - Present Okta, Inc.
3+
Copyright 2020 - Present Okta, Inc.
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.

okta/models/access_policy_constraint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# flake8: noqa
22
"""
3-
Copyright 2021 - Present Okta, Inc.
3+
Copyright 2020 - Present Okta, Inc.
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.

okta/models/access_policy_constraints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# flake8: noqa
22
"""
3-
Copyright 2021 - Present Okta, Inc.
3+
Copyright 2020 - Present Okta, Inc.
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.

okta/models/access_policy_rule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# flake8: noqa
22
"""
3-
Copyright 2021 - Present Okta, Inc.
3+
Copyright 2020 - Present Okta, Inc.
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.

okta/models/access_policy_rule_actions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# flake8: noqa
22
"""
3-
Copyright 2021 - Present Okta, Inc.
3+
Copyright 2020 - Present Okta, Inc.
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.

okta/models/access_policy_rule_application_sign_on.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# flake8: noqa
22
"""
3-
Copyright 2021 - Present Okta, Inc.
3+
Copyright 2020 - Present Okta, Inc.
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.

okta/models/access_policy_rule_conditions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# flake8: noqa
22
"""
3-
Copyright 2021 - Present Okta, Inc.
3+
Copyright 2020 - Present Okta, Inc.
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)