@rstreamlabs/tunnels 1.0.6 → 1.0.7
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/chunk-OPJKEDVS.mjs +739 -0
- package/dist/index.d.mts +73 -1
- package/dist/index.d.ts +73 -1
- package/dist/index.js +408 -32
- package/dist/index.mjs +90 -418
- package/dist/openapi.d.mts +310 -0
- package/dist/openapi.d.ts +310 -0
- package/dist/openapi.js +753 -0
- package/dist/openapi.mjs +8 -0
- package/package.json +6 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { RstreamCredentials, TURNCredentials, ClientCredentials } from '@rstreamlabs/rstream';
|
|
2
2
|
import * as z from 'zod';
|
|
3
3
|
import { JwtPayload } from 'jsonwebtoken';
|
|
4
|
+
export { engineOpenApiDocument, engineOpenApiJson } from './openapi.mjs';
|
|
4
5
|
|
|
5
6
|
declare const StringFilter: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
6
7
|
exact: z.ZodString;
|
|
@@ -3949,10 +3950,37 @@ declare const clientSchema: z.ZodObject<{
|
|
|
3949
3950
|
protocol_version: z.ZodOptional<z.ZodString>;
|
|
3950
3951
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3951
3952
|
}, z.core.$strip>;
|
|
3953
|
+
declare const clientFilterSchema: z.ZodObject<{
|
|
3954
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3955
|
+
user_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3956
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
3957
|
+
online: "online";
|
|
3958
|
+
offline: "offline";
|
|
3959
|
+
}>>;
|
|
3960
|
+
labels: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3961
|
+
agent: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3962
|
+
channel: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3963
|
+
version: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3964
|
+
os: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3965
|
+
arch: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3966
|
+
protocol_version: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3967
|
+
}, z.core.$strip>;
|
|
3952
3968
|
declare const listClientsParamsSchema: z.ZodObject<{
|
|
3953
3969
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
3954
3970
|
filters: z.ZodOptional<z.ZodObject<{
|
|
3971
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3972
|
+
user_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3973
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
3974
|
+
online: "online";
|
|
3975
|
+
offline: "offline";
|
|
3976
|
+
}>>;
|
|
3955
3977
|
labels: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3978
|
+
agent: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3979
|
+
channel: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3980
|
+
version: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3981
|
+
os: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3982
|
+
arch: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3983
|
+
protocol_version: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3956
3984
|
}, z.core.$strip>>;
|
|
3957
3985
|
}, z.core.$strip>;
|
|
3958
3986
|
declare const listClientsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
@@ -3977,6 +4005,7 @@ declare const listClientsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
3977
4005
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3978
4006
|
}, z.core.$strip>>;
|
|
3979
4007
|
type Client = z.infer<typeof clientSchema>;
|
|
4008
|
+
type ClientFilter = z.infer<typeof clientFilterSchema>;
|
|
3980
4009
|
type ListClientsParams = z.infer<typeof listClientsParamsSchema>;
|
|
3981
4010
|
type ListClientsResponse = z.infer<typeof listClientsResponseSchema>;
|
|
3982
4011
|
|
|
@@ -4041,14 +4070,50 @@ declare const tunnelSchema: z.ZodObject<{
|
|
|
4041
4070
|
rstream_auth: z.ZodOptional<z.ZodBoolean>;
|
|
4042
4071
|
challenge_mode: z.ZodOptional<z.ZodBoolean>;
|
|
4043
4072
|
}, z.core.$strip>;
|
|
4073
|
+
declare const tunnelFilterSchema: z.ZodObject<{
|
|
4074
|
+
type: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
4075
|
+
bytestream: "bytestream";
|
|
4076
|
+
datagram: "datagram";
|
|
4077
|
+
}>>>;
|
|
4078
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4079
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
4080
|
+
user_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4081
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
4082
|
+
online: "online";
|
|
4083
|
+
offline: "offline";
|
|
4084
|
+
}>>;
|
|
4085
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4086
|
+
publish: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4087
|
+
protocol: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
4088
|
+
tls: "tls";
|
|
4089
|
+
dtls: "dtls";
|
|
4090
|
+
quic: "quic";
|
|
4091
|
+
http: "http";
|
|
4092
|
+
}>>>;
|
|
4093
|
+
labels: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
4094
|
+
hostname: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4095
|
+
http_version: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
4096
|
+
"http/1.1": "http/1.1";
|
|
4097
|
+
h2: "h2";
|
|
4098
|
+
h2c: "h2c";
|
|
4099
|
+
h3: "h3";
|
|
4100
|
+
}>>>;
|
|
4101
|
+
}, z.core.$strip>;
|
|
4044
4102
|
declare const listTunnelsParamsSchema: z.ZodObject<{
|
|
4045
4103
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
4046
4104
|
filters: z.ZodOptional<z.ZodObject<{
|
|
4105
|
+
type: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
4106
|
+
bytestream: "bytestream";
|
|
4107
|
+
datagram: "datagram";
|
|
4108
|
+
}>>>;
|
|
4109
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4047
4110
|
client_id: z.ZodOptional<z.ZodString>;
|
|
4111
|
+
user_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4048
4112
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4049
4113
|
online: "online";
|
|
4050
4114
|
offline: "offline";
|
|
4051
4115
|
}>>;
|
|
4116
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4052
4117
|
publish: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4053
4118
|
protocol: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
4054
4119
|
tls: "tls";
|
|
@@ -4058,6 +4123,12 @@ declare const listTunnelsParamsSchema: z.ZodObject<{
|
|
|
4058
4123
|
}>>>;
|
|
4059
4124
|
labels: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
4060
4125
|
hostname: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4126
|
+
http_version: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
4127
|
+
"http/1.1": "http/1.1";
|
|
4128
|
+
h2: "h2";
|
|
4129
|
+
h2c: "h2c";
|
|
4130
|
+
h3: "h3";
|
|
4131
|
+
}>>>;
|
|
4061
4132
|
}, z.core.$strip>>;
|
|
4062
4133
|
}, z.core.$strip>;
|
|
4063
4134
|
declare const listTunnelsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
@@ -4115,6 +4186,7 @@ declare const listTunnelsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
4115
4186
|
challenge_mode: z.ZodOptional<z.ZodBoolean>;
|
|
4116
4187
|
}, z.core.$strip>>;
|
|
4117
4188
|
type Tunnel = z.infer<typeof tunnelSchema>;
|
|
4189
|
+
type TunnelFilter = z.infer<typeof tunnelFilterSchema>;
|
|
4118
4190
|
declare function formatTunnelHost(tunnel: Pick<Tunnel, "host" | "hostname" | "port">): string | undefined;
|
|
4119
4191
|
type ListTunnelsParams = z.infer<typeof listTunnelsParamsSchema>;
|
|
4120
4192
|
type ListTunnelsResponse = z.infer<typeof listTunnelsResponseSchema>;
|
|
@@ -7236,4 +7308,4 @@ declare const webttyServerSchema: z.ZodObject<{
|
|
|
7236
7308
|
type WebTTYServer = z.infer<typeof webttyServerSchema>;
|
|
7237
7309
|
declare function parseWebTTYServers(tunnels: Tunnel[]): WebTTYServer[];
|
|
7238
7310
|
|
|
7239
|
-
export { type Client, type CreateAPITURNCredentialsOptions, type CreateAPPTURNCredentialsOptions, type CreateAuthTokenParams, type CreateAuthTokenResponse, type CreatePATTURNCredentialsOptions, type CreateTURNCredentialsOptions, type Event, type InitialState, type ListClientsParams, type ListClientsResponse, type ListTunnelsParams, type ListTunnelsResponse, type RstreamAuth, type RstreamAuthJwtPayload, RstreamAuthResource, RstreamAuthResource as RstreamAuthRessource, type RstreamAuthToken, type RstreamAuthTokenPermissions, type RstreamAuthTokenScopes, type RstreamAuthTokenTunnelGrant, RstreamTunnelsClient as RstreamClient, RstreamClientsResource, RstreamClientsResource as RstreamClientsRessource, RstreamTURNResource, RstreamTunnelsClient, type RstreamTunnelsConfig, RstreamTunnelsResource, RstreamTunnelsResource as RstreamTunnelsRessource, RstreamWebhookResource, RstreamWebhookResource as RstreamWebhookRessource, type StreamEndpoint, type StreamSummary, type StreamTLSInfo, type TURNCredentialMode, type Token, type Tunnel, RstreamTunnelsClient as Tunnels, type TunnelsResolutionConfig, Watch, type WatchConfig, type WatchWsEvents, type WebTTYServer, type WebhookEvent, type WsEvent, authTokenPermissionsSchema, authTokenSchema, authTokenScopesSchema, authTokenTunnelGrantSchema, authTokenTunnelsScopesSchema, clientSchema, createAPITURNCredentials, createAPPTURNCredentials, createAuthTokenFromClientCredentials, createAuthTokenParamsSchema, createAuthTokenResponseSchema, createPATTURNCredentials, createTURNCredentials, eventSchema, formatTunnelHost, listClientsParamsSchema, listClientsResponseSchema, listTunnelsParamsSchema, listTunnelsResponseSchema, parseWebTTYServers, resolveControlPlaneCredentials, resolveTunnelsAPIURL, resolveTunnelsCredentials, resolveTunnelsEngine, streamEndpointSchema, streamSummarySchema, streamTLSInfoSchema, tokenSchema, tunnelSchema, turnCredentialModeSchema, webhookEventsSchema, webttyServerSchema, wsEventsSchema };
|
|
7311
|
+
export { type Client, type ClientFilter, type CreateAPITURNCredentialsOptions, type CreateAPPTURNCredentialsOptions, type CreateAuthTokenParams, type CreateAuthTokenResponse, type CreatePATTURNCredentialsOptions, type CreateTURNCredentialsOptions, type Event, type InitialState, type ListClientsParams, type ListClientsResponse, type ListTunnelsParams, type ListTunnelsResponse, type RstreamAuth, type RstreamAuthJwtPayload, RstreamAuthResource, RstreamAuthResource as RstreamAuthRessource, type RstreamAuthToken, type RstreamAuthTokenPermissions, type RstreamAuthTokenScopes, type RstreamAuthTokenTunnelGrant, RstreamTunnelsClient as RstreamClient, RstreamClientsResource, RstreamClientsResource as RstreamClientsRessource, RstreamTURNResource, RstreamTunnelsClient, type RstreamTunnelsConfig, RstreamTunnelsResource, RstreamTunnelsResource as RstreamTunnelsRessource, RstreamWebhookResource, RstreamWebhookResource as RstreamWebhookRessource, type StreamEndpoint, type StreamSummary, type StreamTLSInfo, type TURNCredentialMode, type Token, type Tunnel, type TunnelFilter, RstreamTunnelsClient as Tunnels, type TunnelsResolutionConfig, Watch, type WatchConfig, type WatchWsEvents, type WebTTYServer, type WebhookEvent, type WsEvent, authTokenPermissionsSchema, authTokenSchema, authTokenScopesSchema, authTokenTunnelGrantSchema, authTokenTunnelsScopesSchema, clientFilterSchema, clientSchema, createAPITURNCredentials, createAPPTURNCredentials, createAuthTokenFromClientCredentials, createAuthTokenParamsSchema, createAuthTokenResponseSchema, createPATTURNCredentials, createTURNCredentials, eventSchema, formatTunnelHost, listClientsParamsSchema, listClientsResponseSchema, listTunnelsParamsSchema, listTunnelsResponseSchema, parseWebTTYServers, resolveControlPlaneCredentials, resolveTunnelsAPIURL, resolveTunnelsCredentials, resolveTunnelsEngine, streamEndpointSchema, streamSummarySchema, streamTLSInfoSchema, tokenSchema, tunnelFilterSchema, tunnelSchema, turnCredentialModeSchema, webhookEventsSchema, webttyServerSchema, wsEventsSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { RstreamCredentials, TURNCredentials, ClientCredentials } from '@rstreamlabs/rstream';
|
|
2
2
|
import * as z from 'zod';
|
|
3
3
|
import { JwtPayload } from 'jsonwebtoken';
|
|
4
|
+
export { engineOpenApiDocument, engineOpenApiJson } from './openapi.js';
|
|
4
5
|
|
|
5
6
|
declare const StringFilter: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
6
7
|
exact: z.ZodString;
|
|
@@ -3949,10 +3950,37 @@ declare const clientSchema: z.ZodObject<{
|
|
|
3949
3950
|
protocol_version: z.ZodOptional<z.ZodString>;
|
|
3950
3951
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3951
3952
|
}, z.core.$strip>;
|
|
3953
|
+
declare const clientFilterSchema: z.ZodObject<{
|
|
3954
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3955
|
+
user_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3956
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
3957
|
+
online: "online";
|
|
3958
|
+
offline: "offline";
|
|
3959
|
+
}>>;
|
|
3960
|
+
labels: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3961
|
+
agent: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3962
|
+
channel: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3963
|
+
version: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3964
|
+
os: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3965
|
+
arch: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3966
|
+
protocol_version: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3967
|
+
}, z.core.$strip>;
|
|
3952
3968
|
declare const listClientsParamsSchema: z.ZodObject<{
|
|
3953
3969
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
3954
3970
|
filters: z.ZodOptional<z.ZodObject<{
|
|
3971
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3972
|
+
user_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3973
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
3974
|
+
online: "online";
|
|
3975
|
+
offline: "offline";
|
|
3976
|
+
}>>;
|
|
3955
3977
|
labels: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3978
|
+
agent: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3979
|
+
channel: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3980
|
+
version: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3981
|
+
os: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3982
|
+
arch: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3983
|
+
protocol_version: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3956
3984
|
}, z.core.$strip>>;
|
|
3957
3985
|
}, z.core.$strip>;
|
|
3958
3986
|
declare const listClientsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
@@ -3977,6 +4005,7 @@ declare const listClientsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
3977
4005
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3978
4006
|
}, z.core.$strip>>;
|
|
3979
4007
|
type Client = z.infer<typeof clientSchema>;
|
|
4008
|
+
type ClientFilter = z.infer<typeof clientFilterSchema>;
|
|
3980
4009
|
type ListClientsParams = z.infer<typeof listClientsParamsSchema>;
|
|
3981
4010
|
type ListClientsResponse = z.infer<typeof listClientsResponseSchema>;
|
|
3982
4011
|
|
|
@@ -4041,14 +4070,50 @@ declare const tunnelSchema: z.ZodObject<{
|
|
|
4041
4070
|
rstream_auth: z.ZodOptional<z.ZodBoolean>;
|
|
4042
4071
|
challenge_mode: z.ZodOptional<z.ZodBoolean>;
|
|
4043
4072
|
}, z.core.$strip>;
|
|
4073
|
+
declare const tunnelFilterSchema: z.ZodObject<{
|
|
4074
|
+
type: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
4075
|
+
bytestream: "bytestream";
|
|
4076
|
+
datagram: "datagram";
|
|
4077
|
+
}>>>;
|
|
4078
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4079
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
4080
|
+
user_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4081
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
4082
|
+
online: "online";
|
|
4083
|
+
offline: "offline";
|
|
4084
|
+
}>>;
|
|
4085
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4086
|
+
publish: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4087
|
+
protocol: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
4088
|
+
tls: "tls";
|
|
4089
|
+
dtls: "dtls";
|
|
4090
|
+
quic: "quic";
|
|
4091
|
+
http: "http";
|
|
4092
|
+
}>>>;
|
|
4093
|
+
labels: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
4094
|
+
hostname: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4095
|
+
http_version: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
4096
|
+
"http/1.1": "http/1.1";
|
|
4097
|
+
h2: "h2";
|
|
4098
|
+
h2c: "h2c";
|
|
4099
|
+
h3: "h3";
|
|
4100
|
+
}>>>;
|
|
4101
|
+
}, z.core.$strip>;
|
|
4044
4102
|
declare const listTunnelsParamsSchema: z.ZodObject<{
|
|
4045
4103
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
4046
4104
|
filters: z.ZodOptional<z.ZodObject<{
|
|
4105
|
+
type: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
4106
|
+
bytestream: "bytestream";
|
|
4107
|
+
datagram: "datagram";
|
|
4108
|
+
}>>>;
|
|
4109
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4047
4110
|
client_id: z.ZodOptional<z.ZodString>;
|
|
4111
|
+
user_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4048
4112
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4049
4113
|
online: "online";
|
|
4050
4114
|
offline: "offline";
|
|
4051
4115
|
}>>;
|
|
4116
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4052
4117
|
publish: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4053
4118
|
protocol: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
4054
4119
|
tls: "tls";
|
|
@@ -4058,6 +4123,12 @@ declare const listTunnelsParamsSchema: z.ZodObject<{
|
|
|
4058
4123
|
}>>>;
|
|
4059
4124
|
labels: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
4060
4125
|
hostname: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4126
|
+
http_version: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
4127
|
+
"http/1.1": "http/1.1";
|
|
4128
|
+
h2: "h2";
|
|
4129
|
+
h2c: "h2c";
|
|
4130
|
+
h3: "h3";
|
|
4131
|
+
}>>>;
|
|
4061
4132
|
}, z.core.$strip>>;
|
|
4062
4133
|
}, z.core.$strip>;
|
|
4063
4134
|
declare const listTunnelsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
@@ -4115,6 +4186,7 @@ declare const listTunnelsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
4115
4186
|
challenge_mode: z.ZodOptional<z.ZodBoolean>;
|
|
4116
4187
|
}, z.core.$strip>>;
|
|
4117
4188
|
type Tunnel = z.infer<typeof tunnelSchema>;
|
|
4189
|
+
type TunnelFilter = z.infer<typeof tunnelFilterSchema>;
|
|
4118
4190
|
declare function formatTunnelHost(tunnel: Pick<Tunnel, "host" | "hostname" | "port">): string | undefined;
|
|
4119
4191
|
type ListTunnelsParams = z.infer<typeof listTunnelsParamsSchema>;
|
|
4120
4192
|
type ListTunnelsResponse = z.infer<typeof listTunnelsResponseSchema>;
|
|
@@ -7236,4 +7308,4 @@ declare const webttyServerSchema: z.ZodObject<{
|
|
|
7236
7308
|
type WebTTYServer = z.infer<typeof webttyServerSchema>;
|
|
7237
7309
|
declare function parseWebTTYServers(tunnels: Tunnel[]): WebTTYServer[];
|
|
7238
7310
|
|
|
7239
|
-
export { type Client, type CreateAPITURNCredentialsOptions, type CreateAPPTURNCredentialsOptions, type CreateAuthTokenParams, type CreateAuthTokenResponse, type CreatePATTURNCredentialsOptions, type CreateTURNCredentialsOptions, type Event, type InitialState, type ListClientsParams, type ListClientsResponse, type ListTunnelsParams, type ListTunnelsResponse, type RstreamAuth, type RstreamAuthJwtPayload, RstreamAuthResource, RstreamAuthResource as RstreamAuthRessource, type RstreamAuthToken, type RstreamAuthTokenPermissions, type RstreamAuthTokenScopes, type RstreamAuthTokenTunnelGrant, RstreamTunnelsClient as RstreamClient, RstreamClientsResource, RstreamClientsResource as RstreamClientsRessource, RstreamTURNResource, RstreamTunnelsClient, type RstreamTunnelsConfig, RstreamTunnelsResource, RstreamTunnelsResource as RstreamTunnelsRessource, RstreamWebhookResource, RstreamWebhookResource as RstreamWebhookRessource, type StreamEndpoint, type StreamSummary, type StreamTLSInfo, type TURNCredentialMode, type Token, type Tunnel, RstreamTunnelsClient as Tunnels, type TunnelsResolutionConfig, Watch, type WatchConfig, type WatchWsEvents, type WebTTYServer, type WebhookEvent, type WsEvent, authTokenPermissionsSchema, authTokenSchema, authTokenScopesSchema, authTokenTunnelGrantSchema, authTokenTunnelsScopesSchema, clientSchema, createAPITURNCredentials, createAPPTURNCredentials, createAuthTokenFromClientCredentials, createAuthTokenParamsSchema, createAuthTokenResponseSchema, createPATTURNCredentials, createTURNCredentials, eventSchema, formatTunnelHost, listClientsParamsSchema, listClientsResponseSchema, listTunnelsParamsSchema, listTunnelsResponseSchema, parseWebTTYServers, resolveControlPlaneCredentials, resolveTunnelsAPIURL, resolveTunnelsCredentials, resolveTunnelsEngine, streamEndpointSchema, streamSummarySchema, streamTLSInfoSchema, tokenSchema, tunnelSchema, turnCredentialModeSchema, webhookEventsSchema, webttyServerSchema, wsEventsSchema };
|
|
7311
|
+
export { type Client, type ClientFilter, type CreateAPITURNCredentialsOptions, type CreateAPPTURNCredentialsOptions, type CreateAuthTokenParams, type CreateAuthTokenResponse, type CreatePATTURNCredentialsOptions, type CreateTURNCredentialsOptions, type Event, type InitialState, type ListClientsParams, type ListClientsResponse, type ListTunnelsParams, type ListTunnelsResponse, type RstreamAuth, type RstreamAuthJwtPayload, RstreamAuthResource, RstreamAuthResource as RstreamAuthRessource, type RstreamAuthToken, type RstreamAuthTokenPermissions, type RstreamAuthTokenScopes, type RstreamAuthTokenTunnelGrant, RstreamTunnelsClient as RstreamClient, RstreamClientsResource, RstreamClientsResource as RstreamClientsRessource, RstreamTURNResource, RstreamTunnelsClient, type RstreamTunnelsConfig, RstreamTunnelsResource, RstreamTunnelsResource as RstreamTunnelsRessource, RstreamWebhookResource, RstreamWebhookResource as RstreamWebhookRessource, type StreamEndpoint, type StreamSummary, type StreamTLSInfo, type TURNCredentialMode, type Token, type Tunnel, type TunnelFilter, RstreamTunnelsClient as Tunnels, type TunnelsResolutionConfig, Watch, type WatchConfig, type WatchWsEvents, type WebTTYServer, type WebhookEvent, type WsEvent, authTokenPermissionsSchema, authTokenSchema, authTokenScopesSchema, authTokenTunnelGrantSchema, authTokenTunnelsScopesSchema, clientFilterSchema, clientSchema, createAPITURNCredentials, createAPPTURNCredentials, createAuthTokenFromClientCredentials, createAuthTokenParamsSchema, createAuthTokenResponseSchema, createPATTURNCredentials, createTURNCredentials, eventSchema, formatTunnelHost, listClientsParamsSchema, listClientsResponseSchema, listTunnelsParamsSchema, listTunnelsResponseSchema, parseWebTTYServers, resolveControlPlaneCredentials, resolveTunnelsAPIURL, resolveTunnelsCredentials, resolveTunnelsEngine, streamEndpointSchema, streamSummarySchema, streamTLSInfoSchema, tokenSchema, tunnelFilterSchema, tunnelSchema, turnCredentialModeSchema, webhookEventsSchema, webttyServerSchema, wsEventsSchema };
|