Skip to content

Commit fa2a784

Browse files
## Python SDK Changes Detected:
* `squadcast_sdk.webforms.remove()`: `request.owner_id` **Changed** **Breaking** ⚠️ * `squadcast_sdk.webforms.get_by_id()`: `request.owner_id` **Changed** **Breaking** ⚠️ * `squadcast_sdk.rotations.list_by_schedule()`: `response.page_info` **Removed** **Breaking** ⚠️ * `squadcast_sdk.services.get_all()`: `request.owner_id` **Changed** **Breaking** ⚠️ * `squadcast_sdk.schedules.list()`: `request` **Changed** **Breaking** ⚠️ * `squadcast_sdk.escalation_policies.get_by_team()`: `request.owner_id` **Changed** **Breaking** ⚠️ * `squadcast_sdk.squads.list()`: `request.owner_id` **Added** **Breaking** ⚠️ * `squadcast_sdk.schedules.overrides.list()`: `request` **Changed** **Breaking** ⚠️ * `squadcast_sdk.squads.get_by_team()`: **Deleted** **Breaking** ⚠️ * `squadcast_sdk.squads.squads_delete_squad()`: **Added** * `squadcast_sdk.squads_v3.create()`: **Deleted** **Breaking** ⚠️ * `squadcast_sdk.squads.update()`: **Deleted** **Breaking** ⚠️ * `squadcast_sdk.squads.get()`: **Deleted** **Breaking** ⚠️ * `squadcast_sdk.squads.delete()`: **Deleted** **Breaking** ⚠️
1 parent 2b745a3 commit fa2a784

File tree

134 files changed

+2062
-3763
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+2062
-3763
lines changed

.speakeasy/out.openapi.yaml

Lines changed: 1253 additions & 1929 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.621.0
1+
speakeasyVersion: 1.631.0
22
sources:
33
Squadcast:
44
sourceNamespace: squadcast
5-
sourceRevisionDigest: sha256:55647cdc4e502b772b54b90fbb2e7558377c959663dc2a9ae25333a2d89612ba
6-
sourceBlobDigest: sha256:09c774cf842bb8bd40b612fdf7a8b460fd2c00d45027b6bab49adfd953dfe3d1
5+
sourceRevisionDigest: sha256:bdd71ff011f4c14284c16340471ee8eb4b02e14b4df862c3933c8ed31e05f11f
6+
sourceBlobDigest: sha256:72d34ed85fd124d3a70ccb4e8a038a545ea2066263fb4ebb4eae36ad8aac56f5
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1758260084
9+
- speakeasy-sdk-regen-1758932521
1010
- 1.0.0
1111
targets:
1212
squadcast-sdk:
1313
source: Squadcast
1414
sourceNamespace: squadcast
15-
sourceRevisionDigest: sha256:55647cdc4e502b772b54b90fbb2e7558377c959663dc2a9ae25333a2d89612ba
16-
sourceBlobDigest: sha256:09c774cf842bb8bd40b612fdf7a8b460fd2c00d45027b6bab49adfd953dfe3d1
15+
sourceRevisionDigest: sha256:bdd71ff011f4c14284c16340471ee8eb4b02e14b4df862c3933c8ed31e05f11f
16+
sourceBlobDigest: sha256:72d34ed85fd124d3a70ccb4e8a038a545ea2066263fb4ebb4eae36ad8aac56f5
1717
codeSamplesNamespace: squadcast-typescript-typescript-python-code-samples
18-
codeSamplesRevisionDigest: sha256:df9353c7825343b51b2e12ef0e23362df4f1bfa5828f4a4baf706920c9dac332
18+
codeSamplesRevisionDigest: sha256:3d3396109b05f9adf6a809cf281fb020148a1effc8f374feababf3575d3a6ede
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

squadcastv1/.speakeasy/gen.lock

Lines changed: 49 additions & 44 deletions
Large diffs are not rendered by default.

squadcastv1/.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,15 @@ generation:
2525
generateNewTests: true
2626
skipResponseBodyAssertions: false
2727
python:
28-
version: 0.1.3
28+
version: 0.2.0
2929
additionalDependencies:
3030
dev: {}
3131
main: {}
3232
allowedRedefinedBuiltins:
3333
- id
3434
- object
3535
- input
36+
asyncMode: both
3637
authors:
3738
- Speakeasy
3839
baseErrorName: SquadcastSDKError
@@ -55,6 +56,7 @@ python:
5556
shared: ""
5657
webhooks: ""
5758
inputModelSuffix: input
59+
legacyPyright: true
5860
maxMethodParams: 999
5961
mdoulename: squadcast_sdk
6062
methodArguments: infer-optional-args

squadcastv1/README-PYPI.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ with SquadcastSDK(
141141
</br>
142142

143143
The same SDK client can also be used to make asynchronous requests by importing asyncio.
144+
144145
```python
145146
# Asynchronous Example
146147
import asyncio
@@ -540,23 +541,16 @@ with SquadcastSDK(
540541

541542
### [squads](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/docs/sdks/squadssdk/README.md)
542543

543-
* [get_by_team](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/docs/sdks/squadssdk/README.md#get_by_team) - Get Squad By team
544-
* [delete](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/docs/sdks/squadssdk/README.md#delete) - Delete Squad
545-
* [get](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/docs/sdks/squadssdk/README.md#get) - Get Squad By ID
546-
* [update](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/docs/sdks/squadssdk/README.md#update) - Update Squad
547544
* [list](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/docs/sdks/squadssdk/README.md#list) - Get All Squads
548545
* [get_by_id](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/docs/sdks/squadssdk/README.md#get_by_id) - Get Squad By ID
549546
* [update_v4](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/docs/sdks/squadssdk/README.md#update_v4) - Update Squad
550547
* [remove_member](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/docs/sdks/squadssdk/README.md#remove_member) - Remove Squad Member
548+
* [squads_delete_squad](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/docs/sdks/squadssdk/README.md#squads_delete_squad) - Delete Squad
551549

552550
#### [squads.members](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/docs/sdks/squadsmembers/README.md)
553551

554552
* [update](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/docs/sdks/squadsmembers/README.md#update) - Update Squad Member
555553

556-
### [squads_v3](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/docs/sdks/squadsv3/README.md)
557-
558-
* [create](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/docs/sdks/squadsv3/README.md#create) - Create Squad
559-
560554
### [squads_v4](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/docs/sdks/squadsv4/README.md)
561555

562556
* [create](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/docs/sdks/squadsv4/README.md#create) - Create Squad
@@ -824,9 +818,9 @@ with SquadcastSDK(
824818

825819

826820
**Inherit from [`SquadcastSDKError`](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/./src/squadcast_sdk/errors/squadcastsdkerror.py)**:
827-
* [`CommonV4Error`](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/./src/squadcast_sdk/errors/commonv4error.py): The server could not understand the request due to invalid syntax. Applicable to 31 of 229 methods.*
828-
* [`ResponseBodyError1`](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/./src/squadcast_sdk/errors/responsebodyerror1.py): Represents a CircleCI error response for a 400 status code. Status code `400`. Applicable to 1 of 229 methods.*
829-
* [`ResponseBodyError2`](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/./src/squadcast_sdk/errors/responsebodyerror2.py): Represents a CircleCI error response for a 400 status code. Status code `400`. Applicable to 1 of 229 methods.*
821+
* [`CommonV4Error`](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/./src/squadcast_sdk/errors/commonv4error.py): The server could not understand the request due to invalid syntax. Applicable to 32 of 225 methods.*
822+
* [`ResponseBodyError1`](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/./src/squadcast_sdk/errors/responsebodyerror1.py): Represents a CircleCI error response for a 400 status code. Status code `400`. Applicable to 1 of 225 methods.*
823+
* [`ResponseBodyError2`](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/./src/squadcast_sdk/errors/responsebodyerror2.py): Represents a CircleCI error response for a 400 status code. Status code `400`. Applicable to 1 of 225 methods.*
830824
* [`ResponseValidationError`](https://github.com/SquadcastHub/squadcast-sdk-python/blob/master/squadcastv1/./src/squadcast_sdk/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
831825

832826
</details>
@@ -845,7 +839,7 @@ from squadcast_sdk import SquadcastSDK
845839

846840

847841
with SquadcastSDK(
848-
server_url="https://api.squadcast.tech",
842+
server_url="https://api.squadcast.com",
849843
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
850844
) as ss_client:
851845

squadcastv1/README.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ with SquadcastSDK(
141141
</br>
142142

143143
The same SDK client can also be used to make asynchronous requests by importing asyncio.
144+
144145
```python
145146
# Asynchronous Example
146147
import asyncio
@@ -540,23 +541,16 @@ with SquadcastSDK(
540541

541542
### [squads](docs/sdks/squadssdk/README.md)
542543

543-
* [get_by_team](docs/sdks/squadssdk/README.md#get_by_team) - Get Squad By team
544-
* [delete](docs/sdks/squadssdk/README.md#delete) - Delete Squad
545-
* [get](docs/sdks/squadssdk/README.md#get) - Get Squad By ID
546-
* [update](docs/sdks/squadssdk/README.md#update) - Update Squad
547544
* [list](docs/sdks/squadssdk/README.md#list) - Get All Squads
548545
* [get_by_id](docs/sdks/squadssdk/README.md#get_by_id) - Get Squad By ID
549546
* [update_v4](docs/sdks/squadssdk/README.md#update_v4) - Update Squad
550547
* [remove_member](docs/sdks/squadssdk/README.md#remove_member) - Remove Squad Member
548+
* [squads_delete_squad](docs/sdks/squadssdk/README.md#squads_delete_squad) - Delete Squad
551549

552550
#### [squads.members](docs/sdks/squadsmembers/README.md)
553551

554552
* [update](docs/sdks/squadsmembers/README.md#update) - Update Squad Member
555553

556-
### [squads_v3](docs/sdks/squadsv3/README.md)
557-
558-
* [create](docs/sdks/squadsv3/README.md#create) - Create Squad
559-
560554
### [squads_v4](docs/sdks/squadsv4/README.md)
561555

562556
* [create](docs/sdks/squadsv4/README.md#create) - Create Squad
@@ -824,9 +818,9 @@ with SquadcastSDK(
824818

825819

826820
**Inherit from [`SquadcastSDKError`](./src/squadcast_sdk/errors/squadcastsdkerror.py)**:
827-
* [`CommonV4Error`](./src/squadcast_sdk/errors/commonv4error.py): The server could not understand the request due to invalid syntax. Applicable to 31 of 229 methods.*
828-
* [`ResponseBodyError1`](./src/squadcast_sdk/errors/responsebodyerror1.py): Represents a CircleCI error response for a 400 status code. Status code `400`. Applicable to 1 of 229 methods.*
829-
* [`ResponseBodyError2`](./src/squadcast_sdk/errors/responsebodyerror2.py): Represents a CircleCI error response for a 400 status code. Status code `400`. Applicable to 1 of 229 methods.*
821+
* [`CommonV4Error`](./src/squadcast_sdk/errors/commonv4error.py): The server could not understand the request due to invalid syntax. Applicable to 32 of 225 methods.*
822+
* [`ResponseBodyError1`](./src/squadcast_sdk/errors/responsebodyerror1.py): Represents a CircleCI error response for a 400 status code. Status code `400`. Applicable to 1 of 225 methods.*
823+
* [`ResponseBodyError2`](./src/squadcast_sdk/errors/responsebodyerror2.py): Represents a CircleCI error response for a 400 status code. Status code `400`. Applicable to 1 of 225 methods.*
830824
* [`ResponseValidationError`](./src/squadcast_sdk/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
831825

832826
</details>
@@ -845,7 +839,7 @@ from squadcast_sdk import SquadcastSDK
845839

846840

847841
with SquadcastSDK(
848-
server_url="https://api.squadcast.tech",
842+
server_url="https://api.squadcast.com",
849843
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
850844
) as ss_client:
851845

squadcastv1/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,14 @@ Based on:
88
### Generated
99
- [python v0.1.3] squadcastv1
1010
### Releases
11-
- [PyPI v0.1.3] https://pypi.org/project/squadcast_sdk/0.1.3 - squadcastv1
11+
- [PyPI v0.1.3] https://pypi.org/project/squadcast_sdk/0.1.3 - squadcastv1
12+
13+
## 2025-09-27 00:21:45
14+
### Changes
15+
Based on:
16+
- OpenAPI Doc
17+
- Speakeasy CLI 1.631.0 (2.716.10) https://github.com/speakeasy-api/speakeasy
18+
### Generated
19+
- [python v0.2.0] squadcastv1
20+
### Releases
21+
- [PyPI v0.2.0] https://pypi.org/project/squadcast_sdk/0.2.0 - squadcastv1

squadcastv1/USAGE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ with SquadcastSDK(
1717
</br>
1818

1919
The same SDK client can also be used to make asynchronous requests by importing asyncio.
20+
2021
```python
2122
# Asynchronous Example
2223
import asyncio

squadcastv1/docs/models/escalationpoliciesgetescalationpolicybyteamrequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
| Field | Type | Required | Description |
77
| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
8-
| `owner_id` | *Optional[str]* | :heavy_minus_sign: | here owner_id represents team_id, if team_id is not provided, it will return escalation policies of all teams. |
8+
| `owner_id` | *str* | :heavy_check_mark: | here owner_id represents team_id, if team_id is not provided, it will return escalation policies of all teams. |
99
| `page_number` | *Optional[str]* | :heavy_minus_sign: | N/A |
1010
| `page_size` | *Optional[str]* | :heavy_minus_sign: | N/A |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Organization
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------ | ------------------ | ------------------ | ------------------ |
8+
| `id` | *str* | :heavy_check_mark: | N/A |
9+
| `name` | *str* | :heavy_check_mark: | N/A |
10+
| `slug` | *str* | :heavy_check_mark: | N/A |

0 commit comments

Comments
 (0)