Skip to content

Commit fe3cbf5

Browse files
committed
Merge scalar-generated into scalar-next (build aI12u8hyTy3NW291Y1ZOj)
2 parents 5f5f5b8 + 1cbd975 commit fe3cbf5

4 files changed

Lines changed: 31 additions & 1 deletion

File tree

‎scalar-sdk.manifest.json‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Scalar",
33
"slug": "scalar",
4-
"generatorVersion": "0.42.1",
4+
"generatorVersion": "0.44.0",
55
"servers": [
66
"https://access.scalar.com"
77
],
@@ -17400,6 +17400,8 @@
1740017400
"tag",
1740117401
"artifactId",
1740217402
"tapRepo",
17403+
"cask",
17404+
"replaceFormula",
1740317405
"registry"
1740417406
],
1740517407
"publicBodyParams": [
@@ -17409,6 +17411,8 @@
1740917411
"tag",
1741017412
"artifactId",
1741117413
"tapRepo",
17414+
"cask",
17415+
"replaceFormula",
1741217416
"registry"
1741317417
],
1741417418
"bodyParamDetails": [
@@ -17436,6 +17440,14 @@
1743617440
"name": "tapRepo",
1743717441
"required": false
1743817442
},
17443+
{
17444+
"name": "cask",
17445+
"required": false
17446+
},
17447+
{
17448+
"name": "replaceFormula",
17449+
"required": false
17450+
},
1743917451
{
1744017452
"name": "registry",
1744117453
"required": false

‎src/scalar_sdk/resources/sdks/repositories.py‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ def update_publishing(
194194
tag: str | Omit = omit,
195195
artifact_id: str | Omit = omit,
196196
tap_repo: str | Omit = omit,
197+
cask: bool | Omit = omit,
198+
replace_formula: bool | Omit = omit,
197199
registry: str | Omit = omit,
198200
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
199201
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -214,6 +216,8 @@ def update_publishing(
214216
tag: Body parameter.
215217
artifact_id: Body parameter.
216218
tap_repo: Body parameter.
219+
cask: Body parameter.
220+
replace_formula: Body parameter.
217221
registry: Body parameter.
218222
extra_headers: Send extra headers with the request.
219223
extra_query: Send extra query parameters with the request.
@@ -246,6 +250,8 @@ def update_publishing(
246250
"tag": tag,
247251
"artifact_id": artifact_id,
248252
"tap_repo": tap_repo,
253+
"cask": cask,
254+
"replace_formula": replace_formula,
249255
"registry": registry,
250256
},
251257
repository_update_publishing_params.RepositoryUpdatePublishingParams,
@@ -426,6 +432,8 @@ async def update_publishing(
426432
tag: str | Omit = omit,
427433
artifact_id: str | Omit = omit,
428434
tap_repo: str | Omit = omit,
435+
cask: bool | Omit = omit,
436+
replace_formula: bool | Omit = omit,
429437
registry: str | Omit = omit,
430438
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
431439
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -446,6 +454,8 @@ async def update_publishing(
446454
tag: Body parameter.
447455
artifact_id: Body parameter.
448456
tap_repo: Body parameter.
457+
cask: Body parameter.
458+
replace_formula: Body parameter.
449459
registry: Body parameter.
450460
extra_headers: Send extra headers with the request.
451461
extra_query: Send extra query parameters with the request.
@@ -478,6 +488,8 @@ async def update_publishing(
478488
"tag": tag,
479489
"artifact_id": artifact_id,
480490
"tap_repo": tap_repo,
491+
"cask": cask,
492+
"replace_formula": replace_formula,
481493
"registry": registry,
482494
},
483495
repository_update_publishing_params.RepositoryUpdatePublishingParams,

‎src/scalar_sdk/types/sdks/repository_update_publishing_params.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,8 @@ class RepositoryUpdatePublishingParams(TypedDict, total=False):
2626

2727
tap_repo: Annotated[str, PropertyInfo(alias="tapRepo")]
2828

29+
cask: bool
30+
31+
replace_formula: Annotated[bool, PropertyInfo(alias="replaceFormula")]
32+
2933
registry: str

‎tests/api_resources/sdks/test_repositories.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,7 @@ def test_method_update_publishing_with_all_params(self) -> None:
6060
tag="latest",
6161
artifact_id="scalar-galaxy",
6262
tap_repo="scalar/homebrew-tap",
63+
cask=True,
64+
replace_formula=False,
6365
registry="npm",
6466
)

0 commit comments

Comments
 (0)