@uninspired/unproxied-client 0.0.11 → 0.0.13

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,7 +4,7 @@ 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
10
  header: {
@@ -15,24 +15,28 @@ declare const apiRouter: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types
15
15
  name: string;
16
16
  };
17
17
  };
18
- output: "Unauthorized";
19
- outputFormat: "text";
20
- status: 401;
21
- } | {
18
+ output: {
19
+ apiKey: string;
20
+ };
21
+ outputFormat: "json";
22
+ status: 201;
23
+ };
24
+ };
25
+ } & {
26
+ "/:apiKeyId": {
27
+ $delete: {
22
28
  input: {
23
29
  header: {
24
30
  "X-App-Secret": string;
25
31
  };
26
32
  } & {
27
- json: {
28
- name: string;
33
+ param: {
34
+ apiKeyId: string;
29
35
  };
30
36
  };
31
- output: {
32
- apiKey: string;
33
- };
34
- outputFormat: "json";
35
- status: 201;
37
+ output: "Deleted";
38
+ outputFormat: "text";
39
+ status: 200;
36
40
  };
37
41
  };
38
42
  }, "/api/v1/api-keys"> | hono_types.MergeSchemaPath<{
@@ -112,6 +116,19 @@ declare const apiRouter: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types
112
116
  status: 200;
113
117
  };
114
118
  };
119
+ } & {
120
+ "/:domainId/validate": {
121
+ $post: {
122
+ input: {
123
+ param: {
124
+ domainId: string;
125
+ };
126
+ };
127
+ output: "Success";
128
+ outputFormat: "text";
129
+ status: 200;
130
+ };
131
+ };
115
132
  }, "/api/v1/domains">, "/api/v1">;
116
133
  type ApiRouter = typeof apiRouter;
117
134
 
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.13",
9
9
  "description": "Auth client for Uninspired Studio Products",
10
10
  "author": "Chris Kolb <chris@uninspired.studio>",
11
11
  "license": "MIT",