@rustrak/client 0.21.0 → 0.22.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.
- package/LICENSE +21 -674
- package/README.md +15 -4
- package/dist/generated/sdk.gen.cjs +247 -3
- package/dist/generated/sdk.gen.cjs.map +1 -1
- package/dist/generated/sdk.gen.d.cts +16 -1
- package/dist/generated/sdk.gen.d.cts.map +1 -1
- package/dist/generated/sdk.gen.d.mts +16 -1
- package/dist/generated/sdk.gen.d.mts.map +1 -1
- package/dist/generated/sdk.gen.mjs +248 -5
- package/dist/generated/sdk.gen.mjs.map +1 -1
- package/dist/generated/types.gen.d.cts +420 -1
- package/dist/generated/types.gen.d.cts.map +1 -1
- package/dist/generated/types.gen.d.mts +420 -1
- package/dist/generated/types.gen.d.mts.map +1 -1
- package/dist/generated/zod.gen.cjs +431 -13
- package/dist/generated/zod.gen.cjs.map +1 -1
- package/dist/generated/zod.gen.mjs +388 -14
- package/dist/generated/zod.gen.mjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { formDataBodySerializer } from "./core/bodySerializer.gen.mjs";
|
|
2
2
|
import { client } from "./client.gen.mjs";
|
|
3
|
-
import { 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, 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, 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, zGithubIssuePath, zGithubIssueResponse, zGithubLinkIssueBody, zGithubLinkIssuePath, zGithubLinkIssueResponse, zGithubManifestBody, zGithubManifestResponse, 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, zLogsListPath, zLogsListQuery, zLogsListResponse, zMembersListPath, zMembersListResponse, zMembersRemovePath, zMembersRemoveResponse, zMembersUpsertBody, zMembersUpsertPath, zMembersUpsertResponse, zMonitorsCreateBody, zMonitorsCreatePath, zMonitorsCreateResponse, zMonitorsDeletePath, zMonitorsDeleteResponse, zMonitorsGetPath, zMonitorsGetResponse, zMonitorsListCheckinsPath, zMonitorsListCheckinsQuery, zMonitorsListCheckinsResponse, zMonitorsListPath, zMonitorsListResponse, 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, 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, zTransactionsGetStatsPath, zTransactionsGetStatsQuery, zTransactionsGetStatsResponse, zTransactionsListPath, zTransactionsListQuery, zTransactionsListResponse } from "./zod.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, zGithubIssuePath, zGithubIssueResponse, zGithubLinkIssueBody, zGithubLinkIssuePath, zGithubLinkIssueResponse, zGithubManifestBody, zGithubManifestResponse, 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";
|
|
4
4
|
import * as z from "zod";
|
|
5
5
|
//#region src/generated/sdk.gen.ts
|
|
6
6
|
var HeyApiClient = class {
|
|
@@ -342,6 +342,63 @@ var SourceMaps = class extends HeyApiClient {
|
|
|
342
342
|
});
|
|
343
343
|
}
|
|
344
344
|
};
|
|
345
|
+
var DebugFiles = class extends HeyApiClient {
|
|
346
|
+
/**
|
|
347
|
+
* Assemble uploaded chunks into debug information files (ProGuard mappings, JVM source bundles).
|
|
348
|
+
*
|
|
349
|
+
* Sentry's `DifAssembleEndpoint`: the body maps each file's SHA-1 to its
|
|
350
|
+
* name, chunks and optional debug ID, and the answer maps it to its state.
|
|
351
|
+
*/
|
|
352
|
+
assemble(options) {
|
|
353
|
+
return (options.client ?? this.client).post({
|
|
354
|
+
requestValidator: async (data) => await z.object({
|
|
355
|
+
body: zDebugFilesAssembleBody,
|
|
356
|
+
path: zDebugFilesAssemblePath,
|
|
357
|
+
query: z.never().optional()
|
|
358
|
+
}).parseAsync(data),
|
|
359
|
+
responseValidator: async (data) => await zDebugFilesAssembleResponse.parseAsync(data),
|
|
360
|
+
security: [{
|
|
361
|
+
scheme: "bearer",
|
|
362
|
+
type: "http"
|
|
363
|
+
}],
|
|
364
|
+
url: "/api/0/projects/{org_slug}/{project_slug}/files/difs/assemble/",
|
|
365
|
+
...options,
|
|
366
|
+
headers: {
|
|
367
|
+
"Content-Type": "application/json",
|
|
368
|
+
...options.headers
|
|
369
|
+
}
|
|
370
|
+
});
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* Upload a zip of debug information files (the path `sentry-cli upload-proguard` takes).
|
|
374
|
+
*
|
|
375
|
+
* Sentry's `DebugFilesEndpoint.post` processes the zip in the request.
|
|
376
|
+
* Here each file goes through the assembly worker instead, the same as a
|
|
377
|
+
* chunked upload, because building a ProGuard cache can take gigabytes.
|
|
378
|
+
* Only ProGuard mappings are recognised; other entries are skipped.
|
|
379
|
+
*/
|
|
380
|
+
upload(options) {
|
|
381
|
+
return (options.client ?? this.client).post({
|
|
382
|
+
...formDataBodySerializer,
|
|
383
|
+
requestValidator: async (data) => await z.object({
|
|
384
|
+
body: zDebugFilesUploadBody,
|
|
385
|
+
path: zDebugFilesUploadPath,
|
|
386
|
+
query: z.never().optional()
|
|
387
|
+
}).parseAsync(data),
|
|
388
|
+
responseValidator: async (data) => await zDebugFilesUploadResponse.parseAsync(data),
|
|
389
|
+
security: [{
|
|
390
|
+
scheme: "bearer",
|
|
391
|
+
type: "http"
|
|
392
|
+
}],
|
|
393
|
+
url: "/api/0/projects/{org_slug}/{project_slug}/files/dsyms/",
|
|
394
|
+
...options,
|
|
395
|
+
headers: {
|
|
396
|
+
"Content-Type": null,
|
|
397
|
+
...options.headers
|
|
398
|
+
}
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
};
|
|
345
402
|
var Releases = class extends HeyApiClient {
|
|
346
403
|
/**
|
|
347
404
|
* POST /api/0/projects/{org_slug}/{project_slug}/releases/
|
|
@@ -403,6 +460,46 @@ var Releases = class extends HeyApiClient {
|
|
|
403
460
|
});
|
|
404
461
|
}
|
|
405
462
|
/**
|
|
463
|
+
* Lists a project's releases, newest first, with the events, new issues,
|
|
464
|
+
* environments and session health of each.
|
|
465
|
+
*/
|
|
466
|
+
list(options) {
|
|
467
|
+
return (options.client ?? this.client).get({
|
|
468
|
+
requestValidator: async (data) => await z.object({
|
|
469
|
+
body: z.never().optional(),
|
|
470
|
+
path: zReleasesListPath,
|
|
471
|
+
query: zReleasesListQuery.optional()
|
|
472
|
+
}).parseAsync(data),
|
|
473
|
+
responseValidator: async (data) => await zReleasesListResponse.parseAsync(data),
|
|
474
|
+
security: [{
|
|
475
|
+
scheme: "bearer",
|
|
476
|
+
type: "http"
|
|
477
|
+
}],
|
|
478
|
+
url: "/api/projects/{project_id}/releases",
|
|
479
|
+
...options
|
|
480
|
+
});
|
|
481
|
+
}
|
|
482
|
+
/**
|
|
483
|
+
* Gets one release with its events, new issues, environments and session
|
|
484
|
+
* health.
|
|
485
|
+
*/
|
|
486
|
+
get(options) {
|
|
487
|
+
return (options.client ?? this.client).get({
|
|
488
|
+
requestValidator: async (data) => await z.object({
|
|
489
|
+
body: z.never().optional(),
|
|
490
|
+
path: zReleasesGetPath,
|
|
491
|
+
query: zReleasesGetQuery.optional()
|
|
492
|
+
}).parseAsync(data),
|
|
493
|
+
responseValidator: async (data) => await zReleasesGetResponse.parseAsync(data),
|
|
494
|
+
security: [{
|
|
495
|
+
scheme: "bearer",
|
|
496
|
+
type: "http"
|
|
497
|
+
}],
|
|
498
|
+
url: "/api/projects/{project_id}/releases/{release}",
|
|
499
|
+
...options
|
|
500
|
+
});
|
|
501
|
+
}
|
|
502
|
+
/**
|
|
406
503
|
* GET /api/projects/{project_id}/releases/{release}/new-issues
|
|
407
504
|
*/
|
|
408
505
|
newIssues(options) {
|
|
@@ -1187,6 +1284,46 @@ var Projects = class extends HeyApiClient {
|
|
|
1187
1284
|
}
|
|
1188
1285
|
};
|
|
1189
1286
|
var Agents = class extends HeyApiClient {
|
|
1287
|
+
/**
|
|
1288
|
+
* GET /api/projects/{project_id}/agents/conversations
|
|
1289
|
+
* Lists conversations -- traces sharing a `gen_ai.conversation.id` -- the most recently active first.
|
|
1290
|
+
*/
|
|
1291
|
+
conversations(options) {
|
|
1292
|
+
return (options.client ?? this.client).get({
|
|
1293
|
+
requestValidator: async (data) => await z.object({
|
|
1294
|
+
body: z.never().optional(),
|
|
1295
|
+
path: zAgentsConversationsPath,
|
|
1296
|
+
query: zAgentsConversationsQuery.optional()
|
|
1297
|
+
}).parseAsync(data),
|
|
1298
|
+
responseValidator: async (data) => await zAgentsConversationsResponse.parseAsync(data),
|
|
1299
|
+
security: [{
|
|
1300
|
+
scheme: "bearer",
|
|
1301
|
+
type: "http"
|
|
1302
|
+
}],
|
|
1303
|
+
url: "/api/projects/{project_id}/agents/conversations",
|
|
1304
|
+
...options
|
|
1305
|
+
});
|
|
1306
|
+
}
|
|
1307
|
+
/**
|
|
1308
|
+
* GET /api/projects/{project_id}/agents/conversations/{conversation_id}
|
|
1309
|
+
* Returns every AI span of a conversation's turns, oldest first, with its input and output.
|
|
1310
|
+
*/
|
|
1311
|
+
conversation(options) {
|
|
1312
|
+
return (options.client ?? this.client).get({
|
|
1313
|
+
requestValidator: async (data) => await z.object({
|
|
1314
|
+
body: z.never().optional(),
|
|
1315
|
+
path: zAgentsConversationPath,
|
|
1316
|
+
query: z.never().optional()
|
|
1317
|
+
}).parseAsync(data),
|
|
1318
|
+
responseValidator: async (data) => await zAgentsConversationResponse.parseAsync(data),
|
|
1319
|
+
security: [{
|
|
1320
|
+
scheme: "bearer",
|
|
1321
|
+
type: "http"
|
|
1322
|
+
}],
|
|
1323
|
+
url: "/api/projects/{project_id}/agents/conversations/{conversation_id}",
|
|
1324
|
+
...options
|
|
1325
|
+
});
|
|
1326
|
+
}
|
|
1190
1327
|
/**
|
|
1191
1328
|
* GET /api/projects/{project_id}/agents/duration
|
|
1192
1329
|
* Time-bucketed avg/p95 duration for `agent`/`ai_client` spans.
|
|
@@ -1410,6 +1547,25 @@ var AlertRules = class extends HeyApiClient {
|
|
|
1410
1547
|
});
|
|
1411
1548
|
}
|
|
1412
1549
|
/**
|
|
1550
|
+
* Count a project's alert deliveries per day, by outcome.
|
|
1551
|
+
*/
|
|
1552
|
+
historyByDay(options) {
|
|
1553
|
+
return (options.client ?? this.client).get({
|
|
1554
|
+
requestValidator: async (data) => await z.object({
|
|
1555
|
+
body: z.never().optional(),
|
|
1556
|
+
path: zAlertRulesHistoryByDayPath,
|
|
1557
|
+
query: zAlertRulesHistoryByDayQuery.optional()
|
|
1558
|
+
}).parseAsync(data),
|
|
1559
|
+
responseValidator: async (data) => await zAlertRulesHistoryByDayResponse.parseAsync(data),
|
|
1560
|
+
security: [{
|
|
1561
|
+
scheme: "bearer",
|
|
1562
|
+
type: "http"
|
|
1563
|
+
}],
|
|
1564
|
+
url: "/api/projects/{project_id}/alert-history/daily",
|
|
1565
|
+
...options
|
|
1566
|
+
});
|
|
1567
|
+
}
|
|
1568
|
+
/**
|
|
1413
1569
|
* GET /api/projects/{project_id}/alert-rules
|
|
1414
1570
|
*/
|
|
1415
1571
|
list(options) {
|
|
@@ -2064,7 +2220,7 @@ var Logs = class extends HeyApiClient {
|
|
|
2064
2220
|
/**
|
|
2065
2221
|
* GET /api/projects/{project_id}/logs
|
|
2066
2222
|
* Lists logs for a project with offset-based pagination (newest first by
|
|
2067
|
-
* log timestamp), optionally filtered by level
|
|
2223
|
+
* log timestamp), optionally filtered by level, trace id, message and window.
|
|
2068
2224
|
*/
|
|
2069
2225
|
list(options) {
|
|
2070
2226
|
return (options.client ?? this.client).get({
|
|
@@ -2082,6 +2238,46 @@ var Logs = class extends HeyApiClient {
|
|
|
2082
2238
|
...options
|
|
2083
2239
|
});
|
|
2084
2240
|
}
|
|
2241
|
+
/**
|
|
2242
|
+
* GET /api/projects/{project_id}/logs/volume
|
|
2243
|
+
* Counts a project's logs per level over time, with the list's filters.
|
|
2244
|
+
*/
|
|
2245
|
+
volume(options) {
|
|
2246
|
+
return (options.client ?? this.client).get({
|
|
2247
|
+
requestValidator: async (data) => await z.object({
|
|
2248
|
+
body: z.never().optional(),
|
|
2249
|
+
path: zLogsVolumePath,
|
|
2250
|
+
query: zLogsVolumeQuery.optional()
|
|
2251
|
+
}).parseAsync(data),
|
|
2252
|
+
responseValidator: async (data) => await zLogsVolumeResponse.parseAsync(data),
|
|
2253
|
+
security: [{
|
|
2254
|
+
scheme: "bearer",
|
|
2255
|
+
type: "http"
|
|
2256
|
+
}],
|
|
2257
|
+
url: "/api/projects/{project_id}/logs/volume",
|
|
2258
|
+
...options
|
|
2259
|
+
});
|
|
2260
|
+
}
|
|
2261
|
+
/**
|
|
2262
|
+
* GET /api/projects/{project_id}/logs/{log_id}
|
|
2263
|
+
* Returns one of a project's logs, wherever it falls in the list.
|
|
2264
|
+
*/
|
|
2265
|
+
get(options) {
|
|
2266
|
+
return (options.client ?? this.client).get({
|
|
2267
|
+
requestValidator: async (data) => await z.object({
|
|
2268
|
+
body: z.never().optional(),
|
|
2269
|
+
path: zLogsGetPath,
|
|
2270
|
+
query: z.never().optional()
|
|
2271
|
+
}).parseAsync(data),
|
|
2272
|
+
responseValidator: async (data) => await zLogsGetResponse.parseAsync(data),
|
|
2273
|
+
security: [{
|
|
2274
|
+
scheme: "bearer",
|
|
2275
|
+
type: "http"
|
|
2276
|
+
}],
|
|
2277
|
+
url: "/api/projects/{project_id}/logs/{log_id}",
|
|
2278
|
+
...options
|
|
2279
|
+
});
|
|
2280
|
+
}
|
|
2085
2281
|
};
|
|
2086
2282
|
var Members = class extends HeyApiClient {
|
|
2087
2283
|
/**
|
|
@@ -2147,6 +2343,26 @@ var Members = class extends HeyApiClient {
|
|
|
2147
2343
|
}
|
|
2148
2344
|
};
|
|
2149
2345
|
var Monitors = class extends HeyApiClient {
|
|
2346
|
+
/**
|
|
2347
|
+
* GET /api/projects/{project_id}/monitor-stats
|
|
2348
|
+
* Counts the check-ins of a project's monitors by status over a window, bucket by bucket.
|
|
2349
|
+
*/
|
|
2350
|
+
stats(options) {
|
|
2351
|
+
return (options.client ?? this.client).get({
|
|
2352
|
+
requestValidator: async (data) => await z.object({
|
|
2353
|
+
body: z.never().optional(),
|
|
2354
|
+
path: zMonitorsStatsPath,
|
|
2355
|
+
query: zMonitorsStatsQuery.optional()
|
|
2356
|
+
}).parseAsync(data),
|
|
2357
|
+
responseValidator: async (data) => await zMonitorsStatsResponse.parseAsync(data),
|
|
2358
|
+
security: [{
|
|
2359
|
+
scheme: "bearer",
|
|
2360
|
+
type: "http"
|
|
2361
|
+
}],
|
|
2362
|
+
url: "/api/projects/{project_id}/monitor-stats",
|
|
2363
|
+
...options
|
|
2364
|
+
});
|
|
2365
|
+
}
|
|
2150
2366
|
/**
|
|
2151
2367
|
* GET /api/projects/{project_id}/monitors
|
|
2152
2368
|
*/
|
|
@@ -2400,8 +2616,9 @@ var Transactions = class extends HeyApiClient {
|
|
|
2400
2616
|
}
|
|
2401
2617
|
/**
|
|
2402
2618
|
* GET /api/projects/{project_id}/transactions/stats
|
|
2403
|
-
* Returns paginated aggregate performance stats (count, p50/p95/p99
|
|
2404
|
-
* failure rate) grouped by transaction name + op, most
|
|
2619
|
+
* Returns paginated aggregate performance stats (count, time spent, p50/p95/p99
|
|
2620
|
+
* latency, failure rate) grouped by transaction name + op, the most time spent
|
|
2621
|
+
* first unless `sort` asks otherwise.
|
|
2405
2622
|
*/
|
|
2406
2623
|
getStats(options) {
|
|
2407
2624
|
return (options.client ?? this.client).get({
|
|
@@ -2441,6 +2658,28 @@ var Transactions = class extends HeyApiClient {
|
|
|
2441
2658
|
});
|
|
2442
2659
|
}
|
|
2443
2660
|
/**
|
|
2661
|
+
* Returns one endpoint's trend over the window, every bucket present:
|
|
2662
|
+
* how often it ran and failed, and its p50 and p95. Without a window, back
|
|
2663
|
+
* to its oldest call and never less than the last 24 hours, which is also
|
|
2664
|
+
* what an endpoint with no calls gets.
|
|
2665
|
+
*/
|
|
2666
|
+
getStatGroupTimeseries(options) {
|
|
2667
|
+
return (options.client ?? this.client).get({
|
|
2668
|
+
requestValidator: async (data) => await z.object({
|
|
2669
|
+
body: z.never().optional(),
|
|
2670
|
+
path: zTransactionsGetStatGroupTimeseriesPath,
|
|
2671
|
+
query: zTransactionsGetStatGroupTimeseriesQuery
|
|
2672
|
+
}).parseAsync(data),
|
|
2673
|
+
responseValidator: async (data) => await zTransactionsGetStatGroupTimeseriesResponse.parseAsync(data),
|
|
2674
|
+
security: [{
|
|
2675
|
+
scheme: "bearer",
|
|
2676
|
+
type: "http"
|
|
2677
|
+
}],
|
|
2678
|
+
url: "/api/projects/{project_id}/transactions/stats/group/timeseries",
|
|
2679
|
+
...options
|
|
2680
|
+
});
|
|
2681
|
+
}
|
|
2682
|
+
/**
|
|
2444
2683
|
* GET /api/projects/{project_id}/transactions/{transaction_id}
|
|
2445
2684
|
* Returns a single transaction with its full Sentry payload (spans, contexts,
|
|
2446
2685
|
* measurements, tags) for the performance detail view.
|
|
@@ -3353,6 +3592,10 @@ var Rustrak = class Rustrak extends HeyApiClient {
|
|
|
3353
3592
|
get sourceMaps() {
|
|
3354
3593
|
return this._sourceMaps ??= new SourceMaps({ client: this.client });
|
|
3355
3594
|
}
|
|
3595
|
+
_debugFiles;
|
|
3596
|
+
get debugFiles() {
|
|
3597
|
+
return this._debugFiles ??= new DebugFiles({ client: this.client });
|
|
3598
|
+
}
|
|
3356
3599
|
_releases;
|
|
3357
3600
|
get releases() {
|
|
3358
3601
|
return this._releases ??= new Releases({ client: this.client });
|
|
@@ -3463,6 +3706,6 @@ var Rustrak = class Rustrak extends HeyApiClient {
|
|
|
3463
3706
|
}
|
|
3464
3707
|
};
|
|
3465
3708
|
//#endregion
|
|
3466
|
-
export { Agents, AlertChannels, AlertRules, Auth, 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 };
|
|
3709
|
+
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 };
|
|
3467
3710
|
|
|
3468
3711
|
//# sourceMappingURL=sdk.gen.mjs.map
|