@leaflow/sdk 0.100.1 → 0.102.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 +11 -13
- package/dist/billing/account/v1/index.d.ts +8 -4
- package/dist/billing/account/v1/schema.d.ts +342 -78
- package/dist/billing/catalog/v1/schema.d.ts +13 -5
- package/dist/billing/project/v1/schema.d.ts +190 -77
- package/dist/compute/v1/schema.d.ts +1 -1
- package/dist/iam/v1/schema.d.ts +15 -12
- package/dist/routes.d.ts +10 -2
- package/dist/routes.js +11 -2
- package/package.json +1 -1
|
@@ -510,14 +510,17 @@ export interface components {
|
|
|
510
510
|
/** @description The token carried by the invitation link */
|
|
511
511
|
token: string;
|
|
512
512
|
};
|
|
513
|
+
ProjectTraitResource: {
|
|
514
|
+
key: string;
|
|
515
|
+
value: string;
|
|
516
|
+
/** @enum {string} */
|
|
517
|
+
effect: "NoWrite" | "NoAccess";
|
|
518
|
+
reason: string;
|
|
519
|
+
};
|
|
513
520
|
ProjectResource: {
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
*/
|
|
518
|
-
locked_at: string | null;
|
|
519
|
-
lock_reason: string;
|
|
520
|
-
ban_reason: string;
|
|
521
|
+
traits: components["schemas"]["ProjectTraitResource"][];
|
|
522
|
+
/** Format: date-time */
|
|
523
|
+
deletion_requested_at: string | null;
|
|
521
524
|
/** Format: date-time */
|
|
522
525
|
created_at: string;
|
|
523
526
|
created_by: string;
|
|
@@ -530,10 +533,6 @@ export interface components {
|
|
|
530
533
|
/** Format: uuid */
|
|
531
534
|
id: string;
|
|
532
535
|
name: string;
|
|
533
|
-
/** @enum {string} */
|
|
534
|
-
status: "ACTIVE" | "SUSPENDED" | "BANNED" | "DELETING" | "DELETED";
|
|
535
|
-
/** @description Written for a reader; it takes part in no query */
|
|
536
|
-
status_reason: string;
|
|
537
536
|
/** Format: date-time */
|
|
538
537
|
updated_at: string;
|
|
539
538
|
};
|
|
@@ -1063,8 +1062,7 @@ export interface operations {
|
|
|
1063
1062
|
offset?: number;
|
|
1064
1063
|
/** @description Matches against name or description */
|
|
1065
1064
|
keyword?: string;
|
|
1066
|
-
|
|
1067
|
-
status?: "ACTIVE" | "SUSPENDED" | "BANNED" | "DELETING" | "DELETED";
|
|
1065
|
+
include_deleted?: boolean;
|
|
1068
1066
|
};
|
|
1069
1067
|
header?: never;
|
|
1070
1068
|
path?: never;
|
|
@@ -59,10 +59,10 @@ export type CreatePaymentMethodSetupResult = operations["create-payment-method-s
|
|
|
59
59
|
export type CreatePaymentMethodSetupBody = NonNullable<operations["create-payment-method-setup"]["requestBody"]>["content"]["application/json"];
|
|
60
60
|
/** The success response body of `PUT /account/v1/payment-methods/{paymentMethodId}/default`. */
|
|
61
61
|
export type SetDefaultPaymentMethodResult = operations["set-default-payment-method"]["responses"][200]["content"]["application/json"];
|
|
62
|
-
/** The success response body of `POST /account/v1/invoices/{invoiceId}/
|
|
63
|
-
export type
|
|
64
|
-
/** The request body of `POST /account/v1/invoices/{invoiceId}/
|
|
65
|
-
export type
|
|
62
|
+
/** The success response body of `POST /account/v1/invoices/{invoiceId}/collect-payment`. */
|
|
63
|
+
export type CollectInvoicePaymentResult = operations["collect-invoice-payment"]["responses"][200]["content"]["application/json"];
|
|
64
|
+
/** The request body of `POST /account/v1/invoices/{invoiceId}/collect-payment`. */
|
|
65
|
+
export type CollectInvoicePaymentBody = NonNullable<operations["collect-invoice-payment"]["requestBody"]>["content"]["application/json"];
|
|
66
66
|
/** The success response body of `GET /account/v1/invoices/{invoiceId}/payment-preview`. */
|
|
67
67
|
export type PreviewInvoicePaymentResult = operations["preview-invoice-payment"]["responses"][200]["content"]["application/json"];
|
|
68
68
|
/** The query parameters of `GET /account/v1/invoices/{invoiceId}/payment-preview`. */
|
|
@@ -157,6 +157,10 @@ export type ListOrdersResult = operations["list-orders"]["responses"][200]["cont
|
|
|
157
157
|
export type ListOrdersQuery = operations["list-orders"]["parameters"]["query"];
|
|
158
158
|
/** The success response body of `GET /account/v1/orders/{orderId}`. */
|
|
159
159
|
export type GetOrderResult = operations["get-order"]["responses"][200]["content"]["application/json"];
|
|
160
|
+
/** The success response body of `POST /account/v1/orders/{orderId}/checkout`. */
|
|
161
|
+
export type CheckoutOrderResult = operations["checkout-order"]["responses"][200]["content"]["application/json"];
|
|
162
|
+
/** The request body of `POST /account/v1/orders/{orderId}/checkout`. */
|
|
163
|
+
export type CheckoutOrderBody = NonNullable<operations["checkout-order"]["requestBody"]>["content"]["application/json"];
|
|
160
164
|
/** The success response body of `POST /account/v1/orders/{orderId}/cancel`. */
|
|
161
165
|
export type CancelOrderResult = operations["cancel-order"]["responses"][200]["content"]["application/json"];
|
|
162
166
|
/** The success response body of `GET /account/v1/orders/{orderId}/items`. */
|