@rustrak/client 0.24.0 → 0.26.0

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.
Files changed (56) hide show
  1. package/README.md +76 -61
  2. package/dist/client.cjs +4 -3
  3. package/dist/client.cjs.map +1 -1
  4. package/dist/client.d.cts +2 -1
  5. package/dist/client.d.cts.map +1 -1
  6. package/dist/client.d.mts +2 -1
  7. package/dist/client.d.mts.map +1 -1
  8. package/dist/client.mjs +5 -4
  9. package/dist/client.mjs.map +1 -1
  10. package/dist/config.d.cts.map +1 -1
  11. package/dist/config.d.mts.map +1 -1
  12. package/dist/errors.cjs +19 -6
  13. package/dist/errors.cjs.map +1 -1
  14. package/dist/errors.d.cts +1 -1
  15. package/dist/errors.d.cts.map +1 -1
  16. package/dist/errors.d.mts +1 -1
  17. package/dist/errors.d.mts.map +1 -1
  18. package/dist/errors.mjs +19 -7
  19. package/dist/errors.mjs.map +1 -1
  20. package/dist/generated/binary.gen.cjs +6 -0
  21. package/dist/generated/binary.gen.cjs.map +1 -0
  22. package/dist/generated/binary.gen.d.cts +2 -0
  23. package/dist/generated/binary.gen.d.cts.map +1 -0
  24. package/dist/generated/binary.gen.d.mts +2 -0
  25. package/dist/generated/binary.gen.d.mts.map +1 -0
  26. package/dist/generated/binary.gen.mjs +6 -0
  27. package/dist/generated/binary.gen.mjs.map +1 -0
  28. package/dist/generated/sdk.gen.cjs +371 -199
  29. package/dist/generated/sdk.gen.cjs.map +1 -1
  30. package/dist/generated/sdk.gen.d.cts +24 -2
  31. package/dist/generated/sdk.gen.d.cts.map +1 -1
  32. package/dist/generated/sdk.gen.d.mts +24 -2
  33. package/dist/generated/sdk.gen.d.mts.map +1 -1
  34. package/dist/generated/sdk.gen.mjs +370 -201
  35. package/dist/generated/sdk.gen.mjs.map +1 -1
  36. package/dist/generated/types.gen.d.cts +313 -47
  37. package/dist/generated/types.gen.d.cts.map +1 -1
  38. package/dist/generated/types.gen.d.mts +313 -47
  39. package/dist/generated/types.gen.d.mts.map +1 -1
  40. package/dist/generated/zod.gen.cjs +315 -88
  41. package/dist/generated/zod.gen.cjs.map +1 -1
  42. package/dist/generated/zod.gen.mjs +275 -84
  43. package/dist/generated/zod.gen.mjs.map +1 -1
  44. package/dist/index.d.cts +2 -2
  45. package/dist/index.d.mts +2 -2
  46. package/dist/result.cjs +0 -2
  47. package/dist/result.cjs.map +1 -1
  48. package/dist/result.d.cts.map +1 -1
  49. package/dist/result.d.mts.map +1 -1
  50. package/dist/result.mjs +0 -2
  51. package/dist/result.mjs.map +1 -1
  52. package/dist/utils/http.cjs +18 -31
  53. package/dist/utils/http.cjs.map +1 -1
  54. package/dist/utils/http.mjs +20 -32
  55. package/dist/utils/http.mjs.map +1 -1
  56. package/package.json +3 -5
@@ -1,6 +1,6 @@
1
1
  import { formDataBodySerializer } from "./core/bodySerializer.gen.mjs";
2
2
  import { client } from "./client.gen.mjs";
3
- import { zAgentsConversationPath, zAgentsConversationResponse, zAgentsConversationsPath, zAgentsConversationsQuery, zAgentsConversationsResponse, zAgentsDurationPath, zAgentsDurationQuery, zAgentsDurationResponse, zAgentsEnvironmentsPath, zAgentsEnvironmentsResponse, zAgentsModelsCallsPath, zAgentsModelsCallsQuery, zAgentsModelsCallsResponse, zAgentsModelsTablePath, zAgentsModelsTableQuery, zAgentsModelsTableResponse, zAgentsModelsTokensPath, zAgentsModelsTokensQuery, zAgentsModelsTokensResponse, zAgentsRunsPath, zAgentsRunsQuery, zAgentsRunsResponse, zAgentsSummaryPath, zAgentsSummaryQuery, zAgentsSummaryResponse, zAgentsToolsPath, zAgentsToolsQuery, zAgentsToolsResponse, zAgentsToolsTablePath, zAgentsToolsTableQuery, zAgentsToolsTableResponse, zAgentsTracesPath, zAgentsTracesQuery, zAgentsTracesResponse, zAlertChannelsCreateBody, zAlertChannelsCreateResponse, zAlertChannelsDeletePath, zAlertChannelsDeleteResponse, zAlertChannelsGetPath, zAlertChannelsGetResponse, zAlertChannelsListResponse, zAlertChannelsPreviewTemplateBody, zAlertChannelsPreviewTemplateResponse, zAlertChannelsTestBody, zAlertChannelsTestPath, zAlertChannelsTestResponse, zAlertChannelsUpdateBody, zAlertChannelsUpdatePath, zAlertChannelsUpdateResponse, zAlertRulesCreateBody, zAlertRulesCreatePath, zAlertRulesCreateResponse, zAlertRulesDeletePath, zAlertRulesDeleteResponse, zAlertRulesGetPath, zAlertRulesGetResponse, zAlertRulesHistoryByDayPath, zAlertRulesHistoryByDayQuery, zAlertRulesHistoryByDayResponse, zAlertRulesListHistoryPath, zAlertRulesListHistoryQuery, zAlertRulesListHistoryResponse, zAlertRulesListPath, zAlertRulesListResponse, zAlertRulesUpdateBody, zAlertRulesUpdatePath, zAlertRulesUpdateResponse, zAuthAcceptInvitationBody, zAuthAcceptInvitationResponse, zAuthChangePasswordBody, zAuthChangePasswordResponse, zAuthConfirmSsoLinkBody, zAuthConfirmSsoLinkResponse, zAuthGetCurrentUserResponse, zAuthGetInvitationPath, zAuthGetInvitationResponse, zAuthLoginBody, zAuthLoginResponse, zAuthLogoutResponse, zAuthRegisterBody, zAuthSsoCallbackQuery, zAuthSsoCallbackResponse, zAuthSsoConfigResponse, zAuthSsoLinkResponse, zAuthSsoStartResponse, zAuthUpdateCurrentUserBody, zAuthUpdateCurrentUserResponse, zDebugFilesAssembleBody, zDebugFilesAssemblePath, zDebugFilesAssembleResponse, zDebugFilesUploadBody, zDebugFilesUploadPath, zDebugFilesUploadResponse, zEnvironmentsListPath, zEnvironmentsListResponse, zEventsDownloadAttachmentPath, zEventsDownloadAttachmentResponse, zEventsGetBySentryIdPath, zEventsGetBySentryIdResponse, zEventsGetPath, zEventsGetResponse, zEventsListAttachmentsPath, zEventsListAttachmentsResponse, zEventsListPath, zEventsListQuery, zEventsListResponse, zFeedbackListPath, zFeedbackListQuery, zFeedbackListResponse, zGithubCallbackQuery, zGithubCreateIssueBody, zGithubCreateIssuePath, zGithubCreateIssueResponse, zGithubDeleteProjectRepositoryPath, zGithubDeleteProjectRepositoryResponse, zGithubDisconnectResponse, zGithubGetMyLoginResponse, zGithubGetProjectRepositoryPath, zGithubGetProjectRepositoryResponse, zGithubInstalledQuery, zGithubIssueDraftPath, zGithubIssueDraftResponse, zGithubIssuePath, zGithubIssueResponse, zGithubLinkIssueBody, zGithubLinkIssuePath, zGithubLinkIssueResponse, zGithubManifestBody, zGithubManifestResponse, zGithubPutIssueTemplateBody, zGithubPutIssueTemplateResponse, zGithubPutMyLoginBody, zGithubPutMyLoginResponse, zGithubPutProjectRepositoryBody, zGithubPutProjectRepositoryPath, zGithubPutProjectRepositoryResponse, zGithubRepositoriesQuery, zGithubRepositoriesResponse, zGithubStatusResponse, zGithubSyncCodeownersPath, zGithubSyncCodeownersResponse, zGithubUnlinkIssuePath, zGithubUnlinkIssueResponse, zGithubWebhookBody, zGithubWebhookResponse, zHealthLivenessResponse, zHealthReadinessResponse, zHealthVersionResponse, zInvitationsCreateBody, zInvitationsCreateResponse, zInvitationsListResponse, zInvitationsRevokePath, zInvitationsRevokeResponse, zIssuesBulkDeleteBody, zIssuesBulkDeletePath, zIssuesBulkDeleteResponse, zIssuesBulkUpdateBody, zIssuesBulkUpdatePath, zIssuesBulkUpdateResponse, zIssuesCreateCommentBody, zIssuesCreateCommentPath, zIssuesCreateCommentResponse, zIssuesCreateUserReportBody, zIssuesCreateUserReportPath, zIssuesCreateUserReportResponse, zIssuesDeletePath, zIssuesDeleteResponse, zIssuesGetActivityPath, zIssuesGetActivityResponse, zIssuesGetAggregatesPath, zIssuesGetAggregatesResponse, zIssuesGetHashesPath, zIssuesGetHashesResponse, zIssuesGetPath, zIssuesGetResponse, zIssuesGetStatsPath, zIssuesGetStatsQuery, zIssuesGetStatsResponse, zIssuesGetTagValuesPath, zIssuesGetTagValuesResponse, zIssuesListPath, zIssuesListQuery, zIssuesListResponse, zIssuesListUserReportsPath, zIssuesListUserReportsQuery, zIssuesListUserReportsResponse, zIssuesMarkSeenPath, zIssuesMarkSeenResponse, zIssuesSetBookmarkBody, zIssuesSetBookmarkPath, zIssuesSetBookmarkResponse, zIssuesSetSubscriptionBody, zIssuesSetSubscriptionPath, zIssuesSetSubscriptionResponse, zIssuesUpdateBody, zIssuesUpdatePath, zIssuesUpdateResponse, zLogsGetPath, zLogsGetResponse, zLogsListPath, zLogsListQuery, zLogsListResponse, zLogsVolumePath, zLogsVolumeQuery, zLogsVolumeResponse, zMembersListPath, zMembersListResponse, zMembersRemovePath, zMembersRemoveResponse, zMembersUpsertBody, zMembersUpsertPath, zMembersUpsertResponse, zMonitorsCreateBody, zMonitorsCreatePath, zMonitorsCreateResponse, zMonitorsDeletePath, zMonitorsDeleteResponse, zMonitorsGetPath, zMonitorsGetResponse, zMonitorsListCheckinsPath, zMonitorsListCheckinsQuery, zMonitorsListCheckinsResponse, zMonitorsListPath, zMonitorsListResponse, zMonitorsStatsPath, zMonitorsStatsQuery, zMonitorsStatsResponse, zMonitorsUpdateBody, zMonitorsUpdatePath, zMonitorsUpdateResponse, zOauthDecideAuthorizationBody, zOauthDecideAuthorizationResponse, zOauthGetAuthorizationQuery, zOauthGetAuthorizationResponse, zOauthListGrantsResponse, zOauthRevokeGrantPath, zOauthRevokeGrantResponse, zProjectsCreateBody, zProjectsCreateResponse, zProjectsDeletePath, zProjectsDeleteResponse, zProjectsGetPath, zProjectsGetRateLimitsResponse, zProjectsGetResponse, zProjectsListQuery, zProjectsListResponse, zProjectsUpdateBody, zProjectsUpdatePath, zProjectsUpdateResponse, zReleasesCreateBody, zReleasesCreatePath, zReleasesCreateResponse, zReleasesFinalizeBody, zReleasesFinalizePath, zReleasesFinalizeResponse, zReleasesGetPath, zReleasesGetQuery, zReleasesGetResponse, zReleasesListPath, zReleasesListQuery, zReleasesListResponse, zReleasesNewIssuesPath, zReleasesNewIssuesQuery, zReleasesNewIssuesResponse, zSchedulesPreviewBody, zSchedulesPreviewResponse, zSentryGetIssuePath, zSentryGetIssueResponse, zSentryGetLatestEventPath, zSentryGetLatestEventResponse, zSentryListIssuesPath, zSentryListIssuesQuery, zSentryListIssuesResponse, zSentryListOrganizationsResponse, zSentryListProjectsQuery, zSentryListProjectsResponse, zSentryListReposPath, zSentryListReposResponse, zSentryOpenIssuePath, zSentrySubmitUserFeedbackBody, zSentrySubmitUserFeedbackPath, zSentrySubmitUserFeedbackResponse, zSentryUpdateIssueBody, zSentryUpdateIssuePath, zSentryUpdateIssueResponse, zSessionsGetStatsPath, zSessionsGetStatsQuery, zSessionsGetStatsResponse, zSessionsGetSummaryPath, zSessionsGetSummaryQuery, zSessionsGetSummaryResponse, zSessionsGetTimeseriesPath, zSessionsGetTimeseriesQuery, zSessionsGetTimeseriesResponse, zSettingsGetMcpResponse, zSettingsUpdateMcpBody, zSettingsUpdateMcpResponse, zSourceMapsArtifactBundleAssembleBody, zSourceMapsArtifactBundleAssemblePath, zSourceMapsArtifactBundleAssembleResponse, zSourceMapsChunkUploadBody, zSourceMapsChunkUploadCapabilityPath, zSourceMapsChunkUploadCapabilityResponse, zSourceMapsChunkUploadPath, zSourceMapsListPath, zSourceMapsListResponse, zSourceMapsOrgDetailsPath, zSourceMapsOrgDetailsResponse, zSpansGetPath, zSpansGetResponse, zSpansListPath, zSpansListQuery, zSpansListResponse, zStatsGetEventTimeseriesPath, zStatsGetEventTimeseriesQuery, zStatsGetEventTimeseriesResponse, zStatsGetSummaryPath, zStatsGetSummaryQuery, zStatsGetSummaryResponse, zStorageCompactResponse, zStorageExecuteCleanupBody, zStorageExecuteCleanupResponse, zStorageGcSourceMapsResponse, zStorageGetAgeResponse, zStorageGetCleanupStatusResponse, zStorageGetCompactionResponse, zStorageGetProjectsResponse, zStorageGetRetentionResponse, zStorageGetSummaryResponse, zStoragePreviewCleanupBody, zStoragePreviewCleanupResponse, zStoragePreviewRetentionBody, zStoragePreviewRetentionResponse, zStoragePreviewSourceMapGcResponse, zStorageRunRetentionResponse, zStorageUpdateRetentionBody, zStorageUpdateRetentionResponse, zTeamDeleteUserPath, zTeamDeleteUserResponse, zTeamListResponse, zTeamUpdateRoleBody, zTeamUpdateRolePath, zTeamUpdateRoleResponse, zTelemetryPreviewResponse, zTokensCreateBody, zTokensCreateResponse, zTokensDeletePath, zTokensDeleteResponse, zTokensGetPath, zTokensGetResponse, zTokensListResponse, zTransactionsGetPath, zTransactionsGetResponse, zTransactionsGetSpansPath, zTransactionsGetSpansResponse, zTransactionsGetStatGroupPath, zTransactionsGetStatGroupQuery, zTransactionsGetStatGroupResponse, zTransactionsGetStatGroupTimeseriesPath, zTransactionsGetStatGroupTimeseriesQuery, zTransactionsGetStatGroupTimeseriesResponse, zTransactionsGetStatsPath, zTransactionsGetStatsQuery, zTransactionsGetStatsResponse, zTransactionsListPath, zTransactionsListQuery, zTransactionsListResponse } from "./zod.gen.mjs";
3
+ import { zAccessCatalogResponse, zAccessMeResponse, zAgentsConversationPath, zAgentsConversationResponse, zAgentsConversationsPath, zAgentsConversationsQuery, zAgentsConversationsResponse, zAgentsDurationPath, zAgentsDurationQuery, zAgentsDurationResponse, zAgentsEnvironmentsPath, zAgentsEnvironmentsResponse, zAgentsModelsCallsPath, zAgentsModelsCallsQuery, zAgentsModelsCallsResponse, zAgentsModelsTablePath, zAgentsModelsTableQuery, zAgentsModelsTableResponse, zAgentsModelsTokensPath, zAgentsModelsTokensQuery, zAgentsModelsTokensResponse, zAgentsRunsPath, zAgentsRunsQuery, zAgentsRunsResponse, zAgentsSummaryPath, zAgentsSummaryQuery, zAgentsSummaryResponse, zAgentsToolsPath, zAgentsToolsQuery, zAgentsToolsResponse, zAgentsToolsTablePath, zAgentsToolsTableQuery, zAgentsToolsTableResponse, zAgentsTracesPath, zAgentsTracesQuery, zAgentsTracesResponse, zAlertChannelsCreateBody, zAlertChannelsCreateResponse, zAlertChannelsDeletePath, zAlertChannelsDeleteResponse, zAlertChannelsGetPath, zAlertChannelsGetResponse, zAlertChannelsListResponse, zAlertChannelsPreviewTemplateBody, zAlertChannelsPreviewTemplateResponse, zAlertChannelsTestBody, zAlertChannelsTestPath, zAlertChannelsTestResponse, zAlertChannelsUpdateBody, zAlertChannelsUpdatePath, zAlertChannelsUpdateResponse, zAlertRulesCreateBody, zAlertRulesCreatePath, zAlertRulesCreateResponse, zAlertRulesDeletePath, zAlertRulesDeleteResponse, zAlertRulesGetPath, zAlertRulesGetResponse, zAlertRulesHistoryByDayPath, zAlertRulesHistoryByDayQuery, zAlertRulesHistoryByDayResponse, zAlertRulesListHistoryPath, zAlertRulesListHistoryQuery, zAlertRulesListHistoryResponse, zAlertRulesListPath, zAlertRulesListResponse, zAlertRulesUpdateBody, zAlertRulesUpdatePath, zAlertRulesUpdateResponse, zAuthAcceptInvitationBody, zAuthAcceptInvitationResponse, zAuthChangePasswordBody, zAuthChangePasswordResponse, zAuthConfirmSsoLinkBody, zAuthConfirmSsoLinkResponse, zAuthGetCurrentUserResponse, zAuthGetInvitationPath, zAuthGetInvitationResponse, zAuthLoginBody, zAuthLoginResponse, zAuthLogoutResponse, zAuthSsoCallbackQuery, zAuthSsoCallbackResponse, zAuthSsoConfigResponse, zAuthSsoLinkResponse, zAuthSsoStartResponse, zAuthUpdateCurrentUserBody, zAuthUpdateCurrentUserResponse, zDebugFilesAssembleBody, zDebugFilesAssemblePath, zDebugFilesAssembleResponse, zDebugFilesUploadBody, zDebugFilesUploadPath, zDebugFilesUploadResponse, zEnvironmentsListPath, zEnvironmentsListResponse, zEventsDownloadAttachmentPath, zEventsDownloadAttachmentResponse, zEventsGetBySentryIdPath, zEventsGetBySentryIdResponse, zEventsGetPath, zEventsGetResponse, zEventsListAttachmentsPath, zEventsListAttachmentsResponse, zEventsListPath, zEventsListQuery, zEventsListResponse, zFeedbackListPath, zFeedbackListQuery, zFeedbackListResponse, zGithubCallbackQuery, zGithubCreateIssueBody, zGithubCreateIssuePath, zGithubCreateIssueResponse, zGithubDeleteProjectRepositoryPath, zGithubDeleteProjectRepositoryResponse, zGithubDisconnectResponse, zGithubGetMyLoginResponse, zGithubGetProjectRepositoryPath, zGithubGetProjectRepositoryResponse, zGithubInstalledQuery, zGithubIssueDraftPath, zGithubIssueDraftResponse, zGithubIssuePath, zGithubIssueResponse, zGithubLinkIssueBody, zGithubLinkIssuePath, zGithubLinkIssueResponse, zGithubManifestBody, zGithubManifestResponse, zGithubPutIssueTemplateBody, zGithubPutIssueTemplateResponse, zGithubPutMyLoginBody, zGithubPutMyLoginResponse, zGithubPutProjectRepositoryBody, zGithubPutProjectRepositoryPath, zGithubPutProjectRepositoryResponse, zGithubRepositoriesQuery, zGithubRepositoriesResponse, zGithubStatusResponse, zGithubSyncCodeownersPath, zGithubSyncCodeownersResponse, zGithubUnlinkIssuePath, zGithubUnlinkIssueResponse, zGithubWebhookBody, zGithubWebhookResponse, zHealthLivenessResponse, zHealthReadinessResponse, zHealthVersionResponse, zInvitationsCreateBody, zInvitationsCreateResponse, zInvitationsEmailStatusResponse, zInvitationsListResponse, zInvitationsResendPath, zInvitationsResendResponse, zInvitationsRevokePath, zInvitationsRevokeResponse, zIssuesBulkDeleteBody, zIssuesBulkDeletePath, zIssuesBulkDeleteResponse, zIssuesBulkUpdateBody, zIssuesBulkUpdatePath, zIssuesBulkUpdateResponse, zIssuesCreateCommentBody, zIssuesCreateCommentPath, zIssuesCreateCommentResponse, zIssuesCreateUserReportBody, zIssuesCreateUserReportPath, zIssuesCreateUserReportResponse, zIssuesDeletePath, zIssuesDeleteResponse, zIssuesGetActivityPath, zIssuesGetActivityResponse, zIssuesGetAggregatesPath, zIssuesGetAggregatesResponse, zIssuesGetHashesPath, zIssuesGetHashesResponse, zIssuesGetPath, zIssuesGetResponse, zIssuesGetStatsPath, zIssuesGetStatsQuery, zIssuesGetStatsResponse, zIssuesGetTagValuesPath, zIssuesGetTagValuesResponse, zIssuesListPath, zIssuesListQuery, zIssuesListResponse, zIssuesListUserReportsPath, zIssuesListUserReportsQuery, zIssuesListUserReportsResponse, zIssuesMarkSeenPath, zIssuesMarkSeenResponse, zIssuesSetBookmarkBody, zIssuesSetBookmarkPath, zIssuesSetBookmarkResponse, zIssuesSetSubscriptionBody, zIssuesSetSubscriptionPath, zIssuesSetSubscriptionResponse, zIssuesUpdateBody, zIssuesUpdatePath, zIssuesUpdateResponse, zLogsGetPath, zLogsGetResponse, zLogsListPath, zLogsListQuery, zLogsListResponse, zLogsVolumePath, zLogsVolumeQuery, zLogsVolumeResponse, zMembersCandidatesPath, zMembersCandidatesResponse, zMembersListPath, zMembersListResponse, zMembersRemovePath, zMembersRemoveResponse, zMembersUpsertBody, zMembersUpsertPath, zMembersUpsertResponse, zMonitorsCreateBody, zMonitorsCreatePath, zMonitorsCreateResponse, zMonitorsDeletePath, zMonitorsDeleteResponse, zMonitorsGetPath, zMonitorsGetResponse, zMonitorsListCheckinsPath, zMonitorsListCheckinsQuery, zMonitorsListCheckinsResponse, zMonitorsListPath, zMonitorsListResponse, zMonitorsStatsPath, zMonitorsStatsQuery, zMonitorsStatsResponse, zMonitorsUpdateBody, zMonitorsUpdatePath, zMonitorsUpdateResponse, zOauthDecideAuthorizationBody, zOauthDecideAuthorizationResponse, zOauthGetAuthorizationQuery, zOauthGetAuthorizationResponse, zOauthListGrantsResponse, zOauthRevokeGrantPath, zOauthRevokeGrantResponse, zProjectsCreateBody, zProjectsCreateResponse, zProjectsDeletePath, zProjectsDeleteResponse, zProjectsGetPath, zProjectsGetRateLimitsResponse, zProjectsGetResponse, zProjectsListQuery, zProjectsListResponse, zProjectsUpdateBody, zProjectsUpdatePath, zProjectsUpdateResponse, zReleasesCreateBody, zReleasesCreatePath, zReleasesCreateResponse, zReleasesFinalizeBody, zReleasesFinalizePath, zReleasesFinalizeResponse, zReleasesGetPath, zReleasesGetQuery, zReleasesGetResponse, zReleasesListPath, zReleasesListQuery, zReleasesListResponse, zReleasesNewIssuesPath, zReleasesNewIssuesQuery, zReleasesNewIssuesResponse, zRolesCreateBody, zRolesCreateResponse, zRolesDeletePath, zRolesDeleteResponse, zRolesListResponse, zRolesUpdateBody, zRolesUpdatePath, zRolesUpdateResponse, zSchedulesPreviewBody, zSchedulesPreviewResponse, zSentryGetIssuePath, zSentryGetIssueResponse, zSentryGetLatestEventPath, zSentryGetLatestEventResponse, zSentryListIssuesPath, zSentryListIssuesQuery, zSentryListIssuesResponse, zSentryListOrganizationsResponse, zSentryListProjectsQuery, zSentryListProjectsResponse, zSentryListReposPath, zSentryListReposResponse, zSentryOpenIssuePath, zSentrySubmitUserFeedbackBody, zSentrySubmitUserFeedbackPath, zSentrySubmitUserFeedbackResponse, zSentryUpdateIssueBody, zSentryUpdateIssuePath, zSentryUpdateIssueResponse, zSessionsGetStatsPath, zSessionsGetStatsQuery, zSessionsGetStatsResponse, zSessionsGetSummaryPath, zSessionsGetSummaryQuery, zSessionsGetSummaryResponse, zSessionsGetTimeseriesPath, zSessionsGetTimeseriesQuery, zSessionsGetTimeseriesResponse, zSettingsGetMcpResponse, zSettingsUpdateMcpBody, zSettingsUpdateMcpResponse, zSourceMapsArtifactBundleAssembleBody, zSourceMapsArtifactBundleAssemblePath, zSourceMapsArtifactBundleAssembleResponse, zSourceMapsChunkUploadBody, zSourceMapsChunkUploadCapabilityPath, zSourceMapsChunkUploadCapabilityResponse, zSourceMapsChunkUploadPath, zSourceMapsListPath, zSourceMapsListResponse, zSourceMapsOrgDetailsPath, zSourceMapsOrgDetailsResponse, zSpansGetPath, zSpansGetResponse, zSpansListPath, zSpansListQuery, zSpansListResponse, zStatsGetEventTimeseriesPath, zStatsGetEventTimeseriesQuery, zStatsGetEventTimeseriesResponse, zStatsGetSummaryPath, zStatsGetSummaryQuery, zStatsGetSummaryResponse, zStorageCompactResponse, zStorageExecuteCleanupBody, zStorageExecuteCleanupResponse, zStorageGcSourceMapsResponse, zStorageGetAgeResponse, zStorageGetCleanupStatusResponse, zStorageGetCompactionResponse, zStorageGetProjectsResponse, zStorageGetRetentionResponse, zStorageGetSummaryResponse, zStoragePreviewCleanupBody, zStoragePreviewCleanupResponse, zStoragePreviewRetentionBody, zStoragePreviewRetentionResponse, zStoragePreviewSourceMapGcResponse, zStorageRunRetentionResponse, zStorageUpdateRetentionBody, zStorageUpdateRetentionResponse, zTeamDeleteUserPath, zTeamDeleteUserResponse, zTeamListResponse, zTeamUpdateRoleBody, zTeamUpdateRolePath, zTeamUpdateRoleResponse, zTelemetryPreviewResponse, zTokensCreateBody, zTokensCreateResponse, zTokensDeletePath, zTokensDeleteResponse, zTokensGetPath, zTokensGetResponse, zTokensListResponse, zTransactionsGetPath, zTransactionsGetResponse, zTransactionsGetSpansPath, zTransactionsGetSpansResponse, zTransactionsGetStatGroupPath, zTransactionsGetStatGroupQuery, zTransactionsGetStatGroupResponse, zTransactionsGetStatGroupTimeseriesPath, zTransactionsGetStatGroupTimeseriesQuery, zTransactionsGetStatGroupTimeseriesResponse, zTransactionsGetStatsPath, zTransactionsGetStatsQuery, zTransactionsGetStatsResponse, zTransactionsListPath, zTransactionsListQuery, zTransactionsListResponse, zUsersAssignmentsPath, zUsersAssignmentsResponse, zUsersSetAssignmentsBody, zUsersSetAssignmentsPath, zUsersSetAssignmentsResponse } from "./zod.gen.mjs";
4
4
  import * as z from "zod";
5
5
  // src/generated/sdk.gen.ts
6
6
  var HeyApiClient = class {
@@ -23,8 +23,6 @@ var HeyApiRegistry = class {
23
23
  };
24
24
  var Sentry = class extends HeyApiClient {
25
25
  /**
26
- * GET /api/0/issues/{issue_id}/
27
- *
28
26
  * One issue with its releases and its 24h and 30d series (Sentry's
29
27
  * `GroupDetailsEndpoint`). Also served under `/groups/` and the
30
28
  * organization-scoped paths, as Sentry does.
@@ -46,8 +44,6 @@ var Sentry = class extends HeyApiClient {
46
44
  });
47
45
  }
48
46
  /**
49
- * PUT /api/0/issues/{issue_id}/
50
- *
51
47
  * Sets an issue's status and returns the issue (Sentry's
52
48
  * `GroupDetailsEndpoint.put`). The change goes through Rustrak's own
53
49
  * issue update, so it is recorded and mirrored like any other.
@@ -73,8 +69,6 @@ var Sentry = class extends HeyApiClient {
73
69
  });
74
70
  }
75
71
  /**
76
- * GET /api/0/issues/{issue_id}/events/latest/
77
- *
78
72
  * The issue's most recent event (Sentry's `GroupEventDetailsEndpoint`,
79
73
  * `issues/endpoints/group_event_details.py`).
80
74
  */
@@ -95,8 +89,6 @@ var Sentry = class extends HeyApiClient {
95
89
  });
96
90
  }
97
91
  /**
98
- * GET /api/0/organizations/
99
- *
100
92
  * The organizations the token belongs to (Sentry's
101
93
  * `OrganizationIndexEndpoint`): always the one synthetic org.
102
94
  */
@@ -117,8 +109,6 @@ var Sentry = class extends HeyApiClient {
117
109
  });
118
110
  }
119
111
  /**
120
- * GET /api/0/organizations/{org_slug}/repos/
121
- *
122
112
  * The code repositories connected to the organization (Sentry's
123
113
  * `OrganizationRepositoriesEndpoint`). Rustrak connects none through
124
114
  * Sentry's integrations, so the list is always empty.
@@ -140,8 +130,6 @@ var Sentry = class extends HeyApiClient {
140
130
  });
141
131
  }
142
132
  /**
143
- * GET /api/0/projects/
144
- *
145
133
  * The projects the token can see, newest first (Sentry's
146
134
  * `ProjectIndexEndpoint`, `core/endpoints/project_index.py`).
147
135
  */
@@ -162,8 +150,6 @@ var Sentry = class extends HeyApiClient {
162
150
  });
163
151
  }
164
152
  /**
165
- * GET /api/0/projects/{org_slug}/{project_slug}/issues/
166
- *
167
153
  * A project's issues, filtered by `query`, sorted by `sort` and paginated
168
154
  * by `cursor` (Sentry's `ProjectGroupIndexEndpoint`,
169
155
  * `issues/endpoints/project_group_index.py`).
@@ -185,8 +171,6 @@ var Sentry = class extends HeyApiClient {
185
171
  });
186
172
  }
187
173
  /**
188
- * POST /api/0/projects/{org_slug}/{project_slug}/user-feedback/
189
- *
190
174
  * Submit a user report about an error event (Sentry's
191
175
  * `ProjectUserReportsEndpoint`, `feedback/endpoints/project_user_reports.py`).
192
176
  * Accepts `Authorization: DSN <dsn>` as well as a token; the report becomes a
@@ -213,8 +197,6 @@ var Sentry = class extends HeyApiClient {
213
197
  });
214
198
  }
215
199
  /**
216
- * GET /{org_slug}/{project_slug}/issues/{issue_id}/
217
- *
218
200
  * The issue page GitLab's "View in Sentry" opens: Sentry redirects this
219
201
  * legacy path to the issue (`static/app/router/routes.tsx`), Rustrak to its
220
202
  * dashboard. A visitor who is not signed in goes to the login page instead,
@@ -229,7 +211,7 @@ var Sentry = class extends HeyApiClient {
229
211
  }).parseAsync(data),
230
212
  security: [{
231
213
  in: "cookie",
232
- name: "session",
214
+ name: "rustrak_session",
233
215
  type: "apiKey"
234
216
  }, {
235
217
  scheme: "bearer",
@@ -242,7 +224,6 @@ var Sentry = class extends HeyApiClient {
242
224
  };
243
225
  var SourceMaps = class extends HeyApiClient {
244
226
  /**
245
- * GET /api/0/organizations/{org_slug}/
246
227
  * Always returns 200 with synthetic org data — sentry-cli validates this before uploading.
247
228
  */
248
229
  orgDetails(options) {
@@ -258,7 +239,7 @@ var SourceMaps = class extends HeyApiClient {
258
239
  });
259
240
  }
260
241
  /**
261
- * POST /api/0/organizations/{org_slug}/artifactbundle/assemble/
242
+ * Assembles uploaded chunks into an artifact bundle (sentry-cli `sourcemaps upload`).
262
243
  */
263
244
  artifactBundleAssemble(options) {
264
245
  return (options.client ?? this.client).post({
@@ -281,7 +262,7 @@ var SourceMaps = class extends HeyApiClient {
281
262
  });
282
263
  }
283
264
  /**
284
- * GET /api/0/organizations/{org_slug}/chunk-upload/
265
+ * Describes how sentry-cli should upload chunks: size, concurrency and accepted kinds.
285
266
  */
286
267
  chunkUploadCapability(options) {
287
268
  return (options.client ?? this.client).get({
@@ -300,7 +281,7 @@ var SourceMaps = class extends HeyApiClient {
300
281
  });
301
282
  }
302
283
  /**
303
- * POST /api/0/organizations/{org_slug}/chunk-upload/
284
+ * Receives chunks of a source map or debug file upload from sentry-cli.
304
285
  */
305
286
  chunkUpload(options) {
306
287
  return (options.client ?? this.client).post({
@@ -323,7 +304,7 @@ var SourceMaps = class extends HeyApiClient {
323
304
  });
324
305
  }
325
306
  /**
326
- * GET /api/0/projects/{org_slug}/{project_slug}/files/source-maps/
307
+ * Lists a project's uploaded source map artifacts (sentry-cli).
327
308
  */
328
309
  list(options) {
329
310
  return (options.client ?? this.client).get({
@@ -401,8 +382,6 @@ var DebugFiles = class extends HeyApiClient {
401
382
  };
402
383
  var Releases = class extends HeyApiClient {
403
384
  /**
404
- * POST /api/0/projects/{org_slug}/{project_slug}/releases/
405
- *
406
385
  * Sentry-compatible release creation. Idempotent: repeating the same
407
386
  * `(project, version)` returns 208 rather than erroring — sentry-cli and JS
408
387
  * bundler plugins call this on every build. Triggers date-based regression
@@ -434,8 +413,6 @@ var Releases = class extends HeyApiClient {
434
413
  });
435
414
  }
436
415
  /**
437
- * PUT /api/0/projects/{org_slug}/{project_slug}/releases/{version}/
438
- *
439
416
  * Generic partial update (`ref`, `url`, `dateReleased`). Setting
440
417
  * `dateReleased` IS "finalize" — there is no separate status flag.
441
418
  */
@@ -500,7 +477,7 @@ var Releases = class extends HeyApiClient {
500
477
  });
501
478
  }
502
479
  /**
503
- * GET /api/projects/{project_id}/releases/{release}/new-issues
480
+ * Lists the issues first seen in a release.
504
481
  */
505
482
  newIssues(options) {
506
483
  return (options.client ?? this.client).get({
@@ -519,9 +496,49 @@ var Releases = class extends HeyApiClient {
519
496
  });
520
497
  }
521
498
  };
499
+ var Access = class extends HeyApiClient {
500
+ /**
501
+ * Lists every resource a permission can name, with its module, scope and actions.
502
+ */
503
+ catalog(options) {
504
+ return (options?.client ?? this.client).get({
505
+ requestValidator: async (data) => await z.object({
506
+ body: z.never().optional(),
507
+ path: z.never().optional(),
508
+ query: z.never().optional()
509
+ }).parseAsync(data),
510
+ responseValidator: async (data) => await zAccessCatalogResponse.parseAsync(data),
511
+ security: [{
512
+ scheme: "bearer",
513
+ type: "http"
514
+ }],
515
+ url: "/api/access/catalog",
516
+ ...options
517
+ });
518
+ }
519
+ /**
520
+ * Returns what the caller may do, on the instance and on each project.
521
+ */
522
+ me(options) {
523
+ return (options?.client ?? this.client).get({
524
+ requestValidator: async (data) => await z.object({
525
+ body: z.never().optional(),
526
+ path: z.never().optional(),
527
+ query: z.never().optional()
528
+ }).parseAsync(data),
529
+ responseValidator: async (data) => await zAccessMeResponse.parseAsync(data),
530
+ security: [{
531
+ scheme: "bearer",
532
+ type: "http"
533
+ }],
534
+ url: "/api/access/me",
535
+ ...options
536
+ });
537
+ }
538
+ };
522
539
  var Github = class extends HeyApiClient {
523
540
  /**
524
- * DELETE /api/github
541
+ * Disconnects the GitHub App from this instance.
525
542
  */
526
543
  disconnect(options) {
527
544
  return (options?.client ?? this.client).delete({
@@ -540,7 +557,7 @@ var Github = class extends HeyApiClient {
540
557
  });
541
558
  }
542
559
  /**
543
- * GET /api/github
560
+ * Shows whether a GitHub App is connected, and how.
544
561
  */
545
562
  status(options) {
546
563
  return (options?.client ?? this.client).get({
@@ -559,7 +576,7 @@ var Github = class extends HeyApiClient {
559
576
  });
560
577
  }
561
578
  /**
562
- * GET /api/github/callback: GitHub sends the browser here after creating the
579
+ * GitHub sends the browser here after creating the
563
580
  * app; the code trades for its credentials.
564
581
  */
565
582
  callback(options) {
@@ -578,7 +595,7 @@ var Github = class extends HeyApiClient {
578
595
  });
579
596
  }
580
597
  /**
581
- * GET /api/github/installed: GitHub sends the browser here after the app is
598
+ * GitHub sends the browser here after the app is
582
599
  * installed on an account.
583
600
  */
584
601
  installed(options) {
@@ -597,7 +614,7 @@ var Github = class extends HeyApiClient {
597
614
  });
598
615
  }
599
616
  /**
600
- * PUT /api/github/issue-template: the labels, title prefix and body footer
617
+ * The labels, title prefix and body footer
601
618
  * every GitHub issue starts with, before a project's own.
602
619
  */
603
620
  putIssueTemplate(options) {
@@ -621,7 +638,7 @@ var Github = class extends HeyApiClient {
621
638
  });
622
639
  }
623
640
  /**
624
- * POST /api/github/manifest: what the dashboard posts to GitHub so GitHub
641
+ * What the dashboard posts to GitHub so GitHub
625
642
  * creates an app already configured for this server.
626
643
  */
627
644
  manifest(options) {
@@ -645,7 +662,7 @@ var Github = class extends HeyApiClient {
645
662
  });
646
663
  }
647
664
  /**
648
- * GET /api/github/me: the GitHub username assignees sync through.
665
+ * The GitHub username assignees sync through.
649
666
  */
650
667
  getMyLogin(options) {
651
668
  return (options?.client ?? this.client).get({
@@ -664,7 +681,7 @@ var Github = class extends HeyApiClient {
664
681
  });
665
682
  }
666
683
  /**
667
- * PUT /api/github/me
684
+ * Sets or clears the caller's GitHub username, which assignees sync through.
668
685
  */
669
686
  putMyLogin(options) {
670
687
  return (options.client ?? this.client).put({
@@ -687,7 +704,7 @@ var Github = class extends HeyApiClient {
687
704
  });
688
705
  }
689
706
  /**
690
- * GET /api/github/repositories?project_id=: the repositories a project can
707
+ * The repositories a project can
691
708
  * point at, for whoever may change that project's settings.
692
709
  */
693
710
  repositories(options) {
@@ -707,7 +724,7 @@ var Github = class extends HeyApiClient {
707
724
  });
708
725
  }
709
726
  /**
710
- * POST /api/github/webhook: public, and trusted only through the signature
727
+ * Public, and trusted only through the signature
711
728
  * GitHub computes with the app's webhook secret.
712
729
  */
713
730
  webhook(options) {
@@ -727,7 +744,7 @@ var Github = class extends HeyApiClient {
727
744
  });
728
745
  }
729
746
  /**
730
- * DELETE /api/projects/{project_id}/github
747
+ * Unlinks a project from its GitHub repository.
731
748
  */
732
749
  deleteProjectRepository(options) {
733
750
  return (options.client ?? this.client).delete({
@@ -746,7 +763,7 @@ var Github = class extends HeyApiClient {
746
763
  });
747
764
  }
748
765
  /**
749
- * GET /api/projects/{project_id}/github
766
+ * Gets the GitHub repository a project is linked to.
750
767
  */
751
768
  getProjectRepository(options) {
752
769
  return (options.client ?? this.client).get({
@@ -765,7 +782,7 @@ var Github = class extends HeyApiClient {
765
782
  });
766
783
  }
767
784
  /**
768
- * PUT /api/projects/{project_id}/github
785
+ * Links a project to a GitHub repository.
769
786
  */
770
787
  putProjectRepository(options) {
771
788
  return (options.client ?? this.client).put({
@@ -788,7 +805,7 @@ var Github = class extends HeyApiClient {
788
805
  });
789
806
  }
790
807
  /**
791
- * POST /api/projects/{project_id}/github/codeowners: copies the repository's
808
+ * Copies the repository's
792
809
  * CODEOWNERS so ownership can be answered without asking GitHub each time.
793
810
  */
794
811
  syncCodeowners(options) {
@@ -808,7 +825,7 @@ var Github = class extends HeyApiClient {
808
825
  });
809
826
  }
810
827
  /**
811
- * GET /api/projects/{project_id}/issues/{issue_id}/github: the issue's links,
828
+ * The issue's links,
812
829
  * the commits that may have caused it, and who owns its culprit file.
813
830
  */
814
831
  issue(options) {
@@ -915,7 +932,12 @@ var Github = class extends HeyApiClient {
915
932
  };
916
933
  var AlertChannels = class extends HeyApiClient {
917
934
  /**
918
- * GET /api/alert-channels
935
+ * Lists the channels alerts can go through.
936
+ *
937
+ * `integrations:read` sees their credentials masked, `integrations:update` in
938
+ * full. Holding an alert-rules permission on any project is enough for the
939
+ * rest, without them: choosing where a rule notifies takes a channel's name,
940
+ * not its secrets.
919
941
  */
920
942
  list(options) {
921
943
  return (options?.client ?? this.client).get({
@@ -934,7 +956,7 @@ var AlertChannels = class extends HeyApiClient {
934
956
  });
935
957
  }
936
958
  /**
937
- * POST /api/alert-channels
959
+ * Creates a notification integration (webhook, Slack, email…).
938
960
  */
939
961
  create(options) {
940
962
  return (options.client ?? this.client).post({
@@ -957,8 +979,6 @@ var AlertChannels = class extends HeyApiClient {
957
979
  });
958
980
  }
959
981
  /**
960
- * POST /api/integrations/preview-template
961
- *
962
982
  * Renders a Custom Webhook template against a sample payload and hands back
963
983
  * the body that would be sent. The dashboard cannot run the template engine,
964
984
  * so it asks while the reader types; going through the dispatcher's own
@@ -985,7 +1005,7 @@ var AlertChannels = class extends HeyApiClient {
985
1005
  });
986
1006
  }
987
1007
  /**
988
- * DELETE /api/alert-channels/{id}
1008
+ * Deletes a notification integration.
989
1009
  */
990
1010
  delete(options) {
991
1011
  return (options.client ?? this.client).delete({
@@ -1004,7 +1024,7 @@ var AlertChannels = class extends HeyApiClient {
1004
1024
  });
1005
1025
  }
1006
1026
  /**
1007
- * GET /api/alert-channels/{id}
1027
+ * Gets one notification integration.
1008
1028
  */
1009
1029
  get(options) {
1010
1030
  return (options.client ?? this.client).get({
@@ -1023,7 +1043,7 @@ var AlertChannels = class extends HeyApiClient {
1023
1043
  });
1024
1044
  }
1025
1045
  /**
1026
- * PATCH /api/alert-channels/{id}
1046
+ * Updates a notification integration.
1027
1047
  */
1028
1048
  update(options) {
1029
1049
  return (options.client ?? this.client).patch({
@@ -1046,7 +1066,7 @@ var AlertChannels = class extends HeyApiClient {
1046
1066
  });
1047
1067
  }
1048
1068
  /**
1049
- * POST /api/integrations/{id}/test
1069
+ * Sends a test notification through an integration.
1050
1070
  */
1051
1071
  test(options) {
1052
1072
  return (options.client ?? this.client).post({
@@ -1071,7 +1091,7 @@ var AlertChannels = class extends HeyApiClient {
1071
1091
  };
1072
1092
  var Invitations = class extends HeyApiClient {
1073
1093
  /**
1074
- * GET /api/invitations — list invitations (admin only)
1094
+ * List invitations (needs `invitations:read`)
1075
1095
  */
1076
1096
  list(options) {
1077
1097
  return (options?.client ?? this.client).get({
@@ -1090,7 +1110,11 @@ var Invitations = class extends HeyApiClient {
1090
1110
  });
1091
1111
  }
1092
1112
  /**
1093
- * POST /api/invitations — create an invitation (admin only)
1113
+ * Create an invitation (needs `invitations:create`)
1114
+ *
1115
+ * With `send_email: true` the invite link is also emailed. A failed send
1116
+ * still creates the invitation, with `email_sent_at: null`, so its link can
1117
+ * be shared by hand or the email resent.
1094
1118
  */
1095
1119
  create(options) {
1096
1120
  return (options.client ?? this.client).post({
@@ -1113,7 +1137,26 @@ var Invitations = class extends HeyApiClient {
1113
1137
  });
1114
1138
  }
1115
1139
  /**
1116
- * DELETE /api/invitations/{token} — revoke a pending invitation (admin only)
1140
+ * Whether invitation emails can be sent (needs `invitations:read`)
1141
+ */
1142
+ emailStatus(options) {
1143
+ return (options?.client ?? this.client).get({
1144
+ requestValidator: async (data) => await z.object({
1145
+ body: z.never().optional(),
1146
+ path: z.never().optional(),
1147
+ query: z.never().optional()
1148
+ }).parseAsync(data),
1149
+ responseValidator: async (data) => await zInvitationsEmailStatusResponse.parseAsync(data),
1150
+ security: [{
1151
+ scheme: "bearer",
1152
+ type: "http"
1153
+ }],
1154
+ url: "/api/invitations/email-status",
1155
+ ...options
1156
+ });
1157
+ }
1158
+ /**
1159
+ * Revoke a pending invitation (needs `invitations:delete`)
1117
1160
  */
1118
1161
  revoke(options) {
1119
1162
  return (options.client ?? this.client).delete({
@@ -1127,7 +1170,26 @@ var Invitations = class extends HeyApiClient {
1127
1170
  scheme: "bearer",
1128
1171
  type: "http"
1129
1172
  }],
1130
- url: "/api/invitations/{token}",
1173
+ url: "/api/invitations/{id}",
1174
+ ...options
1175
+ });
1176
+ }
1177
+ /**
1178
+ * Email the invite link again (needs `invitations:create`)
1179
+ */
1180
+ resend(options) {
1181
+ return (options.client ?? this.client).post({
1182
+ requestValidator: async (data) => await z.object({
1183
+ body: z.never().optional(),
1184
+ path: zInvitationsResendPath,
1185
+ query: z.never().optional()
1186
+ }).parseAsync(data),
1187
+ responseValidator: async (data) => await zInvitationsResendResponse.parseAsync(data),
1188
+ security: [{
1189
+ scheme: "bearer",
1190
+ type: "http"
1191
+ }],
1192
+ url: "/api/invitations/{id}/resend",
1131
1193
  ...options
1132
1194
  });
1133
1195
  }
@@ -1200,9 +1262,9 @@ var Oauth = class extends HeyApiClient {
1200
1262
  };
1201
1263
  var Projects = class extends HeyApiClient {
1202
1264
  /**
1203
- * GET /api/projects - List projects with pagination
1265
+ * List projects with pagination.
1204
1266
  *
1205
- * Admins see every project. Non-admins see only the projects they belong to.
1267
+ * Only the projects the caller holds a permission on.
1206
1268
  */
1207
1269
  list(options) {
1208
1270
  return (options?.client ?? this.client).get({
@@ -1221,10 +1283,11 @@ var Projects = class extends HeyApiClient {
1221
1283
  });
1222
1284
  }
1223
1285
  /**
1224
- * POST /api/projects - Create a new project
1286
+ * Create a new project
1225
1287
  *
1226
- * Any authenticated user may create a project. A non-admin creator is
1227
- * automatically granted the project `admin` role so they can access it.
1288
+ * Needs `projects:create` and a permission on at least one project, because
1289
+ * the creator's own roles extend to the new one. A token limited to chosen
1290
+ * projects can create one, but its list does not grow to reach it.
1228
1291
  */
1229
1292
  create(options) {
1230
1293
  return (options.client ?? this.client).post({
@@ -1247,7 +1310,7 @@ var Projects = class extends HeyApiClient {
1247
1310
  });
1248
1311
  }
1249
1312
  /**
1250
- * DELETE /api/projects/{id} - Delete a project
1313
+ * Delete a project
1251
1314
  */
1252
1315
  delete(options) {
1253
1316
  return (options.client ?? this.client).delete({
@@ -1266,7 +1329,7 @@ var Projects = class extends HeyApiClient {
1266
1329
  });
1267
1330
  }
1268
1331
  /**
1269
- * GET /api/projects/{id} - Get a project by ID
1332
+ * Get a project by ID
1270
1333
  */
1271
1334
  get(options) {
1272
1335
  return (options.client ?? this.client).get({
@@ -1285,7 +1348,7 @@ var Projects = class extends HeyApiClient {
1285
1348
  });
1286
1349
  }
1287
1350
  /**
1288
- * PATCH /api/projects/{id} - Update a project
1351
+ * Update a project
1289
1352
  */
1290
1353
  update(options) {
1291
1354
  return (options.client ?? this.client).patch({
@@ -1308,7 +1371,7 @@ var Projects = class extends HeyApiClient {
1308
1371
  });
1309
1372
  }
1310
1373
  /**
1311
- * GET /api/rate-limits - What a project without limits of its own follows
1374
+ * What a project without limits of its own follows
1312
1375
  */
1313
1376
  getRateLimits(options) {
1314
1377
  return (options?.client ?? this.client).get({
@@ -1329,7 +1392,6 @@ var Projects = class extends HeyApiClient {
1329
1392
  };
1330
1393
  var Agents = class extends HeyApiClient {
1331
1394
  /**
1332
- * GET /api/projects/{project_id}/agents/conversations
1333
1395
  * Lists conversations -- traces sharing a `gen_ai.conversation.id` -- the most recently active first.
1334
1396
  */
1335
1397
  conversations(options) {
@@ -1349,7 +1411,6 @@ var Agents = class extends HeyApiClient {
1349
1411
  });
1350
1412
  }
1351
1413
  /**
1352
- * GET /api/projects/{project_id}/agents/conversations/{conversation_id}
1353
1414
  * Returns every AI span of a conversation's turns, oldest first, with its input and output.
1354
1415
  */
1355
1416
  conversation(options) {
@@ -1369,7 +1430,6 @@ var Agents = class extends HeyApiClient {
1369
1430
  });
1370
1431
  }
1371
1432
  /**
1372
- * GET /api/projects/{project_id}/agents/duration
1373
1433
  * Time-bucketed avg/p95 duration for `agent`/`ai_client` spans.
1374
1434
  */
1375
1435
  duration(options) {
@@ -1389,7 +1449,6 @@ var Agents = class extends HeyApiClient {
1389
1449
  });
1390
1450
  }
1391
1451
  /**
1392
- * GET /api/projects/{project_id}/agents/environments
1393
1452
  * The options the environment filter offers, read from the data rather than
1394
1453
  * hardcoded — an installation may name its environments anything.
1395
1454
  */
@@ -1410,7 +1469,7 @@ var Agents = class extends HeyApiClient {
1410
1469
  });
1411
1470
  }
1412
1471
  /**
1413
- * GET /api/projects/{project_id}/agents/models
1472
+ * Lists the AI models a project's agents called, with requests, tokens and latency.
1414
1473
  */
1415
1474
  modelsTable(options) {
1416
1475
  return (options.client ?? this.client).get({
@@ -1429,7 +1488,6 @@ var Agents = class extends HeyApiClient {
1429
1488
  });
1430
1489
  }
1431
1490
  /**
1432
- * GET /api/projects/{project_id}/agents/models/calls
1433
1491
  * Top models by LLM call count (`gen_ai.operation.type:ai_client`).
1434
1492
  */
1435
1493
  modelsCalls(options) {
@@ -1449,7 +1507,6 @@ var Agents = class extends HeyApiClient {
1449
1507
  });
1450
1508
  }
1451
1509
  /**
1452
- * GET /api/projects/{project_id}/agents/models/tokens
1453
1510
  * Top models by total tokens used (`gen_ai.operation.type:ai_client`).
1454
1511
  */
1455
1512
  modelsTokens(options) {
@@ -1469,7 +1526,6 @@ var Agents = class extends HeyApiClient {
1469
1526
  });
1470
1527
  }
1471
1528
  /**
1472
- * GET /api/projects/{project_id}/agents/runs
1473
1529
  * Time-bucketed count of agent-run spans (`gen_ai.operation.type:agent`).
1474
1530
  */
1475
1531
  runs(options) {
@@ -1489,7 +1545,6 @@ var Agents = class extends HeyApiClient {
1489
1545
  });
1490
1546
  }
1491
1547
  /**
1492
- * GET /api/projects/{project_id}/agents/summary
1493
1548
  * Agent runs, LLM calls, tool calls, errors, tokens and latency over the
1494
1549
  * selected window — the numbers the six charts cannot state outright.
1495
1550
  */
@@ -1510,7 +1565,6 @@ var Agents = class extends HeyApiClient {
1510
1565
  });
1511
1566
  }
1512
1567
  /**
1513
- * GET /api/projects/{project_id}/agents/tools
1514
1568
  * Top tools by call count (`gen_ai.operation.type:tool`).
1515
1569
  */
1516
1570
  tools(options) {
@@ -1530,7 +1584,7 @@ var Agents = class extends HeyApiClient {
1530
1584
  });
1531
1585
  }
1532
1586
  /**
1533
- * GET /api/projects/{project_id}/agents/tools/stats
1587
+ * Lists the tools a project's agents called, with calls, errors and latency.
1534
1588
  */
1535
1589
  toolsTable(options) {
1536
1590
  return (options.client ?? this.client).get({
@@ -1549,7 +1603,6 @@ var Agents = class extends HeyApiClient {
1549
1603
  });
1550
1604
  }
1551
1605
  /**
1552
- * GET /api/projects/{project_id}/agents/traces
1553
1606
  * Paginated per-trace_id aggregate (duration, tokens, tool usage) across
1554
1607
  * all AI spans sharing that trace, regardless of origin.
1555
1608
  */
@@ -1572,7 +1625,7 @@ var Agents = class extends HeyApiClient {
1572
1625
  };
1573
1626
  var AlertRules = class extends HeyApiClient {
1574
1627
  /**
1575
- * GET /api/projects/{project_id}/alert-history
1628
+ * Lists the alerts a project sent, newest first.
1576
1629
  */
1577
1630
  listHistory(options) {
1578
1631
  return (options.client ?? this.client).get({
@@ -1610,7 +1663,7 @@ var AlertRules = class extends HeyApiClient {
1610
1663
  });
1611
1664
  }
1612
1665
  /**
1613
- * GET /api/projects/{project_id}/alert-rules
1666
+ * Lists a project's alert rules.
1614
1667
  */
1615
1668
  list(options) {
1616
1669
  return (options.client ?? this.client).get({
@@ -1629,7 +1682,7 @@ var AlertRules = class extends HeyApiClient {
1629
1682
  });
1630
1683
  }
1631
1684
  /**
1632
- * POST /api/projects/{project_id}/alert-rules
1685
+ * Creates an alert rule in a project.
1633
1686
  */
1634
1687
  create(options) {
1635
1688
  return (options.client ?? this.client).post({
@@ -1652,7 +1705,7 @@ var AlertRules = class extends HeyApiClient {
1652
1705
  });
1653
1706
  }
1654
1707
  /**
1655
- * DELETE /api/projects/{project_id}/alert-rules/{rule_id}
1708
+ * Deletes an alert rule.
1656
1709
  */
1657
1710
  delete(options) {
1658
1711
  return (options.client ?? this.client).delete({
@@ -1671,7 +1724,7 @@ var AlertRules = class extends HeyApiClient {
1671
1724
  });
1672
1725
  }
1673
1726
  /**
1674
- * GET /api/projects/{project_id}/alert-rules/{rule_id}
1727
+ * Gets one alert rule.
1675
1728
  */
1676
1729
  get(options) {
1677
1730
  return (options.client ?? this.client).get({
@@ -1690,7 +1743,7 @@ var AlertRules = class extends HeyApiClient {
1690
1743
  });
1691
1744
  }
1692
1745
  /**
1693
- * PATCH /api/projects/{project_id}/alert-rules/{rule_id}
1746
+ * Updates an alert rule.
1694
1747
  */
1695
1748
  update(options) {
1696
1749
  return (options.client ?? this.client).patch({
@@ -1715,7 +1768,6 @@ var AlertRules = class extends HeyApiClient {
1715
1768
  };
1716
1769
  var Events = class extends HeyApiClient {
1717
1770
  /**
1718
- * GET /api/projects/{project_id}/attachments/{attachment_id}
1719
1771
  * Downloads an attachment. Only a real image is served inline; anything
1720
1772
  * else, whatever type it claims, is a download that never runs.
1721
1773
  */
@@ -1755,7 +1807,6 @@ var Events = class extends HeyApiClient {
1755
1807
  });
1756
1808
  }
1757
1809
  /**
1758
- * GET /api/projects/{project_id}/issues/{issue_id}/events
1759
1810
  * Lists events for an issue with cursor-based pagination
1760
1811
  */
1761
1812
  list(options) {
@@ -1775,7 +1826,6 @@ var Events = class extends HeyApiClient {
1775
1826
  });
1776
1827
  }
1777
1828
  /**
1778
- * GET /api/projects/{project_id}/issues/{issue_id}/events/{event_id}
1779
1829
  * Gets a single event with full data
1780
1830
  */
1781
1831
  get(options) {
@@ -1795,7 +1845,6 @@ var Events = class extends HeyApiClient {
1795
1845
  });
1796
1846
  }
1797
1847
  /**
1798
- * GET /api/projects/{project_id}/issues/{issue_id}/events/{event_id}/attachments
1799
1848
  * Lists the files sent with an event, such as a feedback's screenshot.
1800
1849
  */
1801
1850
  listAttachments(options) {
@@ -1817,7 +1866,6 @@ var Events = class extends HeyApiClient {
1817
1866
  };
1818
1867
  var Environments = class extends HeyApiClient {
1819
1868
  /**
1820
- * GET /api/projects/{project_id}/environments
1821
1869
  * Lists the environments a project's issues have been seen in, by name.
1822
1870
  */
1823
1871
  list(options) {
@@ -1839,7 +1887,7 @@ var Environments = class extends HeyApiClient {
1839
1887
  };
1840
1888
  var Stats = class extends HeyApiClient {
1841
1889
  /**
1842
- * GET /api/projects/{project_id}/events/stats
1890
+ * Counts a project's events over time, bucketed for a chart.
1843
1891
  */
1844
1892
  getEventTimeseries(options) {
1845
1893
  return (options.client ?? this.client).get({
@@ -1858,7 +1906,7 @@ var Stats = class extends HeyApiClient {
1858
1906
  });
1859
1907
  }
1860
1908
  /**
1861
- * GET /api/projects/{project_id}/stats/summary
1909
+ * Headline figures for a project's overview: events, new and open issues.
1862
1910
  */
1863
1911
  getSummary(options) {
1864
1912
  return (options.client ?? this.client).get({
@@ -1879,7 +1927,6 @@ var Stats = class extends HeyApiClient {
1879
1927
  };
1880
1928
  var Feedback = class extends HeyApiClient {
1881
1929
  /**
1882
- * GET /api/projects/{project_id}/feedback
1883
1930
  * Lists user feedback with what each user submitted. Every feedback is an
1884
1931
  * issue of category `feedback`; spam is a muted one.
1885
1932
  */
@@ -1902,7 +1949,7 @@ var Feedback = class extends HeyApiClient {
1902
1949
  };
1903
1950
  var Issues = class extends HeyApiClient {
1904
1951
  /**
1905
- * DELETE /api/projects/{project_id}/issues (bulk delete by ids or filter)
1952
+ * Deletes many issues at once, selected by id or by filter.
1906
1953
  */
1907
1954
  bulkDelete(options) {
1908
1955
  return (options.client ?? this.client).delete({
@@ -1925,7 +1972,6 @@ var Issues = class extends HeyApiClient {
1925
1972
  });
1926
1973
  }
1927
1974
  /**
1928
- * GET /api/projects/{project_id}/issues
1929
1975
  * Lists issues for a project with offset-based pagination
1930
1976
  */
1931
1977
  list(options) {
@@ -1945,7 +1991,7 @@ var Issues = class extends HeyApiClient {
1945
1991
  });
1946
1992
  }
1947
1993
  /**
1948
- * PUT /api/projects/{project_id}/issues (bulk mutate)
1994
+ * Sets the status or priority of many issues at once, by id.
1949
1995
  */
1950
1996
  bulkUpdate(options) {
1951
1997
  return (options.client ?? this.client).put({
@@ -1968,7 +2014,6 @@ var Issues = class extends HeyApiClient {
1968
2014
  });
1969
2015
  }
1970
2016
  /**
1971
- * DELETE /api/projects/{project_id}/issues/{issue_id}
1972
2017
  * Hard-deletes an issue and all associated events
1973
2018
  */
1974
2019
  delete(options) {
@@ -1988,7 +2033,6 @@ var Issues = class extends HeyApiClient {
1988
2033
  });
1989
2034
  }
1990
2035
  /**
1991
- * GET /api/projects/{project_id}/issues/{issue_id}
1992
2036
  * Gets a single issue by ID
1993
2037
  */
1994
2038
  get(options) {
@@ -2008,7 +2052,6 @@ var Issues = class extends HeyApiClient {
2008
2052
  });
2009
2053
  }
2010
2054
  /**
2011
- * PATCH /api/projects/{project_id}/issues/{issue_id}
2012
2055
  * Updates issue state (resolve, mute, etc.)
2013
2056
  */
2014
2057
  update(options) {
@@ -2032,7 +2075,7 @@ var Issues = class extends HeyApiClient {
2032
2075
  });
2033
2076
  }
2034
2077
  /**
2035
- * GET /{issue_id}/activity — chronological activity log (incl. comments).
2078
+ * Chronological activity log (incl. comments).
2036
2079
  */
2037
2080
  getActivity(options) {
2038
2081
  return (options.client ?? this.client).get({
@@ -2051,7 +2094,6 @@ var Issues = class extends HeyApiClient {
2051
2094
  });
2052
2095
  }
2053
2096
  /**
2054
- * GET /api/projects/{project_id}/issues/{issue_id}/aggregates
2055
2097
  * Returns the unique user count and top tags for the issue.
2056
2098
  */
2057
2099
  getAggregates(options) {
@@ -2071,7 +2113,7 @@ var Issues = class extends HeyApiClient {
2071
2113
  });
2072
2114
  }
2073
2115
  /**
2074
- * PUT /{issue_id}/bookmark — set/clear the per-user bookmark.
2116
+ * Set/clear the per-user bookmark.
2075
2117
  */
2076
2118
  setBookmark(options) {
2077
2119
  return (options.client ?? this.client).put({
@@ -2094,7 +2136,7 @@ var Issues = class extends HeyApiClient {
2094
2136
  });
2095
2137
  }
2096
2138
  /**
2097
- * POST /{issue_id}/comments — add a note.
2139
+ * Add a note.
2098
2140
  */
2099
2141
  createComment(options) {
2100
2142
  return (options.client ?? this.client).post({
@@ -2117,7 +2159,6 @@ var Issues = class extends HeyApiClient {
2117
2159
  });
2118
2160
  }
2119
2161
  /**
2120
- * GET /api/projects/{project_id}/issues/{issue_id}/hashes
2121
2162
  * Lists the grouping hashes that map to an issue.
2122
2163
  */
2123
2164
  getHashes(options) {
@@ -2137,7 +2178,7 @@ var Issues = class extends HeyApiClient {
2137
2178
  });
2138
2179
  }
2139
2180
  /**
2140
- * POST /{issue_id}/seen — mark the issue as seen by the current user.
2181
+ * Mark the issue as seen by the current user.
2141
2182
  */
2142
2183
  markSeen(options) {
2143
2184
  return (options.client ?? this.client).post({
@@ -2156,7 +2197,7 @@ var Issues = class extends HeyApiClient {
2156
2197
  });
2157
2198
  }
2158
2199
  /**
2159
- * GET /{issue_id}/stats?window=24h|30d — zero-filled event-count timeseries.
2200
+ * Zero-filled event-count timeseries.
2160
2201
  */
2161
2202
  getStats(options) {
2162
2203
  return (options.client ?? this.client).get({
@@ -2175,7 +2216,7 @@ var Issues = class extends HeyApiClient {
2175
2216
  });
2176
2217
  }
2177
2218
  /**
2178
- * PUT /{issue_id}/subscription — set/clear the per-user subscription.
2219
+ * Set/clear the per-user subscription.
2179
2220
  */
2180
2221
  setSubscription(options) {
2181
2222
  return (options.client ?? this.client).put({
@@ -2198,7 +2239,6 @@ var Issues = class extends HeyApiClient {
2198
2239
  });
2199
2240
  }
2200
2241
  /**
2201
- * GET /api/projects/{project_id}/issues/{issue_id}/tags/{key}
2202
2242
  * Lists the distinct values (with counts) for a tag key across the issue.
2203
2243
  */
2204
2244
  getTagValues(options) {
@@ -2218,7 +2258,7 @@ var Issues = class extends HeyApiClient {
2218
2258
  });
2219
2259
  }
2220
2260
  /**
2221
- * GET /{issue_id}/user-reports — list user feedback for an issue.
2261
+ * List user feedback for an issue.
2222
2262
  */
2223
2263
  listUserReports(options) {
2224
2264
  return (options.client ?? this.client).get({
@@ -2237,7 +2277,7 @@ var Issues = class extends HeyApiClient {
2237
2277
  });
2238
2278
  }
2239
2279
  /**
2240
- * POST /{issue_id}/user-reports — attach user feedback to an issue.
2280
+ * Attach user feedback to an issue.
2241
2281
  */
2242
2282
  createUserReport(options) {
2243
2283
  return (options.client ?? this.client).post({
@@ -2262,7 +2302,6 @@ var Issues = class extends HeyApiClient {
2262
2302
  };
2263
2303
  var Logs = class extends HeyApiClient {
2264
2304
  /**
2265
- * GET /api/projects/{project_id}/logs
2266
2305
  * Lists logs for a project with offset-based pagination (newest first by
2267
2306
  * log timestamp), optionally filtered by level, trace id, message and window.
2268
2307
  */
@@ -2283,7 +2322,6 @@ var Logs = class extends HeyApiClient {
2283
2322
  });
2284
2323
  }
2285
2324
  /**
2286
- * GET /api/projects/{project_id}/logs/volume
2287
2325
  * Counts a project's logs per level over time, with the list's filters.
2288
2326
  */
2289
2327
  volume(options) {
@@ -2303,7 +2341,6 @@ var Logs = class extends HeyApiClient {
2303
2341
  });
2304
2342
  }
2305
2343
  /**
2306
- * GET /api/projects/{project_id}/logs/{log_id}
2307
2344
  * Returns one of a project's logs, wherever it falls in the list.
2308
2345
  */
2309
2346
  get(options) {
@@ -2325,7 +2362,7 @@ var Logs = class extends HeyApiClient {
2325
2362
  };
2326
2363
  var Members = class extends HeyApiClient {
2327
2364
  /**
2328
- * GET /api/projects/{project_id}/members
2365
+ * Lists everyone holding a role on the project, with those roles; personal permissions are not roles.
2329
2366
  */
2330
2367
  list(options) {
2331
2368
  return (options.client ?? this.client).get({
@@ -2344,7 +2381,7 @@ var Members = class extends HeyApiClient {
2344
2381
  });
2345
2382
  }
2346
2383
  /**
2347
- * PUT /api/projects/{project_id}/members
2384
+ * Sets the roles a user holds on the project.
2348
2385
  */
2349
2386
  upsert(options) {
2350
2387
  return (options.client ?? this.client).put({
@@ -2367,7 +2404,26 @@ var Members = class extends HeyApiClient {
2367
2404
  });
2368
2405
  }
2369
2406
  /**
2370
- * DELETE /api/projects/{project_id}/members/{user_id}
2407
+ * Lists the people and the roles the caller can give on the project, so it takes neither `users:read` nor `roles:read` to manage its members.
2408
+ */
2409
+ candidates(options) {
2410
+ return (options.client ?? this.client).get({
2411
+ requestValidator: async (data) => await z.object({
2412
+ body: z.never().optional(),
2413
+ path: zMembersCandidatesPath,
2414
+ query: z.never().optional()
2415
+ }).parseAsync(data),
2416
+ responseValidator: async (data) => await zMembersCandidatesResponse.parseAsync(data),
2417
+ security: [{
2418
+ scheme: "bearer",
2419
+ type: "http"
2420
+ }],
2421
+ url: "/api/projects/{project_id}/members/candidates",
2422
+ ...options
2423
+ });
2424
+ }
2425
+ /**
2426
+ * Removes the roles a user holds on this project; roles on all projects and personal permissions stay.
2371
2427
  */
2372
2428
  remove(options) {
2373
2429
  return (options.client ?? this.client).delete({
@@ -2388,7 +2444,6 @@ var Members = class extends HeyApiClient {
2388
2444
  };
2389
2445
  var Monitors = class extends HeyApiClient {
2390
2446
  /**
2391
- * GET /api/projects/{project_id}/monitor-stats
2392
2447
  * Counts the check-ins of a project's monitors by status over a window, bucket by bucket.
2393
2448
  */
2394
2449
  stats(options) {
@@ -2408,7 +2463,7 @@ var Monitors = class extends HeyApiClient {
2408
2463
  });
2409
2464
  }
2410
2465
  /**
2411
- * GET /api/projects/{project_id}/monitors
2466
+ * Lists a project's cron monitors.
2412
2467
  */
2413
2468
  list(options) {
2414
2469
  return (options.client ?? this.client).get({
@@ -2427,7 +2482,7 @@ var Monitors = class extends HeyApiClient {
2427
2482
  });
2428
2483
  }
2429
2484
  /**
2430
- * POST /api/projects/{project_id}/monitors
2485
+ * Creates a cron monitor in a project.
2431
2486
  */
2432
2487
  create(options) {
2433
2488
  return (options.client ?? this.client).post({
@@ -2450,7 +2505,7 @@ var Monitors = class extends HeyApiClient {
2450
2505
  });
2451
2506
  }
2452
2507
  /**
2453
- * DELETE /api/projects/{project_id}/monitors/{slug}
2508
+ * Deletes a cron monitor and its check-ins.
2454
2509
  */
2455
2510
  delete(options) {
2456
2511
  return (options.client ?? this.client).delete({
@@ -2469,7 +2524,7 @@ var Monitors = class extends HeyApiClient {
2469
2524
  });
2470
2525
  }
2471
2526
  /**
2472
- * GET /api/projects/{project_id}/monitors/{slug}
2527
+ * Gets one cron monitor.
2473
2528
  */
2474
2529
  get(options) {
2475
2530
  return (options.client ?? this.client).get({
@@ -2488,7 +2543,7 @@ var Monitors = class extends HeyApiClient {
2488
2543
  });
2489
2544
  }
2490
2545
  /**
2491
- * PUT /api/projects/{project_id}/monitors/{slug}
2546
+ * Updates a cron monitor.
2492
2547
  */
2493
2548
  update(options) {
2494
2549
  return (options.client ?? this.client).put({
@@ -2511,7 +2566,7 @@ var Monitors = class extends HeyApiClient {
2511
2566
  });
2512
2567
  }
2513
2568
  /**
2514
- * GET /api/projects/{project_id}/monitors/{slug}/checkins
2569
+ * Lists a cron monitor's check-ins, newest first.
2515
2570
  */
2516
2571
  listCheckins(options) {
2517
2572
  return (options.client ?? this.client).get({
@@ -2532,7 +2587,7 @@ var Monitors = class extends HeyApiClient {
2532
2587
  };
2533
2588
  var Sessions = class extends HeyApiClient {
2534
2589
  /**
2535
- * GET /api/projects/{project_id}/sessions/stats
2590
+ * Session counts by release, for release health.
2536
2591
  */
2537
2592
  getStats(options) {
2538
2593
  return (options.client ?? this.client).get({
@@ -2551,7 +2606,7 @@ var Sessions = class extends HeyApiClient {
2551
2606
  });
2552
2607
  }
2553
2608
  /**
2554
- * GET /api/projects/{project_id}/sessions/summary
2609
+ * Totals and crash-free rates for a project's sessions.
2555
2610
  */
2556
2611
  getSummary(options) {
2557
2612
  return (options.client ?? this.client).get({
@@ -2570,7 +2625,7 @@ var Sessions = class extends HeyApiClient {
2570
2625
  });
2571
2626
  }
2572
2627
  /**
2573
- * GET /api/projects/{project_id}/sessions/timeseries
2628
+ * Session counts over time, bucketed for a chart.
2574
2629
  */
2575
2630
  getTimeseries(options) {
2576
2631
  return (options.client ?? this.client).get({
@@ -2591,7 +2646,6 @@ var Sessions = class extends HeyApiClient {
2591
2646
  };
2592
2647
  var Spans = class extends HeyApiClient {
2593
2648
  /**
2594
- * GET /api/projects/{project_id}/spans
2595
2649
  * Lists spans for a project with offset-based pagination (newest by
2596
2650
  * start_timestamp first), optionally filtered by op/status/trace_id.
2597
2651
  * Returns spans regardless of origin — standalone or extracted from a
@@ -2614,7 +2668,6 @@ var Spans = class extends HeyApiClient {
2614
2668
  });
2615
2669
  }
2616
2670
  /**
2617
- * GET /api/projects/{project_id}/spans/{span_id}
2618
2671
  * Returns one span together with its attributes and tags — the `gen_ai.*`
2619
2672
  * payload (prompts, responses, tool arguments and results) that the list
2620
2673
  * response deliberately omits, since `spans.data` is untrimmed and a whole
@@ -2639,7 +2692,6 @@ var Spans = class extends HeyApiClient {
2639
2692
  };
2640
2693
  var Transactions = class extends HeyApiClient {
2641
2694
  /**
2642
- * GET /api/projects/{project_id}/transactions
2643
2695
  * Lists transactions for a project with offset-based pagination (newest first).
2644
2696
  */
2645
2697
  list(options) {
@@ -2659,7 +2711,6 @@ var Transactions = class extends HeyApiClient {
2659
2711
  });
2660
2712
  }
2661
2713
  /**
2662
- * GET /api/projects/{project_id}/transactions/stats
2663
2714
  * Returns paginated aggregate performance stats (count, time spent, p50/p95/p99
2664
2715
  * latency, failure rate) grouped by transaction name + op, the most time spent
2665
2716
  * first unless `sort` asks otherwise.
@@ -2681,7 +2732,6 @@ var Transactions = class extends HeyApiClient {
2681
2732
  });
2682
2733
  }
2683
2734
  /**
2684
- * GET /api/projects/{project_id}/transactions/stats/group?name=&op=
2685
2735
  * Returns the aggregate stats for a single transaction group — a direct lookup
2686
2736
  * so the summary header works regardless of how many groups the project has.
2687
2737
  */
@@ -2724,7 +2774,6 @@ var Transactions = class extends HeyApiClient {
2724
2774
  });
2725
2775
  }
2726
2776
  /**
2727
- * GET /api/projects/{project_id}/transactions/{transaction_id}
2728
2777
  * Returns a single transaction with its full Sentry payload (spans, contexts,
2729
2778
  * measurements, tags) for the performance detail view.
2730
2779
  */
@@ -2745,7 +2794,6 @@ var Transactions = class extends HeyApiClient {
2745
2794
  });
2746
2795
  }
2747
2796
  /**
2748
- * GET /api/projects/{project_id}/transactions/{transaction_id}/spans
2749
2797
  * Returns the indexed spans extracted from a transaction, ordered for the
2750
2798
  * waterfall view (by start_timestamp ascending).
2751
2799
  */
@@ -2766,10 +2814,97 @@ var Transactions = class extends HeyApiClient {
2766
2814
  });
2767
2815
  }
2768
2816
  };
2769
- var Schedules = class extends HeyApiClient {
2817
+ var Roles = class extends HeyApiClient {
2818
+ /**
2819
+ * Lists every role with its permissions and how often it is assigned.
2820
+ */
2821
+ list(options) {
2822
+ return (options?.client ?? this.client).get({
2823
+ requestValidator: async (data) => await z.object({
2824
+ body: z.never().optional(),
2825
+ path: z.never().optional(),
2826
+ query: z.never().optional()
2827
+ }).parseAsync(data),
2828
+ responseValidator: async (data) => await zRolesListResponse.parseAsync(data),
2829
+ security: [{
2830
+ scheme: "bearer",
2831
+ type: "http"
2832
+ }],
2833
+ url: "/api/roles",
2834
+ ...options
2835
+ });
2836
+ }
2770
2837
  /**
2771
- * POST /api/schedules/preview
2838
+ * Creates a role from permissions the caller holds themselves.
2839
+ */
2840
+ create(options) {
2841
+ return (options.client ?? this.client).post({
2842
+ requestValidator: async (data) => await z.object({
2843
+ body: zRolesCreateBody,
2844
+ path: z.never().optional(),
2845
+ query: z.never().optional()
2846
+ }).parseAsync(data),
2847
+ responseValidator: async (data) => await zRolesCreateResponse.parseAsync(data),
2848
+ security: [{
2849
+ scheme: "bearer",
2850
+ type: "http"
2851
+ }],
2852
+ url: "/api/roles",
2853
+ ...options,
2854
+ headers: {
2855
+ "Content-Type": "application/json",
2856
+ ...options.headers
2857
+ }
2858
+ });
2859
+ }
2860
+ /**
2861
+ * Deletes a role nobody holds.
2862
+ */
2863
+ delete(options) {
2864
+ return (options.client ?? this.client).delete({
2865
+ requestValidator: async (data) => await z.object({
2866
+ body: z.never().optional(),
2867
+ path: zRolesDeletePath,
2868
+ query: z.never().optional()
2869
+ }).parseAsync(data),
2870
+ responseValidator: async (data) => await zRolesDeleteResponse.parseAsync(data),
2871
+ security: [{
2872
+ scheme: "bearer",
2873
+ type: "http"
2874
+ }],
2875
+ url: "/api/roles/{id}",
2876
+ ...options
2877
+ });
2878
+ }
2879
+ /**
2880
+ * Replaces a role's name, description and permissions.
2772
2881
  *
2882
+ * The caller must hold both the permissions being added and those being
2883
+ * removed, so nobody strips a role of something they could not give back.
2884
+ */
2885
+ update(options) {
2886
+ return (options.client ?? this.client).put({
2887
+ requestValidator: async (data) => await z.object({
2888
+ body: zRolesUpdateBody,
2889
+ path: zRolesUpdatePath,
2890
+ query: z.never().optional()
2891
+ }).parseAsync(data),
2892
+ responseValidator: async (data) => await zRolesUpdateResponse.parseAsync(data),
2893
+ security: [{
2894
+ scheme: "bearer",
2895
+ type: "http"
2896
+ }],
2897
+ url: "/api/roles/{id}",
2898
+ ...options,
2899
+ headers: {
2900
+ "Content-Type": "application/json",
2901
+ ...options.headers
2902
+ }
2903
+ });
2904
+ }
2905
+ };
2906
+ var Schedules = class extends HeyApiClient {
2907
+ /**
2773
2908
  * Validates a schedule and lists its next five runs from now, so no client
2774
2909
  * ever parses a crontab itself.
2775
2910
  */
@@ -2796,7 +2931,8 @@ var Schedules = class extends HeyApiClient {
2796
2931
  };
2797
2932
  var Settings = class extends HeyApiClient {
2798
2933
  /**
2799
- * Whether the MCP endpoint at `/mcp` is on.
2934
+ * Whether the MCP endpoint at `/mcp` is on. Open to every member: it is what
2935
+ * they point their own assistant at.
2800
2936
  */
2801
2937
  getMcp(options) {
2802
2938
  return (options?.client ?? this.client).get({
@@ -2815,7 +2951,7 @@ var Settings = class extends HeyApiClient {
2815
2951
  });
2816
2952
  }
2817
2953
  /**
2818
- * Turns the MCP endpoint at `/mcp` on or off. Instance admins only.
2954
+ * Turns the MCP endpoint at `/mcp` on or off (needs `mcp:update`).
2819
2955
  */
2820
2956
  updateMcp(options) {
2821
2957
  return (options.client ?? this.client).put({
@@ -2840,7 +2976,7 @@ var Settings = class extends HeyApiClient {
2840
2976
  };
2841
2977
  var Storage = class extends HeyApiClient {
2842
2978
  /**
2843
- * GET /api/storage/age — rows per age bucket, per project and kind.
2979
+ * Rows per age bucket, per project and kind.
2844
2980
  */
2845
2981
  getAge(options) {
2846
2982
  return (options?.client ?? this.client).get({
@@ -2859,7 +2995,7 @@ var Storage = class extends HeyApiClient {
2859
2995
  });
2860
2996
  }
2861
2997
  /**
2862
- * POST /api/storage/cleanup — starts deleting old data and the issues it
2998
+ * Starts deleting old data and the issues it
2863
2999
  * empties. Returns at once: the purge runs detached, in batches, and
2864
3000
  * `GET /api/storage/cleanup/status` reports its progress.
2865
3001
  */
@@ -2884,7 +3020,7 @@ var Storage = class extends HeyApiClient {
2884
3020
  });
2885
3021
  }
2886
3022
  /**
2887
- * POST /api/storage/cleanup/preview — dry-run count, mutates nothing.
3023
+ * Dry-run count, mutates nothing.
2888
3024
  */
2889
3025
  previewCleanup(options) {
2890
3026
  return (options.client ?? this.client).post({
@@ -2907,7 +3043,7 @@ var Storage = class extends HeyApiClient {
2907
3043
  });
2908
3044
  }
2909
3045
  /**
2910
- * GET /api/storage/cleanup/status — progress of the running cleanup, or the
3046
+ * Progress of the running cleanup, or the
2911
3047
  * outcome of the last one.
2912
3048
  */
2913
3049
  getCleanupStatus(options) {
@@ -2927,7 +3063,7 @@ var Storage = class extends HeyApiClient {
2927
3063
  });
2928
3064
  }
2929
3065
  /**
2930
- * GET /api/storage/compaction — whether the database file shrinks when data
3066
+ * Whether the database file shrinks when data
2931
3067
  * is deleted, and the disk a one-off compaction needs.
2932
3068
  */
2933
3069
  getCompaction(options) {
@@ -2947,7 +3083,7 @@ var Storage = class extends HeyApiClient {
2947
3083
  });
2948
3084
  }
2949
3085
  /**
2950
- * POST /api/storage/compaction — rewrites a SQLite file created before
3086
+ * Rewrites a SQLite file created before
2951
3087
  * incremental mode, so it gives freed space back from then on. Writes wait
2952
3088
  * while it runs; follow it with `GET /api/storage/cleanup/status`.
2953
3089
  */
@@ -2968,7 +3104,7 @@ var Storage = class extends HeyApiClient {
2968
3104
  });
2969
3105
  }
2970
3106
  /**
2971
- * GET /api/storage/projects — per-project counts and estimated weight.
3107
+ * Per-project counts and estimated weight.
2972
3108
  */
2973
3109
  getProjects(options) {
2974
3110
  return (options?.client ?? this.client).get({
@@ -2987,7 +3123,7 @@ var Storage = class extends HeyApiClient {
2987
3123
  });
2988
3124
  }
2989
3125
  /**
2990
- * GET /api/storage/retention
3126
+ * Gets the retention settings and the cleanup schedule.
2991
3127
  */
2992
3128
  getRetention(options) {
2993
3129
  return (options?.client ?? this.client).get({
@@ -3006,7 +3142,7 @@ var Storage = class extends HeyApiClient {
3006
3142
  });
3007
3143
  }
3008
3144
  /**
3009
- * PUT /api/storage/retention
3145
+ * Updates the retention settings; the next cleanup is scheduled at once.
3010
3146
  */
3011
3147
  updateRetention(options) {
3012
3148
  return (options.client ?? this.client).put({
@@ -3029,7 +3165,7 @@ var Storage = class extends HeyApiClient {
3029
3165
  });
3030
3166
  }
3031
3167
  /**
3032
- * POST /api/storage/retention/preview — what saving these settings would
3168
+ * What saving these settings would
3033
3169
  * delete on the next cleanup, without saving or deleting anything.
3034
3170
  */
3035
3171
  previewRetention(options) {
@@ -3053,7 +3189,7 @@ var Storage = class extends HeyApiClient {
3053
3189
  });
3054
3190
  }
3055
3191
  /**
3056
- * POST /api/storage/retention/run — enforces the saved retention now,
3192
+ * Enforces the saved retention now,
3057
3193
  * without waiting for the schedule. Follow it with the cleanup status.
3058
3194
  */
3059
3195
  runRetention(options) {
@@ -3073,7 +3209,7 @@ var Storage = class extends HeyApiClient {
3073
3209
  });
3074
3210
  }
3075
3211
  /**
3076
- * POST /api/storage/source-maps/gc — delete orphaned source maps (DB + disk).
3212
+ * Delete orphaned source maps (DB + disk).
3077
3213
  */
3078
3214
  gcSourceMaps(options) {
3079
3215
  return (options?.client ?? this.client).post({
@@ -3092,7 +3228,7 @@ var Storage = class extends HeyApiClient {
3092
3228
  });
3093
3229
  }
3094
3230
  /**
3095
- * POST /api/storage/source-maps/gc/preview — dry-run orphan count, deletes nothing.
3231
+ * Dry-run orphan count, deletes nothing.
3096
3232
  */
3097
3233
  previewSourceMapGc(options) {
3098
3234
  return (options?.client ?? this.client).post({
@@ -3111,7 +3247,7 @@ var Storage = class extends HeyApiClient {
3111
3247
  });
3112
3248
  }
3113
3249
  /**
3114
- * GET /api/storage/summary — row counts, DB size, and source-map weight.
3250
+ * Row counts, DB size, and source-map weight.
3115
3251
  */
3116
3252
  getSummary(options) {
3117
3253
  return (options?.client ?? this.client).get({
@@ -3132,7 +3268,7 @@ var Storage = class extends HeyApiClient {
3132
3268
  };
3133
3269
  var Team = class extends HeyApiClient {
3134
3270
  /**
3135
- * GET /api/team — list all users (admin only)
3271
+ * List all users (needs `users:read`)
3136
3272
  */
3137
3273
  list(options) {
3138
3274
  return (options?.client ?? this.client).get({
@@ -3151,7 +3287,7 @@ var Team = class extends HeyApiClient {
3151
3287
  });
3152
3288
  }
3153
3289
  /**
3154
- * DELETE /api/team/{user_id} — remove a user from the instance (admin only)
3290
+ * Remove a user from the instance (needs `users:delete`)
3155
3291
  */
3156
3292
  deleteUser(options) {
3157
3293
  return (options.client ?? this.client).delete({
@@ -3170,7 +3306,7 @@ var Team = class extends HeyApiClient {
3170
3306
  });
3171
3307
  }
3172
3308
  /**
3173
- * PATCH /api/team/{user_id}/role — change a user's global role (admin only)
3309
+ * Change a user's global role (needs `users:update`)
3174
3310
  */
3175
3311
  updateRole(options) {
3176
3312
  return (options.client ?? this.client).patch({
@@ -3195,7 +3331,7 @@ var Team = class extends HeyApiClient {
3195
3331
  };
3196
3332
  var Telemetry = class extends HeyApiClient {
3197
3333
  /**
3198
- * GET /api/telemetry/preview
3334
+ * Shows the exact anonymous telemetry report this instance would send.
3199
3335
  */
3200
3336
  preview(options) {
3201
3337
  return (options?.client ?? this.client).get({
@@ -3216,9 +3352,10 @@ var Telemetry = class extends HeyApiClient {
3216
3352
  };
3217
3353
  var Tokens = class extends HeyApiClient {
3218
3354
  /**
3219
- * GET /api/tokens - List tokens (masked)
3355
+ * List tokens (masked)
3220
3356
  *
3221
- * Admins see all tokens; non-admins see only the tokens they own.
3357
+ * Everyone sees their own tokens; `api-tokens:read` sees every token. A token
3358
+ * limited to other permissions sees none: it must not reach its owner's others.
3222
3359
  */
3223
3360
  list(options) {
3224
3361
  return (options?.client ?? this.client).get({
@@ -3237,7 +3374,10 @@ var Tokens = class extends HeyApiClient {
3237
3374
  });
3238
3375
  }
3239
3376
  /**
3240
- * POST /api/tokens - Create a new token (scoped to the acting user)
3377
+ * Create a new token (from a signed-in session only)
3378
+ *
3379
+ * A token cannot create tokens: a limited or expiring one could otherwise
3380
+ * mint itself a way out of its limits.
3241
3381
  */
3242
3382
  create(options) {
3243
3383
  return (options.client ?? this.client).post({
@@ -3260,9 +3400,9 @@ var Tokens = class extends HeyApiClient {
3260
3400
  });
3261
3401
  }
3262
3402
  /**
3263
- * DELETE /api/tokens/{id} - Revoke a token
3403
+ * Revoke a token
3264
3404
  *
3265
- * Admins may revoke any token; non-admins may only revoke their own.
3405
+ * Everyone may revoke their own; `api-tokens:delete` revokes any.
3266
3406
  */
3267
3407
  delete(options) {
3268
3408
  return (options.client ?? this.client).delete({
@@ -3281,10 +3421,10 @@ var Tokens = class extends HeyApiClient {
3281
3421
  });
3282
3422
  }
3283
3423
  /**
3284
- * GET /api/tokens/{id} - Reveal full token value
3424
+ * Token details, masked
3285
3425
  *
3286
- * Returns the complete token string. Admins may view any token;
3287
- * non-admins may only view their own.
3426
+ * Tokens are stored hashed, so the full value is only ever shown on
3427
+ * creation. Everyone may view their own; `api-tokens:read` views any.
3288
3428
  */
3289
3429
  get(options) {
3290
3430
  return (options.client ?? this.client).get({
@@ -3303,9 +3443,55 @@ var Tokens = class extends HeyApiClient {
3303
3443
  });
3304
3444
  }
3305
3445
  };
3446
+ var Users = class extends HeyApiClient {
3447
+ /**
3448
+ * Lists the roles a user holds, on the instance and on each project.
3449
+ */
3450
+ assignments(options) {
3451
+ return (options.client ?? this.client).get({
3452
+ requestValidator: async (data) => await z.object({
3453
+ body: z.never().optional(),
3454
+ path: zUsersAssignmentsPath,
3455
+ query: z.never().optional()
3456
+ }).parseAsync(data),
3457
+ responseValidator: async (data) => await zUsersAssignmentsResponse.parseAsync(data),
3458
+ security: [{
3459
+ scheme: "bearer",
3460
+ type: "http"
3461
+ }],
3462
+ url: "/api/users/{id}/assignments",
3463
+ ...options
3464
+ });
3465
+ }
3466
+ /**
3467
+ * Replaces every role and personal permission a user holds.
3468
+ *
3469
+ * The caller must hold every role being given or taken away, on the scope
3470
+ * it applies to.
3471
+ */
3472
+ setAssignments(options) {
3473
+ return (options.client ?? this.client).put({
3474
+ requestValidator: async (data) => await z.object({
3475
+ body: zUsersSetAssignmentsBody,
3476
+ path: zUsersSetAssignmentsPath,
3477
+ query: z.never().optional()
3478
+ }).parseAsync(data),
3479
+ responseValidator: async (data) => await zUsersSetAssignmentsResponse.parseAsync(data),
3480
+ security: [{
3481
+ scheme: "bearer",
3482
+ type: "http"
3483
+ }],
3484
+ url: "/api/users/{id}/assignments",
3485
+ ...options,
3486
+ headers: {
3487
+ "Content-Type": "application/json",
3488
+ ...options.headers
3489
+ }
3490
+ });
3491
+ }
3492
+ };
3306
3493
  var Auth = class extends HeyApiClient {
3307
3494
  /**
3308
- * POST /auth/accept-invitation
3309
3495
  * Accept a pending invitation: creates the user (with the invite's email + role) and logs in.
3310
3496
  */
3311
3497
  acceptInvitation(options) {
@@ -3325,7 +3511,6 @@ var Auth = class extends HeyApiClient {
3325
3511
  });
3326
3512
  }
3327
3513
  /**
3328
- * GET /auth/invitation/{token}
3329
3514
  * Returns the invitation's details if it is still acceptable (for the accept page).
3330
3515
  */
3331
3516
  getInvitation(options) {
@@ -3341,7 +3526,6 @@ var Auth = class extends HeyApiClient {
3341
3526
  });
3342
3527
  }
3343
3528
  /**
3344
- * POST /auth/login
3345
3529
  * Authenticate user and create session
3346
3530
  */
3347
3531
  login(options) {
@@ -3361,7 +3545,6 @@ var Auth = class extends HeyApiClient {
3361
3545
  });
3362
3546
  }
3363
3547
  /**
3364
- * POST /auth/logout
3365
3548
  * Clear session
3366
3549
  */
3367
3550
  logout(options) {
@@ -3374,7 +3557,7 @@ var Auth = class extends HeyApiClient {
3374
3557
  responseValidator: async (data) => await zAuthLogoutResponse.parseAsync(data),
3375
3558
  security: [{
3376
3559
  in: "cookie",
3377
- name: "session",
3560
+ name: "rustrak_session",
3378
3561
  type: "apiKey"
3379
3562
  }],
3380
3563
  url: "/auth/logout",
@@ -3382,7 +3565,6 @@ var Auth = class extends HeyApiClient {
3382
3565
  });
3383
3566
  }
3384
3567
  /**
3385
- * GET /auth/me
3386
3568
  * Get current authenticated user
3387
3569
  */
3388
3570
  getCurrentUser(options) {
@@ -3395,7 +3577,7 @@ var Auth = class extends HeyApiClient {
3395
3577
  responseValidator: async (data) => await zAuthGetCurrentUserResponse.parseAsync(data),
3396
3578
  security: [{
3397
3579
  in: "cookie",
3398
- name: "session",
3580
+ name: "rustrak_session",
3399
3581
  type: "apiKey"
3400
3582
  }],
3401
3583
  url: "/auth/me",
@@ -3403,7 +3585,6 @@ var Auth = class extends HeyApiClient {
3403
3585
  });
3404
3586
  }
3405
3587
  /**
3406
- * PATCH /auth/me
3407
3588
  * Update the current user's presentation preferences
3408
3589
  */
3409
3590
  updateCurrentUser(options) {
@@ -3416,7 +3597,7 @@ var Auth = class extends HeyApiClient {
3416
3597
  responseValidator: async (data) => await zAuthUpdateCurrentUserResponse.parseAsync(data),
3417
3598
  security: [{
3418
3599
  in: "cookie",
3419
- name: "session",
3600
+ name: "rustrak_session",
3420
3601
  type: "apiKey"
3421
3602
  }],
3422
3603
  url: "/auth/me",
@@ -3428,8 +3609,8 @@ var Auth = class extends HeyApiClient {
3428
3609
  });
3429
3610
  }
3430
3611
  /**
3431
- * POST /auth/me/password
3432
- * Change the current user's password
3612
+ * Change the current user's password. Every other session of the user ends;
3613
+ * this one continues under a new id.
3433
3614
  */
3434
3615
  changePassword(options) {
3435
3616
  return (options.client ?? this.client).post({
@@ -3441,7 +3622,7 @@ var Auth = class extends HeyApiClient {
3441
3622
  responseValidator: async (data) => await zAuthChangePasswordResponse.parseAsync(data),
3442
3623
  security: [{
3443
3624
  in: "cookie",
3444
- name: "session",
3625
+ name: "rustrak_session",
3445
3626
  type: "apiKey"
3446
3627
  }],
3447
3628
  url: "/auth/me/password",
@@ -3453,26 +3634,6 @@ var Auth = class extends HeyApiClient {
3453
3634
  });
3454
3635
  }
3455
3636
  /**
3456
- * POST /auth/register
3457
- * Registration is invite-only — always rejected. Use `/auth/accept-invitation`.
3458
- */
3459
- register(options) {
3460
- return (options.client ?? this.client).post({
3461
- requestValidator: async (data) => await z.object({
3462
- body: zAuthRegisterBody,
3463
- path: z.never().optional(),
3464
- query: z.never().optional()
3465
- }).parseAsync(data),
3466
- url: "/auth/register",
3467
- ...options,
3468
- headers: {
3469
- "Content-Type": "application/json",
3470
- ...options.headers
3471
- }
3472
- });
3473
- }
3474
- /**
3475
- * GET /auth/sso/callback
3476
3637
  * Validate the provider response, resolve or provision the local account, and
3477
3638
  * establish the normal Rustrak session.
3478
3639
  */
@@ -3489,7 +3650,6 @@ var Auth = class extends HeyApiClient {
3489
3650
  });
3490
3651
  }
3491
3652
  /**
3492
- * GET /auth/sso/config
3493
3653
  * Public, non-sensitive information used to render the login page.
3494
3654
  */
3495
3655
  ssoConfig(options) {
@@ -3505,7 +3665,6 @@ var Auth = class extends HeyApiClient {
3505
3665
  });
3506
3666
  }
3507
3667
  /**
3508
- * GET /auth/sso/link
3509
3668
  * The account an SSO login matched, shown while its owner confirms.
3510
3669
  */
3511
3670
  ssoLink(options) {
@@ -3521,7 +3680,6 @@ var Auth = class extends HeyApiClient {
3521
3680
  });
3522
3681
  }
3523
3682
  /**
3524
- * POST /auth/sso/link
3525
3683
  * Link the pending SSO identity to its account once the account's password
3526
3684
  * is given, and sign in. A wrong password keeps the link pending for a retry.
3527
3685
  */
@@ -3542,9 +3700,8 @@ var Auth = class extends HeyApiClient {
3542
3700
  });
3543
3701
  }
3544
3702
  /**
3545
- * POST /auth/sso/start
3546
3703
  * Create a one-time OIDC authorization request and retain its protections in
3547
- * the encrypted session cookie.
3704
+ * the session.
3548
3705
  */
3549
3706
  ssoStart(options) {
3550
3707
  return (options?.client ?? this.client).post({
@@ -3614,7 +3771,7 @@ var Health = class extends HeyApiClient {
3614
3771
  type: "http"
3615
3772
  }, {
3616
3773
  in: "cookie",
3617
- name: "session",
3774
+ name: "rustrak_session",
3618
3775
  type: "apiKey"
3619
3776
  }],
3620
3777
  url: "/health/version",
@@ -3644,6 +3801,10 @@ var Rustrak = class Rustrak extends HeyApiClient {
3644
3801
  get releases() {
3645
3802
  return this._releases ??= new Releases({ client: this.client });
3646
3803
  }
3804
+ _access;
3805
+ get access() {
3806
+ return this._access ??= new Access({ client: this.client });
3807
+ }
3647
3808
  _github;
3648
3809
  get github() {
3649
3810
  return this._github ??= new Github({ client: this.client });
@@ -3716,6 +3877,10 @@ var Rustrak = class Rustrak extends HeyApiClient {
3716
3877
  get transactions() {
3717
3878
  return this._transactions ??= new Transactions({ client: this.client });
3718
3879
  }
3880
+ _roles;
3881
+ get roles() {
3882
+ return this._roles ??= new Roles({ client: this.client });
3883
+ }
3719
3884
  _schedules;
3720
3885
  get schedules() {
3721
3886
  return this._schedules ??= new Schedules({ client: this.client });
@@ -3740,6 +3905,10 @@ var Rustrak = class Rustrak extends HeyApiClient {
3740
3905
  get tokens() {
3741
3906
  return this._tokens ??= new Tokens({ client: this.client });
3742
3907
  }
3908
+ _users;
3909
+ get users() {
3910
+ return this._users ??= new Users({ client: this.client });
3911
+ }
3743
3912
  _auth;
3744
3913
  get auth() {
3745
3914
  return this._auth ??= new Auth({ client: this.client });
@@ -3749,6 +3918,6 @@ var Rustrak = class Rustrak extends HeyApiClient {
3749
3918
  return this._health ??= new Health({ client: this.client });
3750
3919
  }
3751
3920
  };
3752
- export { Agents, AlertChannels, AlertRules, Auth, DebugFiles, Environments, Events, Feedback, Github, Health, Invitations, Issues, Logs, Members, Monitors, Oauth, Projects, Releases, Rustrak, Schedules, Sentry, Sessions, Settings, SourceMaps, Spans, Stats, Storage, Team, Telemetry, Tokens, Transactions };
3921
+ export { Access, Agents, AlertChannels, AlertRules, Auth, DebugFiles, Environments, Events, Feedback, Github, Health, Invitations, Issues, Logs, Members, Monitors, Oauth, Projects, Releases, Roles, Rustrak, Schedules, Sentry, Sessions, Settings, SourceMaps, Spans, Stats, Storage, Team, Telemetry, Tokens, Transactions, Users };
3753
3922
 
3754
3923
  //# sourceMappingURL=sdk.gen.mjs.map