@equisoft/equisoft-connect-sdk-typescript 11.0.3-snapshot.20221202053115 → 11.0.3

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
@@ -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.0.3-snapshot.20221202053115",
3
+ "version": "11.0.3",
4
4
  "description": "OpenAPI client for @equisoft/equisoft-connect-sdk-typescript",
5
5
  "author": "OpenAPI-Generator",
6
6
  "main": "./dist/index.js",
@@ -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
-