fk-platform-sdk 1.0.47-beta123 → 1.1.0-beta.1
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/package.json +1 -1
- package/dist/FKPlatform.d.ts +0 -27
- package/dist/FKPlatform.js +0 -53
- package/dist/analytics/Bill.d.ts +0 -31
- package/dist/analytics/Bill.js +0 -103
- package/dist/analytics/Cab.d.ts +0 -26
- package/dist/analytics/Cab.js +0 -66
- package/dist/analytics/EventValidator.d.ts +0 -6
- package/dist/analytics/EventValidator.js +0 -15
- package/dist/analytics/FoodDelivery.d.ts +0 -45
- package/dist/analytics/FoodDelivery.js +0 -131
- package/dist/analytics/FoodDish.d.ts +0 -7
- package/dist/analytics/FoodDish.js +0 -12
- package/dist/analytics/Healthcare.d.ts +0 -131
- package/dist/analytics/Healthcare.js +0 -231
- package/dist/analytics/Nft.d.ts +0 -37
- package/dist/analytics/Nft.js +0 -83
- package/dist/analytics/Person.d.ts +0 -6
- package/dist/analytics/Person.js +0 -11
- package/dist/analytics/Recharge.d.ts +0 -27
- package/dist/analytics/Recharge.js +0 -82
- package/dist/analytics/ShowTicket.d.ts +0 -36
- package/dist/analytics/ShowTicket.js +0 -97
- package/dist/analytics/Travel.d.ts +0 -45
- package/dist/analytics/Travel.js +0 -126
- package/dist/analytics/index.d.ts +0 -9
- package/dist/analytics/index.js +0 -18
- package/dist/analytics/interfaces/AnalyticsEvent.d.ts +0 -5
- package/dist/analytics/interfaces/AnalyticsEvent.js +0 -13
- package/dist/analytics/interfaces/AnalyticsHelper.d.ts +0 -67
- package/dist/analytics/interfaces/AnalyticsHelper.js +0 -2
- package/dist/analytics/interfaces/AnalyticsModule.d.ts +0 -19
- package/dist/analytics/interfaces/AnalyticsModule.js +0 -2
- package/dist/analytics/validation/ValidationMetadata.d.ts +0 -10
- package/dist/analytics/validation/ValidationMetadata.js +0 -2
- package/dist/analytics/validation/ValidationTypes.d.ts +0 -6
- package/dist/analytics/validation/ValidationTypes.js +0 -12
- package/dist/analytics/validation/Validator.d.ts +0 -3
- package/dist/analytics/validation/Validator.js +0 -38
- package/dist/analytics/validation/decorators.d.ts +0 -16
- package/dist/analytics/validation/decorators.js +0 -67
- package/dist/analytics/web/bill-index.d.ts +0 -1
- package/dist/analytics/web/bill-index.js +0 -4
- package/dist/analytics/web/cab-index.d.ts +0 -1
- package/dist/analytics/web/cab-index.js +0 -4
- package/dist/analytics/web/food-delivery-index.d.ts +0 -1
- package/dist/analytics/web/food-delivery-index.js +0 -4
- package/dist/analytics/web/recharge-index.d.ts +0 -1
- package/dist/analytics/web/recharge-index.js +0 -4
- package/dist/analytics/web/ticket-index.d.ts +0 -1
- package/dist/analytics/web/ticket-index.js +0 -4
- package/dist/analytics/web/travel-index.d.ts +0 -1
- package/dist/analytics/web/travel-index.js +0 -4
- package/dist/browser-index.d.ts +0 -1
- package/dist/browser-index.js +0 -8
- package/dist/constants/Errors.d.ts +0 -6
- package/dist/constants/Errors.js +0 -13
- package/dist/errors/FKPlatformError.d.ts +0 -3
- package/dist/errors/FKPlatformError.js +0 -20
- package/dist/errors/NativeModuleError.d.ts +0 -5
- package/dist/errors/NativeModuleError.js +0 -2
- package/dist/index.d.ts +0 -5
- package/dist/index.js +0 -21
- package/dist/interfaces/AuthenticationTokens.d.ts +0 -4
- package/dist/interfaces/AuthenticationTokens.js +0 -2
- package/dist/interfaces/EventManager.d.ts +0 -3
- package/dist/interfaces/EventManager.js +0 -2
- package/dist/interfaces/FKExtension.d.ts +0 -11
- package/dist/interfaces/FKExtension.js +0 -2
- package/dist/interfaces/FKWindow.d.ts +0 -11
- package/dist/interfaces/FKWindow.js +0 -2
- package/dist/interfaces/NativeModuleManagerProvider.d.ts +0 -15
- package/dist/interfaces/NativeModuleManagerProvider.js +0 -2
- package/dist/interfaces/NativeModuleResponse.d.ts +0 -10
- package/dist/interfaces/NativeModuleResponse.js +0 -2
- package/dist/interfaces/modules/AppVersionModule.d.ts +0 -5
- package/dist/interfaces/modules/AppVersionModule.js +0 -2
- package/dist/interfaces/modules/ContactsModule.d.ts +0 -11
- package/dist/interfaces/modules/ContactsModule.js +0 -2
- package/dist/interfaces/modules/DownloaderModule.d.ts +0 -5
- package/dist/interfaces/modules/DownloaderModule.js +0 -2
- package/dist/interfaces/modules/ErrorHandlerModule.d.ts +0 -11
- package/dist/interfaces/modules/ErrorHandlerModule.js +0 -2
- package/dist/interfaces/modules/FontModule.d.ts +0 -5
- package/dist/interfaces/modules/FontModule.js +0 -2
- package/dist/interfaces/modules/GenericUltraShareModule.d.ts +0 -5
- package/dist/interfaces/modules/GenericUltraShareModule.js +0 -2
- package/dist/interfaces/modules/LocationModule.d.ts +0 -8
- package/dist/interfaces/modules/LocationModule.js +0 -2
- package/dist/interfaces/modules/NavigationModule.d.ts +0 -12
- package/dist/interfaces/modules/NavigationModule.js +0 -2
- package/dist/interfaces/modules/PermissionsModule.d.ts +0 -19
- package/dist/interfaces/modules/PermissionsModule.js +0 -8
- package/dist/interfaces/modules/SMSModule.d.ts +0 -5
- package/dist/interfaces/modules/SMSModule.js +0 -2
- package/dist/managers/ModuleManager.d.ts +0 -29
- package/dist/managers/ModuleManager.js +0 -84
- package/dist/managers/NativeModuleCallbackManager.d.ts +0 -12
- package/dist/managers/NativeModuleCallbackManager.js +0 -65
- package/dist/managers/NativeModuleHelper.d.ts +0 -17
- package/dist/managers/NativeModuleHelper.js +0 -65
- package/dist/managers/WindowManager.d.ts +0 -5
- package/dist/managers/WindowManager.js +0 -20
- package/dist/modules/AnalyticsModuleImpl.d.ts +0 -11
- package/dist/modules/AnalyticsModuleImpl.js +0 -74
- package/dist/modules/AppVersionModuleImpl.d.ts +0 -9
- package/dist/modules/AppVersionModuleImpl.js +0 -30
- package/dist/modules/AuthModuleImpl.d.ts +0 -6
- package/dist/modules/AuthModuleImpl.js +0 -27
- package/dist/modules/ContactsModuleImpl.d.ts +0 -11
- package/dist/modules/ContactsModuleImpl.js +0 -40
- package/dist/modules/DownloaderModuleImpl.d.ts +0 -9
- package/dist/modules/DownloaderModuleImpl.js +0 -32
- package/dist/modules/ErrorHandlerModuleImpl.d.ts +0 -8
- package/dist/modules/ErrorHandlerModuleImpl.js +0 -31
- package/dist/modules/FontModuleImpl.d.ts +0 -9
- package/dist/modules/FontModuleImpl.js +0 -32
- package/dist/modules/LocationModuleImpl.d.ts +0 -12
- package/dist/modules/LocationModuleImpl.js +0 -49
- package/dist/modules/NavigationModuleImpl.d.ts +0 -15
- package/dist/modules/NavigationModuleImpl.js +0 -72
- package/dist/modules/PermissionsModuleImpl.d.ts +0 -14
- package/dist/modules/PermissionsModuleImpl.js +0 -51
- package/dist/modules/SMSModuleImpl.d.ts +0 -9
- package/dist/modules/SMSModuleImpl.js +0 -30
- package/dist/modules/ShareModuleImpl.d.ts +0 -9
- package/dist/modules/ShareModuleImpl.js +0 -35
- package/dist/private/tracking-setup-index.d.ts +0 -1
- package/dist/private/tracking-setup-index.js +0 -49
- package/dist/setup/SetupHelper.d.ts +0 -22
- package/dist/setup/SetupHelper.js +0 -283
- package/dist/types/AppVersionManagerResponse.d.ts +0 -3
- package/dist/types/AppVersionManagerResponse.js +0 -2
- package/dist/types/DeviceInfoResponse.d.ts +0 -3
- package/dist/types/DeviceInfoResponse.js +0 -2
- package/dist/types/DownloadManagerResponse.d.ts +0 -3
- package/dist/types/DownloadManagerResponse.js +0 -2
- package/dist/types/FontsManagerResponse.d.ts +0 -3
- package/dist/types/FontsManagerResponse.js +0 -2
- package/dist/types/GenericShareManagerResponse.d.ts +0 -3
- package/dist/types/GenericShareManagerResponse.js +0 -2
- package/dist/types/LocationManagerResponse.d.ts +0 -7
- package/dist/types/LocationManagerResponse.js +0 -2
- package/dist/types/NativeModuleResponseType.d.ts +0 -1
- package/dist/types/NativeModuleResponseType.js +0 -2
- package/dist/types/PermissionsManagerResponse.d.ts +0 -3
- package/dist/types/PermissionsManagerResponse.js +0 -2
- package/dist/types/SMSManagerResponse.d.ts +0 -3
- package/dist/types/SMSManagerResponse.js +0 -2
- package/dist/web/index.d.ts +0 -5
- package/dist/web/index.js +0 -19
package/package.json
CHANGED
package/dist/FKPlatform.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/** Main SDK class, importing this provides access to everything */
|
|
2
|
-
import { ModuleManager } from "./managers/ModuleManager";
|
|
3
|
-
export default class FKPlatform {
|
|
4
|
-
static isPlatformAvailable(): boolean;
|
|
5
|
-
static setUserAgent(userAgent: string): void;
|
|
6
|
-
static getUserAgent(): string;
|
|
7
|
-
private static userAgent;
|
|
8
|
-
private static isFkPlatformAvailable;
|
|
9
|
-
/**
|
|
10
|
-
* Checks if your code is running inside Flipkart App/Platfrom. Should be used instead of UA checks.
|
|
11
|
-
* TODO: Should be fast, will be frequently called.
|
|
12
|
-
*/
|
|
13
|
-
private clientID;
|
|
14
|
-
private moduleManager;
|
|
15
|
-
/**
|
|
16
|
-
* Pass in the given authorization credentials. You should have these with you secretly.
|
|
17
|
-
* @constructor
|
|
18
|
-
* @param clientID
|
|
19
|
-
*/
|
|
20
|
-
constructor(clientID: string);
|
|
21
|
-
/**
|
|
22
|
-
* @returns ModuleManager which provides access to all bridge capabilties that flipkart platform enables.
|
|
23
|
-
*/
|
|
24
|
-
getModuleHelper(): ModuleManager;
|
|
25
|
-
private assertPlatformExists;
|
|
26
|
-
private assertClientIdentity;
|
|
27
|
-
}
|
package/dist/FKPlatform.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/** Main SDK class, importing this provides access to everything */
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
var Errors_1 = require("./constants/Errors");
|
|
5
|
-
var FKPlatformError_1 = require("./errors/FKPlatformError");
|
|
6
|
-
var ModuleManager_1 = require("./managers/ModuleManager");
|
|
7
|
-
var AuthModuleImpl_1 = require("./modules/AuthModuleImpl");
|
|
8
|
-
var NativeModuleCallbackManager_1 = require("./managers/NativeModuleCallbackManager");
|
|
9
|
-
var FKPlatform = /** @class */ (function () {
|
|
10
|
-
/**
|
|
11
|
-
* Pass in the given authorization credentials. You should have these with you secretly.
|
|
12
|
-
* @constructor
|
|
13
|
-
* @param clientID
|
|
14
|
-
*/
|
|
15
|
-
function FKPlatform(clientID) {
|
|
16
|
-
this.assertPlatformExists();
|
|
17
|
-
this.clientID = clientID;
|
|
18
|
-
this.assertClientIdentity();
|
|
19
|
-
var nativeModuleCallbackManager = new NativeModuleCallbackManager_1.NativeModuleCallbackManager();
|
|
20
|
-
this.moduleManager = new ModuleManager_1.ModuleManager(nativeModuleCallbackManager);
|
|
21
|
-
//Initializing
|
|
22
|
-
new AuthModuleImpl_1.AuthModuleImpl(nativeModuleCallbackManager).init(clientID);
|
|
23
|
-
}
|
|
24
|
-
FKPlatform.isPlatformAvailable = function () {
|
|
25
|
-
return FKPlatform.isFkPlatformAvailable;
|
|
26
|
-
};
|
|
27
|
-
FKPlatform.setUserAgent = function (userAgent) {
|
|
28
|
-
FKPlatform.userAgent = userAgent;
|
|
29
|
-
FKPlatform.isFkPlatformAvailable = FKPlatform.userAgent ? FKPlatform.userAgent.indexOf("UltraSDK") !== -1 : false;
|
|
30
|
-
};
|
|
31
|
-
FKPlatform.getUserAgent = function () {
|
|
32
|
-
return FKPlatform.userAgent;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* @returns ModuleManager which provides access to all bridge capabilties that flipkart platform enables.
|
|
36
|
-
*/
|
|
37
|
-
FKPlatform.prototype.getModuleHelper = function () {
|
|
38
|
-
this.assertPlatformExists();
|
|
39
|
-
return this.moduleManager;
|
|
40
|
-
};
|
|
41
|
-
FKPlatform.prototype.assertPlatformExists = function () {
|
|
42
|
-
if (!FKPlatform.isPlatformAvailable()) {
|
|
43
|
-
throw new FKPlatformError_1.FKPlatformError(Errors_1.Errors.MESSAGE_PLATFORM_UNAVAILABLE);
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
FKPlatform.prototype.assertClientIdentity = function () {
|
|
47
|
-
if (!this.clientID || this.clientID === "") {
|
|
48
|
-
throw new FKPlatformError_1.FKPlatformError(Errors_1.Errors.MESSAGE_CLIENT_ID_ABSENT);
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
return FKPlatform;
|
|
52
|
-
}());
|
|
53
|
-
exports.default = FKPlatform;
|
package/dist/analytics/Bill.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { AnalyticsEvent } from "./interfaces/AnalyticsEvent";
|
|
2
|
-
import { EventValidator } from "./EventValidator";
|
|
3
|
-
export declare class Select extends AnalyticsEvent {
|
|
4
|
-
type: string;
|
|
5
|
-
private productName;
|
|
6
|
-
private connectionNumber;
|
|
7
|
-
private category;
|
|
8
|
-
private price;
|
|
9
|
-
constructor(productName: string, connectionNumber: string, category: string, price: number);
|
|
10
|
-
getValidator(): EventValidator;
|
|
11
|
-
}
|
|
12
|
-
export declare class ProceedToPay extends AnalyticsEvent {
|
|
13
|
-
type: string;
|
|
14
|
-
private amountToPay;
|
|
15
|
-
private offerAmount;
|
|
16
|
-
constructor(amountToPay: number, offerAmount: number);
|
|
17
|
-
getValidator(): EventValidator;
|
|
18
|
-
}
|
|
19
|
-
export declare class CustomerDetails extends AnalyticsEvent {
|
|
20
|
-
type: string;
|
|
21
|
-
private phoneNumber;
|
|
22
|
-
private billingAddress;
|
|
23
|
-
constructor(phoneNumber: string, billingAddress: string);
|
|
24
|
-
}
|
|
25
|
-
export declare class OrderConfirmation implements AnalyticsEvent {
|
|
26
|
-
type: string;
|
|
27
|
-
orderAmount: number;
|
|
28
|
-
private paymentMethod;
|
|
29
|
-
constructor(orderAmount: number, paymentMethod: string);
|
|
30
|
-
getValidator(): EventValidator;
|
|
31
|
-
}
|
package/dist/analytics/Bill.js
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return function (d, b) {
|
|
7
|
-
extendStatics(d, b);
|
|
8
|
-
function __() { this.constructor = d; }
|
|
9
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10
|
-
};
|
|
11
|
-
})();
|
|
12
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
16
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17
|
-
};
|
|
18
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
var AnalyticsEvent_1 = require("./interfaces/AnalyticsEvent");
|
|
20
|
-
var EventValidator_1 = require("./EventValidator");
|
|
21
|
-
var decorators_1 = require("./validation/decorators");
|
|
22
|
-
var Validator_1 = require("./validation/Validator");
|
|
23
|
-
var metadataMap = {};
|
|
24
|
-
var Select = /** @class */ (function (_super) {
|
|
25
|
-
__extends(Select, _super);
|
|
26
|
-
function Select(productName, connectionNumber, category, price) {
|
|
27
|
-
var _this = _super.call(this) || this;
|
|
28
|
-
_this.type = "Bill.Select";
|
|
29
|
-
_this.productName = productName;
|
|
30
|
-
_this.connectionNumber = connectionNumber;
|
|
31
|
-
_this.category = category;
|
|
32
|
-
_this.price = price;
|
|
33
|
-
return _this;
|
|
34
|
-
}
|
|
35
|
-
Select.prototype.getValidator = function () {
|
|
36
|
-
var invalidValues = Validator_1.validate(metadataMap, this, "Select");
|
|
37
|
-
return new EventValidator_1.EventValidator(invalidValues);
|
|
38
|
-
};
|
|
39
|
-
__decorate([
|
|
40
|
-
decorators_1.NonEmpty(metadataMap, "Select")
|
|
41
|
-
], Select.prototype, "productName", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
decorators_1.NonEmpty(metadataMap, "Select")
|
|
44
|
-
], Select.prototype, "connectionNumber", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
decorators_1.NonEmpty(metadataMap, "Select")
|
|
47
|
-
], Select.prototype, "category", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
decorators_1.Positive(metadataMap, "Select")
|
|
50
|
-
], Select.prototype, "price", void 0);
|
|
51
|
-
return Select;
|
|
52
|
-
}(AnalyticsEvent_1.AnalyticsEvent));
|
|
53
|
-
exports.Select = Select;
|
|
54
|
-
var ProceedToPay = /** @class */ (function (_super) {
|
|
55
|
-
__extends(ProceedToPay, _super);
|
|
56
|
-
function ProceedToPay(amountToPay, offerAmount) {
|
|
57
|
-
var _this = _super.call(this) || this;
|
|
58
|
-
_this.type = "Bill.ProceedToPay";
|
|
59
|
-
_this.amountToPay = amountToPay;
|
|
60
|
-
_this.offerAmount = offerAmount;
|
|
61
|
-
return _this;
|
|
62
|
-
}
|
|
63
|
-
ProceedToPay.prototype.getValidator = function () {
|
|
64
|
-
var invalidValues = Validator_1.validate(metadataMap, this, "ProceedToPay");
|
|
65
|
-
return new EventValidator_1.EventValidator(invalidValues);
|
|
66
|
-
};
|
|
67
|
-
__decorate([
|
|
68
|
-
decorators_1.Positive(metadataMap, "ProceedToPay")
|
|
69
|
-
], ProceedToPay.prototype, "amountToPay", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
decorators_1.NonNegative(metadataMap, "ProceedToPay")
|
|
72
|
-
], ProceedToPay.prototype, "offerAmount", void 0);
|
|
73
|
-
return ProceedToPay;
|
|
74
|
-
}(AnalyticsEvent_1.AnalyticsEvent));
|
|
75
|
-
exports.ProceedToPay = ProceedToPay;
|
|
76
|
-
var CustomerDetails = /** @class */ (function (_super) {
|
|
77
|
-
__extends(CustomerDetails, _super);
|
|
78
|
-
function CustomerDetails(phoneNumber, billingAddress) {
|
|
79
|
-
var _this = _super.call(this) || this;
|
|
80
|
-
_this.type = "Bill.CustomerDetails";
|
|
81
|
-
_this.phoneNumber = phoneNumber;
|
|
82
|
-
_this.billingAddress = billingAddress;
|
|
83
|
-
return _this;
|
|
84
|
-
}
|
|
85
|
-
return CustomerDetails;
|
|
86
|
-
}(AnalyticsEvent_1.AnalyticsEvent));
|
|
87
|
-
exports.CustomerDetails = CustomerDetails;
|
|
88
|
-
var OrderConfirmation = /** @class */ (function () {
|
|
89
|
-
function OrderConfirmation(orderAmount, paymentMethod) {
|
|
90
|
-
this.type = "Bill.OrderConfirmation";
|
|
91
|
-
this.orderAmount = orderAmount;
|
|
92
|
-
this.paymentMethod = paymentMethod;
|
|
93
|
-
}
|
|
94
|
-
OrderConfirmation.prototype.getValidator = function () {
|
|
95
|
-
var invalidValues = Validator_1.validate(metadataMap, this, "OrderConfirmation");
|
|
96
|
-
return new EventValidator_1.EventValidator(invalidValues);
|
|
97
|
-
};
|
|
98
|
-
__decorate([
|
|
99
|
-
decorators_1.Positive(metadataMap, "OrderConfirmation")
|
|
100
|
-
], OrderConfirmation.prototype, "orderAmount", void 0);
|
|
101
|
-
return OrderConfirmation;
|
|
102
|
-
}());
|
|
103
|
-
exports.OrderConfirmation = OrderConfirmation;
|
package/dist/analytics/Cab.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { AnalyticsEvent } from "./interfaces/AnalyticsEvent";
|
|
2
|
-
import { EventValidator } from "./EventValidator";
|
|
3
|
-
export declare class Select implements AnalyticsEvent {
|
|
4
|
-
type: string;
|
|
5
|
-
private source;
|
|
6
|
-
private destination;
|
|
7
|
-
private cab_type;
|
|
8
|
-
private rideNow;
|
|
9
|
-
private rideLaterTime;
|
|
10
|
-
constructor(source: string, destination: string[], cab_type: string, rideNow: boolean, rideLaterTime: Date);
|
|
11
|
-
getValidator(): EventValidator;
|
|
12
|
-
}
|
|
13
|
-
export declare class OrderConfirmation implements AnalyticsEvent {
|
|
14
|
-
type: string;
|
|
15
|
-
private amount;
|
|
16
|
-
private paymentMethod;
|
|
17
|
-
private couponCode;
|
|
18
|
-
constructor(amount: number, paymentMethod: string, couponCode: string);
|
|
19
|
-
getValidator(): EventValidator;
|
|
20
|
-
}
|
|
21
|
-
export declare class OrderCancellation implements AnalyticsEvent {
|
|
22
|
-
type: string;
|
|
23
|
-
private cancellationReason;
|
|
24
|
-
constructor(cancellationReason: string);
|
|
25
|
-
getValidator(): EventValidator;
|
|
26
|
-
}
|
package/dist/analytics/Cab.js
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
var EventValidator_1 = require("./EventValidator");
|
|
10
|
-
var decorators_1 = require("./validation/decorators");
|
|
11
|
-
var Validator_1 = require("./validation/Validator");
|
|
12
|
-
var metadataMap = {};
|
|
13
|
-
var Select = /** @class */ (function () {
|
|
14
|
-
function Select(source, destination, cab_type, rideNow, rideLaterTime) {
|
|
15
|
-
this.type = "Cab.Select";
|
|
16
|
-
this.source = source;
|
|
17
|
-
this.destination = destination;
|
|
18
|
-
this.cab_type = cab_type;
|
|
19
|
-
this.rideNow = rideNow;
|
|
20
|
-
this.rideLaterTime = rideLaterTime;
|
|
21
|
-
}
|
|
22
|
-
Select.prototype.getValidator = function () {
|
|
23
|
-
var invalidValues = Validator_1.validate(metadataMap, this, "Select");
|
|
24
|
-
return new EventValidator_1.EventValidator(invalidValues);
|
|
25
|
-
};
|
|
26
|
-
__decorate([
|
|
27
|
-
decorators_1.NonEmpty(metadataMap, "Select")
|
|
28
|
-
], Select.prototype, "source", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
decorators_1.NonEmpty(metadataMap, "Select")
|
|
31
|
-
], Select.prototype, "cab_type", void 0);
|
|
32
|
-
return Select;
|
|
33
|
-
}());
|
|
34
|
-
exports.Select = Select;
|
|
35
|
-
var OrderConfirmation = /** @class */ (function () {
|
|
36
|
-
function OrderConfirmation(amount, paymentMethod, couponCode) {
|
|
37
|
-
this.type = "Cab.Confirm";
|
|
38
|
-
this.amount = amount;
|
|
39
|
-
this.paymentMethod = paymentMethod;
|
|
40
|
-
this.couponCode = couponCode;
|
|
41
|
-
}
|
|
42
|
-
OrderConfirmation.prototype.getValidator = function () {
|
|
43
|
-
var invalidValues = Validator_1.validate(metadataMap, this, "OrderConfirmation");
|
|
44
|
-
return new EventValidator_1.EventValidator(invalidValues);
|
|
45
|
-
};
|
|
46
|
-
__decorate([
|
|
47
|
-
decorators_1.Positive(metadataMap, "OrderConfirmation")
|
|
48
|
-
], OrderConfirmation.prototype, "amount", void 0);
|
|
49
|
-
return OrderConfirmation;
|
|
50
|
-
}());
|
|
51
|
-
exports.OrderConfirmation = OrderConfirmation;
|
|
52
|
-
var OrderCancellation = /** @class */ (function () {
|
|
53
|
-
function OrderCancellation(cancellationReason) {
|
|
54
|
-
this.type = "Cab.Cancel";
|
|
55
|
-
this.cancellationReason = cancellationReason;
|
|
56
|
-
}
|
|
57
|
-
OrderCancellation.prototype.getValidator = function () {
|
|
58
|
-
var invalidValues = Validator_1.validate(metadataMap, this, "OrderCancellation");
|
|
59
|
-
return new EventValidator_1.EventValidator(invalidValues);
|
|
60
|
-
};
|
|
61
|
-
__decorate([
|
|
62
|
-
decorators_1.NonEmpty(metadataMap, "OrderCancellation")
|
|
63
|
-
], OrderCancellation.prototype, "cancellationReason", void 0);
|
|
64
|
-
return OrderCancellation;
|
|
65
|
-
}());
|
|
66
|
-
exports.OrderCancellation = OrderCancellation;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var EventValidator = /** @class */ (function () {
|
|
4
|
-
function EventValidator(vars) {
|
|
5
|
-
this.errorMessages = vars;
|
|
6
|
-
}
|
|
7
|
-
EventValidator.prototype.isValid = function () {
|
|
8
|
-
return this.errorMessages.length === 0;
|
|
9
|
-
};
|
|
10
|
-
EventValidator.prototype.getErrorMessage = function () {
|
|
11
|
-
return "Invalid event, ensure you resolve following issues: " + this.errorMessages;
|
|
12
|
-
};
|
|
13
|
-
return EventValidator;
|
|
14
|
-
}());
|
|
15
|
-
exports.EventValidator = EventValidator;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { AnalyticsEvent } from "./interfaces/AnalyticsEvent";
|
|
2
|
-
import { EventValidator } from "./EventValidator";
|
|
3
|
-
import { FoodDish } from "./FoodDish";
|
|
4
|
-
export declare class Search implements AnalyticsEvent {
|
|
5
|
-
type: string;
|
|
6
|
-
private searchQuery;
|
|
7
|
-
private searchCategory;
|
|
8
|
-
constructor(searchQuery: string, searchCategory: string);
|
|
9
|
-
getValidator(): EventValidator;
|
|
10
|
-
}
|
|
11
|
-
export declare class Select implements AnalyticsEvent {
|
|
12
|
-
type: string;
|
|
13
|
-
private restaurant;
|
|
14
|
-
constructor(restaurant: string);
|
|
15
|
-
getValidator(): EventValidator;
|
|
16
|
-
}
|
|
17
|
-
export declare class CheckOut implements AnalyticsEvent {
|
|
18
|
-
type: string;
|
|
19
|
-
private products;
|
|
20
|
-
constructor(products: FoodDish[]);
|
|
21
|
-
getValidator(): EventValidator;
|
|
22
|
-
}
|
|
23
|
-
export declare class ProceedToPay extends AnalyticsEvent {
|
|
24
|
-
type: string;
|
|
25
|
-
private amountToPay;
|
|
26
|
-
private offerAmount;
|
|
27
|
-
private deliveryCharge;
|
|
28
|
-
private packingCharge;
|
|
29
|
-
constructor(amountToPay: number, offerAmount: number, deliveryCharge: number, packingCharge: number);
|
|
30
|
-
getValidator(): EventValidator;
|
|
31
|
-
}
|
|
32
|
-
export declare class CustomerDetails implements AnalyticsEvent {
|
|
33
|
-
type: string;
|
|
34
|
-
private deliveryAddress;
|
|
35
|
-
private addressType;
|
|
36
|
-
constructor(deliveryAddress: string, addressType: string);
|
|
37
|
-
getValidator(): EventValidator;
|
|
38
|
-
}
|
|
39
|
-
export declare class OrderConfirmation implements AnalyticsEvent {
|
|
40
|
-
type: string;
|
|
41
|
-
private amountToPay;
|
|
42
|
-
private paymentMethod;
|
|
43
|
-
constructor(amountToPay: number, paymentMethod: string);
|
|
44
|
-
getValidator(): EventValidator;
|
|
45
|
-
}
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return function (d, b) {
|
|
7
|
-
extendStatics(d, b);
|
|
8
|
-
function __() { this.constructor = d; }
|
|
9
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10
|
-
};
|
|
11
|
-
})();
|
|
12
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
16
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17
|
-
};
|
|
18
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
var AnalyticsEvent_1 = require("./interfaces/AnalyticsEvent");
|
|
20
|
-
var EventValidator_1 = require("./EventValidator");
|
|
21
|
-
var decorators_1 = require("./validation/decorators");
|
|
22
|
-
var Validator_1 = require("./validation/Validator");
|
|
23
|
-
var metadataMap = {};
|
|
24
|
-
var Search = /** @class */ (function () {
|
|
25
|
-
function Search(searchQuery, searchCategory) {
|
|
26
|
-
this.type = "FoodDelivery.Search";
|
|
27
|
-
this.searchQuery = searchQuery;
|
|
28
|
-
this.searchCategory = searchCategory;
|
|
29
|
-
}
|
|
30
|
-
Search.prototype.getValidator = function () {
|
|
31
|
-
var invalidValues = Validator_1.validate(metadataMap, this, "Search");
|
|
32
|
-
return new EventValidator_1.EventValidator(invalidValues);
|
|
33
|
-
};
|
|
34
|
-
__decorate([
|
|
35
|
-
decorators_1.NonEmpty(metadataMap, "Search")
|
|
36
|
-
], Search.prototype, "searchQuery", void 0);
|
|
37
|
-
return Search;
|
|
38
|
-
}());
|
|
39
|
-
exports.Search = Search;
|
|
40
|
-
var Select = /** @class */ (function () {
|
|
41
|
-
function Select(restaurant) {
|
|
42
|
-
this.type = "FoodDelivery.Select";
|
|
43
|
-
this.restaurant = restaurant;
|
|
44
|
-
}
|
|
45
|
-
Select.prototype.getValidator = function () {
|
|
46
|
-
var invalidValues = Validator_1.validate(metadataMap, this, "Select");
|
|
47
|
-
return new EventValidator_1.EventValidator(invalidValues);
|
|
48
|
-
};
|
|
49
|
-
__decorate([
|
|
50
|
-
decorators_1.NonEmpty(metadataMap, "Select")
|
|
51
|
-
], Select.prototype, "restaurant", void 0);
|
|
52
|
-
return Select;
|
|
53
|
-
}());
|
|
54
|
-
exports.Select = Select;
|
|
55
|
-
var CheckOut = /** @class */ (function () {
|
|
56
|
-
function CheckOut(products) {
|
|
57
|
-
this.type = "FoodDelivery.CheckOut";
|
|
58
|
-
this.products = products;
|
|
59
|
-
}
|
|
60
|
-
CheckOut.prototype.getValidator = function () {
|
|
61
|
-
var invalidValues = new Array();
|
|
62
|
-
if (!this.products || this.products.length === 0) {
|
|
63
|
-
invalidValues.push("products list should not be empty");
|
|
64
|
-
}
|
|
65
|
-
return new EventValidator_1.EventValidator(invalidValues);
|
|
66
|
-
};
|
|
67
|
-
return CheckOut;
|
|
68
|
-
}());
|
|
69
|
-
exports.CheckOut = CheckOut;
|
|
70
|
-
var ProceedToPay = /** @class */ (function (_super) {
|
|
71
|
-
__extends(ProceedToPay, _super);
|
|
72
|
-
function ProceedToPay(amountToPay, offerAmount, deliveryCharge, packingCharge) {
|
|
73
|
-
var _this = _super.call(this) || this;
|
|
74
|
-
_this.type = "FoodDelivery.ProceedToPay";
|
|
75
|
-
_this.amountToPay = amountToPay;
|
|
76
|
-
_this.offerAmount = offerAmount;
|
|
77
|
-
_this.deliveryCharge = deliveryCharge;
|
|
78
|
-
_this.packingCharge = packingCharge;
|
|
79
|
-
return _this;
|
|
80
|
-
}
|
|
81
|
-
ProceedToPay.prototype.getValidator = function () {
|
|
82
|
-
var invalidValues = Validator_1.validate(metadataMap, this, "ProceedToPay");
|
|
83
|
-
return new EventValidator_1.EventValidator(invalidValues);
|
|
84
|
-
};
|
|
85
|
-
__decorate([
|
|
86
|
-
decorators_1.Positive(metadataMap, "ProceedToPay")
|
|
87
|
-
], ProceedToPay.prototype, "amountToPay", void 0);
|
|
88
|
-
__decorate([
|
|
89
|
-
decorators_1.NonNegative(metadataMap, "ProceedToPay")
|
|
90
|
-
], ProceedToPay.prototype, "offerAmount", void 0);
|
|
91
|
-
__decorate([
|
|
92
|
-
decorators_1.NonNegative(metadataMap, "ProceedToPay")
|
|
93
|
-
], ProceedToPay.prototype, "deliveryCharge", void 0);
|
|
94
|
-
__decorate([
|
|
95
|
-
decorators_1.NonNegative(metadataMap, "ProceedToPay")
|
|
96
|
-
], ProceedToPay.prototype, "packingCharge", void 0);
|
|
97
|
-
return ProceedToPay;
|
|
98
|
-
}(AnalyticsEvent_1.AnalyticsEvent));
|
|
99
|
-
exports.ProceedToPay = ProceedToPay;
|
|
100
|
-
var CustomerDetails = /** @class */ (function () {
|
|
101
|
-
function CustomerDetails(deliveryAddress, addressType) {
|
|
102
|
-
this.type = "FoodDelivery.CustomerDetails";
|
|
103
|
-
this.deliveryAddress = deliveryAddress;
|
|
104
|
-
this.addressType = addressType;
|
|
105
|
-
}
|
|
106
|
-
CustomerDetails.prototype.getValidator = function () {
|
|
107
|
-
var invalidValues = Validator_1.validate(metadataMap, this, "CustomerDetails");
|
|
108
|
-
return new EventValidator_1.EventValidator(invalidValues);
|
|
109
|
-
};
|
|
110
|
-
__decorate([
|
|
111
|
-
decorators_1.NonEmpty(metadataMap, "CustomerDetails")
|
|
112
|
-
], CustomerDetails.prototype, "deliveryAddress", void 0);
|
|
113
|
-
return CustomerDetails;
|
|
114
|
-
}());
|
|
115
|
-
exports.CustomerDetails = CustomerDetails;
|
|
116
|
-
var OrderConfirmation = /** @class */ (function () {
|
|
117
|
-
function OrderConfirmation(amountToPay, paymentMethod) {
|
|
118
|
-
this.type = "FoodDelivery.OrderConfirmation";
|
|
119
|
-
this.amountToPay = amountToPay;
|
|
120
|
-
this.paymentMethod = paymentMethod;
|
|
121
|
-
}
|
|
122
|
-
OrderConfirmation.prototype.getValidator = function () {
|
|
123
|
-
var invalidValues = Validator_1.validate(metadataMap, this, "OrderConfirmation");
|
|
124
|
-
return new EventValidator_1.EventValidator(invalidValues);
|
|
125
|
-
};
|
|
126
|
-
__decorate([
|
|
127
|
-
decorators_1.Positive(metadataMap, "OrderConfirmation")
|
|
128
|
-
], OrderConfirmation.prototype, "amountToPay", void 0);
|
|
129
|
-
return OrderConfirmation;
|
|
130
|
-
}());
|
|
131
|
-
exports.OrderConfirmation = OrderConfirmation;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var FoodDish = /** @class */ (function () {
|
|
4
|
-
function FoodDish(productName, productCategory, quantity, restaurant) {
|
|
5
|
-
this.productName = productName;
|
|
6
|
-
this.productCategory = productCategory;
|
|
7
|
-
this.quantity = quantity;
|
|
8
|
-
this.restaurant = restaurant;
|
|
9
|
-
}
|
|
10
|
-
return FoodDish;
|
|
11
|
-
}());
|
|
12
|
-
exports.FoodDish = FoodDish;
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import { AnalyticsEvent } from "./interfaces/AnalyticsEvent";
|
|
2
|
-
import { EventValidator } from "./EventValidator";
|
|
3
|
-
export declare class OrderConfirmation implements AnalyticsEvent {
|
|
4
|
-
type: string;
|
|
5
|
-
private fk_accountid;
|
|
6
|
-
private fkh_userid;
|
|
7
|
-
private token_id;
|
|
8
|
-
private pincode;
|
|
9
|
-
private order_amount;
|
|
10
|
-
private offer_amount;
|
|
11
|
-
private payment_method;
|
|
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);
|
|
16
|
-
getValidator(): EventValidator;
|
|
17
|
-
}
|
|
18
|
-
export declare class ProceedToPay implements AnalyticsEvent {
|
|
19
|
-
type: string;
|
|
20
|
-
private fk_accountid;
|
|
21
|
-
private fkh_userid;
|
|
22
|
-
private token_id;
|
|
23
|
-
private pincode;
|
|
24
|
-
private order_amount;
|
|
25
|
-
private offer_amount;
|
|
26
|
-
private payment_method;
|
|
27
|
-
private order_id;
|
|
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);
|
|
30
|
-
getValidator(): EventValidator;
|
|
31
|
-
}
|
|
32
|
-
export declare class UploadPrescription implements AnalyticsEvent {
|
|
33
|
-
type: string;
|
|
34
|
-
private fk_accountid;
|
|
35
|
-
private fkh_userid;
|
|
36
|
-
private token_id;
|
|
37
|
-
private pincode;
|
|
38
|
-
private page_name;
|
|
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);
|
|
41
|
-
getValidator(): EventValidator;
|
|
42
|
-
}
|
|
43
|
-
export declare class AddToCart implements AnalyticsEvent {
|
|
44
|
-
type: string;
|
|
45
|
-
private fk_accountid;
|
|
46
|
-
private fkh_userid;
|
|
47
|
-
private token_id;
|
|
48
|
-
private pincode;
|
|
49
|
-
private product_name;
|
|
50
|
-
private product_id;
|
|
51
|
-
private price;
|
|
52
|
-
private quantity;
|
|
53
|
-
private source;
|
|
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);
|
|
56
|
-
getValidator(): EventValidator;
|
|
57
|
-
}
|
|
58
|
-
export declare class Search implements AnalyticsEvent {
|
|
59
|
-
type: string;
|
|
60
|
-
private fk_accountid;
|
|
61
|
-
private fkh_userid;
|
|
62
|
-
private token_id;
|
|
63
|
-
private pincode;
|
|
64
|
-
private search_query;
|
|
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);
|
|
67
|
-
getValidator(): EventValidator;
|
|
68
|
-
}
|
|
69
|
-
export declare class LocationPincodeEnter implements AnalyticsEvent {
|
|
70
|
-
type: string;
|
|
71
|
-
private fk_accountid;
|
|
72
|
-
private fkh_userid;
|
|
73
|
-
private token_id;
|
|
74
|
-
private pincode;
|
|
75
|
-
private city;
|
|
76
|
-
private state;
|
|
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);
|
|
79
|
-
getValidator(): EventValidator;
|
|
80
|
-
}
|
|
81
|
-
export declare class PageView implements AnalyticsEvent {
|
|
82
|
-
type: string;
|
|
83
|
-
private fk_accountid;
|
|
84
|
-
private fkh_userid;
|
|
85
|
-
private token_id;
|
|
86
|
-
private pincode;
|
|
87
|
-
private page_name;
|
|
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);
|
|
90
|
-
getValidator(): EventValidator;
|
|
91
|
-
}
|
|
92
|
-
export declare class AddAddress implements AnalyticsEvent {
|
|
93
|
-
type: string;
|
|
94
|
-
private fk_accountid;
|
|
95
|
-
private fkh_userid;
|
|
96
|
-
private token_id;
|
|
97
|
-
private pincode;
|
|
98
|
-
private address_tag;
|
|
99
|
-
private subarea;
|
|
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);
|
|
102
|
-
getValidator(): EventValidator;
|
|
103
|
-
}
|
|
104
|
-
export declare class ObpUploadPrescription implements AnalyticsEvent {
|
|
105
|
-
type: string;
|
|
106
|
-
private fk_accountid;
|
|
107
|
-
private fkh_userid;
|
|
108
|
-
private token_id;
|
|
109
|
-
private pincode;
|
|
110
|
-
private rx_file_size;
|
|
111
|
-
private no_of_rx_uploaded;
|
|
112
|
-
private rx_source;
|
|
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);
|
|
130
|
-
getValidator(): EventValidator;
|
|
131
|
-
}
|