Skip to content

Commit d0b40b7

Browse files
author
RutujaAwate122
authored
Merge pull request #29 from onelogin/DEVEX-onelogin-node-sdk
DEVEX-1867 & DEVEX-1864
2 parents 081f798 + 8a3d411 commit d0b40b7

20 files changed

+4242
-0
lines changed

api/defaultApi.ts

Lines changed: 3211 additions & 0 deletions
Large diffs are not rendered by default.

model/MessageTemplate.ts

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
2+
export class MessageTemplate {
3+
/**
4+
* Status of the response.
5+
*/
6+
'type'?: string;
7+
/**
8+
* Data array containing the items.
9+
*/
10+
'locale'?: string;
11+
12+
'template'?: object;
13+
'templateClass'?: string;
14+
15+
'accountId'?: number;
16+
17+
'updatedAt'?: string;
18+
19+
'default'?: boolean;
20+
21+
'brandId'?: number;
22+
23+
24+
static discriminator: string | undefined = undefined;
25+
26+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
27+
{
28+
"name": "type",
29+
"baseName": "type",
30+
"type": "MessageTemplateSchema.TypeEnum"
31+
},
32+
{
33+
"name": "locale",
34+
"baseName": "locale",
35+
"type": "string"
36+
},
37+
{
38+
"name": "template",
39+
"baseName": "template",
40+
"type": "object"
41+
},
42+
{
43+
"name": "templateClass",
44+
"baseName": "template_class",
45+
"type": "string"
46+
},
47+
{
48+
"name": "accountId",
49+
"baseName": "account_id",
50+
"type": "number"
51+
},
52+
{
53+
"name": "updatedAt",
54+
"baseName": "updated_at",
55+
"type": "string"
56+
},
57+
{
58+
"name": "default",
59+
"baseName": "default",
60+
"type": "boolean"
61+
},{
62+
"name": "brandId",
63+
"baseName": "brand_id",
64+
"type": "number"
65+
}
66+
];
67+
68+
static getAttributeTypeMap() {
69+
return MessageTemplate.attributeTypeMap;
70+
}
71+
}
72+
73+

model/MessageTemplateType.ts

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
2+
3+
4+
export class MessageTemplateType {
5+
/**
6+
* Status of the response.
7+
*/
8+
'type'?: string;
9+
/**
10+
* Data array containing the items.
11+
*/
12+
'locale'?: string;
13+
14+
'template'?: object;
15+
16+
'templateClass'?: string;
17+
18+
static discriminator: string | undefined = undefined;
19+
20+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
21+
{
22+
"name": "type",
23+
"baseName": "type",
24+
"type": "string"
25+
},
26+
{
27+
"name": "locale",
28+
"baseName": "locale",
29+
"type": "string"
30+
},
31+
{
32+
"name": "template",
33+
"baseName": "template",
34+
"type": "object"
35+
},
36+
{
37+
"name": "templateClass",
38+
"baseName": "template_class",
39+
"type": "string"
40+
}
41+
];
42+
43+
static getAttributeTypeMap() {
44+
return MessageTemplateType.attributeTypeMap;
45+
}
46+
}
47+
48+

model/accountBrand.ts

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
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+
import { RequestFile } from './models';
14+
15+
export class AccountBrand {
16+
/**
17+
* id of bands
18+
*/
19+
'enabled'?: boolean;
20+
/**
21+
* enabled or disabled
22+
*/
23+
'name'?: boolean;
24+
/**
25+
* name of brans
26+
*/
27+
'customSupportEnabled'?: string;
28+
29+
/**
30+
* name of brans
31+
*/
32+
'customColor'?: boolean;
33+
34+
/**
35+
* name of brans
36+
*/
37+
'customAccentColor'?: string;
38+
39+
'customMaskingOpacity'? : number;
40+
41+
'enableCustomLabelForLoginScreen'?: boolean;
42+
43+
'customLabelTextForLoginScreen'?: string;
44+
45+
'loginInstructionTitle'?: string;
46+
47+
'loginInstruction'? : string;
48+
49+
'hide_onelogin_footer'?: boolean;
50+
51+
'mfaEnrollmentMessage'?: string;
52+
53+
'background'?: string;
54+
55+
'logo'?: string;
56+
57+
58+
59+
static discriminator: string | undefined = undefined;
60+
61+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
62+
{
63+
"name": "enabled",
64+
"baseName": "enabled",
65+
"type": "boolean"
66+
},
67+
{
68+
"name": "name",
69+
"baseName": "name",
70+
"type": "string"
71+
},
72+
{
73+
"name": "customSupportEnabled",
74+
"baseName": "custom_support_enabled",
75+
"type": "string"
76+
},
77+
{
78+
"name": "customColor",
79+
"baseName": "custom_color",
80+
"type": "sting"
81+
},
82+
{
83+
"name": "customAccentColor",
84+
"baseName": "custom_accent_color",
85+
"type": "string"
86+
},
87+
{
88+
"name": "customMaskingOpacity",
89+
"baseName": "custom_masking_opacity",
90+
"type": "number"
91+
},
92+
{
93+
"name": "enable_custom_label_for_login_screen",
94+
"baseName": "enable_custom_label_for_login_screen",
95+
"type": "boolean"
96+
},
97+
{
98+
"name": "custom_label_text_for_login_screen",
99+
"baseName": "custom_label_text_for_login_screen",
100+
"type": "sting"
101+
},
102+
{
103+
"name": "loginInstructionTitle",
104+
"baseName": "login_instruction_title",
105+
"type": "sting"
106+
},
107+
{
108+
"name": "loginInstruction",
109+
"baseName": "login_instruction",
110+
"type": "sting"
111+
},
112+
{
113+
"name": "hideOneloginFooter",
114+
"baseName": "hide_onelogin_footer",
115+
"type": "boolean"
116+
},
117+
{
118+
"name": "mfa_enrollment_message",
119+
"baseName": "mfa_enrollment_message",
120+
"type": "string"
121+
},
122+
{
123+
"name": "background",
124+
"baseName": "background",
125+
"type": "string"
126+
},
127+
{
128+
"name": "logo",
129+
"baseName": "logo",
130+
"type": "string"
131+
},
132+
];
133+
134+
static getAttributeTypeMap() {
135+
return AccountBrand.attributeTypeMap;
136+
}
137+
}
138+
139+

0 commit comments

Comments
 (0)