@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.
Files changed (92) hide show
  1. package/example/src/chevre/ownershipInfosCsv2peopleJson.ts +1 -2
  2. package/example/src/chevre/saveTasks.ts +38 -0
  3. package/lib/chevre/repo/account.d.ts +1 -1
  4. package/lib/chevre/repo/account.js +5 -6
  5. package/lib/chevre/repo/accountTitle.d.ts +25 -1
  6. package/lib/chevre/repo/accountTransaction.js +3 -2
  7. package/lib/chevre/repo/action.js +9 -6
  8. package/lib/chevre/repo/assetTransaction.d.ts +25 -1
  9. package/lib/chevre/repo/assetTransaction.js +3 -2
  10. package/lib/chevre/repo/categoryCode.d.ts +25 -1
  11. package/lib/chevre/repo/code.js +3 -2
  12. package/lib/chevre/repo/comment.d.ts +25 -1
  13. package/lib/chevre/repo/comment.js +3 -2
  14. package/lib/chevre/repo/creativeWork.d.ts +29 -3
  15. package/lib/chevre/repo/creativeWork.js +3 -2
  16. package/lib/chevre/repo/customer.d.ts +25 -1
  17. package/lib/chevre/repo/customer.js +3 -2
  18. package/lib/chevre/repo/emailMessage.d.ts +28 -2
  19. package/lib/chevre/repo/event.d.ts +27 -3
  20. package/lib/chevre/repo/event.js +3 -2
  21. package/lib/chevre/repo/merchantReturnPolicy.d.ts +29 -3
  22. package/lib/chevre/repo/merchantReturnPolicy.js +3 -2
  23. package/lib/chevre/repo/mongoose/model/account.d.ts +24 -1
  24. package/lib/chevre/repo/mongoose/model/accountTitle.d.ts +34 -1
  25. package/lib/chevre/repo/mongoose/model/accountTransaction.d.ts +37 -1
  26. package/lib/chevre/repo/mongoose/model/accountingReport.d.ts +28 -1
  27. package/lib/chevre/repo/mongoose/model/action.d.ts +43 -1
  28. package/lib/chevre/repo/mongoose/model/additionalProperty.d.ts +30 -1
  29. package/lib/chevre/repo/mongoose/model/aggregation.d.ts +24 -1
  30. package/lib/chevre/repo/mongoose/model/assetTransaction.d.ts +42 -1
  31. package/lib/chevre/repo/mongoose/model/authorization.d.ts +31 -1
  32. package/lib/chevre/repo/mongoose/model/categoryCode.d.ts +34 -1
  33. package/lib/chevre/repo/mongoose/model/comments.d.ts +35 -1
  34. package/lib/chevre/repo/mongoose/model/creativeWork.d.ts +43 -1
  35. package/lib/chevre/repo/mongoose/model/customer.d.ts +34 -1
  36. package/lib/chevre/repo/mongoose/model/emailMessages.d.ts +32 -1
  37. package/lib/chevre/repo/mongoose/model/event.d.ts +57 -1
  38. package/lib/chevre/repo/mongoose/model/member.d.ts +28 -1
  39. package/lib/chevre/repo/mongoose/model/merchantReturnPolicy.d.ts +32 -1
  40. package/lib/chevre/repo/mongoose/model/offer.d.ts +53 -1
  41. package/lib/chevre/repo/mongoose/model/offerCatalog.d.ts +34 -1
  42. package/lib/chevre/repo/mongoose/model/order.d.ts +47 -1
  43. package/lib/chevre/repo/mongoose/model/ownershipInfo.d.ts +34 -1
  44. package/lib/chevre/repo/mongoose/model/place.d.ts +46 -1
  45. package/lib/chevre/repo/mongoose/model/priceSpecification.d.ts +36 -1
  46. package/lib/chevre/repo/mongoose/model/product.d.ts +37 -1
  47. package/lib/chevre/repo/mongoose/model/project.d.ts +33 -1
  48. package/lib/chevre/repo/mongoose/model/reservation.d.ts +52 -1
  49. package/lib/chevre/repo/mongoose/model/role.d.ts +27 -1
  50. package/lib/chevre/repo/mongoose/model/seller.d.ts +37 -1
  51. package/lib/chevre/repo/mongoose/model/serviceOutput.d.ts +27 -1
  52. package/lib/chevre/repo/mongoose/model/task.d.ts +35 -1
  53. package/lib/chevre/repo/mongoose/model/telemetry.d.ts +32 -1
  54. package/lib/chevre/repo/mongoose/model/transaction.d.ts +40 -1
  55. package/lib/chevre/repo/mongoose/model/trip.d.ts +27 -1
  56. package/lib/chevre/repo/offer.d.ts +26 -2
  57. package/lib/chevre/repo/offer.js +3 -2
  58. package/lib/chevre/repo/offerCatalog.d.ts +25 -1
  59. package/lib/chevre/repo/offerCatalog.js +2 -22
  60. package/lib/chevre/repo/order.js +4 -3
  61. package/lib/chevre/repo/ownershipInfo.d.ts +25 -5
  62. package/lib/chevre/repo/ownershipInfo.js +7 -10
  63. package/lib/chevre/repo/place.d.ts +25 -1
  64. package/lib/chevre/repo/place.js +8 -6
  65. package/lib/chevre/repo/priceSpecification.d.ts +27 -8
  66. package/lib/chevre/repo/priceSpecification.js +3 -2
  67. package/lib/chevre/repo/product.d.ts +25 -1
  68. package/lib/chevre/repo/product.js +3 -2
  69. package/lib/chevre/repo/project.d.ts +25 -1
  70. package/lib/chevre/repo/project.js +4 -3
  71. package/lib/chevre/repo/reservation.d.ts +1 -1
  72. package/lib/chevre/repo/reservation.js +5 -4
  73. package/lib/chevre/repo/seller.d.ts +25 -1
  74. package/lib/chevre/repo/seller.js +3 -2
  75. package/lib/chevre/repo/serviceOutput.d.ts +1 -1
  76. package/lib/chevre/repo/serviceOutput.js +3 -3
  77. package/lib/chevre/repo/task.d.ts +4 -7
  78. package/lib/chevre/repo/task.js +10 -5
  79. package/lib/chevre/repo/transaction.js +3 -2
  80. package/lib/chevre/service/assetTransaction/cancelReservation.d.ts +3 -1
  81. package/lib/chevre/service/assetTransaction/moneyTransfer.d.ts +3 -1
  82. package/lib/chevre/service/assetTransaction/pay.d.ts +3 -1
  83. package/lib/chevre/service/assetTransaction/refund.d.ts +3 -1
  84. package/lib/chevre/service/assetTransaction/registerService.d.ts +3 -1
  85. package/lib/chevre/service/assetTransaction/reserve.d.ts +3 -1
  86. package/lib/chevre/service/assetTransaction.d.ts +3 -1
  87. package/lib/chevre/service/assetTransaction.js +8 -8
  88. package/lib/chevre/service/payment/any/onPaid.d.ts +3 -1
  89. package/lib/chevre/service/payment/any/onRefund.d.ts +3 -1
  90. package/lib/chevre/service/reserve/cancelReservation.js +10 -6
  91. package/package.json +4 -4
  92. package/example/src/chevre/retryTasks.ts +0 -69
@@ -1,4 +1,28 @@
1
- import { Connection, Document } from 'mongoose';
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<Document<any, any, any>>>;
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").QueryCursor<any>;
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<mongoose.Document<any, any, any>, mongoose.Model<mongoose.Document<any, any, any>, any, any>, undefined, {}>;
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<mongoose.Document<any, any, any>, mongoose.Model<mongoose.Document<any, any, any>, any, any>, undefined, {}>;
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<mongoose.Document<any, any, any>, mongoose.Model<mongoose.Document<any, any, any>, any, any>, undefined, {}>;
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<mongoose.Document<any, any, any>, mongoose.Model<mongoose.Document<any, any, any>, any, any>, undefined, {}>;
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<mongoose.Document<any, any, any>, mongoose.Model<mongoose.Document<any, any, any>, any, any>, undefined, {}>;
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<mongoose.Document<any, any, any>, mongoose.Model<mongoose.Document<any, any, any>, any, any>, undefined, {}>;
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<mongoose.Document<any, any, any>, mongoose.Model<mongoose.Document<any, any, any>, any, any>, undefined, {}>;
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<mongoose.Document<any, any, any>, mongoose.Model<mongoose.Document<any, any, any>, any, any>, undefined, {}>;
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<mongoose.Document<any, any, any>, mongoose.Model<mongoose.Document<any, any, any>, any, any>, undefined, {}>;
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<mongoose.Document<any, any, any>, mongoose.Model<mongoose.Document<any, any, any>, any, any>, undefined, {}>;
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<mongoose.Document<any, any, any>, mongoose.Model<mongoose.Document<any, any, any>, any, any>, undefined, {}>;
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<mongoose.Document<any, any, any>, mongoose.Model<mongoose.Document<any, any, any>, any, any>, undefined, {}>;
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<mongoose.Document<any, any, any>, mongoose.Model<mongoose.Document<any, any, any>, any, any>, undefined, {}>;
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<mongoose.Document<any, any, any>, mongoose.Model<mongoose.Document<any, any, any>, any, any>, undefined, {}>;
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 };