Skip to content

Commit a1ee8a4

Browse files
fix(api/analytics): added % to responses
1 parent 6eded72 commit a1ee8a4

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 18
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/zorihq%2Fzoriapi-3606e58922dd53d9875746e13938552b96589d6024b49e33d5a3aee2c3934290.yml
3-
openapi_spec_hash: 609351392ce4dff195fee29d942fc437
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/zorihq%2Fzoriapi-acf4918b01172ffe3ae4c34dc69084ee67c81d3081611f6407d8bf55eead07e3.yml
3+
openapi_spec_hash: 5ccb0a3eca0814d90f29b55aa7a6addf
44
config_hash: ff14aa5e5e62c91fbfaee8e082fad64a

src/resources/v1/analytics/analytics.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ export class Analytics extends APIResource {
2222
export interface CountryDataPoint {
2323
country_code?: string;
2424

25+
percentage?: number;
26+
2527
unique_visitors?: number;
2628
}
2729

@@ -34,6 +36,8 @@ export interface EventsOverTimeDataPoint {
3436
export interface OriginDataPoint {
3537
origin?: string;
3638

39+
percentage?: number;
40+
3741
unique_visitors?: number;
3842
}
3943

@@ -106,8 +110,6 @@ export interface VisitorDataPoint {
106110

107111
mobile?: number;
108112

109-
tablet?: number;
110-
111113
timestamp?: string;
112114

113115
unknown?: number;

0 commit comments

Comments
 (0)