shoal-web-sdk 0.0.108 → 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.
@@ -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: string;
51
+ billingPlanCode: unknown;
51
52
  };
52
53
  export type CreateEnvironment = {
53
54
  name: string;
@@ -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,7 +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.ZodString;
81
+ billingPlanCode: z.ZodUnknown;
74
82
  }, z.core.$strip>;
75
83
  export declare const zCreateEnvironment: z.ZodObject<{
76
84
  name: z.ZodString;
@@ -1515,7 +1523,7 @@ export declare const zCreateSpaceData: z.ZodObject<{
1515
1523
  body: z.ZodObject<{
1516
1524
  name: z.ZodString;
1517
1525
  handle: z.ZodString;
1518
- billingPlanCode: z.ZodString;
1526
+ billingPlanCode: z.ZodUnknown;
1519
1527
  }, z.core.$strip>;
1520
1528
  path: z.ZodOptional<z.ZodNever>;
1521
1529
  query: z.ZodOptional<z.ZodNever>;
@@ -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,7 +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.string()
60
+ billingPlanCode: z.unknown()
53
61
  });
54
62
  export const zCreateEnvironment = z.object({
55
63
  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.110",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",