fk-platform-sdk 1.0.29-beta → 1.0.30-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.
|
@@ -9,12 +9,13 @@ export declare class OrderConfirmation implements AnalyticsEvent {
|
|
|
9
9
|
private order_amount;
|
|
10
10
|
private offer_amount;
|
|
11
11
|
private payment_method;
|
|
12
|
-
private
|
|
13
|
-
private
|
|
14
|
-
|
|
12
|
+
private fkh_order_id;
|
|
13
|
+
private fkh_order_status;
|
|
14
|
+
private page_visit_timestamp;
|
|
15
|
+
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, page_visit_timestamp: number);
|
|
15
16
|
getValidator(): EventValidator;
|
|
16
17
|
}
|
|
17
|
-
export declare class
|
|
18
|
+
export declare class ProceedToPay implements AnalyticsEvent {
|
|
18
19
|
type: string;
|
|
19
20
|
private fk_accountid;
|
|
20
21
|
private fkh_userid;
|
|
@@ -24,7 +25,8 @@ export declare class ProceedToPayEvent implements AnalyticsEvent {
|
|
|
24
25
|
private offer_amount;
|
|
25
26
|
private payment_method;
|
|
26
27
|
private order_id;
|
|
27
|
-
|
|
28
|
+
private page_visit_timestamp;
|
|
29
|
+
constructor(fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, order_amount: number, offer_amount: number, payment_method: string, order_id: string, page_visit_timestamp: number);
|
|
28
30
|
getValidator(): EventValidator;
|
|
29
31
|
}
|
|
30
32
|
export declare class UploadPrescription implements AnalyticsEvent {
|
|
@@ -34,7 +36,8 @@ export declare class UploadPrescription implements AnalyticsEvent {
|
|
|
34
36
|
private token_id;
|
|
35
37
|
private pincode;
|
|
36
38
|
private page_name;
|
|
37
|
-
|
|
39
|
+
private page_visit_timestamp;
|
|
40
|
+
constructor(fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, page_name: string, page_visit_timestamp: number);
|
|
38
41
|
getValidator(): EventValidator;
|
|
39
42
|
}
|
|
40
43
|
export declare class AddToCart implements AnalyticsEvent {
|
|
@@ -48,7 +51,8 @@ export declare class AddToCart implements AnalyticsEvent {
|
|
|
48
51
|
private price;
|
|
49
52
|
private quantity;
|
|
50
53
|
private source;
|
|
51
|
-
|
|
54
|
+
private page_visit_timestamp;
|
|
55
|
+
constructor(fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, product_name: string, product_id: string, price: number, quantity: number, source: string, page_visit_timestamp: number);
|
|
52
56
|
getValidator(): EventValidator;
|
|
53
57
|
}
|
|
54
58
|
export declare class Search implements AnalyticsEvent {
|
|
@@ -58,7 +62,8 @@ export declare class Search implements AnalyticsEvent {
|
|
|
58
62
|
private token_id;
|
|
59
63
|
private pincode;
|
|
60
64
|
private search_query;
|
|
61
|
-
|
|
65
|
+
private page_visit_timestamp;
|
|
66
|
+
constructor(fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, search_query: string, page_visit_timestamp: number);
|
|
62
67
|
getValidator(): EventValidator;
|
|
63
68
|
}
|
|
64
69
|
export declare class LocationPincodeEnter implements AnalyticsEvent {
|
|
@@ -69,7 +74,8 @@ export declare class LocationPincodeEnter implements AnalyticsEvent {
|
|
|
69
74
|
private pincode;
|
|
70
75
|
private city;
|
|
71
76
|
private state;
|
|
72
|
-
|
|
77
|
+
private page_visit_timestamp;
|
|
78
|
+
constructor(fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, city: string, state: string, page_visit_timestamp: number);
|
|
73
79
|
getValidator(): EventValidator;
|
|
74
80
|
}
|
|
75
81
|
export declare class PageView implements AnalyticsEvent {
|
|
@@ -79,7 +85,8 @@ export declare class PageView implements AnalyticsEvent {
|
|
|
79
85
|
private token_id;
|
|
80
86
|
private pincode;
|
|
81
87
|
private page_name;
|
|
82
|
-
|
|
88
|
+
private page_visit_timestamp;
|
|
89
|
+
constructor(fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, page_name: string, page_visit_timestamp: number);
|
|
83
90
|
getValidator(): EventValidator;
|
|
84
91
|
}
|
|
85
92
|
export declare class AddAddress implements AnalyticsEvent {
|
|
@@ -90,7 +97,8 @@ export declare class AddAddress implements AnalyticsEvent {
|
|
|
90
97
|
private pincode;
|
|
91
98
|
private address_tag;
|
|
92
99
|
private subarea;
|
|
93
|
-
|
|
100
|
+
private page_visit_timestamp;
|
|
101
|
+
constructor(fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, address_tag: string, subarea: string, page_visit_timestamp: number);
|
|
94
102
|
getValidator(): EventValidator;
|
|
95
103
|
}
|
|
96
104
|
export declare class ObpUploadPrescription implements AnalyticsEvent {
|
|
@@ -102,6 +110,22 @@ export declare class ObpUploadPrescription implements AnalyticsEvent {
|
|
|
102
110
|
private rx_file_size;
|
|
103
111
|
private no_of_rx_uploaded;
|
|
104
112
|
private rx_source;
|
|
105
|
-
|
|
113
|
+
private page_visit_timestamp;
|
|
114
|
+
constructor(fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, rx_file_size: number, no_of_rx_uploaded: number, rx_source: string, page_visit_timestamp: number);
|
|
115
|
+
getValidator(): EventValidator;
|
|
116
|
+
}
|
|
117
|
+
export declare class CartContinueButton implements AnalyticsEvent {
|
|
118
|
+
type: string;
|
|
119
|
+
private fk_accountid;
|
|
120
|
+
private fkh_userid;
|
|
121
|
+
private token_id;
|
|
122
|
+
private pincode;
|
|
123
|
+
private coupon_code;
|
|
124
|
+
private cart_value;
|
|
125
|
+
private cart_unit_count;
|
|
126
|
+
private cart_savings_value;
|
|
127
|
+
private cart_item_count;
|
|
128
|
+
private page_visit_timestamp;
|
|
129
|
+
constructor(fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, coupon_code: string, cart_value: number, cart_unit_count: number, cart_savings_value: number, cart_item_count: number, page_visit_timestamp: number);
|
|
106
130
|
getValidator(): EventValidator;
|
|
107
131
|
}
|
|
@@ -11,7 +11,7 @@ var decorators_1 = require("./validation/decorators");
|
|
|
11
11
|
var Validator_1 = require("./validation/Validator");
|
|
12
12
|
var metadataMap = {};
|
|
13
13
|
var OrderConfirmation = /** @class */ (function () {
|
|
14
|
-
function OrderConfirmation(fk_accountid, fkh_userid, token_id, pincode, order_amount, offer_amount, payment_method,
|
|
14
|
+
function OrderConfirmation(fk_accountid, fkh_userid, token_id, pincode, order_amount, offer_amount, payment_method, fkh_order_id, fkh_order_status, page_visit_timestamp) {
|
|
15
15
|
this.type = "Healthcare.OrderConfirmation";
|
|
16
16
|
this.fk_accountid = fk_accountid;
|
|
17
17
|
this.fkh_userid = fkh_userid;
|
|
@@ -20,8 +20,9 @@ var OrderConfirmation = /** @class */ (function () {
|
|
|
20
20
|
this.order_amount = order_amount;
|
|
21
21
|
this.offer_amount = offer_amount;
|
|
22
22
|
this.payment_method = payment_method;
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
23
|
+
this.fkh_order_id = fkh_order_id;
|
|
24
|
+
this.fkh_order_status = fkh_order_status;
|
|
25
|
+
this.page_visit_timestamp = page_visit_timestamp;
|
|
25
26
|
}
|
|
26
27
|
OrderConfirmation.prototype.getValidator = function () {
|
|
27
28
|
var invalidValues = Validator_1.validate(metadataMap, this, "OrderConfirmation");
|
|
@@ -33,9 +34,9 @@ var OrderConfirmation = /** @class */ (function () {
|
|
|
33
34
|
return OrderConfirmation;
|
|
34
35
|
}());
|
|
35
36
|
exports.OrderConfirmation = OrderConfirmation;
|
|
36
|
-
var
|
|
37
|
-
function
|
|
38
|
-
this.type = "Healthcare.
|
|
37
|
+
var ProceedToPay = /** @class */ (function () {
|
|
38
|
+
function ProceedToPay(fk_accountid, fkh_userid, token_id, pincode, order_amount, offer_amount, payment_method, order_id, page_visit_timestamp) {
|
|
39
|
+
this.type = "Healthcare.ProceedToPay";
|
|
39
40
|
this.fk_accountid = fk_accountid;
|
|
40
41
|
this.fkh_userid = fkh_userid;
|
|
41
42
|
this.token_id = token_id;
|
|
@@ -44,38 +45,40 @@ var ProceedToPayEvent = /** @class */ (function () {
|
|
|
44
45
|
this.offer_amount = offer_amount;
|
|
45
46
|
this.payment_method = payment_method;
|
|
46
47
|
this.order_id = order_id;
|
|
48
|
+
this.page_visit_timestamp = page_visit_timestamp;
|
|
47
49
|
}
|
|
48
|
-
|
|
49
|
-
var invalidValues = Validator_1.validate(metadataMap, this, "
|
|
50
|
+
ProceedToPay.prototype.getValidator = function () {
|
|
51
|
+
var invalidValues = Validator_1.validate(metadataMap, this, "ProceedToPay");
|
|
50
52
|
return new EventValidator_1.EventValidator(invalidValues);
|
|
51
53
|
};
|
|
52
54
|
__decorate([
|
|
53
|
-
decorators_1.Positive(metadataMap, "
|
|
54
|
-
],
|
|
55
|
-
return
|
|
55
|
+
decorators_1.Positive(metadataMap, "ProceedToPay")
|
|
56
|
+
], ProceedToPay.prototype, "fk_accountid", void 0);
|
|
57
|
+
return ProceedToPay;
|
|
56
58
|
}());
|
|
57
|
-
exports.
|
|
59
|
+
exports.ProceedToPay = ProceedToPay;
|
|
58
60
|
var UploadPrescription = /** @class */ (function () {
|
|
59
|
-
function UploadPrescription(fk_accountid, fkh_userid, token_id, pincode, page_name) {
|
|
61
|
+
function UploadPrescription(fk_accountid, fkh_userid, token_id, pincode, page_name, page_visit_timestamp) {
|
|
60
62
|
this.type = "Healthcare.UploadPrescription";
|
|
61
63
|
this.fk_accountid = fk_accountid;
|
|
62
64
|
this.fkh_userid = fkh_userid;
|
|
63
65
|
this.token_id = token_id;
|
|
64
66
|
this.pincode = pincode;
|
|
65
67
|
this.page_name = page_name;
|
|
68
|
+
this.page_visit_timestamp = page_visit_timestamp;
|
|
66
69
|
}
|
|
67
70
|
UploadPrescription.prototype.getValidator = function () {
|
|
68
71
|
var invalidValues = Validator_1.validate(metadataMap, this, "UploadPrescription");
|
|
69
72
|
return new EventValidator_1.EventValidator(invalidValues);
|
|
70
73
|
};
|
|
71
74
|
__decorate([
|
|
72
|
-
decorators_1.Positive(metadataMap, "
|
|
75
|
+
decorators_1.Positive(metadataMap, "UploadPrescription")
|
|
73
76
|
], UploadPrescription.prototype, "fk_accountid", void 0);
|
|
74
77
|
return UploadPrescription;
|
|
75
78
|
}());
|
|
76
79
|
exports.UploadPrescription = UploadPrescription;
|
|
77
80
|
var AddToCart = /** @class */ (function () {
|
|
78
|
-
function AddToCart(fk_accountid, fkh_userid, token_id, pincode, product_name, product_id, price, quantity, source) {
|
|
81
|
+
function AddToCart(fk_accountid, fkh_userid, token_id, pincode, product_name, product_id, price, quantity, source, page_visit_timestamp) {
|
|
79
82
|
this.type = "Healthcare.AddToCart";
|
|
80
83
|
this.fk_accountid = fk_accountid;
|
|
81
84
|
this.fkh_userid = fkh_userid;
|
|
@@ -86,6 +89,7 @@ var AddToCart = /** @class */ (function () {
|
|
|
86
89
|
this.price = price;
|
|
87
90
|
this.quantity = quantity;
|
|
88
91
|
this.source = source;
|
|
92
|
+
this.page_visit_timestamp = page_visit_timestamp;
|
|
89
93
|
}
|
|
90
94
|
AddToCart.prototype.getValidator = function () {
|
|
91
95
|
var invalidValues = Validator_1.validate(metadataMap, this, "AddToCart");
|
|
@@ -98,13 +102,14 @@ var AddToCart = /** @class */ (function () {
|
|
|
98
102
|
}());
|
|
99
103
|
exports.AddToCart = AddToCart;
|
|
100
104
|
var Search = /** @class */ (function () {
|
|
101
|
-
function Search(fk_accountid, fkh_userid, token_id, pincode, search_query) {
|
|
105
|
+
function Search(fk_accountid, fkh_userid, token_id, pincode, search_query, page_visit_timestamp) {
|
|
102
106
|
this.type = "Healthcare.Search";
|
|
103
107
|
this.fk_accountid = fk_accountid;
|
|
104
108
|
this.fkh_userid = fkh_userid;
|
|
105
109
|
this.token_id = token_id;
|
|
106
110
|
this.pincode = pincode;
|
|
107
111
|
this.search_query = search_query;
|
|
112
|
+
this.page_visit_timestamp = page_visit_timestamp;
|
|
108
113
|
}
|
|
109
114
|
Search.prototype.getValidator = function () {
|
|
110
115
|
var invalidValues = Validator_1.validate(metadataMap, this, "Search");
|
|
@@ -117,7 +122,7 @@ var Search = /** @class */ (function () {
|
|
|
117
122
|
}());
|
|
118
123
|
exports.Search = Search;
|
|
119
124
|
var LocationPincodeEnter = /** @class */ (function () {
|
|
120
|
-
function LocationPincodeEnter(fk_accountid, fkh_userid, token_id, pincode, city, state) {
|
|
125
|
+
function LocationPincodeEnter(fk_accountid, fkh_userid, token_id, pincode, city, state, page_visit_timestamp) {
|
|
121
126
|
this.type = "Healthcare.LocationPincodeEnter";
|
|
122
127
|
this.fk_accountid = fk_accountid;
|
|
123
128
|
this.fkh_userid = fkh_userid;
|
|
@@ -125,6 +130,7 @@ var LocationPincodeEnter = /** @class */ (function () {
|
|
|
125
130
|
this.pincode = pincode;
|
|
126
131
|
this.city = city;
|
|
127
132
|
this.state = state;
|
|
133
|
+
this.page_visit_timestamp = page_visit_timestamp;
|
|
128
134
|
}
|
|
129
135
|
LocationPincodeEnter.prototype.getValidator = function () {
|
|
130
136
|
var invalidValues = Validator_1.validate(metadataMap, this, "LocationPincodeEnter");
|
|
@@ -137,13 +143,14 @@ var LocationPincodeEnter = /** @class */ (function () {
|
|
|
137
143
|
}());
|
|
138
144
|
exports.LocationPincodeEnter = LocationPincodeEnter;
|
|
139
145
|
var PageView = /** @class */ (function () {
|
|
140
|
-
function PageView(fk_accountid, fkh_userid, token_id, pincode, page_name) {
|
|
146
|
+
function PageView(fk_accountid, fkh_userid, token_id, pincode, page_name, page_visit_timestamp) {
|
|
141
147
|
this.type = "Healthcare.PageView";
|
|
142
148
|
this.fk_accountid = fk_accountid;
|
|
143
149
|
this.fkh_userid = fkh_userid;
|
|
144
150
|
this.token_id = token_id;
|
|
145
151
|
this.pincode = pincode;
|
|
146
152
|
this.page_name = page_name;
|
|
153
|
+
this.page_visit_timestamp = page_visit_timestamp;
|
|
147
154
|
}
|
|
148
155
|
PageView.prototype.getValidator = function () {
|
|
149
156
|
var invalidValues = Validator_1.validate(metadataMap, this, "PageView");
|
|
@@ -156,7 +163,7 @@ var PageView = /** @class */ (function () {
|
|
|
156
163
|
}());
|
|
157
164
|
exports.PageView = PageView;
|
|
158
165
|
var AddAddress = /** @class */ (function () {
|
|
159
|
-
function AddAddress(fk_accountid, fkh_userid, token_id, pincode, address_tag, subarea) {
|
|
166
|
+
function AddAddress(fk_accountid, fkh_userid, token_id, pincode, address_tag, subarea, page_visit_timestamp) {
|
|
160
167
|
this.type = "Healthcare.AddAddress";
|
|
161
168
|
this.fk_accountid = fk_accountid;
|
|
162
169
|
this.fkh_userid = fkh_userid;
|
|
@@ -164,6 +171,7 @@ var AddAddress = /** @class */ (function () {
|
|
|
164
171
|
this.pincode = pincode;
|
|
165
172
|
this.address_tag = address_tag;
|
|
166
173
|
this.subarea = subarea;
|
|
174
|
+
this.page_visit_timestamp = page_visit_timestamp;
|
|
167
175
|
}
|
|
168
176
|
AddAddress.prototype.getValidator = function () {
|
|
169
177
|
var invalidValues = Validator_1.validate(metadataMap, this, "AddAddress");
|
|
@@ -176,7 +184,7 @@ var AddAddress = /** @class */ (function () {
|
|
|
176
184
|
}());
|
|
177
185
|
exports.AddAddress = AddAddress;
|
|
178
186
|
var ObpUploadPrescription = /** @class */ (function () {
|
|
179
|
-
function ObpUploadPrescription(fk_accountid, fkh_userid, token_id, pincode, rx_file_size, no_of_rx_uploaded, rx_source) {
|
|
187
|
+
function ObpUploadPrescription(fk_accountid, fkh_userid, token_id, pincode, rx_file_size, no_of_rx_uploaded, rx_source, page_visit_timestamp) {
|
|
180
188
|
this.type = "Healthcare.ObpUploadPrescription";
|
|
181
189
|
this.fk_accountid = fk_accountid;
|
|
182
190
|
this.fkh_userid = fkh_userid;
|
|
@@ -185,6 +193,7 @@ var ObpUploadPrescription = /** @class */ (function () {
|
|
|
185
193
|
this.rx_file_size = rx_file_size;
|
|
186
194
|
this.no_of_rx_uploaded = no_of_rx_uploaded;
|
|
187
195
|
this.rx_source = rx_source;
|
|
196
|
+
this.page_visit_timestamp = page_visit_timestamp;
|
|
188
197
|
}
|
|
189
198
|
ObpUploadPrescription.prototype.getValidator = function () {
|
|
190
199
|
var invalidValues = Validator_1.validate(metadataMap, this, "ObpUploadPrescription");
|
|
@@ -196,3 +205,27 @@ var ObpUploadPrescription = /** @class */ (function () {
|
|
|
196
205
|
return ObpUploadPrescription;
|
|
197
206
|
}());
|
|
198
207
|
exports.ObpUploadPrescription = ObpUploadPrescription;
|
|
208
|
+
var CartContinueButton = /** @class */ (function () {
|
|
209
|
+
function CartContinueButton(fk_accountid, fkh_userid, token_id, pincode, coupon_code, cart_value, cart_unit_count, cart_savings_value, cart_item_count, page_visit_timestamp) {
|
|
210
|
+
this.type = "Healthcare.CartContinueButton";
|
|
211
|
+
this.fk_accountid = fk_accountid;
|
|
212
|
+
this.fkh_userid = fkh_userid;
|
|
213
|
+
this.token_id = token_id;
|
|
214
|
+
this.pincode = pincode;
|
|
215
|
+
this.coupon_code = coupon_code;
|
|
216
|
+
this.cart_value = cart_value;
|
|
217
|
+
this.cart_unit_count = cart_unit_count;
|
|
218
|
+
this.cart_savings_value = cart_savings_value;
|
|
219
|
+
this.cart_item_count = cart_item_count;
|
|
220
|
+
this.page_visit_timestamp = page_visit_timestamp;
|
|
221
|
+
}
|
|
222
|
+
CartContinueButton.prototype.getValidator = function () {
|
|
223
|
+
var invalidValues = Validator_1.validate(metadataMap, this, "CartContinueButton");
|
|
224
|
+
return new EventValidator_1.EventValidator(invalidValues);
|
|
225
|
+
};
|
|
226
|
+
__decorate([
|
|
227
|
+
decorators_1.Positive(metadataMap, "CartContinueButton")
|
|
228
|
+
], CartContinueButton.prototype, "fk_accountid", void 0);
|
|
229
|
+
return CartContinueButton;
|
|
230
|
+
}());
|
|
231
|
+
exports.CartContinueButton = CartContinueButton;
|
|
@@ -48,13 +48,14 @@ export interface TravelAnalyticsHelper {
|
|
|
48
48
|
orderConfirmation: (amountToPay: number, paymentMethod: string) => Travel.OrderConfirmation;
|
|
49
49
|
}
|
|
50
50
|
export interface HealthcareAnalyticsHelper {
|
|
51
|
-
orderConfirmation: (fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, order_amount: number, offer_amount: number, payment_method: string,
|
|
52
|
-
|
|
53
|
-
uploadPrescription: (fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, page_name: string) => Healthcare.UploadPrescription;
|
|
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
|
-
search: (fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, search_query: string) => Healthcare.Search;
|
|
56
|
-
locationPincodeEnter: (fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, city: string, state: string) => Healthcare.LocationPincodeEnter;
|
|
57
|
-
pageView: (fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, page_name: string) => Healthcare.PageView;
|
|
58
|
-
addAddress: (fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, address_tag: string, subarea: string) => Healthcare.AddAddress;
|
|
59
|
-
obpUploadPrescription: (fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, rx_file_size: number, no_of_rx_uploaded: number, rx_source: string) => Healthcare.ObpUploadPrescription;
|
|
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, page_visit_timestamp: number) => Healthcare.OrderConfirmation;
|
|
52
|
+
proceedToPay: (fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, order_amount: number, offer_amount: number, payment_method: string, order_id: string, page_visit_timestamp: number) => Healthcare.ProceedToPay;
|
|
53
|
+
uploadPrescription: (fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, page_name: string, page_visit_timestamp: number) => Healthcare.UploadPrescription;
|
|
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, page_visit_timestamp: number) => Healthcare.AddToCart;
|
|
55
|
+
search: (fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, search_query: string, page_visit_timestamp: number) => Healthcare.Search;
|
|
56
|
+
locationPincodeEnter: (fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, city: string, state: string, page_visit_timestamp: number) => Healthcare.LocationPincodeEnter;
|
|
57
|
+
pageView: (fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, page_name: string, page_visit_timestamp: number) => Healthcare.PageView;
|
|
58
|
+
addAddress: (fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, address_tag: string, subarea: string, page_visit_timestamp: number) => Healthcare.AddAddress;
|
|
59
|
+
obpUploadPrescription: (fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, rx_file_size: number, no_of_rx_uploaded: number, rx_source: string, page_visit_timestamp: number) => Healthcare.ObpUploadPrescription;
|
|
60
|
+
cartContinueButton: (fk_accountid: string, fkh_userid: string, token_id: string, pincode: string, coupon_code: string, cart_value: number, cart_unit_count: number, cart_savings_value: number, cart_item_count: number, page_visit_timestamp: number) => Healthcare.CartContinueButton;
|
|
60
61
|
}
|
|
@@ -230,32 +230,35 @@ var SetupHelper = /** @class */ (function () {
|
|
|
230
230
|
};
|
|
231
231
|
SetupHelper.getHealthcareObject = function () {
|
|
232
232
|
return {
|
|
233
|
-
orderConfirmation: function (fk_accountid, fkh_userid, token_id, pincode, order_amount, offer_amount, payment_method,
|
|
234
|
-
return new analytics_1.Healthcare.OrderConfirmation(fk_accountid, fkh_userid, token_id, pincode, order_amount, offer_amount, payment_method,
|
|
233
|
+
orderConfirmation: function (fk_accountid, fkh_userid, token_id, pincode, order_amount, offer_amount, payment_method, fkh_order_id, fkh_order_status, page_visit_timestamp) {
|
|
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, page_visit_timestamp);
|
|
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, order_id, page_visit_timestamp) {
|
|
237
|
+
return new analytics_1.Healthcare.ProceedToPay(fk_accountid, fkh_userid, token_id, pincode, order_amount, offer_amount, payment_method, order_id, page_visit_timestamp);
|
|
238
238
|
},
|
|
239
|
-
uploadPrescription: function (fk_accountid, fkh_userid, token_id, pincode, page_name) {
|
|
240
|
-
return new analytics_1.Healthcare.UploadPrescription(fk_accountid, fkh_userid, token_id, pincode, page_name);
|
|
239
|
+
uploadPrescription: function (fk_accountid, fkh_userid, token_id, pincode, page_name, page_visit_timestamp) {
|
|
240
|
+
return new analytics_1.Healthcare.UploadPrescription(fk_accountid, fkh_userid, token_id, pincode, page_name, page_visit_timestamp);
|
|
241
241
|
},
|
|
242
|
-
addToCart: function (fk_accountid, fkh_userid, token_id, pincode, product_name, product_id, price, quantity, source) {
|
|
243
|
-
return new analytics_1.Healthcare.AddToCart(fk_accountid, fkh_userid, token_id, pincode, product_name, product_id, price, quantity, source);
|
|
242
|
+
addToCart: function (fk_accountid, fkh_userid, token_id, pincode, product_name, product_id, price, quantity, source, page_visit_timestamp) {
|
|
243
|
+
return new analytics_1.Healthcare.AddToCart(fk_accountid, fkh_userid, token_id, pincode, product_name, product_id, price, quantity, source, page_visit_timestamp);
|
|
244
244
|
},
|
|
245
|
-
search: function (fk_accountid, fkh_userid, token_id, pincode, search_query) {
|
|
246
|
-
return new analytics_1.Healthcare.Search(fk_accountid, fkh_userid, token_id, pincode, search_query);
|
|
245
|
+
search: function (fk_accountid, fkh_userid, token_id, pincode, search_query, page_visit_timestamp) {
|
|
246
|
+
return new analytics_1.Healthcare.Search(fk_accountid, fkh_userid, token_id, pincode, search_query, page_visit_timestamp);
|
|
247
247
|
},
|
|
248
|
-
locationPincodeEnter: function (fk_accountid, fkh_userid, token_id, pincode, city, state) {
|
|
249
|
-
return new analytics_1.Healthcare.LocationPincodeEnter(fk_accountid, fkh_userid, token_id, pincode, city, state);
|
|
248
|
+
locationPincodeEnter: function (fk_accountid, fkh_userid, token_id, pincode, city, state, page_visit_timestamp) {
|
|
249
|
+
return new analytics_1.Healthcare.LocationPincodeEnter(fk_accountid, fkh_userid, token_id, pincode, city, state, page_visit_timestamp);
|
|
250
250
|
},
|
|
251
|
-
pageView: function (fk_accountid, fkh_userid, token_id, pincode, page_name) {
|
|
252
|
-
return new analytics_1.Healthcare.PageView(fk_accountid, fkh_userid, token_id, pincode, page_name);
|
|
251
|
+
pageView: function (fk_accountid, fkh_userid, token_id, pincode, page_name, page_visit_timestamp) {
|
|
252
|
+
return new analytics_1.Healthcare.PageView(fk_accountid, fkh_userid, token_id, pincode, page_name, page_visit_timestamp);
|
|
253
253
|
},
|
|
254
|
-
addAddress: function (fk_accountid, fkh_userid, token_id, pincode, address_tag, subarea) {
|
|
255
|
-
return new analytics_1.Healthcare.AddAddress(fk_accountid, fkh_userid, token_id, pincode, address_tag, subarea);
|
|
254
|
+
addAddress: function (fk_accountid, fkh_userid, token_id, pincode, address_tag, subarea, page_visit_timestamp) {
|
|
255
|
+
return new analytics_1.Healthcare.AddAddress(fk_accountid, fkh_userid, token_id, pincode, address_tag, subarea, page_visit_timestamp);
|
|
256
256
|
},
|
|
257
|
-
obpUploadPrescription: function (fk_accountid, fkh_userid, token_id, pincode, rx_file_size, no_of_rx_uploaded, rx_source) {
|
|
258
|
-
return new analytics_1.Healthcare.ObpUploadPrescription(fk_accountid, fkh_userid, token_id, pincode, rx_file_size, no_of_rx_uploaded, rx_source);
|
|
257
|
+
obpUploadPrescription: function (fk_accountid, fkh_userid, token_id, pincode, rx_file_size, no_of_rx_uploaded, rx_source, page_visit_timestamp) {
|
|
258
|
+
return new analytics_1.Healthcare.ObpUploadPrescription(fk_accountid, fkh_userid, token_id, pincode, rx_file_size, no_of_rx_uploaded, rx_source, page_visit_timestamp);
|
|
259
|
+
},
|
|
260
|
+
cartContinueButton: function (fk_accountid, fkh_userid, token_id, pincode, coupon_code, cart_value, cart_unit_count, cart_savings_value, cart_item_count, page_visit_timestamp) {
|
|
261
|
+
return new analytics_1.Healthcare.CartContinueButton(fk_accountid, fkh_userid, token_id, pincode, coupon_code, cart_value, cart_unit_count, cart_savings_value, cart_item_count, page_visit_timestamp);
|
|
259
262
|
}
|
|
260
263
|
};
|
|
261
264
|
};
|