@equisoft/account-service-sdk-typescript 7.6.1-snapshot.20241202150055 → 7.6.1-snapshot.20241202203738

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.
Files changed (47) hide show
  1. package/.openapi-generator/FILES +0 -4
  2. package/dist/esm/models/CreateUserAccountPayload.d.ts +0 -6
  3. package/dist/esm/models/CreateUserAccountPayload.js +0 -2
  4. package/dist/esm/models/User.d.ts +0 -13
  5. package/dist/esm/models/User.js +0 -5
  6. package/dist/esm/models/UserAccountSearchResult.d.ts +0 -13
  7. package/dist/esm/models/UserAccountSearchResult.js +0 -5
  8. package/dist/esm/models/UserPermissions.d.ts +0 -7
  9. package/dist/esm/models/UserPermissions.js +0 -5
  10. package/dist/esm/models/index.d.ts +0 -4
  11. package/dist/esm/models/index.js +0 -4
  12. package/dist/models/CreateUserAccountPayload.d.ts +0 -6
  13. package/dist/models/CreateUserAccountPayload.js +0 -2
  14. package/dist/models/User.d.ts +0 -13
  15. package/dist/models/User.js +0 -5
  16. package/dist/models/UserAccountSearchResult.d.ts +0 -13
  17. package/dist/models/UserAccountSearchResult.js +0 -5
  18. package/dist/models/UserPermissions.d.ts +0 -7
  19. package/dist/models/UserPermissions.js +0 -5
  20. package/dist/models/index.d.ts +0 -4
  21. package/dist/models/index.js +0 -4
  22. package/package.json +1 -1
  23. package/src/models/CreateUserAccountPayload.ts +0 -8
  24. package/src/models/User.ts +0 -22
  25. package/src/models/UserAccountSearchResult.ts +0 -22
  26. package/src/models/UserPermissions.ts +0 -15
  27. package/src/models/index.ts +0 -4
  28. package/dist/esm/models/DatabaseState.d.ts +0 -32
  29. package/dist/esm/models/DatabaseState.js +0 -48
  30. package/dist/esm/models/LegacyRoleSchema.d.ts +0 -38
  31. package/dist/esm/models/LegacyRoleSchema.js +0 -45
  32. package/dist/esm/models/ServiceAccess.d.ts +0 -63
  33. package/dist/esm/models/ServiceAccess.js +0 -52
  34. package/dist/esm/models/ServiceName.d.ts +0 -28
  35. package/dist/esm/models/ServiceName.js +0 -44
  36. package/dist/models/DatabaseState.d.ts +0 -32
  37. package/dist/models/DatabaseState.js +0 -55
  38. package/dist/models/LegacyRoleSchema.d.ts +0 -38
  39. package/dist/models/LegacyRoleSchema.js +0 -51
  40. package/dist/models/ServiceAccess.d.ts +0 -63
  41. package/dist/models/ServiceAccess.js +0 -58
  42. package/dist/models/ServiceName.d.ts +0 -28
  43. package/dist/models/ServiceName.js +0 -51
  44. package/src/models/DatabaseState.ts +0 -57
  45. package/src/models/LegacyRoleSchema.ts +0 -77
  46. package/src/models/ServiceAccess.ts +0 -114
  47. package/src/models/ServiceName.ts +0 -53
@@ -21,13 +21,11 @@ src/models/CreateOrganizationUserServicePayload.ts
21
21
  src/models/CreateRole.ts
22
22
  src/models/CreateUserAccountPayload.ts
23
23
  src/models/CreateUserAccountServiceAssociation.ts
24
- src/models/DatabaseState.ts
25
24
  src/models/EnableEquisoftConnectPayload.ts
26
25
  src/models/ErrorMessage.ts
27
26
  src/models/ErrorPayload.ts
28
27
  src/models/Id.ts
29
28
  src/models/ImpersonatePayload.ts
30
- src/models/LegacyRoleSchema.ts
31
29
  src/models/ListOrganizationElement.ts
32
30
  src/models/ListUserOrganizations.ts
33
31
  src/models/LocalizedString.ts
@@ -58,13 +56,11 @@ src/models/RoleCreated.ts
58
56
  src/models/RolesOnOrganization.ts
59
57
  src/models/SendResetPasswordLinkPayload.ts
60
58
  src/models/SendSignupInvitationPayload.ts
61
- src/models/ServiceAccess.ts
62
59
  src/models/ServiceAccountCreationSchema.ts
63
60
  src/models/ServiceAccountSchema.ts
64
61
  src/models/ServiceAccountStatus.ts
65
62
  src/models/ServiceAccountUpdateSchema.ts
66
63
  src/models/ServiceAccountUuidSchema.ts
67
- src/models/ServiceName.ts
68
64
  src/models/Session.ts
69
65
  src/models/SessionPayload.ts
70
66
  src/models/SessionPolicy.ts
@@ -96,12 +96,6 @@ export interface CreateUserAccountPayload {
96
96
  * @memberof CreateUserAccountPayload
97
97
  */
98
98
  passwordPolicy?: PasswordPolicy | null;
99
- /**
100
- *
101
- * @type {Array<string>}
102
- * @memberof CreateUserAccountPayload
103
- */
104
- legacyRoles?: Array<string> | null;
105
99
  }
106
100
  /**
107
101
  * Check if a given object implements the CreateUserAccountPayload interface.
@@ -53,7 +53,6 @@ export function CreateUserAccountPayloadFromJSONTyped(json, ignoreDiscriminator)
53
53
  'services': json['services'] == null ? undefined : (json['services'].map(CreateUserAccountServiceAssociationFromJSON)),
54
54
  'sessionPolicy': json['sessionPolicy'] == null ? undefined : SessionPolicyFromJSON(json['sessionPolicy']),
55
55
  'passwordPolicy': json['passwordPolicy'] == null ? undefined : PasswordPolicyFromJSON(json['passwordPolicy']),
56
- 'legacyRoles': json['legacyRoles'] == null ? undefined : json['legacyRoles'],
57
56
  };
58
57
  }
59
58
  export function CreateUserAccountPayloadToJSON(value) {
@@ -74,6 +73,5 @@ export function CreateUserAccountPayloadToJSON(value) {
74
73
  'services': value['services'] == null ? undefined : (value['services'].map(CreateUserAccountServiceAssociationToJSON)),
75
74
  'sessionPolicy': SessionPolicyToJSON(value['sessionPolicy']),
76
75
  'passwordPolicy': PasswordPolicyToJSON(value['passwordPolicy']),
77
- 'legacyRoles': value['legacyRoles'],
78
76
  };
79
77
  }
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { UserSsoProvider } from './UserSsoProvider';
13
- import type { ServiceAccess } from './ServiceAccess';
14
13
  import type { UserState } from './UserState';
15
14
  import type { UserAgreement } from './UserAgreement';
16
15
  import type { UserServiceAssociation } from './UserServiceAssociation';
@@ -86,12 +85,6 @@ export interface User {
86
85
  * @memberof User
87
86
  */
88
87
  locked: boolean;
89
- /**
90
- * Legacy roles the user is member of
91
- * @type {Array<string>}
92
- * @memberof User
93
- */
94
- legacyRoles?: Array<string>;
95
88
  /**
96
89
  * User deletion is disabled.
97
90
  * @type {boolean}
@@ -140,12 +133,6 @@ export interface User {
140
133
  * @memberof User
141
134
  */
142
135
  services: Array<UserServiceAssociation>;
143
- /**
144
- * Whenever possible, use the services collection.
145
- * @type {Array<ServiceAccess>}
146
- * @memberof User
147
- */
148
- legacyServices?: Array<ServiceAccess>;
149
136
  /**
150
137
  *
151
138
  * @type {string}
@@ -12,7 +12,6 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { UserSsoProviderFromJSON, UserSsoProviderToJSON, } from './UserSsoProvider';
15
- import { ServiceAccessFromJSON, ServiceAccessToJSON, } from './ServiceAccess';
16
15
  import { UserStateFromJSON, UserStateToJSON, } from './UserState';
17
16
  import { UserAgreementFromJSON, UserAgreementToJSON, } from './UserAgreement';
18
17
  import { UserServiceAssociationFromJSON, UserServiceAssociationToJSON, } from './UserServiceAssociation';
@@ -73,7 +72,6 @@ export function UserFromJSONTyped(json, ignoreDiscriminator) {
73
72
  'locale': json['locale'],
74
73
  'state': UserStateFromJSON(json['state']),
75
74
  'locked': json['locked'],
76
- 'legacyRoles': json['legacyRoles'] == null ? undefined : json['legacyRoles'],
77
75
  'deletable': json['deletable'],
78
76
  'billable': json['billable'],
79
77
  'agreement': UserAgreementFromJSON(json['agreement']),
@@ -82,7 +80,6 @@ export function UserFromJSONTyped(json, ignoreDiscriminator) {
82
80
  'ownerOrganization': json['ownerOrganization'] == null ? undefined : json['ownerOrganization'],
83
81
  'organizations': json['organizations'],
84
82
  'services': (json['services'].map(UserServiceAssociationFromJSON)),
85
- 'legacyServices': json['legacyServices'] == null ? undefined : (json['legacyServices'].map(ServiceAccessFromJSON)),
86
83
  'authType': json['authType'],
87
84
  'ssoProvider': json['ssoProvider'] == null ? undefined : UserSsoProviderFromJSON(json['ssoProvider']),
88
85
  'ssoIdentifier': json['ssoIdentifier'] == null ? undefined : json['ssoIdentifier'],
@@ -104,7 +101,6 @@ export function UserToJSON(value) {
104
101
  'locale': value['locale'],
105
102
  'state': UserStateToJSON(value['state']),
106
103
  'locked': value['locked'],
107
- 'legacyRoles': value['legacyRoles'],
108
104
  'deletable': value['deletable'],
109
105
  'billable': value['billable'],
110
106
  'agreement': UserAgreementToJSON(value['agreement']),
@@ -113,7 +109,6 @@ export function UserToJSON(value) {
113
109
  'ownerOrganization': value['ownerOrganization'],
114
110
  'organizations': value['organizations'],
115
111
  'services': (value['services'].map(UserServiceAssociationToJSON)),
116
- 'legacyServices': value['legacyServices'] == null ? undefined : (value['legacyServices'].map(ServiceAccessToJSON)),
117
112
  'authType': value['authType'],
118
113
  'ssoProvider': UserSsoProviderToJSON(value['ssoProvider']),
119
114
  'ssoIdentifier': value['ssoIdentifier'],
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { UserSsoProvider } from './UserSsoProvider';
13
- import type { ServiceAccess } from './ServiceAccess';
14
13
  import type { UserState } from './UserState';
15
14
  import type { UserAgreement } from './UserAgreement';
16
15
  import type { UserServiceAssociation } from './UserServiceAssociation';
@@ -86,12 +85,6 @@ export interface UserAccountSearchResult {
86
85
  * @memberof UserAccountSearchResult
87
86
  */
88
87
  locked: boolean;
89
- /**
90
- * Legacy roles the user is member of
91
- * @type {Array<string>}
92
- * @memberof UserAccountSearchResult
93
- */
94
- legacyRoles?: Array<string>;
95
88
  /**
96
89
  * User deletion is disabled.
97
90
  * @type {boolean}
@@ -134,12 +127,6 @@ export interface UserAccountSearchResult {
134
127
  * @memberof UserAccountSearchResult
135
128
  */
136
129
  services: Array<UserServiceAssociation>;
137
- /**
138
- * Whenever possible, use the services collection.
139
- * @type {Array<ServiceAccess>}
140
- * @memberof UserAccountSearchResult
141
- */
142
- legacyServices?: Array<ServiceAccess>;
143
130
  /**
144
131
  *
145
132
  * @type {string}
@@ -12,7 +12,6 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { UserSsoProviderFromJSON, UserSsoProviderToJSON, } from './UserSsoProvider';
15
- import { ServiceAccessFromJSON, ServiceAccessToJSON, } from './ServiceAccess';
16
15
  import { UserStateFromJSON, UserStateToJSON, } from './UserState';
17
16
  import { UserAgreementFromJSON, UserAgreementToJSON, } from './UserAgreement';
18
17
  import { UserServiceAssociationFromJSON, UserServiceAssociationToJSON, } from './UserServiceAssociation';
@@ -71,7 +70,6 @@ export function UserAccountSearchResultFromJSONTyped(json, ignoreDiscriminator)
71
70
  'locale': json['locale'],
72
71
  'state': UserStateFromJSON(json['state']),
73
72
  'locked': json['locked'],
74
- 'legacyRoles': json['legacyRoles'] == null ? undefined : json['legacyRoles'],
75
73
  'deletable': json['deletable'],
76
74
  'billable': json['billable'],
77
75
  'agreement': UserAgreementFromJSON(json['agreement']),
@@ -79,7 +77,6 @@ export function UserAccountSearchResultFromJSONTyped(json, ignoreDiscriminator)
79
77
  'modified': json['modified'] == null ? undefined : (new Date(json['modified'])),
80
78
  'ownerOrganizationUuid': json['ownerOrganizationUuid'] == null ? undefined : json['ownerOrganizationUuid'],
81
79
  'services': (json['services'].map(UserServiceAssociationFromJSON)),
82
- 'legacyServices': json['legacyServices'] == null ? undefined : (json['legacyServices'].map(ServiceAccessFromJSON)),
83
80
  'authType': json['authType'],
84
81
  'ssoProvider': json['ssoProvider'] == null ? undefined : UserSsoProviderFromJSON(json['ssoProvider']),
85
82
  'ssoIdentifier': json['ssoIdentifier'] == null ? undefined : json['ssoIdentifier'],
@@ -101,7 +98,6 @@ export function UserAccountSearchResultToJSON(value) {
101
98
  'locale': value['locale'],
102
99
  'state': UserStateToJSON(value['state']),
103
100
  'locked': value['locked'],
104
- 'legacyRoles': value['legacyRoles'],
105
101
  'deletable': value['deletable'],
106
102
  'billable': value['billable'],
107
103
  'agreement': UserAgreementToJSON(value['agreement']),
@@ -109,7 +105,6 @@ export function UserAccountSearchResultToJSON(value) {
109
105
  'modified': value['modified'] == null ? undefined : (value['modified'].toISOString()),
110
106
  'ownerOrganizationUuid': value['ownerOrganizationUuid'],
111
107
  'services': (value['services'].map(UserServiceAssociationToJSON)),
112
- 'legacyServices': value['legacyServices'] == null ? undefined : (value['legacyServices'].map(ServiceAccessToJSON)),
113
108
  'authType': value['authType'],
114
109
  'ssoProvider': UserSsoProviderToJSON(value['ssoProvider']),
115
110
  'ssoIdentifier': value['ssoIdentifier'],
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { RolesOnOrganization } from './RolesOnOrganization';
13
- import type { LegacyRoleSchema } from './LegacyRoleSchema';
14
13
  /**
15
14
  *
16
15
  * @export
@@ -23,12 +22,6 @@ export interface UserPermissions {
23
22
  * @memberof UserPermissions
24
23
  */
25
24
  organizations: Array<RolesOnOrganization>;
26
- /**
27
- *
28
- * @type {Array<LegacyRoleSchema>}
29
- * @memberof UserPermissions
30
- */
31
- legacyRoles: Array<LegacyRoleSchema>;
32
25
  }
33
26
  /**
34
27
  * Check if a given object implements the UserPermissions interface.
@@ -12,15 +12,12 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { RolesOnOrganizationFromJSON, RolesOnOrganizationToJSON, } from './RolesOnOrganization';
15
- import { LegacyRoleSchemaFromJSON, LegacyRoleSchemaToJSON, } from './LegacyRoleSchema';
16
15
  /**
17
16
  * Check if a given object implements the UserPermissions interface.
18
17
  */
19
18
  export function instanceOfUserPermissions(value) {
20
19
  if (!('organizations' in value) || value['organizations'] === undefined)
21
20
  return false;
22
- if (!('legacyRoles' in value) || value['legacyRoles'] === undefined)
23
- return false;
24
21
  return true;
25
22
  }
26
23
  export function UserPermissionsFromJSON(json) {
@@ -32,7 +29,6 @@ export function UserPermissionsFromJSONTyped(json, ignoreDiscriminator) {
32
29
  }
33
30
  return {
34
31
  'organizations': (json['organizations'].map(RolesOnOrganizationFromJSON)),
35
- 'legacyRoles': (json['legacyRoles'].map(LegacyRoleSchemaFromJSON)),
36
32
  };
37
33
  }
38
34
  export function UserPermissionsToJSON(value) {
@@ -41,6 +37,5 @@ export function UserPermissionsToJSON(value) {
41
37
  }
42
38
  return {
43
39
  'organizations': (value['organizations'].map(RolesOnOrganizationToJSON)),
44
- 'legacyRoles': (value['legacyRoles'].map(LegacyRoleSchemaToJSON)),
45
40
  };
46
41
  }
@@ -9,13 +9,11 @@ export * from './CreateOrganizationUserServicePayload';
9
9
  export * from './CreateRole';
10
10
  export * from './CreateUserAccountPayload';
11
11
  export * from './CreateUserAccountServiceAssociation';
12
- export * from './DatabaseState';
13
12
  export * from './EnableEquisoftConnectPayload';
14
13
  export * from './ErrorMessage';
15
14
  export * from './ErrorPayload';
16
15
  export * from './Id';
17
16
  export * from './ImpersonatePayload';
18
- export * from './LegacyRoleSchema';
19
17
  export * from './ListOrganizationElement';
20
18
  export * from './ListUserOrganizations';
21
19
  export * from './LocalizedString';
@@ -46,13 +44,11 @@ export * from './RoleCreated';
46
44
  export * from './RolesOnOrganization';
47
45
  export * from './SendResetPasswordLinkPayload';
48
46
  export * from './SendSignupInvitationPayload';
49
- export * from './ServiceAccess';
50
47
  export * from './ServiceAccountCreationSchema';
51
48
  export * from './ServiceAccountSchema';
52
49
  export * from './ServiceAccountStatus';
53
50
  export * from './ServiceAccountUpdateSchema';
54
51
  export * from './ServiceAccountUuidSchema';
55
- export * from './ServiceName';
56
52
  export * from './Session';
57
53
  export * from './SessionPayload';
58
54
  export * from './SessionPolicy';
@@ -11,13 +11,11 @@ export * from './CreateOrganizationUserServicePayload';
11
11
  export * from './CreateRole';
12
12
  export * from './CreateUserAccountPayload';
13
13
  export * from './CreateUserAccountServiceAssociation';
14
- export * from './DatabaseState';
15
14
  export * from './EnableEquisoftConnectPayload';
16
15
  export * from './ErrorMessage';
17
16
  export * from './ErrorPayload';
18
17
  export * from './Id';
19
18
  export * from './ImpersonatePayload';
20
- export * from './LegacyRoleSchema';
21
19
  export * from './ListOrganizationElement';
22
20
  export * from './ListUserOrganizations';
23
21
  export * from './LocalizedString';
@@ -48,13 +46,11 @@ export * from './RoleCreated';
48
46
  export * from './RolesOnOrganization';
49
47
  export * from './SendResetPasswordLinkPayload';
50
48
  export * from './SendSignupInvitationPayload';
51
- export * from './ServiceAccess';
52
49
  export * from './ServiceAccountCreationSchema';
53
50
  export * from './ServiceAccountSchema';
54
51
  export * from './ServiceAccountStatus';
55
52
  export * from './ServiceAccountUpdateSchema';
56
53
  export * from './ServiceAccountUuidSchema';
57
- export * from './ServiceName';
58
54
  export * from './Session';
59
55
  export * from './SessionPayload';
60
56
  export * from './SessionPolicy';
@@ -96,12 +96,6 @@ export interface CreateUserAccountPayload {
96
96
  * @memberof CreateUserAccountPayload
97
97
  */
98
98
  passwordPolicy?: PasswordPolicy | null;
99
- /**
100
- *
101
- * @type {Array<string>}
102
- * @memberof CreateUserAccountPayload
103
- */
104
- legacyRoles?: Array<string> | null;
105
99
  }
106
100
  /**
107
101
  * Check if a given object implements the CreateUserAccountPayload interface.
@@ -59,7 +59,6 @@ function CreateUserAccountPayloadFromJSONTyped(json, ignoreDiscriminator) {
59
59
  'services': json['services'] == null ? undefined : (json['services'].map(CreateUserAccountServiceAssociation_1.CreateUserAccountServiceAssociationFromJSON)),
60
60
  'sessionPolicy': json['sessionPolicy'] == null ? undefined : (0, SessionPolicy_1.SessionPolicyFromJSON)(json['sessionPolicy']),
61
61
  'passwordPolicy': json['passwordPolicy'] == null ? undefined : (0, PasswordPolicy_1.PasswordPolicyFromJSON)(json['passwordPolicy']),
62
- 'legacyRoles': json['legacyRoles'] == null ? undefined : json['legacyRoles'],
63
62
  };
64
63
  }
65
64
  function CreateUserAccountPayloadToJSON(value) {
@@ -80,6 +79,5 @@ function CreateUserAccountPayloadToJSON(value) {
80
79
  'services': value['services'] == null ? undefined : (value['services'].map(CreateUserAccountServiceAssociation_1.CreateUserAccountServiceAssociationToJSON)),
81
80
  'sessionPolicy': (0, SessionPolicy_1.SessionPolicyToJSON)(value['sessionPolicy']),
82
81
  'passwordPolicy': (0, PasswordPolicy_1.PasswordPolicyToJSON)(value['passwordPolicy']),
83
- 'legacyRoles': value['legacyRoles'],
84
82
  };
85
83
  }
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { UserSsoProvider } from './UserSsoProvider';
13
- import type { ServiceAccess } from './ServiceAccess';
14
13
  import type { UserState } from './UserState';
15
14
  import type { UserAgreement } from './UserAgreement';
16
15
  import type { UserServiceAssociation } from './UserServiceAssociation';
@@ -86,12 +85,6 @@ export interface User {
86
85
  * @memberof User
87
86
  */
88
87
  locked: boolean;
89
- /**
90
- * Legacy roles the user is member of
91
- * @type {Array<string>}
92
- * @memberof User
93
- */
94
- legacyRoles?: Array<string>;
95
88
  /**
96
89
  * User deletion is disabled.
97
90
  * @type {boolean}
@@ -140,12 +133,6 @@ export interface User {
140
133
  * @memberof User
141
134
  */
142
135
  services: Array<UserServiceAssociation>;
143
- /**
144
- * Whenever possible, use the services collection.
145
- * @type {Array<ServiceAccess>}
146
- * @memberof User
147
- */
148
- legacyServices?: Array<ServiceAccess>;
149
136
  /**
150
137
  *
151
138
  * @type {string}
@@ -18,7 +18,6 @@ exports.UserFromJSON = UserFromJSON;
18
18
  exports.UserFromJSONTyped = UserFromJSONTyped;
19
19
  exports.UserToJSON = UserToJSON;
20
20
  const UserSsoProvider_1 = require("./UserSsoProvider");
21
- const ServiceAccess_1 = require("./ServiceAccess");
22
21
  const UserState_1 = require("./UserState");
23
22
  const UserAgreement_1 = require("./UserAgreement");
24
23
  const UserServiceAssociation_1 = require("./UserServiceAssociation");
@@ -79,7 +78,6 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
79
78
  'locale': json['locale'],
80
79
  'state': (0, UserState_1.UserStateFromJSON)(json['state']),
81
80
  'locked': json['locked'],
82
- 'legacyRoles': json['legacyRoles'] == null ? undefined : json['legacyRoles'],
83
81
  'deletable': json['deletable'],
84
82
  'billable': json['billable'],
85
83
  'agreement': (0, UserAgreement_1.UserAgreementFromJSON)(json['agreement']),
@@ -88,7 +86,6 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
88
86
  'ownerOrganization': json['ownerOrganization'] == null ? undefined : json['ownerOrganization'],
89
87
  'organizations': json['organizations'],
90
88
  'services': (json['services'].map(UserServiceAssociation_1.UserServiceAssociationFromJSON)),
91
- 'legacyServices': json['legacyServices'] == null ? undefined : (json['legacyServices'].map(ServiceAccess_1.ServiceAccessFromJSON)),
92
89
  'authType': json['authType'],
93
90
  'ssoProvider': json['ssoProvider'] == null ? undefined : (0, UserSsoProvider_1.UserSsoProviderFromJSON)(json['ssoProvider']),
94
91
  'ssoIdentifier': json['ssoIdentifier'] == null ? undefined : json['ssoIdentifier'],
@@ -110,7 +107,6 @@ function UserToJSON(value) {
110
107
  'locale': value['locale'],
111
108
  'state': (0, UserState_1.UserStateToJSON)(value['state']),
112
109
  'locked': value['locked'],
113
- 'legacyRoles': value['legacyRoles'],
114
110
  'deletable': value['deletable'],
115
111
  'billable': value['billable'],
116
112
  'agreement': (0, UserAgreement_1.UserAgreementToJSON)(value['agreement']),
@@ -119,7 +115,6 @@ function UserToJSON(value) {
119
115
  'ownerOrganization': value['ownerOrganization'],
120
116
  'organizations': value['organizations'],
121
117
  'services': (value['services'].map(UserServiceAssociation_1.UserServiceAssociationToJSON)),
122
- 'legacyServices': value['legacyServices'] == null ? undefined : (value['legacyServices'].map(ServiceAccess_1.ServiceAccessToJSON)),
123
118
  'authType': value['authType'],
124
119
  'ssoProvider': (0, UserSsoProvider_1.UserSsoProviderToJSON)(value['ssoProvider']),
125
120
  'ssoIdentifier': value['ssoIdentifier'],
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { UserSsoProvider } from './UserSsoProvider';
13
- import type { ServiceAccess } from './ServiceAccess';
14
13
  import type { UserState } from './UserState';
15
14
  import type { UserAgreement } from './UserAgreement';
16
15
  import type { UserServiceAssociation } from './UserServiceAssociation';
@@ -86,12 +85,6 @@ export interface UserAccountSearchResult {
86
85
  * @memberof UserAccountSearchResult
87
86
  */
88
87
  locked: boolean;
89
- /**
90
- * Legacy roles the user is member of
91
- * @type {Array<string>}
92
- * @memberof UserAccountSearchResult
93
- */
94
- legacyRoles?: Array<string>;
95
88
  /**
96
89
  * User deletion is disabled.
97
90
  * @type {boolean}
@@ -134,12 +127,6 @@ export interface UserAccountSearchResult {
134
127
  * @memberof UserAccountSearchResult
135
128
  */
136
129
  services: Array<UserServiceAssociation>;
137
- /**
138
- * Whenever possible, use the services collection.
139
- * @type {Array<ServiceAccess>}
140
- * @memberof UserAccountSearchResult
141
- */
142
- legacyServices?: Array<ServiceAccess>;
143
130
  /**
144
131
  *
145
132
  * @type {string}
@@ -18,7 +18,6 @@ exports.UserAccountSearchResultFromJSON = UserAccountSearchResultFromJSON;
18
18
  exports.UserAccountSearchResultFromJSONTyped = UserAccountSearchResultFromJSONTyped;
19
19
  exports.UserAccountSearchResultToJSON = UserAccountSearchResultToJSON;
20
20
  const UserSsoProvider_1 = require("./UserSsoProvider");
21
- const ServiceAccess_1 = require("./ServiceAccess");
22
21
  const UserState_1 = require("./UserState");
23
22
  const UserAgreement_1 = require("./UserAgreement");
24
23
  const UserServiceAssociation_1 = require("./UserServiceAssociation");
@@ -77,7 +76,6 @@ function UserAccountSearchResultFromJSONTyped(json, ignoreDiscriminator) {
77
76
  'locale': json['locale'],
78
77
  'state': (0, UserState_1.UserStateFromJSON)(json['state']),
79
78
  'locked': json['locked'],
80
- 'legacyRoles': json['legacyRoles'] == null ? undefined : json['legacyRoles'],
81
79
  'deletable': json['deletable'],
82
80
  'billable': json['billable'],
83
81
  'agreement': (0, UserAgreement_1.UserAgreementFromJSON)(json['agreement']),
@@ -85,7 +83,6 @@ function UserAccountSearchResultFromJSONTyped(json, ignoreDiscriminator) {
85
83
  'modified': json['modified'] == null ? undefined : (new Date(json['modified'])),
86
84
  'ownerOrganizationUuid': json['ownerOrganizationUuid'] == null ? undefined : json['ownerOrganizationUuid'],
87
85
  'services': (json['services'].map(UserServiceAssociation_1.UserServiceAssociationFromJSON)),
88
- 'legacyServices': json['legacyServices'] == null ? undefined : (json['legacyServices'].map(ServiceAccess_1.ServiceAccessFromJSON)),
89
86
  'authType': json['authType'],
90
87
  'ssoProvider': json['ssoProvider'] == null ? undefined : (0, UserSsoProvider_1.UserSsoProviderFromJSON)(json['ssoProvider']),
91
88
  'ssoIdentifier': json['ssoIdentifier'] == null ? undefined : json['ssoIdentifier'],
@@ -107,7 +104,6 @@ function UserAccountSearchResultToJSON(value) {
107
104
  'locale': value['locale'],
108
105
  'state': (0, UserState_1.UserStateToJSON)(value['state']),
109
106
  'locked': value['locked'],
110
- 'legacyRoles': value['legacyRoles'],
111
107
  'deletable': value['deletable'],
112
108
  'billable': value['billable'],
113
109
  'agreement': (0, UserAgreement_1.UserAgreementToJSON)(value['agreement']),
@@ -115,7 +111,6 @@ function UserAccountSearchResultToJSON(value) {
115
111
  'modified': value['modified'] == null ? undefined : (value['modified'].toISOString()),
116
112
  'ownerOrganizationUuid': value['ownerOrganizationUuid'],
117
113
  'services': (value['services'].map(UserServiceAssociation_1.UserServiceAssociationToJSON)),
118
- 'legacyServices': value['legacyServices'] == null ? undefined : (value['legacyServices'].map(ServiceAccess_1.ServiceAccessToJSON)),
119
114
  'authType': value['authType'],
120
115
  'ssoProvider': (0, UserSsoProvider_1.UserSsoProviderToJSON)(value['ssoProvider']),
121
116
  'ssoIdentifier': value['ssoIdentifier'],
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { RolesOnOrganization } from './RolesOnOrganization';
13
- import type { LegacyRoleSchema } from './LegacyRoleSchema';
14
13
  /**
15
14
  *
16
15
  * @export
@@ -23,12 +22,6 @@ export interface UserPermissions {
23
22
  * @memberof UserPermissions
24
23
  */
25
24
  organizations: Array<RolesOnOrganization>;
26
- /**
27
- *
28
- * @type {Array<LegacyRoleSchema>}
29
- * @memberof UserPermissions
30
- */
31
- legacyRoles: Array<LegacyRoleSchema>;
32
25
  }
33
26
  /**
34
27
  * Check if a given object implements the UserPermissions interface.
@@ -18,15 +18,12 @@ exports.UserPermissionsFromJSON = UserPermissionsFromJSON;
18
18
  exports.UserPermissionsFromJSONTyped = UserPermissionsFromJSONTyped;
19
19
  exports.UserPermissionsToJSON = UserPermissionsToJSON;
20
20
  const RolesOnOrganization_1 = require("./RolesOnOrganization");
21
- const LegacyRoleSchema_1 = require("./LegacyRoleSchema");
22
21
  /**
23
22
  * Check if a given object implements the UserPermissions interface.
24
23
  */
25
24
  function instanceOfUserPermissions(value) {
26
25
  if (!('organizations' in value) || value['organizations'] === undefined)
27
26
  return false;
28
- if (!('legacyRoles' in value) || value['legacyRoles'] === undefined)
29
- return false;
30
27
  return true;
31
28
  }
32
29
  function UserPermissionsFromJSON(json) {
@@ -38,7 +35,6 @@ function UserPermissionsFromJSONTyped(json, ignoreDiscriminator) {
38
35
  }
39
36
  return {
40
37
  'organizations': (json['organizations'].map(RolesOnOrganization_1.RolesOnOrganizationFromJSON)),
41
- 'legacyRoles': (json['legacyRoles'].map(LegacyRoleSchema_1.LegacyRoleSchemaFromJSON)),
42
38
  };
43
39
  }
44
40
  function UserPermissionsToJSON(value) {
@@ -47,6 +43,5 @@ function UserPermissionsToJSON(value) {
47
43
  }
48
44
  return {
49
45
  'organizations': (value['organizations'].map(RolesOnOrganization_1.RolesOnOrganizationToJSON)),
50
- 'legacyRoles': (value['legacyRoles'].map(LegacyRoleSchema_1.LegacyRoleSchemaToJSON)),
51
46
  };
52
47
  }
@@ -9,13 +9,11 @@ export * from './CreateOrganizationUserServicePayload';
9
9
  export * from './CreateRole';
10
10
  export * from './CreateUserAccountPayload';
11
11
  export * from './CreateUserAccountServiceAssociation';
12
- export * from './DatabaseState';
13
12
  export * from './EnableEquisoftConnectPayload';
14
13
  export * from './ErrorMessage';
15
14
  export * from './ErrorPayload';
16
15
  export * from './Id';
17
16
  export * from './ImpersonatePayload';
18
- export * from './LegacyRoleSchema';
19
17
  export * from './ListOrganizationElement';
20
18
  export * from './ListUserOrganizations';
21
19
  export * from './LocalizedString';
@@ -46,13 +44,11 @@ export * from './RoleCreated';
46
44
  export * from './RolesOnOrganization';
47
45
  export * from './SendResetPasswordLinkPayload';
48
46
  export * from './SendSignupInvitationPayload';
49
- export * from './ServiceAccess';
50
47
  export * from './ServiceAccountCreationSchema';
51
48
  export * from './ServiceAccountSchema';
52
49
  export * from './ServiceAccountStatus';
53
50
  export * from './ServiceAccountUpdateSchema';
54
51
  export * from './ServiceAccountUuidSchema';
55
- export * from './ServiceName';
56
52
  export * from './Session';
57
53
  export * from './SessionPayload';
58
54
  export * from './SessionPolicy';
@@ -27,13 +27,11 @@ __exportStar(require("./CreateOrganizationUserServicePayload"), exports);
27
27
  __exportStar(require("./CreateRole"), exports);
28
28
  __exportStar(require("./CreateUserAccountPayload"), exports);
29
29
  __exportStar(require("./CreateUserAccountServiceAssociation"), exports);
30
- __exportStar(require("./DatabaseState"), exports);
31
30
  __exportStar(require("./EnableEquisoftConnectPayload"), exports);
32
31
  __exportStar(require("./ErrorMessage"), exports);
33
32
  __exportStar(require("./ErrorPayload"), exports);
34
33
  __exportStar(require("./Id"), exports);
35
34
  __exportStar(require("./ImpersonatePayload"), exports);
36
- __exportStar(require("./LegacyRoleSchema"), exports);
37
35
  __exportStar(require("./ListOrganizationElement"), exports);
38
36
  __exportStar(require("./ListUserOrganizations"), exports);
39
37
  __exportStar(require("./LocalizedString"), exports);
@@ -64,13 +62,11 @@ __exportStar(require("./RoleCreated"), exports);
64
62
  __exportStar(require("./RolesOnOrganization"), exports);
65
63
  __exportStar(require("./SendResetPasswordLinkPayload"), exports);
66
64
  __exportStar(require("./SendSignupInvitationPayload"), exports);
67
- __exportStar(require("./ServiceAccess"), exports);
68
65
  __exportStar(require("./ServiceAccountCreationSchema"), exports);
69
66
  __exportStar(require("./ServiceAccountSchema"), exports);
70
67
  __exportStar(require("./ServiceAccountStatus"), exports);
71
68
  __exportStar(require("./ServiceAccountUpdateSchema"), exports);
72
69
  __exportStar(require("./ServiceAccountUuidSchema"), exports);
73
- __exportStar(require("./ServiceName"), exports);
74
70
  __exportStar(require("./Session"), exports);
75
71
  __exportStar(require("./SessionPayload"), exports);
76
72
  __exportStar(require("./SessionPolicy"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equisoft/account-service-sdk-typescript",
3
- "version": "7.6.1-snapshot.20241202150055",
3
+ "version": "7.6.1-snapshot.20241202203738",
4
4
  "description": "OpenAPI client for @equisoft/account-service-sdk-typescript",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -116,12 +116,6 @@ export interface CreateUserAccountPayload {
116
116
  * @memberof CreateUserAccountPayload
117
117
  */
118
118
  passwordPolicy?: PasswordPolicy | null;
119
- /**
120
- *
121
- * @type {Array<string>}
122
- * @memberof CreateUserAccountPayload
123
- */
124
- legacyRoles?: Array<string> | null;
125
119
  }
126
120
 
127
121
  /**
@@ -160,7 +154,6 @@ export function CreateUserAccountPayloadFromJSONTyped(json: any, ignoreDiscrimin
160
154
  'services': json['services'] == null ? undefined : ((json['services'] as Array<any>).map(CreateUserAccountServiceAssociationFromJSON)),
161
155
  'sessionPolicy': json['sessionPolicy'] == null ? undefined : SessionPolicyFromJSON(json['sessionPolicy']),
162
156
  'passwordPolicy': json['passwordPolicy'] == null ? undefined : PasswordPolicyFromJSON(json['passwordPolicy']),
163
- 'legacyRoles': json['legacyRoles'] == null ? undefined : json['legacyRoles'],
164
157
  };
165
158
  }
166
159
 
@@ -183,7 +176,6 @@ export function CreateUserAccountPayloadToJSON(value?: CreateUserAccountPayload
183
176
  'services': value['services'] == null ? undefined : ((value['services'] as Array<any>).map(CreateUserAccountServiceAssociationToJSON)),
184
177
  'sessionPolicy': SessionPolicyToJSON(value['sessionPolicy']),
185
178
  'passwordPolicy': PasswordPolicyToJSON(value['passwordPolicy']),
186
- 'legacyRoles': value['legacyRoles'],
187
179
  };
188
180
  }
189
181