@chevre/domain 21.2.0-alpha.2 → 21.2.0-alpha.21

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 (187) hide show
  1. package/example/src/chevre/aggregateEventReservation.ts +1 -1
  2. package/example/src/chevre/countDelayedTasks.ts +17 -0
  3. package/example/src/chevre/countDelayedTransactions.ts +60 -0
  4. package/example/src/chevre/countMoneyTransferTransaction.ts +36 -0
  5. package/example/src/chevre/createManyEventsIfNotExist.ts +4 -1
  6. package/example/src/chevre/lockStockHolder.ts +48 -0
  7. package/example/src/chevre/migrateOrderAdditionalProperties.ts +85 -0
  8. package/example/src/chevre/migrateStockHolderKeys.ts +89 -0
  9. package/example/src/chevre/processReserve.ts +2 -2
  10. package/example/src/chevre/searchEventSeats.ts +42 -0
  11. package/example/src/chevre/transaction/findCreditCard.ts +1 -1
  12. package/example/src/chevre/transaction/makeExpired.ts +18 -0
  13. package/example/src/chevre/transaction/orderMembershipService.ts +1 -1
  14. package/example/src/chevre/transaction/startExportTasks.ts +19 -0
  15. package/example/src/chevre/updateTransaction.ts +1 -1
  16. package/lib/chevre/eventEmitter/task.d.ts +18 -0
  17. package/lib/chevre/eventEmitter/task.js +28 -0
  18. package/lib/chevre/eventEmitter/transaction.d.ts +21 -0
  19. package/lib/chevre/eventEmitter/transaction.js +28 -0
  20. package/lib/chevre/eventEmitter.d.ts +3 -0
  21. package/lib/chevre/eventEmitter.js +7 -0
  22. package/lib/chevre/index.d.ts +3 -2
  23. package/lib/chevre/index.js +5 -3
  24. package/lib/chevre/repo/account.js +0 -4
  25. package/lib/chevre/repo/accountTitle.js +0 -4
  26. package/lib/chevre/repo/accountTransaction.d.ts +0 -10
  27. package/lib/chevre/repo/accountTransaction.js +0 -57
  28. package/lib/chevre/repo/accountingReport.js +0 -4
  29. package/lib/chevre/repo/action.js +0 -4
  30. package/lib/chevre/repo/additionalProperty.js +0 -4
  31. package/lib/chevre/repo/aggregation.js +0 -4
  32. package/lib/chevre/repo/assetTransaction.d.ts +4 -6
  33. package/lib/chevre/repo/assetTransaction.js +69 -45
  34. package/lib/chevre/repo/categoryCode.js +0 -4
  35. package/lib/chevre/repo/code.js +0 -4
  36. package/lib/chevre/repo/comment.js +0 -4
  37. package/lib/chevre/repo/confirmationNumber.js +1 -1
  38. package/lib/chevre/repo/creativeWork.d.ts +1 -3
  39. package/lib/chevre/repo/creativeWork.js +0 -4
  40. package/lib/chevre/repo/customer.js +0 -4
  41. package/lib/chevre/repo/emailMessage.d.ts +1 -27
  42. package/lib/chevre/repo/emailMessage.js +0 -4
  43. package/lib/chevre/repo/event.d.ts +5 -1
  44. package/lib/chevre/repo/event.js +0 -4
  45. package/lib/chevre/repo/member.js +0 -4
  46. package/lib/chevre/repo/merchantReturnPolicy.d.ts +1 -3
  47. package/lib/chevre/repo/merchantReturnPolicy.js +0 -4
  48. package/lib/chevre/repo/mongoose/schemas/account.d.ts +5 -2
  49. package/lib/chevre/repo/mongoose/schemas/account.js +1 -0
  50. package/lib/chevre/repo/mongoose/schemas/accountTitle.d.ts +30 -3
  51. package/lib/chevre/repo/mongoose/schemas/accountTitle.js +1 -0
  52. package/lib/chevre/repo/mongoose/schemas/accountTransaction.d.ts +32 -3
  53. package/lib/chevre/repo/mongoose/schemas/accountTransaction.js +2 -1
  54. package/lib/chevre/repo/mongoose/schemas/accountingReport.d.ts +14 -3
  55. package/lib/chevre/repo/mongoose/schemas/accountingReport.js +1 -0
  56. package/lib/chevre/repo/mongoose/schemas/action.d.ts +44 -3
  57. package/lib/chevre/repo/mongoose/schemas/action.js +2 -1
  58. package/lib/chevre/repo/mongoose/schemas/additionalProperty.d.ts +18 -3
  59. package/lib/chevre/repo/mongoose/schemas/additionalProperty.js +1 -0
  60. package/lib/chevre/repo/mongoose/schemas/aggregation.d.ts +5 -2
  61. package/lib/chevre/repo/mongoose/schemas/aggregation.js +1 -0
  62. package/lib/chevre/repo/mongoose/schemas/assetTransaction.d.ts +42 -3
  63. package/lib/chevre/repo/mongoose/schemas/assetTransaction.js +2 -1
  64. package/lib/chevre/repo/mongoose/schemas/authorization.d.ts +20 -3
  65. package/lib/chevre/repo/mongoose/schemas/authorization.js +2 -1
  66. package/lib/chevre/repo/mongoose/schemas/categoryCode.d.ts +26 -3
  67. package/lib/chevre/repo/mongoose/schemas/categoryCode.js +1 -0
  68. package/lib/chevre/repo/mongoose/schemas/comments.d.ts +28 -3
  69. package/lib/chevre/repo/mongoose/schemas/comments.js +2 -1
  70. package/lib/chevre/repo/mongoose/schemas/creativeWork.d.ts +44 -3
  71. package/lib/chevre/repo/mongoose/schemas/creativeWork.js +1 -0
  72. package/lib/chevre/repo/mongoose/schemas/customer.d.ts +26 -3
  73. package/lib/chevre/repo/mongoose/schemas/customer.js +1 -0
  74. package/lib/chevre/repo/mongoose/schemas/emailMessages.d.ts +22 -3
  75. package/lib/chevre/repo/mongoose/schemas/emailMessages.js +1 -0
  76. package/lib/chevre/repo/mongoose/schemas/event.d.ts +72 -3
  77. package/lib/chevre/repo/mongoose/schemas/event.js +1 -0
  78. package/lib/chevre/repo/mongoose/schemas/member.d.ts +14 -3
  79. package/lib/chevre/repo/mongoose/schemas/member.js +1 -0
  80. package/lib/chevre/repo/mongoose/schemas/merchantReturnPolicy.d.ts +22 -3
  81. package/lib/chevre/repo/mongoose/schemas/merchantReturnPolicy.js +1 -0
  82. package/lib/chevre/repo/mongoose/schemas/offer.d.ts +66 -3
  83. package/lib/chevre/repo/mongoose/schemas/offer.js +1 -0
  84. package/lib/chevre/repo/mongoose/schemas/offerCatalog.d.ts +28 -3
  85. package/lib/chevre/repo/mongoose/schemas/offerCatalog.js +1 -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 +62 -3
  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 +1 -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 +38 -3
  111. package/lib/chevre/repo/mongoose/schemas/transaction.js +2 -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/offer.js +0 -5
  115. package/lib/chevre/repo/offerCatalog.js +0 -4
  116. package/lib/chevre/repo/order.d.ts +25 -0
  117. package/lib/chevre/repo/order.js +5 -4
  118. package/lib/chevre/repo/orderNumber.d.ts +0 -1
  119. package/lib/chevre/repo/orderNumber.js +2 -12
  120. package/lib/chevre/repo/ownershipInfo.js +0 -4
  121. package/lib/chevre/repo/permit.js +0 -4
  122. package/lib/chevre/repo/place.d.ts +5 -1
  123. package/lib/chevre/repo/place.js +1 -10
  124. package/lib/chevre/repo/priceSpecification.js +0 -4
  125. package/lib/chevre/repo/product.js +0 -4
  126. package/lib/chevre/repo/project.js +0 -4
  127. package/lib/chevre/repo/rateLimit/offer.d.ts +3 -2
  128. package/lib/chevre/repo/rateLimit/offer.js +14 -14
  129. package/lib/chevre/repo/reservation.js +0 -4
  130. package/lib/chevre/repo/role.js +0 -4
  131. package/lib/chevre/repo/seller.js +0 -4
  132. package/lib/chevre/repo/serviceOutput.js +0 -4
  133. package/lib/chevre/repo/serviceOutputIdentifier.d.ts +2 -1
  134. package/lib/chevre/repo/serviceOutputIdentifier.js +14 -15
  135. package/lib/chevre/repo/{itemAvailability/screeningEvent.d.ts → stockHolder.d.ts} +5 -6
  136. package/lib/chevre/repo/stockHolder.js +273 -0
  137. package/lib/chevre/repo/task.d.ts +17 -2
  138. package/lib/chevre/repo/task.js +61 -10
  139. package/lib/chevre/repo/telemetry.js +0 -4
  140. package/lib/chevre/repo/transaction.d.ts +3 -2
  141. package/lib/chevre/repo/transaction.js +116 -54
  142. package/lib/chevre/repo/transactionNumber.d.ts +2 -1
  143. package/lib/chevre/repo/transactionNumber.js +14 -15
  144. package/lib/chevre/repo/trip.js +0 -4
  145. package/lib/chevre/repository.d.ts +3 -5
  146. package/lib/chevre/repository.js +5 -8
  147. package/lib/chevre/service/aggregation/event/aggregateScreeningEvent.d.ts +2 -2
  148. package/lib/chevre/service/aggregation/event/aggregateScreeningEvent.js +4 -3
  149. package/lib/chevre/service/assetTransaction/cancelReservation.js +1 -5
  150. package/lib/chevre/service/assetTransaction/moneyTransfer.js +1 -1
  151. package/lib/chevre/service/assetTransaction/pay.js +2 -2
  152. package/lib/chevre/service/assetTransaction/refund.js +1 -1
  153. package/lib/chevre/service/assetTransaction/registerService.js +1 -2
  154. package/lib/chevre/service/assetTransaction/reserve.d.ts +4 -4
  155. package/lib/chevre/service/assetTransaction/reserve.js +8 -5
  156. package/lib/chevre/service/assetTransaction.d.ts +0 -2
  157. package/lib/chevre/service/assetTransaction.js +0 -1
  158. package/lib/chevre/service/offer/event/authorize.d.ts +2 -2
  159. package/lib/chevre/service/offer/event/cancel.d.ts +2 -2
  160. package/lib/chevre/service/offer/event/voidTransaction.d.ts +2 -2
  161. package/lib/chevre/service/offer.d.ts +2 -2
  162. package/lib/chevre/service/offer.js +5 -2
  163. package/lib/chevre/service/order/onOrderStatusChanged.js +1 -1
  164. package/lib/chevre/service/order/placeOrder.js +1 -1
  165. package/lib/chevre/service/order/returnOrder.js +1 -5
  166. package/lib/chevre/service/order/sendOrder.js +1 -1
  167. package/lib/chevre/service/payment/any.js +1 -1
  168. package/lib/chevre/service/reserve/cancelReservation.d.ts +3 -3
  169. package/lib/chevre/service/reserve/cancelReservation.js +6 -6
  170. package/lib/chevre/service/task/aggregateScreeningEvent.js +2 -2
  171. package/lib/chevre/service/task/cancelPendingReservation.js +3 -3
  172. package/lib/chevre/service/task/cancelReservation.js +3 -3
  173. package/lib/chevre/service/task/voidReserveTransaction.js +3 -3
  174. package/lib/chevre/service/task.d.ts +9 -0
  175. package/lib/chevre/service/task.js +22 -1
  176. package/lib/chevre/service/transaction/moneyTransfer.js +1 -3
  177. package/lib/chevre/service/transaction/placeOrder.js +1 -5
  178. package/lib/chevre/service/transaction/placeOrderInProgress.js +2 -2
  179. package/lib/chevre/service/transaction/returnOrder.js +1 -5
  180. package/lib/chevre/service/transaction.d.ts +1 -0
  181. package/lib/chevre/service/transaction.js +1 -7
  182. package/lib/chevre/settings.d.ts +2 -1
  183. package/lib/chevre/settings.js +5 -4
  184. package/package.json +4 -4
  185. package/example/src/chevre/migrateMoneyTransferPendingTransactionIdentifier.ts +0 -96
  186. package/example/src/chevre/migrateMovieAdditionalProperties.ts +0 -98
  187. package/lib/chevre/repo/itemAvailability/screeningEvent.js +0 -193
@@ -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,9 +51,31 @@ 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
+ }, {
55
+ typeOf: string;
56
+ text: string;
57
+ additionalProperty: any[];
58
+ commentCount: number;
59
+ mentions: any[];
60
+ project?: any;
61
+ about?: any;
62
+ author?: any;
63
+ dateCreated?: Date | undefined;
64
+ dateModified?: Date | undefined;
65
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
66
+ typeOf: string;
54
67
  text: 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<{
55
77
  typeOf: string;
78
+ text: string;
56
79
  additionalProperty: any[];
57
80
  commentCount: number;
58
81
  mentions: any[];
@@ -61,5 +84,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
61
84
  author?: any;
62
85
  dateCreated?: Date | undefined;
63
86
  dateModified?: Date | undefined;
64
- }>;
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,13 +51,31 @@ 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;
56
+ name?: any;
57
+ text?: string | undefined;
58
+ project?: any;
59
+ identifier?: string | undefined;
60
+ about?: any;
61
+ sender?: any;
62
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
63
+ typeOf: string;
64
+ name?: any;
55
65
  text?: string | undefined;
66
+ project?: any;
67
+ identifier?: string | undefined;
68
+ about?: any;
69
+ sender?: any;
70
+ }>> & Omit<import("mongoose").FlatRecord<{
71
+ typeOf: string;
56
72
  name?: any;
73
+ text?: string | undefined;
57
74
  project?: any;
58
75
  identifier?: string | undefined;
59
76
  about?: any;
60
77
  sender?: any;
61
- }>;
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,12 +51,78 @@ 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;
58
+ name?: any;
59
+ _id?: string | undefined;
60
+ project?: any;
61
+ alternateName?: any;
62
+ description?: any;
63
+ additionalProperty?: any;
64
+ identifier?: string | undefined;
65
+ startDate?: Date | undefined;
66
+ endDate?: Date | undefined;
67
+ location?: any;
68
+ duration?: string | undefined;
69
+ alternativeHeadline?: any;
70
+ headline?: any;
71
+ offers?: any;
72
+ doorTime?: Date | undefined;
73
+ eventStatus?: string | undefined;
74
+ superEvent?: any;
75
+ coaInfo?: any;
76
+ workPerformed?: any;
77
+ aggregateEntranceGate?: any;
78
+ aggregateReservation?: any;
79
+ aggregateOffer?: any;
80
+ maximumAttendeeCapacity?: number | undefined;
81
+ remainingAttendeeCapacity?: number | undefined;
82
+ videoFormat?: any;
83
+ soundFormat?: any;
84
+ subtitleLanguage?: any;
85
+ dubLanguage?: any;
86
+ kanaName?: string | undefined;
87
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
88
+ typeOf: string;
89
+ checkInCount: number;
90
+ attendeeCount: number;
91
+ name?: any;
57
92
  _id?: string | undefined;
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;
58
124
  name?: any;
125
+ _id?: string | undefined;
59
126
  project?: any;
60
127
  alternateName?: any;
61
128
  description?: any;
@@ -83,5 +150,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
83
150
  subtitleLanguage?: any;
84
151
  dubLanguage?: any;
85
152
  kanaName?: string | undefined;
86
- }>;
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,13 +50,73 @@ 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[];
57
+ typeOf?: string | undefined;
58
+ name?: any;
56
59
  _id?: string | undefined;
60
+ project?: any;
61
+ alternateName?: any;
62
+ description?: any;
63
+ identifier?: string | undefined;
64
+ itemOffered?: any;
65
+ eligibleQuantity?: any;
66
+ priceCurrency?: string | undefined;
67
+ color?: any;
68
+ validFrom?: Date | undefined;
69
+ category?: any;
70
+ availability?: string | undefined;
71
+ hasMerchantReturnPolicy?: any;
72
+ priceSpecification?: any;
73
+ eligibleCustomerType?: any;
74
+ eligibleDuration?: any;
75
+ eligibleMembershipType?: any;
76
+ eligibleMonetaryAmount?: any;
77
+ eligibleRegion?: any;
78
+ eligibleSeatingType?: any;
79
+ eligibleSubReservation?: any;
80
+ settings?: any;
81
+ validThrough?: Date | undefined;
82
+ validRateLimit?: any;
83
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
84
+ additionalProperty: any[];
85
+ addOn: any[];
86
+ availableAtOrFrom: any[];
87
+ typeOf?: string | undefined;
57
88
  name?: any;
89
+ _id?: 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[];
58
117
  typeOf?: string | undefined;
118
+ name?: any;
119
+ _id?: string | undefined;
59
120
  project?: any;
60
121
  alternateName?: any;
61
122
  description?: any;
@@ -79,5 +140,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
79
140
  settings?: any;
80
141
  validThrough?: Date | undefined;
81
142
  validRateLimit?: any;
82
- }>;
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'
@@ -27,12 +27,13 @@ declare const modelName = "OfferCatalog";
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,16 +50,40 @@ 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
  typeOf: string;
54
55
  additionalProperty: any[];
55
56
  identifier: string;
56
57
  itemListElement: any[];
58
+ name?: any;
59
+ _id?: string | undefined;
60
+ project?: any;
61
+ alternateName?: any;
62
+ description?: any;
63
+ itemOffered?: any;
64
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
65
+ typeOf: string;
66
+ additionalProperty: any[];
67
+ identifier: string;
68
+ itemListElement: any[];
69
+ name?: any;
57
70
  _id?: string | undefined;
71
+ project?: any;
72
+ alternateName?: any;
73
+ description?: any;
74
+ itemOffered?: any;
75
+ }>> & Omit<import("mongoose").FlatRecord<{
76
+ typeOf: string;
77
+ additionalProperty: any[];
78
+ identifier: string;
79
+ itemListElement: any[];
58
80
  name?: any;
81
+ _id?: string | undefined;
59
82
  project?: any;
60
83
  alternateName?: any;
61
84
  description?: any;
62
85
  itemOffered?: any;
63
- }>;
86
+ }> & Required<{
87
+ _id: string;
88
+ }>, never>>;
64
89
  export { modelName, schema };
@@ -31,6 +31,7 @@ const schema = new mongoose_1.Schema({
31
31
  read: 'primaryPreferred',
32
32
  writeConcern: writeConcern_1.writeConcern,
33
33
  strict: true,
34
+ strictQuery: false,
34
35
  timestamps: {
35
36
  createdAt: 'createdAt',
36
37
  updatedAt: 'updatedAt'