@chevre/domain 21.2.0-alpha.8 → 21.2.0-alpha.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.
Files changed (237) hide show
  1. package/example/src/chevre/aggregation/aggregateSystem.ts +58 -31
  2. package/example/src/chevre/countDelayedTransactions.ts +60 -0
  3. package/example/src/chevre/createManyEventsIfNotExist.ts +4 -1
  4. package/example/src/chevre/deleteTasksByName.ts +10 -2
  5. package/example/src/chevre/importEventsFromCOA.ts +3 -4
  6. package/example/src/chevre/migrateOrderAdditionalProperties.ts +85 -0
  7. package/example/src/chevre/processReserve.ts +2 -1
  8. package/example/src/chevre/saveTasks.ts +13 -10
  9. package/example/src/chevre/searchAbortedTasks.ts +36 -0
  10. package/example/src/chevre/searchReservationNumbersByOrderNumbers.ts +37 -1
  11. package/example/src/chevre/searchSellers.ts +22 -0
  12. package/example/src/chevre/searchSendEmailActions.ts +44 -0
  13. package/example/src/chevre/task/executeTasks.ts +26 -0
  14. package/example/src/chevre/transaction/findCreditCard.ts +1 -1
  15. package/example/src/chevre/transaction/orderMembershipService.ts +1 -1
  16. package/example/src/chevre/transaction/processReturnOrder.ts +40 -0
  17. package/example/src/chevre/transaction/startExportTasks.ts +20 -0
  18. package/example/src/chevre/updateTransaction.ts +1 -1
  19. package/example/src/playOnMoment.ts +24 -0
  20. package/lib/chevre/credentials.d.ts +1 -0
  21. package/lib/chevre/credentials.js +2 -1
  22. package/lib/chevre/eventEmitter/assetTransaction.d.ts +21 -0
  23. package/lib/chevre/eventEmitter/assetTransaction.js +25 -0
  24. package/lib/chevre/eventEmitter/task.d.ts +18 -0
  25. package/lib/chevre/eventEmitter/task.js +25 -0
  26. package/lib/chevre/eventEmitter/transaction.d.ts +21 -0
  27. package/lib/chevre/eventEmitter/transaction.js +25 -0
  28. package/lib/chevre/eventEmitter.d.ts +4 -0
  29. package/lib/chevre/eventEmitter.js +9 -0
  30. package/lib/chevre/index.d.ts +3 -2
  31. package/lib/chevre/index.js +5 -3
  32. package/lib/chevre/repo/accountTransaction.d.ts +3 -11
  33. package/lib/chevre/repo/accountTransaction.js +1 -54
  34. package/lib/chevre/repo/action.d.ts +29 -1
  35. package/lib/chevre/repo/action.js +32 -25
  36. package/lib/chevre/repo/assetTransaction.d.ts +25 -9
  37. package/lib/chevre/repo/assetTransaction.js +237 -80
  38. package/lib/chevre/repo/comment.d.ts +4 -1
  39. package/lib/chevre/repo/comment.js +20 -5
  40. package/lib/chevre/repo/confirmationNumber.d.ts +0 -1
  41. package/lib/chevre/repo/confirmationNumber.js +3 -15
  42. package/lib/chevre/repo/creativeWork.d.ts +1 -3
  43. package/lib/chevre/repo/emailMessage.d.ts +1 -27
  44. package/lib/chevre/repo/event.d.ts +5 -1
  45. package/lib/chevre/repo/merchantReturnPolicy.d.ts +1 -3
  46. package/lib/chevre/repo/mongoose/schemas/account.d.ts +5 -2
  47. package/lib/chevre/repo/mongoose/schemas/account.js +1 -0
  48. package/lib/chevre/repo/mongoose/schemas/accountTitle.d.ts +30 -3
  49. package/lib/chevre/repo/mongoose/schemas/accountTitle.js +1 -0
  50. package/lib/chevre/repo/mongoose/schemas/accountTransaction.d.ts +32 -3
  51. package/lib/chevre/repo/mongoose/schemas/accountTransaction.js +2 -1
  52. package/lib/chevre/repo/mongoose/schemas/accountingReport.d.ts +14 -3
  53. package/lib/chevre/repo/mongoose/schemas/accountingReport.js +1 -0
  54. package/lib/chevre/repo/mongoose/schemas/action.d.ts +44 -3
  55. package/lib/chevre/repo/mongoose/schemas/action.js +2 -1
  56. package/lib/chevre/repo/mongoose/schemas/additionalProperty.d.ts +18 -3
  57. package/lib/chevre/repo/mongoose/schemas/additionalProperty.js +1 -0
  58. package/lib/chevre/repo/mongoose/schemas/aggregation.d.ts +5 -2
  59. package/lib/chevre/repo/mongoose/schemas/aggregation.js +1 -0
  60. package/lib/chevre/repo/mongoose/schemas/assetTransaction.d.ts +45 -3
  61. package/lib/chevre/repo/mongoose/schemas/assetTransaction.js +15 -19
  62. package/lib/chevre/repo/mongoose/schemas/authorization.d.ts +20 -3
  63. package/lib/chevre/repo/mongoose/schemas/authorization.js +2 -1
  64. package/lib/chevre/repo/mongoose/schemas/categoryCode.d.ts +26 -3
  65. package/lib/chevre/repo/mongoose/schemas/categoryCode.js +1 -0
  66. package/lib/chevre/repo/mongoose/schemas/comments.d.ts +28 -3
  67. package/lib/chevre/repo/mongoose/schemas/comments.js +2 -1
  68. package/lib/chevre/repo/mongoose/schemas/creativeWork.d.ts +44 -3
  69. package/lib/chevre/repo/mongoose/schemas/creativeWork.js +1 -0
  70. package/lib/chevre/repo/mongoose/schemas/customer.d.ts +26 -3
  71. package/lib/chevre/repo/mongoose/schemas/customer.js +1 -0
  72. package/lib/chevre/repo/mongoose/schemas/emailMessages.d.ts +22 -3
  73. package/lib/chevre/repo/mongoose/schemas/emailMessages.js +1 -0
  74. package/lib/chevre/repo/mongoose/schemas/event.d.ts +72 -3
  75. package/lib/chevre/repo/mongoose/schemas/event.js +1 -0
  76. package/lib/chevre/repo/mongoose/schemas/member.d.ts +14 -3
  77. package/lib/chevre/repo/mongoose/schemas/member.js +1 -0
  78. package/lib/chevre/repo/mongoose/schemas/merchantReturnPolicy.d.ts +22 -3
  79. package/lib/chevre/repo/mongoose/schemas/merchantReturnPolicy.js +1 -0
  80. package/lib/chevre/repo/mongoose/schemas/offer.d.ts +66 -3
  81. package/lib/chevre/repo/mongoose/schemas/offer.js +1 -0
  82. package/lib/chevre/repo/mongoose/schemas/offerCatalog.d.ts +28 -3
  83. package/lib/chevre/repo/mongoose/schemas/offerCatalog.js +1 -0
  84. package/lib/chevre/repo/mongoose/schemas/offerItemCondition.d.ts +74 -0
  85. package/lib/chevre/repo/mongoose/schemas/offerItemCondition.js +45 -0
  86. package/lib/chevre/repo/mongoose/schemas/order.d.ts +52 -3
  87. package/lib/chevre/repo/mongoose/schemas/order.js +2 -1
  88. package/lib/chevre/repo/mongoose/schemas/ownershipInfo.d.ts +26 -3
  89. package/lib/chevre/repo/mongoose/schemas/ownershipInfo.js +2 -1
  90. package/lib/chevre/repo/mongoose/schemas/place.d.ts +50 -3
  91. package/lib/chevre/repo/mongoose/schemas/place.js +1 -0
  92. package/lib/chevre/repo/mongoose/schemas/priceSpecification.d.ts +30 -3
  93. package/lib/chevre/repo/mongoose/schemas/priceSpecification.js +1 -0
  94. package/lib/chevre/repo/mongoose/schemas/product.d.ts +32 -3
  95. package/lib/chevre/repo/mongoose/schemas/product.js +1 -0
  96. package/lib/chevre/repo/mongoose/schemas/project.d.ts +24 -3
  97. package/lib/chevre/repo/mongoose/schemas/project.js +1 -0
  98. package/lib/chevre/repo/mongoose/schemas/reservation.d.ts +63 -4
  99. package/lib/chevre/repo/mongoose/schemas/reservation.js +2 -1
  100. package/lib/chevre/repo/mongoose/schemas/role.d.ts +12 -3
  101. package/lib/chevre/repo/mongoose/schemas/role.js +1 -0
  102. package/lib/chevre/repo/mongoose/schemas/seller.d.ts +32 -3
  103. package/lib/chevre/repo/mongoose/schemas/seller.js +7 -0
  104. package/lib/chevre/repo/mongoose/schemas/serviceOutput.d.ts +12 -3
  105. package/lib/chevre/repo/mongoose/schemas/serviceOutput.js +2 -1
  106. package/lib/chevre/repo/mongoose/schemas/task.d.ts +31 -3
  107. package/lib/chevre/repo/mongoose/schemas/task.js +3 -1
  108. package/lib/chevre/repo/mongoose/schemas/telemetry.d.ts +22 -3
  109. package/lib/chevre/repo/mongoose/schemas/telemetry.js +1 -0
  110. package/lib/chevre/repo/mongoose/schemas/transaction.d.ts +41 -3
  111. package/lib/chevre/repo/mongoose/schemas/transaction.js +3 -1
  112. package/lib/chevre/repo/mongoose/schemas/trip.d.ts +12 -3
  113. package/lib/chevre/repo/mongoose/schemas/trip.js +1 -0
  114. package/lib/chevre/repo/offerItemCondition.d.ts +22 -0
  115. package/lib/chevre/repo/offerItemCondition.js +120 -0
  116. package/lib/chevre/repo/order.d.ts +52 -2
  117. package/lib/chevre/repo/order.js +52 -4
  118. package/lib/chevre/repo/reservation.d.ts +8 -4
  119. package/lib/chevre/repo/reservation.js +8 -42
  120. package/lib/chevre/repo/seller.js +19 -19
  121. package/lib/chevre/repo/task.d.ts +42 -2
  122. package/lib/chevre/repo/task.js +90 -9
  123. package/lib/chevre/repo/transaction.d.ts +23 -3
  124. package/lib/chevre/repo/transaction.js +174 -54
  125. package/lib/chevre/repository.d.ts +5 -2
  126. package/lib/chevre/repository.js +8 -4
  127. package/lib/chevre/service/aggregation/system.d.ts +67 -22
  128. package/lib/chevre/service/aggregation/system.js +101 -89
  129. package/lib/chevre/service/assetTransaction/cancelReservation.js +1 -28
  130. package/lib/chevre/service/assetTransaction/moneyTransfer.js +1 -23
  131. package/lib/chevre/service/assetTransaction/pay/potentialActions.js +17 -1
  132. package/lib/chevre/service/assetTransaction/pay.js +10 -25
  133. package/lib/chevre/service/assetTransaction/refund.js +1 -23
  134. package/lib/chevre/service/assetTransaction/registerService.js +1 -25
  135. package/lib/chevre/service/assetTransaction/reserve/factory.d.ts +6 -2
  136. package/lib/chevre/service/assetTransaction/reserve/factory.js +24 -20
  137. package/lib/chevre/service/assetTransaction/reserve.d.ts +7 -1
  138. package/lib/chevre/service/assetTransaction/reserve.js +35 -40
  139. package/lib/chevre/service/assetTransaction.d.ts +6 -2
  140. package/lib/chevre/service/assetTransaction.js +9 -5
  141. package/lib/chevre/service/event.js +3 -1
  142. package/lib/chevre/service/notification/factory.js +2 -2
  143. package/lib/chevre/service/notification.d.ts +3 -1
  144. package/lib/chevre/service/notification.js +41 -7
  145. package/lib/chevre/service/offer/event/authorize.d.ts +1 -0
  146. package/lib/chevre/service/offer/event/authorize.js +5 -2
  147. package/lib/chevre/service/offer/event/factory.d.ts +2 -0
  148. package/lib/chevre/service/offer/event/factory.js +2 -2
  149. package/lib/chevre/service/offer/event/voidTransaction.d.ts +2 -0
  150. package/lib/chevre/service/offer/event/voidTransaction.js +17 -1
  151. package/lib/chevre/service/offer.js +1 -1
  152. package/lib/chevre/service/order/deleteOrder.d.ts +3 -1
  153. package/lib/chevre/service/order/deleteOrder.js +8 -8
  154. package/lib/chevre/service/order/onOrderStatusChanged/factory.d.ts +0 -1
  155. package/lib/chevre/service/order/onOrderStatusChanged/factory.js +1 -48
  156. package/lib/chevre/service/order/onOrderStatusChanged.js +1 -3
  157. package/lib/chevre/service/order/placeOrder.js +1 -1
  158. package/lib/chevre/service/order/returnOrder.js +1 -5
  159. package/lib/chevre/service/order/sendOrder.js +1 -1
  160. package/lib/chevre/service/payment/any/onPaid.js +1 -1
  161. package/lib/chevre/service/payment/any/onRefund.js +1 -1
  162. package/lib/chevre/service/payment/any.js +60 -10
  163. package/lib/chevre/service/payment/movieTicket/validation.d.ts +3 -2
  164. package/lib/chevre/service/payment/movieTicket/validation.js +12 -25
  165. package/lib/chevre/service/payment/movieTicket.d.ts +1 -1
  166. package/lib/chevre/service/payment/movieTicket.js +4 -3
  167. package/lib/chevre/service/product.js +1 -5
  168. package/lib/chevre/service/report/telemetry.d.ts +0 -11
  169. package/lib/chevre/service/report/telemetry.js +21 -24
  170. package/lib/chevre/service/reserve/cancelReservation.d.ts +4 -2
  171. package/lib/chevre/service/reserve/cancelReservation.js +2 -4
  172. package/lib/chevre/service/reserve/checkInReservation.d.ts +0 -3
  173. package/lib/chevre/service/reserve/checkInReservation.js +24 -0
  174. package/lib/chevre/service/reserve/confirmReservation.d.ts +2 -0
  175. package/lib/chevre/service/reserve/confirmReservation.js +45 -9
  176. package/lib/chevre/service/reserve/potentialActions/onReservationCanceled.d.ts +0 -3
  177. package/lib/chevre/service/reserve/potentialActions/onReservationCanceled.js +20 -20
  178. package/lib/chevre/service/reserve/potentialActions/onReservationCheckedIn.js +2 -3
  179. package/lib/chevre/service/reserve/potentialActions/onReservationConfirmed.js +2 -31
  180. package/lib/chevre/service/reserve/potentialActions/onReservationUsed.js +2 -3
  181. package/lib/chevre/service/reserve/useReservation.d.ts +4 -3
  182. package/lib/chevre/service/reserve/useReservation.js +14 -71
  183. package/lib/chevre/service/reserve/verifyToken4reservation.d.ts +15 -0
  184. package/lib/chevre/service/reserve/verifyToken4reservation.js +56 -0
  185. package/lib/chevre/service/reserve.d.ts +2 -1
  186. package/lib/chevre/service/reserve.js +3 -1
  187. package/lib/chevre/service/task/confirmRegisterServiceTransaction.js +1 -1
  188. package/lib/chevre/service/task/deleteTransaction.js +10 -8
  189. package/lib/chevre/service/task/importOffersFromCOA.js +4 -0
  190. package/lib/chevre/service/task/onAuthorizationCreated.d.ts +7 -0
  191. package/lib/chevre/service/task/onAuthorizationCreated.js +101 -0
  192. package/lib/chevre/service/task/reserve.js +5 -6
  193. package/lib/chevre/service/task/returnPayTransaction.js +2 -12
  194. package/lib/chevre/service/task/useReservation.d.ts +7 -0
  195. package/lib/chevre/service/task/{deleteOrder.js → useReservation.js} +11 -12
  196. package/lib/chevre/service/task/voidReserveTransaction.js +3 -1
  197. package/lib/chevre/service/task.d.ts +9 -0
  198. package/lib/chevre/service/task.js +43 -4
  199. package/lib/chevre/service/transaction/deleteTransaction.d.ts +21 -0
  200. package/lib/chevre/service/transaction/deleteTransaction.js +232 -0
  201. package/lib/chevre/service/transaction/moneyTransfer/exportTasks/factory.js +11 -1
  202. package/lib/chevre/service/transaction/moneyTransfer/factory.js +3 -1
  203. package/lib/chevre/service/transaction/moneyTransfer/potentialActions.d.ts +1 -0
  204. package/lib/chevre/service/transaction/moneyTransfer/potentialActions.js +1 -1
  205. package/lib/chevre/service/transaction/moneyTransfer.js +9 -12
  206. package/lib/chevre/service/transaction/placeOrder/exportTasks/factory.js +42 -30
  207. package/lib/chevre/service/transaction/placeOrder.js +1 -5
  208. package/lib/chevre/service/transaction/placeOrderInProgress/factory.js +1 -1
  209. package/lib/chevre/service/transaction/placeOrderInProgress/potentialActions/moneyTransfer.d.ts +1 -0
  210. package/lib/chevre/service/transaction/placeOrderInProgress/potentialActions/moneyTransfer.js +1 -1
  211. package/lib/chevre/service/transaction/placeOrderInProgress/potentialActions/registerService.d.ts +1 -0
  212. package/lib/chevre/service/transaction/placeOrderInProgress/potentialActions/registerService.js +1 -1
  213. package/lib/chevre/service/transaction/placeOrderInProgress/potentialActions.d.ts +1 -0
  214. package/lib/chevre/service/transaction/placeOrderInProgress/result/acceptedOffers.d.ts +3 -0
  215. package/lib/chevre/service/transaction/placeOrderInProgress/result/acceptedOffers.js +7 -3
  216. package/lib/chevre/service/transaction/placeOrderInProgress/result.d.ts +1 -0
  217. package/lib/chevre/service/transaction/placeOrderInProgress/result.js +2 -2
  218. package/lib/chevre/service/transaction/placeOrderInProgress/validation/validateMovieTicket.d.ts +1 -1
  219. package/lib/chevre/service/transaction/placeOrderInProgress/validation/validateMovieTicket.js +2 -2
  220. package/lib/chevre/service/transaction/placeOrderInProgress/validation.d.ts +2 -1
  221. package/lib/chevre/service/transaction/placeOrderInProgress/validation.js +23 -17
  222. package/lib/chevre/service/transaction/placeOrderInProgress.d.ts +0 -3
  223. package/lib/chevre/service/transaction/placeOrderInProgress.js +22 -11
  224. package/lib/chevre/service/transaction/returnOrder/exportTasks/factory.js +10 -1
  225. package/lib/chevre/service/transaction/returnOrder/potentialActions/returnPaymentMethod.js +25 -17
  226. package/lib/chevre/service/transaction/returnOrder.d.ts +4 -0
  227. package/lib/chevre/service/transaction/returnOrder.js +225 -35
  228. package/lib/chevre/service/transaction.d.ts +8 -13
  229. package/lib/chevre/service/transaction.js +12 -145
  230. package/lib/chevre/settings.d.ts +4 -1
  231. package/lib/chevre/settings.js +15 -5
  232. package/package.json +5 -5
  233. package/example/src/chevre/migrateMoneyTransferPendingTransactionIdentifier.ts +0 -96
  234. package/example/src/chevre/migrateMovieAdditionalProperties.ts +0 -98
  235. package/lib/chevre/service/task/deleteAssetTransaction.d.ts +0 -12
  236. package/lib/chevre/service/task/deleteAssetTransaction.js +0 -65
  237. package/lib/chevre/service/task/deleteOrder.d.ts +0 -6
@@ -27,12 +27,13 @@ declare const modelName = "CategoryCode";
27
27
  /**
28
28
  * カテゴリーコードスキーマ
29
29
  */
30
- declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").ResolveSchemaOptions<{
30
+ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
31
31
  collection: string;
32
32
  id: true;
33
33
  read: string;
34
34
  writeConcern: import("mongodb").WriteConcern;
35
35
  strict: true;
36
+ strictQuery: false;
36
37
  useNestedStrict: boolean;
37
38
  timestamps: {
38
39
  createdAt: string;
@@ -50,7 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
50
51
  minimize: false;
51
52
  versionKey: false;
52
53
  };
53
- }>, {
54
+ }, {
54
55
  typeOf: string;
55
56
  codeValue: string;
56
57
  additionalProperty: any[];
@@ -60,5 +61,27 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
60
61
  paymentMethod?: any;
61
62
  color?: string | undefined;
62
63
  image?: string | undefined;
63
- }>;
64
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
65
+ typeOf: string;
66
+ codeValue: string;
67
+ additionalProperty: any[];
68
+ name?: any;
69
+ project?: any;
70
+ inCodeSet?: any;
71
+ paymentMethod?: any;
72
+ color?: string | undefined;
73
+ image?: string | undefined;
74
+ }>> & Omit<import("mongoose").FlatRecord<{
75
+ typeOf: string;
76
+ codeValue: string;
77
+ additionalProperty: any[];
78
+ name?: any;
79
+ project?: any;
80
+ inCodeSet?: any;
81
+ paymentMethod?: any;
82
+ color?: string | undefined;
83
+ image?: string | undefined;
84
+ }> & {
85
+ _id: import("mongoose").Types.ObjectId;
86
+ }, never>>;
64
87
  export { modelName, schema };
@@ -30,6 +30,7 @@ const schema = new mongoose_1.Schema({
30
30
  read: 'primaryPreferred',
31
31
  writeConcern: writeConcern_1.writeConcern,
32
32
  strict: true,
33
+ strictQuery: false,
33
34
  useNestedStrict: true,
34
35
  timestamps: {
35
36
  createdAt: 'createdAt',
@@ -27,12 +27,13 @@ declare const modelName = "Comment";
27
27
  /**
28
28
  * コメントスキーマ
29
29
  */
30
- declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").ResolveSchemaOptions<{
30
+ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
31
31
  collection: string;
32
32
  id: true;
33
33
  read: string;
34
34
  writeConcern: import("mongodb").WriteConcern;
35
35
  strict: true;
36
+ strictQuery: false;
36
37
  useNestedStrict: boolean;
37
38
  timestamps: {
38
39
  createdAt: string;
@@ -50,7 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
50
51
  minimize: false;
51
52
  versionKey: false;
52
53
  };
53
- }>, {
54
+ }, {
54
55
  text: string;
55
56
  typeOf: string;
56
57
  additionalProperty: any[];
@@ -61,5 +62,29 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
61
62
  author?: any;
62
63
  dateCreated?: Date | undefined;
63
64
  dateModified?: Date | undefined;
64
- }>;
65
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
66
+ text: string;
67
+ typeOf: string;
68
+ additionalProperty: any[];
69
+ commentCount: number;
70
+ mentions: any[];
71
+ project?: any;
72
+ about?: any;
73
+ author?: any;
74
+ dateCreated?: Date | undefined;
75
+ dateModified?: Date | undefined;
76
+ }>> & Omit<import("mongoose").FlatRecord<{
77
+ text: string;
78
+ typeOf: string;
79
+ additionalProperty: any[];
80
+ commentCount: number;
81
+ mentions: any[];
82
+ project?: any;
83
+ about?: any;
84
+ author?: any;
85
+ dateCreated?: Date | undefined;
86
+ dateModified?: Date | undefined;
87
+ }> & {
88
+ _id: import("mongoose").Types.ObjectId;
89
+ }, never>>;
65
90
  export { modelName, schema };
@@ -29,9 +29,10 @@ const schema = new mongoose_1.Schema({
29
29
  }, {
30
30
  collection: 'comments',
31
31
  id: true,
32
- read: 'primaryPreferred',
32
+ read: 'primary',
33
33
  writeConcern: writeConcern_1.writeConcern,
34
34
  strict: true,
35
+ strictQuery: false,
35
36
  useNestedStrict: true,
36
37
  timestamps: {
37
38
  createdAt: 'createdAt',
@@ -27,12 +27,13 @@ declare const modelName = "CreativeWork";
27
27
  /**
28
28
  * 作品スキーマ
29
29
  */
30
- declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").ResolveSchemaOptions<{
30
+ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
31
31
  collection: string;
32
32
  id: true;
33
33
  read: string;
34
34
  writeConcern: import("mongodb").WriteConcern;
35
35
  strict: true;
36
+ strictQuery: false;
36
37
  useNestedStrict: boolean;
37
38
  timestamps: {
38
39
  createdAt: string;
@@ -50,7 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
50
51
  minimize: false;
51
52
  versionKey: false;
52
53
  };
53
- }>, {
54
+ }, {
54
55
  typeOf: string;
55
56
  name?: any;
56
57
  project?: any;
@@ -69,5 +70,45 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
69
70
  thumbnailUrl?: string | undefined;
70
71
  contentRating?: string | undefined;
71
72
  offers?: any;
72
- }>;
73
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
74
+ typeOf: string;
75
+ name?: any;
76
+ project?: any;
77
+ alternateName?: string | undefined;
78
+ description?: string | undefined;
79
+ additionalProperty?: any;
80
+ identifier?: string | undefined;
81
+ duration?: string | undefined;
82
+ alternativeHeadline?: string | undefined;
83
+ copyrightHolder?: any;
84
+ copyrightYear?: number | undefined;
85
+ datePublished?: Date | undefined;
86
+ distributor?: any;
87
+ headline?: string | undefined;
88
+ license?: string | undefined;
89
+ thumbnailUrl?: string | undefined;
90
+ contentRating?: string | undefined;
91
+ offers?: any;
92
+ }>> & Omit<import("mongoose").FlatRecord<{
93
+ typeOf: string;
94
+ name?: any;
95
+ project?: any;
96
+ alternateName?: string | undefined;
97
+ description?: string | undefined;
98
+ additionalProperty?: any;
99
+ identifier?: string | undefined;
100
+ duration?: string | undefined;
101
+ alternativeHeadline?: string | undefined;
102
+ copyrightHolder?: any;
103
+ copyrightYear?: number | undefined;
104
+ datePublished?: Date | undefined;
105
+ distributor?: any;
106
+ headline?: string | undefined;
107
+ license?: string | undefined;
108
+ thumbnailUrl?: string | undefined;
109
+ contentRating?: string | undefined;
110
+ offers?: any;
111
+ }> & {
112
+ _id: import("mongoose").Types.ObjectId;
113
+ }, never>>;
73
114
  export { modelName, schema };
@@ -36,6 +36,7 @@ const schema = new mongoose_1.Schema({
36
36
  read: 'primaryPreferred',
37
37
  writeConcern: writeConcern_1.writeConcern,
38
38
  strict: true,
39
+ strictQuery: false,
39
40
  useNestedStrict: true,
40
41
  timestamps: {
41
42
  createdAt: 'createdAt',
@@ -27,12 +27,13 @@ declare const modelName = "Customer";
27
27
  /**
28
28
  * 顧客スキーマ
29
29
  */
30
- declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").ResolveSchemaOptions<{
30
+ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
31
31
  collection: string;
32
32
  id: true;
33
33
  read: string;
34
34
  writeConcern: import("mongodb").WriteConcern;
35
35
  strict: true;
36
+ strictQuery: false;
36
37
  useNestedStrict: boolean;
37
38
  timestamps: {
38
39
  createdAt: string;
@@ -50,7 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
50
51
  minimize: false;
51
52
  versionKey: false;
52
53
  };
53
- }>, {
54
+ }, {
54
55
  typeOf: string;
55
56
  additionalProperty: any[];
56
57
  contactPoint: any[];
@@ -60,5 +61,27 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
60
61
  email?: string | undefined;
61
62
  branchCode?: string | undefined;
62
63
  telephone?: string | undefined;
63
- }>;
64
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
65
+ typeOf: string;
66
+ additionalProperty: any[];
67
+ contactPoint: any[];
68
+ name?: any;
69
+ url?: string | undefined;
70
+ project?: any;
71
+ email?: string | undefined;
72
+ branchCode?: string | undefined;
73
+ telephone?: string | undefined;
74
+ }>> & Omit<import("mongoose").FlatRecord<{
75
+ typeOf: string;
76
+ additionalProperty: any[];
77
+ contactPoint: any[];
78
+ name?: any;
79
+ url?: string | undefined;
80
+ project?: any;
81
+ email?: string | undefined;
82
+ branchCode?: string | undefined;
83
+ telephone?: string | undefined;
84
+ }> & {
85
+ _id: import("mongoose").Types.ObjectId;
86
+ }, never>>;
64
87
  export { modelName, schema };
@@ -27,6 +27,7 @@ const schema = new mongoose_1.Schema({
27
27
  read: 'primaryPreferred',
28
28
  writeConcern: writeConcern_1.writeConcern,
29
29
  strict: true,
30
+ strictQuery: false,
30
31
  useNestedStrict: true,
31
32
  timestamps: {
32
33
  createdAt: 'createdAt',
@@ -27,12 +27,13 @@ declare const modelName = "EmailMessage";
27
27
  /**
28
28
  * Eメールメッセージスキーマ
29
29
  */
30
- declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").ResolveSchemaOptions<{
30
+ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
31
31
  collection: string;
32
32
  id: true;
33
33
  read: string;
34
34
  writeConcern: import("mongodb").WriteConcern;
35
35
  strict: true;
36
+ strictQuery: false;
36
37
  useNestedStrict: boolean;
37
38
  timestamps: {
38
39
  createdAt: string;
@@ -50,7 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
50
51
  minimize: false;
51
52
  versionKey: false;
52
53
  };
53
- }>, {
54
+ }, {
54
55
  typeOf: string;
55
56
  text?: string | undefined;
56
57
  name?: any;
@@ -58,5 +59,23 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
58
59
  identifier?: string | undefined;
59
60
  about?: any;
60
61
  sender?: any;
61
- }>;
62
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
63
+ typeOf: string;
64
+ text?: string | undefined;
65
+ name?: any;
66
+ project?: any;
67
+ identifier?: string | undefined;
68
+ about?: any;
69
+ sender?: any;
70
+ }>> & Omit<import("mongoose").FlatRecord<{
71
+ typeOf: string;
72
+ text?: string | undefined;
73
+ name?: any;
74
+ project?: any;
75
+ identifier?: string | undefined;
76
+ about?: any;
77
+ sender?: any;
78
+ }> & {
79
+ _id: import("mongoose").Types.ObjectId;
80
+ }, never>>;
62
81
  export { modelName, schema };
@@ -25,6 +25,7 @@ const schema = new mongoose_1.Schema({
25
25
  read: 'primaryPreferred',
26
26
  writeConcern: writeConcern_1.writeConcern,
27
27
  strict: true,
28
+ strictQuery: false,
28
29
  useNestedStrict: true,
29
30
  timestamps: {
30
31
  createdAt: 'createdAt',
@@ -27,12 +27,13 @@ declare const modelName = "Event";
27
27
  /**
28
28
  * イベント(公演など)スキーマ
29
29
  */
30
- declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").ResolveSchemaOptions<{
30
+ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
31
31
  collection: string;
32
32
  id: true;
33
33
  read: string;
34
34
  writeConcern: import("mongodb").WriteConcern;
35
35
  strict: true;
36
+ strictQuery: false;
36
37
  useNestedStrict: boolean;
37
38
  timestamps: {
38
39
  createdAt: string;
@@ -50,7 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
50
51
  minimize: false;
51
52
  versionKey: false;
52
53
  };
53
- }>, {
54
+ }, {
54
55
  typeOf: string;
55
56
  checkInCount: number;
56
57
  attendeeCount: number;
@@ -83,5 +84,73 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
83
84
  subtitleLanguage?: any;
84
85
  dubLanguage?: any;
85
86
  kanaName?: string | undefined;
86
- }>;
87
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
88
+ typeOf: string;
89
+ checkInCount: number;
90
+ attendeeCount: number;
91
+ _id?: string | undefined;
92
+ name?: any;
93
+ project?: any;
94
+ alternateName?: any;
95
+ description?: any;
96
+ additionalProperty?: any;
97
+ identifier?: string | undefined;
98
+ startDate?: Date | undefined;
99
+ endDate?: Date | undefined;
100
+ location?: any;
101
+ duration?: string | undefined;
102
+ alternativeHeadline?: any;
103
+ headline?: any;
104
+ offers?: any;
105
+ doorTime?: Date | undefined;
106
+ eventStatus?: string | undefined;
107
+ superEvent?: any;
108
+ coaInfo?: any;
109
+ workPerformed?: any;
110
+ aggregateEntranceGate?: any;
111
+ aggregateReservation?: any;
112
+ aggregateOffer?: any;
113
+ maximumAttendeeCapacity?: number | undefined;
114
+ remainingAttendeeCapacity?: number | undefined;
115
+ videoFormat?: any;
116
+ soundFormat?: any;
117
+ subtitleLanguage?: any;
118
+ dubLanguage?: any;
119
+ kanaName?: string | undefined;
120
+ }>> & Omit<import("mongoose").FlatRecord<{
121
+ typeOf: string;
122
+ checkInCount: number;
123
+ attendeeCount: number;
124
+ _id?: string | undefined;
125
+ name?: any;
126
+ project?: any;
127
+ alternateName?: any;
128
+ description?: any;
129
+ additionalProperty?: any;
130
+ identifier?: string | undefined;
131
+ startDate?: Date | undefined;
132
+ endDate?: Date | undefined;
133
+ location?: any;
134
+ duration?: string | undefined;
135
+ alternativeHeadline?: any;
136
+ headline?: any;
137
+ offers?: any;
138
+ doorTime?: Date | undefined;
139
+ eventStatus?: string | undefined;
140
+ superEvent?: any;
141
+ coaInfo?: any;
142
+ workPerformed?: any;
143
+ aggregateEntranceGate?: any;
144
+ aggregateReservation?: any;
145
+ aggregateOffer?: any;
146
+ maximumAttendeeCapacity?: number | undefined;
147
+ remainingAttendeeCapacity?: number | undefined;
148
+ videoFormat?: any;
149
+ soundFormat?: any;
150
+ subtitleLanguage?: any;
151
+ dubLanguage?: any;
152
+ kanaName?: string | undefined;
153
+ }> & Required<{
154
+ _id: string;
155
+ }>, never>>;
87
156
  export { modelName, schema };
@@ -53,6 +53,7 @@ const schema = new mongoose_1.Schema({
53
53
  read: 'primaryPreferred',
54
54
  writeConcern: writeConcern_1.writeConcern,
55
55
  strict: true,
56
+ strictQuery: false,
56
57
  useNestedStrict: true,
57
58
  timestamps: {
58
59
  createdAt: 'createdAt',
@@ -27,12 +27,13 @@ declare const modelName = "Member";
27
27
  /**
28
28
  * プロジェクトメンバースキーマ
29
29
  */
30
- declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").ResolveSchemaOptions<{
30
+ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
31
31
  collection: string;
32
32
  id: true;
33
33
  read: string;
34
34
  writeConcern: import("mongodb").WriteConcern;
35
35
  strict: true;
36
+ strictQuery: false;
36
37
  useNestedStrict: boolean;
37
38
  timestamps: {
38
39
  createdAt: string;
@@ -50,9 +51,19 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
50
51
  minimize: false;
51
52
  versionKey: false;
52
53
  };
53
- }>, {
54
+ }, {
54
55
  typeOf: string;
55
56
  project?: any;
56
57
  member?: any;
57
- }>;
58
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
59
+ typeOf: string;
60
+ project?: any;
61
+ member?: any;
62
+ }>> & Omit<import("mongoose").FlatRecord<{
63
+ typeOf: string;
64
+ project?: any;
65
+ member?: any;
66
+ }> & {
67
+ _id: import("mongoose").Types.ObjectId;
68
+ }, never>>;
58
69
  export { modelName, schema };
@@ -21,6 +21,7 @@ const schema = new mongoose_1.Schema({
21
21
  read: 'primaryPreferred',
22
22
  writeConcern: writeConcern_1.writeConcern,
23
23
  strict: true,
24
+ strictQuery: false,
24
25
  useNestedStrict: true,
25
26
  timestamps: {
26
27
  createdAt: 'createdAt',
@@ -27,12 +27,13 @@ declare const modelName = "MerchantReturnPolicy";
27
27
  /**
28
28
  * 返品ポリシースキーマ
29
29
  */
30
- declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").ResolveSchemaOptions<{
30
+ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
31
31
  collection: string;
32
32
  id: true;
33
33
  read: string;
34
34
  writeConcern: import("mongodb").WriteConcern;
35
35
  strict: true;
36
+ strictQuery: false;
36
37
  useNestedStrict: boolean;
37
38
  timestamps: {
38
39
  createdAt: string;
@@ -50,7 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
50
51
  minimize: false;
51
52
  versionKey: false;
52
53
  };
53
- }>, {
54
+ }, {
54
55
  typeOf: string;
55
56
  name?: any;
56
57
  project?: any;
@@ -58,5 +59,23 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
58
59
  identifier?: string | undefined;
59
60
  customerRemorseReturnFees?: string | undefined;
60
61
  customerRemorseReturnFeesMovieTicket?: string | undefined;
61
- }>;
62
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
63
+ typeOf: string;
64
+ name?: any;
65
+ project?: any;
66
+ additionalProperty?: any;
67
+ identifier?: string | undefined;
68
+ customerRemorseReturnFees?: string | undefined;
69
+ customerRemorseReturnFeesMovieTicket?: string | undefined;
70
+ }>> & Omit<import("mongoose").FlatRecord<{
71
+ typeOf: string;
72
+ name?: any;
73
+ project?: any;
74
+ additionalProperty?: any;
75
+ identifier?: string | undefined;
76
+ customerRemorseReturnFees?: string | undefined;
77
+ customerRemorseReturnFeesMovieTicket?: string | undefined;
78
+ }> & {
79
+ _id: import("mongoose").Types.ObjectId;
80
+ }, never>>;
62
81
  export { modelName, schema };
@@ -25,6 +25,7 @@ const schema = new mongoose_1.Schema({
25
25
  read: 'primaryPreferred',
26
26
  writeConcern: writeConcern_1.writeConcern,
27
27
  strict: true,
28
+ strictQuery: false,
28
29
  useNestedStrict: true,
29
30
  timestamps: {
30
31
  createdAt: 'createdAt',
@@ -27,12 +27,13 @@ declare const modelName = "Offer";
27
27
  /**
28
28
  * オファースキーマ
29
29
  */
30
- declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").ResolveSchemaOptions<{
30
+ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
31
31
  collection: string;
32
32
  id: true;
33
33
  read: string;
34
34
  writeConcern: import("mongodb").WriteConcern;
35
35
  strict: true;
36
+ strictQuery: false;
36
37
  timestamps: {
37
38
  createdAt: string;
38
39
  updatedAt: string;
@@ -49,7 +50,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
49
50
  minimize: false;
50
51
  versionKey: false;
51
52
  };
52
- }>, {
53
+ }, {
53
54
  additionalProperty: any[];
54
55
  addOn: any[];
55
56
  availableAtOrFrom: any[];
@@ -79,5 +80,67 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
79
80
  settings?: any;
80
81
  validThrough?: Date | undefined;
81
82
  validRateLimit?: any;
82
- }>;
83
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
84
+ additionalProperty: any[];
85
+ addOn: any[];
86
+ availableAtOrFrom: any[];
87
+ _id?: string | undefined;
88
+ name?: any;
89
+ typeOf?: string | undefined;
90
+ project?: any;
91
+ alternateName?: any;
92
+ description?: any;
93
+ identifier?: string | undefined;
94
+ itemOffered?: any;
95
+ eligibleQuantity?: any;
96
+ priceCurrency?: string | undefined;
97
+ color?: any;
98
+ validFrom?: Date | undefined;
99
+ category?: any;
100
+ availability?: string | undefined;
101
+ hasMerchantReturnPolicy?: any;
102
+ priceSpecification?: any;
103
+ eligibleCustomerType?: any;
104
+ eligibleDuration?: any;
105
+ eligibleMembershipType?: any;
106
+ eligibleMonetaryAmount?: any;
107
+ eligibleRegion?: any;
108
+ eligibleSeatingType?: any;
109
+ eligibleSubReservation?: any;
110
+ settings?: any;
111
+ validThrough?: Date | undefined;
112
+ validRateLimit?: any;
113
+ }>> & Omit<import("mongoose").FlatRecord<{
114
+ additionalProperty: any[];
115
+ addOn: any[];
116
+ availableAtOrFrom: any[];
117
+ _id?: string | undefined;
118
+ name?: any;
119
+ typeOf?: string | undefined;
120
+ project?: any;
121
+ alternateName?: any;
122
+ description?: any;
123
+ identifier?: string | undefined;
124
+ itemOffered?: any;
125
+ eligibleQuantity?: any;
126
+ priceCurrency?: string | undefined;
127
+ color?: any;
128
+ validFrom?: Date | undefined;
129
+ category?: any;
130
+ availability?: string | undefined;
131
+ hasMerchantReturnPolicy?: any;
132
+ priceSpecification?: any;
133
+ eligibleCustomerType?: any;
134
+ eligibleDuration?: any;
135
+ eligibleMembershipType?: any;
136
+ eligibleMonetaryAmount?: any;
137
+ eligibleRegion?: any;
138
+ eligibleSeatingType?: any;
139
+ eligibleSubReservation?: any;
140
+ settings?: any;
141
+ validThrough?: Date | undefined;
142
+ validRateLimit?: any;
143
+ }> & Required<{
144
+ _id: string;
145
+ }>, never>>;
83
146
  export { modelName, schema };
@@ -51,6 +51,7 @@ const schema = new mongoose_1.Schema({
51
51
  writeConcern: writeConcern_1.writeConcern,
52
52
  // trueに変更(2022-08-08~)
53
53
  strict: true,
54
+ strictQuery: false,
54
55
  timestamps: {
55
56
  createdAt: 'createdAt',
56
57
  updatedAt: 'updatedAt'