shoal-web-sdk 1.0.144 → 1.0.145

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.
@@ -114,7 +114,7 @@ export declare const listLiveRoutesQueryKey: (options?: Options<ListLiveRoutesDa
114
114
  * Returns a page of environments, most recently deployed first, each with the proxy and VM
115
115
  * subdomains and the route paths of its latest succeeded deployment. Environments that never
116
116
  * deployed successfully, or whose live version has no proxy or VM, are omitted. Pass `org`
117
- * to limit the list to one space.
117
+ * to limit the list to one space, and `search` to match a space by name or id.
118
118
  *
119
119
  */
120
120
  export declare const listLiveRoutesOptions: (options?: Options<ListLiveRoutesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").PaginatedLiveEnvironments, Error, import("../types.gen").PaginatedLiveEnvironments, [Pick<Options<ListLiveRoutesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
@@ -144,7 +144,7 @@ export declare const listLiveRoutesInfiniteQueryKey: (options?: Options<ListLive
144
144
  * Returns a page of environments, most recently deployed first, each with the proxy and VM
145
145
  * subdomains and the route paths of its latest succeeded deployment. Environments that never
146
146
  * deployed successfully, or whose live version has no proxy or VM, are omitted. Pass `org`
147
- * to limit the list to one space.
147
+ * to limit the list to one space, and `search` to match a space by name or id.
148
148
  *
149
149
  */
150
150
  export declare const listLiveRoutesInfiniteOptions: (options?: Options<ListLiveRoutesData>) => import("@tanstack/react-query").UseInfiniteQueryOptions<import("../types.gen").PaginatedLiveEnvironments, import("../types.gen")._Error, InfiniteData<import("../types.gen").PaginatedLiveEnvironments, unknown>, QueryKey<Options<ListLiveRoutesData>>, number | Pick<Pick<Options<ListLiveRoutesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
@@ -141,7 +141,7 @@ export const listLiveRoutesQueryKey = (options) => createQueryKey('listLiveRoute
141
141
  * Returns a page of environments, most recently deployed first, each with the proxy and VM
142
142
  * subdomains and the route paths of its latest succeeded deployment. Environments that never
143
143
  * deployed successfully, or whose live version has no proxy or VM, are omitted. Pass `org`
144
- * to limit the list to one space.
144
+ * to limit the list to one space, and `search` to match a space by name or id.
145
145
  *
146
146
  */
147
147
  export const listLiveRoutesOptions = (options) => {
@@ -165,7 +165,7 @@ export const listLiveRoutesInfiniteQueryKey = (options) => createQueryKey('listL
165
165
  * Returns a page of environments, most recently deployed first, each with the proxy and VM
166
166
  * subdomains and the route paths of its latest succeeded deployment. Environments that never
167
167
  * deployed successfully, or whose live version has no proxy or VM, are omitted. Pass `org`
168
- * to limit the list to one space.
168
+ * to limit the list to one space, and `search` to match a space by name or id.
169
169
  *
170
170
  */
171
171
  export const listLiveRoutesInfiniteOptions = (options) => {
@@ -37,7 +37,7 @@ export declare const getOverview: <ThrowOnError extends boolean = false>(options
37
37
  * Returns a page of environments, most recently deployed first, each with the proxy and VM
38
38
  * subdomains and the route paths of its latest succeeded deployment. Environments that never
39
39
  * deployed successfully, or whose live version has no proxy or VM, are omitted. Pass `org`
40
- * to limit the list to one space.
40
+ * to limit the list to one space, and `search` to match a space by name or id.
41
41
  *
42
42
  */
43
43
  export declare const listLiveRoutes: <ThrowOnError extends boolean = false>(options?: Options<ListLiveRoutesData, ThrowOnError>) => import("./client").RequestResult<ListLiveRoutesResponses, ListLiveRoutesErrors, ThrowOnError, "fields">;
@@ -46,7 +46,7 @@ export const getOverview = (options) => {
46
46
  * Returns a page of environments, most recently deployed first, each with the proxy and VM
47
47
  * subdomains and the route paths of its latest succeeded deployment. Environments that never
48
48
  * deployed successfully, or whose live version has no proxy or VM, are omitted. Pass `org`
49
- * to limit the list to one space.
49
+ * to limit the list to one space, and `search` to match a space by name or id.
50
50
  *
51
51
  */
52
52
  export const listLiveRoutes = (options) => {
@@ -797,6 +797,10 @@ export type ListLiveRoutesData = {
797
797
  * An organisation id.
798
798
  */
799
799
  org?: string;
800
+ /**
801
+ * Space separated terms that must all appear, case insensitively, in the item's names, emails or identifiers.
802
+ */
803
+ search?: string;
800
804
  /**
801
805
  * 1-based page index.
802
806
  */
@@ -2287,6 +2287,7 @@ export declare const zListLiveRoutesData: z.ZodObject<{
2287
2287
  path: z.ZodOptional<z.ZodNever>;
2288
2288
  query: z.ZodOptional<z.ZodObject<{
2289
2289
  org: z.ZodOptional<z.ZodString>;
2290
+ search: z.ZodOptional<z.ZodString>;
2290
2291
  page: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
2291
2292
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
2292
2293
  }, z.core.$strip>>;
@@ -651,6 +651,7 @@ export const zListLiveRoutesData = z.object({
651
651
  path: z.optional(z.never()),
652
652
  query: z.optional(z.object({
653
653
  org: z.optional(z.string()),
654
+ search: z.optional(z.string()),
654
655
  page: z.optional(z.int()).default(1),
655
656
  limit: z.optional(z.int()).default(25)
656
657
  }))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "1.0.144",
3
+ "version": "1.0.145",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",