@chevre/factory 4.197.0-alpha.2 → 4.197.0
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/lib/factory/errors.d.ts +12 -12
- package/lib/factory/errors.js +1 -1
- package/lib/factory/order.d.ts +2 -2
- package/package.json +1 -1
package/lib/factory/errors.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* errors
|
|
3
3
|
*/
|
|
4
|
-
import { AlreadyInUseError } from './error/alreadyInUse';
|
|
5
|
-
import { ArgumentError } from './error/argument';
|
|
6
|
-
import { ArgumentNullError } from './error/argumentNull';
|
|
7
|
-
import { ChevreError } from './error/chevre';
|
|
8
|
-
import { ForbiddenError } from './error/forbidden';
|
|
9
|
-
import { GatewayTimeoutError } from './error/gatewayTimeout';
|
|
10
|
-
import { NotFoundError } from './error/notFound';
|
|
11
|
-
import { NotImplementedError } from './error/notImplemented';
|
|
12
|
-
import { RateLimitExceededError } from './error/rateLimitExceeded';
|
|
13
|
-
import { ServiceUnavailableError } from './error/serviceUnavailable';
|
|
14
|
-
import { UnauthorizedError } from './error/unauthorized';
|
|
15
|
-
export {
|
|
4
|
+
import { AlreadyInUseError as AlreadyInUse } from './error/alreadyInUse';
|
|
5
|
+
import { ArgumentError as Argument } from './error/argument';
|
|
6
|
+
import { ArgumentNullError as ArgumentNull } from './error/argumentNull';
|
|
7
|
+
import { ChevreError as Chevre } from './error/chevre';
|
|
8
|
+
import { ForbiddenError as Forbidden } from './error/forbidden';
|
|
9
|
+
import { GatewayTimeoutError as GatewayTimeout } from './error/gatewayTimeout';
|
|
10
|
+
import { NotFoundError as NotFound } from './error/notFound';
|
|
11
|
+
import { NotImplementedError as NotImplemented } from './error/notImplemented';
|
|
12
|
+
import { RateLimitExceededError as RateLimitExceeded } from './error/rateLimitExceeded';
|
|
13
|
+
import { ServiceUnavailableError as ServiceUnavailable } from './error/serviceUnavailable';
|
|
14
|
+
import { UnauthorizedError as Unauthorized } from './error/unauthorized';
|
|
15
|
+
export { AlreadyInUse, Argument, ArgumentNull, Chevre, Forbidden, GatewayTimeout, NotFound, NotImplemented, RateLimitExceeded, ServiceUnavailable, Unauthorized };
|
package/lib/factory/errors.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Unauthorized = exports.
|
|
3
|
+
exports.Unauthorized = exports.ServiceUnavailable = exports.RateLimitExceeded = exports.NotImplemented = exports.NotFound = exports.GatewayTimeout = exports.Forbidden = exports.Chevre = exports.ArgumentNull = exports.Argument = exports.AlreadyInUse = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* errors
|
|
6
6
|
*/
|
package/lib/factory/order.d.ts
CHANGED
|
@@ -205,7 +205,7 @@ export interface IEventServiceAsOrderedItem {
|
|
|
205
205
|
project: IProject;
|
|
206
206
|
typeOf: ProductType.EventService;
|
|
207
207
|
serviceOutput: {
|
|
208
|
-
typeOf: ReservationType.EventReservation;
|
|
208
|
+
typeOf: ReservationType.EventReservation | ReservationType.ReservationPackage;
|
|
209
209
|
reservationFor: IReservationFor4OrderedItem;
|
|
210
210
|
};
|
|
211
211
|
serviceType?: IServiceType;
|
|
@@ -227,7 +227,7 @@ export interface IOrder extends ISimpleOrder {
|
|
|
227
227
|
* Offer
|
|
228
228
|
* The offers included in the order.Also accepts an array of objects.
|
|
229
229
|
*/
|
|
230
|
-
acceptedOffers
|
|
230
|
+
acceptedOffers?: IAcceptedOffer<IItemOffered>[];
|
|
231
231
|
/**
|
|
232
232
|
* An entity that arranges for an exchange between a buyer and a seller.
|
|
233
233
|
* In most cases a broker never acquires or releases ownership of a product or service involved in an exchange.
|