@chevre/domain 20.14.0 → 21.0.0-alpha.1
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/ownershipInfosCsv2peopleJson.ts +1 -2
- package/example/src/chevre/saveTasks.ts +38 -0
- package/lib/chevre/repo/account.d.ts +1 -1
- package/lib/chevre/repo/account.js +5 -6
- package/lib/chevre/repo/accountTitle.d.ts +25 -1
- package/lib/chevre/repo/accountTransaction.js +3 -2
- package/lib/chevre/repo/action.js +9 -6
- package/lib/chevre/repo/assetTransaction.d.ts +25 -1
- package/lib/chevre/repo/assetTransaction.js +3 -2
- package/lib/chevre/repo/categoryCode.d.ts +25 -1
- package/lib/chevre/repo/code.js +3 -2
- package/lib/chevre/repo/comment.d.ts +25 -1
- package/lib/chevre/repo/comment.js +3 -2
- package/lib/chevre/repo/creativeWork.d.ts +29 -3
- package/lib/chevre/repo/creativeWork.js +3 -2
- package/lib/chevre/repo/customer.d.ts +25 -1
- package/lib/chevre/repo/customer.js +3 -2
- package/lib/chevre/repo/emailMessage.d.ts +28 -2
- package/lib/chevre/repo/event.d.ts +27 -3
- package/lib/chevre/repo/event.js +3 -2
- package/lib/chevre/repo/merchantReturnPolicy.d.ts +29 -3
- package/lib/chevre/repo/merchantReturnPolicy.js +3 -2
- package/lib/chevre/repo/mongoose/model/account.d.ts +24 -1
- package/lib/chevre/repo/mongoose/model/accountTitle.d.ts +34 -1
- package/lib/chevre/repo/mongoose/model/accountTransaction.d.ts +37 -1
- package/lib/chevre/repo/mongoose/model/accountingReport.d.ts +28 -1
- package/lib/chevre/repo/mongoose/model/action.d.ts +43 -1
- package/lib/chevre/repo/mongoose/model/additionalProperty.d.ts +30 -1
- package/lib/chevre/repo/mongoose/model/aggregation.d.ts +24 -1
- package/lib/chevre/repo/mongoose/model/assetTransaction.d.ts +42 -1
- package/lib/chevre/repo/mongoose/model/authorization.d.ts +31 -1
- package/lib/chevre/repo/mongoose/model/categoryCode.d.ts +34 -1
- package/lib/chevre/repo/mongoose/model/comments.d.ts +35 -1
- package/lib/chevre/repo/mongoose/model/creativeWork.d.ts +43 -1
- package/lib/chevre/repo/mongoose/model/customer.d.ts +34 -1
- package/lib/chevre/repo/mongoose/model/emailMessages.d.ts +32 -1
- package/lib/chevre/repo/mongoose/model/event.d.ts +57 -1
- package/lib/chevre/repo/mongoose/model/member.d.ts +28 -1
- package/lib/chevre/repo/mongoose/model/merchantReturnPolicy.d.ts +32 -1
- package/lib/chevre/repo/mongoose/model/offer.d.ts +53 -1
- package/lib/chevre/repo/mongoose/model/offerCatalog.d.ts +34 -1
- package/lib/chevre/repo/mongoose/model/order.d.ts +47 -1
- package/lib/chevre/repo/mongoose/model/ownershipInfo.d.ts +34 -1
- package/lib/chevre/repo/mongoose/model/place.d.ts +46 -1
- package/lib/chevre/repo/mongoose/model/priceSpecification.d.ts +36 -1
- package/lib/chevre/repo/mongoose/model/product.d.ts +37 -1
- package/lib/chevre/repo/mongoose/model/project.d.ts +33 -1
- package/lib/chevre/repo/mongoose/model/reservation.d.ts +52 -1
- package/lib/chevre/repo/mongoose/model/role.d.ts +27 -1
- package/lib/chevre/repo/mongoose/model/seller.d.ts +37 -1
- package/lib/chevre/repo/mongoose/model/serviceOutput.d.ts +27 -1
- package/lib/chevre/repo/mongoose/model/task.d.ts +35 -1
- package/lib/chevre/repo/mongoose/model/telemetry.d.ts +32 -1
- package/lib/chevre/repo/mongoose/model/transaction.d.ts +40 -1
- package/lib/chevre/repo/mongoose/model/trip.d.ts +27 -1
- package/lib/chevre/repo/offer.d.ts +26 -2
- package/lib/chevre/repo/offer.js +3 -2
- package/lib/chevre/repo/offerCatalog.d.ts +25 -1
- package/lib/chevre/repo/offerCatalog.js +2 -22
- package/lib/chevre/repo/order.js +4 -3
- package/lib/chevre/repo/ownershipInfo.d.ts +25 -5
- package/lib/chevre/repo/ownershipInfo.js +7 -10
- package/lib/chevre/repo/place.d.ts +25 -1
- package/lib/chevre/repo/place.js +8 -6
- package/lib/chevre/repo/priceSpecification.d.ts +27 -8
- package/lib/chevre/repo/priceSpecification.js +3 -2
- package/lib/chevre/repo/product.d.ts +25 -1
- package/lib/chevre/repo/product.js +3 -2
- package/lib/chevre/repo/project.d.ts +25 -1
- package/lib/chevre/repo/project.js +4 -3
- package/lib/chevre/repo/reservation.d.ts +1 -1
- package/lib/chevre/repo/reservation.js +5 -4
- package/lib/chevre/repo/seller.d.ts +25 -1
- package/lib/chevre/repo/seller.js +3 -2
- package/lib/chevre/repo/serviceOutput.d.ts +1 -1
- package/lib/chevre/repo/serviceOutput.js +3 -3
- package/lib/chevre/repo/task.d.ts +4 -7
- package/lib/chevre/repo/task.js +10 -5
- package/lib/chevre/repo/transaction.js +3 -2
- package/lib/chevre/service/assetTransaction/cancelReservation.d.ts +3 -1
- package/lib/chevre/service/assetTransaction/moneyTransfer.d.ts +3 -1
- package/lib/chevre/service/assetTransaction/pay.d.ts +3 -1
- package/lib/chevre/service/assetTransaction/refund.d.ts +3 -1
- package/lib/chevre/service/assetTransaction/registerService.d.ts +3 -1
- package/lib/chevre/service/assetTransaction/reserve.d.ts +3 -1
- package/lib/chevre/service/assetTransaction.d.ts +3 -1
- package/lib/chevre/service/assetTransaction.js +8 -8
- package/lib/chevre/service/payment/any/onPaid.d.ts +3 -1
- package/lib/chevre/service/payment/any/onRefund.d.ts +3 -1
- package/lib/chevre/service/reserve/cancelReservation.js +10 -6
- package/package.json +4 -4
- package/example/src/chevre/retryTasks.ts +0 -69
|
@@ -1,4 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
+
import { Connection } from 'mongoose';
|
|
2
26
|
import { modelName } from './mongoose/model/merchantReturnPolicy';
|
|
3
27
|
import * as factory from '../factory';
|
|
4
28
|
export { modelName };
|
|
@@ -9,7 +33,9 @@ export declare class MongoRepository {
|
|
|
9
33
|
private readonly merchantReturnPolicyModel;
|
|
10
34
|
constructor(connection: Connection);
|
|
11
35
|
static CREATE_MONGO_CONDITIONS(params: factory.unitPriceOffer.IOfferMerchantReturnPolicySearchConditions): any[];
|
|
12
|
-
save(params: factory.unitPriceOffer.IOfferMerchantReturnPolicy): Promise<import("mongoose").LeanDocument<
|
|
36
|
+
save(params: factory.unitPriceOffer.IOfferMerchantReturnPolicy): Promise<import("mongoose").LeanDocument<any> & Required<{
|
|
37
|
+
_id: unknown;
|
|
38
|
+
}>>;
|
|
13
39
|
findById(params: {
|
|
14
40
|
id: string;
|
|
15
41
|
}): Promise<factory.unitPriceOffer.IOfferMerchantReturnPolicy>;
|
|
@@ -22,5 +48,5 @@ export declare class MongoRepository {
|
|
|
22
48
|
id: string;
|
|
23
49
|
};
|
|
24
50
|
}): Promise<void>;
|
|
25
|
-
getCursor(conditions: any, projection: any): import("mongoose").
|
|
51
|
+
getCursor(conditions: any, projection: any): import("mongoose").Cursor<any, import("mongoose").QueryOptions<any>>;
|
|
26
52
|
}
|
|
@@ -127,6 +127,7 @@ class MongoRepository {
|
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
129
|
search(params) {
|
|
130
|
+
var _a;
|
|
130
131
|
return __awaiter(this, void 0, void 0, function* () {
|
|
131
132
|
const conditions = MongoRepository.CREATE_MONGO_CONDITIONS(params);
|
|
132
133
|
const query = this.merchantReturnPolicyModel.find((conditions.length > 0) ? { $and: conditions } : {}, {
|
|
@@ -141,8 +142,8 @@ class MongoRepository {
|
|
|
141
142
|
}
|
|
142
143
|
// tslint:disable-next-line:no-single-line-block-comment
|
|
143
144
|
/* istanbul ignore else */
|
|
144
|
-
if (params.sort !== undefined) {
|
|
145
|
-
query.sort(params.sort);
|
|
145
|
+
if (((_a = params.sort) === null || _a === void 0 ? void 0 : _a.identifier) !== undefined) {
|
|
146
|
+
query.sort({ identifier: params.sort.identifier });
|
|
146
147
|
}
|
|
147
148
|
return query.setOptions({ maxTimeMS: 10000 })
|
|
148
149
|
.exec()
|
|
@@ -3,5 +3,28 @@ declare const modelName = "Account";
|
|
|
3
3
|
/**
|
|
4
4
|
* 口座スキーマ
|
|
5
5
|
*/
|
|
6
|
-
declare const schema: mongoose.Schema<
|
|
6
|
+
declare const schema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any>, {}, {}, {}, {}, mongoose.ResolveSchemaOptions<{
|
|
7
|
+
collection: string;
|
|
8
|
+
id: true;
|
|
9
|
+
read: string;
|
|
10
|
+
writeConcern: import("mongodb").WriteConcern;
|
|
11
|
+
strict: false;
|
|
12
|
+
useNestedStrict: boolean;
|
|
13
|
+
timestamps: {
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
};
|
|
17
|
+
toJSON: {
|
|
18
|
+
getters: false;
|
|
19
|
+
virtuals: false;
|
|
20
|
+
minimize: false;
|
|
21
|
+
versionKey: false;
|
|
22
|
+
};
|
|
23
|
+
toObject: {
|
|
24
|
+
getters: false;
|
|
25
|
+
virtuals: true;
|
|
26
|
+
minimize: false;
|
|
27
|
+
versionKey: false;
|
|
28
|
+
};
|
|
29
|
+
}>, {}>;
|
|
7
30
|
export { modelName, schema };
|
|
@@ -3,5 +3,38 @@ declare const modelName = "AccountTitle";
|
|
|
3
3
|
/**
|
|
4
4
|
* 勘定科目スキーマ
|
|
5
5
|
*/
|
|
6
|
-
declare const schema: mongoose.Schema<
|
|
6
|
+
declare const schema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any>, {}, {}, {}, {}, mongoose.ResolveSchemaOptions<{
|
|
7
|
+
collection: string;
|
|
8
|
+
id: true;
|
|
9
|
+
read: string;
|
|
10
|
+
writeConcern: import("mongodb").WriteConcern;
|
|
11
|
+
timestamps: {
|
|
12
|
+
createdAt: string;
|
|
13
|
+
updatedAt: string;
|
|
14
|
+
};
|
|
15
|
+
toJSON: {
|
|
16
|
+
getters: false;
|
|
17
|
+
virtuals: false;
|
|
18
|
+
minimize: false;
|
|
19
|
+
versionKey: false;
|
|
20
|
+
};
|
|
21
|
+
toObject: {
|
|
22
|
+
getters: false;
|
|
23
|
+
virtuals: true;
|
|
24
|
+
minimize: false;
|
|
25
|
+
versionKey: false;
|
|
26
|
+
};
|
|
27
|
+
}>, {
|
|
28
|
+
typeOf: string;
|
|
29
|
+
name?: string | undefined;
|
|
30
|
+
project?: any;
|
|
31
|
+
codeValue?: string | undefined;
|
|
32
|
+
alternateName?: string | undefined;
|
|
33
|
+
description?: string | undefined;
|
|
34
|
+
inCodeSet?: any;
|
|
35
|
+
hasCategoryCode?: any;
|
|
36
|
+
inDefinedTermSet?: any;
|
|
37
|
+
hasDefinedTerm?: any;
|
|
38
|
+
additionalProperty?: any;
|
|
39
|
+
}>;
|
|
7
40
|
export { modelName, schema };
|
|
@@ -3,5 +3,41 @@ declare const modelName = "AccountTransaction";
|
|
|
3
3
|
/**
|
|
4
4
|
* 口座取引スキーマ
|
|
5
5
|
*/
|
|
6
|
-
declare const schema: mongoose.Schema<
|
|
6
|
+
declare const schema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any>, {}, {}, {}, {}, mongoose.ResolveSchemaOptions<{
|
|
7
|
+
collection: string;
|
|
8
|
+
id: true;
|
|
9
|
+
read: string;
|
|
10
|
+
writeConcern: import("mongodb").WriteConcern;
|
|
11
|
+
strict: true;
|
|
12
|
+
useNestedStrict: boolean;
|
|
13
|
+
timestamps: {
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
};
|
|
17
|
+
toJSON: {
|
|
18
|
+
getters: false;
|
|
19
|
+
virtuals: false;
|
|
20
|
+
minimize: false;
|
|
21
|
+
versionKey: false;
|
|
22
|
+
};
|
|
23
|
+
toObject: {
|
|
24
|
+
getters: false;
|
|
25
|
+
virtuals: true;
|
|
26
|
+
minimize: false;
|
|
27
|
+
versionKey: false;
|
|
28
|
+
};
|
|
29
|
+
}>, {
|
|
30
|
+
typeOf: string;
|
|
31
|
+
status: string;
|
|
32
|
+
transactionNumber: string;
|
|
33
|
+
object?: any;
|
|
34
|
+
expires?: Date | undefined;
|
|
35
|
+
project?: any;
|
|
36
|
+
identifier?: string | undefined;
|
|
37
|
+
agent?: any;
|
|
38
|
+
recipient?: any;
|
|
39
|
+
startDate?: Date | undefined;
|
|
40
|
+
endDate?: Date | undefined;
|
|
41
|
+
potentialActions?: any;
|
|
42
|
+
}>;
|
|
7
43
|
export { modelName, schema };
|
|
@@ -3,5 +3,32 @@ declare const modelName = "AccountingReport";
|
|
|
3
3
|
/**
|
|
4
4
|
* 経理レポートスキーマ
|
|
5
5
|
*/
|
|
6
|
-
declare const schema: mongoose.Schema<
|
|
6
|
+
declare const schema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any>, {}, {}, {}, {}, mongoose.ResolveSchemaOptions<{
|
|
7
|
+
collection: string;
|
|
8
|
+
id: true;
|
|
9
|
+
read: string;
|
|
10
|
+
writeConcern: import("mongodb").WriteConcern;
|
|
11
|
+
strict: false;
|
|
12
|
+
useNestedStrict: boolean;
|
|
13
|
+
timestamps: {
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
};
|
|
17
|
+
toJSON: {
|
|
18
|
+
getters: false;
|
|
19
|
+
virtuals: false;
|
|
20
|
+
minimize: false;
|
|
21
|
+
versionKey: false;
|
|
22
|
+
};
|
|
23
|
+
toObject: {
|
|
24
|
+
getters: false;
|
|
25
|
+
virtuals: true;
|
|
26
|
+
minimize: false;
|
|
27
|
+
versionKey: false;
|
|
28
|
+
};
|
|
29
|
+
}>, {
|
|
30
|
+
hasPart: (typeof mongoose.Schema.Types.Mixed)[];
|
|
31
|
+
mainEntity: typeof mongoose.Schema.Types.Mixed;
|
|
32
|
+
project: typeof mongoose.Schema.Types.Mixed;
|
|
33
|
+
}>;
|
|
7
34
|
export { modelName, schema };
|
|
@@ -3,5 +3,47 @@ declare const modelName = "Action";
|
|
|
3
3
|
/**
|
|
4
4
|
* アクションスキーマ
|
|
5
5
|
*/
|
|
6
|
-
declare const schema: mongoose.Schema<
|
|
6
|
+
declare const schema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any>, {}, {}, {}, {}, mongoose.ResolveSchemaOptions<{
|
|
7
|
+
collection: string;
|
|
8
|
+
id: true;
|
|
9
|
+
read: string;
|
|
10
|
+
writeConcern: import("mongodb").WriteConcern;
|
|
11
|
+
strict: true;
|
|
12
|
+
useNestedStrict: boolean;
|
|
13
|
+
timestamps: {
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
};
|
|
17
|
+
toJSON: {
|
|
18
|
+
getters: false;
|
|
19
|
+
virtuals: false;
|
|
20
|
+
minimize: false;
|
|
21
|
+
versionKey: false;
|
|
22
|
+
};
|
|
23
|
+
toObject: {
|
|
24
|
+
getters: false;
|
|
25
|
+
virtuals: true;
|
|
26
|
+
minimize: false;
|
|
27
|
+
versionKey: false;
|
|
28
|
+
};
|
|
29
|
+
}>, {
|
|
30
|
+
object?: any;
|
|
31
|
+
typeOf?: string | undefined;
|
|
32
|
+
error?: any;
|
|
33
|
+
project?: any;
|
|
34
|
+
description?: string | undefined;
|
|
35
|
+
agent?: any;
|
|
36
|
+
recipient?: any;
|
|
37
|
+
startDate?: Date | undefined;
|
|
38
|
+
endDate?: Date | undefined;
|
|
39
|
+
potentialActions?: any;
|
|
40
|
+
fromLocation?: any;
|
|
41
|
+
toLocation?: any;
|
|
42
|
+
actionStatus?: string | undefined;
|
|
43
|
+
result?: any;
|
|
44
|
+
purpose?: any;
|
|
45
|
+
amount?: any;
|
|
46
|
+
instrument?: any;
|
|
47
|
+
location?: any;
|
|
48
|
+
}>;
|
|
7
49
|
export { modelName, schema };
|
|
@@ -3,5 +3,34 @@ declare const modelName = "AdditionalProperty";
|
|
|
3
3
|
/**
|
|
4
4
|
* 追加特性スキーマ
|
|
5
5
|
*/
|
|
6
|
-
declare const schema: mongoose.Schema<
|
|
6
|
+
declare const schema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any>, {}, {}, {}, {}, mongoose.ResolveSchemaOptions<{
|
|
7
|
+
collection: string;
|
|
8
|
+
id: true;
|
|
9
|
+
read: string;
|
|
10
|
+
writeConcern: import("mongodb").WriteConcern;
|
|
11
|
+
strict: true;
|
|
12
|
+
useNestedStrict: boolean;
|
|
13
|
+
timestamps: {
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
};
|
|
17
|
+
toJSON: {
|
|
18
|
+
getters: false;
|
|
19
|
+
virtuals: false;
|
|
20
|
+
minimize: false;
|
|
21
|
+
versionKey: false;
|
|
22
|
+
};
|
|
23
|
+
toObject: {
|
|
24
|
+
getters: false;
|
|
25
|
+
virtuals: true;
|
|
26
|
+
minimize: false;
|
|
27
|
+
versionKey: false;
|
|
28
|
+
};
|
|
29
|
+
}>, {
|
|
30
|
+
typeOf: string;
|
|
31
|
+
codeValue: string;
|
|
32
|
+
name?: any;
|
|
33
|
+
project?: any;
|
|
34
|
+
inCodeSet?: any;
|
|
35
|
+
}>;
|
|
7
36
|
export { modelName, schema };
|
|
@@ -3,5 +3,28 @@ declare const modelName = "Aggregation";
|
|
|
3
3
|
/**
|
|
4
4
|
* 集計スキーマ
|
|
5
5
|
*/
|
|
6
|
-
declare const schema: mongoose.Schema<
|
|
6
|
+
declare const schema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any>, {}, {}, {}, {}, mongoose.ResolveSchemaOptions<{
|
|
7
|
+
collection: string;
|
|
8
|
+
id: true;
|
|
9
|
+
read: string;
|
|
10
|
+
writeConcern: import("mongodb").WriteConcern;
|
|
11
|
+
strict: false;
|
|
12
|
+
useNestedStrict: boolean;
|
|
13
|
+
timestamps: {
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
};
|
|
17
|
+
toJSON: {
|
|
18
|
+
getters: false;
|
|
19
|
+
virtuals: false;
|
|
20
|
+
minimize: false;
|
|
21
|
+
versionKey: false;
|
|
22
|
+
};
|
|
23
|
+
toObject: {
|
|
24
|
+
getters: false;
|
|
25
|
+
virtuals: true;
|
|
26
|
+
minimize: false;
|
|
27
|
+
versionKey: false;
|
|
28
|
+
};
|
|
29
|
+
}>, {}>;
|
|
7
30
|
export { modelName, schema };
|
|
@@ -3,5 +3,46 @@ declare const modelName = "AssetTransaction";
|
|
|
3
3
|
/**
|
|
4
4
|
* 資産取引スキーマ
|
|
5
5
|
*/
|
|
6
|
-
declare const schema: mongoose.Schema<
|
|
6
|
+
declare const schema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any>, {}, {}, {}, {}, mongoose.ResolveSchemaOptions<{
|
|
7
|
+
collection: string;
|
|
8
|
+
id: true;
|
|
9
|
+
read: string;
|
|
10
|
+
writeConcern: import("mongodb").WriteConcern;
|
|
11
|
+
strict: true;
|
|
12
|
+
useNestedStrict: boolean;
|
|
13
|
+
timestamps: {
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
};
|
|
17
|
+
toJSON: {
|
|
18
|
+
getters: false;
|
|
19
|
+
virtuals: false;
|
|
20
|
+
minimize: false;
|
|
21
|
+
versionKey: false;
|
|
22
|
+
};
|
|
23
|
+
toObject: {
|
|
24
|
+
getters: false;
|
|
25
|
+
virtuals: true;
|
|
26
|
+
minimize: false;
|
|
27
|
+
versionKey: false;
|
|
28
|
+
};
|
|
29
|
+
}>, {
|
|
30
|
+
object?: any;
|
|
31
|
+
typeOf?: string | undefined;
|
|
32
|
+
status?: string | undefined;
|
|
33
|
+
expires?: Date | undefined;
|
|
34
|
+
error?: any;
|
|
35
|
+
project?: any;
|
|
36
|
+
agent?: any;
|
|
37
|
+
recipient?: any;
|
|
38
|
+
startDate?: Date | undefined;
|
|
39
|
+
endDate?: Date | undefined;
|
|
40
|
+
potentialActions?: any;
|
|
41
|
+
transactionNumber?: string | undefined;
|
|
42
|
+
tasksExportationStatus?: string | undefined;
|
|
43
|
+
tasksExportedAt?: Date | undefined;
|
|
44
|
+
result?: any;
|
|
45
|
+
location?: any;
|
|
46
|
+
seller?: any;
|
|
47
|
+
}>;
|
|
7
48
|
export { modelName, schema };
|
|
@@ -3,5 +3,35 @@ declare const modelName = "Authorization";
|
|
|
3
3
|
/**
|
|
4
4
|
* 認可スキーマ
|
|
5
5
|
*/
|
|
6
|
-
declare const schema: mongoose.Schema<
|
|
6
|
+
declare const schema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any>, {}, {}, {}, {}, mongoose.ResolveSchemaOptions<{
|
|
7
|
+
collection: string;
|
|
8
|
+
id: true;
|
|
9
|
+
read: string;
|
|
10
|
+
writeConcern: import("mongodb").WriteConcern;
|
|
11
|
+
strict: true;
|
|
12
|
+
useNestedStrict: boolean;
|
|
13
|
+
timestamps: {
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
};
|
|
17
|
+
toJSON: {
|
|
18
|
+
getters: false;
|
|
19
|
+
virtuals: false;
|
|
20
|
+
minimize: false;
|
|
21
|
+
versionKey: false;
|
|
22
|
+
};
|
|
23
|
+
toObject: {
|
|
24
|
+
getters: false;
|
|
25
|
+
virtuals: true;
|
|
26
|
+
minimize: false;
|
|
27
|
+
versionKey: false;
|
|
28
|
+
};
|
|
29
|
+
}>, {
|
|
30
|
+
object?: any;
|
|
31
|
+
typeOf?: string | undefined;
|
|
32
|
+
project?: any;
|
|
33
|
+
code?: string | undefined;
|
|
34
|
+
validFrom?: Date | undefined;
|
|
35
|
+
validUntil?: Date | undefined;
|
|
36
|
+
}>;
|
|
7
37
|
export { modelName, schema };
|
|
@@ -3,5 +3,38 @@ declare const modelName = "CategoryCode";
|
|
|
3
3
|
/**
|
|
4
4
|
* カテゴリーコードスキーマ
|
|
5
5
|
*/
|
|
6
|
-
declare const schema: mongoose.Schema<
|
|
6
|
+
declare const schema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any>, {}, {}, {}, {}, mongoose.ResolveSchemaOptions<{
|
|
7
|
+
collection: string;
|
|
8
|
+
id: true;
|
|
9
|
+
read: string;
|
|
10
|
+
writeConcern: import("mongodb").WriteConcern;
|
|
11
|
+
strict: true;
|
|
12
|
+
useNestedStrict: boolean;
|
|
13
|
+
timestamps: {
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
};
|
|
17
|
+
toJSON: {
|
|
18
|
+
getters: false;
|
|
19
|
+
virtuals: false;
|
|
20
|
+
minimize: false;
|
|
21
|
+
versionKey: false;
|
|
22
|
+
};
|
|
23
|
+
toObject: {
|
|
24
|
+
getters: false;
|
|
25
|
+
virtuals: true;
|
|
26
|
+
minimize: false;
|
|
27
|
+
versionKey: false;
|
|
28
|
+
};
|
|
29
|
+
}>, {
|
|
30
|
+
typeOf: string;
|
|
31
|
+
codeValue: string;
|
|
32
|
+
additionalProperty: any[];
|
|
33
|
+
name?: any;
|
|
34
|
+
project?: any;
|
|
35
|
+
inCodeSet?: any;
|
|
36
|
+
paymentMethod?: any;
|
|
37
|
+
color?: string | undefined;
|
|
38
|
+
image?: string | undefined;
|
|
39
|
+
}>;
|
|
7
40
|
export { modelName, schema };
|
|
@@ -3,5 +3,39 @@ declare const modelName = "Comment";
|
|
|
3
3
|
/**
|
|
4
4
|
* コメントスキーマ
|
|
5
5
|
*/
|
|
6
|
-
declare const schema: mongoose.Schema<
|
|
6
|
+
declare const schema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any>, {}, {}, {}, {}, mongoose.ResolveSchemaOptions<{
|
|
7
|
+
collection: string;
|
|
8
|
+
id: true;
|
|
9
|
+
read: string;
|
|
10
|
+
writeConcern: import("mongodb").WriteConcern;
|
|
11
|
+
strict: true;
|
|
12
|
+
useNestedStrict: boolean;
|
|
13
|
+
timestamps: {
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
};
|
|
17
|
+
toJSON: {
|
|
18
|
+
getters: false;
|
|
19
|
+
virtuals: false;
|
|
20
|
+
minimize: false;
|
|
21
|
+
versionKey: false;
|
|
22
|
+
};
|
|
23
|
+
toObject: {
|
|
24
|
+
getters: false;
|
|
25
|
+
virtuals: true;
|
|
26
|
+
minimize: false;
|
|
27
|
+
versionKey: false;
|
|
28
|
+
};
|
|
29
|
+
}>, {
|
|
30
|
+
text: string;
|
|
31
|
+
typeOf: string;
|
|
32
|
+
additionalProperty: any[];
|
|
33
|
+
commentCount: number;
|
|
34
|
+
mentions: any[];
|
|
35
|
+
project?: any;
|
|
36
|
+
about?: any;
|
|
37
|
+
author?: any;
|
|
38
|
+
dateCreated?: Date | undefined;
|
|
39
|
+
dateModified?: Date | undefined;
|
|
40
|
+
}>;
|
|
7
41
|
export { modelName, schema };
|
|
@@ -3,5 +3,47 @@ declare const modelName = "CreativeWork";
|
|
|
3
3
|
/**
|
|
4
4
|
* 作品スキーマ
|
|
5
5
|
*/
|
|
6
|
-
declare const schema: mongoose.Schema<
|
|
6
|
+
declare const schema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any>, {}, {}, {}, {}, mongoose.ResolveSchemaOptions<{
|
|
7
|
+
collection: string;
|
|
8
|
+
id: true;
|
|
9
|
+
read: string;
|
|
10
|
+
writeConcern: import("mongodb").WriteConcern;
|
|
11
|
+
strict: true;
|
|
12
|
+
useNestedStrict: boolean;
|
|
13
|
+
timestamps: {
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
};
|
|
17
|
+
toJSON: {
|
|
18
|
+
getters: false;
|
|
19
|
+
virtuals: false;
|
|
20
|
+
minimize: false;
|
|
21
|
+
versionKey: false;
|
|
22
|
+
};
|
|
23
|
+
toObject: {
|
|
24
|
+
getters: false;
|
|
25
|
+
virtuals: true;
|
|
26
|
+
minimize: false;
|
|
27
|
+
versionKey: false;
|
|
28
|
+
};
|
|
29
|
+
}>, {
|
|
30
|
+
typeOf: string;
|
|
31
|
+
name?: any;
|
|
32
|
+
project?: any;
|
|
33
|
+
alternateName?: string | undefined;
|
|
34
|
+
description?: string | undefined;
|
|
35
|
+
additionalProperty?: any;
|
|
36
|
+
identifier?: string | undefined;
|
|
37
|
+
duration?: string | undefined;
|
|
38
|
+
alternativeHeadline?: string | undefined;
|
|
39
|
+
copyrightHolder?: any;
|
|
40
|
+
copyrightYear?: number | undefined;
|
|
41
|
+
datePublished?: Date | undefined;
|
|
42
|
+
distributor?: any;
|
|
43
|
+
headline?: string | undefined;
|
|
44
|
+
license?: string | undefined;
|
|
45
|
+
thumbnailUrl?: string | undefined;
|
|
46
|
+
contentRating?: string | undefined;
|
|
47
|
+
offers?: any;
|
|
48
|
+
}>;
|
|
7
49
|
export { modelName, schema };
|
|
@@ -3,5 +3,38 @@ declare const modelName = "Customer";
|
|
|
3
3
|
/**
|
|
4
4
|
* 顧客スキーマ
|
|
5
5
|
*/
|
|
6
|
-
declare const schema: mongoose.Schema<
|
|
6
|
+
declare const schema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any>, {}, {}, {}, {}, mongoose.ResolveSchemaOptions<{
|
|
7
|
+
collection: string;
|
|
8
|
+
id: true;
|
|
9
|
+
read: string;
|
|
10
|
+
writeConcern: import("mongodb").WriteConcern;
|
|
11
|
+
strict: true;
|
|
12
|
+
useNestedStrict: boolean;
|
|
13
|
+
timestamps: {
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
};
|
|
17
|
+
toJSON: {
|
|
18
|
+
getters: false;
|
|
19
|
+
virtuals: false;
|
|
20
|
+
minimize: false;
|
|
21
|
+
versionKey: false;
|
|
22
|
+
};
|
|
23
|
+
toObject: {
|
|
24
|
+
getters: false;
|
|
25
|
+
virtuals: true;
|
|
26
|
+
minimize: false;
|
|
27
|
+
versionKey: false;
|
|
28
|
+
};
|
|
29
|
+
}>, {
|
|
30
|
+
typeOf: string;
|
|
31
|
+
additionalProperty: any[];
|
|
32
|
+
contactPoint: any[];
|
|
33
|
+
name?: any;
|
|
34
|
+
url?: string | undefined;
|
|
35
|
+
project?: any;
|
|
36
|
+
email?: string | undefined;
|
|
37
|
+
branchCode?: string | undefined;
|
|
38
|
+
telephone?: string | undefined;
|
|
39
|
+
}>;
|
|
7
40
|
export { modelName, schema };
|
|
@@ -3,5 +3,36 @@ declare const modelName = "EmailMessage";
|
|
|
3
3
|
/**
|
|
4
4
|
* Eメールメッセージスキーマ
|
|
5
5
|
*/
|
|
6
|
-
declare const schema: mongoose.Schema<
|
|
6
|
+
declare const schema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any>, {}, {}, {}, {}, mongoose.ResolveSchemaOptions<{
|
|
7
|
+
collection: string;
|
|
8
|
+
id: true;
|
|
9
|
+
read: string;
|
|
10
|
+
writeConcern: import("mongodb").WriteConcern;
|
|
11
|
+
strict: true;
|
|
12
|
+
useNestedStrict: boolean;
|
|
13
|
+
timestamps: {
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
};
|
|
17
|
+
toJSON: {
|
|
18
|
+
getters: false;
|
|
19
|
+
virtuals: false;
|
|
20
|
+
minimize: false;
|
|
21
|
+
versionKey: false;
|
|
22
|
+
};
|
|
23
|
+
toObject: {
|
|
24
|
+
getters: false;
|
|
25
|
+
virtuals: true;
|
|
26
|
+
minimize: false;
|
|
27
|
+
versionKey: false;
|
|
28
|
+
};
|
|
29
|
+
}>, {
|
|
30
|
+
typeOf: string;
|
|
31
|
+
text?: string | undefined;
|
|
32
|
+
name?: any;
|
|
33
|
+
project?: any;
|
|
34
|
+
identifier?: string | undefined;
|
|
35
|
+
about?: any;
|
|
36
|
+
sender?: any;
|
|
37
|
+
}>;
|
|
7
38
|
export { modelName, schema };
|