From f220f4c02e7cd657dd00c70bfe1510c9b55cc92e Mon Sep 17 00:00:00 2001 From: Shuo Wu Date: Thu, 18 Jun 2020 16:30:28 -0400 Subject: [PATCH] chore: sync with latest openapi master --- src/models/InlineHook.js | 4 ++-- src/models/InlineHookStatus.js | 31 ++++++++++++++++++++++++++ src/models/InlineHookType.js | 31 ++++++++++++++++++++++++++ src/models/JsonWebKey.js | 2 +- src/models/VerifyUserFactorResponse.js | 2 +- src/models/index.js | 2 ++ 6 files changed, 68 insertions(+), 4 deletions(-) create mode 100644 src/models/InlineHookStatus.js create mode 100644 src/models/InlineHookType.js diff --git a/src/models/InlineHook.js b/src/models/InlineHook.js index 338bc8048..0646ea4d8 100644 --- a/src/models/InlineHook.js +++ b/src/models/InlineHook.js @@ -25,8 +25,8 @@ const InlineHookChannel = require('./InlineHookChannel'); * @property { string } id * @property { dateTime } lastUpdated * @property { string } name - * @property { string } status - * @property { string } type + * @property { InlineHookStatus } status + * @property { InlineHookType } type * @property { string } version */ class InlineHook extends Resource { diff --git a/src/models/InlineHookStatus.js b/src/models/InlineHookStatus.js new file mode 100644 index 000000000..263085347 --- /dev/null +++ b/src/models/InlineHookStatus.js @@ -0,0 +1,31 @@ +/*! + * Copyright (c) 2017-2020, Okta, Inc. and/or its affiliates. All rights reserved. + * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.") + * + * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and limitations under the License. + */ + + +/* THIS FILE IS AUTO-GENERATED - SEE CONTRIBUTOR DOCUMENTATION */ + +var Resource = require('../resource'); + + +/** + * @class InlineHookStatus + * @extends Resource + */ +class InlineHookStatus extends Resource { + constructor(resourceJson, client) { + super(resourceJson, client); + + } + +} + +module.exports = InlineHookStatus; diff --git a/src/models/InlineHookType.js b/src/models/InlineHookType.js new file mode 100644 index 000000000..ac1861ba2 --- /dev/null +++ b/src/models/InlineHookType.js @@ -0,0 +1,31 @@ +/*! + * Copyright (c) 2017-2020, Okta, Inc. and/or its affiliates. All rights reserved. + * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.") + * + * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and limitations under the License. + */ + + +/* THIS FILE IS AUTO-GENERATED - SEE CONTRIBUTOR DOCUMENTATION */ + +var Resource = require('../resource'); + + +/** + * @class InlineHookType + * @extends Resource + */ +class InlineHookType extends Resource { + constructor(resourceJson, client) { + super(resourceJson, client); + + } + +} + +module.exports = InlineHookType; diff --git a/src/models/JsonWebKey.js b/src/models/JsonWebKey.js index 7a29986a3..487d369ef 100644 --- a/src/models/JsonWebKey.js +++ b/src/models/JsonWebKey.js @@ -23,7 +23,7 @@ var Resource = require('../resource'); * @property { string } alg * @property { dateTime } created * @property { string } e - * @property { string } expiresAt + * @property { dateTime } expiresAt * @property { array } key_ops * @property { string } kid * @property { string } kty diff --git a/src/models/VerifyUserFactorResponse.js b/src/models/VerifyUserFactorResponse.js index 3e3b5e8d8..d2d8e05b9 100644 --- a/src/models/VerifyUserFactorResponse.js +++ b/src/models/VerifyUserFactorResponse.js @@ -21,7 +21,7 @@ var Resource = require('../resource'); * @extends Resource * @property { hash } _embedded * @property { hash } _links - * @property { string } expiresAt + * @property { dateTime } expiresAt * @property { string } factorResult * @property { string } factorResultMessage */ diff --git a/src/models/index.js b/src/models/index.js index 657e15c30..cff3290b1 100644 --- a/src/models/index.js +++ b/src/models/index.js @@ -131,6 +131,8 @@ exports.InlineHookPayload = require('./InlineHookPayload'); exports.InlineHookResponse = require('./InlineHookResponse'); exports.InlineHookResponseCommandValue = require('./InlineHookResponseCommandValue'); exports.InlineHookResponseCommands = require('./InlineHookResponseCommands'); +exports.InlineHookStatus = require('./InlineHookStatus'); +exports.InlineHookType = require('./InlineHookType'); exports.IonField = require('./IonField'); exports.IonForm = require('./IonForm'); exports.JsonWebKey = require('./JsonWebKey');