@chevre/domain 21.2.0-alpha.14 → 21.2.0-alpha.16
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/createManyEventsIfNotExist.ts +4 -1
- package/example/src/chevre/migrateOrderAdditionalProperties.ts +85 -0
- package/example/src/chevre/transaction/findCreditCard.ts +1 -1
- package/example/src/chevre/transaction/orderMembershipService.ts +1 -1
- package/lib/chevre/index.d.ts +1 -1
- package/lib/chevre/index.js +2 -2
- package/lib/chevre/repo/creativeWork.d.ts +1 -3
- package/lib/chevre/repo/emailMessage.d.ts +1 -27
- package/lib/chevre/repo/event.d.ts +5 -1
- package/lib/chevre/repo/merchantReturnPolicy.d.ts +1 -3
- package/lib/chevre/repo/mongoose/schemas/account.d.ts +4 -2
- package/lib/chevre/repo/mongoose/schemas/accountTitle.d.ts +29 -3
- package/lib/chevre/repo/mongoose/schemas/accountTransaction.d.ts +31 -3
- package/lib/chevre/repo/mongoose/schemas/accountingReport.d.ts +13 -3
- package/lib/chevre/repo/mongoose/schemas/action.d.ts +43 -3
- package/lib/chevre/repo/mongoose/schemas/additionalProperty.d.ts +17 -3
- package/lib/chevre/repo/mongoose/schemas/aggregation.d.ts +4 -2
- package/lib/chevre/repo/mongoose/schemas/assetTransaction.d.ts +41 -3
- package/lib/chevre/repo/mongoose/schemas/authorization.d.ts +19 -3
- package/lib/chevre/repo/mongoose/schemas/categoryCode.d.ts +25 -3
- package/lib/chevre/repo/mongoose/schemas/comments.d.ts +27 -3
- package/lib/chevre/repo/mongoose/schemas/creativeWork.d.ts +43 -3
- package/lib/chevre/repo/mongoose/schemas/customer.d.ts +25 -3
- package/lib/chevre/repo/mongoose/schemas/emailMessages.d.ts +21 -3
- package/lib/chevre/repo/mongoose/schemas/event.d.ts +71 -3
- package/lib/chevre/repo/mongoose/schemas/member.d.ts +13 -3
- package/lib/chevre/repo/mongoose/schemas/merchantReturnPolicy.d.ts +21 -3
- package/lib/chevre/repo/mongoose/schemas/offer.d.ts +65 -3
- package/lib/chevre/repo/mongoose/schemas/offerCatalog.d.ts +27 -3
- package/lib/chevre/repo/mongoose/schemas/order.d.ts +51 -3
- package/lib/chevre/repo/mongoose/schemas/ownershipInfo.d.ts +25 -3
- package/lib/chevre/repo/mongoose/schemas/place.d.ts +49 -3
- package/lib/chevre/repo/mongoose/schemas/priceSpecification.d.ts +29 -3
- package/lib/chevre/repo/mongoose/schemas/product.d.ts +31 -3
- package/lib/chevre/repo/mongoose/schemas/project.d.ts +23 -3
- package/lib/chevre/repo/mongoose/schemas/reservation.d.ts +61 -3
- package/lib/chevre/repo/mongoose/schemas/role.d.ts +11 -3
- package/lib/chevre/repo/mongoose/schemas/seller.d.ts +31 -3
- package/lib/chevre/repo/mongoose/schemas/serviceOutput.d.ts +11 -3
- package/lib/chevre/repo/mongoose/schemas/task.d.ts +27 -3
- package/lib/chevre/repo/mongoose/schemas/telemetry.d.ts +21 -3
- package/lib/chevre/repo/mongoose/schemas/transaction.d.ts +37 -3
- package/lib/chevre/repo/mongoose/schemas/trip.d.ts +11 -3
- package/lib/chevre/repo/order.d.ts +25 -0
- package/lib/chevre/repo/order.js +5 -0
- package/package.json +3 -3
- package/example/src/chevre/migrateMovieAdditionalProperties.ts +0 -98
|
@@ -27,7 +27,7 @@ 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;
|
|
@@ -51,7 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
51
51
|
minimize: false;
|
|
52
52
|
versionKey: false;
|
|
53
53
|
};
|
|
54
|
-
}
|
|
54
|
+
}, {
|
|
55
55
|
typeOf: string;
|
|
56
56
|
text: string;
|
|
57
57
|
additionalProperty: any[];
|
|
@@ -62,5 +62,29 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
62
62
|
author?: any;
|
|
63
63
|
dateCreated?: Date | undefined;
|
|
64
64
|
dateModified?: Date | undefined;
|
|
65
|
-
}
|
|
65
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
66
|
+
typeOf: string;
|
|
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<{
|
|
77
|
+
typeOf: string;
|
|
78
|
+
text: string;
|
|
79
|
+
additionalProperty: any[];
|
|
80
|
+
commentCount: number;
|
|
81
|
+
mentions: any[];
|
|
82
|
+
project?: any;
|
|
83
|
+
about?: any;
|
|
84
|
+
author?: any;
|
|
85
|
+
dateCreated?: Date | undefined;
|
|
86
|
+
dateModified?: Date | undefined;
|
|
87
|
+
}> & {
|
|
88
|
+
_id: import("mongoose").Types.ObjectId;
|
|
89
|
+
}, never>>;
|
|
66
90
|
export { modelName, schema };
|
|
@@ -27,7 +27,7 @@ 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;
|
|
@@ -51,7 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
51
51
|
minimize: false;
|
|
52
52
|
versionKey: false;
|
|
53
53
|
};
|
|
54
|
-
}
|
|
54
|
+
}, {
|
|
55
55
|
typeOf: string;
|
|
56
56
|
name?: any;
|
|
57
57
|
project?: any;
|
|
@@ -70,5 +70,45 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
70
70
|
thumbnailUrl?: string | undefined;
|
|
71
71
|
contentRating?: string | undefined;
|
|
72
72
|
offers?: any;
|
|
73
|
-
}
|
|
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>>;
|
|
74
114
|
export { modelName, schema };
|
|
@@ -27,7 +27,7 @@ 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;
|
|
@@ -51,7 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
51
51
|
minimize: false;
|
|
52
52
|
versionKey: false;
|
|
53
53
|
};
|
|
54
|
-
}
|
|
54
|
+
}, {
|
|
55
55
|
typeOf: string;
|
|
56
56
|
additionalProperty: any[];
|
|
57
57
|
contactPoint: any[];
|
|
@@ -61,5 +61,27 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
61
61
|
email?: string | undefined;
|
|
62
62
|
branchCode?: string | undefined;
|
|
63
63
|
telephone?: string | undefined;
|
|
64
|
-
}
|
|
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>>;
|
|
65
87
|
export { modelName, schema };
|
|
@@ -27,7 +27,7 @@ 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;
|
|
@@ -51,7 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
51
51
|
minimize: false;
|
|
52
52
|
versionKey: false;
|
|
53
53
|
};
|
|
54
|
-
}
|
|
54
|
+
}, {
|
|
55
55
|
typeOf: string;
|
|
56
56
|
name?: any;
|
|
57
57
|
text?: string | undefined;
|
|
@@ -59,5 +59,23 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
59
59
|
identifier?: string | undefined;
|
|
60
60
|
about?: any;
|
|
61
61
|
sender?: any;
|
|
62
|
-
}
|
|
62
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
63
|
+
typeOf: string;
|
|
64
|
+
name?: any;
|
|
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;
|
|
72
|
+
name?: any;
|
|
73
|
+
text?: string | undefined;
|
|
74
|
+
project?: any;
|
|
75
|
+
identifier?: string | undefined;
|
|
76
|
+
about?: any;
|
|
77
|
+
sender?: any;
|
|
78
|
+
}> & {
|
|
79
|
+
_id: import("mongoose").Types.ObjectId;
|
|
80
|
+
}, never>>;
|
|
63
81
|
export { modelName, schema };
|
|
@@ -27,7 +27,7 @@ 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;
|
|
@@ -51,7 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
51
51
|
minimize: false;
|
|
52
52
|
versionKey: false;
|
|
53
53
|
};
|
|
54
|
-
}
|
|
54
|
+
}, {
|
|
55
55
|
typeOf: string;
|
|
56
56
|
checkInCount: number;
|
|
57
57
|
attendeeCount: number;
|
|
@@ -84,5 +84,73 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
84
84
|
subtitleLanguage?: any;
|
|
85
85
|
dubLanguage?: any;
|
|
86
86
|
kanaName?: string | undefined;
|
|
87
|
-
}
|
|
87
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
88
|
+
typeOf: string;
|
|
89
|
+
checkInCount: number;
|
|
90
|
+
attendeeCount: number;
|
|
91
|
+
name?: any;
|
|
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;
|
|
124
|
+
name?: any;
|
|
125
|
+
_id?: string | undefined;
|
|
126
|
+
project?: any;
|
|
127
|
+
alternateName?: any;
|
|
128
|
+
description?: any;
|
|
129
|
+
additionalProperty?: any;
|
|
130
|
+
identifier?: string | undefined;
|
|
131
|
+
startDate?: Date | undefined;
|
|
132
|
+
endDate?: Date | undefined;
|
|
133
|
+
location?: any;
|
|
134
|
+
duration?: string | undefined;
|
|
135
|
+
alternativeHeadline?: any;
|
|
136
|
+
headline?: any;
|
|
137
|
+
offers?: any;
|
|
138
|
+
doorTime?: Date | undefined;
|
|
139
|
+
eventStatus?: string | undefined;
|
|
140
|
+
superEvent?: any;
|
|
141
|
+
coaInfo?: any;
|
|
142
|
+
workPerformed?: any;
|
|
143
|
+
aggregateEntranceGate?: any;
|
|
144
|
+
aggregateReservation?: any;
|
|
145
|
+
aggregateOffer?: any;
|
|
146
|
+
maximumAttendeeCapacity?: number | undefined;
|
|
147
|
+
remainingAttendeeCapacity?: number | undefined;
|
|
148
|
+
videoFormat?: any;
|
|
149
|
+
soundFormat?: any;
|
|
150
|
+
subtitleLanguage?: any;
|
|
151
|
+
dubLanguage?: any;
|
|
152
|
+
kanaName?: string | undefined;
|
|
153
|
+
}> & Required<{
|
|
154
|
+
_id: string;
|
|
155
|
+
}>, never>>;
|
|
88
156
|
export { modelName, schema };
|
|
@@ -27,7 +27,7 @@ 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;
|
|
@@ -51,9 +51,19 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
51
51
|
minimize: false;
|
|
52
52
|
versionKey: false;
|
|
53
53
|
};
|
|
54
|
-
}
|
|
54
|
+
}, {
|
|
55
55
|
typeOf: string;
|
|
56
56
|
project?: any;
|
|
57
57
|
member?: any;
|
|
58
|
-
}
|
|
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>>;
|
|
59
69
|
export { modelName, schema };
|
|
@@ -27,7 +27,7 @@ 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;
|
|
@@ -51,7 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
51
51
|
minimize: false;
|
|
52
52
|
versionKey: false;
|
|
53
53
|
};
|
|
54
|
-
}
|
|
54
|
+
}, {
|
|
55
55
|
typeOf: string;
|
|
56
56
|
name?: any;
|
|
57
57
|
project?: any;
|
|
@@ -59,5 +59,23 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
59
59
|
identifier?: string | undefined;
|
|
60
60
|
customerRemorseReturnFees?: string | undefined;
|
|
61
61
|
customerRemorseReturnFeesMovieTicket?: string | undefined;
|
|
62
|
-
}
|
|
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>>;
|
|
63
81
|
export { modelName, schema };
|
|
@@ -27,7 +27,7 @@ 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;
|
|
@@ -50,7 +50,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
50
50
|
minimize: false;
|
|
51
51
|
versionKey: false;
|
|
52
52
|
};
|
|
53
|
-
}
|
|
53
|
+
}, {
|
|
54
54
|
additionalProperty: any[];
|
|
55
55
|
addOn: any[];
|
|
56
56
|
availableAtOrFrom: any[];
|
|
@@ -80,5 +80,67 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
80
80
|
settings?: any;
|
|
81
81
|
validThrough?: Date | undefined;
|
|
82
82
|
validRateLimit?: any;
|
|
83
|
-
}
|
|
83
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
84
|
+
additionalProperty: any[];
|
|
85
|
+
addOn: any[];
|
|
86
|
+
availableAtOrFrom: any[];
|
|
87
|
+
typeOf?: string | undefined;
|
|
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[];
|
|
117
|
+
typeOf?: string | undefined;
|
|
118
|
+
name?: any;
|
|
119
|
+
_id?: string | undefined;
|
|
120
|
+
project?: any;
|
|
121
|
+
alternateName?: any;
|
|
122
|
+
description?: any;
|
|
123
|
+
identifier?: string | undefined;
|
|
124
|
+
itemOffered?: any;
|
|
125
|
+
eligibleQuantity?: any;
|
|
126
|
+
priceCurrency?: string | undefined;
|
|
127
|
+
color?: any;
|
|
128
|
+
validFrom?: Date | undefined;
|
|
129
|
+
category?: any;
|
|
130
|
+
availability?: string | undefined;
|
|
131
|
+
hasMerchantReturnPolicy?: any;
|
|
132
|
+
priceSpecification?: any;
|
|
133
|
+
eligibleCustomerType?: any;
|
|
134
|
+
eligibleDuration?: any;
|
|
135
|
+
eligibleMembershipType?: any;
|
|
136
|
+
eligibleMonetaryAmount?: any;
|
|
137
|
+
eligibleRegion?: any;
|
|
138
|
+
eligibleSeatingType?: any;
|
|
139
|
+
eligibleSubReservation?: any;
|
|
140
|
+
settings?: any;
|
|
141
|
+
validThrough?: Date | undefined;
|
|
142
|
+
validRateLimit?: any;
|
|
143
|
+
}> & Required<{
|
|
144
|
+
_id: string;
|
|
145
|
+
}>, never>>;
|
|
84
146
|
export { modelName, schema };
|
|
@@ -27,7 +27,7 @@ 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;
|
|
@@ -50,7 +50,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
50
50
|
minimize: false;
|
|
51
51
|
versionKey: false;
|
|
52
52
|
};
|
|
53
|
-
}
|
|
53
|
+
}, {
|
|
54
54
|
typeOf: string;
|
|
55
55
|
additionalProperty: any[];
|
|
56
56
|
identifier: string;
|
|
@@ -61,5 +61,29 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
61
61
|
alternateName?: any;
|
|
62
62
|
description?: any;
|
|
63
63
|
itemOffered?: any;
|
|
64
|
-
}
|
|
64
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
65
|
+
typeOf: string;
|
|
66
|
+
additionalProperty: any[];
|
|
67
|
+
identifier: string;
|
|
68
|
+
itemListElement: any[];
|
|
69
|
+
name?: any;
|
|
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[];
|
|
80
|
+
name?: any;
|
|
81
|
+
_id?: string | undefined;
|
|
82
|
+
project?: any;
|
|
83
|
+
alternateName?: any;
|
|
84
|
+
description?: any;
|
|
85
|
+
itemOffered?: any;
|
|
86
|
+
}> & Required<{
|
|
87
|
+
_id: string;
|
|
88
|
+
}>, never>>;
|
|
65
89
|
export { modelName, schema };
|
|
@@ -27,7 +27,7 @@ declare const modelName = "Order";
|
|
|
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;
|
|
@@ -51,7 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
51
51
|
minimize: false;
|
|
52
52
|
versionKey: false;
|
|
53
53
|
};
|
|
54
|
-
}
|
|
54
|
+
}, {
|
|
55
55
|
typeOf: string;
|
|
56
56
|
additionalProperty: any[];
|
|
57
57
|
identifier: any[];
|
|
@@ -74,5 +74,53 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
74
74
|
orderDate?: Date | undefined;
|
|
75
75
|
isGift?: boolean | undefined;
|
|
76
76
|
dateReturned?: Date | undefined;
|
|
77
|
-
}
|
|
77
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
78
|
+
typeOf: string;
|
|
79
|
+
additionalProperty: any[];
|
|
80
|
+
identifier: any[];
|
|
81
|
+
acceptedOffers: any[];
|
|
82
|
+
paymentMethods: any[];
|
|
83
|
+
discounts: any[];
|
|
84
|
+
orderedItem: any[];
|
|
85
|
+
name?: string | undefined;
|
|
86
|
+
url?: string | undefined;
|
|
87
|
+
project?: any;
|
|
88
|
+
orderNumber?: string | undefined;
|
|
89
|
+
seller?: any;
|
|
90
|
+
price?: number | undefined;
|
|
91
|
+
priceCurrency?: string | undefined;
|
|
92
|
+
broker?: any;
|
|
93
|
+
customer?: any;
|
|
94
|
+
returner?: any;
|
|
95
|
+
confirmationNumber?: string | undefined;
|
|
96
|
+
orderStatus?: string | undefined;
|
|
97
|
+
orderDate?: Date | undefined;
|
|
98
|
+
isGift?: boolean | undefined;
|
|
99
|
+
dateReturned?: Date | undefined;
|
|
100
|
+
}>> & Omit<import("mongoose").FlatRecord<{
|
|
101
|
+
typeOf: string;
|
|
102
|
+
additionalProperty: any[];
|
|
103
|
+
identifier: any[];
|
|
104
|
+
acceptedOffers: any[];
|
|
105
|
+
paymentMethods: any[];
|
|
106
|
+
discounts: any[];
|
|
107
|
+
orderedItem: any[];
|
|
108
|
+
name?: string | undefined;
|
|
109
|
+
url?: string | undefined;
|
|
110
|
+
project?: any;
|
|
111
|
+
orderNumber?: string | undefined;
|
|
112
|
+
seller?: any;
|
|
113
|
+
price?: number | undefined;
|
|
114
|
+
priceCurrency?: string | undefined;
|
|
115
|
+
broker?: any;
|
|
116
|
+
customer?: any;
|
|
117
|
+
returner?: any;
|
|
118
|
+
confirmationNumber?: string | undefined;
|
|
119
|
+
orderStatus?: string | undefined;
|
|
120
|
+
orderDate?: Date | undefined;
|
|
121
|
+
isGift?: boolean | undefined;
|
|
122
|
+
dateReturned?: Date | undefined;
|
|
123
|
+
}> & {
|
|
124
|
+
_id: import("mongoose").Types.ObjectId;
|
|
125
|
+
}, never>>;
|
|
78
126
|
export { modelName, schema };
|
|
@@ -27,7 +27,7 @@ declare const modelName = "OwnershipInfo";
|
|
|
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;
|
|
@@ -51,7 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
51
51
|
minimize: false;
|
|
52
52
|
versionKey: false;
|
|
53
53
|
};
|
|
54
|
-
}
|
|
54
|
+
}, {
|
|
55
55
|
typeOf: string;
|
|
56
56
|
_id?: string | undefined;
|
|
57
57
|
project?: any;
|
|
@@ -61,5 +61,27 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
61
61
|
acquiredFrom?: any;
|
|
62
62
|
ownedFrom?: Date | undefined;
|
|
63
63
|
ownedThrough?: Date | undefined;
|
|
64
|
-
}
|
|
64
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
65
|
+
typeOf: string;
|
|
66
|
+
_id?: string | undefined;
|
|
67
|
+
project?: any;
|
|
68
|
+
identifier?: any;
|
|
69
|
+
typeOfGood?: any;
|
|
70
|
+
ownedBy?: any;
|
|
71
|
+
acquiredFrom?: any;
|
|
72
|
+
ownedFrom?: Date | undefined;
|
|
73
|
+
ownedThrough?: Date | undefined;
|
|
74
|
+
}>> & Omit<import("mongoose").FlatRecord<{
|
|
75
|
+
typeOf: string;
|
|
76
|
+
_id?: string | undefined;
|
|
77
|
+
project?: any;
|
|
78
|
+
identifier?: any;
|
|
79
|
+
typeOfGood?: any;
|
|
80
|
+
ownedBy?: any;
|
|
81
|
+
acquiredFrom?: any;
|
|
82
|
+
ownedFrom?: Date | undefined;
|
|
83
|
+
ownedThrough?: Date | undefined;
|
|
84
|
+
}> & Required<{
|
|
85
|
+
_id: string;
|
|
86
|
+
}>, never>>;
|
|
65
87
|
export { modelName, schema };
|
|
@@ -27,7 +27,7 @@ declare const modelName = "Place";
|
|
|
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;
|
|
@@ -51,7 +51,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
51
51
|
minimize: false;
|
|
52
52
|
versionKey: false;
|
|
53
53
|
};
|
|
54
|
-
}
|
|
54
|
+
}, {
|
|
55
55
|
typeOf: string;
|
|
56
56
|
additionalProperty: any[];
|
|
57
57
|
containsPlace: any[];
|
|
@@ -73,5 +73,51 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
|
|
|
73
73
|
smokingAllowed?: boolean | undefined;
|
|
74
74
|
sameAs?: string | undefined;
|
|
75
75
|
parentOrganization?: any;
|
|
76
|
-
}
|
|
76
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
77
|
+
typeOf: string;
|
|
78
|
+
additionalProperty: any[];
|
|
79
|
+
containsPlace: any[];
|
|
80
|
+
hasEntranceGate: any[];
|
|
81
|
+
hasPOS: any[];
|
|
82
|
+
name?: any;
|
|
83
|
+
url?: string | undefined;
|
|
84
|
+
project?: any;
|
|
85
|
+
alternateName?: any;
|
|
86
|
+
description?: any;
|
|
87
|
+
offers?: any;
|
|
88
|
+
branchCode?: string | undefined;
|
|
89
|
+
telephone?: string | undefined;
|
|
90
|
+
maximumAttendeeCapacity?: number | undefined;
|
|
91
|
+
kanaName?: string | undefined;
|
|
92
|
+
address?: any;
|
|
93
|
+
containedInPlace?: any;
|
|
94
|
+
openingHoursSpecification?: any;
|
|
95
|
+
smokingAllowed?: boolean | undefined;
|
|
96
|
+
sameAs?: string | undefined;
|
|
97
|
+
parentOrganization?: any;
|
|
98
|
+
}>> & Omit<import("mongoose").FlatRecord<{
|
|
99
|
+
typeOf: string;
|
|
100
|
+
additionalProperty: any[];
|
|
101
|
+
containsPlace: any[];
|
|
102
|
+
hasEntranceGate: any[];
|
|
103
|
+
hasPOS: any[];
|
|
104
|
+
name?: any;
|
|
105
|
+
url?: string | undefined;
|
|
106
|
+
project?: any;
|
|
107
|
+
alternateName?: any;
|
|
108
|
+
description?: any;
|
|
109
|
+
offers?: any;
|
|
110
|
+
branchCode?: string | undefined;
|
|
111
|
+
telephone?: string | undefined;
|
|
112
|
+
maximumAttendeeCapacity?: number | undefined;
|
|
113
|
+
kanaName?: string | undefined;
|
|
114
|
+
address?: any;
|
|
115
|
+
containedInPlace?: any;
|
|
116
|
+
openingHoursSpecification?: any;
|
|
117
|
+
smokingAllowed?: boolean | undefined;
|
|
118
|
+
sameAs?: string | undefined;
|
|
119
|
+
parentOrganization?: any;
|
|
120
|
+
}> & {
|
|
121
|
+
_id: import("mongoose").Types.ObjectId;
|
|
122
|
+
}, never>>;
|
|
77
123
|
export { modelName, schema };
|