From 266e97238a4615749b1772fa87e48d1fab5672b3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 6 Feb 2025 20:37:48 +0000 Subject: [PATCH] feat(api): api update (#184) --- .stats.yml | 2 +- src/metronome/types/contract_create_params.py | 8 ++++---- src/metronome/types/shared/contract_without_amendments.py | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.stats.yml b/.stats.yml index f42f2bcd..39dd6cb9 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 91 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/metronome%2Fmetronome-b72a02c62483cb264bcf60bb973078212a6a74c8dd93d05ac622ab521528cc89.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/metronome%2Fmetronome-1fa0ae727bc625797b5aa5e32e426a24513647901b7ead2f67eb14bf0abf3c33.yml diff --git a/src/metronome/types/contract_create_params.py b/src/metronome/types/contract_create_params.py index f09dfd6e..a41b3c6b 100644 --- a/src/metronome/types/contract_create_params.py +++ b/src/metronome/types/contract_create_params.py @@ -678,7 +678,7 @@ class RecurringCommit(TypedDict, total=False): """Will be passed down to the individual commits""" ending_before: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] - """Determines when the contract will stop creating recurring commits. optional""" + """determines when the contract will stop creating recurring commits. optional""" invoice_amount: RecurringCommitInvoiceAmount """The amount the customer should be billed for the commit. Not required.""" @@ -696,7 +696,7 @@ class RecurringCommit(TypedDict, total=False): """Will be passed down to the individual commits. This controls how much of an individual unexpired commit will roll over upon - contract transition. Must be between 0 and 1. + contract transition """ temporary_id: str @@ -753,7 +753,7 @@ class RecurringCredit(TypedDict, total=False): """Will be passed down to the individual commits""" ending_before: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] - """Determines when the contract will stop creating recurring commits. optional""" + """determines when the contract will stop creating recurring commits. optional""" invoice_amount: RecurringCreditInvoiceAmount """The amount the customer should be billed for the commit. Not required.""" @@ -771,7 +771,7 @@ class RecurringCredit(TypedDict, total=False): """Will be passed down to the individual commits. This controls how much of an individual unexpired commit will roll over upon - contract transition. Must be between 0 and 1. + contract transition """ temporary_id: str diff --git a/src/metronome/types/shared/contract_without_amendments.py b/src/metronome/types/shared/contract_without_amendments.py index 51591cf5..e316840e 100644 --- a/src/metronome/types/shared/contract_without_amendments.py +++ b/src/metronome/types/shared/contract_without_amendments.py @@ -129,7 +129,7 @@ class RecurringCommit(BaseModel): """Will be passed down to the individual commits. This controls how much of an individual unexpired commit will roll over upon - contract transition. Must be between 0 and 1. + contract transition """ @@ -212,7 +212,7 @@ class RecurringCredit(BaseModel): """Will be passed down to the individual commits. This controls how much of an individual unexpired commit will roll over upon - contract transition. Must be between 0 and 1. + contract transition """