jmapcloud-types 0.0.1 → 2.0.23-qa.10

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.
@@ -0,0 +1,232 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+
6
+ export interface paths {
7
+ "/rest/v1/organizations/{organization}/logs": {
8
+ parameters: {
9
+ query?: never
10
+ header?: never
11
+ path?: never
12
+ cookie?: never
13
+ }
14
+ get?: never
15
+ put?: never
16
+ /**
17
+ * Get logs
18
+ * @description ### Role required
19
+ * `ORG_ADMIN`
20
+ */
21
+ post: operations["getLogs"]
22
+ delete?: never
23
+ options?: never
24
+ head?: never
25
+ patch?: never
26
+ trace?: never
27
+ }
28
+ }
29
+ export type webhooks = Record<string, never>
30
+ export interface components {
31
+ schemas: {
32
+ ParamLogsQuery: {
33
+ /**
34
+ * Format: int32
35
+ * @example 0
36
+ */
37
+ from?: number
38
+ /**
39
+ * @example {
40
+ * "query_string": {
41
+ * "query": "DELETE_LAYER"
42
+ * }
43
+ * }
44
+ */
45
+ query?: {
46
+ [key: string]: unknown
47
+ }
48
+ /**
49
+ * Format: int32
50
+ * @example 100
51
+ */
52
+ size?: number
53
+ }
54
+ ResponseBody400: {
55
+ errors?: string[]
56
+ message?: string
57
+ }
58
+ ResponseBody401: {
59
+ errors?: string[]
60
+ message?: string
61
+ }
62
+ ResponseBody403: {
63
+ errors?: string[]
64
+ message?: string
65
+ }
66
+ ResponseBody404: {
67
+ errors?: string[]
68
+ /** @example ORGANIZATION: 95f6ea8d-e8f0-4b7d-adfb-8bf7059b4d95 */
69
+ message?: string
70
+ /** @example 95f6ea8d-e8f0-4b7d-adfb-8bf7059b4d95 */
71
+ resourceId?: string
72
+ /**
73
+ * @example ORGANIZATION
74
+ * @enum {string}
75
+ */
76
+ resourceType?:
77
+ | "API_KEY"
78
+ | "ATTACHMENT"
79
+ | "CONDITION_EXPRESSION"
80
+ | "DATA_SOURCE"
81
+ | "DOCUMENT"
82
+ | "DYNAMIC_FILTER"
83
+ | "EXTENSION"
84
+ | "FEATURE"
85
+ | "FILE"
86
+ | "FORM"
87
+ | "GROUP"
88
+ | "GROUP_MEMBER"
89
+ | "LAYER"
90
+ | "LAYER_GROUP"
91
+ | "MEMBER_RESOURCE"
92
+ | "MOUSE_OVER_CONFIGURATION"
93
+ | "ORGANIZATION"
94
+ | "ORGANIZATION_EXTENSION"
95
+ | "ORGANIZATION_MEMBER"
96
+ | "PROCESS"
97
+ | "PROCESS_JOB"
98
+ | "PROJECT"
99
+ | "RELATIONSHIP"
100
+ | "REPORT"
101
+ | "ROW"
102
+ | "RULE_CONDITION"
103
+ | "SEARCH_FORM"
104
+ | "STYLE"
105
+ | "STYLE_MAP_SCALE"
106
+ | "STYLE_RULE"
107
+ | "SYMBOLOGY_RESOURCE"
108
+ | "TABLE_DATASET"
109
+ | "TAG"
110
+ | "TAGGED_RESOURCE"
111
+ | "USER"
112
+ | "USER_METADATA"
113
+ }
114
+ ResponseBody500: {
115
+ errors?: string[]
116
+ message?: string
117
+ }
118
+ ResponseLogs: {
119
+ /** @example The result is logs */
120
+ message?: string
121
+ result?: components["schemas"]["SearchResult"]
122
+ }
123
+ SearchResult: {
124
+ hits?: components["schemas"]["SearchResultHitsMetadata"]
125
+ searchResults?: components["schemas"]["SearchResult"][]
126
+ shards?: components["schemas"]["SearchResultShards"]
127
+ timedOut?: boolean
128
+ /** Format: int64 */
129
+ took?: number
130
+ }
131
+ SearchResultHitsMetadata: {
132
+ hits?: {
133
+ [key: string]: unknown
134
+ }[]
135
+ /** Format: double */
136
+ maxScore?: number
137
+ total?: {
138
+ [key: string]: unknown
139
+ }
140
+ }
141
+ SearchResultShards: {
142
+ /** Format: int32 */
143
+ failed?: number
144
+ /** Format: int32 */
145
+ skipped?: number
146
+ /** Format: int32 */
147
+ successful?: number
148
+ /** Format: int32 */
149
+ total?: number
150
+ }
151
+ }
152
+ responses: never
153
+ parameters: never
154
+ requestBodies: never
155
+ headers: never
156
+ pathItems: never
157
+ }
158
+ export type $defs = Record<string, never>
159
+ export interface operations {
160
+ getLogs: {
161
+ parameters: {
162
+ query?: never
163
+ header?: never
164
+ path: {
165
+ /** @description The id of the organization */
166
+ organization: string
167
+ }
168
+ cookie?: never
169
+ }
170
+ requestBody: {
171
+ content: {
172
+ "application/json": components["schemas"]["ParamLogsQuery"]
173
+ }
174
+ }
175
+ responses: {
176
+ /** @description Successfully retrieved the logs */
177
+ 200: {
178
+ headers: {
179
+ [name: string]: unknown
180
+ }
181
+ content: {
182
+ "application/json": components["schemas"]["ResponseLogs"]
183
+ }
184
+ }
185
+ /** @description Parameter(s) has not a good data format */
186
+ 400: {
187
+ headers: {
188
+ [name: string]: unknown
189
+ }
190
+ content: {
191
+ "application/json": components["schemas"]["ResponseBody400"]
192
+ }
193
+ }
194
+ /** @description You are not authorized to view the resource */
195
+ 401: {
196
+ headers: {
197
+ [name: string]: unknown
198
+ }
199
+ content: {
200
+ "application/json": components["schemas"]["ResponseBody401"]
201
+ }
202
+ }
203
+ /** @description Accessing the resource you were trying to reach is forbidden */
204
+ 403: {
205
+ headers: {
206
+ [name: string]: unknown
207
+ }
208
+ content: {
209
+ "application/json": components["schemas"]["ResponseBody403"]
210
+ }
211
+ }
212
+ /** @description The resource you were trying to reach is not found */
213
+ 404: {
214
+ headers: {
215
+ [name: string]: unknown
216
+ }
217
+ content: {
218
+ "application/json": components["schemas"]["ResponseBody404"]
219
+ }
220
+ }
221
+ /** @description The server encounters an unexpected internal error */
222
+ 500: {
223
+ headers: {
224
+ [name: string]: unknown
225
+ }
226
+ content: {
227
+ "application/json": components["schemas"]["ResponseBody500"]
228
+ }
229
+ }
230
+ }
231
+ }
232
+ }