@dynamic-labs/sdk-api 0.0.674 → 0.0.675
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/src/apis/AnalyticsApi.cjs +214 -0
- package/src/apis/AnalyticsApi.d.ts +64 -1
- package/src/apis/AnalyticsApi.js +215 -1
- package/src/index.cjs +68 -0
- package/src/index.js +17 -1
- package/src/models/ActiveUsersTrendResult.cjs +45 -0
- package/src/models/ActiveUsersTrendResult.d.ts +33 -0
- package/src/models/ActiveUsersTrendResult.js +39 -0
- package/src/models/ActiveWeeklyDaysResult.cjs +47 -0
- package/src/models/ActiveWeeklyDaysResult.d.ts +39 -0
- package/src/models/ActiveWeeklyDaysResult.js +41 -0
- package/src/models/AnalyticsEngagementResponse.cjs +39 -0
- package/src/models/AnalyticsEngagementResponse.d.ts +42 -0
- package/src/models/AnalyticsEngagementResponse.js +33 -0
- package/src/models/AnalyticsEngagementResponseRetention.cjs +35 -0
- package/src/models/AnalyticsEngagementResponseRetention.d.ts +34 -0
- package/src/models/AnalyticsEngagementResponseRetention.js +29 -0
- package/src/models/AnalyticsOverviewResponse.cjs +36 -0
- package/src/models/AnalyticsOverviewResponse.d.ts +35 -0
- package/src/models/AnalyticsOverviewResponse.js +30 -0
- package/src/models/AnalyticsOverviewResponseSessions.cjs +35 -0
- package/src/models/AnalyticsOverviewResponseSessions.d.ts +34 -0
- package/src/models/AnalyticsOverviewResponseSessions.js +29 -0
- package/src/models/AnalyticsToplineResponse.cjs +39 -0
- package/src/models/AnalyticsToplineResponse.d.ts +42 -0
- package/src/models/AnalyticsToplineResponse.js +33 -0
- package/src/models/AnalyticsToplineResponseSessions.cjs +45 -0
- package/src/models/AnalyticsToplineResponseSessions.d.ts +33 -0
- package/src/models/AnalyticsToplineResponseSessions.js +39 -0
- package/src/models/AnalyticsToplineResponseUsers.cjs +45 -0
- package/src/models/AnalyticsToplineResponseUsers.d.ts +33 -0
- package/src/models/AnalyticsToplineResponseUsers.js +39 -0
- package/src/models/AnalyticsToplineResponseWallets.cjs +45 -0
- package/src/models/AnalyticsToplineResponseWallets.d.ts +33 -0
- package/src/models/AnalyticsToplineResponseWallets.js +39 -0
- package/src/models/AnalyticsWalletsResponse.cjs +33 -0
- package/src/models/AnalyticsWalletsResponse.d.ts +28 -0
- package/src/models/AnalyticsWalletsResponse.js +27 -0
- package/src/models/AnalyticsWalletsResponseBreakdown.cjs +35 -0
- package/src/models/AnalyticsWalletsResponseBreakdown.d.ts +34 -0
- package/src/models/AnalyticsWalletsResponseBreakdown.js +29 -0
- package/src/models/RetentionTrendResult.cjs +35 -0
- package/src/models/RetentionTrendResult.d.ts +33 -0
- package/src/models/RetentionTrendResult.js +29 -0
- package/src/models/SessionsHeatmapResult.cjs +47 -0
- package/src/models/SessionsHeatmapResult.d.ts +39 -0
- package/src/models/SessionsHeatmapResult.js +41 -0
- package/src/models/SessionsTrendResult.cjs +47 -0
- package/src/models/SessionsTrendResult.d.ts +39 -0
- package/src/models/SessionsTrendResult.js +41 -0
- package/src/models/WalletsBreakdownResult.cjs +45 -0
- package/src/models/WalletsBreakdownResult.d.ts +33 -0
- package/src/models/WalletsBreakdownResult.js +39 -0
- package/src/models/index.d.ts +16 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { RetentionTrendResultFromJSON, RetentionTrendResultToJSON } from './RetentionTrendResult.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function AnalyticsEngagementResponseRetentionFromJSON(json) {
|
|
5
|
+
return AnalyticsEngagementResponseRetentionFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function AnalyticsEngagementResponseRetentionFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'allUsers': (json['allUsers'].map(RetentionTrendResultFromJSON)),
|
|
13
|
+
'newUsers': (json['newUsers'].map(RetentionTrendResultFromJSON)),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function AnalyticsEngagementResponseRetentionToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'allUsers': (value.allUsers.map(RetentionTrendResultToJSON)),
|
|
25
|
+
'newUsers': (value.newUsers.map(RetentionTrendResultToJSON)),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { AnalyticsEngagementResponseRetentionFromJSON, AnalyticsEngagementResponseRetentionFromJSONTyped, AnalyticsEngagementResponseRetentionToJSON };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var ActiveUsersTrendResult = require('./ActiveUsersTrendResult.cjs');
|
|
6
|
+
var AnalyticsOverviewResponseSessions = require('./AnalyticsOverviewResponseSessions.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function AnalyticsOverviewResponseFromJSON(json) {
|
|
10
|
+
return AnalyticsOverviewResponseFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function AnalyticsOverviewResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'activeUsers': (json['activeUsers'].map(ActiveUsersTrendResult.ActiveUsersTrendResultFromJSON)),
|
|
18
|
+
'sessions': AnalyticsOverviewResponseSessions.AnalyticsOverviewResponseSessionsFromJSON(json['sessions']),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function AnalyticsOverviewResponseToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'activeUsers': (value.activeUsers.map(ActiveUsersTrendResult.ActiveUsersTrendResultToJSON)),
|
|
30
|
+
'sessions': AnalyticsOverviewResponseSessions.AnalyticsOverviewResponseSessionsToJSON(value.sessions),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
exports.AnalyticsOverviewResponseFromJSON = AnalyticsOverviewResponseFromJSON;
|
|
35
|
+
exports.AnalyticsOverviewResponseFromJSONTyped = AnalyticsOverviewResponseFromJSONTyped;
|
|
36
|
+
exports.AnalyticsOverviewResponseToJSON = AnalyticsOverviewResponseToJSON;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ActiveUsersTrendResult } from './ActiveUsersTrendResult';
|
|
13
|
+
import { AnalyticsOverviewResponseSessions } from './AnalyticsOverviewResponseSessions';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AnalyticsOverviewResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface AnalyticsOverviewResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<ActiveUsersTrendResult>}
|
|
23
|
+
* @memberof AnalyticsOverviewResponse
|
|
24
|
+
*/
|
|
25
|
+
activeUsers: Array<ActiveUsersTrendResult>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {AnalyticsOverviewResponseSessions}
|
|
29
|
+
* @memberof AnalyticsOverviewResponse
|
|
30
|
+
*/
|
|
31
|
+
sessions: AnalyticsOverviewResponseSessions;
|
|
32
|
+
}
|
|
33
|
+
export declare function AnalyticsOverviewResponseFromJSON(json: any): AnalyticsOverviewResponse;
|
|
34
|
+
export declare function AnalyticsOverviewResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnalyticsOverviewResponse;
|
|
35
|
+
export declare function AnalyticsOverviewResponseToJSON(value?: AnalyticsOverviewResponse | null): any;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ActiveUsersTrendResultFromJSON, ActiveUsersTrendResultToJSON } from './ActiveUsersTrendResult.js';
|
|
2
|
+
import { AnalyticsOverviewResponseSessionsFromJSON, AnalyticsOverviewResponseSessionsToJSON } from './AnalyticsOverviewResponseSessions.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function AnalyticsOverviewResponseFromJSON(json) {
|
|
6
|
+
return AnalyticsOverviewResponseFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function AnalyticsOverviewResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'activeUsers': (json['activeUsers'].map(ActiveUsersTrendResultFromJSON)),
|
|
14
|
+
'sessions': AnalyticsOverviewResponseSessionsFromJSON(json['sessions']),
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function AnalyticsOverviewResponseToJSON(value) {
|
|
18
|
+
if (value === undefined) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'activeUsers': (value.activeUsers.map(ActiveUsersTrendResultToJSON)),
|
|
26
|
+
'sessions': AnalyticsOverviewResponseSessionsToJSON(value.sessions),
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { AnalyticsOverviewResponseFromJSON, AnalyticsOverviewResponseFromJSONTyped, AnalyticsOverviewResponseToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var SessionsTrendResult = require('./SessionsTrendResult.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function AnalyticsOverviewResponseSessionsFromJSON(json) {
|
|
9
|
+
return AnalyticsOverviewResponseSessionsFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function AnalyticsOverviewResponseSessionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'byLoginMethod': (json['byLoginMethod'].map(SessionsTrendResult.SessionsTrendResultFromJSON)),
|
|
17
|
+
'byOperatingSystem': (json['byOperatingSystem'].map(SessionsTrendResult.SessionsTrendResultFromJSON)),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function AnalyticsOverviewResponseSessionsToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'byLoginMethod': (value.byLoginMethod.map(SessionsTrendResult.SessionsTrendResultToJSON)),
|
|
29
|
+
'byOperatingSystem': (value.byOperatingSystem.map(SessionsTrendResult.SessionsTrendResultToJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.AnalyticsOverviewResponseSessionsFromJSON = AnalyticsOverviewResponseSessionsFromJSON;
|
|
34
|
+
exports.AnalyticsOverviewResponseSessionsFromJSONTyped = AnalyticsOverviewResponseSessionsFromJSONTyped;
|
|
35
|
+
exports.AnalyticsOverviewResponseSessionsToJSON = AnalyticsOverviewResponseSessionsToJSON;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { SessionsTrendResult } from './SessionsTrendResult';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AnalyticsOverviewResponseSessions
|
|
17
|
+
*/
|
|
18
|
+
export interface AnalyticsOverviewResponseSessions {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SessionsTrendResult>}
|
|
22
|
+
* @memberof AnalyticsOverviewResponseSessions
|
|
23
|
+
*/
|
|
24
|
+
byLoginMethod: Array<SessionsTrendResult>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<SessionsTrendResult>}
|
|
28
|
+
* @memberof AnalyticsOverviewResponseSessions
|
|
29
|
+
*/
|
|
30
|
+
byOperatingSystem: Array<SessionsTrendResult>;
|
|
31
|
+
}
|
|
32
|
+
export declare function AnalyticsOverviewResponseSessionsFromJSON(json: any): AnalyticsOverviewResponseSessions;
|
|
33
|
+
export declare function AnalyticsOverviewResponseSessionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnalyticsOverviewResponseSessions;
|
|
34
|
+
export declare function AnalyticsOverviewResponseSessionsToJSON(value?: AnalyticsOverviewResponseSessions | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { SessionsTrendResultFromJSON, SessionsTrendResultToJSON } from './SessionsTrendResult.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function AnalyticsOverviewResponseSessionsFromJSON(json) {
|
|
5
|
+
return AnalyticsOverviewResponseSessionsFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function AnalyticsOverviewResponseSessionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'byLoginMethod': (json['byLoginMethod'].map(SessionsTrendResultFromJSON)),
|
|
13
|
+
'byOperatingSystem': (json['byOperatingSystem'].map(SessionsTrendResultFromJSON)),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function AnalyticsOverviewResponseSessionsToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'byLoginMethod': (value.byLoginMethod.map(SessionsTrendResultToJSON)),
|
|
25
|
+
'byOperatingSystem': (value.byOperatingSystem.map(SessionsTrendResultToJSON)),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { AnalyticsOverviewResponseSessionsFromJSON, AnalyticsOverviewResponseSessionsFromJSONTyped, AnalyticsOverviewResponseSessionsToJSON };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var AnalyticsToplineResponseSessions = require('./AnalyticsToplineResponseSessions.cjs');
|
|
6
|
+
var AnalyticsToplineResponseUsers = require('./AnalyticsToplineResponseUsers.cjs');
|
|
7
|
+
var AnalyticsToplineResponseWallets = require('./AnalyticsToplineResponseWallets.cjs');
|
|
8
|
+
|
|
9
|
+
/* tslint:disable */
|
|
10
|
+
function AnalyticsToplineResponseFromJSON(json) {
|
|
11
|
+
return AnalyticsToplineResponseFromJSONTyped(json);
|
|
12
|
+
}
|
|
13
|
+
function AnalyticsToplineResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
+
if ((json === undefined) || (json === null)) {
|
|
15
|
+
return json;
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
'sessions': AnalyticsToplineResponseSessions.AnalyticsToplineResponseSessionsFromJSON(json['sessions']),
|
|
19
|
+
'users': AnalyticsToplineResponseUsers.AnalyticsToplineResponseUsersFromJSON(json['users']),
|
|
20
|
+
'wallets': AnalyticsToplineResponseWallets.AnalyticsToplineResponseWalletsFromJSON(json['wallets']),
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function AnalyticsToplineResponseToJSON(value) {
|
|
24
|
+
if (value === undefined) {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
if (value === null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'sessions': AnalyticsToplineResponseSessions.AnalyticsToplineResponseSessionsToJSON(value.sessions),
|
|
32
|
+
'users': AnalyticsToplineResponseUsers.AnalyticsToplineResponseUsersToJSON(value.users),
|
|
33
|
+
'wallets': AnalyticsToplineResponseWallets.AnalyticsToplineResponseWalletsToJSON(value.wallets),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
exports.AnalyticsToplineResponseFromJSON = AnalyticsToplineResponseFromJSON;
|
|
38
|
+
exports.AnalyticsToplineResponseFromJSONTyped = AnalyticsToplineResponseFromJSONTyped;
|
|
39
|
+
exports.AnalyticsToplineResponseToJSON = AnalyticsToplineResponseToJSON;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AnalyticsToplineResponseSessions } from './AnalyticsToplineResponseSessions';
|
|
13
|
+
import { AnalyticsToplineResponseUsers } from './AnalyticsToplineResponseUsers';
|
|
14
|
+
import { AnalyticsToplineResponseWallets } from './AnalyticsToplineResponseWallets';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface AnalyticsToplineResponse
|
|
19
|
+
*/
|
|
20
|
+
export interface AnalyticsToplineResponse {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {AnalyticsToplineResponseSessions}
|
|
24
|
+
* @memberof AnalyticsToplineResponse
|
|
25
|
+
*/
|
|
26
|
+
sessions: AnalyticsToplineResponseSessions;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {AnalyticsToplineResponseUsers}
|
|
30
|
+
* @memberof AnalyticsToplineResponse
|
|
31
|
+
*/
|
|
32
|
+
users: AnalyticsToplineResponseUsers;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {AnalyticsToplineResponseWallets}
|
|
36
|
+
* @memberof AnalyticsToplineResponse
|
|
37
|
+
*/
|
|
38
|
+
wallets: AnalyticsToplineResponseWallets;
|
|
39
|
+
}
|
|
40
|
+
export declare function AnalyticsToplineResponseFromJSON(json: any): AnalyticsToplineResponse;
|
|
41
|
+
export declare function AnalyticsToplineResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnalyticsToplineResponse;
|
|
42
|
+
export declare function AnalyticsToplineResponseToJSON(value?: AnalyticsToplineResponse | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { AnalyticsToplineResponseSessionsFromJSON, AnalyticsToplineResponseSessionsToJSON } from './AnalyticsToplineResponseSessions.js';
|
|
2
|
+
import { AnalyticsToplineResponseUsersFromJSON, AnalyticsToplineResponseUsersToJSON } from './AnalyticsToplineResponseUsers.js';
|
|
3
|
+
import { AnalyticsToplineResponseWalletsFromJSON, AnalyticsToplineResponseWalletsToJSON } from './AnalyticsToplineResponseWallets.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
function AnalyticsToplineResponseFromJSON(json) {
|
|
7
|
+
return AnalyticsToplineResponseFromJSONTyped(json);
|
|
8
|
+
}
|
|
9
|
+
function AnalyticsToplineResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if ((json === undefined) || (json === null)) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
'sessions': AnalyticsToplineResponseSessionsFromJSON(json['sessions']),
|
|
15
|
+
'users': AnalyticsToplineResponseUsersFromJSON(json['users']),
|
|
16
|
+
'wallets': AnalyticsToplineResponseWalletsFromJSON(json['wallets']),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function AnalyticsToplineResponseToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'sessions': AnalyticsToplineResponseSessionsToJSON(value.sessions),
|
|
28
|
+
'users': AnalyticsToplineResponseUsersToJSON(value.users),
|
|
29
|
+
'wallets': AnalyticsToplineResponseWalletsToJSON(value.wallets),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { AnalyticsToplineResponseFromJSON, AnalyticsToplineResponseFromJSONTyped, AnalyticsToplineResponseToJSON };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
function AnalyticsToplineResponseSessionsFromJSON(json) {
|
|
19
|
+
return AnalyticsToplineResponseSessionsFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function AnalyticsToplineResponseSessionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'allTime': json['allTime'],
|
|
27
|
+
'inRange': json['inRange'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function AnalyticsToplineResponseSessionsToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'allTime': value.allTime,
|
|
39
|
+
'inRange': value.inRange,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
exports.AnalyticsToplineResponseSessionsFromJSON = AnalyticsToplineResponseSessionsFromJSON;
|
|
44
|
+
exports.AnalyticsToplineResponseSessionsFromJSONTyped = AnalyticsToplineResponseSessionsFromJSONTyped;
|
|
45
|
+
exports.AnalyticsToplineResponseSessionsToJSON = AnalyticsToplineResponseSessionsToJSON;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AnalyticsToplineResponseSessions
|
|
16
|
+
*/
|
|
17
|
+
export interface AnalyticsToplineResponseSessions {
|
|
18
|
+
/**
|
|
19
|
+
* Total number of sessions all-time
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AnalyticsToplineResponseSessions
|
|
22
|
+
*/
|
|
23
|
+
allTime: number;
|
|
24
|
+
/**
|
|
25
|
+
* Number of sessions in the selected date range
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AnalyticsToplineResponseSessions
|
|
28
|
+
*/
|
|
29
|
+
inRange: number;
|
|
30
|
+
}
|
|
31
|
+
export declare function AnalyticsToplineResponseSessionsFromJSON(json: any): AnalyticsToplineResponseSessions;
|
|
32
|
+
export declare function AnalyticsToplineResponseSessionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnalyticsToplineResponseSessions;
|
|
33
|
+
export declare function AnalyticsToplineResponseSessionsToJSON(value?: AnalyticsToplineResponseSessions | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
function AnalyticsToplineResponseSessionsFromJSON(json) {
|
|
15
|
+
return AnalyticsToplineResponseSessionsFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function AnalyticsToplineResponseSessionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'allTime': json['allTime'],
|
|
23
|
+
'inRange': json['inRange'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function AnalyticsToplineResponseSessionsToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'allTime': value.allTime,
|
|
35
|
+
'inRange': value.inRange,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { AnalyticsToplineResponseSessionsFromJSON, AnalyticsToplineResponseSessionsFromJSONTyped, AnalyticsToplineResponseSessionsToJSON };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
function AnalyticsToplineResponseUsersFromJSON(json) {
|
|
19
|
+
return AnalyticsToplineResponseUsersFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function AnalyticsToplineResponseUsersFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'allTime': json['allTime'],
|
|
27
|
+
'inRange': json['inRange'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function AnalyticsToplineResponseUsersToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'allTime': value.allTime,
|
|
39
|
+
'inRange': value.inRange,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
exports.AnalyticsToplineResponseUsersFromJSON = AnalyticsToplineResponseUsersFromJSON;
|
|
44
|
+
exports.AnalyticsToplineResponseUsersFromJSONTyped = AnalyticsToplineResponseUsersFromJSONTyped;
|
|
45
|
+
exports.AnalyticsToplineResponseUsersToJSON = AnalyticsToplineResponseUsersToJSON;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AnalyticsToplineResponseUsers
|
|
16
|
+
*/
|
|
17
|
+
export interface AnalyticsToplineResponseUsers {
|
|
18
|
+
/**
|
|
19
|
+
* Total number of users all-time
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AnalyticsToplineResponseUsers
|
|
22
|
+
*/
|
|
23
|
+
allTime: number;
|
|
24
|
+
/**
|
|
25
|
+
* Number of users in the selected date range
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AnalyticsToplineResponseUsers
|
|
28
|
+
*/
|
|
29
|
+
inRange: number;
|
|
30
|
+
}
|
|
31
|
+
export declare function AnalyticsToplineResponseUsersFromJSON(json: any): AnalyticsToplineResponseUsers;
|
|
32
|
+
export declare function AnalyticsToplineResponseUsersFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnalyticsToplineResponseUsers;
|
|
33
|
+
export declare function AnalyticsToplineResponseUsersToJSON(value?: AnalyticsToplineResponseUsers | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
function AnalyticsToplineResponseUsersFromJSON(json) {
|
|
15
|
+
return AnalyticsToplineResponseUsersFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function AnalyticsToplineResponseUsersFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'allTime': json['allTime'],
|
|
23
|
+
'inRange': json['inRange'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function AnalyticsToplineResponseUsersToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'allTime': value.allTime,
|
|
35
|
+
'inRange': value.inRange,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { AnalyticsToplineResponseUsersFromJSON, AnalyticsToplineResponseUsersFromJSONTyped, AnalyticsToplineResponseUsersToJSON };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
function AnalyticsToplineResponseWalletsFromJSON(json) {
|
|
19
|
+
return AnalyticsToplineResponseWalletsFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function AnalyticsToplineResponseWalletsFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'allTime': json['allTime'],
|
|
27
|
+
'inRange': json['inRange'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function AnalyticsToplineResponseWalletsToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'allTime': value.allTime,
|
|
39
|
+
'inRange': value.inRange,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
exports.AnalyticsToplineResponseWalletsFromJSON = AnalyticsToplineResponseWalletsFromJSON;
|
|
44
|
+
exports.AnalyticsToplineResponseWalletsFromJSONTyped = AnalyticsToplineResponseWalletsFromJSONTyped;
|
|
45
|
+
exports.AnalyticsToplineResponseWalletsToJSON = AnalyticsToplineResponseWalletsToJSON;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AnalyticsToplineResponseWallets
|
|
16
|
+
*/
|
|
17
|
+
export interface AnalyticsToplineResponseWallets {
|
|
18
|
+
/**
|
|
19
|
+
* Total number of wallets all-time
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AnalyticsToplineResponseWallets
|
|
22
|
+
*/
|
|
23
|
+
allTime: number;
|
|
24
|
+
/**
|
|
25
|
+
* Number of wallets in the selected date range
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AnalyticsToplineResponseWallets
|
|
28
|
+
*/
|
|
29
|
+
inRange: number;
|
|
30
|
+
}
|
|
31
|
+
export declare function AnalyticsToplineResponseWalletsFromJSON(json: any): AnalyticsToplineResponseWallets;
|
|
32
|
+
export declare function AnalyticsToplineResponseWalletsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnalyticsToplineResponseWallets;
|
|
33
|
+
export declare function AnalyticsToplineResponseWalletsToJSON(value?: AnalyticsToplineResponseWallets | null): any;
|