pristine-member-nest-api-database 1.0.93 → 1.0.95
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.
|
@@ -595,7 +595,7 @@ const barcodeMembershipSchema = new mongoose_1.Schema({
|
|
|
595
595
|
required: true,
|
|
596
596
|
},
|
|
597
597
|
remarks: String,
|
|
598
|
-
requestedDate: { type: Date, default:
|
|
598
|
+
requestedDate: { type: Date, default: null },
|
|
599
599
|
isMembershipSynced: { type: Boolean, default: false },
|
|
600
600
|
noOfSubscriptionMonths: Number,
|
|
601
601
|
isIssued: Boolean,
|
|
@@ -665,8 +665,8 @@ const memberAssociationSchema = new mongoose_1.Schema({
|
|
|
665
665
|
isEnrolmentCreatedInSAP: { type: Boolean, default: false },
|
|
666
666
|
isEnrolmentSyncedWithSAP: { type: Boolean, default: false },
|
|
667
667
|
enrolmentSyncedOn: Date,
|
|
668
|
-
salesOrderDocEntry: String,
|
|
669
|
-
salesOrderStatus: String,
|
|
668
|
+
salesOrderDocEntry: { type: String, default: null },
|
|
669
|
+
salesOrderStatus: { type: String, default: null },
|
|
670
670
|
isActive: { type: Boolean, default: true },
|
|
671
671
|
createdDate: { type: Date, default: Date.now },
|
|
672
672
|
approverOneData: approverSchema,
|
package/models/Member.model.ts
CHANGED
|
@@ -618,11 +618,11 @@ type barcodeBranchMemberhipdetails = {
|
|
|
618
618
|
membershipType: mongoose.Types.ObjectId;
|
|
619
619
|
membershipStatus: mongoose.Types.ObjectId;
|
|
620
620
|
remarks: String;
|
|
621
|
-
requestedDate: Date;
|
|
621
|
+
requestedDate: Date | null;
|
|
622
622
|
isMembershipSynced: boolean;
|
|
623
623
|
noOfSubscriptionMonths: number;
|
|
624
624
|
isIssued: boolean;
|
|
625
|
-
electedDate: Date;
|
|
625
|
+
electedDate: Date | null;
|
|
626
626
|
barcodeBranchMemberCode: string;
|
|
627
627
|
barCode: number;
|
|
628
628
|
validFrom: Date;
|
|
@@ -631,7 +631,7 @@ type barcodeBranchMemberhipdetails = {
|
|
|
631
631
|
changeDate: Date;
|
|
632
632
|
isTerminationRequested: boolean;
|
|
633
633
|
isTerminationSynced: boolean;
|
|
634
|
-
terminationDate: Date;
|
|
634
|
+
terminationDate: Date | null;
|
|
635
635
|
terminationReason: string;
|
|
636
636
|
};
|
|
637
637
|
|
|
@@ -640,7 +640,7 @@ type noneGs1MembershipDetails = {
|
|
|
640
640
|
membershipStatus: mongoose.Types.ObjectId;
|
|
641
641
|
membershipType: mongoose.Types.ObjectId;
|
|
642
642
|
isTerminated: boolean;
|
|
643
|
-
terminatedDate: Date;
|
|
643
|
+
terminatedDate: Date | null;
|
|
644
644
|
reasonForTermination: string;
|
|
645
645
|
isTerminationRequested: boolean;
|
|
646
646
|
terminationRequestedDate: Date;
|
|
@@ -648,8 +648,8 @@ type noneGs1MembershipDetails = {
|
|
|
648
648
|
terminationRequestRemarks: string;
|
|
649
649
|
onOfSubscriptionMonths: number;
|
|
650
650
|
isMembershipSynced: boolean;
|
|
651
|
-
SyncOn: Date;
|
|
652
|
-
electedDate: Date;
|
|
651
|
+
SyncOn: Date | null;
|
|
652
|
+
electedDate: Date | null;
|
|
653
653
|
};
|
|
654
654
|
|
|
655
655
|
interface MemberDocument extends Document {
|
|
@@ -696,14 +696,14 @@ interface MemberDocument extends Document {
|
|
|
696
696
|
};
|
|
697
697
|
isCreatedInSAP: boolean;
|
|
698
698
|
isMemberSyncedWithSAP: boolean;
|
|
699
|
-
memberSyncedOn: Date;
|
|
699
|
+
memberSyncedOn: Date | null;
|
|
700
700
|
dynamicDetails: JSON;
|
|
701
701
|
applicationStatus: string;
|
|
702
702
|
isEnrolmentCreatedInSAP: boolean;
|
|
703
703
|
isEnrolmentSyncedWithSAP: boolean;
|
|
704
|
-
enrolmentSyncedOn: Date;
|
|
705
|
-
salesOrderDocEntry: string;
|
|
706
|
-
salesOrderStatus: string;
|
|
704
|
+
enrolmentSyncedOn: Date | null;
|
|
705
|
+
salesOrderDocEntry: string | null;
|
|
706
|
+
salesOrderStatus: string | null;
|
|
707
707
|
isActive: boolean;
|
|
708
708
|
createdDate: Date;
|
|
709
709
|
approverOneData: {
|
|
@@ -747,7 +747,7 @@ const barcodeMembershipSchema = new Schema({
|
|
|
747
747
|
required: true,
|
|
748
748
|
},
|
|
749
749
|
remarks: String,
|
|
750
|
-
requestedDate: { type: Date, default:
|
|
750
|
+
requestedDate: { type: Date, default: null },
|
|
751
751
|
isMembershipSynced: { type: Boolean, default: false },
|
|
752
752
|
noOfSubscriptionMonths: Number,
|
|
753
753
|
isIssued: Boolean,
|
|
@@ -823,8 +823,8 @@ const memberAssociationSchema = new Schema({
|
|
|
823
823
|
isEnrolmentCreatedInSAP: { type: Boolean, default: false },
|
|
824
824
|
isEnrolmentSyncedWithSAP: { type: Boolean, default: false },
|
|
825
825
|
enrolmentSyncedOn: Date,
|
|
826
|
-
salesOrderDocEntry: String,
|
|
827
|
-
salesOrderStatus: String,
|
|
826
|
+
salesOrderDocEntry: { type: String, default: null },
|
|
827
|
+
salesOrderStatus: { type: String, default: null },
|
|
828
828
|
isActive: { type: Boolean, default: true },
|
|
829
829
|
createdDate: { type: Date, default: Date.now },
|
|
830
830
|
approverOneData: approverSchema,
|