Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .fern/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
}
]
},
"originGitCommit": "1d6a1c9cf0e1d72ea8ede6e7e8f84d35ffbd8be3",
"originGitCommit": "4ca95f7ba356ea2c3b42db5e3e78c064477b3a8d",
"originGitCommitIsDirty": false,
"invokedBy": "ci",
"requestedVersion": "1.4.2",
"requestedVersion": "1.4.3",
"ciProvider": "github",
"sdkVersion": "1.4.2"
"sdkVersion": "1.4.3"
}
8 changes: 7 additions & 1 deletion .fern/replay.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

350 changes: 175 additions & 175 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dynamic = ["version"]

[tool.poetry]
name = "schematichq"
version = "1.4.2"
version = "1.4.3"
description = ""
readme = "README.md"
authors = []
Expand Down
14 changes: 11 additions & 3 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2548,6 +2548,14 @@ client.billing.upsert_invoice(
<dl>
<dd>

**total:** `typing.Optional[int]`

</dd>
</dl>

<dl>
<dd>

**url:** `typing.Optional[str]`

</dd>
Expand Down Expand Up @@ -15526,7 +15534,7 @@ client.entitlements.create_plan_entitlement(
<dl>
<dd>

**usage_quantity:** `typing.Optional[int]` — The committed unit quantity for this entitlement. For custom plans this is the quantity the company is contractually committed to; for standard plans it is the quantity pre-filled when subscribing. Only applies to pay-in-advance entitlements. Note: this is not yet enforced/auto-provisioned as a true default — it is currently stored for downstream billing use.
**usage_quantity:** `typing.Optional[int]` — The committed unit quantity for this entitlement. For custom plans this is the minimum the company is contractually committed to: the company can buy more, and finalizing a new plan version sets the subscription quantity to the larger of this value and what the subscription already holds. For standard plans it is the quantity pre-filled when subscribing. Only applies to pay-in-advance entitlements.

</dd>
</dl>
Expand Down Expand Up @@ -15909,7 +15917,7 @@ client.entitlements.update_plan_entitlement(
<dl>
<dd>

**usage_quantity:** `typing.Optional[int]` — The committed unit quantity for this entitlement. For custom plans this is the quantity the company is contractually committed to; for standard plans it is the quantity pre-filled when subscribing. Only applies to pay-in-advance entitlements. Note: this is not yet enforced/auto-provisioned as a true default — it is currently stored for downstream billing use.
**usage_quantity:** `typing.Optional[int]` — The committed unit quantity for this entitlement. For custom plans this is the minimum the company is contractually committed to: the company can buy more, and finalizing a new plan version sets the subscription quantity to the larger of this value and what the subscription already holds. For standard plans it is the quantity pre-filled when subscribing. Only applies to pay-in-advance entitlements.

</dd>
</dl>
Expand Down Expand Up @@ -16327,7 +16335,7 @@ client.entitlements.upsert_plan_entitlement_for_billing_product(
<dl>
<dd>

**usage_quantity:** `typing.Optional[int]` — The committed unit quantity for this entitlement. For custom plans this is the quantity the company is contractually committed to; for standard plans it is the quantity pre-filled when subscribing. Only applies to pay-in-advance entitlements. Note: this is not yet enforced/auto-provisioned as a true default — it is currently stored for downstream billing use.
**usage_quantity:** `typing.Optional[int]` — The committed unit quantity for this entitlement. For custom plans this is the minimum the company is contractually committed to: the company can buy more, and finalizing a new plan version sets the subscription quantity to the larger of this value and what the subscription already holds. For standard plans it is the quantity pre-filled when subscribing. Only applies to pay-in-advance entitlements.

</dd>
</dl>
Expand Down
3 changes: 3 additions & 0 deletions src/schematic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@
RulesengineCheckFlagResult,
RulesengineCompany,
RulesengineCompanyMetric,
RulesengineComparableOperator,
RulesengineCondition,
RulesengineConditionGroup,
RulesengineConditionType,
Expand Down Expand Up @@ -1693,6 +1694,7 @@
"RulesengineCheckFlagResult": ".types",
"RulesengineCompany": ".types",
"RulesengineCompanyMetric": ".types",
"RulesengineComparableOperator": ".types",
"RulesengineCondition": ".types",
"RulesengineConditionGroup": ".types",
"RulesengineConditionType": ".types",
Expand Down Expand Up @@ -2628,6 +2630,7 @@ def __dir__():
"RulesengineCheckFlagResult",
"RulesengineCompany",
"RulesengineCompanyMetric",
"RulesengineComparableOperator",
"RulesengineCondition",
"RulesengineConditionGroup",
"RulesengineConditionType",
Expand Down
8 changes: 8 additions & 0 deletions src/schematic/billing/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,7 @@ def upsert_invoice(
starting_balance: typing.Optional[int] = OMIT,
status: typing.Optional[InvoiceStatus] = OMIT,
subscription_external_id: typing.Optional[str] = OMIT,
total: typing.Optional[int] = OMIT,
url: typing.Optional[str] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> UpsertInvoiceResponse:
Expand Down Expand Up @@ -547,6 +548,8 @@ def upsert_invoice(

subscription_external_id : typing.Optional[str]

total : typing.Optional[int]

url : typing.Optional[str]

request_options : typing.Optional[RequestOptions]
Expand Down Expand Up @@ -589,6 +592,7 @@ def upsert_invoice(
starting_balance=starting_balance,
status=status,
subscription_external_id=subscription_external_id,
total=total,
url=url,
request_options=request_options,
)
Expand Down Expand Up @@ -2391,6 +2395,7 @@ async def upsert_invoice(
starting_balance: typing.Optional[int] = OMIT,
status: typing.Optional[InvoiceStatus] = OMIT,
subscription_external_id: typing.Optional[str] = OMIT,
total: typing.Optional[int] = OMIT,
url: typing.Optional[str] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> UpsertInvoiceResponse:
Expand Down Expand Up @@ -2425,6 +2430,8 @@ async def upsert_invoice(

subscription_external_id : typing.Optional[str]

total : typing.Optional[int]

url : typing.Optional[str]

request_options : typing.Optional[RequestOptions]
Expand Down Expand Up @@ -2475,6 +2482,7 @@ async def main() -> None:
starting_balance=starting_balance,
status=status,
subscription_external_id=subscription_external_id,
total=total,
url=url,
request_options=request_options,
)
Expand Down
8 changes: 8 additions & 0 deletions src/schematic/billing/raw_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1052,6 +1052,7 @@ def upsert_invoice(
starting_balance: typing.Optional[int] = OMIT,
status: typing.Optional[InvoiceStatus] = OMIT,
subscription_external_id: typing.Optional[str] = OMIT,
total: typing.Optional[int] = OMIT,
url: typing.Optional[str] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> HttpResponse[UpsertInvoiceResponse]:
Expand Down Expand Up @@ -1086,6 +1087,8 @@ def upsert_invoice(

subscription_external_id : typing.Optional[str]

total : typing.Optional[int]

url : typing.Optional[str]

request_options : typing.Optional[RequestOptions]
Expand Down Expand Up @@ -1114,6 +1117,7 @@ def upsert_invoice(
"status": status,
"subscription_external_id": subscription_external_id,
"subtotal": subtotal,
"total": total,
"url": url,
},
headers={
Expand Down Expand Up @@ -4545,6 +4549,7 @@ async def upsert_invoice(
starting_balance: typing.Optional[int] = OMIT,
status: typing.Optional[InvoiceStatus] = OMIT,
subscription_external_id: typing.Optional[str] = OMIT,
total: typing.Optional[int] = OMIT,
url: typing.Optional[str] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> AsyncHttpResponse[UpsertInvoiceResponse]:
Expand Down Expand Up @@ -4579,6 +4584,8 @@ async def upsert_invoice(

subscription_external_id : typing.Optional[str]

total : typing.Optional[int]

url : typing.Optional[str]

request_options : typing.Optional[RequestOptions]
Expand Down Expand Up @@ -4607,6 +4614,7 @@ async def upsert_invoice(
"status": status,
"subscription_external_id": subscription_external_id,
"subtotal": subtotal,
"total": total,
"url": url,
},
headers={
Expand Down
Loading
Loading