shoal-web-sdk 0.0.108 → 0.0.109

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;
@@ -1515,7 +1521,13 @@ export declare const zCreateSpaceData: z.ZodObject<{
1515
1521
  body: z.ZodObject<{
1516
1522
  name: z.ZodString;
1517
1523
  handle: z.ZodString;
1518
- billingPlanCode: z.ZodString;
1524
+ billingPlanCode: z.ZodEnum<{
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
+ }>;
1519
1531
  }, z.core.$strip>;
1520
1532
  path: z.ZodOptional<z.ZodNever>;
1521
1533
  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.108",
3
+ "version": "0.0.109",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",