@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.
@@ -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
- * Format: date-time
516
- * @description A read-only management lock. Running resources and billing remain unchanged. Only an operator can release it.
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
- /** @description Filters by external status. Deleted projects are excluded while this is absent */
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}/pay`. */
63
- export type PayInvoiceResult = operations["pay-invoice"]["responses"][200]["content"]["application/json"];
64
- /** The request body of `POST /account/v1/invoices/{invoiceId}/pay`. */
65
- export type PayInvoiceBody = NonNullable<operations["pay-invoice"]["requestBody"]>["content"]["application/json"];
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`. */