@sentry/api 0.1.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.md +105 -0
- package/README.md +35 -0
- package/dist/client/client.gen.d.ts +2 -0
- package/dist/client/index.d.ts +8 -0
- package/dist/client/types.gen.d.ts +117 -0
- package/dist/client/utils.gen.d.ts +33 -0
- package/dist/client.gen.d.ts +12 -0
- package/dist/core/auth.gen.d.ts +18 -0
- package/dist/core/bodySerializer.gen.d.ts +25 -0
- package/dist/core/params.gen.d.ts +43 -0
- package/dist/core/pathSerializer.gen.d.ts +33 -0
- package/dist/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/core/types.gen.d.ts +78 -0
- package/dist/core/utils.gen.d.ts +19 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2353 -0
- package/dist/sdk.gen.d.ts +1466 -0
- package/dist/types.gen.d.ts +31150 -0
- package/package.json +39 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,2353 @@
|
|
|
1
|
+
// src/core/bodySerializer.gen.ts
|
|
2
|
+
var serializeFormDataPair = (data, key, value) => {
|
|
3
|
+
if (typeof value === "string" || value instanceof Blob) {
|
|
4
|
+
data.append(key, value);
|
|
5
|
+
} else if (value instanceof Date) {
|
|
6
|
+
data.append(key, value.toISOString());
|
|
7
|
+
} else {
|
|
8
|
+
data.append(key, JSON.stringify(value));
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
var formDataBodySerializer = {
|
|
12
|
+
bodySerializer: (body) => {
|
|
13
|
+
const data = new FormData;
|
|
14
|
+
Object.entries(body).forEach(([key, value]) => {
|
|
15
|
+
if (value === undefined || value === null) {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
if (Array.isArray(value)) {
|
|
19
|
+
value.forEach((v) => serializeFormDataPair(data, key, v));
|
|
20
|
+
} else {
|
|
21
|
+
serializeFormDataPair(data, key, value);
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
return data;
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
var jsonBodySerializer = {
|
|
28
|
+
bodySerializer: (body) => JSON.stringify(body, (_key, value) => typeof value === "bigint" ? value.toString() : value)
|
|
29
|
+
};
|
|
30
|
+
// src/core/params.gen.ts
|
|
31
|
+
var extraPrefixesMap = {
|
|
32
|
+
$body_: "body",
|
|
33
|
+
$headers_: "headers",
|
|
34
|
+
$path_: "path",
|
|
35
|
+
$query_: "query"
|
|
36
|
+
};
|
|
37
|
+
var extraPrefixes = Object.entries(extraPrefixesMap);
|
|
38
|
+
// src/core/serverSentEvents.gen.ts
|
|
39
|
+
var createSseClient = ({
|
|
40
|
+
onRequest,
|
|
41
|
+
onSseError,
|
|
42
|
+
onSseEvent,
|
|
43
|
+
responseTransformer,
|
|
44
|
+
responseValidator,
|
|
45
|
+
sseDefaultRetryDelay,
|
|
46
|
+
sseMaxRetryAttempts,
|
|
47
|
+
sseMaxRetryDelay,
|
|
48
|
+
sseSleepFn,
|
|
49
|
+
url,
|
|
50
|
+
...options
|
|
51
|
+
}) => {
|
|
52
|
+
let lastEventId;
|
|
53
|
+
const sleep = sseSleepFn ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms)));
|
|
54
|
+
const createStream = async function* () {
|
|
55
|
+
let retryDelay = sseDefaultRetryDelay ?? 3000;
|
|
56
|
+
let attempt = 0;
|
|
57
|
+
const signal = options.signal ?? new AbortController().signal;
|
|
58
|
+
while (true) {
|
|
59
|
+
if (signal.aborted)
|
|
60
|
+
break;
|
|
61
|
+
attempt++;
|
|
62
|
+
const headers = options.headers instanceof Headers ? options.headers : new Headers(options.headers);
|
|
63
|
+
if (lastEventId !== undefined) {
|
|
64
|
+
headers.set("Last-Event-ID", lastEventId);
|
|
65
|
+
}
|
|
66
|
+
try {
|
|
67
|
+
const requestInit = {
|
|
68
|
+
redirect: "follow",
|
|
69
|
+
...options,
|
|
70
|
+
body: options.serializedBody,
|
|
71
|
+
headers,
|
|
72
|
+
signal
|
|
73
|
+
};
|
|
74
|
+
let request = new Request(url, requestInit);
|
|
75
|
+
if (onRequest) {
|
|
76
|
+
request = await onRequest(url, requestInit);
|
|
77
|
+
}
|
|
78
|
+
const _fetch = options.fetch ?? globalThis.fetch;
|
|
79
|
+
const response = await _fetch(request);
|
|
80
|
+
if (!response.ok)
|
|
81
|
+
throw new Error(`SSE failed: ${response.status} ${response.statusText}`);
|
|
82
|
+
if (!response.body)
|
|
83
|
+
throw new Error("No body in SSE response");
|
|
84
|
+
const reader = response.body.pipeThrough(new TextDecoderStream).getReader();
|
|
85
|
+
let buffer = "";
|
|
86
|
+
const abortHandler = () => {
|
|
87
|
+
try {
|
|
88
|
+
reader.cancel();
|
|
89
|
+
} catch {}
|
|
90
|
+
};
|
|
91
|
+
signal.addEventListener("abort", abortHandler);
|
|
92
|
+
try {
|
|
93
|
+
while (true) {
|
|
94
|
+
const { done, value } = await reader.read();
|
|
95
|
+
if (done)
|
|
96
|
+
break;
|
|
97
|
+
buffer += value;
|
|
98
|
+
buffer = buffer.replace(/\r\n/g, `
|
|
99
|
+
`).replace(/\r/g, `
|
|
100
|
+
`);
|
|
101
|
+
const chunks = buffer.split(`
|
|
102
|
+
|
|
103
|
+
`);
|
|
104
|
+
buffer = chunks.pop() ?? "";
|
|
105
|
+
for (const chunk of chunks) {
|
|
106
|
+
const lines = chunk.split(`
|
|
107
|
+
`);
|
|
108
|
+
const dataLines = [];
|
|
109
|
+
let eventName;
|
|
110
|
+
for (const line of lines) {
|
|
111
|
+
if (line.startsWith("data:")) {
|
|
112
|
+
dataLines.push(line.replace(/^data:\s*/, ""));
|
|
113
|
+
} else if (line.startsWith("event:")) {
|
|
114
|
+
eventName = line.replace(/^event:\s*/, "");
|
|
115
|
+
} else if (line.startsWith("id:")) {
|
|
116
|
+
lastEventId = line.replace(/^id:\s*/, "");
|
|
117
|
+
} else if (line.startsWith("retry:")) {
|
|
118
|
+
const parsed = Number.parseInt(line.replace(/^retry:\s*/, ""), 10);
|
|
119
|
+
if (!Number.isNaN(parsed)) {
|
|
120
|
+
retryDelay = parsed;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
let data;
|
|
125
|
+
let parsedJson = false;
|
|
126
|
+
if (dataLines.length) {
|
|
127
|
+
const rawData = dataLines.join(`
|
|
128
|
+
`);
|
|
129
|
+
try {
|
|
130
|
+
data = JSON.parse(rawData);
|
|
131
|
+
parsedJson = true;
|
|
132
|
+
} catch {
|
|
133
|
+
data = rawData;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
if (parsedJson) {
|
|
137
|
+
if (responseValidator) {
|
|
138
|
+
await responseValidator(data);
|
|
139
|
+
}
|
|
140
|
+
if (responseTransformer) {
|
|
141
|
+
data = await responseTransformer(data);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
onSseEvent?.({
|
|
145
|
+
data,
|
|
146
|
+
event: eventName,
|
|
147
|
+
id: lastEventId,
|
|
148
|
+
retry: retryDelay
|
|
149
|
+
});
|
|
150
|
+
if (dataLines.length) {
|
|
151
|
+
yield data;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
} finally {
|
|
156
|
+
signal.removeEventListener("abort", abortHandler);
|
|
157
|
+
reader.releaseLock();
|
|
158
|
+
}
|
|
159
|
+
break;
|
|
160
|
+
} catch (error) {
|
|
161
|
+
onSseError?.(error);
|
|
162
|
+
if (sseMaxRetryAttempts !== undefined && attempt >= sseMaxRetryAttempts) {
|
|
163
|
+
break;
|
|
164
|
+
}
|
|
165
|
+
const backoff = Math.min(retryDelay * 2 ** (attempt - 1), sseMaxRetryDelay ?? 30000);
|
|
166
|
+
await sleep(backoff);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
const stream = createStream();
|
|
171
|
+
return { stream };
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
// src/core/pathSerializer.gen.ts
|
|
175
|
+
var separatorArrayExplode = (style) => {
|
|
176
|
+
switch (style) {
|
|
177
|
+
case "label":
|
|
178
|
+
return ".";
|
|
179
|
+
case "matrix":
|
|
180
|
+
return ";";
|
|
181
|
+
case "simple":
|
|
182
|
+
return ",";
|
|
183
|
+
default:
|
|
184
|
+
return "&";
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
var separatorArrayNoExplode = (style) => {
|
|
188
|
+
switch (style) {
|
|
189
|
+
case "form":
|
|
190
|
+
return ",";
|
|
191
|
+
case "pipeDelimited":
|
|
192
|
+
return "|";
|
|
193
|
+
case "spaceDelimited":
|
|
194
|
+
return "%20";
|
|
195
|
+
default:
|
|
196
|
+
return ",";
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
var separatorObjectExplode = (style) => {
|
|
200
|
+
switch (style) {
|
|
201
|
+
case "label":
|
|
202
|
+
return ".";
|
|
203
|
+
case "matrix":
|
|
204
|
+
return ";";
|
|
205
|
+
case "simple":
|
|
206
|
+
return ",";
|
|
207
|
+
default:
|
|
208
|
+
return "&";
|
|
209
|
+
}
|
|
210
|
+
};
|
|
211
|
+
var serializeArrayParam = ({
|
|
212
|
+
allowReserved,
|
|
213
|
+
explode,
|
|
214
|
+
name,
|
|
215
|
+
style,
|
|
216
|
+
value
|
|
217
|
+
}) => {
|
|
218
|
+
if (!explode) {
|
|
219
|
+
const joinedValues2 = (allowReserved ? value : value.map((v) => encodeURIComponent(v))).join(separatorArrayNoExplode(style));
|
|
220
|
+
switch (style) {
|
|
221
|
+
case "label":
|
|
222
|
+
return `.${joinedValues2}`;
|
|
223
|
+
case "matrix":
|
|
224
|
+
return `;${name}=${joinedValues2}`;
|
|
225
|
+
case "simple":
|
|
226
|
+
return joinedValues2;
|
|
227
|
+
default:
|
|
228
|
+
return `${name}=${joinedValues2}`;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
const separator = separatorArrayExplode(style);
|
|
232
|
+
const joinedValues = value.map((v) => {
|
|
233
|
+
if (style === "label" || style === "simple") {
|
|
234
|
+
return allowReserved ? v : encodeURIComponent(v);
|
|
235
|
+
}
|
|
236
|
+
return serializePrimitiveParam({
|
|
237
|
+
allowReserved,
|
|
238
|
+
name,
|
|
239
|
+
value: v
|
|
240
|
+
});
|
|
241
|
+
}).join(separator);
|
|
242
|
+
return style === "label" || style === "matrix" ? separator + joinedValues : joinedValues;
|
|
243
|
+
};
|
|
244
|
+
var serializePrimitiveParam = ({
|
|
245
|
+
allowReserved,
|
|
246
|
+
name,
|
|
247
|
+
value
|
|
248
|
+
}) => {
|
|
249
|
+
if (value === undefined || value === null) {
|
|
250
|
+
return "";
|
|
251
|
+
}
|
|
252
|
+
if (typeof value === "object") {
|
|
253
|
+
throw new Error("Deeply-nested arrays/objects aren’t supported. Provide your own `querySerializer()` to handle these.");
|
|
254
|
+
}
|
|
255
|
+
return `${name}=${allowReserved ? value : encodeURIComponent(value)}`;
|
|
256
|
+
};
|
|
257
|
+
var serializeObjectParam = ({
|
|
258
|
+
allowReserved,
|
|
259
|
+
explode,
|
|
260
|
+
name,
|
|
261
|
+
style,
|
|
262
|
+
value,
|
|
263
|
+
valueOnly
|
|
264
|
+
}) => {
|
|
265
|
+
if (value instanceof Date) {
|
|
266
|
+
return valueOnly ? value.toISOString() : `${name}=${value.toISOString()}`;
|
|
267
|
+
}
|
|
268
|
+
if (style !== "deepObject" && !explode) {
|
|
269
|
+
let values = [];
|
|
270
|
+
Object.entries(value).forEach(([key, v]) => {
|
|
271
|
+
values = [...values, key, allowReserved ? v : encodeURIComponent(v)];
|
|
272
|
+
});
|
|
273
|
+
const joinedValues2 = values.join(",");
|
|
274
|
+
switch (style) {
|
|
275
|
+
case "form":
|
|
276
|
+
return `${name}=${joinedValues2}`;
|
|
277
|
+
case "label":
|
|
278
|
+
return `.${joinedValues2}`;
|
|
279
|
+
case "matrix":
|
|
280
|
+
return `;${name}=${joinedValues2}`;
|
|
281
|
+
default:
|
|
282
|
+
return joinedValues2;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
const separator = separatorObjectExplode(style);
|
|
286
|
+
const joinedValues = Object.entries(value).map(([key, v]) => serializePrimitiveParam({
|
|
287
|
+
allowReserved,
|
|
288
|
+
name: style === "deepObject" ? `${name}[${key}]` : key,
|
|
289
|
+
value: v
|
|
290
|
+
})).join(separator);
|
|
291
|
+
return style === "label" || style === "matrix" ? separator + joinedValues : joinedValues;
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
// src/core/utils.gen.ts
|
|
295
|
+
var PATH_PARAM_RE = /\{[^{}]+\}/g;
|
|
296
|
+
var defaultPathSerializer = ({ path, url: _url }) => {
|
|
297
|
+
let url = _url;
|
|
298
|
+
const matches = _url.match(PATH_PARAM_RE);
|
|
299
|
+
if (matches) {
|
|
300
|
+
for (const match of matches) {
|
|
301
|
+
let explode = false;
|
|
302
|
+
let name = match.substring(1, match.length - 1);
|
|
303
|
+
let style = "simple";
|
|
304
|
+
if (name.endsWith("*")) {
|
|
305
|
+
explode = true;
|
|
306
|
+
name = name.substring(0, name.length - 1);
|
|
307
|
+
}
|
|
308
|
+
if (name.startsWith(".")) {
|
|
309
|
+
name = name.substring(1);
|
|
310
|
+
style = "label";
|
|
311
|
+
} else if (name.startsWith(";")) {
|
|
312
|
+
name = name.substring(1);
|
|
313
|
+
style = "matrix";
|
|
314
|
+
}
|
|
315
|
+
const value = path[name];
|
|
316
|
+
if (value === undefined || value === null) {
|
|
317
|
+
continue;
|
|
318
|
+
}
|
|
319
|
+
if (Array.isArray(value)) {
|
|
320
|
+
url = url.replace(match, serializeArrayParam({ explode, name, style, value }));
|
|
321
|
+
continue;
|
|
322
|
+
}
|
|
323
|
+
if (typeof value === "object") {
|
|
324
|
+
url = url.replace(match, serializeObjectParam({
|
|
325
|
+
explode,
|
|
326
|
+
name,
|
|
327
|
+
style,
|
|
328
|
+
value,
|
|
329
|
+
valueOnly: true
|
|
330
|
+
}));
|
|
331
|
+
continue;
|
|
332
|
+
}
|
|
333
|
+
if (style === "matrix") {
|
|
334
|
+
url = url.replace(match, `;${serializePrimitiveParam({
|
|
335
|
+
name,
|
|
336
|
+
value
|
|
337
|
+
})}`);
|
|
338
|
+
continue;
|
|
339
|
+
}
|
|
340
|
+
const replaceValue = encodeURIComponent(style === "label" ? `.${value}` : value);
|
|
341
|
+
url = url.replace(match, replaceValue);
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
return url;
|
|
345
|
+
};
|
|
346
|
+
var getUrl = ({
|
|
347
|
+
baseUrl,
|
|
348
|
+
path,
|
|
349
|
+
query,
|
|
350
|
+
querySerializer,
|
|
351
|
+
url: _url
|
|
352
|
+
}) => {
|
|
353
|
+
const pathUrl = _url.startsWith("/") ? _url : `/${_url}`;
|
|
354
|
+
let url = (baseUrl ?? "") + pathUrl;
|
|
355
|
+
if (path) {
|
|
356
|
+
url = defaultPathSerializer({ path, url });
|
|
357
|
+
}
|
|
358
|
+
let search = query ? querySerializer(query) : "";
|
|
359
|
+
if (search.startsWith("?")) {
|
|
360
|
+
search = search.substring(1);
|
|
361
|
+
}
|
|
362
|
+
if (search) {
|
|
363
|
+
url += `?${search}`;
|
|
364
|
+
}
|
|
365
|
+
return url;
|
|
366
|
+
};
|
|
367
|
+
function getValidRequestBody(options) {
|
|
368
|
+
const hasBody = options.body !== undefined;
|
|
369
|
+
const isSerializedBody = hasBody && options.bodySerializer;
|
|
370
|
+
if (isSerializedBody) {
|
|
371
|
+
if ("serializedBody" in options) {
|
|
372
|
+
const hasSerializedBody = options.serializedBody !== undefined && options.serializedBody !== "";
|
|
373
|
+
return hasSerializedBody ? options.serializedBody : null;
|
|
374
|
+
}
|
|
375
|
+
return options.body !== "" ? options.body : null;
|
|
376
|
+
}
|
|
377
|
+
if (hasBody) {
|
|
378
|
+
return options.body;
|
|
379
|
+
}
|
|
380
|
+
return;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
// src/core/auth.gen.ts
|
|
384
|
+
var getAuthToken = async (auth, callback) => {
|
|
385
|
+
const token = typeof callback === "function" ? await callback(auth) : callback;
|
|
386
|
+
if (!token) {
|
|
387
|
+
return;
|
|
388
|
+
}
|
|
389
|
+
if (auth.scheme === "bearer") {
|
|
390
|
+
return `Bearer ${token}`;
|
|
391
|
+
}
|
|
392
|
+
if (auth.scheme === "basic") {
|
|
393
|
+
return `Basic ${btoa(token)}`;
|
|
394
|
+
}
|
|
395
|
+
return token;
|
|
396
|
+
};
|
|
397
|
+
|
|
398
|
+
// src/client/utils.gen.ts
|
|
399
|
+
var createQuerySerializer = ({
|
|
400
|
+
parameters = {},
|
|
401
|
+
...args
|
|
402
|
+
} = {}) => {
|
|
403
|
+
const querySerializer = (queryParams) => {
|
|
404
|
+
const search = [];
|
|
405
|
+
if (queryParams && typeof queryParams === "object") {
|
|
406
|
+
for (const name in queryParams) {
|
|
407
|
+
const value = queryParams[name];
|
|
408
|
+
if (value === undefined || value === null) {
|
|
409
|
+
continue;
|
|
410
|
+
}
|
|
411
|
+
const options = parameters[name] || args;
|
|
412
|
+
if (Array.isArray(value)) {
|
|
413
|
+
const serializedArray = serializeArrayParam({
|
|
414
|
+
allowReserved: options.allowReserved,
|
|
415
|
+
explode: true,
|
|
416
|
+
name,
|
|
417
|
+
style: "form",
|
|
418
|
+
value,
|
|
419
|
+
...options.array
|
|
420
|
+
});
|
|
421
|
+
if (serializedArray)
|
|
422
|
+
search.push(serializedArray);
|
|
423
|
+
} else if (typeof value === "object") {
|
|
424
|
+
const serializedObject = serializeObjectParam({
|
|
425
|
+
allowReserved: options.allowReserved,
|
|
426
|
+
explode: true,
|
|
427
|
+
name,
|
|
428
|
+
style: "deepObject",
|
|
429
|
+
value,
|
|
430
|
+
...options.object
|
|
431
|
+
});
|
|
432
|
+
if (serializedObject)
|
|
433
|
+
search.push(serializedObject);
|
|
434
|
+
} else {
|
|
435
|
+
const serializedPrimitive = serializePrimitiveParam({
|
|
436
|
+
allowReserved: options.allowReserved,
|
|
437
|
+
name,
|
|
438
|
+
value
|
|
439
|
+
});
|
|
440
|
+
if (serializedPrimitive)
|
|
441
|
+
search.push(serializedPrimitive);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
return search.join("&");
|
|
446
|
+
};
|
|
447
|
+
return querySerializer;
|
|
448
|
+
};
|
|
449
|
+
var getParseAs = (contentType) => {
|
|
450
|
+
if (!contentType) {
|
|
451
|
+
return "stream";
|
|
452
|
+
}
|
|
453
|
+
const cleanContent = contentType.split(";")[0]?.trim();
|
|
454
|
+
if (!cleanContent) {
|
|
455
|
+
return;
|
|
456
|
+
}
|
|
457
|
+
if (cleanContent.startsWith("application/json") || cleanContent.endsWith("+json")) {
|
|
458
|
+
return "json";
|
|
459
|
+
}
|
|
460
|
+
if (cleanContent === "multipart/form-data") {
|
|
461
|
+
return "formData";
|
|
462
|
+
}
|
|
463
|
+
if (["application/", "audio/", "image/", "video/"].some((type) => cleanContent.startsWith(type))) {
|
|
464
|
+
return "blob";
|
|
465
|
+
}
|
|
466
|
+
if (cleanContent.startsWith("text/")) {
|
|
467
|
+
return "text";
|
|
468
|
+
}
|
|
469
|
+
return;
|
|
470
|
+
};
|
|
471
|
+
var checkForExistence = (options, name) => {
|
|
472
|
+
if (!name) {
|
|
473
|
+
return false;
|
|
474
|
+
}
|
|
475
|
+
if (options.headers.has(name) || options.query?.[name] || options.headers.get("Cookie")?.includes(`${name}=`)) {
|
|
476
|
+
return true;
|
|
477
|
+
}
|
|
478
|
+
return false;
|
|
479
|
+
};
|
|
480
|
+
var setAuthParams = async ({
|
|
481
|
+
security,
|
|
482
|
+
...options
|
|
483
|
+
}) => {
|
|
484
|
+
for (const auth of security) {
|
|
485
|
+
if (checkForExistence(options, auth.name)) {
|
|
486
|
+
continue;
|
|
487
|
+
}
|
|
488
|
+
const token = await getAuthToken(auth, options.auth);
|
|
489
|
+
if (!token) {
|
|
490
|
+
continue;
|
|
491
|
+
}
|
|
492
|
+
const name = auth.name ?? "Authorization";
|
|
493
|
+
switch (auth.in) {
|
|
494
|
+
case "query":
|
|
495
|
+
if (!options.query) {
|
|
496
|
+
options.query = {};
|
|
497
|
+
}
|
|
498
|
+
options.query[name] = token;
|
|
499
|
+
break;
|
|
500
|
+
case "cookie":
|
|
501
|
+
options.headers.append("Cookie", `${name}=${token}`);
|
|
502
|
+
break;
|
|
503
|
+
case "header":
|
|
504
|
+
default:
|
|
505
|
+
options.headers.set(name, token);
|
|
506
|
+
break;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
};
|
|
510
|
+
var buildUrl = (options) => getUrl({
|
|
511
|
+
baseUrl: options.baseUrl,
|
|
512
|
+
path: options.path,
|
|
513
|
+
query: options.query,
|
|
514
|
+
querySerializer: typeof options.querySerializer === "function" ? options.querySerializer : createQuerySerializer(options.querySerializer),
|
|
515
|
+
url: options.url
|
|
516
|
+
});
|
|
517
|
+
var mergeConfigs = (a, b) => {
|
|
518
|
+
const config = { ...a, ...b };
|
|
519
|
+
if (config.baseUrl?.endsWith("/")) {
|
|
520
|
+
config.baseUrl = config.baseUrl.substring(0, config.baseUrl.length - 1);
|
|
521
|
+
}
|
|
522
|
+
config.headers = mergeHeaders(a.headers, b.headers);
|
|
523
|
+
return config;
|
|
524
|
+
};
|
|
525
|
+
var headersEntries = (headers) => {
|
|
526
|
+
const entries = [];
|
|
527
|
+
headers.forEach((value, key) => {
|
|
528
|
+
entries.push([key, value]);
|
|
529
|
+
});
|
|
530
|
+
return entries;
|
|
531
|
+
};
|
|
532
|
+
var mergeHeaders = (...headers) => {
|
|
533
|
+
const mergedHeaders = new Headers;
|
|
534
|
+
for (const header of headers) {
|
|
535
|
+
if (!header) {
|
|
536
|
+
continue;
|
|
537
|
+
}
|
|
538
|
+
const iterator = header instanceof Headers ? headersEntries(header) : Object.entries(header);
|
|
539
|
+
for (const [key, value] of iterator) {
|
|
540
|
+
if (value === null) {
|
|
541
|
+
mergedHeaders.delete(key);
|
|
542
|
+
} else if (Array.isArray(value)) {
|
|
543
|
+
for (const v of value) {
|
|
544
|
+
mergedHeaders.append(key, v);
|
|
545
|
+
}
|
|
546
|
+
} else if (value !== undefined) {
|
|
547
|
+
mergedHeaders.set(key, typeof value === "object" ? JSON.stringify(value) : value);
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
return mergedHeaders;
|
|
552
|
+
};
|
|
553
|
+
|
|
554
|
+
class Interceptors {
|
|
555
|
+
fns = [];
|
|
556
|
+
clear() {
|
|
557
|
+
this.fns = [];
|
|
558
|
+
}
|
|
559
|
+
eject(id) {
|
|
560
|
+
const index = this.getInterceptorIndex(id);
|
|
561
|
+
if (this.fns[index]) {
|
|
562
|
+
this.fns[index] = null;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
exists(id) {
|
|
566
|
+
const index = this.getInterceptorIndex(id);
|
|
567
|
+
return Boolean(this.fns[index]);
|
|
568
|
+
}
|
|
569
|
+
getInterceptorIndex(id) {
|
|
570
|
+
if (typeof id === "number") {
|
|
571
|
+
return this.fns[id] ? id : -1;
|
|
572
|
+
}
|
|
573
|
+
return this.fns.indexOf(id);
|
|
574
|
+
}
|
|
575
|
+
update(id, fn) {
|
|
576
|
+
const index = this.getInterceptorIndex(id);
|
|
577
|
+
if (this.fns[index]) {
|
|
578
|
+
this.fns[index] = fn;
|
|
579
|
+
return id;
|
|
580
|
+
}
|
|
581
|
+
return false;
|
|
582
|
+
}
|
|
583
|
+
use(fn) {
|
|
584
|
+
this.fns.push(fn);
|
|
585
|
+
return this.fns.length - 1;
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
var createInterceptors = () => ({
|
|
589
|
+
error: new Interceptors,
|
|
590
|
+
request: new Interceptors,
|
|
591
|
+
response: new Interceptors
|
|
592
|
+
});
|
|
593
|
+
var defaultQuerySerializer = createQuerySerializer({
|
|
594
|
+
allowReserved: false,
|
|
595
|
+
array: {
|
|
596
|
+
explode: true,
|
|
597
|
+
style: "form"
|
|
598
|
+
},
|
|
599
|
+
object: {
|
|
600
|
+
explode: true,
|
|
601
|
+
style: "deepObject"
|
|
602
|
+
}
|
|
603
|
+
});
|
|
604
|
+
var defaultHeaders = {
|
|
605
|
+
"Content-Type": "application/json"
|
|
606
|
+
};
|
|
607
|
+
var createConfig = (override = {}) => ({
|
|
608
|
+
...jsonBodySerializer,
|
|
609
|
+
headers: defaultHeaders,
|
|
610
|
+
parseAs: "auto",
|
|
611
|
+
querySerializer: defaultQuerySerializer,
|
|
612
|
+
...override
|
|
613
|
+
});
|
|
614
|
+
|
|
615
|
+
// src/client/client.gen.ts
|
|
616
|
+
var createClient = (config = {}) => {
|
|
617
|
+
let _config = mergeConfigs(createConfig(), config);
|
|
618
|
+
const getConfig = () => ({ ..._config });
|
|
619
|
+
const setConfig = (config2) => {
|
|
620
|
+
_config = mergeConfigs(_config, config2);
|
|
621
|
+
return getConfig();
|
|
622
|
+
};
|
|
623
|
+
const interceptors = createInterceptors();
|
|
624
|
+
const beforeRequest = async (options) => {
|
|
625
|
+
const opts = {
|
|
626
|
+
..._config,
|
|
627
|
+
...options,
|
|
628
|
+
fetch: options.fetch ?? _config.fetch ?? globalThis.fetch,
|
|
629
|
+
headers: mergeHeaders(_config.headers, options.headers),
|
|
630
|
+
serializedBody: undefined
|
|
631
|
+
};
|
|
632
|
+
if (opts.security) {
|
|
633
|
+
await setAuthParams({
|
|
634
|
+
...opts,
|
|
635
|
+
security: opts.security
|
|
636
|
+
});
|
|
637
|
+
}
|
|
638
|
+
if (opts.requestValidator) {
|
|
639
|
+
await opts.requestValidator(opts);
|
|
640
|
+
}
|
|
641
|
+
if (opts.body !== undefined && opts.bodySerializer) {
|
|
642
|
+
opts.serializedBody = opts.bodySerializer(opts.body);
|
|
643
|
+
}
|
|
644
|
+
if (opts.body === undefined || opts.serializedBody === "") {
|
|
645
|
+
opts.headers.delete("Content-Type");
|
|
646
|
+
}
|
|
647
|
+
const url = buildUrl(opts);
|
|
648
|
+
return { opts, url };
|
|
649
|
+
};
|
|
650
|
+
const request = async (options) => {
|
|
651
|
+
const { opts, url } = await beforeRequest(options);
|
|
652
|
+
const requestInit = {
|
|
653
|
+
redirect: "follow",
|
|
654
|
+
...opts,
|
|
655
|
+
body: getValidRequestBody(opts)
|
|
656
|
+
};
|
|
657
|
+
let request2 = new Request(url, requestInit);
|
|
658
|
+
for (const fn of interceptors.request.fns) {
|
|
659
|
+
if (fn) {
|
|
660
|
+
request2 = await fn(request2, opts);
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
const _fetch = opts.fetch;
|
|
664
|
+
let response;
|
|
665
|
+
try {
|
|
666
|
+
response = await _fetch(request2);
|
|
667
|
+
} catch (error2) {
|
|
668
|
+
let finalError2 = error2;
|
|
669
|
+
for (const fn of interceptors.error.fns) {
|
|
670
|
+
if (fn) {
|
|
671
|
+
finalError2 = await fn(error2, undefined, request2, opts);
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
finalError2 = finalError2 || {};
|
|
675
|
+
if (opts.throwOnError) {
|
|
676
|
+
throw finalError2;
|
|
677
|
+
}
|
|
678
|
+
return opts.responseStyle === "data" ? undefined : {
|
|
679
|
+
error: finalError2,
|
|
680
|
+
request: request2,
|
|
681
|
+
response: undefined
|
|
682
|
+
};
|
|
683
|
+
}
|
|
684
|
+
for (const fn of interceptors.response.fns) {
|
|
685
|
+
if (fn) {
|
|
686
|
+
response = await fn(response, request2, opts);
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
const result = {
|
|
690
|
+
request: request2,
|
|
691
|
+
response
|
|
692
|
+
};
|
|
693
|
+
if (response.ok) {
|
|
694
|
+
const parseAs = (opts.parseAs === "auto" ? getParseAs(response.headers.get("Content-Type")) : opts.parseAs) ?? "json";
|
|
695
|
+
if (response.status === 204 || response.headers.get("Content-Length") === "0") {
|
|
696
|
+
let emptyData;
|
|
697
|
+
switch (parseAs) {
|
|
698
|
+
case "arrayBuffer":
|
|
699
|
+
case "blob":
|
|
700
|
+
case "text":
|
|
701
|
+
emptyData = await response[parseAs]();
|
|
702
|
+
break;
|
|
703
|
+
case "formData":
|
|
704
|
+
emptyData = new FormData;
|
|
705
|
+
break;
|
|
706
|
+
case "stream":
|
|
707
|
+
emptyData = response.body;
|
|
708
|
+
break;
|
|
709
|
+
case "json":
|
|
710
|
+
default:
|
|
711
|
+
emptyData = {};
|
|
712
|
+
break;
|
|
713
|
+
}
|
|
714
|
+
return opts.responseStyle === "data" ? emptyData : {
|
|
715
|
+
data: emptyData,
|
|
716
|
+
...result
|
|
717
|
+
};
|
|
718
|
+
}
|
|
719
|
+
let data;
|
|
720
|
+
switch (parseAs) {
|
|
721
|
+
case "arrayBuffer":
|
|
722
|
+
case "blob":
|
|
723
|
+
case "formData":
|
|
724
|
+
case "text":
|
|
725
|
+
data = await response[parseAs]();
|
|
726
|
+
break;
|
|
727
|
+
case "json": {
|
|
728
|
+
const text = await response.text();
|
|
729
|
+
data = text ? JSON.parse(text) : {};
|
|
730
|
+
break;
|
|
731
|
+
}
|
|
732
|
+
case "stream":
|
|
733
|
+
return opts.responseStyle === "data" ? response.body : {
|
|
734
|
+
data: response.body,
|
|
735
|
+
...result
|
|
736
|
+
};
|
|
737
|
+
}
|
|
738
|
+
if (parseAs === "json") {
|
|
739
|
+
if (opts.responseValidator) {
|
|
740
|
+
await opts.responseValidator(data);
|
|
741
|
+
}
|
|
742
|
+
if (opts.responseTransformer) {
|
|
743
|
+
data = await opts.responseTransformer(data);
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
return opts.responseStyle === "data" ? data : {
|
|
747
|
+
data,
|
|
748
|
+
...result
|
|
749
|
+
};
|
|
750
|
+
}
|
|
751
|
+
const textError = await response.text();
|
|
752
|
+
let jsonError;
|
|
753
|
+
try {
|
|
754
|
+
jsonError = JSON.parse(textError);
|
|
755
|
+
} catch {}
|
|
756
|
+
const error = jsonError ?? textError;
|
|
757
|
+
let finalError = error;
|
|
758
|
+
for (const fn of interceptors.error.fns) {
|
|
759
|
+
if (fn) {
|
|
760
|
+
finalError = await fn(error, response, request2, opts);
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
finalError = finalError || {};
|
|
764
|
+
if (opts.throwOnError) {
|
|
765
|
+
throw finalError;
|
|
766
|
+
}
|
|
767
|
+
return opts.responseStyle === "data" ? undefined : {
|
|
768
|
+
error: finalError,
|
|
769
|
+
...result
|
|
770
|
+
};
|
|
771
|
+
};
|
|
772
|
+
const makeMethodFn = (method) => (options) => request({ ...options, method });
|
|
773
|
+
const makeSseFn = (method) => async (options) => {
|
|
774
|
+
const { opts, url } = await beforeRequest(options);
|
|
775
|
+
return createSseClient({
|
|
776
|
+
...opts,
|
|
777
|
+
body: opts.body,
|
|
778
|
+
headers: opts.headers,
|
|
779
|
+
method,
|
|
780
|
+
onRequest: async (url2, init) => {
|
|
781
|
+
let request2 = new Request(url2, init);
|
|
782
|
+
for (const fn of interceptors.request.fns) {
|
|
783
|
+
if (fn) {
|
|
784
|
+
request2 = await fn(request2, opts);
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
return request2;
|
|
788
|
+
},
|
|
789
|
+
serializedBody: getValidRequestBody(opts),
|
|
790
|
+
url
|
|
791
|
+
});
|
|
792
|
+
};
|
|
793
|
+
return {
|
|
794
|
+
buildUrl,
|
|
795
|
+
connect: makeMethodFn("CONNECT"),
|
|
796
|
+
delete: makeMethodFn("DELETE"),
|
|
797
|
+
get: makeMethodFn("GET"),
|
|
798
|
+
getConfig,
|
|
799
|
+
head: makeMethodFn("HEAD"),
|
|
800
|
+
interceptors,
|
|
801
|
+
options: makeMethodFn("OPTIONS"),
|
|
802
|
+
patch: makeMethodFn("PATCH"),
|
|
803
|
+
post: makeMethodFn("POST"),
|
|
804
|
+
put: makeMethodFn("PUT"),
|
|
805
|
+
request,
|
|
806
|
+
setConfig,
|
|
807
|
+
sse: {
|
|
808
|
+
connect: makeSseFn("CONNECT"),
|
|
809
|
+
delete: makeSseFn("DELETE"),
|
|
810
|
+
get: makeSseFn("GET"),
|
|
811
|
+
head: makeSseFn("HEAD"),
|
|
812
|
+
options: makeSseFn("OPTIONS"),
|
|
813
|
+
patch: makeSseFn("PATCH"),
|
|
814
|
+
post: makeSseFn("POST"),
|
|
815
|
+
put: makeSseFn("PUT"),
|
|
816
|
+
trace: makeSseFn("TRACE")
|
|
817
|
+
},
|
|
818
|
+
trace: makeMethodFn("TRACE")
|
|
819
|
+
};
|
|
820
|
+
};
|
|
821
|
+
// src/client.gen.ts
|
|
822
|
+
var client = createClient(createConfig());
|
|
823
|
+
|
|
824
|
+
// src/sdk.gen.ts
|
|
825
|
+
var listYourOrganizations = (options) => (options?.client ?? client).get({
|
|
826
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
827
|
+
url: "/api/0/organizations/",
|
|
828
|
+
...options
|
|
829
|
+
});
|
|
830
|
+
var retrieveAnOrganization = (options) => (options.client ?? client).get({
|
|
831
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
832
|
+
url: "/api/0/organizations/{organization_id_or_slug}/",
|
|
833
|
+
...options
|
|
834
|
+
});
|
|
835
|
+
var updateAnOrganization = (options) => (options.client ?? client).put({
|
|
836
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
837
|
+
url: "/api/0/organizations/{organization_id_or_slug}/",
|
|
838
|
+
...options,
|
|
839
|
+
headers: {
|
|
840
|
+
"Content-Type": "application/json",
|
|
841
|
+
...options.headers
|
|
842
|
+
}
|
|
843
|
+
});
|
|
844
|
+
var deprecatedListAnOrganization_sMetricAlertRules = (options) => (options.client ?? client).get({
|
|
845
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
846
|
+
url: "/api/0/organizations/{organization_id_or_slug}/alert-rules/",
|
|
847
|
+
...options
|
|
848
|
+
});
|
|
849
|
+
var deprecatedCreateAMetricAlertRuleForAnOrganization = (options) => (options.client ?? client).post({
|
|
850
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
851
|
+
url: "/api/0/organizations/{organization_id_or_slug}/alert-rules/",
|
|
852
|
+
...options,
|
|
853
|
+
headers: {
|
|
854
|
+
"Content-Type": "application/json",
|
|
855
|
+
...options.headers
|
|
856
|
+
}
|
|
857
|
+
});
|
|
858
|
+
var deprecatedDeleteAMetricAlertRule = (options) => (options.client ?? client).delete({
|
|
859
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
860
|
+
url: "/api/0/organizations/{organization_id_or_slug}/alert-rules/{alert_rule_id}/",
|
|
861
|
+
...options
|
|
862
|
+
});
|
|
863
|
+
var deprecatedRetrieveAMetricAlertRuleForAnOrganization = (options) => (options.client ?? client).get({
|
|
864
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
865
|
+
url: "/api/0/organizations/{organization_id_or_slug}/alert-rules/{alert_rule_id}/",
|
|
866
|
+
...options
|
|
867
|
+
});
|
|
868
|
+
var deprecatedUpdateAMetricAlertRule = (options) => (options.client ?? client).put({
|
|
869
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
870
|
+
url: "/api/0/organizations/{organization_id_or_slug}/alert-rules/{alert_rule_id}/",
|
|
871
|
+
...options,
|
|
872
|
+
headers: {
|
|
873
|
+
"Content-Type": "application/json",
|
|
874
|
+
...options.headers
|
|
875
|
+
}
|
|
876
|
+
});
|
|
877
|
+
var getIntegrationProviderInformation = (options) => (options.client ?? client).get({
|
|
878
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
879
|
+
url: "/api/0/organizations/{organization_id_or_slug}/config/integrations/",
|
|
880
|
+
...options
|
|
881
|
+
});
|
|
882
|
+
var listAnOrganization_sCustomDashboards = (options) => (options.client ?? client).get({
|
|
883
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
884
|
+
url: "/api/0/organizations/{organization_id_or_slug}/dashboards/",
|
|
885
|
+
...options
|
|
886
|
+
});
|
|
887
|
+
var createANewDashboardForAnOrganization = (options) => (options.client ?? client).post({
|
|
888
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
889
|
+
url: "/api/0/organizations/{organization_id_or_slug}/dashboards/",
|
|
890
|
+
...options,
|
|
891
|
+
headers: {
|
|
892
|
+
"Content-Type": "application/json",
|
|
893
|
+
...options.headers
|
|
894
|
+
}
|
|
895
|
+
});
|
|
896
|
+
var deleteAnOrganization_sCustomDashboard = (options) => (options.client ?? client).delete({
|
|
897
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
898
|
+
url: "/api/0/organizations/{organization_id_or_slug}/dashboards/{dashboard_id}/",
|
|
899
|
+
...options
|
|
900
|
+
});
|
|
901
|
+
var retrieveAnOrganization_sCustomDashboard = (options) => (options.client ?? client).get({
|
|
902
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
903
|
+
url: "/api/0/organizations/{organization_id_or_slug}/dashboards/{dashboard_id}/",
|
|
904
|
+
...options
|
|
905
|
+
});
|
|
906
|
+
var editAnOrganization_sCustomDashboard = (options) => (options.client ?? client).put({
|
|
907
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
908
|
+
url: "/api/0/organizations/{organization_id_or_slug}/dashboards/{dashboard_id}/",
|
|
909
|
+
...options,
|
|
910
|
+
headers: {
|
|
911
|
+
"Content-Type": "application/json",
|
|
912
|
+
...options.headers
|
|
913
|
+
}
|
|
914
|
+
});
|
|
915
|
+
var bulkDeleteMonitors = (options) => (options.client ?? client).delete({
|
|
916
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
917
|
+
url: "/api/0/organizations/{organization_id_or_slug}/detectors/",
|
|
918
|
+
...options
|
|
919
|
+
});
|
|
920
|
+
var fetchAnOrganization_sMonitors = (options) => (options.client ?? client).get({
|
|
921
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
922
|
+
url: "/api/0/organizations/{organization_id_or_slug}/detectors/",
|
|
923
|
+
...options
|
|
924
|
+
});
|
|
925
|
+
var createAMonitorForAProject = (options) => (options.client ?? client).post({
|
|
926
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
927
|
+
url: "/api/0/organizations/{organization_id_or_slug}/detectors/",
|
|
928
|
+
...options,
|
|
929
|
+
headers: {
|
|
930
|
+
"Content-Type": "application/json",
|
|
931
|
+
...options.headers
|
|
932
|
+
}
|
|
933
|
+
});
|
|
934
|
+
var mutateAnOrganization_sMonitors = (options) => (options.client ?? client).put({
|
|
935
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
936
|
+
url: "/api/0/organizations/{organization_id_or_slug}/detectors/",
|
|
937
|
+
...options,
|
|
938
|
+
headers: {
|
|
939
|
+
"Content-Type": "application/json",
|
|
940
|
+
...options.headers
|
|
941
|
+
}
|
|
942
|
+
});
|
|
943
|
+
var deleteAMonitor = (options) => (options.client ?? client).delete({
|
|
944
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
945
|
+
url: "/api/0/organizations/{organization_id_or_slug}/detectors/{detector_id}/",
|
|
946
|
+
...options
|
|
947
|
+
});
|
|
948
|
+
var fetchAMonitor = (options) => (options.client ?? client).get({
|
|
949
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
950
|
+
url: "/api/0/organizations/{organization_id_or_slug}/detectors/{detector_id}/",
|
|
951
|
+
...options
|
|
952
|
+
});
|
|
953
|
+
var updateAMonitorById = (options) => (options.client ?? client).put({
|
|
954
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
955
|
+
url: "/api/0/organizations/{organization_id_or_slug}/detectors/{detector_id}/",
|
|
956
|
+
...options,
|
|
957
|
+
headers: {
|
|
958
|
+
"Content-Type": "application/json",
|
|
959
|
+
...options.headers
|
|
960
|
+
}
|
|
961
|
+
});
|
|
962
|
+
var listAnOrganization_sDiscoverSavedQueries = (options) => (options.client ?? client).get({
|
|
963
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
964
|
+
url: "/api/0/organizations/{organization_id_or_slug}/discover/saved/",
|
|
965
|
+
...options
|
|
966
|
+
});
|
|
967
|
+
var createANewSavedQuery = (options) => (options.client ?? client).post({
|
|
968
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
969
|
+
url: "/api/0/organizations/{organization_id_or_slug}/discover/saved/",
|
|
970
|
+
...options,
|
|
971
|
+
headers: {
|
|
972
|
+
"Content-Type": "application/json",
|
|
973
|
+
...options.headers
|
|
974
|
+
}
|
|
975
|
+
});
|
|
976
|
+
var deleteAnOrganization_sDiscoverSavedQuery = (options) => (options.client ?? client).delete({
|
|
977
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
978
|
+
url: "/api/0/organizations/{organization_id_or_slug}/discover/saved/{query_id}/",
|
|
979
|
+
...options
|
|
980
|
+
});
|
|
981
|
+
var retrieveAnOrganization_sDiscoverSavedQuery = (options) => (options.client ?? client).get({
|
|
982
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
983
|
+
url: "/api/0/organizations/{organization_id_or_slug}/discover/saved/{query_id}/",
|
|
984
|
+
...options
|
|
985
|
+
});
|
|
986
|
+
var editAnOrganization_sDiscoverSavedQuery = (options) => (options.client ?? client).put({
|
|
987
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
988
|
+
url: "/api/0/organizations/{organization_id_or_slug}/discover/saved/{query_id}/",
|
|
989
|
+
...options,
|
|
990
|
+
headers: {
|
|
991
|
+
"Content-Type": "application/json",
|
|
992
|
+
...options.headers
|
|
993
|
+
}
|
|
994
|
+
});
|
|
995
|
+
var listAnOrganization_sEnvironments = (options) => (options.client ?? client).get({
|
|
996
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
997
|
+
url: "/api/0/organizations/{organization_id_or_slug}/environments/",
|
|
998
|
+
...options
|
|
999
|
+
});
|
|
1000
|
+
var resolveAnEventId = (options) => (options.client ?? client).get({
|
|
1001
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1002
|
+
url: "/api/0/organizations/{organization_id_or_slug}/eventids/{event_id}/",
|
|
1003
|
+
...options
|
|
1004
|
+
});
|
|
1005
|
+
var queryExploreEventsInTableFormat = (options) => (options.client ?? client).get({
|
|
1006
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1007
|
+
url: "/api/0/organizations/{organization_id_or_slug}/events/",
|
|
1008
|
+
...options
|
|
1009
|
+
});
|
|
1010
|
+
var queryExploreEventsInTimeseriesFormat = (options) => (options.client ?? client).get({
|
|
1011
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1012
|
+
url: "/api/0/organizations/{organization_id_or_slug}/events-timeseries/",
|
|
1013
|
+
...options
|
|
1014
|
+
});
|
|
1015
|
+
var createAnExternalUser = (options) => (options.client ?? client).post({
|
|
1016
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1017
|
+
url: "/api/0/organizations/{organization_id_or_slug}/external-users/",
|
|
1018
|
+
...options,
|
|
1019
|
+
headers: {
|
|
1020
|
+
"Content-Type": "application/json",
|
|
1021
|
+
...options.headers
|
|
1022
|
+
}
|
|
1023
|
+
});
|
|
1024
|
+
var deleteAnExternalUser = (options) => (options.client ?? client).delete({
|
|
1025
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1026
|
+
url: "/api/0/organizations/{organization_id_or_slug}/external-users/{external_user_id}/",
|
|
1027
|
+
...options
|
|
1028
|
+
});
|
|
1029
|
+
var updateAnExternalUser = (options) => (options.client ?? client).put({
|
|
1030
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1031
|
+
url: "/api/0/organizations/{organization_id_or_slug}/external-users/{external_user_id}/",
|
|
1032
|
+
...options,
|
|
1033
|
+
headers: {
|
|
1034
|
+
"Content-Type": "application/json",
|
|
1035
|
+
...options.headers
|
|
1036
|
+
}
|
|
1037
|
+
});
|
|
1038
|
+
var retrieveDataForwardersForAnOrganization = (options) => (options.client ?? client).get({
|
|
1039
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1040
|
+
url: "/api/0/organizations/{organization_id_or_slug}/forwarding/",
|
|
1041
|
+
...options
|
|
1042
|
+
});
|
|
1043
|
+
var createADataForwarderForAnOrganization = (options) => (options.client ?? client).post({
|
|
1044
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1045
|
+
url: "/api/0/organizations/{organization_id_or_slug}/forwarding/",
|
|
1046
|
+
...options,
|
|
1047
|
+
headers: {
|
|
1048
|
+
"Content-Type": "application/json",
|
|
1049
|
+
...options.headers
|
|
1050
|
+
}
|
|
1051
|
+
});
|
|
1052
|
+
var deleteADataForwarderForAnOrganization = (options) => (options.client ?? client).delete({
|
|
1053
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1054
|
+
url: "/api/0/organizations/{organization_id_or_slug}/forwarding/{data_forwarder_id}/",
|
|
1055
|
+
...options
|
|
1056
|
+
});
|
|
1057
|
+
var updateADataForwarderForAnOrganization = (options) => (options.client ?? client).put({
|
|
1058
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1059
|
+
url: "/api/0/organizations/{organization_id_or_slug}/forwarding/{data_forwarder_id}/",
|
|
1060
|
+
...options,
|
|
1061
|
+
headers: {
|
|
1062
|
+
"Content-Type": "application/json",
|
|
1063
|
+
...options.headers
|
|
1064
|
+
}
|
|
1065
|
+
});
|
|
1066
|
+
var listAnOrganization_sAvailableIntegrations = (options) => (options.client ?? client).get({
|
|
1067
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1068
|
+
url: "/api/0/organizations/{organization_id_or_slug}/integrations/",
|
|
1069
|
+
...options
|
|
1070
|
+
});
|
|
1071
|
+
var deleteAnIntegrationForAnOrganization = (options) => (options.client ?? client).delete({
|
|
1072
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1073
|
+
url: "/api/0/organizations/{organization_id_or_slug}/integrations/{integration_id}/",
|
|
1074
|
+
...options
|
|
1075
|
+
});
|
|
1076
|
+
var retrieveAnIntegrationForAnOrganization = (options) => (options.client ?? client).get({
|
|
1077
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1078
|
+
url: "/api/0/organizations/{organization_id_or_slug}/integrations/{integration_id}/",
|
|
1079
|
+
...options
|
|
1080
|
+
});
|
|
1081
|
+
var bulkRemoveAnOrganization_sIssues = (options) => (options.client ?? client).delete({
|
|
1082
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1083
|
+
url: "/api/0/organizations/{organization_id_or_slug}/issues/",
|
|
1084
|
+
...options
|
|
1085
|
+
});
|
|
1086
|
+
var listAnOrganization_sIssues = (options) => (options.client ?? client).get({
|
|
1087
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1088
|
+
url: "/api/0/organizations/{organization_id_or_slug}/issues/",
|
|
1089
|
+
...options
|
|
1090
|
+
});
|
|
1091
|
+
var bulkMutateAnOrganization_sIssues = (options) => (options.client ?? client).put({
|
|
1092
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1093
|
+
url: "/api/0/organizations/{organization_id_or_slug}/issues/",
|
|
1094
|
+
...options,
|
|
1095
|
+
headers: {
|
|
1096
|
+
"Content-Type": "application/json",
|
|
1097
|
+
...options.headers
|
|
1098
|
+
}
|
|
1099
|
+
});
|
|
1100
|
+
var listAnOrganization_sMembers = (options) => (options.client ?? client).get({
|
|
1101
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1102
|
+
url: "/api/0/organizations/{organization_id_or_slug}/members/",
|
|
1103
|
+
...options
|
|
1104
|
+
});
|
|
1105
|
+
var addAMemberToAnOrganization = (options) => (options.client ?? client).post({
|
|
1106
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1107
|
+
url: "/api/0/organizations/{organization_id_or_slug}/members/",
|
|
1108
|
+
...options,
|
|
1109
|
+
headers: {
|
|
1110
|
+
"Content-Type": "application/json",
|
|
1111
|
+
...options.headers
|
|
1112
|
+
}
|
|
1113
|
+
});
|
|
1114
|
+
var deleteAnOrganizationMember = (options) => (options.client ?? client).delete({
|
|
1115
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1116
|
+
url: "/api/0/organizations/{organization_id_or_slug}/members/{member_id}/",
|
|
1117
|
+
...options
|
|
1118
|
+
});
|
|
1119
|
+
var retrieveAnOrganizationMember = (options) => (options.client ?? client).get({
|
|
1120
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1121
|
+
url: "/api/0/organizations/{organization_id_or_slug}/members/{member_id}/",
|
|
1122
|
+
...options
|
|
1123
|
+
});
|
|
1124
|
+
var updateAnOrganizationMember_sRoles = (options) => (options.client ?? client).put({
|
|
1125
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1126
|
+
url: "/api/0/organizations/{organization_id_or_slug}/members/{member_id}/",
|
|
1127
|
+
...options,
|
|
1128
|
+
headers: {
|
|
1129
|
+
"Content-Type": "application/json",
|
|
1130
|
+
...options.headers
|
|
1131
|
+
}
|
|
1132
|
+
});
|
|
1133
|
+
var deleteAnOrganizationMemberFromATeam = (options) => (options.client ?? client).delete({
|
|
1134
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1135
|
+
url: "/api/0/organizations/{organization_id_or_slug}/members/{member_id}/teams/{team_id_or_slug}/",
|
|
1136
|
+
...options
|
|
1137
|
+
});
|
|
1138
|
+
var addAnOrganizationMemberToATeam = (options) => (options.client ?? client).post({
|
|
1139
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1140
|
+
url: "/api/0/organizations/{organization_id_or_slug}/members/{member_id}/teams/{team_id_or_slug}/",
|
|
1141
|
+
...options
|
|
1142
|
+
});
|
|
1143
|
+
var updateAnOrganizationMember_sTeamRole = (options) => (options.client ?? client).put({
|
|
1144
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1145
|
+
url: "/api/0/organizations/{organization_id_or_slug}/members/{member_id}/teams/{team_id_or_slug}/",
|
|
1146
|
+
...options,
|
|
1147
|
+
headers: {
|
|
1148
|
+
"Content-Type": "application/json",
|
|
1149
|
+
...options.headers
|
|
1150
|
+
}
|
|
1151
|
+
});
|
|
1152
|
+
var retrieveMonitorsForAnOrganization = (options) => (options.client ?? client).get({
|
|
1153
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1154
|
+
url: "/api/0/organizations/{organization_id_or_slug}/monitors/",
|
|
1155
|
+
...options
|
|
1156
|
+
});
|
|
1157
|
+
var createAMonitor = (options) => (options.client ?? client).post({
|
|
1158
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1159
|
+
url: "/api/0/organizations/{organization_id_or_slug}/monitors/",
|
|
1160
|
+
...options,
|
|
1161
|
+
headers: {
|
|
1162
|
+
"Content-Type": "application/json",
|
|
1163
|
+
...options.headers
|
|
1164
|
+
}
|
|
1165
|
+
});
|
|
1166
|
+
var deleteAMonitorOrMonitorEnvironments = (options) => (options.client ?? client).delete({
|
|
1167
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1168
|
+
url: "/api/0/organizations/{organization_id_or_slug}/monitors/{monitor_id_or_slug}/",
|
|
1169
|
+
...options
|
|
1170
|
+
});
|
|
1171
|
+
var retrieveAMonitor = (options) => (options.client ?? client).get({
|
|
1172
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1173
|
+
url: "/api/0/organizations/{organization_id_or_slug}/monitors/{monitor_id_or_slug}/",
|
|
1174
|
+
...options
|
|
1175
|
+
});
|
|
1176
|
+
var updateAMonitor = (options) => (options.client ?? client).put({
|
|
1177
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1178
|
+
url: "/api/0/organizations/{organization_id_or_slug}/monitors/{monitor_id_or_slug}/",
|
|
1179
|
+
...options,
|
|
1180
|
+
headers: {
|
|
1181
|
+
"Content-Type": "application/json",
|
|
1182
|
+
...options.headers
|
|
1183
|
+
}
|
|
1184
|
+
});
|
|
1185
|
+
var retrieveCheckInsForAMonitor = (options) => (options.client ?? client).get({
|
|
1186
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1187
|
+
url: "/api/0/organizations/{organization_id_or_slug}/monitors/{monitor_id_or_slug}/checkins/",
|
|
1188
|
+
...options
|
|
1189
|
+
});
|
|
1190
|
+
var listSpikeProtectionNotifications = (options) => (options.client ?? client).get({
|
|
1191
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1192
|
+
url: "/api/0/organizations/{organization_id_or_slug}/notifications/actions/",
|
|
1193
|
+
...options
|
|
1194
|
+
});
|
|
1195
|
+
var createASpikeProtectionNotificationAction = (options) => (options.client ?? client).post({
|
|
1196
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1197
|
+
url: "/api/0/organizations/{organization_id_or_slug}/notifications/actions/",
|
|
1198
|
+
...options,
|
|
1199
|
+
headers: {
|
|
1200
|
+
"Content-Type": "application/json",
|
|
1201
|
+
...options.headers
|
|
1202
|
+
}
|
|
1203
|
+
});
|
|
1204
|
+
var deleteASpikeProtectionNotificationAction = (options) => (options.client ?? client).delete({
|
|
1205
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1206
|
+
url: "/api/0/organizations/{organization_id_or_slug}/notifications/actions/{action_id}/",
|
|
1207
|
+
...options
|
|
1208
|
+
});
|
|
1209
|
+
var retrieveASpikeProtectionNotificationAction = (options) => (options.client ?? client).get({
|
|
1210
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1211
|
+
url: "/api/0/organizations/{organization_id_or_slug}/notifications/actions/{action_id}/",
|
|
1212
|
+
...options
|
|
1213
|
+
});
|
|
1214
|
+
var updateASpikeProtectionNotificationAction = (options) => (options.client ?? client).put({
|
|
1215
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1216
|
+
url: "/api/0/organizations/{organization_id_or_slug}/notifications/actions/{action_id}/",
|
|
1217
|
+
...options,
|
|
1218
|
+
headers: {
|
|
1219
|
+
"Content-Type": "application/json",
|
|
1220
|
+
...options.headers
|
|
1221
|
+
}
|
|
1222
|
+
});
|
|
1223
|
+
var retrievesListOfRepositoriesForAGivenOwner = (options) => (options.client ?? client).get({
|
|
1224
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1225
|
+
url: "/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repositories/",
|
|
1226
|
+
...options
|
|
1227
|
+
});
|
|
1228
|
+
var getsSyncingStatusForRepositoriesForAnIntegratedOrg = (options) => (options.client ?? client).get({
|
|
1229
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1230
|
+
url: "/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repositories/sync/",
|
|
1231
|
+
...options
|
|
1232
|
+
});
|
|
1233
|
+
var syncsRepositoriesFromAnIntegratedOrgWithGitHub = (options) => (options.client ?? client).post({
|
|
1234
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1235
|
+
url: "/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repositories/sync/",
|
|
1236
|
+
...options
|
|
1237
|
+
});
|
|
1238
|
+
var retrievesAPaginatedListOfRepositoryTokensForAGivenOwner = (options) => (options.client ?? client).get({
|
|
1239
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1240
|
+
url: "/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repositories/tokens/",
|
|
1241
|
+
...options
|
|
1242
|
+
});
|
|
1243
|
+
var retrievesASingleRepositoryForAGivenOwner = (options) => (options.client ?? client).get({
|
|
1244
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1245
|
+
url: "/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repository/{repository}/",
|
|
1246
|
+
...options
|
|
1247
|
+
});
|
|
1248
|
+
var retrievesListOfBranchesForAGivenOwnerAndRepository = (options) => (options.client ?? client).get({
|
|
1249
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1250
|
+
url: "/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repository/{repository}/branches/",
|
|
1251
|
+
...options
|
|
1252
|
+
});
|
|
1253
|
+
var retrievePaginatedListOfTestResultsForRepository_Owner_AndOrganization = (options) => (options.client ?? client).get({
|
|
1254
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1255
|
+
url: "/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repository/{repository}/test-results/",
|
|
1256
|
+
...options
|
|
1257
|
+
});
|
|
1258
|
+
var retrieveAggregatedTestResultMetricsForRepository_Owner_AndOrganization = (options) => (options.client ?? client).get({
|
|
1259
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1260
|
+
url: "/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repository/{repository}/test-results-aggregates/",
|
|
1261
|
+
...options
|
|
1262
|
+
});
|
|
1263
|
+
var retrieveTestSuitesBelongingToARepository_sTestResults = (options) => (options.client ?? client).get({
|
|
1264
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1265
|
+
url: "/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repository/{repository}/test-suites/",
|
|
1266
|
+
...options
|
|
1267
|
+
});
|
|
1268
|
+
var regeneratesARepositoryUploadTokenAndReturnsTheNewToken = (options) => (options.client ?? client).post({
|
|
1269
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1270
|
+
url: "/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repository/{repository}/token/regenerate/",
|
|
1271
|
+
...options
|
|
1272
|
+
});
|
|
1273
|
+
var listAnOrganization_sClientKeys = (options) => (options.client ?? client).get({
|
|
1274
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1275
|
+
url: "/api/0/organizations/{organization_id_or_slug}/project-keys/",
|
|
1276
|
+
...options
|
|
1277
|
+
});
|
|
1278
|
+
var listAnOrganization_sProjects = (options) => (options.client ?? client).get({
|
|
1279
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1280
|
+
url: "/api/0/organizations/{organization_id_or_slug}/projects/",
|
|
1281
|
+
...options
|
|
1282
|
+
});
|
|
1283
|
+
var listAnOrganization_sTrustedRelays = (options) => (options.client ?? client).get({
|
|
1284
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1285
|
+
url: "/api/0/organizations/{organization_id_or_slug}/relay_usage/",
|
|
1286
|
+
...options
|
|
1287
|
+
});
|
|
1288
|
+
var retrieveStatusesOfReleaseThresholdsAlpha = (options) => (options.client ?? client).get({
|
|
1289
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1290
|
+
url: "/api/0/organizations/{organization_id_or_slug}/release-threshold-statuses/",
|
|
1291
|
+
...options
|
|
1292
|
+
});
|
|
1293
|
+
var deleteAnOrganization_sRelease = (options) => (options.client ?? client).delete({
|
|
1294
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1295
|
+
url: "/api/0/organizations/{organization_id_or_slug}/releases/{version}/",
|
|
1296
|
+
...options
|
|
1297
|
+
});
|
|
1298
|
+
var retrieveAnOrganization_sRelease = (options) => (options.client ?? client).get({
|
|
1299
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1300
|
+
url: "/api/0/organizations/{organization_id_or_slug}/releases/{version}/",
|
|
1301
|
+
...options
|
|
1302
|
+
});
|
|
1303
|
+
var updateAnOrganization_sRelease = (options) => (options.client ?? client).put({
|
|
1304
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1305
|
+
url: "/api/0/organizations/{organization_id_or_slug}/releases/{version}/",
|
|
1306
|
+
...options,
|
|
1307
|
+
headers: {
|
|
1308
|
+
"Content-Type": "application/json",
|
|
1309
|
+
...options.headers
|
|
1310
|
+
}
|
|
1311
|
+
});
|
|
1312
|
+
var listARelease_sDeploys = (options) => (options.client ?? client).get({
|
|
1313
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1314
|
+
url: "/api/0/organizations/{organization_id_or_slug}/releases/{version}/deploys/",
|
|
1315
|
+
...options
|
|
1316
|
+
});
|
|
1317
|
+
var createADeploy = (options) => (options.client ?? client).post({
|
|
1318
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1319
|
+
url: "/api/0/organizations/{organization_id_or_slug}/releases/{version}/deploys/",
|
|
1320
|
+
...options,
|
|
1321
|
+
headers: {
|
|
1322
|
+
"Content-Type": "application/json",
|
|
1323
|
+
...options.headers
|
|
1324
|
+
}
|
|
1325
|
+
});
|
|
1326
|
+
var retrieveACountOfReplaysForAGivenIssueOrTransaction = (options) => (options.client ?? client).get({
|
|
1327
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1328
|
+
url: "/api/0/organizations/{organization_id_or_slug}/replay-count/",
|
|
1329
|
+
...options
|
|
1330
|
+
});
|
|
1331
|
+
var listAnOrganization_sSelectors = (options) => (options.client ?? client).get({
|
|
1332
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1333
|
+
url: "/api/0/organizations/{organization_id_or_slug}/replay-selectors/",
|
|
1334
|
+
...options
|
|
1335
|
+
});
|
|
1336
|
+
var listAnOrganization_sReplays = (options) => (options.client ?? client).get({
|
|
1337
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1338
|
+
url: "/api/0/organizations/{organization_id_or_slug}/replays/",
|
|
1339
|
+
...options
|
|
1340
|
+
});
|
|
1341
|
+
var retrieveAReplayInstance = (options) => (options.client ?? client).get({
|
|
1342
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1343
|
+
url: "/api/0/organizations/{organization_id_or_slug}/replays/{replay_id}/",
|
|
1344
|
+
...options
|
|
1345
|
+
});
|
|
1346
|
+
var listARepository_sCommits = (options) => (options.client ?? client).get({
|
|
1347
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1348
|
+
url: "/api/0/organizations/{organization_id_or_slug}/repos/{repo_id}/commits/",
|
|
1349
|
+
...options
|
|
1350
|
+
});
|
|
1351
|
+
var listAnOrganization_sPaginatedTeams = (options) => (options.client ?? client).get({
|
|
1352
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1353
|
+
url: "/api/0/organizations/{organization_id_or_slug}/scim/v2/Groups",
|
|
1354
|
+
...options
|
|
1355
|
+
});
|
|
1356
|
+
var provisionANewTeam = (options) => (options.client ?? client).post({
|
|
1357
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1358
|
+
url: "/api/0/organizations/{organization_id_or_slug}/scim/v2/Groups",
|
|
1359
|
+
...options,
|
|
1360
|
+
headers: {
|
|
1361
|
+
"Content-Type": "application/json",
|
|
1362
|
+
...options.headers
|
|
1363
|
+
}
|
|
1364
|
+
});
|
|
1365
|
+
var deleteAnIndividualTeam = (options) => (options.client ?? client).delete({
|
|
1366
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1367
|
+
url: "/api/0/organizations/{organization_id_or_slug}/scim/v2/Groups/{team_id_or_slug}",
|
|
1368
|
+
...options
|
|
1369
|
+
});
|
|
1370
|
+
var queryAnIndividualTeam = (options) => (options.client ?? client).get({
|
|
1371
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1372
|
+
url: "/api/0/organizations/{organization_id_or_slug}/scim/v2/Groups/{team_id_or_slug}",
|
|
1373
|
+
...options
|
|
1374
|
+
});
|
|
1375
|
+
var updateATeam_sAttributes = (options) => (options.client ?? client).patch({
|
|
1376
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1377
|
+
url: "/api/0/organizations/{organization_id_or_slug}/scim/v2/Groups/{team_id_or_slug}",
|
|
1378
|
+
...options,
|
|
1379
|
+
headers: {
|
|
1380
|
+
"Content-Type": "application/json",
|
|
1381
|
+
...options.headers
|
|
1382
|
+
}
|
|
1383
|
+
});
|
|
1384
|
+
var listAnOrganization_sScimMembers = (options) => (options.client ?? client).get({
|
|
1385
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1386
|
+
url: "/api/0/organizations/{organization_id_or_slug}/scim/v2/Users",
|
|
1387
|
+
...options
|
|
1388
|
+
});
|
|
1389
|
+
var provisionANewOrganizationMember = (options) => (options.client ?? client).post({
|
|
1390
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1391
|
+
url: "/api/0/organizations/{organization_id_or_slug}/scim/v2/Users",
|
|
1392
|
+
...options,
|
|
1393
|
+
headers: {
|
|
1394
|
+
"Content-Type": "application/json",
|
|
1395
|
+
...options.headers
|
|
1396
|
+
}
|
|
1397
|
+
});
|
|
1398
|
+
var deleteAnOrganizationMemberViaScim = (options) => (options.client ?? client).delete({
|
|
1399
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1400
|
+
url: "/api/0/organizations/{organization_id_or_slug}/scim/v2/Users/{member_id}",
|
|
1401
|
+
...options
|
|
1402
|
+
});
|
|
1403
|
+
var queryAnIndividualOrganizationMember = (options) => (options.client ?? client).get({
|
|
1404
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1405
|
+
url: "/api/0/organizations/{organization_id_or_slug}/scim/v2/Users/{member_id}",
|
|
1406
|
+
...options
|
|
1407
|
+
});
|
|
1408
|
+
var updateAnOrganizationMember_sAttributes = (options) => (options.client ?? client).patch({
|
|
1409
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1410
|
+
url: "/api/0/organizations/{organization_id_or_slug}/scim/v2/Users/{member_id}",
|
|
1411
|
+
...options,
|
|
1412
|
+
headers: {
|
|
1413
|
+
"Content-Type": "application/json",
|
|
1414
|
+
...options.headers
|
|
1415
|
+
}
|
|
1416
|
+
});
|
|
1417
|
+
var retrieveTheCustomIntegrationsCreatedByAnOrganization = (options) => (options.client ?? client).get({
|
|
1418
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1419
|
+
url: "/api/0/organizations/{organization_id_or_slug}/sentry-apps/",
|
|
1420
|
+
...options
|
|
1421
|
+
});
|
|
1422
|
+
var retrieveReleaseHealthSessionStatistics = (options) => (options.client ?? client).get({
|
|
1423
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1424
|
+
url: "/api/0/organizations/{organization_id_or_slug}/sessions/",
|
|
1425
|
+
...options
|
|
1426
|
+
});
|
|
1427
|
+
var resolveAShortId = (options) => (options.client ?? client).get({
|
|
1428
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1429
|
+
url: "/api/0/organizations/{organization_id_or_slug}/shortids/{issue_id}/",
|
|
1430
|
+
...options
|
|
1431
|
+
});
|
|
1432
|
+
var retrieveAnOrganization_sEventsCountByProject = (options) => (options.client ?? client).get({
|
|
1433
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1434
|
+
url: "/api/0/organizations/{organization_id_or_slug}/stats-summary/",
|
|
1435
|
+
...options
|
|
1436
|
+
});
|
|
1437
|
+
var retrieveEventCountsForAnOrganizationV2 = (options) => (options.client ?? client).get({
|
|
1438
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1439
|
+
url: "/api/0/organizations/{organization_id_or_slug}/stats_v2/",
|
|
1440
|
+
...options
|
|
1441
|
+
});
|
|
1442
|
+
var listAnOrganization_sTeams = (options) => (options.client ?? client).get({
|
|
1443
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1444
|
+
url: "/api/0/organizations/{organization_id_or_slug}/teams/",
|
|
1445
|
+
...options
|
|
1446
|
+
});
|
|
1447
|
+
var createANewTeam = (options) => (options.client ?? client).post({
|
|
1448
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1449
|
+
url: "/api/0/organizations/{organization_id_or_slug}/teams/",
|
|
1450
|
+
...options,
|
|
1451
|
+
headers: {
|
|
1452
|
+
"Content-Type": "application/json",
|
|
1453
|
+
...options.headers
|
|
1454
|
+
}
|
|
1455
|
+
});
|
|
1456
|
+
var listAUser_sTeamsForAnOrganization = (options) => (options.client ?? client).get({
|
|
1457
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1458
|
+
url: "/api/0/organizations/{organization_id_or_slug}/user-teams/",
|
|
1459
|
+
...options
|
|
1460
|
+
});
|
|
1461
|
+
var bulkDeleteAlerts = (options) => (options.client ?? client).delete({
|
|
1462
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1463
|
+
url: "/api/0/organizations/{organization_id_or_slug}/workflows/",
|
|
1464
|
+
...options
|
|
1465
|
+
});
|
|
1466
|
+
var fetchAlerts = (options) => (options.client ?? client).get({
|
|
1467
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1468
|
+
url: "/api/0/organizations/{organization_id_or_slug}/workflows/",
|
|
1469
|
+
...options
|
|
1470
|
+
});
|
|
1471
|
+
var createAnAlertForAnOrganization = (options) => (options.client ?? client).post({
|
|
1472
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1473
|
+
url: "/api/0/organizations/{organization_id_or_slug}/workflows/",
|
|
1474
|
+
...options,
|
|
1475
|
+
headers: {
|
|
1476
|
+
"Content-Type": "application/json",
|
|
1477
|
+
...options.headers
|
|
1478
|
+
}
|
|
1479
|
+
});
|
|
1480
|
+
var mutateAnOrganization_sAlerts = (options) => (options.client ?? client).put({
|
|
1481
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1482
|
+
url: "/api/0/organizations/{organization_id_or_slug}/workflows/",
|
|
1483
|
+
...options,
|
|
1484
|
+
headers: {
|
|
1485
|
+
"Content-Type": "application/json",
|
|
1486
|
+
...options.headers
|
|
1487
|
+
}
|
|
1488
|
+
});
|
|
1489
|
+
var deleteAnAlert = (options) => (options.client ?? client).delete({
|
|
1490
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1491
|
+
url: "/api/0/organizations/{organization_id_or_slug}/workflows/{workflow_id}/",
|
|
1492
|
+
...options
|
|
1493
|
+
});
|
|
1494
|
+
var fetchAnAlert = (options) => (options.client ?? client).get({
|
|
1495
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1496
|
+
url: "/api/0/organizations/{organization_id_or_slug}/workflows/{workflow_id}/",
|
|
1497
|
+
...options
|
|
1498
|
+
});
|
|
1499
|
+
var updateAnAlertById = (options) => (options.client ?? client).put({
|
|
1500
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1501
|
+
url: "/api/0/organizations/{organization_id_or_slug}/workflows/{workflow_id}/",
|
|
1502
|
+
...options,
|
|
1503
|
+
headers: {
|
|
1504
|
+
"Content-Type": "application/json",
|
|
1505
|
+
...options.headers
|
|
1506
|
+
}
|
|
1507
|
+
});
|
|
1508
|
+
var deleteAProject = (options) => (options.client ?? client).delete({
|
|
1509
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1510
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/",
|
|
1511
|
+
...options
|
|
1512
|
+
});
|
|
1513
|
+
var retrieveAProject = (options) => (options.client ?? client).get({
|
|
1514
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1515
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/",
|
|
1516
|
+
...options
|
|
1517
|
+
});
|
|
1518
|
+
var updateAProject = (options) => (options.client ?? client).put({
|
|
1519
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1520
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/",
|
|
1521
|
+
...options,
|
|
1522
|
+
headers: {
|
|
1523
|
+
"Content-Type": "application/json",
|
|
1524
|
+
...options.headers
|
|
1525
|
+
}
|
|
1526
|
+
});
|
|
1527
|
+
var listAProject_sEnvironments = (options) => (options.client ?? client).get({
|
|
1528
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1529
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/environments/",
|
|
1530
|
+
...options
|
|
1531
|
+
});
|
|
1532
|
+
var retrieveAProjectEnvironment = (options) => (options.client ?? client).get({
|
|
1533
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1534
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/environments/{environment}/",
|
|
1535
|
+
...options
|
|
1536
|
+
});
|
|
1537
|
+
var updateAProjectEnvironment = (options) => (options.client ?? client).put({
|
|
1538
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1539
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/environments/{environment}/",
|
|
1540
|
+
...options,
|
|
1541
|
+
headers: {
|
|
1542
|
+
"Content-Type": "application/json",
|
|
1543
|
+
...options.headers
|
|
1544
|
+
}
|
|
1545
|
+
});
|
|
1546
|
+
var listAProject_sErrorEvents = (options) => (options.client ?? client).get({
|
|
1547
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1548
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/events/",
|
|
1549
|
+
...options
|
|
1550
|
+
});
|
|
1551
|
+
var debugIssuesRelatedToSourceMapsForAGivenEvent = (options) => (options.client ?? client).get({
|
|
1552
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1553
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/events/{event_id}/source-map-debug/",
|
|
1554
|
+
...options
|
|
1555
|
+
});
|
|
1556
|
+
var listAProject_sDataFilters = (options) => (options.client ?? client).get({
|
|
1557
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1558
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/filters/",
|
|
1559
|
+
...options
|
|
1560
|
+
});
|
|
1561
|
+
var updateAnInboundDataFilter = (options) => (options.client ?? client).put({
|
|
1562
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1563
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/filters/{filter_id}/",
|
|
1564
|
+
...options,
|
|
1565
|
+
headers: {
|
|
1566
|
+
"Content-Type": "application/json",
|
|
1567
|
+
...options.headers
|
|
1568
|
+
}
|
|
1569
|
+
});
|
|
1570
|
+
var listAProject_sClientKeys = (options) => (options.client ?? client).get({
|
|
1571
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1572
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/keys/",
|
|
1573
|
+
...options
|
|
1574
|
+
});
|
|
1575
|
+
var createANewClientKey = (options) => (options.client ?? client).post({
|
|
1576
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1577
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/keys/",
|
|
1578
|
+
...options,
|
|
1579
|
+
headers: {
|
|
1580
|
+
"Content-Type": "application/json",
|
|
1581
|
+
...options.headers
|
|
1582
|
+
}
|
|
1583
|
+
});
|
|
1584
|
+
var deleteAClientKey = (options) => (options.client ?? client).delete({
|
|
1585
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1586
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/keys/{key_id}/",
|
|
1587
|
+
...options
|
|
1588
|
+
});
|
|
1589
|
+
var retrieveAClientKey = (options) => (options.client ?? client).get({
|
|
1590
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1591
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/keys/{key_id}/",
|
|
1592
|
+
...options
|
|
1593
|
+
});
|
|
1594
|
+
var updateAClientKey = (options) => (options.client ?? client).put({
|
|
1595
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1596
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/keys/{key_id}/",
|
|
1597
|
+
...options,
|
|
1598
|
+
headers: {
|
|
1599
|
+
"Content-Type": "application/json",
|
|
1600
|
+
...options.headers
|
|
1601
|
+
}
|
|
1602
|
+
});
|
|
1603
|
+
var listAProject_sOrganizationMembers = (options) => (options.client ?? client).get({
|
|
1604
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1605
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/members/",
|
|
1606
|
+
...options
|
|
1607
|
+
});
|
|
1608
|
+
var deleteAMonitorOrMonitorEnvironmentsForAProject = (options) => (options.client ?? client).delete({
|
|
1609
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1610
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/monitors/{monitor_id_or_slug}/",
|
|
1611
|
+
...options
|
|
1612
|
+
});
|
|
1613
|
+
var retrieveAMonitorForAProject = (options) => (options.client ?? client).get({
|
|
1614
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1615
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/monitors/{monitor_id_or_slug}/",
|
|
1616
|
+
...options
|
|
1617
|
+
});
|
|
1618
|
+
var updateAMonitorForAProject = (options) => (options.client ?? client).put({
|
|
1619
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1620
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/monitors/{monitor_id_or_slug}/",
|
|
1621
|
+
...options,
|
|
1622
|
+
headers: {
|
|
1623
|
+
"Content-Type": "application/json",
|
|
1624
|
+
...options.headers
|
|
1625
|
+
}
|
|
1626
|
+
});
|
|
1627
|
+
var retrieveCheckInsForAMonitorByProject = (options) => (options.client ?? client).get({
|
|
1628
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1629
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/monitors/{monitor_id_or_slug}/checkins/",
|
|
1630
|
+
...options
|
|
1631
|
+
});
|
|
1632
|
+
var retrieveOwnershipConfigurationForAProject = (options) => (options.client ?? client).get({
|
|
1633
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1634
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/ownership/",
|
|
1635
|
+
...options
|
|
1636
|
+
});
|
|
1637
|
+
var updateOwnershipConfigurationForAProject = (options) => (options.client ?? client).put({
|
|
1638
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1639
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/ownership/",
|
|
1640
|
+
...options,
|
|
1641
|
+
headers: {
|
|
1642
|
+
"Content-Type": "application/json",
|
|
1643
|
+
...options.headers
|
|
1644
|
+
}
|
|
1645
|
+
});
|
|
1646
|
+
var deleteAReplayInstance = (options) => (options.client ?? client).delete({
|
|
1647
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1648
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/replays/{replay_id}/",
|
|
1649
|
+
...options
|
|
1650
|
+
});
|
|
1651
|
+
var listClickedNodes = (options) => (options.client ?? client).get({
|
|
1652
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1653
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/replays/{replay_id}/clicks/",
|
|
1654
|
+
...options
|
|
1655
|
+
});
|
|
1656
|
+
var listRecordingSegments = (options) => (options.client ?? client).get({
|
|
1657
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1658
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/replays/{replay_id}/recording-segments/",
|
|
1659
|
+
...options
|
|
1660
|
+
});
|
|
1661
|
+
var retrieveARecordingSegment = (options) => (options.client ?? client).get({
|
|
1662
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1663
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/replays/{replay_id}/recording-segments/{segment_id}/",
|
|
1664
|
+
...options
|
|
1665
|
+
});
|
|
1666
|
+
var listUsersWhoHaveViewedAReplay = (options) => (options.client ?? client).get({
|
|
1667
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1668
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/replays/{replay_id}/viewed-by/",
|
|
1669
|
+
...options
|
|
1670
|
+
});
|
|
1671
|
+
var deprecatedListAProject_sIssueAlertRules = (options) => (options.client ?? client).get({
|
|
1672
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1673
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/rules/",
|
|
1674
|
+
...options
|
|
1675
|
+
});
|
|
1676
|
+
var deprecatedCreateAnIssueAlertRuleForAProject = (options) => (options.client ?? client).post({
|
|
1677
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1678
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/rules/",
|
|
1679
|
+
...options,
|
|
1680
|
+
headers: {
|
|
1681
|
+
"Content-Type": "application/json",
|
|
1682
|
+
...options.headers
|
|
1683
|
+
}
|
|
1684
|
+
});
|
|
1685
|
+
var deprecatedDeleteAnIssueAlertRule = (options) => (options.client ?? client).delete({
|
|
1686
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1687
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/rules/{rule_id}/",
|
|
1688
|
+
...options
|
|
1689
|
+
});
|
|
1690
|
+
var deprecatedRetrieveAnIssueAlertRuleForAProject = (options) => (options.client ?? client).get({
|
|
1691
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1692
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/rules/{rule_id}/",
|
|
1693
|
+
...options
|
|
1694
|
+
});
|
|
1695
|
+
var deprecatedUpdateAnIssueAlertRule = (options) => (options.client ?? client).put({
|
|
1696
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1697
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/rules/{rule_id}/",
|
|
1698
|
+
...options,
|
|
1699
|
+
headers: {
|
|
1700
|
+
"Content-Type": "application/json",
|
|
1701
|
+
...options.headers
|
|
1702
|
+
}
|
|
1703
|
+
});
|
|
1704
|
+
var deleteASymbolSourceFromAProject = (options) => (options.client ?? client).delete({
|
|
1705
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1706
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/symbol-sources/",
|
|
1707
|
+
...options
|
|
1708
|
+
});
|
|
1709
|
+
var retrieveAProject_sSymbolSources = (options) => (options.client ?? client).get({
|
|
1710
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1711
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/symbol-sources/",
|
|
1712
|
+
...options
|
|
1713
|
+
});
|
|
1714
|
+
var addASymbolSourceToAProject = (options) => (options.client ?? client).post({
|
|
1715
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1716
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/symbol-sources/",
|
|
1717
|
+
...options,
|
|
1718
|
+
headers: {
|
|
1719
|
+
"Content-Type": "application/json",
|
|
1720
|
+
...options.headers
|
|
1721
|
+
}
|
|
1722
|
+
});
|
|
1723
|
+
var updateAProject_sSymbolSource = (options) => (options.client ?? client).put({
|
|
1724
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1725
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/symbol-sources/",
|
|
1726
|
+
...options,
|
|
1727
|
+
headers: {
|
|
1728
|
+
"Content-Type": "application/json",
|
|
1729
|
+
...options.headers
|
|
1730
|
+
}
|
|
1731
|
+
});
|
|
1732
|
+
var listAProject_sTeams = (options) => (options.client ?? client).get({
|
|
1733
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1734
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/teams/",
|
|
1735
|
+
...options
|
|
1736
|
+
});
|
|
1737
|
+
var deleteATeamFromAProject = (options) => (options.client ?? client).delete({
|
|
1738
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1739
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/teams/{team_id_or_slug}/",
|
|
1740
|
+
...options
|
|
1741
|
+
});
|
|
1742
|
+
var addATeamToAProject = (options) => (options.client ?? client).post({
|
|
1743
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1744
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/teams/{team_id_or_slug}/",
|
|
1745
|
+
...options
|
|
1746
|
+
});
|
|
1747
|
+
var listSeerAiModels = (options) => (options?.client ?? client).get({
|
|
1748
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1749
|
+
url: "/api/0/seer/models/",
|
|
1750
|
+
...options
|
|
1751
|
+
});
|
|
1752
|
+
var deleteACustomIntegration = (options) => (options.client ?? client).delete({
|
|
1753
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1754
|
+
url: "/api/0/sentry-apps/{sentry_app_id_or_slug}/",
|
|
1755
|
+
...options
|
|
1756
|
+
});
|
|
1757
|
+
var retrieveACustomIntegrationByIdOrSlug = (options) => (options.client ?? client).get({
|
|
1758
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1759
|
+
url: "/api/0/sentry-apps/{sentry_app_id_or_slug}/",
|
|
1760
|
+
...options
|
|
1761
|
+
});
|
|
1762
|
+
var updateAnExistingCustomIntegration = (options) => (options.client ?? client).put({
|
|
1763
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1764
|
+
url: "/api/0/sentry-apps/{sentry_app_id_or_slug}/",
|
|
1765
|
+
...options,
|
|
1766
|
+
headers: {
|
|
1767
|
+
"Content-Type": "application/json",
|
|
1768
|
+
...options.headers
|
|
1769
|
+
}
|
|
1770
|
+
});
|
|
1771
|
+
var deleteATeam = (options) => (options.client ?? client).delete({
|
|
1772
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1773
|
+
url: "/api/0/teams/{organization_id_or_slug}/{team_id_or_slug}/",
|
|
1774
|
+
...options
|
|
1775
|
+
});
|
|
1776
|
+
var retrieveATeam = (options) => (options.client ?? client).get({
|
|
1777
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1778
|
+
url: "/api/0/teams/{organization_id_or_slug}/{team_id_or_slug}/",
|
|
1779
|
+
...options
|
|
1780
|
+
});
|
|
1781
|
+
var updateATeam = (options) => (options.client ?? client).put({
|
|
1782
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1783
|
+
url: "/api/0/teams/{organization_id_or_slug}/{team_id_or_slug}/",
|
|
1784
|
+
...options,
|
|
1785
|
+
headers: {
|
|
1786
|
+
"Content-Type": "application/json",
|
|
1787
|
+
...options.headers
|
|
1788
|
+
}
|
|
1789
|
+
});
|
|
1790
|
+
var createAnExternalTeam = (options) => (options.client ?? client).post({
|
|
1791
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1792
|
+
url: "/api/0/teams/{organization_id_or_slug}/{team_id_or_slug}/external-teams/",
|
|
1793
|
+
...options,
|
|
1794
|
+
headers: {
|
|
1795
|
+
"Content-Type": "application/json",
|
|
1796
|
+
...options.headers
|
|
1797
|
+
}
|
|
1798
|
+
});
|
|
1799
|
+
var deleteAnExternalTeam = (options) => (options.client ?? client).delete({
|
|
1800
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1801
|
+
url: "/api/0/teams/{organization_id_or_slug}/{team_id_or_slug}/external-teams/{external_team_id}/",
|
|
1802
|
+
...options
|
|
1803
|
+
});
|
|
1804
|
+
var updateAnExternalTeam = (options) => (options.client ?? client).put({
|
|
1805
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1806
|
+
url: "/api/0/teams/{organization_id_or_slug}/{team_id_or_slug}/external-teams/{external_team_id}/",
|
|
1807
|
+
...options,
|
|
1808
|
+
headers: {
|
|
1809
|
+
"Content-Type": "application/json",
|
|
1810
|
+
...options.headers
|
|
1811
|
+
}
|
|
1812
|
+
});
|
|
1813
|
+
var listATeam_sMembers = (options) => (options.client ?? client).get({
|
|
1814
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1815
|
+
url: "/api/0/teams/{organization_id_or_slug}/{team_id_or_slug}/members/",
|
|
1816
|
+
...options
|
|
1817
|
+
});
|
|
1818
|
+
var listATeam_sProjects = (options) => (options.client ?? client).get({
|
|
1819
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1820
|
+
url: "/api/0/teams/{organization_id_or_slug}/{team_id_or_slug}/projects/",
|
|
1821
|
+
...options
|
|
1822
|
+
});
|
|
1823
|
+
var createANewProject = (options) => (options.client ?? client).post({
|
|
1824
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1825
|
+
url: "/api/0/teams/{organization_id_or_slug}/{team_id_or_slug}/projects/",
|
|
1826
|
+
...options,
|
|
1827
|
+
headers: {
|
|
1828
|
+
"Content-Type": "application/json",
|
|
1829
|
+
...options.headers
|
|
1830
|
+
}
|
|
1831
|
+
});
|
|
1832
|
+
var listAnOrganization_sRepositories = (options) => (options.client ?? client).get({
|
|
1833
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1834
|
+
url: "/api/0/organizations/{organization_id_or_slug}/repos/",
|
|
1835
|
+
...options
|
|
1836
|
+
});
|
|
1837
|
+
var deleteASpecificProject_sDebugInformationFile = (options) => (options.client ?? client).delete({
|
|
1838
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1839
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/files/dsyms/",
|
|
1840
|
+
...options
|
|
1841
|
+
});
|
|
1842
|
+
var listAProject_sDebugInformationFiles = (options) => (options.client ?? client).get({
|
|
1843
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1844
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/files/dsyms/",
|
|
1845
|
+
...options
|
|
1846
|
+
});
|
|
1847
|
+
var uploadANewFile = (options) => (options.client ?? client).post({
|
|
1848
|
+
...formDataBodySerializer,
|
|
1849
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1850
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/files/dsyms/",
|
|
1851
|
+
...options,
|
|
1852
|
+
headers: {
|
|
1853
|
+
"Content-Type": null,
|
|
1854
|
+
...options.headers
|
|
1855
|
+
}
|
|
1856
|
+
});
|
|
1857
|
+
var listAProject_sUsers = (options) => (options.client ?? client).get({
|
|
1858
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1859
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/users/",
|
|
1860
|
+
...options
|
|
1861
|
+
});
|
|
1862
|
+
var listATag_sValues = (options) => (options.client ?? client).get({
|
|
1863
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1864
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/tags/{key}/values/",
|
|
1865
|
+
...options
|
|
1866
|
+
});
|
|
1867
|
+
var retrieveEventCountsForAProject = (options) => (options.client ?? client).get({
|
|
1868
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1869
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/stats/",
|
|
1870
|
+
...options
|
|
1871
|
+
});
|
|
1872
|
+
var listAProject_sUserFeedback = (options) => (options.client ?? client).get({
|
|
1873
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1874
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/user-feedback/",
|
|
1875
|
+
...options
|
|
1876
|
+
});
|
|
1877
|
+
var submitUserFeedback = (options) => (options.client ?? client).post({
|
|
1878
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1879
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/user-feedback/",
|
|
1880
|
+
...options,
|
|
1881
|
+
headers: {
|
|
1882
|
+
"Content-Type": "application/json",
|
|
1883
|
+
...options.headers
|
|
1884
|
+
}
|
|
1885
|
+
});
|
|
1886
|
+
var listAProject_sServiceHooks = (options) => (options.client ?? client).get({
|
|
1887
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1888
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/hooks/",
|
|
1889
|
+
...options
|
|
1890
|
+
});
|
|
1891
|
+
var registerANewServiceHook = (options) => (options.client ?? client).post({
|
|
1892
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1893
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/hooks/",
|
|
1894
|
+
...options,
|
|
1895
|
+
headers: {
|
|
1896
|
+
"Content-Type": "application/json",
|
|
1897
|
+
...options.headers
|
|
1898
|
+
}
|
|
1899
|
+
});
|
|
1900
|
+
var removeAServiceHook = (options) => (options.client ?? client).delete({
|
|
1901
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1902
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/hooks/{hook_id}/",
|
|
1903
|
+
...options
|
|
1904
|
+
});
|
|
1905
|
+
var retrieveAServiceHook = (options) => (options.client ?? client).get({
|
|
1906
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1907
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/hooks/{hook_id}/",
|
|
1908
|
+
...options
|
|
1909
|
+
});
|
|
1910
|
+
var updateAServiceHook = (options) => (options.client ?? client).put({
|
|
1911
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1912
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/hooks/{hook_id}/",
|
|
1913
|
+
...options,
|
|
1914
|
+
headers: {
|
|
1915
|
+
"Content-Type": "application/json",
|
|
1916
|
+
...options.headers
|
|
1917
|
+
}
|
|
1918
|
+
});
|
|
1919
|
+
var retrieveAnEventForAProject = (options) => (options.client ?? client).get({
|
|
1920
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1921
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/events/{event_id}/",
|
|
1922
|
+
...options
|
|
1923
|
+
});
|
|
1924
|
+
var bulkRemoveAListOfIssues = (options) => (options.client ?? client).delete({
|
|
1925
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1926
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/issues/",
|
|
1927
|
+
...options
|
|
1928
|
+
});
|
|
1929
|
+
var listAProject_sIssues = (options) => (options.client ?? client).get({
|
|
1930
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1931
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/issues/",
|
|
1932
|
+
...options
|
|
1933
|
+
});
|
|
1934
|
+
var bulkMutateAListOfIssues = (options) => (options.client ?? client).put({
|
|
1935
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1936
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/issues/",
|
|
1937
|
+
...options,
|
|
1938
|
+
headers: {
|
|
1939
|
+
"Content-Type": "application/json",
|
|
1940
|
+
...options.headers
|
|
1941
|
+
}
|
|
1942
|
+
});
|
|
1943
|
+
var listATag_sValuesForAnIssue = (options) => (options.client ?? client).get({
|
|
1944
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1945
|
+
url: "/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/tags/{key}/values/",
|
|
1946
|
+
...options
|
|
1947
|
+
});
|
|
1948
|
+
var listAnIssue_sHashes = (options) => (options.client ?? client).get({
|
|
1949
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1950
|
+
url: "/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/hashes/",
|
|
1951
|
+
...options
|
|
1952
|
+
});
|
|
1953
|
+
var removeAnIssue = (options) => (options.client ?? client).delete({
|
|
1954
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1955
|
+
url: "/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/",
|
|
1956
|
+
...options
|
|
1957
|
+
});
|
|
1958
|
+
var retrieveAnIssue = (options) => (options.client ?? client).get({
|
|
1959
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1960
|
+
url: "/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/",
|
|
1961
|
+
...options
|
|
1962
|
+
});
|
|
1963
|
+
var updateAnIssue = (options) => (options.client ?? client).put({
|
|
1964
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1965
|
+
url: "/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/",
|
|
1966
|
+
...options,
|
|
1967
|
+
headers: {
|
|
1968
|
+
"Content-Type": "application/json",
|
|
1969
|
+
...options.headers
|
|
1970
|
+
}
|
|
1971
|
+
});
|
|
1972
|
+
var listAnOrganization_sReleases = (options) => (options.client ?? client).get({
|
|
1973
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1974
|
+
url: "/api/0/organizations/{organization_id_or_slug}/releases/",
|
|
1975
|
+
...options
|
|
1976
|
+
});
|
|
1977
|
+
var createANewReleaseForAnOrganization = (options) => (options.client ?? client).post({
|
|
1978
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1979
|
+
url: "/api/0/organizations/{organization_id_or_slug}/releases/",
|
|
1980
|
+
...options,
|
|
1981
|
+
headers: {
|
|
1982
|
+
"Content-Type": "application/json",
|
|
1983
|
+
...options.headers
|
|
1984
|
+
}
|
|
1985
|
+
});
|
|
1986
|
+
var listAnOrganization_sReleaseFiles = (options) => (options.client ?? client).get({
|
|
1987
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1988
|
+
url: "/api/0/organizations/{organization_id_or_slug}/releases/{version}/files/",
|
|
1989
|
+
...options
|
|
1990
|
+
});
|
|
1991
|
+
var uploadANewOrganizationReleaseFile = (options) => (options.client ?? client).post({
|
|
1992
|
+
...formDataBodySerializer,
|
|
1993
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1994
|
+
url: "/api/0/organizations/{organization_id_or_slug}/releases/{version}/files/",
|
|
1995
|
+
...options,
|
|
1996
|
+
headers: {
|
|
1997
|
+
"Content-Type": null,
|
|
1998
|
+
...options.headers
|
|
1999
|
+
}
|
|
2000
|
+
});
|
|
2001
|
+
var listAProject_sReleaseFiles = (options) => (options.client ?? client).get({
|
|
2002
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2003
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/releases/{version}/files/",
|
|
2004
|
+
...options
|
|
2005
|
+
});
|
|
2006
|
+
var uploadANewProjectReleaseFile = (options) => (options.client ?? client).post({
|
|
2007
|
+
...formDataBodySerializer,
|
|
2008
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2009
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/releases/{version}/files/",
|
|
2010
|
+
...options,
|
|
2011
|
+
headers: {
|
|
2012
|
+
"Content-Type": null,
|
|
2013
|
+
...options.headers
|
|
2014
|
+
}
|
|
2015
|
+
});
|
|
2016
|
+
var deleteAnOrganizationRelease_sFile = (options) => (options.client ?? client).delete({
|
|
2017
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2018
|
+
url: "/api/0/organizations/{organization_id_or_slug}/releases/{version}/files/{file_id}/",
|
|
2019
|
+
...options
|
|
2020
|
+
});
|
|
2021
|
+
var retrieveAnOrganizationRelease_sFile = (options) => (options.client ?? client).get({
|
|
2022
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2023
|
+
url: "/api/0/organizations/{organization_id_or_slug}/releases/{version}/files/{file_id}/",
|
|
2024
|
+
...options
|
|
2025
|
+
});
|
|
2026
|
+
var updateAnOrganizationReleaseFile = (options) => (options.client ?? client).put({
|
|
2027
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2028
|
+
url: "/api/0/organizations/{organization_id_or_slug}/releases/{version}/files/{file_id}/",
|
|
2029
|
+
...options,
|
|
2030
|
+
headers: {
|
|
2031
|
+
"Content-Type": "application/json",
|
|
2032
|
+
...options.headers
|
|
2033
|
+
}
|
|
2034
|
+
});
|
|
2035
|
+
var deleteAProjectRelease_sFile = (options) => (options.client ?? client).delete({
|
|
2036
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2037
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/releases/{version}/files/{file_id}/",
|
|
2038
|
+
...options
|
|
2039
|
+
});
|
|
2040
|
+
var retrieveAProjectRelease_sFile = (options) => (options.client ?? client).get({
|
|
2041
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2042
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/releases/{version}/files/{file_id}/",
|
|
2043
|
+
...options
|
|
2044
|
+
});
|
|
2045
|
+
var updateAProjectReleaseFile = (options) => (options.client ?? client).put({
|
|
2046
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2047
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/releases/{version}/files/{file_id}/",
|
|
2048
|
+
...options,
|
|
2049
|
+
headers: {
|
|
2050
|
+
"Content-Type": "application/json",
|
|
2051
|
+
...options.headers
|
|
2052
|
+
}
|
|
2053
|
+
});
|
|
2054
|
+
var listAnOrganizationRelease_sCommits = (options) => (options.client ?? client).get({
|
|
2055
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2056
|
+
url: "/api/0/organizations/{organization_id_or_slug}/releases/{version}/commits/",
|
|
2057
|
+
...options
|
|
2058
|
+
});
|
|
2059
|
+
var listAProjectRelease_sCommits = (options) => (options.client ?? client).get({
|
|
2060
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2061
|
+
url: "/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/releases/{version}/commits/",
|
|
2062
|
+
...options
|
|
2063
|
+
});
|
|
2064
|
+
var retrieveFilesChangedInARelease_sCommits = (options) => (options.client ?? client).get({
|
|
2065
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2066
|
+
url: "/api/0/organizations/{organization_id_or_slug}/releases/{version}/commitfiles/",
|
|
2067
|
+
...options
|
|
2068
|
+
});
|
|
2069
|
+
var listAnOrganization_sIntegrationPlatformInstallations = (options) => (options.client ?? client).get({
|
|
2070
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2071
|
+
url: "/api/0/organizations/{organization_id_or_slug}/sentry-app-installations/",
|
|
2072
|
+
...options
|
|
2073
|
+
});
|
|
2074
|
+
var createOrUpdateAnExternalIssue = (options) => (options.client ?? client).post({
|
|
2075
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2076
|
+
url: "/api/0/sentry-app-installations/{uuid}/external-issues/",
|
|
2077
|
+
...options,
|
|
2078
|
+
headers: {
|
|
2079
|
+
"Content-Type": "application/json",
|
|
2080
|
+
...options.headers
|
|
2081
|
+
}
|
|
2082
|
+
});
|
|
2083
|
+
var deleteAnExternalIssue = (options) => (options.client ?? client).delete({
|
|
2084
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2085
|
+
url: "/api/0/sentry-app-installations/{uuid}/external-issues/{external_issue_id}/",
|
|
2086
|
+
...options
|
|
2087
|
+
});
|
|
2088
|
+
var disableSpikeProtection = (options) => (options.client ?? client).delete({
|
|
2089
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2090
|
+
url: "/api/0/organizations/{organization_id_or_slug}/spike-protections/",
|
|
2091
|
+
...options,
|
|
2092
|
+
headers: {
|
|
2093
|
+
"Content-Type": "application/json",
|
|
2094
|
+
...options.headers
|
|
2095
|
+
}
|
|
2096
|
+
});
|
|
2097
|
+
var enableSpikeProtection = (options) => (options.client ?? client).post({
|
|
2098
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2099
|
+
url: "/api/0/organizations/{organization_id_or_slug}/spike-protections/",
|
|
2100
|
+
...options,
|
|
2101
|
+
headers: {
|
|
2102
|
+
"Content-Type": "application/json",
|
|
2103
|
+
...options.headers
|
|
2104
|
+
}
|
|
2105
|
+
});
|
|
2106
|
+
var retrieveSeerIssueFixState = (options) => (options.client ?? client).get({
|
|
2107
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2108
|
+
url: "/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/autofix/",
|
|
2109
|
+
...options
|
|
2110
|
+
});
|
|
2111
|
+
var startSeerIssueFix = (options) => (options.client ?? client).post({
|
|
2112
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2113
|
+
url: "/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/autofix/",
|
|
2114
|
+
...options,
|
|
2115
|
+
headers: {
|
|
2116
|
+
"Content-Type": "application/json",
|
|
2117
|
+
...options.headers
|
|
2118
|
+
}
|
|
2119
|
+
});
|
|
2120
|
+
var listAnIssue_sEvents = (options) => (options.client ?? client).get({
|
|
2121
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2122
|
+
url: "/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/events/",
|
|
2123
|
+
...options
|
|
2124
|
+
});
|
|
2125
|
+
var retrieveAnIssueEvent = (options) => (options.client ?? client).get({
|
|
2126
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2127
|
+
url: "/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/events/{event_id}/",
|
|
2128
|
+
...options
|
|
2129
|
+
});
|
|
2130
|
+
var retrieveCustomIntegrationIssueLinksForTheGivenSentryIssue = (options) => (options.client ?? client).get({
|
|
2131
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2132
|
+
url: "/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/external-issues/",
|
|
2133
|
+
...options
|
|
2134
|
+
});
|
|
2135
|
+
var retrieveTagDetails = (options) => (options.client ?? client).get({
|
|
2136
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
2137
|
+
url: "/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/tags/{key}/",
|
|
2138
|
+
...options
|
|
2139
|
+
});
|
|
2140
|
+
export {
|
|
2141
|
+
uploadANewProjectReleaseFile,
|
|
2142
|
+
uploadANewOrganizationReleaseFile,
|
|
2143
|
+
uploadANewFile,
|
|
2144
|
+
updateOwnershipConfigurationForAProject,
|
|
2145
|
+
updateAnOrganization_sRelease,
|
|
2146
|
+
updateAnOrganizationReleaseFile,
|
|
2147
|
+
updateAnOrganizationMember_sTeamRole,
|
|
2148
|
+
updateAnOrganizationMember_sRoles,
|
|
2149
|
+
updateAnOrganizationMember_sAttributes,
|
|
2150
|
+
updateAnOrganization,
|
|
2151
|
+
updateAnIssue,
|
|
2152
|
+
updateAnInboundDataFilter,
|
|
2153
|
+
updateAnExternalUser,
|
|
2154
|
+
updateAnExternalTeam,
|
|
2155
|
+
updateAnExistingCustomIntegration,
|
|
2156
|
+
updateAnAlertById,
|
|
2157
|
+
updateATeam_sAttributes,
|
|
2158
|
+
updateATeam,
|
|
2159
|
+
updateASpikeProtectionNotificationAction,
|
|
2160
|
+
updateAServiceHook,
|
|
2161
|
+
updateAProject_sSymbolSource,
|
|
2162
|
+
updateAProjectReleaseFile,
|
|
2163
|
+
updateAProjectEnvironment,
|
|
2164
|
+
updateAProject,
|
|
2165
|
+
updateAMonitorForAProject,
|
|
2166
|
+
updateAMonitorById,
|
|
2167
|
+
updateAMonitor,
|
|
2168
|
+
updateADataForwarderForAnOrganization,
|
|
2169
|
+
updateAClientKey,
|
|
2170
|
+
syncsRepositoriesFromAnIntegratedOrgWithGitHub,
|
|
2171
|
+
submitUserFeedback,
|
|
2172
|
+
startSeerIssueFix,
|
|
2173
|
+
retrievesListOfRepositoriesForAGivenOwner,
|
|
2174
|
+
retrievesListOfBranchesForAGivenOwnerAndRepository,
|
|
2175
|
+
retrievesASingleRepositoryForAGivenOwner,
|
|
2176
|
+
retrievesAPaginatedListOfRepositoryTokensForAGivenOwner,
|
|
2177
|
+
retrieveTheCustomIntegrationsCreatedByAnOrganization,
|
|
2178
|
+
retrieveTestSuitesBelongingToARepository_sTestResults,
|
|
2179
|
+
retrieveTagDetails,
|
|
2180
|
+
retrieveStatusesOfReleaseThresholdsAlpha,
|
|
2181
|
+
retrieveSeerIssueFixState,
|
|
2182
|
+
retrieveReleaseHealthSessionStatistics,
|
|
2183
|
+
retrievePaginatedListOfTestResultsForRepository_Owner_AndOrganization,
|
|
2184
|
+
retrieveOwnershipConfigurationForAProject,
|
|
2185
|
+
retrieveMonitorsForAnOrganization,
|
|
2186
|
+
retrieveFilesChangedInARelease_sCommits,
|
|
2187
|
+
retrieveEventCountsForAnOrganizationV2,
|
|
2188
|
+
retrieveEventCountsForAProject,
|
|
2189
|
+
retrieveDataForwardersForAnOrganization,
|
|
2190
|
+
retrieveCustomIntegrationIssueLinksForTheGivenSentryIssue,
|
|
2191
|
+
retrieveCheckInsForAMonitorByProject,
|
|
2192
|
+
retrieveCheckInsForAMonitor,
|
|
2193
|
+
retrieveAnOrganization_sRelease,
|
|
2194
|
+
retrieveAnOrganization_sEventsCountByProject,
|
|
2195
|
+
retrieveAnOrganization_sDiscoverSavedQuery,
|
|
2196
|
+
retrieveAnOrganization_sCustomDashboard,
|
|
2197
|
+
retrieveAnOrganizationRelease_sFile,
|
|
2198
|
+
retrieveAnOrganizationMember,
|
|
2199
|
+
retrieveAnOrganization,
|
|
2200
|
+
retrieveAnIssueEvent,
|
|
2201
|
+
retrieveAnIssue,
|
|
2202
|
+
retrieveAnIntegrationForAnOrganization,
|
|
2203
|
+
retrieveAnEventForAProject,
|
|
2204
|
+
retrieveAggregatedTestResultMetricsForRepository_Owner_AndOrganization,
|
|
2205
|
+
retrieveATeam,
|
|
2206
|
+
retrieveASpikeProtectionNotificationAction,
|
|
2207
|
+
retrieveAServiceHook,
|
|
2208
|
+
retrieveAReplayInstance,
|
|
2209
|
+
retrieveARecordingSegment,
|
|
2210
|
+
retrieveAProject_sSymbolSources,
|
|
2211
|
+
retrieveAProjectRelease_sFile,
|
|
2212
|
+
retrieveAProjectEnvironment,
|
|
2213
|
+
retrieveAProject,
|
|
2214
|
+
retrieveAMonitorForAProject,
|
|
2215
|
+
retrieveAMonitor,
|
|
2216
|
+
retrieveACustomIntegrationByIdOrSlug,
|
|
2217
|
+
retrieveACountOfReplaysForAGivenIssueOrTransaction,
|
|
2218
|
+
retrieveAClientKey,
|
|
2219
|
+
resolveAnEventId,
|
|
2220
|
+
resolveAShortId,
|
|
2221
|
+
removeAnIssue,
|
|
2222
|
+
removeAServiceHook,
|
|
2223
|
+
registerANewServiceHook,
|
|
2224
|
+
regeneratesARepositoryUploadTokenAndReturnsTheNewToken,
|
|
2225
|
+
queryExploreEventsInTimeseriesFormat,
|
|
2226
|
+
queryExploreEventsInTableFormat,
|
|
2227
|
+
queryAnIndividualTeam,
|
|
2228
|
+
queryAnIndividualOrganizationMember,
|
|
2229
|
+
provisionANewTeam,
|
|
2230
|
+
provisionANewOrganizationMember,
|
|
2231
|
+
mutateAnOrganization_sMonitors,
|
|
2232
|
+
mutateAnOrganization_sAlerts,
|
|
2233
|
+
listYourOrganizations,
|
|
2234
|
+
listUsersWhoHaveViewedAReplay,
|
|
2235
|
+
listSpikeProtectionNotifications,
|
|
2236
|
+
listSeerAiModels,
|
|
2237
|
+
listRecordingSegments,
|
|
2238
|
+
listClickedNodes,
|
|
2239
|
+
listAnOrganization_sTrustedRelays,
|
|
2240
|
+
listAnOrganization_sTeams,
|
|
2241
|
+
listAnOrganization_sSelectors,
|
|
2242
|
+
listAnOrganization_sScimMembers,
|
|
2243
|
+
listAnOrganization_sRepositories,
|
|
2244
|
+
listAnOrganization_sReplays,
|
|
2245
|
+
listAnOrganization_sReleases,
|
|
2246
|
+
listAnOrganization_sReleaseFiles,
|
|
2247
|
+
listAnOrganization_sProjects,
|
|
2248
|
+
listAnOrganization_sPaginatedTeams,
|
|
2249
|
+
listAnOrganization_sMembers,
|
|
2250
|
+
listAnOrganization_sIssues,
|
|
2251
|
+
listAnOrganization_sIntegrationPlatformInstallations,
|
|
2252
|
+
listAnOrganization_sEnvironments,
|
|
2253
|
+
listAnOrganization_sDiscoverSavedQueries,
|
|
2254
|
+
listAnOrganization_sCustomDashboards,
|
|
2255
|
+
listAnOrganization_sClientKeys,
|
|
2256
|
+
listAnOrganization_sAvailableIntegrations,
|
|
2257
|
+
listAnOrganizationRelease_sCommits,
|
|
2258
|
+
listAnIssue_sHashes,
|
|
2259
|
+
listAnIssue_sEvents,
|
|
2260
|
+
listAUser_sTeamsForAnOrganization,
|
|
2261
|
+
listATeam_sProjects,
|
|
2262
|
+
listATeam_sMembers,
|
|
2263
|
+
listATag_sValuesForAnIssue,
|
|
2264
|
+
listATag_sValues,
|
|
2265
|
+
listARepository_sCommits,
|
|
2266
|
+
listARelease_sDeploys,
|
|
2267
|
+
listAProject_sUsers,
|
|
2268
|
+
listAProject_sUserFeedback,
|
|
2269
|
+
listAProject_sTeams,
|
|
2270
|
+
listAProject_sServiceHooks,
|
|
2271
|
+
listAProject_sReleaseFiles,
|
|
2272
|
+
listAProject_sOrganizationMembers,
|
|
2273
|
+
listAProject_sIssues,
|
|
2274
|
+
listAProject_sErrorEvents,
|
|
2275
|
+
listAProject_sEnvironments,
|
|
2276
|
+
listAProject_sDebugInformationFiles,
|
|
2277
|
+
listAProject_sDataFilters,
|
|
2278
|
+
listAProject_sClientKeys,
|
|
2279
|
+
listAProjectRelease_sCommits,
|
|
2280
|
+
getsSyncingStatusForRepositoriesForAnIntegratedOrg,
|
|
2281
|
+
getIntegrationProviderInformation,
|
|
2282
|
+
fetchAnOrganization_sMonitors,
|
|
2283
|
+
fetchAnAlert,
|
|
2284
|
+
fetchAlerts,
|
|
2285
|
+
fetchAMonitor,
|
|
2286
|
+
enableSpikeProtection,
|
|
2287
|
+
editAnOrganization_sDiscoverSavedQuery,
|
|
2288
|
+
editAnOrganization_sCustomDashboard,
|
|
2289
|
+
disableSpikeProtection,
|
|
2290
|
+
deprecatedUpdateAnIssueAlertRule,
|
|
2291
|
+
deprecatedUpdateAMetricAlertRule,
|
|
2292
|
+
deprecatedRetrieveAnIssueAlertRuleForAProject,
|
|
2293
|
+
deprecatedRetrieveAMetricAlertRuleForAnOrganization,
|
|
2294
|
+
deprecatedListAnOrganization_sMetricAlertRules,
|
|
2295
|
+
deprecatedListAProject_sIssueAlertRules,
|
|
2296
|
+
deprecatedDeleteAnIssueAlertRule,
|
|
2297
|
+
deprecatedDeleteAMetricAlertRule,
|
|
2298
|
+
deprecatedCreateAnIssueAlertRuleForAProject,
|
|
2299
|
+
deprecatedCreateAMetricAlertRuleForAnOrganization,
|
|
2300
|
+
deleteAnOrganization_sRelease,
|
|
2301
|
+
deleteAnOrganization_sDiscoverSavedQuery,
|
|
2302
|
+
deleteAnOrganization_sCustomDashboard,
|
|
2303
|
+
deleteAnOrganizationRelease_sFile,
|
|
2304
|
+
deleteAnOrganizationMemberViaScim,
|
|
2305
|
+
deleteAnOrganizationMemberFromATeam,
|
|
2306
|
+
deleteAnOrganizationMember,
|
|
2307
|
+
deleteAnIntegrationForAnOrganization,
|
|
2308
|
+
deleteAnIndividualTeam,
|
|
2309
|
+
deleteAnExternalUser,
|
|
2310
|
+
deleteAnExternalTeam,
|
|
2311
|
+
deleteAnExternalIssue,
|
|
2312
|
+
deleteAnAlert,
|
|
2313
|
+
deleteATeamFromAProject,
|
|
2314
|
+
deleteATeam,
|
|
2315
|
+
deleteASymbolSourceFromAProject,
|
|
2316
|
+
deleteASpikeProtectionNotificationAction,
|
|
2317
|
+
deleteASpecificProject_sDebugInformationFile,
|
|
2318
|
+
deleteAReplayInstance,
|
|
2319
|
+
deleteAProjectRelease_sFile,
|
|
2320
|
+
deleteAProject,
|
|
2321
|
+
deleteAMonitorOrMonitorEnvironmentsForAProject,
|
|
2322
|
+
deleteAMonitorOrMonitorEnvironments,
|
|
2323
|
+
deleteAMonitor,
|
|
2324
|
+
deleteADataForwarderForAnOrganization,
|
|
2325
|
+
deleteACustomIntegration,
|
|
2326
|
+
deleteAClientKey,
|
|
2327
|
+
debugIssuesRelatedToSourceMapsForAGivenEvent,
|
|
2328
|
+
createOrUpdateAnExternalIssue,
|
|
2329
|
+
createAnExternalUser,
|
|
2330
|
+
createAnExternalTeam,
|
|
2331
|
+
createAnAlertForAnOrganization,
|
|
2332
|
+
createASpikeProtectionNotificationAction,
|
|
2333
|
+
createANewTeam,
|
|
2334
|
+
createANewSavedQuery,
|
|
2335
|
+
createANewReleaseForAnOrganization,
|
|
2336
|
+
createANewProject,
|
|
2337
|
+
createANewDashboardForAnOrganization,
|
|
2338
|
+
createANewClientKey,
|
|
2339
|
+
createAMonitorForAProject,
|
|
2340
|
+
createAMonitor,
|
|
2341
|
+
createADeploy,
|
|
2342
|
+
createADataForwarderForAnOrganization,
|
|
2343
|
+
bulkRemoveAnOrganization_sIssues,
|
|
2344
|
+
bulkRemoveAListOfIssues,
|
|
2345
|
+
bulkMutateAnOrganization_sIssues,
|
|
2346
|
+
bulkMutateAListOfIssues,
|
|
2347
|
+
bulkDeleteMonitors,
|
|
2348
|
+
bulkDeleteAlerts,
|
|
2349
|
+
addAnOrganizationMemberToATeam,
|
|
2350
|
+
addATeamToAProject,
|
|
2351
|
+
addASymbolSourceToAProject,
|
|
2352
|
+
addAMemberToAnOrganization
|
|
2353
|
+
};
|