@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
@@ -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,51 +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.instanceOfLegacyRoleSchema = instanceOfLegacyRoleSchema;
17
- exports.LegacyRoleSchemaFromJSON = LegacyRoleSchemaFromJSON;
18
- exports.LegacyRoleSchemaFromJSONTyped = LegacyRoleSchemaFromJSONTyped;
19
- exports.LegacyRoleSchemaToJSON = LegacyRoleSchemaToJSON;
20
- const LocalizedString_1 = require("./LocalizedString");
21
- /**
22
- * Check if a given object implements the LegacyRoleSchema interface.
23
- */
24
- function instanceOfLegacyRoleSchema(value) {
25
- if (!('code' in value) || value['code'] === undefined)
26
- return false;
27
- if (!('name' in value) || value['name'] === undefined)
28
- return false;
29
- return true;
30
- }
31
- function LegacyRoleSchemaFromJSON(json) {
32
- return LegacyRoleSchemaFromJSONTyped(json, false);
33
- }
34
- function LegacyRoleSchemaFromJSONTyped(json, ignoreDiscriminator) {
35
- if (json == null) {
36
- return json;
37
- }
38
- return {
39
- 'code': json['code'],
40
- 'name': (0, LocalizedString_1.LocalizedStringFromJSON)(json['name']),
41
- };
42
- }
43
- function LegacyRoleSchemaToJSON(value) {
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'code': value['code'],
49
- 'name': (0, LocalizedString_1.LocalizedStringToJSON)(value['name']),
50
- };
51
- }
@@ -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,58 +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.instanceOfServiceAccess = instanceOfServiceAccess;
17
- exports.ServiceAccessFromJSON = ServiceAccessFromJSON;
18
- exports.ServiceAccessFromJSONTyped = ServiceAccessFromJSONTyped;
19
- exports.ServiceAccessToJSON = ServiceAccessToJSON;
20
- const DatabaseState_1 = require("./DatabaseState");
21
- const ServiceName_1 = require("./ServiceName");
22
- /**
23
- * Check if a given object implements the ServiceAccess interface.
24
- */
25
- function instanceOfServiceAccess(value) {
26
- if (!('serviceName' in value) || value['serviceName'] === undefined)
27
- return false;
28
- return true;
29
- }
30
- function ServiceAccessFromJSON(json) {
31
- return ServiceAccessFromJSONTyped(json, false);
32
- }
33
- function ServiceAccessFromJSONTyped(json, ignoreDiscriminator) {
34
- if (json == null) {
35
- return json;
36
- }
37
- return {
38
- 'serviceName': (0, ServiceName_1.ServiceNameFromJSON)(json['serviceName']),
39
- 'databaseId': json['databaseId'] == null ? undefined : json['databaseId'],
40
- 'databaseName': json['databaseName'] == null ? undefined : json['databaseName'],
41
- 'databaseState': json['databaseState'] == null ? undefined : (0, DatabaseState_1.DatabaseStateFromJSON)(json['databaseState']),
42
- 'userId': json['userId'] == null ? undefined : json['userId'],
43
- 'maxConcurrentAccess': json['maxConcurrentAccess'] == null ? undefined : json['maxConcurrentAccess'],
44
- };
45
- }
46
- function ServiceAccessToJSON(value) {
47
- if (value == null) {
48
- return value;
49
- }
50
- return {
51
- 'serviceName': (0, ServiceName_1.ServiceNameToJSON)(value['serviceName']),
52
- 'databaseId': value['databaseId'],
53
- 'databaseName': value['databaseName'],
54
- 'databaseState': (0, DatabaseState_1.DatabaseStateToJSON)(value['databaseState']),
55
- 'userId': value['userId'],
56
- 'maxConcurrentAccess': value['maxConcurrentAccess'],
57
- };
58
- }
@@ -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,51 +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.ServiceName = void 0;
17
- exports.instanceOfServiceName = instanceOfServiceName;
18
- exports.ServiceNameFromJSON = ServiceNameFromJSON;
19
- exports.ServiceNameFromJSONTyped = ServiceNameFromJSONTyped;
20
- exports.ServiceNameToJSON = ServiceNameToJSON;
21
- /**
22
- *
23
- * @export
24
- */
25
- exports.ServiceName = {
26
- EQUISOFT_CONNECT: 'EQUISOFT_CONNECT',
27
- EQUISOFT_PLAN: 'EQUISOFT_PLAN',
28
- EQUISOFT_ANALYZE_FOR_ADVISORS: 'EQUISOFT_ANALYZE_FOR_ADVISORS',
29
- CPANEL: 'CPANEL',
30
- CPANEL2: 'CPANEL2',
31
- unknown_default_open_api: '11184809'
32
- };
33
- function instanceOfServiceName(value) {
34
- for (const key in exports.ServiceName) {
35
- if (Object.prototype.hasOwnProperty.call(exports.ServiceName, key)) {
36
- if (exports.ServiceName[key] === value) {
37
- return true;
38
- }
39
- }
40
- }
41
- return false;
42
- }
43
- function ServiceNameFromJSON(json) {
44
- return ServiceNameFromJSONTyped(json, false);
45
- }
46
- function ServiceNameFromJSONTyped(json, ignoreDiscriminator) {
47
- return json;
48
- }
49
- function ServiceNameToJSON(value) {
50
- return value;
51
- }
@@ -1,57 +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
- /**
17
- * States:
18
- * * `ENABLED` - Database is active.
19
- * * `DISABLED` - Access to this database is suspended.
20
- * * `DELETED` - Database is deleted.
21
- * * `MAINTENANCE` - Database is in maintenance, login temporarily suspended.
22
- *
23
- * @export
24
- */
25
- export const DatabaseState = {
26
- ENABLED: 'ENABLED',
27
- DISABLED: 'DISABLED',
28
- DELETED: 'DELETED',
29
- MAINTENANCE: 'MAINTENANCE',
30
- unknown_default_open_api: '11184809'
31
- } as const;
32
- export type DatabaseState = typeof DatabaseState[keyof typeof DatabaseState];
33
-
34
-
35
- export function instanceOfDatabaseState(value: any): boolean {
36
- for (const key in DatabaseState) {
37
- if (Object.prototype.hasOwnProperty.call(DatabaseState, key)) {
38
- if ((DatabaseState as Record<string, DatabaseState>)[key] === value) {
39
- return true;
40
- }
41
- }
42
- }
43
- return false;
44
- }
45
-
46
- export function DatabaseStateFromJSON(json: any): DatabaseState {
47
- return DatabaseStateFromJSONTyped(json, false);
48
- }
49
-
50
- export function DatabaseStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatabaseState {
51
- return json as DatabaseState;
52
- }
53
-
54
- export function DatabaseStateToJSON(value?: DatabaseState | null): any {
55
- return value as any;
56
- }
57
-
@@ -1,77 +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
- import { mapValues } from '../runtime';
16
- import type { LocalizedString } from './LocalizedString';
17
- import {
18
- LocalizedStringFromJSON,
19
- LocalizedStringFromJSONTyped,
20
- LocalizedStringToJSON,
21
- } from './LocalizedString';
22
-
23
- /**
24
- * User legacy roles
25
- * @export
26
- * @interface LegacyRoleSchema
27
- */
28
- export interface LegacyRoleSchema {
29
- /**
30
- *
31
- * @type {string}
32
- * @memberof LegacyRoleSchema
33
- */
34
- code: string;
35
- /**
36
- *
37
- * @type {LocalizedString}
38
- * @memberof LegacyRoleSchema
39
- */
40
- name: LocalizedString;
41
- }
42
-
43
- /**
44
- * Check if a given object implements the LegacyRoleSchema interface.
45
- */
46
- export function instanceOfLegacyRoleSchema(value: object): value is LegacyRoleSchema {
47
- if (!('code' in value) || value['code'] === undefined) return false;
48
- if (!('name' in value) || value['name'] === undefined) return false;
49
- return true;
50
- }
51
-
52
- export function LegacyRoleSchemaFromJSON(json: any): LegacyRoleSchema {
53
- return LegacyRoleSchemaFromJSONTyped(json, false);
54
- }
55
-
56
- export function LegacyRoleSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): LegacyRoleSchema {
57
- if (json == null) {
58
- return json;
59
- }
60
- return {
61
-
62
- 'code': json['code'],
63
- 'name': LocalizedStringFromJSON(json['name']),
64
- };
65
- }
66
-
67
- export function LegacyRoleSchemaToJSON(value?: LegacyRoleSchema | null): any {
68
- if (value == null) {
69
- return value;
70
- }
71
- return {
72
-
73
- 'code': value['code'],
74
- 'name': LocalizedStringToJSON(value['name']),
75
- };
76
- }
77
-
@@ -1,114 +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
- import { mapValues } from '../runtime';
16
- import type { DatabaseState } from './DatabaseState';
17
- import {
18
- DatabaseStateFromJSON,
19
- DatabaseStateFromJSONTyped,
20
- DatabaseStateToJSON,
21
- } from './DatabaseState';
22
- import type { ServiceName } from './ServiceName';
23
- import {
24
- ServiceNameFromJSON,
25
- ServiceNameFromJSONTyped,
26
- ServiceNameToJSON,
27
- } from './ServiceName';
28
-
29
- /**
30
- *
31
- * @export
32
- * @interface ServiceAccess
33
- */
34
- export interface ServiceAccess {
35
- /**
36
- *
37
- * @type {ServiceName}
38
- * @memberof ServiceAccess
39
- */
40
- serviceName: ServiceName;
41
- /**
42
- *
43
- * @type {number}
44
- * @memberof ServiceAccess
45
- */
46
- databaseId?: number | null;
47
- /**
48
- *
49
- * @type {string}
50
- * @memberof ServiceAccess
51
- */
52
- databaseName?: string | null;
53
- /**
54
- *
55
- * @type {DatabaseState}
56
- * @memberof ServiceAccess
57
- */
58
- databaseState?: DatabaseState | null;
59
- /**
60
- * Local ID of the user in the database.
61
- * @type {number}
62
- * @memberof ServiceAccess
63
- */
64
- userId?: number | null;
65
- /**
66
- * Number of concurrent desktop session allowed for Equisoft/Connect. 0 for unlimited access.
67
- * @type {number}
68
- * @memberof ServiceAccess
69
- */
70
- maxConcurrentAccess?: number | null;
71
- }
72
-
73
- /**
74
- * Check if a given object implements the ServiceAccess interface.
75
- */
76
- export function instanceOfServiceAccess(value: object): value is ServiceAccess {
77
- if (!('serviceName' in value) || value['serviceName'] === undefined) return false;
78
- return true;
79
- }
80
-
81
- export function ServiceAccessFromJSON(json: any): ServiceAccess {
82
- return ServiceAccessFromJSONTyped(json, false);
83
- }
84
-
85
- export function ServiceAccessFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceAccess {
86
- if (json == null) {
87
- return json;
88
- }
89
- return {
90
-
91
- 'serviceName': ServiceNameFromJSON(json['serviceName']),
92
- 'databaseId': json['databaseId'] == null ? undefined : json['databaseId'],
93
- 'databaseName': json['databaseName'] == null ? undefined : json['databaseName'],
94
- 'databaseState': json['databaseState'] == null ? undefined : DatabaseStateFromJSON(json['databaseState']),
95
- 'userId': json['userId'] == null ? undefined : json['userId'],
96
- 'maxConcurrentAccess': json['maxConcurrentAccess'] == null ? undefined : json['maxConcurrentAccess'],
97
- };
98
- }
99
-
100
- export function ServiceAccessToJSON(value?: ServiceAccess | null): any {
101
- if (value == null) {
102
- return value;
103
- }
104
- return {
105
-
106
- 'serviceName': ServiceNameToJSON(value['serviceName']),
107
- 'databaseId': value['databaseId'],
108
- 'databaseName': value['databaseName'],
109
- 'databaseState': DatabaseStateToJSON(value['databaseState']),
110
- 'userId': value['userId'],
111
- 'maxConcurrentAccess': value['maxConcurrentAccess'],
112
- };
113
- }
114
-
@@ -1,53 +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
- /**
17
- *
18
- * @export
19
- */
20
- export const ServiceName = {
21
- EQUISOFT_CONNECT: 'EQUISOFT_CONNECT',
22
- EQUISOFT_PLAN: 'EQUISOFT_PLAN',
23
- EQUISOFT_ANALYZE_FOR_ADVISORS: 'EQUISOFT_ANALYZE_FOR_ADVISORS',
24
- CPANEL: 'CPANEL',
25
- CPANEL2: 'CPANEL2',
26
- unknown_default_open_api: '11184809'
27
- } as const;
28
- export type ServiceName = typeof ServiceName[keyof typeof ServiceName];
29
-
30
-
31
- export function instanceOfServiceName(value: any): boolean {
32
- for (const key in ServiceName) {
33
- if (Object.prototype.hasOwnProperty.call(ServiceName, key)) {
34
- if ((ServiceName as Record<string, ServiceName>)[key] === value) {
35
- return true;
36
- }
37
- }
38
- }
39
- return false;
40
- }
41
-
42
- export function ServiceNameFromJSON(json: any): ServiceName {
43
- return ServiceNameFromJSONTyped(json, false);
44
- }
45
-
46
- export function ServiceNameFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceName {
47
- return json as ServiceName;
48
- }
49
-
50
- export function ServiceNameToJSON(value?: ServiceName | null): any {
51
- return value as any;
52
- }
53
-