@leaflow/sdk 0.55.0 → 0.56.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/client.d.ts +4 -0
- package/dist/account/v1/client.js +7 -0
- package/dist/account/v1/index.d.ts +27 -26
- package/dist/account/v1/index.js +4 -4
- package/dist/assistant/v1/client.d.ts +4 -0
- package/dist/assistant/v1/client.js +7 -0
- package/dist/assistant/v1/index.d.ts +54 -53
- package/dist/assistant/v1/index.js +4 -4
- package/dist/billing/v1/index.d.ts +95 -95
- package/dist/billing/v1/index.js +3 -3
- package/dist/canopy/v1/client.d.ts +4 -0
- package/dist/canopy/v1/client.js +7 -0
- package/dist/canopy/v1/index.d.ts +24 -23
- package/dist/canopy/v1/index.js +4 -4
- package/dist/compute/v1/client.d.ts +4 -0
- package/dist/compute/v1/client.js +7 -0
- package/dist/compute/v1/index.d.ts +124 -123
- package/dist/compute/v1/index.js +4 -4
- package/dist/dns/v1/client.d.ts +4 -0
- package/dist/dns/v1/client.js +7 -0
- package/dist/dns/v1/index.d.ts +21 -20
- package/dist/dns/v1/index.js +4 -4
- package/dist/fleet/v1/client.d.ts +4 -0
- package/dist/fleet/v1/client.js +7 -0
- package/dist/fleet/v1/index.d.ts +3 -2
- package/dist/fleet/v1/index.js +4 -4
- package/dist/iam/v1/client.d.ts +4 -0
- package/dist/iam/v1/client.js +7 -0
- package/dist/iam/v1/index.d.ts +42 -41
- package/dist/iam/v1/index.js +4 -4
- package/dist/index.d.ts +12 -12
- package/dist/index.js +20 -5
- package/dist/monitoring/v1/client.d.ts +4 -0
- package/dist/monitoring/v1/client.js +7 -0
- package/dist/monitoring/v1/index.d.ts +88 -87
- package/dist/monitoring/v1/index.js +4 -4
- package/dist/notification/v1/client.d.ts +4 -0
- package/dist/notification/v1/client.js +7 -0
- package/dist/notification/v1/index.d.ts +38 -37
- package/dist/notification/v1/index.js +4 -4
- package/dist/support/v1/client.d.ts +4 -0
- package/dist/support/v1/client.js +7 -0
- package/dist/support/v1/index.d.ts +25 -24
- package/dist/support/v1/index.js +4 -4
- package/dist/tunnel/v1/client.d.ts +4 -0
- package/dist/tunnel/v1/client.js +7 -0
- package/dist/tunnel/v1/index.d.ts +8 -7
- package/dist/tunnel/v1/index.js +4 -4
- package/package.json +6 -4
|
@@ -1,192 +1,192 @@
|
|
|
1
1
|
export type { paths, components, operations, webhooks } from "./schema.js";
|
|
2
2
|
import type { operations } from "./schema.js";
|
|
3
|
-
/** `GET /catalog/v1/products
|
|
3
|
+
/** The success response body of `GET /catalog/v1/products`. */
|
|
4
4
|
export type ListCatalogProductsResult = operations["list-catalog-products"]["responses"][200]["content"]["application/json"];
|
|
5
|
-
/** `GET /catalog/v1/products/{productId}/plans
|
|
5
|
+
/** The success response body of `GET /catalog/v1/products/{productId}/plans`. */
|
|
6
6
|
export type ListCatalogPlansResult = operations["list-catalog-plans"]["responses"][200]["content"]["application/json"];
|
|
7
|
-
/** `GET /catalog/v1/plans/{planId}/prices
|
|
7
|
+
/** The success response body of `GET /catalog/v1/plans/{planId}/prices`. */
|
|
8
8
|
export type ListCatalogPricesResult = operations["list-catalog-prices"]["responses"][200]["content"]["application/json"];
|
|
9
|
-
/** `GET /catalog/v1/plans/{planId}/prices
|
|
9
|
+
/** The query parameters of `GET /catalog/v1/plans/{planId}/prices`. */
|
|
10
10
|
export type ListCatalogPricesQuery = operations["list-catalog-prices"]["parameters"]["query"];
|
|
11
|
-
/** `GET /catalog/v1/rate-cards/{rateCardId}/rules
|
|
11
|
+
/** The success response body of `GET /catalog/v1/rate-cards/{rateCardId}/rules`. */
|
|
12
12
|
export type ListCatalogRatesResult = operations["list-catalog-rates"]["responses"][200]["content"]["application/json"];
|
|
13
|
-
/** `GET /catalog/v1/rate-cards/{rateCardId}/rules
|
|
13
|
+
/** The query parameters of `GET /catalog/v1/rate-cards/{rateCardId}/rules`. */
|
|
14
14
|
export type ListCatalogRatesQuery = operations["list-catalog-rates"]["parameters"]["query"];
|
|
15
|
-
/** `POST /catalog/v1/estimates
|
|
15
|
+
/** The success response body of `POST /catalog/v1/estimates`. */
|
|
16
16
|
export type CreateEstimateResult = operations["create-estimate"]["responses"][200]["content"]["application/json"];
|
|
17
|
-
/** `POST /catalog/v1/estimates
|
|
17
|
+
/** The request body of `POST /catalog/v1/estimates`. */
|
|
18
18
|
export type CreateEstimateBody = NonNullable<operations["create-estimate"]["requestBody"]>["content"]["application/json"];
|
|
19
|
-
/** `GET /account/v1/billing-accounts
|
|
19
|
+
/** The success response body of `GET /account/v1/billing-accounts`. */
|
|
20
20
|
export type ListBillingAccountsResult = operations["list-billing-accounts"]["responses"][200]["content"]["application/json"];
|
|
21
|
-
/** `POST /account/v1/billing-accounts
|
|
21
|
+
/** The success response body of `POST /account/v1/billing-accounts`. */
|
|
22
22
|
export type CreateBillingAccountResult = operations["create-billing-account"]["responses"][201]["content"]["application/json"];
|
|
23
|
-
/** `POST /account/v1/billing-accounts
|
|
23
|
+
/** The request body of `POST /account/v1/billing-accounts`. */
|
|
24
24
|
export type CreateBillingAccountBody = NonNullable<operations["create-billing-account"]["requestBody"]>["content"]["application/json"];
|
|
25
|
-
/** `GET /account/v1/billing-accounts/{accountId}
|
|
25
|
+
/** The success response body of `GET /account/v1/billing-accounts/{accountId}`. */
|
|
26
26
|
export type GetBillingAccountResult = operations["get-billing-account"]["responses"][200]["content"]["application/json"];
|
|
27
|
-
/** `PATCH /account/v1/billing-accounts/{accountId}
|
|
27
|
+
/** The success response body of `PATCH /account/v1/billing-accounts/{accountId}`. */
|
|
28
28
|
export type UpdateBillingAccountResult = operations["update-billing-account"]["responses"][200]["content"]["application/json"];
|
|
29
|
-
/** `PATCH /account/v1/billing-accounts/{accountId}
|
|
29
|
+
/** The request body of `PATCH /account/v1/billing-accounts/{accountId}`. */
|
|
30
30
|
export type UpdateBillingAccountBody = NonNullable<operations["update-billing-account"]["requestBody"]>["content"]["application/json"];
|
|
31
|
-
/** `GET /account/v1/billing-accounts/{accountId}/balance
|
|
31
|
+
/** The success response body of `GET /account/v1/billing-accounts/{accountId}/balance`. */
|
|
32
32
|
export type GetAccountBalanceResult = operations["get-account-balance"]["responses"][200]["content"]["application/json"];
|
|
33
|
-
/** `GET /account/v1/projects
|
|
33
|
+
/** The success response body of `GET /account/v1/projects`. */
|
|
34
34
|
export type ListPaidProjectsResult = operations["list-paid-projects"]["responses"][200]["content"]["application/json"];
|
|
35
|
-
/** `GET /account/v1/projects
|
|
35
|
+
/** The query parameters of `GET /account/v1/projects`. */
|
|
36
36
|
export type ListPaidProjectsQuery = operations["list-paid-projects"]["parameters"]["query"];
|
|
37
|
-
/** `GET /account/v1/projects/{projectId}/billing-account
|
|
37
|
+
/** The success response body of `GET /account/v1/projects/{projectId}/billing-account`. */
|
|
38
38
|
export type FindProjectPayerResult = operations["find-project-payer"]["responses"][200]["content"]["application/json"];
|
|
39
|
-
/** `PUT /account/v1/projects/{projectId}/billing-account
|
|
39
|
+
/** The success response body of `PUT /account/v1/projects/{projectId}/billing-account`. */
|
|
40
40
|
export type SetProjectPayerResult = operations["set-project-payer"]["responses"][200]["content"]["application/json"];
|
|
41
|
-
/** `PUT /account/v1/projects/{projectId}/billing-account
|
|
41
|
+
/** The request body of `PUT /account/v1/projects/{projectId}/billing-account`. */
|
|
42
42
|
export type SetProjectPayerBody = NonNullable<operations["set-project-payer"]["requestBody"]>["content"]["application/json"];
|
|
43
|
-
/** `POST /account/v1/projects/{projectId}/billing-account/settle
|
|
43
|
+
/** The success response body of `POST /account/v1/projects/{projectId}/billing-account/settle`. */
|
|
44
44
|
export type SettleProjectUsageResult = operations["settle-project-usage"]["responses"][200]["content"]["application/json"];
|
|
45
|
-
/** `GET /account/v1/top-ups
|
|
45
|
+
/** The success response body of `GET /account/v1/top-ups`. */
|
|
46
46
|
export type ListTopUpsResult = operations["list-top-ups"]["responses"][200]["content"]["application/json"];
|
|
47
|
-
/** `POST /account/v1/top-ups
|
|
47
|
+
/** The success response body of `POST /account/v1/top-ups`. */
|
|
48
48
|
export type CreateTopUpResult = operations["create-top-up"]["responses"][201]["content"]["application/json"];
|
|
49
|
-
/** `POST /account/v1/top-ups
|
|
49
|
+
/** The request body of `POST /account/v1/top-ups`. */
|
|
50
50
|
export type CreateTopUpBody = NonNullable<operations["create-top-up"]["requestBody"]>["content"]["application/json"];
|
|
51
|
-
/** `GET /account/v1/top-ups/{topUpId}
|
|
51
|
+
/** The success response body of `GET /account/v1/top-ups/{topUpId}`. */
|
|
52
52
|
export type GetTopUpResult = operations["get-top-up"]["responses"][200]["content"]["application/json"];
|
|
53
|
-
/** `GET /account/v1/payment-methods
|
|
53
|
+
/** The success response body of `GET /account/v1/payment-methods`. */
|
|
54
54
|
export type ListPaymentMethodsResult = operations["list-payment-methods"]["responses"][200]["content"]["application/json"];
|
|
55
|
-
/** `POST /account/v1/payment-methods/setup
|
|
55
|
+
/** The success response body of `POST /account/v1/payment-methods/setup`. */
|
|
56
56
|
export type CreatePaymentMethodSetupResult = operations["create-payment-method-setup"]["responses"][201]["content"]["application/json"];
|
|
57
|
-
/** `POST /account/v1/payment-methods/setup
|
|
57
|
+
/** The request body of `POST /account/v1/payment-methods/setup`. */
|
|
58
58
|
export type CreatePaymentMethodSetupBody = NonNullable<operations["create-payment-method-setup"]["requestBody"]>["content"]["application/json"];
|
|
59
|
-
/** `PUT /account/v1/payment-methods/{paymentMethodId}/default
|
|
59
|
+
/** The success response body of `PUT /account/v1/payment-methods/{paymentMethodId}/default`. */
|
|
60
60
|
export type SetDefaultPaymentMethodResult = operations["set-default-payment-method"]["responses"][200]["content"]["application/json"];
|
|
61
|
-
/** `POST /account/v1/invoices/{invoiceId}/pay
|
|
61
|
+
/** The success response body of `POST /account/v1/invoices/{invoiceId}/pay`. */
|
|
62
62
|
export type PayInvoiceResult = operations["pay-invoice"]["responses"][200]["content"]["application/json"];
|
|
63
|
-
/** `POST /account/v1/invoices/{invoiceId}/pay
|
|
63
|
+
/** The request body of `POST /account/v1/invoices/{invoiceId}/pay`. */
|
|
64
64
|
export type PayInvoiceBody = NonNullable<operations["pay-invoice"]["requestBody"]>["content"]["application/json"];
|
|
65
|
-
/** `POST /account/v1/payments
|
|
65
|
+
/** The success response body of `POST /account/v1/payments`. */
|
|
66
66
|
export type PayTogetherResult = operations["pay-together"]["responses"][200]["content"]["application/json"];
|
|
67
|
-
/** `POST /account/v1/payments
|
|
67
|
+
/** The request body of `POST /account/v1/payments`. */
|
|
68
68
|
export type PayTogetherBody = NonNullable<operations["pay-together"]["requestBody"]>["content"]["application/json"];
|
|
69
|
-
/** `POST /account/v1/orders/{orderId}/pay
|
|
69
|
+
/** The success response body of `POST /account/v1/orders/{orderId}/pay`. */
|
|
70
70
|
export type PayOrderResult = operations["pay-order"]["responses"][200]["content"]["application/json"];
|
|
71
|
-
/** `POST /account/v1/orders/{orderId}/pay
|
|
71
|
+
/** The request body of `POST /account/v1/orders/{orderId}/pay`. */
|
|
72
72
|
export type PayOrderBody = NonNullable<operations["pay-order"]["requestBody"]>["content"]["application/json"];
|
|
73
|
-
/** `GET /account/v1/invoices
|
|
73
|
+
/** The success response body of `GET /account/v1/invoices`. */
|
|
74
74
|
export type ListInvoicesResult = operations["list-invoices"]["responses"][200]["content"]["application/json"];
|
|
75
|
-
/** `GET /account/v1/invoices
|
|
75
|
+
/** The query parameters of `GET /account/v1/invoices`. */
|
|
76
76
|
export type ListInvoicesQuery = operations["list-invoices"]["parameters"]["query"];
|
|
77
|
-
/** `GET /account/v1/invoices/{invoiceId}
|
|
77
|
+
/** The success response body of `GET /account/v1/invoices/{invoiceId}`. */
|
|
78
78
|
export type GetInvoiceResult = operations["get-invoice"]["responses"][200]["content"]["application/json"];
|
|
79
|
-
/** `GET /account/v1/invoices/{invoiceId}/items
|
|
79
|
+
/** The success response body of `GET /account/v1/invoices/{invoiceId}/items`. */
|
|
80
80
|
export type ListInvoiceItemsResult = operations["list-invoice-items"]["responses"][200]["content"]["application/json"];
|
|
81
|
-
/** `GET /account/v1/invoices/{invoiceId}/refund-quote
|
|
81
|
+
/** The success response body of `GET /account/v1/invoices/{invoiceId}/refund-quote`. */
|
|
82
82
|
export type GetInvoiceRefundQuoteResult = operations["get-invoice-refund-quote"]["responses"][200]["content"]["application/json"];
|
|
83
|
-
/** `GET /account/v1/transactions
|
|
83
|
+
/** The success response body of `GET /account/v1/transactions`. */
|
|
84
84
|
export type ListTransactionsResult = operations["list-transactions"]["responses"][200]["content"]["application/json"];
|
|
85
|
-
/** `GET /account/v1/credit-grants
|
|
85
|
+
/** The success response body of `GET /account/v1/credit-grants`. */
|
|
86
86
|
export type ListCreditGrantsResult = operations["list-credit-grants"]["responses"][200]["content"]["application/json"];
|
|
87
|
-
/** `GET /account/v1/credit-grants
|
|
87
|
+
/** The query parameters of `GET /account/v1/credit-grants`. */
|
|
88
88
|
export type ListCreditGrantsQuery = operations["list-credit-grants"]["parameters"]["query"];
|
|
89
|
-
/** `GET /account/v1/allocations
|
|
89
|
+
/** The success response body of `GET /account/v1/allocations`. */
|
|
90
90
|
export type ListAllocationsResult = operations["list-allocations"]["responses"][200]["content"]["application/json"];
|
|
91
|
-
/** `GET /account/v1/allocations
|
|
91
|
+
/** The query parameters of `GET /account/v1/allocations`. */
|
|
92
92
|
export type ListAllocationsQuery = operations["list-allocations"]["parameters"]["query"];
|
|
93
|
-
/** `GET /account/v1/refunds
|
|
93
|
+
/** The success response body of `GET /account/v1/refunds`. */
|
|
94
94
|
export type ListRefundsResult = operations["list-refunds"]["responses"][200]["content"]["application/json"];
|
|
95
|
-
/** `POST /account/v1/refunds
|
|
95
|
+
/** The success response body of `POST /account/v1/refunds`. */
|
|
96
96
|
export type RequestRefundResult = operations["request-refund"]["responses"][201]["content"]["application/json"];
|
|
97
|
-
/** `POST /account/v1/refunds
|
|
97
|
+
/** The request body of `POST /account/v1/refunds`. */
|
|
98
98
|
export type RequestRefundBody = NonNullable<operations["request-refund"]["requestBody"]>["content"]["application/json"];
|
|
99
|
-
/** `GET /account/v1/usage-charges
|
|
99
|
+
/** The success response body of `GET /account/v1/usage-charges`. */
|
|
100
100
|
export type ListUsageChargesResult = operations["list-usage-charges"]["responses"][200]["content"]["application/json"];
|
|
101
|
-
/** `GET /account/v1/usage-charges
|
|
101
|
+
/** The query parameters of `GET /account/v1/usage-charges`. */
|
|
102
102
|
export type ListUsageChargesQuery = operations["list-usage-charges"]["parameters"]["query"];
|
|
103
|
-
/** `GET /account/v1/subscriptions
|
|
103
|
+
/** The success response body of `GET /account/v1/subscriptions`. */
|
|
104
104
|
export type ListSubscriptionsResult = operations["list-subscriptions"]["responses"][200]["content"]["application/json"];
|
|
105
|
-
/** `GET /account/v1/subscriptions
|
|
105
|
+
/** The query parameters of `GET /account/v1/subscriptions`. */
|
|
106
106
|
export type ListSubscriptionsQuery = operations["list-subscriptions"]["parameters"]["query"];
|
|
107
|
-
/** `GET /account/v1/subscription-items
|
|
107
|
+
/** The success response body of `GET /account/v1/subscription-items`. */
|
|
108
108
|
export type ListSubscriptionItemsResult = operations["list-subscription-items"]["responses"][200]["content"]["application/json"];
|
|
109
|
-
/** `GET /account/v1/subscription-items
|
|
109
|
+
/** The query parameters of `GET /account/v1/subscription-items`. */
|
|
110
110
|
export type ListSubscriptionItemsQuery = operations["list-subscription-items"]["parameters"]["query"];
|
|
111
|
-
/** `POST /account/v1/subscription-items/{itemId}/renew
|
|
111
|
+
/** The success response body of `POST /account/v1/subscription-items/{itemId}/renew`. */
|
|
112
112
|
export type RenewSubscriptionItemResult = operations["renew-subscription-item"]["responses"][200]["content"]["application/json"];
|
|
113
|
-
/** `POST /account/v1/subscription-items/{itemId}/renew
|
|
113
|
+
/** The request body of `POST /account/v1/subscription-items/{itemId}/renew`. */
|
|
114
114
|
export type RenewSubscriptionItemBody = NonNullable<operations["renew-subscription-item"]["requestBody"]>["content"]["application/json"];
|
|
115
|
-
/** `PUT /account/v1/subscription-items/{itemId}/auto-renew
|
|
115
|
+
/** The success response body of `PUT /account/v1/subscription-items/{itemId}/auto-renew`. */
|
|
116
116
|
export type SetAutoRenewResult = operations["set-auto-renew"]["responses"][200]["content"]["application/json"];
|
|
117
|
-
/** `PUT /account/v1/subscription-items/{itemId}/auto-renew
|
|
117
|
+
/** The request body of `PUT /account/v1/subscription-items/{itemId}/auto-renew`. */
|
|
118
118
|
export type SetAutoRenewBody = NonNullable<operations["set-auto-renew"]["requestBody"]>["content"]["application/json"];
|
|
119
|
-
/** `POST /account/v1/codes/preview
|
|
119
|
+
/** The success response body of `POST /account/v1/codes/preview`. */
|
|
120
120
|
export type PreviewCodeResult = operations["preview-code"]["responses"][200]["content"]["application/json"];
|
|
121
|
-
/** `POST /account/v1/codes/preview
|
|
121
|
+
/** The request body of `POST /account/v1/codes/preview`. */
|
|
122
122
|
export type PreviewCodeBody = NonNullable<operations["preview-code"]["requestBody"]>["content"]["application/json"];
|
|
123
|
-
/** `POST /account/v1/codes/redeem
|
|
123
|
+
/** The success response body of `POST /account/v1/codes/redeem`. */
|
|
124
124
|
export type RedeemCodeResult = operations["redeem-code"]["responses"][200]["content"]["application/json"];
|
|
125
|
-
/** `POST /account/v1/codes/redeem
|
|
125
|
+
/** The request body of `POST /account/v1/codes/redeem`. */
|
|
126
126
|
export type RedeemCodeBody = NonNullable<operations["redeem-code"]["requestBody"]>["content"]["application/json"];
|
|
127
|
-
/** `GET /api/v1/projects/{projectId}/billing-account
|
|
127
|
+
/** The success response body of `GET /api/v1/projects/{projectId}/billing-account`. */
|
|
128
128
|
export type GetProjectBillingAccountResult = operations["get-project-billing-account"]["responses"][200]["content"]["application/json"];
|
|
129
|
-
/** `GET /api/v1/projects/{projectId}/spend
|
|
129
|
+
/** The success response body of `GET /api/v1/projects/{projectId}/spend`. */
|
|
130
130
|
export type ListProjectSpendResult = operations["list-project-spend"]["responses"][200]["content"]["application/json"];
|
|
131
|
-
/** `GET /api/v1/projects/{projectId}/spend
|
|
131
|
+
/** The query parameters of `GET /api/v1/projects/{projectId}/spend`. */
|
|
132
132
|
export type ListProjectSpendQuery = operations["list-project-spend"]["parameters"]["query"];
|
|
133
|
-
/** `GET /api/v1/projects/{projectId}/usage-charges
|
|
133
|
+
/** The success response body of `GET /api/v1/projects/{projectId}/usage-charges`. */
|
|
134
134
|
export type ListProjectUsageChargesResult = operations["list-project-usage-charges"]["responses"][200]["content"]["application/json"];
|
|
135
|
-
/** `GET /api/v1/projects/{projectId}/usage-charges
|
|
135
|
+
/** The query parameters of `GET /api/v1/projects/{projectId}/usage-charges`. */
|
|
136
136
|
export type ListProjectUsageChargesQuery = operations["list-project-usage-charges"]["parameters"]["query"];
|
|
137
|
-
/** `GET /api/v1/projects/{projectId}/subscriptions
|
|
137
|
+
/** The success response body of `GET /api/v1/projects/{projectId}/subscriptions`. */
|
|
138
138
|
export type ListProjectSubscriptionsResult = operations["list-project-subscriptions"]["responses"][200]["content"]["application/json"];
|
|
139
|
-
/** `GET /api/v1/projects/{projectId}/subscription-items
|
|
139
|
+
/** The success response body of `GET /api/v1/projects/{projectId}/subscription-items`. */
|
|
140
140
|
export type ListProjectSubscriptionItemsResult = operations["list-project-subscription-items"]["responses"][200]["content"]["application/json"];
|
|
141
|
-
/** `GET /api/v1/projects/{projectId}/subscription-items
|
|
141
|
+
/** The query parameters of `GET /api/v1/projects/{projectId}/subscription-items`. */
|
|
142
142
|
export type ListProjectSubscriptionItemsQuery = operations["list-project-subscription-items"]["parameters"]["query"];
|
|
143
|
-
/** `PUT /api/v1/projects/{projectId}/subscription-items/{itemId}/auto-renew
|
|
143
|
+
/** The success response body of `PUT /api/v1/projects/{projectId}/subscription-items/{itemId}/auto-renew`. */
|
|
144
144
|
export type SetProjectAutoRenewResult = operations["set-project-auto-renew"]["responses"][200]["content"]["application/json"];
|
|
145
|
-
/** `PUT /api/v1/projects/{projectId}/subscription-items/{itemId}/auto-renew
|
|
145
|
+
/** The request body of `PUT /api/v1/projects/{projectId}/subscription-items/{itemId}/auto-renew`. */
|
|
146
146
|
export type SetProjectAutoRenewBody = NonNullable<operations["set-project-auto-renew"]["requestBody"]>["content"]["application/json"];
|
|
147
|
-
/** `GET /api/v1/projects/{projectId}/orders
|
|
147
|
+
/** The success response body of `GET /api/v1/projects/{projectId}/orders`. */
|
|
148
148
|
export type ListProjectOrdersResult = operations["list-project-orders"]["responses"][200]["content"]["application/json"];
|
|
149
|
-
/** `GET /api/v1/projects/{projectId}/orders
|
|
149
|
+
/** The query parameters of `GET /api/v1/projects/{projectId}/orders`. */
|
|
150
150
|
export type ListProjectOrdersQuery = operations["list-project-orders"]["parameters"]["query"];
|
|
151
|
-
/** `GET /api/v1/projects/{projectId}/orders/{orderId}
|
|
151
|
+
/** The success response body of `GET /api/v1/projects/{projectId}/orders/{orderId}`. */
|
|
152
152
|
export type GetProjectOrderResult = operations["get-project-order"]["responses"][200]["content"]["application/json"];
|
|
153
|
-
/** `GET /api/v1/projects/{projectId}/active-resources
|
|
153
|
+
/** The success response body of `GET /api/v1/projects/{projectId}/active-resources`. */
|
|
154
154
|
export type ListProjectActiveResourcesResult = operations["list-project-active-resources"]["responses"][200]["content"]["application/json"];
|
|
155
|
-
/** `GET /api/v1/projects/{projectId}/active-resources
|
|
155
|
+
/** The query parameters of `GET /api/v1/projects/{projectId}/active-resources`. */
|
|
156
156
|
export type ListProjectActiveResourcesQuery = operations["list-project-active-resources"]["parameters"]["query"];
|
|
157
|
-
/** `POST /api/v1/projects/{projectId}/quotes
|
|
157
|
+
/** The success response body of `POST /api/v1/projects/{projectId}/quotes`. */
|
|
158
158
|
export type CreateProjectQuoteResult = operations["create-project-quote"]["responses"][200]["content"]["application/json"];
|
|
159
|
-
/** `POST /api/v1/projects/{projectId}/quotes
|
|
159
|
+
/** The request body of `POST /api/v1/projects/{projectId}/quotes`. */
|
|
160
160
|
export type CreateProjectQuoteBody = NonNullable<operations["create-project-quote"]["requestBody"]>["content"]["application/json"];
|
|
161
|
-
/** `GET /account/v1/allowances
|
|
161
|
+
/** The success response body of `GET /account/v1/allowances`. */
|
|
162
162
|
export type ListAllowancesResult = operations["list-allowances"]["responses"][200]["content"]["application/json"];
|
|
163
|
-
/** `GET /account/v1/allowances
|
|
163
|
+
/** The query parameters of `GET /account/v1/allowances`. */
|
|
164
164
|
export type ListAllowancesQuery = operations["list-allowances"]["parameters"]["query"];
|
|
165
|
-
/** `GET /account/v1/allowances/{allowanceId}/consumptions
|
|
165
|
+
/** The success response body of `GET /account/v1/allowances/{allowanceId}/consumptions`. */
|
|
166
166
|
export type ListAllowanceConsumptionsResult = operations["list-allowance-consumptions"]["responses"][200]["content"]["application/json"];
|
|
167
|
-
/** `GET /account/v1/orders
|
|
167
|
+
/** The success response body of `GET /account/v1/orders`. */
|
|
168
168
|
export type ListOrdersResult = operations["list-orders"]["responses"][200]["content"]["application/json"];
|
|
169
|
-
/** `GET /account/v1/orders
|
|
169
|
+
/** The query parameters of `GET /account/v1/orders`. */
|
|
170
170
|
export type ListOrdersQuery = operations["list-orders"]["parameters"]["query"];
|
|
171
|
-
/** `GET /account/v1/orders/{orderId}
|
|
171
|
+
/** The success response body of `GET /account/v1/orders/{orderId}`. */
|
|
172
172
|
export type GetOrderResult = operations["get-order"]["responses"][200]["content"]["application/json"];
|
|
173
|
-
/** `POST /account/v1/orders/{orderId}/cancel
|
|
173
|
+
/** The success response body of `POST /account/v1/orders/{orderId}/cancel`. */
|
|
174
174
|
export type CancelScheduledChangeResult = operations["cancel-scheduled-change"]["responses"][200]["content"]["application/json"];
|
|
175
|
-
/** `GET /account/v1/orders/{orderId}/items
|
|
175
|
+
/** The success response body of `GET /account/v1/orders/{orderId}/items`. */
|
|
176
176
|
export type ListOrderItemsResult = operations["list-order-items"]["responses"][200]["content"]["application/json"];
|
|
177
|
-
/** `GET /account/v1/orders/{orderId}/refund-quote
|
|
177
|
+
/** The success response body of `GET /account/v1/orders/{orderId}/refund-quote`. */
|
|
178
178
|
export type GetOrderRefundQuoteResult = operations["get-order-refund-quote"]["responses"][200]["content"]["application/json"];
|
|
179
|
-
/** `GET /api/v1/projects/{projectId}/orders/{orderId}/items
|
|
179
|
+
/** The success response body of `GET /api/v1/projects/{projectId}/orders/{orderId}/items`. */
|
|
180
180
|
export type ListProjectOrderItemsResult = operations["list-project-order-items"]["responses"][200]["content"]["application/json"];
|
|
181
|
-
/** `GET /api/v1/projects/{projectId}/allowances
|
|
181
|
+
/** The success response body of `GET /api/v1/projects/{projectId}/allowances`. */
|
|
182
182
|
export type ListProjectAllowancesResult = operations["list-project-allowances"]["responses"][200]["content"]["application/json"];
|
|
183
|
-
/** `GET /api/v1/projects/{projectId}/allowances
|
|
183
|
+
/** The query parameters of `GET /api/v1/projects/{projectId}/allowances`. */
|
|
184
184
|
export type ListProjectAllowancesQuery = operations["list-project-allowances"]["parameters"]["query"];
|
|
185
|
-
/** `GET /account/v1/entitlements
|
|
185
|
+
/** The success response body of `GET /account/v1/entitlements`. */
|
|
186
186
|
export type ListEntitlementsResult = operations["list-entitlements"]["responses"][200]["content"]["application/json"];
|
|
187
|
-
/** `GET /account/v1/entitlements
|
|
187
|
+
/** The query parameters of `GET /account/v1/entitlements`. */
|
|
188
188
|
export type ListEntitlementsQuery = operations["list-entitlements"]["parameters"]["query"];
|
|
189
|
-
/** `GET /api/v1/projects/{projectId}/entitlements
|
|
189
|
+
/** The success response body of `GET /api/v1/projects/{projectId}/entitlements`. */
|
|
190
190
|
export type ListProjectEntitlementsResult = operations["list-project-entitlements"]["responses"][200]["content"]["application/json"];
|
|
191
|
-
/** `GET /api/v1/projects/{projectId}/entitlements
|
|
191
|
+
/** The query parameters of `GET /api/v1/projects/{projectId}/entitlements`. */
|
|
192
192
|
export type ListProjectEntitlementsQuery = operations["list-project-entitlements"]["parameters"]["query"];
|
package/dist/billing/v1/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by scripts/generate.mjs. DO NOT EDIT.
|
|
2
2
|
//
|
|
3
|
-
//
|
|
4
|
-
//
|
|
3
|
+
// The aliases replace the operations[...] subscript chain with a name. The raw paths /
|
|
4
|
+
// components / operations are exported as well: paths is what createClient<paths>() takes.
|
|
5
5
|
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type ClientOptions } from "openapi-fetch";
|
|
2
|
+
import type { paths } from "./schema.js";
|
|
3
|
+
/** A client for the canopy service. Pass baseUrl to override the address. */
|
|
4
|
+
export declare function client(options?: ClientOptions): import("openapi-fetch").Client<paths, `${string}/${string}`>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Code generated from the contract's servers[0]. DO NOT EDIT.
|
|
2
|
+
import createClient, {} from "openapi-fetch";
|
|
3
|
+
const defaultBaseUrl = "https://canopy.leaflow.cloud";
|
|
4
|
+
/** A client for the canopy service. Pass baseUrl to override the address. */
|
|
5
|
+
export function client(options = {}) {
|
|
6
|
+
return createClient({ baseUrl: defaultBaseUrl, ...options });
|
|
7
|
+
}
|
|
@@ -1,48 +1,49 @@
|
|
|
1
1
|
export type { paths, components, operations, webhooks } from "./schema.js";
|
|
2
|
+
export { client } from "./client.js";
|
|
2
3
|
import type { operations } from "./schema.js";
|
|
3
|
-
/** `GET /api/v1/keys
|
|
4
|
+
/** The success response body of `GET /api/v1/keys`. */
|
|
4
5
|
export type ListApiKeysResult = operations["list-api-keys"]["responses"][200]["content"]["application/json"];
|
|
5
|
-
/** `GET /api/v1/keys
|
|
6
|
+
/** The query parameters of `GET /api/v1/keys`. */
|
|
6
7
|
export type ListApiKeysQuery = operations["list-api-keys"]["parameters"]["query"];
|
|
7
|
-
/** `POST /api/v1/keys
|
|
8
|
+
/** The success response body of `POST /api/v1/keys`. */
|
|
8
9
|
export type CreateApiKeyResult = operations["create-api-key"]["responses"][201]["content"]["application/json"];
|
|
9
|
-
/** `POST /api/v1/keys
|
|
10
|
+
/** The request body of `POST /api/v1/keys`. */
|
|
10
11
|
export type CreateApiKeyBody = NonNullable<operations["create-api-key"]["requestBody"]>["content"]["application/json"];
|
|
11
|
-
/** `GET /api/v1/keys/{keyId}
|
|
12
|
+
/** The success response body of `GET /api/v1/keys/{keyId}`. */
|
|
12
13
|
export type GetApiKeyResult = operations["get-api-key"]["responses"][200]["content"]["application/json"];
|
|
13
|
-
/** `PATCH /api/v1/keys/{keyId}
|
|
14
|
+
/** The success response body of `PATCH /api/v1/keys/{keyId}`. */
|
|
14
15
|
export type UpdateApiKeyResult = operations["update-api-key"]["responses"][200]["content"]["application/json"];
|
|
15
|
-
/** `PATCH /api/v1/keys/{keyId}
|
|
16
|
+
/** The request body of `PATCH /api/v1/keys/{keyId}`. */
|
|
16
17
|
export type UpdateApiKeyBody = NonNullable<operations["update-api-key"]["requestBody"]>["content"]["application/json"];
|
|
17
|
-
/** `POST /api/v1/keys/{keyId}/disable
|
|
18
|
+
/** The success response body of `POST /api/v1/keys/{keyId}/disable`. */
|
|
18
19
|
export type DisableApiKeyResult = operations["disable-api-key"]["responses"][200]["content"]["application/json"];
|
|
19
|
-
/** `POST /api/v1/keys/{keyId}/enable
|
|
20
|
+
/** The success response body of `POST /api/v1/keys/{keyId}/enable`. */
|
|
20
21
|
export type EnableApiKeyResult = operations["enable-api-key"]["responses"][200]["content"]["application/json"];
|
|
21
|
-
/** `POST /api/v1/keys/{keyId}/revoke
|
|
22
|
+
/** The success response body of `POST /api/v1/keys/{keyId}/revoke`. */
|
|
22
23
|
export type RevokeApiKeyResult = operations["revoke-api-key"]["responses"][200]["content"]["application/json"];
|
|
23
|
-
/** `GET /api/v1/models
|
|
24
|
+
/** The success response body of `GET /api/v1/models`. */
|
|
24
25
|
export type ListModelsResult = operations["list-models"]["responses"][200]["content"]["application/json"];
|
|
25
|
-
/** `GET /api/v1/models/{modelId}
|
|
26
|
+
/** The success response body of `GET /api/v1/models/{modelId}`. */
|
|
26
27
|
export type GetModelResult = operations["get-model"]["responses"][200]["content"]["application/json"];
|
|
27
|
-
/** `GET /api/v1/requests
|
|
28
|
+
/** The success response body of `GET /api/v1/requests`. */
|
|
28
29
|
export type ListRequestsResult = operations["list-requests"]["responses"][200]["content"]["application/json"];
|
|
29
|
-
/** `GET /api/v1/requests
|
|
30
|
+
/** The query parameters of `GET /api/v1/requests`. */
|
|
30
31
|
export type ListRequestsQuery = operations["list-requests"]["parameters"]["query"];
|
|
31
|
-
/** `GET /api/v1/requests/{requestId}
|
|
32
|
+
/** The success response body of `GET /api/v1/requests/{requestId}`. */
|
|
32
33
|
export type GetRequestResult = operations["get-request"]["responses"][200]["content"]["application/json"];
|
|
33
|
-
/** `GET /api/v1/usage/by-api-key
|
|
34
|
+
/** The success response body of `GET /api/v1/usage/by-api-key`. */
|
|
34
35
|
export type ListUsageByApiKeyResult = operations["list-usage-by-api-key"]["responses"][200]["content"]["application/json"];
|
|
35
|
-
/** `GET /api/v1/usage/by-api-key
|
|
36
|
+
/** The query parameters of `GET /api/v1/usage/by-api-key`. */
|
|
36
37
|
export type ListUsageByApiKeyQuery = operations["list-usage-by-api-key"]["parameters"]["query"];
|
|
37
|
-
/** `GET /api/v1/usage/by-model
|
|
38
|
+
/** The success response body of `GET /api/v1/usage/by-model`. */
|
|
38
39
|
export type ListUsageByModelResult = operations["list-usage-by-model"]["responses"][200]["content"]["application/json"];
|
|
39
|
-
/** `GET /api/v1/usage/by-model
|
|
40
|
+
/** The query parameters of `GET /api/v1/usage/by-model`. */
|
|
40
41
|
export type ListUsageByModelQuery = operations["list-usage-by-model"]["parameters"]["query"];
|
|
41
|
-
/** `GET /api/v1/usage/summary
|
|
42
|
+
/** The success response body of `GET /api/v1/usage/summary`. */
|
|
42
43
|
export type GetUsageSummaryResult = operations["get-usage-summary"]["responses"][200]["content"]["application/json"];
|
|
43
|
-
/** `GET /api/v1/usage/summary
|
|
44
|
+
/** The query parameters of `GET /api/v1/usage/summary`. */
|
|
44
45
|
export type GetUsageSummaryQuery = operations["get-usage-summary"]["parameters"]["query"];
|
|
45
|
-
/** `GET /api/v1/usage/timeline
|
|
46
|
+
/** The success response body of `GET /api/v1/usage/timeline`. */
|
|
46
47
|
export type GetUsageTimelineResult = operations["get-usage-timeline"]["responses"][200]["content"]["application/json"];
|
|
47
|
-
/** `GET /api/v1/usage/timeline
|
|
48
|
+
/** The query parameters of `GET /api/v1/usage/timeline`. */
|
|
48
49
|
export type GetUsageTimelineQuery = operations["get-usage-timeline"]["parameters"]["query"];
|
package/dist/canopy/v1/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by scripts/generate.mjs. DO NOT EDIT.
|
|
2
2
|
//
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
export {};
|
|
3
|
+
// The aliases replace the operations[...] subscript chain with a name. The raw paths /
|
|
4
|
+
// components / operations are exported as well: paths is what createClient<paths>() takes.
|
|
5
|
+
export { client } from "./client.js";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type ClientOptions } from "openapi-fetch";
|
|
2
|
+
import type { paths } from "./schema.js";
|
|
3
|
+
/** A client for the compute service. Pass baseUrl to override the address. */
|
|
4
|
+
export declare function client(options?: ClientOptions): import("openapi-fetch").Client<paths, `${string}/${string}`>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Code generated from the contract's servers[0]. DO NOT EDIT.
|
|
2
|
+
import createClient, {} from "openapi-fetch";
|
|
3
|
+
const defaultBaseUrl = "https://compute.leaflow.cloud";
|
|
4
|
+
/** A client for the compute service. Pass baseUrl to override the address. */
|
|
5
|
+
export function client(options = {}) {
|
|
6
|
+
return createClient({ baseUrl: defaultBaseUrl, ...options });
|
|
7
|
+
}
|