@lyxa.ai/core 1.4.59 → 1.4.60
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/libraries/mongo/models/embedded/payment-record.model.d.ts +3 -3
- package/dist/libraries/mongo/models/embedded/payment-record.model.js +3 -3
- package/dist/libraries/mongo/models/embedded/payment-record.model.js.map +1 -1
- package/dist/types/README.md +1 -1
- package/dist/types/package.json +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ export declare class PaymentRecord {
|
|
|
3
3
|
provider: PaymentProvider;
|
|
4
4
|
amount: number;
|
|
5
5
|
authorizedAmount: number;
|
|
6
|
-
paymentIntentId?: string;
|
|
7
|
-
orderId?: string;
|
|
8
|
-
transactionId?: string;
|
|
6
|
+
paymentIntentId?: string | null;
|
|
7
|
+
orderId?: string | null;
|
|
8
|
+
transactionId?: string | null;
|
|
9
9
|
}
|
|
@@ -35,14 +35,14 @@ __decorate([
|
|
|
35
35
|
], PaymentRecord.prototype, "authorizedAmount", void 0);
|
|
36
36
|
__decorate([
|
|
37
37
|
(0, typegoose_1.prop)({ type: String }),
|
|
38
|
-
__metadata("design:type",
|
|
38
|
+
__metadata("design:type", Object)
|
|
39
39
|
], PaymentRecord.prototype, "paymentIntentId", void 0);
|
|
40
40
|
__decorate([
|
|
41
41
|
(0, typegoose_1.prop)({ type: String }),
|
|
42
|
-
__metadata("design:type",
|
|
42
|
+
__metadata("design:type", Object)
|
|
43
43
|
], PaymentRecord.prototype, "orderId", void 0);
|
|
44
44
|
__decorate([
|
|
45
45
|
(0, typegoose_1.prop)({ type: String }),
|
|
46
|
-
__metadata("design:type",
|
|
46
|
+
__metadata("design:type", Object)
|
|
47
47
|
], PaymentRecord.prototype, "transactionId", void 0);
|
|
48
48
|
//# sourceMappingURL=payment-record.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-record.model.js","sourceRoot":"/","sources":["libraries/mongo/models/embedded/payment-record.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA4C;AAC5C,qDAA6D;AAE7D,MAAa,aAAa;IAElB,QAAQ,CAAmB;IAG3B,MAAM,CAAU;IAGhB,gBAAgB,CAAU;IAI1B,eAAe,
|
|
1
|
+
{"version":3,"file":"payment-record.model.js","sourceRoot":"/","sources":["libraries/mongo/models/embedded/payment-record.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA4C;AAC5C,qDAA6D;AAE7D,MAAa,aAAa;IAElB,QAAQ,CAAmB;IAG3B,MAAM,CAAU;IAGhB,gBAAgB,CAAU;IAI1B,eAAe,CAAiB;IAIhC,OAAO,CAAiB;IAGxB,aAAa,CAAiB;CACrC;AApBD,sCAoBC;AAlBO;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,sBAAe,EAAE,CAAC;;+CACd;AAG3B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;6CACA;AAGhB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;uDACU;AAI1B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;sDACgB;AAIhC;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;8CACQ;AAGxB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;oDACc","sourcesContent":["import { prop } from '@typegoose/typegoose';\nimport { PaymentProvider } from '../../../../utilities/enum';\n\nexport class PaymentRecord {\n\t@prop({ required: true, enum: PaymentProvider })\n\tpublic provider!: PaymentProvider;\n\n\t@prop({ type: Number })\n\tpublic amount!: number;\n\n\t@prop({ type: Number }) // for comparing with percentage increasing feature\n\tpublic authorizedAmount!: number;\n\n\t// Stripe\n\t@prop({ type: String })\n\tpublic paymentIntentId?: string | null;\n\n\t// Areeba\n\t@prop({ type: String })\n\tpublic orderId?: string | null;\n\n\t@prop({ type: String })\n\tpublic transactionId?: string | null;\n}\n"]}
|
package/dist/types/README.md
CHANGED
package/dist/types/package.json
CHANGED