@sailfish-ai/recorder 1.8.13 → 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 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
+ }