@equisoft/equisoft-connect-sdk-typescript 11.0.8-snapshot.20221222135309 → 11.0.8
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 +0 -1
- package/dist/models/LegacyProvisioningUserPayload.d.ts +19 -4
- package/dist/models/LegacyProvisioningUserPayload.js +3 -0
- package/dist/models/UsersUser.d.ts +6 -25
- package/dist/models/UsersUser.js +3 -11
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/package.json +1 -1
- package/src/models/LegacyProvisioningUserPayload.ts +26 -4
- package/src/models/UsersUser.ts +9 -40
- package/src/models/index.ts +0 -1
- package/dist/models/UsersUserGroup.d.ts +0 -37
- package/dist/models/UsersUserGroup.js +0 -53
- package/src/models/UsersUserGroup.ts +0 -75
package/.openapi-generator/FILES
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { LegacyContactAddress } from './LegacyContactAddress';
|
|
13
|
+
import type { LegacyProvisioningUserIdentifier } from './LegacyProvisioningUserIdentifier';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -57,29 +58,43 @@ export interface LegacyProvisioningUserPayload {
|
|
|
57
58
|
*/
|
|
58
59
|
concurrentAccess?: number;
|
|
59
60
|
/**
|
|
60
|
-
*
|
|
61
|
+
* User initial password.
|
|
62
|
+
* A random password will be set if none is specified and noPassword option is not used.
|
|
61
63
|
* @type {string}
|
|
62
64
|
* @memberof LegacyProvisioningUserPayload
|
|
63
65
|
*/
|
|
64
66
|
password?: string;
|
|
65
67
|
/**
|
|
66
|
-
*
|
|
68
|
+
* Disable password authentication.
|
|
69
|
+
* Accepts true or false.
|
|
70
|
+
* Default false
|
|
67
71
|
* @type {string}
|
|
68
72
|
* @memberof LegacyProvisioningUserPayload
|
|
69
73
|
*/
|
|
70
74
|
noPassword?: string;
|
|
71
75
|
/**
|
|
72
|
-
*
|
|
76
|
+
* The user will be ask to define a new password on the first login
|
|
77
|
+
* Accepts true or false.
|
|
78
|
+
* Default true
|
|
73
79
|
* @type {string}
|
|
74
80
|
* @memberof LegacyProvisioningUserPayload
|
|
75
81
|
*/
|
|
76
82
|
requirePasswordChange?: string;
|
|
77
83
|
/**
|
|
78
|
-
*
|
|
84
|
+
* Enable Mobile version.
|
|
85
|
+
* Deprecated: the mobile is not enabled per user anymore.
|
|
86
|
+
* Accepts true or false.
|
|
87
|
+
* Default false
|
|
79
88
|
* @type {string}
|
|
80
89
|
* @memberof LegacyProvisioningUserPayload
|
|
81
90
|
*/
|
|
82
91
|
enableMobile?: string;
|
|
92
|
+
/**
|
|
93
|
+
* List of identifier to uniquely identify the user.
|
|
94
|
+
* @type {Array<LegacyProvisioningUserIdentifier>}
|
|
95
|
+
* @memberof LegacyProvisioningUserPayload
|
|
96
|
+
*/
|
|
97
|
+
externalIdentifiers?: Array<LegacyProvisioningUserIdentifier>;
|
|
83
98
|
/**
|
|
84
99
|
* Allow the user to delegate access to his data
|
|
85
100
|
* Accepts true or false.
|
|
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.LegacyProvisioningUserPayloadToJSON = exports.LegacyProvisioningUserPayloadFromJSONTyped = exports.LegacyProvisioningUserPayloadFromJSON = exports.instanceOfLegacyProvisioningUserPayload = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const LegacyContactAddress_1 = require("./LegacyContactAddress");
|
|
19
|
+
const LegacyProvisioningUserIdentifier_1 = require("./LegacyProvisioningUserIdentifier");
|
|
19
20
|
/**
|
|
20
21
|
* Check if a given object implements the LegacyProvisioningUserPayload interface.
|
|
21
22
|
*/
|
|
@@ -43,6 +44,7 @@ function LegacyProvisioningUserPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
44
|
'noPassword': !runtime_1.exists(json, 'noPassword') ? undefined : json['noPassword'],
|
|
44
45
|
'requirePasswordChange': !runtime_1.exists(json, 'requirePasswordChange') ? undefined : json['requirePasswordChange'],
|
|
45
46
|
'enableMobile': !runtime_1.exists(json, 'enableMobile') ? undefined : json['enableMobile'],
|
|
47
|
+
'externalIdentifiers': !runtime_1.exists(json, 'externalIdentifiers') ? undefined : (json['externalIdentifiers'].map(LegacyProvisioningUserIdentifier_1.LegacyProvisioningUserIdentifierFromJSON)),
|
|
46
48
|
'allowDelegation': !runtime_1.exists(json, 'allowDelegation') ? undefined : json['allowDelegation'],
|
|
47
49
|
'gender': !runtime_1.exists(json, 'gender') ? undefined : json['gender'],
|
|
48
50
|
'phoneWork': !runtime_1.exists(json, 'phoneWork') ? undefined : json['phoneWork'],
|
|
@@ -74,6 +76,7 @@ function LegacyProvisioningUserPayloadToJSON(value) {
|
|
|
74
76
|
'noPassword': value.noPassword,
|
|
75
77
|
'requirePasswordChange': value.requirePasswordChange,
|
|
76
78
|
'enableMobile': value.enableMobile,
|
|
79
|
+
'externalIdentifiers': value.externalIdentifiers === undefined ? undefined : (value.externalIdentifiers.map(LegacyProvisioningUserIdentifier_1.LegacyProvisioningUserIdentifierToJSON)),
|
|
77
80
|
'allowDelegation': value.allowDelegation,
|
|
78
81
|
'gender': value.gender,
|
|
79
82
|
'phoneWork': value.phoneWork,
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { UsersUserGroup } from './UsersUserGroup';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -29,53 +28,35 @@ export interface UsersUser {
|
|
|
29
28
|
*/
|
|
30
29
|
displayName: string;
|
|
31
30
|
/**
|
|
32
|
-
* The user's
|
|
31
|
+
* The user's eMail address.
|
|
33
32
|
* @type {string}
|
|
34
33
|
* @memberof UsersUser
|
|
35
34
|
*/
|
|
36
|
-
|
|
35
|
+
email: string;
|
|
37
36
|
/**
|
|
38
|
-
* The user's
|
|
37
|
+
* The user's first name.
|
|
39
38
|
* @type {string}
|
|
40
39
|
* @memberof UsersUser
|
|
41
40
|
*/
|
|
42
|
-
|
|
41
|
+
firstName: string;
|
|
43
42
|
/**
|
|
44
|
-
* The user's
|
|
43
|
+
* The user's last name.
|
|
45
44
|
* @type {string}
|
|
46
45
|
* @memberof UsersUser
|
|
47
46
|
*/
|
|
48
|
-
|
|
47
|
+
lastName: string;
|
|
49
48
|
/**
|
|
50
49
|
* The user's preferred locale.
|
|
51
50
|
* @type {string}
|
|
52
51
|
* @memberof UsersUser
|
|
53
52
|
*/
|
|
54
53
|
locale: string;
|
|
55
|
-
/**
|
|
56
|
-
* The user's eMail address.
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof UsersUser
|
|
59
|
-
*/
|
|
60
|
-
email: string;
|
|
61
54
|
/**
|
|
62
55
|
* The user's role.
|
|
63
56
|
* @type {string}
|
|
64
57
|
* @memberof UsersUser
|
|
65
58
|
*/
|
|
66
59
|
role: string;
|
|
67
|
-
/**
|
|
68
|
-
* Whether the user can delegate ACL to other users
|
|
69
|
-
* @type {boolean}
|
|
70
|
-
* @memberof UsersUser
|
|
71
|
-
*/
|
|
72
|
-
aclDelegationAllowed?: boolean;
|
|
73
|
-
/**
|
|
74
|
-
* User groups
|
|
75
|
-
* @type {Array<UsersUserGroup>}
|
|
76
|
-
* @memberof UsersUser
|
|
77
|
-
*/
|
|
78
|
-
groups?: Array<UsersUserGroup>;
|
|
79
60
|
}
|
|
80
61
|
/**
|
|
81
62
|
* Check if a given object implements the UsersUser interface.
|
package/dist/models/UsersUser.js
CHANGED
|
@@ -14,8 +14,6 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.UsersUserToJSON = exports.UsersUserFromJSONTyped = exports.UsersUserFromJSON = exports.instanceOfUsersUser = void 0;
|
|
17
|
-
const runtime_1 = require("../runtime");
|
|
18
|
-
const UsersUserGroup_1 = require("./UsersUserGroup");
|
|
19
17
|
/**
|
|
20
18
|
* Check if a given object implements the UsersUser interface.
|
|
21
19
|
*/
|
|
@@ -23,10 +21,10 @@ function instanceOfUsersUser(value) {
|
|
|
23
21
|
let isInstance = true;
|
|
24
22
|
isInstance = isInstance && "id" in value;
|
|
25
23
|
isInstance = isInstance && "displayName" in value;
|
|
24
|
+
isInstance = isInstance && "email" in value;
|
|
26
25
|
isInstance = isInstance && "firstName" in value;
|
|
27
26
|
isInstance = isInstance && "lastName" in value;
|
|
28
27
|
isInstance = isInstance && "locale" in value;
|
|
29
|
-
isInstance = isInstance && "email" in value;
|
|
30
28
|
isInstance = isInstance && "role" in value;
|
|
31
29
|
return isInstance;
|
|
32
30
|
}
|
|
@@ -42,14 +40,11 @@ function UsersUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
40
|
return {
|
|
43
41
|
'id': json['id'],
|
|
44
42
|
'displayName': json['displayName'],
|
|
43
|
+
'email': json['email'],
|
|
45
44
|
'firstName': json['firstName'],
|
|
46
45
|
'lastName': json['lastName'],
|
|
47
|
-
'initials': !runtime_1.exists(json, 'initials') ? undefined : json['initials'],
|
|
48
46
|
'locale': json['locale'],
|
|
49
|
-
'email': json['email'],
|
|
50
47
|
'role': json['role'],
|
|
51
|
-
'aclDelegationAllowed': !runtime_1.exists(json, 'aclDelegationAllowed') ? undefined : json['aclDelegationAllowed'],
|
|
52
|
-
'groups': !runtime_1.exists(json, 'groups') ? undefined : (json['groups'].map(UsersUserGroup_1.UsersUserGroupFromJSON)),
|
|
53
48
|
};
|
|
54
49
|
}
|
|
55
50
|
exports.UsersUserFromJSONTyped = UsersUserFromJSONTyped;
|
|
@@ -63,14 +58,11 @@ function UsersUserToJSON(value) {
|
|
|
63
58
|
return {
|
|
64
59
|
'id': value.id,
|
|
65
60
|
'displayName': value.displayName,
|
|
61
|
+
'email': value.email,
|
|
66
62
|
'firstName': value.firstName,
|
|
67
63
|
'lastName': value.lastName,
|
|
68
|
-
'initials': value.initials,
|
|
69
64
|
'locale': value.locale,
|
|
70
|
-
'email': value.email,
|
|
71
65
|
'role': value.role,
|
|
72
|
-
'aclDelegationAllowed': value.aclDelegationAllowed,
|
|
73
|
-
'groups': value.groups === undefined ? undefined : (value.groups.map(UsersUserGroup_1.UsersUserGroupToJSON)),
|
|
74
66
|
};
|
|
75
67
|
}
|
|
76
68
|
exports.UsersUserToJSON = UsersUserToJSON;
|
package/dist/models/index.d.ts
CHANGED
package/dist/models/index.js
CHANGED
|
@@ -199,4 +199,3 @@ __exportStar(require("./UsersListUsersResponse"), exports);
|
|
|
199
199
|
__exportStar(require("./UsersRole"), exports);
|
|
200
200
|
__exportStar(require("./UsersUpdateUserPayload"), exports);
|
|
201
201
|
__exportStar(require("./UsersUser"), exports);
|
|
202
|
-
__exportStar(require("./UsersUserGroup"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equisoft/equisoft-connect-sdk-typescript",
|
|
3
|
-
"version": "11.0.8
|
|
3
|
+
"version": "11.0.8",
|
|
4
4
|
"description": "OpenAPI client for @equisoft/equisoft-connect-sdk-typescript",
|
|
5
5
|
"author": "OpenAPI-Generator",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -19,6 +19,12 @@ import {
|
|
|
19
19
|
LegacyContactAddressFromJSONTyped,
|
|
20
20
|
LegacyContactAddressToJSON,
|
|
21
21
|
} from './LegacyContactAddress';
|
|
22
|
+
import type { LegacyProvisioningUserIdentifier } from './LegacyProvisioningUserIdentifier';
|
|
23
|
+
import {
|
|
24
|
+
LegacyProvisioningUserIdentifierFromJSON,
|
|
25
|
+
LegacyProvisioningUserIdentifierFromJSONTyped,
|
|
26
|
+
LegacyProvisioningUserIdentifierToJSON,
|
|
27
|
+
} from './LegacyProvisioningUserIdentifier';
|
|
22
28
|
|
|
23
29
|
/**
|
|
24
30
|
*
|
|
@@ -67,29 +73,43 @@ export interface LegacyProvisioningUserPayload {
|
|
|
67
73
|
*/
|
|
68
74
|
concurrentAccess?: number;
|
|
69
75
|
/**
|
|
70
|
-
*
|
|
76
|
+
* User initial password.
|
|
77
|
+
* A random password will be set if none is specified and noPassword option is not used.
|
|
71
78
|
* @type {string}
|
|
72
79
|
* @memberof LegacyProvisioningUserPayload
|
|
73
80
|
*/
|
|
74
81
|
password?: string;
|
|
75
82
|
/**
|
|
76
|
-
*
|
|
83
|
+
* Disable password authentication.
|
|
84
|
+
* Accepts true or false.
|
|
85
|
+
* Default false
|
|
77
86
|
* @type {string}
|
|
78
87
|
* @memberof LegacyProvisioningUserPayload
|
|
79
88
|
*/
|
|
80
89
|
noPassword?: string;
|
|
81
90
|
/**
|
|
82
|
-
*
|
|
91
|
+
* The user will be ask to define a new password on the first login
|
|
92
|
+
* Accepts true or false.
|
|
93
|
+
* Default true
|
|
83
94
|
* @type {string}
|
|
84
95
|
* @memberof LegacyProvisioningUserPayload
|
|
85
96
|
*/
|
|
86
97
|
requirePasswordChange?: string;
|
|
87
98
|
/**
|
|
88
|
-
*
|
|
99
|
+
* Enable Mobile version.
|
|
100
|
+
* Deprecated: the mobile is not enabled per user anymore.
|
|
101
|
+
* Accepts true or false.
|
|
102
|
+
* Default false
|
|
89
103
|
* @type {string}
|
|
90
104
|
* @memberof LegacyProvisioningUserPayload
|
|
91
105
|
*/
|
|
92
106
|
enableMobile?: string;
|
|
107
|
+
/**
|
|
108
|
+
* List of identifier to uniquely identify the user.
|
|
109
|
+
* @type {Array<LegacyProvisioningUserIdentifier>}
|
|
110
|
+
* @memberof LegacyProvisioningUserPayload
|
|
111
|
+
*/
|
|
112
|
+
externalIdentifiers?: Array<LegacyProvisioningUserIdentifier>;
|
|
93
113
|
/**
|
|
94
114
|
* Allow the user to delegate access to his data
|
|
95
115
|
* Accepts true or false.
|
|
@@ -187,6 +207,7 @@ export function LegacyProvisioningUserPayloadFromJSONTyped(json: any, ignoreDisc
|
|
|
187
207
|
'noPassword': !exists(json, 'noPassword') ? undefined : json['noPassword'],
|
|
188
208
|
'requirePasswordChange': !exists(json, 'requirePasswordChange') ? undefined : json['requirePasswordChange'],
|
|
189
209
|
'enableMobile': !exists(json, 'enableMobile') ? undefined : json['enableMobile'],
|
|
210
|
+
'externalIdentifiers': !exists(json, 'externalIdentifiers') ? undefined : ((json['externalIdentifiers'] as Array<any>).map(LegacyProvisioningUserIdentifierFromJSON)),
|
|
190
211
|
'allowDelegation': !exists(json, 'allowDelegation') ? undefined : json['allowDelegation'],
|
|
191
212
|
'gender': !exists(json, 'gender') ? undefined : json['gender'],
|
|
192
213
|
'phoneWork': !exists(json, 'phoneWork') ? undefined : json['phoneWork'],
|
|
@@ -219,6 +240,7 @@ export function LegacyProvisioningUserPayloadToJSON(value?: LegacyProvisioningUs
|
|
|
219
240
|
'noPassword': value.noPassword,
|
|
220
241
|
'requirePasswordChange': value.requirePasswordChange,
|
|
221
242
|
'enableMobile': value.enableMobile,
|
|
243
|
+
'externalIdentifiers': value.externalIdentifiers === undefined ? undefined : ((value.externalIdentifiers as Array<any>).map(LegacyProvisioningUserIdentifierToJSON)),
|
|
222
244
|
'allowDelegation': value.allowDelegation,
|
|
223
245
|
'gender': value.gender,
|
|
224
246
|
'phoneWork': value.phoneWork,
|
package/src/models/UsersUser.ts
CHANGED
|
@@ -13,13 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
-
import type { UsersUserGroup } from './UsersUserGroup';
|
|
17
|
-
import {
|
|
18
|
-
UsersUserGroupFromJSON,
|
|
19
|
-
UsersUserGroupFromJSONTyped,
|
|
20
|
-
UsersUserGroupToJSON,
|
|
21
|
-
} from './UsersUserGroup';
|
|
22
|
-
|
|
23
16
|
/**
|
|
24
17
|
*
|
|
25
18
|
* @export
|
|
@@ -39,53 +32,35 @@ export interface UsersUser {
|
|
|
39
32
|
*/
|
|
40
33
|
displayName: string;
|
|
41
34
|
/**
|
|
42
|
-
* The user's
|
|
35
|
+
* The user's eMail address.
|
|
43
36
|
* @type {string}
|
|
44
37
|
* @memberof UsersUser
|
|
45
38
|
*/
|
|
46
|
-
|
|
39
|
+
email: string;
|
|
47
40
|
/**
|
|
48
|
-
* The user's
|
|
41
|
+
* The user's first name.
|
|
49
42
|
* @type {string}
|
|
50
43
|
* @memberof UsersUser
|
|
51
44
|
*/
|
|
52
|
-
|
|
45
|
+
firstName: string;
|
|
53
46
|
/**
|
|
54
|
-
* The user's
|
|
47
|
+
* The user's last name.
|
|
55
48
|
* @type {string}
|
|
56
49
|
* @memberof UsersUser
|
|
57
50
|
*/
|
|
58
|
-
|
|
51
|
+
lastName: string;
|
|
59
52
|
/**
|
|
60
53
|
* The user's preferred locale.
|
|
61
54
|
* @type {string}
|
|
62
55
|
* @memberof UsersUser
|
|
63
56
|
*/
|
|
64
57
|
locale: string;
|
|
65
|
-
/**
|
|
66
|
-
* The user's eMail address.
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof UsersUser
|
|
69
|
-
*/
|
|
70
|
-
email: string;
|
|
71
58
|
/**
|
|
72
59
|
* The user's role.
|
|
73
60
|
* @type {string}
|
|
74
61
|
* @memberof UsersUser
|
|
75
62
|
*/
|
|
76
63
|
role: string;
|
|
77
|
-
/**
|
|
78
|
-
* Whether the user can delegate ACL to other users
|
|
79
|
-
* @type {boolean}
|
|
80
|
-
* @memberof UsersUser
|
|
81
|
-
*/
|
|
82
|
-
aclDelegationAllowed?: boolean;
|
|
83
|
-
/**
|
|
84
|
-
* User groups
|
|
85
|
-
* @type {Array<UsersUserGroup>}
|
|
86
|
-
* @memberof UsersUser
|
|
87
|
-
*/
|
|
88
|
-
groups?: Array<UsersUserGroup>;
|
|
89
64
|
}
|
|
90
65
|
|
|
91
66
|
/**
|
|
@@ -95,10 +70,10 @@ export function instanceOfUsersUser(value: object): boolean {
|
|
|
95
70
|
let isInstance = true;
|
|
96
71
|
isInstance = isInstance && "id" in value;
|
|
97
72
|
isInstance = isInstance && "displayName" in value;
|
|
73
|
+
isInstance = isInstance && "email" in value;
|
|
98
74
|
isInstance = isInstance && "firstName" in value;
|
|
99
75
|
isInstance = isInstance && "lastName" in value;
|
|
100
76
|
isInstance = isInstance && "locale" in value;
|
|
101
|
-
isInstance = isInstance && "email" in value;
|
|
102
77
|
isInstance = isInstance && "role" in value;
|
|
103
78
|
|
|
104
79
|
return isInstance;
|
|
@@ -116,14 +91,11 @@ export function UsersUserFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
116
91
|
|
|
117
92
|
'id': json['id'],
|
|
118
93
|
'displayName': json['displayName'],
|
|
94
|
+
'email': json['email'],
|
|
119
95
|
'firstName': json['firstName'],
|
|
120
96
|
'lastName': json['lastName'],
|
|
121
|
-
'initials': !exists(json, 'initials') ? undefined : json['initials'],
|
|
122
97
|
'locale': json['locale'],
|
|
123
|
-
'email': json['email'],
|
|
124
98
|
'role': json['role'],
|
|
125
|
-
'aclDelegationAllowed': !exists(json, 'aclDelegationAllowed') ? undefined : json['aclDelegationAllowed'],
|
|
126
|
-
'groups': !exists(json, 'groups') ? undefined : ((json['groups'] as Array<any>).map(UsersUserGroupFromJSON)),
|
|
127
99
|
};
|
|
128
100
|
}
|
|
129
101
|
|
|
@@ -138,14 +110,11 @@ export function UsersUserToJSON(value?: UsersUser | null): any {
|
|
|
138
110
|
|
|
139
111
|
'id': value.id,
|
|
140
112
|
'displayName': value.displayName,
|
|
113
|
+
'email': value.email,
|
|
141
114
|
'firstName': value.firstName,
|
|
142
115
|
'lastName': value.lastName,
|
|
143
|
-
'initials': value.initials,
|
|
144
116
|
'locale': value.locale,
|
|
145
|
-
'email': value.email,
|
|
146
117
|
'role': value.role,
|
|
147
|
-
'aclDelegationAllowed': value.aclDelegationAllowed,
|
|
148
|
-
'groups': value.groups === undefined ? undefined : ((value.groups as Array<any>).map(UsersUserGroupToJSON)),
|
|
149
118
|
};
|
|
150
119
|
}
|
|
151
120
|
|
package/src/models/index.ts
CHANGED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Equisoft /connect API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: latest
|
|
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 UsersUserGroup
|
|
16
|
-
*/
|
|
17
|
-
export interface UsersUserGroup {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof UsersUserGroup
|
|
22
|
-
*/
|
|
23
|
-
id: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof UsersUserGroup
|
|
28
|
-
*/
|
|
29
|
-
displayName: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the UsersUserGroup interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfUsersUserGroup(value: object): boolean;
|
|
35
|
-
export declare function UsersUserGroupFromJSON(json: any): UsersUserGroup;
|
|
36
|
-
export declare function UsersUserGroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): UsersUserGroup;
|
|
37
|
-
export declare function UsersUserGroupToJSON(value?: UsersUserGroup | null): any;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Equisoft /connect API
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: latest
|
|
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 });
|
|
16
|
-
exports.UsersUserGroupToJSON = exports.UsersUserGroupFromJSONTyped = exports.UsersUserGroupFromJSON = exports.instanceOfUsersUserGroup = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the UsersUserGroup interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfUsersUserGroup(value) {
|
|
21
|
-
let isInstance = true;
|
|
22
|
-
isInstance = isInstance && "id" in value;
|
|
23
|
-
isInstance = isInstance && "displayName" in value;
|
|
24
|
-
return isInstance;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfUsersUserGroup = instanceOfUsersUserGroup;
|
|
27
|
-
function UsersUserGroupFromJSON(json) {
|
|
28
|
-
return UsersUserGroupFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.UsersUserGroupFromJSON = UsersUserGroupFromJSON;
|
|
31
|
-
function UsersUserGroupFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if ((json === undefined) || (json === null)) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'id': json['id'],
|
|
37
|
-
'displayName': json['displayName'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
exports.UsersUserGroupFromJSONTyped = UsersUserGroupFromJSONTyped;
|
|
41
|
-
function UsersUserGroupToJSON(value) {
|
|
42
|
-
if (value === undefined) {
|
|
43
|
-
return undefined;
|
|
44
|
-
}
|
|
45
|
-
if (value === null) {
|
|
46
|
-
return null;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'id': value.id,
|
|
50
|
-
'displayName': value.displayName,
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
exports.UsersUserGroupToJSON = UsersUserGroupToJSON;
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Equisoft /connect API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: latest
|
|
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
|
-
import { exists, mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface UsersUserGroup
|
|
20
|
-
*/
|
|
21
|
-
export interface UsersUserGroup {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof UsersUserGroup
|
|
26
|
-
*/
|
|
27
|
-
id: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof UsersUserGroup
|
|
32
|
-
*/
|
|
33
|
-
displayName: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the UsersUserGroup interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfUsersUserGroup(value: object): boolean {
|
|
40
|
-
let isInstance = true;
|
|
41
|
-
isInstance = isInstance && "id" in value;
|
|
42
|
-
isInstance = isInstance && "displayName" in value;
|
|
43
|
-
|
|
44
|
-
return isInstance;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export function UsersUserGroupFromJSON(json: any): UsersUserGroup {
|
|
48
|
-
return UsersUserGroupFromJSONTyped(json, false);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function UsersUserGroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): UsersUserGroup {
|
|
52
|
-
if ((json === undefined) || (json === null)) {
|
|
53
|
-
return json;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
|
|
57
|
-
'id': json['id'],
|
|
58
|
-
'displayName': json['displayName'],
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export function UsersUserGroupToJSON(value?: UsersUserGroup | null): any {
|
|
63
|
-
if (value === undefined) {
|
|
64
|
-
return undefined;
|
|
65
|
-
}
|
|
66
|
-
if (value === null) {
|
|
67
|
-
return null;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'id': value.id,
|
|
72
|
-
'displayName': value.displayName,
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|