Skip to content

Commit 46fe5c5

Browse files
authored
Merge pull request #145 from criblio/speakeasy-sdk-regen-openapi-prerelease-1760613899
chore: 🐝 Update SDK - Generate RC SDK (Prerelease) [openapi-prerelease] 0.1.1rc6
2 parents 77e62a1 + 1f142f6 commit 46fe5c5

File tree

16 files changed

+99
-28
lines changed

16 files changed

+99
-28
lines changed

.speakeasy/gen.lock

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: cfa345be-20bc-4980-a260-c3fa74040ac2
33
management:
4-
docChecksum: f0436d64c919795f51be04910839f5de
4+
docChecksum: 3ce8e7e8d6960ec2415b14c009e61a4d
55
docVersion: 4.15.0-alpha.1760607052180-31a53a17
66
speakeasyVersion: 1.636.3
77
generationVersion: 2.723.11
8-
releaseVersion: 0.1.1rc5
9-
configChecksum: d891ce86d0ccddf6f08435d8df2cf3bc
8+
releaseVersion: 0.1.1rc6
9+
configChecksum: 80d03e0ceb51cb6bc253b71f0e0c49f6
1010
repoURL: https://github.com/criblio/cribl_control_plane_sdk_python.git
1111
installationURL: https://github.com/criblio/cribl_control_plane_sdk_python.git
1212
published: true
@@ -1022,6 +1022,7 @@ generatedFiles:
10221022
- docs/models/listroutesresponse.md
10231023
- docs/models/loggedinusers.md
10241024
- docs/models/logininfo.md
1025+
- docs/models/loginresponse.md
10251026
- docs/models/loglabel.md
10261027
- docs/models/loglocationtype.md
10271028
- docs/models/lokiauthoauthheader1.md
@@ -2206,6 +2207,7 @@ generatedFiles:
22062207
- src/cribl_control_plane/models/listpipelineop.py
22072208
- src/cribl_control_plane/models/listroutesop.py
22082209
- src/cribl_control_plane/models/logininfo.py
2210+
- src/cribl_control_plane/models/loginop.py
22092211
- src/cribl_control_plane/models/lookupversions.py
22102212
- src/cribl_control_plane/models/masterworkerentry.py
22112213
- src/cribl_control_plane/models/nodeactiveupgradestatus.py
@@ -2367,7 +2369,7 @@ examples:
23672369
application/json: {"username": "Nikko.Connelly", "password": "Ljp4BunfMR9hNyM"}
23682370
responses:
23692371
"200":
2370-
application/json: {"token": "<value>"}
2372+
application/json: {"token": "<value>", "forcePasswordChange": false}
23712373
listInput:
23722374
speakeasy-default-list-input:
23732375
responses:
@@ -3324,3 +3326,6 @@ generatedTests:
33243326
updatePacksById: "2025-08-01T02:34:48Z"
33253327
deleteGroupsById: "2025-08-04T02:32:44Z"
33263328
updateGroupsById: "2025-08-04T02:32:44Z"
3329+
releaseNotes: |
3330+
## Python SDK Changes Detected:
3331+
* `cribl_control_plane.auth.tokens.get()`: `response.force_password_change` **Added**

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ generation:
2626
generateNewTests: false
2727
skipResponseBodyAssertions: false
2828
python:
29-
version: 0.1.1rc5
29+
version: 0.1.1rc6
3030
additionalDependencies:
3131
dev: {}
3232
main: {}

.speakeasy/out.openapi.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40945,9 +40945,12 @@ components:
4094540945
type: object
4094640946
required:
4094740947
- token
40948+
- forcePasswordChange
4094840949
properties:
4094940950
token:
4095040951
type: string
40952+
forcePasswordChange:
40953+
type: boolean
4095140954
DistributedSummary:
4095240955
type: object
4095340956
properties:
@@ -43518,6 +43521,12 @@ paths:
4351843521
description: Access denied
4351943522
"429":
4352043523
description: Rate limit exceeded
43524+
headers:
43525+
Retry-After:
43526+
description: Number of seconds to wait before retrying the request
43527+
schema:
43528+
type: integer
43529+
example: 60
4352143530
/master/summary:
4352243531
get:
4352343532
operationId: getSummary

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ speakeasyVersion: 1.636.3
22
sources:
33
Cribl API Reference:
44
sourceNamespace: cribl-api-reference
5-
sourceRevisionDigest: sha256:8b700b7bb839e9e46f8268aae9eb74ce73644375221ee5a2aa4e309d13aec861
6-
sourceBlobDigest: sha256:eff34ccf49f07c1d7898d2f5daaf9fe376fcdfbe566c271072aaa55603d70be4
5+
sourceRevisionDigest: sha256:b664790eb635307de4cd040982c4345aeb61bc94062c8d74b2bb0341a04c3fcc
6+
sourceBlobDigest: sha256:cba1f20a82e49790278c2fb219ee0704fac254277dc3b4bc338c6194c5993a83
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-openapi-prerelease-1760607693
9+
- speakeasy-sdk-regen-openapi-prerelease-1760613899
1010
- 4.15.0-alpha.1760607052180-31a53a17
1111
targets:
1212
cribl-control-plane:
1313
source: Cribl API Reference
1414
sourceNamespace: cribl-api-reference
15-
sourceRevisionDigest: sha256:8b700b7bb839e9e46f8268aae9eb74ce73644375221ee5a2aa4e309d13aec861
16-
sourceBlobDigest: sha256:eff34ccf49f07c1d7898d2f5daaf9fe376fcdfbe566c271072aaa55603d70be4
15+
sourceRevisionDigest: sha256:b664790eb635307de4cd040982c4345aeb61bc94062c8d74b2bb0341a04c3fcc
16+
sourceBlobDigest: sha256:cba1f20a82e49790278c2fb219ee0704fac254277dc3b4bc338c6194c5993a83
1717
codeSamplesNamespace: cribl-api-reference-python-code-samples
18-
codeSamplesRevisionDigest: sha256:eaa1fafe180eb4111e5fab614cd0aef39c95944c1a38c334f7c7d0a56a9b800f
18+
codeSamplesRevisionDigest: sha256:cb161c9f69cf086010334a5cc4012596e7b83b23ef4b707ecb1771572425f0d3
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: 1.636.3

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,4 +498,14 @@ Based on:
498498
### Generated
499499
- [python v0.1.1rc5] .
500500
### Releases
501-
- [PyPI v0.1.1rc5] https://pypi.org/project/cribl-control-plane/0.1.1rc5 - .
501+
- [PyPI v0.1.1rc5] https://pypi.org/project/cribl-control-plane/0.1.1rc5 - .
502+
503+
## 2025-10-16 11:24:39
504+
### Changes
505+
Based on:
506+
- OpenAPI Doc
507+
- Speakeasy CLI 1.636.3 (2.723.11) https://github.com/speakeasy-api/speakeasy
508+
### Generated
509+
- [python v0.1.1rc6] .
510+
### Releases
511+
- [PyPI v0.1.1rc6] https://pypi.org/project/cribl-control-plane/0.1.1rc6 - .

docs/models/authtoken.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ------------------ | ------------------ | ------------------ | ------------------ |
8-
| `token` | *str* | :heavy_check_mark: | N/A |
6+
| Field | Type | Required | Description |
7+
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
8+
| `token` | *str* | :heavy_check_mark: | N/A |
9+
| `force_password_change` | *bool* | :heavy_check_mark: | N/A |

docs/models/loginresponse.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# LoginResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ |
8+
| `headers` | Dict[str, List[*str*]] | :heavy_check_mark: | N/A |
9+
| `result` | [models.AuthToken](../models/authtoken.md) | :heavy_check_mark: | N/A |

docs/sdks/tokens/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ with CriblControlPlane(
3939

4040
### Response
4141

42-
**[models.AuthToken](../../models/authtoken.md)**
42+
**[models.LoginResponse](../../models/loginresponse.md)**
4343

4444
### Errors
4545

examples/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ async def get_client(self) -> CriblControlPlane:
169169
username=self.username,
170170
password=self.password
171171
)
172-
token = response.token
172+
token = response.result.token
173173

174174
security = Security(bearer_auth=token)
175175
self.client = CriblControlPlane(

examples/example_onprem_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async def main():
3636
username=ONPREM_USERNAME,
3737
password=ONPREM_PASSWORD
3838
)
39-
token = response.token
39+
token = response.result.token
4040
print(f"✅ Authenticated with on-prem server, token: {token}")
4141

4242
# Create authenticated SDK client

0 commit comments

Comments
 (0)