@leaflow/sdk 0.53.0 → 0.54.0
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/account/v1/schema.d.ts +0 -5
- package/dist/billing/v1/index.d.ts +20 -2
- package/dist/billing/v1/schema.d.ts +1049 -42
- package/dist/compute/v1/schema.d.ts +229 -10
- package/dist/iam/v1/schema.d.ts +0 -5
- package/package.json +1 -1
|
@@ -523,11 +523,6 @@ export interface components {
|
|
|
523
523
|
/** Format: uuid */
|
|
524
524
|
id: string;
|
|
525
525
|
name: string;
|
|
526
|
-
/**
|
|
527
|
-
* Format: date-time
|
|
528
|
-
* @description 欠费的起始时间
|
|
529
|
-
*/
|
|
530
|
-
overdue_at: string | null;
|
|
531
526
|
/** @enum {string} */
|
|
532
527
|
status: "ACTIVE" | "SUSPENDED" | "BANNED" | "DELETING" | "DELETED";
|
|
533
528
|
/** @description 给人看的,不参与任何查询 */
|
|
@@ -16,6 +16,8 @@ export type UpdateBillingAccountBody = NonNullable<operations["update-billing-ac
|
|
|
16
16
|
export type ListCreditTransactionsResult = operations["list-credit-transactions"]["responses"][200]["content"]["application/json"];
|
|
17
17
|
/** `GET /account/v1/billing-accounts/{accountKey}/balance` 成功时的响应体。 */
|
|
18
18
|
export type ReadBillingAccountBalanceResult = operations["read-billing-account-balance"]["responses"][200]["content"]["application/json"];
|
|
19
|
+
/** `GET /account/v1/billing-accounts/{accountKey}/balance/movement` 成功时的响应体。 */
|
|
20
|
+
export type ReadBillingAccountBalanceMovementResult = operations["read-billing-account-balance-movement"]["responses"][200]["content"]["application/json"];
|
|
19
21
|
/** `PUT /account/v1/billing-accounts/{accountKey}/projects/{projectId}` 成功时的响应体。 */
|
|
20
22
|
export type BindProjectToBillingAccountResult = operations["bind-project-to-billing-account"]["responses"][200]["content"]["application/json"];
|
|
21
23
|
/** `GET /account/v1/billing-accounts/{accountKey}/orders` 成功时的响应体。 */
|
|
@@ -30,8 +32,6 @@ export type StartTopUpResult = operations["start-top-up"]["responses"][200]["con
|
|
|
30
32
|
export type StartTopUpBody = NonNullable<operations["start-top-up"]["requestBody"]>["content"]["application/json"];
|
|
31
33
|
/** `GET /account/v1/billing-accounts/{accountKey}/charges` 成功时的响应体。 */
|
|
32
34
|
export type ListChargesResult = operations["list-charges"]["responses"][200]["content"]["application/json"];
|
|
33
|
-
/** `GET /account/v1/billing-accounts/{accountKey}/charges` 的查询参数。 */
|
|
34
|
-
export type ListChargesQuery = operations["list-charges"]["parameters"]["query"];
|
|
35
35
|
/** `GET /account/v1/billing-accounts/{accountKey}/charges/{chargeId}/usage` 成功时的响应体。 */
|
|
36
36
|
export type GetChargeUsageResult = operations["get-charge-usage"]["responses"][200]["content"]["application/json"];
|
|
37
37
|
/** `GET /account/v1/billing-accounts/{accountKey}/invoices` 成功时的响应体。 */
|
|
@@ -50,6 +50,8 @@ export type QuoteUsageResult = operations["quote-usage"]["responses"][200]["cont
|
|
|
50
50
|
export type QuoteUsageBody = NonNullable<operations["quote-usage"]["requestBody"]>["content"]["application/json"];
|
|
51
51
|
/** `GET /account/v1/billing-accounts/{accountKey}/subscription` 成功时的响应体。 */
|
|
52
52
|
export type ReadSubscriptionResult = operations["read-subscription"]["responses"][200]["content"]["application/json"];
|
|
53
|
+
/** `POST /account/v1/billing-accounts/{accountKey}/subscription/keep` 成功时的响应体。 */
|
|
54
|
+
export type KeepSubscriptionResult = operations["keep-subscription"]["responses"][200]["content"]["application/json"];
|
|
53
55
|
/** `POST /account/v1/billing-accounts/{accountKey}/subscription/cancel` 成功时的响应体。 */
|
|
54
56
|
export type CancelSubscriptionResult = operations["cancel-subscription"]["responses"][200]["content"]["application/json"];
|
|
55
57
|
/** `POST /account/v1/billing-accounts/{accountKey}/subscription/cancel` 的查询参数。 */
|
|
@@ -68,3 +70,19 @@ export type PurchaseOfferResult = operations["purchase-offer"]["responses"][200]
|
|
|
68
70
|
export type PurchaseOfferQuery = operations["purchase-offer"]["parameters"]["query"];
|
|
69
71
|
/** `GET /account/v1/billing-accounts/{accountKey}/prepaid-assets` 成功时的响应体。 */
|
|
70
72
|
export type ListPrepaidAssetsResult = operations["list-prepaid-assets"]["responses"][200]["content"]["application/json"];
|
|
73
|
+
/** `POST /account/v1/billing-accounts/{accountKey}/prepaid-assets/{assetId}/renew` 成功时的响应体。 */
|
|
74
|
+
export type RenewPrepaidAssetResult = operations["renew-prepaid-asset"]["responses"][200]["content"]["application/json"];
|
|
75
|
+
/** `POST /account/v1/billing-accounts/{accountKey}/prepaid-assets/{assetId}/renew` 的请求体。 */
|
|
76
|
+
export type RenewPrepaidAssetBody = NonNullable<operations["renew-prepaid-asset"]["requestBody"]>["content"]["application/json"];
|
|
77
|
+
/** `PUT /account/v1/billing-accounts/{accountKey}/prepaid-assets/{assetId}/auto-renew` 成功时的响应体。 */
|
|
78
|
+
export type SetPrepaidAutoRenewResult = operations["set-prepaid-auto-renew"]["responses"][200]["content"]["application/json"];
|
|
79
|
+
/** `PUT /account/v1/billing-accounts/{accountKey}/prepaid-assets/{assetId}/auto-renew` 的请求体。 */
|
|
80
|
+
export type SetPrepaidAutoRenewBody = NonNullable<operations["set-prepaid-auto-renew"]["requestBody"]>["content"]["application/json"];
|
|
81
|
+
/** `POST /account/v1/billing-accounts/{accountKey}/promotion-codes/preview` 成功时的响应体。 */
|
|
82
|
+
export type PreviewPromotionCodeResult = operations["preview-promotion-code"]["responses"][200]["content"]["application/json"];
|
|
83
|
+
/** `POST /account/v1/billing-accounts/{accountKey}/promotion-codes/preview` 的请求体。 */
|
|
84
|
+
export type PreviewPromotionCodeBody = NonNullable<operations["preview-promotion-code"]["requestBody"]>["content"]["application/json"];
|
|
85
|
+
/** `GET /account/v1/billing-accounts/{accountKey}/vouchers` 成功时的响应体。 */
|
|
86
|
+
export type ListAccountVouchersResult = operations["list-account-vouchers"]["responses"][200]["content"]["application/json"];
|
|
87
|
+
/** `GET /account/v1/billing-accounts/{accountKey}/refunds` 成功时的响应体。 */
|
|
88
|
+
export type ListAccountRefundsResult = operations["list-account-refunds"]["responses"][200]["content"]["application/json"];
|