@uninspired/unproxied-client 0.0.11 → 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.
@@ -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
- "/create": {
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: {
@@ -112,6 +108,19 @@ declare const apiRouter: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types
112
108
  status: 200;
113
109
  };
114
110
  };
111
+ } & {
112
+ "/:domainId/validate": {
113
+ $post: {
114
+ input: {
115
+ param: {
116
+ domainId: string;
117
+ };
118
+ };
119
+ output: "Success";
120
+ outputFormat: "text";
121
+ status: 200;
122
+ };
123
+ };
115
124
  }, "/api/v1/domains">, "/api/v1">;
116
125
  type ApiRouter = typeof apiRouter;
117
126
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "types": "dist/types/index.d.ts",
6
6
  "type": "module",
7
7
  "private": false,
8
- "version": "0.0.11",
8
+ "version": "0.0.12",
9
9
  "description": "Auth client for Uninspired Studio Products",
10
10
  "author": "Chris Kolb <chris@uninspired.studio>",
11
11
  "license": "MIT",