diff --git a/.stats.yml b/.stats.yml index 39dd6cb..f42f2bc 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-1fa0ae727bc625797b5aa5e32e426a24513647901b7ead2f67eb14bf0abf3c33.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/metronome%2Fmetronome-b72a02c62483cb264bcf60bb973078212a6a74c8dd93d05ac622ab521528cc89.yml diff --git a/contract.go b/contract.go index 1209cdf..2683b66 100644 --- a/contract.go +++ b/contract.go @@ -1786,7 +1786,7 @@ type ContractNewParamsRecurringCommit struct { ApplicableProductTags param.Field[[]string] `json:"applicable_product_tags"` // Will be passed down to the individual commits Description param.Field[string] `json:"description"` - // determines when the contract will stop creating recurring commits. optional + // Determines when the contract will stop creating recurring commits. optional EndingBefore param.Field[time.Time] `json:"ending_before" format:"date-time"` // The amount the customer should be billed for the commit. Not required. InvoiceAmount param.Field[ContractNewParamsRecurringCommitsInvoiceAmount] `json:"invoice_amount"` @@ -1797,7 +1797,8 @@ type ContractNewParamsRecurringCommit struct { // Whether the created commits will use the commit rate or list rate RateType param.Field[ContractNewParamsRecurringCommitsRateType] `json:"rate_type"` // Will be passed down to the individual commits. This controls how much of an - // individual unexpired commit will roll over upon contract transition + // individual unexpired commit will roll over upon contract transition. Must be + // between 0 and 1. RolloverFraction param.Field[float64] `json:"rollover_fraction"` // A temporary ID that can be used to reference the recurring commit for commit // specific overrides. @@ -1886,7 +1887,7 @@ type ContractNewParamsRecurringCredit struct { ApplicableProductTags param.Field[[]string] `json:"applicable_product_tags"` // Will be passed down to the individual commits Description param.Field[string] `json:"description"` - // determines when the contract will stop creating recurring commits. optional + // Determines when the contract will stop creating recurring commits. optional EndingBefore param.Field[time.Time] `json:"ending_before" format:"date-time"` // The amount the customer should be billed for the commit. Not required. InvoiceAmount param.Field[ContractNewParamsRecurringCreditsInvoiceAmount] `json:"invoice_amount"` @@ -1897,7 +1898,8 @@ type ContractNewParamsRecurringCredit struct { // Whether the created commits will use the commit rate or list rate RateType param.Field[ContractNewParamsRecurringCreditsRateType] `json:"rate_type"` // Will be passed down to the individual commits. This controls how much of an - // individual unexpired commit will roll over upon contract transition + // individual unexpired commit will roll over upon contract transition. Must be + // between 0 and 1. RolloverFraction param.Field[float64] `json:"rollover_fraction"` // A temporary ID that can be used to reference the recurring commit for commit // specific overrides. diff --git a/shared/shared.go b/shared/shared.go index 6ad83dd..5551b22 100644 --- a/shared/shared.go +++ b/shared/shared.go @@ -1166,7 +1166,8 @@ type ContractWithoutAmendmentsRecurringCommit struct { // Will be passed down to the individual commits NetsuiteSalesOrderID string `json:"netsuite_sales_order_id"` // Will be passed down to the individual commits. This controls how much of an - // individual unexpired commit will roll over upon contract transition + // individual unexpired commit will roll over upon contract transition. Must be + // between 0 and 1. RolloverFraction float64 `json:"rollover_fraction"` JSON contractWithoutAmendmentsRecurringCommitJSON `json:"-"` } @@ -1382,7 +1383,8 @@ type ContractWithoutAmendmentsRecurringCredit struct { // Will be passed down to the individual commits NetsuiteSalesOrderID string `json:"netsuite_sales_order_id"` // Will be passed down to the individual commits. This controls how much of an - // individual unexpired commit will roll over upon contract transition + // individual unexpired commit will roll over upon contract transition. Must be + // between 0 and 1. RolloverFraction float64 `json:"rollover_fraction"` JSON contractWithoutAmendmentsRecurringCreditJSON `json:"-"` }