@chevre/domain 24.0.0-alpha.72 → 24.0.0-alpha.73

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 (32) hide show
  1. package/lib/chevre/errorHandler.js +33 -33
  2. package/lib/chevre/factory.d.ts +1 -2
  3. package/lib/chevre/factory.js +2 -26
  4. package/lib/chevre/repo/action.d.ts +2 -2
  5. package/lib/chevre/repo/assetTransaction.d.ts +20 -20
  6. package/lib/chevre/repo/comment.d.ts +2 -2
  7. package/lib/chevre/repo/creativeWork.d.ts +3 -3
  8. package/lib/chevre/repo/event.d.ts +5 -5
  9. package/lib/chevre/repo/factory/reservation/createMongoConditions.d.ts +1 -1
  10. package/lib/chevre/repo/identity.d.ts +4 -4
  11. package/lib/chevre/repo/merchantReturnPolicy.d.ts +4 -4
  12. package/lib/chevre/repo/note.d.ts +1 -1
  13. package/lib/chevre/repo/noteAboutOrder.d.ts +1 -1
  14. package/lib/chevre/repo/paymentService.d.ts +1 -1
  15. package/lib/chevre/repo/place/busStop.d.ts +1 -1
  16. package/lib/chevre/repo/place/movieTheater.d.ts +3 -3
  17. package/lib/chevre/repo/place/screeningRoom.d.ts +4 -4
  18. package/lib/chevre/repo/priceSpecification.d.ts +8 -8
  19. package/lib/chevre/repo/reservation.d.ts +2 -2
  20. package/lib/chevre/repo/role.d.ts +9 -9
  21. package/lib/chevre/repo/task.d.ts +1 -1
  22. package/lib/chevre/repo/transaction/placeOrder.d.ts +1 -1
  23. package/lib/chevre/repo/transaction/returnOrder.d.ts +1 -1
  24. package/lib/chevre/repo/transaction.d.ts +31 -31
  25. package/lib/chevre/service/assetTransaction/cancelReservation/start.d.ts +2 -2
  26. package/lib/chevre/service/notification/notifyByEmail.d.ts +1 -1
  27. package/lib/chevre/service/order/onOrderStatusChanged/onOrderCancelled/factory.d.ts +1 -1
  28. package/lib/chevre/service/order/onOrderStatusChanged/onOrderDeliveredPartially/factory.d.ts +1 -1
  29. package/lib/chevre/service/order/onOrderStatusChanged/onOrderReturned/factory.d.ts +1 -1
  30. package/lib/chevre/service/reserve/factory.d.ts +1 -1
  31. package/lib/chevre/service/transaction/returnOrder.d.ts +1 -1
  32. package/package.json +3 -3
@@ -66,25 +66,25 @@ async function handleMongoError(error) {
66
66
  if (handledError instanceof mongo.MongoError || handledError instanceof mongo.MongoServerError) {
67
67
  switch (handledError.code) {
68
68
  case MongoErrorCode.ConflictUpdateOperator:
69
- handledError = new factory_1.errors.Argument('', `Some updating fields conflict. code:${handledError.code} message:${handledError.message}`);
69
+ handledError = new factory_1.factory.errors.Argument('', `Some updating fields conflict. code:${handledError.code} message:${handledError.message}`);
70
70
  break;
71
71
  case MongoErrorCode.DuplicateKey:
72
- handledError = new factory_1.errors.AlreadyInUse('', [], `Some fields already in use. code:${handledError.code} message:${handledError.message}`);
72
+ handledError = new factory_1.factory.errors.AlreadyInUse('', [], `Some fields already in use. code:${handledError.code} message:${handledError.message}`);
73
73
  break;
74
74
  case MongoErrorCode.MaxTimeMSExpired:
75
75
  case MongoErrorCode.ExceededTimeLimit:
76
- handledError = new factory_1.errors.GatewayTimeout(`Gateway Timeout. name:${handledError.name} code:${handledError.code} message:${handledError.message}`);
76
+ handledError = new factory_1.factory.errors.GatewayTimeout(`Gateway Timeout. name:${handledError.name} code:${handledError.code} message:${handledError.message}`);
77
77
  break;
78
78
  default:
79
79
  }
80
80
  }
81
81
  if (mongo.BSON.BSONError.isBSONError(handledError)) {
82
- handledError = new factory_1.errors.Argument('', handledError.message);
82
+ handledError = new factory_1.factory.errors.Argument('', handledError.message);
83
83
  }
84
84
  // handle CastError(2025-10-27~)
85
85
  // CastError: Cast to ObjectId failed for value "xxx" (type string) at path "_id" for model "xxxxxxxxxxxxx"
86
86
  if (handledError instanceof mongooseError.CastError) {
87
- handledError = new factory_1.errors.Argument(`${handledError.path}`, (handledError.reason instanceof Error) ? handledError.reason.message : handledError.message);
87
+ handledError = new factory_1.factory.errors.Argument(`${handledError.path}`, (handledError.reason instanceof Error) ? handledError.reason.message : handledError.message);
88
88
  }
89
89
  return handledError;
90
90
  }
@@ -96,16 +96,16 @@ function handleCOAError(error) {
96
96
  if (error.name === 'AbortError'
97
97
  || error.name === 'TimeoutError' // native AbortSignalの場合
98
98
  ) {
99
- handledError = new factory_1.errors.GatewayTimeout(`Gateway Timeout. name:${error.name} code:${error.code} message:${error.message}`);
99
+ handledError = new factory_1.factory.errors.GatewayTimeout(`Gateway Timeout. name:${error.name} code:${error.code} message:${error.message}`);
100
100
  }
101
101
  if (error.name === 'COAServiceError') {
102
102
  // error.requestOptions.uriを処理
103
103
  const uri = error.requestOptions?.uri;
104
104
  if (error.message === 'ETIMEDOUT' || error.message === 'ESOCKETTIMEDOUT') {
105
- handledError = new factory_1.errors.GatewayTimeout(`Timeout. name:${error.name} code:${error.code} message:${error.message} uri:${uri}`);
105
+ handledError = new factory_1.factory.errors.GatewayTimeout(`Timeout. name:${error.name} code:${error.code} message:${error.message} uri:${uri}`);
106
106
  }
107
107
  else {
108
- handledError = new factory_1.errors.Internal(`Service Unavailable. name:${error.name} code:${error.code} message:${error.message} uri:${uri}`);
108
+ handledError = new factory_1.factory.errors.Internal(`Service Unavailable. name:${error.name} code:${error.code} message:${error.message} uri:${uri}`);
109
109
  }
110
110
  }
111
111
  return handledError;
@@ -119,21 +119,21 @@ function handleCOAReserveTemporarilyError(error) {
119
119
  // }
120
120
  // メッセージ「既に予約済みです」の場合は、座席の重複とみなす
121
121
  if (error.message === '既に予約済みです') {
122
- handledError = new factory_1.errors.AlreadyInUse('offer', ['seatNumber'], 'Seat not available');
122
+ handledError = new factory_1.factory.errors.AlreadyInUse('offer', ['seatNumber'], 'Seat not available');
123
123
  }
124
124
  // Chevreが500未満であればクライアントエラーとみなす
125
125
  const reserveServiceHttpStatusCode = error.code;
126
126
  if (Number.isInteger(reserveServiceHttpStatusCode)) {
127
127
  if (reserveServiceHttpStatusCode < http_status_1.INTERNAL_SERVER_ERROR) {
128
- handledError = new factory_1.errors.Argument('Event', error.message);
128
+ handledError = new factory_1.factory.errors.Argument('Event', error.message);
129
129
  }
130
130
  else {
131
131
  const uri = error.requestOptions?.uri;
132
132
  if (error.message === 'ETIMEDOUT' || error.message === 'ESOCKETTIMEDOUT') {
133
- handledError = new factory_1.errors.GatewayTimeout(`Timeout. name:${error.name} code:${error.code} message:${error.message} uri:${uri}`);
133
+ handledError = new factory_1.factory.errors.GatewayTimeout(`Timeout. name:${error.name} code:${error.code} message:${error.message} uri:${uri}`);
134
134
  }
135
135
  else {
136
- handledError = new factory_1.errors.Internal(`Reserve service unavailable. name:${error.name} code:${error.code} message:${error.message} uri:${uri}`);
136
+ handledError = new factory_1.factory.errors.Internal(`Reserve service unavailable. name:${error.name} code:${error.code} message:${error.message} uri:${uri}`);
137
137
  }
138
138
  }
139
139
  }
@@ -151,22 +151,22 @@ function handlePecorinoError(error) {
151
151
  const message = `${error.name}:${error.message}`;
152
152
  switch (error.code) {
153
153
  case http_status_1.BAD_REQUEST: // 400
154
- handledError = new factory_1.errors.Argument((typeof error.argumentName === 'string' && error.argumentName.length > 0) ? error.argumentName : 'PecorinoArgument', message);
154
+ handledError = new factory_1.factory.errors.Argument((typeof error.argumentName === 'string' && error.argumentName.length > 0) ? error.argumentName : 'PecorinoArgument', message);
155
155
  break;
156
156
  case http_status_1.UNAUTHORIZED: // 401
157
- handledError = new factory_1.errors.Unauthorized(message);
157
+ handledError = new factory_1.factory.errors.Unauthorized(message);
158
158
  break;
159
159
  case http_status_1.FORBIDDEN: // 403
160
- handledError = new factory_1.errors.Forbidden(message);
160
+ handledError = new factory_1.factory.errors.Forbidden(message);
161
161
  break;
162
162
  case http_status_1.NOT_FOUND: // 404
163
- handledError = new factory_1.errors.NotFound(message);
163
+ handledError = new factory_1.factory.errors.NotFound(message);
164
164
  break;
165
165
  case http_status_1.TOO_MANY_REQUESTS: // 429
166
- handledError = new factory_1.errors.RateLimitExceeded(message);
166
+ handledError = new factory_1.factory.errors.RateLimitExceeded(message);
167
167
  break;
168
168
  default:
169
- handledError = new factory_1.errors.Internal(message);
169
+ handledError = new factory_1.factory.errors.Internal(message);
170
170
  }
171
171
  }
172
172
  return handledError;
@@ -184,26 +184,26 @@ function handleMvtkReserveError(error) {
184
184
  const message = `${error.name}:${error.message}`;
185
185
  switch (error.code) {
186
186
  case http_status_1.BAD_REQUEST: // 400
187
- handledError = new factory_1.errors.Argument((typeof error.argumentName === 'string' && error.argumentName.length > 0) ? error.argumentName : 'MovieticketReserveArgument', message);
187
+ handledError = new factory_1.factory.errors.Argument((typeof error.argumentName === 'string' && error.argumentName.length > 0) ? error.argumentName : 'MovieticketReserveArgument', message);
188
188
  break;
189
189
  case http_status_1.UNAUTHORIZED: // 401
190
- handledError = new factory_1.errors.Unauthorized(message);
190
+ handledError = new factory_1.factory.errors.Unauthorized(message);
191
191
  break;
192
192
  case http_status_1.FORBIDDEN: // 403
193
- handledError = new factory_1.errors.Forbidden(message);
193
+ handledError = new factory_1.factory.errors.Forbidden(message);
194
194
  break;
195
195
  case http_status_1.NOT_FOUND: // 404
196
- handledError = new factory_1.errors.NotFound(message);
196
+ handledError = new factory_1.factory.errors.NotFound(message);
197
197
  break;
198
198
  case http_status_1.TOO_MANY_REQUESTS: // 429
199
- handledError = new factory_1.errors.RateLimitExceeded(message);
199
+ handledError = new factory_1.factory.errors.RateLimitExceeded(message);
200
200
  break;
201
201
  // handle 504(2025-04-25~)
202
202
  case http_status_1.GATEWAY_TIMEOUT: // 504
203
- handledError = new factory_1.errors.GatewayTimeout(message);
203
+ handledError = new factory_1.factory.errors.GatewayTimeout(message);
204
204
  break;
205
205
  default:
206
- handledError = new factory_1.errors.Internal(message);
206
+ handledError = new factory_1.factory.errors.Internal(message);
207
207
  }
208
208
  }
209
209
  // タイムアウト設定によって中止されたリクエストの場合
@@ -211,7 +211,7 @@ function handleMvtkReserveError(error) {
211
211
  if (error.name === 'AbortError'
212
212
  || error.name === 'TimeoutError' // native AbortSignalの場合
213
213
  ) {
214
- handledError = new factory_1.errors.GatewayTimeout(`Gateway Timeout. name:${error.name} type:${error.type} message:${error.message}`);
214
+ handledError = new factory_1.factory.errors.GatewayTimeout(`Gateway Timeout. name:${error.name} type:${error.type} message:${error.message}`);
215
215
  }
216
216
  return handledError;
217
217
  }
@@ -223,25 +223,25 @@ function handleAWSError(error) {
223
223
  const message = `${error.name}:${error.message}`;
224
224
  switch (error.name) {
225
225
  case 'InternalErrorException':
226
- handledError = new factory_1.errors.Internal(message);
226
+ handledError = new factory_1.factory.errors.Internal(message);
227
227
  break;
228
228
  case 'MissingRequiredParameter':
229
- handledError = new factory_1.errors.ArgumentNull('AWSArgument', message);
229
+ handledError = new factory_1.factory.errors.ArgumentNull('AWSArgument', message);
230
230
  break;
231
231
  case 'InvalidParameterException':
232
- handledError = new factory_1.errors.Argument('AWSArgument', message);
232
+ handledError = new factory_1.factory.errors.Argument('AWSArgument', message);
233
233
  break;
234
234
  case 'NotAuthorizedException':
235
- handledError = new factory_1.errors.Forbidden(message);
235
+ handledError = new factory_1.factory.errors.Forbidden(message);
236
236
  break;
237
237
  case 'TooManyRequestsException':
238
- handledError = new factory_1.errors.RateLimitExceeded(message);
238
+ handledError = new factory_1.factory.errors.RateLimitExceeded(message);
239
239
  break;
240
240
  case 'ResourceNotFoundException':
241
- handledError = new factory_1.errors.NotFound('Resource', message);
241
+ handledError = new factory_1.factory.errors.NotFound('Resource', message);
242
242
  break;
243
243
  case 'UserNotFoundException':
244
- handledError = new factory_1.errors.NotFound('User', message);
244
+ handledError = new factory_1.factory.errors.NotFound('User', message);
245
245
  break;
246
246
  default:
247
247
  }
@@ -1,5 +1,4 @@
1
1
  /**
2
2
  * factory
3
3
  */
4
- export * as factory from '@chevre/factory';
5
- export { errors } from '@chevre/factory';
4
+ export { ChevreFactory as factory } from '@chevre/factory';
@@ -1,32 +1,8 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
2
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.errors = exports.factory = void 0;
3
+ exports.factory = void 0;
27
4
  /**
28
5
  * factory
29
6
  */
30
- exports.factory = __importStar(require("@chevre/factory"));
31
7
  var factory_1 = require("@chevre/factory");
32
- Object.defineProperty(exports, "errors", { enumerable: true, get: function () { return factory_1.errors; } });
8
+ Object.defineProperty(exports, "factory", { enumerable: true, get: function () { return factory_1.ChevreFactory; } });
@@ -89,13 +89,13 @@ export declare class ActionRepo extends ActionProcessRepo<IAction<StartableActio
89
89
  }): Promise<{
90
90
  deletedCount?: number;
91
91
  } | null>;
92
- getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/action").IAction<import("@chevre/factory/lib/action").IAttributes<factory.actionType, any, any>>, "id"> & {
92
+ getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/action").IAction<import("@chevre/factory/lib/chevre/action").IAttributes<factory.actionType, any, any>>, "id"> & {
93
93
  identifier?: string;
94
94
  } & {
95
95
  _id: import("mongoose").Types.ObjectId;
96
96
  } & {
97
97
  __v: number;
98
- }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/action").IAction<import("@chevre/factory/lib/action").IAttributes<factory.actionType, any, any>>, "id"> & {
98
+ }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/action").IAction<import("@chevre/factory/lib/chevre/action").IAttributes<factory.actionType, any, any>>, "id"> & {
99
99
  identifier?: string;
100
100
  } & {
101
101
  _id: import("mongoose").Types.ObjectId;
@@ -30,7 +30,7 @@ type AvailableAssetTransactionType = factory.assetTransactionType.CancelReservat
30
30
  export declare class AssetTransactionRepo {
31
31
  private readonly transactionModel;
32
32
  constructor(connection: Connection);
33
- static CREATE_MONGO_CONDITIONS(params: factory.assetTransaction.ISearchConditions<factory.assetTransactionType>): FilterQuery<import("@chevre/factory/lib/assetTransaction/cancelReservation").ITransaction | import("@chevre/factory/lib/assetTransaction/moneyTransfer").ITransaction | import("@chevre/factory/lib/assetTransaction/pay").ITransaction | import("@chevre/factory/lib/assetTransaction/refund").ITransaction | import("@chevre/factory/lib/assetTransaction/registerService").ITransaction | import("@chevre/factory/lib/assetTransaction/reserve").ITransaction>[];
33
+ static CREATE_MONGO_CONDITIONS(params: factory.assetTransaction.ISearchConditions<factory.assetTransactionType>): FilterQuery<import("@chevre/factory/lib/chevre/assetTransaction/cancelReservation").ITransaction | import("@chevre/factory/lib/chevre/assetTransaction/moneyTransfer").ITransaction | import("@chevre/factory/lib/chevre/assetTransaction/pay").ITransaction | import("@chevre/factory/lib/chevre/assetTransaction/refund").ITransaction | import("@chevre/factory/lib/chevre/assetTransaction/registerService").ITransaction | import("@chevre/factory/lib/chevre/assetTransaction/reserve").ITransaction>[];
34
34
  /**
35
35
  * 取引を開始する
36
36
  */
@@ -124,7 +124,7 @@ export declare class AssetTransactionRepo {
124
124
  $in: factory.transactionStatusType[];
125
125
  };
126
126
  limit: number;
127
- }): Promise<Pick<import("@chevre/factory/lib/assetTransaction/cancelReservation").ITransaction | import("@chevre/factory/lib/assetTransaction/moneyTransfer").ITransaction | import("@chevre/factory/lib/assetTransaction/pay").ITransaction | import("@chevre/factory/lib/assetTransaction/refund").ITransaction | import("@chevre/factory/lib/assetTransaction/registerService").ITransaction | import("@chevre/factory/lib/assetTransaction/reserve").ITransaction, "id" | "typeOf" | "status">[]>;
127
+ }): Promise<Pick<import("@chevre/factory/lib/chevre/assetTransaction/cancelReservation").ITransaction | import("@chevre/factory/lib/chevre/assetTransaction/moneyTransfer").ITransaction | import("@chevre/factory/lib/chevre/assetTransaction/pay").ITransaction | import("@chevre/factory/lib/chevre/assetTransaction/refund").ITransaction | import("@chevre/factory/lib/chevre/assetTransaction/registerService").ITransaction | import("@chevre/factory/lib/chevre/assetTransaction/reserve").ITransaction, "id" | "typeOf" | "status">[]>;
128
128
  /**
129
129
  * set task status exported by transaction id
130
130
  * IDでタスクをエクスポート済に変更する
@@ -219,7 +219,7 @@ export declare class AssetTransactionRepo {
219
219
  object: {
220
220
  reservationNumber: string;
221
221
  };
222
- }): Promise<(import("@chevre/factory/lib/assetTransaction/cancelReservation").IAttributes & {
222
+ }): Promise<(import("@chevre/factory/lib/chevre/assetTransaction/cancelReservation").IAttributes & {
223
223
  id: string;
224
224
  } & {
225
225
  seller?: any;
@@ -227,7 +227,7 @@ export declare class AssetTransactionRepo {
227
227
  _id: import("mongoose").Types.ObjectId;
228
228
  } & {
229
229
  __v: number;
230
- }) | (import("@chevre/factory/lib/assetTransaction/moneyTransfer").IAttributes & {
230
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/moneyTransfer").IAttributes & {
231
231
  id: string;
232
232
  } & {
233
233
  seller?: any;
@@ -235,7 +235,7 @@ export declare class AssetTransactionRepo {
235
235
  _id: import("mongoose").Types.ObjectId;
236
236
  } & {
237
237
  __v: number;
238
- }) | (import("@chevre/factory/lib/assetTransaction/pay").IAttributes & {
238
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/pay").IAttributes & {
239
239
  id: string;
240
240
  } & {
241
241
  seller?: any;
@@ -243,7 +243,7 @@ export declare class AssetTransactionRepo {
243
243
  _id: import("mongoose").Types.ObjectId;
244
244
  } & {
245
245
  __v: number;
246
- }) | (import("@chevre/factory/lib/assetTransaction/refund").IAttributes & {
246
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/refund").IAttributes & {
247
247
  id: string;
248
248
  } & {
249
249
  seller?: any;
@@ -251,7 +251,7 @@ export declare class AssetTransactionRepo {
251
251
  _id: import("mongoose").Types.ObjectId;
252
252
  } & {
253
253
  __v: number;
254
- }) | (import("@chevre/factory/lib/assetTransaction/registerService").IAttributes & {
254
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/registerService").IAttributes & {
255
255
  id: string;
256
256
  } & {
257
257
  seller?: any;
@@ -259,7 +259,7 @@ export declare class AssetTransactionRepo {
259
259
  _id: import("mongoose").Types.ObjectId;
260
260
  } & {
261
261
  __v: number;
262
- }) | (import("@chevre/factory/lib/assetTransaction/reserve").IAttributes & {
262
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/reserve").IAttributes & {
263
263
  id: string;
264
264
  } & {
265
265
  seller?: any;
@@ -285,7 +285,7 @@ export declare class AssetTransactionRepo {
285
285
  findByIdAndDelete(params: {
286
286
  id: string;
287
287
  }): Promise<void>;
288
- getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & ((import("@chevre/factory/lib/assetTransaction/cancelReservation").IAttributes & {
288
+ getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & ((import("@chevre/factory/lib/chevre/assetTransaction/cancelReservation").IAttributes & {
289
289
  id: string;
290
290
  } & {
291
291
  seller?: any;
@@ -293,7 +293,7 @@ export declare class AssetTransactionRepo {
293
293
  _id: import("mongoose").Types.ObjectId;
294
294
  } & {
295
295
  __v: number;
296
- }) | (import("@chevre/factory/lib/assetTransaction/moneyTransfer").IAttributes & {
296
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/moneyTransfer").IAttributes & {
297
297
  id: string;
298
298
  } & {
299
299
  seller?: any;
@@ -301,7 +301,7 @@ export declare class AssetTransactionRepo {
301
301
  _id: import("mongoose").Types.ObjectId;
302
302
  } & {
303
303
  __v: number;
304
- }) | (import("@chevre/factory/lib/assetTransaction/pay").IAttributes & {
304
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/pay").IAttributes & {
305
305
  id: string;
306
306
  } & {
307
307
  seller?: any;
@@ -309,7 +309,7 @@ export declare class AssetTransactionRepo {
309
309
  _id: import("mongoose").Types.ObjectId;
310
310
  } & {
311
311
  __v: number;
312
- }) | (import("@chevre/factory/lib/assetTransaction/refund").IAttributes & {
312
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/refund").IAttributes & {
313
313
  id: string;
314
314
  } & {
315
315
  seller?: any;
@@ -317,7 +317,7 @@ export declare class AssetTransactionRepo {
317
317
  _id: import("mongoose").Types.ObjectId;
318
318
  } & {
319
319
  __v: number;
320
- }) | (import("@chevre/factory/lib/assetTransaction/registerService").IAttributes & {
320
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/registerService").IAttributes & {
321
321
  id: string;
322
322
  } & {
323
323
  seller?: any;
@@ -325,7 +325,7 @@ export declare class AssetTransactionRepo {
325
325
  _id: import("mongoose").Types.ObjectId;
326
326
  } & {
327
327
  __v: number;
328
- }) | (import("@chevre/factory/lib/assetTransaction/reserve").IAttributes & {
328
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/reserve").IAttributes & {
329
329
  id: string;
330
330
  } & {
331
331
  seller?: any;
@@ -333,7 +333,7 @@ export declare class AssetTransactionRepo {
333
333
  _id: import("mongoose").Types.ObjectId;
334
334
  } & {
335
335
  __v: number;
336
- })), import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & ((import("@chevre/factory/lib/assetTransaction/cancelReservation").IAttributes & {
336
+ })), import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & ((import("@chevre/factory/lib/chevre/assetTransaction/cancelReservation").IAttributes & {
337
337
  id: string;
338
338
  } & {
339
339
  seller?: any;
@@ -341,7 +341,7 @@ export declare class AssetTransactionRepo {
341
341
  _id: import("mongoose").Types.ObjectId;
342
342
  } & {
343
343
  __v: number;
344
- }) | (import("@chevre/factory/lib/assetTransaction/moneyTransfer").IAttributes & {
344
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/moneyTransfer").IAttributes & {
345
345
  id: string;
346
346
  } & {
347
347
  seller?: any;
@@ -349,7 +349,7 @@ export declare class AssetTransactionRepo {
349
349
  _id: import("mongoose").Types.ObjectId;
350
350
  } & {
351
351
  __v: number;
352
- }) | (import("@chevre/factory/lib/assetTransaction/pay").IAttributes & {
352
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/pay").IAttributes & {
353
353
  id: string;
354
354
  } & {
355
355
  seller?: any;
@@ -357,7 +357,7 @@ export declare class AssetTransactionRepo {
357
357
  _id: import("mongoose").Types.ObjectId;
358
358
  } & {
359
359
  __v: number;
360
- }) | (import("@chevre/factory/lib/assetTransaction/refund").IAttributes & {
360
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/refund").IAttributes & {
361
361
  id: string;
362
362
  } & {
363
363
  seller?: any;
@@ -365,7 +365,7 @@ export declare class AssetTransactionRepo {
365
365
  _id: import("mongoose").Types.ObjectId;
366
366
  } & {
367
367
  __v: number;
368
- }) | (import("@chevre/factory/lib/assetTransaction/registerService").IAttributes & {
368
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/registerService").IAttributes & {
369
369
  id: string;
370
370
  } & {
371
371
  seller?: any;
@@ -373,7 +373,7 @@ export declare class AssetTransactionRepo {
373
373
  _id: import("mongoose").Types.ObjectId;
374
374
  } & {
375
375
  __v: number;
376
- }) | (import("@chevre/factory/lib/assetTransaction/reserve").IAttributes & {
376
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/reserve").IAttributes & {
377
377
  id: string;
378
378
  } & {
379
379
  seller?: any;
@@ -30,11 +30,11 @@ export declare class CommentRepo {
30
30
  deleteById(params: {
31
31
  id: string;
32
32
  }): Promise<void>;
33
- getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, import("@chevre/factory/lib/creativeWork/comment").IComment, import("./mongoose/virtuals").IVirtuals, {}> & import("@chevre/factory/lib/creativeWork/comment").IComment & {
33
+ getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, import("@chevre/factory/lib/chevre/creativeWork/comment").IComment, import("./mongoose/virtuals").IVirtuals, {}> & import("@chevre/factory/lib/chevre/creativeWork/comment").IComment & {
34
34
  _id: import("mongoose").Types.ObjectId;
35
35
  } & {
36
36
  __v: number;
37
- }, import("mongoose").QueryOptions<import("@chevre/factory/lib/creativeWork/comment").IComment>, (import("mongoose").Document<unknown, Record<string, never>, import("@chevre/factory/lib/creativeWork/comment").IComment, import("./mongoose/virtuals").IVirtuals, {}> & import("@chevre/factory/lib/creativeWork/comment").IComment & {
37
+ }, import("mongoose").QueryOptions<import("@chevre/factory/lib/chevre/creativeWork/comment").IComment>, (import("mongoose").Document<unknown, Record<string, never>, import("@chevre/factory/lib/chevre/creativeWork/comment").IComment, import("./mongoose/virtuals").IVirtuals, {}> & import("@chevre/factory/lib/chevre/creativeWork/comment").IComment & {
38
38
  _id: import("mongoose").Types.ObjectId;
39
39
  } & {
40
40
  __v: number;
@@ -9,7 +9,7 @@ type IKeyOfProjection = keyof factory.creativeWork.movie.ICreativeWork;
9
9
  export declare class CreativeWorkRepo {
10
10
  private readonly creativeWorkModel;
11
11
  constructor(connection: Connection);
12
- static CREATE_MONGO_CONDITIONS(params: factory.creativeWork.movie.ISearchConditions): FilterQuery<import("@chevre/factory/lib/creativeWork/movie").ICreativeWork>[];
12
+ static CREATE_MONGO_CONDITIONS(params: factory.creativeWork.movie.ISearchConditions): FilterQuery<import("@chevre/factory/lib/chevre/creativeWork/movie").ICreativeWork>[];
13
13
  /**
14
14
  * コンテンツを保管する
15
15
  */
@@ -49,13 +49,13 @@ export declare class CreativeWorkRepo {
49
49
  id: string;
50
50
  };
51
51
  }): Promise<void>;
52
- getCursor(conditions: FilterQuery<factory.creativeWork.movie.ICreativeWork>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/creativeWork/movie").ICreativeWork, "id"> & {
52
+ getCursor(conditions: FilterQuery<factory.creativeWork.movie.ICreativeWork>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/creativeWork/movie").ICreativeWork, "id"> & {
53
53
  description?: string;
54
54
  } & {
55
55
  _id: Types.ObjectId;
56
56
  } & {
57
57
  __v: number;
58
- }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/creativeWork/movie").ICreativeWork, "id"> & {
58
+ }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/creativeWork/movie").ICreativeWork, "id"> & {
59
59
  description?: string;
60
60
  } & {
61
61
  _id: Types.ObjectId;
@@ -288,23 +288,23 @@ export declare class EventRepo {
288
288
  validationErrors: import("mongoose").Error[];
289
289
  } | undefined;
290
290
  }>;
291
- getCursor(conditions: FilterQuery<any>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, import("@chevre/factory/lib/event/screeningEvent").IAttributes & {
291
+ getCursor(conditions: FilterQuery<any>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, import("@chevre/factory/lib/chevre/event/screeningEvent").IAttributes & {
292
292
  _id: string;
293
293
  aggregateOffer?: factory.event.screeningEvent.IAggregateOffer;
294
- }, import("./mongoose/virtuals").IVirtuals, {}> & import("@chevre/factory/lib/event/screeningEvent").IAttributes & {
294
+ }, import("./mongoose/virtuals").IVirtuals, {}> & import("@chevre/factory/lib/chevre/event/screeningEvent").IAttributes & {
295
295
  _id: string;
296
296
  aggregateOffer?: factory.event.screeningEvent.IAggregateOffer;
297
297
  } & Required<{
298
298
  _id: string;
299
299
  }> & {
300
300
  __v: number;
301
- }, import("mongoose").QueryOptions<import("@chevre/factory/lib/event/screeningEvent").IAttributes & {
301
+ }, import("mongoose").QueryOptions<import("@chevre/factory/lib/chevre/event/screeningEvent").IAttributes & {
302
302
  _id: string;
303
303
  aggregateOffer?: factory.event.screeningEvent.IAggregateOffer;
304
- }>, (import("mongoose").Document<unknown, Record<string, never>, import("@chevre/factory/lib/event/screeningEvent").IAttributes & {
304
+ }>, (import("mongoose").Document<unknown, Record<string, never>, import("@chevre/factory/lib/chevre/event/screeningEvent").IAttributes & {
305
305
  _id: string;
306
306
  aggregateOffer?: factory.event.screeningEvent.IAggregateOffer;
307
- }, import("./mongoose/virtuals").IVirtuals, {}> & import("@chevre/factory/lib/event/screeningEvent").IAttributes & {
307
+ }, import("./mongoose/virtuals").IVirtuals, {}> & import("@chevre/factory/lib/chevre/event/screeningEvent").IAttributes & {
308
308
  _id: string;
309
309
  aggregateOffer?: factory.event.screeningEvent.IAggregateOffer;
310
310
  } & Required<{
@@ -1,3 +1,3 @@
1
1
  import type { FilterQuery } from 'mongoose';
2
2
  import { factory } from '../../../factory';
3
- export declare function CREATE_MONGO_CONDITIONS(params: factory.reservation.eventReservation.ISearchConditions): FilterQuery<import("@chevre/factory/lib/reservation/event").IReservation>[];
3
+ export declare function CREATE_MONGO_CONDITIONS(params: factory.reservation.eventReservation.ISearchConditions): FilterQuery<import("@chevre/factory/lib/chevre/reservation/event").IReservation>[];
@@ -36,19 +36,19 @@ export declare class IdentityRepo {
36
36
  id: string;
37
37
  };
38
38
  }): Promise<void>;
39
- getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & ((Omit<import("@chevre/factory/lib/creativeWork/certification/softwareApplication").ICertification, "id"> & {
39
+ getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & ((Omit<import("@chevre/factory/lib/chevre/creativeWork/certification/softwareApplication").ICertification, "id"> & {
40
40
  _id: import("mongoose").Types.ObjectId;
41
41
  } & {
42
42
  __v: number;
43
- }) | (Omit<import("@chevre/factory/lib/creativeWork/certification/webApplication").ICertification, "id"> & {
43
+ }) | (Omit<import("@chevre/factory/lib/chevre/creativeWork/certification/webApplication").ICertification, "id"> & {
44
44
  _id: import("mongoose").Types.ObjectId;
45
45
  } & {
46
46
  __v: number;
47
- })), QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & ((Omit<import("@chevre/factory/lib/creativeWork/certification/softwareApplication").ICertification, "id"> & {
47
+ })), QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & ((Omit<import("@chevre/factory/lib/chevre/creativeWork/certification/softwareApplication").ICertification, "id"> & {
48
48
  _id: import("mongoose").Types.ObjectId;
49
49
  } & {
50
50
  __v: number;
51
- }) | (Omit<import("@chevre/factory/lib/creativeWork/certification/webApplication").ICertification, "id"> & {
51
+ }) | (Omit<import("@chevre/factory/lib/chevre/creativeWork/certification/webApplication").ICertification, "id"> & {
52
52
  _id: import("mongoose").Types.ObjectId;
53
53
  } & {
54
54
  __v: number;
@@ -24,10 +24,10 @@ export declare class MerchantReturnPolicyRepo {
24
24
  customerRemorseReturnFees: factory.merchantReturnPolicy.ICustomerRemorseReturnFees;
25
25
  customerRemorseReturnFeesMovieTicket: factory.merchantReturnPolicy.ICustomerRemorseReturnFeesMovieTicket;
26
26
  project: Pick<factory.project.IProject, "id" | "typeOf">;
27
- additionalProperty?: import("@chevre/factory/lib/propertyValue").IPropertyValue<string>[];
27
+ additionalProperty?: import("@chevre/factory/lib/chevre/propertyValue").IPropertyValue<string>[];
28
28
  id?: string;
29
29
  identifier: string;
30
- name?: import("@chevre/factory/lib/multilingualString").IMultilingualString;
30
+ name?: import("@chevre/factory/lib/chevre/multilingualString").IMultilingualString;
31
31
  } & {
32
32
  _id: import("mongoose").Types.ObjectId;
33
33
  } & {
@@ -36,10 +36,10 @@ export declare class MerchantReturnPolicyRepo {
36
36
  customerRemorseReturnFees: factory.merchantReturnPolicy.ICustomerRemorseReturnFees;
37
37
  customerRemorseReturnFeesMovieTicket: factory.merchantReturnPolicy.ICustomerRemorseReturnFeesMovieTicket;
38
38
  project: Pick<factory.project.IProject, "id" | "typeOf">;
39
- additionalProperty?: import("@chevre/factory/lib/propertyValue").IPropertyValue<string>[];
39
+ additionalProperty?: import("@chevre/factory/lib/chevre/propertyValue").IPropertyValue<string>[];
40
40
  id?: string;
41
41
  identifier: string;
42
- name?: import("@chevre/factory/lib/multilingualString").IMultilingualString;
42
+ name?: import("@chevre/factory/lib/chevre/multilingualString").IMultilingualString;
43
43
  } & {
44
44
  _id: import("mongoose").Types.ObjectId;
45
45
  } & {
@@ -9,7 +9,7 @@ type IKeyOfProjection = keyof INoteDigitalDocument;
9
9
  export declare class NoteRepo {
10
10
  private readonly noteModel;
11
11
  constructor(connection: Connection);
12
- static CREATE_MONGO_CONDITIONS(params: factory.creativeWork.noteDigitalDocument.ISearchConditions): FilterQuery<import("@chevre/factory/lib/creativeWork/noteDigitalDocument").INoteDigitalDocument>[];
12
+ static CREATE_MONGO_CONDITIONS(params: factory.creativeWork.noteDigitalDocument.ISearchConditions): FilterQuery<import("@chevre/factory/lib/chevre/creativeWork/noteDigitalDocument").INoteDigitalDocument>[];
13
13
  findNotes(params: factory.creativeWork.noteDigitalDocument.ISearchConditions, inclusion: IKeyOfProjection[]): Promise<(INoteDigitalDocument & {
14
14
  id: string;
15
15
  })[]>;
@@ -9,7 +9,7 @@ type IKeyOfProjection = keyof INoteAboutOrder;
9
9
  export declare class NoteAboutOrderRepo {
10
10
  private readonly noteModel;
11
11
  constructor(connection: Connection);
12
- static CREATE_MONGO_CONDITIONS(params: factory.creativeWork.noteDigitalDocument.ISearchConditions): FilterQuery<import("@chevre/factory/lib/creativeWork/noteDigitalDocument").INoteAboutOrder>[];
12
+ static CREATE_MONGO_CONDITIONS(params: factory.creativeWork.noteDigitalDocument.ISearchConditions): FilterQuery<import("@chevre/factory/lib/chevre/creativeWork/noteDigitalDocument").INoteAboutOrder>[];
13
13
  /**
14
14
  * 検索
15
15
  */
@@ -14,7 +14,7 @@ export declare class PaymentServiceRepo {
14
14
  private readonly paymentServiceModel;
15
15
  private readonly paymentServiceChannelModel;
16
16
  constructor(connection: Connection);
17
- static CREATE_MONGO_CONDITIONS(params: ISearchConditions4paymentService): FilterQuery<import("@chevre/factory/lib/service/paymentService").IService>[];
17
+ static CREATE_MONGO_CONDITIONS(params: ISearchConditions4paymentService): FilterQuery<import("@chevre/factory/lib/chevre/service/paymentService").IService>[];
18
18
  /**
19
19
  * 決済サービスを保管する
20
20
  */
@@ -6,7 +6,7 @@ import { factory } from '../../factory';
6
6
  export declare class BusStopRepo {
7
7
  private readonly civicStructureModel;
8
8
  constructor(connection: Connection);
9
- static CREATE_BUS_STOP_MONGO_CONDITIONS(params: factory.place.busStop.ISearchConditions): FilterQuery<import("@chevre/factory/lib/place/busStop").IPlace>[];
9
+ static CREATE_BUS_STOP_MONGO_CONDITIONS(params: factory.place.busStop.ISearchConditions): FilterQuery<import("@chevre/factory/lib/chevre/place/busStop").IPlace>[];
10
10
  saveBusStop(params: factory.place.busStop.IPlace): Promise<factory.place.busStop.IPlace>;
11
11
  findBusStopByBranchCode(params: {
12
12
  project: {
@@ -29,7 +29,7 @@ interface IUpsertOptions {
29
29
  export declare class MovieTheaterRepo {
30
30
  private readonly civicStructureModel;
31
31
  constructor(connection: Connection);
32
- static CREATE_MOVIE_THEATER_MONGO_CONDITIONS(params: factory.place.movieTheater.ISearchConditions): FilterQuery<import("@chevre/factory/lib/place/movieTheater").IPlace>[];
32
+ static CREATE_MOVIE_THEATER_MONGO_CONDITIONS(params: factory.place.movieTheater.ISearchConditions): FilterQuery<import("@chevre/factory/lib/chevre/place/movieTheater").IPlace>[];
33
33
  /**
34
34
  * 施設を保管する
35
35
  */
@@ -95,13 +95,13 @@ export declare class MovieTheaterRepo {
95
95
  id: string;
96
96
  };
97
97
  }): Promise<void>;
98
- getCursor(conditions: FilterQuery<any>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/place/movieTheater").IPlace, "id"> & {
98
+ getCursor(conditions: FilterQuery<any>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/place/movieTheater").IPlace, "id"> & {
99
99
  hasPOS?: factory.place.movieTheater.IPOS[];
100
100
  } & {
101
101
  _id: import("mongoose").Types.ObjectId;
102
102
  } & {
103
103
  __v: number;
104
- }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/place/movieTheater").IPlace, "id"> & {
104
+ }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/place/movieTheater").IPlace, "id"> & {
105
105
  hasPOS?: factory.place.movieTheater.IPOS[];
106
106
  } & {
107
107
  _id: import("mongoose").Types.ObjectId;
@@ -124,22 +124,22 @@ export declare class ScreeningRoomRepo {
124
124
  id: string;
125
125
  };
126
126
  }): Promise<void>;
127
- getCursor(conditions: FilterQuery<any>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/place/screeningRoom").IPlace, "containsPlace"> & {
127
+ getCursor(conditions: FilterQuery<any>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/place/screeningRoom").IPlace, "containsPlace"> & {
128
128
  description?: any;
129
129
  openingHoursSpecification?: any;
130
130
  smokingAllowed?: boolean;
131
- containsPlace: (Pick<import("@chevre/factory/lib/place/screeningRoomSection").IPlace, "name" | "typeOf" | "additionalProperty" | "branchCode"> & {
131
+ containsPlace: (Pick<import("@chevre/factory/lib/chevre/place/screeningRoomSection").IPlace, "name" | "typeOf" | "additionalProperty" | "branchCode"> & {
132
132
  containsPlace?: factory.place.seat.IPlace[];
133
133
  })[];
134
134
  } & {
135
135
  _id: import("mongoose").Types.ObjectId;
136
136
  } & {
137
137
  __v: number;
138
- }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/place/screeningRoom").IPlace, "containsPlace"> & {
138
+ }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/place/screeningRoom").IPlace, "containsPlace"> & {
139
139
  description?: any;
140
140
  openingHoursSpecification?: any;
141
141
  smokingAllowed?: boolean;
142
- containsPlace: (Pick<import("@chevre/factory/lib/place/screeningRoomSection").IPlace, "name" | "typeOf" | "additionalProperty" | "branchCode"> & {
142
+ containsPlace: (Pick<import("@chevre/factory/lib/chevre/place/screeningRoomSection").IPlace, "name" | "typeOf" | "additionalProperty" | "branchCode"> & {
143
143
  containsPlace?: factory.place.seat.IPlace[];
144
144
  })[];
145
145
  } & {
@@ -38,13 +38,13 @@ export declare class PriceSpecificationRepo {
38
38
  }): Promise<void>;
39
39
  getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & (({
40
40
  project?: Pick<factory.project.IProject, "id" | "typeOf"> | undefined;
41
- name?: (string | import("@chevre/factory/lib/multilingualString").IMultilingualString) | undefined;
41
+ name?: (string | import("@chevre/factory/lib/chevre/multilingualString").IMultilingualString) | undefined;
42
42
  price: number;
43
43
  priceCurrency: factory.priceCurrency;
44
44
  typeOf: factory.priceSpecificationType.CategoryCodeChargeSpecification;
45
45
  valueAddedTaxIncluded: boolean;
46
46
  accounting?: never | undefined;
47
- appliesToCategoryCode: import("@chevre/factory/lib/priceSpecification/categoryCodeChargeSpecification").IAppliesToCategoryCode[];
47
+ appliesToCategoryCode: import("@chevre/factory/lib/chevre/priceSpecification/categoryCodeChargeSpecification").IAppliesToCategoryCode[];
48
48
  } & {
49
49
  validFrom?: Date;
50
50
  validThrough?: Date;
@@ -54,13 +54,13 @@ export declare class PriceSpecificationRepo {
54
54
  __v: number;
55
55
  }) | ({
56
56
  project?: Pick<factory.project.IProject, "id" | "typeOf"> | undefined;
57
- name?: (string | import("@chevre/factory/lib/multilingualString").IMultilingualString) | undefined;
57
+ name?: (string | import("@chevre/factory/lib/chevre/multilingualString").IMultilingualString) | undefined;
58
58
  price: number;
59
59
  priceCurrency: factory.priceCurrency;
60
60
  typeOf: factory.priceSpecificationType.MovieTicketTypeChargeSpecification;
61
61
  valueAddedTaxIncluded: boolean;
62
62
  accounting?: never | undefined;
63
- appliesToMovieTicket: import("@chevre/factory/lib/priceSpecification/movieTicketTypeChargeSpecification").IAppliesToMovieTicket;
63
+ appliesToMovieTicket: import("@chevre/factory/lib/chevre/priceSpecification/movieTicketTypeChargeSpecification").IAppliesToMovieTicket;
64
64
  appliesToVideoFormat: string;
65
65
  } & {
66
66
  validFrom?: Date;
@@ -71,13 +71,13 @@ export declare class PriceSpecificationRepo {
71
71
  __v: number;
72
72
  })), import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & (({
73
73
  project?: Pick<factory.project.IProject, "id" | "typeOf"> | undefined;
74
- name?: (string | import("@chevre/factory/lib/multilingualString").IMultilingualString) | undefined;
74
+ name?: (string | import("@chevre/factory/lib/chevre/multilingualString").IMultilingualString) | undefined;
75
75
  price: number;
76
76
  priceCurrency: factory.priceCurrency;
77
77
  typeOf: factory.priceSpecificationType.CategoryCodeChargeSpecification;
78
78
  valueAddedTaxIncluded: boolean;
79
79
  accounting?: never | undefined;
80
- appliesToCategoryCode: import("@chevre/factory/lib/priceSpecification/categoryCodeChargeSpecification").IAppliesToCategoryCode[];
80
+ appliesToCategoryCode: import("@chevre/factory/lib/chevre/priceSpecification/categoryCodeChargeSpecification").IAppliesToCategoryCode[];
81
81
  } & {
82
82
  validFrom?: Date;
83
83
  validThrough?: Date;
@@ -87,13 +87,13 @@ export declare class PriceSpecificationRepo {
87
87
  __v: number;
88
88
  }) | ({
89
89
  project?: Pick<factory.project.IProject, "id" | "typeOf"> | undefined;
90
- name?: (string | import("@chevre/factory/lib/multilingualString").IMultilingualString) | undefined;
90
+ name?: (string | import("@chevre/factory/lib/chevre/multilingualString").IMultilingualString) | undefined;
91
91
  price: number;
92
92
  priceCurrency: factory.priceCurrency;
93
93
  typeOf: factory.priceSpecificationType.MovieTicketTypeChargeSpecification;
94
94
  valueAddedTaxIncluded: boolean;
95
95
  accounting?: never | undefined;
96
- appliesToMovieTicket: import("@chevre/factory/lib/priceSpecification/movieTicketTypeChargeSpecification").IAppliesToMovieTicket;
96
+ appliesToMovieTicket: import("@chevre/factory/lib/chevre/priceSpecification/movieTicketTypeChargeSpecification").IAppliesToMovieTicket;
97
97
  appliesToVideoFormat: string;
98
98
  } & {
99
99
  validFrom?: Date;
@@ -143,7 +143,7 @@ export declare class ReservationRepo {
143
143
  $in: string[];
144
144
  };
145
145
  }): Promise<string[]>;
146
- getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/reservation/event").IReservation, "id"> & {
146
+ getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/reservation/event").IReservation, "id"> & {
147
147
  _id: string;
148
148
  bookingAgent?: any;
149
149
  previousReservationStatus?: factory.reservationStatusType;
@@ -151,7 +151,7 @@ export declare class ReservationRepo {
151
151
  _id: string;
152
152
  }> & {
153
153
  __v: number;
154
- }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/reservation/event").IReservation, "id"> & {
154
+ }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/reservation/event").IReservation, "id"> & {
155
155
  _id: string;
156
156
  bookingAgent?: any;
157
157
  previousReservationStatus?: factory.reservationStatusType;
@@ -25,14 +25,14 @@ export declare class RoleRepo {
25
25
  };
26
26
  permission: string;
27
27
  }): Promise<(import("mongoose").FlattenMaps<{
28
- typeOf: import("@chevre/factory/lib/role").RoleType;
28
+ typeOf: import("@chevre/factory/lib/chevre/role").RoleType;
29
29
  memberOf: {
30
30
  typeOf: factory.organizationType.Corporation | factory.organizationType.Project;
31
31
  };
32
32
  member: {
33
- typeOf: import("@chevre/factory/lib/role/organizationRole").IMemberType;
33
+ typeOf: import("@chevre/factory/lib/chevre/role/organizationRole").IMemberType;
34
34
  };
35
- roleName: import("@chevre/factory/lib/role/organizationRole").RoleName;
35
+ roleName: import("@chevre/factory/lib/chevre/role/organizationRole").RoleName;
36
36
  permissions: string[];
37
37
  }> & {
38
38
  _id: import("mongoose").Types.ObjectId;
@@ -45,14 +45,14 @@ export declare class RoleRepo {
45
45
  };
46
46
  permission: string;
47
47
  }): Promise<(import("mongoose").FlattenMaps<{
48
- typeOf: import("@chevre/factory/lib/role").RoleType;
48
+ typeOf: import("@chevre/factory/lib/chevre/role").RoleType;
49
49
  memberOf: {
50
50
  typeOf: factory.organizationType.Corporation | factory.organizationType.Project;
51
51
  };
52
52
  member: {
53
- typeOf: import("@chevre/factory/lib/role/organizationRole").IMemberType;
53
+ typeOf: import("@chevre/factory/lib/chevre/role/organizationRole").IMemberType;
54
54
  };
55
- roleName: import("@chevre/factory/lib/role/organizationRole").RoleName;
55
+ roleName: import("@chevre/factory/lib/chevre/role/organizationRole").RoleName;
56
56
  permissions: string[];
57
57
  }> & {
58
58
  _id: import("mongoose").Types.ObjectId;
@@ -60,14 +60,14 @@ export declare class RoleRepo {
60
60
  __v: number;
61
61
  }) | null>;
62
62
  addMember(params: Pick<IRole, 'member' | 'memberOf' | 'roleName'>): Promise<(import("mongoose").FlattenMaps<{
63
- typeOf: import("@chevre/factory/lib/role").RoleType;
63
+ typeOf: import("@chevre/factory/lib/chevre/role").RoleType;
64
64
  memberOf: {
65
65
  typeOf: factory.organizationType.Corporation | factory.organizationType.Project;
66
66
  };
67
67
  member: {
68
- typeOf: import("@chevre/factory/lib/role/organizationRole").IMemberType;
68
+ typeOf: import("@chevre/factory/lib/chevre/role/organizationRole").IMemberType;
69
69
  };
70
- roleName: import("@chevre/factory/lib/role/organizationRole").RoleName;
70
+ roleName: import("@chevre/factory/lib/chevre/role/organizationRole").RoleName;
71
71
  permissions: string[];
72
72
  }> & {
73
73
  _id: import("mongoose").Types.ObjectId;
@@ -31,7 +31,7 @@ type ICreatingTask = Pick<factory.task.IAttributes<factory.taskName>, 'data' | '
31
31
  export declare class TaskRepo {
32
32
  readonly taskModel: IModel;
33
33
  constructor(connection: Connection);
34
- static CREATE_MONGO_CONDITIONS(params: factory.task.ISearchConditions): FilterQuery<import("@chevre/factory/lib/task").ITask | import("@chevre/factory/lib/task/confirmRegisterService").ITask | import("@chevre/factory/lib/task/confirmPayTransaction").ITask | import("@chevre/factory/lib/task/confirmRegisterServiceTransaction").ITask | import("@chevre/factory/lib/task/confirmReserveTransaction").ITask | import("@chevre/factory/lib/task/createAccountingReport").ITask | import("@chevre/factory/lib/task/deletePerson").ITask | import("@chevre/factory/lib/task/deleteTransaction").ITask | import("@chevre/factory/lib/task/givePointAward").ITask | import("@chevre/factory/lib/task/onAssetTransactionStatusChanged").ITask | import("@chevre/factory/lib/task/onAuthorizationCreated").ITask | import("@chevre/factory/lib/task/onEventChanged").ITask | import("@chevre/factory/lib/task/onResourceDeleted").ITask | import("@chevre/factory/lib/task/onResourceUpdated").ITask | import("@chevre/factory/lib/task/onOrderPaymentCompleted").ITask | import("@chevre/factory/lib/task/placeOrder").ITask | import("@chevre/factory/lib/task/returnOrder").ITask | import("@chevre/factory/lib/task/returnPayTransaction").ITask | import("@chevre/factory/lib/task/returnPointAward").ITask | import("@chevre/factory/lib/task/returnReserveTransaction").ITask | import("@chevre/factory/lib/task/sendEmailMessage").ITask | import("@chevre/factory/lib/task/sendOrder").ITask | import("@chevre/factory/lib/task/triggerWebhook").ITask | import("@chevre/factory/lib/task/useReservation").ITask | import("@chevre/factory/lib/task/voidPayTransaction").ITask | import("@chevre/factory/lib/task/voidRegisterServiceTransaction").ITask | import("@chevre/factory/lib/task/voidReserveTransaction").ITask>[];
34
+ static CREATE_MONGO_CONDITIONS(params: factory.task.ISearchConditions): FilterQuery<import("@chevre/factory/lib/chevre/task").ITask | import("@chevre/factory/lib/chevre/task/confirmRegisterService").ITask | import("@chevre/factory/lib/chevre/task/confirmPayTransaction").ITask | import("@chevre/factory/lib/chevre/task/confirmRegisterServiceTransaction").ITask | import("@chevre/factory/lib/chevre/task/confirmReserveTransaction").ITask | import("@chevre/factory/lib/chevre/task/createAccountingReport").ITask | import("@chevre/factory/lib/chevre/task/deletePerson").ITask | import("@chevre/factory/lib/chevre/task/deleteTransaction").ITask | import("@chevre/factory/lib/chevre/task/givePointAward").ITask | import("@chevre/factory/lib/chevre/task/onAssetTransactionStatusChanged").ITask | import("@chevre/factory/lib/chevre/task/onAuthorizationCreated").ITask | import("@chevre/factory/lib/chevre/task/onEventChanged").ITask | import("@chevre/factory/lib/chevre/task/onResourceDeleted").ITask | import("@chevre/factory/lib/chevre/task/onResourceUpdated").ITask | import("@chevre/factory/lib/chevre/task/onOrderPaymentCompleted").ITask | import("@chevre/factory/lib/chevre/task/placeOrder").ITask | import("@chevre/factory/lib/chevre/task/returnOrder").ITask | import("@chevre/factory/lib/chevre/task/returnPayTransaction").ITask | import("@chevre/factory/lib/chevre/task/returnPointAward").ITask | import("@chevre/factory/lib/chevre/task/returnReserveTransaction").ITask | import("@chevre/factory/lib/chevre/task/sendEmailMessage").ITask | import("@chevre/factory/lib/chevre/task/sendOrder").ITask | import("@chevre/factory/lib/chevre/task/triggerWebhook").ITask | import("@chevre/factory/lib/chevre/task/useReservation").ITask | import("@chevre/factory/lib/chevre/task/voidPayTransaction").ITask | import("@chevre/factory/lib/chevre/task/voidRegisterServiceTransaction").ITask | import("@chevre/factory/lib/chevre/task/voidReserveTransaction").ITask>[];
35
35
  runImmediately(params: Pick<factory.task.IAttributes<factory.taskName>, 'data' | 'expires' | 'name' | 'project' | 'remainingNumberOfTries' | 'runsAt'> & {
36
36
  alternateName?: never;
37
37
  identifier?: never;
@@ -23,7 +23,7 @@ export type IStartedPlaceOrder = Pick<factory.transaction.ITransaction<factory.t
23
23
  export declare class PlaceOrderRepo {
24
24
  private readonly transactionModel;
25
25
  constructor(connection: Connection);
26
- static CREATE_MONGO_CONDITIONS(params: factory.transaction.ISearchConditions<factory.transactionType.PlaceOrder>): FilterQuery<import("@chevre/factory/lib/transaction/placeOrder").ITransaction>[];
26
+ static CREATE_MONGO_CONDITIONS(params: factory.transaction.ISearchConditions<factory.transactionType.PlaceOrder>): FilterQuery<import("@chevre/factory/lib/chevre/transaction/placeOrder").ITransaction>[];
27
27
  countPlaceOrder(params: factory.transaction.ISearchConditions<factory.transactionType.PlaceOrder>): Promise<{
28
28
  count: number;
29
29
  }>;
@@ -9,7 +9,7 @@ export type IStartedTransaction = Pick<factory.transaction.ITransaction<factory.
9
9
  export declare class ReturnOrderRepo {
10
10
  private readonly transactionModel;
11
11
  constructor(connection: Connection);
12
- static CREATE_MONGO_CONDITIONS(params: factory.transaction.ISearchConditions<factory.transactionType.ReturnOrder>): FilterQuery<import("@chevre/factory/lib/transaction/returnOrder").ITransaction>[];
12
+ static CREATE_MONGO_CONDITIONS(params: factory.transaction.ISearchConditions<factory.transactionType.ReturnOrder>): FilterQuery<import("@chevre/factory/lib/chevre/transaction/returnOrder").ITransaction>[];
13
13
  countReturnOrder(params: factory.transaction.ISearchConditions<factory.transactionType.ReturnOrder>): Promise<{
14
14
  count: number;
15
15
  }>;
@@ -73,7 +73,7 @@ export declare class TransactionRepo {
73
73
  $in: factory.transactionStatusType[];
74
74
  };
75
75
  limit: number;
76
- }): Promise<Pick<import("@chevre/factory/lib/transaction/placeOrder").ITransaction | import("@chevre/factory/lib/transaction/returnOrder").ITransaction, "id" | "typeOf" | "status">[]>;
76
+ }): Promise<Pick<import("@chevre/factory/lib/chevre/transaction/placeOrder").ITransaction | import("@chevre/factory/lib/chevre/transaction/returnOrder").ITransaction, "id" | "typeOf" | "status">[]>;
77
77
  /**
78
78
  * set task status exported by transaction id
79
79
  * IDでタスクをエクスポート済に変更する
@@ -127,77 +127,77 @@ export declare class TransactionRepo {
127
127
  };
128
128
  }): Promise<import("mongodb").DeleteResult>;
129
129
  getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & (({
130
- object: import("@chevre/factory/lib/transaction/placeOrder").IObject;
130
+ object: import("@chevre/factory/lib/chevre/transaction/placeOrder").IObject;
131
131
  error?: any;
132
- project: import("@chevre/factory/lib/transaction").IProject;
133
- seller: import("@chevre/factory/lib/transaction/placeOrder").ISeller;
132
+ project: import("@chevre/factory/lib/chevre/transaction").IProject;
133
+ seller: import("@chevre/factory/lib/chevre/transaction/placeOrder").ISeller;
134
134
  typeOf: factory.transactionType.PlaceOrder;
135
135
  expires: Date;
136
- result?: import("@chevre/factory/lib/transaction/placeOrder").IResult | undefined;
136
+ result?: import("@chevre/factory/lib/chevre/transaction/placeOrder").IResult | undefined;
137
137
  startDate: Date;
138
138
  endDate?: Date | undefined;
139
139
  status: factory.transactionStatusType;
140
- agent: import("@chevre/factory/lib/transaction/placeOrder").IAgent;
141
- instrument?: import("@chevre/factory/lib/transaction/placeOrder").IInstrument | undefined;
142
- potentialActions?: import("@chevre/factory/lib/transaction/placeOrder").IPotentialActions | undefined;
143
- tasksExportAction?: import("@chevre/factory/lib/transaction").ITasksExportAction | undefined;
140
+ agent: import("@chevre/factory/lib/chevre/transaction/placeOrder").IAgent;
141
+ instrument?: import("@chevre/factory/lib/chevre/transaction/placeOrder").IInstrument | undefined;
142
+ potentialActions?: import("@chevre/factory/lib/chevre/transaction/placeOrder").IPotentialActions | undefined;
143
+ tasksExportAction?: import("@chevre/factory/lib/chevre/transaction").ITasksExportAction | undefined;
144
144
  } & {
145
145
  _id: import("mongoose").Types.ObjectId;
146
146
  } & {
147
147
  __v: number;
148
148
  }) | ({
149
- object: import("@chevre/factory/lib/transaction/returnOrder").IObject;
149
+ object: import("@chevre/factory/lib/chevre/transaction/returnOrder").IObject;
150
150
  error?: any;
151
- project: import("@chevre/factory/lib/transaction").IProject;
152
- seller: import("@chevre/factory/lib/transaction").ISeller;
151
+ project: import("@chevre/factory/lib/chevre/transaction").IProject;
152
+ seller: import("@chevre/factory/lib/chevre/transaction").ISeller;
153
153
  typeOf: factory.transactionType.ReturnOrder;
154
154
  expires: Date;
155
- result?: import("@chevre/factory/lib/transaction/returnOrder").IResult | undefined;
155
+ result?: import("@chevre/factory/lib/chevre/transaction/returnOrder").IResult | undefined;
156
156
  startDate: Date;
157
157
  endDate?: Date | undefined;
158
158
  status: factory.transactionStatusType;
159
- agent: import("@chevre/factory/lib/transaction").IAgent;
160
- potentialActions?: import("@chevre/factory/lib/transaction/returnOrder").IPotentialActions | undefined;
159
+ agent: import("@chevre/factory/lib/chevre/transaction").IAgent;
160
+ potentialActions?: import("@chevre/factory/lib/chevre/transaction/returnOrder").IPotentialActions | undefined;
161
161
  recipient?: undefined;
162
- tasksExportAction?: import("@chevre/factory/lib/transaction").ITasksExportAction | undefined;
162
+ tasksExportAction?: import("@chevre/factory/lib/chevre/transaction").ITasksExportAction | undefined;
163
163
  } & {
164
164
  _id: import("mongoose").Types.ObjectId;
165
165
  } & {
166
166
  __v: number;
167
167
  })), import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & (({
168
- object: import("@chevre/factory/lib/transaction/placeOrder").IObject;
168
+ object: import("@chevre/factory/lib/chevre/transaction/placeOrder").IObject;
169
169
  error?: any;
170
- project: import("@chevre/factory/lib/transaction").IProject;
171
- seller: import("@chevre/factory/lib/transaction/placeOrder").ISeller;
170
+ project: import("@chevre/factory/lib/chevre/transaction").IProject;
171
+ seller: import("@chevre/factory/lib/chevre/transaction/placeOrder").ISeller;
172
172
  typeOf: factory.transactionType.PlaceOrder;
173
173
  expires: Date;
174
- result?: import("@chevre/factory/lib/transaction/placeOrder").IResult | undefined;
174
+ result?: import("@chevre/factory/lib/chevre/transaction/placeOrder").IResult | undefined;
175
175
  startDate: Date;
176
176
  endDate?: Date | undefined;
177
177
  status: factory.transactionStatusType;
178
- agent: import("@chevre/factory/lib/transaction/placeOrder").IAgent;
179
- instrument?: import("@chevre/factory/lib/transaction/placeOrder").IInstrument | undefined;
180
- potentialActions?: import("@chevre/factory/lib/transaction/placeOrder").IPotentialActions | undefined;
181
- tasksExportAction?: import("@chevre/factory/lib/transaction").ITasksExportAction | undefined;
178
+ agent: import("@chevre/factory/lib/chevre/transaction/placeOrder").IAgent;
179
+ instrument?: import("@chevre/factory/lib/chevre/transaction/placeOrder").IInstrument | undefined;
180
+ potentialActions?: import("@chevre/factory/lib/chevre/transaction/placeOrder").IPotentialActions | undefined;
181
+ tasksExportAction?: import("@chevre/factory/lib/chevre/transaction").ITasksExportAction | undefined;
182
182
  } & {
183
183
  _id: import("mongoose").Types.ObjectId;
184
184
  } & {
185
185
  __v: number;
186
186
  }) | ({
187
- object: import("@chevre/factory/lib/transaction/returnOrder").IObject;
187
+ object: import("@chevre/factory/lib/chevre/transaction/returnOrder").IObject;
188
188
  error?: any;
189
- project: import("@chevre/factory/lib/transaction").IProject;
190
- seller: import("@chevre/factory/lib/transaction").ISeller;
189
+ project: import("@chevre/factory/lib/chevre/transaction").IProject;
190
+ seller: import("@chevre/factory/lib/chevre/transaction").ISeller;
191
191
  typeOf: factory.transactionType.ReturnOrder;
192
192
  expires: Date;
193
- result?: import("@chevre/factory/lib/transaction/returnOrder").IResult | undefined;
193
+ result?: import("@chevre/factory/lib/chevre/transaction/returnOrder").IResult | undefined;
194
194
  startDate: Date;
195
195
  endDate?: Date | undefined;
196
196
  status: factory.transactionStatusType;
197
- agent: import("@chevre/factory/lib/transaction").IAgent;
198
- potentialActions?: import("@chevre/factory/lib/transaction/returnOrder").IPotentialActions | undefined;
197
+ agent: import("@chevre/factory/lib/chevre/transaction").IAgent;
198
+ potentialActions?: import("@chevre/factory/lib/chevre/transaction/returnOrder").IPotentialActions | undefined;
199
199
  recipient?: undefined;
200
- tasksExportAction?: import("@chevre/factory/lib/transaction").ITasksExportAction | undefined;
200
+ tasksExportAction?: import("@chevre/factory/lib/chevre/transaction").ITasksExportAction | undefined;
201
201
  } & {
202
202
  _id: import("mongoose").Types.ObjectId;
203
203
  } & {
@@ -17,8 +17,8 @@ export declare function validateStartParams(params: IStartParams): (repos: {
17
17
  reservation: ReservationRepo;
18
18
  assetTransaction: AssetTransactionRepo;
19
19
  }) => Promise<{
20
- reserveTransaction: import("@chevre/factory/lib/assetTransaction/reserve").ITransaction | undefined;
21
- reservations: (Pick<import("@chevre/factory/lib/reservation/event").IReservation, "id" | "typeOf" | "reservationNumber" | "issuedThrough"> & {
20
+ reserveTransaction: import("@chevre/factory/lib/chevre/assetTransaction/reserve").ITransaction | undefined;
21
+ reservations: (Pick<import("@chevre/factory/lib/chevre/reservation/event").IReservation, "id" | "typeOf" | "reservationNumber" | "issuedThrough"> & {
22
22
  reservationFor: Pick<factory.reservation.eventReservation.IReservationForMinimized, "id" | "typeOf">;
23
23
  })[] | undefined;
24
24
  }>;
@@ -6,7 +6,7 @@ declare function notifyByEmail(params: {
6
6
  }): (__: Record<string, never>, credentials: {
7
7
  sendGrid: SendGridCredentials;
8
8
  }) => Promise<{
9
- result: import("@chevre/factory/lib/action/transfer/send/message/email").IResult;
9
+ result: import("@chevre/factory/lib/chevre/action/transfer/send/message/email").IResult;
10
10
  }>;
11
11
  type LineNotifyLogLevel = 'log' | 'error' | 'info';
12
12
  export { notifyByEmail };
@@ -7,5 +7,5 @@ import { factory } from '../../../../factory';
7
7
  */
8
8
  declare function createOnOrderCancelledTasksByTransaction(params: {
9
9
  transaction: Pick<factory.transaction.placeOrder.ITransaction, 'id' | 'project' | 'typeOf'>;
10
- }): (import("@chevre/factory/lib/task").ITaskAttributes | import("@chevre/factory/lib/task/confirmRegisterService").IAttributes | import("@chevre/factory/lib/task/confirmPayTransaction").IAttributes | import("@chevre/factory/lib/task/confirmRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/task/confirmReserveTransaction").IAttributes | import("@chevre/factory/lib/task/createAccountingReport").IAttributes | import("@chevre/factory/lib/task/deletePerson").IAttributes | import("@chevre/factory/lib/task/deleteTransaction").IAttributes | import("@chevre/factory/lib/task/givePointAward").IAttributes | import("@chevre/factory/lib/task/onAssetTransactionStatusChanged").IAttributes | import("@chevre/factory/lib/task/onAuthorizationCreated").IAttributes | import("@chevre/factory/lib/task/onEventChanged").IAttributes | import("@chevre/factory/lib/task/onResourceDeleted").IAttributes | import("@chevre/factory/lib/task/onResourceUpdated").IAttributes | import("@chevre/factory/lib/task/onOrderPaymentCompleted").IAttributes | import("@chevre/factory/lib/task/placeOrder").IAttributes | import("@chevre/factory/lib/task/returnOrder").IAttributes | import("@chevre/factory/lib/task/returnPayTransaction").IAttributes | import("@chevre/factory/lib/task/returnPointAward").IAttributes | import("@chevre/factory/lib/task/returnReserveTransaction").IAttributes | import("@chevre/factory/lib/task/sendEmailMessage").IAttributes | import("@chevre/factory/lib/task/sendOrder").IAttributes | import("@chevre/factory/lib/task/triggerWebhook").IAttributes | import("@chevre/factory/lib/task/useReservation").IAttributes | import("@chevre/factory/lib/task/voidPayTransaction").IAttributes | import("@chevre/factory/lib/task/voidRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/task/voidReserveTransaction").IAttributes)[];
10
+ }): (import("@chevre/factory/lib/chevre/task").ITaskAttributes | import("@chevre/factory/lib/chevre/task/confirmRegisterService").IAttributes | import("@chevre/factory/lib/chevre/task/confirmPayTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/confirmRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/confirmReserveTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/createAccountingReport").IAttributes | import("@chevre/factory/lib/chevre/task/deletePerson").IAttributes | import("@chevre/factory/lib/chevre/task/deleteTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/givePointAward").IAttributes | import("@chevre/factory/lib/chevre/task/onAssetTransactionStatusChanged").IAttributes | import("@chevre/factory/lib/chevre/task/onAuthorizationCreated").IAttributes | import("@chevre/factory/lib/chevre/task/onEventChanged").IAttributes | import("@chevre/factory/lib/chevre/task/onResourceDeleted").IAttributes | import("@chevre/factory/lib/chevre/task/onResourceUpdated").IAttributes | import("@chevre/factory/lib/chevre/task/onOrderPaymentCompleted").IAttributes | import("@chevre/factory/lib/chevre/task/placeOrder").IAttributes | import("@chevre/factory/lib/chevre/task/returnOrder").IAttributes | import("@chevre/factory/lib/chevre/task/returnPayTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/returnPointAward").IAttributes | import("@chevre/factory/lib/chevre/task/returnReserveTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/sendEmailMessage").IAttributes | import("@chevre/factory/lib/chevre/task/sendOrder").IAttributes | import("@chevre/factory/lib/chevre/task/triggerWebhook").IAttributes | import("@chevre/factory/lib/chevre/task/useReservation").IAttributes | import("@chevre/factory/lib/chevre/task/voidPayTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/voidRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/voidReserveTransaction").IAttributes)[];
11
11
  export { createOnOrderCancelledTasksByTransaction };
@@ -13,5 +13,5 @@ declare function createInformTasks(params: {
13
13
  }, setting: Pick<ISetting, 'onOrderStatusChanged'> | null): factory.task.IAttributes<factory.taskName.TriggerWebhook>[];
14
14
  declare function createNextSendOrderTasks(params: {
15
15
  order: IInTransitOrder;
16
- }): (import("@chevre/factory/lib/task").ITaskAttributes | import("@chevre/factory/lib/task/confirmRegisterService").IAttributes | import("@chevre/factory/lib/task/confirmPayTransaction").IAttributes | import("@chevre/factory/lib/task/confirmRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/task/confirmReserveTransaction").IAttributes | import("@chevre/factory/lib/task/createAccountingReport").IAttributes | import("@chevre/factory/lib/task/deletePerson").IAttributes | import("@chevre/factory/lib/task/deleteTransaction").IAttributes | import("@chevre/factory/lib/task/givePointAward").IAttributes | import("@chevre/factory/lib/task/onAssetTransactionStatusChanged").IAttributes | import("@chevre/factory/lib/task/onAuthorizationCreated").IAttributes | import("@chevre/factory/lib/task/onEventChanged").IAttributes | import("@chevre/factory/lib/task/onResourceDeleted").IAttributes | import("@chevre/factory/lib/task/onResourceUpdated").IAttributes | import("@chevre/factory/lib/task/onOrderPaymentCompleted").IAttributes | import("@chevre/factory/lib/task/placeOrder").IAttributes | import("@chevre/factory/lib/task/returnOrder").IAttributes | import("@chevre/factory/lib/task/returnPayTransaction").IAttributes | import("@chevre/factory/lib/task/returnPointAward").IAttributes | import("@chevre/factory/lib/task/returnReserveTransaction").IAttributes | import("@chevre/factory/lib/task/sendEmailMessage").IAttributes | import("@chevre/factory/lib/task/sendOrder").IAttributes | import("@chevre/factory/lib/task/triggerWebhook").IAttributes | import("@chevre/factory/lib/task/useReservation").IAttributes | import("@chevre/factory/lib/task/voidPayTransaction").IAttributes | import("@chevre/factory/lib/task/voidRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/task/voidReserveTransaction").IAttributes)[];
16
+ }): (import("@chevre/factory/lib/chevre/task").ITaskAttributes | import("@chevre/factory/lib/chevre/task/confirmRegisterService").IAttributes | import("@chevre/factory/lib/chevre/task/confirmPayTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/confirmRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/confirmReserveTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/createAccountingReport").IAttributes | import("@chevre/factory/lib/chevre/task/deletePerson").IAttributes | import("@chevre/factory/lib/chevre/task/deleteTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/givePointAward").IAttributes | import("@chevre/factory/lib/chevre/task/onAssetTransactionStatusChanged").IAttributes | import("@chevre/factory/lib/chevre/task/onAuthorizationCreated").IAttributes | import("@chevre/factory/lib/chevre/task/onEventChanged").IAttributes | import("@chevre/factory/lib/chevre/task/onResourceDeleted").IAttributes | import("@chevre/factory/lib/chevre/task/onResourceUpdated").IAttributes | import("@chevre/factory/lib/chevre/task/onOrderPaymentCompleted").IAttributes | import("@chevre/factory/lib/chevre/task/placeOrder").IAttributes | import("@chevre/factory/lib/chevre/task/returnOrder").IAttributes | import("@chevre/factory/lib/chevre/task/returnPayTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/returnPointAward").IAttributes | import("@chevre/factory/lib/chevre/task/returnReserveTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/sendEmailMessage").IAttributes | import("@chevre/factory/lib/chevre/task/sendOrder").IAttributes | import("@chevre/factory/lib/chevre/task/triggerWebhook").IAttributes | import("@chevre/factory/lib/chevre/task/useReservation").IAttributes | import("@chevre/factory/lib/chevre/task/voidPayTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/voidRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/voidReserveTransaction").IAttributes)[];
17
17
  export { createInformTasks, createNextSendOrderTasks, IInTransitOrder };
@@ -11,5 +11,5 @@ declare function createInformTasks(order: IReturnedOrder, returnOrderAction: IRe
11
11
  declare function createOnOrderReturnedTasksByTransaction(params: {
12
12
  order: Pick<factory.order.IOrder, 'project' | 'typeOf' | 'orderNumber' | 'customer' | 'price' | 'priceCurrency' | 'orderDate'>;
13
13
  potentialActions?: factory.action.transfer.returnAction.order.IPotentialActions;
14
- }): (import("@chevre/factory/lib/task").ITaskAttributes | import("@chevre/factory/lib/task/confirmRegisterService").IAttributes | import("@chevre/factory/lib/task/confirmPayTransaction").IAttributes | import("@chevre/factory/lib/task/confirmRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/task/confirmReserveTransaction").IAttributes | import("@chevre/factory/lib/task/createAccountingReport").IAttributes | import("@chevre/factory/lib/task/deletePerson").IAttributes | import("@chevre/factory/lib/task/deleteTransaction").IAttributes | import("@chevre/factory/lib/task/givePointAward").IAttributes | import("@chevre/factory/lib/task/onAssetTransactionStatusChanged").IAttributes | import("@chevre/factory/lib/task/onAuthorizationCreated").IAttributes | import("@chevre/factory/lib/task/onEventChanged").IAttributes | import("@chevre/factory/lib/task/onResourceDeleted").IAttributes | import("@chevre/factory/lib/task/onResourceUpdated").IAttributes | import("@chevre/factory/lib/task/onOrderPaymentCompleted").IAttributes | import("@chevre/factory/lib/task/placeOrder").IAttributes | import("@chevre/factory/lib/task/returnOrder").IAttributes | import("@chevre/factory/lib/task/returnPayTransaction").IAttributes | import("@chevre/factory/lib/task/returnPointAward").IAttributes | import("@chevre/factory/lib/task/returnReserveTransaction").IAttributes | import("@chevre/factory/lib/task/sendEmailMessage").IAttributes | import("@chevre/factory/lib/task/sendOrder").IAttributes | import("@chevre/factory/lib/task/triggerWebhook").IAttributes | import("@chevre/factory/lib/task/useReservation").IAttributes | import("@chevre/factory/lib/task/voidPayTransaction").IAttributes | import("@chevre/factory/lib/task/voidRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/task/voidReserveTransaction").IAttributes)[];
14
+ }): (import("@chevre/factory/lib/chevre/task").ITaskAttributes | import("@chevre/factory/lib/chevre/task/confirmRegisterService").IAttributes | import("@chevre/factory/lib/chevre/task/confirmPayTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/confirmRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/confirmReserveTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/createAccountingReport").IAttributes | import("@chevre/factory/lib/chevre/task/deletePerson").IAttributes | import("@chevre/factory/lib/chevre/task/deleteTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/givePointAward").IAttributes | import("@chevre/factory/lib/chevre/task/onAssetTransactionStatusChanged").IAttributes | import("@chevre/factory/lib/chevre/task/onAuthorizationCreated").IAttributes | import("@chevre/factory/lib/chevre/task/onEventChanged").IAttributes | import("@chevre/factory/lib/chevre/task/onResourceDeleted").IAttributes | import("@chevre/factory/lib/chevre/task/onResourceUpdated").IAttributes | import("@chevre/factory/lib/chevre/task/onOrderPaymentCompleted").IAttributes | import("@chevre/factory/lib/chevre/task/placeOrder").IAttributes | import("@chevre/factory/lib/chevre/task/returnOrder").IAttributes | import("@chevre/factory/lib/chevre/task/returnPayTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/returnPointAward").IAttributes | import("@chevre/factory/lib/chevre/task/returnReserveTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/sendEmailMessage").IAttributes | import("@chevre/factory/lib/chevre/task/sendOrder").IAttributes | import("@chevre/factory/lib/chevre/task/triggerWebhook").IAttributes | import("@chevre/factory/lib/chevre/task/useReservation").IAttributes | import("@chevre/factory/lib/chevre/task/voidPayTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/voidRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/voidReserveTransaction").IAttributes)[];
15
15
  export { createInformTasks, createOnOrderReturnedTasksByTransaction, IReturnAction };
@@ -9,7 +9,7 @@ export declare function createMoneyTransferActions(params: {
9
9
  reservation: Pick<factory.assetTransaction.reserve.IObjectSubReservation, 'reservedTicket'>;
10
10
  transaction: factory.assetTransaction.ITransaction<factory.assetTransactionType.Reserve>;
11
11
  underName?: Pick<factory.reservation.IUnderName, 'id' | 'typeOf' | 'name'>;
12
- }): import("@chevre/factory/lib/action/transfer/moneyTransfer").IAttributes[];
12
+ }): import("@chevre/factory/lib/chevre/action/transfer/moneyTransfer").IAttributes[];
13
13
  export interface IPotentialCancelAction extends factory.action.cancel.reservation.IAttributes {
14
14
  purpose: {
15
15
  id: string;
@@ -56,7 +56,7 @@ declare function confirm(params: factory.transaction.returnOrder.IConfirmParams
56
56
  dateReturned: Date;
57
57
  };
58
58
  };
59
- }): (repos: IConfirmRepos) => Promise<import("@chevre/factory/lib/transaction/returnOrder").IResult | undefined>;
59
+ }): (repos: IConfirmRepos) => Promise<import("@chevre/factory/lib/chevre/transaction/returnOrder").IResult | undefined>;
60
60
  /**
61
61
  * 取引のタスクを出力します
62
62
  * 複数タスクが生成されます
package/package.json CHANGED
@@ -11,8 +11,8 @@
11
11
  "dependencies": {
12
12
  "@aws-sdk/client-cognito-identity-provider": "3.600.0",
13
13
  "@aws-sdk/credential-providers": "3.600.0",
14
- "@chevre/factory": "7.0.0-alpha.2",
15
- "@cinerino/sdk": "14.0.0-alpha.9",
14
+ "@chevre/factory": "7.0.0-alpha.4",
15
+ "@cinerino/sdk": "14.0.0-alpha.10",
16
16
  "@motionpicture/coa-service": "10.0.0",
17
17
  "@motionpicture/gmo-service": "6.0.0",
18
18
  "@sendgrid/client": "8.1.4",
@@ -96,5 +96,5 @@
96
96
  "postversion": "git push origin --tags",
97
97
  "prepublishOnly": "npm run clean && npm run build"
98
98
  },
99
- "version": "24.0.0-alpha.72"
99
+ "version": "24.0.0-alpha.73"
100
100
  }