@mac777/project-pinecone-models 1.1.19 → 1.1.21
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/dist/Event.d.ts +9 -0
- package/dist/Event.js +1 -0
- package/dist/Payout.d.ts +9 -0
- package/dist/Payout.js +11 -1
- package/dist/User.d.ts +6 -6
- package/package.json +1 -1
- package/src/Event.ts +1 -0
- package/src/Payout.ts +12 -1
package/dist/Event.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ declare const eventSchema: mongoose.Schema<any, mongoose.Model<any, any, any, an
|
|
|
35
35
|
startDate?: NativeDate | null | undefined;
|
|
36
36
|
endDate?: NativeDate | null | undefined;
|
|
37
37
|
} | null | undefined;
|
|
38
|
+
lastPriceReductionAt?: NativeDate | null | undefined;
|
|
38
39
|
limits?: {
|
|
39
40
|
minPerOrder: number;
|
|
40
41
|
maxPerOrder: number;
|
|
@@ -63,6 +64,7 @@ declare const eventSchema: mongoose.Schema<any, mongoose.Model<any, any, any, an
|
|
|
63
64
|
startDate?: NativeDate | null | undefined;
|
|
64
65
|
endDate?: NativeDate | null | undefined;
|
|
65
66
|
} | null | undefined;
|
|
67
|
+
lastPriceReductionAt?: NativeDate | null | undefined;
|
|
66
68
|
limits?: {
|
|
67
69
|
minPerOrder: number;
|
|
68
70
|
maxPerOrder: number;
|
|
@@ -91,6 +93,7 @@ declare const eventSchema: mongoose.Schema<any, mongoose.Model<any, any, any, an
|
|
|
91
93
|
startDate?: NativeDate | null | undefined;
|
|
92
94
|
endDate?: NativeDate | null | undefined;
|
|
93
95
|
} | null | undefined;
|
|
96
|
+
lastPriceReductionAt?: NativeDate | null | undefined;
|
|
94
97
|
limits?: {
|
|
95
98
|
minPerOrder: number;
|
|
96
99
|
maxPerOrder: number;
|
|
@@ -341,6 +344,7 @@ declare const eventSchema: mongoose.Schema<any, mongoose.Model<any, any, any, an
|
|
|
341
344
|
startDate?: NativeDate | null | undefined;
|
|
342
345
|
endDate?: NativeDate | null | undefined;
|
|
343
346
|
} | null | undefined;
|
|
347
|
+
lastPriceReductionAt?: NativeDate | null | undefined;
|
|
344
348
|
limits?: {
|
|
345
349
|
minPerOrder: number;
|
|
346
350
|
maxPerOrder: number;
|
|
@@ -369,6 +373,7 @@ declare const eventSchema: mongoose.Schema<any, mongoose.Model<any, any, any, an
|
|
|
369
373
|
startDate?: NativeDate | null | undefined;
|
|
370
374
|
endDate?: NativeDate | null | undefined;
|
|
371
375
|
} | null | undefined;
|
|
376
|
+
lastPriceReductionAt?: NativeDate | null | undefined;
|
|
372
377
|
limits?: {
|
|
373
378
|
minPerOrder: number;
|
|
374
379
|
maxPerOrder: number;
|
|
@@ -397,6 +402,7 @@ declare const eventSchema: mongoose.Schema<any, mongoose.Model<any, any, any, an
|
|
|
397
402
|
startDate?: NativeDate | null | undefined;
|
|
398
403
|
endDate?: NativeDate | null | undefined;
|
|
399
404
|
} | null | undefined;
|
|
405
|
+
lastPriceReductionAt?: NativeDate | null | undefined;
|
|
400
406
|
limits?: {
|
|
401
407
|
minPerOrder: number;
|
|
402
408
|
maxPerOrder: number;
|
|
@@ -647,6 +653,7 @@ declare const eventSchema: mongoose.Schema<any, mongoose.Model<any, any, any, an
|
|
|
647
653
|
startDate?: NativeDate | null | undefined;
|
|
648
654
|
endDate?: NativeDate | null | undefined;
|
|
649
655
|
} | null | undefined;
|
|
656
|
+
lastPriceReductionAt?: NativeDate | null | undefined;
|
|
650
657
|
limits?: {
|
|
651
658
|
minPerOrder: number;
|
|
652
659
|
maxPerOrder: number;
|
|
@@ -675,6 +682,7 @@ declare const eventSchema: mongoose.Schema<any, mongoose.Model<any, any, any, an
|
|
|
675
682
|
startDate?: NativeDate | null | undefined;
|
|
676
683
|
endDate?: NativeDate | null | undefined;
|
|
677
684
|
} | null | undefined;
|
|
685
|
+
lastPriceReductionAt?: NativeDate | null | undefined;
|
|
678
686
|
limits?: {
|
|
679
687
|
minPerOrder: number;
|
|
680
688
|
maxPerOrder: number;
|
|
@@ -703,6 +711,7 @@ declare const eventSchema: mongoose.Schema<any, mongoose.Model<any, any, any, an
|
|
|
703
711
|
startDate?: NativeDate | null | undefined;
|
|
704
712
|
endDate?: NativeDate | null | undefined;
|
|
705
713
|
} | null | undefined;
|
|
714
|
+
lastPriceReductionAt?: NativeDate | null | undefined;
|
|
706
715
|
limits?: {
|
|
707
716
|
minPerOrder: number;
|
|
708
717
|
maxPerOrder: number;
|
package/dist/Event.js
CHANGED
|
@@ -103,6 +103,7 @@ const ticketSchema = new mongoose_1.default.Schema({
|
|
|
103
103
|
benefits: [String],
|
|
104
104
|
tier: { type: String, default: 'regular' },
|
|
105
105
|
salesWindow: salesWindowSchema,
|
|
106
|
+
lastPriceReductionAt: Date,
|
|
106
107
|
});
|
|
107
108
|
const sessionSchema = new mongoose_1.default.Schema({
|
|
108
109
|
date: { type: Date, required: true },
|
package/dist/Payout.d.ts
CHANGED
|
@@ -30,6 +30,9 @@ declare const payoutSchema: mongoose.Schema<any, mongoose.Model<any, any, any, a
|
|
|
30
30
|
rejectedAt?: NativeDate | null | undefined;
|
|
31
31
|
accountNumber?: string | null | undefined;
|
|
32
32
|
accountName?: string | null | undefined;
|
|
33
|
+
bankName?: string | null | undefined;
|
|
34
|
+
branchName?: string | null | undefined;
|
|
35
|
+
routingNumber?: string | null | undefined;
|
|
33
36
|
initiatedAt?: NativeDate | null | undefined;
|
|
34
37
|
completedAt?: NativeDate | null | undefined;
|
|
35
38
|
transactionId?: string | null | undefined;
|
|
@@ -65,6 +68,9 @@ declare const payoutSchema: mongoose.Schema<any, mongoose.Model<any, any, any, a
|
|
|
65
68
|
rejectedAt?: NativeDate | null | undefined;
|
|
66
69
|
accountNumber?: string | null | undefined;
|
|
67
70
|
accountName?: string | null | undefined;
|
|
71
|
+
bankName?: string | null | undefined;
|
|
72
|
+
branchName?: string | null | undefined;
|
|
73
|
+
routingNumber?: string | null | undefined;
|
|
68
74
|
initiatedAt?: NativeDate | null | undefined;
|
|
69
75
|
completedAt?: NativeDate | null | undefined;
|
|
70
76
|
transactionId?: string | null | undefined;
|
|
@@ -102,6 +108,9 @@ declare const payoutSchema: mongoose.Schema<any, mongoose.Model<any, any, any, a
|
|
|
102
108
|
rejectedAt?: NativeDate | null | undefined;
|
|
103
109
|
accountNumber?: string | null | undefined;
|
|
104
110
|
accountName?: string | null | undefined;
|
|
111
|
+
bankName?: string | null | undefined;
|
|
112
|
+
branchName?: string | null | undefined;
|
|
113
|
+
routingNumber?: string | null | undefined;
|
|
105
114
|
initiatedAt?: NativeDate | null | undefined;
|
|
106
115
|
completedAt?: NativeDate | null | undefined;
|
|
107
116
|
transactionId?: string | null | undefined;
|
package/dist/Payout.js
CHANGED
|
@@ -85,10 +85,20 @@ const payoutSchema = new mongoose_1.default.Schema({
|
|
|
85
85
|
}, // "bkash" | "bank_transfer" | "mobile_banking"
|
|
86
86
|
accountNumber: {
|
|
87
87
|
type: String,
|
|
88
|
-
}, // Host's bKash number
|
|
88
|
+
}, // Host's bKash number or bank account number
|
|
89
89
|
accountName: {
|
|
90
90
|
type: String,
|
|
91
91
|
}, // Host's name
|
|
92
|
+
// Bank Transfer Details (when paymentMethod = 'bank_transfer')
|
|
93
|
+
bankName: {
|
|
94
|
+
type: String,
|
|
95
|
+
},
|
|
96
|
+
branchName: {
|
|
97
|
+
type: String,
|
|
98
|
+
},
|
|
99
|
+
routingNumber: {
|
|
100
|
+
type: String,
|
|
101
|
+
},
|
|
92
102
|
// Processing
|
|
93
103
|
initiatedAt: {
|
|
94
104
|
type: Date,
|
package/dist/User.d.ts
CHANGED
|
@@ -53,11 +53,11 @@ declare const userSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any
|
|
|
53
53
|
verified: boolean;
|
|
54
54
|
accountNumber?: string | null | undefined;
|
|
55
55
|
accountName?: string | null | undefined;
|
|
56
|
-
verifiedAt?: NativeDate | null | undefined;
|
|
57
|
-
bkashNumber?: string | null | undefined;
|
|
58
56
|
bankName?: string | null | undefined;
|
|
59
57
|
branchName?: string | null | undefined;
|
|
60
58
|
routingNumber?: string | null | undefined;
|
|
59
|
+
verifiedAt?: NativeDate | null | undefined;
|
|
60
|
+
bkashNumber?: string | null | undefined;
|
|
61
61
|
} | null | undefined;
|
|
62
62
|
refreshToken?: string | null | undefined;
|
|
63
63
|
googleId?: string | null | undefined;
|
|
@@ -129,11 +129,11 @@ declare const userSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any
|
|
|
129
129
|
verified: boolean;
|
|
130
130
|
accountNumber?: string | null | undefined;
|
|
131
131
|
accountName?: string | null | undefined;
|
|
132
|
-
verifiedAt?: NativeDate | null | undefined;
|
|
133
|
-
bkashNumber?: string | null | undefined;
|
|
134
132
|
bankName?: string | null | undefined;
|
|
135
133
|
branchName?: string | null | undefined;
|
|
136
134
|
routingNumber?: string | null | undefined;
|
|
135
|
+
verifiedAt?: NativeDate | null | undefined;
|
|
136
|
+
bkashNumber?: string | null | undefined;
|
|
137
137
|
} | null | undefined;
|
|
138
138
|
refreshToken?: string | null | undefined;
|
|
139
139
|
googleId?: string | null | undefined;
|
|
@@ -207,11 +207,11 @@ declare const userSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any
|
|
|
207
207
|
verified: boolean;
|
|
208
208
|
accountNumber?: string | null | undefined;
|
|
209
209
|
accountName?: string | null | undefined;
|
|
210
|
-
verifiedAt?: NativeDate | null | undefined;
|
|
211
|
-
bkashNumber?: string | null | undefined;
|
|
212
210
|
bankName?: string | null | undefined;
|
|
213
211
|
branchName?: string | null | undefined;
|
|
214
212
|
routingNumber?: string | null | undefined;
|
|
213
|
+
verifiedAt?: NativeDate | null | undefined;
|
|
214
|
+
bkashNumber?: string | null | undefined;
|
|
215
215
|
} | null | undefined;
|
|
216
216
|
refreshToken?: string | null | undefined;
|
|
217
217
|
googleId?: string | null | undefined;
|
package/package.json
CHANGED
package/src/Event.ts
CHANGED
package/src/Payout.ts
CHANGED
|
@@ -87,11 +87,22 @@ const payoutSchema = new mongoose.Schema({
|
|
|
87
87
|
}, // "bkash" | "bank_transfer" | "mobile_banking"
|
|
88
88
|
accountNumber: {
|
|
89
89
|
type: String,
|
|
90
|
-
}, // Host's bKash number
|
|
90
|
+
}, // Host's bKash number or bank account number
|
|
91
91
|
accountName: {
|
|
92
92
|
type: String,
|
|
93
93
|
}, // Host's name
|
|
94
94
|
|
|
95
|
+
// Bank Transfer Details (when paymentMethod = 'bank_transfer')
|
|
96
|
+
bankName: {
|
|
97
|
+
type: String,
|
|
98
|
+
},
|
|
99
|
+
branchName: {
|
|
100
|
+
type: String,
|
|
101
|
+
},
|
|
102
|
+
routingNumber: {
|
|
103
|
+
type: String,
|
|
104
|
+
},
|
|
105
|
+
|
|
95
106
|
// Processing
|
|
96
107
|
initiatedAt: {
|
|
97
108
|
type: Date,
|