29
29
)
30
30
from ...._wrappers import ResultWrapper
31
31
from ....types .intel import (
32
- IntelUpdateFeed ,
33
- IntelIndicatorFeedItem ,
32
+ IndicatorFeedGetResponse ,
34
33
IndicatorFeedListResponse ,
35
- IntelIndicatorFeedMetadata ,
34
+ IndicatorFeedCreateResponse ,
35
+ IndicatorFeedUpdateResponse ,
36
36
indicator_feed_create_params ,
37
37
indicator_feed_update_params ,
38
38
)
@@ -68,7 +68,7 @@ def create(
68
68
extra_query : Query | None = None ,
69
69
extra_body : Body | None = None ,
70
70
timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
71
- ) -> IntelIndicatorFeedItem :
71
+ ) -> IndicatorFeedCreateResponse :
72
72
"""
73
73
Create new indicator feed
74
74
@@ -105,7 +105,7 @@ def create(
105
105
timeout = timeout ,
106
106
post_parser = ResultWrapper ._unwrapper ,
107
107
),
108
- cast_to = cast (Type [IntelIndicatorFeedItem ], ResultWrapper [IntelIndicatorFeedItem ]),
108
+ cast_to = cast (Type [IndicatorFeedCreateResponse ], ResultWrapper [IndicatorFeedCreateResponse ]),
109
109
)
110
110
111
111
def update (
@@ -120,7 +120,7 @@ def update(
120
120
extra_query : Query | None = None ,
121
121
extra_body : Body | None = None ,
122
122
timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
123
- ) -> IntelUpdateFeed :
123
+ ) -> IndicatorFeedUpdateResponse :
124
124
"""
125
125
Update indicator feed data
126
126
@@ -151,7 +151,7 @@ def update(
151
151
timeout = timeout ,
152
152
post_parser = ResultWrapper ._unwrapper ,
153
153
),
154
- cast_to = cast (Type [IntelUpdateFeed ], ResultWrapper [IntelUpdateFeed ]),
154
+ cast_to = cast (Type [IndicatorFeedUpdateResponse ], ResultWrapper [IndicatorFeedUpdateResponse ]),
155
155
)
156
156
157
157
def list (
@@ -243,7 +243,7 @@ def get(
243
243
extra_query : Query | None = None ,
244
244
extra_body : Body | None = None ,
245
245
timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
246
- ) -> IntelIndicatorFeedMetadata :
246
+ ) -> IndicatorFeedGetResponse :
247
247
"""
248
248
Get indicator feed metadata
249
249
@@ -271,7 +271,7 @@ def get(
271
271
timeout = timeout ,
272
272
post_parser = ResultWrapper ._unwrapper ,
273
273
),
274
- cast_to = cast (Type [IntelIndicatorFeedMetadata ], ResultWrapper [IntelIndicatorFeedMetadata ]),
274
+ cast_to = cast (Type [IndicatorFeedGetResponse ], ResultWrapper [IndicatorFeedGetResponse ]),
275
275
)
276
276
277
277
@@ -300,7 +300,7 @@ async def create(
300
300
extra_query : Query | None = None ,
301
301
extra_body : Body | None = None ,
302
302
timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
303
- ) -> IntelIndicatorFeedItem :
303
+ ) -> IndicatorFeedCreateResponse :
304
304
"""
305
305
Create new indicator feed
306
306
@@ -337,7 +337,7 @@ async def create(
337
337
timeout = timeout ,
338
338
post_parser = ResultWrapper ._unwrapper ,
339
339
),
340
- cast_to = cast (Type [IntelIndicatorFeedItem ], ResultWrapper [IntelIndicatorFeedItem ]),
340
+ cast_to = cast (Type [IndicatorFeedCreateResponse ], ResultWrapper [IndicatorFeedCreateResponse ]),
341
341
)
342
342
343
343
async def update (
@@ -352,7 +352,7 @@ async def update(
352
352
extra_query : Query | None = None ,
353
353
extra_body : Body | None = None ,
354
354
timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
355
- ) -> IntelUpdateFeed :
355
+ ) -> IndicatorFeedUpdateResponse :
356
356
"""
357
357
Update indicator feed data
358
358
@@ -385,7 +385,7 @@ async def update(
385
385
timeout = timeout ,
386
386
post_parser = ResultWrapper ._unwrapper ,
387
387
),
388
- cast_to = cast (Type [IntelUpdateFeed ], ResultWrapper [IntelUpdateFeed ]),
388
+ cast_to = cast (Type [IndicatorFeedUpdateResponse ], ResultWrapper [IndicatorFeedUpdateResponse ]),
389
389
)
390
390
391
391
async def list (
@@ -477,7 +477,7 @@ async def get(
477
477
extra_query : Query | None = None ,
478
478
extra_body : Body | None = None ,
479
479
timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
480
- ) -> IntelIndicatorFeedMetadata :
480
+ ) -> IndicatorFeedGetResponse :
481
481
"""
482
482
Get indicator feed metadata
483
483
@@ -505,7 +505,7 @@ async def get(
505
505
timeout = timeout ,
506
506
post_parser = ResultWrapper ._unwrapper ,
507
507
),
508
- cast_to = cast (Type [IntelIndicatorFeedMetadata ], ResultWrapper [IntelIndicatorFeedMetadata ]),
508
+ cast_to = cast (Type [IndicatorFeedGetResponse ], ResultWrapper [IndicatorFeedGetResponse ]),
509
509
)
510
510
511
511
0 commit comments