shoal-web-sdk 0.0.144 → 0.0.146
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,6 @@
|
|
|
1
1
|
import { type InfiniteData, type UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import { type Options } from '../sdk.gen';
|
|
3
|
-
import type { CreateEnvironmentData, CreateEnvironmentError, CreateEnvironmentResponse, CreateEnvironmentVariableData, CreateEnvironmentVariableError, CreateProjectData, CreateProjectError, CreateProjectResponse, CreateSetupIntentData, CreateSetupIntentError, CreateSetupIntentResponse, CreateSpaceData, CreateSpaceError, CreateSpaceInviteData, CreateSpaceInviteError, CreateSpaceInviteResponse, CreateSpaceResponse, CreateUsernameData, CreateUsernameError, DeleteAccountIdentityData, DeleteAccountIdentityError, DeleteAccountIdentityResponse, DeleteEnvironmentVariableData, DeleteEnvironmentVariableError, DeleteEnvironmentVariableResponse, DeployVersionData, DeployVersionError, FetchBillingPricesData, FetchGraphM2mData, FetchKindeOrganisationBillingAgreementsData, FetchNodeM2mData, GetBillingPlanData, GetBillingUsageData, GetConnectedAppUrlData, GetEnvironmentOverviewData, GetEnvironmentVariablesData, GetEnvironmentVersionsData, GetGraphOverviewData, GetProjectOverviewData, GetServiceHealthData, GetSpaceInvitesData, GetSpaceOrgCodeData, GetSpaceOverviewData, GetSpaceStatsData, GetUserIdentitiesData, GetUserInvitesData, GetUserProfileData, JoinSpaceData, JoinSpaceError, LeaveSpaceData, LeaveSpaceError, ListBillingInvoicesData, ListInstallationBranchesData, ListInstallationRepositoriesData, ListPaymentMethodsData, ListSpaceMemberRolesData, ListSpaceMembersData, ListUserInstallationsData, ListUserSpacesData, RecordCloudUsageData, RecordCloudUsageError, RecordOnboardingAnalyticsData, RecordOnboardingAnalyticsError, RejectSpaceInviteData, RejectSpaceInviteError, RejectSpaceInviteResponse, RemovePaymentMethodData, RemovePaymentMethodError, RemovePaymentMethodResponse, RequestAccountPasswordResetData, RequestAccountPasswordResetError, RequestSignedUploadUrlData, RequestSignedUploadUrlError, RequestSignedUploadUrlResponse, RevokeSpaceInviteData, RevokeSpaceInviteError, RevokeSpaceInviteResponse, SetDefaultPaymentMethodData, SetDefaultPaymentMethodError, SetDefaultPaymentMethodResponse, UpdateBillingPlanData, UpdateBillingPlanError, UpdateConnectedAppTokenData, UpdateConnectedAppTokenError, UpdateEnvironmentVariableData, UpdateEnvironmentVariableError, UpdateGraphM2mData, UpdateGraphM2mError, UpdateGraphStateData, UpdateGraphStateError, UpdateNodeM2mData, UpdateNodeM2mError,
|
|
3
|
+
import type { CreateEnvironmentData, CreateEnvironmentError, CreateEnvironmentResponse, CreateEnvironmentVariableData, CreateEnvironmentVariableError, CreateProjectData, CreateProjectError, CreateProjectResponse, CreateSetupIntentData, CreateSetupIntentError, CreateSetupIntentResponse, CreateSpaceData, CreateSpaceError, CreateSpaceInviteData, CreateSpaceInviteError, CreateSpaceInviteResponse, CreateSpaceResponse, CreateUsernameData, CreateUsernameError, DeleteAccountIdentityData, DeleteAccountIdentityError, DeleteAccountIdentityResponse, DeleteEnvironmentVariableData, DeleteEnvironmentVariableError, DeleteEnvironmentVariableResponse, DeployVersionData, DeployVersionError, FetchBillingPricesData, FetchGraphM2mData, FetchKindeOrganisationBillingAgreementsData, FetchNodeM2mData, GetBillingPlanData, GetBillingUsageData, GetConnectedAppUrlData, GetEnvironmentOverviewData, GetEnvironmentVariablesData, GetEnvironmentVersionsData, GetGraphOverviewData, GetProjectOverviewData, GetServiceHealthData, GetSpaceInvitesData, GetSpaceOrgCodeData, GetSpaceOverviewData, GetSpaceStatsData, GetUserIdentitiesData, GetUserInvitesData, GetUserProfileData, JoinSpaceData, JoinSpaceError, LeaveSpaceData, LeaveSpaceError, ListBillingInvoicesData, ListInstallationBranchesData, ListInstallationRepositoriesData, ListPaymentMethodsData, ListSpaceMemberRolesData, ListSpaceMembersData, ListUserInstallationsData, ListUserSpacesData, RecordCloudUsageData, RecordCloudUsageError, RecordOnboardingAnalyticsData, RecordOnboardingAnalyticsError, RejectSpaceInviteData, RejectSpaceInviteError, RejectSpaceInviteResponse, RemovePaymentMethodData, RemovePaymentMethodError, RemovePaymentMethodResponse, RequestAccountPasswordResetData, RequestAccountPasswordResetError, RequestSignedUploadUrlData, RequestSignedUploadUrlError, RequestSignedUploadUrlResponse, RevokeSpaceInviteData, RevokeSpaceInviteError, RevokeSpaceInviteResponse, SetDefaultPaymentMethodData, SetDefaultPaymentMethodError, SetDefaultPaymentMethodResponse, UpdateBillingPlanData, UpdateBillingPlanError, UpdateConnectedAppTokenData, UpdateConnectedAppTokenError, UpdateEnvironmentVariableData, UpdateEnvironmentVariableError, UpdateGraphM2mData, UpdateGraphM2mError, UpdateGraphStateData, UpdateGraphStateError, UpdateNodeM2mData, UpdateNodeM2mError, UpdateUsernameData, UpdateUsernameError, UpdateUserProfileData, UpdateUserProfileError, VersionStatusData } from '../types.gen';
|
|
4
4
|
export type QueryKey<TOptions extends Options> = [
|
|
5
5
|
Pick<TOptions, 'baseUrl' | 'body' | 'headers' | 'path' | 'query'> & {
|
|
6
6
|
_id: string;
|
|
@@ -99,7 +99,7 @@ export declare const fetchNodeM2mOptions: (options: Options<FetchNodeM2mData>) =
|
|
|
99
99
|
/**
|
|
100
100
|
* Update a node by id with its props for M2M.
|
|
101
101
|
*/
|
|
102
|
-
export declare const updateNodeM2mMutation: (options?: Partial<Options<UpdateNodeM2mData>>) => UseMutationOptions<
|
|
102
|
+
export declare const updateNodeM2mMutation: (options?: Partial<Options<UpdateNodeM2mData>>) => UseMutationOptions<unknown, UpdateNodeM2mError, Options<UpdateNodeM2mData>>;
|
|
103
103
|
/**
|
|
104
104
|
* This will submit a password reset request requiring the user to reset their password on next sign in.
|
|
105
105
|
*/
|
package/dist/sdk/types.gen.d.ts
CHANGED
|
@@ -384,7 +384,7 @@ export type ContainerNodeProps = {
|
|
|
384
384
|
minInstances?: number;
|
|
385
385
|
concurrency?: number;
|
|
386
386
|
allowUnauthenticated?: boolean;
|
|
387
|
-
uri?: string;
|
|
387
|
+
uri?: string | string | string;
|
|
388
388
|
installationId?: string;
|
|
389
389
|
env?: {
|
|
390
390
|
[key: string]: string;
|
|
@@ -806,11 +806,10 @@ export type UpdateNodeM2mErrors = {
|
|
|
806
806
|
export type UpdateNodeM2mError = UpdateNodeM2mErrors[keyof UpdateNodeM2mErrors];
|
|
807
807
|
export type UpdateNodeM2mResponses = {
|
|
808
808
|
/**
|
|
809
|
-
* Node
|
|
809
|
+
* Node updated successfully.
|
|
810
810
|
*/
|
|
811
|
-
|
|
811
|
+
202: unknown;
|
|
812
812
|
};
|
|
813
|
-
export type UpdateNodeM2mResponse = UpdateNodeM2mResponses[keyof UpdateNodeM2mResponses];
|
|
814
813
|
export type RequestAccountPasswordResetData = {
|
|
815
814
|
body?: never;
|
|
816
815
|
path?: never;
|
package/dist/sdk/zod.gen.d.ts
CHANGED
|
@@ -597,7 +597,7 @@ export declare const zContainerNodeProps: z.ZodObject<{
|
|
|
597
597
|
minInstances: z.ZodOptional<z.ZodInt>;
|
|
598
598
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
599
599
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
600
|
-
uri: z.ZodOptional<z.ZodString
|
|
600
|
+
uri: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
601
601
|
installationId: z.ZodOptional<z.ZodString>;
|
|
602
602
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
603
603
|
}, z.core.$strip>;
|
|
@@ -691,7 +691,7 @@ export declare const zNode: z.ZodObject<{
|
|
|
691
691
|
minInstances: z.ZodOptional<z.ZodInt>;
|
|
692
692
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
693
693
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
694
|
-
uri: z.ZodOptional<z.ZodString
|
|
694
|
+
uri: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
695
695
|
installationId: z.ZodOptional<z.ZodString>;
|
|
696
696
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
697
697
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -810,7 +810,7 @@ export declare const zNodes: z.ZodObject<{
|
|
|
810
810
|
minInstances: z.ZodOptional<z.ZodInt>;
|
|
811
811
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
812
812
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
813
|
-
uri: z.ZodOptional<z.ZodString
|
|
813
|
+
uri: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
814
814
|
installationId: z.ZodOptional<z.ZodString>;
|
|
815
815
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
816
816
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -931,7 +931,7 @@ export declare const zGraph: z.ZodObject<{
|
|
|
931
931
|
minInstances: z.ZodOptional<z.ZodInt>;
|
|
932
932
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
933
933
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
934
|
-
uri: z.ZodOptional<z.ZodString
|
|
934
|
+
uri: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
935
935
|
installationId: z.ZodOptional<z.ZodString>;
|
|
936
936
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
937
937
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -1265,7 +1265,7 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
|
|
|
1265
1265
|
minInstances: z.ZodOptional<z.ZodInt>;
|
|
1266
1266
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
1267
1267
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
1268
|
-
uri: z.ZodOptional<z.ZodString
|
|
1268
|
+
uri: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
1269
1269
|
installationId: z.ZodOptional<z.ZodString>;
|
|
1270
1270
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1271
1271
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -1386,7 +1386,7 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
|
|
|
1386
1386
|
minInstances: z.ZodOptional<z.ZodInt>;
|
|
1387
1387
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
1388
1388
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
1389
|
-
uri: z.ZodOptional<z.ZodString
|
|
1389
|
+
uri: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
1390
1390
|
installationId: z.ZodOptional<z.ZodString>;
|
|
1391
1391
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1392
1392
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -1521,7 +1521,7 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
|
|
|
1521
1521
|
minInstances: z.ZodOptional<z.ZodInt>;
|
|
1522
1522
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
1523
1523
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
1524
|
-
uri: z.ZodOptional<z.ZodString
|
|
1524
|
+
uri: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
1525
1525
|
installationId: z.ZodOptional<z.ZodString>;
|
|
1526
1526
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1527
1527
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -1640,7 +1640,7 @@ export declare const zUpdateNodeM2mData: z.ZodObject<{
|
|
|
1640
1640
|
minInstances: z.ZodOptional<z.ZodInt>;
|
|
1641
1641
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
1642
1642
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
1643
|
-
uri: z.ZodOptional<z.ZodString
|
|
1643
|
+
uri: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
1644
1644
|
installationId: z.ZodOptional<z.ZodString>;
|
|
1645
1645
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1646
1646
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -1692,127 +1692,6 @@ export declare const zUpdateNodeM2mData: z.ZodObject<{
|
|
|
1692
1692
|
}, z.core.$strip>;
|
|
1693
1693
|
query: z.ZodOptional<z.ZodNever>;
|
|
1694
1694
|
}, z.core.$strip>;
|
|
1695
|
-
/**
|
|
1696
|
-
* Node fetched successfully.
|
|
1697
|
-
*/
|
|
1698
|
-
export declare const zUpdateNodeM2mResponse: z.ZodObject<{
|
|
1699
|
-
id: z.ZodUUID;
|
|
1700
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1701
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1702
|
-
x: z.ZodNumber;
|
|
1703
|
-
y: z.ZodNumber;
|
|
1704
|
-
width: z.ZodInt;
|
|
1705
|
-
height: z.ZodInt;
|
|
1706
|
-
edges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1707
|
-
id: z.ZodUUID;
|
|
1708
|
-
src: z.ZodUUID;
|
|
1709
|
-
dst: z.ZodUUID;
|
|
1710
|
-
typ: z.ZodEnum<{
|
|
1711
|
-
network: "network";
|
|
1712
|
-
route: "route";
|
|
1713
|
-
}>;
|
|
1714
|
-
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
1715
|
-
typ: z.ZodLiteral<"network">;
|
|
1716
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1717
|
-
a: z.ZodOptional<z.ZodString>;
|
|
1718
|
-
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1719
|
-
typ: z.ZodLiteral<"route">;
|
|
1720
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1721
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1722
|
-
}, z.core.$strip>>]>>;
|
|
1723
|
-
}, z.core.$strip>>>;
|
|
1724
|
-
typ: z.ZodEnum<{
|
|
1725
|
-
function: "function";
|
|
1726
|
-
cache: "cache";
|
|
1727
|
-
comment: "comment";
|
|
1728
|
-
container: "container";
|
|
1729
|
-
cronjob: "cronjob";
|
|
1730
|
-
database: "database";
|
|
1731
|
-
queue: "queue";
|
|
1732
|
-
proxy: "proxy";
|
|
1733
|
-
vm: "vm";
|
|
1734
|
-
scheduler: "scheduler";
|
|
1735
|
-
}>;
|
|
1736
|
-
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
1737
|
-
typ: z.ZodLiteral<"comment">;
|
|
1738
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1739
|
-
comment: z.ZodOptional<z.ZodString>;
|
|
1740
|
-
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1741
|
-
typ: z.ZodLiteral<"cache">;
|
|
1742
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1743
|
-
size: z.ZodOptional<z.ZodInt>;
|
|
1744
|
-
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1745
|
-
typ: z.ZodLiteral<"container">;
|
|
1746
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1747
|
-
region: z.ZodEnum<{
|
|
1748
|
-
"europe-west2": "europe-west2";
|
|
1749
|
-
}>;
|
|
1750
|
-
port: z.ZodInt;
|
|
1751
|
-
cpu: z.ZodEnum<{
|
|
1752
|
-
1: "1";
|
|
1753
|
-
2: "2";
|
|
1754
|
-
}>;
|
|
1755
|
-
memory: z.ZodEnum<{
|
|
1756
|
-
"512Mi": "512Mi";
|
|
1757
|
-
"1Gi": "1Gi";
|
|
1758
|
-
"2Gi": "2Gi";
|
|
1759
|
-
}>;
|
|
1760
|
-
ingress: z.ZodEnum<{
|
|
1761
|
-
INGRESS_TRAFFIC_ALL: "INGRESS_TRAFFIC_ALL";
|
|
1762
|
-
INGRESS_TRAFFIC_INTERNAL_ONLY: "INGRESS_TRAFFIC_INTERNAL_ONLY";
|
|
1763
|
-
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER: "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER";
|
|
1764
|
-
}>;
|
|
1765
|
-
timeoutSeconds: z.ZodOptional<z.ZodInt>;
|
|
1766
|
-
maxInstances: z.ZodOptional<z.ZodInt>;
|
|
1767
|
-
minInstances: z.ZodOptional<z.ZodInt>;
|
|
1768
|
-
concurrency: z.ZodOptional<z.ZodInt>;
|
|
1769
|
-
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
1770
|
-
uri: z.ZodOptional<z.ZodString>;
|
|
1771
|
-
installationId: z.ZodOptional<z.ZodString>;
|
|
1772
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1773
|
-
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1774
|
-
typ: z.ZodLiteral<"cronjob">;
|
|
1775
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1776
|
-
cronTab: z.ZodOptional<z.ZodString>;
|
|
1777
|
-
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1778
|
-
typ: z.ZodLiteral<"database">;
|
|
1779
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1780
|
-
space: z.ZodOptional<z.ZodInt>;
|
|
1781
|
-
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1782
|
-
typ: z.ZodLiteral<"function">;
|
|
1783
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1784
|
-
cpus: z.ZodOptional<z.ZodInt>;
|
|
1785
|
-
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1786
|
-
typ: z.ZodLiteral<"queue">;
|
|
1787
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1788
|
-
foobar: z.ZodOptional<z.ZodString>;
|
|
1789
|
-
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1790
|
-
typ: z.ZodLiteral<"proxy">;
|
|
1791
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1792
|
-
subdomain: z.ZodOptional<z.ZodString>;
|
|
1793
|
-
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1794
|
-
typ: z.ZodLiteral<"vm">;
|
|
1795
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1796
|
-
os: z.ZodOptional<z.ZodString>;
|
|
1797
|
-
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1798
|
-
typ: z.ZodLiteral<"scheduler">;
|
|
1799
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1800
|
-
expression: z.ZodString;
|
|
1801
|
-
timezone: z.ZodString;
|
|
1802
|
-
requestMethod: z.ZodEnum<{
|
|
1803
|
-
DELETE: "DELETE";
|
|
1804
|
-
GET: "GET";
|
|
1805
|
-
HEAD: "HEAD";
|
|
1806
|
-
OPTIONS: "OPTIONS";
|
|
1807
|
-
PATCH: "PATCH";
|
|
1808
|
-
POST: "POST";
|
|
1809
|
-
PUT: "PUT";
|
|
1810
|
-
}>;
|
|
1811
|
-
requestPayload: z.ZodOptional<z.ZodString>;
|
|
1812
|
-
requestHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1813
|
-
paused: z.ZodBoolean;
|
|
1814
|
-
}, z.core.$strip>>]>>;
|
|
1815
|
-
}, z.core.$strip>;
|
|
1816
1695
|
export declare const zRequestAccountPasswordResetData: z.ZodObject<{
|
|
1817
1696
|
body: z.ZodOptional<z.ZodNever>;
|
|
1818
1697
|
path: z.ZodOptional<z.ZodNever>;
|
|
@@ -2612,7 +2491,7 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
|
|
|
2612
2491
|
minInstances: z.ZodOptional<z.ZodInt>;
|
|
2613
2492
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
2614
2493
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
2615
|
-
uri: z.ZodOptional<z.ZodString
|
|
2494
|
+
uri: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
2616
2495
|
installationId: z.ZodOptional<z.ZodString>;
|
|
2617
2496
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2618
2497
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -2733,7 +2612,7 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
|
|
|
2733
2612
|
minInstances: z.ZodOptional<z.ZodInt>;
|
|
2734
2613
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
2735
2614
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
2736
|
-
uri: z.ZodOptional<z.ZodString
|
|
2615
|
+
uri: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
2737
2616
|
installationId: z.ZodOptional<z.ZodString>;
|
|
2738
2617
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2739
2618
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
package/dist/sdk/zod.gen.js
CHANGED
|
@@ -394,7 +394,11 @@ export const zContainerNodeProps = z.object({
|
|
|
394
394
|
minInstances: z.optional(z.int()),
|
|
395
395
|
concurrency: z.optional(z.int()),
|
|
396
396
|
allowUnauthenticated: z.optional(z.boolean()),
|
|
397
|
-
uri: z.optional(z.
|
|
397
|
+
uri: z.optional(z.union([
|
|
398
|
+
z.string().regex(/^file:\/\/github\.com\/[^\/]+\/[^\/]+\/[^\/]+$/),
|
|
399
|
+
z.string().regex(/^file:\/\/sourcecode\/[^\/]+\.zip$/),
|
|
400
|
+
z.string().regex(/^docker:\/\/[^\/]+\/[^\/]+$/)
|
|
401
|
+
])),
|
|
398
402
|
installationId: z.optional(z.string()),
|
|
399
403
|
env: z.optional(z.record(z.string(), z.string()))
|
|
400
404
|
});
|
|
@@ -673,10 +677,6 @@ export const zUpdateNodeM2mData = z.object({
|
|
|
673
677
|
}),
|
|
674
678
|
query: z.optional(z.never())
|
|
675
679
|
});
|
|
676
|
-
/**
|
|
677
|
-
* Node fetched successfully.
|
|
678
|
-
*/
|
|
679
|
-
export const zUpdateNodeM2mResponse = zNode;
|
|
680
680
|
export const zRequestAccountPasswordResetData = z.object({
|
|
681
681
|
body: z.optional(z.never()),
|
|
682
682
|
path: z.optional(z.never()),
|
|
@@ -19,7 +19,7 @@ export declare const useUpdateNodeM2M: (config?: {
|
|
|
19
19
|
onSuccess?: (data: GetSuccessResponse<UpdateNodeM2mResponses>) => void;
|
|
20
20
|
onError?: Parameters<typeof useMutation>["0"]["onError"];
|
|
21
21
|
retry?: boolean;
|
|
22
|
-
}) => import("@tanstack/react-query").UseMutationResult<
|
|
22
|
+
}) => import("@tanstack/react-query").UseMutationResult<unknown, unknown, Omit<UpdateNodeM2mData, "url">, unknown>;
|
|
23
23
|
export declare const useRequestAccountPasswordReset: (config?: {
|
|
24
24
|
onSuccess?: (data: GetSuccessResponse<RequestAccountPasswordResetResponses>) => void;
|
|
25
25
|
onError?: Parameters<typeof useMutation>["0"]["onError"];
|