@platformatic/watt-extra 0.1.9 → 1.0.1-alpha.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.
- package/LICENSE +201 -0
- package/clients/compliance/compliance-types.d.ts +1125 -725
- package/clients/compliance/compliance.mjs +780 -449
- package/clients/compliance/compliance.openapi.json +509 -447
- package/package.json +8 -2
- package/plugins/compliancy.js +9 -3
- package/plugins/init.js +4 -1
- package/test/compliancy.test.js +3 -2
- package/test/helper.js +2 -9
- package/test/init.test.js +2 -0
|
@@ -5,812 +5,1021 @@ export interface FullResponse<T, U extends number> {
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
export type GetReportsRequest = {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
8
|
+
query?: {
|
|
9
|
+
/**
|
|
10
|
+
* Limit will be applied by default if not passed. If the provided value exceeds the maximum allowed value a validation error will be thrown
|
|
11
|
+
*/
|
|
12
|
+
'limit'?: number;
|
|
13
|
+
'offset'?: number;
|
|
14
|
+
'totalCount'?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Include cursor headers in response. Cursor keys built from orderBy clause
|
|
17
|
+
*/
|
|
18
|
+
'cursor'?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Cursor for forward pagination. List objects after this cursor position
|
|
21
|
+
*/
|
|
22
|
+
'startAfter'?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Cursor for backward pagination. List objects before this cursor position
|
|
25
|
+
*/
|
|
26
|
+
'endBefore'?: string;
|
|
27
|
+
'fields'?: Array<'applicationId' | 'createdAt' | 'id' | 'result' | 'ruleSet'>;
|
|
28
|
+
'where.applicationId.eq'?: string;
|
|
29
|
+
'where.applicationId.neq'?: string;
|
|
30
|
+
'where.applicationId.gt'?: string;
|
|
31
|
+
'where.applicationId.gte'?: string;
|
|
32
|
+
'where.applicationId.lt'?: string;
|
|
33
|
+
'where.applicationId.lte'?: string;
|
|
34
|
+
'where.applicationId.like'?: string;
|
|
35
|
+
'where.applicationId.ilike'?: string;
|
|
36
|
+
'where.applicationId.in'?: string;
|
|
37
|
+
'where.applicationId.nin'?: string;
|
|
38
|
+
'where.applicationId.contains'?: string;
|
|
39
|
+
'where.applicationId.contained'?: string;
|
|
40
|
+
'where.applicationId.overlaps'?: string;
|
|
41
|
+
'where.createdAt.eq'?: string;
|
|
42
|
+
'where.createdAt.neq'?: string;
|
|
43
|
+
'where.createdAt.gt'?: string;
|
|
44
|
+
'where.createdAt.gte'?: string;
|
|
45
|
+
'where.createdAt.lt'?: string;
|
|
46
|
+
'where.createdAt.lte'?: string;
|
|
47
|
+
'where.createdAt.like'?: string;
|
|
48
|
+
'where.createdAt.ilike'?: string;
|
|
49
|
+
'where.createdAt.in'?: string;
|
|
50
|
+
'where.createdAt.nin'?: string;
|
|
51
|
+
'where.createdAt.contains'?: string;
|
|
52
|
+
'where.createdAt.contained'?: string;
|
|
53
|
+
'where.createdAt.overlaps'?: string;
|
|
54
|
+
'where.id.eq'?: string;
|
|
55
|
+
'where.id.neq'?: string;
|
|
56
|
+
'where.id.gt'?: string;
|
|
57
|
+
'where.id.gte'?: string;
|
|
58
|
+
'where.id.lt'?: string;
|
|
59
|
+
'where.id.lte'?: string;
|
|
60
|
+
'where.id.like'?: string;
|
|
61
|
+
'where.id.ilike'?: string;
|
|
62
|
+
'where.id.in'?: string;
|
|
63
|
+
'where.id.nin'?: string;
|
|
64
|
+
'where.id.contains'?: string;
|
|
65
|
+
'where.id.contained'?: string;
|
|
66
|
+
'where.id.overlaps'?: string;
|
|
67
|
+
'where.result.eq'?: boolean;
|
|
68
|
+
'where.result.neq'?: boolean;
|
|
69
|
+
'where.result.gt'?: boolean;
|
|
70
|
+
'where.result.gte'?: boolean;
|
|
71
|
+
'where.result.lt'?: boolean;
|
|
72
|
+
'where.result.lte'?: boolean;
|
|
73
|
+
'where.result.like'?: boolean;
|
|
74
|
+
'where.result.ilike'?: boolean;
|
|
75
|
+
'where.result.in'?: string;
|
|
76
|
+
'where.result.nin'?: string;
|
|
77
|
+
'where.result.contains'?: string;
|
|
78
|
+
'where.result.contained'?: string;
|
|
79
|
+
'where.result.overlaps'?: string;
|
|
80
|
+
'where.ruleSet.eq'?: string;
|
|
81
|
+
'where.ruleSet.neq'?: string;
|
|
82
|
+
'where.ruleSet.gt'?: string;
|
|
83
|
+
'where.ruleSet.gte'?: string;
|
|
84
|
+
'where.ruleSet.lt'?: string;
|
|
85
|
+
'where.ruleSet.lte'?: string;
|
|
86
|
+
'where.ruleSet.like'?: string;
|
|
87
|
+
'where.ruleSet.ilike'?: string;
|
|
88
|
+
'where.ruleSet.in'?: string;
|
|
89
|
+
'where.ruleSet.nin'?: string;
|
|
90
|
+
'where.ruleSet.contains'?: string;
|
|
91
|
+
'where.ruleSet.contained'?: string;
|
|
92
|
+
'where.ruleSet.overlaps'?: string;
|
|
93
|
+
'where.or'?: Array<string>;
|
|
94
|
+
'orderby.applicationId'?: 'asc' | 'desc';
|
|
95
|
+
'orderby.createdAt'?: 'asc' | 'desc';
|
|
96
|
+
'orderby.id'?: 'asc' | 'desc';
|
|
97
|
+
'orderby.result'?: 'asc' | 'desc';
|
|
98
|
+
'orderby.ruleSet'?: 'asc' | 'desc';
|
|
99
|
+
}
|
|
91
100
|
}
|
|
92
101
|
|
|
93
|
-
|
|
102
|
+
/**
|
|
103
|
+
* Default Response
|
|
104
|
+
*/
|
|
105
|
+
export type GetReportsResponseOK = Array<{ 'id'?: string | null; 'applicationId'?: string | null; 'result'?: boolean | null; 'ruleSet'?: object | null; 'createdAt'?: string | null }>
|
|
94
106
|
export type GetReportsResponses =
|
|
95
|
-
GetReportsResponseOK
|
|
107
|
+
FullResponse<GetReportsResponseOK, 200>
|
|
96
108
|
|
|
97
109
|
export type CreateReportRequest = {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
110
|
+
query?: {
|
|
111
|
+
'fields'?: Array<'applicationId' | 'createdAt' | 'id' | 'result' | 'ruleSet'>;
|
|
112
|
+
}
|
|
113
|
+
body: {
|
|
114
|
+
'id'?: string;
|
|
115
|
+
'applicationId'?: string | null;
|
|
116
|
+
'result': boolean;
|
|
117
|
+
'ruleSet': object;
|
|
118
|
+
'createdAt'?: string | null;
|
|
119
|
+
}
|
|
104
120
|
}
|
|
105
121
|
|
|
106
|
-
|
|
122
|
+
/**
|
|
123
|
+
* A Report
|
|
124
|
+
*/
|
|
125
|
+
export type CreateReportResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'result'?: boolean | null; 'ruleSet'?: object | null; 'createdAt'?: string | null }
|
|
107
126
|
export type CreateReportResponses =
|
|
108
|
-
CreateReportResponseOK
|
|
127
|
+
FullResponse<CreateReportResponseOK, 200>
|
|
109
128
|
|
|
110
129
|
export type UpdateReportsRequest = {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
'bundleId'?: string | null;
|
|
188
|
-
'result': boolean;
|
|
189
|
-
'ruleSet': object;
|
|
190
|
-
'createdAt'?: string | null;
|
|
130
|
+
query?: {
|
|
131
|
+
'fields'?: Array<'applicationId' | 'createdAt' | 'id' | 'result' | 'ruleSet'>;
|
|
132
|
+
'where.applicationId.eq'?: string;
|
|
133
|
+
'where.applicationId.neq'?: string;
|
|
134
|
+
'where.applicationId.gt'?: string;
|
|
135
|
+
'where.applicationId.gte'?: string;
|
|
136
|
+
'where.applicationId.lt'?: string;
|
|
137
|
+
'where.applicationId.lte'?: string;
|
|
138
|
+
'where.applicationId.like'?: string;
|
|
139
|
+
'where.applicationId.ilike'?: string;
|
|
140
|
+
'where.applicationId.in'?: string;
|
|
141
|
+
'where.applicationId.nin'?: string;
|
|
142
|
+
'where.applicationId.contains'?: string;
|
|
143
|
+
'where.applicationId.contained'?: string;
|
|
144
|
+
'where.applicationId.overlaps'?: string;
|
|
145
|
+
'where.createdAt.eq'?: string;
|
|
146
|
+
'where.createdAt.neq'?: string;
|
|
147
|
+
'where.createdAt.gt'?: string;
|
|
148
|
+
'where.createdAt.gte'?: string;
|
|
149
|
+
'where.createdAt.lt'?: string;
|
|
150
|
+
'where.createdAt.lte'?: string;
|
|
151
|
+
'where.createdAt.like'?: string;
|
|
152
|
+
'where.createdAt.ilike'?: string;
|
|
153
|
+
'where.createdAt.in'?: string;
|
|
154
|
+
'where.createdAt.nin'?: string;
|
|
155
|
+
'where.createdAt.contains'?: string;
|
|
156
|
+
'where.createdAt.contained'?: string;
|
|
157
|
+
'where.createdAt.overlaps'?: string;
|
|
158
|
+
'where.id.eq'?: string;
|
|
159
|
+
'where.id.neq'?: string;
|
|
160
|
+
'where.id.gt'?: string;
|
|
161
|
+
'where.id.gte'?: string;
|
|
162
|
+
'where.id.lt'?: string;
|
|
163
|
+
'where.id.lte'?: string;
|
|
164
|
+
'where.id.like'?: string;
|
|
165
|
+
'where.id.ilike'?: string;
|
|
166
|
+
'where.id.in'?: string;
|
|
167
|
+
'where.id.nin'?: string;
|
|
168
|
+
'where.id.contains'?: string;
|
|
169
|
+
'where.id.contained'?: string;
|
|
170
|
+
'where.id.overlaps'?: string;
|
|
171
|
+
'where.result.eq'?: boolean;
|
|
172
|
+
'where.result.neq'?: boolean;
|
|
173
|
+
'where.result.gt'?: boolean;
|
|
174
|
+
'where.result.gte'?: boolean;
|
|
175
|
+
'where.result.lt'?: boolean;
|
|
176
|
+
'where.result.lte'?: boolean;
|
|
177
|
+
'where.result.like'?: boolean;
|
|
178
|
+
'where.result.ilike'?: boolean;
|
|
179
|
+
'where.result.in'?: string;
|
|
180
|
+
'where.result.nin'?: string;
|
|
181
|
+
'where.result.contains'?: string;
|
|
182
|
+
'where.result.contained'?: string;
|
|
183
|
+
'where.result.overlaps'?: string;
|
|
184
|
+
'where.ruleSet.eq'?: string;
|
|
185
|
+
'where.ruleSet.neq'?: string;
|
|
186
|
+
'where.ruleSet.gt'?: string;
|
|
187
|
+
'where.ruleSet.gte'?: string;
|
|
188
|
+
'where.ruleSet.lt'?: string;
|
|
189
|
+
'where.ruleSet.lte'?: string;
|
|
190
|
+
'where.ruleSet.like'?: string;
|
|
191
|
+
'where.ruleSet.ilike'?: string;
|
|
192
|
+
'where.ruleSet.in'?: string;
|
|
193
|
+
'where.ruleSet.nin'?: string;
|
|
194
|
+
'where.ruleSet.contains'?: string;
|
|
195
|
+
'where.ruleSet.contained'?: string;
|
|
196
|
+
'where.ruleSet.overlaps'?: string;
|
|
197
|
+
'where.or'?: Array<string>;
|
|
198
|
+
}
|
|
199
|
+
body: {
|
|
200
|
+
'id'?: string;
|
|
201
|
+
'applicationId'?: string | null;
|
|
202
|
+
'result': boolean;
|
|
203
|
+
'ruleSet': object;
|
|
204
|
+
'createdAt'?: string | null;
|
|
205
|
+
}
|
|
191
206
|
}
|
|
192
207
|
|
|
193
|
-
|
|
208
|
+
/**
|
|
209
|
+
* Default Response
|
|
210
|
+
*/
|
|
211
|
+
export type UpdateReportsResponseOK = Array<{ 'id'?: string | null; 'applicationId'?: string | null; 'result'?: boolean | null; 'ruleSet'?: object | null; 'createdAt'?: string | null }>
|
|
194
212
|
export type UpdateReportsResponses =
|
|
195
|
-
UpdateReportsResponseOK
|
|
213
|
+
FullResponse<UpdateReportsResponseOK, 200>
|
|
196
214
|
|
|
197
215
|
export type GetReportByIdRequest = {
|
|
198
|
-
|
|
199
|
-
|
|
216
|
+
path: {
|
|
217
|
+
'id': string;
|
|
218
|
+
}
|
|
219
|
+
query?: {
|
|
220
|
+
'fields'?: Array<'applicationId' | 'createdAt' | 'id' | 'result' | 'ruleSet'>;
|
|
221
|
+
}
|
|
200
222
|
}
|
|
201
223
|
|
|
202
|
-
|
|
224
|
+
/**
|
|
225
|
+
* A Report
|
|
226
|
+
*/
|
|
227
|
+
export type GetReportByIdResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'result'?: boolean | null; 'ruleSet'?: object | null; 'createdAt'?: string | null }
|
|
203
228
|
export type GetReportByIdResponses =
|
|
204
|
-
GetReportByIdResponseOK
|
|
229
|
+
FullResponse<GetReportByIdResponseOK, 200>
|
|
205
230
|
|
|
206
231
|
export type UpdateReportRequest = {
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
232
|
+
path: {
|
|
233
|
+
'id': string;
|
|
234
|
+
}
|
|
235
|
+
query?: {
|
|
236
|
+
'fields'?: Array<'applicationId' | 'createdAt' | 'id' | 'result' | 'ruleSet'>;
|
|
237
|
+
}
|
|
238
|
+
body: {
|
|
239
|
+
'applicationId'?: string | null;
|
|
240
|
+
'result': boolean;
|
|
241
|
+
'ruleSet': object;
|
|
242
|
+
'createdAt'?: string | null;
|
|
243
|
+
}
|
|
214
244
|
}
|
|
215
245
|
|
|
216
|
-
|
|
246
|
+
/**
|
|
247
|
+
* A Report
|
|
248
|
+
*/
|
|
249
|
+
export type UpdateReportResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'result'?: boolean | null; 'ruleSet'?: object | null; 'createdAt'?: string | null }
|
|
217
250
|
export type UpdateReportResponses =
|
|
218
|
-
UpdateReportResponseOK
|
|
251
|
+
FullResponse<UpdateReportResponseOK, 200>
|
|
219
252
|
|
|
220
253
|
export type DeleteReportsRequest = {
|
|
221
|
-
|
|
222
|
-
|
|
254
|
+
path: {
|
|
255
|
+
'id': string;
|
|
256
|
+
}
|
|
257
|
+
query?: {
|
|
258
|
+
'fields'?: Array<'applicationId' | 'createdAt' | 'id' | 'result' | 'ruleSet'>;
|
|
259
|
+
}
|
|
223
260
|
}
|
|
224
261
|
|
|
225
|
-
|
|
262
|
+
/**
|
|
263
|
+
* A Report
|
|
264
|
+
*/
|
|
265
|
+
export type DeleteReportsResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'result'?: boolean | null; 'ruleSet'?: object | null; 'createdAt'?: string | null }
|
|
226
266
|
export type DeleteReportsResponses =
|
|
227
|
-
DeleteReportsResponseOK
|
|
267
|
+
FullResponse<DeleteReportsResponseOK, 200>
|
|
228
268
|
|
|
229
269
|
export type CreateRuleRequest = {
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
270
|
+
query?: {
|
|
271
|
+
'fields'?: Array<'config' | 'createdAt' | 'description' | 'id' | 'label' | 'name'>;
|
|
272
|
+
}
|
|
273
|
+
body: {
|
|
274
|
+
'id'?: string;
|
|
275
|
+
'name'?: string | null;
|
|
276
|
+
'description'?: string | null;
|
|
277
|
+
'label'?: string | null;
|
|
278
|
+
'config': object;
|
|
279
|
+
'createdAt'?: string | null;
|
|
280
|
+
}
|
|
236
281
|
}
|
|
237
282
|
|
|
238
|
-
|
|
283
|
+
/**
|
|
284
|
+
* A Rule
|
|
285
|
+
*/
|
|
286
|
+
export type CreateRuleResponseOK = { 'id'?: string | null; 'name'?: string | null; 'description'?: string | null; 'label'?: string | null; 'config'?: object | null; 'createdAt'?: string | null }
|
|
239
287
|
export type CreateRuleResponses =
|
|
240
|
-
CreateRuleResponseOK
|
|
288
|
+
FullResponse<CreateRuleResponseOK, 200>
|
|
241
289
|
|
|
242
290
|
export type UpdateRulesRequest = {
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
291
|
+
query?: {
|
|
292
|
+
'fields'?: Array<'config' | 'createdAt' | 'description' | 'id' | 'label' | 'name'>;
|
|
293
|
+
'where.config.eq'?: string;
|
|
294
|
+
'where.config.neq'?: string;
|
|
295
|
+
'where.config.gt'?: string;
|
|
296
|
+
'where.config.gte'?: string;
|
|
297
|
+
'where.config.lt'?: string;
|
|
298
|
+
'where.config.lte'?: string;
|
|
299
|
+
'where.config.like'?: string;
|
|
300
|
+
'where.config.ilike'?: string;
|
|
301
|
+
'where.config.in'?: string;
|
|
302
|
+
'where.config.nin'?: string;
|
|
303
|
+
'where.config.contains'?: string;
|
|
304
|
+
'where.config.contained'?: string;
|
|
305
|
+
'where.config.overlaps'?: string;
|
|
306
|
+
'where.createdAt.eq'?: string;
|
|
307
|
+
'where.createdAt.neq'?: string;
|
|
308
|
+
'where.createdAt.gt'?: string;
|
|
309
|
+
'where.createdAt.gte'?: string;
|
|
310
|
+
'where.createdAt.lt'?: string;
|
|
311
|
+
'where.createdAt.lte'?: string;
|
|
312
|
+
'where.createdAt.like'?: string;
|
|
313
|
+
'where.createdAt.ilike'?: string;
|
|
314
|
+
'where.createdAt.in'?: string;
|
|
315
|
+
'where.createdAt.nin'?: string;
|
|
316
|
+
'where.createdAt.contains'?: string;
|
|
317
|
+
'where.createdAt.contained'?: string;
|
|
318
|
+
'where.createdAt.overlaps'?: string;
|
|
319
|
+
'where.description.eq'?: string;
|
|
320
|
+
'where.description.neq'?: string;
|
|
321
|
+
'where.description.gt'?: string;
|
|
322
|
+
'where.description.gte'?: string;
|
|
323
|
+
'where.description.lt'?: string;
|
|
324
|
+
'where.description.lte'?: string;
|
|
325
|
+
'where.description.like'?: string;
|
|
326
|
+
'where.description.ilike'?: string;
|
|
327
|
+
'where.description.in'?: string;
|
|
328
|
+
'where.description.nin'?: string;
|
|
329
|
+
'where.description.contains'?: string;
|
|
330
|
+
'where.description.contained'?: string;
|
|
331
|
+
'where.description.overlaps'?: string;
|
|
332
|
+
'where.id.eq'?: string;
|
|
333
|
+
'where.id.neq'?: string;
|
|
334
|
+
'where.id.gt'?: string;
|
|
335
|
+
'where.id.gte'?: string;
|
|
336
|
+
'where.id.lt'?: string;
|
|
337
|
+
'where.id.lte'?: string;
|
|
338
|
+
'where.id.like'?: string;
|
|
339
|
+
'where.id.ilike'?: string;
|
|
340
|
+
'where.id.in'?: string;
|
|
341
|
+
'where.id.nin'?: string;
|
|
342
|
+
'where.id.contains'?: string;
|
|
343
|
+
'where.id.contained'?: string;
|
|
344
|
+
'where.id.overlaps'?: string;
|
|
345
|
+
'where.label.eq'?: string;
|
|
346
|
+
'where.label.neq'?: string;
|
|
347
|
+
'where.label.gt'?: string;
|
|
348
|
+
'where.label.gte'?: string;
|
|
349
|
+
'where.label.lt'?: string;
|
|
350
|
+
'where.label.lte'?: string;
|
|
351
|
+
'where.label.like'?: string;
|
|
352
|
+
'where.label.ilike'?: string;
|
|
353
|
+
'where.label.in'?: string;
|
|
354
|
+
'where.label.nin'?: string;
|
|
355
|
+
'where.label.contains'?: string;
|
|
356
|
+
'where.label.contained'?: string;
|
|
357
|
+
'where.label.overlaps'?: string;
|
|
358
|
+
'where.name.eq'?: string;
|
|
359
|
+
'where.name.neq'?: string;
|
|
360
|
+
'where.name.gt'?: string;
|
|
361
|
+
'where.name.gte'?: string;
|
|
362
|
+
'where.name.lt'?: string;
|
|
363
|
+
'where.name.lte'?: string;
|
|
364
|
+
'where.name.like'?: string;
|
|
365
|
+
'where.name.ilike'?: string;
|
|
366
|
+
'where.name.in'?: string;
|
|
367
|
+
'where.name.nin'?: string;
|
|
368
|
+
'where.name.contains'?: string;
|
|
369
|
+
'where.name.contained'?: string;
|
|
370
|
+
'where.name.overlaps'?: string;
|
|
371
|
+
'where.or'?: Array<string>;
|
|
372
|
+
}
|
|
373
|
+
body: {
|
|
374
|
+
'id'?: string;
|
|
375
|
+
'name'?: string | null;
|
|
376
|
+
'description'?: string | null;
|
|
377
|
+
'label'?: string | null;
|
|
378
|
+
'config': object;
|
|
379
|
+
'createdAt'?: string | null;
|
|
380
|
+
}
|
|
323
381
|
}
|
|
324
382
|
|
|
325
|
-
|
|
383
|
+
/**
|
|
384
|
+
* Default Response
|
|
385
|
+
*/
|
|
386
|
+
export type UpdateRulesResponseOK = Array<{ 'id'?: string | null; 'name'?: string | null; 'description'?: string | null; 'label'?: string | null; 'config'?: object | null; 'createdAt'?: string | null }>
|
|
326
387
|
export type UpdateRulesResponses =
|
|
327
|
-
UpdateRulesResponseOK
|
|
388
|
+
FullResponse<UpdateRulesResponseOK, 200>
|
|
328
389
|
|
|
329
390
|
export type GetRuleByIdRequest = {
|
|
330
|
-
|
|
331
|
-
|
|
391
|
+
path: {
|
|
392
|
+
'id': string;
|
|
393
|
+
}
|
|
394
|
+
query?: {
|
|
395
|
+
'fields'?: Array<'config' | 'createdAt' | 'description' | 'id' | 'label' | 'name'>;
|
|
396
|
+
}
|
|
332
397
|
}
|
|
333
398
|
|
|
334
|
-
|
|
399
|
+
/**
|
|
400
|
+
* A Rule
|
|
401
|
+
*/
|
|
402
|
+
export type GetRuleByIdResponseOK = { 'id'?: string | null; 'name'?: string | null; 'description'?: string | null; 'label'?: string | null; 'config'?: object | null; 'createdAt'?: string | null }
|
|
335
403
|
export type GetRuleByIdResponses =
|
|
336
|
-
GetRuleByIdResponseOK
|
|
404
|
+
FullResponse<GetRuleByIdResponseOK, 200>
|
|
337
405
|
|
|
338
406
|
export type UpdateRuleRequest = {
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
407
|
+
path: {
|
|
408
|
+
'id': string;
|
|
409
|
+
}
|
|
410
|
+
query?: {
|
|
411
|
+
'fields'?: Array<'config' | 'createdAt' | 'description' | 'id' | 'label' | 'name'>;
|
|
412
|
+
}
|
|
413
|
+
body: {
|
|
414
|
+
'name'?: string | null;
|
|
415
|
+
'description'?: string | null;
|
|
416
|
+
'label'?: string | null;
|
|
417
|
+
'config': object;
|
|
418
|
+
'createdAt'?: string | null;
|
|
419
|
+
}
|
|
346
420
|
}
|
|
347
421
|
|
|
348
|
-
|
|
422
|
+
/**
|
|
423
|
+
* A Rule
|
|
424
|
+
*/
|
|
425
|
+
export type UpdateRuleResponseOK = { 'id'?: string | null; 'name'?: string | null; 'description'?: string | null; 'label'?: string | null; 'config'?: object | null; 'createdAt'?: string | null }
|
|
349
426
|
export type UpdateRuleResponses =
|
|
350
|
-
UpdateRuleResponseOK
|
|
427
|
+
FullResponse<UpdateRuleResponseOK, 200>
|
|
351
428
|
|
|
352
429
|
export type DeleteRulesRequest = {
|
|
353
|
-
|
|
354
|
-
|
|
430
|
+
path: {
|
|
431
|
+
'id': string;
|
|
432
|
+
}
|
|
433
|
+
query?: {
|
|
434
|
+
'fields'?: Array<'config' | 'createdAt' | 'description' | 'id' | 'label' | 'name'>;
|
|
435
|
+
}
|
|
355
436
|
}
|
|
356
437
|
|
|
357
|
-
|
|
438
|
+
/**
|
|
439
|
+
* A Rule
|
|
440
|
+
*/
|
|
441
|
+
export type DeleteRulesResponseOK = { 'id'?: string | null; 'name'?: string | null; 'description'?: string | null; 'label'?: string | null; 'config'?: object | null; 'createdAt'?: string | null }
|
|
358
442
|
export type DeleteRulesResponses =
|
|
359
|
-
DeleteRulesResponseOK
|
|
443
|
+
FullResponse<DeleteRulesResponseOK, 200>
|
|
360
444
|
|
|
361
445
|
export type GetRuleConfigsForRuleRequest = {
|
|
362
|
-
|
|
363
|
-
|
|
446
|
+
path: {
|
|
447
|
+
'id': string;
|
|
448
|
+
}
|
|
449
|
+
query?: {
|
|
450
|
+
/**
|
|
451
|
+
* Limit will be applied by default if not passed. If the provided value exceeds the maximum allowed value a validation error will be thrown
|
|
452
|
+
*/
|
|
453
|
+
'limit'?: number;
|
|
454
|
+
'offset'?: number;
|
|
455
|
+
'fields'?: Array<'applicationId' | 'createdAt' | 'enabled' | 'id' | 'options' | 'ruleId' | 'type'>;
|
|
456
|
+
'totalCount'?: boolean;
|
|
457
|
+
}
|
|
364
458
|
}
|
|
365
459
|
|
|
366
|
-
|
|
460
|
+
/**
|
|
461
|
+
* Default Response
|
|
462
|
+
*/
|
|
463
|
+
export type GetRuleConfigsForRuleResponseOK = Array<{ 'id'?: string | null; 'type'?: 'global' | 'local' | null; 'applicationId'?: string | null; 'enabled'?: boolean | null; 'ruleId'?: string | null; 'options'?: object | null; 'createdAt'?: string | null }>
|
|
367
464
|
export type GetRuleConfigsForRuleResponses =
|
|
368
|
-
GetRuleConfigsForRuleResponseOK
|
|
465
|
+
FullResponse<GetRuleConfigsForRuleResponseOK, 200>
|
|
369
466
|
|
|
370
467
|
export type GetRuleConfigsRequest = {
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
468
|
+
query?: {
|
|
469
|
+
/**
|
|
470
|
+
* Limit will be applied by default if not passed. If the provided value exceeds the maximum allowed value a validation error will be thrown
|
|
471
|
+
*/
|
|
472
|
+
'limit'?: number;
|
|
473
|
+
'offset'?: number;
|
|
474
|
+
'totalCount'?: boolean;
|
|
475
|
+
/**
|
|
476
|
+
* Include cursor headers in response. Cursor keys built from orderBy clause
|
|
477
|
+
*/
|
|
478
|
+
'cursor'?: boolean;
|
|
479
|
+
/**
|
|
480
|
+
* Cursor for forward pagination. List objects after this cursor position
|
|
481
|
+
*/
|
|
482
|
+
'startAfter'?: string;
|
|
483
|
+
/**
|
|
484
|
+
* Cursor for backward pagination. List objects before this cursor position
|
|
485
|
+
*/
|
|
486
|
+
'endBefore'?: string;
|
|
487
|
+
'fields'?: Array<'applicationId' | 'createdAt' | 'enabled' | 'id' | 'options' | 'ruleId' | 'type'>;
|
|
488
|
+
'where.applicationId.eq'?: string;
|
|
489
|
+
'where.applicationId.neq'?: string;
|
|
490
|
+
'where.applicationId.gt'?: string;
|
|
491
|
+
'where.applicationId.gte'?: string;
|
|
492
|
+
'where.applicationId.lt'?: string;
|
|
493
|
+
'where.applicationId.lte'?: string;
|
|
494
|
+
'where.applicationId.like'?: string;
|
|
495
|
+
'where.applicationId.ilike'?: string;
|
|
496
|
+
'where.applicationId.in'?: string;
|
|
497
|
+
'where.applicationId.nin'?: string;
|
|
498
|
+
'where.applicationId.contains'?: string;
|
|
499
|
+
'where.applicationId.contained'?: string;
|
|
500
|
+
'where.applicationId.overlaps'?: string;
|
|
501
|
+
'where.createdAt.eq'?: string;
|
|
502
|
+
'where.createdAt.neq'?: string;
|
|
503
|
+
'where.createdAt.gt'?: string;
|
|
504
|
+
'where.createdAt.gte'?: string;
|
|
505
|
+
'where.createdAt.lt'?: string;
|
|
506
|
+
'where.createdAt.lte'?: string;
|
|
507
|
+
'where.createdAt.like'?: string;
|
|
508
|
+
'where.createdAt.ilike'?: string;
|
|
509
|
+
'where.createdAt.in'?: string;
|
|
510
|
+
'where.createdAt.nin'?: string;
|
|
511
|
+
'where.createdAt.contains'?: string;
|
|
512
|
+
'where.createdAt.contained'?: string;
|
|
513
|
+
'where.createdAt.overlaps'?: string;
|
|
514
|
+
'where.enabled.eq'?: boolean;
|
|
515
|
+
'where.enabled.neq'?: boolean;
|
|
516
|
+
'where.enabled.gt'?: boolean;
|
|
517
|
+
'where.enabled.gte'?: boolean;
|
|
518
|
+
'where.enabled.lt'?: boolean;
|
|
519
|
+
'where.enabled.lte'?: boolean;
|
|
520
|
+
'where.enabled.like'?: boolean;
|
|
521
|
+
'where.enabled.ilike'?: boolean;
|
|
522
|
+
'where.enabled.in'?: string;
|
|
523
|
+
'where.enabled.nin'?: string;
|
|
524
|
+
'where.enabled.contains'?: string;
|
|
525
|
+
'where.enabled.contained'?: string;
|
|
526
|
+
'where.enabled.overlaps'?: string;
|
|
527
|
+
'where.id.eq'?: string;
|
|
528
|
+
'where.id.neq'?: string;
|
|
529
|
+
'where.id.gt'?: string;
|
|
530
|
+
'where.id.gte'?: string;
|
|
531
|
+
'where.id.lt'?: string;
|
|
532
|
+
'where.id.lte'?: string;
|
|
533
|
+
'where.id.like'?: string;
|
|
534
|
+
'where.id.ilike'?: string;
|
|
535
|
+
'where.id.in'?: string;
|
|
536
|
+
'where.id.nin'?: string;
|
|
537
|
+
'where.id.contains'?: string;
|
|
538
|
+
'where.id.contained'?: string;
|
|
539
|
+
'where.id.overlaps'?: string;
|
|
540
|
+
'where.options.eq'?: string;
|
|
541
|
+
'where.options.neq'?: string;
|
|
542
|
+
'where.options.gt'?: string;
|
|
543
|
+
'where.options.gte'?: string;
|
|
544
|
+
'where.options.lt'?: string;
|
|
545
|
+
'where.options.lte'?: string;
|
|
546
|
+
'where.options.like'?: string;
|
|
547
|
+
'where.options.ilike'?: string;
|
|
548
|
+
'where.options.in'?: string;
|
|
549
|
+
'where.options.nin'?: string;
|
|
550
|
+
'where.options.contains'?: string;
|
|
551
|
+
'where.options.contained'?: string;
|
|
552
|
+
'where.options.overlaps'?: string;
|
|
553
|
+
'where.ruleId.eq'?: string;
|
|
554
|
+
'where.ruleId.neq'?: string;
|
|
555
|
+
'where.ruleId.gt'?: string;
|
|
556
|
+
'where.ruleId.gte'?: string;
|
|
557
|
+
'where.ruleId.lt'?: string;
|
|
558
|
+
'where.ruleId.lte'?: string;
|
|
559
|
+
'where.ruleId.like'?: string;
|
|
560
|
+
'where.ruleId.ilike'?: string;
|
|
561
|
+
'where.ruleId.in'?: string;
|
|
562
|
+
'where.ruleId.nin'?: string;
|
|
563
|
+
'where.ruleId.contains'?: string;
|
|
564
|
+
'where.ruleId.contained'?: string;
|
|
565
|
+
'where.ruleId.overlaps'?: string;
|
|
566
|
+
'where.type.eq'?: 'global' | 'local';
|
|
567
|
+
'where.type.neq'?: 'global' | 'local';
|
|
568
|
+
'where.type.gt'?: 'global' | 'local';
|
|
569
|
+
'where.type.gte'?: 'global' | 'local';
|
|
570
|
+
'where.type.lt'?: 'global' | 'local';
|
|
571
|
+
'where.type.lte'?: 'global' | 'local';
|
|
572
|
+
'where.type.like'?: 'global' | 'local';
|
|
573
|
+
'where.type.ilike'?: 'global' | 'local';
|
|
574
|
+
'where.type.in'?: string;
|
|
575
|
+
'where.type.nin'?: string;
|
|
576
|
+
'where.type.contains'?: string;
|
|
577
|
+
'where.type.contained'?: string;
|
|
578
|
+
'where.type.overlaps'?: string;
|
|
579
|
+
'where.or'?: Array<string>;
|
|
580
|
+
'orderby.applicationId'?: 'asc' | 'desc';
|
|
581
|
+
'orderby.createdAt'?: 'asc' | 'desc';
|
|
582
|
+
'orderby.enabled'?: 'asc' | 'desc';
|
|
583
|
+
'orderby.id'?: 'asc' | 'desc';
|
|
584
|
+
'orderby.options'?: 'asc' | 'desc';
|
|
585
|
+
'orderby.ruleId'?: 'asc' | 'desc';
|
|
586
|
+
'orderby.type'?: 'asc' | 'desc';
|
|
587
|
+
}
|
|
467
588
|
}
|
|
468
589
|
|
|
469
|
-
|
|
590
|
+
/**
|
|
591
|
+
* Default Response
|
|
592
|
+
*/
|
|
593
|
+
export type GetRuleConfigsResponseOK = Array<{ 'id'?: string | null; 'type'?: 'global' | 'local' | null; 'applicationId'?: string | null; 'enabled'?: boolean | null; 'ruleId'?: string | null; 'options'?: object | null; 'createdAt'?: string | null }>
|
|
470
594
|
export type GetRuleConfigsResponses =
|
|
471
|
-
GetRuleConfigsResponseOK
|
|
595
|
+
FullResponse<GetRuleConfigsResponseOK, 200>
|
|
472
596
|
|
|
473
597
|
export type CreateRuleConfigRequest = {
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
598
|
+
query?: {
|
|
599
|
+
'fields'?: Array<'applicationId' | 'createdAt' | 'enabled' | 'id' | 'options' | 'ruleId' | 'type'>;
|
|
600
|
+
}
|
|
601
|
+
body: {
|
|
602
|
+
'id'?: string;
|
|
603
|
+
'type': 'global' | 'local';
|
|
604
|
+
'applicationId'?: string | null;
|
|
605
|
+
'enabled'?: boolean | null;
|
|
606
|
+
'ruleId': string;
|
|
607
|
+
'options': object;
|
|
608
|
+
'createdAt'?: string | null;
|
|
609
|
+
}
|
|
481
610
|
}
|
|
482
611
|
|
|
483
|
-
|
|
612
|
+
/**
|
|
613
|
+
* A RuleConfig
|
|
614
|
+
*/
|
|
615
|
+
export type CreateRuleConfigResponseOK = { 'id'?: string | null; 'type'?: 'global' | 'local' | null; 'applicationId'?: string | null; 'enabled'?: boolean | null; 'ruleId'?: string | null; 'options'?: object | null; 'createdAt'?: string | null }
|
|
484
616
|
export type CreateRuleConfigResponses =
|
|
485
|
-
CreateRuleConfigResponseOK
|
|
617
|
+
FullResponse<CreateRuleConfigResponseOK, 200>
|
|
486
618
|
|
|
487
619
|
export type UpdateRuleConfigsRequest = {
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
620
|
+
query?: {
|
|
621
|
+
'fields'?: Array<'applicationId' | 'createdAt' | 'enabled' | 'id' | 'options' | 'ruleId' | 'type'>;
|
|
622
|
+
'where.applicationId.eq'?: string;
|
|
623
|
+
'where.applicationId.neq'?: string;
|
|
624
|
+
'where.applicationId.gt'?: string;
|
|
625
|
+
'where.applicationId.gte'?: string;
|
|
626
|
+
'where.applicationId.lt'?: string;
|
|
627
|
+
'where.applicationId.lte'?: string;
|
|
628
|
+
'where.applicationId.like'?: string;
|
|
629
|
+
'where.applicationId.ilike'?: string;
|
|
630
|
+
'where.applicationId.in'?: string;
|
|
631
|
+
'where.applicationId.nin'?: string;
|
|
632
|
+
'where.applicationId.contains'?: string;
|
|
633
|
+
'where.applicationId.contained'?: string;
|
|
634
|
+
'where.applicationId.overlaps'?: string;
|
|
635
|
+
'where.createdAt.eq'?: string;
|
|
636
|
+
'where.createdAt.neq'?: string;
|
|
637
|
+
'where.createdAt.gt'?: string;
|
|
638
|
+
'where.createdAt.gte'?: string;
|
|
639
|
+
'where.createdAt.lt'?: string;
|
|
640
|
+
'where.createdAt.lte'?: string;
|
|
641
|
+
'where.createdAt.like'?: string;
|
|
642
|
+
'where.createdAt.ilike'?: string;
|
|
643
|
+
'where.createdAt.in'?: string;
|
|
644
|
+
'where.createdAt.nin'?: string;
|
|
645
|
+
'where.createdAt.contains'?: string;
|
|
646
|
+
'where.createdAt.contained'?: string;
|
|
647
|
+
'where.createdAt.overlaps'?: string;
|
|
648
|
+
'where.enabled.eq'?: boolean;
|
|
649
|
+
'where.enabled.neq'?: boolean;
|
|
650
|
+
'where.enabled.gt'?: boolean;
|
|
651
|
+
'where.enabled.gte'?: boolean;
|
|
652
|
+
'where.enabled.lt'?: boolean;
|
|
653
|
+
'where.enabled.lte'?: boolean;
|
|
654
|
+
'where.enabled.like'?: boolean;
|
|
655
|
+
'where.enabled.ilike'?: boolean;
|
|
656
|
+
'where.enabled.in'?: string;
|
|
657
|
+
'where.enabled.nin'?: string;
|
|
658
|
+
'where.enabled.contains'?: string;
|
|
659
|
+
'where.enabled.contained'?: string;
|
|
660
|
+
'where.enabled.overlaps'?: string;
|
|
661
|
+
'where.id.eq'?: string;
|
|
662
|
+
'where.id.neq'?: string;
|
|
663
|
+
'where.id.gt'?: string;
|
|
664
|
+
'where.id.gte'?: string;
|
|
665
|
+
'where.id.lt'?: string;
|
|
666
|
+
'where.id.lte'?: string;
|
|
667
|
+
'where.id.like'?: string;
|
|
668
|
+
'where.id.ilike'?: string;
|
|
669
|
+
'where.id.in'?: string;
|
|
670
|
+
'where.id.nin'?: string;
|
|
671
|
+
'where.id.contains'?: string;
|
|
672
|
+
'where.id.contained'?: string;
|
|
673
|
+
'where.id.overlaps'?: string;
|
|
674
|
+
'where.options.eq'?: string;
|
|
675
|
+
'where.options.neq'?: string;
|
|
676
|
+
'where.options.gt'?: string;
|
|
677
|
+
'where.options.gte'?: string;
|
|
678
|
+
'where.options.lt'?: string;
|
|
679
|
+
'where.options.lte'?: string;
|
|
680
|
+
'where.options.like'?: string;
|
|
681
|
+
'where.options.ilike'?: string;
|
|
682
|
+
'where.options.in'?: string;
|
|
683
|
+
'where.options.nin'?: string;
|
|
684
|
+
'where.options.contains'?: string;
|
|
685
|
+
'where.options.contained'?: string;
|
|
686
|
+
'where.options.overlaps'?: string;
|
|
687
|
+
'where.ruleId.eq'?: string;
|
|
688
|
+
'where.ruleId.neq'?: string;
|
|
689
|
+
'where.ruleId.gt'?: string;
|
|
690
|
+
'where.ruleId.gte'?: string;
|
|
691
|
+
'where.ruleId.lt'?: string;
|
|
692
|
+
'where.ruleId.lte'?: string;
|
|
693
|
+
'where.ruleId.like'?: string;
|
|
694
|
+
'where.ruleId.ilike'?: string;
|
|
695
|
+
'where.ruleId.in'?: string;
|
|
696
|
+
'where.ruleId.nin'?: string;
|
|
697
|
+
'where.ruleId.contains'?: string;
|
|
698
|
+
'where.ruleId.contained'?: string;
|
|
699
|
+
'where.ruleId.overlaps'?: string;
|
|
700
|
+
'where.type.eq'?: 'global' | 'local';
|
|
701
|
+
'where.type.neq'?: 'global' | 'local';
|
|
702
|
+
'where.type.gt'?: 'global' | 'local';
|
|
703
|
+
'where.type.gte'?: 'global' | 'local';
|
|
704
|
+
'where.type.lt'?: 'global' | 'local';
|
|
705
|
+
'where.type.lte'?: 'global' | 'local';
|
|
706
|
+
'where.type.like'?: 'global' | 'local';
|
|
707
|
+
'where.type.ilike'?: 'global' | 'local';
|
|
708
|
+
'where.type.in'?: string;
|
|
709
|
+
'where.type.nin'?: string;
|
|
710
|
+
'where.type.contains'?: string;
|
|
711
|
+
'where.type.contained'?: string;
|
|
712
|
+
'where.type.overlaps'?: string;
|
|
713
|
+
'where.or'?: Array<string>;
|
|
714
|
+
}
|
|
715
|
+
body: {
|
|
716
|
+
'id'?: string;
|
|
717
|
+
'type': 'global' | 'local';
|
|
718
|
+
'applicationId'?: string | null;
|
|
719
|
+
'enabled'?: boolean | null;
|
|
720
|
+
'ruleId': string;
|
|
721
|
+
'options': object;
|
|
722
|
+
'createdAt'?: string | null;
|
|
723
|
+
}
|
|
581
724
|
}
|
|
582
725
|
|
|
583
|
-
|
|
726
|
+
/**
|
|
727
|
+
* Default Response
|
|
728
|
+
*/
|
|
729
|
+
export type UpdateRuleConfigsResponseOK = Array<{ 'id'?: string | null; 'type'?: 'global' | 'local' | null; 'applicationId'?: string | null; 'enabled'?: boolean | null; 'ruleId'?: string | null; 'options'?: object | null; 'createdAt'?: string | null }>
|
|
584
730
|
export type UpdateRuleConfigsResponses =
|
|
585
|
-
UpdateRuleConfigsResponseOK
|
|
731
|
+
FullResponse<UpdateRuleConfigsResponseOK, 200>
|
|
586
732
|
|
|
587
733
|
export type GetRuleConfigByIdRequest = {
|
|
588
|
-
|
|
589
|
-
|
|
734
|
+
path: {
|
|
735
|
+
'id': string;
|
|
736
|
+
}
|
|
737
|
+
query?: {
|
|
738
|
+
'fields'?: Array<'applicationId' | 'createdAt' | 'enabled' | 'id' | 'options' | 'ruleId' | 'type'>;
|
|
739
|
+
}
|
|
590
740
|
}
|
|
591
741
|
|
|
592
|
-
|
|
742
|
+
/**
|
|
743
|
+
* A RuleConfig
|
|
744
|
+
*/
|
|
745
|
+
export type GetRuleConfigByIdResponseOK = { 'id'?: string | null; 'type'?: 'global' | 'local' | null; 'applicationId'?: string | null; 'enabled'?: boolean | null; 'ruleId'?: string | null; 'options'?: object | null; 'createdAt'?: string | null }
|
|
593
746
|
export type GetRuleConfigByIdResponses =
|
|
594
|
-
GetRuleConfigByIdResponseOK
|
|
747
|
+
FullResponse<GetRuleConfigByIdResponseOK, 200>
|
|
595
748
|
|
|
596
749
|
export type UpdateRuleConfigRequest = {
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
750
|
+
path: {
|
|
751
|
+
'id': string;
|
|
752
|
+
}
|
|
753
|
+
query?: {
|
|
754
|
+
'fields'?: Array<'applicationId' | 'createdAt' | 'enabled' | 'id' | 'options' | 'ruleId' | 'type'>;
|
|
755
|
+
}
|
|
756
|
+
body: {
|
|
757
|
+
'type': 'global' | 'local';
|
|
758
|
+
'applicationId'?: string | null;
|
|
759
|
+
'enabled'?: boolean | null;
|
|
760
|
+
'ruleId': string;
|
|
761
|
+
'options': object;
|
|
762
|
+
'createdAt'?: string | null;
|
|
763
|
+
}
|
|
605
764
|
}
|
|
606
765
|
|
|
607
|
-
|
|
766
|
+
/**
|
|
767
|
+
* A RuleConfig
|
|
768
|
+
*/
|
|
769
|
+
export type UpdateRuleConfigResponseOK = { 'id'?: string | null; 'type'?: 'global' | 'local' | null; 'applicationId'?: string | null; 'enabled'?: boolean | null; 'ruleId'?: string | null; 'options'?: object | null; 'createdAt'?: string | null }
|
|
608
770
|
export type UpdateRuleConfigResponses =
|
|
609
|
-
UpdateRuleConfigResponseOK
|
|
771
|
+
FullResponse<UpdateRuleConfigResponseOK, 200>
|
|
610
772
|
|
|
611
773
|
export type DeleteRuleConfigsRequest = {
|
|
612
|
-
|
|
613
|
-
|
|
774
|
+
path: {
|
|
775
|
+
'id': string;
|
|
776
|
+
}
|
|
777
|
+
query?: {
|
|
778
|
+
'fields'?: Array<'applicationId' | 'createdAt' | 'enabled' | 'id' | 'options' | 'ruleId' | 'type'>;
|
|
779
|
+
}
|
|
614
780
|
}
|
|
615
781
|
|
|
616
|
-
|
|
782
|
+
/**
|
|
783
|
+
* A RuleConfig
|
|
784
|
+
*/
|
|
785
|
+
export type DeleteRuleConfigsResponseOK = { 'id'?: string | null; 'type'?: 'global' | 'local' | null; 'applicationId'?: string | null; 'enabled'?: boolean | null; 'ruleId'?: string | null; 'options'?: object | null; 'createdAt'?: string | null }
|
|
617
786
|
export type DeleteRuleConfigsResponses =
|
|
618
|
-
DeleteRuleConfigsResponseOK
|
|
787
|
+
FullResponse<DeleteRuleConfigsResponseOK, 200>
|
|
619
788
|
|
|
620
789
|
export type GetRuleForRuleConfigRequest = {
|
|
621
|
-
|
|
622
|
-
|
|
790
|
+
path: {
|
|
791
|
+
'id': string;
|
|
792
|
+
}
|
|
793
|
+
query?: {
|
|
794
|
+
'fields'?: Array<'config' | 'createdAt' | 'description' | 'id' | 'label' | 'name'>;
|
|
795
|
+
}
|
|
623
796
|
}
|
|
624
797
|
|
|
625
|
-
|
|
798
|
+
/**
|
|
799
|
+
* A Rule
|
|
800
|
+
*/
|
|
801
|
+
export type GetRuleForRuleConfigResponseOK = { 'id'?: string | null; 'name'?: string | null; 'description'?: string | null; 'label'?: string | null; 'config'?: object | null; 'createdAt'?: string | null }
|
|
626
802
|
export type GetRuleForRuleConfigResponses =
|
|
627
|
-
GetRuleForRuleConfigResponseOK
|
|
803
|
+
FullResponse<GetRuleForRuleConfigResponseOK, 200>
|
|
628
804
|
|
|
629
805
|
export type GetMetadataRequest = {
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
806
|
+
query?: {
|
|
807
|
+
/**
|
|
808
|
+
* Limit will be applied by default if not passed. If the provided value exceeds the maximum allowed value a validation error will be thrown
|
|
809
|
+
*/
|
|
810
|
+
'limit'?: number;
|
|
811
|
+
'offset'?: number;
|
|
812
|
+
'totalCount'?: boolean;
|
|
813
|
+
/**
|
|
814
|
+
* Include cursor headers in response. Cursor keys built from orderBy clause
|
|
815
|
+
*/
|
|
816
|
+
'cursor'?: boolean;
|
|
817
|
+
/**
|
|
818
|
+
* Cursor for forward pagination. List objects after this cursor position
|
|
819
|
+
*/
|
|
820
|
+
'startAfter'?: string;
|
|
821
|
+
/**
|
|
822
|
+
* Cursor for backward pagination. List objects before this cursor position
|
|
823
|
+
*/
|
|
824
|
+
'endBefore'?: string;
|
|
825
|
+
'fields'?: Array<'applicationId' | 'createdAt' | 'data' | 'id'>;
|
|
826
|
+
'where.applicationId.eq'?: string;
|
|
827
|
+
'where.applicationId.neq'?: string;
|
|
828
|
+
'where.applicationId.gt'?: string;
|
|
829
|
+
'where.applicationId.gte'?: string;
|
|
830
|
+
'where.applicationId.lt'?: string;
|
|
831
|
+
'where.applicationId.lte'?: string;
|
|
832
|
+
'where.applicationId.like'?: string;
|
|
833
|
+
'where.applicationId.ilike'?: string;
|
|
834
|
+
'where.applicationId.in'?: string;
|
|
835
|
+
'where.applicationId.nin'?: string;
|
|
836
|
+
'where.applicationId.contains'?: string;
|
|
837
|
+
'where.applicationId.contained'?: string;
|
|
838
|
+
'where.applicationId.overlaps'?: string;
|
|
839
|
+
'where.createdAt.eq'?: string;
|
|
840
|
+
'where.createdAt.neq'?: string;
|
|
841
|
+
'where.createdAt.gt'?: string;
|
|
842
|
+
'where.createdAt.gte'?: string;
|
|
843
|
+
'where.createdAt.lt'?: string;
|
|
844
|
+
'where.createdAt.lte'?: string;
|
|
845
|
+
'where.createdAt.like'?: string;
|
|
846
|
+
'where.createdAt.ilike'?: string;
|
|
847
|
+
'where.createdAt.in'?: string;
|
|
848
|
+
'where.createdAt.nin'?: string;
|
|
849
|
+
'where.createdAt.contains'?: string;
|
|
850
|
+
'where.createdAt.contained'?: string;
|
|
851
|
+
'where.createdAt.overlaps'?: string;
|
|
852
|
+
'where.data.eq'?: string;
|
|
853
|
+
'where.data.neq'?: string;
|
|
854
|
+
'where.data.gt'?: string;
|
|
855
|
+
'where.data.gte'?: string;
|
|
856
|
+
'where.data.lt'?: string;
|
|
857
|
+
'where.data.lte'?: string;
|
|
858
|
+
'where.data.like'?: string;
|
|
859
|
+
'where.data.ilike'?: string;
|
|
860
|
+
'where.data.in'?: string;
|
|
861
|
+
'where.data.nin'?: string;
|
|
862
|
+
'where.data.contains'?: string;
|
|
863
|
+
'where.data.contained'?: string;
|
|
864
|
+
'where.data.overlaps'?: string;
|
|
865
|
+
'where.id.eq'?: string;
|
|
866
|
+
'where.id.neq'?: string;
|
|
867
|
+
'where.id.gt'?: string;
|
|
868
|
+
'where.id.gte'?: string;
|
|
869
|
+
'where.id.lt'?: string;
|
|
870
|
+
'where.id.lte'?: string;
|
|
871
|
+
'where.id.like'?: string;
|
|
872
|
+
'where.id.ilike'?: string;
|
|
873
|
+
'where.id.in'?: string;
|
|
874
|
+
'where.id.nin'?: string;
|
|
875
|
+
'where.id.contains'?: string;
|
|
876
|
+
'where.id.contained'?: string;
|
|
877
|
+
'where.id.overlaps'?: string;
|
|
878
|
+
'where.or'?: Array<string>;
|
|
879
|
+
'orderby.applicationId'?: 'asc' | 'desc';
|
|
880
|
+
'orderby.createdAt'?: 'asc' | 'desc';
|
|
881
|
+
'orderby.data'?: 'asc' | 'desc';
|
|
882
|
+
'orderby.id'?: 'asc' | 'desc';
|
|
883
|
+
}
|
|
700
884
|
}
|
|
701
885
|
|
|
702
|
-
|
|
886
|
+
/**
|
|
887
|
+
* Default Response
|
|
888
|
+
*/
|
|
889
|
+
export type GetMetadataResponseOK = Array<{ 'id'?: string | null; 'applicationId'?: string | null; 'data'?: object | null; 'createdAt'?: string | null }>
|
|
703
890
|
export type GetMetadataResponses =
|
|
704
|
-
GetMetadataResponseOK
|
|
891
|
+
FullResponse<GetMetadataResponseOK, 200>
|
|
705
892
|
|
|
706
893
|
export type UpdateMetadataRequest = {
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
'id'?: string;
|
|
770
|
-
'applicationId'?: string | null;
|
|
771
|
-
'bundleId'?: string | null;
|
|
772
|
-
'data': object;
|
|
773
|
-
'createdAt'?: string | null;
|
|
894
|
+
query?: {
|
|
895
|
+
'fields'?: Array<'applicationId' | 'createdAt' | 'data' | 'id'>;
|
|
896
|
+
'where.applicationId.eq'?: string;
|
|
897
|
+
'where.applicationId.neq'?: string;
|
|
898
|
+
'where.applicationId.gt'?: string;
|
|
899
|
+
'where.applicationId.gte'?: string;
|
|
900
|
+
'where.applicationId.lt'?: string;
|
|
901
|
+
'where.applicationId.lte'?: string;
|
|
902
|
+
'where.applicationId.like'?: string;
|
|
903
|
+
'where.applicationId.ilike'?: string;
|
|
904
|
+
'where.applicationId.in'?: string;
|
|
905
|
+
'where.applicationId.nin'?: string;
|
|
906
|
+
'where.applicationId.contains'?: string;
|
|
907
|
+
'where.applicationId.contained'?: string;
|
|
908
|
+
'where.applicationId.overlaps'?: string;
|
|
909
|
+
'where.createdAt.eq'?: string;
|
|
910
|
+
'where.createdAt.neq'?: string;
|
|
911
|
+
'where.createdAt.gt'?: string;
|
|
912
|
+
'where.createdAt.gte'?: string;
|
|
913
|
+
'where.createdAt.lt'?: string;
|
|
914
|
+
'where.createdAt.lte'?: string;
|
|
915
|
+
'where.createdAt.like'?: string;
|
|
916
|
+
'where.createdAt.ilike'?: string;
|
|
917
|
+
'where.createdAt.in'?: string;
|
|
918
|
+
'where.createdAt.nin'?: string;
|
|
919
|
+
'where.createdAt.contains'?: string;
|
|
920
|
+
'where.createdAt.contained'?: string;
|
|
921
|
+
'where.createdAt.overlaps'?: string;
|
|
922
|
+
'where.data.eq'?: string;
|
|
923
|
+
'where.data.neq'?: string;
|
|
924
|
+
'where.data.gt'?: string;
|
|
925
|
+
'where.data.gte'?: string;
|
|
926
|
+
'where.data.lt'?: string;
|
|
927
|
+
'where.data.lte'?: string;
|
|
928
|
+
'where.data.like'?: string;
|
|
929
|
+
'where.data.ilike'?: string;
|
|
930
|
+
'where.data.in'?: string;
|
|
931
|
+
'where.data.nin'?: string;
|
|
932
|
+
'where.data.contains'?: string;
|
|
933
|
+
'where.data.contained'?: string;
|
|
934
|
+
'where.data.overlaps'?: string;
|
|
935
|
+
'where.id.eq'?: string;
|
|
936
|
+
'where.id.neq'?: string;
|
|
937
|
+
'where.id.gt'?: string;
|
|
938
|
+
'where.id.gte'?: string;
|
|
939
|
+
'where.id.lt'?: string;
|
|
940
|
+
'where.id.lte'?: string;
|
|
941
|
+
'where.id.like'?: string;
|
|
942
|
+
'where.id.ilike'?: string;
|
|
943
|
+
'where.id.in'?: string;
|
|
944
|
+
'where.id.nin'?: string;
|
|
945
|
+
'where.id.contains'?: string;
|
|
946
|
+
'where.id.contained'?: string;
|
|
947
|
+
'where.id.overlaps'?: string;
|
|
948
|
+
'where.or'?: Array<string>;
|
|
949
|
+
}
|
|
950
|
+
body: {
|
|
951
|
+
'id'?: string;
|
|
952
|
+
'applicationId'?: string | null;
|
|
953
|
+
'data': object;
|
|
954
|
+
'createdAt'?: string | null;
|
|
955
|
+
}
|
|
774
956
|
}
|
|
775
957
|
|
|
776
|
-
|
|
958
|
+
/**
|
|
959
|
+
* Default Response
|
|
960
|
+
*/
|
|
961
|
+
export type UpdateMetadataResponseOK = Array<{ 'id'?: string | null; 'applicationId'?: string | null; 'data'?: object | null; 'createdAt'?: string | null }>
|
|
777
962
|
export type UpdateMetadataResponses =
|
|
778
|
-
UpdateMetadataResponseOK
|
|
963
|
+
FullResponse<UpdateMetadataResponseOK, 200>
|
|
779
964
|
|
|
780
965
|
export type GetMetadatumByIdRequest = {
|
|
781
|
-
|
|
782
|
-
|
|
966
|
+
path: {
|
|
967
|
+
'id': string;
|
|
968
|
+
}
|
|
969
|
+
query?: {
|
|
970
|
+
'fields'?: Array<'applicationId' | 'createdAt' | 'data' | 'id'>;
|
|
971
|
+
}
|
|
783
972
|
}
|
|
784
973
|
|
|
785
|
-
|
|
974
|
+
/**
|
|
975
|
+
* A Metadatum
|
|
976
|
+
*/
|
|
977
|
+
export type GetMetadatumByIdResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'data'?: object | null; 'createdAt'?: string | null }
|
|
786
978
|
export type GetMetadatumByIdResponses =
|
|
787
|
-
GetMetadatumByIdResponseOK
|
|
979
|
+
FullResponse<GetMetadatumByIdResponseOK, 200>
|
|
788
980
|
|
|
789
981
|
export type UpdateMetadatumRequest = {
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
982
|
+
path: {
|
|
983
|
+
'id': string;
|
|
984
|
+
}
|
|
985
|
+
query?: {
|
|
986
|
+
'fields'?: Array<'applicationId' | 'createdAt' | 'data' | 'id'>;
|
|
987
|
+
}
|
|
988
|
+
body: {
|
|
989
|
+
'applicationId'?: string | null;
|
|
990
|
+
'data': object;
|
|
991
|
+
'createdAt'?: string | null;
|
|
992
|
+
}
|
|
796
993
|
}
|
|
797
994
|
|
|
798
|
-
|
|
995
|
+
/**
|
|
996
|
+
* A Metadatum
|
|
997
|
+
*/
|
|
998
|
+
export type UpdateMetadatumResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'data'?: object | null; 'createdAt'?: string | null }
|
|
799
999
|
export type UpdateMetadatumResponses =
|
|
800
|
-
UpdateMetadatumResponseOK
|
|
1000
|
+
FullResponse<UpdateMetadatumResponseOK, 200>
|
|
801
1001
|
|
|
802
1002
|
export type DeleteMetadataRequest = {
|
|
803
|
-
|
|
804
|
-
|
|
1003
|
+
path: {
|
|
1004
|
+
'id': string;
|
|
1005
|
+
}
|
|
1006
|
+
query?: {
|
|
1007
|
+
'fields'?: Array<'applicationId' | 'createdAt' | 'data' | 'id'>;
|
|
1008
|
+
}
|
|
805
1009
|
}
|
|
806
1010
|
|
|
807
|
-
|
|
1011
|
+
/**
|
|
1012
|
+
* A Metadatum
|
|
1013
|
+
*/
|
|
1014
|
+
export type DeleteMetadataResponseOK = { 'id'?: string | null; 'applicationId'?: string | null; 'data'?: object | null; 'createdAt'?: string | null }
|
|
808
1015
|
export type DeleteMetadataResponses =
|
|
809
|
-
DeleteMetadataResponseOK
|
|
1016
|
+
FullResponse<DeleteMetadataResponseOK, 200>
|
|
810
1017
|
|
|
811
1018
|
export type PostComplianceRequest = {
|
|
812
|
-
|
|
813
|
-
|
|
1019
|
+
body: {
|
|
1020
|
+
'applicationId': string;
|
|
1021
|
+
'podId': string;
|
|
1022
|
+
}
|
|
814
1023
|
}
|
|
815
1024
|
|
|
816
1025
|
export type PostComplianceResponseOK = unknown
|
|
@@ -818,9 +1027,11 @@ export type PostComplianceResponses =
|
|
|
818
1027
|
FullResponse<PostComplianceResponseOK, 200>
|
|
819
1028
|
|
|
820
1029
|
export type PostMetadataRequest = {
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
1030
|
+
body: {
|
|
1031
|
+
'applicationId': string;
|
|
1032
|
+
'podId': string;
|
|
1033
|
+
'data': object;
|
|
1034
|
+
}
|
|
824
1035
|
}
|
|
825
1036
|
|
|
826
1037
|
export type PostMetadataResponseOK = unknown
|
|
@@ -828,10 +1039,14 @@ export type PostMetadataResponses =
|
|
|
828
1039
|
FullResponse<PostMetadataResponseOK, 200>
|
|
829
1040
|
|
|
830
1041
|
export type PostRulesNameRequest = {
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
1042
|
+
path: {
|
|
1043
|
+
'name': string;
|
|
1044
|
+
}
|
|
1045
|
+
body: {
|
|
1046
|
+
'applicationId': string;
|
|
1047
|
+
'enabled': boolean;
|
|
1048
|
+
'options': object;
|
|
1049
|
+
}
|
|
835
1050
|
}
|
|
836
1051
|
|
|
837
1052
|
export type PostRulesNameResponseOK = unknown
|
|
@@ -839,7 +1054,7 @@ export type PostRulesNameResponses =
|
|
|
839
1054
|
FullResponse<PostRulesNameResponseOK, 200>
|
|
840
1055
|
|
|
841
1056
|
export type GetRulesRequest = {
|
|
842
|
-
|
|
1057
|
+
|
|
843
1058
|
}
|
|
844
1059
|
|
|
845
1060
|
export type GetRulesResponseOK = unknown
|
|
@@ -849,39 +1064,224 @@ export type GetRulesResponses =
|
|
|
849
1064
|
|
|
850
1065
|
|
|
851
1066
|
export interface Compliance {
|
|
852
|
-
setBaseUrl(newUrl: string)
|
|
853
|
-
setDefaultHeaders(headers:
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
1067
|
+
setBaseUrl(newUrl: string): void;
|
|
1068
|
+
setDefaultHeaders(headers: object): void;
|
|
1069
|
+
setDefaultFetchParams(fetchParams: RequestInit): void;
|
|
1070
|
+
/**
|
|
1071
|
+
* Get reports.
|
|
1072
|
+
*
|
|
1073
|
+
* Fetch reports from the database.
|
|
1074
|
+
* @param req - request parameters object
|
|
1075
|
+
* @returns the API response
|
|
1076
|
+
*/
|
|
1077
|
+
getReports(req: GetReportsRequest): Promise<GetReportsResponses>;
|
|
1078
|
+
/**
|
|
1079
|
+
* Create report.
|
|
1080
|
+
*
|
|
1081
|
+
* Add new report to the database.
|
|
1082
|
+
* @param req - request parameters object
|
|
1083
|
+
* @returns the API response
|
|
1084
|
+
*/
|
|
1085
|
+
createReport(req: CreateReportRequest): Promise<CreateReportResponses>;
|
|
1086
|
+
/**
|
|
1087
|
+
* Update reports.
|
|
1088
|
+
*
|
|
1089
|
+
* Update one or more reports in the database.
|
|
1090
|
+
* @param req - request parameters object
|
|
1091
|
+
* @returns the API response
|
|
1092
|
+
*/
|
|
1093
|
+
updateReports(req: UpdateReportsRequest): Promise<UpdateReportsResponses>;
|
|
1094
|
+
/**
|
|
1095
|
+
* Get Report by id.
|
|
1096
|
+
*
|
|
1097
|
+
* Fetch Report using its id from the database.
|
|
1098
|
+
* @param req - request parameters object
|
|
1099
|
+
* @returns the API response
|
|
1100
|
+
*/
|
|
1101
|
+
getReportById(req: GetReportByIdRequest): Promise<GetReportByIdResponses>;
|
|
1102
|
+
/**
|
|
1103
|
+
* Update report.
|
|
1104
|
+
*
|
|
1105
|
+
* Update report in the database.
|
|
1106
|
+
* @param req - request parameters object
|
|
1107
|
+
* @returns the API response
|
|
1108
|
+
*/
|
|
1109
|
+
updateReport(req: UpdateReportRequest): Promise<UpdateReportResponses>;
|
|
1110
|
+
/**
|
|
1111
|
+
* Delete reports.
|
|
1112
|
+
*
|
|
1113
|
+
* Delete one or more reports from the Database.
|
|
1114
|
+
* @param req - request parameters object
|
|
1115
|
+
* @returns the API response
|
|
1116
|
+
*/
|
|
1117
|
+
deleteReports(req: DeleteReportsRequest): Promise<DeleteReportsResponses>;
|
|
1118
|
+
/**
|
|
1119
|
+
* Create rule.
|
|
1120
|
+
*
|
|
1121
|
+
* Add new rule to the database.
|
|
1122
|
+
* @param req - request parameters object
|
|
1123
|
+
* @returns the API response
|
|
1124
|
+
*/
|
|
1125
|
+
createRule(req: CreateRuleRequest): Promise<CreateRuleResponses>;
|
|
1126
|
+
/**
|
|
1127
|
+
* Update rules.
|
|
1128
|
+
*
|
|
1129
|
+
* Update one or more rules in the database.
|
|
1130
|
+
* @param req - request parameters object
|
|
1131
|
+
* @returns the API response
|
|
1132
|
+
*/
|
|
1133
|
+
updateRules(req: UpdateRulesRequest): Promise<UpdateRulesResponses>;
|
|
1134
|
+
/**
|
|
1135
|
+
* Get Rule by id.
|
|
1136
|
+
*
|
|
1137
|
+
* Fetch Rule using its id from the database.
|
|
1138
|
+
* @param req - request parameters object
|
|
1139
|
+
* @returns the API response
|
|
1140
|
+
*/
|
|
1141
|
+
getRuleById(req: GetRuleByIdRequest): Promise<GetRuleByIdResponses>;
|
|
1142
|
+
/**
|
|
1143
|
+
* Update rule.
|
|
1144
|
+
*
|
|
1145
|
+
* Update rule in the database.
|
|
1146
|
+
* @param req - request parameters object
|
|
1147
|
+
* @returns the API response
|
|
1148
|
+
*/
|
|
1149
|
+
updateRule(req: UpdateRuleRequest): Promise<UpdateRuleResponses>;
|
|
1150
|
+
/**
|
|
1151
|
+
* Delete rules.
|
|
1152
|
+
*
|
|
1153
|
+
* Delete one or more rules from the Database.
|
|
1154
|
+
* @param req - request parameters object
|
|
1155
|
+
* @returns the API response
|
|
1156
|
+
*/
|
|
1157
|
+
deleteRules(req: DeleteRulesRequest): Promise<DeleteRulesResponses>;
|
|
1158
|
+
/**
|
|
1159
|
+
* Get ruleConfigs for rule.
|
|
1160
|
+
*
|
|
1161
|
+
* Fetch all the ruleConfigs for rule from the database.
|
|
1162
|
+
* @param req - request parameters object
|
|
1163
|
+
* @returns the API response
|
|
1164
|
+
*/
|
|
1165
|
+
getRuleConfigsForRule(req: GetRuleConfigsForRuleRequest): Promise<GetRuleConfigsForRuleResponses>;
|
|
1166
|
+
/**
|
|
1167
|
+
* Get ruleConfigs.
|
|
1168
|
+
*
|
|
1169
|
+
* Fetch ruleConfigs from the database.
|
|
1170
|
+
* @param req - request parameters object
|
|
1171
|
+
* @returns the API response
|
|
1172
|
+
*/
|
|
1173
|
+
getRuleConfigs(req: GetRuleConfigsRequest): Promise<GetRuleConfigsResponses>;
|
|
1174
|
+
/**
|
|
1175
|
+
* Create ruleConfig.
|
|
1176
|
+
*
|
|
1177
|
+
* Add new ruleConfig to the database.
|
|
1178
|
+
* @param req - request parameters object
|
|
1179
|
+
* @returns the API response
|
|
1180
|
+
*/
|
|
1181
|
+
createRuleConfig(req: CreateRuleConfigRequest): Promise<CreateRuleConfigResponses>;
|
|
1182
|
+
/**
|
|
1183
|
+
* Update ruleConfigs.
|
|
1184
|
+
*
|
|
1185
|
+
* Update one or more ruleConfigs in the database.
|
|
1186
|
+
* @param req - request parameters object
|
|
1187
|
+
* @returns the API response
|
|
1188
|
+
*/
|
|
1189
|
+
updateRuleConfigs(req: UpdateRuleConfigsRequest): Promise<UpdateRuleConfigsResponses>;
|
|
1190
|
+
/**
|
|
1191
|
+
* Get RuleConfig by id.
|
|
1192
|
+
*
|
|
1193
|
+
* Fetch RuleConfig using its id from the database.
|
|
1194
|
+
* @param req - request parameters object
|
|
1195
|
+
* @returns the API response
|
|
1196
|
+
*/
|
|
1197
|
+
getRuleConfigById(req: GetRuleConfigByIdRequest): Promise<GetRuleConfigByIdResponses>;
|
|
1198
|
+
/**
|
|
1199
|
+
* Update ruleConfig.
|
|
1200
|
+
*
|
|
1201
|
+
* Update ruleConfig in the database.
|
|
1202
|
+
* @param req - request parameters object
|
|
1203
|
+
* @returns the API response
|
|
1204
|
+
*/
|
|
1205
|
+
updateRuleConfig(req: UpdateRuleConfigRequest): Promise<UpdateRuleConfigResponses>;
|
|
1206
|
+
/**
|
|
1207
|
+
* Delete ruleConfigs.
|
|
1208
|
+
*
|
|
1209
|
+
* Delete one or more ruleConfigs from the Database.
|
|
1210
|
+
* @param req - request parameters object
|
|
1211
|
+
* @returns the API response
|
|
1212
|
+
*/
|
|
1213
|
+
deleteRuleConfigs(req: DeleteRuleConfigsRequest): Promise<DeleteRuleConfigsResponses>;
|
|
1214
|
+
/**
|
|
1215
|
+
* Get rule for ruleConfig.
|
|
1216
|
+
*
|
|
1217
|
+
* Fetch the rule for ruleConfig from the database.
|
|
1218
|
+
* @param req - request parameters object
|
|
1219
|
+
* @returns the API response
|
|
1220
|
+
*/
|
|
1221
|
+
getRuleForRuleConfig(req: GetRuleForRuleConfigRequest): Promise<GetRuleForRuleConfigResponses>;
|
|
1222
|
+
/**
|
|
1223
|
+
* Get metadata.
|
|
1224
|
+
*
|
|
1225
|
+
* Fetch metadata from the database.
|
|
1226
|
+
* @param req - request parameters object
|
|
1227
|
+
* @returns the API response
|
|
1228
|
+
*/
|
|
1229
|
+
getMetadata(req: GetMetadataRequest): Promise<GetMetadataResponses>;
|
|
1230
|
+
/**
|
|
1231
|
+
* Update metadata.
|
|
1232
|
+
*
|
|
1233
|
+
* Update one or more metadata in the database.
|
|
1234
|
+
* @param req - request parameters object
|
|
1235
|
+
* @returns the API response
|
|
1236
|
+
*/
|
|
1237
|
+
updateMetadata(req: UpdateMetadataRequest): Promise<UpdateMetadataResponses>;
|
|
1238
|
+
/**
|
|
1239
|
+
* Get Metadatum by id.
|
|
1240
|
+
*
|
|
1241
|
+
* Fetch Metadatum using its id from the database.
|
|
1242
|
+
* @param req - request parameters object
|
|
1243
|
+
* @returns the API response
|
|
1244
|
+
*/
|
|
1245
|
+
getMetadatumById(req: GetMetadatumByIdRequest): Promise<GetMetadatumByIdResponses>;
|
|
1246
|
+
/**
|
|
1247
|
+
* Update metadatum.
|
|
1248
|
+
*
|
|
1249
|
+
* Update metadatum in the database.
|
|
1250
|
+
* @param req - request parameters object
|
|
1251
|
+
* @returns the API response
|
|
1252
|
+
*/
|
|
1253
|
+
updateMetadatum(req: UpdateMetadatumRequest): Promise<UpdateMetadatumResponses>;
|
|
1254
|
+
/**
|
|
1255
|
+
* Delete metadata.
|
|
1256
|
+
*
|
|
1257
|
+
* Delete one or more metadata from the Database.
|
|
1258
|
+
* @param req - request parameters object
|
|
1259
|
+
* @returns the API response
|
|
1260
|
+
*/
|
|
1261
|
+
deleteMetadata(req: DeleteMetadataRequest): Promise<DeleteMetadataResponses>;
|
|
1262
|
+
/**
|
|
1263
|
+
* @param req - request parameters object
|
|
1264
|
+
* @returns the API response
|
|
1265
|
+
*/
|
|
1266
|
+
postCompliance(req: PostComplianceRequest): Promise<PostComplianceResponses>;
|
|
1267
|
+
/**
|
|
1268
|
+
* @param req - request parameters object
|
|
1269
|
+
* @returns the API response
|
|
1270
|
+
*/
|
|
1271
|
+
postMetadata(req: PostMetadataRequest): Promise<PostMetadataResponses>;
|
|
1272
|
+
/**
|
|
1273
|
+
* @param req - request parameters object
|
|
1274
|
+
* @returns the API response
|
|
1275
|
+
*/
|
|
1276
|
+
postRulesName(req: PostRulesNameRequest): Promise<PostRulesNameResponses>;
|
|
1277
|
+
/**
|
|
1278
|
+
* @param req - request parameters object
|
|
1279
|
+
* @returns the API response
|
|
1280
|
+
*/
|
|
1281
|
+
getRules(req: GetRulesRequest): Promise<GetRulesResponses>;
|
|
882
1282
|
}
|
|
883
1283
|
type PlatformaticFrontendClient = Omit<Compliance, 'setBaseUrl'>
|
|
884
1284
|
type BuildOptions = {
|
|
885
|
-
headers?:
|
|
1285
|
+
headers?: object
|
|
886
1286
|
}
|
|
887
1287
|
export default function build(url: string, options?: BuildOptions): PlatformaticFrontendClient
|