@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,76 +1,77 @@
|
|
|
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/notifications
|
|
4
|
+
/** The success response body of `GET /api/v1/notifications`. */
|
|
4
5
|
export type ListNotificationsResult = operations["list-notifications"]["responses"][200]["content"]["application/json"];
|
|
5
|
-
/** `GET /api/v1/notifications
|
|
6
|
+
/** The query parameters of `GET /api/v1/notifications`. */
|
|
6
7
|
export type ListNotificationsQuery = operations["list-notifications"]["parameters"]["query"];
|
|
7
|
-
/** `POST /api/v1/notifications/read
|
|
8
|
+
/** The success response body of `POST /api/v1/notifications/read`. */
|
|
8
9
|
export type MarkNotificationsReadResult = operations["mark-notifications-read"]["responses"][200]["content"]["application/json"];
|
|
9
|
-
/** `POST /api/v1/notifications/read
|
|
10
|
+
/** The request body of `POST /api/v1/notifications/read`. */
|
|
10
11
|
export type MarkNotificationsReadBody = NonNullable<operations["mark-notifications-read"]["requestBody"]>["content"]["application/json"];
|
|
11
|
-
/** `GET /api/v1/notifications/unread-count
|
|
12
|
+
/** The success response body of `GET /api/v1/notifications/unread-count`. */
|
|
12
13
|
export type CountUnreadNotificationsResult = operations["count-unread-notifications"]["responses"][200]["content"]["application/json"];
|
|
13
|
-
/** `GET /api/v1/notifications/unread-count
|
|
14
|
+
/** The query parameters of `GET /api/v1/notifications/unread-count`. */
|
|
14
15
|
export type CountUnreadNotificationsQuery = operations["count-unread-notifications"]["parameters"]["query"];
|
|
15
|
-
/** `GET /api/v1/notifications/{notificationId}
|
|
16
|
+
/** The success response body of `GET /api/v1/notifications/{notificationId}`. */
|
|
16
17
|
export type GetNotificationResult = operations["get-notification"]["responses"][200]["content"]["application/json"];
|
|
17
|
-
/** `POST /api/v1/notifications/{notificationId}/read
|
|
18
|
+
/** The success response body of `POST /api/v1/notifications/{notificationId}/read`. */
|
|
18
19
|
export type MarkNotificationReadResult = operations["mark-notification-read"]["responses"][200]["content"]["application/json"];
|
|
19
|
-
/** `DELETE /api/v1/notifications/{notificationId}/read
|
|
20
|
+
/** The success response body of `DELETE /api/v1/notifications/{notificationId}/read`. */
|
|
20
21
|
export type MarkNotificationUnreadResult = operations["mark-notification-unread"]["responses"][200]["content"]["application/json"];
|
|
21
|
-
/** `POST /api/v1/notifications/{notificationId}/archive
|
|
22
|
+
/** The success response body of `POST /api/v1/notifications/{notificationId}/archive`. */
|
|
22
23
|
export type ArchiveNotificationResult = operations["archive-notification"]["responses"][200]["content"]["application/json"];
|
|
23
|
-
/** `DELETE /api/v1/notifications/{notificationId}/archive
|
|
24
|
+
/** The success response body of `DELETE /api/v1/notifications/{notificationId}/archive`. */
|
|
24
25
|
export type UnarchiveNotificationResult = operations["unarchive-notification"]["responses"][200]["content"]["application/json"];
|
|
25
|
-
/** `GET /api/v1/announcements
|
|
26
|
+
/** The success response body of `GET /api/v1/announcements`. */
|
|
26
27
|
export type ListAnnouncementsResult = operations["list-announcements"]["responses"][200]["content"]["application/json"];
|
|
27
|
-
/** `POST /api/v1/announcements/read
|
|
28
|
+
/** The success response body of `POST /api/v1/announcements/read`. */
|
|
28
29
|
export type ReadAllAnnouncementsResult = operations["read-all-announcements"]["responses"][200]["content"]["application/json"];
|
|
29
|
-
/** `GET /api/v1/notification-types
|
|
30
|
+
/** The success response body of `GET /api/v1/notification-types`. */
|
|
30
31
|
export type ListNotificationTypesResult = operations["list-notification-types"]["responses"][200]["content"]["application/json"];
|
|
31
|
-
/** `GET /api/v1/preferences
|
|
32
|
+
/** The success response body of `GET /api/v1/preferences`. */
|
|
32
33
|
export type GetNotificationPreferencesResult = operations["get-notification-preferences"]["responses"][200]["content"]["application/json"];
|
|
33
|
-
/** `PATCH /api/v1/preferences
|
|
34
|
+
/** The success response body of `PATCH /api/v1/preferences`. */
|
|
34
35
|
export type UpdateNotificationPreferencesResult = operations["update-notification-preferences"]["responses"][200]["content"]["application/json"];
|
|
35
|
-
/** `PATCH /api/v1/preferences
|
|
36
|
+
/** The request body of `PATCH /api/v1/preferences`. */
|
|
36
37
|
export type UpdateNotificationPreferencesBody = NonNullable<operations["update-notification-preferences"]["requestBody"]>["content"]["application/json"];
|
|
37
|
-
/** `POST /api/v1/preferences/email-override/code
|
|
38
|
+
/** The success response body of `POST /api/v1/preferences/email-override/code`. */
|
|
38
39
|
export type SendEmailOverrideCodeResult = operations["send-email-override-code"]["responses"][200]["content"]["application/json"];
|
|
39
|
-
/** `DELETE /api/v1/preferences/email-override/code
|
|
40
|
+
/** The success response body of `DELETE /api/v1/preferences/email-override/code`. */
|
|
40
41
|
export type CancelEmailOverrideResult = operations["cancel-email-override"]["responses"][200]["content"]["application/json"];
|
|
41
|
-
/** `POST /api/v1/preferences/email-override/code/confirm
|
|
42
|
+
/** The success response body of `POST /api/v1/preferences/email-override/code/confirm`. */
|
|
42
43
|
export type ConfirmEmailOverrideResult = operations["confirm-email-override"]["responses"][200]["content"]["application/json"];
|
|
43
|
-
/** `POST /api/v1/preferences/email-override/code/confirm
|
|
44
|
+
/** The request body of `POST /api/v1/preferences/email-override/code/confirm`. */
|
|
44
45
|
export type ConfirmEmailOverrideBody = NonNullable<operations["confirm-email-override"]["requestBody"]>["content"]["application/json"];
|
|
45
|
-
/** `GET /api/v1/preferences/types
|
|
46
|
+
/** The success response body of `GET /api/v1/preferences/types`. */
|
|
46
47
|
export type ListTypePreferencesResult = operations["list-type-preferences"]["responses"][200]["content"]["application/json"];
|
|
47
|
-
/** `GET /api/v1/preferences/types
|
|
48
|
+
/** The query parameters of `GET /api/v1/preferences/types`. */
|
|
48
49
|
export type ListTypePreferencesQuery = operations["list-type-preferences"]["parameters"]["query"];
|
|
49
|
-
/** `PUT /api/v1/preferences/types/{type}
|
|
50
|
+
/** The success response body of `PUT /api/v1/preferences/types/{type}`. */
|
|
50
51
|
export type UpdateTypePreferenceResult = operations["update-type-preference"]["responses"][200]["content"]["application/json"];
|
|
51
|
-
/** `PUT /api/v1/preferences/types/{type}
|
|
52
|
+
/** The request body of `PUT /api/v1/preferences/types/{type}`. */
|
|
52
53
|
export type UpdateTypePreferenceBody = NonNullable<operations["update-type-preference"]["requestBody"]>["content"]["application/json"];
|
|
53
|
-
/** `GET /api/v1/channels
|
|
54
|
+
/** The success response body of `GET /api/v1/channels`. */
|
|
54
55
|
export type ListUserChannelsResult = operations["list-user-channels"]["responses"][200]["content"]["application/json"];
|
|
55
|
-
/** `GET /api/v1/channels
|
|
56
|
+
/** The query parameters of `GET /api/v1/channels`. */
|
|
56
57
|
export type ListUserChannelsQuery = operations["list-user-channels"]["parameters"]["query"];
|
|
57
|
-
/** `POST /api/v1/channels
|
|
58
|
+
/** The success response body of `POST /api/v1/channels`. */
|
|
58
59
|
export type CreateUserChannelResult = operations["create-user-channel"]["responses"][201]["content"]["application/json"];
|
|
59
|
-
/** `POST /api/v1/channels
|
|
60
|
+
/** The request body of `POST /api/v1/channels`. */
|
|
60
61
|
export type CreateUserChannelBody = NonNullable<operations["create-user-channel"]["requestBody"]>["content"]["application/json"];
|
|
61
|
-
/** `PATCH /api/v1/channels/{channelId}
|
|
62
|
+
/** The success response body of `PATCH /api/v1/channels/{channelId}`. */
|
|
62
63
|
export type UpdateUserChannelResult = operations["update-user-channel"]["responses"][200]["content"]["application/json"];
|
|
63
|
-
/** `PATCH /api/v1/channels/{channelId}
|
|
64
|
+
/** The request body of `PATCH /api/v1/channels/{channelId}`. */
|
|
64
65
|
export type UpdateUserChannelBody = NonNullable<operations["update-user-channel"]["requestBody"]>["content"]["application/json"];
|
|
65
|
-
/** `POST /api/v1/channels/{channelId}/verify
|
|
66
|
+
/** The success response body of `POST /api/v1/channels/{channelId}/verify`. */
|
|
66
67
|
export type VerifyUserChannelResult = operations["verify-user-channel"]["responses"][200]["content"]["application/json"];
|
|
67
|
-
/** `GET /api/v1/credentials/{ticketId}
|
|
68
|
+
/** The success response body of `GET /api/v1/credentials/{ticketId}`. */
|
|
68
69
|
export type DescribeCredentialTicketResult = operations["describe-credential-ticket"]["responses"][200]["content"]["application/json"];
|
|
69
|
-
/** `POST /api/v1/credentials/{ticketId}/reveal
|
|
70
|
+
/** The success response body of `POST /api/v1/credentials/{ticketId}/reveal`. */
|
|
70
71
|
export type RevealCredentialResult = operations["reveal-credential"]["responses"][200]["content"]["application/json"];
|
|
71
|
-
/** `GET /api/v1/realtime
|
|
72
|
+
/** The success response body of `GET /api/v1/realtime`. */
|
|
72
73
|
export type DescribeRealtimeConnectionResult = operations["describe-realtime-connection"]["responses"][200]["content"]["application/json"];
|
|
73
|
-
/** `POST /api/v1/realtime/auth
|
|
74
|
+
/** The success response body of `POST /api/v1/realtime/auth`. */
|
|
74
75
|
export type AuthorizeRealtimeChannelResult = operations["authorize-realtime-channel"]["responses"][200]["content"]["application/json"];
|
|
75
|
-
/** `POST /api/v1/realtime/auth
|
|
76
|
+
/** The request body of `POST /api/v1/realtime/auth`. */
|
|
76
77
|
export type AuthorizeRealtimeChannelBody = NonNullable<operations["authorize-realtime-channel"]["requestBody"]>["content"]["application/json"];
|
|
@@ -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 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
|
+
}
|
|
@@ -1,50 +1,51 @@
|
|
|
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/notices
|
|
4
|
+
/** The success response body of `GET /api/v1/notices`. */
|
|
4
5
|
export type ListNoticesResult = operations["list-notices"]["responses"][200]["content"]["application/json"];
|
|
5
|
-
/** `GET /api/v1/tickets
|
|
6
|
+
/** The success response body of `GET /api/v1/tickets`. */
|
|
6
7
|
export type ListTicketsResult = operations["list-tickets"]["responses"][200]["content"]["application/json"];
|
|
7
|
-
/** `GET /api/v1/tickets
|
|
8
|
+
/** The query parameters of `GET /api/v1/tickets`. */
|
|
8
9
|
export type ListTicketsQuery = operations["list-tickets"]["parameters"]["query"];
|
|
9
|
-
/** `POST /api/v1/tickets
|
|
10
|
+
/** The success response body of `POST /api/v1/tickets`. */
|
|
10
11
|
export type CreateTicketResult = operations["create-ticket"]["responses"][201]["content"]["application/json"];
|
|
11
|
-
/** `POST /api/v1/tickets
|
|
12
|
+
/** The request body of `POST /api/v1/tickets`. */
|
|
12
13
|
export type CreateTicketBody = NonNullable<operations["create-ticket"]["requestBody"]>["content"]["application/json"];
|
|
13
|
-
/** `GET /api/v1/tickets/{ticketId}
|
|
14
|
+
/** The success response body of `GET /api/v1/tickets/{ticketId}`. */
|
|
14
15
|
export type GetTicketResult = operations["get-ticket"]["responses"][200]["content"]["application/json"];
|
|
15
|
-
/** `POST /api/v1/tickets/{ticketId}/close
|
|
16
|
+
/** The success response body of `POST /api/v1/tickets/{ticketId}/close`. */
|
|
16
17
|
export type CloseTicketResult = operations["close-ticket"]["responses"][200]["content"]["application/json"];
|
|
17
|
-
/** `GET /api/v1/tickets/{ticketId}/messages
|
|
18
|
+
/** The success response body of `GET /api/v1/tickets/{ticketId}/messages`. */
|
|
18
19
|
export type ListTicketMessagesResult = operations["list-ticket-messages"]["responses"][200]["content"]["application/json"];
|
|
19
|
-
/** `GET /api/v1/tickets/{ticketId}/messages
|
|
20
|
+
/** The query parameters of `GET /api/v1/tickets/{ticketId}/messages`. */
|
|
20
21
|
export type ListTicketMessagesQuery = operations["list-ticket-messages"]["parameters"]["query"];
|
|
21
|
-
/** `POST /api/v1/tickets/{ticketId}/messages
|
|
22
|
+
/** The success response body of `POST /api/v1/tickets/{ticketId}/messages`. */
|
|
22
23
|
export type CreateTicketMessageResult = operations["create-ticket-message"]["responses"][201]["content"]["application/json"];
|
|
23
|
-
/** `POST /api/v1/tickets/{ticketId}/messages
|
|
24
|
+
/** The request body of `POST /api/v1/tickets/{ticketId}/messages`. */
|
|
24
25
|
export type CreateTicketMessageBody = NonNullable<operations["create-ticket-message"]["requestBody"]>["content"]["application/json"];
|
|
25
|
-
/** `GET /api/v1/tickets/{ticketId}/satisfaction
|
|
26
|
+
/** The success response body of `GET /api/v1/tickets/{ticketId}/satisfaction`. */
|
|
26
27
|
export type GetTicketSatisfactionResult = operations["get-ticket-satisfaction"]["responses"][200]["content"]["application/json"];
|
|
27
|
-
/** `POST /api/v1/tickets/{ticketId}/satisfaction
|
|
28
|
+
/** The success response body of `POST /api/v1/tickets/{ticketId}/satisfaction`. */
|
|
28
29
|
export type CreateTicketSatisfactionResult = operations["create-ticket-satisfaction"]["responses"][201]["content"]["application/json"];
|
|
29
|
-
/** `POST /api/v1/tickets/{ticketId}/satisfaction
|
|
30
|
+
/** The request body of `POST /api/v1/tickets/{ticketId}/satisfaction`. */
|
|
30
31
|
export type CreateTicketSatisfactionBody = NonNullable<operations["create-ticket-satisfaction"]["requestBody"]>["content"]["application/json"];
|
|
31
|
-
/** `GET /api/v1/ticket-categories
|
|
32
|
+
/** The success response body of `GET /api/v1/ticket-categories`. */
|
|
32
33
|
export type ListTicketCategoriesResult = operations["list-ticket-categories"]["responses"][200]["content"]["application/json"];
|
|
33
|
-
/** `GET /api/v1/ticket-categories
|
|
34
|
+
/** The query parameters of `GET /api/v1/ticket-categories`. */
|
|
34
35
|
export type ListTicketCategoriesQuery = operations["list-ticket-categories"]["parameters"]["query"];
|
|
35
|
-
/** `POST /api/v1/attachments
|
|
36
|
+
/** The success response body of `POST /api/v1/attachments`. */
|
|
36
37
|
export type UploadAttachmentResult = operations["upload-attachment"]["responses"][201]["content"]["application/json"];
|
|
37
|
-
/** `POST /api/v1/attachments
|
|
38
|
+
/** The query parameters of `POST /api/v1/attachments`. */
|
|
38
39
|
export type UploadAttachmentQuery = operations["upload-attachment"]["parameters"]["query"];
|
|
39
|
-
/** `GET /api/v1/attachments/{attachmentId}/content
|
|
40
|
+
/** The query parameters of `GET /api/v1/attachments/{attachmentId}/content`. */
|
|
40
41
|
export type DownloadAttachmentQuery = operations["download-attachment"]["parameters"]["query"];
|
|
41
|
-
/** `GET /api/v1/maintenances
|
|
42
|
+
/** The success response body of `GET /api/v1/maintenances`. */
|
|
42
43
|
export type ListMaintenancesResult = operations["list-maintenances"]["responses"][200]["content"]["application/json"];
|
|
43
|
-
/** `GET /api/v1/maintenances
|
|
44
|
+
/** The query parameters of `GET /api/v1/maintenances`. */
|
|
44
45
|
export type ListMaintenancesQuery = operations["list-maintenances"]["parameters"]["query"];
|
|
45
|
-
/** `GET /api/v1/maintenances/{maintenanceId}
|
|
46
|
+
/** The success response body of `GET /api/v1/maintenances/{maintenanceId}`. */
|
|
46
47
|
export type GetMaintenanceResult = operations["get-maintenance"]["responses"][200]["content"]["application/json"];
|
|
47
|
-
/** `GET /api/v1/maintenances/{maintenanceId}/timeline
|
|
48
|
+
/** The success response body of `GET /api/v1/maintenances/{maintenanceId}/timeline`. */
|
|
48
49
|
export type ListMaintenanceTimelineResult = operations["list-maintenance-timeline"]["responses"][200]["content"]["application/json"];
|
|
49
|
-
/** `GET /api/v1/maintenances/{maintenanceId}/timeline
|
|
50
|
+
/** The query parameters of `GET /api/v1/maintenances/{maintenanceId}/timeline`. */
|
|
50
51
|
export type ListMaintenanceTimelineQuery = operations["list-maintenance-timeline"]["parameters"]["query"];
|
package/dist/support/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 tunnel 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://tunnel.leaflow.cloud";
|
|
4
|
+
/** A client for the tunnel service. Pass baseUrl to override the address. */
|
|
5
|
+
export function client(options = {}) {
|
|
6
|
+
return createClient({ baseUrl: defaultBaseUrl, ...options });
|
|
7
|
+
}
|
|
@@ -1,16 +1,17 @@
|
|
|
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/tunnel/l4
|
|
4
|
+
/** The success response body of `GET /api/v1/tunnel/l4`. */
|
|
4
5
|
export type GetL4TunnelResult = operations["get-l4-tunnel"]["responses"][200]["content"]["application/json"];
|
|
5
|
-
/** `POST /api/v1/tunnel/l4
|
|
6
|
+
/** The success response body of `POST /api/v1/tunnel/l4`. */
|
|
6
7
|
export type GenerateL4TunnelResult = operations["generate-l4-tunnel"]["responses"][200]["content"]["application/json"];
|
|
7
|
-
/** `GET /api/v1/tunnel/l4/subscription
|
|
8
|
+
/** The success response body of `GET /api/v1/tunnel/l4/subscription`. */
|
|
8
9
|
export type GetL4TunnelSubscriptionResult = operations["get-l4-tunnel-subscription"]["responses"][200]["content"]["application/json"];
|
|
9
|
-
/** `POST /api/v1/tunnel/l4/subscription/rotate
|
|
10
|
+
/** The success response body of `POST /api/v1/tunnel/l4/subscription/rotate`. */
|
|
10
11
|
export type RotateL4TunnelSubscriptionResult = operations["rotate-l4-tunnel-subscription"]["responses"][200]["content"]["application/json"];
|
|
11
|
-
/** `GET /api/v1/tunnel/l4/usage
|
|
12
|
+
/** The success response body of `GET /api/v1/tunnel/l4/usage`. */
|
|
12
13
|
export type GetL4TunnelUsageResult = operations["get-l4-tunnel-usage"]["responses"][200]["content"]["application/json"];
|
|
13
|
-
/** `GET /api/v1/tunnel/l4/usage/series
|
|
14
|
+
/** The success response body of `GET /api/v1/tunnel/l4/usage/series`. */
|
|
14
15
|
export type ListL4TunnelUsageSeriesResult = operations["list-l4-tunnel-usage-series"]["responses"][200]["content"]["application/json"];
|
|
15
|
-
/** `GET /api/v1/tunnel/l4/usage/series
|
|
16
|
+
/** The query parameters of `GET /api/v1/tunnel/l4/usage/series`. */
|
|
16
17
|
export type ListL4TunnelUsageSeriesQuery = operations["list-l4-tunnel-usage-series"]["parameters"]["query"];
|
package/dist/tunnel/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";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leaflow/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.56.0",
|
|
4
4
|
"description": "Leaflow 平台 API 的 TypeScript SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -52,19 +52,21 @@
|
|
|
52
52
|
"generate": "node scripts/generate.mjs",
|
|
53
53
|
"build": "tsc -p tsconfig.build.json",
|
|
54
54
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
55
|
-
"prepublishOnly": "npm run build"
|
|
55
|
+
"prepublishOnly": "npm run build",
|
|
56
|
+
"format:check": "prettier --check gen scripts"
|
|
56
57
|
},
|
|
57
58
|
"devDependencies": {
|
|
59
|
+
"openapi-fetch": "^0.17.0",
|
|
58
60
|
"openapi-typescript": "7.13.0",
|
|
61
|
+
"prettier": "^3.6.2",
|
|
59
62
|
"typescript": "^5.9.3",
|
|
60
|
-
"openapi-fetch": "^0.17.0",
|
|
61
63
|
"yaml": "^2.8.1"
|
|
62
64
|
},
|
|
63
65
|
"publishConfig": {
|
|
64
66
|
"access": "public"
|
|
65
67
|
},
|
|
66
68
|
"peerDependencies": {
|
|
67
|
-
"openapi-fetch": "
|
|
69
|
+
"openapi-fetch": "^0.17.0"
|
|
68
70
|
},
|
|
69
71
|
"peerDependenciesMeta": {
|
|
70
72
|
"openapi-fetch": {
|