shoal-web-sdk 0.0.125 → 0.0.126
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 -2
- package/dist/sdk/zod.gen.d.ts +144 -18
- package/dist/sdk/zod.gen.js +16 -2
- package/package.json +1 -1
package/dist/sdk/types.gen.d.ts
CHANGED
|
@@ -330,6 +330,7 @@ export type Node = {
|
|
|
330
330
|
};
|
|
331
331
|
export type EdgeType = 'network' | 'route';
|
|
332
332
|
export type NodeType = 'cache' | 'comment' | 'container' | 'cronjob' | 'database' | 'function' | 'queue' | 'proxy' | 'vm' | 'scheduler';
|
|
333
|
+
export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD' | 'OPTIONS';
|
|
333
334
|
export type CommentNodeProps = {
|
|
334
335
|
comment?: string;
|
|
335
336
|
};
|
|
@@ -337,8 +338,15 @@ export type CacheNodeProps = {
|
|
|
337
338
|
size?: number;
|
|
338
339
|
};
|
|
339
340
|
export type SchedulerNodeProps = {
|
|
340
|
-
url
|
|
341
|
-
expression
|
|
341
|
+
url: string;
|
|
342
|
+
expression: string;
|
|
343
|
+
timezone: string;
|
|
344
|
+
requestMethod: HttpMethod;
|
|
345
|
+
requestPayload?: string;
|
|
346
|
+
requestHeaders?: {
|
|
347
|
+
[key: string]: string;
|
|
348
|
+
};
|
|
349
|
+
paused?: boolean;
|
|
342
350
|
};
|
|
343
351
|
export type ContainerNodeProps = {
|
|
344
352
|
region: Region;
|
package/dist/sdk/zod.gen.d.ts
CHANGED
|
@@ -489,6 +489,15 @@ export declare const zNodeType: z.ZodEnum<{
|
|
|
489
489
|
vm: "vm";
|
|
490
490
|
scheduler: "scheduler";
|
|
491
491
|
}>;
|
|
492
|
+
export declare const zHttpMethod: z.ZodEnum<{
|
|
493
|
+
DELETE: "DELETE";
|
|
494
|
+
GET: "GET";
|
|
495
|
+
HEAD: "HEAD";
|
|
496
|
+
OPTIONS: "OPTIONS";
|
|
497
|
+
PATCH: "PATCH";
|
|
498
|
+
POST: "POST";
|
|
499
|
+
PUT: "PUT";
|
|
500
|
+
}>;
|
|
492
501
|
export declare const zCommentNodeProps: z.ZodObject<{
|
|
493
502
|
comment: z.ZodOptional<z.ZodString>;
|
|
494
503
|
}, z.core.$strip>;
|
|
@@ -496,8 +505,21 @@ export declare const zCacheNodeProps: z.ZodObject<{
|
|
|
496
505
|
size: z.ZodOptional<z.ZodInt>;
|
|
497
506
|
}, z.core.$strip>;
|
|
498
507
|
export declare const zSchedulerNodeProps: z.ZodObject<{
|
|
499
|
-
url: z.
|
|
500
|
-
expression: z.
|
|
508
|
+
url: z.ZodString;
|
|
509
|
+
expression: z.ZodString;
|
|
510
|
+
timezone: z.ZodString;
|
|
511
|
+
requestMethod: z.ZodEnum<{
|
|
512
|
+
DELETE: "DELETE";
|
|
513
|
+
GET: "GET";
|
|
514
|
+
HEAD: "HEAD";
|
|
515
|
+
OPTIONS: "OPTIONS";
|
|
516
|
+
PATCH: "PATCH";
|
|
517
|
+
POST: "POST";
|
|
518
|
+
PUT: "PUT";
|
|
519
|
+
}>;
|
|
520
|
+
requestPayload: z.ZodOptional<z.ZodString>;
|
|
521
|
+
requestHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
522
|
+
paused: z.ZodOptional<z.ZodBoolean>;
|
|
501
523
|
}, z.core.$strip>;
|
|
502
524
|
export declare const zRegion: z.ZodEnum<{
|
|
503
525
|
"africa-south1": "africa-south1";
|
|
@@ -769,8 +791,21 @@ export declare const zNode: z.ZodObject<{
|
|
|
769
791
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
770
792
|
typ: z.ZodLiteral<"scheduler">;
|
|
771
793
|
}, z.core.$strip>, z.ZodObject<{
|
|
772
|
-
url: z.
|
|
773
|
-
expression: z.
|
|
794
|
+
url: z.ZodString;
|
|
795
|
+
expression: z.ZodString;
|
|
796
|
+
timezone: z.ZodString;
|
|
797
|
+
requestMethod: z.ZodEnum<{
|
|
798
|
+
DELETE: "DELETE";
|
|
799
|
+
GET: "GET";
|
|
800
|
+
HEAD: "HEAD";
|
|
801
|
+
OPTIONS: "OPTIONS";
|
|
802
|
+
PATCH: "PATCH";
|
|
803
|
+
POST: "POST";
|
|
804
|
+
PUT: "PUT";
|
|
805
|
+
}>;
|
|
806
|
+
requestPayload: z.ZodOptional<z.ZodString>;
|
|
807
|
+
requestHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
808
|
+
paused: z.ZodOptional<z.ZodBoolean>;
|
|
774
809
|
}, z.core.$strip>>]>>;
|
|
775
810
|
}, z.core.$strip>;
|
|
776
811
|
export declare const zNodes: z.ZodObject<{
|
|
@@ -911,8 +946,21 @@ export declare const zNodes: z.ZodObject<{
|
|
|
911
946
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
912
947
|
typ: z.ZodLiteral<"scheduler">;
|
|
913
948
|
}, z.core.$strip>, z.ZodObject<{
|
|
914
|
-
url: z.
|
|
915
|
-
expression: z.
|
|
949
|
+
url: z.ZodString;
|
|
950
|
+
expression: z.ZodString;
|
|
951
|
+
timezone: z.ZodString;
|
|
952
|
+
requestMethod: z.ZodEnum<{
|
|
953
|
+
DELETE: "DELETE";
|
|
954
|
+
GET: "GET";
|
|
955
|
+
HEAD: "HEAD";
|
|
956
|
+
OPTIONS: "OPTIONS";
|
|
957
|
+
PATCH: "PATCH";
|
|
958
|
+
POST: "POST";
|
|
959
|
+
PUT: "PUT";
|
|
960
|
+
}>;
|
|
961
|
+
requestPayload: z.ZodOptional<z.ZodString>;
|
|
962
|
+
requestHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
963
|
+
paused: z.ZodOptional<z.ZodBoolean>;
|
|
916
964
|
}, z.core.$strip>>]>>;
|
|
917
965
|
}, z.core.$strip>>;
|
|
918
966
|
}, z.core.$strip>;
|
|
@@ -1055,8 +1103,21 @@ export declare const zGraph: z.ZodObject<{
|
|
|
1055
1103
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1056
1104
|
typ: z.ZodLiteral<"scheduler">;
|
|
1057
1105
|
}, z.core.$strip>, z.ZodObject<{
|
|
1058
|
-
url: z.
|
|
1059
|
-
expression: z.
|
|
1106
|
+
url: z.ZodString;
|
|
1107
|
+
expression: z.ZodString;
|
|
1108
|
+
timezone: z.ZodString;
|
|
1109
|
+
requestMethod: z.ZodEnum<{
|
|
1110
|
+
DELETE: "DELETE";
|
|
1111
|
+
GET: "GET";
|
|
1112
|
+
HEAD: "HEAD";
|
|
1113
|
+
OPTIONS: "OPTIONS";
|
|
1114
|
+
PATCH: "PATCH";
|
|
1115
|
+
POST: "POST";
|
|
1116
|
+
PUT: "PUT";
|
|
1117
|
+
}>;
|
|
1118
|
+
requestPayload: z.ZodOptional<z.ZodString>;
|
|
1119
|
+
requestHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1120
|
+
paused: z.ZodOptional<z.ZodBoolean>;
|
|
1060
1121
|
}, z.core.$strip>>]>>;
|
|
1061
1122
|
}, z.core.$strip>>;
|
|
1062
1123
|
}, z.core.$strip>;
|
|
@@ -1403,8 +1464,21 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
|
|
|
1403
1464
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1404
1465
|
typ: z.ZodLiteral<"scheduler">;
|
|
1405
1466
|
}, z.core.$strip>, z.ZodObject<{
|
|
1406
|
-
url: z.
|
|
1407
|
-
expression: z.
|
|
1467
|
+
url: z.ZodString;
|
|
1468
|
+
expression: z.ZodString;
|
|
1469
|
+
timezone: z.ZodString;
|
|
1470
|
+
requestMethod: z.ZodEnum<{
|
|
1471
|
+
DELETE: "DELETE";
|
|
1472
|
+
GET: "GET";
|
|
1473
|
+
HEAD: "HEAD";
|
|
1474
|
+
OPTIONS: "OPTIONS";
|
|
1475
|
+
PATCH: "PATCH";
|
|
1476
|
+
POST: "POST";
|
|
1477
|
+
PUT: "PUT";
|
|
1478
|
+
}>;
|
|
1479
|
+
requestPayload: z.ZodOptional<z.ZodString>;
|
|
1480
|
+
requestHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1481
|
+
paused: z.ZodOptional<z.ZodBoolean>;
|
|
1408
1482
|
}, z.core.$strip>>]>>;
|
|
1409
1483
|
}, z.core.$strip>>;
|
|
1410
1484
|
}, z.core.$strip>;
|
|
@@ -1547,8 +1621,21 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
|
|
|
1547
1621
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1548
1622
|
typ: z.ZodLiteral<"scheduler">;
|
|
1549
1623
|
}, z.core.$strip>, z.ZodObject<{
|
|
1550
|
-
url: z.
|
|
1551
|
-
expression: z.
|
|
1624
|
+
url: z.ZodString;
|
|
1625
|
+
expression: z.ZodString;
|
|
1626
|
+
timezone: z.ZodString;
|
|
1627
|
+
requestMethod: z.ZodEnum<{
|
|
1628
|
+
DELETE: "DELETE";
|
|
1629
|
+
GET: "GET";
|
|
1630
|
+
HEAD: "HEAD";
|
|
1631
|
+
OPTIONS: "OPTIONS";
|
|
1632
|
+
PATCH: "PATCH";
|
|
1633
|
+
POST: "POST";
|
|
1634
|
+
PUT: "PUT";
|
|
1635
|
+
}>;
|
|
1636
|
+
requestPayload: z.ZodOptional<z.ZodString>;
|
|
1637
|
+
requestHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1638
|
+
paused: z.ZodOptional<z.ZodBoolean>;
|
|
1552
1639
|
}, z.core.$strip>>]>>;
|
|
1553
1640
|
}, z.core.$strip>>;
|
|
1554
1641
|
}, z.core.$strip>;
|
|
@@ -1705,8 +1792,21 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
|
|
|
1705
1792
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1706
1793
|
typ: z.ZodLiteral<"scheduler">;
|
|
1707
1794
|
}, z.core.$strip>, z.ZodObject<{
|
|
1708
|
-
url: z.
|
|
1709
|
-
expression: z.
|
|
1795
|
+
url: z.ZodString;
|
|
1796
|
+
expression: z.ZodString;
|
|
1797
|
+
timezone: z.ZodString;
|
|
1798
|
+
requestMethod: z.ZodEnum<{
|
|
1799
|
+
DELETE: "DELETE";
|
|
1800
|
+
GET: "GET";
|
|
1801
|
+
HEAD: "HEAD";
|
|
1802
|
+
OPTIONS: "OPTIONS";
|
|
1803
|
+
PATCH: "PATCH";
|
|
1804
|
+
POST: "POST";
|
|
1805
|
+
PUT: "PUT";
|
|
1806
|
+
}>;
|
|
1807
|
+
requestPayload: z.ZodOptional<z.ZodString>;
|
|
1808
|
+
requestHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1809
|
+
paused: z.ZodOptional<z.ZodBoolean>;
|
|
1710
1810
|
}, z.core.$strip>>]>>;
|
|
1711
1811
|
}, z.core.$strip>;
|
|
1712
1812
|
export declare const zRequestAccountPasswordResetData: z.ZodObject<{
|
|
@@ -2495,8 +2595,21 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
|
|
|
2495
2595
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2496
2596
|
typ: z.ZodLiteral<"scheduler">;
|
|
2497
2597
|
}, z.core.$strip>, z.ZodObject<{
|
|
2498
|
-
url: z.
|
|
2499
|
-
expression: z.
|
|
2598
|
+
url: z.ZodString;
|
|
2599
|
+
expression: z.ZodString;
|
|
2600
|
+
timezone: z.ZodString;
|
|
2601
|
+
requestMethod: z.ZodEnum<{
|
|
2602
|
+
DELETE: "DELETE";
|
|
2603
|
+
GET: "GET";
|
|
2604
|
+
HEAD: "HEAD";
|
|
2605
|
+
OPTIONS: "OPTIONS";
|
|
2606
|
+
PATCH: "PATCH";
|
|
2607
|
+
POST: "POST";
|
|
2608
|
+
PUT: "PUT";
|
|
2609
|
+
}>;
|
|
2610
|
+
requestPayload: z.ZodOptional<z.ZodString>;
|
|
2611
|
+
requestHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2612
|
+
paused: z.ZodOptional<z.ZodBoolean>;
|
|
2500
2613
|
}, z.core.$strip>>]>>;
|
|
2501
2614
|
}, z.core.$strip>>;
|
|
2502
2615
|
}, z.core.$strip>;
|
|
@@ -2639,8 +2752,21 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
|
|
|
2639
2752
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2640
2753
|
typ: z.ZodLiteral<"scheduler">;
|
|
2641
2754
|
}, z.core.$strip>, z.ZodObject<{
|
|
2642
|
-
url: z.
|
|
2643
|
-
expression: z.
|
|
2755
|
+
url: z.ZodString;
|
|
2756
|
+
expression: z.ZodString;
|
|
2757
|
+
timezone: z.ZodString;
|
|
2758
|
+
requestMethod: z.ZodEnum<{
|
|
2759
|
+
DELETE: "DELETE";
|
|
2760
|
+
GET: "GET";
|
|
2761
|
+
HEAD: "HEAD";
|
|
2762
|
+
OPTIONS: "OPTIONS";
|
|
2763
|
+
PATCH: "PATCH";
|
|
2764
|
+
POST: "POST";
|
|
2765
|
+
PUT: "PUT";
|
|
2766
|
+
}>;
|
|
2767
|
+
requestPayload: z.ZodOptional<z.ZodString>;
|
|
2768
|
+
requestHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2769
|
+
paused: z.ZodOptional<z.ZodBoolean>;
|
|
2644
2770
|
}, z.core.$strip>>]>>;
|
|
2645
2771
|
}, z.core.$strip>>;
|
|
2646
2772
|
}, z.core.$strip>;
|
package/dist/sdk/zod.gen.js
CHANGED
|
@@ -320,6 +320,15 @@ export const zNodeType = z.enum([
|
|
|
320
320
|
'vm',
|
|
321
321
|
'scheduler'
|
|
322
322
|
]);
|
|
323
|
+
export const zHttpMethod = z.enum([
|
|
324
|
+
'GET',
|
|
325
|
+
'POST',
|
|
326
|
+
'PUT',
|
|
327
|
+
'PATCH',
|
|
328
|
+
'DELETE',
|
|
329
|
+
'HEAD',
|
|
330
|
+
'OPTIONS'
|
|
331
|
+
]);
|
|
323
332
|
export const zCommentNodeProps = z.object({
|
|
324
333
|
comment: z.optional(z.string())
|
|
325
334
|
});
|
|
@@ -327,8 +336,13 @@ export const zCacheNodeProps = z.object({
|
|
|
327
336
|
size: z.optional(z.int())
|
|
328
337
|
});
|
|
329
338
|
export const zSchedulerNodeProps = z.object({
|
|
330
|
-
url: z.
|
|
331
|
-
expression: z.
|
|
339
|
+
url: z.string(),
|
|
340
|
+
expression: z.string(),
|
|
341
|
+
timezone: z.string(),
|
|
342
|
+
requestMethod: zHttpMethod,
|
|
343
|
+
requestPayload: z.optional(z.string()),
|
|
344
|
+
requestHeaders: z.optional(z.record(z.string(), z.string())),
|
|
345
|
+
paused: z.optional(z.boolean())
|
|
332
346
|
});
|
|
333
347
|
export const zRegion = z.enum([
|
|
334
348
|
'africa-south1',
|