@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
|
@@ -27,12 +27,13 @@ declare const modelName = "Comment";
|
|
|
27
27
|
/**
|
|
28
28
|
* コメントスキーマ
|
|
29
29
|
*/
|
|
30
|
-
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {},
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
31
31
|
collection: string;
|
|
32
32
|
id: true;
|
|
33
33
|
read: string;
|
|
34
34
|
writeConcern: import("mongodb").WriteConcern;
|
|
35
35
|
strict: true;
|
|
36
|
+
strictQuery: false;
|
|
36
37
|
useNestedStrict: boolean;
|
|
37
38
|
timestamps: {
|
|
38
39
|
createdAt: string;
|
|
@@ -50,9 +51,31 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
50
51
|
minimize: false;
|
|
51
52
|
versionKey: false;
|
|
52
53
|
};
|
|
53
|
-
}
|
|
54
|
+
}, {
|
|
55
|
+
typeOf: string;
|
|
56
|
+
text: string;
|
|
57
|
+
additionalProperty: any[];
|
|
58
|
+
commentCount: number;
|
|
59
|
+
mentions: any[];
|
|
60
|
+
project?: any;
|
|
61
|
+
about?: any;
|
|
62
|
+
author?: any;
|
|
63
|
+
dateCreated?: Date | undefined;
|
|
64
|
+
dateModified?: Date | undefined;
|
|
65
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
66
|
+
typeOf: string;
|
|
54
67
|
text: string;
|
|
68
|
+
additionalProperty: any[];
|
|
69
|
+
commentCount: number;
|
|
70
|
+
mentions: any[];
|
|
71
|
+
project?: any;
|
|
72
|
+
about?: any;
|
|
73
|
+
author?: any;
|
|
74
|
+
dateCreated?: Date | undefined;
|
|
75
|
+
dateModified?: Date | undefined;
|
|
76
|
+
}>> & Omit<import("mongoose").FlatRecord<{
|
|
55
77
|
typeOf: string;
|
|
78
|
+
text: string;
|
|
56
79
|
additionalProperty: any[];
|
|
57
80
|
commentCount: number;
|
|
58
81
|
mentions: any[];
|
|
@@ -61,5 +84,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
61
84
|
author?: any;
|
|
62
85
|
dateCreated?: Date | undefined;
|
|
63
86
|
dateModified?: Date | undefined;
|
|
64
|
-
}
|
|
87
|
+
}> & {
|
|
88
|
+
_id: import("mongoose").Types.ObjectId;
|
|
89
|
+
}, never>>;
|
|
65
90
|
export { modelName, schema };
|
|
@@ -29,9 +29,10 @@ const schema = new mongoose_1.Schema({
|
|
|
29
29
|
}, {
|
|
30
30
|
collection: 'comments',
|
|
31
31
|
id: true,
|
|
32
|
-
read: '
|
|
32
|
+
read: 'primary',
|
|
33
33
|
writeConcern: writeConcern_1.writeConcern,
|
|
34
34
|
strict: true,
|
|
35
|
+
strictQuery: false,
|
|
35
36
|
useNestedStrict: true,
|
|
36
37
|
timestamps: {
|
|
37
38
|
createdAt: 'createdAt',
|
|
@@ -27,12 +27,13 @@ declare const modelName = "CreativeWork";
|
|
|
27
27
|
/**
|
|
28
28
|
* 作品スキーマ
|
|
29
29
|
*/
|
|
30
|
-
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {},
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
31
31
|
collection: string;
|
|
32
32
|
id: true;
|
|
33
33
|
read: string;
|
|
34
34
|
writeConcern: import("mongodb").WriteConcern;
|
|
35
35
|
strict: true;
|
|
36
|
+
strictQuery: false;
|
|
36
37
|
useNestedStrict: boolean;
|
|
37
38
|
timestamps: {
|
|
38
39
|
createdAt: string;
|
|
@@ -50,7 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
50
51
|
minimize: false;
|
|
51
52
|
versionKey: false;
|
|
52
53
|
};
|
|
53
|
-
}
|
|
54
|
+
}, {
|
|
54
55
|
typeOf: string;
|
|
55
56
|
name?: any;
|
|
56
57
|
project?: any;
|
|
@@ -69,5 +70,45 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
69
70
|
thumbnailUrl?: string | undefined;
|
|
70
71
|
contentRating?: string | undefined;
|
|
71
72
|
offers?: any;
|
|
72
|
-
}
|
|
73
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
74
|
+
typeOf: string;
|
|
75
|
+
name?: any;
|
|
76
|
+
project?: any;
|
|
77
|
+
alternateName?: string | undefined;
|
|
78
|
+
description?: string | undefined;
|
|
79
|
+
additionalProperty?: any;
|
|
80
|
+
identifier?: string | undefined;
|
|
81
|
+
duration?: string | undefined;
|
|
82
|
+
alternativeHeadline?: string | undefined;
|
|
83
|
+
copyrightHolder?: any;
|
|
84
|
+
copyrightYear?: number | undefined;
|
|
85
|
+
datePublished?: Date | undefined;
|
|
86
|
+
distributor?: any;
|
|
87
|
+
headline?: string | undefined;
|
|
88
|
+
license?: string | undefined;
|
|
89
|
+
thumbnailUrl?: string | undefined;
|
|
90
|
+
contentRating?: string | undefined;
|
|
91
|
+
offers?: any;
|
|
92
|
+
}>> & Omit<import("mongoose").FlatRecord<{
|
|
93
|
+
typeOf: string;
|
|
94
|
+
name?: any;
|
|
95
|
+
project?: any;
|
|
96
|
+
alternateName?: string | undefined;
|
|
97
|
+
description?: string | undefined;
|
|
98
|
+
additionalProperty?: any;
|
|
99
|
+
identifier?: string | undefined;
|
|
100
|
+
duration?: string | undefined;
|
|
101
|
+
alternativeHeadline?: string | undefined;
|
|
102
|
+
copyrightHolder?: any;
|
|
103
|
+
copyrightYear?: number | undefined;
|
|
104
|
+
datePublished?: Date | undefined;
|
|
105
|
+
distributor?: any;
|
|
106
|
+
headline?: string | undefined;
|
|
107
|
+
license?: string | undefined;
|
|
108
|
+
thumbnailUrl?: string | undefined;
|
|
109
|
+
contentRating?: string | undefined;
|
|
110
|
+
offers?: any;
|
|
111
|
+
}> & {
|
|
112
|
+
_id: import("mongoose").Types.ObjectId;
|
|
113
|
+
}, never>>;
|
|
73
114
|
export { modelName, schema };
|
|
@@ -27,12 +27,13 @@ declare const modelName = "Customer";
|
|
|
27
27
|
/**
|
|
28
28
|
* 顧客スキーマ
|
|
29
29
|
*/
|
|
30
|
-
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {},
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
31
31
|
collection: string;
|
|
32
32
|
id: true;
|
|
33
33
|
read: string;
|
|
34
34
|
writeConcern: import("mongodb").WriteConcern;
|
|
35
35
|
strict: true;
|
|
36
|
+
strictQuery: false;
|
|
36
37
|
useNestedStrict: boolean;
|
|
37
38
|
timestamps: {
|
|
38
39
|
createdAt: string;
|
|
@@ -50,7 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
50
51
|
minimize: false;
|
|
51
52
|
versionKey: false;
|
|
52
53
|
};
|
|
53
|
-
}
|
|
54
|
+
}, {
|
|
54
55
|
typeOf: string;
|
|
55
56
|
additionalProperty: any[];
|
|
56
57
|
contactPoint: any[];
|
|
@@ -60,5 +61,27 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
60
61
|
email?: string | undefined;
|
|
61
62
|
branchCode?: string | undefined;
|
|
62
63
|
telephone?: string | undefined;
|
|
63
|
-
}
|
|
64
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
65
|
+
typeOf: string;
|
|
66
|
+
additionalProperty: any[];
|
|
67
|
+
contactPoint: any[];
|
|
68
|
+
name?: any;
|
|
69
|
+
url?: string | undefined;
|
|
70
|
+
project?: any;
|
|
71
|
+
email?: string | undefined;
|
|
72
|
+
branchCode?: string | undefined;
|
|
73
|
+
telephone?: string | undefined;
|
|
74
|
+
}>> & Omit<import("mongoose").FlatRecord<{
|
|
75
|
+
typeOf: string;
|
|
76
|
+
additionalProperty: any[];
|
|
77
|
+
contactPoint: any[];
|
|
78
|
+
name?: any;
|
|
79
|
+
url?: string | undefined;
|
|
80
|
+
project?: any;
|
|
81
|
+
email?: string | undefined;
|
|
82
|
+
branchCode?: string | undefined;
|
|
83
|
+
telephone?: string | undefined;
|
|
84
|
+
}> & {
|
|
85
|
+
_id: import("mongoose").Types.ObjectId;
|
|
86
|
+
}, never>>;
|
|
64
87
|
export { modelName, schema };
|
|
@@ -27,12 +27,13 @@ declare const modelName = "EmailMessage";
|
|
|
27
27
|
/**
|
|
28
28
|
* Eメールメッセージスキーマ
|
|
29
29
|
*/
|
|
30
|
-
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {},
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
31
31
|
collection: string;
|
|
32
32
|
id: true;
|
|
33
33
|
read: string;
|
|
34
34
|
writeConcern: import("mongodb").WriteConcern;
|
|
35
35
|
strict: true;
|
|
36
|
+
strictQuery: false;
|
|
36
37
|
useNestedStrict: boolean;
|
|
37
38
|
timestamps: {
|
|
38
39
|
createdAt: string;
|
|
@@ -50,13 +51,31 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
50
51
|
minimize: false;
|
|
51
52
|
versionKey: false;
|
|
52
53
|
};
|
|
53
|
-
}
|
|
54
|
+
}, {
|
|
54
55
|
typeOf: string;
|
|
56
|
+
name?: any;
|
|
57
|
+
text?: string | undefined;
|
|
58
|
+
project?: any;
|
|
59
|
+
identifier?: string | undefined;
|
|
60
|
+
about?: any;
|
|
61
|
+
sender?: any;
|
|
62
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
63
|
+
typeOf: string;
|
|
64
|
+
name?: any;
|
|
55
65
|
text?: string | undefined;
|
|
66
|
+
project?: any;
|
|
67
|
+
identifier?: string | undefined;
|
|
68
|
+
about?: any;
|
|
69
|
+
sender?: any;
|
|
70
|
+
}>> & Omit<import("mongoose").FlatRecord<{
|
|
71
|
+
typeOf: string;
|
|
56
72
|
name?: any;
|
|
73
|
+
text?: string | undefined;
|
|
57
74
|
project?: any;
|
|
58
75
|
identifier?: string | undefined;
|
|
59
76
|
about?: any;
|
|
60
77
|
sender?: any;
|
|
61
|
-
}
|
|
78
|
+
}> & {
|
|
79
|
+
_id: import("mongoose").Types.ObjectId;
|
|
80
|
+
}, never>>;
|
|
62
81
|
export { modelName, schema };
|
|
@@ -27,12 +27,13 @@ declare const modelName = "Event";
|
|
|
27
27
|
/**
|
|
28
28
|
* イベント(公演など)スキーマ
|
|
29
29
|
*/
|
|
30
|
-
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {},
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
31
31
|
collection: string;
|
|
32
32
|
id: true;
|
|
33
33
|
read: string;
|
|
34
34
|
writeConcern: import("mongodb").WriteConcern;
|
|
35
35
|
strict: true;
|
|
36
|
+
strictQuery: false;
|
|
36
37
|
useNestedStrict: boolean;
|
|
37
38
|
timestamps: {
|
|
38
39
|
createdAt: string;
|
|
@@ -50,12 +51,78 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
50
51
|
minimize: false;
|
|
51
52
|
versionKey: false;
|
|
52
53
|
};
|
|
53
|
-
}
|
|
54
|
+
}, {
|
|
54
55
|
typeOf: string;
|
|
55
56
|
checkInCount: number;
|
|
56
57
|
attendeeCount: number;
|
|
58
|
+
name?: any;
|
|
59
|
+
_id?: string | undefined;
|
|
60
|
+
project?: any;
|
|
61
|
+
alternateName?: any;
|
|
62
|
+
description?: any;
|
|
63
|
+
additionalProperty?: any;
|
|
64
|
+
identifier?: string | undefined;
|
|
65
|
+
startDate?: Date | undefined;
|
|
66
|
+
endDate?: Date | undefined;
|
|
67
|
+
location?: any;
|
|
68
|
+
duration?: string | undefined;
|
|
69
|
+
alternativeHeadline?: any;
|
|
70
|
+
headline?: any;
|
|
71
|
+
offers?: any;
|
|
72
|
+
doorTime?: Date | undefined;
|
|
73
|
+
eventStatus?: string | undefined;
|
|
74
|
+
superEvent?: any;
|
|
75
|
+
coaInfo?: any;
|
|
76
|
+
workPerformed?: any;
|
|
77
|
+
aggregateEntranceGate?: any;
|
|
78
|
+
aggregateReservation?: any;
|
|
79
|
+
aggregateOffer?: any;
|
|
80
|
+
maximumAttendeeCapacity?: number | undefined;
|
|
81
|
+
remainingAttendeeCapacity?: number | undefined;
|
|
82
|
+
videoFormat?: any;
|
|
83
|
+
soundFormat?: any;
|
|
84
|
+
subtitleLanguage?: any;
|
|
85
|
+
dubLanguage?: any;
|
|
86
|
+
kanaName?: string | undefined;
|
|
87
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
88
|
+
typeOf: string;
|
|
89
|
+
checkInCount: number;
|
|
90
|
+
attendeeCount: number;
|
|
91
|
+
name?: any;
|
|
57
92
|
_id?: string | undefined;
|
|
93
|
+
project?: any;
|
|
94
|
+
alternateName?: any;
|
|
95
|
+
description?: any;
|
|
96
|
+
additionalProperty?: any;
|
|
97
|
+
identifier?: string | undefined;
|
|
98
|
+
startDate?: Date | undefined;
|
|
99
|
+
endDate?: Date | undefined;
|
|
100
|
+
location?: any;
|
|
101
|
+
duration?: string | undefined;
|
|
102
|
+
alternativeHeadline?: any;
|
|
103
|
+
headline?: any;
|
|
104
|
+
offers?: any;
|
|
105
|
+
doorTime?: Date | undefined;
|
|
106
|
+
eventStatus?: string | undefined;
|
|
107
|
+
superEvent?: any;
|
|
108
|
+
coaInfo?: any;
|
|
109
|
+
workPerformed?: any;
|
|
110
|
+
aggregateEntranceGate?: any;
|
|
111
|
+
aggregateReservation?: any;
|
|
112
|
+
aggregateOffer?: any;
|
|
113
|
+
maximumAttendeeCapacity?: number | undefined;
|
|
114
|
+
remainingAttendeeCapacity?: number | undefined;
|
|
115
|
+
videoFormat?: any;
|
|
116
|
+
soundFormat?: any;
|
|
117
|
+
subtitleLanguage?: any;
|
|
118
|
+
dubLanguage?: any;
|
|
119
|
+
kanaName?: string | undefined;
|
|
120
|
+
}>> & Omit<import("mongoose").FlatRecord<{
|
|
121
|
+
typeOf: string;
|
|
122
|
+
checkInCount: number;
|
|
123
|
+
attendeeCount: number;
|
|
58
124
|
name?: any;
|
|
125
|
+
_id?: string | undefined;
|
|
59
126
|
project?: any;
|
|
60
127
|
alternateName?: any;
|
|
61
128
|
description?: any;
|
|
@@ -83,5 +150,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
83
150
|
subtitleLanguage?: any;
|
|
84
151
|
dubLanguage?: any;
|
|
85
152
|
kanaName?: string | undefined;
|
|
86
|
-
}
|
|
153
|
+
}> & Required<{
|
|
154
|
+
_id: string;
|
|
155
|
+
}>, never>>;
|
|
87
156
|
export { modelName, schema };
|
|
@@ -27,12 +27,13 @@ declare const modelName = "Member";
|
|
|
27
27
|
/**
|
|
28
28
|
* プロジェクトメンバースキーマ
|
|
29
29
|
*/
|
|
30
|
-
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {},
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
31
31
|
collection: string;
|
|
32
32
|
id: true;
|
|
33
33
|
read: string;
|
|
34
34
|
writeConcern: import("mongodb").WriteConcern;
|
|
35
35
|
strict: true;
|
|
36
|
+
strictQuery: false;
|
|
36
37
|
useNestedStrict: boolean;
|
|
37
38
|
timestamps: {
|
|
38
39
|
createdAt: string;
|
|
@@ -50,9 +51,19 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
50
51
|
minimize: false;
|
|
51
52
|
versionKey: false;
|
|
52
53
|
};
|
|
53
|
-
}
|
|
54
|
+
}, {
|
|
54
55
|
typeOf: string;
|
|
55
56
|
project?: any;
|
|
56
57
|
member?: any;
|
|
57
|
-
}
|
|
58
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
59
|
+
typeOf: string;
|
|
60
|
+
project?: any;
|
|
61
|
+
member?: any;
|
|
62
|
+
}>> & Omit<import("mongoose").FlatRecord<{
|
|
63
|
+
typeOf: string;
|
|
64
|
+
project?: any;
|
|
65
|
+
member?: any;
|
|
66
|
+
}> & {
|
|
67
|
+
_id: import("mongoose").Types.ObjectId;
|
|
68
|
+
}, never>>;
|
|
58
69
|
export { modelName, schema };
|
|
@@ -27,12 +27,13 @@ declare const modelName = "MerchantReturnPolicy";
|
|
|
27
27
|
/**
|
|
28
28
|
* 返品ポリシースキーマ
|
|
29
29
|
*/
|
|
30
|
-
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {},
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
31
31
|
collection: string;
|
|
32
32
|
id: true;
|
|
33
33
|
read: string;
|
|
34
34
|
writeConcern: import("mongodb").WriteConcern;
|
|
35
35
|
strict: true;
|
|
36
|
+
strictQuery: false;
|
|
36
37
|
useNestedStrict: boolean;
|
|
37
38
|
timestamps: {
|
|
38
39
|
createdAt: string;
|
|
@@ -50,7 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
50
51
|
minimize: false;
|
|
51
52
|
versionKey: false;
|
|
52
53
|
};
|
|
53
|
-
}
|
|
54
|
+
}, {
|
|
54
55
|
typeOf: string;
|
|
55
56
|
name?: any;
|
|
56
57
|
project?: any;
|
|
@@ -58,5 +59,23 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
58
59
|
identifier?: string | undefined;
|
|
59
60
|
customerRemorseReturnFees?: string | undefined;
|
|
60
61
|
customerRemorseReturnFeesMovieTicket?: string | undefined;
|
|
61
|
-
}
|
|
62
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
63
|
+
typeOf: string;
|
|
64
|
+
name?: any;
|
|
65
|
+
project?: any;
|
|
66
|
+
additionalProperty?: any;
|
|
67
|
+
identifier?: string | undefined;
|
|
68
|
+
customerRemorseReturnFees?: string | undefined;
|
|
69
|
+
customerRemorseReturnFeesMovieTicket?: string | undefined;
|
|
70
|
+
}>> & Omit<import("mongoose").FlatRecord<{
|
|
71
|
+
typeOf: string;
|
|
72
|
+
name?: any;
|
|
73
|
+
project?: any;
|
|
74
|
+
additionalProperty?: any;
|
|
75
|
+
identifier?: string | undefined;
|
|
76
|
+
customerRemorseReturnFees?: string | undefined;
|
|
77
|
+
customerRemorseReturnFeesMovieTicket?: string | undefined;
|
|
78
|
+
}> & {
|
|
79
|
+
_id: import("mongoose").Types.ObjectId;
|
|
80
|
+
}, never>>;
|
|
62
81
|
export { modelName, schema };
|
|
@@ -27,12 +27,13 @@ declare const modelName = "Offer";
|
|
|
27
27
|
/**
|
|
28
28
|
* オファースキーマ
|
|
29
29
|
*/
|
|
30
|
-
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {},
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
31
31
|
collection: string;
|
|
32
32
|
id: true;
|
|
33
33
|
read: string;
|
|
34
34
|
writeConcern: import("mongodb").WriteConcern;
|
|
35
35
|
strict: true;
|
|
36
|
+
strictQuery: false;
|
|
36
37
|
timestamps: {
|
|
37
38
|
createdAt: string;
|
|
38
39
|
updatedAt: string;
|
|
@@ -49,13 +50,73 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
49
50
|
minimize: false;
|
|
50
51
|
versionKey: false;
|
|
51
52
|
};
|
|
52
|
-
}
|
|
53
|
+
}, {
|
|
53
54
|
additionalProperty: any[];
|
|
54
55
|
addOn: any[];
|
|
55
56
|
availableAtOrFrom: any[];
|
|
57
|
+
typeOf?: string | undefined;
|
|
58
|
+
name?: any;
|
|
56
59
|
_id?: string | undefined;
|
|
60
|
+
project?: any;
|
|
61
|
+
alternateName?: any;
|
|
62
|
+
description?: any;
|
|
63
|
+
identifier?: string | undefined;
|
|
64
|
+
itemOffered?: any;
|
|
65
|
+
eligibleQuantity?: any;
|
|
66
|
+
priceCurrency?: string | undefined;
|
|
67
|
+
color?: any;
|
|
68
|
+
validFrom?: Date | undefined;
|
|
69
|
+
category?: any;
|
|
70
|
+
availability?: string | undefined;
|
|
71
|
+
hasMerchantReturnPolicy?: any;
|
|
72
|
+
priceSpecification?: any;
|
|
73
|
+
eligibleCustomerType?: any;
|
|
74
|
+
eligibleDuration?: any;
|
|
75
|
+
eligibleMembershipType?: any;
|
|
76
|
+
eligibleMonetaryAmount?: any;
|
|
77
|
+
eligibleRegion?: any;
|
|
78
|
+
eligibleSeatingType?: any;
|
|
79
|
+
eligibleSubReservation?: any;
|
|
80
|
+
settings?: any;
|
|
81
|
+
validThrough?: Date | undefined;
|
|
82
|
+
validRateLimit?: any;
|
|
83
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
84
|
+
additionalProperty: any[];
|
|
85
|
+
addOn: any[];
|
|
86
|
+
availableAtOrFrom: any[];
|
|
87
|
+
typeOf?: string | undefined;
|
|
57
88
|
name?: any;
|
|
89
|
+
_id?: string | undefined;
|
|
90
|
+
project?: any;
|
|
91
|
+
alternateName?: any;
|
|
92
|
+
description?: any;
|
|
93
|
+
identifier?: string | undefined;
|
|
94
|
+
itemOffered?: any;
|
|
95
|
+
eligibleQuantity?: any;
|
|
96
|
+
priceCurrency?: string | undefined;
|
|
97
|
+
color?: any;
|
|
98
|
+
validFrom?: Date | undefined;
|
|
99
|
+
category?: any;
|
|
100
|
+
availability?: string | undefined;
|
|
101
|
+
hasMerchantReturnPolicy?: any;
|
|
102
|
+
priceSpecification?: any;
|
|
103
|
+
eligibleCustomerType?: any;
|
|
104
|
+
eligibleDuration?: any;
|
|
105
|
+
eligibleMembershipType?: any;
|
|
106
|
+
eligibleMonetaryAmount?: any;
|
|
107
|
+
eligibleRegion?: any;
|
|
108
|
+
eligibleSeatingType?: any;
|
|
109
|
+
eligibleSubReservation?: any;
|
|
110
|
+
settings?: any;
|
|
111
|
+
validThrough?: Date | undefined;
|
|
112
|
+
validRateLimit?: any;
|
|
113
|
+
}>> & Omit<import("mongoose").FlatRecord<{
|
|
114
|
+
additionalProperty: any[];
|
|
115
|
+
addOn: any[];
|
|
116
|
+
availableAtOrFrom: any[];
|
|
58
117
|
typeOf?: string | undefined;
|
|
118
|
+
name?: any;
|
|
119
|
+
_id?: string | undefined;
|
|
59
120
|
project?: any;
|
|
60
121
|
alternateName?: any;
|
|
61
122
|
description?: any;
|
|
@@ -79,5 +140,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
79
140
|
settings?: any;
|
|
80
141
|
validThrough?: Date | undefined;
|
|
81
142
|
validRateLimit?: any;
|
|
82
|
-
}
|
|
143
|
+
}> & Required<{
|
|
144
|
+
_id: string;
|
|
145
|
+
}>, never>>;
|
|
83
146
|
export { modelName, schema };
|
|
@@ -27,12 +27,13 @@ declare const modelName = "OfferCatalog";
|
|
|
27
27
|
/**
|
|
28
28
|
* オファーカタログスキーマ
|
|
29
29
|
*/
|
|
30
|
-
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {},
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
31
31
|
collection: string;
|
|
32
32
|
id: true;
|
|
33
33
|
read: string;
|
|
34
34
|
writeConcern: import("mongodb").WriteConcern;
|
|
35
35
|
strict: true;
|
|
36
|
+
strictQuery: false;
|
|
36
37
|
timestamps: {
|
|
37
38
|
createdAt: string;
|
|
38
39
|
updatedAt: string;
|
|
@@ -49,16 +50,40 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
49
50
|
minimize: false;
|
|
50
51
|
versionKey: false;
|
|
51
52
|
};
|
|
52
|
-
}
|
|
53
|
+
}, {
|
|
53
54
|
typeOf: string;
|
|
54
55
|
additionalProperty: any[];
|
|
55
56
|
identifier: string;
|
|
56
57
|
itemListElement: any[];
|
|
58
|
+
name?: any;
|
|
59
|
+
_id?: string | undefined;
|
|
60
|
+
project?: any;
|
|
61
|
+
alternateName?: any;
|
|
62
|
+
description?: any;
|
|
63
|
+
itemOffered?: any;
|
|
64
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
65
|
+
typeOf: string;
|
|
66
|
+
additionalProperty: any[];
|
|
67
|
+
identifier: string;
|
|
68
|
+
itemListElement: any[];
|
|
69
|
+
name?: any;
|
|
57
70
|
_id?: string | undefined;
|
|
71
|
+
project?: any;
|
|
72
|
+
alternateName?: any;
|
|
73
|
+
description?: any;
|
|
74
|
+
itemOffered?: any;
|
|
75
|
+
}>> & Omit<import("mongoose").FlatRecord<{
|
|
76
|
+
typeOf: string;
|
|
77
|
+
additionalProperty: any[];
|
|
78
|
+
identifier: string;
|
|
79
|
+
itemListElement: any[];
|
|
58
80
|
name?: any;
|
|
81
|
+
_id?: string | undefined;
|
|
59
82
|
project?: any;
|
|
60
83
|
alternateName?: any;
|
|
61
84
|
description?: any;
|
|
62
85
|
itemOffered?: any;
|
|
63
|
-
}
|
|
86
|
+
}> & Required<{
|
|
87
|
+
_id: string;
|
|
88
|
+
}>, never>>;
|
|
64
89
|
export { modelName, schema };
|