@equisoft/equisoft-connect-sdk-typescript 11.1.4 → 11.1.6-snapshot.20230118194207

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.
@@ -203,7 +203,6 @@ src/models/UsersListUsersResponse.ts
203
203
  src/models/UsersRole.ts
204
204
  src/models/UsersUpdateUserPayload.ts
205
205
  src/models/UsersUser.ts
206
- src/models/UsersUserGroup.ts
207
206
  src/models/index.ts
208
207
  src/runtime.ts
209
208
  tsconfig.esm.json
@@ -27,18 +27,6 @@ export interface GatewaysCredentials {
27
27
  * @memberof GatewaysCredentials
28
28
  */
29
29
  password: string | null;
30
- /**
31
- * FirstName
32
- * @type {string}
33
- * @memberof GatewaysCredentials
34
- */
35
- firstName?: string | null;
36
- /**
37
- * LastName
38
- * @type {string}
39
- * @memberof GatewaysCredentials
40
- */
41
- lastName?: string | null;
42
30
  /**
43
31
  * Rep code
44
32
  * @type {string}
@@ -36,8 +36,6 @@ function GatewaysCredentialsFromJSONTyped(json, ignoreDiscriminator) {
36
36
  return {
37
37
  'username': json['username'],
38
38
  'password': json['password'],
39
- 'firstName': !runtime_1.exists(json, 'firstName') ? undefined : json['firstName'],
40
- 'lastName': !runtime_1.exists(json, 'lastName') ? undefined : json['lastName'],
41
39
  'repcode': !runtime_1.exists(json, 'repcode') ? undefined : json['repcode'],
42
40
  'isADealerCode': !runtime_1.exists(json, 'isADealerCode') ? undefined : json['isADealerCode'],
43
41
  'dealerSystemName': !runtime_1.exists(json, 'dealerSystemName') ? undefined : json['dealerSystemName'],
@@ -54,8 +52,6 @@ function GatewaysCredentialsToJSON(value) {
54
52
  return {
55
53
  'username': value.username,
56
54
  'password': value.password,
57
- 'firstName': value.firstName,
58
- 'lastName': value.lastName,
59
55
  'repcode': value.repcode,
60
56
  'isADealerCode': value.isADealerCode,
61
57
  'dealerSystemName': value.dealerSystemName,
@@ -27,18 +27,6 @@ export interface GatewaysCredentialsWithSsn {
27
27
  * @memberof GatewaysCredentialsWithSsn
28
28
  */
29
29
  password: string | null;
30
- /**
31
- * FirstName
32
- * @type {string}
33
- * @memberof GatewaysCredentialsWithSsn
34
- */
35
- firstName?: string | null;
36
- /**
37
- * LastName
38
- * @type {string}
39
- * @memberof GatewaysCredentialsWithSsn
40
- */
41
- lastName?: string | null;
42
30
  /**
43
31
  * Rep code
44
32
  * @type {string}
@@ -36,8 +36,6 @@ function GatewaysCredentialsWithSsnFromJSONTyped(json, ignoreDiscriminator) {
36
36
  return {
37
37
  'username': json['username'],
38
38
  'password': json['password'],
39
- 'firstName': !runtime_1.exists(json, 'firstName') ? undefined : json['firstName'],
40
- 'lastName': !runtime_1.exists(json, 'lastName') ? undefined : json['lastName'],
41
39
  'repcode': !runtime_1.exists(json, 'repcode') ? undefined : json['repcode'],
42
40
  'isADealerCode': !runtime_1.exists(json, 'isADealerCode') ? undefined : json['isADealerCode'],
43
41
  'dealerSystemName': !runtime_1.exists(json, 'dealerSystemName') ? undefined : json['dealerSystemName'],
@@ -55,8 +53,6 @@ function GatewaysCredentialsWithSsnToJSON(value) {
55
53
  return {
56
54
  'username': value.username,
57
55
  'password': value.password,
58
- 'firstName': value.firstName,
59
- 'lastName': value.lastName,
60
56
  'repcode': value.repcode,
61
57
  'isADealerCode': value.isADealerCode,
62
58
  'dealerSystemName': value.dealerSystemName,
@@ -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
- * DEPRECATED this option does nothing
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
- * DEPRECATED this option does nothing
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
- * DEPRECATED this option does nothing
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
- * DEPRECATED this option does nothing
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 first name.
31
+ * The user's eMail address.
33
32
  * @type {string}
34
33
  * @memberof UsersUser
35
34
  */
36
- firstName: string;
35
+ email: string;
37
36
  /**
38
- * The user's last name.
37
+ * The user's first name.
39
38
  * @type {string}
40
39
  * @memberof UsersUser
41
40
  */
42
- lastName: string;
41
+ firstName: string;
43
42
  /**
44
- * The user's initials.
43
+ * The user's last name.
45
44
  * @type {string}
46
45
  * @memberof UsersUser
47
46
  */
48
- initials?: string;
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.
@@ -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;
@@ -185,4 +185,3 @@ export * from './UsersListUsersResponse';
185
185
  export * from './UsersRole';
186
186
  export * from './UsersUpdateUserPayload';
187
187
  export * from './UsersUser';
188
- export * from './UsersUserGroup';
@@ -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.1.4",
3
+ "version": "11.1.6-snapshot.20230118194207",
4
4
  "description": "OpenAPI client for @equisoft/equisoft-connect-sdk-typescript",
5
5
  "author": "OpenAPI-Generator",
6
6
  "main": "./dist/index.js",
@@ -31,18 +31,6 @@ export interface GatewaysCredentials {
31
31
  * @memberof GatewaysCredentials
32
32
  */
33
33
  password: string | null;
34
- /**
35
- * FirstName
36
- * @type {string}
37
- * @memberof GatewaysCredentials
38
- */
39
- firstName?: string | null;
40
- /**
41
- * LastName
42
- * @type {string}
43
- * @memberof GatewaysCredentials
44
- */
45
- lastName?: string | null;
46
34
  /**
47
35
  * Rep code
48
36
  * @type {string}
@@ -86,8 +74,6 @@ export function GatewaysCredentialsFromJSONTyped(json: any, ignoreDiscriminator:
86
74
 
87
75
  'username': json['username'],
88
76
  'password': json['password'],
89
- 'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
90
- 'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
91
77
  'repcode': !exists(json, 'repcode') ? undefined : json['repcode'],
92
78
  'isADealerCode': !exists(json, 'isADealerCode') ? undefined : json['isADealerCode'],
93
79
  'dealerSystemName': !exists(json, 'dealerSystemName') ? undefined : json['dealerSystemName'],
@@ -105,8 +91,6 @@ export function GatewaysCredentialsToJSON(value?: GatewaysCredentials | null): a
105
91
 
106
92
  'username': value.username,
107
93
  'password': value.password,
108
- 'firstName': value.firstName,
109
- 'lastName': value.lastName,
110
94
  'repcode': value.repcode,
111
95
  'isADealerCode': value.isADealerCode,
112
96
  'dealerSystemName': value.dealerSystemName,
@@ -44,18 +44,6 @@ export interface GatewaysCredentialsWithSsn {
44
44
  * @memberof GatewaysCredentialsWithSsn
45
45
  */
46
46
  password: string | null;
47
- /**
48
- * FirstName
49
- * @type {string}
50
- * @memberof GatewaysCredentialsWithSsn
51
- */
52
- firstName?: string | null;
53
- /**
54
- * LastName
55
- * @type {string}
56
- * @memberof GatewaysCredentialsWithSsn
57
- */
58
- lastName?: string | null;
59
47
  /**
60
48
  * Rep code
61
49
  * @type {string}
@@ -105,8 +93,6 @@ export function GatewaysCredentialsWithSsnFromJSONTyped(json: any, ignoreDiscrim
105
93
 
106
94
  'username': json['username'],
107
95
  'password': json['password'],
108
- 'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
109
- 'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
110
96
  'repcode': !exists(json, 'repcode') ? undefined : json['repcode'],
111
97
  'isADealerCode': !exists(json, 'isADealerCode') ? undefined : json['isADealerCode'],
112
98
  'dealerSystemName': !exists(json, 'dealerSystemName') ? undefined : json['dealerSystemName'],
@@ -125,8 +111,6 @@ export function GatewaysCredentialsWithSsnToJSON(value?: GatewaysCredentialsWith
125
111
 
126
112
  'username': value.username,
127
113
  'password': value.password,
128
- 'firstName': value.firstName,
129
- 'lastName': value.lastName,
130
114
  'repcode': value.repcode,
131
115
  'isADealerCode': value.isADealerCode,
132
116
  'dealerSystemName': value.dealerSystemName,
@@ -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
- * DEPRECATED this option does nothing
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
- * DEPRECATED this option does nothing
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
- * DEPRECATED this option does nothing
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
- * DEPRECATED this option does nothing
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,
@@ -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 first name.
35
+ * The user's eMail address.
43
36
  * @type {string}
44
37
  * @memberof UsersUser
45
38
  */
46
- firstName: string;
39
+ email: string;
47
40
  /**
48
- * The user's last name.
41
+ * The user's first name.
49
42
  * @type {string}
50
43
  * @memberof UsersUser
51
44
  */
52
- lastName: string;
45
+ firstName: string;
53
46
  /**
54
- * The user's initials.
47
+ * The user's last name.
55
48
  * @type {string}
56
49
  * @memberof UsersUser
57
50
  */
58
- initials?: string;
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
 
@@ -187,4 +187,3 @@ export * from './UsersListUsersResponse';
187
187
  export * from './UsersRole';
188
188
  export * from './UsersUpdateUserPayload';
189
189
  export * from './UsersUser';
190
- export * from './UsersUserGroup';
@@ -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
-