@graph8/sdk 0.295.1 → 0.295.2

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.
@@ -5,6 +5,6 @@
5
5
  * both together (the version-parity gate already pins package.json, the
6
6
  * lockfile and the CHANGELOG to each other).
7
7
  */
8
- export declare const SDK_VERSION = "0.295.1";
8
+ export declare const SDK_VERSION = "0.295.2";
9
9
  /** Value of the `X-G8-Client` header every SDK request carries (I-13). */
10
- export declare const SDK_CLIENT_ID = "js-sdk/0.295.1";
10
+ export declare const SDK_CLIENT_ID = "js-sdk/0.295.2";
@@ -37,6 +37,8 @@ export interface DialerAnalyticsOperations {
37
37
  start_date?: string | null;
38
38
  /** End date (YYYY-MM-DD) */
39
39
  end_date?: string | null;
40
+ /** Viewer's IANA timezone (e.g. Asia/Karachi). start_date/end_date and the daily buckets are read as calendar days in it. Omit for UTC days. */
41
+ tz?: string | null;
40
42
  };
41
43
  headers?: {
42
44
  "X-Org-Id"?: string | null;
@@ -58,6 +60,8 @@ export interface DialerAnalyticsOperations {
58
60
  start_date?: string | null;
59
61
  /** End date (YYYY-MM-DD). Defaults to today. */
60
62
  end_date?: string | null;
63
+ /** Viewer's IANA timezone (e.g. Asia/Karachi). start_date/end_date and the daily buckets are read as calendar days in it. Omit for UTC days. */
64
+ tz?: string | null;
61
65
  };
62
66
  headers?: {
63
67
  "X-Org-Id"?: string | null;
@@ -81,6 +85,8 @@ export interface DialerAnalyticsOperations {
81
85
  start_date?: string | null;
82
86
  /** End date (YYYY-MM-DD) */
83
87
  end_date?: string | null;
88
+ /** Viewer's IANA timezone (e.g. Asia/Karachi). start_date/end_date and the daily buckets are read as calendar days in it. Omit for UTC days. */
89
+ tz?: string | null;
84
90
  };
85
91
  headers?: {
86
92
  "X-Org-Id"?: string | null;
@@ -102,6 +108,8 @@ export interface DialerAnalyticsOperations {
102
108
  start_date?: string | null;
103
109
  /** End date (YYYY-MM-DD) */
104
110
  end_date?: string | null;
111
+ /** Viewer's IANA timezone (e.g. Asia/Karachi). start_date/end_date and the daily buckets are read as calendar days in it. Omit for UTC days. */
112
+ tz?: string | null;
105
113
  };
106
114
  headers?: {
107
115
  "X-Org-Id"?: string | null;
@@ -54,6 +54,7 @@ If neither is provided, defaults to today.
54
54
  | `query.period` | `"today" \| "week" \| "month" \| null` | no | Time period preset (fallback if no dates) |
55
55
  | `query.start_date` | `string \| null` | no | Start date (YYYY-MM-DD) |
56
56
  | `query.end_date` | `string \| null` | no | End date (YYYY-MM-DD) |
57
+ | `query.tz` | `string \| null` | no | Viewer's IANA timezone (e.g. Asia/Karachi). start_date/end_date and the daily buckets are read as calendar days in it. Omit for UTC days. |
57
58
  | `headers.X-Org-Id` | `string \| null` | no | |
58
59
 
59
60
  **Returns** `DialerAnalyticsResponse`: the envelope `{ data: Record<string, unknown> | Array<unknown>, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
@@ -86,7 +87,8 @@ yesterday (for trends), daily breakdown, disposition distribution,
86
87
  personal bests, and current streak.
87
88
 
88
89
  Pass `sdr_email` to view another SDR's performance (e.g. as a manager).
89
- Pass `start_date`/`end_date` for a custom date range.
90
+ Pass `start_date`/`end_date` for a custom date range; personal bests and
91
+ the streak are then measured within that range too.
90
92
 
91
93
  **Input**
92
94
 
@@ -95,6 +97,7 @@ Pass `start_date`/`end_date` for a custom date range.
95
97
  | `query.sdr_email` | `string \| null` | no | SDR email to view. Defaults to current user. |
96
98
  | `query.start_date` | `string \| null` | no | Start date (YYYY-MM-DD). Defaults to today. |
97
99
  | `query.end_date` | `string \| null` | no | End date (YYYY-MM-DD). Defaults to today. |
100
+ | `query.tz` | `string \| null` | no | Viewer's IANA timezone (e.g. Asia/Karachi). start_date/end_date and the daily buckets are read as calendar days in it. Omit for UTC days. |
98
101
  | `headers.X-Org-Id` | `string \| null` | no | |
99
102
 
100
103
  **Returns** `DialerAnalyticsResponse`: the envelope `{ data: Record<string, unknown> | Array<unknown>, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
@@ -133,6 +136,7 @@ handling, value delivery, closing technique) and a daily quality trend.
133
136
  | `query.days` | `integer` | no | Rolling window in days default `30` |
134
137
  | `query.start_date` | `string \| null` | no | Start date (YYYY-MM-DD) |
135
138
  | `query.end_date` | `string \| null` | no | End date (YYYY-MM-DD) |
139
+ | `query.tz` | `string \| null` | no | Viewer's IANA timezone (e.g. Asia/Karachi). start_date/end_date and the daily buckets are read as calendar days in it. Omit for UTC days. |
136
140
  | `headers.X-Org-Id` | `string \| null` | no | |
137
141
 
138
142
  **Returns** `DialerAnalyticsResponse`: the envelope `{ data: Record<string, unknown> | Array<unknown>, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
@@ -170,6 +174,7 @@ Used for the leaderboard quality column.
170
174
  | `query.days` | `integer` | no | Rolling window in days default `30` |
171
175
  | `query.start_date` | `string \| null` | no | Start date (YYYY-MM-DD) |
172
176
  | `query.end_date` | `string \| null` | no | End date (YYYY-MM-DD) |
177
+ | `query.tz` | `string \| null` | no | Viewer's IANA timezone (e.g. Asia/Karachi). start_date/end_date and the daily buckets are read as calendar days in it. Omit for UTC days. |
173
178
  | `headers.X-Org-Id` | `string \| null` | no | |
174
179
 
175
180
  **Returns** `DialerAnalyticsResponse`: the envelope `{ data: Record<string, unknown> | Array<unknown>, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graph8/sdk",
3
- "version": "0.295.1",
3
+ "version": "0.295.2",
4
4
  "description": "graph8 SDK - CRM, enrichment, sequences, campaigns, and tracking for B2B",
5
5
  "license": "MIT",
6
6
  "author": "graph8 <support@graph8.com> (https://graph8.com)",