cribl-control-plane 0.0.29__py3-none-any.whl → 0.0.30__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 (26) hide show
  1. cribl_control_plane/_version.py +3 -3
  2. cribl_control_plane/acl.py +30 -20
  3. cribl_control_plane/configs_versions.py +22 -16
  4. cribl_control_plane/groups_sdk.py +464 -428
  5. cribl_control_plane/models/__init__.py +187 -169
  6. cribl_control_plane/models/{createproductsgroupsbyproductop.py → createconfiggroupbyproductop.py} +10 -10
  7. cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +53 -0
  8. cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +78 -0
  9. cribl_control_plane/models/{getproductsgroupsaclteamsbyproductandidop.py → getconfiggroupaclteamsbyproductandidop.py} +15 -15
  10. cribl_control_plane/models/getconfiggroupbyproductandidop.py +65 -0
  11. cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +52 -0
  12. cribl_control_plane/models/{getsummaryworkersop.py → getmasterworkerentryop.py} +4 -4
  13. cribl_control_plane/models/gitcommitsummary.py +3 -3
  14. cribl_control_plane/models/{getproductsgroupsbyproductop.py → listconfiggroupbyproductop.py} +12 -12
  15. cribl_control_plane/models/{getworkersop.py → listmasterworkerentryop.py} +4 -4
  16. cribl_control_plane/models/{updategroupsbyidop.py → updateconfiggroupbyproductandidop.py} +22 -6
  17. cribl_control_plane/models/{updategroupsdeploybyidop.py → updateconfiggroupdeploybyproductandidop.py} +22 -6
  18. cribl_control_plane/nodes.py +70 -62
  19. cribl_control_plane/teams.py +20 -20
  20. {cribl_control_plane-0.0.29.dist-info → cribl_control_plane-0.0.30.dist-info}/METADATA +8 -8
  21. {cribl_control_plane-0.0.29.dist-info → cribl_control_plane-0.0.30.dist-info}/RECORD +22 -22
  22. cribl_control_plane/models/deletegroupsbyidop.py +0 -37
  23. cribl_control_plane/models/getgroupsaclbyidop.py +0 -63
  24. cribl_control_plane/models/getgroupsbyidop.py +0 -49
  25. cribl_control_plane/models/getgroupsconfigversionbyidop.py +0 -36
  26. {cribl_control_plane-0.0.29.dist-info → cribl_control_plane-0.0.30.dist-info}/WHEEL +0 -0
@@ -1,63 +0,0 @@
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 GetGroupsACLByIDType(str, Enum):
17
- r"""resource type by which to filter access levels"""
18
-
19
- GROUPS = "groups"
20
- DATASETS = "datasets"
21
- DATASET_PROVIDERS = "dataset-providers"
22
- PROJECTS = "projects"
23
- DASHBOARDS = "dashboards"
24
- MACROS = "macros"
25
- NOTEBOOKS = "notebooks"
26
- INSIGHTS = "insights"
27
-
28
-
29
- class GetGroupsACLByIDRequestTypedDict(TypedDict):
30
- id: str
31
- r"""Group id"""
32
- type: NotRequired[GetGroupsACLByIDType]
33
- r"""resource type by which to filter access levels"""
34
-
35
-
36
- class GetGroupsACLByIDRequest(BaseModel):
37
- id: Annotated[
38
- str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
39
- ]
40
- r"""Group id"""
41
-
42
- type: Annotated[
43
- Optional[GetGroupsACLByIDType],
44
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
45
- ] = None
46
- r"""resource type by which to filter access levels"""
47
-
48
-
49
- class GetGroupsACLByIDResponseTypedDict(TypedDict):
50
- r"""a list of UserAccessControlList objects"""
51
-
52
- count: NotRequired[int]
53
- r"""number of items present in the items array"""
54
- items: NotRequired[List[UserAccessControlListTypedDict]]
55
-
56
-
57
- class GetGroupsACLByIDResponse(BaseModel):
58
- r"""a list of UserAccessControlList objects"""
59
-
60
- count: Optional[int] = None
61
- r"""number of items present in the items array"""
62
-
63
- items: Optional[List[UserAccessControlList]] = None
@@ -1,49 +0,0 @@
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 typing import List, Optional
12
- from typing_extensions import Annotated, NotRequired, TypedDict
13
-
14
-
15
- class GetGroupsByIDRequestTypedDict(TypedDict):
16
- id: str
17
- r"""Group id"""
18
- fields: NotRequired[str]
19
- r"""fields to add to results: git.commit, git.localChanges, git.log"""
20
-
21
-
22
- class GetGroupsByIDRequest(BaseModel):
23
- id: Annotated[
24
- str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
25
- ]
26
- r"""Group id"""
27
-
28
- fields: Annotated[
29
- Optional[str],
30
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
31
- ] = None
32
- r"""fields to add to results: git.commit, git.localChanges, git.log"""
33
-
34
-
35
- class GetGroupsByIDResponseTypedDict(TypedDict):
36
- r"""a list of ConfigGroup objects"""
37
-
38
- count: NotRequired[int]
39
- r"""number of items present in the items array"""
40
- items: NotRequired[List[ConfigGroupTypedDict]]
41
-
42
-
43
- class GetGroupsByIDResponse(BaseModel):
44
- r"""a list of ConfigGroup objects"""
45
-
46
- count: Optional[int] = None
47
- r"""number of items present in the items array"""
48
-
49
- items: Optional[List[ConfigGroup]] = None
@@ -1,36 +0,0 @@
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 typing import List, Optional
7
- from typing_extensions import Annotated, NotRequired, TypedDict
8
-
9
-
10
- class GetGroupsConfigVersionByIDRequestTypedDict(TypedDict):
11
- id: str
12
- r"""Group ID"""
13
-
14
-
15
- class GetGroupsConfigVersionByIDRequest(BaseModel):
16
- id: Annotated[
17
- str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
18
- ]
19
- r"""Group ID"""
20
-
21
-
22
- class GetGroupsConfigVersionByIDResponseTypedDict(TypedDict):
23
- r"""a list of string objects"""
24
-
25
- count: NotRequired[int]
26
- r"""number of items present in the items array"""
27
- items: NotRequired[List[str]]
28
-
29
-
30
- class GetGroupsConfigVersionByIDResponse(BaseModel):
31
- r"""a list of string objects"""
32
-
33
- count: Optional[int] = None
34
- r"""number of items present in the items array"""
35
-
36
- items: Optional[List[str]] = None