shoal-web-sdk 0.0.177 → 0.0.179

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.
@@ -557,6 +557,14 @@ export type DeploymentStatusInformation = {
557
557
  status?: DeploymentStatus;
558
558
  message?: string;
559
559
  };
560
+ /**
561
+ * Clients known etag of the version.
562
+ */
563
+ export type IfMatch = string;
564
+ /**
565
+ * An etag of the latest version.
566
+ */
567
+ export type Etag = string;
560
568
  /**
561
569
  * Environment variable name.
562
570
  */
@@ -794,6 +802,12 @@ export type FetchGraphM2mResponses = {
794
802
  export type FetchGraphM2mResponse = FetchGraphM2mResponses[keyof FetchGraphM2mResponses];
795
803
  export type UpdateGraphM2mData = {
796
804
  body: Nodes;
805
+ headers: {
806
+ /**
807
+ * Clients known etag of the version.
808
+ */
809
+ 'If-Match': string;
810
+ };
797
811
  path: {
798
812
  /**
799
813
  * A version UUID.
@@ -2579,6 +2593,12 @@ export type GetGraphOverviewResponses = {
2579
2593
  export type GetGraphOverviewResponse = GetGraphOverviewResponses[keyof GetGraphOverviewResponses];
2580
2594
  export type UpdateGraphStateData = {
2581
2595
  body: Nodes;
2596
+ headers: {
2597
+ /**
2598
+ * Clients known etag of the version.
2599
+ */
2600
+ 'If-Match': string;
2601
+ };
2582
2602
  path: {
2583
2603
  /**
2584
2604
  * The space handle. This must be globally unique.
@@ -2631,6 +2651,12 @@ export type UpdateGraphStateResponses = {
2631
2651
  };
2632
2652
  export type DeployVersionData = {
2633
2653
  body?: never;
2654
+ headers: {
2655
+ /**
2656
+ * Clients known etag of the version.
2657
+ */
2658
+ 'If-Match': string;
2659
+ };
2634
2660
  path: {
2635
2661
  /**
2636
2662
  * The space handle. This must be globally unique.
@@ -1110,6 +1110,14 @@ export declare const zDeploymentStatusInformation: z.ZodObject<{
1110
1110
  }>>;
1111
1111
  message: z.ZodOptional<z.ZodString>;
1112
1112
  }, z.core.$strip>;
1113
+ /**
1114
+ * Clients known etag of the version.
1115
+ */
1116
+ export declare const zIfMatch: z.ZodString;
1117
+ /**
1118
+ * An etag of the latest version.
1119
+ */
1120
+ export declare const zEtag: z.ZodString;
1113
1121
  /**
1114
1122
  * Environment variable name.
1115
1123
  */
@@ -1557,6 +1565,9 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
1557
1565
  versionUUID: z.ZodUUID;
1558
1566
  }, z.core.$strip>;
1559
1567
  query: z.ZodOptional<z.ZodNever>;
1568
+ headers: z.ZodObject<{
1569
+ 'If-Match': z.ZodString;
1570
+ }, z.core.$strip>;
1560
1571
  }, z.core.$strip>;
1561
1572
  export declare const zFetchNodeM2mData: z.ZodObject<{
1562
1573
  body: z.ZodOptional<z.ZodNever>;
@@ -2860,6 +2871,9 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
2860
2871
  version: z.ZodString;
2861
2872
  }, z.core.$strip>;
2862
2873
  query: z.ZodOptional<z.ZodNever>;
2874
+ headers: z.ZodObject<{
2875
+ 'If-Match': z.ZodString;
2876
+ }, z.core.$strip>;
2863
2877
  }, z.core.$strip>;
2864
2878
  export declare const zDeployVersionData: z.ZodObject<{
2865
2879
  body: z.ZodOptional<z.ZodNever>;
@@ -2870,6 +2884,9 @@ export declare const zDeployVersionData: z.ZodObject<{
2870
2884
  version: z.ZodString;
2871
2885
  }, z.core.$strip>;
2872
2886
  query: z.ZodOptional<z.ZodNever>;
2887
+ headers: z.ZodObject<{
2888
+ 'If-Match': z.ZodString;
2889
+ }, z.core.$strip>;
2873
2890
  }, z.core.$strip>;
2874
2891
  export declare const zRequestSignedUploadUrlData: z.ZodObject<{
2875
2892
  body: z.ZodOptional<z.ZodNever>;
@@ -1,6 +1,6 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
  import { z } from 'zod';
3
- export const zPlainString = z.string().regex(/^[a-zA-Z0-9 -]+$/);
3
+ export const zPlainString = z.string().regex(/^[a-zA-Z0-9 -']+$/);
4
4
  export const zEnvironmentVariable = z.object({
5
5
  key: z.string(),
6
6
  value: z.string()
@@ -539,6 +539,14 @@ export const zDeploymentStatusInformation = z.object({
539
539
  status: z.optional(zDeploymentStatus),
540
540
  message: z.optional(z.string())
541
541
  });
542
+ /**
543
+ * Clients known etag of the version.
544
+ */
545
+ export const zIfMatch = z.string();
546
+ /**
547
+ * An etag of the latest version.
548
+ */
549
+ export const zEtag = z.string();
542
550
  /**
543
551
  * Environment variable name.
544
552
  */
@@ -692,7 +700,10 @@ export const zUpdateGraphM2mData = z.object({
692
700
  path: z.object({
693
701
  versionUUID: z.uuid()
694
702
  }),
695
- query: z.optional(z.never())
703
+ query: z.optional(z.never()),
704
+ headers: z.object({
705
+ 'If-Match': z.string()
706
+ })
696
707
  });
697
708
  export const zFetchNodeM2mData = z.object({
698
709
  body: z.optional(z.never()),
@@ -1162,7 +1173,10 @@ export const zUpdateGraphStateData = z.object({
1162
1173
  environmentHandle: z.string(),
1163
1174
  version: z.string()
1164
1175
  }),
1165
- query: z.optional(z.never())
1176
+ query: z.optional(z.never()),
1177
+ headers: z.object({
1178
+ 'If-Match': z.string()
1179
+ })
1166
1180
  });
1167
1181
  export const zDeployVersionData = z.object({
1168
1182
  body: z.optional(z.never()),
@@ -1172,7 +1186,10 @@ export const zDeployVersionData = z.object({
1172
1186
  environmentHandle: z.string(),
1173
1187
  version: z.string()
1174
1188
  }),
1175
- query: z.optional(z.never())
1189
+ query: z.optional(z.never()),
1190
+ headers: z.object({
1191
+ 'If-Match': z.string()
1192
+ })
1176
1193
  });
1177
1194
  export const zRequestSignedUploadUrlData = z.object({
1178
1195
  body: z.optional(z.never()),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "0.0.177",
3
+ "version": "0.0.179",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",