shoal-web-sdk 1.0.120 → 1.0.121

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.
@@ -84,7 +84,7 @@ export type SecretValue = {
84
84
  value: string;
85
85
  version: string;
86
86
  };
87
- export type ErrorCode = 'UNKNOWN_ERROR' | 'AUTHORISATION_ERROR' | 'CONTENT_NOT_FOUND' | 'INVALID_PAGINATION' | 'INVALID_REQUEST_BODY' | 'INVALID_PATH_PARAM' | 'MISSING_CONTEXT_VALUE' | 'CONSTRAINT_ERROR' | 'PROJECT_CREATION_ERROR' | 'INVALID_QUERY_PARAM' | 'EXPIRED' | 'IDENTITY_NOT_FOUND' | 'NODE_TYPE_DISABLED';
87
+ export type ErrorCode = 'UNKNOWN_ERROR' | 'AUTHORISATION_ERROR' | 'CONTENT_NOT_FOUND' | 'INVALID_PAGINATION' | 'INVALID_REQUEST_BODY' | 'INVALID_PATH_PARAM' | 'MISSING_CONTEXT_VALUE' | 'CONSTRAINT_ERROR' | 'PROJECT_CREATION_ERROR' | 'INVALID_QUERY_PARAM' | 'EXPIRED' | 'IDENTITY_NOT_FOUND' | 'NODE_TYPE_DISABLED' | 'NOT_ALLOWED';
88
88
  export type ErrorResponse = {
89
89
  message: string;
90
90
  internalCode: ErrorCode;
@@ -105,6 +105,7 @@ export declare const zErrorCode: z.ZodEnum<{
105
105
  EXPIRED: "EXPIRED";
106
106
  IDENTITY_NOT_FOUND: "IDENTITY_NOT_FOUND";
107
107
  NODE_TYPE_DISABLED: "NODE_TYPE_DISABLED";
108
+ NOT_ALLOWED: "NOT_ALLOWED";
108
109
  }>;
109
110
  export declare const zErrorResponse: z.ZodObject<{
110
111
  message: z.ZodString;
@@ -122,6 +123,7 @@ export declare const zErrorResponse: z.ZodObject<{
122
123
  EXPIRED: "EXPIRED";
123
124
  IDENTITY_NOT_FOUND: "IDENTITY_NOT_FOUND";
124
125
  NODE_TYPE_DISABLED: "NODE_TYPE_DISABLED";
126
+ NOT_ALLOWED: "NOT_ALLOWED";
125
127
  }>;
126
128
  }, z.core.$strip>;
127
129
  export declare const zNeonOrganization: z.ZodObject<{
@@ -97,7 +97,8 @@ export const zErrorCode = z.enum([
97
97
  'INVALID_QUERY_PARAM',
98
98
  'EXPIRED',
99
99
  'IDENTITY_NOT_FOUND',
100
- 'NODE_TYPE_DISABLED'
100
+ 'NODE_TYPE_DISABLED',
101
+ 'NOT_ALLOWED'
101
102
  ]);
102
103
  export const zErrorResponse = z.object({
103
104
  message: z.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "1.0.120",
3
+ "version": "1.0.121",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",