@distilled.cloud/cloudflare 0.16.0 → 0.16.2
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/lib/services/connectivity.d.ts +2 -2
- package/lib/services/connectivity.d.ts.map +1 -1
- package/lib/services/connectivity.js +14 -11
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/zero-trust.d.ts +3 -3
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +3 -3
- package/lib/services/zero-trust.js.map +1 -1
- package/package.json +2 -2
- package/src/services/connectivity.ts +21 -14
- package/src/services/zero-trust.ts +10 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@distilled.cloud/cloudflare",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/alchemy-run/distilled",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"specs:update": "git -C specs/cloudflare-typescript fetch && git -C specs/cloudflare-typescript checkout main && git -C specs/cloudflare-typescript pull"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@distilled.cloud/core": "0.16.
|
|
66
|
+
"@distilled.cloud/core": "0.16.2",
|
|
67
67
|
"effect": "4.0.0-beta.58"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
@@ -193,12 +193,12 @@ export interface ListDirectoryServicesResponse {
|
|
|
193
193
|
serviceId?: string | null;
|
|
194
194
|
updatedAt?: string | null;
|
|
195
195
|
}[];
|
|
196
|
-
resultInfo
|
|
196
|
+
resultInfo?: {
|
|
197
197
|
count?: number | null;
|
|
198
198
|
page?: number | null;
|
|
199
199
|
perPage?: number | null;
|
|
200
200
|
totalCount?: number | null;
|
|
201
|
-
};
|
|
201
|
+
} | null;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
export const ListDirectoryServicesResponse =
|
|
@@ -265,18 +265,25 @@ export const ListDirectoryServicesResponse =
|
|
|
265
265
|
}),
|
|
266
266
|
),
|
|
267
267
|
),
|
|
268
|
-
resultInfo: Schema.
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
268
|
+
resultInfo: Schema.optional(
|
|
269
|
+
Schema.Union([
|
|
270
|
+
Schema.Struct({
|
|
271
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
272
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
273
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
274
|
+
totalCount: Schema.optional(
|
|
275
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
276
|
+
),
|
|
277
|
+
}).pipe(
|
|
278
|
+
Schema.encodeKeys({
|
|
279
|
+
count: "count",
|
|
280
|
+
page: "page",
|
|
281
|
+
perPage: "per_page",
|
|
282
|
+
totalCount: "total_count",
|
|
283
|
+
}),
|
|
284
|
+
),
|
|
285
|
+
Schema.Null,
|
|
286
|
+
]),
|
|
280
287
|
),
|
|
281
288
|
}).pipe(
|
|
282
289
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
@@ -99705,7 +99705,7 @@ export interface GetTunnelCloudflaredConfigurationResponse {
|
|
|
99705
99705
|
config?: {
|
|
99706
99706
|
ingress?:
|
|
99707
99707
|
| {
|
|
99708
|
-
hostname
|
|
99708
|
+
hostname?: string | null;
|
|
99709
99709
|
service: string;
|
|
99710
99710
|
originRequest?: {
|
|
99711
99711
|
access?: {
|
|
@@ -99772,7 +99772,9 @@ export const GetTunnelCloudflaredConfigurationResponse =
|
|
|
99772
99772
|
Schema.Union([
|
|
99773
99773
|
Schema.Array(
|
|
99774
99774
|
Schema.Struct({
|
|
99775
|
-
hostname: Schema.
|
|
99775
|
+
hostname: Schema.optional(
|
|
99776
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
99777
|
+
),
|
|
99776
99778
|
service: Schema.String,
|
|
99777
99779
|
originRequest: Schema.optional(
|
|
99778
99780
|
Schema.Union([
|
|
@@ -99951,7 +99953,7 @@ export interface PutTunnelCloudflaredConfigurationRequest {
|
|
|
99951
99953
|
/** Body param: The tunnel configuration and ingress rules. */
|
|
99952
99954
|
config?: {
|
|
99953
99955
|
ingress?: {
|
|
99954
|
-
hostname
|
|
99956
|
+
hostname?: string;
|
|
99955
99957
|
service: string;
|
|
99956
99958
|
originRequest?: {
|
|
99957
99959
|
access?: { audTag: string[]; teamName: string; required?: boolean };
|
|
@@ -100001,7 +100003,7 @@ export const PutTunnelCloudflaredConfigurationRequest =
|
|
|
100001
100003
|
ingress: Schema.optional(
|
|
100002
100004
|
Schema.Array(
|
|
100003
100005
|
Schema.Struct({
|
|
100004
|
-
hostname: Schema.String,
|
|
100006
|
+
hostname: Schema.optional(Schema.String),
|
|
100005
100007
|
service: Schema.String,
|
|
100006
100008
|
originRequest: Schema.optional(
|
|
100007
100009
|
Schema.Struct({
|
|
@@ -100073,7 +100075,7 @@ export interface PutTunnelCloudflaredConfigurationResponse {
|
|
|
100073
100075
|
config?: {
|
|
100074
100076
|
ingress?:
|
|
100075
100077
|
| {
|
|
100076
|
-
hostname
|
|
100078
|
+
hostname?: string | null;
|
|
100077
100079
|
service: string;
|
|
100078
100080
|
originRequest?: {
|
|
100079
100081
|
access?: {
|
|
@@ -100140,7 +100142,9 @@ export const PutTunnelCloudflaredConfigurationResponse =
|
|
|
100140
100142
|
Schema.Union([
|
|
100141
100143
|
Schema.Array(
|
|
100142
100144
|
Schema.Struct({
|
|
100143
|
-
hostname: Schema.
|
|
100145
|
+
hostname: Schema.optional(
|
|
100146
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
100147
|
+
),
|
|
100144
100148
|
service: Schema.String,
|
|
100145
100149
|
originRequest: Schema.optional(
|
|
100146
100150
|
Schema.Union([
|