This SDK wraps the pinned Intercom API 2.16 OpenAPI spec with public root-package services while keeping generated code internal.
- The generated client exposes all response-returning operations in the pinned 2.16 specification.
- Public SDK services cover those operations through idiomatic wrappers.
DataEvents.Listis the known audit exception: it intentionally usesClient.NewRequestandClient.Doinstead of the generatedLisDataEventsWithResponsehelper so the SDK can provide explicit identifier validation and query encoding.TestGeneratedOperationsAreAccountedForis the adopted offline contract check for public wrapper coverage. It parses the generatedClientWithResponsesInterfaceand root-package SDK code, then fails if a generated operation is neither wrapped nor listed as an intentional exception.make coveragecurrently passes at the required99.9%.make generate-checkcurrently passes, so committed generated code is in sync with the pinned spec.
AIContentAdminsArticlesAudiencesAwayStatusReasonsBrandsCallsCollectionsCompaniesContentContactsConversationsConversationAttributesCustomObjectsDataAttributesDataEventsDataConnectorsEmailsFinHelpCentersHelpCenterRedirectsInternalArticlesMessagesMacrosNewsNotesOfficeHoursPhoneSwitchesSegmentsSubscriptionTypesTagsTeamsTicketsVisitorsWhatsAppWorkspace
Some public methods intentionally use WithBodyWithResponse generated helpers or lower-level requests instead of the simpler generated helpers. This preserves public request types, fixes awkward upstream operation names, and avoids leaking generated union details where a clearer SDK API is practical.
Spec example fixture tests are intentionally deferred. The pinned Intercom spec is useful for generated code and coverage audits, but broad example-based response tests would duplicate generated-client behavior and likely be brittle. Representative offline SDK integration tests cover SDK request/response behavior without depending on live Intercom state.