shoal-web-sdk 1.0.24 → 1.0.25

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.
@@ -23,7 +23,7 @@ export const getEnvironmentVariablesM2M = (options) => {
23
23
  type: 'http'
24
24
  }
25
25
  ],
26
- url: '/m2m/environment/{environment}/variables',
26
+ url: '/m2m/environment/{environmentUUID}/variables',
27
27
  ...options
28
28
  });
29
29
  };
@@ -685,7 +685,7 @@ export type InviteUuid = string;
685
685
  /**
686
686
  * The environment UUID.
687
687
  */
688
- export type EnvironmentId = string;
688
+ export type EnvironmentUuid = string;
689
689
  /**
690
690
  * The node UUID.
691
691
  */
@@ -841,14 +841,14 @@ export type GetServiceHealthResponses = {
841
841
  export type GetServiceHealthResponse = GetServiceHealthResponses[keyof GetServiceHealthResponses];
842
842
  export type GetEnvironmentVariablesM2mData = {
843
843
  body?: never;
844
- path?: never;
845
- query: {
844
+ path: {
846
845
  /**
847
846
  * The environment UUID.
848
847
  */
849
- environment: string;
848
+ environmentUUID: string;
850
849
  };
851
- url: '/m2m/environment/{environment}/variables';
850
+ query?: never;
851
+ url: '/m2m/environment/{environmentUUID}/variables';
852
852
  };
853
853
  export type GetEnvironmentVariablesM2mErrors = {
854
854
  /**
@@ -1442,7 +1442,7 @@ export declare const zInviteUuid: z.ZodUUID;
1442
1442
  /**
1443
1443
  * The environment UUID.
1444
1444
  */
1445
- export declare const zEnvironmentId: z.ZodUUID;
1445
+ export declare const zEnvironmentUuid: z.ZodUUID;
1446
1446
  /**
1447
1447
  * The node UUID.
1448
1448
  */
@@ -1617,10 +1617,10 @@ export declare const zGetServiceHealthResponse: z.ZodObject<{
1617
1617
  }, z.core.$strip>;
1618
1618
  export declare const zGetEnvironmentVariablesM2mData: z.ZodObject<{
1619
1619
  body: z.ZodOptional<z.ZodNever>;
1620
- path: z.ZodOptional<z.ZodNever>;
1621
- query: z.ZodObject<{
1622
- environment: z.ZodUUID;
1620
+ path: z.ZodObject<{
1621
+ environmentUUID: z.ZodUUID;
1623
1622
  }, z.core.$strip>;
1623
+ query: z.ZodOptional<z.ZodNever>;
1624
1624
  }, z.core.$strip>;
1625
1625
  /**
1626
1626
  * The environment variables.
@@ -673,7 +673,7 @@ export const zInviteUuid = z.uuid();
673
673
  /**
674
674
  * The environment UUID.
675
675
  */
676
- export const zEnvironmentId = z.uuid();
676
+ export const zEnvironmentUuid = z.uuid();
677
677
  /**
678
678
  * The node UUID.
679
679
  */
@@ -830,10 +830,10 @@ export const zGetServiceHealthData = z.object({
830
830
  export const zGetServiceHealthResponse = zHealthResponse;
831
831
  export const zGetEnvironmentVariablesM2mData = z.object({
832
832
  body: z.optional(z.never()),
833
- path: z.optional(z.never()),
834
- query: z.object({
835
- environment: z.uuid()
836
- })
833
+ path: z.object({
834
+ environmentUUID: z.uuid()
835
+ }),
836
+ query: z.optional(z.never())
837
837
  });
838
838
  /**
839
839
  * The environment variables.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",