@leaflow/sdk 0.176.0 → 0.178.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/canopy/v1/generated/models.d.ts +209 -9
- package/dist/canopy/v1/generated/models.js +27 -1
- package/dist/canopy/v1/generated/schemas.zod.d.ts +1 -1
- package/dist/canopy/v1/generated/schemas.zod.js +3 -1
- package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.d.ts +9 -0
- package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.d.ts +9 -0
- package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.js +5 -0
- package/dist/canopy/v1/generated/validators/audioCapabilities.zod.d.ts +51 -0
- package/dist/canopy/v1/generated/validators/audioCapabilities.zod.js +67 -0
- package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.d.ts +10 -1
- package/dist/canopy/v1/generated/validators/endpointCapabilities.zod.d.ts +37 -0
- package/dist/canopy/v1/generated/validators/endpointCapabilities.zod.js +20 -0
- package/dist/canopy/v1/generated/validators/imageCapabilities.zod.d.ts +52 -0
- package/dist/canopy/v1/generated/validators/imageCapabilities.zod.js +69 -0
- package/dist/canopy/v1/generated/validators/mediaUsage.zod.d.ts +52 -0
- package/dist/canopy/v1/generated/validators/mediaUsage.zod.js +61 -0
- package/dist/canopy/v1/generated/validators/model.zod.d.ts +50 -0
- package/dist/canopy/v1/generated/validators/modelBilling.zod.d.ts +8 -1
- package/dist/canopy/v1/generated/validators/modelBilling.zod.js +2 -2
- package/dist/canopy/v1/generated/validators/modelCapabilities.zod.d.ts +37 -0
- package/dist/canopy/v1/generated/validators/modelEndpoint.zod.d.ts +13 -0
- package/dist/canopy/v1/generated/validators/modelEndpoint.zod.js +13 -0
- package/dist/canopy/v1/generated/validators/modelList.zod.d.ts +50 -0
- package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.d.ts +58 -1
- package/dist/canopy/v1/generated/validators/modelMeter.zod.d.ts +8 -1
- package/dist/canopy/v1/generated/validators/modelMeter.zod.js +21 -2
- package/dist/canopy/v1/generated/validators/modelParameter.zod.d.ts +58 -0
- package/dist/canopy/v1/generated/validators/modelParameter.zod.js +57 -0
- package/dist/canopy/v1/generated/validators/modelResource.zod.d.ts +58 -1
- package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.d.ts +9 -0
- package/dist/canopy/v1/generated/validators/modelUsageResource.zod.d.ts +9 -0
- package/dist/canopy/v1/generated/validators/modelUsageResource.zod.js +5 -0
- package/dist/canopy/v1/generated/validators/requestResource.zod.d.ts +10 -1
- package/dist/canopy/v1/generated/validators/requestResource.zod.js +8 -1
- package/dist/canopy/v1/generated/validators/totalsResource.zod.d.ts +9 -0
- package/dist/canopy/v1/generated/validators/totalsResource.zod.js +5 -0
- package/dist/canopy/v1/generated/validators/usageBucketResource.zod.d.ts +9 -0
- package/dist/canopy/v1/generated/validators/usageBucketResource.zod.js +5 -0
- package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.d.ts +9 -0
- package/dist/canopy/v1/generated/validators/videoCapabilities.zod.d.ts +51 -0
- package/dist/canopy/v1/generated/validators/videoCapabilities.zod.js +69 -0
- package/dist/eventbus/v1/generated/functions.d.ts +336 -0
- package/dist/eventbus/v1/generated/functions.js +214 -0
- package/dist/eventbus/v1/generated/models.d.ts +364 -0
- package/dist/eventbus/v1/generated/models.js +8 -0
- package/dist/eventbus/v1/generated/schemas.zod.d.ts +138 -0
- package/dist/eventbus/v1/generated/schemas.zod.js +163 -0
- package/dist/eventbus/v1/generated/validators/createEventRequest.zod.d.ts +50 -0
- package/dist/eventbus/v1/generated/validators/createEventRequest.zod.js +59 -0
- package/dist/eventbus/v1/generated/validators/createVersionRequest.zod.d.ts +46 -0
- package/dist/eventbus/v1/generated/validators/createVersionRequest.zod.js +47 -0
- package/dist/eventbus/v1/generated/validators/cursorPagination.zod.d.ts +45 -0
- package/dist/eventbus/v1/generated/validators/cursorPagination.zod.js +45 -0
- package/dist/eventbus/v1/generated/validators/error.zod.d.ts +56 -0
- package/dist/eventbus/v1/generated/validators/error.zod.js +45 -0
- package/dist/eventbus/v1/generated/validators/errorStatus.zod.d.ts +54 -0
- package/dist/eventbus/v1/generated/validators/errorStatus.zod.js +69 -0
- package/dist/eventbus/v1/generated/validators/eventDetail.zod.d.ts +65 -0
- package/dist/eventbus/v1/generated/validators/eventDetail.zod.js +62 -0
- package/dist/eventbus/v1/generated/validators/eventList.zod.d.ts +58 -0
- package/dist/eventbus/v1/generated/validators/eventList.zod.js +50 -0
- package/dist/eventbus/v1/generated/validators/eventResource.zod.d.ts +55 -0
- package/dist/eventbus/v1/generated/validators/eventResource.zod.js +60 -0
- package/dist/eventbus/v1/generated/validators/eventStatus.zod.d.ts +45 -0
- package/dist/eventbus/v1/generated/validators/eventStatus.zod.js +42 -0
- package/dist/eventbus/v1/generated/validators/eventVersion.zod.d.ts +51 -0
- package/dist/eventbus/v1/generated/validators/eventVersion.zod.js +53 -0
- package/dist/eventbus/v1/generated/validators/fieldViolation.zod.d.ts +45 -0
- package/dist/eventbus/v1/generated/validators/fieldViolation.zod.js +48 -0
- package/dist/eventbus/v1/generated/validators/listEventsParams.zod.d.ts +55 -0
- package/dist/eventbus/v1/generated/validators/listEventsParams.zod.js +57 -0
- package/dist/eventbus/v1/generated/validators/offsetPagination.zod.d.ts +47 -0
- package/dist/eventbus/v1/generated/validators/offsetPagination.zod.js +47 -0
- package/dist/eventbus/v1/generated/validators/publishRequest.zod.d.ts +49 -0
- package/dist/eventbus/v1/generated/validators/publishRequest.zod.js +55 -0
- package/dist/eventbus/v1/generated/validators/publishResponse.zod.d.ts +47 -0
- package/dist/eventbus/v1/generated/validators/publishResponse.zod.js +47 -0
- package/dist/eventbus/v1/generated/validators/realtimeTicket.zod.d.ts +46 -0
- package/dist/eventbus/v1/generated/validators/realtimeTicket.zod.js +46 -0
- package/dist/eventbus/v1/generated/validators/updateEventRequest.zod.d.ts +51 -0
- package/dist/eventbus/v1/generated/validators/updateEventRequest.zod.js +54 -0
- package/dist/eventbus/v1/index.d.ts +3 -0
- package/dist/eventbus/v1/index.js +3 -0
- package/dist/iam/v1/generated/functions.d.ts +139 -1
- package/dist/iam/v1/generated/functions.js +151 -0
- package/dist/iam/v1/generated/models.d.ts +96 -0
- package/dist/iam/v1/generated/models.js +13 -0
- package/dist/iam/v1/generated/schemas.zod.d.ts +71 -0
- package/dist/iam/v1/generated/schemas.zod.js +76 -0
- package/dist/iam/v1/generated/validators/applicationResource.zod.d.ts +36 -0
- package/dist/iam/v1/generated/validators/applicationResource.zod.js +27 -0
- package/dist/iam/v1/generated/validators/createApplicationRequestBody.zod.d.ts +28 -0
- package/dist/iam/v1/generated/validators/createApplicationRequestBody.zod.js +26 -0
- package/dist/iam/v1/generated/validators/createApplicationResponseBody.zod.d.ts +39 -0
- package/dist/iam/v1/generated/validators/createApplicationResponseBody.zod.js +23 -0
- package/dist/iam/v1/generated/validators/lengthAwarePageApplicationResource.zod.d.ts +41 -0
- package/dist/iam/v1/generated/validators/lengthAwarePageApplicationResource.zod.js +22 -0
- package/dist/iam/v1/generated/validators/listApplicationsParams.zod.d.ts +28 -0
- package/dist/iam/v1/generated/validators/listApplicationsParams.zod.js +34 -0
- package/dist/iam/v1/generated/validators/rotateApplicationSecretResponseBody.zod.d.ts +21 -0
- package/dist/iam/v1/generated/validators/rotateApplicationSecretResponseBody.zod.js +19 -0
- package/dist/iam/v1/generated/validators/updateApplicationRequestBody.zod.d.ts +24 -0
- package/dist/iam/v1/generated/validators/updateApplicationRequestBody.zod.js +26 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/monitoring/v1/generated/schemas.zod.d.ts +1 -1
- package/dist/monitoring/v1/generated/validators/lengthAwarePageServerResource.zod.d.ts +1 -1
- package/dist/monitoring/v1/generated/validators/listServersParams.zod.d.ts +1 -1
- package/dist/monitoring/v1/generated/validators/serverEnrollmentResponseBody.zod.d.ts +1 -1
- package/dist/monitoring/v1/generated/validators/serverResource.zod.d.ts +1 -1
- package/dist/routes.d.ts +112 -0
- package/dist/routes.js +126 -0
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow IAM API
|
|
5
|
+
* What happens inside a project: members, roles, invitations and SSH keys.
|
|
6
|
+
*
|
|
7
|
+
* Every request carries a scoped token; see the `bearerAuth` security scheme. No path carries a
|
|
8
|
+
* `projectId`, and the current project is the one the token states. Tokens are obtained from the
|
|
9
|
+
* account API.
|
|
10
|
+
*
|
|
11
|
+
* `GET /api/v1/membership` returns the roles and permissions the caller holds in the current
|
|
12
|
+
* project. It does not state whether a given operation is allowed; each service declares which permission its own operations require.
|
|
13
|
+
* OpenAPI spec version: 1.0.0
|
|
14
|
+
*/
|
|
15
|
+
import * as zod from "zod";
|
|
16
|
+
import { ApplicationResource } from "./applicationResource.zod.js";
|
|
17
|
+
export const LengthAwarePageApplicationResource = zod.strictObject({
|
|
18
|
+
items: zod.array(ApplicationResource),
|
|
19
|
+
limit: zod.int(),
|
|
20
|
+
offset: zod.int(),
|
|
21
|
+
total: zod.int(),
|
|
22
|
+
});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow IAM API
|
|
5
|
+
* What happens inside a project: members, roles, invitations and SSH keys.
|
|
6
|
+
*
|
|
7
|
+
* Every request carries a scoped token; see the `bearerAuth` security scheme. No path carries a
|
|
8
|
+
* `projectId`, and the current project is the one the token states. Tokens are obtained from the
|
|
9
|
+
* account API.
|
|
10
|
+
*
|
|
11
|
+
* `GET /api/v1/membership` returns the roles and permissions the caller holds in the current
|
|
12
|
+
* project. It does not state whether a given operation is allowed; each service declares which permission its own operations require.
|
|
13
|
+
* OpenAPI spec version: 1.0.0
|
|
14
|
+
*/
|
|
15
|
+
import * as zod from "zod";
|
|
16
|
+
export declare const listApplicationsParamsLimitDefault = 50;
|
|
17
|
+
export declare const listApplicationsParamsLimitMax = 200;
|
|
18
|
+
export declare const listApplicationsParamsOffsetDefault = 0;
|
|
19
|
+
export declare const listApplicationsParamsOffsetMin = 0;
|
|
20
|
+
export declare const listApplicationsParamsOffsetMax = 10000;
|
|
21
|
+
export declare const listApplicationsParamsIncludeArchivedDefault = false;
|
|
22
|
+
export declare const ListApplicationsParams: zod.ZodObject<{
|
|
23
|
+
limit: zod.ZodDefault<zod.ZodInt>;
|
|
24
|
+
offset: zod.ZodDefault<zod.ZodInt>;
|
|
25
|
+
include_archived: zod.ZodDefault<zod.ZodBoolean>;
|
|
26
|
+
}, zod.z.core.$strict>;
|
|
27
|
+
export type ListApplicationsParams = zod.input<typeof ListApplicationsParams>;
|
|
28
|
+
export type ListApplicationsParamsOutput = zod.output<typeof ListApplicationsParams>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow IAM API
|
|
5
|
+
* What happens inside a project: members, roles, invitations and SSH keys.
|
|
6
|
+
*
|
|
7
|
+
* Every request carries a scoped token; see the `bearerAuth` security scheme. No path carries a
|
|
8
|
+
* `projectId`, and the current project is the one the token states. Tokens are obtained from the
|
|
9
|
+
* account API.
|
|
10
|
+
*
|
|
11
|
+
* `GET /api/v1/membership` returns the roles and permissions the caller holds in the current
|
|
12
|
+
* project. It does not state whether a given operation is allowed; each service declares which permission its own operations require.
|
|
13
|
+
* OpenAPI spec version: 1.0.0
|
|
14
|
+
*/
|
|
15
|
+
import * as zod from "zod";
|
|
16
|
+
export const listApplicationsParamsLimitDefault = 50;
|
|
17
|
+
export const listApplicationsParamsLimitMax = 200;
|
|
18
|
+
export const listApplicationsParamsOffsetDefault = 0;
|
|
19
|
+
export const listApplicationsParamsOffsetMin = 0;
|
|
20
|
+
export const listApplicationsParamsOffsetMax = 10000;
|
|
21
|
+
export const listApplicationsParamsIncludeArchivedDefault = false;
|
|
22
|
+
export const ListApplicationsParams = zod.strictObject({
|
|
23
|
+
limit: zod
|
|
24
|
+
.int()
|
|
25
|
+
.min(1)
|
|
26
|
+
.max(listApplicationsParamsLimitMax)
|
|
27
|
+
.default(listApplicationsParamsLimitDefault),
|
|
28
|
+
offset: zod
|
|
29
|
+
.int()
|
|
30
|
+
.min(listApplicationsParamsOffsetMin)
|
|
31
|
+
.max(listApplicationsParamsOffsetMax)
|
|
32
|
+
.default(listApplicationsParamsOffsetDefault),
|
|
33
|
+
include_archived: zod.boolean().default(listApplicationsParamsIncludeArchivedDefault),
|
|
34
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow IAM API
|
|
5
|
+
* What happens inside a project: members, roles, invitations and SSH keys.
|
|
6
|
+
*
|
|
7
|
+
* Every request carries a scoped token; see the `bearerAuth` security scheme. No path carries a
|
|
8
|
+
* `projectId`, and the current project is the one the token states. Tokens are obtained from the
|
|
9
|
+
* account API.
|
|
10
|
+
*
|
|
11
|
+
* `GET /api/v1/membership` returns the roles and permissions the caller holds in the current
|
|
12
|
+
* project. It does not state whether a given operation is allowed; each service declares which permission its own operations require.
|
|
13
|
+
* OpenAPI spec version: 1.0.0
|
|
14
|
+
*/
|
|
15
|
+
import * as zod from "zod";
|
|
16
|
+
export declare const RotateApplicationSecretResponseBody: zod.ZodObject<{
|
|
17
|
+
secret: zod.ZodString;
|
|
18
|
+
rotated_at: zod.z.ZodISODateTime;
|
|
19
|
+
}, zod.z.core.$strict>;
|
|
20
|
+
export type RotateApplicationSecretResponseBody = zod.input<typeof RotateApplicationSecretResponseBody>;
|
|
21
|
+
export type RotateApplicationSecretResponseBodyOutput = zod.output<typeof RotateApplicationSecretResponseBody>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow IAM API
|
|
5
|
+
* What happens inside a project: members, roles, invitations and SSH keys.
|
|
6
|
+
*
|
|
7
|
+
* Every request carries a scoped token; see the `bearerAuth` security scheme. No path carries a
|
|
8
|
+
* `projectId`, and the current project is the one the token states. Tokens are obtained from the
|
|
9
|
+
* account API.
|
|
10
|
+
*
|
|
11
|
+
* `GET /api/v1/membership` returns the roles and permissions the caller holds in the current
|
|
12
|
+
* project. It does not state whether a given operation is allowed; each service declares which permission its own operations require.
|
|
13
|
+
* OpenAPI spec version: 1.0.0
|
|
14
|
+
*/
|
|
15
|
+
import * as zod from "zod";
|
|
16
|
+
export const RotateApplicationSecretResponseBody = zod.strictObject({
|
|
17
|
+
secret: zod.string(),
|
|
18
|
+
rotated_at: zod.iso.datetime({ offset: true }),
|
|
19
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow IAM API
|
|
5
|
+
* What happens inside a project: members, roles, invitations and SSH keys.
|
|
6
|
+
*
|
|
7
|
+
* Every request carries a scoped token; see the `bearerAuth` security scheme. No path carries a
|
|
8
|
+
* `projectId`, and the current project is the one the token states. Tokens are obtained from the
|
|
9
|
+
* account API.
|
|
10
|
+
*
|
|
11
|
+
* `GET /api/v1/membership` returns the roles and permissions the caller holds in the current
|
|
12
|
+
* project. It does not state whether a given operation is allowed; each service declares which permission its own operations require.
|
|
13
|
+
* OpenAPI spec version: 1.0.0
|
|
14
|
+
*/
|
|
15
|
+
import * as zod from "zod";
|
|
16
|
+
export declare const updateApplicationRequestBodyNameMax = 128;
|
|
17
|
+
export declare const updateApplicationRequestBodyRedirectUrisItemMax = 2048;
|
|
18
|
+
export declare const updateApplicationRequestBodyRedirectUrisMax = 10;
|
|
19
|
+
export declare const UpdateApplicationRequestBody: zod.ZodObject<{
|
|
20
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
21
|
+
redirect_uris: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
22
|
+
}, zod.z.core.$strict>;
|
|
23
|
+
export type UpdateApplicationRequestBody = zod.input<typeof UpdateApplicationRequestBody>;
|
|
24
|
+
export type UpdateApplicationRequestBodyOutput = zod.output<typeof UpdateApplicationRequestBody>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow IAM API
|
|
5
|
+
* What happens inside a project: members, roles, invitations and SSH keys.
|
|
6
|
+
*
|
|
7
|
+
* Every request carries a scoped token; see the `bearerAuth` security scheme. No path carries a
|
|
8
|
+
* `projectId`, and the current project is the one the token states. Tokens are obtained from the
|
|
9
|
+
* account API.
|
|
10
|
+
*
|
|
11
|
+
* `GET /api/v1/membership` returns the roles and permissions the caller holds in the current
|
|
12
|
+
* project. It does not state whether a given operation is allowed; each service declares which permission its own operations require.
|
|
13
|
+
* OpenAPI spec version: 1.0.0
|
|
14
|
+
*/
|
|
15
|
+
import * as zod from "zod";
|
|
16
|
+
export const updateApplicationRequestBodyNameMax = 128;
|
|
17
|
+
export const updateApplicationRequestBodyRedirectUrisItemMax = 2048;
|
|
18
|
+
export const updateApplicationRequestBodyRedirectUrisMax = 10;
|
|
19
|
+
export const UpdateApplicationRequestBody = zod.strictObject({
|
|
20
|
+
name: zod.string().min(1).max(updateApplicationRequestBodyNameMax).optional(),
|
|
21
|
+
redirect_uris: zod
|
|
22
|
+
.array(zod.string().min(1).max(updateApplicationRequestBodyRedirectUrisItemMax))
|
|
23
|
+
.min(1)
|
|
24
|
+
.max(updateApplicationRequestBodyRedirectUrisMax)
|
|
25
|
+
.optional(),
|
|
26
|
+
});
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * as billing from "./billing/v1/index.js";
|
|
|
4
4
|
export * as canopy from "./canopy/v1/index.js";
|
|
5
5
|
export * as compute from "./compute/v2/index.js";
|
|
6
6
|
export * as dns from "./dns/v1/index.js";
|
|
7
|
+
export * as eventbus from "./eventbus/v1/index.js";
|
|
7
8
|
export * as iam from "./iam/v1/index.js";
|
|
8
9
|
export * as membership from "./membership/v1/index.js";
|
|
9
10
|
export * as monitoring from "./monitoring/v1/index.js";
|
package/dist/index.js
CHANGED
|
@@ -4,6 +4,7 @@ export * as billing from "./billing/v1/index.js";
|
|
|
4
4
|
export * as canopy from "./canopy/v1/index.js";
|
|
5
5
|
export * as compute from "./compute/v2/index.js";
|
|
6
6
|
export * as dns from "./dns/v1/index.js";
|
|
7
|
+
export * as eventbus from "./eventbus/v1/index.js";
|
|
7
8
|
export * as iam from "./iam/v1/index.js";
|
|
8
9
|
export * as membership from "./membership/v1/index.js";
|
|
9
10
|
export * as monitoring from "./monitoring/v1/index.js";
|
|
@@ -266,8 +266,8 @@ export declare const ListServersQueryParams: zod.ZodObject<{
|
|
|
266
266
|
monitoring_status: zod.ZodOptional<zod.ZodEnum<{
|
|
267
267
|
ACTIVE: "ACTIVE";
|
|
268
268
|
PENDING: "PENDING";
|
|
269
|
-
FAILED: "FAILED";
|
|
270
269
|
DISABLED: "DISABLED";
|
|
270
|
+
FAILED: "FAILED";
|
|
271
271
|
}>>;
|
|
272
272
|
}, zod.z.core.$strict>;
|
|
273
273
|
/**
|
|
@@ -38,8 +38,8 @@ export declare const LengthAwarePageServerResource: zod.ZodObject<{
|
|
|
38
38
|
monitoring_status: zod.ZodEnum<{
|
|
39
39
|
ACTIVE: "ACTIVE";
|
|
40
40
|
PENDING: "PENDING";
|
|
41
|
-
FAILED: "FAILED";
|
|
42
41
|
DISABLED: "DISABLED";
|
|
42
|
+
FAILED: "FAILED";
|
|
43
43
|
}>;
|
|
44
44
|
name: zod.ZodString;
|
|
45
45
|
project_id: zod.ZodUUID;
|
|
@@ -32,8 +32,8 @@ export declare const ListServersParams: zod.ZodObject<{
|
|
|
32
32
|
monitoring_status: zod.ZodOptional<zod.ZodEnum<{
|
|
33
33
|
ACTIVE: "ACTIVE";
|
|
34
34
|
PENDING: "PENDING";
|
|
35
|
-
FAILED: "FAILED";
|
|
36
35
|
DISABLED: "DISABLED";
|
|
36
|
+
FAILED: "FAILED";
|
|
37
37
|
}>>;
|
|
38
38
|
}, zod.z.core.$strict>;
|
|
39
39
|
export type ListServersParams = zod.input<typeof ListServersParams>;
|
|
@@ -46,8 +46,8 @@ export declare const ServerEnrollmentResponseBody: zod.ZodObject<{
|
|
|
46
46
|
monitoring_status: zod.ZodEnum<{
|
|
47
47
|
ACTIVE: "ACTIVE";
|
|
48
48
|
PENDING: "PENDING";
|
|
49
|
-
FAILED: "FAILED";
|
|
50
49
|
DISABLED: "DISABLED";
|
|
50
|
+
FAILED: "FAILED";
|
|
51
51
|
}>;
|
|
52
52
|
name: zod.ZodString;
|
|
53
53
|
project_id: zod.ZodUUID;
|
|
@@ -37,8 +37,8 @@ export declare const ServerResource: zod.ZodObject<{
|
|
|
37
37
|
monitoring_status: zod.ZodEnum<{
|
|
38
38
|
ACTIVE: "ACTIVE";
|
|
39
39
|
PENDING: "PENDING";
|
|
40
|
-
FAILED: "FAILED";
|
|
41
40
|
DISABLED: "DISABLED";
|
|
41
|
+
FAILED: "FAILED";
|
|
42
42
|
}>;
|
|
43
43
|
name: zod.ZodString;
|
|
44
44
|
project_id: zod.ZodUUID;
|
package/dist/routes.d.ts
CHANGED
|
@@ -2757,6 +2757,70 @@ export declare const routes: readonly [{
|
|
|
2757
2757
|
readonly operationId: "delete-record-set";
|
|
2758
2758
|
readonly securityScheme: "ScopedToken";
|
|
2759
2759
|
readonly upstreamUrl: "https://dns.leaflow.cloud";
|
|
2760
|
+
}, {
|
|
2761
|
+
readonly service: "eventbus";
|
|
2762
|
+
readonly contract: "eventbus";
|
|
2763
|
+
readonly method: "GET";
|
|
2764
|
+
readonly path: "/api/v1/events";
|
|
2765
|
+
readonly operationId: "list-events";
|
|
2766
|
+
readonly securityScheme: "ScopedToken";
|
|
2767
|
+
readonly upstreamUrl: "https://eventbus.leaflow.cloud";
|
|
2768
|
+
}, {
|
|
2769
|
+
readonly service: "eventbus";
|
|
2770
|
+
readonly contract: "eventbus";
|
|
2771
|
+
readonly method: "POST";
|
|
2772
|
+
readonly path: "/api/v1/events";
|
|
2773
|
+
readonly operationId: "create-event";
|
|
2774
|
+
readonly securityScheme: "ScopedToken";
|
|
2775
|
+
readonly upstreamUrl: "https://eventbus.leaflow.cloud";
|
|
2776
|
+
}, {
|
|
2777
|
+
readonly service: "eventbus";
|
|
2778
|
+
readonly contract: "eventbus";
|
|
2779
|
+
readonly method: "GET";
|
|
2780
|
+
readonly path: "/api/v1/events/{eventName}";
|
|
2781
|
+
readonly operationId: "get-event";
|
|
2782
|
+
readonly securityScheme: "ScopedToken";
|
|
2783
|
+
readonly upstreamUrl: "https://eventbus.leaflow.cloud";
|
|
2784
|
+
}, {
|
|
2785
|
+
readonly service: "eventbus";
|
|
2786
|
+
readonly contract: "eventbus";
|
|
2787
|
+
readonly method: "PATCH";
|
|
2788
|
+
readonly path: "/api/v1/events/{eventName}";
|
|
2789
|
+
readonly operationId: "update-event";
|
|
2790
|
+
readonly securityScheme: "ScopedToken";
|
|
2791
|
+
readonly upstreamUrl: "https://eventbus.leaflow.cloud";
|
|
2792
|
+
}, {
|
|
2793
|
+
readonly service: "eventbus";
|
|
2794
|
+
readonly contract: "eventbus";
|
|
2795
|
+
readonly method: "POST";
|
|
2796
|
+
readonly path: "/api/v1/events/{eventName}/versions";
|
|
2797
|
+
readonly operationId: "create-event-version";
|
|
2798
|
+
readonly securityScheme: "ScopedToken";
|
|
2799
|
+
readonly upstreamUrl: "https://eventbus.leaflow.cloud";
|
|
2800
|
+
}, {
|
|
2801
|
+
readonly service: "eventbus";
|
|
2802
|
+
readonly contract: "eventbus";
|
|
2803
|
+
readonly method: "GET";
|
|
2804
|
+
readonly path: "/api/v1/events/{eventName}/versions/{version}";
|
|
2805
|
+
readonly operationId: "get-event-version";
|
|
2806
|
+
readonly securityScheme: "ScopedToken";
|
|
2807
|
+
readonly upstreamUrl: "https://eventbus.leaflow.cloud";
|
|
2808
|
+
}, {
|
|
2809
|
+
readonly service: "eventbus";
|
|
2810
|
+
readonly contract: "eventbus";
|
|
2811
|
+
readonly method: "POST";
|
|
2812
|
+
readonly path: "/api/v1/events/{eventName}:publish";
|
|
2813
|
+
readonly operationId: "publish-event";
|
|
2814
|
+
readonly securityScheme: "ScopedToken";
|
|
2815
|
+
readonly upstreamUrl: "https://eventbus.leaflow.cloud";
|
|
2816
|
+
}, {
|
|
2817
|
+
readonly service: "eventbus";
|
|
2818
|
+
readonly contract: "eventbus";
|
|
2819
|
+
readonly method: "POST";
|
|
2820
|
+
readonly path: "/api/v1/realtime/tickets";
|
|
2821
|
+
readonly operationId: "create-realtime-ticket";
|
|
2822
|
+
readonly securityScheme: "ScopedToken";
|
|
2823
|
+
readonly upstreamUrl: "https://eventbus.leaflow.cloud";
|
|
2760
2824
|
}, {
|
|
2761
2825
|
readonly service: "iam";
|
|
2762
2826
|
readonly contract: "iam";
|
|
@@ -3005,6 +3069,54 @@ export declare const routes: readonly [{
|
|
|
3005
3069
|
readonly operationId: "revoke-ssh-key";
|
|
3006
3070
|
readonly securityScheme: "ScopedToken";
|
|
3007
3071
|
readonly upstreamUrl: "https://iam.leaflow.cloud";
|
|
3072
|
+
}, {
|
|
3073
|
+
readonly service: "iam";
|
|
3074
|
+
readonly contract: "iam";
|
|
3075
|
+
readonly method: "GET";
|
|
3076
|
+
readonly path: "/api/v1/applications";
|
|
3077
|
+
readonly operationId: "list-applications";
|
|
3078
|
+
readonly securityScheme: "ScopedToken";
|
|
3079
|
+
readonly upstreamUrl: "https://iam.leaflow.cloud";
|
|
3080
|
+
}, {
|
|
3081
|
+
readonly service: "iam";
|
|
3082
|
+
readonly contract: "iam";
|
|
3083
|
+
readonly method: "POST";
|
|
3084
|
+
readonly path: "/api/v1/applications";
|
|
3085
|
+
readonly operationId: "create-application";
|
|
3086
|
+
readonly securityScheme: "ScopedToken";
|
|
3087
|
+
readonly upstreamUrl: "https://iam.leaflow.cloud";
|
|
3088
|
+
}, {
|
|
3089
|
+
readonly service: "iam";
|
|
3090
|
+
readonly contract: "iam";
|
|
3091
|
+
readonly method: "GET";
|
|
3092
|
+
readonly path: "/api/v1/applications/{applicationId}";
|
|
3093
|
+
readonly operationId: "get-application";
|
|
3094
|
+
readonly securityScheme: "ScopedToken";
|
|
3095
|
+
readonly upstreamUrl: "https://iam.leaflow.cloud";
|
|
3096
|
+
}, {
|
|
3097
|
+
readonly service: "iam";
|
|
3098
|
+
readonly contract: "iam";
|
|
3099
|
+
readonly method: "PATCH";
|
|
3100
|
+
readonly path: "/api/v1/applications/{applicationId}";
|
|
3101
|
+
readonly operationId: "update-application";
|
|
3102
|
+
readonly securityScheme: "ScopedToken";
|
|
3103
|
+
readonly upstreamUrl: "https://iam.leaflow.cloud";
|
|
3104
|
+
}, {
|
|
3105
|
+
readonly service: "iam";
|
|
3106
|
+
readonly contract: "iam";
|
|
3107
|
+
readonly method: "DELETE";
|
|
3108
|
+
readonly path: "/api/v1/applications/{applicationId}";
|
|
3109
|
+
readonly operationId: "delete-application";
|
|
3110
|
+
readonly securityScheme: "ScopedToken";
|
|
3111
|
+
readonly upstreamUrl: "https://iam.leaflow.cloud";
|
|
3112
|
+
}, {
|
|
3113
|
+
readonly service: "iam";
|
|
3114
|
+
readonly contract: "iam";
|
|
3115
|
+
readonly method: "POST";
|
|
3116
|
+
readonly path: "/api/v1/applications/{applicationId}:rotateSecret";
|
|
3117
|
+
readonly operationId: "rotate-application-secret";
|
|
3118
|
+
readonly securityScheme: "ScopedToken";
|
|
3119
|
+
readonly upstreamUrl: "https://iam.leaflow.cloud";
|
|
3008
3120
|
}, {
|
|
3009
3121
|
readonly service: "membership";
|
|
3010
3122
|
readonly contract: "membership";
|
package/dist/routes.js
CHANGED
|
@@ -3102,6 +3102,78 @@ export const routes = [
|
|
|
3102
3102
|
securityScheme: "ScopedToken",
|
|
3103
3103
|
upstreamUrl: "https://dns.leaflow.cloud",
|
|
3104
3104
|
},
|
|
3105
|
+
{
|
|
3106
|
+
service: "eventbus",
|
|
3107
|
+
contract: "eventbus",
|
|
3108
|
+
method: "GET",
|
|
3109
|
+
path: "/api/v1/events",
|
|
3110
|
+
operationId: "list-events",
|
|
3111
|
+
securityScheme: "ScopedToken",
|
|
3112
|
+
upstreamUrl: "https://eventbus.leaflow.cloud",
|
|
3113
|
+
},
|
|
3114
|
+
{
|
|
3115
|
+
service: "eventbus",
|
|
3116
|
+
contract: "eventbus",
|
|
3117
|
+
method: "POST",
|
|
3118
|
+
path: "/api/v1/events",
|
|
3119
|
+
operationId: "create-event",
|
|
3120
|
+
securityScheme: "ScopedToken",
|
|
3121
|
+
upstreamUrl: "https://eventbus.leaflow.cloud",
|
|
3122
|
+
},
|
|
3123
|
+
{
|
|
3124
|
+
service: "eventbus",
|
|
3125
|
+
contract: "eventbus",
|
|
3126
|
+
method: "GET",
|
|
3127
|
+
path: "/api/v1/events/{eventName}",
|
|
3128
|
+
operationId: "get-event",
|
|
3129
|
+
securityScheme: "ScopedToken",
|
|
3130
|
+
upstreamUrl: "https://eventbus.leaflow.cloud",
|
|
3131
|
+
},
|
|
3132
|
+
{
|
|
3133
|
+
service: "eventbus",
|
|
3134
|
+
contract: "eventbus",
|
|
3135
|
+
method: "PATCH",
|
|
3136
|
+
path: "/api/v1/events/{eventName}",
|
|
3137
|
+
operationId: "update-event",
|
|
3138
|
+
securityScheme: "ScopedToken",
|
|
3139
|
+
upstreamUrl: "https://eventbus.leaflow.cloud",
|
|
3140
|
+
},
|
|
3141
|
+
{
|
|
3142
|
+
service: "eventbus",
|
|
3143
|
+
contract: "eventbus",
|
|
3144
|
+
method: "POST",
|
|
3145
|
+
path: "/api/v1/events/{eventName}/versions",
|
|
3146
|
+
operationId: "create-event-version",
|
|
3147
|
+
securityScheme: "ScopedToken",
|
|
3148
|
+
upstreamUrl: "https://eventbus.leaflow.cloud",
|
|
3149
|
+
},
|
|
3150
|
+
{
|
|
3151
|
+
service: "eventbus",
|
|
3152
|
+
contract: "eventbus",
|
|
3153
|
+
method: "GET",
|
|
3154
|
+
path: "/api/v1/events/{eventName}/versions/{version}",
|
|
3155
|
+
operationId: "get-event-version",
|
|
3156
|
+
securityScheme: "ScopedToken",
|
|
3157
|
+
upstreamUrl: "https://eventbus.leaflow.cloud",
|
|
3158
|
+
},
|
|
3159
|
+
{
|
|
3160
|
+
service: "eventbus",
|
|
3161
|
+
contract: "eventbus",
|
|
3162
|
+
method: "POST",
|
|
3163
|
+
path: "/api/v1/events/{eventName}:publish",
|
|
3164
|
+
operationId: "publish-event",
|
|
3165
|
+
securityScheme: "ScopedToken",
|
|
3166
|
+
upstreamUrl: "https://eventbus.leaflow.cloud",
|
|
3167
|
+
},
|
|
3168
|
+
{
|
|
3169
|
+
service: "eventbus",
|
|
3170
|
+
contract: "eventbus",
|
|
3171
|
+
method: "POST",
|
|
3172
|
+
path: "/api/v1/realtime/tickets",
|
|
3173
|
+
operationId: "create-realtime-ticket",
|
|
3174
|
+
securityScheme: "ScopedToken",
|
|
3175
|
+
upstreamUrl: "https://eventbus.leaflow.cloud",
|
|
3176
|
+
},
|
|
3105
3177
|
{
|
|
3106
3178
|
service: "iam",
|
|
3107
3179
|
contract: "iam",
|
|
@@ -3381,6 +3453,60 @@ export const routes = [
|
|
|
3381
3453
|
securityScheme: "ScopedToken",
|
|
3382
3454
|
upstreamUrl: "https://iam.leaflow.cloud",
|
|
3383
3455
|
},
|
|
3456
|
+
{
|
|
3457
|
+
service: "iam",
|
|
3458
|
+
contract: "iam",
|
|
3459
|
+
method: "GET",
|
|
3460
|
+
path: "/api/v1/applications",
|
|
3461
|
+
operationId: "list-applications",
|
|
3462
|
+
securityScheme: "ScopedToken",
|
|
3463
|
+
upstreamUrl: "https://iam.leaflow.cloud",
|
|
3464
|
+
},
|
|
3465
|
+
{
|
|
3466
|
+
service: "iam",
|
|
3467
|
+
contract: "iam",
|
|
3468
|
+
method: "POST",
|
|
3469
|
+
path: "/api/v1/applications",
|
|
3470
|
+
operationId: "create-application",
|
|
3471
|
+
securityScheme: "ScopedToken",
|
|
3472
|
+
upstreamUrl: "https://iam.leaflow.cloud",
|
|
3473
|
+
},
|
|
3474
|
+
{
|
|
3475
|
+
service: "iam",
|
|
3476
|
+
contract: "iam",
|
|
3477
|
+
method: "GET",
|
|
3478
|
+
path: "/api/v1/applications/{applicationId}",
|
|
3479
|
+
operationId: "get-application",
|
|
3480
|
+
securityScheme: "ScopedToken",
|
|
3481
|
+
upstreamUrl: "https://iam.leaflow.cloud",
|
|
3482
|
+
},
|
|
3483
|
+
{
|
|
3484
|
+
service: "iam",
|
|
3485
|
+
contract: "iam",
|
|
3486
|
+
method: "PATCH",
|
|
3487
|
+
path: "/api/v1/applications/{applicationId}",
|
|
3488
|
+
operationId: "update-application",
|
|
3489
|
+
securityScheme: "ScopedToken",
|
|
3490
|
+
upstreamUrl: "https://iam.leaflow.cloud",
|
|
3491
|
+
},
|
|
3492
|
+
{
|
|
3493
|
+
service: "iam",
|
|
3494
|
+
contract: "iam",
|
|
3495
|
+
method: "DELETE",
|
|
3496
|
+
path: "/api/v1/applications/{applicationId}",
|
|
3497
|
+
operationId: "delete-application",
|
|
3498
|
+
securityScheme: "ScopedToken",
|
|
3499
|
+
upstreamUrl: "https://iam.leaflow.cloud",
|
|
3500
|
+
},
|
|
3501
|
+
{
|
|
3502
|
+
service: "iam",
|
|
3503
|
+
contract: "iam",
|
|
3504
|
+
method: "POST",
|
|
3505
|
+
path: "/api/v1/applications/{applicationId}:rotateSecret",
|
|
3506
|
+
operationId: "rotate-application-secret",
|
|
3507
|
+
securityScheme: "ScopedToken",
|
|
3508
|
+
upstreamUrl: "https://iam.leaflow.cloud",
|
|
3509
|
+
},
|
|
3384
3510
|
{
|
|
3385
3511
|
service: "membership",
|
|
3386
3512
|
contract: "membership",
|