@emilgroup/auth-sdk-node 1.0.0-beta.0 → 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +1 -0
- package/README.md +2 -2
- package/dist/models/create-org-and-user-response-class.d.ts +3 -2
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/organization-class.d.ts +102 -0
- package/dist/models/organization-class.js +15 -0
- package/models/create-org-and-user-response-class.ts +3 -2
- package/models/index.ts +1 -0
- package/models/organization-class.ts +108 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/auth-sdk-node@1.0.0-beta.
|
|
20
|
+
npm install @emilgroup/auth-sdk-node@1.0.0-beta.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/auth-sdk-node@1.0.0-beta.
|
|
24
|
+
yarn add @emilgroup/auth-sdk-node@1.0.0-beta.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import ``.
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { OrganizationClass } from './organization-class';
|
|
12
13
|
import { UserClass } from './user-class';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -18,10 +19,10 @@ import { UserClass } from './user-class';
|
|
|
18
19
|
export interface CreateOrgAndUserResponseClass {
|
|
19
20
|
/**
|
|
20
21
|
* Organization
|
|
21
|
-
* @type {
|
|
22
|
+
* @type {OrganizationClass}
|
|
22
23
|
* @memberof CreateOrgAndUserResponseClass
|
|
23
24
|
*/
|
|
24
|
-
'organization':
|
|
25
|
+
'organization': OrganizationClass;
|
|
25
26
|
/**
|
|
26
27
|
* User
|
|
27
28
|
* @type {UserClass}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './login-by-samlrequest-dto';
|
|
|
8
8
|
export * from './login-class';
|
|
9
9
|
export * from './login-request-dto';
|
|
10
10
|
export * from './logout-request-dto';
|
|
11
|
+
export * from './organization-class';
|
|
11
12
|
export * from './refresh-token-dto';
|
|
12
13
|
export * from './reset-password-request-dto';
|
|
13
14
|
export * from './role-class';
|
package/dist/models/index.js
CHANGED
|
@@ -24,6 +24,7 @@ __exportStar(require("./login-by-samlrequest-dto"), exports);
|
|
|
24
24
|
__exportStar(require("./login-class"), exports);
|
|
25
25
|
__exportStar(require("./login-request-dto"), exports);
|
|
26
26
|
__exportStar(require("./logout-request-dto"), exports);
|
|
27
|
+
__exportStar(require("./organization-class"), exports);
|
|
27
28
|
__exportStar(require("./refresh-token-dto"), exports);
|
|
28
29
|
__exportStar(require("./reset-password-request-dto"), exports);
|
|
29
30
|
__exportStar(require("./role-class"), exports);
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AuthService
|
|
3
|
+
* The EMIL AuthService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OrganizationClass
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof OrganizationClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OrganizationClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {object}
|
|
33
|
+
* @memberof OrganizationClass
|
|
34
|
+
*/
|
|
35
|
+
'parentId'?: object;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof OrganizationClass
|
|
40
|
+
*/
|
|
41
|
+
'email': string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof OrganizationClass
|
|
46
|
+
*/
|
|
47
|
+
'name': string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof OrganizationClass
|
|
52
|
+
*/
|
|
53
|
+
'type': string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof OrganizationClass
|
|
58
|
+
*/
|
|
59
|
+
'address': string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof OrganizationClass
|
|
64
|
+
*/
|
|
65
|
+
'zipCode': string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof OrganizationClass
|
|
70
|
+
*/
|
|
71
|
+
'city': string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof OrganizationClass
|
|
76
|
+
*/
|
|
77
|
+
'country': string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {object}
|
|
81
|
+
* @memberof OrganizationClass
|
|
82
|
+
*/
|
|
83
|
+
'customFields'?: object;
|
|
84
|
+
/**
|
|
85
|
+
* Time at which the object was created.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof OrganizationClass
|
|
88
|
+
*/
|
|
89
|
+
'createdAt': string;
|
|
90
|
+
/**
|
|
91
|
+
* Time at which the object was updated.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof OrganizationClass
|
|
94
|
+
*/
|
|
95
|
+
'updatedAt': string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof OrganizationClass
|
|
100
|
+
*/
|
|
101
|
+
'deletedAt'?: string;
|
|
102
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AuthService
|
|
6
|
+
* The EMIL AuthService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { OrganizationClass } from './organization-class';
|
|
16
17
|
import { UserClass } from './user-class';
|
|
17
18
|
|
|
18
19
|
/**
|
|
@@ -23,10 +24,10 @@ import { UserClass } from './user-class';
|
|
|
23
24
|
export interface CreateOrgAndUserResponseClass {
|
|
24
25
|
/**
|
|
25
26
|
* Organization
|
|
26
|
-
* @type {
|
|
27
|
+
* @type {OrganizationClass}
|
|
27
28
|
* @memberof CreateOrgAndUserResponseClass
|
|
28
29
|
*/
|
|
29
|
-
'organization':
|
|
30
|
+
'organization': OrganizationClass;
|
|
30
31
|
/**
|
|
31
32
|
* User
|
|
32
33
|
* @type {UserClass}
|
package/models/index.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './login-by-samlrequest-dto';
|
|
|
8
8
|
export * from './login-class';
|
|
9
9
|
export * from './login-request-dto';
|
|
10
10
|
export * from './logout-request-dto';
|
|
11
|
+
export * from './organization-class';
|
|
11
12
|
export * from './refresh-token-dto';
|
|
12
13
|
export * from './reset-password-request-dto';
|
|
13
14
|
export * from './role-class';
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AuthService
|
|
5
|
+
* The EMIL AuthService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface OrganizationClass
|
|
21
|
+
*/
|
|
22
|
+
export interface OrganizationClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof OrganizationClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof OrganizationClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {object}
|
|
38
|
+
* @memberof OrganizationClass
|
|
39
|
+
*/
|
|
40
|
+
'parentId'?: object;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof OrganizationClass
|
|
45
|
+
*/
|
|
46
|
+
'email': string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof OrganizationClass
|
|
51
|
+
*/
|
|
52
|
+
'name': string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof OrganizationClass
|
|
57
|
+
*/
|
|
58
|
+
'type': string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof OrganizationClass
|
|
63
|
+
*/
|
|
64
|
+
'address': string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof OrganizationClass
|
|
69
|
+
*/
|
|
70
|
+
'zipCode': string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof OrganizationClass
|
|
75
|
+
*/
|
|
76
|
+
'city': string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof OrganizationClass
|
|
81
|
+
*/
|
|
82
|
+
'country': string;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {object}
|
|
86
|
+
* @memberof OrganizationClass
|
|
87
|
+
*/
|
|
88
|
+
'customFields'?: object;
|
|
89
|
+
/**
|
|
90
|
+
* Time at which the object was created.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof OrganizationClass
|
|
93
|
+
*/
|
|
94
|
+
'createdAt': string;
|
|
95
|
+
/**
|
|
96
|
+
* Time at which the object was updated.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof OrganizationClass
|
|
99
|
+
*/
|
|
100
|
+
'updatedAt': string;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof OrganizationClass
|
|
105
|
+
*/
|
|
106
|
+
'deletedAt'?: string;
|
|
107
|
+
}
|
|
108
|
+
|