@leaflow/sdk 0.0.0-dev.55.gede4e58 → 0.0.0-dev.59.ge3d4524
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assistant/v1/schema.d.ts +1 -1
- package/dist/billing/v1/index.d.ts +38 -0
- package/dist/billing/v1/index.js +5 -0
- package/dist/billing/v1/schema.d.ts +1253 -0
- package/dist/billing/v1/schema.js +5 -0
- package/dist/compute/v1/schema.d.ts +6 -0
- package/dist/iam/v1/index.d.ts +4 -0
- package/dist/iam/v1/schema.d.ts +76 -0
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1197,7 +1197,7 @@ export interface components {
|
|
|
1197
1197
|
};
|
|
1198
1198
|
/** @description The function object from the OpenAI tools format. */
|
|
1199
1199
|
ClientFunctionRequest: {
|
|
1200
|
-
/** @description What the action does, written for the model. An action without one can only be guessed at from its name. */
|
|
1200
|
+
/** @description What the action does, written for the model. An action without one can only be guessed at from its name. The 1024 ceiling is OpenAI's own limit on `tools[].function.description`, not a number chosen here: over it the upstream call fails with `string_above_max_length`, and refusing at submission is the clearer of the two places to refuse. It was 500, which ran out at about six enumerated entries — an action that must list what it accepts had nowhere to put the list. */
|
|
1201
1201
|
description: string;
|
|
1202
1202
|
/** @description The MCP and Anthropic spelling of `parameters`. Give one or the other, not both. */
|
|
1203
1203
|
inputSchema?: {
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export type { paths, components, operations, webhooks } from "./schema.js";
|
|
2
|
+
import type { operations } from "./schema.js";
|
|
3
|
+
/** `GET /account/v1/billing-accounts` 成功时的响应体。 */
|
|
4
|
+
export type ListBillingAccountsResult = operations["list-billing-accounts"]["responses"][200]["content"]["application/json"];
|
|
5
|
+
/** `POST /account/v1/billing-accounts` 成功时的响应体。 */
|
|
6
|
+
export type CreateBillingAccountResult = operations["create-billing-account"]["responses"][200]["content"]["application/json"];
|
|
7
|
+
/** `POST /account/v1/billing-accounts` 的请求体。 */
|
|
8
|
+
export type CreateBillingAccountBody = NonNullable<operations["create-billing-account"]["requestBody"]>["content"]["application/json"];
|
|
9
|
+
/** `GET /account/v1/billing-accounts/{accountKey}/balance` 成功时的响应体。 */
|
|
10
|
+
export type ReadBillingAccountBalanceResult = operations["read-billing-account-balance"]["responses"][200]["content"]["application/json"];
|
|
11
|
+
/** `PUT /account/v1/billing-accounts/{accountKey}/projects/{projectId}` 成功时的响应体。 */
|
|
12
|
+
export type BindProjectToBillingAccountResult = operations["bind-project-to-billing-account"]["responses"][200]["content"]["application/json"];
|
|
13
|
+
/** `POST /account/v1/billing-accounts/{accountKey}/top-ups` 成功时的响应体。 */
|
|
14
|
+
export type StartTopUpResult = operations["start-top-up"]["responses"][200]["content"]["application/json"];
|
|
15
|
+
/** `POST /account/v1/billing-accounts/{accountKey}/top-ups` 的请求体。 */
|
|
16
|
+
export type StartTopUpBody = NonNullable<operations["start-top-up"]["requestBody"]>["content"]["application/json"];
|
|
17
|
+
/** `GET /account/v1/billing-accounts/{accountKey}/charges` 成功时的响应体。 */
|
|
18
|
+
export type ListChargesResult = operations["list-charges"]["responses"][200]["content"]["application/json"];
|
|
19
|
+
/** `GET /account/v1/billing-accounts/{accountKey}/invoices` 成功时的响应体。 */
|
|
20
|
+
export type ListInvoicesResult = operations["list-invoices"]["responses"][200]["content"]["application/json"];
|
|
21
|
+
/** `GET /account/v1/billing-accounts/{accountKey}/invoices/{invoiceId}` 成功时的响应体。 */
|
|
22
|
+
export type GetInvoiceResult = operations["get-invoice"]["responses"][200]["content"]["application/json"];
|
|
23
|
+
/** `GET /account/v1/billing-accounts/{accountKey}/subscription` 成功时的响应体。 */
|
|
24
|
+
export type ReadSubscriptionResult = operations["read-subscription"]["responses"][200]["content"]["application/json"];
|
|
25
|
+
/** `POST /account/v1/billing-accounts/{accountKey}/subscription/cancel` 成功时的响应体。 */
|
|
26
|
+
export type CancelSubscriptionResult = operations["cancel-subscription"]["responses"][200]["content"]["application/json"];
|
|
27
|
+
/** `POST /account/v1/billing-accounts/{accountKey}/subscription/cancel` 的查询参数。 */
|
|
28
|
+
export type CancelSubscriptionQuery = operations["cancel-subscription"]["parameters"]["query"];
|
|
29
|
+
/** `GET /account/v1/billing-accounts/{accountKey}/top-ups/{paymentId}` 成功时的响应体。 */
|
|
30
|
+
export type ReadTopUpResult = operations["read-top-up"]["responses"][200]["content"]["application/json"];
|
|
31
|
+
/** `POST /account/v1/billing-accounts/{accountKey}/card` 成功时的响应体。 */
|
|
32
|
+
export type StartCardSetupResult = operations["start-card-setup"]["responses"][200]["content"]["application/json"];
|
|
33
|
+
/** `GET /account/v1/billing-accounts/{accountKey}/offers` 成功时的响应体。 */
|
|
34
|
+
export type ListOffersResult = operations["list-offers"]["responses"][200]["content"]["application/json"];
|
|
35
|
+
/** `POST /account/v1/billing-accounts/{accountKey}/offers/{offerKey}/purchase` 成功时的响应体。 */
|
|
36
|
+
export type PurchaseOfferResult = operations["purchase-offer"]["responses"][200]["content"]["application/json"];
|
|
37
|
+
/** `POST /account/v1/billing-accounts/{accountKey}/offers/{offerKey}/purchase` 的查询参数。 */
|
|
38
|
+
export type PurchaseOfferQuery = operations["purchase-offer"]["parameters"]["query"];
|