shoal-web-sdk 0.0.106 → 0.0.107

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.
@@ -47,7 +47,7 @@ export type CreateInvite = {
47
47
  export type CreateSpace = {
48
48
  name: string;
49
49
  handle: string;
50
- billingPlanCode: string;
50
+ billingPlanCode: 'free-monthly' | 'hobby-monthly' | 'hobby-annual' | 'pro-monthly' | 'pro-annual';
51
51
  };
52
52
  export type CreateEnvironment = {
53
53
  name: string;
@@ -70,7 +70,13 @@ export declare const zCreateInvite: z.ZodObject<{
70
70
  export declare const zCreateSpace: z.ZodObject<{
71
71
  name: z.ZodString;
72
72
  handle: z.ZodString;
73
- billingPlanCode: z.ZodString;
73
+ billingPlanCode: z.ZodEnum<{
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
+ }>;
74
80
  }, z.core.$strip>;
75
81
  export declare const zCreateEnvironment: z.ZodObject<{
76
82
  name: z.ZodString;
@@ -1526,7 +1532,13 @@ export declare const zCreateSpaceData: z.ZodObject<{
1526
1532
  body: z.ZodObject<{
1527
1533
  name: z.ZodString;
1528
1534
  handle: z.ZodString;
1529
- billingPlanCode: z.ZodString;
1535
+ billingPlanCode: z.ZodEnum<{
1536
+ "free-monthly": "free-monthly";
1537
+ "hobby-monthly": "hobby-monthly";
1538
+ "hobby-annual": "hobby-annual";
1539
+ "pro-monthly": "pro-monthly";
1540
+ "pro-annual": "pro-annual";
1541
+ }>;
1530
1542
  }, z.core.$strip>;
1531
1543
  path: z.ZodOptional<z.ZodNever>;
1532
1544
  query: z.ZodOptional<z.ZodNever>;
@@ -49,7 +49,13 @@ export const zCreateInvite = z.object({
49
49
  export const zCreateSpace = z.object({
50
50
  name: z.string(),
51
51
  handle: z.string(),
52
- billingPlanCode: z.string()
52
+ billingPlanCode: z.enum([
53
+ 'free-monthly',
54
+ 'hobby-monthly',
55
+ 'hobby-annual',
56
+ 'pro-monthly',
57
+ 'pro-annual'
58
+ ])
53
59
  });
54
60
  export const zCreateEnvironment = z.object({
55
61
  name: z.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "0.0.106",
3
+ "version": "0.0.107",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",