shoal-web-sdk 1.0.47 → 1.0.48
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.
- package/dist/sdk/types.gen.d.ts +10 -1
- package/dist/sdk/zod.gen.d.ts +7 -1
- package/dist/sdk/zod.gen.js +7 -1
- package/package.json +1 -1
package/dist/sdk/types.gen.d.ts
CHANGED
|
@@ -910,6 +910,10 @@ export type NeonDatabaseNamePath = string;
|
|
|
910
910
|
* The Neon organization ID.
|
|
911
911
|
*/
|
|
912
912
|
export type NeonOrganizationId = string;
|
|
913
|
+
/**
|
|
914
|
+
* Scope regions to a Neon organization, which may have access to additional regions. When omitted, globally available regions are returned.
|
|
915
|
+
*/
|
|
916
|
+
export type NeonOrganizationIdOptional = string;
|
|
913
917
|
/**
|
|
914
918
|
* The endpoint ID to connect to.
|
|
915
919
|
*/
|
|
@@ -2020,7 +2024,12 @@ export type FetchNeonRegionsData = {
|
|
|
2020
2024
|
'x-neon-api-key': string;
|
|
2021
2025
|
};
|
|
2022
2026
|
path?: never;
|
|
2023
|
-
query?:
|
|
2027
|
+
query?: {
|
|
2028
|
+
/**
|
|
2029
|
+
* Scope regions to a Neon organization, which may have access to additional regions. When omitted, globally available regions are returned.
|
|
2030
|
+
*/
|
|
2031
|
+
orgId?: string;
|
|
2032
|
+
};
|
|
2024
2033
|
url: '/auth/neon/regions';
|
|
2025
2034
|
};
|
|
2026
2035
|
export type FetchNeonRegionsErrors = {
|
package/dist/sdk/zod.gen.d.ts
CHANGED
|
@@ -1907,6 +1907,10 @@ export declare const zNeonDatabaseNamePath: z.ZodString;
|
|
|
1907
1907
|
* The Neon organization ID.
|
|
1908
1908
|
*/
|
|
1909
1909
|
export declare const zNeonOrganizationId: z.ZodString;
|
|
1910
|
+
/**
|
|
1911
|
+
* Scope regions to a Neon organization, which may have access to additional regions. When omitted, globally available regions are returned.
|
|
1912
|
+
*/
|
|
1913
|
+
export declare const zNeonOrganizationIdOptional: z.ZodString;
|
|
1910
1914
|
/**
|
|
1911
1915
|
* The endpoint ID to connect to.
|
|
1912
1916
|
*/
|
|
@@ -3461,7 +3465,9 @@ export declare const zFetchNeonOrganizationsResponse: z.ZodArray<z.ZodObject<{
|
|
|
3461
3465
|
export declare const zFetchNeonRegionsData: z.ZodObject<{
|
|
3462
3466
|
body: z.ZodOptional<z.ZodNever>;
|
|
3463
3467
|
path: z.ZodOptional<z.ZodNever>;
|
|
3464
|
-
query: z.ZodOptional<z.
|
|
3468
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
3469
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
3470
|
+
}, z.core.$strip>>;
|
|
3465
3471
|
headers: z.ZodObject<{
|
|
3466
3472
|
'x-neon-api-key': z.ZodString;
|
|
3467
3473
|
}, z.core.$strip>;
|
package/dist/sdk/zod.gen.js
CHANGED
|
@@ -855,6 +855,10 @@ export const zNeonDatabaseNamePath = z.string();
|
|
|
855
855
|
* The Neon organization ID.
|
|
856
856
|
*/
|
|
857
857
|
export const zNeonOrganizationId = z.string();
|
|
858
|
+
/**
|
|
859
|
+
* Scope regions to a Neon organization, which may have access to additional regions. When omitted, globally available regions are returned.
|
|
860
|
+
*/
|
|
861
|
+
export const zNeonOrganizationIdOptional = z.string();
|
|
858
862
|
/**
|
|
859
863
|
* The endpoint ID to connect to.
|
|
860
864
|
*/
|
|
@@ -1268,7 +1272,9 @@ export const zFetchNeonOrganizationsResponse = z.array(zNeonOrganization);
|
|
|
1268
1272
|
export const zFetchNeonRegionsData = z.object({
|
|
1269
1273
|
body: z.optional(z.never()),
|
|
1270
1274
|
path: z.optional(z.never()),
|
|
1271
|
-
query: z.optional(z.
|
|
1275
|
+
query: z.optional(z.object({
|
|
1276
|
+
orgId: z.optional(z.string())
|
|
1277
|
+
})),
|
|
1272
1278
|
headers: z.object({
|
|
1273
1279
|
'x-neon-api-key': z.string()
|
|
1274
1280
|
})
|