|
1 | 1 | # generated by datamodel-codegen: |
2 | 2 | # filename: <stdin> |
3 | | -# timestamp: 2025-12-02T11:13:39+00:00 |
| 3 | +# timestamp: 2025-12-02T14:56:05+00:00 |
4 | 4 |
|
5 | 5 | from __future__ import annotations |
6 | 6 |
|
@@ -832,6 +832,15 @@ class BlocklistsGetBlocklistsQueryParameters(BaseModelSdk): |
832 | 832 | ] = 50 |
833 | 833 |
|
834 | 834 |
|
| 835 | +class BlocklistsSearchBlocklistQueryParameters(BaseModelSdk): |
| 836 | + page: Annotated[ |
| 837 | + Optional[int], Field(description='Page number', ge=1, title='Page') |
| 838 | + ] = 1 |
| 839 | + size: Annotated[ |
| 840 | + Optional[int], Field(description='Page size', ge=1, le=100, title='Size') |
| 841 | + ] = 50 |
| 842 | + |
| 843 | + |
835 | 844 | class BlocklistsGetBlocklistPathParameters(BaseModelSdk): |
836 | 845 | blocklist_id: Annotated[ |
837 | 846 | str, Field(examples=['5f9d88b9e5c4f5b9a3d3e8b1'], title='Blocklist Id') |
@@ -865,7 +874,7 @@ class BlocklistsUploadBlocklistContentQueryParameters(BaseModelSdk): |
865 | 874 | Optional[AwareDatetime], |
866 | 875 | Field( |
867 | 876 | description='Blocklist expiration', |
868 | | - examples='2025-12-02T11:13:31.099008+00:00', |
| 877 | + examples='2025-12-02T14:55:58.773978+00:00', |
869 | 878 | title='Expiration', |
870 | 879 | ), |
871 | 880 | ] = None |
@@ -1154,6 +1163,15 @@ class AllowlistSubscriberEntity(BaseModelSdk): |
1154 | 1163 | entity_type: SubscriberEntityType |
1155 | 1164 |
|
1156 | 1165 |
|
| 1166 | +class AllowlistSubscriberEntityPage(BaseModelSdk): |
| 1167 | + items: Annotated[List[AllowlistSubscriberEntity], Field(title='Items')] |
| 1168 | + total: Annotated[int, Field(ge=0, title='Total')] |
| 1169 | + page: Annotated[int, Field(ge=1, title='Page')] |
| 1170 | + size: Annotated[int, Field(ge=1, title='Size')] |
| 1171 | + pages: Annotated[int, Field(ge=0, title='Pages')] |
| 1172 | + links: Links |
| 1173 | + |
| 1174 | + |
1157 | 1175 | class AllowlistSubscribersCount(BaseModelSdk): |
1158 | 1176 | entity_type: Annotated[ |
1159 | 1177 | SubscriberEntityType, Field(description='Subscriber entity type') |
@@ -1389,6 +1407,15 @@ class BlocklistSubscriberEntity(BaseModelSdk): |
1389 | 1407 | remediation: Annotated[str, Field(description='Remediation', title='Remediation')] |
1390 | 1408 |
|
1391 | 1409 |
|
| 1410 | +class BlocklistSubscriberEntityPage(BaseModelSdk): |
| 1411 | + items: Annotated[List[BlocklistSubscriberEntity], Field(title='Items')] |
| 1412 | + total: Annotated[int, Field(ge=0, title='Total')] |
| 1413 | + page: Annotated[int, Field(ge=1, title='Page')] |
| 1414 | + size: Annotated[int, Field(ge=1, title='Size')] |
| 1415 | + pages: Annotated[int, Field(ge=0, title='Pages')] |
| 1416 | + links: Links |
| 1417 | + |
| 1418 | + |
1392 | 1419 | class BlocklistSubscribersCount(BaseModelSdk): |
1393 | 1420 | entity_type: Annotated[ |
1394 | 1421 | SubscriberEntityType, Field(description='Subscriber entity type') |
@@ -1562,6 +1589,15 @@ class IntegrationGetResponse(BaseModelSdk): |
1562 | 1589 | ] = [] |
1563 | 1590 |
|
1564 | 1591 |
|
| 1592 | +class IntegrationGetResponsePage(BaseModelSdk): |
| 1593 | + items: Annotated[List[IntegrationGetResponse], Field(title='Items')] |
| 1594 | + total: Annotated[int, Field(ge=0, title='Total')] |
| 1595 | + page: Annotated[int, Field(ge=1, title='Page')] |
| 1596 | + size: Annotated[int, Field(ge=1, title='Size')] |
| 1597 | + pages: Annotated[int, Field(ge=0, title='Pages')] |
| 1598 | + links: Links |
| 1599 | + |
| 1600 | + |
1565 | 1601 | class IntegrationUpdateRequest(BaseModelSdk): |
1566 | 1602 | model_config = ConfigDict( |
1567 | 1603 | extra='forbid', |
@@ -1658,33 +1694,6 @@ class OriginMetrics(BaseModelSdk): |
1658 | 1694 | ] |
1659 | 1695 |
|
1660 | 1696 |
|
1661 | | -class PageTAnyCustomizedAllowlistSubscriberEntity(BaseModelSdk): |
1662 | | - items: Annotated[List[AllowlistSubscriberEntity], Field(title='Items')] |
1663 | | - total: Annotated[int, Field(ge=0, title='Total')] |
1664 | | - page: Annotated[int, Field(ge=1, title='Page')] |
1665 | | - size: Annotated[int, Field(ge=1, title='Size')] |
1666 | | - pages: Annotated[int, Field(ge=0, title='Pages')] |
1667 | | - links: Links |
1668 | | - |
1669 | | - |
1670 | | -class PageTAnyCustomizedBlocklistSubscriberEntity(BaseModelSdk): |
1671 | | - items: Annotated[List[BlocklistSubscriberEntity], Field(title='Items')] |
1672 | | - total: Annotated[int, Field(ge=0, title='Total')] |
1673 | | - page: Annotated[int, Field(ge=1, title='Page')] |
1674 | | - size: Annotated[int, Field(ge=1, title='Size')] |
1675 | | - pages: Annotated[int, Field(ge=0, title='Pages')] |
1676 | | - links: Links |
1677 | | - |
1678 | | - |
1679 | | -class PageTAnyCustomizedIntegrationGetResponse(BaseModelSdk): |
1680 | | - items: Annotated[List[IntegrationGetResponse], Field(title='Items')] |
1681 | | - total: Annotated[int, Field(ge=0, title='Total')] |
1682 | | - page: Annotated[int, Field(ge=1, title='Page')] |
1683 | | - size: Annotated[int, Field(ge=1, title='Size')] |
1684 | | - pages: Annotated[int, Field(ge=0, title='Pages')] |
1685 | | - links: Links |
1686 | | - |
1687 | | - |
1688 | 1697 | class PublicBlocklistResponse(BaseModelSdk): |
1689 | 1698 | id: Annotated[str, Field(description='Blocklist id', title='Id')] |
1690 | 1699 | created_at: Annotated[ |
@@ -1761,17 +1770,13 @@ class PublicBlocklistResponse(BaseModelSdk): |
1761 | 1770 | ] = [] |
1762 | 1771 |
|
1763 | 1772 |
|
1764 | | -class PublicPaginatedBlocklistResponse(BaseModelSdk): |
1765 | | - items: Annotated[ |
1766 | | - List[PublicBlocklistResponse], |
1767 | | - Field(description='List of blocklists', title='Items'), |
1768 | | - ] |
1769 | | - page: Annotated[int, Field(description='Page number', title='Page')] |
1770 | | - total: Annotated[ |
1771 | | - int, Field(description='Total number of blocklists', title='Total') |
1772 | | - ] |
1773 | | - size: Annotated[int, Field(description='Page size', title='Size')] |
1774 | | - pages: Annotated[int, Field(description='Total number of pages', title='Pages')] |
| 1773 | +class PublicBlocklistResponsePage(BaseModelSdk): |
| 1774 | + items: Annotated[List[PublicBlocklistResponse], Field(title='Items')] |
| 1775 | + total: Annotated[int, Field(ge=0, title='Total')] |
| 1776 | + page: Annotated[int, Field(ge=1, title='Page')] |
| 1777 | + size: Annotated[int, Field(ge=1, title='Size')] |
| 1778 | + pages: Annotated[int, Field(ge=0, title='Pages')] |
| 1779 | + links: Links |
1775 | 1780 |
|
1776 | 1781 |
|
1777 | 1782 | class RemediationMetrics(BaseModelSdk): |
@@ -2470,15 +2475,6 @@ class IPItem(BaseModelSdk): |
2470 | 2475 | scores: Annotated[Optional[Scores], Field(description='Scoring information')] = None |
2471 | 2476 |
|
2472 | 2477 |
|
2473 | | -class PageTypeVarCustomizedIPItem(BaseModelSdk): |
2474 | | - items: Annotated[List[IPItem], Field(title='Items')] |
2475 | | - total: Annotated[int, Field(ge=0, title='Total')] |
2476 | | - page: Annotated[int, Field(ge=1, title='Page')] |
2477 | | - size: Annotated[int, Field(ge=1, title='Size')] |
2478 | | - pages: Annotated[int, Field(ge=0, title='Pages')] |
2479 | | - links: Links |
2480 | | - |
2481 | | - |
2482 | 2478 | class AllowlistGetItemsResponse(BaseModelSdk): |
2483 | 2479 | id: Annotated[ |
2484 | 2480 | str, |
@@ -2529,6 +2525,15 @@ class AllowlistGetItemsResponse(BaseModelSdk): |
2529 | 2525 | ] = None |
2530 | 2526 |
|
2531 | 2527 |
|
| 2528 | +class AllowlistGetItemsResponsePage(BaseModelSdk): |
| 2529 | + items: Annotated[List[AllowlistGetItemsResponse], Field(title='Items')] |
| 2530 | + total: Annotated[int, Field(ge=0, title='Total')] |
| 2531 | + page: Annotated[int, Field(ge=1, title='Page')] |
| 2532 | + size: Annotated[int, Field(ge=1, title='Size')] |
| 2533 | + pages: Annotated[int, Field(ge=0, title='Pages')] |
| 2534 | + links: Links |
| 2535 | + |
| 2536 | + |
2532 | 2537 | class AllowlistGetResponse(BaseModelSdk): |
2533 | 2538 | id: Annotated[ |
2534 | 2539 | str, |
@@ -2579,6 +2584,15 @@ class AllowlistGetResponse(BaseModelSdk): |
2579 | 2584 | ] = [] |
2580 | 2585 |
|
2581 | 2586 |
|
| 2587 | +class AllowlistGetResponsePage(BaseModelSdk): |
| 2588 | + items: Annotated[List[AllowlistGetResponse], Field(title='Items')] |
| 2589 | + total: Annotated[int, Field(ge=0, title='Total')] |
| 2590 | + page: Annotated[int, Field(ge=1, title='Page')] |
| 2591 | + size: Annotated[int, Field(ge=1, title='Size')] |
| 2592 | + pages: Annotated[int, Field(ge=0, title='Pages')] |
| 2593 | + links: Links |
| 2594 | + |
| 2595 | + |
2582 | 2596 | class AllowlistItemUpdateResponse(BaseModelSdk): |
2583 | 2597 | id: Annotated[ |
2584 | 2598 | str, |
@@ -2643,33 +2657,6 @@ class ComputedSavedMetrics(BaseModelSdk): |
2643 | 2657 | ] = [] |
2644 | 2658 |
|
2645 | 2659 |
|
2646 | | -class PageTAnyCustomizedAllowlistGetItemsResponse(BaseModelSdk): |
2647 | | - items: Annotated[List[AllowlistGetItemsResponse], Field(title='Items')] |
2648 | | - total: Annotated[int, Field(ge=0, title='Total')] |
2649 | | - page: Annotated[int, Field(ge=1, title='Page')] |
2650 | | - size: Annotated[int, Field(ge=1, title='Size')] |
2651 | | - pages: Annotated[int, Field(ge=0, title='Pages')] |
2652 | | - links: Links |
2653 | | - |
2654 | | - |
2655 | | -class PageTAnyCustomizedAllowlistGetResponse(BaseModelSdk): |
2656 | | - items: Annotated[List[AllowlistGetResponse], Field(title='Items')] |
2657 | | - total: Annotated[int, Field(ge=0, title='Total')] |
2658 | | - page: Annotated[int, Field(ge=1, title='Page')] |
2659 | | - size: Annotated[int, Field(ge=1, title='Size')] |
2660 | | - pages: Annotated[int, Field(ge=0, title='Pages')] |
2661 | | - links: Links |
2662 | | - |
2663 | | - |
2664 | | -class PageTAnyCustomizedPublicBlocklistResponse(BaseModelSdk): |
2665 | | - items: Annotated[List[PublicBlocklistResponse], Field(title='Items')] |
2666 | | - total: Annotated[int, Field(ge=0, title='Total')] |
2667 | | - page: Annotated[int, Field(ge=1, title='Page')] |
2668 | | - size: Annotated[int, Field(ge=1, title='Size')] |
2669 | | - pages: Annotated[int, Field(ge=0, title='Pages')] |
2670 | | - links: Links |
2671 | | - |
2672 | | - |
2673 | 2660 | class RawMetrics(BaseModelSdk): |
2674 | 2661 | dropped: Annotated[ |
2675 | 2662 | Optional[List[RemediationMetrics]], |
@@ -2705,6 +2692,15 @@ class Index(BaseModelSdk): |
2705 | 2692 | ] = None |
2706 | 2693 |
|
2707 | 2694 |
|
| 2695 | +class GetCVEIPsResponsePage(BaseModelSdk): |
| 2696 | + items: Annotated[List[IPItem], Field(title='Items')] |
| 2697 | + total: Annotated[int, Field(ge=0, title='Total')] |
| 2698 | + page: Annotated[int, Field(ge=1, title='Page')] |
| 2699 | + size: Annotated[int, Field(ge=1, title='Size')] |
| 2700 | + pages: Annotated[int, Field(ge=0, title='Pages')] |
| 2701 | + links: Links |
| 2702 | + |
| 2703 | + |
2708 | 2704 | class ComputedMetrics(BaseModelSdk): |
2709 | 2705 | saved: Annotated[ComputedSavedMetrics, Field(description='estimated saved metrics')] |
2710 | 2706 | dropped: Annotated[ |
|
0 commit comments