Commit 4916374 1 parent 6a67e3d commit 4916374 Copy full SHA for 4916374
File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ import { z } from 'zod'
13
13
export namespace zoominfo {
14
14
export const API_BASE_URL = 'https://api.zoominfo.com'
15
15
16
- // Access tokens expire after 60 minutes, so renew them every 55 minutes.
17
- export const ACCESS_TOKEN_EXPIRATION_MS = 55 * 60 * 1000
16
+ // Access tokens expire after 60 minutes, so renew them every 57 minutes.
17
+ export const ACCESS_TOKEN_EXPIRATION_MS = 57 * 60 * 1000
18
18
19
19
// Allow up to 1500 requests per minute by default.
20
20
// https://api-docs.zoominfo.com/#rate-and-usage-limits
@@ -247,6 +247,7 @@ export namespace zoominfo {
247
247
export interface EnrichCompanyResult {
248
248
input : Partial < EnrichCompanyOptions >
249
249
data : EnrichedCompany [ ]
250
+ matchStatus ?: MatchStatus
250
251
}
251
252
252
253
export interface EnrichedCompany {
@@ -1186,7 +1187,7 @@ export class ZoomInfoClient extends AIFunctionsProvider {
1186
1187
if (
1187
1188
! force &&
1188
1189
this . accessToken &&
1189
- this . accessTokenDateMS ! + zoominfo . ACCESS_TOKEN_EXPIRATION_MS < Date . now ( )
1190
+ this . accessTokenDateMS ! + zoominfo . ACCESS_TOKEN_EXPIRATION_MS > Date . now ( )
1190
1191
) {
1191
1192
// Access token is still valid.
1192
1193
return
You can’t perform that action at this time.
0 commit comments