shoal-web-sdk 1.0.25 → 1.0.27

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.
@@ -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;
@@ -359,6 +355,10 @@ export type Deployment = {
359
355
  finishedAt?: string;
360
356
  status: DeploymentStatus;
361
357
  message?: string;
358
+ triggeredByKindeId?: string;
359
+ triggeredByFirstName?: string;
360
+ triggeredByLastName?: string;
361
+ triggeredByEmail?: string;
362
362
  };
363
363
  export type Version = {
364
364
  id: string;
@@ -392,7 +392,7 @@ export type RouteEdgeProps = {
392
392
  path?: string;
393
393
  };
394
394
  export type OutputEdgeProps = {
395
- outputs: Array<OutputEnvironmentVariable>;
395
+ keys: Array<string>;
396
396
  };
397
397
  export type Node = {
398
398
  id: string;
@@ -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
- outputs: z.ZodArray<z.ZodObject<{
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
- outputs: z.ZodArray<z.ZodObject<{
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
- outputs: z.ZodArray<z.ZodObject<{
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
- outputs: z.ZodArray<z.ZodObject<{
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
- outputs: z.ZodArray<z.ZodObject<{
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<{
@@ -1336,6 +1317,10 @@ export declare const zDeployment: z.ZodObject<{
1336
1317
  failed: "failed";
1337
1318
  }>;
1338
1319
  message: z.ZodOptional<z.ZodString>;
1320
+ triggeredByKindeId: z.ZodOptional<z.ZodString>;
1321
+ triggeredByFirstName: z.ZodOptional<z.ZodString>;
1322
+ triggeredByLastName: z.ZodOptional<z.ZodString>;
1323
+ triggeredByEmail: z.ZodOptional<z.ZodString>;
1339
1324
  }, z.core.$strip>;
1340
1325
  export declare const zVersion: z.ZodObject<{
1341
1326
  id: z.ZodUUID;
@@ -1358,6 +1343,10 @@ export declare const zVersion: z.ZodObject<{
1358
1343
  failed: "failed";
1359
1344
  }>;
1360
1345
  message: z.ZodOptional<z.ZodString>;
1346
+ triggeredByKindeId: z.ZodOptional<z.ZodString>;
1347
+ triggeredByFirstName: z.ZodOptional<z.ZodString>;
1348
+ triggeredByLastName: z.ZodOptional<z.ZodString>;
1349
+ triggeredByEmail: z.ZodOptional<z.ZodString>;
1361
1350
  }, z.core.$strip>>;
1362
1351
  }, z.core.$strip>;
1363
1352
  export declare const zPaginatedEnvironmentVersions: z.ZodIntersection<z.ZodObject<{
@@ -1386,6 +1375,10 @@ export declare const zPaginatedEnvironmentVersions: z.ZodIntersection<z.ZodObjec
1386
1375
  failed: "failed";
1387
1376
  }>;
1388
1377
  message: z.ZodOptional<z.ZodString>;
1378
+ triggeredByKindeId: z.ZodOptional<z.ZodString>;
1379
+ triggeredByFirstName: z.ZodOptional<z.ZodString>;
1380
+ triggeredByLastName: z.ZodOptional<z.ZodString>;
1381
+ triggeredByEmail: z.ZodOptional<z.ZodString>;
1389
1382
  }, z.core.$strip>>;
1390
1383
  }, z.core.$strip>>;
1391
1384
  }, z.core.$strip>>;
@@ -1664,6 +1657,10 @@ export declare const zGetVersionM2mResponse: z.ZodObject<{
1664
1657
  failed: "failed";
1665
1658
  }>;
1666
1659
  message: z.ZodOptional<z.ZodString>;
1660
+ triggeredByKindeId: z.ZodOptional<z.ZodString>;
1661
+ triggeredByFirstName: z.ZodOptional<z.ZodString>;
1662
+ triggeredByLastName: z.ZodOptional<z.ZodString>;
1663
+ triggeredByEmail: z.ZodOptional<z.ZodString>;
1667
1664
  }, z.core.$strip>>;
1668
1665
  }, z.core.$strip>;
1669
1666
  export declare const zUpdateDeploymentStatusM2mData: z.ZodObject<{
@@ -1725,10 +1722,7 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
1725
1722
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1726
1723
  typ: z.ZodLiteral<"output">;
1727
1724
  }, z.core.$strip>, z.ZodObject<{
1728
- outputs: z.ZodArray<z.ZodObject<{
1729
- environmentVariableKey: z.ZodString;
1730
- outputValueReference: z.ZodString;
1731
- }, z.core.$strip>>;
1725
+ keys: z.ZodArray<z.ZodString>;
1732
1726
  }, z.core.$strip>>]>>;
1733
1727
  }, z.core.$strip>>>;
1734
1728
  typ: z.ZodEnum<{
@@ -1897,10 +1891,7 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
1897
1891
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1898
1892
  typ: z.ZodLiteral<"output">;
1899
1893
  }, z.core.$strip>, z.ZodObject<{
1900
- outputs: z.ZodArray<z.ZodObject<{
1901
- environmentVariableKey: z.ZodString;
1902
- outputValueReference: z.ZodString;
1903
- }, z.core.$strip>>;
1894
+ keys: z.ZodArray<z.ZodString>;
1904
1895
  }, z.core.$strip>>]>>;
1905
1896
  }, z.core.$strip>>>;
1906
1897
  typ: z.ZodEnum<{
@@ -2086,10 +2077,7 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
2086
2077
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2087
2078
  typ: z.ZodLiteral<"output">;
2088
2079
  }, z.core.$strip>, z.ZodObject<{
2089
- outputs: z.ZodArray<z.ZodObject<{
2090
- environmentVariableKey: z.ZodString;
2091
- outputValueReference: z.ZodString;
2092
- }, z.core.$strip>>;
2080
+ keys: z.ZodArray<z.ZodString>;
2093
2081
  }, z.core.$strip>>]>>;
2094
2082
  }, z.core.$strip>>>;
2095
2083
  typ: z.ZodEnum<{
@@ -2256,10 +2244,7 @@ export declare const zUpdateNodeM2mData: z.ZodObject<{
2256
2244
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2257
2245
  typ: z.ZodLiteral<"output">;
2258
2246
  }, z.core.$strip>, z.ZodObject<{
2259
- outputs: z.ZodArray<z.ZodObject<{
2260
- environmentVariableKey: z.ZodString;
2261
- outputValueReference: z.ZodString;
2262
- }, z.core.$strip>>;
2247
+ keys: z.ZodArray<z.ZodString>;
2263
2248
  }, z.core.$strip>>]>>;
2264
2249
  }, z.core.$strip>>>;
2265
2250
  typ: z.ZodEnum<{
@@ -2738,10 +2723,7 @@ export declare const zPreviewBlueprintResponse: z.ZodObject<{
2738
2723
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2739
2724
  typ: z.ZodLiteral<"output">;
2740
2725
  }, z.core.$strip>, z.ZodObject<{
2741
- outputs: z.ZodArray<z.ZodObject<{
2742
- environmentVariableKey: z.ZodString;
2743
- outputValueReference: z.ZodString;
2744
- }, z.core.$strip>>;
2726
+ keys: z.ZodArray<z.ZodString>;
2745
2727
  }, z.core.$strip>>]>>;
2746
2728
  }, z.core.$strip>>>;
2747
2729
  typ: z.ZodEnum<{
@@ -3393,6 +3375,10 @@ export declare const zGetEnvironmentVersionsResponse: z.ZodIntersection<z.ZodObj
3393
3375
  failed: "failed";
3394
3376
  }>;
3395
3377
  message: z.ZodOptional<z.ZodString>;
3378
+ triggeredByKindeId: z.ZodOptional<z.ZodString>;
3379
+ triggeredByFirstName: z.ZodOptional<z.ZodString>;
3380
+ triggeredByLastName: z.ZodOptional<z.ZodString>;
3381
+ triggeredByEmail: z.ZodOptional<z.ZodString>;
3396
3382
  }, z.core.$strip>>;
3397
3383
  }, z.core.$strip>>;
3398
3384
  }, z.core.$strip>>;
@@ -3588,6 +3574,10 @@ export declare const zGetVersionResponse: z.ZodObject<{
3588
3574
  failed: "failed";
3589
3575
  }>;
3590
3576
  message: z.ZodOptional<z.ZodString>;
3577
+ triggeredByKindeId: z.ZodOptional<z.ZodString>;
3578
+ triggeredByFirstName: z.ZodOptional<z.ZodString>;
3579
+ triggeredByLastName: z.ZodOptional<z.ZodString>;
3580
+ triggeredByEmail: z.ZodOptional<z.ZodString>;
3591
3581
  }, z.core.$strip>>;
3592
3582
  }, z.core.$strip>;
3593
3583
  export declare const zImportBlueprintData: z.ZodObject<{
@@ -3646,10 +3636,7 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
3646
3636
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3647
3637
  typ: z.ZodLiteral<"output">;
3648
3638
  }, z.core.$strip>, z.ZodObject<{
3649
- outputs: z.ZodArray<z.ZodObject<{
3650
- environmentVariableKey: z.ZodString;
3651
- outputValueReference: z.ZodString;
3652
- }, z.core.$strip>>;
3639
+ keys: z.ZodArray<z.ZodString>;
3653
3640
  }, z.core.$strip>>]>>;
3654
3641
  }, z.core.$strip>>>;
3655
3642
  typ: z.ZodEnum<{
@@ -3818,10 +3805,7 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
3818
3805
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3819
3806
  typ: z.ZodLiteral<"output">;
3820
3807
  }, z.core.$strip>, z.ZodObject<{
3821
- outputs: z.ZodArray<z.ZodObject<{
3822
- environmentVariableKey: z.ZodString;
3823
- outputValueReference: z.ZodString;
3824
- }, z.core.$strip>>;
3808
+ keys: z.ZodArray<z.ZodString>;
3825
3809
  }, z.core.$strip>>]>>;
3826
3810
  }, z.core.$strip>>>;
3827
3811
  typ: z.ZodEnum<{
@@ -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
- outputs: z.array(zOutputEnvironmentVariable)
345
+ keys: z.array(z.string())
350
346
  });
351
347
  export const zEdgeType = z.enum([
352
348
  'network',
@@ -619,7 +615,11 @@ export const zDeployment = z.object({
619
615
  startedAt: z.iso.datetime(),
620
616
  finishedAt: z.optional(z.iso.datetime()),
621
617
  status: zDeploymentStatus,
622
- message: z.optional(z.string())
618
+ message: z.optional(z.string()),
619
+ triggeredByKindeId: z.optional(z.string()),
620
+ triggeredByFirstName: z.optional(z.string()),
621
+ triggeredByLastName: z.optional(z.string()),
622
+ triggeredByEmail: z.optional(z.string())
623
623
  });
624
624
  export const zVersion = z.object({
625
625
  id: z.uuid(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "1.0.25",
3
+ "version": "1.0.27",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",