shoal-web-sdk 0.0.109 → 0.0.110
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/sdk/types.gen.d.ts +2 -1
- package/dist/sdk/zod.gen.d.ts +10 -14
- package/dist/sdk/zod.gen.js +9 -7
- package/package.json +1 -1
package/dist/sdk/types.gen.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: 'http://localhost:8080/core-service' | 'https://api-dev.shoalstack.com/core-service' | (string & {});
|
|
3
3
|
};
|
|
4
|
+
export type BillingPlanLookupKey = 'free_monthly' | 'free_annual' | 'hobby_monthly' | 'hobby_annual' | 'pro_monthly' | 'pro_annual';
|
|
4
5
|
export type HealthResponse = {
|
|
5
6
|
status: string;
|
|
6
7
|
};
|
|
@@ -47,7 +48,7 @@ export type CreateInvite = {
|
|
|
47
48
|
export type CreateSpace = {
|
|
48
49
|
name: string;
|
|
49
50
|
handle: string;
|
|
50
|
-
billingPlanCode:
|
|
51
|
+
billingPlanCode: unknown;
|
|
51
52
|
};
|
|
52
53
|
export type CreateEnvironment = {
|
|
53
54
|
name: string;
|
package/dist/sdk/zod.gen.d.ts
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const zBillingPlanLookupKey: z.ZodEnum<{
|
|
3
|
+
free_monthly: "free_monthly";
|
|
4
|
+
free_annual: "free_annual";
|
|
5
|
+
hobby_monthly: "hobby_monthly";
|
|
6
|
+
hobby_annual: "hobby_annual";
|
|
7
|
+
pro_monthly: "pro_monthly";
|
|
8
|
+
pro_annual: "pro_annual";
|
|
9
|
+
}>;
|
|
2
10
|
export declare const zHealthResponse: z.ZodObject<{
|
|
3
11
|
status: z.ZodString;
|
|
4
12
|
}, z.core.$strip>;
|
|
@@ -70,13 +78,7 @@ export declare const zCreateInvite: z.ZodObject<{
|
|
|
70
78
|
export declare const zCreateSpace: z.ZodObject<{
|
|
71
79
|
name: z.ZodString;
|
|
72
80
|
handle: z.ZodString;
|
|
73
|
-
billingPlanCode: z.
|
|
74
|
-
"free-monthly": "free-monthly";
|
|
75
|
-
"hobby-monthly": "hobby-monthly";
|
|
76
|
-
"hobby-annual": "hobby-annual";
|
|
77
|
-
"pro-monthly": "pro-monthly";
|
|
78
|
-
"pro-annual": "pro-annual";
|
|
79
|
-
}>;
|
|
81
|
+
billingPlanCode: z.ZodUnknown;
|
|
80
82
|
}, z.core.$strip>;
|
|
81
83
|
export declare const zCreateEnvironment: z.ZodObject<{
|
|
82
84
|
name: z.ZodString;
|
|
@@ -1521,13 +1523,7 @@ export declare const zCreateSpaceData: z.ZodObject<{
|
|
|
1521
1523
|
body: z.ZodObject<{
|
|
1522
1524
|
name: z.ZodString;
|
|
1523
1525
|
handle: z.ZodString;
|
|
1524
|
-
billingPlanCode: z.
|
|
1525
|
-
"free-monthly": "free-monthly";
|
|
1526
|
-
"hobby-monthly": "hobby-monthly";
|
|
1527
|
-
"hobby-annual": "hobby-annual";
|
|
1528
|
-
"pro-monthly": "pro-monthly";
|
|
1529
|
-
"pro-annual": "pro-annual";
|
|
1530
|
-
}>;
|
|
1526
|
+
billingPlanCode: z.ZodUnknown;
|
|
1531
1527
|
}, z.core.$strip>;
|
|
1532
1528
|
path: z.ZodOptional<z.ZodNever>;
|
|
1533
1529
|
query: z.ZodOptional<z.ZodNever>;
|
package/dist/sdk/zod.gen.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
+
export const zBillingPlanLookupKey = z.enum([
|
|
4
|
+
'free_monthly',
|
|
5
|
+
'free_annual',
|
|
6
|
+
'hobby_monthly',
|
|
7
|
+
'hobby_annual',
|
|
8
|
+
'pro_monthly',
|
|
9
|
+
'pro_annual'
|
|
10
|
+
]);
|
|
3
11
|
export const zHealthResponse = z.object({
|
|
4
12
|
status: z.string()
|
|
5
13
|
});
|
|
@@ -49,13 +57,7 @@ export const zCreateInvite = z.object({
|
|
|
49
57
|
export const zCreateSpace = z.object({
|
|
50
58
|
name: z.string(),
|
|
51
59
|
handle: z.string(),
|
|
52
|
-
billingPlanCode: z.
|
|
53
|
-
'free-monthly',
|
|
54
|
-
'hobby-monthly',
|
|
55
|
-
'hobby-annual',
|
|
56
|
-
'pro-monthly',
|
|
57
|
-
'pro-annual'
|
|
58
|
-
])
|
|
60
|
+
billingPlanCode: z.unknown()
|
|
59
61
|
});
|
|
60
62
|
export const zCreateEnvironment = z.object({
|
|
61
63
|
name: z.string(),
|