Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tracker-schema

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tracker-schema - npm Package Compare versions

Comparing version 1.0.0 to 1.15.0

4

package.json
{
"name": "tracker-schema",
"version": "1.0.0",
"description": "",

@@ -9,3 +8,4 @@ "main": "index.js",

"author": "",
"license": "Apache-2.0"
"license": "Apache-2.0",
"version": "1.15.0"
}

@@ -1,3 +0,5 @@

import * as jspb from "google-protobuf"
import * as jspb from 'google-protobuf'
export class Response extends jspb.Message {

@@ -4,0 +6,0 @@ getOk(): boolean;

@@ -1,2 +0,2 @@

import * as jspb from "google-protobuf"
import * as jspb from 'google-protobuf'

@@ -6,2 +6,257 @@ import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';

export class COAWebEvent extends jspb.Message {
getId(): string;
setId(value: string): COAWebEvent;
getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined;
setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): COAWebEvent;
hasTimestamp(): boolean;
clearTimestamp(): COAWebEvent;
getServerTimestampOffsetMicros(): number;
setServerTimestampOffsetMicros(value: number): COAWebEvent;
getCategory(): COAWebEvent.Category;
setCategory(value: COAWebEvent.Category): COAWebEvent;
getObject(): string;
setObject(value: string): COAWebEvent;
getAction(): COAWebEvent.Action;
setAction(value: COAWebEvent.Action): COAWebEvent;
getUser(): tracker_common_pb.User | undefined;
setUser(value?: tracker_common_pb.User): COAWebEvent;
hasUser(): boolean;
clearUser(): COAWebEvent;
getGeo(): tracker_common_pb.Geo | undefined;
setGeo(value?: tracker_common_pb.Geo): COAWebEvent;
hasGeo(): boolean;
clearGeo(): COAWebEvent;
getApp(): tracker_common_pb.App | undefined;
setApp(value?: tracker_common_pb.App): COAWebEvent;
hasApp(): boolean;
clearApp(): COAWebEvent;
getParamsMap(): jspb.Map<string, string>;
clearParamsMap(): COAWebEvent;
getVersion(): number;
setVersion(value: number): COAWebEvent;
getPreviousEventId(): string;
setPreviousEventId(value: string): COAWebEvent;
getServerTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined;
setServerTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): COAWebEvent;
hasServerTimestamp(): boolean;
clearServerTimestamp(): COAWebEvent;
getDevice(): WebDevice | undefined;
setDevice(value?: WebDevice): COAWebEvent;
hasDevice(): boolean;
clearDevice(): COAWebEvent;
getSessionId(): string;
setSessionId(value: string): COAWebEvent;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): COAWebEvent.AsObject;
static toObject(includeInstance: boolean, msg: COAWebEvent): COAWebEvent.AsObject;
static serializeBinaryToWriter(message: COAWebEvent, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): COAWebEvent;
static deserializeBinaryFromReader(message: COAWebEvent, reader: jspb.BinaryReader): COAWebEvent;
}
export namespace COAWebEvent {
export type AsObject = {
id: string,
timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
serverTimestampOffsetMicros: number,
category: COAWebEvent.Category,
object: string,
action: COAWebEvent.Action,
user?: tracker_common_pb.User.AsObject,
geo?: tracker_common_pb.Geo.AsObject,
app?: tracker_common_pb.App.AsObject,
paramsMap: Array<[string, string]>,
version: number,
previousEventId: string,
serverTimestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
device?: WebDevice.AsObject,
sessionId: string,
}
export enum Category {
CATEGORYUNSPECIFIED = 0,
ACCOUNT = 1,
ADDRESSBOOKSYNCING = 2,
ANDROID = 3,
AUTHENTICATION = 4,
BANKBENEFICIARY = 5,
BUDGETING = 6,
CARD = 7,
CARDORDER = 8,
COMMUNICATION = 9,
COMPLIANCE = 10,
CONCIERGE = 11,
CONTACT = 12,
CREDIT = 13,
CRYPTO = 14,
CURRENCIES = 15,
CX = 16,
DASHBOARD = 17,
DEVICEINSURANCE = 18,
DIRECTDEBIT = 19,
DONATIONS = 20,
EXTERNAL = 21,
FAQ = 22,
GENERAL = 23,
GOOGLEPAYCONFIRM = 24,
GROUP = 25,
INSURANCE = 26,
MONEYBOX = 27,
NEARME = 28,
NEWSBANNERS = 29,
NOTIFICATIONCENTRE = 30,
OFFERS = 31,
PAYMENTLINK = 32,
PAYMENTS = 33,
POCKETS = 34,
PROFILE = 35,
PROMOCODE = 36,
RECURRINGPAYMENT = 37,
REFERRALS = 38,
REQUESTMONEY = 39,
REVUSER = 40,
SCANNER = 41,
SCHEDULEDPAYMENT = 42,
SENDMONEY = 43,
SETTINGS = 44,
SOURCEOFWEALTH = 45,
SPLITBILL = 46,
SUBSCRIPTION = 47,
SUPPORT = 48,
SURVEY = 49,
TOPUP = 50,
TRADING = 51,
TRANSACTION = 52,
TROUBLESHOOTER = 53,
VAULTS = 54,
WAITINGLIST = 55,
WEALTH = 56,
LOUNGES = 57,
DEVICE = 58,
PERKS = 59,
PUSHNOTIFICATIONS = 60,
PRIVACY = 61,
ACCOUNTSWITCHER = 62,
PLANDOWNGRADE = 63,
PLANDETAILS = 64,
GOALS = 65,
ONBOARDING = 66,
LASTCRYPTOWEEK = 67,
CRYPTOACCOUNT = 68,
JUNIOR = 69,
CARDVERIFICATION = 70,
TRANSACTIONVERIFICATION = 71,
SMARTDELAY = 72,
HOME = 73,
HOMEACCOUNTS = 74,
ACCOUNTDETAILS = 75,
TRANSACTIONDETAILS = 76,
WATCHAPP = 77,
ADDRESS = 78,
INSIGHTS = 79,
OPENBANKING = 80,
PAYBILL = 81,
BILLACCOUNTS = 82,
GROUPBILLS = 83,
LINKEDACCOUNTS = 84,
INBOX = 85,
STORIES = 86,
ARTICLES = 87,
BUSINESSREFERRALS = 88,
}
export enum Action {
ACTION_UNSPECIFIED = 0,
ABORTED = 1,
ACCEPTED = 2,
ACTIVATED = 3,
ADDED = 4,
ADJUSTED = 5,
ALLOWED = 6,
AMOUNT_DEFINED = 7,
APPROVED = 8,
ATTEMPTED = 9,
CANCELLED = 10,
CAPTURED = 11,
CLEARED = 12,
CLICKED = 13,
CLOSED = 14,
COMPLETE = 15,
COMPLETED = 16,
CONFIRMED = 17,
COPIED = 18,
CREATED = 19,
DEACTIVATED = 20,
DECLINED = 21,
DELETED = 22,
DENIED = 23,
DISABLED = 24,
EDITED = 25,
ENABLED = 26,
ENTERED = 27,
FAILED = 28,
FALLBACK = 29,
FILTERED = 30,
HANDLED = 31,
HIDDEN = 32,
HIDDEN_BY_DEFAULT = 33,
INVITED = 34,
LOADED = 35,
LOGGED_IN = 36,
NOT_RECEIVED = 37,
OCCURED = 38,
OPENED = 39,
ORDERED = 40,
REJECTED = 41,
REMINDED = 42,
REMOVED = 43,
REORDERED = 44,
REQUESTED = 45,
RESPONDED = 46,
RETRIED = 47,
SELECTED = 48,
SET = 49,
SHARED = 50,
SHOWN = 51,
SKIPPED = 52,
STARTED = 53,
SUCCEEDED = 54,
SWIPED = 55,
UNAPPROVED = 56,
UPGRADED = 57,
UPLOADED = 58,
VIEWED = 59,
VISIBILITY_CHANGED = 60,
RECEIVED = 61,
A_STARTED = 62,
B_STARTED = 63,
A_SUCCEEDED = 64,
B_SUCCEEDED = 65,
A_CANCELLED = 66,
B_CANCELLED = 67,
A_FAILED = 68,
B_FAILED = 69,
RETURNED = 70,
PAUSED = 71,
UNAVAILABLE = 72,
}
}
export class COAWebEventBusiness extends jspb.Message {

@@ -93,62 +348,65 @@ getId(): string;

export enum Category {
CategoryUnspecified = 0,
CardsOrdering = 1,
SignUpUser = 2,
SignUpLinkBusiness = 3,
SignUpLinkRetail = 4,
SignUpBusiness = 5,
PaymentsHome = 6,
PaymentsCounterparty = 7,
PaymentsSendFunds = 8,
PaymentsExchange = 9,
PaymentsSendFundsBulk = 10,
PaymentsApprovalB = 11,
PaymentsApproval = 12,
PaymentsFailed = 13,
AccountsHome = 14,
AccountsTopup = 15,
HedgingHome = 16,
HedgingContract = 17,
ExpensesHome = 18,
MerchantStories = 19,
MerchantPromo = 20,
MerchantAccountApplication = 21,
MerchantHome = 22,
PerksHome = 23,
PlansNews = 24,
PlansUpgrade = 25,
FreeTrialGrow = 26,
Chat = 27,
HelpCentre = 28,
TransactionInfo = 29,
AccountTermination = 30,
CATEGORYUNSPECIFIED = 0,
CARDSORDERING = 1,
SIGNUPUSER = 2,
SIGNUPLINKBUSINESS = 3,
SIGNUPLINKRETAIL = 4,
SIGNUPBUSINESS = 5,
PAYMENTSHOME = 6,
PAYMENTSCOUNTERPARTY = 7,
PAYMENTSSENDFUNDS = 8,
PAYMENTSEXCHANGE = 9,
PAYMENTSSENDFUNDSBULK = 10,
PAYMENTSAPPROVALB = 11,
PAYMENTSAPPROVAL = 12,
PAYMENTSFAILED = 13,
ACCOUNTSHOME = 14,
ACCOUNTSTOPUP = 15,
HEDGINGHOME = 16,
HEDGINGCONTRACT = 17,
EXPENSESHOME = 18,
MERCHANTSTORIES = 19,
MERCHANTPROMO = 20,
MERCHANTACCOUNTAPPLICATION = 21,
MERCHANTHOME = 22,
PERKSHOME = 23,
PLANSNEWS = 24,
PLANSUPGRADE = 25,
FREETRIALGROW = 26,
CHAT = 27,
HELPCENTRE = 28,
TRANSACTIONINFO = 29,
ACCOUNTTERMINATION = 30,
NPS = 31,
Settings = 32,
CardsHome = 33,
CardsLink = 34,
Referrals = 35,
Notifications = 36,
MerchantRequestPayment = 37,
SignIn = 38,
Stories = 39,
OnboardingWaitlist = 40,
OnboardingKYB = 41,
OnboardingSignUp = 42,
PageView = 43,
MainMenu = 44,
SETTINGS = 32,
CARDSHOME = 33,
CARDSLINK = 34,
REFERRALS = 35,
NOTIFICATIONS = 36,
MERCHANTREQUESTPAYMENT = 37,
SIGNIN = 38,
STORIES = 39,
ONBOARDINGWAITLIST = 40,
ONBOARDINGKYB = 41,
ONBOARDINGSIGNUP = 42,
PAGEVIEW = 43,
MAINMENU = 44,
INTEGRATIONS = 45,
SUBSCRIPTIONS = 46,
PAYROLL = 47,
}
export enum Action {
action_unspecified = 0,
clicked = 1,
opened = 2,
closed = 3,
added = 4,
edited = 5,
completed = 6,
succeeded = 7,
failed = 8,
filtered = 9,
started = 10,
dropped = 11,
ACTION_UNSPECIFIED = 0,
CLICKED = 1,
OPENED = 2,
CLOSED = 3,
ADDED = 4,
EDITED = 5,
COMPLETED = 6,
SUCCEEDED = 7,
FAILED = 8,
FILTERED = 9,
STARTED = 10,
DROPPED = 11,
}

@@ -155,0 +413,0 @@ }

@@ -19,2 +19,5 @@ // source: tracker_web.proto

goog.object.extend(proto, tracker_common_pb);
goog.exportSymbol('proto.revolut.tracking.COAWebEvent', null, global);
goog.exportSymbol('proto.revolut.tracking.COAWebEvent.Action', null, global);
goog.exportSymbol('proto.revolut.tracking.COAWebEvent.Category', null, global);
goog.exportSymbol('proto.revolut.tracking.COAWebEventBusiness', null, global);

@@ -34,2 +37,23 @@ goog.exportSymbol('proto.revolut.tracking.COAWebEventBusiness.Action', null, global);

*/
proto.revolut.tracking.COAWebEvent = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.revolut.tracking.COAWebEvent, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.revolut.tracking.COAWebEvent.displayName = 'proto.revolut.tracking.COAWebEvent';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.revolut.tracking.COAWebEventBusiness = function(opt_data) {

@@ -83,2 +107,855 @@ jspb.Message.initialize(this, opt_data, 0, -1, null, null);

*/
proto.revolut.tracking.COAWebEvent.prototype.toObject = function(opt_includeInstance) {
return proto.revolut.tracking.COAWebEvent.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.revolut.tracking.COAWebEvent} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.revolut.tracking.COAWebEvent.toObject = function(includeInstance, msg) {
var f, obj = {
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
serverTimestampOffsetMicros: jspb.Message.getFieldWithDefault(msg, 3, 0),
category: jspb.Message.getFieldWithDefault(msg, 4, 0),
object: jspb.Message.getFieldWithDefault(msg, 5, ""),
action: jspb.Message.getFieldWithDefault(msg, 6, 0),
user: (f = msg.getUser()) && tracker_common_pb.User.toObject(includeInstance, f),
geo: (f = msg.getGeo()) && tracker_common_pb.Geo.toObject(includeInstance, f),
app: (f = msg.getApp()) && tracker_common_pb.App.toObject(includeInstance, f),
paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
version: jspb.Message.getFieldWithDefault(msg, 13, 0),
previousEventId: jspb.Message.getFieldWithDefault(msg, 14, ""),
serverTimestamp: (f = msg.getServerTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
device: (f = msg.getDevice()) && proto.revolut.tracking.WebDevice.toObject(includeInstance, f),
sessionId: jspb.Message.getFieldWithDefault(msg, 17, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.revolut.tracking.COAWebEvent}
*/
proto.revolut.tracking.COAWebEvent.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.revolut.tracking.COAWebEvent;
return proto.revolut.tracking.COAWebEvent.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.revolut.tracking.COAWebEvent} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.revolut.tracking.COAWebEvent}
*/
proto.revolut.tracking.COAWebEvent.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setId(value);
break;
case 2:
var value = new google_protobuf_timestamp_pb.Timestamp;
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
msg.setTimestamp(value);
break;
case 3:
var value = /** @type {number} */ (reader.readInt64());
msg.setServerTimestampOffsetMicros(value);
break;
case 4:
var value = /** @type {!proto.revolut.tracking.COAWebEvent.Category} */ (reader.readEnum());
msg.setCategory(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setObject(value);
break;
case 6:
var value = /** @type {!proto.revolut.tracking.COAWebEvent.Action} */ (reader.readEnum());
msg.setAction(value);
break;
case 7:
var value = new tracker_common_pb.User;
reader.readMessage(value,tracker_common_pb.User.deserializeBinaryFromReader);
msg.setUser(value);
break;
case 8:
var value = new tracker_common_pb.Geo;
reader.readMessage(value,tracker_common_pb.Geo.deserializeBinaryFromReader);
msg.setGeo(value);
break;
case 9:
var value = new tracker_common_pb.App;
reader.readMessage(value,tracker_common_pb.App.deserializeBinaryFromReader);
msg.setApp(value);
break;
case 12:
var value = msg.getParamsMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
});
break;
case 13:
var value = /** @type {number} */ (reader.readUint32());
msg.setVersion(value);
break;
case 14:
var value = /** @type {string} */ (reader.readString());
msg.setPreviousEventId(value);
break;
case 15:
var value = new google_protobuf_timestamp_pb.Timestamp;
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
msg.setServerTimestamp(value);
break;
case 16:
var value = new proto.revolut.tracking.WebDevice;
reader.readMessage(value,proto.revolut.tracking.WebDevice.deserializeBinaryFromReader);
msg.setDevice(value);
break;
case 17:
var value = /** @type {string} */ (reader.readString());
msg.setSessionId(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.revolut.tracking.COAWebEvent.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.revolut.tracking.COAWebEvent.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.revolut.tracking.COAWebEvent} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.revolut.tracking.COAWebEvent.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getId();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getTimestamp();
if (f != null) {
writer.writeMessage(
2,
f,
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
);
}
f = message.getServerTimestampOffsetMicros();
if (f !== 0) {
writer.writeInt64(
3,
f
);
}
f = message.getCategory();
if (f !== 0.0) {
writer.writeEnum(
4,
f
);
}
f = message.getObject();
if (f.length > 0) {
writer.writeString(
5,
f
);
}
f = message.getAction();
if (f !== 0.0) {
writer.writeEnum(
6,
f
);
}
f = message.getUser();
if (f != null) {
writer.writeMessage(
7,
f,
tracker_common_pb.User.serializeBinaryToWriter
);
}
f = message.getGeo();
if (f != null) {
writer.writeMessage(
8,
f,
tracker_common_pb.Geo.serializeBinaryToWriter
);
}
f = message.getApp();
if (f != null) {
writer.writeMessage(
9,
f,
tracker_common_pb.App.serializeBinaryToWriter
);
}
f = message.getParamsMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(12, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
}
f = message.getVersion();
if (f !== 0) {
writer.writeUint32(
13,
f
);
}
f = message.getPreviousEventId();
if (f.length > 0) {
writer.writeString(
14,
f
);
}
f = message.getServerTimestamp();
if (f != null) {
writer.writeMessage(
15,
f,
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
);
}
f = message.getDevice();
if (f != null) {
writer.writeMessage(
16,
f,
proto.revolut.tracking.WebDevice.serializeBinaryToWriter
);
}
f = message.getSessionId();
if (f.length > 0) {
writer.writeString(
17,
f
);
}
};
/**
* @enum {number}
*/
proto.revolut.tracking.COAWebEvent.Category = {
CATEGORYUNSPECIFIED: 0,
ACCOUNT: 1,
ADDRESSBOOKSYNCING: 2,
ANDROID: 3,
AUTHENTICATION: 4,
BANKBENEFICIARY: 5,
BUDGETING: 6,
CARD: 7,
CARDORDER: 8,
COMMUNICATION: 9,
COMPLIANCE: 10,
CONCIERGE: 11,
CONTACT: 12,
CREDIT: 13,
CRYPTO: 14,
CURRENCIES: 15,
CX: 16,
DASHBOARD: 17,
DEVICEINSURANCE: 18,
DIRECTDEBIT: 19,
DONATIONS: 20,
EXTERNAL: 21,
FAQ: 22,
GENERAL: 23,
GOOGLEPAYCONFIRM: 24,
GROUP: 25,
INSURANCE: 26,
MONEYBOX: 27,
NEARME: 28,
NEWSBANNERS: 29,
NOTIFICATIONCENTRE: 30,
OFFERS: 31,
PAYMENTLINK: 32,
PAYMENTS: 33,
POCKETS: 34,
PROFILE: 35,
PROMOCODE: 36,
RECURRINGPAYMENT: 37,
REFERRALS: 38,
REQUESTMONEY: 39,
REVUSER: 40,
SCANNER: 41,
SCHEDULEDPAYMENT: 42,
SENDMONEY: 43,
SETTINGS: 44,
SOURCEOFWEALTH: 45,
SPLITBILL: 46,
SUBSCRIPTION: 47,
SUPPORT: 48,
SURVEY: 49,
TOPUP: 50,
TRADING: 51,
TRANSACTION: 52,
TROUBLESHOOTER: 53,
VAULTS: 54,
WAITINGLIST: 55,
WEALTH: 56,
LOUNGES: 57,
DEVICE: 58,
PERKS: 59,
PUSHNOTIFICATIONS: 60,
PRIVACY: 61,
ACCOUNTSWITCHER: 62,
PLANDOWNGRADE: 63,
PLANDETAILS: 64,
GOALS: 65,
ONBOARDING: 66,
LASTCRYPTOWEEK: 67,
CRYPTOACCOUNT: 68,
JUNIOR: 69,
CARDVERIFICATION: 70,
TRANSACTIONVERIFICATION: 71,
SMARTDELAY: 72,
HOME: 73,
HOMEACCOUNTS: 74,
ACCOUNTDETAILS: 75,
TRANSACTIONDETAILS: 76,
WATCHAPP: 77,
ADDRESS: 78,
INSIGHTS: 79,
OPENBANKING: 80,
PAYBILL: 81,
BILLACCOUNTS: 82,
GROUPBILLS: 83,
LINKEDACCOUNTS: 84,
INBOX: 85,
STORIES: 86,
ARTICLES: 87,
BUSINESSREFERRALS: 88
};
/**
* @enum {number}
*/
proto.revolut.tracking.COAWebEvent.Action = {
ACTION_UNSPECIFIED: 0,
ABORTED: 1,
ACCEPTED: 2,
ACTIVATED: 3,
ADDED: 4,
ADJUSTED: 5,
ALLOWED: 6,
AMOUNT_DEFINED: 7,
APPROVED: 8,
ATTEMPTED: 9,
CANCELLED: 10,
CAPTURED: 11,
CLEARED: 12,
CLICKED: 13,
CLOSED: 14,
COMPLETE: 15,
COMPLETED: 16,
CONFIRMED: 17,
COPIED: 18,
CREATED: 19,
DEACTIVATED: 20,
DECLINED: 21,
DELETED: 22,
DENIED: 23,
DISABLED: 24,
EDITED: 25,
ENABLED: 26,
ENTERED: 27,
FAILED: 28,
FALLBACK: 29,
FILTERED: 30,
HANDLED: 31,
HIDDEN: 32,
HIDDEN_BY_DEFAULT: 33,
INVITED: 34,
LOADED: 35,
LOGGED_IN: 36,
NOT_RECEIVED: 37,
OCCURED: 38,
OPENED: 39,
ORDERED: 40,
REJECTED: 41,
REMINDED: 42,
REMOVED: 43,
REORDERED: 44,
REQUESTED: 45,
RESPONDED: 46,
RETRIED: 47,
SELECTED: 48,
SET: 49,
SHARED: 50,
SHOWN: 51,
SKIPPED: 52,
STARTED: 53,
SUCCEEDED: 54,
SWIPED: 55,
UNAPPROVED: 56,
UPGRADED: 57,
UPLOADED: 58,
VIEWED: 59,
VISIBILITY_CHANGED: 60,
RECEIVED: 61,
A_STARTED: 62,
B_STARTED: 63,
A_SUCCEEDED: 64,
B_SUCCEEDED: 65,
A_CANCELLED: 66,
B_CANCELLED: 67,
A_FAILED: 68,
B_FAILED: 69,
RETURNED: 70,
PAUSED: 71,
UNAVAILABLE: 72
};
/**
* optional string id = 1;
* @return {string}
*/
proto.revolut.tracking.COAWebEvent.prototype.getId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.revolut.tracking.COAWebEvent} returns this
*/
proto.revolut.tracking.COAWebEvent.prototype.setId = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional google.protobuf.Timestamp timestamp = 2;
* @return {?proto.google.protobuf.Timestamp}
*/
proto.revolut.tracking.COAWebEvent.prototype.getTimestamp = function() {
return /** @type{?proto.google.protobuf.Timestamp} */ (
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
};
/**
* @param {?proto.google.protobuf.Timestamp|undefined} value
* @return {!proto.revolut.tracking.COAWebEvent} returns this
*/
proto.revolut.tracking.COAWebEvent.prototype.setTimestamp = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.revolut.tracking.COAWebEvent} returns this
*/
proto.revolut.tracking.COAWebEvent.prototype.clearTimestamp = function() {
return this.setTimestamp(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.revolut.tracking.COAWebEvent.prototype.hasTimestamp = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional int64 server_timestamp_offset_micros = 3;
* @return {number}
*/
proto.revolut.tracking.COAWebEvent.prototype.getServerTimestampOffsetMicros = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};
/**
* @param {number} value
* @return {!proto.revolut.tracking.COAWebEvent} returns this
*/
proto.revolut.tracking.COAWebEvent.prototype.setServerTimestampOffsetMicros = function(value) {
return jspb.Message.setProto3IntField(this, 3, value);
};
/**
* optional Category category = 4;
* @return {!proto.revolut.tracking.COAWebEvent.Category}
*/
proto.revolut.tracking.COAWebEvent.prototype.getCategory = function() {
return /** @type {!proto.revolut.tracking.COAWebEvent.Category} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};
/**
* @param {!proto.revolut.tracking.COAWebEvent.Category} value
* @return {!proto.revolut.tracking.COAWebEvent} returns this
*/
proto.revolut.tracking.COAWebEvent.prototype.setCategory = function(value) {
return jspb.Message.setProto3EnumField(this, 4, value);
};
/**
* optional string object = 5;
* @return {string}
*/
proto.revolut.tracking.COAWebEvent.prototype.getObject = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};
/**
* @param {string} value
* @return {!proto.revolut.tracking.COAWebEvent} returns this
*/
proto.revolut.tracking.COAWebEvent.prototype.setObject = function(value) {
return jspb.Message.setProto3StringField(this, 5, value);
};
/**
* optional Action action = 6;
* @return {!proto.revolut.tracking.COAWebEvent.Action}
*/
proto.revolut.tracking.COAWebEvent.prototype.getAction = function() {
return /** @type {!proto.revolut.tracking.COAWebEvent.Action} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
};
/**
* @param {!proto.revolut.tracking.COAWebEvent.Action} value
* @return {!proto.revolut.tracking.COAWebEvent} returns this
*/
proto.revolut.tracking.COAWebEvent.prototype.setAction = function(value) {
return jspb.Message.setProto3EnumField(this, 6, value);
};
/**
* optional common.User user = 7;
* @return {?proto.revolut.tracking.common.User}
*/
proto.revolut.tracking.COAWebEvent.prototype.getUser = function() {
return /** @type{?proto.revolut.tracking.common.User} */ (
jspb.Message.getWrapperField(this, tracker_common_pb.User, 7));
};
/**
* @param {?proto.revolut.tracking.common.User|undefined} value
* @return {!proto.revolut.tracking.COAWebEvent} returns this
*/
proto.revolut.tracking.COAWebEvent.prototype.setUser = function(value) {
return jspb.Message.setWrapperField(this, 7, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.revolut.tracking.COAWebEvent} returns this
*/
proto.revolut.tracking.COAWebEvent.prototype.clearUser = function() {
return this.setUser(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.revolut.tracking.COAWebEvent.prototype.hasUser = function() {
return jspb.Message.getField(this, 7) != null;
};
/**
* optional common.Geo geo = 8;
* @return {?proto.revolut.tracking.common.Geo}
*/
proto.revolut.tracking.COAWebEvent.prototype.getGeo = function() {
return /** @type{?proto.revolut.tracking.common.Geo} */ (
jspb.Message.getWrapperField(this, tracker_common_pb.Geo, 8));
};
/**
* @param {?proto.revolut.tracking.common.Geo|undefined} value
* @return {!proto.revolut.tracking.COAWebEvent} returns this
*/
proto.revolut.tracking.COAWebEvent.prototype.setGeo = function(value) {
return jspb.Message.setWrapperField(this, 8, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.revolut.tracking.COAWebEvent} returns this
*/
proto.revolut.tracking.COAWebEvent.prototype.clearGeo = function() {
return this.setGeo(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.revolut.tracking.COAWebEvent.prototype.hasGeo = function() {
return jspb.Message.getField(this, 8) != null;
};
/**
* optional common.App app = 9;
* @return {?proto.revolut.tracking.common.App}
*/
proto.revolut.tracking.COAWebEvent.prototype.getApp = function() {
return /** @type{?proto.revolut.tracking.common.App} */ (
jspb.Message.getWrapperField(this, tracker_common_pb.App, 9));
};
/**
* @param {?proto.revolut.tracking.common.App|undefined} value
* @return {!proto.revolut.tracking.COAWebEvent} returns this
*/
proto.revolut.tracking.COAWebEvent.prototype.setApp = function(value) {
return jspb.Message.setWrapperField(this, 9, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.revolut.tracking.COAWebEvent} returns this
*/
proto.revolut.tracking.COAWebEvent.prototype.clearApp = function() {
return this.setApp(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.revolut.tracking.COAWebEvent.prototype.hasApp = function() {
return jspb.Message.getField(this, 9) != null;
};
/**
* map<string, string> params = 12;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,string>}
*/
proto.revolut.tracking.COAWebEvent.prototype.getParamsMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,string>} */ (
jspb.Message.getMapField(this, 12, opt_noLazyCreate,
null));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.revolut.tracking.COAWebEvent} returns this
*/
proto.revolut.tracking.COAWebEvent.prototype.clearParamsMap = function() {
this.getParamsMap().clear();
return this;};
/**
* optional uint32 version = 13;
* @return {number}
*/
proto.revolut.tracking.COAWebEvent.prototype.getVersion = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
};
/**
* @param {number} value
* @return {!proto.revolut.tracking.COAWebEvent} returns this
*/
proto.revolut.tracking.COAWebEvent.prototype.setVersion = function(value) {
return jspb.Message.setProto3IntField(this, 13, value);
};
/**
* optional string previous_event_id = 14;
* @return {string}
*/
proto.revolut.tracking.COAWebEvent.prototype.getPreviousEventId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
};
/**
* @param {string} value
* @return {!proto.revolut.tracking.COAWebEvent} returns this
*/
proto.revolut.tracking.COAWebEvent.prototype.setPreviousEventId = function(value) {
return jspb.Message.setProto3StringField(this, 14, value);
};
/**
* optional google.protobuf.Timestamp server_timestamp = 15;
* @return {?proto.google.protobuf.Timestamp}
*/
proto.revolut.tracking.COAWebEvent.prototype.getServerTimestamp = function() {
return /** @type{?proto.google.protobuf.Timestamp} */ (
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 15));
};
/**
* @param {?proto.google.protobuf.Timestamp|undefined} value
* @return {!proto.revolut.tracking.COAWebEvent} returns this
*/
proto.revolut.tracking.COAWebEvent.prototype.setServerTimestamp = function(value) {
return jspb.Message.setWrapperField(this, 15, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.revolut.tracking.COAWebEvent} returns this
*/
proto.revolut.tracking.COAWebEvent.prototype.clearServerTimestamp = function() {
return this.setServerTimestamp(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.revolut.tracking.COAWebEvent.prototype.hasServerTimestamp = function() {
return jspb.Message.getField(this, 15) != null;
};
/**
* optional WebDevice device = 16;
* @return {?proto.revolut.tracking.WebDevice}
*/
proto.revolut.tracking.COAWebEvent.prototype.getDevice = function() {
return /** @type{?proto.revolut.tracking.WebDevice} */ (
jspb.Message.getWrapperField(this, proto.revolut.tracking.WebDevice, 16));
};
/**
* @param {?proto.revolut.tracking.WebDevice|undefined} value
* @return {!proto.revolut.tracking.COAWebEvent} returns this
*/
proto.revolut.tracking.COAWebEvent.prototype.setDevice = function(value) {
return jspb.Message.setWrapperField(this, 16, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.revolut.tracking.COAWebEvent} returns this
*/
proto.revolut.tracking.COAWebEvent.prototype.clearDevice = function() {
return this.setDevice(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.revolut.tracking.COAWebEvent.prototype.hasDevice = function() {
return jspb.Message.getField(this, 16) != null;
};
/**
* optional string session_id = 17;
* @return {string}
*/
proto.revolut.tracking.COAWebEvent.prototype.getSessionId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
};
/**
* @param {string} value
* @return {!proto.revolut.tracking.COAWebEvent} returns this
*/
proto.revolut.tracking.COAWebEvent.prototype.setSessionId = function(value) {
return jspb.Message.setProto3StringField(this, 17, value);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.revolut.tracking.COAWebEventBusiness.prototype.toObject = function(opt_includeInstance) {

@@ -363,47 +1240,50 @@ return proto.revolut.tracking.COAWebEventBusiness.toObject(opt_includeInstance, this);

proto.revolut.tracking.COAWebEventBusiness.Category = {
CategoryUnspecified: 0,
CardsOrdering: 1,
SignUpUser: 2,
SignUpLinkBusiness: 3,
SignUpLinkRetail: 4,
SignUpBusiness: 5,
PaymentsHome: 6,
PaymentsCounterparty: 7,
PaymentsSendFunds: 8,
PaymentsExchange: 9,
PaymentsSendFundsBulk: 10,
PaymentsApprovalB: 11,
PaymentsApproval: 12,
PaymentsFailed: 13,
AccountsHome: 14,
AccountsTopup: 15,
HedgingHome: 16,
HedgingContract: 17,
ExpensesHome: 18,
MerchantStories: 19,
MerchantPromo: 20,
MerchantAccountApplication: 21,
MerchantHome: 22,
PerksHome: 23,
PlansNews: 24,
PlansUpgrade: 25,
FreeTrialGrow: 26,
Chat: 27,
HelpCentre: 28,
TransactionInfo: 29,
AccountTermination: 30,
CATEGORYUNSPECIFIED: 0,
CARDSORDERING: 1,
SIGNUPUSER: 2,
SIGNUPLINKBUSINESS: 3,
SIGNUPLINKRETAIL: 4,
SIGNUPBUSINESS: 5,
PAYMENTSHOME: 6,
PAYMENTSCOUNTERPARTY: 7,
PAYMENTSSENDFUNDS: 8,
PAYMENTSEXCHANGE: 9,
PAYMENTSSENDFUNDSBULK: 10,
PAYMENTSAPPROVALB: 11,
PAYMENTSAPPROVAL: 12,
PAYMENTSFAILED: 13,
ACCOUNTSHOME: 14,
ACCOUNTSTOPUP: 15,
HEDGINGHOME: 16,
HEDGINGCONTRACT: 17,
EXPENSESHOME: 18,
MERCHANTSTORIES: 19,
MERCHANTPROMO: 20,
MERCHANTACCOUNTAPPLICATION: 21,
MERCHANTHOME: 22,
PERKSHOME: 23,
PLANSNEWS: 24,
PLANSUPGRADE: 25,
FREETRIALGROW: 26,
CHAT: 27,
HELPCENTRE: 28,
TRANSACTIONINFO: 29,
ACCOUNTTERMINATION: 30,
NPS: 31,
Settings: 32,
CardsHome: 33,
CardsLink: 34,
Referrals: 35,
Notifications: 36,
MerchantRequestPayment: 37,
SignIn: 38,
Stories: 39,
OnboardingWaitlist: 40,
OnboardingKYB: 41,
OnboardingSignUp: 42,
PageView: 43,
MainMenu: 44
SETTINGS: 32,
CARDSHOME: 33,
CARDSLINK: 34,
REFERRALS: 35,
NOTIFICATIONS: 36,
MERCHANTREQUESTPAYMENT: 37,
SIGNIN: 38,
STORIES: 39,
ONBOARDINGWAITLIST: 40,
ONBOARDINGKYB: 41,
ONBOARDINGSIGNUP: 42,
PAGEVIEW: 43,
MAINMENU: 44,
INTEGRATIONS: 45,
SUBSCRIPTIONS: 46,
PAYROLL: 47
};

@@ -415,14 +1295,14 @@

proto.revolut.tracking.COAWebEventBusiness.Action = {
action_unspecified: 0,
clicked: 1,
opened: 2,
closed: 3,
added: 4,
edited: 5,
completed: 6,
succeeded: 7,
failed: 8,
filtered: 9,
started: 10,
dropped: 11
ACTION_UNSPECIFIED: 0,
CLICKED: 1,
OPENED: 2,
CLOSED: 3,
ADDED: 4,
EDITED: 5,
COMPLETED: 6,
SUCCEEDED: 7,
FAILED: 8,
FILTERED: 9,
STARTED: 10,
DROPPED: 11
};

@@ -429,0 +1309,0 @@

@@ -16,6 +16,5 @@ /**

import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
import * as tracker_common_pb from './tracker_common_pb';
import * as tracker_web_pb from './tracker_web_pb';
import {COAWebEventBusiness} from './tracker_web_pb';

@@ -26,7 +25,7 @@ export class WebTrackerClient {

credentials_: null | { [index: string]: string; };
options_: null | { [index: string]: string; };
options_: null | { [index: string]: any; };
constructor (hostname: string,
credentials?: null | { [index: string]: string; },
options?: null | { [index: string]: string; }) {
options?: null | { [index: string]: any; }) {
if (!options) options = {};

@@ -42,5 +41,45 @@ if (!credentials) credentials = {};

methodInfoRecordCOAWebEvent = new grpcWeb.AbstractClientBase.MethodInfo(
tracker_common_pb.Response,
(request: tracker_web_pb.COAWebEvent) => {
return request.serializeBinary();
},
tracker_common_pb.Response.deserializeBinary
);
recordCOAWebEvent(
request: tracker_web_pb.COAWebEvent,
metadata: grpcWeb.Metadata | null): Promise<tracker_common_pb.Response>;
recordCOAWebEvent(
request: tracker_web_pb.COAWebEvent,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: tracker_common_pb.Response) => void): grpcWeb.ClientReadableStream<tracker_common_pb.Response>;
recordCOAWebEvent(
request: tracker_web_pb.COAWebEvent,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: tracker_common_pb.Response) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/revolut.tracking.WebTracker/RecordCOAWebEvent',
request,
metadata || {},
this.methodInfoRecordCOAWebEvent,
callback);
}
return this.client_.unaryCall(
this.hostname_ +
'/revolut.tracking.WebTracker/RecordCOAWebEvent',
request,
metadata || {},
this.methodInfoRecordCOAWebEvent);
}
methodInfoRecordCOAWebEventBusiness = new grpcWeb.AbstractClientBase.MethodInfo(
tracker_common_pb.Response,
(request: COAWebEventBusiness) => {
(request: tracker_web_pb.COAWebEventBusiness) => {
return request.serializeBinary();

@@ -52,7 +91,7 @@ },

recordCOAWebEventBusiness(
request: COAWebEventBusiness,
request: tracker_web_pb.COAWebEventBusiness,
metadata: grpcWeb.Metadata | null): Promise<tracker_common_pb.Response>;
recordCOAWebEventBusiness(
request: COAWebEventBusiness,
request: tracker_web_pb.COAWebEventBusiness,
metadata: grpcWeb.Metadata | null,

@@ -63,3 +102,3 @@ callback: (err: grpcWeb.Error,

recordCOAWebEventBusiness(
request: COAWebEventBusiness,
request: tracker_web_pb.COAWebEventBusiness,
metadata: grpcWeb.Metadata | null,

@@ -70,3 +109,4 @@ callback?: (err: grpcWeb.Error,

return this.client_.rpcCall(
new URL('/revolut.tracking.WebTracker/RecordCOAWebEventBusiness', this.hostname_).toString(),
this.hostname_ +
'/revolut.tracking.WebTracker/RecordCOAWebEventBusiness',
request,

@@ -73,0 +113,0 @@ metadata || {},

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc