@leaflow/sdk 0.54.4 → 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 +28 -27
- package/dist/account/v1/index.js +4 -4
- package/dist/account/v1/schema.d.ts +123 -122
- 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/assistant/v1/schema.d.ts +4 -0
- package/dist/billing/v1/index.d.ts +99 -93
- package/dist/billing/v1/index.js +3 -3
- package/dist/billing/v1/schema.d.ts +174 -5
- 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 +126 -123
- package/dist/compute/v1/index.js +4 -4
- package/dist/compute/v1/schema.d.ts +55 -0
- package/dist/dns/v1/client.d.ts +4 -0
- package/dist/dns/v1/client.js +7 -0
- package/dist/dns/v1/index.d.ts +24 -23
- package/dist/dns/v1/index.js +4 -4
- package/dist/dns/v1/schema.d.ts +4 -0
- package/dist/fleet/v1/client.d.ts +4 -0
- package/dist/fleet/v1/client.js +7 -0
- package/dist/fleet/v1/index.d.ts +7 -0
- package/dist/fleet/v1/index.js +5 -0
- package/dist/fleet/v1/schema.d.ts +156 -0
- package/dist/fleet/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 +44 -43
- package/dist/iam/v1/index.js +4 -4
- package/dist/iam/v1/schema.d.ts +119 -115
- package/dist/index.d.ts +12 -11
- 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 +90 -89
- package/dist/monitoring/v1/index.js +4 -4
- package/dist/monitoring/v1/schema.d.ts +4 -0
- 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/notification/v1/schema.d.ts +4 -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 +25 -24
- package/dist/support/v1/index.js +4 -4
- package/dist/support/v1/schema.d.ts +4 -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 +39 -35
- package/package.json +6 -4
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type ClientOptions } from "openapi-fetch";
|
|
2
|
+
import type { paths } from "./schema.js";
|
|
3
|
+
/** A client for the account 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://account.leaflow.cloud";
|
|
4
|
+
/** A client for the account service. Pass baseUrl to override the address. */
|
|
5
|
+
export function client(options = {}) {
|
|
6
|
+
return createClient({ baseUrl: defaultBaseUrl, ...options });
|
|
7
|
+
}
|
|
@@ -1,54 +1,55 @@
|
|
|
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 /account/v1/settings
|
|
4
|
+
/** The success response body of `GET /account/v1/settings`. */
|
|
4
5
|
export type GetSettingsResult = operations["get-settings"]["responses"][200]["content"]["application/json"];
|
|
5
|
-
/** `GET /account/v1/locales
|
|
6
|
+
/** The success response body of `GET /account/v1/locales`. */
|
|
6
7
|
export type ListLocalesResult = operations["list-locales"]["responses"][200]["content"]["application/json"];
|
|
7
|
-
/** `GET /account/v1/agreements
|
|
8
|
+
/** The success response body of `GET /account/v1/agreements`. */
|
|
8
9
|
export type ListAgreementsResult = operations["list-agreements"]["responses"][200]["content"]["application/json"];
|
|
9
|
-
/** `GET /account/v1/me/consents
|
|
10
|
+
/** The success response body of `GET /account/v1/me/consents`. */
|
|
10
11
|
export type ListConsentsResult = operations["list-consents"]["responses"][200]["content"]["application/json"];
|
|
11
|
-
/** `POST /account/v1/me/consents
|
|
12
|
+
/** The success response body of `POST /account/v1/me/consents`. */
|
|
12
13
|
export type AcceptAgreementsResult = operations["accept-agreements"]["responses"][200]["content"]["application/json"];
|
|
13
|
-
/** `POST /account/v1/me/consents
|
|
14
|
+
/** The request body of `POST /account/v1/me/consents`. */
|
|
14
15
|
export type AcceptAgreementsBody = NonNullable<operations["accept-agreements"]["requestBody"]>["content"]["application/json"];
|
|
15
|
-
/** `POST /account/v1/register
|
|
16
|
+
/** The success response body of `POST /account/v1/register`. */
|
|
16
17
|
export type RegisterResult = operations["register"]["responses"][201]["content"]["application/json"];
|
|
17
|
-
/** `POST /account/v1/register
|
|
18
|
+
/** The request body of `POST /account/v1/register`. */
|
|
18
19
|
export type RegisterBody = NonNullable<operations["register"]["requestBody"]>["content"]["application/json"];
|
|
19
|
-
/** `GET /account/v1/me
|
|
20
|
+
/** The success response body of `GET /account/v1/me`. */
|
|
20
21
|
export type GetAccountResult = operations["get-account"]["responses"][200]["content"]["application/json"];
|
|
21
|
-
/** `PATCH /account/v1/me
|
|
22
|
+
/** The success response body of `PATCH /account/v1/me`. */
|
|
22
23
|
export type UpdateAccountResult = operations["update-account"]["responses"][200]["content"]["application/json"];
|
|
23
|
-
/** `PATCH /account/v1/me
|
|
24
|
+
/** The request body of `PATCH /account/v1/me`. */
|
|
24
25
|
export type UpdateAccountBody = NonNullable<operations["update-account"]["requestBody"]>["content"]["application/json"];
|
|
25
|
-
/** `GET /account/v1/me/identity-verification
|
|
26
|
+
/** The success response body of `GET /account/v1/me/identity-verification`. */
|
|
26
27
|
export type GetIdentityVerificationResult = operations["get-identity-verification"]["responses"][200]["content"]["application/json"];
|
|
27
|
-
/** `POST /account/v1/me/identity-verification
|
|
28
|
+
/** The success response body of `POST /account/v1/me/identity-verification`. */
|
|
28
29
|
export type SubmitIdentityVerificationResult = operations["submit-identity-verification"]["responses"][202]["content"]["application/json"];
|
|
29
|
-
/** `POST /account/v1/me/identity-verification
|
|
30
|
+
/** The request body of `POST /account/v1/me/identity-verification`. */
|
|
30
31
|
export type SubmitIdentityVerificationBody = NonNullable<operations["submit-identity-verification"]["requestBody"]>["content"]["application/json"];
|
|
31
|
-
/** `GET /account/v1/me/invitations
|
|
32
|
+
/** The success response body of `GET /account/v1/me/invitations`. */
|
|
32
33
|
export type ListMyInvitationsResult = operations["list-my-invitations"]["responses"][200]["content"]["application/json"];
|
|
33
|
-
/** `GET /account/v1/me/invitations
|
|
34
|
+
/** The query parameters of `GET /account/v1/me/invitations`. */
|
|
34
35
|
export type ListMyInvitationsQuery = operations["list-my-invitations"]["parameters"]["query"];
|
|
35
|
-
/** `GET /account/v1/invitations/by-token
|
|
36
|
+
/** The success response body of `GET /account/v1/invitations/by-token`. */
|
|
36
37
|
export type PreviewInvitationByTokenResult = operations["preview-invitation-by-token"]["responses"][200]["content"]["application/json"];
|
|
37
|
-
/** `GET /account/v1/invitations/by-token
|
|
38
|
+
/** The query parameters of `GET /account/v1/invitations/by-token`. */
|
|
38
39
|
export type PreviewInvitationByTokenQuery = operations["preview-invitation-by-token"]["parameters"]["query"];
|
|
39
|
-
/** `POST /account/v1/me/invitations/accept
|
|
40
|
+
/** The success response body of `POST /account/v1/me/invitations/accept`. */
|
|
40
41
|
export type AcceptInvitationByTokenResult = operations["accept-invitation-by-token"]["responses"][200]["content"]["application/json"];
|
|
41
|
-
/** `POST /account/v1/me/invitations/accept
|
|
42
|
+
/** The request body of `POST /account/v1/me/invitations/accept`. */
|
|
42
43
|
export type AcceptInvitationByTokenBody = NonNullable<operations["accept-invitation-by-token"]["requestBody"]>["content"]["application/json"];
|
|
43
|
-
/** `POST /account/v1/me/invitations/{invitationId}/accept
|
|
44
|
+
/** The success response body of `POST /account/v1/me/invitations/{invitationId}/accept`. */
|
|
44
45
|
export type AcceptInvitationResult = operations["accept-invitation"]["responses"][200]["content"]["application/json"];
|
|
45
|
-
/** `GET /account/v1/projects
|
|
46
|
+
/** The success response body of `GET /account/v1/projects`. */
|
|
46
47
|
export type ListProjectsResult = operations["list-projects"]["responses"][200]["content"]["application/json"];
|
|
47
|
-
/** `GET /account/v1/projects
|
|
48
|
+
/** The query parameters of `GET /account/v1/projects`. */
|
|
48
49
|
export type ListProjectsQuery = operations["list-projects"]["parameters"]["query"];
|
|
49
|
-
/** `POST /account/v1/projects
|
|
50
|
+
/** The success response body of `POST /account/v1/projects`. */
|
|
50
51
|
export type CreateProjectResult = operations["create-project"]["responses"][201]["content"]["application/json"];
|
|
51
|
-
/** `POST /account/v1/projects
|
|
52
|
+
/** The request body of `POST /account/v1/projects`. */
|
|
52
53
|
export type CreateProjectBody = NonNullable<operations["create-project"]["requestBody"]>["content"]["application/json"];
|
|
53
|
-
/** `POST /account/v1/projects/{projectId}/
|
|
54
|
-
export type
|
|
54
|
+
/** The success response body of `POST /account/v1/projects/{projectId}/scoped-tokens`. */
|
|
55
|
+
export type CreateScopedTokenResult = operations["create-scoped-token"]["responses"][201]["content"]["application/json"];
|
package/dist/account/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";
|