Skip to content

Commit 1cb7506

Browse files
Merge pull request #22 from onelogin/openapi
Use openapi-generator SDK.
2 parents 8c733e8 + 440f3b9 commit 1cb7506

File tree

161 files changed

+16147
-8979
lines changed

Some content is hidden

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

161 files changed

+16147
-8979
lines changed

.babelrc

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"presets": [
3+
"@babel/preset-env"
4+
],
5+
"plugins": [
6+
"@babel/plugin-syntax-dynamic-import",
7+
"@babel/plugin-syntax-import-meta",
8+
"@babel/plugin-proposal-class-properties",
9+
"@babel/plugin-proposal-json-strings",
10+
[
11+
"@babel/plugin-proposal-decorators",
12+
{
13+
"legacy": true
14+
}
15+
],
16+
"@babel/plugin-proposal-function-sent",
17+
"@babel/plugin-proposal-export-namespace-from",
18+
"@babel/plugin-proposal-numeric-separator",
19+
"@babel/plugin-proposal-throw-expressions",
20+
"@babel/plugin-proposal-export-default-from",
21+
"@babel/plugin-proposal-logical-assignment-operators",
22+
"@babel/plugin-proposal-optional-chaining",
23+
[
24+
"@babel/plugin-proposal-pipeline-operator",
25+
{
26+
"proposal": "minimal"
27+
}
28+
],
29+
"@babel/plugin-proposal-nullish-coalescing-operator",
30+
"@babel/plugin-proposal-do-expressions",
31+
"@babel/plugin-proposal-function-bind"
32+
]
33+
}

.gitignore

Lines changed: 4 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,4 @@
1-
# Logs
2-
logs
3-
*.log
4-
npm-debug.log*
5-
yarn-debug.log*
6-
yarn-error.log*
7-
8-
# Runtime data
9-
pids
10-
*.pid
11-
*.seed
12-
*.pid.lock
13-
14-
# Build output
15-
# dist/ TODO - Add a build system (e.g. webpack grunt gulp etc...)
16-
17-
# JSDoc Output
18-
out/
19-
20-
# Directory for instrumented libs generated by jscoverage/JSCover
21-
lib-cov
22-
23-
# Coverage directory used by tools like istanbul
24-
coverage
25-
26-
# nyc test coverage
27-
.nyc_output
28-
29-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
30-
.grunt
31-
32-
# Bower dependency directory (https://bower.io/)
33-
bower_components
34-
35-
# node-waf configuration
36-
.lock-wscript
37-
38-
# Compiled binary addons (http://nodejs.org/api/addons.html)
39-
build/Release
40-
41-
# Dependency directories
42-
node_modules/
43-
jspm_packages/
44-
45-
# Typescript v1 declaration files
46-
typings/
47-
48-
# Optional npm cache directory
49-
.npm
50-
51-
# Optional eslint cache
52-
.eslintcache
53-
54-
# Optional REPL history
55-
.node_repl_history
56-
57-
# Output of 'npm pack'
58-
*.tgz
59-
60-
# Yarn Integrity file
61-
.yarn-integrity
62-
63-
# dotenv environment variables file
64-
.env
1+
wwwroot/*.js
2+
node_modules
3+
typings
4+
dist

.openapi-generator-ignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# OpenAPI Generator Ignore
2+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md

.openapi-generator/FILES

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
.gitignore
2+
api.ts
3+
api/apis.ts
4+
api/defaultApi.ts
5+
git_push.sh
6+
model/action.ts
7+
model/activateFactorRequest.ts
8+
model/addAccessTokenClaimRequest.ts
9+
model/addClientAppRequest.ts
10+
model/addRoleUsers200ResponseInner.ts
11+
model/addScopeRequest.ts
12+
model/authMethod.ts
13+
model/authServerConfiguration.ts
14+
model/clientApp.ts
15+
model/condition.ts
16+
model/connector.ts
17+
model/createAuthorizationServerRequest.ts
18+
model/createEnvironmentVariableRequest.ts
19+
model/createRoles201ResponseInner.ts
20+
model/device.ts
21+
model/enrollFactorRequest.ts
22+
model/envvar.ts
23+
model/errorStatus.ts
24+
model/errorStatusErrorsInner.ts
25+
model/factorInner.ts
26+
model/factorInnerFactorData.ts
27+
model/generateMfaToken200Response.ts
28+
model/generateMfaToken422Response.ts
29+
model/generateMfaToken422ResponseDetails.ts
30+
model/generateMfaTokenRequest.ts
31+
model/generateSamlAssertionRequest.ts
32+
model/generateToken200Response.ts
33+
model/generateToken400Response.ts
34+
model/generateTokenRequest.ts
35+
model/getAuthorizationServer200Response.ts
36+
model/getAvailableFactors200ResponseInner.ts
37+
model/getClientApps200ResponseInner.ts
38+
model/getClientApps200ResponseInnerScopesInner.ts
39+
model/getRateLimit200Response.ts
40+
model/getRateLimit200ResponseData.ts
41+
model/getRiskScore200Response.ts
42+
model/getRiskScore400Response.ts
43+
model/getRiskScoreRequest.ts
44+
model/getScoreInsights200Response.ts
45+
model/getScoreInsights200ResponseScores.ts
46+
model/getUserApps200ResponseInner.ts
47+
model/hook.ts
48+
model/hookConditionsInner.ts
49+
model/hookOptions.ts
50+
model/hookStatus.ts
51+
model/id.ts
52+
model/listAccessTokenClaims200ResponseInner.ts
53+
model/listActions200ResponseInner.ts
54+
model/listAppUsers200ResponseInner.ts
55+
model/listAuthorizationServers200ResponseInner.ts
56+
model/listAuthorizationServers200ResponseInnerConfiguration.ts
57+
model/listConditionOperators200ResponseInner.ts
58+
model/listConditionValues200ResponseInner.ts
59+
model/listConditions200ResponseInner.ts
60+
model/listMappingConditionOperators200ResponseInner.ts
61+
model/listMappingConditions200ResponseInner.ts
62+
model/listScopes200ResponseInner.ts
63+
model/log.ts
64+
model/mapping.ts
65+
model/models.ts
66+
model/registration.ts
67+
model/removeRoleUsersRequest.ts
68+
model/revokeTokenRequest.ts
69+
model/riskDevice.ts
70+
model/riskRule.ts
71+
model/riskUser.ts
72+
model/role.ts
73+
model/rule.ts
74+
model/ruleId.ts
75+
model/schema.ts
76+
model/schema1.ts
77+
model/schema1AddedBy.ts
78+
model/schemaProvisioning.ts
79+
model/session.ts
80+
model/setRoleApps200ResponseInner.ts
81+
model/source.ts
82+
model/status.ts
83+
model/status1.ts
84+
model/status2.ts
85+
model/status2Status.ts
86+
model/trackEventRequest.ts
87+
model/updateAuthorizationServer400Response.ts
88+
model/updateClientAppRequest.ts
89+
model/updateEnvironmentVariableRequest.ts
90+
model/updateRole200Response.ts
91+
model/user.ts
92+
model/verifyEnrollmentRequest.ts
93+
model/verifyFactorRequest.ts
94+
model/verifyFactorSaml200Response.ts
95+
model/verifyFactorSamlRequest.ts
96+
model/verifyFactorVoice200ResponseInner.ts
97+
package.json
98+
tsconfig.json

.openapi-generator/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6.0.1

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
language: node_js
2+
cache: npm
3+
node_js:
4+
- "6"
5+
- "6.1"

0 commit comments

Comments
 (0)