@chevre/factory 4.196.0 → 4.197.0-alpha.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.
Files changed (199) hide show
  1. package/CHANGELOG.md +1529 -0
  2. package/lib/chevre.d.ts +23 -23
  3. package/lib/chevre.js +22 -22
  4. package/lib/factory/account/action/moneyTransfer.d.ts +5 -5
  5. package/lib/factory/account/transaction/deposit.d.ts +3 -3
  6. package/lib/factory/account/transaction/transfer.d.ts +3 -3
  7. package/lib/factory/account/transaction/withdraw.d.ts +3 -3
  8. package/lib/factory/account/transaction.d.ts +4 -4
  9. package/lib/factory/account/transactionType.d.ts +2 -3
  10. package/lib/factory/account/transactionType.js +8 -8
  11. package/lib/factory/account.d.ts +10 -10
  12. package/lib/factory/account.js +1 -1
  13. package/lib/factory/accountStatusType.d.ts +1 -2
  14. package/lib/factory/accountStatusType.js +2 -2
  15. package/lib/factory/accountTitle.d.ts +1 -1
  16. package/lib/factory/action/authorize/award/point.d.ts +2 -2
  17. package/lib/factory/action/authorize/offer/moneyTransfer.d.ts +3 -3
  18. package/lib/factory/action/authorize/offer/product.d.ts +3 -3
  19. package/lib/factory/action/authorize/offer/seatReservation.d.ts +4 -4
  20. package/lib/factory/action/authorize/paymentMethod/any.d.ts +4 -4
  21. package/lib/factory/action/authorize.d.ts +1 -1
  22. package/lib/factory/action/cancel/reservation.d.ts +2 -2
  23. package/lib/factory/action/check.d.ts +1 -1
  24. package/lib/factory/action/consume/use.d.ts +1 -1
  25. package/lib/factory/action/interact/confirm/moneyTransfer.d.ts +2 -2
  26. package/lib/factory/action/interact/confirm/pay.d.ts +1 -1
  27. package/lib/factory/action/interact/confirm/registerService.d.ts +1 -1
  28. package/lib/factory/action/interact/confirm/reservation.d.ts +1 -1
  29. package/lib/factory/action/interact/confirm.d.ts +1 -1
  30. package/lib/factory/action/interact/inform.d.ts +1 -1
  31. package/lib/factory/action/interact/register.d.ts +1 -1
  32. package/lib/factory/action/interact/unRegister.d.ts +1 -1
  33. package/lib/factory/action/reserve.d.ts +2 -2
  34. package/lib/factory/action/trade/order.d.ts +2 -2
  35. package/lib/factory/action/trade/pay.d.ts +1 -1
  36. package/lib/factory/action/trade/refund.d.ts +1 -1
  37. package/lib/factory/action/transfer/give.d.ts +1 -1
  38. package/lib/factory/action/transfer/moneyTransfer.d.ts +2 -2
  39. package/lib/factory/action/transfer/print.d.ts +1 -1
  40. package/lib/factory/action/transfer/return/paymentMethod.d.ts +1 -1
  41. package/lib/factory/action/transfer/return/pointAward.d.ts +1 -1
  42. package/lib/factory/action/transfer/return/reservation.d.ts +2 -2
  43. package/lib/factory/action/transfer/return.d.ts +1 -1
  44. package/lib/factory/action/transfer/send.d.ts +1 -1
  45. package/lib/factory/action/update/delete.d.ts +1 -1
  46. package/lib/factory/action.d.ts +3 -3
  47. package/lib/factory/actionStatusType.d.ts +1 -2
  48. package/lib/factory/actionStatusType.js +2 -2
  49. package/lib/factory/actionType.d.ts +1 -2
  50. package/lib/factory/actionType.js +2 -2
  51. package/lib/factory/assetTransaction/cancelReservation.d.ts +1 -1
  52. package/lib/factory/assetTransaction/moneyTransfer.d.ts +1 -1
  53. package/lib/factory/assetTransaction/pay.d.ts +1 -1
  54. package/lib/factory/assetTransaction/refund.d.ts +1 -1
  55. package/lib/factory/assetTransaction/registerService.d.ts +1 -1
  56. package/lib/factory/assetTransaction/reserve.d.ts +3 -3
  57. package/lib/factory/assetTransaction.d.ts +4 -4
  58. package/lib/factory/assetTransactionType.d.ts +2 -3
  59. package/lib/factory/assetTransactionType.js +3 -3
  60. package/lib/factory/authorization.d.ts +1 -1
  61. package/lib/factory/creativeWork/message/email.d.ts +1 -1
  62. package/lib/factory/creativeWork/movie.d.ts +1 -1
  63. package/lib/factory/creativeWork/softwareApplication/webApplication.d.ts +1 -1
  64. package/lib/factory/creativeWork.d.ts +1 -1
  65. package/lib/factory/creativeWorkType.d.ts +1 -2
  66. package/lib/factory/creativeWorkType.js +2 -2
  67. package/lib/factory/customer.d.ts +2 -2
  68. package/lib/factory/encodingFormat.js +2 -2
  69. package/lib/factory/error/alreadyInUse.d.ts +1 -1
  70. package/lib/factory/error/alreadyInUse.js +3 -2
  71. package/lib/factory/error/argument.d.ts +1 -1
  72. package/lib/factory/error/argument.js +3 -2
  73. package/lib/factory/error/argumentNull.d.ts +1 -1
  74. package/lib/factory/error/argumentNull.js +3 -2
  75. package/lib/factory/error/chevre.d.ts +1 -1
  76. package/lib/factory/error/forbidden.d.ts +1 -1
  77. package/lib/factory/error/forbidden.js +3 -2
  78. package/lib/factory/error/gatewayTimeout.d.ts +1 -1
  79. package/lib/factory/error/gatewayTimeout.js +3 -2
  80. package/lib/factory/error/notFound.d.ts +1 -1
  81. package/lib/factory/error/notFound.js +3 -2
  82. package/lib/factory/error/notImplemented.d.ts +1 -1
  83. package/lib/factory/error/notImplemented.js +3 -2
  84. package/lib/factory/error/rateLimitExceeded.d.ts +1 -1
  85. package/lib/factory/error/rateLimitExceeded.js +3 -2
  86. package/lib/factory/error/serviceUnavailable.d.ts +1 -1
  87. package/lib/factory/error/serviceUnavailable.js +3 -2
  88. package/lib/factory/error/unauthorized.d.ts +1 -1
  89. package/lib/factory/error/unauthorized.js +3 -2
  90. package/lib/factory/errorCode.d.ts +1 -2
  91. package/lib/factory/errorCode.js +3 -3
  92. package/lib/factory/errors.d.ts +10 -10
  93. package/lib/factory/errors.js +10 -10
  94. package/lib/factory/event/screeningEvent.d.ts +4 -4
  95. package/lib/factory/event/screeningEventSeries.d.ts +3 -3
  96. package/lib/factory/event.d.ts +4 -4
  97. package/lib/factory/eventStatusType.d.ts +1 -2
  98. package/lib/factory/eventStatusType.js +3 -3
  99. package/lib/factory/eventType.d.ts +1 -2
  100. package/lib/factory/eventType.js +2 -2
  101. package/lib/factory/iam.d.ts +2 -2
  102. package/lib/factory/invoice.d.ts +3 -3
  103. package/lib/factory/itemAvailability.d.ts +1 -2
  104. package/lib/factory/itemAvailability.js +3 -3
  105. package/lib/factory/multilingualString.d.ts +1 -2
  106. package/lib/factory/offer.d.ts +5 -5
  107. package/lib/factory/offerCatalog.d.ts +2 -2
  108. package/lib/factory/order.d.ts +18 -9
  109. package/lib/factory/orderStatus.d.ts +1 -2
  110. package/lib/factory/orderStatus.js +2 -2
  111. package/lib/factory/organization.d.ts +1 -1
  112. package/lib/factory/ownershipInfo.d.ts +2 -2
  113. package/lib/factory/paymentMethod/paymentCard/movieTicket.d.ts +1 -1
  114. package/lib/factory/paymentStatusType.d.ts +1 -2
  115. package/lib/factory/paymentStatusType.js +2 -2
  116. package/lib/factory/person.d.ts +1 -1
  117. package/lib/factory/personType.d.ts +1 -2
  118. package/lib/factory/personType.js +3 -3
  119. package/lib/factory/place/movieTheater.d.ts +1 -1
  120. package/lib/factory/place/screeningRoom.d.ts +1 -1
  121. package/lib/factory/place/seat.d.ts +2 -2
  122. package/lib/factory/place.d.ts +1 -1
  123. package/lib/factory/priceCurrency.d.ts +1 -2
  124. package/lib/factory/priceCurrency.js +2 -2
  125. package/lib/factory/priceSpecification/categoryCodeChargeSpecification.d.ts +1 -1
  126. package/lib/factory/priceSpecification/compoundPriceSpecification.d.ts +1 -1
  127. package/lib/factory/priceSpecification/movieTicketTypeChargeSpecification.d.ts +1 -1
  128. package/lib/factory/priceSpecification/unitPriceSpecification.d.ts +1 -1
  129. package/lib/factory/priceSpecification.d.ts +4 -4
  130. package/lib/factory/priceSpecificationType.d.ts +1 -2
  131. package/lib/factory/priceSpecificationType.js +2 -2
  132. package/lib/factory/product.d.ts +2 -2
  133. package/lib/factory/project.d.ts +1 -1
  134. package/lib/factory/reservation/event.d.ts +4 -5
  135. package/lib/factory/reservation/reservationPackage.d.ts +2 -2
  136. package/lib/factory/reservation.d.ts +6 -6
  137. package/lib/factory/reservationStatusType.d.ts +1 -2
  138. package/lib/factory/reservationStatusType.js +2 -2
  139. package/lib/factory/reservationType.d.ts +1 -2
  140. package/lib/factory/reservationType.js +2 -2
  141. package/lib/factory/seller.d.ts +1 -1
  142. package/lib/factory/sortType.d.ts +1 -2
  143. package/lib/factory/sortType.js +2 -2
  144. package/lib/factory/task/accountMoneyTransfer.d.ts +1 -1
  145. package/lib/factory/task/aggregateScreeningEvent.d.ts +2 -2
  146. package/lib/factory/task/aggregateUseActionsOnEvent.d.ts +2 -2
  147. package/lib/factory/task/cancelAccountMoneyTransfer.d.ts +3 -3
  148. package/lib/factory/task/cancelMoneyTransfer.d.ts +2 -2
  149. package/lib/factory/task/cancelPendingReservation.d.ts +1 -1
  150. package/lib/factory/task/cancelReservation.d.ts +1 -1
  151. package/lib/factory/task/confirmCancelReserve.d.ts +2 -2
  152. package/lib/factory/task/confirmMoneyTransfer.d.ts +1 -1
  153. package/lib/factory/task/confirmPay.d.ts +1 -1
  154. package/lib/factory/task/confirmRefund.d.ts +1 -1
  155. package/lib/factory/task/confirmRegisterService.d.ts +1 -1
  156. package/lib/factory/task/confirmReservation.d.ts +1 -1
  157. package/lib/factory/task/deleteAuthorization.d.ts +1 -1
  158. package/lib/factory/task/deleteMember.d.ts +1 -1
  159. package/lib/factory/task/deleteOrder.d.ts +1 -1
  160. package/lib/factory/task/deleteTransaction.d.ts +1 -1
  161. package/lib/factory/task/givePointAward.d.ts +1 -1
  162. package/lib/factory/task/importEventCapacitiesFromCOA.d.ts +1 -1
  163. package/lib/factory/task/importEventsFromCOA.d.ts +1 -1
  164. package/lib/factory/task/importOffersFromCOA.d.ts +1 -1
  165. package/lib/factory/task/moneyTransfer.d.ts +1 -1
  166. package/lib/factory/task/orderProgramMembership.d.ts +2 -2
  167. package/lib/factory/task/pay.d.ts +1 -1
  168. package/lib/factory/task/placeOrder.d.ts +1 -1
  169. package/lib/factory/task/refund.d.ts +1 -1
  170. package/lib/factory/task/registerService.d.ts +1 -1
  171. package/lib/factory/task/reserve.d.ts +1 -1
  172. package/lib/factory/task/returnMoneyTransfer.d.ts +1 -1
  173. package/lib/factory/task/returnOrder.d.ts +1 -1
  174. package/lib/factory/task/returnPointAward.d.ts +1 -1
  175. package/lib/factory/task/sendEmailMessage.d.ts +1 -1
  176. package/lib/factory/task/sendOrder.d.ts +1 -1
  177. package/lib/factory/task/triggerWebhook.d.ts +1 -1
  178. package/lib/factory/task/voidMoneyTransferTransaction.d.ts +1 -1
  179. package/lib/factory/task/voidPayTransaction.d.ts +1 -1
  180. package/lib/factory/task/voidPayment.d.ts +1 -1
  181. package/lib/factory/task/voidRegisterServiceTransaction.d.ts +1 -1
  182. package/lib/factory/task/voidReserveTransaction.d.ts +1 -1
  183. package/lib/factory/task.d.ts +3 -3
  184. package/lib/factory/taskName.d.ts +1 -2
  185. package/lib/factory/taskName.js +2 -2
  186. package/lib/factory/taskStatus.d.ts +1 -2
  187. package/lib/factory/taskStatus.js +2 -2
  188. package/lib/factory/thing.d.ts +1 -1
  189. package/lib/factory/transaction/moneyTransfer.d.ts +2 -2
  190. package/lib/factory/transaction/placeOrder.d.ts +1 -1
  191. package/lib/factory/transaction/returnOrder.d.ts +1 -1
  192. package/lib/factory/transaction.d.ts +5 -5
  193. package/lib/factory/transactionStatusType.d.ts +1 -2
  194. package/lib/factory/transactionStatusType.js +3 -3
  195. package/lib/factory/transactionTasksExportationStatus.d.ts +1 -2
  196. package/lib/factory/transactionTasksExportationStatus.js +3 -3
  197. package/lib/factory/transactionType.d.ts +1 -2
  198. package/lib/factory/transactionType.js +2 -2
  199. package/package.json +1 -1
@@ -15,6 +15,7 @@ var __extends = (this && this.__extends) || (function () {
15
15
  };
16
16
  })();
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.GatewayTimeoutError = void 0;
18
19
  // tslint:disable-next-line:no-require-imports
19
20
  var setPrototypeOf = require("setprototypeof");
20
21
  var errorCode_1 = require("../errorCode");
@@ -31,10 +32,10 @@ var GatewayTimeoutError = /** @class */ (function (_super) {
31
32
  actualMessage = 'Gateway Timeout';
32
33
  }
33
34
  // tslint:disable-next-line:no-single-line-block-comment
34
- _this = _super.call(this, errorCode_1.default.GatewayTimeout, actualMessage) /* istanbul ignore next */ || this;
35
+ _this = _super.call(this, errorCode_1.ErrorCode.GatewayTimeout, actualMessage) /* istanbul ignore next */ || this;
35
36
  setPrototypeOf(_this, GatewayTimeoutError.prototype);
36
37
  return _this;
37
38
  }
38
39
  return GatewayTimeoutError;
39
40
  }(chevre_1.ChevreError));
40
- exports.default = GatewayTimeoutError;
41
+ exports.GatewayTimeoutError = GatewayTimeoutError;
@@ -2,7 +2,7 @@ import { ChevreError } from './chevre';
2
2
  /**
3
3
  * NotFoundError
4
4
  */
5
- export default class NotFoundError extends ChevreError {
5
+ export declare class NotFoundError extends ChevreError {
6
6
  readonly entityName: string;
7
7
  constructor(entityName: string, message?: string);
8
8
  }
@@ -15,6 +15,7 @@ var __extends = (this && this.__extends) || (function () {
15
15
  };
16
16
  })();
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.NotFoundError = void 0;
18
19
  // tslint:disable-next-line:no-require-imports
19
20
  var setPrototypeOf = require("setprototypeof");
20
21
  var errorCode_1 = require("../errorCode");
@@ -31,11 +32,11 @@ var NotFoundError = /** @class */ (function (_super) {
31
32
  actualMessage = "Not Found: " + entityName + ".";
32
33
  }
33
34
  // tslint:disable-next-line:no-single-line-block-comment
34
- _this = _super.call(this, errorCode_1.default.NotFound, actualMessage) /* istanbul ignore next */ || this;
35
+ _this = _super.call(this, errorCode_1.ErrorCode.NotFound, actualMessage) /* istanbul ignore next */ || this;
35
36
  _this.entityName = entityName;
36
37
  setPrototypeOf(_this, NotFoundError.prototype);
37
38
  return _this;
38
39
  }
39
40
  return NotFoundError;
40
41
  }(chevre_1.ChevreError));
41
- exports.default = NotFoundError;
42
+ exports.NotFoundError = NotFoundError;
@@ -2,6 +2,6 @@ import { ChevreError } from './chevre';
2
2
  /**
3
3
  * NotImplementedError
4
4
  */
5
- export default class NotImplementedError extends ChevreError {
5
+ export declare class NotImplementedError extends ChevreError {
6
6
  constructor(message?: string);
7
7
  }
@@ -15,6 +15,7 @@ var __extends = (this && this.__extends) || (function () {
15
15
  };
16
16
  })();
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.NotImplementedError = void 0;
18
19
  // tslint:disable-next-line:no-require-imports
19
20
  var setPrototypeOf = require("setprototypeof");
20
21
  var errorCode_1 = require("../errorCode");
@@ -31,10 +32,10 @@ var NotImplementedError = /** @class */ (function (_super) {
31
32
  actualMessage = 'Method is not yet implemented.';
32
33
  }
33
34
  // tslint:disable-next-line:no-single-line-block-comment
34
- _this = _super.call(this, errorCode_1.default.NotImplemented, actualMessage) /* istanbul ignore next */ || this;
35
+ _this = _super.call(this, errorCode_1.ErrorCode.NotImplemented, actualMessage) /* istanbul ignore next */ || this;
35
36
  setPrototypeOf(_this, NotImplementedError.prototype);
36
37
  return _this;
37
38
  }
38
39
  return NotImplementedError;
39
40
  }(chevre_1.ChevreError));
40
- exports.default = NotImplementedError;
41
+ exports.NotImplementedError = NotImplementedError;
@@ -2,6 +2,6 @@ import { ChevreError } from './chevre';
2
2
  /**
3
3
  * RateLimitExceededError
4
4
  */
5
- export default class RateLimitExceededError extends ChevreError {
5
+ export declare class RateLimitExceededError extends ChevreError {
6
6
  constructor(message?: string);
7
7
  }
@@ -15,6 +15,7 @@ var __extends = (this && this.__extends) || (function () {
15
15
  };
16
16
  })();
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.RateLimitExceededError = void 0;
18
19
  // tslint:disable-next-line:no-require-imports
19
20
  var setPrototypeOf = require("setprototypeof");
20
21
  var errorCode_1 = require("../errorCode");
@@ -31,10 +32,10 @@ var RateLimitExceededError = /** @class */ (function (_super) {
31
32
  actualMessage = 'Rate limit exceeded.';
32
33
  }
33
34
  // tslint:disable-next-line:no-single-line-block-comment
34
- _this = _super.call(this, errorCode_1.default.RateLimitExceeded, actualMessage) /* istanbul ignore next */ || this;
35
+ _this = _super.call(this, errorCode_1.ErrorCode.RateLimitExceeded, actualMessage) /* istanbul ignore next */ || this;
35
36
  setPrototypeOf(_this, RateLimitExceededError.prototype);
36
37
  return _this;
37
38
  }
38
39
  return RateLimitExceededError;
39
40
  }(chevre_1.ChevreError));
40
- exports.default = RateLimitExceededError;
41
+ exports.RateLimitExceededError = RateLimitExceededError;
@@ -2,6 +2,6 @@ import { ChevreError } from './chevre';
2
2
  /**
3
3
  * ServiceUnavailableError
4
4
  */
5
- export default class ServiceUnavailableError extends ChevreError {
5
+ export declare class ServiceUnavailableError extends ChevreError {
6
6
  constructor(message?: string);
7
7
  }
@@ -15,6 +15,7 @@ var __extends = (this && this.__extends) || (function () {
15
15
  };
16
16
  })();
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ServiceUnavailableError = void 0;
18
19
  // tslint:disable-next-line:no-require-imports
19
20
  var setPrototypeOf = require("setprototypeof");
20
21
  var errorCode_1 = require("../errorCode");
@@ -31,10 +32,10 @@ var ServiceUnavailableError = /** @class */ (function (_super) {
31
32
  actualMessage = 'Service unavailable temporarily.';
32
33
  }
33
34
  // tslint:disable-next-line:no-single-line-block-comment
34
- _this = _super.call(this, errorCode_1.default.ServiceUnavailable, actualMessage) /* istanbul ignore next */ || this;
35
+ _this = _super.call(this, errorCode_1.ErrorCode.ServiceUnavailable, actualMessage) /* istanbul ignore next */ || this;
35
36
  setPrototypeOf(_this, ServiceUnavailableError.prototype);
36
37
  return _this;
37
38
  }
38
39
  return ServiceUnavailableError;
39
40
  }(chevre_1.ChevreError));
40
- exports.default = ServiceUnavailableError;
41
+ exports.ServiceUnavailableError = ServiceUnavailableError;
@@ -2,6 +2,6 @@ import { ChevreError } from './chevre';
2
2
  /**
3
3
  * UnauthorizedError
4
4
  */
5
- export default class UnauthorizedError extends ChevreError {
5
+ export declare class UnauthorizedError extends ChevreError {
6
6
  constructor(message?: string);
7
7
  }
@@ -15,6 +15,7 @@ var __extends = (this && this.__extends) || (function () {
15
15
  };
16
16
  })();
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.UnauthorizedError = void 0;
18
19
  // tslint:disable-next-line:no-require-imports
19
20
  var setPrototypeOf = require("setprototypeof");
20
21
  var errorCode_1 = require("../errorCode");
@@ -31,10 +32,10 @@ var UnauthorizedError = /** @class */ (function (_super) {
31
32
  actualMessage = 'Unauthorized.';
32
33
  }
33
34
  // tslint:disable-next-line:no-single-line-block-comment
34
- _this = _super.call(this, errorCode_1.default.Unauthorized, actualMessage) /* istanbul ignore next */ || this;
35
+ _this = _super.call(this, errorCode_1.ErrorCode.Unauthorized, actualMessage) /* istanbul ignore next */ || this;
35
36
  setPrototypeOf(_this, UnauthorizedError.prototype);
36
37
  return _this;
37
38
  }
38
39
  return UnauthorizedError;
39
40
  }(chevre_1.ChevreError));
40
- exports.default = UnauthorizedError;
41
+ exports.UnauthorizedError = UnauthorizedError;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * エラーコード
3
3
  */
4
- declare enum ErrorCode {
4
+ export declare enum ErrorCode {
5
5
  AlreadyInUse = "AlreadyInUse",
6
6
  Argument = "Argument",
7
7
  ArgumentNull = "ArgumentNull",
@@ -13,4 +13,3 @@ declare enum ErrorCode {
13
13
  ServiceUnavailable = "ServiceUnavailable",
14
14
  Unauthorized = "Unauthorized"
15
15
  }
16
- export default ErrorCode;
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ErrorCode = void 0;
2
4
  /**
3
5
  * エラーコード
4
6
  */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
7
  var ErrorCode;
7
8
  (function (ErrorCode) {
8
9
  ErrorCode["AlreadyInUse"] = "AlreadyInUse";
@@ -15,5 +16,4 @@ var ErrorCode;
15
16
  ErrorCode["RateLimitExceeded"] = "RateLimitExceeded";
16
17
  ErrorCode["ServiceUnavailable"] = "ServiceUnavailable";
17
18
  ErrorCode["Unauthorized"] = "Unauthorized";
18
- })(ErrorCode || (ErrorCode = {}));
19
- exports.default = ErrorCode;
19
+ })(ErrorCode = exports.ErrorCode || (exports.ErrorCode = {}));
@@ -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';
4
+ import { AlreadyInUseError } from './error/alreadyInUse';
5
+ import { ArgumentError } from './error/argument';
6
+ import { ArgumentNullError } from './error/argumentNull';
7
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';
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
15
  export { AlreadyInUseError as AlreadyInUse, ArgumentError as Argument, ArgumentNullError as ArgumentNull, ForbiddenError as Forbidden, GatewayTimeoutError as GatewayTimeout, NotFoundError as NotFound, NotImplementedError as NotImplemented, RateLimitExceededError as RateLimitExceeded, ServiceUnavailableError as ServiceUnavailable, ChevreError as Chevre, UnauthorizedError as Unauthorized };
@@ -5,24 +5,24 @@ exports.Unauthorized = exports.Chevre = exports.ServiceUnavailable = exports.Rat
5
5
  * errors
6
6
  */
7
7
  var alreadyInUse_1 = require("./error/alreadyInUse");
8
- exports.AlreadyInUse = alreadyInUse_1.default;
8
+ Object.defineProperty(exports, "AlreadyInUse", { enumerable: true, get: function () { return alreadyInUse_1.AlreadyInUseError; } });
9
9
  var argument_1 = require("./error/argument");
10
- exports.Argument = argument_1.default;
10
+ Object.defineProperty(exports, "Argument", { enumerable: true, get: function () { return argument_1.ArgumentError; } });
11
11
  var argumentNull_1 = require("./error/argumentNull");
12
- exports.ArgumentNull = argumentNull_1.default;
12
+ Object.defineProperty(exports, "ArgumentNull", { enumerable: true, get: function () { return argumentNull_1.ArgumentNullError; } });
13
13
  var chevre_1 = require("./error/chevre");
14
14
  Object.defineProperty(exports, "Chevre", { enumerable: true, get: function () { return chevre_1.ChevreError; } });
15
15
  var forbidden_1 = require("./error/forbidden");
16
- exports.Forbidden = forbidden_1.default;
16
+ Object.defineProperty(exports, "Forbidden", { enumerable: true, get: function () { return forbidden_1.ForbiddenError; } });
17
17
  var gatewayTimeout_1 = require("./error/gatewayTimeout");
18
- exports.GatewayTimeout = gatewayTimeout_1.default;
18
+ Object.defineProperty(exports, "GatewayTimeout", { enumerable: true, get: function () { return gatewayTimeout_1.GatewayTimeoutError; } });
19
19
  var notFound_1 = require("./error/notFound");
20
- exports.NotFound = notFound_1.default;
20
+ Object.defineProperty(exports, "NotFound", { enumerable: true, get: function () { return notFound_1.NotFoundError; } });
21
21
  var notImplemented_1 = require("./error/notImplemented");
22
- exports.NotImplemented = notImplemented_1.default;
22
+ Object.defineProperty(exports, "NotImplemented", { enumerable: true, get: function () { return notImplemented_1.NotImplementedError; } });
23
23
  var rateLimitExceeded_1 = require("./error/rateLimitExceeded");
24
- exports.RateLimitExceeded = rateLimitExceeded_1.default;
24
+ Object.defineProperty(exports, "RateLimitExceeded", { enumerable: true, get: function () { return rateLimitExceeded_1.RateLimitExceededError; } });
25
25
  var serviceUnavailable_1 = require("./error/serviceUnavailable");
26
- exports.ServiceUnavailable = serviceUnavailable_1.default;
26
+ Object.defineProperty(exports, "ServiceUnavailable", { enumerable: true, get: function () { return serviceUnavailable_1.ServiceUnavailableError; } });
27
27
  var unauthorized_1 = require("./error/unauthorized");
28
- exports.Unauthorized = unauthorized_1.default;
28
+ Object.defineProperty(exports, "Unauthorized", { enumerable: true, get: function () { return unauthorized_1.UnauthorizedError; } });
@@ -1,13 +1,13 @@
1
1
  import * as COA from '@motionpicture/coa-service';
2
2
  import * as EventFactory from '../event';
3
3
  import * as ScreeningEventSeriesFactory from '../event/screeningEventSeries';
4
- import EventType from '../eventType';
5
- import IMultilingualString from '../multilingualString';
4
+ import { EventType } from '../eventType';
5
+ import { IMultilingualString } from '../multilingualString';
6
6
  import * as OfferFactory from '../offer';
7
7
  import { OfferType } from '../offerType';
8
8
  import { OrganizationType } from '../organizationType';
9
9
  import { PlaceType } from '../placeType';
10
- import PriceCurrency from '../priceCurrency';
10
+ import { PriceCurrency } from '../priceCurrency';
11
11
  import { IPriceSpecification as ICategoryCodeChargeSpecification } from '../priceSpecification/categoryCodeChargeSpecification';
12
12
  import { IPriceSpecification as ICompoundPriceSpecification } from '../priceSpecification/compoundPriceSpecification';
13
13
  import { IPriceSpecification as IMovieTicketTypeChargeSpecification } from '../priceSpecification/movieTicketTypeChargeSpecification';
@@ -15,7 +15,7 @@ import { IPriceSpecification as IUnitPriceSpecification } from '../priceSpecific
15
15
  import { IProject } from '../project';
16
16
  import { IQuantitativeValue } from '../quantitativeValue';
17
17
  import * as ReservationFactory from '../reservation';
18
- import ReservationType from '../reservationType';
18
+ import { ReservationType } from '../reservationType';
19
19
  import * as WebAPIFactory from '../service/webAPI';
20
20
  import { IServiceType } from '../serviceType';
21
21
  import { IThing } from '../thing';
@@ -1,13 +1,13 @@
1
1
  import * as COA from '@motionpicture/coa-service';
2
2
  import { ICreativeWork as IMovie } from '../creativeWork/movie';
3
3
  import * as EventFactory from '../event';
4
- import EventType from '../eventType';
4
+ import { EventType } from '../eventType';
5
5
  import { ILanguage } from '../language';
6
- import IMultilingualString from '../multilingualString';
6
+ import { IMultilingualString } from '../multilingualString';
7
7
  import { OfferType } from '../offerType';
8
8
  import { OrganizationType } from '../organizationType';
9
9
  import { PlaceType } from '../placeType';
10
- import PriceCurrency from '../priceCurrency';
10
+ import { PriceCurrency } from '../priceCurrency';
11
11
  import { IProject } from '../project';
12
12
  /**
13
13
  * 施設コンテンツに対するオファーインターフェース
@@ -1,12 +1,12 @@
1
1
  import * as CreativeWorkFactory from './creativeWork';
2
- import EventStatusType from './eventStatusType';
3
- import EventType from './eventType';
4
- import IMultilingualString from './multilingualString';
2
+ import { EventStatusType } from './eventStatusType';
3
+ import { EventType } from './eventType';
4
+ import { IMultilingualString } from './multilingualString';
5
5
  import * as OfferFactory from './offer';
6
6
  import * as PlaceFactory from './place';
7
7
  import { IProject } from './project';
8
8
  import { IPropertyValue } from './propertyValue';
9
- import SortType from './sortType';
9
+ import { SortType } from './sortType';
10
10
  export interface IHasOfferCatalog {
11
11
  typeOf: 'OfferCatalog';
12
12
  id?: string;
@@ -1,10 +1,9 @@
1
1
  /**
2
2
  * イベントステータス
3
3
  */
4
- declare enum EventStatusType {
4
+ export declare enum EventStatusType {
5
5
  EventCancelled = "EventCancelled",
6
6
  EventPostponed = "EventPostponed",
7
7
  EventRescheduled = "EventRescheduled",
8
8
  EventScheduled = "EventScheduled"
9
9
  }
10
- export default EventStatusType;
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EventStatusType = void 0;
2
4
  /**
3
5
  * イベントステータス
4
6
  */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
7
  var EventStatusType;
7
8
  (function (EventStatusType) {
8
9
  EventStatusType["EventCancelled"] = "EventCancelled";
9
10
  EventStatusType["EventPostponed"] = "EventPostponed";
10
11
  EventStatusType["EventRescheduled"] = "EventRescheduled";
11
12
  EventStatusType["EventScheduled"] = "EventScheduled";
12
- })(EventStatusType || (EventStatusType = {}));
13
- exports.default = EventStatusType;
13
+ })(EventStatusType = exports.EventStatusType || (exports.EventStatusType = {}));
@@ -1,8 +1,7 @@
1
1
  /**
2
2
  * イベントタイプ
3
3
  */
4
- declare enum EventType {
4
+ export declare enum EventType {
5
5
  ScreeningEvent = "ScreeningEvent",
6
6
  ScreeningEventSeries = "ScreeningEventSeries"
7
7
  }
8
- export default EventType;
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EventType = void 0;
3
4
  /**
4
5
  * イベントタイプ
5
6
  */
@@ -7,5 +8,4 @@ var EventType;
7
8
  (function (EventType) {
8
9
  EventType["ScreeningEvent"] = "ScreeningEvent";
9
10
  EventType["ScreeningEventSeries"] = "ScreeningEventSeries";
10
- })(EventType || (EventType = {}));
11
- exports.default = EventType;
11
+ })(EventType = exports.EventType || (exports.EventType = {}));
@@ -1,6 +1,6 @@
1
- import CreativeWorkType from './creativeWorkType';
1
+ import { CreativeWorkType } from './creativeWorkType';
2
2
  import { OrganizationType } from './organizationType';
3
- import PersonType from './personType';
3
+ import { PersonType } from './personType';
4
4
  export declare enum RoleType {
5
5
  OrganizationRole = "OrganizationRole"
6
6
  }
@@ -1,11 +1,11 @@
1
1
  import { IMonetaryAmount } from './monetaryAmount';
2
2
  import * as OrderFactory from './order';
3
- import PaymentStatusType from './paymentStatusType';
3
+ import { PaymentStatusType } from './paymentStatusType';
4
4
  import * as PersonFactory from './person';
5
- import PersonType from './personType';
5
+ import { PersonType } from './personType';
6
6
  import { IProject } from './project';
7
7
  import * as SellerFactory from './seller';
8
- import SortType from './sortType';
8
+ import { SortType } from './sortType';
9
9
  export declare type IBroker = SellerFactory.ISeller | PersonFactory.IPerson;
10
10
  export declare type IProvider = SellerFactory.ISeller | PersonFactory.IPerson;
11
11
  export interface IReferenceOrder extends OrderFactory.IOrder {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * 商品在庫状況
3
3
  */
4
- declare enum ItemAvailability {
4
+ export declare enum ItemAvailability {
5
5
  Discontinued = "Discontinued",
6
6
  InStock = "InStock",
7
7
  InStoreOnly = "InStoreOnly",
@@ -12,4 +12,3 @@ declare enum ItemAvailability {
12
12
  PreSale = "PreSale",
13
13
  SoldOut = "SoldOut"
14
14
  }
15
- export default ItemAvailability;
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ItemAvailability = void 0;
2
4
  /**
3
5
  * 商品在庫状況
4
6
  */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
7
  var ItemAvailability;
7
8
  (function (ItemAvailability) {
8
9
  ItemAvailability["Discontinued"] = "Discontinued";
@@ -14,5 +15,4 @@ var ItemAvailability;
14
15
  ItemAvailability["PreOrder"] = "PreOrder";
15
16
  ItemAvailability["PreSale"] = "PreSale";
16
17
  ItemAvailability["SoldOut"] = "SoldOut";
17
- })(ItemAvailability || (ItemAvailability = {}));
18
- exports.default = ItemAvailability;
18
+ })(ItemAvailability = exports.ItemAvailability || (exports.ItemAvailability = {}));
@@ -1,9 +1,8 @@
1
1
  /**
2
2
  * 多言語文字列
3
3
  */
4
- interface IMultilingualString {
4
+ export interface IMultilingualString {
5
5
  ja?: string;
6
6
  en?: string;
7
7
  kr?: string;
8
8
  }
9
- export default IMultilingualString;
@@ -1,19 +1,19 @@
1
- import ActionType from './actionType';
1
+ import { ActionType } from './actionType';
2
2
  import { ICategoryCode } from './categoryCode';
3
- import ItemAvailability from './itemAvailability';
3
+ import { ItemAvailability } from './itemAvailability';
4
4
  import { IMonetaryAmount } from './monetaryAmount';
5
5
  import * as SeatReservationOfferFactory from './offer/seatReservation';
6
6
  import { OfferType } from './offerType';
7
- import PriceCurrency from './priceCurrency';
7
+ import { PriceCurrency } from './priceCurrency';
8
8
  import { IPriceSpecification } from './priceSpecification';
9
9
  import { IPriceSpecification as IUnitPriceSpecification } from './priceSpecification/unitPriceSpecification';
10
- import PriceSpecificationType from './priceSpecificationType';
10
+ import { PriceSpecificationType } from './priceSpecificationType';
11
11
  import { ProductType } from './product';
12
12
  import { IProject } from './project';
13
13
  import { IPropertyValue } from './propertyValue';
14
14
  import { IQuantitativeValue } from './quantitativeValue';
15
15
  import * as WebAPIFactory from './service/webAPI';
16
- import SortType from './sortType';
16
+ import { SortType } from './sortType';
17
17
  import { IThing } from './thing';
18
18
  import { UnitCode } from './unitCode';
19
19
  /**
@@ -1,9 +1,9 @@
1
- import IMultilingualString from './multilingualString';
1
+ import { IMultilingualString } from './multilingualString';
2
2
  import { OfferType } from './offerType';
3
3
  import { IProject } from './project';
4
4
  import { IPropertyValue } from './propertyValue';
5
5
  import { IServiceType } from './serviceType';
6
- import SortType from './sortType';
6
+ import { SortType } from './sortType';
7
7
  import { IThing } from './thing';
8
8
  export interface IItemOffered {
9
9
  typeOf: string;
@@ -1,25 +1,25 @@
1
1
  import { IParticipant } from './action';
2
2
  import { IPaymentCard } from './action/interact/confirm/moneyTransfer';
3
- import ActionType from './actionType';
4
- import AssetTransactionType from './assetTransactionType';
3
+ import { ActionType } from './actionType';
4
+ import { AssetTransactionType } from './assetTransactionType';
5
5
  import { ICreativeWork as IWebApplication } from './creativeWork/softwareApplication/webApplication';
6
6
  import { ICustomer as ICustomerOrganization } from './customer';
7
- import EventType from './eventType';
7
+ import { EventType } from './eventType';
8
8
  import * as MonetaryAmountFactory from './monetaryAmount';
9
9
  import { IOffer } from './offer';
10
- import OrderStatus from './orderStatus';
10
+ import { OrderStatus } from './orderStatus';
11
11
  import { OrganizationType } from './organizationType';
12
12
  import * as PermitFactory from './permit';
13
13
  import { IPerson, IProfile } from './person';
14
- import PersonType from './personType';
15
- import PriceCurrency from './priceCurrency';
16
- import { ProductType } from './product';
14
+ import { PersonType } from './personType';
15
+ import { PriceCurrency } from './priceCurrency';
16
+ import { IProduct, ProductType } from './product';
17
17
  import { IPropertyValue } from './propertyValue';
18
- import { IProgramMembershipUsedSearchConditions } from './reservation';
18
+ import { IProgramMembershipUsedSearchConditions, IReservationFor } from './reservation';
19
19
  import * as EventReservationFactory from './reservation/event';
20
20
  import { ISeller as ISellerOrganization } from './seller';
21
21
  import { PaymentServiceType } from './service/paymentService';
22
- import SortType from './sortType';
22
+ import { SortType } from './sortType';
23
23
  import { IThing } from './thing';
24
24
  export interface IProject {
25
25
  typeOf: OrganizationType.Project;
@@ -183,6 +183,14 @@ export interface ISimpleOrder extends IThing {
183
183
  */
184
184
  orderDate: Date;
185
185
  }
186
+ /**
187
+ * 注文アイテム
188
+ * {@link https://schema.org/OrderItem}
189
+ */
190
+ export interface IOrderedItem {
191
+ typeOf: 'OrderItem';
192
+ orderedItem: IProduct | IReservationFor;
193
+ }
186
194
  /**
187
195
  * 注文インターフェース
188
196
  * {@link https://schema.org/Order}
@@ -214,6 +222,7 @@ export interface IOrder extends ISimpleOrder {
214
222
  * Was the offer accepted as a gift for someone other than the buyer.
215
223
  */
216
224
  isGift?: boolean;
225
+ orderedItem?: IOrderedItem[];
217
226
  /**
218
227
  * OrderStatus (recommended for confirmation cards/ Search Answers)
219
228
  * The current status of the order.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * 注文ステータス
3
3
  */
4
- declare enum OrderStatus {
4
+ export declare enum OrderStatus {
5
5
  OrderCancelled = "OrderCancelled",
6
6
  OrderDelivered = "OrderDelivered",
7
7
  OrderInTransit = "OrderInTransit",
@@ -11,4 +11,3 @@ declare enum OrderStatus {
11
11
  OrderProcessing = "OrderProcessing",
12
12
  OrderReturned = "OrderReturned"
13
13
  }
14
- export default OrderStatus;
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OrderStatus = void 0;
3
4
  /**
4
5
  * 注文ステータス
5
6
  */
@@ -13,5 +14,4 @@ var OrderStatus;
13
14
  OrderStatus["OrderProblem"] = "OrderProblem";
14
15
  OrderStatus["OrderProcessing"] = "OrderProcessing";
15
16
  OrderStatus["OrderReturned"] = "OrderReturned";
16
- })(OrderStatus || (OrderStatus = {}));
17
- exports.default = OrderStatus;
17
+ })(OrderStatus = exports.OrderStatus || (exports.OrderStatus = {}));
@@ -1,5 +1,5 @@
1
1
  import { IMerchantReturnPolicy } from './merchantReturnPolicy';
2
- import IMultilingualString from './multilingualString';
2
+ import { IMultilingualString } from './multilingualString';
3
3
  import { IPlace } from './place';
4
4
  import { IPropertyValue } from './propertyValue';
5
5
  import { IThing } from './thing';
@@ -3,10 +3,10 @@ import * as PermitFactory from './permit';
3
3
  import * as ProductFactory from './product';
4
4
  import { IProject } from './project';
5
5
  import { IReservation as IEventReservation } from './reservation/event';
6
- import ReservationType from './reservationType';
6
+ import { ReservationType } from './reservationType';
7
7
  import { ISeller } from './seller';
8
8
  import * as WebAPIFactory from './service/webAPI';
9
- import SortType from './sortType';
9
+ import { SortType } from './sortType';
10
10
  export declare type IBookingService = WebAPIFactory.IService<WebAPIFactory.Identifier>;
11
11
  /**
12
12
  * 予約インターフェース
@@ -1,4 +1,4 @@
1
- import EventType from '../../eventType';
1
+ import { EventType } from '../../eventType';
2
2
  import { ISeat } from '../../reservation';
3
3
  import { IPaymentCard } from '../paymentCard';
4
4
  export interface IAttributes extends IPaymentCard {