@sailfish-ai/recorder 1.8.15 → 1.8.17
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/dist/graphql.js +80 -0
- package/dist/{inAppReportIssueModal.js → inAppReportIssueModal/index.js} +660 -83
- package/dist/inAppReportIssueModal/integrations.js +240 -0
- package/dist/inAppReportIssueModal/state.js +69 -0
- package/dist/inAppReportIssueModal/types.js +16 -0
- package/dist/inAppReportIssueModal/ui.js +475 -0
- package/dist/index.js +18 -3
- package/dist/recorder.cjs +1951 -1406
- package/dist/recorder.js +1631 -1084
- package/dist/recorder.js.br +0 -0
- package/dist/recorder.js.gz +0 -0
- package/dist/recorder.umd.cjs +1629 -1084
- package/dist/types/graphql.d.ts +3 -1
- package/dist/types/{inAppReportIssueModal.d.ts → inAppReportIssueModal/index.d.ts} +2 -0
- package/dist/types/inAppReportIssueModal/integrations.d.ts +12 -0
- package/dist/types/inAppReportIssueModal/state.d.ts +18 -0
- package/dist/types/inAppReportIssueModal/types.d.ts +40 -0
- package/dist/types/inAppReportIssueModal/ui.d.ts +6 -0
- package/dist/types/types.d.ts +30 -0
- package/package.json +6 -1
package/dist/graphql.js
CHANGED
|
@@ -125,3 +125,83 @@ export function createTriageFromRecorder(apiKey, backendApi, recordingSessionId,
|
|
|
125
125
|
backendApi,
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
+
export function fetchEngineeringTicketPlatformIntegrations(apiKey, backendApi) {
|
|
129
|
+
return sendGraphQLRequest("GetEngineeringTicketPlatformIntegrationsFromApiKey", `query GetEngineeringTicketPlatformIntegrationsFromApiKey($apiKey: String!) {
|
|
130
|
+
getEngineeringTicketPlatformIntegrationsFromApiKey(apiKey: $apiKey) {
|
|
131
|
+
pushAutoIdentifiedIssues
|
|
132
|
+
provider
|
|
133
|
+
clientId
|
|
134
|
+
defaultPriority
|
|
135
|
+
defaultProject
|
|
136
|
+
defaultTeam
|
|
137
|
+
primaryCloudId
|
|
138
|
+
installed
|
|
139
|
+
projects
|
|
140
|
+
teams
|
|
141
|
+
workflowStates
|
|
142
|
+
webhookState
|
|
143
|
+
clouds
|
|
144
|
+
labels
|
|
145
|
+
sprints
|
|
146
|
+
users
|
|
147
|
+
fieldConfigurations
|
|
148
|
+
invalidFields
|
|
149
|
+
jiraReporterAccountId
|
|
150
|
+
}
|
|
151
|
+
}`, { apiKey, backendApi });
|
|
152
|
+
}
|
|
153
|
+
export function createTriageAndIssueFromRecorder(apiKey, backendApi, recordingSessionId, timestampStart, timestampEnd, description, issueName, issueDescription, createEngineeringTicket, teamId, projectId, priority, labels, issueType, customFields) {
|
|
154
|
+
return sendGraphQLRequest("CreateTriageAndIssueFromRecorder", `mutation CreateTriageAndIssueFromRecorder(
|
|
155
|
+
$apiKey: String!,
|
|
156
|
+
$recordingSessionId: String!,
|
|
157
|
+
$timestampStart: String!,
|
|
158
|
+
$timestampEnd: String!,
|
|
159
|
+
$description: String,
|
|
160
|
+
$issueName: String,
|
|
161
|
+
$issueDescription: String,
|
|
162
|
+
$createEngineeringTicket: Boolean,
|
|
163
|
+
$teamId: String,
|
|
164
|
+
$projectId: String,
|
|
165
|
+
$priority: Int,
|
|
166
|
+
$labels: [String!],
|
|
167
|
+
$issueType: String,
|
|
168
|
+
$customFields: JSON
|
|
169
|
+
) {
|
|
170
|
+
createTriageAndIssueFromRecorder(
|
|
171
|
+
apiKey: $apiKey,
|
|
172
|
+
recordingSessionId: $recordingSessionId,
|
|
173
|
+
timestampStart: $timestampStart,
|
|
174
|
+
timestampEnd: $timestampEnd,
|
|
175
|
+
description: $description,
|
|
176
|
+
issueName: $issueName,
|
|
177
|
+
issueDescription: $issueDescription,
|
|
178
|
+
createEngineeringTicket: $createEngineeringTicket,
|
|
179
|
+
teamId: $teamId,
|
|
180
|
+
projectId: $projectId,
|
|
181
|
+
priority: $priority,
|
|
182
|
+
labels: $labels,
|
|
183
|
+
issueType: $issueType,
|
|
184
|
+
customFields: $customFields
|
|
185
|
+
) {
|
|
186
|
+
id
|
|
187
|
+
title
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
`, {
|
|
191
|
+
apiKey,
|
|
192
|
+
recordingSessionId,
|
|
193
|
+
timestampStart,
|
|
194
|
+
timestampEnd,
|
|
195
|
+
description,
|
|
196
|
+
issueName,
|
|
197
|
+
issueDescription,
|
|
198
|
+
createEngineeringTicket,
|
|
199
|
+
teamId,
|
|
200
|
+
projectId,
|
|
201
|
+
priority,
|
|
202
|
+
labels,
|
|
203
|
+
issueType,
|
|
204
|
+
customFields,
|
|
205
|
+
backendApi,
|
|
206
|
+
});
|
|
207
|
+
}
|