@@ -181,7 +181,122 @@ export interface ItemUpdateResponse {
181
181
operation_id : string ;
182
182
}
183
183
184
- export type ItemListResponse = unknown ;
184
+ export type ItemListResponse =
185
+ | ItemListResponse . ListsListItemIPFull
186
+ | ItemListResponse . ListsListItemHostnameFull
187
+ | ItemListResponse . ListsListItemRedirectFull
188
+ | ItemListResponse . ListsListItemASNFull ;
189
+
190
+ export namespace ItemListResponse {
191
+ export interface ListsListItemIPFull {
192
+ /**
193
+ * The unique ID of the list.
194
+ */
195
+ id : string ;
196
+
197
+ /**
198
+ * The RFC 3339 timestamp of when the list was created.
199
+ */
200
+ created_on : string ;
201
+
202
+ /**
203
+ * An IPv4 address, an IPv4 CIDR, an IPv6 address, or an IPv6 CIDR.
204
+ */
205
+ ip : string ;
206
+
207
+ /**
208
+ * The RFC 3339 timestamp of when the list was last modified.
209
+ */
210
+ modified_on : string ;
211
+
212
+ /**
213
+ * Defines an informative summary of the list item.
214
+ */
215
+ comment ?: string ;
216
+ }
217
+
218
+ export interface ListsListItemHostnameFull {
219
+ /**
220
+ * The unique ID of the list.
221
+ */
222
+ id : string ;
223
+
224
+ /**
225
+ * The RFC 3339 timestamp of when the list was created.
226
+ */
227
+ created_on : string ;
228
+
229
+ /**
230
+ * Valid characters for hostnames are ASCII(7) letters from a to z, the digits from
231
+ * 0 to 9, wildcards (\*), and the hyphen (-).
232
+ */
233
+ hostname : ListsAPI . Hostname ;
234
+
235
+ /**
236
+ * The RFC 3339 timestamp of when the list was last modified.
237
+ */
238
+ modified_on : string ;
239
+
240
+ /**
241
+ * Defines an informative summary of the list item.
242
+ */
243
+ comment ?: string ;
244
+ }
245
+
246
+ export interface ListsListItemRedirectFull {
247
+ /**
248
+ * The unique ID of the list.
249
+ */
250
+ id : string ;
251
+
252
+ /**
253
+ * The RFC 3339 timestamp of when the list was created.
254
+ */
255
+ created_on : string ;
256
+
257
+ /**
258
+ * The RFC 3339 timestamp of when the list was last modified.
259
+ */
260
+ modified_on : string ;
261
+
262
+ /**
263
+ * The definition of the redirect.
264
+ */
265
+ redirect : ListsAPI . Redirect ;
266
+
267
+ /**
268
+ * Defines an informative summary of the list item.
269
+ */
270
+ comment ?: string ;
271
+ }
272
+
273
+ export interface ListsListItemASNFull {
274
+ /**
275
+ * The unique ID of the list.
276
+ */
277
+ id : string ;
278
+
279
+ /**
280
+ * Defines a non-negative 32 bit integer.
281
+ */
282
+ asn : number ;
283
+
284
+ /**
285
+ * The RFC 3339 timestamp of when the list was created.
286
+ */
287
+ created_on : string ;
288
+
289
+ /**
290
+ * The RFC 3339 timestamp of when the list was last modified.
291
+ */
292
+ modified_on : string ;
293
+
294
+ /**
295
+ * Defines an informative summary of the list item.
296
+ */
297
+ comment ?: string ;
298
+ }
299
+ }
185
300
186
301
export interface ItemDeleteResponse {
187
302
/**
@@ -190,7 +305,122 @@ export interface ItemDeleteResponse {
190
305
operation_id : string ;
191
306
}
192
307
193
- export type ItemGetResponse = unknown ;
308
+ export type ItemGetResponse =
309
+ | ItemGetResponse . ListsListItemIPFull
310
+ | ItemGetResponse . ListsListItemHostnameFull
311
+ | ItemGetResponse . ListsListItemRedirectFull
312
+ | ItemGetResponse . ListsListItemASNFull ;
313
+
314
+ export namespace ItemGetResponse {
315
+ export interface ListsListItemIPFull {
316
+ /**
317
+ * The unique ID of the list.
318
+ */
319
+ id : string ;
320
+
321
+ /**
322
+ * The RFC 3339 timestamp of when the list was created.
323
+ */
324
+ created_on : string ;
325
+
326
+ /**
327
+ * An IPv4 address, an IPv4 CIDR, an IPv6 address, or an IPv6 CIDR.
328
+ */
329
+ ip : string ;
330
+
331
+ /**
332
+ * The RFC 3339 timestamp of when the list was last modified.
333
+ */
334
+ modified_on : string ;
335
+
336
+ /**
337
+ * Defines an informative summary of the list item.
338
+ */
339
+ comment ?: string ;
340
+ }
341
+
342
+ export interface ListsListItemHostnameFull {
343
+ /**
344
+ * The unique ID of the list.
345
+ */
346
+ id : string ;
347
+
348
+ /**
349
+ * The RFC 3339 timestamp of when the list was created.
350
+ */
351
+ created_on : string ;
352
+
353
+ /**
354
+ * Valid characters for hostnames are ASCII(7) letters from a to z, the digits from
355
+ * 0 to 9, wildcards (\*), and the hyphen (-).
356
+ */
357
+ hostname : ListsAPI . Hostname ;
358
+
359
+ /**
360
+ * The RFC 3339 timestamp of when the list was last modified.
361
+ */
362
+ modified_on : string ;
363
+
364
+ /**
365
+ * Defines an informative summary of the list item.
366
+ */
367
+ comment ?: string ;
368
+ }
369
+
370
+ export interface ListsListItemRedirectFull {
371
+ /**
372
+ * The unique ID of the list.
373
+ */
374
+ id : string ;
375
+
376
+ /**
377
+ * The RFC 3339 timestamp of when the list was created.
378
+ */
379
+ created_on : string ;
380
+
381
+ /**
382
+ * The RFC 3339 timestamp of when the list was last modified.
383
+ */
384
+ modified_on : string ;
385
+
386
+ /**
387
+ * The definition of the redirect.
388
+ */
389
+ redirect : ListsAPI . Redirect ;
390
+
391
+ /**
392
+ * Defines an informative summary of the list item.
393
+ */
394
+ comment ?: string ;
395
+ }
396
+
397
+ export interface ListsListItemASNFull {
398
+ /**
399
+ * The unique ID of the list.
400
+ */
401
+ id : string ;
402
+
403
+ /**
404
+ * Defines a non-negative 32 bit integer.
405
+ */
406
+ asn : number ;
407
+
408
+ /**
409
+ * The RFC 3339 timestamp of when the list was created.
410
+ */
411
+ created_on : string ;
412
+
413
+ /**
414
+ * The RFC 3339 timestamp of when the list was last modified.
415
+ */
416
+ modified_on : string ;
417
+
418
+ /**
419
+ * Defines an informative summary of the list item.
420
+ */
421
+ comment ?: string ;
422
+ }
423
+ }
194
424
195
425
export interface ItemCreateParams {
196
426
/**
0 commit comments