Skip to content

Commit

Permalink
chore: upgrade to openapi@2.11.1
Browse files Browse the repository at this point in the history
OKTA-479490
<<<Jenkins Check-In of Tested SHA: 3ed2b2e for eng_productivity_ci_bot_okta@okta.com>>>
Artifact: okta-sdk-nodejs
Files changed count: 9
PR Link: "#309"
  • Loading branch information
oleksandrpravosudko-okta authored and eng-prod-CI-bot-okta committed Mar 14, 2022
1 parent b0d1a37 commit 3b95fbd
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"devDependencies": {
"@faker-js/faker": "^5.5.3",
"@okta/openapi": "^2.11.0",
"@okta/openapi": "^2.11.1",
"@types/chai": "^4.2.22",
"@types/mocha": "^9.0.0",
"@types/node-fetch": "^2.5.8",
Expand Down
1 change: 1 addition & 0 deletions src/models/FactorProvider.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/models/IdentityProviderCredentialsSigning.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/models/LogCredentialProvider.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/types/models/FactorProvider.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/types/models/IdentityProviderCredentialsSigning.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/types/models/LogCredentialProvider.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/it/template-email.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ describe('Email Template API', () => {
});

describe('Template Customizations', () => {
const templateName = 'forgotPassword';
const templateName = 'ForgotPassword';
const body = '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\n<html>\n<head>\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n</head>\n<body>\n<div style="background-color: ${brand.theme.secondaryColor}; margin: 0">\n <table style="font-family: \'Proxima Nova\', \'Century Gothic\', Arial, Verdana, sans-serif; font-size: 14px; color: #5e5e5e; width:98%; max-width: 600px; float: none; margin: 0 auto;" border="0" cellpadding="0" cellspacing="0" valign="top" align="left">\n <tr align="middle"><td style="padding-top: 30px; padding-bottom: 32px;"><img src="${brand.theme.logo}" height="37"></td></tr>\n <tr bgcolor="#ffffff"><td>\n <table bgcolor="#ffffff" style="width: 100%; line-height: 20px; padding: 32px; border: 1px solid; border-color: #f0f0f0;" cellpadding="0">\n <tr>\n <td style="color: #5e5e5e; font-size: 22px; line-height: 22px;">\n ${org.name} - Okta Password Reset Requested\n </td>\n </tr>\n <tr>\n <td style="padding-top: 24px; vertical-align: bottom;">\n Hi $!{StringTool.escapeHtml($!{user.profile.firstName})},\n </td>\n </tr>\n <tr>\n <td style="padding-top: 24px;">\n A password reset request was made for your Okta account. If you did not make this request, please contact your system administrator immediately.\n </td>\n </tr>\n <tr>\n <td style="padding-top: 24px;">\n Click this link to reset the password for your username, ${user.profile.login}:\n </td>\n </tr>\n <tr>\n <td align="center">\n <table border="0" cellpadding="0" cellspacing="0" valign="top">\n <tr>\n <td align="center" style="height: 32px; padding-top: 24px; padding-bottom: 16px;">\n <a id="reset-password-link" href="${resetPasswordLink}" style="text-decoration: none;"><span style="padding: 9px 32px 7px 31px; border: 1px solid; text-align: center; cursor: pointer; color: #fff; border-radius: 3px; background-color: ${brand.theme.primaryColor}; border-color: ${brand.theme.primaryColor}; box-shadow: 0 1px 0 ${brand.theme.primaryColor};">Reset Password</span></a>\n </td>\n </tr>\n <tr>\n <td align="center" style="color: #999;">\n This link expires in ${f.formatTimeDiffDateNowInUserLocale(${resetPasswordTokenExpirationDate})}.\n </td>\n </tr>\n #if(${oneTimePassword})\n <tr>\n <td align="center" style="padding-top: 16px;">\n Can\'t use the link? Enter a code instead: <b>${oneTimePassword}</b>\n </td>\n </tr>\n #end\n </table>\n </td>\n </tr>\n <tr>\n <td style="padding-top: 24px;">\n If you experience difficulties accessing your account, send a help request to your administrator:\n </td>\n </tr>\n <tr>\n <td style="padding-top: 24px;">\n Go to your <a href="${baseURL}/help/login" style="color: #007dc1; text-decoration: none;"><span style="color: #007dc1; text-decoration: none;">Sign-in Help</span></a> page. Then click the Request help link.\n </td>\n </tr>\n </table>\n </td></tr>\n <tr>\n <td style="font-size: 12px; padding: 16px 0 30px 50px; color: #999;">\n This is an automatically generated message from <a href="https://www.okta.com" style="color: rgb(97,97,97);">Okta</a>. Replies are not monitored or answered.\n </td>\n </tr>\n </table>\n</div>\n</body>\n</html>\n';

afterEach(async () => {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -554,10 +554,10 @@
"@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0"

"@okta/openapi@^2.11.0":
version "2.11.0"
resolved "https://registry.yarnpkg.com/@okta/openapi/-/openapi-2.11.0.tgz#b8601e51037bdc8eeedd4698ef4880513af660ce"
integrity sha512-tYXtsSdvPDvf7tnU5Ogqu3Av2gSlfTg+Pn1bVxEiyu+c5/yGIQbb+s1myCvQxXKxXC3Ld6EAMKj7CQ1xnlAz/g==
"@okta/openapi@^2.11.1":
version "2.11.1"
resolved "https://registry.yarnpkg.com/@okta/openapi/-/openapi-2.11.1.tgz#49e9738fbd68520b7a2deaf74d63f67e41a3e924"
integrity sha512-FdDTwscwULg94nGFAhlncLpKr+46nfkjWe2npe9+Th8xaMcnRYtymsUMI8wXNMrOxOJ9+lxTplnfJVl1n4i/Cw==
dependencies:
commander "2.9.0"
fs-extra "3.0.1"
Expand Down

0 comments on commit 3b95fbd

Please sign in to comment.