@chevre/domain 21.2.0-alpha.1 → 21.2.0-alpha.10

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 (142) 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/lockStockHolder.ts +48 -0
  6. package/example/src/chevre/migrateStockHolderKeys.ts +89 -0
  7. package/example/src/chevre/processReserve.ts +2 -2
  8. package/example/src/chevre/searchEventSeats.ts +42 -0
  9. package/lib/chevre/repo/account.js +0 -4
  10. package/lib/chevre/repo/accountTitle.js +0 -4
  11. package/lib/chevre/repo/accountTransaction.js +0 -4
  12. package/lib/chevre/repo/accountingReport.js +0 -4
  13. package/lib/chevre/repo/action.js +0 -4
  14. package/lib/chevre/repo/additionalProperty.js +0 -4
  15. package/lib/chevre/repo/aggregation.js +0 -4
  16. package/lib/chevre/repo/assetTransaction.js +5 -4
  17. package/lib/chevre/repo/categoryCode.js +0 -4
  18. package/lib/chevre/repo/code.js +0 -4
  19. package/lib/chevre/repo/comment.js +0 -4
  20. package/lib/chevre/repo/confirmationNumber.js +1 -1
  21. package/lib/chevre/repo/creativeWork.js +0 -4
  22. package/lib/chevre/repo/customer.js +0 -4
  23. package/lib/chevre/repo/emailMessage.js +0 -4
  24. package/lib/chevre/repo/event.js +0 -4
  25. package/lib/chevre/repo/member.js +0 -4
  26. package/lib/chevre/repo/merchantReturnPolicy.js +0 -4
  27. package/lib/chevre/repo/mongoose/schemas/account.d.ts +1 -0
  28. package/lib/chevre/repo/mongoose/schemas/account.js +1 -0
  29. package/lib/chevre/repo/mongoose/schemas/accountTitle.d.ts +1 -0
  30. package/lib/chevre/repo/mongoose/schemas/accountTitle.js +1 -0
  31. package/lib/chevre/repo/mongoose/schemas/accountTransaction.d.ts +1 -0
  32. package/lib/chevre/repo/mongoose/schemas/accountTransaction.js +1 -0
  33. package/lib/chevre/repo/mongoose/schemas/accountingReport.d.ts +1 -0
  34. package/lib/chevre/repo/mongoose/schemas/accountingReport.js +1 -0
  35. package/lib/chevre/repo/mongoose/schemas/action.d.ts +1 -0
  36. package/lib/chevre/repo/mongoose/schemas/action.js +1 -0
  37. package/lib/chevre/repo/mongoose/schemas/additionalProperty.d.ts +1 -0
  38. package/lib/chevre/repo/mongoose/schemas/additionalProperty.js +1 -0
  39. package/lib/chevre/repo/mongoose/schemas/aggregation.d.ts +1 -0
  40. package/lib/chevre/repo/mongoose/schemas/aggregation.js +1 -0
  41. package/lib/chevre/repo/mongoose/schemas/assetTransaction.d.ts +1 -0
  42. package/lib/chevre/repo/mongoose/schemas/assetTransaction.js +1 -0
  43. package/lib/chevre/repo/mongoose/schemas/authorization.d.ts +1 -0
  44. package/lib/chevre/repo/mongoose/schemas/authorization.js +1 -0
  45. package/lib/chevre/repo/mongoose/schemas/categoryCode.d.ts +1 -0
  46. package/lib/chevre/repo/mongoose/schemas/categoryCode.js +1 -0
  47. package/lib/chevre/repo/mongoose/schemas/comments.d.ts +1 -0
  48. package/lib/chevre/repo/mongoose/schemas/comments.js +1 -0
  49. package/lib/chevre/repo/mongoose/schemas/creativeWork.d.ts +1 -0
  50. package/lib/chevre/repo/mongoose/schemas/creativeWork.js +1 -0
  51. package/lib/chevre/repo/mongoose/schemas/customer.d.ts +1 -0
  52. package/lib/chevre/repo/mongoose/schemas/customer.js +1 -0
  53. package/lib/chevre/repo/mongoose/schemas/emailMessages.d.ts +1 -0
  54. package/lib/chevre/repo/mongoose/schemas/emailMessages.js +1 -0
  55. package/lib/chevre/repo/mongoose/schemas/event.d.ts +1 -0
  56. package/lib/chevre/repo/mongoose/schemas/event.js +1 -0
  57. package/lib/chevre/repo/mongoose/schemas/member.d.ts +1 -0
  58. package/lib/chevre/repo/mongoose/schemas/member.js +1 -0
  59. package/lib/chevre/repo/mongoose/schemas/merchantReturnPolicy.d.ts +1 -0
  60. package/lib/chevre/repo/mongoose/schemas/merchantReturnPolicy.js +1 -0
  61. package/lib/chevre/repo/mongoose/schemas/offer.d.ts +1 -0
  62. package/lib/chevre/repo/mongoose/schemas/offer.js +1 -0
  63. package/lib/chevre/repo/mongoose/schemas/offerCatalog.d.ts +1 -0
  64. package/lib/chevre/repo/mongoose/schemas/offerCatalog.js +1 -0
  65. package/lib/chevre/repo/mongoose/schemas/order.d.ts +1 -0
  66. package/lib/chevre/repo/mongoose/schemas/order.js +1 -0
  67. package/lib/chevre/repo/mongoose/schemas/ownershipInfo.d.ts +1 -0
  68. package/lib/chevre/repo/mongoose/schemas/ownershipInfo.js +1 -0
  69. package/lib/chevre/repo/mongoose/schemas/place.d.ts +1 -0
  70. package/lib/chevre/repo/mongoose/schemas/place.js +1 -0
  71. package/lib/chevre/repo/mongoose/schemas/priceSpecification.d.ts +1 -0
  72. package/lib/chevre/repo/mongoose/schemas/priceSpecification.js +1 -0
  73. package/lib/chevre/repo/mongoose/schemas/product.d.ts +1 -0
  74. package/lib/chevre/repo/mongoose/schemas/product.js +1 -0
  75. package/lib/chevre/repo/mongoose/schemas/project.d.ts +1 -0
  76. package/lib/chevre/repo/mongoose/schemas/project.js +1 -0
  77. package/lib/chevre/repo/mongoose/schemas/reservation.d.ts +1 -0
  78. package/lib/chevre/repo/mongoose/schemas/reservation.js +1 -0
  79. package/lib/chevre/repo/mongoose/schemas/role.d.ts +1 -0
  80. package/lib/chevre/repo/mongoose/schemas/role.js +1 -0
  81. package/lib/chevre/repo/mongoose/schemas/seller.d.ts +1 -0
  82. package/lib/chevre/repo/mongoose/schemas/seller.js +1 -0
  83. package/lib/chevre/repo/mongoose/schemas/serviceOutput.d.ts +1 -0
  84. package/lib/chevre/repo/mongoose/schemas/serviceOutput.js +1 -0
  85. package/lib/chevre/repo/mongoose/schemas/task.d.ts +1 -0
  86. package/lib/chevre/repo/mongoose/schemas/task.js +1 -0
  87. package/lib/chevre/repo/mongoose/schemas/telemetry.d.ts +1 -0
  88. package/lib/chevre/repo/mongoose/schemas/telemetry.js +1 -0
  89. package/lib/chevre/repo/mongoose/schemas/transaction.d.ts +1 -0
  90. package/lib/chevre/repo/mongoose/schemas/transaction.js +1 -0
  91. package/lib/chevre/repo/mongoose/schemas/trip.d.ts +1 -0
  92. package/lib/chevre/repo/mongoose/schemas/trip.js +1 -0
  93. package/lib/chevre/repo/offer.js +0 -5
  94. package/lib/chevre/repo/offerCatalog.js +0 -4
  95. package/lib/chevre/repo/order.js +0 -4
  96. package/lib/chevre/repo/orderNumber.d.ts +0 -1
  97. package/lib/chevre/repo/orderNumber.js +2 -12
  98. package/lib/chevre/repo/ownershipInfo.js +0 -4
  99. package/lib/chevre/repo/permit.js +0 -4
  100. package/lib/chevre/repo/place.d.ts +5 -1
  101. package/lib/chevre/repo/place.js +1 -10
  102. package/lib/chevre/repo/priceSpecification.js +0 -4
  103. package/lib/chevre/repo/product.js +0 -4
  104. package/lib/chevre/repo/project.js +0 -4
  105. package/lib/chevre/repo/rateLimit/offer.d.ts +3 -2
  106. package/lib/chevre/repo/rateLimit/offer.js +14 -14
  107. package/lib/chevre/repo/reservation.js +0 -4
  108. package/lib/chevre/repo/role.js +0 -4
  109. package/lib/chevre/repo/seller.js +0 -4
  110. package/lib/chevre/repo/serviceOutput.js +0 -4
  111. package/lib/chevre/repo/serviceOutputIdentifier.d.ts +2 -1
  112. package/lib/chevre/repo/serviceOutputIdentifier.js +14 -15
  113. package/lib/chevre/repo/{itemAvailability/screeningEvent.d.ts → stockHolder.d.ts} +5 -8
  114. package/lib/chevre/repo/stockHolder.js +273 -0
  115. package/lib/chevre/repo/task.d.ts +3 -0
  116. package/lib/chevre/repo/task.js +12 -4
  117. package/lib/chevre/repo/telemetry.js +0 -4
  118. package/lib/chevre/repo/transaction.js +0 -4
  119. package/lib/chevre/repo/transactionNumber.d.ts +2 -1
  120. package/lib/chevre/repo/transactionNumber.js +14 -15
  121. package/lib/chevre/repo/trip.js +0 -4
  122. package/lib/chevre/repository.d.ts +3 -5
  123. package/lib/chevre/repository.js +5 -8
  124. package/lib/chevre/service/aggregation/event/aggregateScreeningEvent.d.ts +2 -2
  125. package/lib/chevre/service/aggregation/event/aggregateScreeningEvent.js +4 -3
  126. package/lib/chevre/service/assetTransaction/reserve.d.ts +4 -4
  127. package/lib/chevre/service/assetTransaction/reserve.js +71 -5
  128. package/lib/chevre/service/offer/event/authorize.d.ts +2 -2
  129. package/lib/chevre/service/offer/event/cancel.d.ts +2 -2
  130. package/lib/chevre/service/offer/event/voidTransaction.d.ts +2 -2
  131. package/lib/chevre/service/offer.d.ts +13 -26
  132. package/lib/chevre/service/offer.js +21 -116
  133. package/lib/chevre/service/reserve/cancelReservation.d.ts +3 -3
  134. package/lib/chevre/service/reserve/cancelReservation.js +6 -6
  135. package/lib/chevre/service/task/aggregateScreeningEvent.js +2 -2
  136. package/lib/chevre/service/task/cancelPendingReservation.js +3 -3
  137. package/lib/chevre/service/task/cancelReservation.js +3 -3
  138. package/lib/chevre/service/task/voidReserveTransaction.js +3 -3
  139. package/lib/chevre/settings.d.ts +1 -1
  140. package/lib/chevre/settings.js +4 -4
  141. package/package.json +2 -2
  142. package/lib/chevre/repo/itemAvailability/screeningEvent.js +0 -181
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
33
33
  read: string;
34
34
  writeConcern: import("mongodb").WriteConcern;
35
35
  strict: false;
36
+ strictQuery: false;
36
37
  useNestedStrict: boolean;
37
38
  timestamps: {
38
39
  createdAt: string;
@@ -14,6 +14,7 @@ const schema = new mongoose_1.Schema({}, {
14
14
  read: 'primaryPreferred',
15
15
  writeConcern: writeConcern_1.writeConcern,
16
16
  strict: false,
17
+ strictQuery: false,
17
18
  useNestedStrict: true,
18
19
  timestamps: {
19
20
  createdAt: 'createdAt',
@@ -32,6 +32,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
32
32
  id: true;
33
33
  read: string;
34
34
  writeConcern: import("mongodb").WriteConcern;
35
+ strictQuery: false;
35
36
  timestamps: {
36
37
  createdAt: string;
37
38
  updatedAt: string;
@@ -28,6 +28,7 @@ const schema = new mongoose_1.Schema({
28
28
  id: true,
29
29
  read: 'primaryPreferred',
30
30
  writeConcern: writeConcern_1.writeConcern,
31
+ strictQuery: false,
31
32
  timestamps: {
32
33
  createdAt: 'createdAt',
33
34
  updatedAt: 'updatedAt'
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -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',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
33
33
  read: string;
34
34
  writeConcern: import("mongodb").WriteConcern;
35
35
  strict: false;
36
+ strictQuery: false;
36
37
  useNestedStrict: boolean;
37
38
  timestamps: {
38
39
  createdAt: string;
@@ -18,6 +18,7 @@ const schema = new mongoose_1.Schema({
18
18
  read: 'primaryPreferred',
19
19
  writeConcern: writeConcern_1.writeConcern,
20
20
  strict: false,
21
+ strictQuery: false,
21
22
  useNestedStrict: true,
22
23
  timestamps: {
23
24
  createdAt: 'createdAt',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -35,6 +35,7 @@ const schema = new mongoose_1.Schema({
35
35
  writeConcern: writeConcern_1.writeConcern,
36
36
  // true化(2022-11-12~)
37
37
  strict: true,
38
+ strictQuery: false,
38
39
  useNestedStrict: true,
39
40
  timestamps: {
40
41
  createdAt: 'createdAt',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -26,6 +26,7 @@ const schema = new mongoose_1.Schema({
26
26
  read: 'primaryPreferred',
27
27
  writeConcern: writeConcern_1.writeConcern,
28
28
  strict: true,
29
+ strictQuery: false,
29
30
  useNestedStrict: true,
30
31
  timestamps: {
31
32
  createdAt: 'createdAt',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
33
33
  read: string;
34
34
  writeConcern: import("mongodb").WriteConcern;
35
35
  strict: false;
36
+ strictQuery: false;
36
37
  useNestedStrict: boolean;
37
38
  timestamps: {
38
39
  createdAt: string;
@@ -14,6 +14,7 @@ const schema = new mongoose_1.Schema({}, {
14
14
  read: 'primaryPreferred',
15
15
  writeConcern: writeConcern_1.writeConcern,
16
16
  strict: false,
17
+ strictQuery: false,
17
18
  useNestedStrict: true,
18
19
  timestamps: {
19
20
  createdAt: 'createdAt',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -33,6 +33,7 @@ const schema = new mongoose_1.Schema({
33
33
  read: 'primaryPreferred',
34
34
  writeConcern: writeConcern_1.writeConcern,
35
35
  strict: true,
36
+ strictQuery: false,
36
37
  useNestedStrict: true,
37
38
  timestamps: {
38
39
  createdAt: 'createdAt',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -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',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -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',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -32,6 +32,7 @@ const schema = new mongoose_1.Schema({
32
32
  read: 'primaryPreferred',
33
33
  writeConcern: writeConcern_1.writeConcern,
34
34
  strict: true,
35
+ strictQuery: false,
35
36
  useNestedStrict: true,
36
37
  timestamps: {
37
38
  createdAt: 'createdAt',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -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',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -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',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -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',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -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',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -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',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -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',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -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'
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -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'
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -40,6 +40,7 @@ const schema = new mongoose_1.Schema({
40
40
  read: 'primaryPreferred',
41
41
  writeConcern: writeConcern_1.writeConcern,
42
42
  strict: true,
43
+ strictQuery: false,
43
44
  useNestedStrict: true,
44
45
  timestamps: {
45
46
  createdAt: 'createdAt',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -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',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -39,6 +39,7 @@ const schema = new mongoose_1.Schema({
39
39
  read: 'primaryPreferred',
40
40
  writeConcern: writeConcern_1.writeConcern,
41
41
  strict: true,
42
+ strictQuery: false,
42
43
  useNestedStrict: true,
43
44
  timestamps: {
44
45
  createdAt: 'createdAt',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -28,6 +28,7 @@ const schema = new mongoose_1.Schema({
28
28
  read: 'primaryPreferred',
29
29
  writeConcern: writeConcern_1.writeConcern,
30
30
  strict: true,
31
+ strictQuery: false,
31
32
  useNestedStrict: true,
32
33
  timestamps: {
33
34
  createdAt: 'createdAt',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -33,6 +33,7 @@ const schema = new mongoose_1.Schema({
33
33
  read: 'primaryPreferred',
34
34
  writeConcern: writeConcern_1.writeConcern,
35
35
  strict: true,
36
+ strictQuery: false,
36
37
  useNestedStrict: true,
37
38
  timestamps: {
38
39
  createdAt: 'createdAt',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -26,6 +26,7 @@ const schema = new mongoose_1.Schema({
26
26
  read: 'primaryPreferred',
27
27
  writeConcern: writeConcern_1.writeConcern,
28
28
  strict: true,
29
+ strictQuery: false,
29
30
  useNestedStrict: true,
30
31
  timestamps: {
31
32
  createdAt: 'createdAt',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -51,6 +51,7 @@ const schema = new mongoose_1.Schema({
51
51
  read: 'primaryPreferred',
52
52
  writeConcern: writeConcern_1.writeConcern,
53
53
  strict: true,
54
+ strictQuery: false,
54
55
  useNestedStrict: true,
55
56
  timestamps: {
56
57
  createdAt: 'createdAt',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
33
33
  read: string;
34
34
  writeConcern: import("mongodb").WriteConcern;
35
35
  strict: false;
36
+ strictQuery: false;
36
37
  useNestedStrict: boolean;
37
38
  timestamps: {
38
39
  createdAt: string;
@@ -17,6 +17,7 @@ const schema = new mongoose_1.Schema({
17
17
  read: 'primaryPreferred',
18
18
  writeConcern: writeConcern_1.writeConcern,
19
19
  strict: false,
20
+ strictQuery: false,
20
21
  useNestedStrict: true,
21
22
  timestamps: {
22
23
  createdAt: 'createdAt',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -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',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
33
33
  read: string;
34
34
  writeConcern: import("mongodb").WriteConcern;
35
35
  strict: false;
36
+ strictQuery: false;
36
37
  useNestedStrict: boolean;
37
38
  timestamps: {
38
39
  createdAt: string;
@@ -20,6 +20,7 @@ const schema = new mongoose_1.Schema({
20
20
  read: 'primaryPreferred',
21
21
  writeConcern: writeConcern_1.writeConcern,
22
22
  strict: false,
23
+ strictQuery: false,
23
24
  useNestedStrict: true,
24
25
  timestamps: {
25
26
  createdAt: 'createdAt',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -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',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -22,6 +22,7 @@ const schema = new mongoose_1.Schema({
22
22
  read: 'primaryPreferred',
23
23
  writeConcern: writeConcern_1.writeConcern,
24
24
  strict: true,
25
+ strictQuery: false,
25
26
  useNestedStrict: true,
26
27
  timestamps: {
27
28
  createdAt: 'createdAt',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
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;
@@ -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
  useNestedStrict: true,
35
36
  timestamps: {
36
37
  createdAt: 'createdAt',
@@ -33,6 +33,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
33
33
  read: string;
34
34
  writeConcern: import("mongodb").WriteConcern;
35
35
  strict: false;
36
+ strictQuery: false;
36
37
  useNestedStrict: boolean;
37
38
  timestamps: {
38
39
  createdAt: string;
@@ -20,6 +20,7 @@ const schema = new mongoose_1.Schema({
20
20
  read: 'primaryPreferred',
21
21
  writeConcern: writeConcern_1.writeConcern,
22
22
  strict: false,
23
+ strictQuery: false,
23
24
  useNestedStrict: true,
24
25
  timestamps: {
25
26
  createdAt: 'createdAt',
@@ -23,7 +23,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
23
23
  exports.MongoRepository = void 0;
24
24
  const uniqid = require("uniqid");
25
25
  const factory = require("../factory");
26
- const onIndexCreated_1 = require("./mongoose/onIndexCreated");
27
26
  const offer_1 = require("./mongoose/schemas/offer");
28
27
  const offerCatalog_1 = require("./mongoose/schemas/offerCatalog");
29
28
  /**
@@ -33,10 +32,6 @@ class MongoRepository {
33
32
  constructor(connection) {
34
33
  this.offerModel = connection.model(offer_1.modelName, offer_1.schema);
35
34
  this.offerCatalogModel = connection.model(offerCatalog_1.modelName, offerCatalog_1.schema);
36
- if (connection.get('autoIndex') === true) {
37
- this.offerModel.on(onIndexCreated_1.INDEX_EVENT, onIndexCreated_1.onIndexCreated);
38
- this.offerCatalogModel.on(onIndexCreated_1.INDEX_EVENT, onIndexCreated_1.onIndexCreated);
39
- }
40
35
  }
41
36
  // tslint:disable-next-line:cyclomatic-complexity max-func-body-length
42
37
  static CREATE_OFFER_MONGO_CONDITIONS(params) {