shoal-web-sdk 0.0.156 → 0.0.158

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.
@@ -1351,12 +1351,7 @@ export type RecordOnboardingAnalyticsResponses = {
1351
1351
  export type CreateSpaceData = {
1352
1352
  body: CreateSpace;
1353
1353
  path?: never;
1354
- query?: {
1355
- /**
1356
- * Determine whether space code should be read by space handle
1357
- */
1358
- spaceByHandle?: string;
1359
- };
1354
+ query?: never;
1360
1355
  url: '/auth/spaces/create';
1361
1356
  };
1362
1357
  export type CreateSpaceErrors = {
@@ -1966,7 +1961,12 @@ export type CreateProjectData = {
1966
1961
  */
1967
1962
  spaceHandle: string;
1968
1963
  };
1969
- query?: never;
1964
+ query?: {
1965
+ /**
1966
+ * Determine whether space code should be read by space handle
1967
+ */
1968
+ spaceByHandle?: string;
1969
+ };
1970
1970
  url: '/auth/{spaceHandle}/projects/create';
1971
1971
  };
1972
1972
  export type CreateProjectErrors = {
@@ -1944,9 +1944,7 @@ export declare const zCreateSpaceData: z.ZodObject<{
1944
1944
  billingPlanCode: z.ZodUnknown;
1945
1945
  }, z.core.$strip>;
1946
1946
  path: z.ZodOptional<z.ZodNever>;
1947
- query: z.ZodOptional<z.ZodObject<{
1948
- spaceByHandle: z.ZodOptional<z.ZodString>;
1949
- }, z.core.$strip>>;
1947
+ query: z.ZodOptional<z.ZodNever>;
1950
1948
  }, z.core.$strip>;
1951
1949
  /**
1952
1950
  * Successfully created a space.
@@ -2231,7 +2229,9 @@ export declare const zCreateProjectData: z.ZodObject<{
2231
2229
  path: z.ZodObject<{
2232
2230
  spaceHandle: z.ZodString;
2233
2231
  }, z.core.$strip>;
2234
- query: z.ZodOptional<z.ZodNever>;
2232
+ query: z.ZodOptional<z.ZodObject<{
2233
+ spaceByHandle: z.ZodOptional<z.ZodString>;
2234
+ }, z.core.$strip>>;
2235
2235
  }, z.core.$strip>;
2236
2236
  /**
2237
2237
  * Successfully created project inside a space.
@@ -822,9 +822,7 @@ export const zRecordOnboardingAnalyticsData = z.object({
822
822
  export const zCreateSpaceData = z.object({
823
823
  body: zCreateSpace,
824
824
  path: z.optional(z.never()),
825
- query: z.optional(z.object({
826
- spaceByHandle: z.optional(z.string())
827
- }))
825
+ query: z.optional(z.never())
828
826
  });
829
827
  /**
830
828
  * Successfully created a space.
@@ -988,7 +986,9 @@ export const zCreateProjectData = z.object({
988
986
  path: z.object({
989
987
  spaceHandle: z.string()
990
988
  }),
991
- query: z.optional(z.never())
989
+ query: z.optional(z.object({
990
+ spaceByHandle: z.optional(z.string())
991
+ }))
992
992
  });
993
993
  /**
994
994
  * Successfully created project inside a space.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "0.0.156",
3
+ "version": "0.0.158",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",