@distilled.cloud/cloudflare 0.14.0 → 0.15.1
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 +23 -4
- package/lib/services/connectivity.d.ts.map +1 -1
- package/lib/services/connectivity.js +20 -4
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/workers.d.ts +21 -3
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +20 -2
- package/lib/services/workers.js.map +1 -1
- package/lib/services/zero-trust.d.ts +31 -6
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +21 -6
- package/lib/services/zero-trust.js.map +1 -1
- package/package.json +2 -2
- package/src/services/connectivity.ts +41 -8
- package/src/services/workers.ts +40 -5
- package/src/services/zero-trust.ts +49 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@distilled.cloud/cloudflare",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.1",
|
|
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.
|
|
66
|
+
"@distilled.cloud/core": "0.15.1",
|
|
67
67
|
"effect": "4.0.0-beta.58"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
@@ -12,6 +12,32 @@ import * as T from "../traits.ts";
|
|
|
12
12
|
import type { Credentials } from "../credentials.ts";
|
|
13
13
|
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
|
+
// =============================================================================
|
|
16
|
+
// Errors
|
|
17
|
+
// =============================================================================
|
|
18
|
+
|
|
19
|
+
export class VpcServiceNameAlreadyExists extends Schema.TaggedErrorClass<VpcServiceNameAlreadyExists>()(
|
|
20
|
+
"VpcServiceNameAlreadyExists",
|
|
21
|
+
{ code: Schema.Number, message: Schema.String },
|
|
22
|
+
) {}
|
|
23
|
+
T.applyErrorMatchers(VpcServiceNameAlreadyExists, [
|
|
24
|
+
{ code: 5101, message: { includes: "already exists" } },
|
|
25
|
+
]);
|
|
26
|
+
|
|
27
|
+
export class VpcServiceNotFound extends Schema.TaggedErrorClass<VpcServiceNotFound>()(
|
|
28
|
+
"VpcServiceNotFound",
|
|
29
|
+
{ code: Schema.Number, message: Schema.String },
|
|
30
|
+
) {}
|
|
31
|
+
T.applyErrorMatchers(VpcServiceNotFound, [{ code: 5104 }]);
|
|
32
|
+
|
|
33
|
+
export class VpcTunnelNotFound extends Schema.TaggedErrorClass<VpcTunnelNotFound>()(
|
|
34
|
+
"VpcTunnelNotFound",
|
|
35
|
+
{ code: Schema.Number, message: Schema.String },
|
|
36
|
+
) {}
|
|
37
|
+
T.applyErrorMatchers(VpcTunnelNotFound, [
|
|
38
|
+
{ code: 5101, message: { includes: "Tunnel ID Not Found" } },
|
|
39
|
+
]);
|
|
40
|
+
|
|
15
41
|
// =============================================================================
|
|
16
42
|
// DirectoryService
|
|
17
43
|
// =============================================================================
|
|
@@ -116,7 +142,7 @@ export const GetDirectoryServiceResponse =
|
|
|
116
142
|
T.ResponsePath("result"),
|
|
117
143
|
) as unknown as Schema.Schema<GetDirectoryServiceResponse>;
|
|
118
144
|
|
|
119
|
-
export type GetDirectoryServiceError = DefaultErrors;
|
|
145
|
+
export type GetDirectoryServiceError = DefaultErrors | VpcServiceNotFound;
|
|
120
146
|
|
|
121
147
|
export const getDirectoryService: API.OperationMethod<
|
|
122
148
|
GetDirectoryServiceRequest,
|
|
@@ -126,7 +152,7 @@ export const getDirectoryService: API.OperationMethod<
|
|
|
126
152
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
127
153
|
input: GetDirectoryServiceRequest,
|
|
128
154
|
output: GetDirectoryServiceResponse,
|
|
129
|
-
errors: [],
|
|
155
|
+
errors: [VpcServiceNotFound],
|
|
130
156
|
}));
|
|
131
157
|
|
|
132
158
|
export interface ListDirectoryServicesRequest {
|
|
@@ -443,7 +469,10 @@ export const CreateDirectoryServiceResponse =
|
|
|
443
469
|
T.ResponsePath("result"),
|
|
444
470
|
) as unknown as Schema.Schema<CreateDirectoryServiceResponse>;
|
|
445
471
|
|
|
446
|
-
export type CreateDirectoryServiceError =
|
|
472
|
+
export type CreateDirectoryServiceError =
|
|
473
|
+
| DefaultErrors
|
|
474
|
+
| VpcServiceNameAlreadyExists
|
|
475
|
+
| VpcTunnelNotFound;
|
|
447
476
|
|
|
448
477
|
export const createDirectoryService: API.OperationMethod<
|
|
449
478
|
CreateDirectoryServiceRequest,
|
|
@@ -453,7 +482,7 @@ export const createDirectoryService: API.OperationMethod<
|
|
|
453
482
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
454
483
|
input: CreateDirectoryServiceRequest,
|
|
455
484
|
output: CreateDirectoryServiceResponse,
|
|
456
|
-
errors: [],
|
|
485
|
+
errors: [VpcServiceNameAlreadyExists, VpcTunnelNotFound],
|
|
457
486
|
}));
|
|
458
487
|
|
|
459
488
|
export interface UpdateDirectoryServiceRequest {
|
|
@@ -625,7 +654,11 @@ export const UpdateDirectoryServiceResponse =
|
|
|
625
654
|
T.ResponsePath("result"),
|
|
626
655
|
) as unknown as Schema.Schema<UpdateDirectoryServiceResponse>;
|
|
627
656
|
|
|
628
|
-
export type UpdateDirectoryServiceError =
|
|
657
|
+
export type UpdateDirectoryServiceError =
|
|
658
|
+
| DefaultErrors
|
|
659
|
+
| VpcServiceNotFound
|
|
660
|
+
| VpcServiceNameAlreadyExists
|
|
661
|
+
| VpcTunnelNotFound;
|
|
629
662
|
|
|
630
663
|
export const updateDirectoryService: API.OperationMethod<
|
|
631
664
|
UpdateDirectoryServiceRequest,
|
|
@@ -635,7 +668,7 @@ export const updateDirectoryService: API.OperationMethod<
|
|
|
635
668
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
636
669
|
input: UpdateDirectoryServiceRequest,
|
|
637
670
|
output: UpdateDirectoryServiceResponse,
|
|
638
|
-
errors: [],
|
|
671
|
+
errors: [VpcServiceNotFound, VpcServiceNameAlreadyExists, VpcTunnelNotFound],
|
|
639
672
|
}));
|
|
640
673
|
|
|
641
674
|
export interface DeleteDirectoryServiceRequest {
|
|
@@ -659,7 +692,7 @@ export type DeleteDirectoryServiceResponse = unknown;
|
|
|
659
692
|
export const DeleteDirectoryServiceResponse =
|
|
660
693
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Unknown as unknown as Schema.Schema<DeleteDirectoryServiceResponse>;
|
|
661
694
|
|
|
662
|
-
export type DeleteDirectoryServiceError = DefaultErrors;
|
|
695
|
+
export type DeleteDirectoryServiceError = DefaultErrors | VpcServiceNotFound;
|
|
663
696
|
|
|
664
697
|
export const deleteDirectoryService: API.OperationMethod<
|
|
665
698
|
DeleteDirectoryServiceRequest,
|
|
@@ -669,5 +702,5 @@ export const deleteDirectoryService: API.OperationMethod<
|
|
|
669
702
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
670
703
|
input: DeleteDirectoryServiceRequest,
|
|
671
704
|
output: DeleteDirectoryServiceResponse,
|
|
672
|
-
errors: [],
|
|
705
|
+
errors: [VpcServiceNotFound],
|
|
673
706
|
}));
|
package/src/services/workers.ts
CHANGED
|
@@ -54,6 +54,12 @@ T.applyErrorMatchers(DurableObjectMustBeSqlite, [
|
|
|
54
54
|
{ code: 10074, message: { includes: "not a SQLite Durable Object" } },
|
|
55
55
|
]);
|
|
56
56
|
|
|
57
|
+
export class HostnameAlreadyInUse extends Schema.TaggedErrorClass<HostnameAlreadyInUse>()(
|
|
58
|
+
"HostnameAlreadyInUse",
|
|
59
|
+
{ code: Schema.Number, message: Schema.String },
|
|
60
|
+
) {}
|
|
61
|
+
T.applyErrorMatchers(HostnameAlreadyInUse, [{ code: 100116 }]);
|
|
62
|
+
|
|
57
63
|
export class InvalidRoute extends Schema.TaggedErrorClass<InvalidRoute>()(
|
|
58
64
|
"InvalidRoute",
|
|
59
65
|
{ code: Schema.Number, message: Schema.String },
|
|
@@ -87,6 +93,20 @@ export class RouteNotFound extends Schema.TaggedErrorClass<RouteNotFound>()(
|
|
|
87
93
|
) {}
|
|
88
94
|
T.applyErrorMatchers(RouteNotFound, [{ code: 10009 }]);
|
|
89
95
|
|
|
96
|
+
export class ScriptStartupError extends Schema.TaggedErrorClass<ScriptStartupError>()(
|
|
97
|
+
"ScriptStartupError",
|
|
98
|
+
{ code: Schema.Number, message: Schema.String },
|
|
99
|
+
) {}
|
|
100
|
+
T.applyErrorMatchers(ScriptStartupError, [{ code: 10021 }]);
|
|
101
|
+
|
|
102
|
+
export class ScriptModuleNotFound extends Schema.TaggedErrorClass<ScriptModuleNotFound>()(
|
|
103
|
+
"ScriptModuleNotFound",
|
|
104
|
+
{ code: Schema.Number, message: Schema.String },
|
|
105
|
+
) {}
|
|
106
|
+
T.applyErrorMatchers(ScriptModuleNotFound, [
|
|
107
|
+
{ code: 10021, message: { includes: "No such module" } },
|
|
108
|
+
]);
|
|
109
|
+
|
|
90
110
|
export class SecretNotFound extends Schema.TaggedErrorClass<SecretNotFound>()(
|
|
91
111
|
"SecretNotFound",
|
|
92
112
|
{ code: Schema.Number, message: Schema.String },
|
|
@@ -4034,7 +4054,11 @@ export const PutDomainResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4034
4054
|
T.ResponsePath("result"),
|
|
4035
4055
|
) as unknown as Schema.Schema<PutDomainResponse>;
|
|
4036
4056
|
|
|
4037
|
-
export type PutDomainError =
|
|
4057
|
+
export type PutDomainError =
|
|
4058
|
+
| DefaultErrors
|
|
4059
|
+
| WorkerNotFound
|
|
4060
|
+
| InvalidRoute
|
|
4061
|
+
| HostnameAlreadyInUse;
|
|
4038
4062
|
|
|
4039
4063
|
export const putDomain: API.OperationMethod<
|
|
4040
4064
|
PutDomainRequest,
|
|
@@ -4044,7 +4068,7 @@ export const putDomain: API.OperationMethod<
|
|
|
4044
4068
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
4045
4069
|
input: PutDomainRequest,
|
|
4046
4070
|
output: PutDomainResponse,
|
|
4047
|
-
errors: [WorkerNotFound, InvalidRoute],
|
|
4071
|
+
errors: [WorkerNotFound, InvalidRoute, HostnameAlreadyInUse],
|
|
4048
4072
|
}));
|
|
4049
4073
|
|
|
4050
4074
|
export interface DeleteDomainRequest {
|
|
@@ -7520,7 +7544,9 @@ export type PutScriptError =
|
|
|
7520
7544
|
| InvalidRoute
|
|
7521
7545
|
| InvalidWorkerScript
|
|
7522
7546
|
| DurableObjectMustBeSqlite
|
|
7523
|
-
| DuplicateMigrationTarget
|
|
7547
|
+
| DuplicateMigrationTarget
|
|
7548
|
+
| ScriptStartupError
|
|
7549
|
+
| ScriptModuleNotFound;
|
|
7524
7550
|
|
|
7525
7551
|
export const putScript: API.OperationMethod<
|
|
7526
7552
|
PutScriptRequest,
|
|
@@ -7535,6 +7561,8 @@ export const putScript: API.OperationMethod<
|
|
|
7535
7561
|
InvalidWorkerScript,
|
|
7536
7562
|
DurableObjectMustBeSqlite,
|
|
7537
7563
|
DuplicateMigrationTarget,
|
|
7564
|
+
ScriptStartupError,
|
|
7565
|
+
ScriptModuleNotFound,
|
|
7538
7566
|
],
|
|
7539
7567
|
}));
|
|
7540
7568
|
|
|
@@ -8144,7 +8172,9 @@ export const PutScriptContentResponse =
|
|
|
8144
8172
|
export type PutScriptContentError =
|
|
8145
8173
|
| DefaultErrors
|
|
8146
8174
|
| WorkerNotFound
|
|
8147
|
-
| InvalidWorkerScript
|
|
8175
|
+
| InvalidWorkerScript
|
|
8176
|
+
| ScriptStartupError
|
|
8177
|
+
| ScriptModuleNotFound;
|
|
8148
8178
|
|
|
8149
8179
|
export const putScriptContent: API.OperationMethod<
|
|
8150
8180
|
PutScriptContentRequest,
|
|
@@ -8154,7 +8184,12 @@ export const putScriptContent: API.OperationMethod<
|
|
|
8154
8184
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
8155
8185
|
input: PutScriptContentRequest,
|
|
8156
8186
|
output: PutScriptContentResponse,
|
|
8157
|
-
errors: [
|
|
8187
|
+
errors: [
|
|
8188
|
+
WorkerNotFound,
|
|
8189
|
+
InvalidWorkerScript,
|
|
8190
|
+
ScriptStartupError,
|
|
8191
|
+
ScriptModuleNotFound,
|
|
8192
|
+
],
|
|
8158
8193
|
}));
|
|
8159
8194
|
|
|
8160
8195
|
// =============================================================================
|
|
@@ -13,6 +13,34 @@ import type { Credentials } from "../credentials.ts";
|
|
|
13
13
|
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
import { SensitiveString } from "../sensitive.ts";
|
|
15
15
|
|
|
16
|
+
// =============================================================================
|
|
17
|
+
// Errors
|
|
18
|
+
// =============================================================================
|
|
19
|
+
|
|
20
|
+
export class DuplicateTunnelName extends Schema.TaggedErrorClass<DuplicateTunnelName>()(
|
|
21
|
+
"DuplicateTunnelName",
|
|
22
|
+
{ code: Schema.Number, message: Schema.String },
|
|
23
|
+
) {}
|
|
24
|
+
T.applyErrorMatchers(DuplicateTunnelName, [{ code: 1013 }]);
|
|
25
|
+
|
|
26
|
+
export class TunnelConfigurationNotFound extends Schema.TaggedErrorClass<TunnelConfigurationNotFound>()(
|
|
27
|
+
"TunnelConfigurationNotFound",
|
|
28
|
+
{ code: Schema.Number, message: Schema.String },
|
|
29
|
+
) {}
|
|
30
|
+
T.applyErrorMatchers(TunnelConfigurationNotFound, [{ code: 1055 }]);
|
|
31
|
+
|
|
32
|
+
export class TunnelNotFound extends Schema.TaggedErrorClass<TunnelNotFound>()(
|
|
33
|
+
"TunnelNotFound",
|
|
34
|
+
{ code: Schema.Number, message: Schema.String },
|
|
35
|
+
) {}
|
|
36
|
+
T.applyErrorMatchers(TunnelNotFound, [{ code: 1002 }]);
|
|
37
|
+
|
|
38
|
+
export class TunnelTokenNotFound extends Schema.TaggedErrorClass<TunnelTokenNotFound>()(
|
|
39
|
+
"TunnelTokenNotFound",
|
|
40
|
+
{ code: Schema.Number, message: Schema.String },
|
|
41
|
+
) {}
|
|
42
|
+
T.applyErrorMatchers(TunnelTokenNotFound, [{ code: 1054 }]);
|
|
43
|
+
|
|
16
44
|
// =============================================================================
|
|
17
45
|
// AccessAiControlMcpPortal
|
|
18
46
|
// =============================================================================
|
|
@@ -98858,7 +98886,7 @@ export const GetTunnelCloudflaredResponse =
|
|
|
98858
98886
|
T.ResponsePath("result"),
|
|
98859
98887
|
) as unknown as Schema.Schema<GetTunnelCloudflaredResponse>;
|
|
98860
98888
|
|
|
98861
|
-
export type GetTunnelCloudflaredError = DefaultErrors;
|
|
98889
|
+
export type GetTunnelCloudflaredError = DefaultErrors | TunnelNotFound;
|
|
98862
98890
|
|
|
98863
98891
|
export const getTunnelCloudflared: API.OperationMethod<
|
|
98864
98892
|
GetTunnelCloudflaredRequest,
|
|
@@ -98868,7 +98896,7 @@ export const getTunnelCloudflared: API.OperationMethod<
|
|
|
98868
98896
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
98869
98897
|
input: GetTunnelCloudflaredRequest,
|
|
98870
98898
|
output: GetTunnelCloudflaredResponse,
|
|
98871
|
-
errors: [],
|
|
98899
|
+
errors: [TunnelNotFound],
|
|
98872
98900
|
}));
|
|
98873
98901
|
|
|
98874
98902
|
export interface ListTunnelCloudflaredsRequest {
|
|
@@ -99274,7 +99302,7 @@ export const CreateTunnelCloudflaredResponse =
|
|
|
99274
99302
|
T.ResponsePath("result"),
|
|
99275
99303
|
) as unknown as Schema.Schema<CreateTunnelCloudflaredResponse>;
|
|
99276
99304
|
|
|
99277
|
-
export type CreateTunnelCloudflaredError = DefaultErrors;
|
|
99305
|
+
export type CreateTunnelCloudflaredError = DefaultErrors | DuplicateTunnelName;
|
|
99278
99306
|
|
|
99279
99307
|
export const createTunnelCloudflared: API.OperationMethod<
|
|
99280
99308
|
CreateTunnelCloudflaredRequest,
|
|
@@ -99284,7 +99312,7 @@ export const createTunnelCloudflared: API.OperationMethod<
|
|
|
99284
99312
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
99285
99313
|
input: CreateTunnelCloudflaredRequest,
|
|
99286
99314
|
output: CreateTunnelCloudflaredResponse,
|
|
99287
|
-
errors: [],
|
|
99315
|
+
errors: [DuplicateTunnelName],
|
|
99288
99316
|
}));
|
|
99289
99317
|
|
|
99290
99318
|
export interface PatchTunnelCloudflaredRequest {
|
|
@@ -99457,7 +99485,10 @@ export const PatchTunnelCloudflaredResponse =
|
|
|
99457
99485
|
T.ResponsePath("result"),
|
|
99458
99486
|
) as unknown as Schema.Schema<PatchTunnelCloudflaredResponse>;
|
|
99459
99487
|
|
|
99460
|
-
export type PatchTunnelCloudflaredError =
|
|
99488
|
+
export type PatchTunnelCloudflaredError =
|
|
99489
|
+
| DefaultErrors
|
|
99490
|
+
| TunnelNotFound
|
|
99491
|
+
| DuplicateTunnelName;
|
|
99461
99492
|
|
|
99462
99493
|
export const patchTunnelCloudflared: API.OperationMethod<
|
|
99463
99494
|
PatchTunnelCloudflaredRequest,
|
|
@@ -99467,7 +99498,7 @@ export const patchTunnelCloudflared: API.OperationMethod<
|
|
|
99467
99498
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
99468
99499
|
input: PatchTunnelCloudflaredRequest,
|
|
99469
99500
|
output: PatchTunnelCloudflaredResponse,
|
|
99470
|
-
errors: [],
|
|
99501
|
+
errors: [TunnelNotFound, DuplicateTunnelName],
|
|
99471
99502
|
}));
|
|
99472
99503
|
|
|
99473
99504
|
export interface DeleteTunnelCloudflaredRequest {
|
|
@@ -99898,7 +99929,9 @@ export const GetTunnelCloudflaredConfigurationResponse =
|
|
|
99898
99929
|
T.ResponsePath("result"),
|
|
99899
99930
|
) as unknown as Schema.Schema<GetTunnelCloudflaredConfigurationResponse>;
|
|
99900
99931
|
|
|
99901
|
-
export type GetTunnelCloudflaredConfigurationError =
|
|
99932
|
+
export type GetTunnelCloudflaredConfigurationError =
|
|
99933
|
+
| DefaultErrors
|
|
99934
|
+
| TunnelConfigurationNotFound;
|
|
99902
99935
|
|
|
99903
99936
|
export const getTunnelCloudflaredConfiguration: API.OperationMethod<
|
|
99904
99937
|
GetTunnelCloudflaredConfigurationRequest,
|
|
@@ -99908,7 +99941,7 @@ export const getTunnelCloudflaredConfiguration: API.OperationMethod<
|
|
|
99908
99941
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
99909
99942
|
input: GetTunnelCloudflaredConfigurationRequest,
|
|
99910
99943
|
output: GetTunnelCloudflaredConfigurationResponse,
|
|
99911
|
-
errors: [],
|
|
99944
|
+
errors: [TunnelConfigurationNotFound],
|
|
99912
99945
|
}));
|
|
99913
99946
|
|
|
99914
99947
|
export interface PutTunnelCloudflaredConfigurationRequest {
|
|
@@ -100264,7 +100297,9 @@ export const PutTunnelCloudflaredConfigurationResponse =
|
|
|
100264
100297
|
T.ResponsePath("result"),
|
|
100265
100298
|
) as unknown as Schema.Schema<PutTunnelCloudflaredConfigurationResponse>;
|
|
100266
100299
|
|
|
100267
|
-
export type PutTunnelCloudflaredConfigurationError =
|
|
100300
|
+
export type PutTunnelCloudflaredConfigurationError =
|
|
100301
|
+
| DefaultErrors
|
|
100302
|
+
| TunnelNotFound;
|
|
100268
100303
|
|
|
100269
100304
|
export const putTunnelCloudflaredConfiguration: API.OperationMethod<
|
|
100270
100305
|
PutTunnelCloudflaredConfigurationRequest,
|
|
@@ -100274,7 +100309,7 @@ export const putTunnelCloudflaredConfiguration: API.OperationMethod<
|
|
|
100274
100309
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
100275
100310
|
input: PutTunnelCloudflaredConfigurationRequest,
|
|
100276
100311
|
output: PutTunnelCloudflaredConfigurationResponse,
|
|
100277
|
-
errors: [],
|
|
100312
|
+
errors: [TunnelNotFound],
|
|
100278
100313
|
}));
|
|
100279
100314
|
|
|
100280
100315
|
// =============================================================================
|
|
@@ -100650,7 +100685,9 @@ export const GetTunnelCloudflaredTokenResponse =
|
|
|
100650
100685
|
T.ResponsePath("result"),
|
|
100651
100686
|
) as unknown as Schema.Schema<GetTunnelCloudflaredTokenResponse>;
|
|
100652
100687
|
|
|
100653
|
-
export type GetTunnelCloudflaredTokenError =
|
|
100688
|
+
export type GetTunnelCloudflaredTokenError =
|
|
100689
|
+
| DefaultErrors
|
|
100690
|
+
| TunnelTokenNotFound;
|
|
100654
100691
|
|
|
100655
100692
|
export const getTunnelCloudflaredToken: API.OperationMethod<
|
|
100656
100693
|
GetTunnelCloudflaredTokenRequest,
|
|
@@ -100660,7 +100697,7 @@ export const getTunnelCloudflaredToken: API.OperationMethod<
|
|
|
100660
100697
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
100661
100698
|
input: GetTunnelCloudflaredTokenRequest,
|
|
100662
100699
|
output: GetTunnelCloudflaredTokenResponse,
|
|
100663
|
-
errors: [],
|
|
100700
|
+
errors: [TunnelTokenNotFound],
|
|
100664
100701
|
}));
|
|
100665
100702
|
|
|
100666
100703
|
// =============================================================================
|