@chevre/domain 21.2.0-alpha.2 → 21.2.0-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/example/src/chevre/aggregateEventReservation.ts +1 -1
- package/example/src/chevre/countDelayedTasks.ts +17 -0
- package/example/src/chevre/countDelayedTransactions.ts +60 -0
- package/example/src/chevre/countMoneyTransferTransaction.ts +36 -0
- package/example/src/chevre/createManyEventsIfNotExist.ts +4 -1
- package/example/src/chevre/lockStockHolder.ts +48 -0
- package/example/src/chevre/migrateOrderAdditionalProperties.ts +85 -0
- package/example/src/chevre/migrateStockHolderKeys.ts +89 -0
- package/example/src/chevre/processReserve.ts +2 -2
- package/example/src/chevre/searchEventSeats.ts +42 -0
- package/example/src/chevre/transaction/findCreditCard.ts +1 -1
- package/example/src/chevre/transaction/makeExpired.ts +18 -0
- package/example/src/chevre/transaction/orderMembershipService.ts +1 -1
- package/example/src/chevre/transaction/startExportTasks.ts +19 -0
- package/example/src/chevre/updateTransaction.ts +1 -1
- package/lib/chevre/eventEmitter/task.d.ts +18 -0
- package/lib/chevre/eventEmitter/task.js +28 -0
- package/lib/chevre/eventEmitter/transaction.d.ts +21 -0
- package/lib/chevre/eventEmitter/transaction.js +28 -0
- package/lib/chevre/eventEmitter.d.ts +3 -0
- package/lib/chevre/eventEmitter.js +7 -0
- package/lib/chevre/index.d.ts +3 -2
- package/lib/chevre/index.js +5 -3
- package/lib/chevre/repo/account.js +0 -4
- package/lib/chevre/repo/accountTitle.js +0 -4
- package/lib/chevre/repo/accountTransaction.d.ts +0 -10
- package/lib/chevre/repo/accountTransaction.js +0 -57
- package/lib/chevre/repo/accountingReport.js +0 -4
- package/lib/chevre/repo/action.js +0 -4
- package/lib/chevre/repo/additionalProperty.js +0 -4
- package/lib/chevre/repo/aggregation.js +0 -4
- package/lib/chevre/repo/assetTransaction.d.ts +4 -6
- package/lib/chevre/repo/assetTransaction.js +69 -45
- package/lib/chevre/repo/categoryCode.js +0 -4
- package/lib/chevre/repo/code.js +0 -4
- package/lib/chevre/repo/comment.js +0 -4
- package/lib/chevre/repo/confirmationNumber.js +1 -1
- package/lib/chevre/repo/creativeWork.d.ts +1 -3
- package/lib/chevre/repo/creativeWork.js +0 -4
- package/lib/chevre/repo/customer.js +0 -4
- package/lib/chevre/repo/emailMessage.d.ts +1 -27
- package/lib/chevre/repo/emailMessage.js +0 -4
- package/lib/chevre/repo/event.d.ts +5 -1
- package/lib/chevre/repo/event.js +0 -4
- package/lib/chevre/repo/member.js +0 -4
- package/lib/chevre/repo/merchantReturnPolicy.d.ts +1 -3
- package/lib/chevre/repo/merchantReturnPolicy.js +0 -4
- package/lib/chevre/repo/mongoose/schemas/account.d.ts +5 -2
- package/lib/chevre/repo/mongoose/schemas/account.js +1 -0
- package/lib/chevre/repo/mongoose/schemas/accountTitle.d.ts +30 -3
- package/lib/chevre/repo/mongoose/schemas/accountTitle.js +1 -0
- package/lib/chevre/repo/mongoose/schemas/accountTransaction.d.ts +32 -3
- package/lib/chevre/repo/mongoose/schemas/accountTransaction.js +2 -1
- package/lib/chevre/repo/mongoose/schemas/accountingReport.d.ts +14 -3
- package/lib/chevre/repo/mongoose/schemas/accountingReport.js +1 -0
- package/lib/chevre/repo/mongoose/schemas/action.d.ts +44 -3
- package/lib/chevre/repo/mongoose/schemas/action.js +2 -1
- package/lib/chevre/repo/mongoose/schemas/additionalProperty.d.ts +18 -3
- package/lib/chevre/repo/mongoose/schemas/additionalProperty.js +1 -0
- package/lib/chevre/repo/mongoose/schemas/aggregation.d.ts +5 -2
- package/lib/chevre/repo/mongoose/schemas/aggregation.js +1 -0
- package/lib/chevre/repo/mongoose/schemas/assetTransaction.d.ts +42 -3
- package/lib/chevre/repo/mongoose/schemas/assetTransaction.js +2 -1
- package/lib/chevre/repo/mongoose/schemas/authorization.d.ts +20 -3
- package/lib/chevre/repo/mongoose/schemas/authorization.js +2 -1
- package/lib/chevre/repo/mongoose/schemas/categoryCode.d.ts +26 -3
- package/lib/chevre/repo/mongoose/schemas/categoryCode.js +1 -0
- package/lib/chevre/repo/mongoose/schemas/comments.d.ts +28 -3
- package/lib/chevre/repo/mongoose/schemas/comments.js +2 -1
- package/lib/chevre/repo/mongoose/schemas/creativeWork.d.ts +44 -3
- package/lib/chevre/repo/mongoose/schemas/creativeWork.js +1 -0
- package/lib/chevre/repo/mongoose/schemas/customer.d.ts +26 -3
- package/lib/chevre/repo/mongoose/schemas/customer.js +1 -0
- package/lib/chevre/repo/mongoose/schemas/emailMessages.d.ts +22 -3
- package/lib/chevre/repo/mongoose/schemas/emailMessages.js +1 -0
- package/lib/chevre/repo/mongoose/schemas/event.d.ts +72 -3
- package/lib/chevre/repo/mongoose/schemas/event.js +1 -0
- package/lib/chevre/repo/mongoose/schemas/member.d.ts +14 -3
- package/lib/chevre/repo/mongoose/schemas/member.js +1 -0
- package/lib/chevre/repo/mongoose/schemas/merchantReturnPolicy.d.ts +22 -3
- package/lib/chevre/repo/mongoose/schemas/merchantReturnPolicy.js +1 -0
- package/lib/chevre/repo/mongoose/schemas/offer.d.ts +66 -3
- package/lib/chevre/repo/mongoose/schemas/offer.js +1 -0
- package/lib/chevre/repo/mongoose/schemas/offerCatalog.d.ts +28 -3
- package/lib/chevre/repo/mongoose/schemas/offerCatalog.js +1 -0
- package/lib/chevre/repo/mongoose/schemas/order.d.ts +52 -3
- package/lib/chevre/repo/mongoose/schemas/order.js +2 -1
- package/lib/chevre/repo/mongoose/schemas/ownershipInfo.d.ts +26 -3
- package/lib/chevre/repo/mongoose/schemas/ownershipInfo.js +2 -1
- package/lib/chevre/repo/mongoose/schemas/place.d.ts +50 -3
- package/lib/chevre/repo/mongoose/schemas/place.js +1 -0
- package/lib/chevre/repo/mongoose/schemas/priceSpecification.d.ts +30 -3
- package/lib/chevre/repo/mongoose/schemas/priceSpecification.js +1 -0
- package/lib/chevre/repo/mongoose/schemas/product.d.ts +32 -3
- package/lib/chevre/repo/mongoose/schemas/product.js +1 -0
- package/lib/chevre/repo/mongoose/schemas/project.d.ts +24 -3
- package/lib/chevre/repo/mongoose/schemas/project.js +1 -0
- package/lib/chevre/repo/mongoose/schemas/reservation.d.ts +62 -3
- package/lib/chevre/repo/mongoose/schemas/reservation.js +2 -1
- package/lib/chevre/repo/mongoose/schemas/role.d.ts +12 -3
- package/lib/chevre/repo/mongoose/schemas/role.js +1 -0
- package/lib/chevre/repo/mongoose/schemas/seller.d.ts +32 -3
- package/lib/chevre/repo/mongoose/schemas/seller.js +1 -0
- package/lib/chevre/repo/mongoose/schemas/serviceOutput.d.ts +12 -3
- package/lib/chevre/repo/mongoose/schemas/serviceOutput.js +2 -1
- package/lib/chevre/repo/mongoose/schemas/task.d.ts +31 -3
- package/lib/chevre/repo/mongoose/schemas/task.js +3 -1
- package/lib/chevre/repo/mongoose/schemas/telemetry.d.ts +22 -3
- package/lib/chevre/repo/mongoose/schemas/telemetry.js +1 -0
- package/lib/chevre/repo/mongoose/schemas/transaction.d.ts +38 -3
- package/lib/chevre/repo/mongoose/schemas/transaction.js +2 -1
- package/lib/chevre/repo/mongoose/schemas/trip.d.ts +12 -3
- package/lib/chevre/repo/mongoose/schemas/trip.js +1 -0
- package/lib/chevre/repo/offer.js +0 -5
- package/lib/chevre/repo/offerCatalog.js +0 -4
- package/lib/chevre/repo/order.d.ts +25 -0
- package/lib/chevre/repo/order.js +5 -4
- package/lib/chevre/repo/orderNumber.d.ts +0 -1
- package/lib/chevre/repo/orderNumber.js +2 -12
- package/lib/chevre/repo/ownershipInfo.js +0 -4
- package/lib/chevre/repo/permit.js +0 -4
- package/lib/chevre/repo/place.d.ts +5 -1
- package/lib/chevre/repo/place.js +1 -10
- package/lib/chevre/repo/priceSpecification.js +0 -4
- package/lib/chevre/repo/product.js +0 -4
- package/lib/chevre/repo/project.js +0 -4
- package/lib/chevre/repo/rateLimit/offer.d.ts +3 -2
- package/lib/chevre/repo/rateLimit/offer.js +14 -14
- package/lib/chevre/repo/reservation.js +0 -4
- package/lib/chevre/repo/role.js +0 -4
- package/lib/chevre/repo/seller.js +0 -4
- package/lib/chevre/repo/serviceOutput.js +0 -4
- package/lib/chevre/repo/serviceOutputIdentifier.d.ts +2 -1
- package/lib/chevre/repo/serviceOutputIdentifier.js +14 -15
- package/lib/chevre/repo/{itemAvailability/screeningEvent.d.ts → stockHolder.d.ts} +5 -6
- package/lib/chevre/repo/stockHolder.js +273 -0
- package/lib/chevre/repo/task.d.ts +17 -2
- package/lib/chevre/repo/task.js +61 -10
- package/lib/chevre/repo/telemetry.js +0 -4
- package/lib/chevre/repo/transaction.d.ts +3 -2
- package/lib/chevre/repo/transaction.js +116 -54
- package/lib/chevre/repo/transactionNumber.d.ts +2 -1
- package/lib/chevre/repo/transactionNumber.js +14 -15
- package/lib/chevre/repo/trip.js +0 -4
- package/lib/chevre/repository.d.ts +3 -5
- package/lib/chevre/repository.js +5 -8
- package/lib/chevre/service/aggregation/event/aggregateScreeningEvent.d.ts +2 -2
- package/lib/chevre/service/aggregation/event/aggregateScreeningEvent.js +4 -3
- package/lib/chevre/service/assetTransaction/cancelReservation.js +1 -5
- package/lib/chevre/service/assetTransaction/moneyTransfer.js +1 -1
- package/lib/chevre/service/assetTransaction/pay.js +2 -2
- package/lib/chevre/service/assetTransaction/refund.js +1 -1
- package/lib/chevre/service/assetTransaction/registerService.js +1 -2
- package/lib/chevre/service/assetTransaction/reserve.d.ts +4 -4
- package/lib/chevre/service/assetTransaction/reserve.js +8 -5
- package/lib/chevre/service/assetTransaction.d.ts +0 -2
- package/lib/chevre/service/assetTransaction.js +0 -1
- package/lib/chevre/service/offer/event/authorize.d.ts +2 -2
- package/lib/chevre/service/offer/event/cancel.d.ts +2 -2
- package/lib/chevre/service/offer/event/voidTransaction.d.ts +2 -2
- package/lib/chevre/service/offer.d.ts +2 -2
- package/lib/chevre/service/offer.js +5 -2
- package/lib/chevre/service/order/onOrderStatusChanged.js +1 -1
- package/lib/chevre/service/order/placeOrder.js +1 -1
- package/lib/chevre/service/order/returnOrder.js +1 -5
- package/lib/chevre/service/order/sendOrder.js +1 -1
- package/lib/chevre/service/payment/any.js +1 -1
- package/lib/chevre/service/reserve/cancelReservation.d.ts +3 -3
- package/lib/chevre/service/reserve/cancelReservation.js +6 -6
- package/lib/chevre/service/task/aggregateScreeningEvent.js +2 -2
- package/lib/chevre/service/task/cancelPendingReservation.js +3 -3
- package/lib/chevre/service/task/cancelReservation.js +3 -3
- package/lib/chevre/service/task/voidReserveTransaction.js +3 -3
- package/lib/chevre/service/task.d.ts +9 -0
- package/lib/chevre/service/task.js +22 -1
- package/lib/chevre/service/transaction/moneyTransfer.js +1 -3
- package/lib/chevre/service/transaction/placeOrder.js +1 -5
- package/lib/chevre/service/transaction/placeOrderInProgress.js +2 -2
- package/lib/chevre/service/transaction/returnOrder.js +1 -5
- package/lib/chevre/service/transaction.d.ts +1 -0
- package/lib/chevre/service/transaction.js +1 -7
- package/lib/chevre/settings.d.ts +2 -1
- package/lib/chevre/settings.js +5 -4
- package/package.json +4 -4
- package/example/src/chevre/migrateMoneyTransferPendingTransactionIdentifier.ts +0 -96
- package/example/src/chevre/migrateMovieAdditionalProperties.ts +0 -98
- package/lib/chevre/repo/itemAvailability/screeningEvent.js +0 -193
package/lib/chevre/repo/event.js
CHANGED
|
@@ -23,7 +23,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
23
23
|
exports.MongoRepository = exports.PROJECTION_MINIMIZED_EVENT = void 0;
|
|
24
24
|
const uniqid = require("uniqid");
|
|
25
25
|
const factory = require("../factory");
|
|
26
|
-
const onIndexCreated_1 = require("./mongoose/onIndexCreated");
|
|
27
26
|
const event_1 = require("./mongoose/schemas/event");
|
|
28
27
|
const errorHandler_1 = require("../errorHandler");
|
|
29
28
|
exports.PROJECTION_MINIMIZED_EVENT = {
|
|
@@ -48,9 +47,6 @@ exports.PROJECTION_MINIMIZED_EVENT = {
|
|
|
48
47
|
class MongoRepository {
|
|
49
48
|
constructor(connection) {
|
|
50
49
|
this.eventModel = connection.model(event_1.modelName, event_1.schema);
|
|
51
|
-
if (connection.get('autoIndex') === true) {
|
|
52
|
-
this.eventModel.on(onIndexCreated_1.INDEX_EVENT, onIndexCreated_1.onIndexCreated);
|
|
53
|
-
}
|
|
54
50
|
}
|
|
55
51
|
// tslint:disable-next-line:cyclomatic-complexity max-func-body-length
|
|
56
52
|
static CREATE_MONGO_CONDITIONS(conditions) {
|
|
@@ -11,7 +11,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.MongoRepository = void 0;
|
|
13
13
|
const factory = require("../factory");
|
|
14
|
-
const onIndexCreated_1 = require("./mongoose/onIndexCreated");
|
|
15
14
|
const member_1 = require("./mongoose/schemas/member");
|
|
16
15
|
/**
|
|
17
16
|
* IAMメンバーリポジトリ
|
|
@@ -19,9 +18,6 @@ const member_1 = require("./mongoose/schemas/member");
|
|
|
19
18
|
class MongoRepository {
|
|
20
19
|
constructor(connection) {
|
|
21
20
|
this.memberModel = connection.model(member_1.modelName, member_1.schema);
|
|
22
|
-
if (connection.get('autoIndex') === true) {
|
|
23
|
-
this.memberModel.on(onIndexCreated_1.INDEX_EVENT, onIndexCreated_1.onIndexCreated);
|
|
24
|
-
}
|
|
25
21
|
}
|
|
26
22
|
// tslint:disable-next-line:cyclomatic-complexity max-func-body-length
|
|
27
23
|
static CREATE_MONGO_CONDITIONS(params) {
|
|
@@ -31,9 +31,7 @@ export declare class MongoRepository {
|
|
|
31
31
|
private readonly merchantReturnPolicyModel;
|
|
32
32
|
constructor(connection: Connection);
|
|
33
33
|
static CREATE_MONGO_CONDITIONS(params: factory.unitPriceOffer.IOfferMerchantReturnPolicySearchConditions): any[];
|
|
34
|
-
save(params: factory.unitPriceOffer.IOfferMerchantReturnPolicy): Promise<
|
|
35
|
-
_id: unknown;
|
|
36
|
-
}>>;
|
|
34
|
+
save(params: factory.unitPriceOffer.IOfferMerchantReturnPolicy): Promise<any>;
|
|
37
35
|
findById(params: {
|
|
38
36
|
id: string;
|
|
39
37
|
}): Promise<factory.unitPriceOffer.IOfferMerchantReturnPolicy>;
|
|
@@ -21,7 +21,6 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
};
|
|
22
22
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
23
|
exports.MongoRepository = void 0;
|
|
24
|
-
const onIndexCreated_1 = require("./mongoose/onIndexCreated");
|
|
25
24
|
const merchantReturnPolicy_1 = require("./mongoose/schemas/merchantReturnPolicy");
|
|
26
25
|
const factory = require("../factory");
|
|
27
26
|
/**
|
|
@@ -30,9 +29,6 @@ const factory = require("../factory");
|
|
|
30
29
|
class MongoRepository {
|
|
31
30
|
constructor(connection) {
|
|
32
31
|
this.merchantReturnPolicyModel = connection.model(merchantReturnPolicy_1.modelName, merchantReturnPolicy_1.schema);
|
|
33
|
-
if (connection.get('autoIndex') === true) {
|
|
34
|
-
this.merchantReturnPolicyModel.on(onIndexCreated_1.INDEX_EVENT, onIndexCreated_1.onIndexCreated);
|
|
35
|
-
}
|
|
36
32
|
}
|
|
37
33
|
// tslint:disable-next-line:max-func-body-length
|
|
38
34
|
static CREATE_MONGO_CONDITIONS(params) {
|
|
@@ -27,12 +27,13 @@ declare const modelName = "Account";
|
|
|
27
27
|
/**
|
|
28
28
|
* 口座スキーマ
|
|
29
29
|
*/
|
|
30
|
-
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {},
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
31
31
|
collection: string;
|
|
32
32
|
id: true;
|
|
33
33
|
read: string;
|
|
34
34
|
writeConcern: import("mongodb").WriteConcern;
|
|
35
35
|
strict: false;
|
|
36
|
+
strictQuery: false;
|
|
36
37
|
useNestedStrict: boolean;
|
|
37
38
|
timestamps: {
|
|
38
39
|
createdAt: string;
|
|
@@ -50,5 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
50
51
|
minimize: false;
|
|
51
52
|
versionKey: false;
|
|
52
53
|
};
|
|
53
|
-
}
|
|
54
|
+
}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{}>> & Omit<import("mongoose").FlatRecord<{}> & Required<{
|
|
55
|
+
_id: unknown;
|
|
56
|
+
}>, never>>;
|
|
54
57
|
export { modelName, schema };
|
|
@@ -27,11 +27,12 @@ declare const modelName = "AccountTitle";
|
|
|
27
27
|
/**
|
|
28
28
|
* 勘定科目スキーマ
|
|
29
29
|
*/
|
|
30
|
-
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {},
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
31
31
|
collection: string;
|
|
32
32
|
id: true;
|
|
33
33
|
read: string;
|
|
34
34
|
writeConcern: import("mongodb").WriteConcern;
|
|
35
|
+
strictQuery: false;
|
|
35
36
|
timestamps: {
|
|
36
37
|
createdAt: string;
|
|
37
38
|
updatedAt: string;
|
|
@@ -48,7 +49,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
48
49
|
minimize: false;
|
|
49
50
|
versionKey: false;
|
|
50
51
|
};
|
|
51
|
-
}
|
|
52
|
+
}, {
|
|
52
53
|
typeOf: string;
|
|
53
54
|
name?: string | undefined;
|
|
54
55
|
project?: any;
|
|
@@ -60,5 +61,31 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
60
61
|
inDefinedTermSet?: any;
|
|
61
62
|
hasDefinedTerm?: any;
|
|
62
63
|
additionalProperty?: any;
|
|
63
|
-
}
|
|
64
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
65
|
+
typeOf: string;
|
|
66
|
+
name?: string | undefined;
|
|
67
|
+
project?: any;
|
|
68
|
+
codeValue?: string | undefined;
|
|
69
|
+
alternateName?: string | undefined;
|
|
70
|
+
description?: string | undefined;
|
|
71
|
+
inCodeSet?: any;
|
|
72
|
+
hasCategoryCode?: any;
|
|
73
|
+
inDefinedTermSet?: any;
|
|
74
|
+
hasDefinedTerm?: any;
|
|
75
|
+
additionalProperty?: any;
|
|
76
|
+
}>> & Omit<import("mongoose").FlatRecord<{
|
|
77
|
+
typeOf: string;
|
|
78
|
+
name?: string | undefined;
|
|
79
|
+
project?: any;
|
|
80
|
+
codeValue?: string | undefined;
|
|
81
|
+
alternateName?: string | undefined;
|
|
82
|
+
description?: string | undefined;
|
|
83
|
+
inCodeSet?: any;
|
|
84
|
+
hasCategoryCode?: any;
|
|
85
|
+
inDefinedTermSet?: any;
|
|
86
|
+
hasDefinedTerm?: any;
|
|
87
|
+
additionalProperty?: any;
|
|
88
|
+
}> & {
|
|
89
|
+
_id: import("mongoose").Types.ObjectId;
|
|
90
|
+
}, never>>;
|
|
64
91
|
export { modelName, schema };
|
|
@@ -27,12 +27,13 @@ declare const modelName = "AccountTransaction";
|
|
|
27
27
|
/**
|
|
28
28
|
* 口座取引スキーマ
|
|
29
29
|
*/
|
|
30
|
-
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {},
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
31
31
|
collection: string;
|
|
32
32
|
id: true;
|
|
33
33
|
read: string;
|
|
34
34
|
writeConcern: import("mongodb").WriteConcern;
|
|
35
35
|
strict: true;
|
|
36
|
+
strictQuery: false;
|
|
36
37
|
useNestedStrict: boolean;
|
|
37
38
|
timestamps: {
|
|
38
39
|
createdAt: string;
|
|
@@ -50,7 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
50
51
|
minimize: false;
|
|
51
52
|
versionKey: false;
|
|
52
53
|
};
|
|
53
|
-
}
|
|
54
|
+
}, {
|
|
54
55
|
typeOf: string;
|
|
55
56
|
status: string;
|
|
56
57
|
transactionNumber: string;
|
|
@@ -63,5 +64,33 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
63
64
|
startDate?: Date | undefined;
|
|
64
65
|
endDate?: Date | undefined;
|
|
65
66
|
potentialActions?: any;
|
|
66
|
-
}
|
|
67
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
68
|
+
typeOf: string;
|
|
69
|
+
status: string;
|
|
70
|
+
transactionNumber: string;
|
|
71
|
+
object?: any;
|
|
72
|
+
expires?: Date | undefined;
|
|
73
|
+
project?: any;
|
|
74
|
+
identifier?: string | undefined;
|
|
75
|
+
agent?: any;
|
|
76
|
+
recipient?: any;
|
|
77
|
+
startDate?: Date | undefined;
|
|
78
|
+
endDate?: Date | undefined;
|
|
79
|
+
potentialActions?: any;
|
|
80
|
+
}>> & Omit<import("mongoose").FlatRecord<{
|
|
81
|
+
typeOf: string;
|
|
82
|
+
status: string;
|
|
83
|
+
transactionNumber: string;
|
|
84
|
+
object?: any;
|
|
85
|
+
expires?: Date | undefined;
|
|
86
|
+
project?: any;
|
|
87
|
+
identifier?: string | undefined;
|
|
88
|
+
agent?: any;
|
|
89
|
+
recipient?: any;
|
|
90
|
+
startDate?: Date | undefined;
|
|
91
|
+
endDate?: Date | undefined;
|
|
92
|
+
potentialActions?: any;
|
|
93
|
+
}> & {
|
|
94
|
+
_id: import("mongoose").Types.ObjectId;
|
|
95
|
+
}, never>>;
|
|
67
96
|
export { modelName, schema };
|
|
@@ -33,9 +33,10 @@ const schema = new mongoose_1.Schema({
|
|
|
33
33
|
}, {
|
|
34
34
|
collection: 'accountTransactions',
|
|
35
35
|
id: true,
|
|
36
|
-
read: '
|
|
36
|
+
read: 'primary',
|
|
37
37
|
writeConcern: writeConcern_1.writeConcern,
|
|
38
38
|
strict: true,
|
|
39
|
+
strictQuery: false,
|
|
39
40
|
useNestedStrict: true,
|
|
40
41
|
timestamps: {
|
|
41
42
|
createdAt: 'createdAt',
|
|
@@ -27,12 +27,13 @@ declare const modelName = "AccountingReport";
|
|
|
27
27
|
/**
|
|
28
28
|
* 経理レポートスキーマ
|
|
29
29
|
*/
|
|
30
|
-
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {},
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
31
31
|
collection: string;
|
|
32
32
|
id: true;
|
|
33
33
|
read: string;
|
|
34
34
|
writeConcern: import("mongodb").WriteConcern;
|
|
35
35
|
strict: false;
|
|
36
|
+
strictQuery: false;
|
|
36
37
|
useNestedStrict: boolean;
|
|
37
38
|
timestamps: {
|
|
38
39
|
createdAt: string;
|
|
@@ -50,9 +51,19 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
50
51
|
minimize: false;
|
|
51
52
|
versionKey: false;
|
|
52
53
|
};
|
|
53
|
-
}
|
|
54
|
+
}, {
|
|
54
55
|
hasPart: (typeof Schema.Types.Mixed)[];
|
|
55
56
|
mainEntity: typeof Schema.Types.Mixed;
|
|
56
57
|
project: typeof Schema.Types.Mixed;
|
|
57
|
-
}
|
|
58
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
59
|
+
hasPart: (typeof Schema.Types.Mixed)[];
|
|
60
|
+
mainEntity: typeof Schema.Types.Mixed;
|
|
61
|
+
project: typeof Schema.Types.Mixed;
|
|
62
|
+
}>> & Omit<import("mongoose").FlatRecord<{
|
|
63
|
+
hasPart: (typeof Schema.Types.Mixed)[];
|
|
64
|
+
mainEntity: typeof Schema.Types.Mixed;
|
|
65
|
+
project: typeof Schema.Types.Mixed;
|
|
66
|
+
}> & {
|
|
67
|
+
_id: import("mongoose").Types.ObjectId;
|
|
68
|
+
}, never>>;
|
|
58
69
|
export { modelName, schema };
|
|
@@ -27,12 +27,13 @@ declare const modelName = "Action";
|
|
|
27
27
|
/**
|
|
28
28
|
* アクションスキーマ
|
|
29
29
|
*/
|
|
30
|
-
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {},
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
31
31
|
collection: string;
|
|
32
32
|
id: true;
|
|
33
33
|
read: string;
|
|
34
34
|
writeConcern: import("mongodb").WriteConcern;
|
|
35
35
|
strict: true;
|
|
36
|
+
strictQuery: false;
|
|
36
37
|
useNestedStrict: boolean;
|
|
37
38
|
timestamps: {
|
|
38
39
|
createdAt: string;
|
|
@@ -50,10 +51,30 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
50
51
|
minimize: false;
|
|
51
52
|
versionKey: false;
|
|
52
53
|
};
|
|
53
|
-
}
|
|
54
|
+
}, {
|
|
54
55
|
object?: any;
|
|
55
56
|
typeOf?: string | undefined;
|
|
56
57
|
error?: any;
|
|
58
|
+
result?: any;
|
|
59
|
+
project?: any;
|
|
60
|
+
description?: string | undefined;
|
|
61
|
+
agent?: any;
|
|
62
|
+
recipient?: any;
|
|
63
|
+
startDate?: Date | undefined;
|
|
64
|
+
endDate?: Date | undefined;
|
|
65
|
+
potentialActions?: any;
|
|
66
|
+
fromLocation?: any;
|
|
67
|
+
toLocation?: any;
|
|
68
|
+
actionStatus?: string | undefined;
|
|
69
|
+
purpose?: any;
|
|
70
|
+
amount?: any;
|
|
71
|
+
instrument?: any;
|
|
72
|
+
location?: any;
|
|
73
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
74
|
+
object?: any;
|
|
75
|
+
typeOf?: string | undefined;
|
|
76
|
+
error?: any;
|
|
77
|
+
result?: any;
|
|
57
78
|
project?: any;
|
|
58
79
|
description?: string | undefined;
|
|
59
80
|
agent?: any;
|
|
@@ -64,10 +85,30 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
64
85
|
fromLocation?: any;
|
|
65
86
|
toLocation?: any;
|
|
66
87
|
actionStatus?: string | undefined;
|
|
88
|
+
purpose?: any;
|
|
89
|
+
amount?: any;
|
|
90
|
+
instrument?: any;
|
|
91
|
+
location?: any;
|
|
92
|
+
}>> & Omit<import("mongoose").FlatRecord<{
|
|
93
|
+
object?: any;
|
|
94
|
+
typeOf?: string | undefined;
|
|
95
|
+
error?: any;
|
|
67
96
|
result?: any;
|
|
97
|
+
project?: any;
|
|
98
|
+
description?: string | undefined;
|
|
99
|
+
agent?: any;
|
|
100
|
+
recipient?: any;
|
|
101
|
+
startDate?: Date | undefined;
|
|
102
|
+
endDate?: Date | undefined;
|
|
103
|
+
potentialActions?: any;
|
|
104
|
+
fromLocation?: any;
|
|
105
|
+
toLocation?: any;
|
|
106
|
+
actionStatus?: string | undefined;
|
|
68
107
|
purpose?: any;
|
|
69
108
|
amount?: any;
|
|
70
109
|
instrument?: any;
|
|
71
110
|
location?: any;
|
|
72
|
-
}
|
|
111
|
+
}> & {
|
|
112
|
+
_id: import("mongoose").Types.ObjectId;
|
|
113
|
+
}, never>>;
|
|
73
114
|
export { modelName, schema };
|
|
@@ -31,10 +31,11 @@ const schema = new mongoose_1.Schema({
|
|
|
31
31
|
}, {
|
|
32
32
|
collection: 'actions',
|
|
33
33
|
id: true,
|
|
34
|
-
read: '
|
|
34
|
+
read: 'primary',
|
|
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',
|
|
@@ -27,12 +27,13 @@ declare const modelName = "AdditionalProperty";
|
|
|
27
27
|
/**
|
|
28
28
|
* 追加特性スキーマ
|
|
29
29
|
*/
|
|
30
|
-
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {},
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
31
31
|
collection: string;
|
|
32
32
|
id: true;
|
|
33
33
|
read: string;
|
|
34
34
|
writeConcern: import("mongodb").WriteConcern;
|
|
35
35
|
strict: true;
|
|
36
|
+
strictQuery: false;
|
|
36
37
|
useNestedStrict: boolean;
|
|
37
38
|
timestamps: {
|
|
38
39
|
createdAt: string;
|
|
@@ -50,11 +51,25 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
50
51
|
minimize: false;
|
|
51
52
|
versionKey: false;
|
|
52
53
|
};
|
|
53
|
-
}
|
|
54
|
+
}, {
|
|
54
55
|
typeOf: string;
|
|
55
56
|
codeValue: string;
|
|
56
57
|
name?: any;
|
|
57
58
|
project?: any;
|
|
58
59
|
inCodeSet?: any;
|
|
59
|
-
}
|
|
60
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
61
|
+
typeOf: string;
|
|
62
|
+
codeValue: string;
|
|
63
|
+
name?: any;
|
|
64
|
+
project?: any;
|
|
65
|
+
inCodeSet?: any;
|
|
66
|
+
}>> & Omit<import("mongoose").FlatRecord<{
|
|
67
|
+
typeOf: string;
|
|
68
|
+
codeValue: string;
|
|
69
|
+
name?: any;
|
|
70
|
+
project?: any;
|
|
71
|
+
inCodeSet?: any;
|
|
72
|
+
}> & {
|
|
73
|
+
_id: import("mongoose").Types.ObjectId;
|
|
74
|
+
}, never>>;
|
|
60
75
|
export { modelName, schema };
|
|
@@ -27,12 +27,13 @@ declare const modelName = "Aggregation";
|
|
|
27
27
|
/**
|
|
28
28
|
* 集計スキーマ
|
|
29
29
|
*/
|
|
30
|
-
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {},
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
31
31
|
collection: string;
|
|
32
32
|
id: true;
|
|
33
33
|
read: string;
|
|
34
34
|
writeConcern: import("mongodb").WriteConcern;
|
|
35
35
|
strict: false;
|
|
36
|
+
strictQuery: false;
|
|
36
37
|
useNestedStrict: boolean;
|
|
37
38
|
timestamps: {
|
|
38
39
|
createdAt: string;
|
|
@@ -50,5 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
50
51
|
minimize: false;
|
|
51
52
|
versionKey: false;
|
|
52
53
|
};
|
|
53
|
-
}
|
|
54
|
+
}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{}>> & Omit<import("mongoose").FlatRecord<{}> & Required<{
|
|
55
|
+
_id: unknown;
|
|
56
|
+
}>, never>>;
|
|
54
57
|
export { modelName, schema };
|
|
@@ -27,12 +27,13 @@ declare const modelName = "AssetTransaction";
|
|
|
27
27
|
/**
|
|
28
28
|
* 資産取引スキーマ
|
|
29
29
|
*/
|
|
30
|
-
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {},
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
31
31
|
collection: string;
|
|
32
32
|
id: true;
|
|
33
33
|
read: string;
|
|
34
34
|
writeConcern: import("mongodb").WriteConcern;
|
|
35
35
|
strict: true;
|
|
36
|
+
strictQuery: false;
|
|
36
37
|
useNestedStrict: boolean;
|
|
37
38
|
timestamps: {
|
|
38
39
|
createdAt: string;
|
|
@@ -50,11 +51,30 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
50
51
|
minimize: false;
|
|
51
52
|
versionKey: false;
|
|
52
53
|
};
|
|
53
|
-
}
|
|
54
|
+
}, {
|
|
54
55
|
object?: any;
|
|
55
56
|
typeOf?: string | undefined;
|
|
57
|
+
error?: any;
|
|
56
58
|
status?: string | undefined;
|
|
59
|
+
result?: any;
|
|
60
|
+
expires?: Date | undefined;
|
|
61
|
+
project?: any;
|
|
62
|
+
agent?: any;
|
|
63
|
+
recipient?: any;
|
|
64
|
+
startDate?: Date | undefined;
|
|
65
|
+
endDate?: Date | undefined;
|
|
66
|
+
potentialActions?: any;
|
|
67
|
+
transactionNumber?: string | undefined;
|
|
68
|
+
tasksExportationStatus?: string | undefined;
|
|
69
|
+
tasksExportedAt?: Date | undefined;
|
|
70
|
+
location?: any;
|
|
71
|
+
seller?: any;
|
|
72
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
73
|
+
object?: any;
|
|
74
|
+
typeOf?: string | undefined;
|
|
57
75
|
error?: any;
|
|
76
|
+
status?: string | undefined;
|
|
77
|
+
result?: any;
|
|
58
78
|
expires?: Date | undefined;
|
|
59
79
|
project?: any;
|
|
60
80
|
agent?: any;
|
|
@@ -65,8 +85,27 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
65
85
|
transactionNumber?: string | undefined;
|
|
66
86
|
tasksExportationStatus?: string | undefined;
|
|
67
87
|
tasksExportedAt?: Date | undefined;
|
|
88
|
+
location?: any;
|
|
89
|
+
seller?: any;
|
|
90
|
+
}>> & Omit<import("mongoose").FlatRecord<{
|
|
91
|
+
object?: any;
|
|
92
|
+
typeOf?: string | undefined;
|
|
93
|
+
error?: any;
|
|
94
|
+
status?: string | undefined;
|
|
68
95
|
result?: any;
|
|
96
|
+
expires?: Date | undefined;
|
|
97
|
+
project?: any;
|
|
98
|
+
agent?: any;
|
|
99
|
+
recipient?: any;
|
|
100
|
+
startDate?: Date | undefined;
|
|
101
|
+
endDate?: Date | undefined;
|
|
102
|
+
potentialActions?: any;
|
|
103
|
+
transactionNumber?: string | undefined;
|
|
104
|
+
tasksExportationStatus?: string | undefined;
|
|
105
|
+
tasksExportedAt?: Date | undefined;
|
|
69
106
|
location?: any;
|
|
70
107
|
seller?: any;
|
|
71
|
-
}
|
|
108
|
+
}> & {
|
|
109
|
+
_id: import("mongoose").Types.ObjectId;
|
|
110
|
+
}, never>>;
|
|
72
111
|
export { modelName, schema };
|
|
@@ -30,9 +30,10 @@ const schema = new mongoose_1.Schema({
|
|
|
30
30
|
}, {
|
|
31
31
|
collection: 'assetTransactions',
|
|
32
32
|
id: true,
|
|
33
|
-
read: '
|
|
33
|
+
read: 'primary',
|
|
34
34
|
writeConcern: writeConcern_1.writeConcern,
|
|
35
35
|
strict: true,
|
|
36
|
+
strictQuery: false,
|
|
36
37
|
useNestedStrict: true,
|
|
37
38
|
timestamps: {
|
|
38
39
|
createdAt: 'createdAt',
|
|
@@ -27,12 +27,13 @@ declare const modelName = "Authorization";
|
|
|
27
27
|
/**
|
|
28
28
|
* 認可スキーマ
|
|
29
29
|
*/
|
|
30
|
-
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {},
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
31
31
|
collection: string;
|
|
32
32
|
id: true;
|
|
33
33
|
read: string;
|
|
34
34
|
writeConcern: import("mongodb").WriteConcern;
|
|
35
35
|
strict: true;
|
|
36
|
+
strictQuery: false;
|
|
36
37
|
useNestedStrict: boolean;
|
|
37
38
|
timestamps: {
|
|
38
39
|
createdAt: string;
|
|
@@ -50,12 +51,28 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
50
51
|
minimize: false;
|
|
51
52
|
versionKey: false;
|
|
52
53
|
};
|
|
53
|
-
}
|
|
54
|
+
}, {
|
|
54
55
|
object?: any;
|
|
55
56
|
typeOf?: string | undefined;
|
|
56
57
|
project?: any;
|
|
57
58
|
code?: string | undefined;
|
|
58
59
|
validFrom?: Date | undefined;
|
|
59
60
|
validUntil?: Date | undefined;
|
|
60
|
-
}
|
|
61
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
62
|
+
object?: any;
|
|
63
|
+
typeOf?: string | undefined;
|
|
64
|
+
project?: any;
|
|
65
|
+
code?: string | undefined;
|
|
66
|
+
validFrom?: Date | undefined;
|
|
67
|
+
validUntil?: Date | undefined;
|
|
68
|
+
}>> & Omit<import("mongoose").FlatRecord<{
|
|
69
|
+
object?: any;
|
|
70
|
+
typeOf?: string | undefined;
|
|
71
|
+
project?: any;
|
|
72
|
+
code?: string | undefined;
|
|
73
|
+
validFrom?: Date | undefined;
|
|
74
|
+
validUntil?: Date | undefined;
|
|
75
|
+
}> & {
|
|
76
|
+
_id: import("mongoose").Types.ObjectId;
|
|
77
|
+
}, never>>;
|
|
61
78
|
export { modelName, schema };
|
|
@@ -18,9 +18,10 @@ const schema = new mongoose_1.Schema({
|
|
|
18
18
|
}, {
|
|
19
19
|
collection: 'authorizations',
|
|
20
20
|
id: true,
|
|
21
|
-
read: '
|
|
21
|
+
read: 'primary',
|
|
22
22
|
writeConcern: writeConcern_1.writeConcern,
|
|
23
23
|
strict: true,
|
|
24
|
+
strictQuery: false,
|
|
24
25
|
useNestedStrict: true,
|
|
25
26
|
timestamps: {
|
|
26
27
|
createdAt: 'createdAt',
|
|
@@ -27,12 +27,13 @@ declare const modelName = "CategoryCode";
|
|
|
27
27
|
/**
|
|
28
28
|
* カテゴリーコードスキーマ
|
|
29
29
|
*/
|
|
30
|
-
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {},
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
31
31
|
collection: string;
|
|
32
32
|
id: true;
|
|
33
33
|
read: string;
|
|
34
34
|
writeConcern: import("mongodb").WriteConcern;
|
|
35
35
|
strict: true;
|
|
36
|
+
strictQuery: false;
|
|
36
37
|
useNestedStrict: boolean;
|
|
37
38
|
timestamps: {
|
|
38
39
|
createdAt: string;
|
|
@@ -50,7 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
50
51
|
minimize: false;
|
|
51
52
|
versionKey: false;
|
|
52
53
|
};
|
|
53
|
-
}
|
|
54
|
+
}, {
|
|
54
55
|
typeOf: string;
|
|
55
56
|
codeValue: string;
|
|
56
57
|
additionalProperty: any[];
|
|
@@ -60,5 +61,27 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
60
61
|
paymentMethod?: any;
|
|
61
62
|
color?: string | undefined;
|
|
62
63
|
image?: string | undefined;
|
|
63
|
-
}
|
|
64
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
65
|
+
typeOf: string;
|
|
66
|
+
codeValue: string;
|
|
67
|
+
additionalProperty: any[];
|
|
68
|
+
name?: any;
|
|
69
|
+
project?: any;
|
|
70
|
+
inCodeSet?: any;
|
|
71
|
+
paymentMethod?: any;
|
|
72
|
+
color?: string | undefined;
|
|
73
|
+
image?: string | undefined;
|
|
74
|
+
}>> & Omit<import("mongoose").FlatRecord<{
|
|
75
|
+
typeOf: string;
|
|
76
|
+
codeValue: string;
|
|
77
|
+
additionalProperty: any[];
|
|
78
|
+
name?: any;
|
|
79
|
+
project?: any;
|
|
80
|
+
inCodeSet?: any;
|
|
81
|
+
paymentMethod?: any;
|
|
82
|
+
color?: string | undefined;
|
|
83
|
+
image?: string | undefined;
|
|
84
|
+
}> & {
|
|
85
|
+
_id: import("mongoose").Types.ObjectId;
|
|
86
|
+
}, never>>;
|
|
64
87
|
export { modelName, schema };
|