@leaflow/sdk 0.0.0-dev.23.g7fcf334 → 0.0.0-dev.230.g6609f68
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 +143 -0
- package/dist/billing/account/v1/index.js +5 -0
- package/dist/billing/account/v1/schema.d.ts +3989 -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 +29 -0
- package/dist/billing/catalog/v1/index.js +5 -0
- package/dist/billing/catalog/v1/schema.d.ts +910 -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 +45 -0
- package/dist/billing/project/v1/index.js +5 -0
- package/dist/billing/project/v1/schema.d.ts +1440 -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 +182 -127
- package/dist/compute/v1/index.js +4 -4
- package/dist/compute/v1/schema.d.ts +1501 -286
- 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 +77 -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/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 +30 -10
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type ClientOptions } from "openapi-fetch";
|
|
2
|
+
import type { paths } from "./schema.js";
|
|
3
|
+
/** A client for the support 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://support.leaflow.cloud";
|
|
4
|
+
/** A client for the support service. Pass baseUrl to override the address. */
|
|
5
|
+
export function client(options = {}) {
|
|
6
|
+
return createClient({ baseUrl: defaultBaseUrl, ...options });
|
|
7
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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/notices`. */
|
|
5
|
+
export type ListNoticesResult = operations["list-notices"]["responses"][200]["content"]["application/json"];
|
|
6
|
+
/** The success response body of `GET /api/v1/tickets`. */
|
|
7
|
+
export type ListTicketsResult = operations["list-tickets"]["responses"][200]["content"]["application/json"];
|
|
8
|
+
/** The query parameters of `GET /api/v1/tickets`. */
|
|
9
|
+
export type ListTicketsQuery = operations["list-tickets"]["parameters"]["query"];
|
|
10
|
+
/** The success response body of `POST /api/v1/tickets`. */
|
|
11
|
+
export type CreateTicketResult = operations["create-ticket"]["responses"][201]["content"]["application/json"];
|
|
12
|
+
/** The request body of `POST /api/v1/tickets`. */
|
|
13
|
+
export type CreateTicketBody = NonNullable<operations["create-ticket"]["requestBody"]>["content"]["application/json"];
|
|
14
|
+
/** The success response body of `GET /api/v1/tickets/{ticketId}`. */
|
|
15
|
+
export type GetTicketResult = operations["get-ticket"]["responses"][200]["content"]["application/json"];
|
|
16
|
+
/** The success response body of `POST /api/v1/tickets/{ticketId}/close`. */
|
|
17
|
+
export type CloseTicketResult = operations["close-ticket"]["responses"][200]["content"]["application/json"];
|
|
18
|
+
/** The success response body of `GET /api/v1/tickets/{ticketId}/messages`. */
|
|
19
|
+
export type ListTicketMessagesResult = operations["list-ticket-messages"]["responses"][200]["content"]["application/json"];
|
|
20
|
+
/** The query parameters of `GET /api/v1/tickets/{ticketId}/messages`. */
|
|
21
|
+
export type ListTicketMessagesQuery = operations["list-ticket-messages"]["parameters"]["query"];
|
|
22
|
+
/** The success response body of `POST /api/v1/tickets/{ticketId}/messages`. */
|
|
23
|
+
export type CreateTicketMessageResult = operations["create-ticket-message"]["responses"][201]["content"]["application/json"];
|
|
24
|
+
/** The request body of `POST /api/v1/tickets/{ticketId}/messages`. */
|
|
25
|
+
export type CreateTicketMessageBody = NonNullable<operations["create-ticket-message"]["requestBody"]>["content"]["application/json"];
|
|
26
|
+
/** The success response body of `GET /api/v1/tickets/{ticketId}/satisfaction`. */
|
|
27
|
+
export type GetTicketSatisfactionResult = operations["get-ticket-satisfaction"]["responses"][200]["content"]["application/json"];
|
|
28
|
+
/** The success response body of `POST /api/v1/tickets/{ticketId}/satisfaction`. */
|
|
29
|
+
export type CreateTicketSatisfactionResult = operations["create-ticket-satisfaction"]["responses"][201]["content"]["application/json"];
|
|
30
|
+
/** The request body of `POST /api/v1/tickets/{ticketId}/satisfaction`. */
|
|
31
|
+
export type CreateTicketSatisfactionBody = NonNullable<operations["create-ticket-satisfaction"]["requestBody"]>["content"]["application/json"];
|
|
32
|
+
/** The success response body of `GET /api/v1/ticket-categories`. */
|
|
33
|
+
export type ListTicketCategoriesResult = operations["list-ticket-categories"]["responses"][200]["content"]["application/json"];
|
|
34
|
+
/** The query parameters of `GET /api/v1/ticket-categories`. */
|
|
35
|
+
export type ListTicketCategoriesQuery = operations["list-ticket-categories"]["parameters"]["query"];
|
|
36
|
+
/** The success response body of `POST /api/v1/attachments`. */
|
|
37
|
+
export type UploadAttachmentResult = operations["upload-attachment"]["responses"][201]["content"]["application/json"];
|
|
38
|
+
/** The query parameters of `POST /api/v1/attachments`. */
|
|
39
|
+
export type UploadAttachmentQuery = operations["upload-attachment"]["parameters"]["query"];
|
|
40
|
+
/** The query parameters of `GET /api/v1/attachments/{attachmentId}/content`. */
|
|
41
|
+
export type DownloadAttachmentQuery = operations["download-attachment"]["parameters"]["query"];
|
|
42
|
+
/** The success response body of `GET /api/v1/maintenances`. */
|
|
43
|
+
export type ListMaintenancesResult = operations["list-maintenances"]["responses"][200]["content"]["application/json"];
|
|
44
|
+
/** The query parameters of `GET /api/v1/maintenances`. */
|
|
45
|
+
export type ListMaintenancesQuery = operations["list-maintenances"]["parameters"]["query"];
|
|
46
|
+
/** The success response body of `GET /api/v1/maintenances/{maintenanceId}`. */
|
|
47
|
+
export type GetMaintenanceResult = operations["get-maintenance"]["responses"][200]["content"]["application/json"];
|
|
48
|
+
/** The success response body of `GET /api/v1/maintenances/{maintenanceId}/timeline`. */
|
|
49
|
+
export type ListMaintenanceTimelineResult = operations["list-maintenance-timeline"]["responses"][200]["content"]["application/json"];
|
|
50
|
+
/** The query parameters of `GET /api/v1/maintenances/{maintenanceId}/timeline`. */
|
|
51
|
+
export type ListMaintenanceTimelineQuery = operations["list-maintenance-timeline"]["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";
|