From 64a57e0bb463989749031d0f04e8b2f17796fabd Mon Sep 17 00:00:00 2001 From: Serhii Buniak Date: Thu, 18 Nov 2021 13:45:43 +0200 Subject: [PATCH 1/2] Regenerate SDK using openapi spec 2.9.2 --- okta/models/device_access_policy_rule_condition.py | 7 ++++--- openapi/package.json | 2 +- openapi/yarn.lock | 8 ++++---- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/okta/models/device_access_policy_rule_condition.py b/okta/models/device_access_policy_rule_condition.py index b835cf77..be6ffc40 100644 --- a/okta/models/device_access_policy_rule_condition.py +++ b/okta/models/device_access_policy_rule_condition.py @@ -1,6 +1,6 @@ # flake8: noqa """ -Copyright 2021 - Present Okta, Inc. +Copyright 2020 - Present Okta, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -18,11 +18,12 @@ # AUTO-GENERATED! DO NOT EDIT FILE DIRECTLY # SEE CONTRIBUTOR DOCUMENTATION -from okta.okta_object import OktaObject +from okta.models.device_policy_rule_condition\ + import DevicePolicyRuleCondition class DeviceAccessPolicyRuleCondition( - OktaObject + DevicePolicyRuleCondition ): """ A class for DeviceAccessPolicyRuleCondition objects. diff --git a/openapi/package.json b/openapi/package.json index 0899d531..ed7eced3 100644 --- a/openapi/package.json +++ b/openapi/package.json @@ -1,6 +1,6 @@ { "dependencies": { - "@okta/openapi": "^2.9.1", + "@okta/openapi": "^2.9.2", "lodash": "^4.17.15" }, "scripts": { diff --git a/openapi/yarn.lock b/openapi/yarn.lock index 6bb3bb57..4dd09e3b 100644 --- a/openapi/yarn.lock +++ b/openapi/yarn.lock @@ -2,10 +2,10 @@ # yarn lockfile v1 -"@okta/openapi@^2.9.1": - "integrity" "sha512-hib3lKNFxQ+oS8ZR+eDTjSwUlGNBYMAKhcmefN3oOJJGyId+iP88r8n9VlydxZe22A0sGu9XYmWX/thG8iTv7g==" - "resolved" "https://registry.npmjs.org/@okta/openapi/-/openapi-2.9.1.tgz" - "version" "2.9.1" +"@okta/openapi@^2.9.2": + "integrity" "sha512-GhUDr7gawiGz5yGKETqReSgt6PvbKMHnFOxs4Gu/mG6tQAruJ7d42Y6ZK3JA2e0/6bBlxc7IsNfukaCVcOZALg==" + "resolved" "https://registry.npmjs.org/@okta/openapi/-/openapi-2.9.2.tgz" + "version" "2.9.2" dependencies: "commander" "2.9.0" "fs-extra" "3.0.1" From a38c615448ca5f77a96ba39fbf382d0748db25f4 Mon Sep 17 00:00:00 2001 From: Serhii Buniak Date: Thu, 18 Nov 2021 13:47:15 +0200 Subject: [PATCH 2/2] Fix year in copyright header --- okta/models/device_access_policy_rule_condition.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/okta/models/device_access_policy_rule_condition.py b/okta/models/device_access_policy_rule_condition.py index be6ffc40..702b2e61 100644 --- a/okta/models/device_access_policy_rule_condition.py +++ b/okta/models/device_access_policy_rule_condition.py @@ -1,6 +1,6 @@ # flake8: noqa """ -Copyright 2020 - Present Okta, Inc. +Copyright 2021 - Present Okta, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.