@leaflow/sdk 0.0.0-dev.25.g6c5751f → 0.0.0-dev.250.g6df166c
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/README.md +22 -1
- package/dist/account/v1/client.d.ts +4 -0
- package/dist/account/v1/client.js +7 -0
- package/dist/account/v1/index.d.ts +33 -22
- package/dist/account/v1/index.js +4 -4
- package/dist/account/v1/schema.d.ts +307 -89
- package/dist/assistant/v1/client.d.ts +4 -0
- package/dist/assistant/v1/client.js +7 -0
- package/dist/assistant/v1/index.d.ts +71 -40
- package/dist/assistant/v1/index.js +4 -4
- package/dist/assistant/v1/schema.d.ts +1204 -139
- package/dist/billing/account/v1/client.d.ts +4 -0
- package/dist/billing/account/v1/client.js +7 -0
- package/dist/billing/account/v1/index.d.ts +169 -0
- package/dist/billing/account/v1/index.js +5 -0
- package/dist/billing/account/v1/schema.d.ts +4385 -0
- package/dist/billing/account/v1/schema.js +5 -0
- package/dist/billing/catalog/v1/client.d.ts +4 -0
- package/dist/billing/catalog/v1/client.js +7 -0
- package/dist/billing/catalog/v1/index.d.ts +33 -0
- package/dist/billing/catalog/v1/index.js +5 -0
- package/dist/billing/catalog/v1/schema.d.ts +915 -0
- package/dist/billing/catalog/v1/schema.js +5 -0
- package/dist/billing/index.d.ts +3 -0
- package/dist/billing/index.js +6 -0
- package/dist/billing/project/v1/client.d.ts +4 -0
- package/dist/billing/project/v1/client.js +7 -0
- package/dist/billing/project/v1/index.d.ts +59 -0
- package/dist/billing/project/v1/index.js +5 -0
- package/dist/billing/project/v1/schema.d.ts +1892 -0
- package/dist/billing/project/v1/schema.js +5 -0
- 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/canopy/v1/schema.d.ts +113 -109
- package/dist/compute/v1/client.d.ts +4 -0
- package/dist/compute/v1/client.js +7 -0
- package/dist/compute/v1/index.d.ts +207 -134
- package/dist/compute/v1/index.js +4 -4
- package/dist/compute/v1/schema.d.ts +1945 -553
- package/dist/dns/v1/client.d.ts +4 -0
- package/dist/dns/v1/client.js +7 -0
- package/dist/dns/v1/index.d.ts +43 -0
- package/dist/dns/v1/index.js +5 -0
- package/dist/dns/v1/schema.d.ts +887 -0
- package/dist/dns/v1/schema.js +5 -0
- package/dist/iam/v1/client.d.ts +4 -0
- package/dist/iam/v1/client.js +7 -0
- package/dist/iam/v1/index.d.ts +55 -32
- package/dist/iam/v1/index.js +4 -4
- package/dist/iam/v1/schema.d.ts +521 -88
- package/dist/index.d.ts +11 -7
- package/dist/index.js +19 -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 +130 -49
- package/dist/monitoring/v1/index.js +4 -4
- package/dist/monitoring/v1/schema.d.ts +2420 -527
- package/dist/notification/v1/client.d.ts +4 -0
- package/dist/notification/v1/client.js +7 -0
- package/dist/notification/v1/index.d.ts +81 -0
- package/dist/notification/v1/index.js +5 -0
- package/dist/notification/v1/schema.d.ts +2048 -0
- package/dist/notification/v1/schema.js +5 -0
- package/dist/routes.d.ts +3234 -0
- package/dist/routes.js +3639 -0
- package/dist/support/v1/client.d.ts +4 -0
- package/dist/support/v1/client.js +7 -0
- package/dist/support/v1/index.d.ts +51 -0
- package/dist/support/v1/index.js +5 -0
- package/dist/support/v1/schema.d.ts +1082 -0
- package/dist/support/v1/schema.js +5 -0
- 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/dist/tunnel/v1/schema.d.ts +40 -34
- package/package.json +34 -10
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type ClientOptions } from "openapi-fetch";
|
|
2
|
+
import type { paths } from "./schema.js";
|
|
3
|
+
/** A client for the dns 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://dns.leaflow.cloud";
|
|
4
|
+
/** A client for the dns service. Pass baseUrl to override the address. */
|
|
5
|
+
export function client(options = {}) {
|
|
6
|
+
return createClient({ baseUrl: defaultBaseUrl, ...options });
|
|
7
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export type { paths, components, operations, webhooks } from "./schema.js";
|
|
2
|
+
export { client } from "./client.js";
|
|
3
|
+
import type { operations } from "./schema.js";
|
|
4
|
+
/** The success response body of `GET /api/v1/credentials`. */
|
|
5
|
+
export type ListCredentialsResult = operations["list-credentials"]["responses"][200]["content"]["application/json"];
|
|
6
|
+
/** The query parameters of `GET /api/v1/credentials`. */
|
|
7
|
+
export type ListCredentialsQuery = operations["list-credentials"]["parameters"]["query"];
|
|
8
|
+
/** The success response body of `POST /api/v1/credentials`. */
|
|
9
|
+
export type CreateCredentialResult = operations["create-credential"]["responses"][201]["content"]["application/json"];
|
|
10
|
+
/** The request body of `POST /api/v1/credentials`. */
|
|
11
|
+
export type CreateCredentialBody = NonNullable<operations["create-credential"]["requestBody"]>["content"]["application/json"];
|
|
12
|
+
/** The success response body of `GET /api/v1/credentials/{credentialId}`. */
|
|
13
|
+
export type GetCredentialResult = operations["get-credential"]["responses"][200]["content"]["application/json"];
|
|
14
|
+
/** The success response body of `PATCH /api/v1/credentials/{credentialId}`. */
|
|
15
|
+
export type RenameCredentialResult = operations["rename-credential"]["responses"][200]["content"]["application/json"];
|
|
16
|
+
/** The request body of `PATCH /api/v1/credentials/{credentialId}`. */
|
|
17
|
+
export type RenameCredentialBody = NonNullable<operations["rename-credential"]["requestBody"]>["content"]["application/json"];
|
|
18
|
+
/** The success response body of `POST /api/v1/credentials/{credentialId}/verification`. */
|
|
19
|
+
export type VerifyCredentialResult = operations["verify-credential"]["responses"][200]["content"]["application/json"];
|
|
20
|
+
/** The success response body of `GET /api/v1/zones`. */
|
|
21
|
+
export type ListZonesResult = operations["list-zones"]["responses"][200]["content"]["application/json"];
|
|
22
|
+
/** The query parameters of `GET /api/v1/zones`. */
|
|
23
|
+
export type ListZonesQuery = operations["list-zones"]["parameters"]["query"];
|
|
24
|
+
/** The success response body of `GET /api/v1/zones/{zone}/records`. */
|
|
25
|
+
export type ListRecordsResult = operations["list-records"]["responses"][200]["content"]["application/json"];
|
|
26
|
+
/** The query parameters of `GET /api/v1/zones/{zone}/records`. */
|
|
27
|
+
export type ListRecordsQuery = operations["list-records"]["parameters"]["query"];
|
|
28
|
+
/** The success response body of `GET /api/v1/zones/{zone}/records/{name}/{type}`. */
|
|
29
|
+
export type GetRecordSetResult = operations["get-record-set"]["responses"][200]["content"]["application/json"];
|
|
30
|
+
/** The success response body of `PUT /api/v1/zones/{zone}/records/{name}/{type}`. */
|
|
31
|
+
export type SetRecordSetResult = operations["set-record-set"]["responses"][200]["content"]["application/json"];
|
|
32
|
+
/** The query parameters of `PUT /api/v1/zones/{zone}/records/{name}/{type}`. */
|
|
33
|
+
export type SetRecordSetQuery = operations["set-record-set"]["parameters"]["query"];
|
|
34
|
+
/** The request body of `PUT /api/v1/zones/{zone}/records/{name}/{type}`. */
|
|
35
|
+
export type SetRecordSetBody = NonNullable<operations["set-record-set"]["requestBody"]>["content"]["application/json"];
|
|
36
|
+
/** The success response body of `PATCH /api/v1/zones/{zone}/records/{name}/{type}`. */
|
|
37
|
+
export type ModifyRecordSetResult = operations["modify-record-set"]["responses"][200]["content"]["application/json"];
|
|
38
|
+
/** The query parameters of `PATCH /api/v1/zones/{zone}/records/{name}/{type}`. */
|
|
39
|
+
export type ModifyRecordSetQuery = operations["modify-record-set"]["parameters"]["query"];
|
|
40
|
+
/** The request body of `PATCH /api/v1/zones/{zone}/records/{name}/{type}`. */
|
|
41
|
+
export type ModifyRecordSetBody = NonNullable<operations["modify-record-set"]["requestBody"]>["content"]["application/json"];
|
|
42
|
+
/** The query parameters of `DELETE /api/v1/zones/{zone}/records/{name}/{type}`. */
|
|
43
|
+
export type DeleteRecordSetQuery = operations["delete-record-set"]["parameters"]["query"];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// Code generated by scripts/generate.mjs. DO NOT EDIT.
|
|
2
|
+
//
|
|
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";
|