shoal-web-sdk 0.0.155 → 0.0.156

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.
@@ -545,6 +545,10 @@ export type PlanPriceResponse = {
545
545
  */
546
546
  interval: string;
547
547
  };
548
+ /**
549
+ * Determine whether space code should be read by space handle
550
+ */
551
+ export type SpaceByHandle = string;
548
552
  /**
549
553
  * Environment variable name.
550
554
  */
@@ -1347,7 +1351,12 @@ export type RecordOnboardingAnalyticsResponses = {
1347
1351
  export type CreateSpaceData = {
1348
1352
  body: CreateSpace;
1349
1353
  path?: never;
1350
- query?: never;
1354
+ query?: {
1355
+ /**
1356
+ * Determine whether space code should be read by space handle
1357
+ */
1358
+ spaceByHandle?: string;
1359
+ };
1351
1360
  url: '/auth/spaces/create';
1352
1361
  };
1353
1362
  export type CreateSpaceErrors = {
@@ -1065,6 +1065,10 @@ export declare const zPlanPriceResponse: z.ZodObject<{
1065
1065
  currency: z.ZodString;
1066
1066
  interval: z.ZodString;
1067
1067
  }, z.core.$strip>;
1068
+ /**
1069
+ * Determine whether space code should be read by space handle
1070
+ */
1071
+ export declare const zSpaceByHandle: z.ZodString;
1068
1072
  /**
1069
1073
  * Environment variable name.
1070
1074
  */
@@ -1940,7 +1944,9 @@ export declare const zCreateSpaceData: z.ZodObject<{
1940
1944
  billingPlanCode: z.ZodUnknown;
1941
1945
  }, z.core.$strip>;
1942
1946
  path: z.ZodOptional<z.ZodNever>;
1943
- query: z.ZodOptional<z.ZodNever>;
1947
+ query: z.ZodOptional<z.ZodObject<{
1948
+ spaceByHandle: z.ZodOptional<z.ZodString>;
1949
+ }, z.core.$strip>>;
1944
1950
  }, z.core.$strip>;
1945
1951
  /**
1946
1952
  * Successfully created a space.
@@ -531,6 +531,10 @@ export const zPlanPriceResponse = z.object({
531
531
  currency: z.string(),
532
532
  interval: z.string()
533
533
  });
534
+ /**
535
+ * Determine whether space code should be read by space handle
536
+ */
537
+ export const zSpaceByHandle = z.string();
534
538
  /**
535
539
  * Environment variable name.
536
540
  */
@@ -818,7 +822,9 @@ export const zRecordOnboardingAnalyticsData = z.object({
818
822
  export const zCreateSpaceData = z.object({
819
823
  body: zCreateSpace,
820
824
  path: z.optional(z.never()),
821
- query: z.optional(z.never())
825
+ query: z.optional(z.object({
826
+ spaceByHandle: z.optional(z.string())
827
+ }))
822
828
  });
823
829
  /**
824
830
  * Successfully created a space.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "0.0.155",
3
+ "version": "0.0.156",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",