hevy-shared 1.0.712 → 1.0.714
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/built/adjustEventTokens.d.ts +15 -0
- package/built/adjustEventTokens.js +17 -0
- package/built/index.d.ts +8 -0
- package/built/index.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Manage adjust events at https://suite.adjust.com/apps/na3q7q6avq4g/events
|
|
3
|
+
*/
|
|
4
|
+
export declare const ADJUST_EVENT_TOKENS: {
|
|
5
|
+
logWorkout: string;
|
|
6
|
+
purchase: string;
|
|
7
|
+
signupComplete: string;
|
|
8
|
+
updateSexMale: string;
|
|
9
|
+
updateSexFemale: string;
|
|
10
|
+
updateSexOther: string;
|
|
11
|
+
updateAge18Through28: string;
|
|
12
|
+
updateAge29Through44: string;
|
|
13
|
+
updateAge45AndUp: string;
|
|
14
|
+
};
|
|
15
|
+
export type AdjustEventToken = typeof ADJUST_EVENT_TOKENS[keyof typeof ADJUST_EVENT_TOKENS];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ADJUST_EVENT_TOKENS = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Manage adjust events at https://suite.adjust.com/apps/na3q7q6avq4g/events
|
|
6
|
+
*/
|
|
7
|
+
exports.ADJUST_EVENT_TOKENS = {
|
|
8
|
+
logWorkout: 'e3xe9l',
|
|
9
|
+
purchase: 'qf1l8r',
|
|
10
|
+
signupComplete: 'n46d1z',
|
|
11
|
+
updateSexMale: 'kbdp5b',
|
|
12
|
+
updateSexFemale: 'jkkjka',
|
|
13
|
+
updateSexOther: 'z4awr3',
|
|
14
|
+
updateAge18Through28: 'o5f1gc',
|
|
15
|
+
updateAge29Through44: 'vvhb17',
|
|
16
|
+
updateAge45AndUp: '3meyo6',
|
|
17
|
+
};
|
package/built/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export * from './routineUtils';
|
|
|
17
17
|
export * from './typeUtils';
|
|
18
18
|
export * from './async';
|
|
19
19
|
export * from './adminPermissions';
|
|
20
|
+
export * from './adjustEventTokens';
|
|
20
21
|
export * from './hevyTrainer';
|
|
21
22
|
export declare const supportedLanguages: readonly ["en", "es", "de", "fr", "it", "pt", "tr", "zh_CN", "zh_TW", "ru", "ja", "ko"];
|
|
22
23
|
export type Language = Lookup<typeof supportedLanguages>;
|
|
@@ -1445,6 +1446,9 @@ export interface UserMetadataRequest {
|
|
|
1445
1446
|
platformVersion: string;
|
|
1446
1447
|
appVersion: string;
|
|
1447
1448
|
securityId?: string;
|
|
1449
|
+
googleAdId?: string;
|
|
1450
|
+
appleIdfv?: string;
|
|
1451
|
+
adjustAdId?: string;
|
|
1448
1452
|
}
|
|
1449
1453
|
export type NetworkType = 'wifi' | 'cellular' | 'unknown';
|
|
1450
1454
|
export interface UserMetadataResponse {
|
|
@@ -1458,6 +1462,10 @@ export interface UserMetadataResponse {
|
|
|
1458
1462
|
geoip_city: string | null;
|
|
1459
1463
|
geoip_timezone: string | null;
|
|
1460
1464
|
security_id: string | null;
|
|
1465
|
+
adjust_adid: string | null;
|
|
1466
|
+
google_adid: string | null;
|
|
1467
|
+
apple_idfv: string | null;
|
|
1468
|
+
last_ip: string | null;
|
|
1461
1469
|
}
|
|
1462
1470
|
export interface NetworkInfoRequest {
|
|
1463
1471
|
networkType: NetworkType;
|
package/built/index.js
CHANGED
|
@@ -35,6 +35,7 @@ __exportStar(require("./routineUtils"), exports);
|
|
|
35
35
|
__exportStar(require("./typeUtils"), exports);
|
|
36
36
|
__exportStar(require("./async"), exports);
|
|
37
37
|
__exportStar(require("./adminPermissions"), exports);
|
|
38
|
+
__exportStar(require("./adjustEventTokens"), exports);
|
|
38
39
|
__exportStar(require("./hevyTrainer"), exports);
|
|
39
40
|
exports.supportedLanguages = [
|
|
40
41
|
'en',
|