@uninspired/unproxied-client 0.0.10 → 0.0.12
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/types/index.d.ts +16 -29
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -4,26 +4,9 @@ import * as hono_types from 'hono/types';
|
|
|
4
4
|
import { hc, ClientRequestOptions } from 'hono/client';
|
|
5
5
|
|
|
6
6
|
declare const apiRouter: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.BlankSchema | hono_types.MergeSchemaPath<{
|
|
7
|
-
"/
|
|
7
|
+
"/": {
|
|
8
8
|
$post: {
|
|
9
9
|
input: {
|
|
10
|
-
header: {
|
|
11
|
-
"X-App-Secret": string;
|
|
12
|
-
};
|
|
13
|
-
} & {
|
|
14
|
-
json: {
|
|
15
|
-
name: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
output: "Unauthorized";
|
|
19
|
-
outputFormat: "text";
|
|
20
|
-
status: 401;
|
|
21
|
-
} | {
|
|
22
|
-
input: {
|
|
23
|
-
header: {
|
|
24
|
-
"X-App-Secret": string;
|
|
25
|
-
};
|
|
26
|
-
} & {
|
|
27
10
|
json: {
|
|
28
11
|
name: string;
|
|
29
12
|
};
|
|
@@ -35,6 +18,19 @@ declare const apiRouter: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types
|
|
|
35
18
|
status: 201;
|
|
36
19
|
};
|
|
37
20
|
};
|
|
21
|
+
} & {
|
|
22
|
+
"/:apiKeyId": {
|
|
23
|
+
$delete: {
|
|
24
|
+
input: {
|
|
25
|
+
param: {
|
|
26
|
+
apiKeyId: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
output: "Deleted";
|
|
30
|
+
outputFormat: "text";
|
|
31
|
+
status: 200;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
38
34
|
}, "/api/v1/api-keys"> | hono_types.MergeSchemaPath<{
|
|
39
35
|
"/": {
|
|
40
36
|
$post: {
|
|
@@ -113,23 +109,14 @@ declare const apiRouter: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types
|
|
|
113
109
|
};
|
|
114
110
|
};
|
|
115
111
|
} & {
|
|
116
|
-
"/:domainId/
|
|
112
|
+
"/:domainId/validate": {
|
|
117
113
|
$post: {
|
|
118
114
|
input: {
|
|
119
115
|
param: {
|
|
120
116
|
domainId: string;
|
|
121
117
|
};
|
|
122
118
|
};
|
|
123
|
-
output: "
|
|
124
|
-
outputFormat: "text";
|
|
125
|
-
status: 404;
|
|
126
|
-
} | {
|
|
127
|
-
input: {
|
|
128
|
-
param: {
|
|
129
|
-
domainId: string;
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
output: "Verified";
|
|
119
|
+
output: "Success";
|
|
133
120
|
outputFormat: "text";
|
|
134
121
|
status: 200;
|
|
135
122
|
};
|
package/package.json
CHANGED