@chevre/domain 24.0.0-alpha.40 → 24.0.0-alpha.41
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/lib/chevre/repo/accountTitle.d.ts +3 -3
- package/lib/chevre/repo/action/pay.d.ts +9 -0
- package/lib/chevre/repo/action/pay.js +13 -0
- package/lib/chevre/repo/action/refund.d.ts +9 -0
- package/lib/chevre/repo/action/refund.js +13 -0
- package/lib/chevre/repo/action.d.ts +3 -3
- package/lib/chevre/repo/additionalProperty.js +2 -2
- package/lib/chevre/repo/advanceBookingRequirement.d.ts +1 -3
- package/lib/chevre/repo/advanceBookingRequirement.js +2 -2
- package/lib/chevre/repo/aggregateOffer.d.ts +5 -9
- package/lib/chevre/repo/aggregateOffer.js +3 -3
- package/lib/chevre/repo/assetTransaction.d.ts +3 -3
- package/lib/chevre/repo/assetTransaction.js +12 -6
- package/lib/chevre/repo/categoryCode.d.ts +4 -6
- package/lib/chevre/repo/categoryCode.js +2 -2
- package/lib/chevre/repo/comment.d.ts +3 -3
- package/lib/chevre/repo/creativeWork.d.ts +3 -3
- package/lib/chevre/repo/creativeWork.js +3 -3
- package/lib/chevre/repo/customer.d.ts +3 -3
- package/lib/chevre/repo/customer.js +2 -2
- package/lib/chevre/repo/emailMessage.js +1 -1
- package/lib/chevre/repo/event.d.ts +6 -6
- package/lib/chevre/repo/event.js +10 -4
- package/lib/chevre/repo/eventSeries.d.ts +6 -6
- package/lib/chevre/repo/eventSeries.js +2 -2
- package/lib/chevre/repo/identity.d.ts +4 -6
- package/lib/chevre/repo/identityProvider.d.ts +4 -6
- package/lib/chevre/repo/identityProvider.js +2 -2
- package/lib/chevre/repo/issuer.d.ts +3 -3
- package/lib/chevre/repo/issuer.js +3 -3
- package/lib/chevre/repo/member.d.ts +3 -3
- package/lib/chevre/repo/merchantReturnPolicy.d.ts +3 -3
- package/lib/chevre/repo/merchantReturnPolicy.js +1 -1
- package/lib/chevre/repo/mongoose/schemas/acceptedPaymentMethod.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/account.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/accountTitle.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/accountTransaction.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/accountingReport.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/action.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/actionRecipe.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/additionalProperty.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/advanceBookingRequirement.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/aggregateOffer.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/aggregateOrder.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/aggregateReservation.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/aggregation.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/assetTransaction.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/authorization.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/categoryCode.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/civicStructure.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/comments.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/creativeWork.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/customer.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/customerType.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/emailMessages.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/event.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/eventOffer.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/eventSeries.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/identity.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/identityProvider.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/issuer.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/member/global.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/member.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/merchantReturnPolicy.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/message.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/movieTicketTypes.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/note.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/offerCatalog.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/offerCatalogItem.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/offerItemCondition.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/order.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/ownershipInfo.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/paymentService.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/paymentServiceChannel.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/pendingReservation.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/pendingReservationAggregate.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/place.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/potentialAction.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/priceSpecification.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/product.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/productModel.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/productOffer.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/project.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/reservation.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/reserveInterface.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/role.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/schedule.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/seller.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/sellerReturnPolicy.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/service/availableHour.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/serviceOutput.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/setting.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/task.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/ticket.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/transaction.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/transactionNumber.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/trip.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/webSite.d.ts +2 -2
- package/lib/chevre/repo/movieTicketType.d.ts +1 -3
- package/lib/chevre/repo/movieTicketType.js +2 -2
- package/lib/chevre/repo/offer/offerInCatalogReadOnly.d.ts +1 -3
- package/lib/chevre/repo/offer/unitPriceInCatalog.d.ts +1 -3
- package/lib/chevre/repo/offerCatalog.d.ts +3 -3
- package/lib/chevre/repo/offerCatalog.js +5 -4
- package/lib/chevre/repo/offerCatalogItem.js +4 -4
- package/lib/chevre/repo/offerItemCondition.js +2 -2
- package/lib/chevre/repo/order.d.ts +3 -3
- package/lib/chevre/repo/ownershipInfo.d.ts +3 -3
- package/lib/chevre/repo/passport.js +1 -1
- package/lib/chevre/repo/paymentService.d.ts +1 -3
- package/lib/chevre/repo/paymentService.js +2 -2
- package/lib/chevre/repo/paymentServiceChannel.d.ts +1 -3
- package/lib/chevre/repo/paymentServiceChannel.js +2 -2
- package/lib/chevre/repo/person.js +2 -2
- package/lib/chevre/repo/place/busStop.js +1 -1
- package/lib/chevre/repo/place/movieTheater.d.ts +3 -3
- package/lib/chevre/repo/place/movieTheater.js +10 -4
- package/lib/chevre/repo/place/screeningRoom.d.ts +3 -3
- package/lib/chevre/repo/place/screeningRoom.js +2 -2
- package/lib/chevre/repo/place/seat.d.ts +2 -4
- package/lib/chevre/repo/potentialAction.d.ts +4 -6
- package/lib/chevre/repo/potentialAction.js +2 -2
- package/lib/chevre/repo/priceSpecification.d.ts +3 -3
- package/lib/chevre/repo/priceSpecification.js +2 -2
- package/lib/chevre/repo/product.d.ts +5 -9
- package/lib/chevre/repo/product.js +3 -3
- package/lib/chevre/repo/productModel.js +2 -2
- package/lib/chevre/repo/project.d.ts +3 -3
- package/lib/chevre/repo/rateLimit/offer.js +1 -1
- package/lib/chevre/repo/reservation.d.ts +4 -6
- package/lib/chevre/repo/seller.d.ts +5 -9
- package/lib/chevre/repo/seller.js +2 -2
- package/lib/chevre/repo/sellerReturnPolicy.d.ts +1 -3
- package/lib/chevre/repo/sellerReturnPolicy.js +2 -2
- package/lib/chevre/repo/task.d.ts +3 -3
- package/lib/chevre/repo/task.js +1 -1
- package/lib/chevre/repo/transaction.d.ts +3 -3
- package/lib/chevre/repo/transactionProcess.js +1 -1
- package/lib/chevre/repo/trip.d.ts +4 -12
- package/lib/chevre/repo/trip.js +3 -3
- package/lib/chevre/repo/webSite.d.ts +1 -3
- package/lib/chevre/repo/webSite.js +3 -2
- package/lib/chevre/repository.d.ts +10 -0
- package/lib/chevre/repository.js +22 -0
- package/lib/chevre/service/assetTransaction/moneyTransfer.js +8 -5
- package/lib/chevre/service/assetTransaction/pay/confirm.d.ts +1 -1
- package/lib/chevre/service/assetTransaction/pay/exportTasksById.js +2 -1
- package/lib/chevre/service/assetTransaction/pay/publishPaymentUrl.js +2 -1
- package/lib/chevre/service/assetTransaction/pay/start/factory.js +2 -1
- package/lib/chevre/service/assetTransaction/pay/start/processAuthorize.d.ts +6 -0
- package/lib/chevre/service/assetTransaction/pay/start/processAuthorizeMovieTicket.d.ts +6 -0
- package/lib/chevre/service/assetTransaction/pay/start.d.ts +6 -0
- package/lib/chevre/service/assetTransaction/reserve/start/createSubReservations.js +6 -3
- package/lib/chevre/service/delivery/factory.js +2 -1
- package/lib/chevre/service/event/saveScreeningEvents.js +2 -2
- package/lib/chevre/service/event.js +1 -1
- package/lib/chevre/service/notification/notifyByEmail.d.ts +1 -1
- package/lib/chevre/service/notification/triggerWebhook.js +1 -1
- package/lib/chevre/service/offer/event/authorize.js +2 -1
- package/lib/chevre/service/offer/event/searchEventTicketOffers.js +2 -1
- package/lib/chevre/service/offer/event/searchOffersByIds.js +2 -1
- package/lib/chevre/service/offer/event/voidTransaction.js +6 -3
- package/lib/chevre/service/offer/event/voidTransactionByActionId.js +2 -1
- package/lib/chevre/service/offer/eventServiceByCOA/authorize.d.ts +1 -1
- package/lib/chevre/service/offer/eventServiceByCOA/changeOffers.d.ts +1 -1
- package/lib/chevre/service/offer/eventServiceByCOA/findAcceptAction.js +2 -1
- package/lib/chevre/service/offer/product.js +1 -1
- package/lib/chevre/service/order/confirmPayTransaction.d.ts +1 -1
- package/lib/chevre/service/order/onAssetTransactionStatusChanged.js +2 -1
- package/lib/chevre/service/order/onOrderStatusChanged/onOrderReturned.js +4 -2
- package/lib/chevre/service/payment/any/authorize.d.ts +6 -0
- package/lib/chevre/service/payment/any/findAcceptAction.js +2 -1
- package/lib/chevre/service/payment/any/findAuthorizeAction.js +2 -1
- package/lib/chevre/service/payment/any/findCheckAction.js +2 -1
- package/lib/chevre/service/payment/any/invalidatePaymentUrl.js +2 -1
- package/lib/chevre/service/payment/any/onPayActionCompleted.d.ts +6 -2
- package/lib/chevre/service/payment/any/onPayActionCompleted.js +7 -2
- package/lib/chevre/service/payment/any/onPaymentStatusChanged.d.ts +10 -5
- package/lib/chevre/service/payment/any/onPaymentStatusChanged.js +21 -11
- package/lib/chevre/service/payment/any/onRefundActionCompletedOrFailed.d.ts +12 -10
- package/lib/chevre/service/payment/any/onRefundActionCompletedOrFailed.js +9 -6
- package/lib/chevre/service/payment/any/processVoidPayTransaction.js +2 -1
- package/lib/chevre/service/payment/any/verifyTicketTokenAsNeeded.js +2 -1
- package/lib/chevre/service/payment/creditCard/authorize/processAuthorizeCreditCard.js +1 -1
- package/lib/chevre/service/payment/creditCard/payCreditCard.d.ts +6 -0
- package/lib/chevre/service/payment/creditCard/refundCreditCard.d.ts +6 -0
- package/lib/chevre/service/payment/creditCard/refundCreditCard.js +1 -1
- package/lib/chevre/service/payment/faceToFace.d.ts +10 -0
- package/lib/chevre/service/payment/factory/createPayObjectServiceOutput.js +2 -1
- package/lib/chevre/service/payment/factory.js +4 -2
- package/lib/chevre/service/payment/movieTicket/authorize.d.ts +6 -0
- package/lib/chevre/service/payment/movieTicket/authorize.js +1 -1
- package/lib/chevre/service/payment/movieTicket/payMovieTicket/payActionParams2seatInfoSyncIn.d.ts +12 -0
- package/lib/chevre/service/payment/movieTicket/payMovieTicket/payActionParams2seatInfoSyncIn.js +72 -0
- package/lib/chevre/service/payment/movieTicket/payMovieTicket/processSeatInfoSync.d.ts +8 -0
- package/lib/chevre/service/payment/movieTicket/payMovieTicket/processSeatInfoSync.js +29 -0
- package/lib/chevre/service/payment/movieTicket/payMovieTicket.d.ts +7 -1
- package/lib/chevre/service/payment/movieTicket/payMovieTicket.js +4 -71
- package/lib/chevre/service/payment/movieTicket/refundMovieTicket.d.ts +6 -0
- package/lib/chevre/service/payment/movieTicket/validation.d.ts +1 -2
- package/lib/chevre/service/payment/movieTicket/validation.js +37 -29
- package/lib/chevre/service/payment/movieTicket/voidTransaction.d.ts +6 -0
- package/lib/chevre/service/payment/paymentCard.d.ts +10 -0
- package/lib/chevre/service/permit.js +4 -2
- package/lib/chevre/service/reserve/factory.d.ts +1 -1
- package/lib/chevre/service/reserve/findByCode.js +2 -1
- package/lib/chevre/service/reserve/searchByOrder.js +2 -1
- package/lib/chevre/service/reserve/verifyToken4reservation.js +2 -1
- package/lib/chevre/service/task/authorizePayment.js +6 -0
- package/lib/chevre/service/task/confirmReserveTransaction.js +4 -2
- package/lib/chevre/service/task/invalidatePaymentUrl.js +6 -0
- package/lib/chevre/service/task/onResourceUpdated.js +1 -1
- package/lib/chevre/service/task/pay.js +6 -0
- package/lib/chevre/service/task/payment/invalidatePaymentUrlByTask.d.ts +6 -0
- package/lib/chevre/service/task/payment/payByTask.d.ts +6 -0
- package/lib/chevre/service/task/payment/payByTask.js +2 -1
- package/lib/chevre/service/task/payment/refundByTask.d.ts +6 -0
- package/lib/chevre/service/task/payment/voidPaymentByTask.d.ts +6 -0
- package/lib/chevre/service/task/refund.js +6 -0
- package/lib/chevre/service/task/returnReserveTransaction.js +2 -1
- package/lib/chevre/service/task/voidPayment.js +6 -0
- package/lib/chevre/service/transaction/deleteTransaction.js +4 -2
- package/lib/chevre/service/transaction/placeOrder/exportTasks/factory.js +2 -1
- package/lib/chevre/service/transaction/returnOrder/exportTasks/factory.js +2 -1
- package/lib/chevre/service/transaction/returnOrder/potentialActions/returnPaymentMethod.js +2 -2
- package/lib/chevre/service/transaction/returnOrder/preStart/getReturnPolicyByProject.js +5 -3
- package/lib/chevre/service/validation/validateOrder.js +4 -2
- package/package.json +1 -1
|
@@ -10,9 +10,7 @@ export type ISavingIdentity = (ISavingSoftwareApplicationIdentity | ISavingWebAp
|
|
|
10
10
|
issuedBy: factory.creativeWork.certification.webApplication.IIssuedBy[];
|
|
11
11
|
};
|
|
12
12
|
interface IUnset {
|
|
13
|
-
$unset?:
|
|
14
|
-
[key: string]: 1;
|
|
15
|
-
};
|
|
13
|
+
$unset?: Record<string, 1>;
|
|
16
14
|
}
|
|
17
15
|
type IIdentityWithId = (factory.creativeWork.certification.softwareApplication.ICertification | factory.creativeWork.certification.webApplication.ICertification) & {
|
|
18
16
|
id: string;
|
|
@@ -38,7 +36,7 @@ export declare class IdentityRepo {
|
|
|
38
36
|
id: string;
|
|
39
37
|
};
|
|
40
38
|
}): Promise<void>;
|
|
41
|
-
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown,
|
|
39
|
+
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & ((Omit<import("@chevre/factory/lib/creativeWork/certification/softwareApplication").ICertification, "id"> & {
|
|
42
40
|
_id: import("mongoose").Types.ObjectId;
|
|
43
41
|
} & {
|
|
44
42
|
__v: number;
|
|
@@ -46,7 +44,7 @@ export declare class IdentityRepo {
|
|
|
46
44
|
_id: import("mongoose").Types.ObjectId;
|
|
47
45
|
} & {
|
|
48
46
|
__v: number;
|
|
49
|
-
})
|
|
47
|
+
})), QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & ((Omit<import("@chevre/factory/lib/creativeWork/certification/softwareApplication").ICertification, "id"> & {
|
|
50
48
|
_id: import("mongoose").Types.ObjectId;
|
|
51
49
|
} & {
|
|
52
50
|
__v: number;
|
|
@@ -54,7 +52,7 @@ export declare class IdentityRepo {
|
|
|
54
52
|
_id: import("mongoose").Types.ObjectId;
|
|
55
53
|
} & {
|
|
56
54
|
__v: number;
|
|
57
|
-
})
|
|
55
|
+
}))) | null>;
|
|
58
56
|
updateIssuedBy2array(params: Pick<ISavingIdentity, 'issuedBy'> & {
|
|
59
57
|
id: string;
|
|
60
58
|
}): Promise<void>;
|
|
@@ -5,9 +5,7 @@ export type ISavingIdentityProvider = Pick<factory.identityProvider.IIdentityPro
|
|
|
5
5
|
id?: never;
|
|
6
6
|
};
|
|
7
7
|
interface IUnset {
|
|
8
|
-
$unset?:
|
|
9
|
-
[key: string]: 1;
|
|
10
|
-
};
|
|
8
|
+
$unset?: Record<string, 1>;
|
|
11
9
|
}
|
|
12
10
|
type IIdentityProviderWithId = factory.identityProvider.IIdentityProvider & {
|
|
13
11
|
id: string;
|
|
@@ -33,15 +31,15 @@ export declare class IdentityProviderRepo {
|
|
|
33
31
|
id: string;
|
|
34
32
|
};
|
|
35
33
|
}): Promise<void>;
|
|
36
|
-
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown,
|
|
34
|
+
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & IDocType & {
|
|
37
35
|
_id: import("mongoose").Types.ObjectId;
|
|
38
36
|
} & {
|
|
39
37
|
__v: number;
|
|
40
|
-
},
|
|
38
|
+
}, QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & IDocType & {
|
|
41
39
|
_id: import("mongoose").Types.ObjectId;
|
|
42
40
|
} & {
|
|
43
41
|
__v: number;
|
|
44
|
-
}
|
|
42
|
+
}) | null>;
|
|
45
43
|
unsetUnnecessaryFields(params: {
|
|
46
44
|
filter: any;
|
|
47
45
|
$unset: any;
|
|
@@ -67,7 +67,7 @@ class IdentityProviderRepo {
|
|
|
67
67
|
if (savingId === '') {
|
|
68
68
|
throw new factory.errors.ArgumentNull('id');
|
|
69
69
|
}
|
|
70
|
-
const { id, identifier, project, typeOf, $unset, ...updateFields } = params.attributes;
|
|
70
|
+
const { id, identifier, project, typeOf, $unset, ...updateFields } = params.attributes; // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
71
71
|
const filter = {
|
|
72
72
|
_id: { $eq: savingId },
|
|
73
73
|
'project.id': { $eq: project.id }
|
|
@@ -90,7 +90,7 @@ class IdentityProviderRepo {
|
|
|
90
90
|
savedId = savingId;
|
|
91
91
|
}
|
|
92
92
|
else {
|
|
93
|
-
const { $unset, id, ...createParams } = params.attributes;
|
|
93
|
+
const { $unset, id, ...createParams } = params.attributes; // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
94
94
|
const result = await this.identityProviderModel.insertMany(createParams, { rawResult: true });
|
|
95
95
|
const insertedId = result.insertedIds?.[0]?.toHexString();
|
|
96
96
|
if (typeof insertedId !== 'string') {
|
|
@@ -35,7 +35,7 @@ export declare class IssuerRepo {
|
|
|
35
35
|
id: string;
|
|
36
36
|
};
|
|
37
37
|
}): Promise<void>;
|
|
38
|
-
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown,
|
|
38
|
+
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<factory.issuer.IIssuer, "id"> & {
|
|
39
39
|
hasMemberProgram?: (factory.issuer.IMemberProgram & {
|
|
40
40
|
hasTiers?: Pick<factory.issuer.IMemberProgramTier, "identifier" | "typeOf">[];
|
|
41
41
|
})[];
|
|
@@ -43,7 +43,7 @@ export declare class IssuerRepo {
|
|
|
43
43
|
_id: import("mongoose").Types.ObjectId;
|
|
44
44
|
} & {
|
|
45
45
|
__v: number;
|
|
46
|
-
},
|
|
46
|
+
}, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<factory.issuer.IIssuer, "id"> & {
|
|
47
47
|
hasMemberProgram?: (factory.issuer.IMemberProgram & {
|
|
48
48
|
hasTiers?: Pick<factory.issuer.IMemberProgramTier, "identifier" | "typeOf">[];
|
|
49
49
|
})[];
|
|
@@ -51,6 +51,6 @@ export declare class IssuerRepo {
|
|
|
51
51
|
_id: import("mongoose").Types.ObjectId;
|
|
52
52
|
} & {
|
|
53
53
|
__v: number;
|
|
54
|
-
}
|
|
54
|
+
}) | null>;
|
|
55
55
|
}
|
|
56
56
|
export {};
|
|
@@ -59,12 +59,12 @@ class IssuerRepo {
|
|
|
59
59
|
let savedId;
|
|
60
60
|
let doc;
|
|
61
61
|
if (params.id === '') {
|
|
62
|
-
const { id, ...creatingParams } = params;
|
|
62
|
+
const { id, ...creatingParams } = params; // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
63
63
|
doc = await this.issuerModel.create(creatingParams);
|
|
64
64
|
savedId = doc.id;
|
|
65
65
|
}
|
|
66
66
|
else {
|
|
67
|
-
const { id, identifier, project, ...updateFields } = params;
|
|
67
|
+
const { id, identifier, project, ...updateFields } = params; // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
68
68
|
doc = await this.issuerModel.findOneAndUpdate({ _id: { $eq: params.id } }, { $set: updateFields }, { upsert: false, new: true, projection: { _id: 1 } })
|
|
69
69
|
.exec();
|
|
70
70
|
savedId = params.id;
|
|
@@ -75,7 +75,7 @@ class IssuerRepo {
|
|
|
75
75
|
return { id: savedId };
|
|
76
76
|
}
|
|
77
77
|
async renameIssuerIdentifier(params) {
|
|
78
|
-
const { id, ...updateFields } = params;
|
|
78
|
+
const { id, ...updateFields } = params; // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
79
79
|
const doc = await this.issuerModel.findOneAndUpdate({ _id: { $eq: params.id } }, { $set: updateFields }, { upsert: false, new: true, projection: { _id: 1 } })
|
|
80
80
|
.exec();
|
|
81
81
|
const savedId = params.id;
|
|
@@ -174,15 +174,15 @@ export declare class MemberRepo {
|
|
|
174
174
|
id: string;
|
|
175
175
|
};
|
|
176
176
|
}): Promise<string[]>;
|
|
177
|
-
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown,
|
|
177
|
+
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, factory.iam.IMember, import("./mongoose/virtuals").IVirtuals, {}> & factory.iam.IMember & {
|
|
178
178
|
_id: import("mongoose").Types.ObjectId;
|
|
179
179
|
} & {
|
|
180
180
|
__v: number;
|
|
181
|
-
},
|
|
181
|
+
}, import("mongoose").QueryOptions<factory.iam.IMember>, (import("mongoose").Document<unknown, Record<string, never>, factory.iam.IMember, import("./mongoose/virtuals").IVirtuals, {}> & factory.iam.IMember & {
|
|
182
182
|
_id: import("mongoose").Types.ObjectId;
|
|
183
183
|
} & {
|
|
184
184
|
__v: number;
|
|
185
|
-
}
|
|
185
|
+
}) | null>;
|
|
186
186
|
unsetUnnecessaryFields(params: {
|
|
187
187
|
filter: any;
|
|
188
188
|
$unset: any;
|
|
@@ -20,7 +20,7 @@ export declare class MerchantReturnPolicyRepo {
|
|
|
20
20
|
id: string;
|
|
21
21
|
};
|
|
22
22
|
}): Promise<void>;
|
|
23
|
-
getCursor(conditions: any, projection: any): import("mongoose").Cursor<Document<unknown,
|
|
23
|
+
getCursor(conditions: any, projection: any): import("mongoose").Cursor<Document<unknown, Record<string, never>, factory.unitPriceOffer.IOfferMerchantReturnPolicy, import("./mongoose/virtuals").IVirtuals, {}> & Pick<factory.merchantReturnPolicy.IMerchantReturnPolicy, "typeOf" | "customerRemorseReturnFees" | "customerRemorseReturnFeesMovieTicket"> & {
|
|
24
24
|
customerRemorseReturnFees: factory.merchantReturnPolicy.ICustomerRemorseReturnFees;
|
|
25
25
|
customerRemorseReturnFeesMovieTicket: factory.merchantReturnPolicy.ICustomerRemorseReturnFeesMovieTicket;
|
|
26
26
|
project: Pick<factory.project.IProject, "id" | "typeOf">;
|
|
@@ -32,7 +32,7 @@ export declare class MerchantReturnPolicyRepo {
|
|
|
32
32
|
_id: import("mongoose").Types.ObjectId;
|
|
33
33
|
} & {
|
|
34
34
|
__v: number;
|
|
35
|
-
},
|
|
35
|
+
}, import("mongoose").QueryOptions<factory.unitPriceOffer.IOfferMerchantReturnPolicy>, (Document<unknown, Record<string, never>, factory.unitPriceOffer.IOfferMerchantReturnPolicy, import("./mongoose/virtuals").IVirtuals, {}> & Pick<factory.merchantReturnPolicy.IMerchantReturnPolicy, "typeOf" | "customerRemorseReturnFees" | "customerRemorseReturnFeesMovieTicket"> & {
|
|
36
36
|
customerRemorseReturnFees: factory.merchantReturnPolicy.ICustomerRemorseReturnFees;
|
|
37
37
|
customerRemorseReturnFeesMovieTicket: factory.merchantReturnPolicy.ICustomerRemorseReturnFeesMovieTicket;
|
|
38
38
|
project: Pick<factory.project.IProject, "id" | "typeOf">;
|
|
@@ -44,5 +44,5 @@ export declare class MerchantReturnPolicyRepo {
|
|
|
44
44
|
_id: import("mongoose").Types.ObjectId;
|
|
45
45
|
} & {
|
|
46
46
|
__v: number;
|
|
47
|
-
}
|
|
47
|
+
}) | null>;
|
|
48
48
|
}
|
|
@@ -103,7 +103,7 @@ class MerchantReturnPolicyRepo {
|
|
|
103
103
|
}
|
|
104
104
|
else {
|
|
105
105
|
// 上書き禁止属性を除外(2022-08-24~)
|
|
106
|
-
const { id, identifier, project, typeOf, ...updateFields } = params;
|
|
106
|
+
const { id, identifier, project, typeOf, ...updateFields } = params; // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
107
107
|
doc = await this.merchantReturnPolicyModel.findOneAndUpdate({ _id: params.id }, updateFields, { upsert: false, new: true })
|
|
108
108
|
.exec();
|
|
109
109
|
}
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import * as factory from '../../../factory';
|
|
3
3
|
import { IVirtuals } from '../virtuals';
|
|
4
4
|
type IDocType = Omit<factory.acceptedPaymentMethodOffer.IAcceptedPaymentMethodOffer, 'id'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "AcceptedPaymentMethod";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = factory.account.IAccount;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "Account";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = factory.accountTitle.IAccountTitle;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "AccountTitle";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = Omit<factory.account.transaction.ITransaction<factory.account.transactionType>, 'id'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition>;
|
|
8
8
|
declare const modelName = "AccountTransaction";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -3,9 +3,9 @@ import { IVirtuals } from '../virtuals';
|
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IAccountingReport = factory.report.accountingReport.IReportDocument;
|
|
5
5
|
type IDocType = IAccountingReport;
|
|
6
|
-
type IModel = Model<IDocType,
|
|
6
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
7
7
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
8
|
-
type ISchema = Schema<IDocType, IModel,
|
|
8
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
9
9
|
declare const modelName = "AccountingReport";
|
|
10
10
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
11
11
|
declare function createSchema(): ISchema;
|
|
@@ -4,9 +4,9 @@ import * as factory from '../../../factory';
|
|
|
4
4
|
type IDocType = Omit<factory.action.IAction<factory.action.IAttributes<factory.actionType, any, any>>, 'id'> & {
|
|
5
5
|
identifier?: string;
|
|
6
6
|
};
|
|
7
|
-
type IModel = Model<IDocType,
|
|
7
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
8
8
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
9
|
-
type ISchema = Schema<IDocType, IModel,
|
|
9
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
10
10
|
declare const modelName = "Action";
|
|
11
11
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
12
12
|
declare function createSchema(): ISchema;
|
|
@@ -8,9 +8,9 @@ type IDocType = factory.recipe.IRecipe & {
|
|
|
8
8
|
dateCreated?: Date;
|
|
9
9
|
dateModified?: Date;
|
|
10
10
|
};
|
|
11
|
-
type IModel = Model<IDocType,
|
|
11
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
12
12
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
13
|
-
type ISchema = Schema<IDocType, IModel,
|
|
13
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
14
14
|
declare const modelName = "ActionRecipe";
|
|
15
15
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
16
16
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = Omit<factory.additionalProperty.IAdditionalProperty, 'id'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "AdditionalProperty";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = Omit<factory.advanceBookingRequirement.IAdvanceBookingRequirement, 'id'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "AdvanceBookingRequirement";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -5,9 +5,9 @@ export interface IDocType extends Omit<factory.aggregateOffer.IAggregateOffer, '
|
|
|
5
5
|
_id: string;
|
|
6
6
|
includedInDataCatalog?: any[];
|
|
7
7
|
}
|
|
8
|
-
type IModel = Model<IDocType,
|
|
8
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
9
9
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
10
|
-
type ISchema = Schema<IDocType, IModel,
|
|
10
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
11
11
|
declare const modelName = "AggregateOffer";
|
|
12
12
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
13
13
|
declare function createSchema(): ISchema;
|
|
@@ -15,9 +15,9 @@ export interface IDocType {
|
|
|
15
15
|
};
|
|
16
16
|
typeOf: factory.personType.Person | factory.placeType.Seat;
|
|
17
17
|
}
|
|
18
|
-
type IModel = Model<IDocType,
|
|
18
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
19
19
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
20
|
-
type ISchema = Schema<IDocType, IModel,
|
|
20
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
21
21
|
declare const modelName = "AggregateOrder";
|
|
22
22
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
23
23
|
declare function createSchema(): ISchema;
|
|
@@ -15,9 +15,9 @@ export interface IAggregateReservation {
|
|
|
15
15
|
aggregateOffer?: factory.event.screeningEvent.IAggregateOffer;
|
|
16
16
|
}
|
|
17
17
|
type IDocType = IAggregateReservation;
|
|
18
|
-
type IModel = Model<IDocType,
|
|
18
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
19
19
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
20
|
-
type ISchema = Schema<IDocType, IModel,
|
|
20
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
21
21
|
declare const modelName = "AggregateReservation";
|
|
22
22
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
23
23
|
declare function createSchema(): ISchema;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from 'mongoose';
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
type IDocType = any;
|
|
4
|
-
type IModel = Model<IDocType,
|
|
4
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
5
5
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
6
|
-
type ISchema = Schema<IDocType, IModel,
|
|
6
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
7
7
|
declare const modelName = "Aggregation";
|
|
8
8
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
9
9
|
declare function createSchema(): ISchema;
|
|
@@ -4,9 +4,9 @@ import * as factory from '../../../factory';
|
|
|
4
4
|
type IDocType = (factory.assetTransaction.ITransaction<factory.assetTransactionType.CancelReservation> | factory.assetTransaction.ITransaction<factory.assetTransactionType.MoneyTransfer> | factory.assetTransaction.ITransaction<factory.assetTransactionType.Pay> | factory.assetTransaction.ITransaction<factory.assetTransactionType.Refund> | factory.assetTransaction.ITransaction<factory.assetTransactionType.RegisterService> | factory.assetTransaction.ITransaction<factory.assetTransactionType.Reserve>) & {
|
|
5
5
|
seller?: any;
|
|
6
6
|
};
|
|
7
|
-
type IModel = Model<IDocType,
|
|
7
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
8
8
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
9
|
-
type ISchema = Schema<IDocType, IModel,
|
|
9
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
10
10
|
declare const modelName = "AssetTransaction";
|
|
11
11
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
12
12
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = Omit<factory.authorization.IAuthorization, 'id'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "Authorization";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = Omit<factory.categoryCode.ICategoryCode, 'id'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "CategoryCode";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -4,9 +4,9 @@ import * as factory from '../../../factory';
|
|
|
4
4
|
export type IDocType = Omit<factory.place.movieTheater.IPlace, 'id'> & {
|
|
5
5
|
hasPOS?: factory.place.movieTheater.IPOS[];
|
|
6
6
|
};
|
|
7
|
-
type IModel = Model<IDocType,
|
|
7
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
8
8
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
9
|
-
type ISchema = Schema<IDocType, IModel,
|
|
9
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
10
10
|
declare const modelName = "CivicStructure";
|
|
11
11
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
12
12
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = factory.creativeWork.comment.IComment;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "Comment";
|
|
9
9
|
declare function createSchema(): ISchema;
|
|
10
10
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
@@ -4,9 +4,9 @@ import * as factory from '../../../factory';
|
|
|
4
4
|
type IDocType = Omit<factory.creativeWork.movie.ICreativeWork, 'id'> & {
|
|
5
5
|
description?: string;
|
|
6
6
|
};
|
|
7
|
-
type IModel = Model<IDocType,
|
|
7
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
8
8
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
9
|
-
type ISchema = Schema<IDocType, IModel,
|
|
9
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
10
10
|
declare const modelName = "CreativeWork";
|
|
11
11
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
12
12
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = Omit<factory.customer.ICustomer, 'id'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "Customer";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -3,9 +3,9 @@ import { IVirtuals } from '../virtuals';
|
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
export type ICustomerType = Pick<factory.categoryCode.ICategoryCode, 'codeValue' | 'id' | 'name' | 'typeOf'>;
|
|
5
5
|
type IDocType = Omit<ICustomerType, 'id'>;
|
|
6
|
-
type IModel = Model<IDocType,
|
|
6
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
7
7
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
8
|
-
type ISchema = Schema<IDocType, IModel,
|
|
8
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
9
9
|
declare const modelName = "CustomerType";
|
|
10
10
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
11
11
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = factory.creativeWork.message.email.ICreativeWork;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "EmailMessage";
|
|
9
9
|
declare function createSchema(): ISchema;
|
|
10
10
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
@@ -6,9 +6,9 @@ type IDocTypeAsScreeningEvent = factory.event.screeningEvent.IAttributes & {
|
|
|
6
6
|
aggregateOffer?: factory.event.screeningEvent.IAggregateOffer;
|
|
7
7
|
};
|
|
8
8
|
export type IDocType = IDocTypeAsScreeningEvent;
|
|
9
|
-
type IModel = Model<IDocType,
|
|
9
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
10
10
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
11
|
-
type ISchema = Schema<IDocType, IModel,
|
|
11
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
12
12
|
declare const modelName = "Event";
|
|
13
13
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
14
14
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import * as factory from '../../../factory';
|
|
3
3
|
import { IVirtuals } from '../virtuals';
|
|
4
4
|
type IDocType = Omit<factory.eventOffer.IEventOffer, 'id'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "EventOffer";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -5,9 +5,9 @@ type IDocTypeAsEventSeries = factory.eventSeries.IAttributes & {
|
|
|
5
5
|
_id: string;
|
|
6
6
|
};
|
|
7
7
|
type IDocType = IDocTypeAsEventSeries;
|
|
8
|
-
type IModel = Model<IDocType,
|
|
8
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
9
9
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
10
|
-
type ISchema = Schema<IDocType, IModel,
|
|
10
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
11
11
|
declare const modelName = "EventSeries";
|
|
12
12
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
13
13
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = Omit<factory.creativeWork.certification.softwareApplication.ICertification, 'id'> | Omit<factory.creativeWork.certification.webApplication.ICertification, 'id'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "Identity";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = Omit<factory.identityProvider.IIdentityProvider, 'id'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "IdentityProvider";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -6,9 +6,9 @@ export type IDocType = Omit<factory.issuer.IIssuer, 'id'> & {
|
|
|
6
6
|
hasTiers?: Pick<factory.issuer.IMemberProgramTier, 'identifier' | 'typeOf'>[];
|
|
7
7
|
})[];
|
|
8
8
|
};
|
|
9
|
-
type IModel = Model<IDocType,
|
|
9
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
10
10
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
11
|
-
type ISchema = Schema<IDocType, IModel,
|
|
11
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
12
12
|
declare const modelName = "Issuer";
|
|
13
13
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
14
14
|
declare function createSchema(): ISchema;
|
|
@@ -6,9 +6,9 @@ type IGlobalMember = Pick<factory.iam.IMember, 'typeOf'> & {
|
|
|
6
6
|
member: IMemberOfRole;
|
|
7
7
|
};
|
|
8
8
|
type IDocType = IGlobalMember;
|
|
9
|
-
type IModel = Model<IDocType,
|
|
9
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
10
10
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
11
|
-
type ISchema = Schema<IDocType, IModel,
|
|
11
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
12
12
|
declare const modelName = "Member.Global";
|
|
13
13
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
14
14
|
declare function createSchema(): ISchema;
|