cribl-control-plane 0.0.29__py3-none-any.whl → 0.0.31__py3-none-any.whl

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.

Potentially problematic release.


This version of cribl-control-plane might be problematic. Click here for more details.

Files changed (30) hide show
  1. cribl_control_plane/_version.py +3 -3
  2. cribl_control_plane/acl.py +30 -20
  3. cribl_control_plane/commits.py +180 -0
  4. cribl_control_plane/configs_versions.py +22 -16
  5. cribl_control_plane/groups_sdk.py +464 -428
  6. cribl_control_plane/models/__init__.py +206 -169
  7. cribl_control_plane/models/{createproductsgroupsbyproductop.py → createconfiggroupbyproductop.py} +10 -10
  8. cribl_control_plane/models/createroutesappendbyidop.py +6 -5
  9. cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +53 -0
  10. cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +78 -0
  11. cribl_control_plane/models/{getproductsgroupsaclteamsbyproductandidop.py → getconfiggroupaclteamsbyproductandidop.py} +15 -15
  12. cribl_control_plane/models/getconfiggroupbyproductandidop.py +65 -0
  13. cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +52 -0
  14. cribl_control_plane/models/{getsummaryworkersop.py → getmasterworkerentryop.py} +4 -4
  15. cribl_control_plane/models/getversionop.py +46 -0
  16. cribl_control_plane/models/gitcommitsummary.py +3 -3
  17. cribl_control_plane/models/gitlogresult.py +33 -0
  18. cribl_control_plane/models/{getproductsgroupsbyproductop.py → listconfiggroupbyproductop.py} +12 -12
  19. cribl_control_plane/models/{getworkersop.py → listmasterworkerentryop.py} +4 -4
  20. cribl_control_plane/models/{updategroupsbyidop.py → updateconfiggroupbyproductandidop.py} +22 -6
  21. cribl_control_plane/models/{updategroupsdeploybyidop.py → updateconfiggroupdeploybyproductandidop.py} +22 -6
  22. cribl_control_plane/nodes.py +70 -62
  23. cribl_control_plane/teams.py +20 -20
  24. {cribl_control_plane-0.0.29.dist-info → cribl_control_plane-0.0.31.dist-info}/METADATA +10 -9
  25. {cribl_control_plane-0.0.29.dist-info → cribl_control_plane-0.0.31.dist-info}/RECORD +26 -24
  26. cribl_control_plane/models/deletegroupsbyidop.py +0 -37
  27. cribl_control_plane/models/getgroupsaclbyidop.py +0 -63
  28. cribl_control_plane/models/getgroupsbyidop.py +0 -49
  29. cribl_control_plane/models/getgroupsconfigversionbyidop.py +0 -36
  30. {cribl_control_plane-0.0.29.dist-info → cribl_control_plane-0.0.31.dist-info}/WHEEL +0 -0
@@ -9,26 +9,26 @@ from typing import List, Optional
9
9
  from typing_extensions import Annotated, NotRequired, TypedDict
10
10
 
11
11
 
12
- class CreateProductsGroupsByProductProduct(str, Enum):
13
- r"""Cribl Product"""
12
+ class CreateConfigGroupByProductProduct(str, Enum):
13
+ r"""Name of the Cribl product to add the Worker Group or Edge Fleet to."""
14
14
 
15
15
  STREAM = "stream"
16
16
  EDGE = "edge"
17
17
 
18
18
 
19
- class CreateProductsGroupsByProductRequestTypedDict(TypedDict):
20
- product: CreateProductsGroupsByProductProduct
21
- r"""Cribl Product"""
19
+ class CreateConfigGroupByProductRequestTypedDict(TypedDict):
20
+ product: CreateConfigGroupByProductProduct
21
+ r"""Name of the Cribl product to add the Worker Group or Edge Fleet to."""
22
22
  config_group: ConfigGroupTypedDict
23
23
  r"""ConfigGroup object"""
24
24
 
25
25
 
26
- class CreateProductsGroupsByProductRequest(BaseModel):
26
+ class CreateConfigGroupByProductRequest(BaseModel):
27
27
  product: Annotated[
28
- CreateProductsGroupsByProductProduct,
28
+ CreateConfigGroupByProductProduct,
29
29
  FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
30
30
  ]
31
- r"""Cribl Product"""
31
+ r"""Name of the Cribl product to add the Worker Group or Edge Fleet to."""
32
32
 
33
33
  config_group: Annotated[
34
34
  ConfigGroup,
@@ -37,7 +37,7 @@ class CreateProductsGroupsByProductRequest(BaseModel):
37
37
  r"""ConfigGroup object"""
38
38
 
39
39
 
40
- class CreateProductsGroupsByProductResponseTypedDict(TypedDict):
40
+ class CreateConfigGroupByProductResponseTypedDict(TypedDict):
41
41
  r"""a list of ConfigGroup objects"""
42
42
 
43
43
  count: NotRequired[int]
@@ -45,7 +45,7 @@ class CreateProductsGroupsByProductResponseTypedDict(TypedDict):
45
45
  items: NotRequired[List[ConfigGroupTypedDict]]
46
46
 
47
47
 
48
- class CreateProductsGroupsByProductResponse(BaseModel):
48
+ class CreateConfigGroupByProductResponse(BaseModel):
49
49
  r"""a list of ConfigGroup objects"""
50
50
 
51
51
  count: Optional[int] = None
@@ -2,9 +2,10 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .routeconf import RouteConf, RouteConfTypedDict
5
+ from .routes import Routes, RoutesTypedDict
5
6
  from cribl_control_plane.types import BaseModel
6
7
  from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
7
- from typing import Any, Dict, List, Optional
8
+ from typing import List, Optional
8
9
  from typing_extensions import Annotated, NotRequired, TypedDict
9
10
 
10
11
 
@@ -29,17 +30,17 @@ class CreateRoutesAppendByIDRequest(BaseModel):
29
30
 
30
31
 
31
32
  class CreateRoutesAppendByIDResponseTypedDict(TypedDict):
32
- r"""a list of any objects"""
33
+ r"""a list of Routes objects"""
33
34
 
34
35
  count: NotRequired[int]
35
36
  r"""number of items present in the items array"""
36
- items: NotRequired[List[Dict[str, Any]]]
37
+ items: NotRequired[List[RoutesTypedDict]]
37
38
 
38
39
 
39
40
  class CreateRoutesAppendByIDResponse(BaseModel):
40
- r"""a list of any objects"""
41
+ r"""a list of Routes objects"""
41
42
 
42
43
  count: Optional[int] = None
43
44
  r"""number of items present in the items array"""
44
45
 
45
- items: Optional[List[Dict[str, Any]]] = None
46
+ items: Optional[List[Routes]] = None
@@ -0,0 +1,53 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .configgroup import ConfigGroup, ConfigGroupTypedDict
5
+ from cribl_control_plane.types import BaseModel
6
+ from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
7
+ from enum import Enum
8
+ from typing import List, Optional
9
+ from typing_extensions import Annotated, NotRequired, TypedDict
10
+
11
+
12
+ class DeleteConfigGroupByProductAndIDProduct(str, Enum):
13
+ r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
14
+
15
+ STREAM = "stream"
16
+ EDGE = "edge"
17
+
18
+
19
+ class DeleteConfigGroupByProductAndIDRequestTypedDict(TypedDict):
20
+ product: DeleteConfigGroupByProductAndIDProduct
21
+ r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
22
+ id: str
23
+ r"""The <code>id</code> of the Worker Group or Edge Fleet to delete."""
24
+
25
+
26
+ class DeleteConfigGroupByProductAndIDRequest(BaseModel):
27
+ product: Annotated[
28
+ DeleteConfigGroupByProductAndIDProduct,
29
+ FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
30
+ ]
31
+ r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
32
+
33
+ id: Annotated[
34
+ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
35
+ ]
36
+ r"""The <code>id</code> of the Worker Group or Edge Fleet to delete."""
37
+
38
+
39
+ class DeleteConfigGroupByProductAndIDResponseTypedDict(TypedDict):
40
+ r"""a list of ConfigGroup objects"""
41
+
42
+ count: NotRequired[int]
43
+ r"""number of items present in the items array"""
44
+ items: NotRequired[List[ConfigGroupTypedDict]]
45
+
46
+
47
+ class DeleteConfigGroupByProductAndIDResponse(BaseModel):
48
+ r"""a list of ConfigGroup objects"""
49
+
50
+ count: Optional[int] = None
51
+ r"""number of items present in the items array"""
52
+
53
+ items: Optional[List[ConfigGroup]] = None
@@ -0,0 +1,78 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .useraccesscontrollist import UserAccessControlList, UserAccessControlListTypedDict
5
+ from cribl_control_plane.types import BaseModel
6
+ from cribl_control_plane.utils import (
7
+ FieldMetadata,
8
+ PathParamMetadata,
9
+ QueryParamMetadata,
10
+ )
11
+ from enum import Enum
12
+ from typing import List, Optional
13
+ from typing_extensions import Annotated, NotRequired, TypedDict
14
+
15
+
16
+ class GetConfigGroupACLByProductAndIDProduct(str, Enum):
17
+ r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
18
+
19
+ STREAM = "stream"
20
+ EDGE = "edge"
21
+
22
+
23
+ class GetConfigGroupACLByProductAndIDType(str, Enum):
24
+ r"""Filter for limiting the response to ACL entries for the specified RBAC resource type."""
25
+
26
+ GROUPS = "groups"
27
+ DATASETS = "datasets"
28
+ DATASET_PROVIDERS = "dataset-providers"
29
+ PROJECTS = "projects"
30
+ DASHBOARDS = "dashboards"
31
+ MACROS = "macros"
32
+ NOTEBOOKS = "notebooks"
33
+ INSIGHTS = "insights"
34
+
35
+
36
+ class GetConfigGroupACLByProductAndIDRequestTypedDict(TypedDict):
37
+ product: GetConfigGroupACLByProductAndIDProduct
38
+ r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
39
+ id: str
40
+ r"""The <code>id</code> of the Worker Group or Edge Fleet to get the ACL for."""
41
+ type: NotRequired[GetConfigGroupACLByProductAndIDType]
42
+ r"""Filter for limiting the response to ACL entries for the specified RBAC resource type."""
43
+
44
+
45
+ class GetConfigGroupACLByProductAndIDRequest(BaseModel):
46
+ product: Annotated[
47
+ GetConfigGroupACLByProductAndIDProduct,
48
+ FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
49
+ ]
50
+ r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
51
+
52
+ id: Annotated[
53
+ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
54
+ ]
55
+ r"""The <code>id</code> of the Worker Group or Edge Fleet to get the ACL for."""
56
+
57
+ type: Annotated[
58
+ Optional[GetConfigGroupACLByProductAndIDType],
59
+ FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
60
+ ] = None
61
+ r"""Filter for limiting the response to ACL entries for the specified RBAC resource type."""
62
+
63
+
64
+ class GetConfigGroupACLByProductAndIDResponseTypedDict(TypedDict):
65
+ r"""a list of UserAccessControlList objects"""
66
+
67
+ count: NotRequired[int]
68
+ r"""number of items present in the items array"""
69
+ items: NotRequired[List[UserAccessControlListTypedDict]]
70
+
71
+
72
+ class GetConfigGroupACLByProductAndIDResponse(BaseModel):
73
+ r"""a list of UserAccessControlList objects"""
74
+
75
+ count: Optional[int] = None
76
+ r"""number of items present in the items array"""
77
+
78
+ items: Optional[List[UserAccessControlList]] = None
@@ -13,14 +13,14 @@ from typing import List, Optional
13
13
  from typing_extensions import Annotated, NotRequired, TypedDict
14
14
 
15
15
 
16
- class GetProductsGroupsACLTeamsByProductAndIDProduct(str, Enum):
17
- r"""Cribl Product"""
16
+ class GetConfigGroupACLTeamsByProductAndIDProduct(str, Enum):
17
+ r"""Name of the Cribl product that contains the Worker Group or Edge Fleet."""
18
18
 
19
19
  STREAM = "stream"
20
20
  EDGE = "edge"
21
21
 
22
22
 
23
- class GetProductsGroupsACLTeamsByProductAndIDType(str, Enum):
23
+ class GetConfigGroupACLTeamsByProductAndIDType(str, Enum):
24
24
  r"""resource type by which to filter access levels"""
25
25
 
26
26
  GROUPS = "groups"
@@ -33,35 +33,35 @@ class GetProductsGroupsACLTeamsByProductAndIDType(str, Enum):
33
33
  INSIGHTS = "insights"
34
34
 
35
35
 
36
- class GetProductsGroupsACLTeamsByProductAndIDRequestTypedDict(TypedDict):
37
- product: GetProductsGroupsACLTeamsByProductAndIDProduct
38
- r"""Cribl Product"""
36
+ class GetConfigGroupACLTeamsByProductAndIDRequestTypedDict(TypedDict):
37
+ product: GetConfigGroupACLTeamsByProductAndIDProduct
38
+ r"""Name of the Cribl product that contains the Worker Group or Edge Fleet."""
39
39
  id: str
40
- r"""Group ID"""
41
- type: NotRequired[GetProductsGroupsACLTeamsByProductAndIDType]
40
+ r"""The <code>id</code> of the Worker Group or Edge Fleet to get the team ACL for."""
41
+ type: NotRequired[GetConfigGroupACLTeamsByProductAndIDType]
42
42
  r"""resource type by which to filter access levels"""
43
43
 
44
44
 
45
- class GetProductsGroupsACLTeamsByProductAndIDRequest(BaseModel):
45
+ class GetConfigGroupACLTeamsByProductAndIDRequest(BaseModel):
46
46
  product: Annotated[
47
- GetProductsGroupsACLTeamsByProductAndIDProduct,
47
+ GetConfigGroupACLTeamsByProductAndIDProduct,
48
48
  FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
49
49
  ]
50
- r"""Cribl Product"""
50
+ r"""Name of the Cribl product that contains the Worker Group or Edge Fleet."""
51
51
 
52
52
  id: Annotated[
53
53
  str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
54
54
  ]
55
- r"""Group ID"""
55
+ r"""The <code>id</code> of the Worker Group or Edge Fleet to get the team ACL for."""
56
56
 
57
57
  type: Annotated[
58
- Optional[GetProductsGroupsACLTeamsByProductAndIDType],
58
+ Optional[GetConfigGroupACLTeamsByProductAndIDType],
59
59
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
60
60
  ] = None
61
61
  r"""resource type by which to filter access levels"""
62
62
 
63
63
 
64
- class GetProductsGroupsACLTeamsByProductAndIDResponseTypedDict(TypedDict):
64
+ class GetConfigGroupACLTeamsByProductAndIDResponseTypedDict(TypedDict):
65
65
  r"""a list of TeamAccessControlList objects"""
66
66
 
67
67
  count: NotRequired[int]
@@ -69,7 +69,7 @@ class GetProductsGroupsACLTeamsByProductAndIDResponseTypedDict(TypedDict):
69
69
  items: NotRequired[List[TeamAccessControlListTypedDict]]
70
70
 
71
71
 
72
- class GetProductsGroupsACLTeamsByProductAndIDResponse(BaseModel):
72
+ class GetConfigGroupACLTeamsByProductAndIDResponse(BaseModel):
73
73
  r"""a list of TeamAccessControlList objects"""
74
74
 
75
75
  count: Optional[int] = None
@@ -0,0 +1,65 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .configgroup import ConfigGroup, ConfigGroupTypedDict
5
+ from cribl_control_plane.types import BaseModel
6
+ from cribl_control_plane.utils import (
7
+ FieldMetadata,
8
+ PathParamMetadata,
9
+ QueryParamMetadata,
10
+ )
11
+ from enum import Enum
12
+ from typing import List, Optional
13
+ from typing_extensions import Annotated, NotRequired, TypedDict
14
+
15
+
16
+ class GetConfigGroupByProductAndIDProduct(str, Enum):
17
+ r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
18
+
19
+ STREAM = "stream"
20
+ EDGE = "edge"
21
+
22
+
23
+ class GetConfigGroupByProductAndIDRequestTypedDict(TypedDict):
24
+ product: GetConfigGroupByProductAndIDProduct
25
+ r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
26
+ id: str
27
+ r"""The <code>id</code> of the Worker Group or Edge Fleet to get."""
28
+ fields: NotRequired[str]
29
+ r"""Comma-separated list of additional properties to include in the response. Available values are <code>git.commit</code>, <code>git.localChanges</code>, and <code>git.log</code>."""
30
+
31
+
32
+ class GetConfigGroupByProductAndIDRequest(BaseModel):
33
+ product: Annotated[
34
+ GetConfigGroupByProductAndIDProduct,
35
+ FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
36
+ ]
37
+ r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
38
+
39
+ id: Annotated[
40
+ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
41
+ ]
42
+ r"""The <code>id</code> of the Worker Group or Edge Fleet to get."""
43
+
44
+ fields: Annotated[
45
+ Optional[str],
46
+ FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
47
+ ] = None
48
+ r"""Comma-separated list of additional properties to include in the response. Available values are <code>git.commit</code>, <code>git.localChanges</code>, and <code>git.log</code>."""
49
+
50
+
51
+ class GetConfigGroupByProductAndIDResponseTypedDict(TypedDict):
52
+ r"""a list of ConfigGroup objects"""
53
+
54
+ count: NotRequired[int]
55
+ r"""number of items present in the items array"""
56
+ items: NotRequired[List[ConfigGroupTypedDict]]
57
+
58
+
59
+ class GetConfigGroupByProductAndIDResponse(BaseModel):
60
+ r"""a list of ConfigGroup objects"""
61
+
62
+ count: Optional[int] = None
63
+ r"""number of items present in the items array"""
64
+
65
+ items: Optional[List[ConfigGroup]] = None
@@ -0,0 +1,52 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from cribl_control_plane.types import BaseModel
5
+ from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
6
+ from enum import Enum
7
+ from typing import List, Optional
8
+ from typing_extensions import Annotated, NotRequired, TypedDict
9
+
10
+
11
+ class GetConfigGroupConfigVersionByProductAndIDProduct(str, Enum):
12
+ r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
13
+
14
+ STREAM = "stream"
15
+ EDGE = "edge"
16
+
17
+
18
+ class GetConfigGroupConfigVersionByProductAndIDRequestTypedDict(TypedDict):
19
+ product: GetConfigGroupConfigVersionByProductAndIDProduct
20
+ r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
21
+ id: str
22
+ r"""The <code>id</code> of the Worker Group or Edge Fleet to get the configuration version for."""
23
+
24
+
25
+ class GetConfigGroupConfigVersionByProductAndIDRequest(BaseModel):
26
+ product: Annotated[
27
+ GetConfigGroupConfigVersionByProductAndIDProduct,
28
+ FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
29
+ ]
30
+ r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
31
+
32
+ id: Annotated[
33
+ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
34
+ ]
35
+ r"""The <code>id</code> of the Worker Group or Edge Fleet to get the configuration version for."""
36
+
37
+
38
+ class GetConfigGroupConfigVersionByProductAndIDResponseTypedDict(TypedDict):
39
+ r"""a list of string objects"""
40
+
41
+ count: NotRequired[int]
42
+ r"""number of items present in the items array"""
43
+ items: NotRequired[List[str]]
44
+
45
+
46
+ class GetConfigGroupConfigVersionByProductAndIDResponse(BaseModel):
47
+ r"""a list of string objects"""
48
+
49
+ count: Optional[int] = None
50
+ r"""number of items present in the items array"""
51
+
52
+ items: Optional[List[str]] = None
@@ -8,12 +8,12 @@ from typing import List, Optional
8
8
  from typing_extensions import Annotated, NotRequired, TypedDict
9
9
 
10
10
 
11
- class GetSummaryWorkersRequestTypedDict(TypedDict):
11
+ class GetMasterWorkerEntryRequestTypedDict(TypedDict):
12
12
  filter_exp: NotRequired[str]
13
13
  r"""Filter expression evaluated against nodes"""
14
14
 
15
15
 
16
- class GetSummaryWorkersRequest(BaseModel):
16
+ class GetMasterWorkerEntryRequest(BaseModel):
17
17
  filter_exp: Annotated[
18
18
  Optional[str],
19
19
  pydantic.Field(alias="filterExp"),
@@ -22,7 +22,7 @@ class GetSummaryWorkersRequest(BaseModel):
22
22
  r"""Filter expression evaluated against nodes"""
23
23
 
24
24
 
25
- class GetSummaryWorkersResponseTypedDict(TypedDict):
25
+ class GetMasterWorkerEntryResponseTypedDict(TypedDict):
26
26
  r"""a list of number objects"""
27
27
 
28
28
  count: NotRequired[int]
@@ -30,7 +30,7 @@ class GetSummaryWorkersResponseTypedDict(TypedDict):
30
30
  items: NotRequired[List[float]]
31
31
 
32
32
 
33
- class GetSummaryWorkersResponse(BaseModel):
33
+ class GetMasterWorkerEntryResponse(BaseModel):
34
34
  r"""a list of number objects"""
35
35
 
36
36
  count: Optional[int] = None
@@ -0,0 +1,46 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .gitlogresult import GitLogResult, GitLogResultTypedDict
5
+ from cribl_control_plane.types import BaseModel
6
+ from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
7
+ from typing import List, Optional
8
+ from typing_extensions import Annotated, NotRequired, TypedDict
9
+
10
+
11
+ class GetVersionRequestTypedDict(TypedDict):
12
+ group: NotRequired[str]
13
+ r"""Group ID"""
14
+ count: NotRequired[float]
15
+ r"""Maximum number of commits to return"""
16
+
17
+
18
+ class GetVersionRequest(BaseModel):
19
+ group: Annotated[
20
+ Optional[str],
21
+ FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
22
+ ] = None
23
+ r"""Group ID"""
24
+
25
+ count: Annotated[
26
+ Optional[float],
27
+ FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
28
+ ] = None
29
+ r"""Maximum number of commits to return"""
30
+
31
+
32
+ class GetVersionResponseTypedDict(TypedDict):
33
+ r"""a list of GitLogResult objects"""
34
+
35
+ count: NotRequired[int]
36
+ r"""number of items present in the items array"""
37
+ items: NotRequired[List[GitLogResultTypedDict]]
38
+
39
+
40
+ class GetVersionResponse(BaseModel):
41
+ r"""a list of GitLogResult objects"""
42
+
43
+ count: Optional[int] = None
44
+ r"""number of items present in the items array"""
45
+
46
+ items: Optional[List[GitLogResult]] = None
@@ -49,16 +49,14 @@ class Summary(BaseModel):
49
49
 
50
50
 
51
51
  class GitCommitSummaryTypedDict(TypedDict):
52
- author: AuthorTypedDict
53
52
  branch: str
54
53
  commit: str
55
54
  files: GitCommitSummaryFilesTypedDict
56
55
  summary: SummaryTypedDict
56
+ author: NotRequired[AuthorTypedDict]
57
57
 
58
58
 
59
59
  class GitCommitSummary(BaseModel):
60
- author: Author
61
-
62
60
  branch: str
63
61
 
64
62
  commit: str
@@ -66,3 +64,5 @@ class GitCommitSummary(BaseModel):
66
64
  files: GitCommitSummaryFiles
67
65
 
68
66
  summary: Summary
67
+
68
+ author: Optional[Author] = None
@@ -0,0 +1,33 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from cribl_control_plane.types import BaseModel
5
+ import pydantic
6
+ from typing import Optional
7
+ from typing_extensions import Annotated, NotRequired, TypedDict
8
+
9
+
10
+ class GitLogResultTypedDict(TypedDict):
11
+ author_email: NotRequired[str]
12
+ author_name: NotRequired[str]
13
+ body: NotRequired[str]
14
+ date_: NotRequired[str]
15
+ hash: NotRequired[str]
16
+ message: NotRequired[str]
17
+ refs: NotRequired[str]
18
+
19
+
20
+ class GitLogResult(BaseModel):
21
+ author_email: Optional[str] = None
22
+
23
+ author_name: Optional[str] = None
24
+
25
+ body: Optional[str] = None
26
+
27
+ date_: Annotated[Optional[str], pydantic.Field(alias="date")] = None
28
+
29
+ hash: Optional[str] = None
30
+
31
+ message: Optional[str] = None
32
+
33
+ refs: Optional[str] = None
@@ -13,35 +13,35 @@ from typing import List, Optional
13
13
  from typing_extensions import Annotated, NotRequired, TypedDict
14
14
 
15
15
 
16
- class GetProductsGroupsByProductProduct(str, Enum):
17
- r"""Cribl Product"""
16
+ class ListConfigGroupByProductProduct(str, Enum):
17
+ r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
18
18
 
19
19
  STREAM = "stream"
20
20
  EDGE = "edge"
21
21
 
22
22
 
23
- class GetProductsGroupsByProductRequestTypedDict(TypedDict):
24
- product: GetProductsGroupsByProductProduct
25
- r"""Cribl Product"""
23
+ class ListConfigGroupByProductRequestTypedDict(TypedDict):
24
+ product: ListConfigGroupByProductProduct
25
+ r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
26
26
  fields: NotRequired[str]
27
- r"""fields to add to results: git.commit, git.localChanges, git.log"""
27
+ r"""Comma-separated list of additional properties to include in the response. Available values are <code>git.commit</code>, <code>git.localChanges</code>, and <code>git.log</code>."""
28
28
 
29
29
 
30
- class GetProductsGroupsByProductRequest(BaseModel):
30
+ class ListConfigGroupByProductRequest(BaseModel):
31
31
  product: Annotated[
32
- GetProductsGroupsByProductProduct,
32
+ ListConfigGroupByProductProduct,
33
33
  FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
34
34
  ]
35
- r"""Cribl Product"""
35
+ r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
36
36
 
37
37
  fields: Annotated[
38
38
  Optional[str],
39
39
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
40
40
  ] = None
41
- r"""fields to add to results: git.commit, git.localChanges, git.log"""
41
+ r"""Comma-separated list of additional properties to include in the response. Available values are <code>git.commit</code>, <code>git.localChanges</code>, and <code>git.log</code>."""
42
42
 
43
43
 
44
- class GetProductsGroupsByProductResponseTypedDict(TypedDict):
44
+ class ListConfigGroupByProductResponseTypedDict(TypedDict):
45
45
  r"""a list of ConfigGroup objects"""
46
46
 
47
47
  count: NotRequired[int]
@@ -49,7 +49,7 @@ class GetProductsGroupsByProductResponseTypedDict(TypedDict):
49
49
  items: NotRequired[List[ConfigGroupTypedDict]]
50
50
 
51
51
 
52
- class GetProductsGroupsByProductResponse(BaseModel):
52
+ class ListConfigGroupByProductResponse(BaseModel):
53
53
  r"""a list of ConfigGroup objects"""
54
54
 
55
55
  count: Optional[int] = None
@@ -9,7 +9,7 @@ from typing import List, Optional
9
9
  from typing_extensions import Annotated, NotRequired, TypedDict
10
10
 
11
11
 
12
- class GetWorkersRequestTypedDict(TypedDict):
12
+ class ListMasterWorkerEntryRequestTypedDict(TypedDict):
13
13
  filter_exp: NotRequired[str]
14
14
  r"""Filter expression evaluated against nodes"""
15
15
  sort: NotRequired[str]
@@ -24,7 +24,7 @@ class GetWorkersRequestTypedDict(TypedDict):
24
24
  r"""Filter object (JSON stringified) to select nodes"""
25
25
 
26
26
 
27
- class GetWorkersRequest(BaseModel):
27
+ class ListMasterWorkerEntryRequest(BaseModel):
28
28
  filter_exp: Annotated[
29
29
  Optional[str],
30
30
  pydantic.Field(alias="filterExp"),
@@ -65,7 +65,7 @@ class GetWorkersRequest(BaseModel):
65
65
  r"""Filter object (JSON stringified) to select nodes"""
66
66
 
67
67
 
68
- class GetWorkersResponseTypedDict(TypedDict):
68
+ class ListMasterWorkerEntryResponseTypedDict(TypedDict):
69
69
  r"""a list of MasterWorkerEntry objects"""
70
70
 
71
71
  count: NotRequired[int]
@@ -73,7 +73,7 @@ class GetWorkersResponseTypedDict(TypedDict):
73
73
  items: NotRequired[List[MasterWorkerEntryTypedDict]]
74
74
 
75
75
 
76
- class GetWorkersResponse(BaseModel):
76
+ class ListMasterWorkerEntryResponse(BaseModel):
77
77
  r"""a list of MasterWorkerEntry objects"""
78
78
 
79
79
  count: Optional[int] = None