shoal-web-sdk 1.0.24 → 1.0.26
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/sdk.gen.js +1 -1
- package/dist/sdk/types.gen.d.ts +6 -10
- package/dist/sdk/zod.gen.d.ts +16 -56
- package/dist/sdk/zod.gen.js +6 -10
- package/package.json +1 -1
package/dist/sdk/sdk.gen.js
CHANGED
package/dist/sdk/types.gen.d.ts
CHANGED
|
@@ -5,10 +5,6 @@ export type PlainString = string;
|
|
|
5
5
|
export type EnvironmentVariables = {
|
|
6
6
|
vars: Array<EnvironmentVariable>;
|
|
7
7
|
};
|
|
8
|
-
export type OutputEnvironmentVariable = {
|
|
9
|
-
environmentVariableKey: string;
|
|
10
|
-
outputValueReference: string;
|
|
11
|
-
};
|
|
12
8
|
export type EnvironmentVariable = {
|
|
13
9
|
key: string;
|
|
14
10
|
value: string;
|
|
@@ -392,7 +388,7 @@ export type RouteEdgeProps = {
|
|
|
392
388
|
path?: string;
|
|
393
389
|
};
|
|
394
390
|
export type OutputEdgeProps = {
|
|
395
|
-
|
|
391
|
+
keys: Array<string>;
|
|
396
392
|
};
|
|
397
393
|
export type Node = {
|
|
398
394
|
id: string;
|
|
@@ -685,7 +681,7 @@ export type InviteUuid = string;
|
|
|
685
681
|
/**
|
|
686
682
|
* The environment UUID.
|
|
687
683
|
*/
|
|
688
|
-
export type
|
|
684
|
+
export type EnvironmentUuid = string;
|
|
689
685
|
/**
|
|
690
686
|
* The node UUID.
|
|
691
687
|
*/
|
|
@@ -841,14 +837,14 @@ export type GetServiceHealthResponses = {
|
|
|
841
837
|
export type GetServiceHealthResponse = GetServiceHealthResponses[keyof GetServiceHealthResponses];
|
|
842
838
|
export type GetEnvironmentVariablesM2mData = {
|
|
843
839
|
body?: never;
|
|
844
|
-
path
|
|
845
|
-
query: {
|
|
840
|
+
path: {
|
|
846
841
|
/**
|
|
847
842
|
* The environment UUID.
|
|
848
843
|
*/
|
|
849
|
-
|
|
844
|
+
environmentUUID: string;
|
|
850
845
|
};
|
|
851
|
-
|
|
846
|
+
query?: never;
|
|
847
|
+
url: '/m2m/environment/{environmentUUID}/variables';
|
|
852
848
|
};
|
|
853
849
|
export type GetEnvironmentVariablesM2mErrors = {
|
|
854
850
|
/**
|
package/dist/sdk/zod.gen.d.ts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const zPlainString: z.ZodString;
|
|
3
|
-
export declare const zOutputEnvironmentVariable: z.ZodObject<{
|
|
4
|
-
environmentVariableKey: z.ZodString;
|
|
5
|
-
outputValueReference: z.ZodString;
|
|
6
|
-
}, z.core.$strip>;
|
|
7
3
|
export declare const zEnvironmentVariable: z.ZodObject<{
|
|
8
4
|
key: z.ZodString;
|
|
9
5
|
value: z.ZodString;
|
|
@@ -530,10 +526,7 @@ export declare const zRouteEdgeProps: z.ZodObject<{
|
|
|
530
526
|
path: z.ZodOptional<z.ZodString>;
|
|
531
527
|
}, z.core.$strip>;
|
|
532
528
|
export declare const zOutputEdgeProps: z.ZodObject<{
|
|
533
|
-
|
|
534
|
-
environmentVariableKey: z.ZodString;
|
|
535
|
-
outputValueReference: z.ZodString;
|
|
536
|
-
}, z.core.$strip>>;
|
|
529
|
+
keys: z.ZodArray<z.ZodString>;
|
|
537
530
|
}, z.core.$strip>;
|
|
538
531
|
export declare const zEdgeType: z.ZodEnum<{
|
|
539
532
|
network: "network";
|
|
@@ -560,10 +553,7 @@ export declare const zEdge: z.ZodObject<{
|
|
|
560
553
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
561
554
|
typ: z.ZodLiteral<"output">;
|
|
562
555
|
}, z.core.$strip>, z.ZodObject<{
|
|
563
|
-
|
|
564
|
-
environmentVariableKey: z.ZodString;
|
|
565
|
-
outputValueReference: z.ZodString;
|
|
566
|
-
}, z.core.$strip>>;
|
|
556
|
+
keys: z.ZodArray<z.ZodString>;
|
|
567
557
|
}, z.core.$strip>>]>>;
|
|
568
558
|
}, z.core.$strip>;
|
|
569
559
|
export declare const zNodeType: z.ZodEnum<{
|
|
@@ -742,10 +732,7 @@ export declare const zNode: z.ZodObject<{
|
|
|
742
732
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
743
733
|
typ: z.ZodLiteral<"output">;
|
|
744
734
|
}, z.core.$strip>, z.ZodObject<{
|
|
745
|
-
|
|
746
|
-
environmentVariableKey: z.ZodString;
|
|
747
|
-
outputValueReference: z.ZodString;
|
|
748
|
-
}, z.core.$strip>>;
|
|
735
|
+
keys: z.ZodArray<z.ZodString>;
|
|
749
736
|
}, z.core.$strip>>]>>;
|
|
750
737
|
}, z.core.$strip>>>;
|
|
751
738
|
typ: z.ZodEnum<{
|
|
@@ -912,10 +899,7 @@ export declare const zNodes: z.ZodObject<{
|
|
|
912
899
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
913
900
|
typ: z.ZodLiteral<"output">;
|
|
914
901
|
}, z.core.$strip>, z.ZodObject<{
|
|
915
|
-
|
|
916
|
-
environmentVariableKey: z.ZodString;
|
|
917
|
-
outputValueReference: z.ZodString;
|
|
918
|
-
}, z.core.$strip>>;
|
|
902
|
+
keys: z.ZodArray<z.ZodString>;
|
|
919
903
|
}, z.core.$strip>>]>>;
|
|
920
904
|
}, z.core.$strip>>>;
|
|
921
905
|
typ: z.ZodEnum<{
|
|
@@ -1085,10 +1069,7 @@ export declare const zGraph: z.ZodObject<{
|
|
|
1085
1069
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1086
1070
|
typ: z.ZodLiteral<"output">;
|
|
1087
1071
|
}, z.core.$strip>, z.ZodObject<{
|
|
1088
|
-
|
|
1089
|
-
environmentVariableKey: z.ZodString;
|
|
1090
|
-
outputValueReference: z.ZodString;
|
|
1091
|
-
}, z.core.$strip>>;
|
|
1072
|
+
keys: z.ZodArray<z.ZodString>;
|
|
1092
1073
|
}, z.core.$strip>>]>>;
|
|
1093
1074
|
}, z.core.$strip>>>;
|
|
1094
1075
|
typ: z.ZodEnum<{
|
|
@@ -1442,7 +1423,7 @@ export declare const zInviteUuid: z.ZodUUID;
|
|
|
1442
1423
|
/**
|
|
1443
1424
|
* The environment UUID.
|
|
1444
1425
|
*/
|
|
1445
|
-
export declare const
|
|
1426
|
+
export declare const zEnvironmentUuid: z.ZodUUID;
|
|
1446
1427
|
/**
|
|
1447
1428
|
* The node UUID.
|
|
1448
1429
|
*/
|
|
@@ -1617,10 +1598,10 @@ export declare const zGetServiceHealthResponse: z.ZodObject<{
|
|
|
1617
1598
|
}, z.core.$strip>;
|
|
1618
1599
|
export declare const zGetEnvironmentVariablesM2mData: z.ZodObject<{
|
|
1619
1600
|
body: z.ZodOptional<z.ZodNever>;
|
|
1620
|
-
path: z.
|
|
1621
|
-
|
|
1622
|
-
environment: z.ZodUUID;
|
|
1601
|
+
path: z.ZodObject<{
|
|
1602
|
+
environmentUUID: z.ZodUUID;
|
|
1623
1603
|
}, z.core.$strip>;
|
|
1604
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1624
1605
|
}, z.core.$strip>;
|
|
1625
1606
|
/**
|
|
1626
1607
|
* The environment variables.
|
|
@@ -1725,10 +1706,7 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
|
|
|
1725
1706
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1726
1707
|
typ: z.ZodLiteral<"output">;
|
|
1727
1708
|
}, z.core.$strip>, z.ZodObject<{
|
|
1728
|
-
|
|
1729
|
-
environmentVariableKey: z.ZodString;
|
|
1730
|
-
outputValueReference: z.ZodString;
|
|
1731
|
-
}, z.core.$strip>>;
|
|
1709
|
+
keys: z.ZodArray<z.ZodString>;
|
|
1732
1710
|
}, z.core.$strip>>]>>;
|
|
1733
1711
|
}, z.core.$strip>>>;
|
|
1734
1712
|
typ: z.ZodEnum<{
|
|
@@ -1897,10 +1875,7 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
|
|
|
1897
1875
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1898
1876
|
typ: z.ZodLiteral<"output">;
|
|
1899
1877
|
}, z.core.$strip>, z.ZodObject<{
|
|
1900
|
-
|
|
1901
|
-
environmentVariableKey: z.ZodString;
|
|
1902
|
-
outputValueReference: z.ZodString;
|
|
1903
|
-
}, z.core.$strip>>;
|
|
1878
|
+
keys: z.ZodArray<z.ZodString>;
|
|
1904
1879
|
}, z.core.$strip>>]>>;
|
|
1905
1880
|
}, z.core.$strip>>>;
|
|
1906
1881
|
typ: z.ZodEnum<{
|
|
@@ -2086,10 +2061,7 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
|
|
|
2086
2061
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2087
2062
|
typ: z.ZodLiteral<"output">;
|
|
2088
2063
|
}, z.core.$strip>, z.ZodObject<{
|
|
2089
|
-
|
|
2090
|
-
environmentVariableKey: z.ZodString;
|
|
2091
|
-
outputValueReference: z.ZodString;
|
|
2092
|
-
}, z.core.$strip>>;
|
|
2064
|
+
keys: z.ZodArray<z.ZodString>;
|
|
2093
2065
|
}, z.core.$strip>>]>>;
|
|
2094
2066
|
}, z.core.$strip>>>;
|
|
2095
2067
|
typ: z.ZodEnum<{
|
|
@@ -2256,10 +2228,7 @@ export declare const zUpdateNodeM2mData: z.ZodObject<{
|
|
|
2256
2228
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2257
2229
|
typ: z.ZodLiteral<"output">;
|
|
2258
2230
|
}, z.core.$strip>, z.ZodObject<{
|
|
2259
|
-
|
|
2260
|
-
environmentVariableKey: z.ZodString;
|
|
2261
|
-
outputValueReference: z.ZodString;
|
|
2262
|
-
}, z.core.$strip>>;
|
|
2231
|
+
keys: z.ZodArray<z.ZodString>;
|
|
2263
2232
|
}, z.core.$strip>>]>>;
|
|
2264
2233
|
}, z.core.$strip>>>;
|
|
2265
2234
|
typ: z.ZodEnum<{
|
|
@@ -2738,10 +2707,7 @@ export declare const zPreviewBlueprintResponse: z.ZodObject<{
|
|
|
2738
2707
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2739
2708
|
typ: z.ZodLiteral<"output">;
|
|
2740
2709
|
}, z.core.$strip>, z.ZodObject<{
|
|
2741
|
-
|
|
2742
|
-
environmentVariableKey: z.ZodString;
|
|
2743
|
-
outputValueReference: z.ZodString;
|
|
2744
|
-
}, z.core.$strip>>;
|
|
2710
|
+
keys: z.ZodArray<z.ZodString>;
|
|
2745
2711
|
}, z.core.$strip>>]>>;
|
|
2746
2712
|
}, z.core.$strip>>>;
|
|
2747
2713
|
typ: z.ZodEnum<{
|
|
@@ -3646,10 +3612,7 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
|
|
|
3646
3612
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
3647
3613
|
typ: z.ZodLiteral<"output">;
|
|
3648
3614
|
}, z.core.$strip>, z.ZodObject<{
|
|
3649
|
-
|
|
3650
|
-
environmentVariableKey: z.ZodString;
|
|
3651
|
-
outputValueReference: z.ZodString;
|
|
3652
|
-
}, z.core.$strip>>;
|
|
3615
|
+
keys: z.ZodArray<z.ZodString>;
|
|
3653
3616
|
}, z.core.$strip>>]>>;
|
|
3654
3617
|
}, z.core.$strip>>>;
|
|
3655
3618
|
typ: z.ZodEnum<{
|
|
@@ -3818,10 +3781,7 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
|
|
|
3818
3781
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
3819
3782
|
typ: z.ZodLiteral<"output">;
|
|
3820
3783
|
}, z.core.$strip>, z.ZodObject<{
|
|
3821
|
-
|
|
3822
|
-
environmentVariableKey: z.ZodString;
|
|
3823
|
-
outputValueReference: z.ZodString;
|
|
3824
|
-
}, z.core.$strip>>;
|
|
3784
|
+
keys: z.ZodArray<z.ZodString>;
|
|
3825
3785
|
}, z.core.$strip>>]>>;
|
|
3826
3786
|
}, z.core.$strip>>>;
|
|
3827
3787
|
typ: z.ZodEnum<{
|
package/dist/sdk/zod.gen.js
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export const zPlainString = z.string().regex(/^[-a-zA-Z0-9 ']+$/);
|
|
4
|
-
export const zOutputEnvironmentVariable = z.object({
|
|
5
|
-
environmentVariableKey: z.string(),
|
|
6
|
-
outputValueReference: z.string()
|
|
7
|
-
});
|
|
8
4
|
export const zEnvironmentVariable = z.object({
|
|
9
5
|
key: z.string(),
|
|
10
6
|
value: z.string(),
|
|
@@ -346,7 +342,7 @@ export const zRouteEdgeProps = z.object({
|
|
|
346
342
|
path: z.optional(z.string())
|
|
347
343
|
});
|
|
348
344
|
export const zOutputEdgeProps = z.object({
|
|
349
|
-
|
|
345
|
+
keys: z.array(z.string())
|
|
350
346
|
});
|
|
351
347
|
export const zEdgeType = z.enum([
|
|
352
348
|
'network',
|
|
@@ -673,7 +669,7 @@ export const zInviteUuid = z.uuid();
|
|
|
673
669
|
/**
|
|
674
670
|
* The environment UUID.
|
|
675
671
|
*/
|
|
676
|
-
export const
|
|
672
|
+
export const zEnvironmentUuid = z.uuid();
|
|
677
673
|
/**
|
|
678
674
|
* The node UUID.
|
|
679
675
|
*/
|
|
@@ -830,10 +826,10 @@ export const zGetServiceHealthData = z.object({
|
|
|
830
826
|
export const zGetServiceHealthResponse = zHealthResponse;
|
|
831
827
|
export const zGetEnvironmentVariablesM2mData = z.object({
|
|
832
828
|
body: z.optional(z.never()),
|
|
833
|
-
path: z.
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
829
|
+
path: z.object({
|
|
830
|
+
environmentUUID: z.uuid()
|
|
831
|
+
}),
|
|
832
|
+
query: z.optional(z.never())
|
|
837
833
|
});
|
|
838
834
|
/**
|
|
839
835
|
* The environment variables.
|