Repository navigation
Immutable
release. Only release title and notes can be modified.
Regenerated on TypeScript generator 3.107.1 from the same API spec as 7.0.3 (#533). Values placed in request paths are now encoded so they always stay within one path segment.
Changes
- Query parameters set to
nullare now left out of the request instead of being sent askey=, the same asundefined. - The default 20s timeout now also covers reading the response body. Large responses on slow connections can time out where they didn't before; raise
timeoutInSecondsif needed. IntercomTimeoutErrornow extendsIntercomError, soinstanceof IntercomErroralso catches timeouts.- Custom fetchers receive
queryStringalongsidequeryParameters.queryParametersvalues are strings (per_page: "5").
Type-level changes
- Optional response properties are typed
prop?: T | undefined. Projects usingexactOptionalPropertyTypesmay see new errors when assigning SDK responses to narrower types. - Client option types are now
typealiases instead ofinterface, so declaration merging on them no longer works. Fetcher.Args.headersis widened toRecord<string, unknown>.
unstable namespace
ReplyConversationRequestis nowReplyConversationBody, andUpdateDataAttributeRequestis nowUpdateDataAttributeBody.requestis now required oncontacts.createContact,dataEvents.createDataEvent,visitors.updateVisitorandmessages.createMessage, anduser/visitorare required onConvertVisitorRequest.