swoop-common 2.1.84 → 2.1.85

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.
@@ -195,6 +195,8 @@ export class ItineraryService {
195
195
  errors: {
196
196
  400: `If the payload is malformed`,
197
197
  401: `Unauthorized - Missing or invalid Authorization header`,
198
+ 404: `the customer linked via enquiryId does not exist or has been deleted or a referenced traveller group or traveller ID was not found`,
199
+ 422: `An itinerary meets CRM 'late' criteria but 'isLateBookingConfirmed' is false`,
198
200
  500: `When an internal server error occurs when creating a itinerary entity`,
199
201
  503: `Service Unavailable - The server is temporarily unable to handle the request`,
200
202
  },
@@ -252,7 +254,8 @@ export class ItineraryService {
252
254
  errors: {
253
255
  400: `If the payload is malformed`,
254
256
  401: `Unauthorized - Missing or invalid Authorization header`,
255
- 404: `When the itinerary enquiry id and tag do not exists`,
257
+ 404: `When the itinerary enquiry id and tag do not exists, or the customer linked via enquiryId does not exist, or has been deleted or a referenced traveller group or traveller ID was not found`,
258
+ 422: `An itinerary meets CRM 'late' criteria but 'isLateBookingConfirmed' is false`,
256
259
  500: `When an internal server error occurs updating an itinerary as a new revision`,
257
260
  },
258
261
  });
@@ -282,7 +285,8 @@ export class ItineraryService {
282
285
  errors: {
283
286
  400: `If the payload is malformed`,
284
287
  401: `Unauthorized - Missing or invalid Authorization header`,
285
- 404: `When the itinerary enquiry id and tag do not exists`,
288
+ 404: `When the itinerary enquiry id and tag do not exists, or the customer linked via enquiryId does not exist, or has been deleted or a referenced traveller group or traveller ID was not found`,
289
+ 422: `An itinerary meets CRM 'late' criteria but 'isLateBookingConfirmed' is false`,
286
290
  500: `When an internal server error occurs updating an itinerary as a new revision`,
287
291
  },
288
292
  });
@@ -312,7 +316,8 @@ export class ItineraryService {
312
316
  errors: {
313
317
  400: `If the payload is malformed`,
314
318
  401: `Unauthorized - Missing or invalid Authorization header`,
315
- 404: `When the itinerary enquiry id and tag do not exists`,
319
+ 404: `When the itinerary enquiry id and tag do not exists, or the customer linked via enquiryId does not exist, or has been deleted or a referenced traveller group or traveller ID was not found`,
320
+ 422: `An itinerary meets CRM 'late' criteria but 'isLateBookingConfirmed' is false`,
316
321
  500: `When an internal server error occurs updating an itinerary as a new revision`,
317
322
  },
318
323
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swoop-common",
3
- "version": "2.1.84",
3
+ "version": "2.1.85",
4
4
  "main": "dist/api/index.js",
5
5
  "types": "dist/api/index.d.ts",
6
6
  "exports": {