swoop-common 2.1.79 → 2.1.80

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.
@@ -336,6 +336,7 @@ export class CoreService {
336
336
  errors: {
337
337
  400: `If the filter options or query parameters contain invalid values`,
338
338
  401: `Unauthorized - Missing or invalid Authorization header`,
339
+ 404: `When the Swooper is not found`,
339
340
  500: `When an internal server error occurs when listing all related swoopers`,
340
341
  503: `Service Unavailable - The server is temporarily unable to handle the request`,
341
342
  },
@@ -357,6 +358,7 @@ export class CoreService {
357
358
  errors: {
358
359
  400: `If the payload is malformed`,
359
360
  401: `Unauthorized - Missing or invalid Authorization header`,
361
+ 404: `When the Swooper is not found`,
360
362
  500: `When an internal server error occurs when creating a swooper entity`,
361
363
  503: `Service Unavailable - The server is temporarily unable to handle the request`,
362
364
  },
@@ -379,7 +381,7 @@ export class CoreService {
379
381
  errors: {
380
382
  400: `If the payload is malformed`,
381
383
  401: `Unauthorized - Missing or invalid Authorization header`,
382
- 404: `If the Swooper does not exist as it does not match the Swooper id`,
384
+ 404: `When the Swooper is not found`,
383
385
  503: `Service Unavailable - The server is temporarily unable to handle the request`,
384
386
  },
385
387
  });
@@ -404,7 +406,7 @@ export class CoreService {
404
406
  errors: {
405
407
  400: `If the payload is malformed`,
406
408
  401: `Unauthorized - Missing or invalid Authorization header`,
407
- 404: `If the Swooper does not exist as it does not match the Swooper id`,
409
+ 404: `When the Swooper is not found`,
408
410
  503: `Service Unavailable - The server is temporarily unable to handle the request`,
409
411
  },
410
412
  });
@@ -28,6 +28,7 @@ export class SwooperService {
28
28
  errors: {
29
29
  400: `If the filter options or query parameters contain invalid values`,
30
30
  401: `Unauthorized - Missing or invalid Authorization header`,
31
+ 404: `When the Swooper is not found`,
31
32
  500: `When an internal server error occurs when listing all related swoopers`,
32
33
  503: `Service Unavailable - The server is temporarily unable to handle the request`,
33
34
  },
@@ -49,6 +50,7 @@ export class SwooperService {
49
50
  errors: {
50
51
  400: `If the payload is malformed`,
51
52
  401: `Unauthorized - Missing or invalid Authorization header`,
53
+ 404: `When the Swooper is not found`,
52
54
  500: `When an internal server error occurs when creating a swooper entity`,
53
55
  503: `Service Unavailable - The server is temporarily unable to handle the request`,
54
56
  },
@@ -71,7 +73,7 @@ export class SwooperService {
71
73
  errors: {
72
74
  400: `If the payload is malformed`,
73
75
  401: `Unauthorized - Missing or invalid Authorization header`,
74
- 404: `If the Swooper does not exist as it does not match the Swooper id`,
76
+ 404: `When the Swooper is not found`,
75
77
  503: `Service Unavailable - The server is temporarily unable to handle the request`,
76
78
  },
77
79
  });
@@ -96,7 +98,7 @@ export class SwooperService {
96
98
  errors: {
97
99
  400: `If the payload is malformed`,
98
100
  401: `Unauthorized - Missing or invalid Authorization header`,
99
- 404: `If the Swooper does not exist as it does not match the Swooper id`,
101
+ 404: `When the Swooper is not found`,
100
102
  503: `Service Unavailable - The server is temporarily unable to handle the request`,
101
103
  },
102
104
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swoop-common",
3
- "version": "2.1.79",
3
+ "version": "2.1.80",
4
4
  "main": "dist/api/index.js",
5
5
  "types": "dist/api/index.d.ts",
6
6
  "exports": {