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

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 (48) hide show
  1. package/.openapi-generator/FILES +0 -4
  2. package/.tool-versions +1 -1
  3. package/dist/esm/models/CreateUserAccountPayload.d.ts +0 -6
  4. package/dist/esm/models/CreateUserAccountPayload.js +0 -2
  5. package/dist/esm/models/User.d.ts +0 -13
  6. package/dist/esm/models/User.js +0 -5
  7. package/dist/esm/models/UserAccountSearchResult.d.ts +0 -13
  8. package/dist/esm/models/UserAccountSearchResult.js +0 -5
  9. package/dist/esm/models/UserPermissions.d.ts +0 -7
  10. package/dist/esm/models/UserPermissions.js +0 -5
  11. package/dist/esm/models/index.d.ts +0 -4
  12. package/dist/esm/models/index.js +0 -4
  13. package/dist/models/CreateUserAccountPayload.d.ts +0 -6
  14. package/dist/models/CreateUserAccountPayload.js +0 -2
  15. package/dist/models/User.d.ts +0 -13
  16. package/dist/models/User.js +0 -5
  17. package/dist/models/UserAccountSearchResult.d.ts +0 -13
  18. package/dist/models/UserAccountSearchResult.js +0 -5
  19. package/dist/models/UserPermissions.d.ts +0 -7
  20. package/dist/models/UserPermissions.js +0 -5
  21. package/dist/models/index.d.ts +0 -4
  22. package/dist/models/index.js +0 -4
  23. package/package.json +1 -1
  24. package/src/models/CreateUserAccountPayload.ts +0 -8
  25. package/src/models/User.ts +0 -22
  26. package/src/models/UserAccountSearchResult.ts +0 -22
  27. package/src/models/UserPermissions.ts +0 -15
  28. package/src/models/index.ts +0 -4
  29. package/dist/esm/models/DatabaseState.d.ts +0 -32
  30. package/dist/esm/models/DatabaseState.js +0 -48
  31. package/dist/esm/models/LegacyRoleSchema.d.ts +0 -38
  32. package/dist/esm/models/LegacyRoleSchema.js +0 -45
  33. package/dist/esm/models/ServiceAccess.d.ts +0 -63
  34. package/dist/esm/models/ServiceAccess.js +0 -52
  35. package/dist/esm/models/ServiceName.d.ts +0 -28
  36. package/dist/esm/models/ServiceName.js +0 -44
  37. package/dist/models/DatabaseState.d.ts +0 -32
  38. package/dist/models/DatabaseState.js +0 -55
  39. package/dist/models/LegacyRoleSchema.d.ts +0 -38
  40. package/dist/models/LegacyRoleSchema.js +0 -51
  41. package/dist/models/ServiceAccess.d.ts +0 -63
  42. package/dist/models/ServiceAccess.js +0 -58
  43. package/dist/models/ServiceName.d.ts +0 -28
  44. package/dist/models/ServiceName.js +0 -51
  45. package/src/models/DatabaseState.ts +0 -57
  46. package/src/models/LegacyRoleSchema.ts +0 -77
  47. package/src/models/ServiceAccess.ts +0 -114
  48. package/src/models/ServiceName.ts +0 -53
@@ -19,12 +19,6 @@ import {
19
19
  UserSsoProviderFromJSONTyped,
20
20
  UserSsoProviderToJSON,
21
21
  } from './UserSsoProvider';
22
- import type { ServiceAccess } from './ServiceAccess';
23
- import {
24
- ServiceAccessFromJSON,
25
- ServiceAccessFromJSONTyped,
26
- ServiceAccessToJSON,
27
- } from './ServiceAccess';
28
22
  import type { UserState } from './UserState';
29
23
  import {
30
24
  UserStateFromJSON,
@@ -116,12 +110,6 @@ export interface User {
116
110
  * @memberof User
117
111
  */
118
112
  locked: boolean;
119
- /**
120
- * Legacy roles the user is member of
121
- * @type {Array<string>}
122
- * @memberof User
123
- */
124
- legacyRoles?: Array<string>;
125
113
  /**
126
114
  * User deletion is disabled.
127
115
  * @type {boolean}
@@ -170,12 +158,6 @@ export interface User {
170
158
  * @memberof User
171
159
  */
172
160
  services: Array<UserServiceAssociation>;
173
- /**
174
- * Whenever possible, use the services collection.
175
- * @type {Array<ServiceAccess>}
176
- * @memberof User
177
- */
178
- legacyServices?: Array<ServiceAccess>;
179
161
  /**
180
162
  *
181
163
  * @type {string}
@@ -240,7 +222,6 @@ export function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User
240
222
  'locale': json['locale'],
241
223
  'state': UserStateFromJSON(json['state']),
242
224
  'locked': json['locked'],
243
- 'legacyRoles': json['legacyRoles'] == null ? undefined : json['legacyRoles'],
244
225
  'deletable': json['deletable'],
245
226
  'billable': json['billable'],
246
227
  'agreement': UserAgreementFromJSON(json['agreement']),
@@ -249,7 +230,6 @@ export function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User
249
230
  'ownerOrganization': json['ownerOrganization'] == null ? undefined : json['ownerOrganization'],
250
231
  'organizations': json['organizations'],
251
232
  'services': ((json['services'] as Array<any>).map(UserServiceAssociationFromJSON)),
252
- 'legacyServices': json['legacyServices'] == null ? undefined : ((json['legacyServices'] as Array<any>).map(ServiceAccessFromJSON)),
253
233
  'authType': json['authType'],
254
234
  'ssoProvider': json['ssoProvider'] == null ? undefined : UserSsoProviderFromJSON(json['ssoProvider']),
255
235
  'ssoIdentifier': json['ssoIdentifier'] == null ? undefined : json['ssoIdentifier'],
@@ -273,7 +253,6 @@ export function UserToJSON(value?: User | null): any {
273
253
  'locale': value['locale'],
274
254
  'state': UserStateToJSON(value['state']),
275
255
  'locked': value['locked'],
276
- 'legacyRoles': value['legacyRoles'],
277
256
  'deletable': value['deletable'],
278
257
  'billable': value['billable'],
279
258
  'agreement': UserAgreementToJSON(value['agreement']),
@@ -282,7 +261,6 @@ export function UserToJSON(value?: User | null): any {
282
261
  'ownerOrganization': value['ownerOrganization'],
283
262
  'organizations': value['organizations'],
284
263
  'services': ((value['services'] as Array<any>).map(UserServiceAssociationToJSON)),
285
- 'legacyServices': value['legacyServices'] == null ? undefined : ((value['legacyServices'] as Array<any>).map(ServiceAccessToJSON)),
286
264
  'authType': value['authType'],
287
265
  'ssoProvider': UserSsoProviderToJSON(value['ssoProvider']),
288
266
  'ssoIdentifier': value['ssoIdentifier'],
@@ -19,12 +19,6 @@ import {
19
19
  UserSsoProviderFromJSONTyped,
20
20
  UserSsoProviderToJSON,
21
21
  } from './UserSsoProvider';
22
- import type { ServiceAccess } from './ServiceAccess';
23
- import {
24
- ServiceAccessFromJSON,
25
- ServiceAccessFromJSONTyped,
26
- ServiceAccessToJSON,
27
- } from './ServiceAccess';
28
22
  import type { UserState } from './UserState';
29
23
  import {
30
24
  UserStateFromJSON,
@@ -116,12 +110,6 @@ export interface UserAccountSearchResult {
116
110
  * @memberof UserAccountSearchResult
117
111
  */
118
112
  locked: boolean;
119
- /**
120
- * Legacy roles the user is member of
121
- * @type {Array<string>}
122
- * @memberof UserAccountSearchResult
123
- */
124
- legacyRoles?: Array<string>;
125
113
  /**
126
114
  * User deletion is disabled.
127
115
  * @type {boolean}
@@ -164,12 +152,6 @@ export interface UserAccountSearchResult {
164
152
  * @memberof UserAccountSearchResult
165
153
  */
166
154
  services: Array<UserServiceAssociation>;
167
- /**
168
- * Whenever possible, use the services collection.
169
- * @type {Array<ServiceAccess>}
170
- * @memberof UserAccountSearchResult
171
- */
172
- legacyServices?: Array<ServiceAccess>;
173
155
  /**
174
156
  *
175
157
  * @type {string}
@@ -233,7 +215,6 @@ export function UserAccountSearchResultFromJSONTyped(json: any, ignoreDiscrimina
233
215
  'locale': json['locale'],
234
216
  'state': UserStateFromJSON(json['state']),
235
217
  'locked': json['locked'],
236
- 'legacyRoles': json['legacyRoles'] == null ? undefined : json['legacyRoles'],
237
218
  'deletable': json['deletable'],
238
219
  'billable': json['billable'],
239
220
  'agreement': UserAgreementFromJSON(json['agreement']),
@@ -241,7 +222,6 @@ export function UserAccountSearchResultFromJSONTyped(json: any, ignoreDiscrimina
241
222
  'modified': json['modified'] == null ? undefined : (new Date(json['modified'])),
242
223
  'ownerOrganizationUuid': json['ownerOrganizationUuid'] == null ? undefined : json['ownerOrganizationUuid'],
243
224
  'services': ((json['services'] as Array<any>).map(UserServiceAssociationFromJSON)),
244
- 'legacyServices': json['legacyServices'] == null ? undefined : ((json['legacyServices'] as Array<any>).map(ServiceAccessFromJSON)),
245
225
  'authType': json['authType'],
246
226
  'ssoProvider': json['ssoProvider'] == null ? undefined : UserSsoProviderFromJSON(json['ssoProvider']),
247
227
  'ssoIdentifier': json['ssoIdentifier'] == null ? undefined : json['ssoIdentifier'],
@@ -265,7 +245,6 @@ export function UserAccountSearchResultToJSON(value?: UserAccountSearchResult |
265
245
  'locale': value['locale'],
266
246
  'state': UserStateToJSON(value['state']),
267
247
  'locked': value['locked'],
268
- 'legacyRoles': value['legacyRoles'],
269
248
  'deletable': value['deletable'],
270
249
  'billable': value['billable'],
271
250
  'agreement': UserAgreementToJSON(value['agreement']),
@@ -273,7 +252,6 @@ export function UserAccountSearchResultToJSON(value?: UserAccountSearchResult |
273
252
  'modified': value['modified'] == null ? undefined : ((value['modified'] as any).toISOString()),
274
253
  'ownerOrganizationUuid': value['ownerOrganizationUuid'],
275
254
  'services': ((value['services'] as Array<any>).map(UserServiceAssociationToJSON)),
276
- 'legacyServices': value['legacyServices'] == null ? undefined : ((value['legacyServices'] as Array<any>).map(ServiceAccessToJSON)),
277
255
  'authType': value['authType'],
278
256
  'ssoProvider': UserSsoProviderToJSON(value['ssoProvider']),
279
257
  'ssoIdentifier': value['ssoIdentifier'],
@@ -19,12 +19,6 @@ import {
19
19
  RolesOnOrganizationFromJSONTyped,
20
20
  RolesOnOrganizationToJSON,
21
21
  } from './RolesOnOrganization';
22
- import type { LegacyRoleSchema } from './LegacyRoleSchema';
23
- import {
24
- LegacyRoleSchemaFromJSON,
25
- LegacyRoleSchemaFromJSONTyped,
26
- LegacyRoleSchemaToJSON,
27
- } from './LegacyRoleSchema';
28
22
 
29
23
  /**
30
24
  *
@@ -38,12 +32,6 @@ export interface UserPermissions {
38
32
  * @memberof UserPermissions
39
33
  */
40
34
  organizations: Array<RolesOnOrganization>;
41
- /**
42
- *
43
- * @type {Array<LegacyRoleSchema>}
44
- * @memberof UserPermissions
45
- */
46
- legacyRoles: Array<LegacyRoleSchema>;
47
35
  }
48
36
 
49
37
  /**
@@ -51,7 +39,6 @@ export interface UserPermissions {
51
39
  */
52
40
  export function instanceOfUserPermissions(value: object): value is UserPermissions {
53
41
  if (!('organizations' in value) || value['organizations'] === undefined) return false;
54
- if (!('legacyRoles' in value) || value['legacyRoles'] === undefined) return false;
55
42
  return true;
56
43
  }
57
44
 
@@ -66,7 +53,6 @@ export function UserPermissionsFromJSONTyped(json: any, ignoreDiscriminator: boo
66
53
  return {
67
54
 
68
55
  'organizations': ((json['organizations'] as Array<any>).map(RolesOnOrganizationFromJSON)),
69
- 'legacyRoles': ((json['legacyRoles'] as Array<any>).map(LegacyRoleSchemaFromJSON)),
70
56
  };
71
57
  }
72
58
 
@@ -77,7 +63,6 @@ export function UserPermissionsToJSON(value?: UserPermissions | null): any {
77
63
  return {
78
64
 
79
65
  'organizations': ((value['organizations'] as Array<any>).map(RolesOnOrganizationToJSON)),
80
- 'legacyRoles': ((value['legacyRoles'] as Array<any>).map(LegacyRoleSchemaToJSON)),
81
66
  };
82
67
  }
83
68
 
@@ -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';
@@ -1,32 +0,0 @@
1
- /**
2
- * User account and session management
3
- * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
- *
5
- * The version of the OpenAPI document: 7.6.1-SNAPSHOT
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
- * States:
14
- * * `ENABLED` - Database is active.
15
- * * `DISABLED` - Access to this database is suspended.
16
- * * `DELETED` - Database is deleted.
17
- * * `MAINTENANCE` - Database is in maintenance, login temporarily suspended.
18
- *
19
- * @export
20
- */
21
- export declare const DatabaseState: {
22
- readonly ENABLED: "ENABLED";
23
- readonly DISABLED: "DISABLED";
24
- readonly DELETED: "DELETED";
25
- readonly MAINTENANCE: "MAINTENANCE";
26
- readonly unknown_default_open_api: "11184809";
27
- };
28
- export type DatabaseState = typeof DatabaseState[keyof typeof DatabaseState];
29
- export declare function instanceOfDatabaseState(value: any): boolean;
30
- export declare function DatabaseStateFromJSON(json: any): DatabaseState;
31
- export declare function DatabaseStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatabaseState;
32
- export declare function DatabaseStateToJSON(value?: DatabaseState | null): any;
@@ -1,48 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * User account and session management
5
- * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
- *
7
- * The version of the OpenAPI document: 7.6.1-SNAPSHOT
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
- * States:
16
- * * `ENABLED` - Database is active.
17
- * * `DISABLED` - Access to this database is suspended.
18
- * * `DELETED` - Database is deleted.
19
- * * `MAINTENANCE` - Database is in maintenance, login temporarily suspended.
20
- *
21
- * @export
22
- */
23
- export const DatabaseState = {
24
- ENABLED: 'ENABLED',
25
- DISABLED: 'DISABLED',
26
- DELETED: 'DELETED',
27
- MAINTENANCE: 'MAINTENANCE',
28
- unknown_default_open_api: '11184809'
29
- };
30
- export function instanceOfDatabaseState(value) {
31
- for (const key in DatabaseState) {
32
- if (Object.prototype.hasOwnProperty.call(DatabaseState, key)) {
33
- if (DatabaseState[key] === value) {
34
- return true;
35
- }
36
- }
37
- }
38
- return false;
39
- }
40
- export function DatabaseStateFromJSON(json) {
41
- return DatabaseStateFromJSONTyped(json, false);
42
- }
43
- export function DatabaseStateFromJSONTyped(json, ignoreDiscriminator) {
44
- return json;
45
- }
46
- export function DatabaseStateToJSON(value) {
47
- return value;
48
- }
@@ -1,38 +0,0 @@
1
- /**
2
- * User account and session management
3
- * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
- *
5
- * The version of the OpenAPI document: 7.6.1-SNAPSHOT
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
- import type { LocalizedString } from './LocalizedString';
13
- /**
14
- * User legacy roles
15
- * @export
16
- * @interface LegacyRoleSchema
17
- */
18
- export interface LegacyRoleSchema {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof LegacyRoleSchema
23
- */
24
- code: string;
25
- /**
26
- *
27
- * @type {LocalizedString}
28
- * @memberof LegacyRoleSchema
29
- */
30
- name: LocalizedString;
31
- }
32
- /**
33
- * Check if a given object implements the LegacyRoleSchema interface.
34
- */
35
- export declare function instanceOfLegacyRoleSchema(value: object): value is LegacyRoleSchema;
36
- export declare function LegacyRoleSchemaFromJSON(json: any): LegacyRoleSchema;
37
- export declare function LegacyRoleSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): LegacyRoleSchema;
38
- export declare function LegacyRoleSchemaToJSON(value?: LegacyRoleSchema | null): any;
@@ -1,45 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * User account and session management
5
- * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
- *
7
- * The version of the OpenAPI document: 7.6.1-SNAPSHOT
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
- import { LocalizedStringFromJSON, LocalizedStringToJSON, } from './LocalizedString';
15
- /**
16
- * Check if a given object implements the LegacyRoleSchema interface.
17
- */
18
- export function instanceOfLegacyRoleSchema(value) {
19
- if (!('code' in value) || value['code'] === undefined)
20
- return false;
21
- if (!('name' in value) || value['name'] === undefined)
22
- return false;
23
- return true;
24
- }
25
- export function LegacyRoleSchemaFromJSON(json) {
26
- return LegacyRoleSchemaFromJSONTyped(json, false);
27
- }
28
- export function LegacyRoleSchemaFromJSONTyped(json, ignoreDiscriminator) {
29
- if (json == null) {
30
- return json;
31
- }
32
- return {
33
- 'code': json['code'],
34
- 'name': LocalizedStringFromJSON(json['name']),
35
- };
36
- }
37
- export function LegacyRoleSchemaToJSON(value) {
38
- if (value == null) {
39
- return value;
40
- }
41
- return {
42
- 'code': value['code'],
43
- 'name': LocalizedStringToJSON(value['name']),
44
- };
45
- }
@@ -1,63 +0,0 @@
1
- /**
2
- * User account and session management
3
- * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
- *
5
- * The version of the OpenAPI document: 7.6.1-SNAPSHOT
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
- import type { DatabaseState } from './DatabaseState';
13
- import type { ServiceName } from './ServiceName';
14
- /**
15
- *
16
- * @export
17
- * @interface ServiceAccess
18
- */
19
- export interface ServiceAccess {
20
- /**
21
- *
22
- * @type {ServiceName}
23
- * @memberof ServiceAccess
24
- */
25
- serviceName: ServiceName;
26
- /**
27
- *
28
- * @type {number}
29
- * @memberof ServiceAccess
30
- */
31
- databaseId?: number | null;
32
- /**
33
- *
34
- * @type {string}
35
- * @memberof ServiceAccess
36
- */
37
- databaseName?: string | null;
38
- /**
39
- *
40
- * @type {DatabaseState}
41
- * @memberof ServiceAccess
42
- */
43
- databaseState?: DatabaseState | null;
44
- /**
45
- * Local ID of the user in the database.
46
- * @type {number}
47
- * @memberof ServiceAccess
48
- */
49
- userId?: number | null;
50
- /**
51
- * Number of concurrent desktop session allowed for Equisoft/Connect. 0 for unlimited access.
52
- * @type {number}
53
- * @memberof ServiceAccess
54
- */
55
- maxConcurrentAccess?: number | null;
56
- }
57
- /**
58
- * Check if a given object implements the ServiceAccess interface.
59
- */
60
- export declare function instanceOfServiceAccess(value: object): value is ServiceAccess;
61
- export declare function ServiceAccessFromJSON(json: any): ServiceAccess;
62
- export declare function ServiceAccessFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceAccess;
63
- export declare function ServiceAccessToJSON(value?: ServiceAccess | null): any;
@@ -1,52 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * User account and session management
5
- * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
- *
7
- * The version of the OpenAPI document: 7.6.1-SNAPSHOT
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
- import { DatabaseStateFromJSON, DatabaseStateToJSON, } from './DatabaseState';
15
- import { ServiceNameFromJSON, ServiceNameToJSON, } from './ServiceName';
16
- /**
17
- * Check if a given object implements the ServiceAccess interface.
18
- */
19
- export function instanceOfServiceAccess(value) {
20
- if (!('serviceName' in value) || value['serviceName'] === undefined)
21
- return false;
22
- return true;
23
- }
24
- export function ServiceAccessFromJSON(json) {
25
- return ServiceAccessFromJSONTyped(json, false);
26
- }
27
- export function ServiceAccessFromJSONTyped(json, ignoreDiscriminator) {
28
- if (json == null) {
29
- return json;
30
- }
31
- return {
32
- 'serviceName': ServiceNameFromJSON(json['serviceName']),
33
- 'databaseId': json['databaseId'] == null ? undefined : json['databaseId'],
34
- 'databaseName': json['databaseName'] == null ? undefined : json['databaseName'],
35
- 'databaseState': json['databaseState'] == null ? undefined : DatabaseStateFromJSON(json['databaseState']),
36
- 'userId': json['userId'] == null ? undefined : json['userId'],
37
- 'maxConcurrentAccess': json['maxConcurrentAccess'] == null ? undefined : json['maxConcurrentAccess'],
38
- };
39
- }
40
- export function ServiceAccessToJSON(value) {
41
- if (value == null) {
42
- return value;
43
- }
44
- return {
45
- 'serviceName': ServiceNameToJSON(value['serviceName']),
46
- 'databaseId': value['databaseId'],
47
- 'databaseName': value['databaseName'],
48
- 'databaseState': DatabaseStateToJSON(value['databaseState']),
49
- 'userId': value['userId'],
50
- 'maxConcurrentAccess': value['maxConcurrentAccess'],
51
- };
52
- }
@@ -1,28 +0,0 @@
1
- /**
2
- * User account and session management
3
- * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
- *
5
- * The version of the OpenAPI document: 7.6.1-SNAPSHOT
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
- */
16
- export declare const ServiceName: {
17
- readonly EQUISOFT_CONNECT: "EQUISOFT_CONNECT";
18
- readonly EQUISOFT_PLAN: "EQUISOFT_PLAN";
19
- readonly EQUISOFT_ANALYZE_FOR_ADVISORS: "EQUISOFT_ANALYZE_FOR_ADVISORS";
20
- readonly CPANEL: "CPANEL";
21
- readonly CPANEL2: "CPANEL2";
22
- readonly unknown_default_open_api: "11184809";
23
- };
24
- export type ServiceName = typeof ServiceName[keyof typeof ServiceName];
25
- export declare function instanceOfServiceName(value: any): boolean;
26
- export declare function ServiceNameFromJSON(json: any): ServiceName;
27
- export declare function ServiceNameFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceName;
28
- export declare function ServiceNameToJSON(value?: ServiceName | null): any;
@@ -1,44 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * User account and session management
5
- * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
- *
7
- * The version of the OpenAPI document: 7.6.1-SNAPSHOT
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- *
16
- * @export
17
- */
18
- export const ServiceName = {
19
- EQUISOFT_CONNECT: 'EQUISOFT_CONNECT',
20
- EQUISOFT_PLAN: 'EQUISOFT_PLAN',
21
- EQUISOFT_ANALYZE_FOR_ADVISORS: 'EQUISOFT_ANALYZE_FOR_ADVISORS',
22
- CPANEL: 'CPANEL',
23
- CPANEL2: 'CPANEL2',
24
- unknown_default_open_api: '11184809'
25
- };
26
- export function instanceOfServiceName(value) {
27
- for (const key in ServiceName) {
28
- if (Object.prototype.hasOwnProperty.call(ServiceName, key)) {
29
- if (ServiceName[key] === value) {
30
- return true;
31
- }
32
- }
33
- }
34
- return false;
35
- }
36
- export function ServiceNameFromJSON(json) {
37
- return ServiceNameFromJSONTyped(json, false);
38
- }
39
- export function ServiceNameFromJSONTyped(json, ignoreDiscriminator) {
40
- return json;
41
- }
42
- export function ServiceNameToJSON(value) {
43
- return value;
44
- }
@@ -1,32 +0,0 @@
1
- /**
2
- * User account and session management
3
- * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
- *
5
- * The version of the OpenAPI document: 7.6.1-SNAPSHOT
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
- * States:
14
- * * `ENABLED` - Database is active.
15
- * * `DISABLED` - Access to this database is suspended.
16
- * * `DELETED` - Database is deleted.
17
- * * `MAINTENANCE` - Database is in maintenance, login temporarily suspended.
18
- *
19
- * @export
20
- */
21
- export declare const DatabaseState: {
22
- readonly ENABLED: "ENABLED";
23
- readonly DISABLED: "DISABLED";
24
- readonly DELETED: "DELETED";
25
- readonly MAINTENANCE: "MAINTENANCE";
26
- readonly unknown_default_open_api: "11184809";
27
- };
28
- export type DatabaseState = typeof DatabaseState[keyof typeof DatabaseState];
29
- export declare function instanceOfDatabaseState(value: any): boolean;
30
- export declare function DatabaseStateFromJSON(json: any): DatabaseState;
31
- export declare function DatabaseStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatabaseState;
32
- export declare function DatabaseStateToJSON(value?: DatabaseState | null): any;
@@ -1,55 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * User account and session management
6
- * Provides HTTP endpoints to manage User Accounts and User Sessions.
7
- *
8
- * The version of the OpenAPI document: 7.6.1-SNAPSHOT
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.DatabaseState = void 0;
17
- exports.instanceOfDatabaseState = instanceOfDatabaseState;
18
- exports.DatabaseStateFromJSON = DatabaseStateFromJSON;
19
- exports.DatabaseStateFromJSONTyped = DatabaseStateFromJSONTyped;
20
- exports.DatabaseStateToJSON = DatabaseStateToJSON;
21
- /**
22
- * States:
23
- * * `ENABLED` - Database is active.
24
- * * `DISABLED` - Access to this database is suspended.
25
- * * `DELETED` - Database is deleted.
26
- * * `MAINTENANCE` - Database is in maintenance, login temporarily suspended.
27
- *
28
- * @export
29
- */
30
- exports.DatabaseState = {
31
- ENABLED: 'ENABLED',
32
- DISABLED: 'DISABLED',
33
- DELETED: 'DELETED',
34
- MAINTENANCE: 'MAINTENANCE',
35
- unknown_default_open_api: '11184809'
36
- };
37
- function instanceOfDatabaseState(value) {
38
- for (const key in exports.DatabaseState) {
39
- if (Object.prototype.hasOwnProperty.call(exports.DatabaseState, key)) {
40
- if (exports.DatabaseState[key] === value) {
41
- return true;
42
- }
43
- }
44
- }
45
- return false;
46
- }
47
- function DatabaseStateFromJSON(json) {
48
- return DatabaseStateFromJSONTyped(json, false);
49
- }
50
- function DatabaseStateFromJSONTyped(json, ignoreDiscriminator) {
51
- return json;
52
- }
53
- function DatabaseStateToJSON(value) {
54
- return value;
55
- }