@snyk/error-catalog-nodejs-public 5.20.0 → 5.21.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snyk/error-catalog-nodejs-public",
3
- "version": "5.20.0",
3
+ "version": "5.21.1",
4
4
  "type": "commonjs",
5
5
  "author": "snyk.io",
6
6
  "license": "Apache-2.0",
@@ -0,0 +1,309 @@
1
+ /*
2
+ * © 2024 Snyk Limited
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the 'License');
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an 'AS IS' BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { ProblemError } from '../problem-error';
17
+ /**
18
+ * @class
19
+ * @name VersioningSchemaDoesNotSupportTagError
20
+ * @description The versioning schema used does not support the given tag. Update the versioning schema to include the tag.
21
+ *
22
+ * Once the tag of the custom base image is correct, the versioning schema must be modified.
23
+ * You can use a different versioning schema that supports all tags in the repository or you can update the relevant properties of the versioning schema.
24
+ *
25
+ * For example, if the repository currently uses Semver, and a new tag "1.2.5.7" needs to be added, then you can use a Custom versioning schema.
26
+ *
27
+ * See more:
28
+ * - [https://docs.snyk.io/scan-using-snyk/snyk-container/use-snyk-container-from-the-web-ui/use-custom-base-image-recommendations/versioning-schema-for-custom-base-images](https://docs.snyk.io/scan-using-snyk/snyk-container/use-snyk-container-from-the-web-ui/use-custom-base-image-recommendations/versioning-schema-for-custom-base-images)
29
+ * @summary Versioning schema does not support tag
30
+ * @category CustomBaseImages
31
+ * @param {string} details the specific details that causes this error
32
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
33
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
34
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
35
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
36
+ */
37
+ export declare class VersioningSchemaDoesNotSupportTagError extends ProblemError {
38
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
39
+ }
40
+ /**
41
+ * @class
42
+ * @name RequiredParameterNotProvidedError
43
+ * @description Provide an ORG ID or GROUP ID.
44
+ * @summary Missing required parameter
45
+ * @category CustomBaseImages
46
+ * @param {string} details the specific details that causes this error
47
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
48
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
49
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
50
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
51
+ */
52
+ export declare class RequiredParameterNotProvidedError extends ProblemError {
53
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
54
+ }
55
+ /**
56
+ * @class
57
+ * @name ProjectDoesNotExistError
58
+ * @description The project could not be found. Check that the project exists, that you have access to the project, and also check that the ID you have provided is the project ID and not a CBI ID.
59
+ * @summary Project does not exist
60
+ * @category CustomBaseImages
61
+ * @param {string} details the specific details that causes this error
62
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
63
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
64
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
65
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
66
+ */
67
+ export declare class ProjectDoesNotExistError extends ProblemError {
68
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
69
+ }
70
+ /**
71
+ * @class
72
+ * @name ProjectIsNotContainerImageError
73
+ * @description The project is not a container image.
74
+ *
75
+ * See more:
76
+ * - [https://docs.snyk.io/scan-using-snyk/snyk-container/use-snyk-container-from-the-web-ui/use-custom-base-image-recommendations](https://docs.snyk.io/scan-using-snyk/snyk-container/use-snyk-container-from-the-web-ui/use-custom-base-image-recommendations)
77
+ * @summary Project is not a container image
78
+ * @category CustomBaseImages
79
+ * @param {string} details the specific details that causes this error
80
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
81
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
82
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
83
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
84
+ */
85
+ export declare class ProjectIsNotContainerImageError extends ProblemError {
86
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
87
+ }
88
+ /**
89
+ * @class
90
+ * @name ProjectDoesNotBelongToGroupError
91
+ * @description The project's org does not belong to a group. In order to use a Custom Base Image, recreate the project and add it to a group or add a group to the org. Note that the group feature is not available to free users.
92
+ * @summary Unable to retrieve group
93
+ * @category CustomBaseImages
94
+ * @param {string} details the specific details that causes this error
95
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
96
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
97
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
98
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
99
+ */
100
+ export declare class ProjectDoesNotBelongToGroupError extends ProblemError {
101
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
102
+ }
103
+ /**
104
+ * @class
105
+ * @name RequestIdsDoNotMatchError
106
+ * @description The request body ID and the request path ID do not match. Ensure that the values are the same and try again.
107
+ * @summary The values in the request do not match
108
+ * @category CustomBaseImages
109
+ * @param {string} details the specific details that causes this error
110
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
111
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
112
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
113
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
114
+ */
115
+ export declare class RequestIdsDoNotMatchError extends ProblemError {
116
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
117
+ }
118
+ /**
119
+ * @class
120
+ * @name RequestBodyAttributesMissingError
121
+ * @description The request body does not contain any attributes that can be updated. Provide the necessary attributes and try again.
122
+ * @summary The request body cannot be updated
123
+ * @category CustomBaseImages
124
+ * @param {string} details the specific details that causes this error
125
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
126
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
127
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
128
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
129
+ */
130
+ export declare class RequestBodyAttributesMissingError extends ProblemError {
131
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
132
+ }
133
+ /**
134
+ * @class
135
+ * @name InvalidPaginationCursorError
136
+ * @description The provided pagination cursor is invalid.
137
+ * @summary Invalid pagination cursor
138
+ * @category CustomBaseImages
139
+ * @param {string} details the specific details that causes this error
140
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
141
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
142
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
143
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
144
+ */
145
+ export declare class InvalidPaginationCursorError extends ProblemError {
146
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
147
+ }
148
+ /**
149
+ * @class
150
+ * @name UnableToSortByVersionError
151
+ * @description Snyk was unable to filter by version. Provide a repository filter and try again.
152
+ * @summary Unable to sort by version
153
+ * @category CustomBaseImages
154
+ * @param {string} details the specific details that causes this error
155
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
156
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
157
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
158
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
159
+ */
160
+ export declare class UnableToSortByVersionError extends ProblemError {
161
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
162
+ }
163
+ /**
164
+ * @class
165
+ * @name UpdateVersioningSchemaFailError
166
+ * @description The versioning schema could not be applied to all images in the repository. Therefore, no resources have been updated. Update the provided versioning schema so that all tags in the repository fit the new schema.
167
+ * @summary Unable to update versioning schema
168
+ * @category CustomBaseImages
169
+ * @param {string} details the specific details that causes this error
170
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
171
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
172
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
173
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
174
+ */
175
+ export declare class UpdateVersioningSchemaFailError extends ProblemError {
176
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
177
+ }
178
+ /**
179
+ * @class
180
+ * @name ProjectAlreadyLinkedError
181
+ * @description The project ID provided is already linked to another Custom Base Image.
182
+ * @summary Project is already linked to a custom base image
183
+ * @category CustomBaseImages
184
+ * @param {string} details the specific details that causes this error
185
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
186
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
187
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
188
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
189
+ */
190
+ export declare class ProjectAlreadyLinkedError extends ProblemError {
191
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
192
+ }
193
+ /**
194
+ * @class
195
+ * @name VersioningSchemaMissingError
196
+ * @description No versioning schema exists for the repository. This image is the first in its repository. Provide a versioning schema that fits the format of current and future images in this repository.
197
+ * @summary No versioning schema for repository
198
+ * @category CustomBaseImages
199
+ * @param {string} details the specific details that causes this error
200
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
201
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
202
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
203
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
204
+ */
205
+ export declare class VersioningSchemaMissingError extends ProblemError {
206
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
207
+ }
208
+ /**
209
+ * @class
210
+ * @name VersioningSchemaInapplicableError
211
+ * @description A versioning schema already exists for repository. Remove the "versioning_schema" property or, if you want to update the versioning schema, use the PATCH endpoint.
212
+ * @summary Unable to apply versioning schema
213
+ * @category CustomBaseImages
214
+ * @param {string} details the specific details that causes this error
215
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
216
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
217
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
218
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
219
+ */
220
+ export declare class VersioningSchemaInapplicableError extends ProblemError {
221
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
222
+ }
223
+ /**
224
+ * @class
225
+ * @name ImageNotFoundError
226
+ * @description Unable to find the requested custom base image. Try again, and if the error persists, contact Snyk support.
227
+ * @summary Unable to find custom base image
228
+ * @category CustomBaseImages
229
+ * @param {string} details the specific details that causes this error
230
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
231
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
232
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
233
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
234
+ */
235
+ export declare class ImageNotFoundError extends ProblemError {
236
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
237
+ }
238
+ /**
239
+ * @class
240
+ * @name ImageDoesNotExistError
241
+ * @description The requested custom base image does not exist.
242
+ *
243
+ * See more:
244
+ * - [https://status.snyk.io/](https://status.snyk.io/)
245
+ * @summary Custom base image does not exist
246
+ * @category CustomBaseImages
247
+ * @param {string} details the specific details that causes this error
248
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
249
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
250
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
251
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
252
+ */
253
+ export declare class ImageDoesNotExistError extends ProblemError {
254
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
255
+ }
256
+ /**
257
+ * @class
258
+ * @name ImageUpdateFailedError
259
+ * @description An internal error occurred while trying to update a custom base image. Try again, and if the error persists, contact Snyk support.
260
+ *
261
+ * See more:
262
+ * - [https://status.snyk.io/](https://status.snyk.io/)
263
+ * @summary Unable to update custom base image
264
+ * @category CustomBaseImages
265
+ * @param {string} details the specific details that causes this error
266
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
267
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
268
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
269
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
270
+ */
271
+ export declare class ImageUpdateFailedError extends ProblemError {
272
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
273
+ }
274
+ /**
275
+ * @class
276
+ * @name PropertiesRetrievalFailedError
277
+ * @description An internal error occurred while trying to retrieve project properties. Try again, and if the error persists, contact Snyk support.
278
+ *
279
+ * See more:
280
+ * - [https://status.snyk.io/](https://status.snyk.io/)
281
+ * @summary Unable to retrieve project properties
282
+ * @category CustomBaseImages
283
+ * @param {string} details the specific details that causes this error
284
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
285
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
286
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
287
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
288
+ */
289
+ export declare class PropertiesRetrievalFailedError extends ProblemError {
290
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
291
+ }
292
+ /**
293
+ * @class
294
+ * @name ImageCollectionRetrievalFailedError
295
+ * @description An internal error occurred while trying to retrieve the image collection. Try again, and if the error persists, contact Snyk support.
296
+ *
297
+ * See more:
298
+ * - [https://status.snyk.io/](https://status.snyk.io/)
299
+ * @summary Unable to retrieve image collection
300
+ * @category CustomBaseImages
301
+ * @param {string} details the specific details that causes this error
302
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
303
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
304
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
305
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
306
+ */
307
+ export declare class ImageCollectionRetrievalFailedError extends ProblemError {
308
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
309
+ }
@@ -0,0 +1,542 @@
1
+ /*
2
+ * © 2024 Snyk Limited
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the 'License');
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an 'AS IS' BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ "use strict";
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ImageCollectionRetrievalFailedError = exports.PropertiesRetrievalFailedError = exports.ImageUpdateFailedError = exports.ImageDoesNotExistError = exports.ImageNotFoundError = exports.VersioningSchemaInapplicableError = exports.VersioningSchemaMissingError = exports.ProjectAlreadyLinkedError = exports.UpdateVersioningSchemaFailError = exports.UnableToSortByVersionError = exports.InvalidPaginationCursorError = exports.RequestBodyAttributesMissingError = exports.RequestIdsDoNotMatchError = exports.ProjectDoesNotBelongToGroupError = exports.ProjectIsNotContainerImageError = exports.ProjectDoesNotExistError = exports.RequiredParameterNotProvidedError = exports.VersioningSchemaDoesNotSupportTagError = void 0;
19
+ const types_1 = require("../types");
20
+ const problem_error_1 = require("../problem-error");
21
+ /**
22
+ * @class
23
+ * @name VersioningSchemaDoesNotSupportTagError
24
+ * @description The versioning schema used does not support the given tag. Update the versioning schema to include the tag.
25
+ *
26
+ * Once the tag of the custom base image is correct, the versioning schema must be modified.
27
+ * You can use a different versioning schema that supports all tags in the repository or you can update the relevant properties of the versioning schema.
28
+ *
29
+ * For example, if the repository currently uses Semver, and a new tag "1.2.5.7" needs to be added, then you can use a Custom versioning schema.
30
+ *
31
+ * See more:
32
+ * - [https://docs.snyk.io/scan-using-snyk/snyk-container/use-snyk-container-from-the-web-ui/use-custom-base-image-recommendations/versioning-schema-for-custom-base-images](https://docs.snyk.io/scan-using-snyk/snyk-container/use-snyk-container-from-the-web-ui/use-custom-base-image-recommendations/versioning-schema-for-custom-base-images)
33
+ * @summary Versioning schema does not support tag
34
+ * @category CustomBaseImages
35
+ * @param {string} details the specific details that causes this error
36
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
37
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
38
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
39
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
40
+ */
41
+ class VersioningSchemaDoesNotSupportTagError extends problem_error_1.ProblemError {
42
+ constructor(details, additionalData, cause, instance, logs) {
43
+ super({
44
+ title: 'Versioning schema does not support tag',
45
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0001',
46
+ status: 400,
47
+ errorCode: 'SNYK-CBI-0001',
48
+ level: 'warn',
49
+ classification: types_1.Classification.ACTIONABLE,
50
+ instance,
51
+ }, details, Object.assign({ links: [
52
+ 'https://docs.snyk.io/scan-using-snyk/snyk-container/use-snyk-container-from-the-web-ui/use-custom-base-image-recommendations/versioning-schema-for-custom-base-images',
53
+ ] }, additionalData), cause, logs);
54
+ this.name = this.constructor.name;
55
+ }
56
+ }
57
+ exports.VersioningSchemaDoesNotSupportTagError = VersioningSchemaDoesNotSupportTagError;
58
+ /**
59
+ * @class
60
+ * @name RequiredParameterNotProvidedError
61
+ * @description Provide an ORG ID or GROUP ID.
62
+ * @summary Missing required parameter
63
+ * @category CustomBaseImages
64
+ * @param {string} details the specific details that causes this error
65
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
66
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
67
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
68
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
69
+ */
70
+ class RequiredParameterNotProvidedError extends problem_error_1.ProblemError {
71
+ constructor(details, additionalData, cause, instance, logs) {
72
+ super({
73
+ title: 'Missing required parameter',
74
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0002',
75
+ status: 400,
76
+ errorCode: 'SNYK-CBI-0002',
77
+ level: 'warn',
78
+ classification: types_1.Classification.ACTIONABLE,
79
+ instance,
80
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
81
+ this.name = this.constructor.name;
82
+ }
83
+ }
84
+ exports.RequiredParameterNotProvidedError = RequiredParameterNotProvidedError;
85
+ /**
86
+ * @class
87
+ * @name ProjectDoesNotExistError
88
+ * @description The project could not be found. Check that the project exists, that you have access to the project, and also check that the ID you have provided is the project ID and not a CBI ID.
89
+ * @summary Project does not exist
90
+ * @category CustomBaseImages
91
+ * @param {string} details the specific details that causes this error
92
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
93
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
94
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
95
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
96
+ */
97
+ class ProjectDoesNotExistError extends problem_error_1.ProblemError {
98
+ constructor(details, additionalData, cause, instance, logs) {
99
+ super({
100
+ title: 'Project does not exist',
101
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0003',
102
+ status: 400,
103
+ errorCode: 'SNYK-CBI-0003',
104
+ level: 'warn',
105
+ classification: types_1.Classification.ACTIONABLE,
106
+ instance,
107
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
108
+ this.name = this.constructor.name;
109
+ }
110
+ }
111
+ exports.ProjectDoesNotExistError = ProjectDoesNotExistError;
112
+ /**
113
+ * @class
114
+ * @name ProjectIsNotContainerImageError
115
+ * @description The project is not a container image.
116
+ *
117
+ * See more:
118
+ * - [https://docs.snyk.io/scan-using-snyk/snyk-container/use-snyk-container-from-the-web-ui/use-custom-base-image-recommendations](https://docs.snyk.io/scan-using-snyk/snyk-container/use-snyk-container-from-the-web-ui/use-custom-base-image-recommendations)
119
+ * @summary Project is not a container image
120
+ * @category CustomBaseImages
121
+ * @param {string} details the specific details that causes this error
122
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
123
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
124
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
125
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
126
+ */
127
+ class ProjectIsNotContainerImageError extends problem_error_1.ProblemError {
128
+ constructor(details, additionalData, cause, instance, logs) {
129
+ super({
130
+ title: 'Project is not a container image',
131
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0004',
132
+ status: 400,
133
+ errorCode: 'SNYK-CBI-0004',
134
+ level: 'warn',
135
+ classification: types_1.Classification.UNSUPPORTED,
136
+ instance,
137
+ }, details, Object.assign({ links: [
138
+ 'https://docs.snyk.io/scan-using-snyk/snyk-container/use-snyk-container-from-the-web-ui/use-custom-base-image-recommendations',
139
+ ] }, additionalData), cause, logs);
140
+ this.name = this.constructor.name;
141
+ }
142
+ }
143
+ exports.ProjectIsNotContainerImageError = ProjectIsNotContainerImageError;
144
+ /**
145
+ * @class
146
+ * @name ProjectDoesNotBelongToGroupError
147
+ * @description The project's org does not belong to a group. In order to use a Custom Base Image, recreate the project and add it to a group or add a group to the org. Note that the group feature is not available to free users.
148
+ * @summary Unable to retrieve group
149
+ * @category CustomBaseImages
150
+ * @param {string} details the specific details that causes this error
151
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
152
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
153
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
154
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
155
+ */
156
+ class ProjectDoesNotBelongToGroupError extends problem_error_1.ProblemError {
157
+ constructor(details, additionalData, cause, instance, logs) {
158
+ super({
159
+ title: 'Unable to retrieve group',
160
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0005',
161
+ status: 400,
162
+ errorCode: 'SNYK-CBI-0005',
163
+ level: 'warn',
164
+ classification: types_1.Classification.ACTIONABLE,
165
+ instance,
166
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
167
+ this.name = this.constructor.name;
168
+ }
169
+ }
170
+ exports.ProjectDoesNotBelongToGroupError = ProjectDoesNotBelongToGroupError;
171
+ /**
172
+ * @class
173
+ * @name RequestIdsDoNotMatchError
174
+ * @description The request body ID and the request path ID do not match. Ensure that the values are the same and try again.
175
+ * @summary The values in the request do not match
176
+ * @category CustomBaseImages
177
+ * @param {string} details the specific details that causes this error
178
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
179
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
180
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
181
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
182
+ */
183
+ class RequestIdsDoNotMatchError extends problem_error_1.ProblemError {
184
+ constructor(details, additionalData, cause, instance, logs) {
185
+ super({
186
+ title: 'The values in the request do not match',
187
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0006',
188
+ status: 400,
189
+ errorCode: 'SNYK-CBI-0006',
190
+ level: 'warn',
191
+ classification: types_1.Classification.ACTIONABLE,
192
+ instance,
193
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
194
+ this.name = this.constructor.name;
195
+ }
196
+ }
197
+ exports.RequestIdsDoNotMatchError = RequestIdsDoNotMatchError;
198
+ /**
199
+ * @class
200
+ * @name RequestBodyAttributesMissingError
201
+ * @description The request body does not contain any attributes that can be updated. Provide the necessary attributes and try again.
202
+ * @summary The request body cannot be updated
203
+ * @category CustomBaseImages
204
+ * @param {string} details the specific details that causes this error
205
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
206
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
207
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
208
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
209
+ */
210
+ class RequestBodyAttributesMissingError extends problem_error_1.ProblemError {
211
+ constructor(details, additionalData, cause, instance, logs) {
212
+ super({
213
+ title: 'The request body cannot be updated',
214
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0007',
215
+ status: 400,
216
+ errorCode: 'SNYK-CBI-0007',
217
+ level: 'warn',
218
+ classification: types_1.Classification.ACTIONABLE,
219
+ instance,
220
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
221
+ this.name = this.constructor.name;
222
+ }
223
+ }
224
+ exports.RequestBodyAttributesMissingError = RequestBodyAttributesMissingError;
225
+ /**
226
+ * @class
227
+ * @name InvalidPaginationCursorError
228
+ * @description The provided pagination cursor is invalid.
229
+ * @summary Invalid pagination cursor
230
+ * @category CustomBaseImages
231
+ * @param {string} details the specific details that causes this error
232
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
233
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
234
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
235
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
236
+ */
237
+ class InvalidPaginationCursorError extends problem_error_1.ProblemError {
238
+ constructor(details, additionalData, cause, instance, logs) {
239
+ super({
240
+ title: 'Invalid pagination cursor',
241
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0008',
242
+ status: 400,
243
+ errorCode: 'SNYK-CBI-0008',
244
+ level: 'warn',
245
+ classification: types_1.Classification.ACTIONABLE,
246
+ instance,
247
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
248
+ this.name = this.constructor.name;
249
+ }
250
+ }
251
+ exports.InvalidPaginationCursorError = InvalidPaginationCursorError;
252
+ /**
253
+ * @class
254
+ * @name UnableToSortByVersionError
255
+ * @description Snyk was unable to filter by version. Provide a repository filter and try again.
256
+ * @summary Unable to sort by version
257
+ * @category CustomBaseImages
258
+ * @param {string} details the specific details that causes this error
259
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
260
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
261
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
262
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
263
+ */
264
+ class UnableToSortByVersionError extends problem_error_1.ProblemError {
265
+ constructor(details, additionalData, cause, instance, logs) {
266
+ super({
267
+ title: 'Unable to sort by version',
268
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0009',
269
+ status: 400,
270
+ errorCode: 'SNYK-CBI-0009',
271
+ level: 'warn',
272
+ classification: types_1.Classification.ACTIONABLE,
273
+ instance,
274
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
275
+ this.name = this.constructor.name;
276
+ }
277
+ }
278
+ exports.UnableToSortByVersionError = UnableToSortByVersionError;
279
+ /**
280
+ * @class
281
+ * @name UpdateVersioningSchemaFailError
282
+ * @description The versioning schema could not be applied to all images in the repository. Therefore, no resources have been updated. Update the provided versioning schema so that all tags in the repository fit the new schema.
283
+ * @summary Unable to update versioning schema
284
+ * @category CustomBaseImages
285
+ * @param {string} details the specific details that causes this error
286
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
287
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
288
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
289
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
290
+ */
291
+ class UpdateVersioningSchemaFailError extends problem_error_1.ProblemError {
292
+ constructor(details, additionalData, cause, instance, logs) {
293
+ super({
294
+ title: 'Unable to update versioning schema',
295
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0010',
296
+ status: 400,
297
+ errorCode: 'SNYK-CBI-0010',
298
+ level: 'warn',
299
+ classification: types_1.Classification.ACTIONABLE,
300
+ instance,
301
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
302
+ this.name = this.constructor.name;
303
+ }
304
+ }
305
+ exports.UpdateVersioningSchemaFailError = UpdateVersioningSchemaFailError;
306
+ /**
307
+ * @class
308
+ * @name ProjectAlreadyLinkedError
309
+ * @description The project ID provided is already linked to another Custom Base Image.
310
+ * @summary Project is already linked to a custom base image
311
+ * @category CustomBaseImages
312
+ * @param {string} details the specific details that causes this error
313
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
314
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
315
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
316
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
317
+ */
318
+ class ProjectAlreadyLinkedError extends problem_error_1.ProblemError {
319
+ constructor(details, additionalData, cause, instance, logs) {
320
+ super({
321
+ title: 'Project is already linked to a custom base image',
322
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0011',
323
+ status: 400,
324
+ errorCode: 'SNYK-CBI-0011',
325
+ level: 'warn',
326
+ classification: types_1.Classification.ACTIONABLE,
327
+ instance,
328
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
329
+ this.name = this.constructor.name;
330
+ }
331
+ }
332
+ exports.ProjectAlreadyLinkedError = ProjectAlreadyLinkedError;
333
+ /**
334
+ * @class
335
+ * @name VersioningSchemaMissingError
336
+ * @description No versioning schema exists for the repository. This image is the first in its repository. Provide a versioning schema that fits the format of current and future images in this repository.
337
+ * @summary No versioning schema for repository
338
+ * @category CustomBaseImages
339
+ * @param {string} details the specific details that causes this error
340
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
341
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
342
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
343
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
344
+ */
345
+ class VersioningSchemaMissingError extends problem_error_1.ProblemError {
346
+ constructor(details, additionalData, cause, instance, logs) {
347
+ super({
348
+ title: 'No versioning schema for repository',
349
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0012',
350
+ status: 400,
351
+ errorCode: 'SNYK-CBI-0012',
352
+ level: 'warn',
353
+ classification: types_1.Classification.ACTIONABLE,
354
+ instance,
355
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
356
+ this.name = this.constructor.name;
357
+ }
358
+ }
359
+ exports.VersioningSchemaMissingError = VersioningSchemaMissingError;
360
+ /**
361
+ * @class
362
+ * @name VersioningSchemaInapplicableError
363
+ * @description A versioning schema already exists for repository. Remove the "versioning_schema" property or, if you want to update the versioning schema, use the PATCH endpoint.
364
+ * @summary Unable to apply versioning schema
365
+ * @category CustomBaseImages
366
+ * @param {string} details the specific details that causes this error
367
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
368
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
369
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
370
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
371
+ */
372
+ class VersioningSchemaInapplicableError extends problem_error_1.ProblemError {
373
+ constructor(details, additionalData, cause, instance, logs) {
374
+ super({
375
+ title: 'Unable to apply versioning schema',
376
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0013',
377
+ status: 400,
378
+ errorCode: 'SNYK-CBI-0013',
379
+ level: 'warn',
380
+ classification: types_1.Classification.ACTIONABLE,
381
+ instance,
382
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
383
+ this.name = this.constructor.name;
384
+ }
385
+ }
386
+ exports.VersioningSchemaInapplicableError = VersioningSchemaInapplicableError;
387
+ /**
388
+ * @class
389
+ * @name ImageNotFoundError
390
+ * @description Unable to find the requested custom base image. Try again, and if the error persists, contact Snyk support.
391
+ * @summary Unable to find custom base image
392
+ * @category CustomBaseImages
393
+ * @param {string} details the specific details that causes this error
394
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
395
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
396
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
397
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
398
+ */
399
+ class ImageNotFoundError extends problem_error_1.ProblemError {
400
+ constructor(details, additionalData, cause, instance, logs) {
401
+ super({
402
+ title: 'Unable to find custom base image',
403
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0014',
404
+ status: 404,
405
+ errorCode: 'SNYK-CBI-0014',
406
+ level: 'warn',
407
+ classification: types_1.Classification.UNEXPECTED,
408
+ instance,
409
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
410
+ this.name = this.constructor.name;
411
+ }
412
+ }
413
+ exports.ImageNotFoundError = ImageNotFoundError;
414
+ /**
415
+ * @class
416
+ * @name ImageDoesNotExistError
417
+ * @description The requested custom base image does not exist.
418
+ *
419
+ * See more:
420
+ * - [https://status.snyk.io/](https://status.snyk.io/)
421
+ * @summary Custom base image does not exist
422
+ * @category CustomBaseImages
423
+ * @param {string} details the specific details that causes this error
424
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
425
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
426
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
427
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
428
+ */
429
+ class ImageDoesNotExistError extends problem_error_1.ProblemError {
430
+ constructor(details, additionalData, cause, instance, logs) {
431
+ super({
432
+ title: 'Custom base image does not exist',
433
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0015',
434
+ status: 404,
435
+ errorCode: 'SNYK-CBI-0015',
436
+ level: 'warn',
437
+ classification: types_1.Classification.UNEXPECTED,
438
+ instance,
439
+ }, details, Object.assign({ links: [
440
+ 'https://status.snyk.io/',
441
+ ] }, additionalData), cause, logs);
442
+ this.name = this.constructor.name;
443
+ }
444
+ }
445
+ exports.ImageDoesNotExistError = ImageDoesNotExistError;
446
+ /**
447
+ * @class
448
+ * @name ImageUpdateFailedError
449
+ * @description An internal error occurred while trying to update a custom base image. Try again, and if the error persists, contact Snyk support.
450
+ *
451
+ * See more:
452
+ * - [https://status.snyk.io/](https://status.snyk.io/)
453
+ * @summary Unable to update custom base image
454
+ * @category CustomBaseImages
455
+ * @param {string} details the specific details that causes this error
456
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
457
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
458
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
459
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
460
+ */
461
+ class ImageUpdateFailedError extends problem_error_1.ProblemError {
462
+ constructor(details, additionalData, cause, instance, logs) {
463
+ super({
464
+ title: 'Unable to update custom base image',
465
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0016',
466
+ status: 500,
467
+ errorCode: 'SNYK-CBI-0016',
468
+ level: 'error',
469
+ classification: types_1.Classification.UNEXPECTED,
470
+ instance,
471
+ }, details, Object.assign({ links: [
472
+ 'https://status.snyk.io/',
473
+ ] }, additionalData), cause, logs);
474
+ this.name = this.constructor.name;
475
+ }
476
+ }
477
+ exports.ImageUpdateFailedError = ImageUpdateFailedError;
478
+ /**
479
+ * @class
480
+ * @name PropertiesRetrievalFailedError
481
+ * @description An internal error occurred while trying to retrieve project properties. Try again, and if the error persists, contact Snyk support.
482
+ *
483
+ * See more:
484
+ * - [https://status.snyk.io/](https://status.snyk.io/)
485
+ * @summary Unable to retrieve project properties
486
+ * @category CustomBaseImages
487
+ * @param {string} details the specific details that causes this error
488
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
489
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
490
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
491
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
492
+ */
493
+ class PropertiesRetrievalFailedError extends problem_error_1.ProblemError {
494
+ constructor(details, additionalData, cause, instance, logs) {
495
+ super({
496
+ title: 'Unable to retrieve project properties',
497
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0017',
498
+ status: 500,
499
+ errorCode: 'SNYK-CBI-0017',
500
+ level: 'error',
501
+ classification: types_1.Classification.UNEXPECTED,
502
+ instance,
503
+ }, details, Object.assign({ links: [
504
+ 'https://status.snyk.io/',
505
+ ] }, additionalData), cause, logs);
506
+ this.name = this.constructor.name;
507
+ }
508
+ }
509
+ exports.PropertiesRetrievalFailedError = PropertiesRetrievalFailedError;
510
+ /**
511
+ * @class
512
+ * @name ImageCollectionRetrievalFailedError
513
+ * @description An internal error occurred while trying to retrieve the image collection. Try again, and if the error persists, contact Snyk support.
514
+ *
515
+ * See more:
516
+ * - [https://status.snyk.io/](https://status.snyk.io/)
517
+ * @summary Unable to retrieve image collection
518
+ * @category CustomBaseImages
519
+ * @param {string} details the specific details that causes this error
520
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
521
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
522
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
523
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
524
+ */
525
+ class ImageCollectionRetrievalFailedError extends problem_error_1.ProblemError {
526
+ constructor(details, additionalData, cause, instance, logs) {
527
+ super({
528
+ title: 'Unable to retrieve image collection',
529
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cbi-0018',
530
+ status: 500,
531
+ errorCode: 'SNYK-CBI-0018',
532
+ level: 'error',
533
+ classification: types_1.Classification.UNEXPECTED,
534
+ instance,
535
+ }, details, Object.assign({ links: [
536
+ 'https://status.snyk.io/',
537
+ ] }, additionalData), cause, logs);
538
+ this.name = this.constructor.name;
539
+ }
540
+ }
541
+ exports.ImageCollectionRetrievalFailedError = ImageCollectionRetrievalFailedError;
542
+ //# sourceMappingURL=CustomBaseImages-error-catalog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CustomBaseImages-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/CustomBaseImages-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,sCAAuC,SAAQ,4BAAY;IACtE,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,wCAAwC;YAC/C,IAAI,EAAE,iEAAiE;YACvE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,eAAe;YAC1B,KAAK,EAAE,MAAM;YACb,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,uKAAuK;aACtK,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA9BD,wFA8BC;AAED;;;;;;;;;;;GAWG;AACH,MAAa,iCAAkC,SAAQ,4BAAY;IACjE,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,K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C;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAa,8BAA+B,SAAQ,4BAAY;IAC9D,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,uCAAuC;YAC9C,IAAI,EAAE,iEAAiE;YACvE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,eAAe;YAC1B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,yBAAyB;aACxB,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA9BD,wEA8BC;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAa,mCAAoC,SAAQ,4BAAY;IACnE,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,qCAAqC;YAC5C,IAAI,EAAE,iEAAiE;YACvE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,eAAe;YAC1B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,yBAAyB;aACxB,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA9BD,kFA8BC"}
@@ -26,3 +26,4 @@ export * as Fix from './Fix-error-catalog';
26
26
  export * as Code from './Code-error-catalog';
27
27
  export * as PRChecks from './PRChecks-error-catalog';
28
28
  export * as CLI from './CLI-error-catalog';
29
+ export * as CustomBaseImages from './CustomBaseImages-error-catalog';
@@ -15,7 +15,7 @@
15
15
  */
16
16
  "use strict";
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.CLI = exports.PRChecks = exports.Code = exports.Fix = exports.SbomExport = exports.OpenSourceUnmanaged = exports.OpenAPI = exports.IsolatedBuilds = exports.PurlVulnerabilityFetching = exports.OpenSourceProjectIssues = exports.OpenSourceProjectSnapshots = exports.OpenSourceEcosystems = exports.Snyk = void 0;
18
+ exports.CustomBaseImages = exports.CLI = exports.PRChecks = exports.Code = exports.Fix = exports.SbomExport = exports.OpenSourceUnmanaged = exports.OpenAPI = exports.IsolatedBuilds = exports.PurlVulnerabilityFetching = exports.OpenSourceProjectIssues = exports.OpenSourceProjectSnapshots = exports.OpenSourceEcosystems = exports.Snyk = void 0;
19
19
  exports.Snyk = require("./Snyk-error-catalog");
20
20
  exports.OpenSourceEcosystems = require("./OpenSourceEcosystems-error-catalog");
21
21
  exports.OpenSourceProjectSnapshots = require("./OpenSourceProjectSnapshots-error-catalog");
@@ -29,4 +29,5 @@ exports.Fix = require("./Fix-error-catalog");
29
29
  exports.Code = require("./Code-error-catalog");
30
30
  exports.PRChecks = require("./PRChecks-error-catalog");
31
31
  exports.CLI = require("./CLI-error-catalog");
32
+ exports.CustomBaseImages = require("./CustomBaseImages-error-catalog");
32
33
  //# sourceMappingURL=error-catalog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/error-catalog.ts"],"names":[],"mappings":";;;AAAA,+CAA6C;AAC7C,+EAA6E;AAC7E,2FAAyF;AACzF,qFAAmF;AACnF,yFAAuF;AACvF,mEAAiE;AACjE,qDAAmD;AACnD,6EAA2E;AAC3E,2DAAyD;AACzD,6CAA2C;AAC3C,+CAA6C;AAC7C,uDAAqD;AACrD,6CAA2C"}
1
+ {"version":3,"file":"error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/error-catalog.ts"],"names":[],"mappings":";;;AAAA,+CAA6C;AAC7C,+EAA6E;AAC7E,2FAAyF;AACzF,qFAAmF;AACnF,yFAAuF;AACvF,mEAAiE;AACjE,qDAAmD;AACnD,6EAA2E;AAC3E,2DAAyD;AACzD,6CAA2C;AAC3C,+CAA6C;AAC7C,uDAAqD;AACrD,6CAA2C;AAC3C,uEAAqE"}
@@ -199,5 +199,25 @@ declare const _default: {
199
199
  CLI: {
200
200
  ConnectionTimeout: string;
201
201
  };
202
+ CustomBaseImages: {
203
+ VersioningSchemaDoesNotSupportTag: string;
204
+ RequiredParameterNotProvided: string;
205
+ ProjectDoesNotExist: string;
206
+ ProjectIsNotContainerImage: string;
207
+ ProjectDoesNotBelongToGroup: string;
208
+ RequestIdsDoNotMatch: string;
209
+ RequestBodyAttributesMissing: string;
210
+ InvalidPaginationCursor: string;
211
+ UnableToSortByVersion: string;
212
+ UpdateVersioningSchemaFail: string;
213
+ ProjectAlreadyLinked: string;
214
+ VersioningSchemaMissing: string;
215
+ VersioningSchemaInapplicable: string;
216
+ ImageNotFound: string;
217
+ ImageDoesNotExist: string;
218
+ ImageUpdateFailed: string;
219
+ PropertiesRetrievalFailed: string;
220
+ ImageCollectionRetrievalFailed: string;
221
+ };
202
222
  };
203
223
  export default _default;
@@ -201,5 +201,25 @@ exports.default = {
201
201
  CLI: {
202
202
  ConnectionTimeout: 'SNYK-OS-7001',
203
203
  },
204
+ CustomBaseImages: {
205
+ VersioningSchemaDoesNotSupportTag: 'SNYK-CBI-0001',
206
+ RequiredParameterNotProvided: 'SNYK-CBI-0002',
207
+ ProjectDoesNotExist: 'SNYK-CBI-0003',
208
+ ProjectIsNotContainerImage: 'SNYK-CBI-0004',
209
+ ProjectDoesNotBelongToGroup: 'SNYK-CBI-0005',
210
+ RequestIdsDoNotMatch: 'SNYK-CBI-0006',
211
+ RequestBodyAttributesMissing: 'SNYK-CBI-0007',
212
+ InvalidPaginationCursor: 'SNYK-CBI-0008',
213
+ UnableToSortByVersion: 'SNYK-CBI-0009',
214
+ UpdateVersioningSchemaFail: 'SNYK-CBI-0010',
215
+ ProjectAlreadyLinked: 'SNYK-CBI-0011',
216
+ VersioningSchemaMissing: 'SNYK-CBI-0012',
217
+ VersioningSchemaInapplicable: 'SNYK-CBI-0013',
218
+ ImageNotFound: 'SNYK-CBI-0014',
219
+ ImageDoesNotExist: 'SNYK-CBI-0015',
220
+ ImageUpdateFailed: 'SNYK-CBI-0016',
221
+ PropertiesRetrievalFailed: 'SNYK-CBI-0017',
222
+ ImageCollectionRetrievalFailed: 'SNYK-CBI-0018',
223
+ },
204
224
  };
205
225
  //# sourceMappingURL=error-codes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"error-codes.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/error-codes.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACX,IAAI,EAAE;QACJ,eAAe,EAAE,WAAW;QAC5B,cAAc,EAAE,WAAW;QAC3B,UAAU,EAAE,WAAW;QACvB,OAAO,EAAE,WAAW;QACpB,YAAY,EAAE,WAAW;QACzB,gBAAgB,EAAE,WAAW;QAC7B,+BAA+B,EAAE,WAAW;QAC5C,MAAM,EAAE,WAAW;KACpB;IACD,oBAAoB,EAAE;QACpB,mBAAmB,EAAE,cAAc;QACnC,mBAAmB,EAAE,cAAc;QACnC,wBAAwB,EAAE,cAAc;QACxC,aAAa,EAAE,cAAc;QAC7B,cAAc,EAAE,cAAc;QAC9B,iBAAiB,EAAE,cAAc;QACjC,uBAAuB,EAAE,cAAc;QACvC,0BAA0B,EAAE,cAAc;QAC1C,uBAAuB,EAAE,qBAAqB;QAC9C,0BAA0B,EAAE,qBAAqB;QACjD,yBAAyB,EAAE,qBAAqB;QAChD,aAAa,EAAE,qBAAqB;QACpC,kCAAkC,EAAE,qBAAqB;QACzD,uBAAuB,EAAE,qBAAqB;QAC9C,uBAAuB,EAAE,qBAAqB;QAC9C,2BAA2B,EAAE,qBAAqB;QAClD,aAAa,EAAE,iBAAiB;QAChC,gBAAgB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R,oBAAoB,EAAE,oBAAoB;QAC1C,gBAAgB,EAAE,oBAAoB;QACtC,mBAAmB,EAAE,oBAAoB;QACzC,SAAS,EAAE,oBAAoB;QAC/B,8BAA8B,EAAE,oBAAoB;QACpD,oBAAoB,EAAE,oBAAoB;QAC1C,2BAA2B,EAAE,oBAAoB;QACjD,aAAa,EAAE,oBAAoB;QACnC,oBAAoB,EAAE,oBAAoB;QAC1C,4BAA4B,EAAE,oBAAoB;QAClD,4BAA4B,EAAE,oBAAoB;KACnD;IACD,GAAG,EAAE;QACH,iBAAiB,EAAE,cAAc;KAClC;CACJ,CAAA"}
1
+ {"version":3,"file":"error-codes.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/error-codes.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACX,IAAI,EAAE;QACJ,eAAe,EAAE,WAAW;QAC5B,cAAc,EAAE,WAAW;QAC3B,UAAU,EAAE,WAAW;QACvB,OAAO,EAAE,WAAW;QACpB,YAAY,EAAE,WAAW;QACzB,gBAAgB,EAAE,WAAW;QAC7B,+BAA+B,EAAE,WAAW;QAC5C,MAAM,EAAE,WAAW;KACpB;IACD,oBAAoB,EAAE;QACpB,mBAAmB,EAAE,cAAc;QACnC,mBAAmB,EAAE,cAAc;QACnC,wBAAwB,EAAE,cAAc;QACxC,aAAa,EAAE,cAAc;QAC7B,cAAc,EAAE,cAAc;QAC9B,iBAAiB,EAAE,cAAc;QACjC,uBAAuB,EAAE,cAAc;QACvC,0BAA0B,EAAE,cAAc;QAC1C,uBAAuB,EAAE,qBAAqB;QAC9C,0BAA0B,EAAE,qBAAqB;QACjD,yBAAyB,EAAE,qBAAqB;QAChD,aAAa,EAAE,qBAAqB;QACpC,kCAAkC,EAAE,qBAAqB;QACzD,uBAAuB,EAAE,qBAAqB;QAC9C,uBAAuB,EAAE,qBAAqB;QAC9C,2BAA2B,EAAE,qBAAqB;QAClD,aAAa,EAAE,iBAAiB;QAChC,gBAAgB,EAAE,iB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