@@ -132,11 +132,49 @@ export interface ItemUpdateResponse {
132
132
operation_id ?: string ;
133
133
}
134
134
135
- /**
136
- * An IPv4 address, an IPv4 CIDR, or an IPv6 CIDR. IPv6 CIDRs are limited to a
137
- * maximum of /64.
138
- */
139
- export type ItemListResponse = string | ListsAPI . Redirect | ListsAPI . Hostname | number ;
135
+ export interface ItemListResponse {
136
+ /**
137
+ * The unique ID of the list.
138
+ */
139
+ id ?: string ;
140
+
141
+ /**
142
+ * A non-negative 32 bit integer
143
+ */
144
+ asn ?: number ;
145
+
146
+ /**
147
+ * An informative summary of the list item.
148
+ */
149
+ comment ?: string ;
150
+
151
+ /**
152
+ * The RFC 3339 timestamp of when the item was created.
153
+ */
154
+ created_on ?: string ;
155
+
156
+ /**
157
+ * Valid characters for hostnames are ASCII(7) letters from a to z, the digits from
158
+ * 0 to 9, wildcards (\*), and the hyphen (-).
159
+ */
160
+ hostname ?: ListsAPI . Hostname ;
161
+
162
+ /**
163
+ * An IPv4 address, an IPv4 CIDR, or an IPv6 CIDR. IPv6 CIDRs are limited to a
164
+ * maximum of /64.
165
+ */
166
+ ip ?: string ;
167
+
168
+ /**
169
+ * The RFC 3339 timestamp of when the item was last modified.
170
+ */
171
+ modified_on ?: string ;
172
+
173
+ /**
174
+ * The definition of the redirect.
175
+ */
176
+ redirect ?: ListsAPI . Redirect ;
177
+ }
140
178
141
179
export interface ItemDeleteResponse {
142
180
/**
@@ -145,11 +183,49 @@ export interface ItemDeleteResponse {
145
183
operation_id ?: string ;
146
184
}
147
185
148
- /**
149
- * An IPv4 address, an IPv4 CIDR, or an IPv6 CIDR. IPv6 CIDRs are limited to a
150
- * maximum of /64.
151
- */
152
- export type ItemGetResponse = string | ListsAPI . Redirect | ListsAPI . Hostname | number ;
186
+ export interface ItemGetResponse {
187
+ /**
188
+ * The unique ID of the list.
189
+ */
190
+ id ?: string ;
191
+
192
+ /**
193
+ * A non-negative 32 bit integer
194
+ */
195
+ asn ?: number ;
196
+
197
+ /**
198
+ * An informative summary of the list item.
199
+ */
200
+ comment ?: string ;
201
+
202
+ /**
203
+ * The RFC 3339 timestamp of when the item was created.
204
+ */
205
+ created_on ?: string ;
206
+
207
+ /**
208
+ * Valid characters for hostnames are ASCII(7) letters from a to z, the digits from
209
+ * 0 to 9, wildcards (\*), and the hyphen (-).
210
+ */
211
+ hostname ?: ListsAPI . Hostname ;
212
+
213
+ /**
214
+ * An IPv4 address, an IPv4 CIDR, or an IPv6 CIDR. IPv6 CIDRs are limited to a
215
+ * maximum of /64.
216
+ */
217
+ ip ?: string ;
218
+
219
+ /**
220
+ * The RFC 3339 timestamp of when the item was last modified.
221
+ */
222
+ modified_on ?: string ;
223
+
224
+ /**
225
+ * The definition of the redirect.
226
+ */
227
+ redirect ?: ListsAPI . Redirect ;
228
+ }
153
229
154
230
export interface ItemCreateParams {
155
231
/**
0 commit comments