@jrojaspin/security-map-api-cli 1.2.0

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 (132) hide show
  1. package/.env.template +23 -0
  2. package/package.json +104 -0
  3. package/src/.openapi-generator/FILES +7 -0
  4. package/src/.openapi-generator/VERSION +1 -0
  5. package/src/.openapi-generator-ignore +23 -0
  6. package/src/apis/DefaultApi.ts +728 -0
  7. package/src/apis/index.ts +3 -0
  8. package/src/generated-client/.openapi-generator/FILES +114 -0
  9. package/src/generated-client/.openapi-generator/VERSION +1 -0
  10. package/src/generated-client/.openapi-generator-ignore +23 -0
  11. package/src/generated-client/apis/AccountApi.ts +161 -0
  12. package/src/generated-client/apis/ArticleApi.ts +58 -0
  13. package/src/generated-client/apis/DefaultApi.ts +200 -0
  14. package/src/generated-client/apis/HealthcheckApi.ts +51 -0
  15. package/src/generated-client/apis/ItemApi.ts +369 -0
  16. package/src/generated-client/apis/JournalApi.ts +166 -0
  17. package/src/generated-client/apis/LocationApi.ts +66 -0
  18. package/src/generated-client/apis/LoginApi.ts +215 -0
  19. package/src/generated-client/apis/MapApi.ts +341 -0
  20. package/src/generated-client/apis/MultimediaApi.ts +140 -0
  21. package/src/generated-client/apis/ReportApi.ts +145 -0
  22. package/src/generated-client/apis/SearchApi.ts +82 -0
  23. package/src/generated-client/apis/SourceApi.ts +95 -0
  24. package/src/generated-client/apis/StateMachineApi.ts +58 -0
  25. package/src/generated-client/apis/index.ts +16 -0
  26. package/src/generated-client/index.ts +5 -0
  27. package/src/generated-client/models/Def0.ts +73 -0
  28. package/src/generated-client/models/Def1.ts +81 -0
  29. package/src/generated-client/models/Def10.ts +105 -0
  30. package/src/generated-client/models/Def11.ts +105 -0
  31. package/src/generated-client/models/Def12.ts +81 -0
  32. package/src/generated-client/models/Def13.ts +93 -0
  33. package/src/generated-client/models/Def14.ts +93 -0
  34. package/src/generated-client/models/Def15.ts +75 -0
  35. package/src/generated-client/models/Def16.ts +127 -0
  36. package/src/generated-client/models/Def17.ts +81 -0
  37. package/src/generated-client/models/Def18.ts +105 -0
  38. package/src/generated-client/models/Def19.ts +81 -0
  39. package/src/generated-client/models/Def2.ts +83 -0
  40. package/src/generated-client/models/Def20.ts +105 -0
  41. package/src/generated-client/models/Def21.ts +81 -0
  42. package/src/generated-client/models/Def22.ts +217 -0
  43. package/src/generated-client/models/Def23.ts +97 -0
  44. package/src/generated-client/models/Def24.ts +127 -0
  45. package/src/generated-client/models/Def25.ts +81 -0
  46. package/src/generated-client/models/Def26.ts +81 -0
  47. package/src/generated-client/models/Def27.ts +105 -0
  48. package/src/generated-client/models/Def28.ts +121 -0
  49. package/src/generated-client/models/Def29.ts +97 -0
  50. package/src/generated-client/models/Def3.ts +135 -0
  51. package/src/generated-client/models/Def30.ts +113 -0
  52. package/src/generated-client/models/Def31.ts +116 -0
  53. package/src/generated-client/models/Def32.ts +121 -0
  54. package/src/generated-client/models/Def33.ts +66 -0
  55. package/src/generated-client/models/Def34.ts +66 -0
  56. package/src/generated-client/models/Def35.ts +81 -0
  57. package/src/generated-client/models/Def36.ts +84 -0
  58. package/src/generated-client/models/Def37.ts +92 -0
  59. package/src/generated-client/models/Def38.ts +102 -0
  60. package/src/generated-client/models/Def39.ts +102 -0
  61. package/src/generated-client/models/Def4.ts +113 -0
  62. package/src/generated-client/models/Def40.ts +137 -0
  63. package/src/generated-client/models/Def41.ts +178 -0
  64. package/src/generated-client/models/Def42.ts +66 -0
  65. package/src/generated-client/models/Def43.ts +84 -0
  66. package/src/generated-client/models/Def44.ts +75 -0
  67. package/src/generated-client/models/Def45.ts +74 -0
  68. package/src/generated-client/models/Def46.ts +102 -0
  69. package/src/generated-client/models/Def47.ts +66 -0
  70. package/src/generated-client/models/Def48.ts +65 -0
  71. package/src/generated-client/models/Def49.ts +66 -0
  72. package/src/generated-client/models/Def5.ts +89 -0
  73. package/src/generated-client/models/Def50.ts +66 -0
  74. package/src/generated-client/models/Def51.ts +123 -0
  75. package/src/generated-client/models/Def52.ts +66 -0
  76. package/src/generated-client/models/Def53.ts +66 -0
  77. package/src/generated-client/models/Def54.ts +66 -0
  78. package/src/generated-client/models/Def56.ts +90 -0
  79. package/src/generated-client/models/Def57.ts +182 -0
  80. package/src/generated-client/models/Def58.ts +84 -0
  81. package/src/generated-client/models/Def59.ts +66 -0
  82. package/src/generated-client/models/Def6.ts +97 -0
  83. package/src/generated-client/models/Def60.ts +66 -0
  84. package/src/generated-client/models/Def61.ts +189 -0
  85. package/src/generated-client/models/Def62.ts +91 -0
  86. package/src/generated-client/models/Def63.ts +66 -0
  87. package/src/generated-client/models/Def64.ts +66 -0
  88. package/src/generated-client/models/Def65.ts +66 -0
  89. package/src/generated-client/models/Def66.ts +66 -0
  90. package/src/generated-client/models/Def67.ts +66 -0
  91. package/src/generated-client/models/Def68.ts +66 -0
  92. package/src/generated-client/models/Def69.ts +66 -0
  93. package/src/generated-client/models/Def7.ts +105 -0
  94. package/src/generated-client/models/Def70.ts +66 -0
  95. package/src/generated-client/models/Def71.ts +66 -0
  96. package/src/generated-client/models/Def72.ts +66 -0
  97. package/src/generated-client/models/Def73.ts +66 -0
  98. package/src/generated-client/models/Def74.ts +66 -0
  99. package/src/generated-client/models/Def75.ts +75 -0
  100. package/src/generated-client/models/Def76.ts +66 -0
  101. package/src/generated-client/models/Def77.ts +66 -0
  102. package/src/generated-client/models/Def78.ts +84 -0
  103. package/src/generated-client/models/Def79.ts +75 -0
  104. package/src/generated-client/models/Def8.ts +137 -0
  105. package/src/generated-client/models/Def80.ts +73 -0
  106. package/src/generated-client/models/Def81.ts +75 -0
  107. package/src/generated-client/models/Def82.ts +66 -0
  108. package/src/generated-client/models/Def83.ts +66 -0
  109. package/src/generated-client/models/Def84.ts +66 -0
  110. package/src/generated-client/models/Def85.ts +66 -0
  111. package/src/generated-client/models/Def86.ts +92 -0
  112. package/src/generated-client/models/Def87.ts +84 -0
  113. package/src/generated-client/models/Def88.ts +66 -0
  114. package/src/generated-client/models/Def89.ts +66 -0
  115. package/src/generated-client/models/Def9.ts +113 -0
  116. package/src/generated-client/models/Def90.ts +73 -0
  117. package/src/generated-client/models/Def91.ts +66 -0
  118. package/src/generated-client/models/Def92.ts +66 -0
  119. package/src/generated-client/models/Def93.ts +101 -0
  120. package/src/generated-client/models/Def94.ts +66 -0
  121. package/src/generated-client/models/Def95.ts +73 -0
  122. package/src/generated-client/models/Def96.ts +66 -0
  123. package/src/generated-client/models/User.ts +91 -0
  124. package/src/generated-client/models/index.ts +98 -0
  125. package/src/generated-client/runtime.ts +431 -0
  126. package/src/index.ts +5 -0
  127. package/src/models/User.ts +91 -0
  128. package/src/models/index.ts +3 -0
  129. package/src/runtime.ts +431 -0
  130. package/ts2js.sh +1 -0
  131. package/tsconfig.build.json +15 -0
  132. package/tsconfig.json +82 -0
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Security Map API
5
+ * Security Map API
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
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
+ /**
17
+ * ItemTypeOutput
18
+ * @export
19
+ * @interface Def49
20
+ */
21
+ export interface Def49 {
22
+ /**
23
+ * ItemTypeORM
24
+ * @type {object}
25
+ * @memberof Def49
26
+ */
27
+ data: object;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the Def49 interface.
32
+ */
33
+ export function instanceOfDef49(value: object): value is Def49 {
34
+ if (!('data' in value) || value['data'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function Def49FromJSON(json: any): Def49 {
39
+ return Def49FromJSONTyped(json, false);
40
+ }
41
+
42
+ export function Def49FromJSONTyped(json: any, ignoreDiscriminator: boolean): Def49 {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'data': json['data'],
49
+ };
50
+ }
51
+
52
+ export function Def49ToJSON(json: any): Def49 {
53
+ return Def49ToJSONTyped(json, false);
54
+ }
55
+
56
+ export function Def49ToJSONTyped(value?: Def49 | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'data': value['data'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,89 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Security Map API
5
+ * Security Map API
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
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
+ /**
17
+ * ArticleTypeORM
18
+ * @export
19
+ * @interface Def5
20
+ */
21
+ export interface Def5 {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof Def5
26
+ */
27
+ id?: number;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof Def5
32
+ */
33
+ title?: string;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof Def5
38
+ */
39
+ organizationId?: number;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof Def5
44
+ */
45
+ userId?: number;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the Def5 interface.
50
+ */
51
+ export function instanceOfDef5(value: object): value is Def5 {
52
+ return true;
53
+ }
54
+
55
+ export function Def5FromJSON(json: any): Def5 {
56
+ return Def5FromJSONTyped(json, false);
57
+ }
58
+
59
+ export function Def5FromJSONTyped(json: any, ignoreDiscriminator: boolean): Def5 {
60
+ if (json == null) {
61
+ return json;
62
+ }
63
+ return {
64
+
65
+ 'id': json['id'] == null ? undefined : json['id'],
66
+ 'title': json['title'] == null ? undefined : json['title'],
67
+ 'organizationId': json['organizationId'] == null ? undefined : json['organizationId'],
68
+ 'userId': json['userId'] == null ? undefined : json['userId'],
69
+ };
70
+ }
71
+
72
+ export function Def5ToJSON(json: any): Def5 {
73
+ return Def5ToJSONTyped(json, false);
74
+ }
75
+
76
+ export function Def5ToJSONTyped(value?: Def5 | null, ignoreDiscriminator: boolean = false): any {
77
+ if (value == null) {
78
+ return value;
79
+ }
80
+
81
+ return {
82
+
83
+ 'id': value['id'],
84
+ 'title': value['title'],
85
+ 'organizationId': value['organizationId'],
86
+ 'userId': value['userId'],
87
+ };
88
+ }
89
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Security Map API
5
+ * Security Map API
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
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
+ /**
17
+ * ItemsOutput
18
+ * @export
19
+ * @interface Def50
20
+ */
21
+ export interface Def50 {
22
+ /**
23
+ *
24
+ * @type {Array<object>}
25
+ * @memberof Def50
26
+ */
27
+ data: Array<object>;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the Def50 interface.
32
+ */
33
+ export function instanceOfDef50(value: object): value is Def50 {
34
+ if (!('data' in value) || value['data'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function Def50FromJSON(json: any): Def50 {
39
+ return Def50FromJSONTyped(json, false);
40
+ }
41
+
42
+ export function Def50FromJSONTyped(json: any, ignoreDiscriminator: boolean): Def50 {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'data': json['data'],
49
+ };
50
+ }
51
+
52
+ export function Def50ToJSON(json: any): Def50 {
53
+ return Def50ToJSONTyped(json, false);
54
+ }
55
+
56
+ export function Def50ToJSONTyped(value?: Def50 | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'data': value['data'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,123 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Security Map API
5
+ * Security Map API
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
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
+ /**
17
+ * JournalEntryDto
18
+ * @export
19
+ * @interface Def51
20
+ */
21
+ export interface Def51 {
22
+ /**
23
+ *
24
+ * @type {Array<number>}
25
+ * @memberof Def51
26
+ */
27
+ multimediaIds: Array<number>;
28
+ /**
29
+ *
30
+ * @type {Array<number>}
31
+ * @memberof Def51
32
+ */
33
+ articleIds: Array<number>;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof Def51
38
+ */
39
+ id?: number;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof Def51
44
+ */
45
+ parentId?: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof Def51
50
+ */
51
+ text?: string;
52
+ /**
53
+ *
54
+ * @type {object}
55
+ * @memberof Def51
56
+ */
57
+ sourceId?: object;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof Def51
62
+ */
63
+ createDate?: string;
64
+ /**
65
+ *
66
+ * @type {string}
67
+ * @memberof Def51
68
+ */
69
+ deleteDate?: string;
70
+ }
71
+
72
+ /**
73
+ * Check if a given object implements the Def51 interface.
74
+ */
75
+ export function instanceOfDef51(value: object): value is Def51 {
76
+ if (!('multimediaIds' in value) || value['multimediaIds'] === undefined) return false;
77
+ if (!('articleIds' in value) || value['articleIds'] === undefined) return false;
78
+ return true;
79
+ }
80
+
81
+ export function Def51FromJSON(json: any): Def51 {
82
+ return Def51FromJSONTyped(json, false);
83
+ }
84
+
85
+ export function Def51FromJSONTyped(json: any, ignoreDiscriminator: boolean): Def51 {
86
+ if (json == null) {
87
+ return json;
88
+ }
89
+ return {
90
+
91
+ 'multimediaIds': json['multimediaIds'],
92
+ 'articleIds': json['articleIds'],
93
+ 'id': json['id'] == null ? undefined : json['id'],
94
+ 'parentId': json['parentId'] == null ? undefined : json['parentId'],
95
+ 'text': json['text'] == null ? undefined : json['text'],
96
+ 'sourceId': json['sourceId'] == null ? undefined : json['sourceId'],
97
+ 'createDate': json['createDate'] == null ? undefined : json['createDate'],
98
+ 'deleteDate': json['deleteDate'] == null ? undefined : json['deleteDate'],
99
+ };
100
+ }
101
+
102
+ export function Def51ToJSON(json: any): Def51 {
103
+ return Def51ToJSONTyped(json, false);
104
+ }
105
+
106
+ export function Def51ToJSONTyped(value?: Def51 | null, ignoreDiscriminator: boolean = false): any {
107
+ if (value == null) {
108
+ return value;
109
+ }
110
+
111
+ return {
112
+
113
+ 'multimediaIds': value['multimediaIds'],
114
+ 'articleIds': value['articleIds'],
115
+ 'id': value['id'],
116
+ 'parentId': value['parentId'],
117
+ 'text': value['text'],
118
+ 'sourceId': value['sourceId'],
119
+ 'createDate': value['createDate'],
120
+ 'deleteDate': value['deleteDate'],
121
+ };
122
+ }
123
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Security Map API
5
+ * Security Map API
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
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
+ /**
17
+ * JournalEntryMultimediaInput
18
+ * @export
19
+ * @interface Def52
20
+ */
21
+ export interface Def52 {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof Def52
26
+ */
27
+ multimediaId: number;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the Def52 interface.
32
+ */
33
+ export function instanceOfDef52(value: object): value is Def52 {
34
+ if (!('multimediaId' in value) || value['multimediaId'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function Def52FromJSON(json: any): Def52 {
39
+ return Def52FromJSONTyped(json, false);
40
+ }
41
+
42
+ export function Def52FromJSONTyped(json: any, ignoreDiscriminator: boolean): Def52 {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'multimediaId': json['multimediaId'],
49
+ };
50
+ }
51
+
52
+ export function Def52ToJSON(json: any): Def52 {
53
+ return Def52ToJSONTyped(json, false);
54
+ }
55
+
56
+ export function Def52ToJSONTyped(value?: Def52 | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'multimediaId': value['multimediaId'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Security Map API
5
+ * Security Map API
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
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
+ /**
17
+ * JournalEntryOutput
18
+ * @export
19
+ * @interface Def53
20
+ */
21
+ export interface Def53 {
22
+ /**
23
+ * JournalEntryORM
24
+ * @type {object}
25
+ * @memberof Def53
26
+ */
27
+ data: object;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the Def53 interface.
32
+ */
33
+ export function instanceOfDef53(value: object): value is Def53 {
34
+ if (!('data' in value) || value['data'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function Def53FromJSON(json: any): Def53 {
39
+ return Def53FromJSONTyped(json, false);
40
+ }
41
+
42
+ export function Def53FromJSONTyped(json: any, ignoreDiscriminator: boolean): Def53 {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'data': json['data'],
49
+ };
50
+ }
51
+
52
+ export function Def53ToJSON(json: any): Def53 {
53
+ return Def53ToJSONTyped(json, false);
54
+ }
55
+
56
+ export function Def53ToJSONTyped(value?: Def53 | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'data': value['data'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Security Map API
5
+ * Security Map API
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
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
+ /**
17
+ * JournalEntryListOutput
18
+ * @export
19
+ * @interface Def54
20
+ */
21
+ export interface Def54 {
22
+ /**
23
+ *
24
+ * @type {Array<object>}
25
+ * @memberof Def54
26
+ */
27
+ data: Array<object>;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the Def54 interface.
32
+ */
33
+ export function instanceOfDef54(value: object): value is Def54 {
34
+ if (!('data' in value) || value['data'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function Def54FromJSON(json: any): Def54 {
39
+ return Def54FromJSONTyped(json, false);
40
+ }
41
+
42
+ export function Def54FromJSONTyped(json: any, ignoreDiscriminator: boolean): Def54 {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'data': json['data'],
49
+ };
50
+ }
51
+
52
+ export function Def54ToJSON(json: any): Def54 {
53
+ return Def54ToJSONTyped(json, false);
54
+ }
55
+
56
+ export function Def54ToJSONTyped(value?: Def54 | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'data': value['data'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,90 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Security Map API
5
+ * Security Map API
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
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
+ /**
17
+ * MapZoneInput
18
+ * @export
19
+ * @interface Def56
20
+ */
21
+ export interface Def56 {
22
+ /**
23
+ *
24
+ * @type {Array<number>}
25
+ * @memberof Def56
26
+ */
27
+ locationIds: Array<number>;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof Def56
32
+ */
33
+ id?: number;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof Def56
38
+ */
39
+ title?: string;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof Def56
44
+ */
45
+ isCloseZone?: number;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the Def56 interface.
50
+ */
51
+ export function instanceOfDef56(value: object): value is Def56 {
52
+ if (!('locationIds' in value) || value['locationIds'] === undefined) return false;
53
+ return true;
54
+ }
55
+
56
+ export function Def56FromJSON(json: any): Def56 {
57
+ return Def56FromJSONTyped(json, false);
58
+ }
59
+
60
+ export function Def56FromJSONTyped(json: any, ignoreDiscriminator: boolean): Def56 {
61
+ if (json == null) {
62
+ return json;
63
+ }
64
+ return {
65
+
66
+ 'locationIds': json['locationIds'],
67
+ 'id': json['id'] == null ? undefined : json['id'],
68
+ 'title': json['title'] == null ? undefined : json['title'],
69
+ 'isCloseZone': json['isCloseZone'] == null ? undefined : json['isCloseZone'],
70
+ };
71
+ }
72
+
73
+ export function Def56ToJSON(json: any): Def56 {
74
+ return Def56ToJSONTyped(json, false);
75
+ }
76
+
77
+ export function Def56ToJSONTyped(value?: Def56 | null, ignoreDiscriminator: boolean = false): any {
78
+ if (value == null) {
79
+ return value;
80
+ }
81
+
82
+ return {
83
+
84
+ 'locationIds': value['locationIds'],
85
+ 'id': value['id'],
86
+ 'title': value['title'],
87
+ 'isCloseZone': value['isCloseZone'],
88
+ };
89
+ }
90
+