cribl-control-plane 0.0.38a1__py3-none-any.whl → 0.0.40__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 (80) hide show
  1. cribl_control_plane/_version.py +3 -3
  2. cribl_control_plane/commits.py +52 -42
  3. cribl_control_plane/commits_files.py +12 -12
  4. cribl_control_plane/destinations.py +3 -3
  5. cribl_control_plane/destinations_pq.py +2 -2
  6. cribl_control_plane/groups_sdk.py +8 -8
  7. cribl_control_plane/models/__init__.py +315 -368
  8. cribl_control_plane/models/branchinfo.py +13 -0
  9. cribl_control_plane/models/configgroup.py +5 -3
  10. cribl_control_plane/models/createversioncommitop.py +26 -1
  11. cribl_control_plane/models/createversionrevertop.py +4 -2
  12. cribl_control_plane/models/createversionundoop.py +4 -2
  13. cribl_control_plane/models/deleteoutputpqbyidop.py +5 -5
  14. cribl_control_plane/models/difffiles.py +171 -0
  15. cribl_control_plane/models/getoutputpqbyidop.py +6 -5
  16. cribl_control_plane/models/getversionbranchop.py +6 -5
  17. cribl_control_plane/models/getversioncountop.py +9 -7
  18. cribl_control_plane/models/getversiondiffop.py +9 -7
  19. cribl_control_plane/models/getversionfilesop.py +3 -2
  20. cribl_control_plane/models/getversionop.py +4 -2
  21. cribl_control_plane/models/getversionshowop.py +3 -2
  22. cribl_control_plane/models/getversionstatusop.py +4 -2
  23. cribl_control_plane/models/gitcountresult.py +13 -0
  24. cribl_control_plane/models/gitdiffresult.py +16 -0
  25. cribl_control_plane/models/inputcribllakehttp.py +5 -4
  26. cribl_control_plane/models/inputcrowdstrike.py +2 -2
  27. cribl_control_plane/models/inputs3.py +2 -2
  28. cribl_control_plane/models/inputs3inventory.py +2 -2
  29. cribl_control_plane/models/inputsecuritylake.py +2 -2
  30. cribl_control_plane/models/inputwineventlogs.py +1 -1
  31. cribl_control_plane/models/jobinfo.py +25 -0
  32. cribl_control_plane/models/jobstatus.py +17 -0
  33. cribl_control_plane/models/outputcrowdstrikenextgensiem.py +1 -1
  34. cribl_control_plane/models/outputgooglepubsub.py +7 -28
  35. cribl_control_plane/models/outputsentineloneaisiem.py +3 -3
  36. cribl_control_plane/models/packinfo.py +5 -5
  37. cribl_control_plane/models/packinstallinfo.py +7 -7
  38. cribl_control_plane/models/packrequestbody_union.py +140 -0
  39. cribl_control_plane/models/packupgraderequest.py +26 -0
  40. cribl_control_plane/models/runnablejob.py +27 -0
  41. cribl_control_plane/models/runnablejobcollection.py +589 -0
  42. cribl_control_plane/models/runnablejobexecutor.py +336 -0
  43. cribl_control_plane/models/runnablejobscheduledsearch.py +267 -0
  44. cribl_control_plane/models/updatepacksbyidop.py +9 -28
  45. cribl_control_plane/packs.py +62 -116
  46. cribl_control_plane/{destinations_samples.py → samples.py} +1 -1
  47. cribl_control_plane/sdk.py +0 -3
  48. cribl_control_plane/statuses.py +6 -6
  49. {cribl_control_plane-0.0.38a1.dist-info → cribl_control_plane-0.0.40.dist-info}/METADATA +6 -22
  50. {cribl_control_plane-0.0.38a1.dist-info → cribl_control_plane-0.0.40.dist-info}/RECORD +51 -68
  51. cribl_control_plane/cribl.py +0 -513
  52. cribl_control_plane/models/authconfig.py +0 -43
  53. cribl_control_plane/models/commonservicelimitconfigs.py +0 -14
  54. cribl_control_plane/models/edgeheartbeatmetricsmode.py +0 -11
  55. cribl_control_plane/models/getsystemsettingsauthop.py +0 -24
  56. cribl_control_plane/models/getsystemsettingsconfop.py +0 -24
  57. cribl_control_plane/models/getsystemsettingsgitsettingsop.py +0 -24
  58. cribl_control_plane/models/gitopstype.py +0 -10
  59. cribl_control_plane/models/gitsettings.py +0 -70
  60. cribl_control_plane/models/jobsettings.py +0 -83
  61. cribl_control_plane/models/limits.py +0 -127
  62. cribl_control_plane/models/packrequestbody.py +0 -75
  63. cribl_control_plane/models/rediscachelimits.py +0 -38
  64. cribl_control_plane/models/redisconnectionlimits.py +0 -20
  65. cribl_control_plane/models/redislimits.py +0 -14
  66. cribl_control_plane/models/searchsettings.py +0 -71
  67. cribl_control_plane/models/serviceslimits.py +0 -23
  68. cribl_control_plane/models/systemsettings.py +0 -358
  69. cribl_control_plane/models/systemsettingsconf.py +0 -311
  70. cribl_control_plane/models/updatesystemsettingsauthop.py +0 -24
  71. cribl_control_plane/models/updatesystemsettingsconfop.py +0 -24
  72. cribl_control_plane/models/updatesystemsettingsgitsettingsop.py +0 -24
  73. cribl_control_plane/models/upgradegroupsettings.py +0 -24
  74. cribl_control_plane/models/upgradepackageurls.py +0 -20
  75. cribl_control_plane/models/upgradesettings.py +0 -36
  76. cribl_control_plane/settings.py +0 -23
  77. cribl_control_plane/settings_auth.py +0 -339
  78. cribl_control_plane/settings_git.py +0 -339
  79. cribl_control_plane/system_sdk.py +0 -17
  80. {cribl_control_plane-0.0.38a1.dist-info → cribl_control_plane-0.0.40.dist-info}/WHEEL +0 -0
@@ -0,0 +1,13 @@
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 typing_extensions import TypedDict
6
+
7
+
8
+ class BranchInfoTypedDict(TypedDict):
9
+ id: str
10
+
11
+
12
+ class BranchInfo(BaseModel):
13
+ id: str
@@ -32,9 +32,9 @@ class ConfigGroupType(str, Enum):
32
32
 
33
33
 
34
34
  class ConfigGroupTypedDict(TypedDict):
35
- config_version: str
36
35
  id: str
37
36
  cloud: NotRequired[ConfigGroupCloudTypedDict]
37
+ config_version: NotRequired[str]
38
38
  deploying_worker_count: NotRequired[float]
39
39
  description: NotRequired[str]
40
40
  estimated_ingest_rate: NotRequired[float]
@@ -57,12 +57,14 @@ class ConfigGroupTypedDict(TypedDict):
57
57
 
58
58
 
59
59
  class ConfigGroup(BaseModel):
60
- config_version: Annotated[str, pydantic.Field(alias="configVersion")]
61
-
62
60
  id: str
63
61
 
64
62
  cloud: Optional[ConfigGroupCloud] = None
65
63
 
64
+ config_version: Annotated[Optional[str], pydantic.Field(alias="configVersion")] = (
65
+ None
66
+ )
67
+
66
68
  deploying_worker_count: Annotated[
67
69
  Optional[float], pydantic.Field(alias="deployingWorkerCount")
68
70
  ] = None
@@ -1,10 +1,35 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
+ from .gitcommitparams import GitCommitParams, GitCommitParamsTypedDict
4
5
  from .gitcommitsummary import GitCommitSummary, GitCommitSummaryTypedDict
5
6
  from cribl_control_plane.types import BaseModel
7
+ from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata, RequestMetadata
8
+ import pydantic
6
9
  from typing import List, Optional
7
- from typing_extensions import NotRequired, TypedDict
10
+ from typing_extensions import Annotated, NotRequired, TypedDict
11
+
12
+
13
+ class CreateVersionCommitRequestTypedDict(TypedDict):
14
+ git_commit_params: GitCommitParamsTypedDict
15
+ r"""GitCommitParams object"""
16
+ group_id: NotRequired[str]
17
+ r"""The <code>id</code> of the Worker Group or Edge Fleet to create a new commit for."""
18
+
19
+
20
+ class CreateVersionCommitRequest(BaseModel):
21
+ git_commit_params: Annotated[
22
+ GitCommitParams,
23
+ FieldMetadata(request=RequestMetadata(media_type="application/json")),
24
+ ]
25
+ r"""GitCommitParams object"""
26
+
27
+ group_id: Annotated[
28
+ Optional[str],
29
+ pydantic.Field(alias="groupId"),
30
+ FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
31
+ ] = None
32
+ r"""The <code>id</code> of the Worker Group or Edge Fleet to create a new commit for."""
8
33
 
9
34
 
10
35
  class CreateVersionCommitResponseTypedDict(TypedDict):
@@ -5,6 +5,7 @@ from .gitrevertparams import GitRevertParams, GitRevertParamsTypedDict
5
5
  from .gitrevertresult import GitRevertResult, GitRevertResultTypedDict
6
6
  from cribl_control_plane.types import BaseModel
7
7
  from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata, RequestMetadata
8
+ import pydantic
8
9
  from typing import List, Optional
9
10
  from typing_extensions import Annotated, NotRequired, TypedDict
10
11
 
@@ -12,7 +13,7 @@ from typing_extensions import Annotated, NotRequired, TypedDict
12
13
  class CreateVersionRevertRequestTypedDict(TypedDict):
13
14
  git_revert_params: GitRevertParamsTypedDict
14
15
  r"""GitRevertParams object"""
15
- group: NotRequired[str]
16
+ group_id: NotRequired[str]
16
17
  r"""Group ID"""
17
18
 
18
19
 
@@ -23,8 +24,9 @@ class CreateVersionRevertRequest(BaseModel):
23
24
  ]
24
25
  r"""GitRevertParams object"""
25
26
 
26
- group: Annotated[
27
+ group_id: Annotated[
27
28
  Optional[str],
29
+ pydantic.Field(alias="groupId"),
28
30
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
29
31
  ] = None
30
32
  r"""Group ID"""
@@ -3,18 +3,20 @@
3
3
  from __future__ import annotations
4
4
  from cribl_control_plane.types import BaseModel
5
5
  from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
6
+ import pydantic
6
7
  from typing import List, Optional
7
8
  from typing_extensions import Annotated, NotRequired, TypedDict
8
9
 
9
10
 
10
11
  class CreateVersionUndoRequestTypedDict(TypedDict):
11
- group: NotRequired[str]
12
+ group_id: NotRequired[str]
12
13
  r"""The <code>id</code> of the Worker Group or Edge Fleet to undo the uncommited changes for."""
13
14
 
14
15
 
15
16
  class CreateVersionUndoRequest(BaseModel):
16
- group: Annotated[
17
+ group_id: Annotated[
17
18
  Optional[str],
19
+ pydantic.Field(alias="groupId"),
18
20
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
19
21
  ] = None
20
22
  r"""The <code>id</code> of the Worker Group or Edge Fleet to undo the uncommited changes for."""
@@ -3,7 +3,7 @@
3
3
  from __future__ import annotations
4
4
  from cribl_control_plane.types import BaseModel
5
5
  from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
6
- from typing import Any, Dict, List, Optional
6
+ from typing import List, Optional
7
7
  from typing_extensions import Annotated, NotRequired, TypedDict
8
8
 
9
9
 
@@ -20,17 +20,17 @@ class DeleteOutputPqByIDRequest(BaseModel):
20
20
 
21
21
 
22
22
  class DeleteOutputPqByIDResponseTypedDict(TypedDict):
23
- r"""a list of any objects"""
23
+ r"""a list of string objects"""
24
24
 
25
25
  count: NotRequired[int]
26
26
  r"""number of items present in the items array"""
27
- items: NotRequired[List[Dict[str, Any]]]
27
+ items: NotRequired[List[str]]
28
28
 
29
29
 
30
30
  class DeleteOutputPqByIDResponse(BaseModel):
31
- r"""a list of any objects"""
31
+ r"""a list of string objects"""
32
32
 
33
33
  count: Optional[int] = None
34
34
  r"""number of items present in the items array"""
35
35
 
36
- items: Optional[List[Dict[str, Any]]] = None
36
+ items: Optional[List[str]] = None
@@ -0,0 +1,171 @@
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 List, Optional, Union
7
+ from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
8
+
9
+
10
+ class Line3TypedDict(TypedDict):
11
+ content: str
12
+ new_number: float
13
+ old_number: float
14
+
15
+
16
+ class Line3(BaseModel):
17
+ content: str
18
+
19
+ new_number: Annotated[float, pydantic.Field(alias="newNumber")]
20
+
21
+ old_number: Annotated[float, pydantic.Field(alias="oldNumber")]
22
+
23
+
24
+ class Line2TypedDict(TypedDict):
25
+ content: str
26
+ new_number: float
27
+
28
+
29
+ class Line2(BaseModel):
30
+ content: str
31
+
32
+ new_number: Annotated[float, pydantic.Field(alias="newNumber")]
33
+
34
+
35
+ class Line1TypedDict(TypedDict):
36
+ content: str
37
+ old_number: float
38
+
39
+
40
+ class Line1(BaseModel):
41
+ content: str
42
+
43
+ old_number: Annotated[float, pydantic.Field(alias="oldNumber")]
44
+
45
+
46
+ LineUnionTypedDict = TypeAliasType(
47
+ "LineUnionTypedDict", Union[Line1TypedDict, Line2TypedDict, Line3TypedDict]
48
+ )
49
+
50
+
51
+ LineUnion = TypeAliasType("LineUnion", Union[Line1, Line2, Line3])
52
+
53
+
54
+ class BlockTypedDict(TypedDict):
55
+ header: str
56
+ lines: List[LineUnionTypedDict]
57
+ new_start_line: float
58
+ old_start_line: float
59
+ old_start_line2: NotRequired[float]
60
+
61
+
62
+ class Block(BaseModel):
63
+ header: str
64
+
65
+ lines: List[LineUnion]
66
+
67
+ new_start_line: Annotated[float, pydantic.Field(alias="newStartLine")]
68
+
69
+ old_start_line: Annotated[float, pydantic.Field(alias="oldStartLine")]
70
+
71
+ old_start_line2: Annotated[
72
+ Optional[float], pydantic.Field(alias="oldStartLine2")
73
+ ] = None
74
+
75
+
76
+ ChecksumBeforeTypedDict = TypeAliasType(
77
+ "ChecksumBeforeTypedDict", Union[str, List[str]]
78
+ )
79
+
80
+
81
+ ChecksumBefore = TypeAliasType("ChecksumBefore", Union[str, List[str]])
82
+
83
+
84
+ OldModeTypedDict = TypeAliasType("OldModeTypedDict", Union[str, List[str]])
85
+
86
+
87
+ OldMode = TypeAliasType("OldMode", Union[str, List[str]])
88
+
89
+
90
+ class DiffFilesTypedDict(TypedDict):
91
+ added_lines: float
92
+ blocks: List[BlockTypedDict]
93
+ deleted_lines: float
94
+ is_combined: bool
95
+ is_git_diff: bool
96
+ language: str
97
+ new_name: str
98
+ old_name: str
99
+ changed_percentage: NotRequired[float]
100
+ checksum_after: NotRequired[str]
101
+ checksum_before: NotRequired[ChecksumBeforeTypedDict]
102
+ deleted_file_mode: NotRequired[str]
103
+ is_binary: NotRequired[bool]
104
+ is_copy: NotRequired[bool]
105
+ is_deleted: NotRequired[bool]
106
+ is_new: NotRequired[bool]
107
+ is_rename: NotRequired[bool]
108
+ is_too_big: NotRequired[bool]
109
+ mode: NotRequired[str]
110
+ new_file_mode: NotRequired[str]
111
+ new_mode: NotRequired[str]
112
+ old_mode: NotRequired[OldModeTypedDict]
113
+ unchanged_percentage: NotRequired[float]
114
+
115
+
116
+ class DiffFiles(BaseModel):
117
+ added_lines: Annotated[float, pydantic.Field(alias="addedLines")]
118
+
119
+ blocks: List[Block]
120
+
121
+ deleted_lines: Annotated[float, pydantic.Field(alias="deletedLines")]
122
+
123
+ is_combined: Annotated[bool, pydantic.Field(alias="isCombined")]
124
+
125
+ is_git_diff: Annotated[bool, pydantic.Field(alias="isGitDiff")]
126
+
127
+ language: str
128
+
129
+ new_name: Annotated[str, pydantic.Field(alias="newName")]
130
+
131
+ old_name: Annotated[str, pydantic.Field(alias="oldName")]
132
+
133
+ changed_percentage: Annotated[
134
+ Optional[float], pydantic.Field(alias="changedPercentage")
135
+ ] = None
136
+
137
+ checksum_after: Annotated[Optional[str], pydantic.Field(alias="checksumAfter")] = (
138
+ None
139
+ )
140
+
141
+ checksum_before: Annotated[
142
+ Optional[ChecksumBefore], pydantic.Field(alias="checksumBefore")
143
+ ] = None
144
+
145
+ deleted_file_mode: Annotated[
146
+ Optional[str], pydantic.Field(alias="deletedFileMode")
147
+ ] = None
148
+
149
+ is_binary: Annotated[Optional[bool], pydantic.Field(alias="isBinary")] = None
150
+
151
+ is_copy: Annotated[Optional[bool], pydantic.Field(alias="isCopy")] = None
152
+
153
+ is_deleted: Annotated[Optional[bool], pydantic.Field(alias="isDeleted")] = None
154
+
155
+ is_new: Annotated[Optional[bool], pydantic.Field(alias="isNew")] = None
156
+
157
+ is_rename: Annotated[Optional[bool], pydantic.Field(alias="isRename")] = None
158
+
159
+ is_too_big: Annotated[Optional[bool], pydantic.Field(alias="isTooBig")] = None
160
+
161
+ mode: Optional[str] = None
162
+
163
+ new_file_mode: Annotated[Optional[str], pydantic.Field(alias="newFileMode")] = None
164
+
165
+ new_mode: Annotated[Optional[str], pydantic.Field(alias="newMode")] = None
166
+
167
+ old_mode: Annotated[Optional[OldMode], pydantic.Field(alias="oldMode")] = None
168
+
169
+ unchanged_percentage: Annotated[
170
+ Optional[float], pydantic.Field(alias="unchangedPercentage")
171
+ ] = None
@@ -1,9 +1,10 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
+ from .jobinfo import JobInfo, JobInfoTypedDict
4
5
  from cribl_control_plane.types import BaseModel
5
6
  from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
6
- from typing import Any, Dict, List, Optional
7
+ from typing import List, Optional
7
8
  from typing_extensions import Annotated, NotRequired, TypedDict
8
9
 
9
10
 
@@ -20,17 +21,17 @@ class GetOutputPqByIDRequest(BaseModel):
20
21
 
21
22
 
22
23
  class GetOutputPqByIDResponseTypedDict(TypedDict):
23
- r"""a list of any objects"""
24
+ r"""a list of JobInfo objects"""
24
25
 
25
26
  count: NotRequired[int]
26
27
  r"""number of items present in the items array"""
27
- items: NotRequired[List[Dict[str, Any]]]
28
+ items: NotRequired[List[JobInfoTypedDict]]
28
29
 
29
30
 
30
31
  class GetOutputPqByIDResponse(BaseModel):
31
- r"""a list of any objects"""
32
+ r"""a list of JobInfo objects"""
32
33
 
33
34
  count: Optional[int] = None
34
35
  r"""number of items present in the items array"""
35
36
 
36
- items: Optional[List[Dict[str, Any]]] = None
37
+ items: Optional[List[JobInfo]] = None
@@ -1,23 +1,24 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
+ from .branchinfo import BranchInfo, BranchInfoTypedDict
4
5
  from cribl_control_plane.types import BaseModel
5
- from typing import Any, Dict, List, Optional
6
+ from typing import List, Optional
6
7
  from typing_extensions import NotRequired, TypedDict
7
8
 
8
9
 
9
10
  class GetVersionBranchResponseTypedDict(TypedDict):
10
- r"""a list of any objects"""
11
+ r"""a list of BranchInfo objects"""
11
12
 
12
13
  count: NotRequired[int]
13
14
  r"""number of items present in the items array"""
14
- items: NotRequired[List[Dict[str, Any]]]
15
+ items: NotRequired[List[BranchInfoTypedDict]]
15
16
 
16
17
 
17
18
  class GetVersionBranchResponse(BaseModel):
18
- r"""a list of any objects"""
19
+ r"""a list of BranchInfo objects"""
19
20
 
20
21
  count: Optional[int] = None
21
22
  r"""number of items present in the items array"""
22
23
 
23
- items: Optional[List[Dict[str, Any]]] = None
24
+ items: Optional[List[BranchInfo]] = None
@@ -1,23 +1,25 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
+ from .gitcountresult import GitCountResult, GitCountResultTypedDict
4
5
  from cribl_control_plane.types import BaseModel
5
6
  from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
6
7
  import pydantic
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
 
11
12
  class GetVersionCountRequestTypedDict(TypedDict):
12
- group: NotRequired[str]
13
+ group_id: NotRequired[str]
13
14
  r"""The <code>id</code> of the Worker Group or Edge Fleet to get the count for."""
14
15
  id: NotRequired[str]
15
16
  r"""The Git commit hash to use as the starting point for the count."""
16
17
 
17
18
 
18
19
  class GetVersionCountRequest(BaseModel):
19
- group: Annotated[
20
+ group_id: Annotated[
20
21
  Optional[str],
22
+ pydantic.Field(alias="groupId"),
21
23
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
22
24
  ] = None
23
25
  r"""The <code>id</code> of the Worker Group or Edge Fleet to get the count for."""
@@ -31,17 +33,17 @@ class GetVersionCountRequest(BaseModel):
31
33
 
32
34
 
33
35
  class GetVersionCountResponseTypedDict(TypedDict):
34
- r"""a list of any objects"""
36
+ r"""a list of GitCountResult objects"""
35
37
 
36
38
  count: NotRequired[int]
37
39
  r"""number of items present in the items array"""
38
- items: NotRequired[List[Dict[str, Any]]]
40
+ items: NotRequired[List[GitCountResultTypedDict]]
39
41
 
40
42
 
41
43
  class GetVersionCountResponse(BaseModel):
42
- r"""a list of any objects"""
44
+ r"""a list of GitCountResult objects"""
43
45
 
44
46
  count: Optional[int] = None
45
47
  r"""number of items present in the items array"""
46
48
 
47
- items: Optional[List[Dict[str, Any]]] = None
49
+ items: Optional[List[GitCountResult]] = None
@@ -1,17 +1,18 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
+ from .gitdiffresult import GitDiffResult, GitDiffResultTypedDict
4
5
  from cribl_control_plane.types import BaseModel
5
6
  from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
6
7
  import pydantic
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
 
11
12
  class GetVersionDiffRequestTypedDict(TypedDict):
12
13
  commit: NotRequired[str]
13
14
  r"""The Git commit hash to get the diff for."""
14
- group: NotRequired[str]
15
+ group_id: NotRequired[str]
15
16
  r"""The <code>id</code> of the Worker Group or Edge Fleet to get the diff for."""
16
17
  filename: NotRequired[str]
17
18
  r"""The relative path of the file to get the diff for."""
@@ -26,8 +27,9 @@ class GetVersionDiffRequest(BaseModel):
26
27
  ] = None
27
28
  r"""The Git commit hash to get the diff for."""
28
29
 
29
- group: Annotated[
30
+ group_id: Annotated[
30
31
  Optional[str],
32
+ pydantic.Field(alias="groupId"),
31
33
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
32
34
  ] = None
33
35
  r"""The <code>id</code> of the Worker Group or Edge Fleet to get the diff for."""
@@ -47,17 +49,17 @@ class GetVersionDiffRequest(BaseModel):
47
49
 
48
50
 
49
51
  class GetVersionDiffResponseTypedDict(TypedDict):
50
- r"""a list of any objects"""
52
+ r"""a list of GitDiffResult objects"""
51
53
 
52
54
  count: NotRequired[int]
53
55
  r"""number of items present in the items array"""
54
- items: NotRequired[List[Dict[str, Any]]]
56
+ items: NotRequired[List[GitDiffResultTypedDict]]
55
57
 
56
58
 
57
59
  class GetVersionDiffResponse(BaseModel):
58
- r"""a list of any objects"""
60
+ r"""a list of GitDiffResult objects"""
59
61
 
60
62
  count: Optional[int] = None
61
63
  r"""number of items present in the items array"""
62
64
 
63
- items: Optional[List[Dict[str, Any]]] = None
65
+ items: Optional[List[GitDiffResult]] = None
@@ -10,15 +10,16 @@ from typing_extensions import Annotated, NotRequired, TypedDict
10
10
 
11
11
 
12
12
  class GetVersionFilesRequestTypedDict(TypedDict):
13
- group: NotRequired[str]
13
+ group_id: NotRequired[str]
14
14
  r"""The <code>id</code> of the Worker Group or Edge Fleet to get file names and status for."""
15
15
  id: NotRequired[str]
16
16
  r"""The Git commit hash to use as the starting point for the request."""
17
17
 
18
18
 
19
19
  class GetVersionFilesRequest(BaseModel):
20
- group: Annotated[
20
+ group_id: Annotated[
21
21
  Optional[str],
22
+ pydantic.Field(alias="groupId"),
22
23
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
23
24
  ] = None
24
25
  r"""The <code>id</code> of the Worker Group or Edge Fleet to get file names and status for."""
@@ -4,20 +4,22 @@ from __future__ import annotations
4
4
  from .gitlogresult import GitLogResult, GitLogResultTypedDict
5
5
  from cribl_control_plane.types import BaseModel
6
6
  from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
7
+ import pydantic
7
8
  from typing import List, Optional
8
9
  from typing_extensions import Annotated, NotRequired, TypedDict
9
10
 
10
11
 
11
12
  class GetVersionRequestTypedDict(TypedDict):
12
- group: NotRequired[str]
13
+ group_id: NotRequired[str]
13
14
  r"""The <code>id</code> of the Worker Group or Edge Fleet to get the commit history for."""
14
15
  count: NotRequired[float]
15
16
  r"""Maximum number of commits to return in the response for this request."""
16
17
 
17
18
 
18
19
  class GetVersionRequest(BaseModel):
19
- group: Annotated[
20
+ group_id: Annotated[
20
21
  Optional[str],
22
+ pydantic.Field(alias="groupId"),
21
23
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
22
24
  ] = None
23
25
  r"""The <code>id</code> of the Worker Group or Edge Fleet to get the commit history for."""
@@ -11,7 +11,7 @@ from typing_extensions import Annotated, NotRequired, TypedDict
11
11
  class GetVersionShowRequestTypedDict(TypedDict):
12
12
  commit: NotRequired[str]
13
13
  r"""The Git commit hash to retrieve the diff and log message for."""
14
- group: NotRequired[str]
14
+ group_id: NotRequired[str]
15
15
  r"""The <code>id</code> of the Worker Group or Edge Fleet to get the diff and log message for."""
16
16
  filename: NotRequired[str]
17
17
  r"""The relative path of the file to get the diff and log message for."""
@@ -26,8 +26,9 @@ class GetVersionShowRequest(BaseModel):
26
26
  ] = None
27
27
  r"""The Git commit hash to retrieve the diff and log message for."""
28
28
 
29
- group: Annotated[
29
+ group_id: Annotated[
30
30
  Optional[str],
31
+ pydantic.Field(alias="groupId"),
31
32
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
32
33
  ] = None
33
34
  r"""The <code>id</code> of the Worker Group or Edge Fleet to get the diff and log message for."""
@@ -4,18 +4,20 @@ from __future__ import annotations
4
4
  from .gitstatusresult import GitStatusResult, GitStatusResultTypedDict
5
5
  from cribl_control_plane.types import BaseModel
6
6
  from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
7
+ import pydantic
7
8
  from typing import List, Optional
8
9
  from typing_extensions import Annotated, NotRequired, TypedDict
9
10
 
10
11
 
11
12
  class GetVersionStatusRequestTypedDict(TypedDict):
12
- group: NotRequired[str]
13
+ group_id: NotRequired[str]
13
14
  r"""The <code>id</code> of the Worker Group or Edge Fleet to get the status for."""
14
15
 
15
16
 
16
17
  class GetVersionStatusRequest(BaseModel):
17
- group: Annotated[
18
+ group_id: Annotated[
18
19
  Optional[str],
20
+ pydantic.Field(alias="groupId"),
19
21
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
20
22
  ] = None
21
23
  r"""The <code>id</code> of the Worker Group or Edge Fleet to get the status for."""
@@ -0,0 +1,13 @@
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 typing_extensions import TypedDict
6
+
7
+
8
+ class GitCountResultTypedDict(TypedDict):
9
+ count: float
10
+
11
+
12
+ class GitCountResult(BaseModel):
13
+ count: float
@@ -0,0 +1,16 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .difffiles import DiffFiles, DiffFilesTypedDict
5
+ from cribl_control_plane.types import BaseModel
6
+ import pydantic
7
+ from typing import List
8
+ from typing_extensions import Annotated, TypedDict
9
+
10
+
11
+ class GitDiffResultTypedDict(TypedDict):
12
+ diff_json: List[DiffFilesTypedDict]
13
+
14
+
15
+ class GitDiffResult(BaseModel):
16
+ diff_json: Annotated[List[DiffFiles], pydantic.Field(alias="diffJson")]
@@ -189,21 +189,24 @@ class InputCriblLakeHTTPAuthTokensExtMetadatum(BaseModel):
189
189
 
190
190
  class InputCriblLakeHTTPAuthTokensExtTypedDict(TypedDict):
191
191
  token: str
192
- r"""Shared secret to be provided by any client (Authorization: <token>)"""
193
192
  description: NotRequired[str]
194
193
  metadata: NotRequired[List[InputCriblLakeHTTPAuthTokensExtMetadatumTypedDict]]
195
194
  r"""Fields to add to events referencing this token"""
195
+ enable_splunk_hec: NotRequired[bool]
196
196
 
197
197
 
198
198
  class InputCriblLakeHTTPAuthTokensExt(BaseModel):
199
199
  token: str
200
- r"""Shared secret to be provided by any client (Authorization: <token>)"""
201
200
 
202
201
  description: Optional[str] = None
203
202
 
204
203
  metadata: Optional[List[InputCriblLakeHTTPAuthTokensExtMetadatum]] = None
205
204
  r"""Fields to add to events referencing this token"""
206
205
 
206
+ enable_splunk_hec: Annotated[
207
+ Optional[bool], pydantic.Field(alias="enableSplunkHec")
208
+ ] = False
209
+
207
210
 
208
211
  class InputCriblLakeHTTPTypedDict(TypedDict):
209
212
  type: InputCriblLakeHTTPType
@@ -262,7 +265,6 @@ class InputCriblLakeHTTPTypedDict(TypedDict):
262
265
  metadata: NotRequired[List[InputCriblLakeHTTPMetadatumTypedDict]]
263
266
  r"""Fields to add to events from this input"""
264
267
  auth_tokens_ext: NotRequired[List[InputCriblLakeHTTPAuthTokensExtTypedDict]]
265
- r"""Shared secrets to be provided by any client (Authorization: <token>). If empty, unauthorized access is permitted."""
266
268
  description: NotRequired[str]
267
269
 
268
270
 
@@ -388,6 +390,5 @@ class InputCriblLakeHTTP(BaseModel):
388
390
  Optional[List[InputCriblLakeHTTPAuthTokensExt]],
389
391
  pydantic.Field(alias="authTokensExt"),
390
392
  ] = None
391
- r"""Shared secrets to be provided by any client (Authorization: <token>). If empty, unauthorized access is permitted."""
392
393
 
393
394
  description: Optional[str] = None