Skip to content

Commit ed69315

Browse files
author
RutujaAwate122
authored
Merge pull request #26 from onelogin/DEVEX-onelogin-node-sdk
DEVEX-1856 DEVEX-1831 DEVEX-1819 DEVEX-1820 DEVEX-1838 DEVEX-1854: Add/Update endpoints
2 parents 0660ccf + 1ed7751 commit ed69315

17 files changed

+12177
-8253
lines changed

api/defaultApi.ts

Lines changed: 11061 additions & 7617 deletions
Large diffs are not rendered by default.

model/RoleAppResponse.ts

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
/**
2+
* OneLogin API
3+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4+
*
5+
* The version of the OpenAPI document: 3.0.0-alpha.1
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*/
12+
13+
export class RoleAppResponse {
14+
/**
15+
* Apps unique ID in OneLogin.
16+
*/
17+
"id"?: number;
18+
/**
19+
* App name.
20+
*/
21+
"name"?: string;
22+
/**
23+
* A link to the apps icon url.
24+
*/
25+
"iconUrl"?: string;
26+
27+
static discriminator: string | undefined = undefined;
28+
29+
static attributeTypeMap: Array<{
30+
name: string;
31+
baseName: string;
32+
type: string;
33+
}> = [
34+
{
35+
name: "id",
36+
baseName: "id",
37+
type: "number",
38+
},
39+
{
40+
name: "name",
41+
baseName: "name",
42+
type: "string",
43+
},
44+
{
45+
name: "iconUrl",
46+
baseName: "icon_url",
47+
type: "string",
48+
},
49+
];
50+
51+
static getAttributeTypeMap() {
52+
return RoleAppResponse.attributeTypeMap;
53+
}
54+
}

model/action.ts

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,7 @@ export class Action {
2525
* A regular expression to extract a value. Applies to provisionable, multi-selects, and string actions.
2626
*/
2727
'expression'?: string;
28-
/**
29-
* A hash containing scriptlet code that returns a value.
30-
*/
31-
'scriplet'?: string;
32-
/**
33-
* A template to construct a value. Applies to default, string, and list actions.
34-
*/
35-
'macro'?: string;
28+
3629

3730
static discriminator: string | undefined = undefined;
3831

@@ -52,16 +45,7 @@ export class Action {
5245
"baseName": "expression",
5346
"type": "string"
5447
},
55-
{
56-
"name": "scriplet",
57-
"baseName": "scriplet",
58-
"type": "string"
59-
},
60-
{
61-
"name": "macro",
62-
"baseName": "macro",
63-
"type": "string"
64-
} ];
48+
];
6549

6650
static getAttributeTypeMap() {
6751
return Action.attributeTypeMap;

model/createAuthorizationServerRequest.ts

Lines changed: 31 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3,42 +3,46 @@
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
55
* The version of the OpenAPI document: 3.0.0-alpha.1
6-
*
6+
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech
1010
* Do not edit the class manually.
1111
*/
1212

13-
import { RequestFile } from './models';
14-
import { AuthServerConfiguration } from './authServerConfiguration';
13+
import { AuthServerConfiguration } from "./authServerConfiguration";
14+
import { RequestFile } from "./models";
1515

1616
export class CreateAuthorizationServerRequest {
17-
'name'?: string;
18-
'description'?: string;
19-
'configuration'?: AuthServerConfiguration;
17+
"name"?: string;
18+
"description"?: string;
19+
"configuration"?: AuthServerConfiguration;
2020

21-
static discriminator: string | undefined = undefined;
21+
static discriminator: string | undefined = undefined;
2222

23-
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
24-
{
25-
"name": "name",
26-
"baseName": "name",
27-
"type": "string"
28-
},
29-
{
30-
"name": "description",
31-
"baseName": "description",
32-
"type": "string"
33-
},
34-
{
35-
"name": "configuration",
36-
"baseName": "configuration",
37-
"type": "AuthServerConfiguration"
38-
} ];
23+
static attributeTypeMap: Array<{
24+
name: string;
25+
baseName: string;
26+
type: string;
27+
}> = [
28+
{
29+
name: "name",
30+
baseName: "name",
31+
type: "string",
32+
},
33+
{
34+
name: "description",
35+
baseName: "description",
36+
type: "string",
37+
},
38+
{
39+
name: "configuration",
40+
baseName: "configuration",
41+
type: "AuthServerConfiguration",
42+
},
43+
];
3944

40-
static getAttributeTypeMap() {
41-
return CreateAuthorizationServerRequest.attributeTypeMap;
42-
}
45+
static getAttributeTypeMap() {
46+
return CreateAuthorizationServerRequest.attributeTypeMap;
47+
}
4348
}
44-

model/getAuthorizationServer200Response.ts

Lines changed: 43 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -3,48 +3,58 @@
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
55
* The version of the OpenAPI document: 3.0.0-alpha.1
6-
*
6+
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech
1010
* Do not edit the class manually.
1111
*/
1212

13-
import { RequestFile } from './models';
14-
import { AuthServerConfiguration } from './authServerConfiguration';
13+
import { AuthServerConfiguration } from "./authServerConfiguration";
14+
import { RequestFile } from "./models";
1515

1616
export class GetAuthorizationServer200Response {
17-
'configuration'?: AuthServerConfiguration;
18-
'id'?: number;
19-
'description'?: string;
20-
'name'?: string;
17+
"configuration"?: AuthServerConfiguration;
18+
"id"?: number;
19+
"description"?: string;
20+
"name"?: string;
21+
"onelogin"?: boolean;
2122

22-
static discriminator: string | undefined = undefined;
23+
static discriminator: string | undefined = undefined;
2324

24-
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
25-
{
26-
"name": "configuration",
27-
"baseName": "configuration",
28-
"type": "AuthServerConfiguration"
29-
},
30-
{
31-
"name": "id",
32-
"baseName": "id",
33-
"type": "number"
34-
},
35-
{
36-
"name": "description",
37-
"baseName": "description",
38-
"type": "string"
39-
},
40-
{
41-
"name": "name",
42-
"baseName": "name",
43-
"type": "string"
44-
} ];
25+
static attributeTypeMap: Array<{
26+
name: string;
27+
baseName: string;
28+
type: string;
29+
}> = [
30+
{
31+
name: "configuration",
32+
baseName: "configuration",
33+
type: "AuthServerConfiguration",
34+
},
35+
{
36+
name: "id",
37+
baseName: "id",
38+
type: "number",
39+
},
40+
{
41+
name: "description",
42+
baseName: "description",
43+
type: "string",
44+
},
45+
{
46+
name: "name",
47+
baseName: "name",
48+
type: "string",
49+
},
50+
{
51+
name: "onelogin",
52+
baseName: "onelogin",
53+
type: "boolean",
54+
},
55+
];
4556

46-
static getAttributeTypeMap() {
47-
return GetAuthorizationServer200Response.attributeTypeMap;
48-
}
57+
static getAttributeTypeMap() {
58+
return GetAuthorizationServer200Response.attributeTypeMap;
59+
}
4960
}
50-

model/getClientApps200ResponseInnerScopesInner.ts

Lines changed: 36 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,41 +3,51 @@
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
55
* The version of the OpenAPI document: 3.0.0-alpha.1
6-
*
6+
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech
1010
* Do not edit the class manually.
1111
*/
1212

13-
import { RequestFile } from './models';
13+
import { RequestFile } from "./models";
1414

1515
export class GetClientApps200ResponseInnerScopesInner {
16-
'description'?: string;
17-
'value'?: string;
18-
'id'?: number;
16+
"description"?: string;
17+
"value"?: string;
18+
"id"?: number;
19+
"inherited"?: boolean;
1920

20-
static discriminator: string | undefined = undefined;
21+
static discriminator: string | undefined = undefined;
2122

22-
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
23-
{
24-
"name": "description",
25-
"baseName": "description",
26-
"type": "string"
27-
},
28-
{
29-
"name": "value",
30-
"baseName": "value",
31-
"type": "string"
32-
},
33-
{
34-
"name": "id",
35-
"baseName": "id",
36-
"type": "number"
37-
} ];
23+
static attributeTypeMap: Array<{
24+
name: string;
25+
baseName: string;
26+
type: string;
27+
}> = [
28+
{
29+
name: "description",
30+
baseName: "description",
31+
type: "string",
32+
},
33+
{
34+
name: "value",
35+
baseName: "value",
36+
type: "string",
37+
},
38+
{
39+
name: "id",
40+
baseName: "id",
41+
type: "number",
42+
},
43+
{
44+
name: "inherited",
45+
baseName: "inherited",
46+
type: "boolean",
47+
},
48+
];
3849

39-
static getAttributeTypeMap() {
40-
return GetClientApps200ResponseInnerScopesInner.attributeTypeMap;
41-
}
50+
static getAttributeTypeMap() {
51+
return GetClientApps200ResponseInnerScopesInner.attributeTypeMap;
52+
}
4253
}
43-

0 commit comments

Comments
 (0)