fk-platform-sdk 1.0.27-beta → 1.0.28-beta
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.
|
@@ -14,7 +14,7 @@ export declare class OrderConfirmation implements AnalyticsEvent {
|
|
|
14
14
|
constructor(fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, order_amount: number, offer_amount: number, payment_method: string, fkh_order_id: string, fkh_order_status: string);
|
|
15
15
|
getValidator(): EventValidator;
|
|
16
16
|
}
|
|
17
|
-
export declare class
|
|
17
|
+
export declare class ProceedToPay implements AnalyticsEvent {
|
|
18
18
|
type: string;
|
|
19
19
|
private fk_accountid;
|
|
20
20
|
private fkh_userid;
|
|
@@ -33,9 +33,9 @@ var OrderConfirmation = /** @class */ (function () {
|
|
|
33
33
|
return OrderConfirmation;
|
|
34
34
|
}());
|
|
35
35
|
exports.OrderConfirmation = OrderConfirmation;
|
|
36
|
-
var
|
|
37
|
-
function
|
|
38
|
-
this.type = "Healthcare.
|
|
36
|
+
var ProceedToPay = /** @class */ (function () {
|
|
37
|
+
function ProceedToPay(fk_accountid, fkh_userid, token_id, pincode, order_amount, offer_amount, payment_method) {
|
|
38
|
+
this.type = "Healthcare.ProceedToPay";
|
|
39
39
|
this.fk_accountid = fk_accountid;
|
|
40
40
|
this.fkh_userid = fkh_userid;
|
|
41
41
|
this.token_id = token_id;
|
|
@@ -44,16 +44,16 @@ var ProceedToPayEvent = /** @class */ (function () {
|
|
|
44
44
|
this.offer_amount = offer_amount;
|
|
45
45
|
this.payment_method = payment_method;
|
|
46
46
|
}
|
|
47
|
-
|
|
48
|
-
var invalidValues = Validator_1.validate(metadataMap, this, "
|
|
47
|
+
ProceedToPay.prototype.getValidator = function () {
|
|
48
|
+
var invalidValues = Validator_1.validate(metadataMap, this, "ProceedToPay");
|
|
49
49
|
return new EventValidator_1.EventValidator(invalidValues);
|
|
50
50
|
};
|
|
51
51
|
__decorate([
|
|
52
|
-
decorators_1.Positive(metadataMap, "
|
|
53
|
-
],
|
|
54
|
-
return
|
|
52
|
+
decorators_1.Positive(metadataMap, "ProceedToPay")
|
|
53
|
+
], ProceedToPay.prototype, "fk_accountid", void 0);
|
|
54
|
+
return ProceedToPay;
|
|
55
55
|
}());
|
|
56
|
-
exports.
|
|
56
|
+
exports.ProceedToPay = ProceedToPay;
|
|
57
57
|
var UploadPrescription = /** @class */ (function () {
|
|
58
58
|
function UploadPrescription(fk_accountid, fkh_userid, token_id, pincode, page_name) {
|
|
59
59
|
this.type = "Healthcare.UploadPrescription";
|
|
@@ -68,7 +68,7 @@ var UploadPrescription = /** @class */ (function () {
|
|
|
68
68
|
return new EventValidator_1.EventValidator(invalidValues);
|
|
69
69
|
};
|
|
70
70
|
__decorate([
|
|
71
|
-
decorators_1.Positive(metadataMap, "
|
|
71
|
+
decorators_1.Positive(metadataMap, "UploadPrescription")
|
|
72
72
|
], UploadPrescription.prototype, "fk_accountid", void 0);
|
|
73
73
|
return UploadPrescription;
|
|
74
74
|
}());
|
|
@@ -49,7 +49,7 @@ export interface TravelAnalyticsHelper {
|
|
|
49
49
|
}
|
|
50
50
|
export interface HealthcareAnalyticsHelper {
|
|
51
51
|
orderConfirmation: (fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, order_amount: number, offer_amount: number, payment_method: string, fkh_order_id: string, fkh_order_status: string) => Healthcare.OrderConfirmation;
|
|
52
|
-
|
|
52
|
+
proceedToPay: (fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, order_amount: number, offer_amount: number, payment_method: string) => Healthcare.ProceedToPay;
|
|
53
53
|
uploadPrescription: (fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, page_name: string) => Healthcare.UploadPrescription;
|
|
54
54
|
addToCart: (fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, product_name: string, product_id: string, price: number, quantity: number, source: string) => Healthcare.AddToCart;
|
|
55
55
|
search: (fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, search_query: string) => Healthcare.Search;
|
|
@@ -233,8 +233,8 @@ var SetupHelper = /** @class */ (function () {
|
|
|
233
233
|
orderConfirmation: function (fk_accountid, fkh_userid, token_id, pincode, order_amount, offer_amount, payment_method, fkh_order_id, fkh_order_status) {
|
|
234
234
|
return new analytics_1.Healthcare.OrderConfirmation(fk_accountid, fkh_userid, token_id, pincode, order_amount, offer_amount, payment_method, fkh_order_id, fkh_order_status);
|
|
235
235
|
},
|
|
236
|
-
|
|
237
|
-
return new analytics_1.Healthcare.
|
|
236
|
+
proceedToPay: function (fk_accountid, fkh_userid, token_id, pincode, order_amount, offer_amount, payment_method) {
|
|
237
|
+
return new analytics_1.Healthcare.ProceedToPay(fk_accountid, fkh_userid, token_id, pincode, order_amount, offer_amount, payment_method);
|
|
238
238
|
},
|
|
239
239
|
uploadPrescription: function (fk_accountid, fkh_userid, token_id, pincode, page_name) {
|
|
240
240
|
return new analytics_1.Healthcare.UploadPrescription(fk_accountid, fkh_userid, token_id, pincode, page_name);
|