@releasekit/release 0.7.20 → 0.7.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +3858 -143
- package/dist/dispatcher.js +3815 -100
- package/package.json +4 -4
package/dist/dispatcher.js
CHANGED
|
@@ -864,7 +864,7 @@ function skipVoid(str3, ptr, banNewLines, banComments) {
|
|
|
864
864
|
}
|
|
865
865
|
return ptr;
|
|
866
866
|
}
|
|
867
|
-
function skipUntil(str3, ptr,
|
|
867
|
+
function skipUntil(str3, ptr, sep5, end, banNewLines = false) {
|
|
868
868
|
if (!end) {
|
|
869
869
|
ptr = indexOfNewline(str3, ptr);
|
|
870
870
|
return ptr < 0 ? str3.length : ptr;
|
|
@@ -873,7 +873,7 @@ function skipUntil(str3, ptr, sep4, end, banNewLines = false) {
|
|
|
873
873
|
let c = str3[i];
|
|
874
874
|
if (c === "#") {
|
|
875
875
|
i = indexOfNewline(str3, i);
|
|
876
|
-
} else if (c ===
|
|
876
|
+
} else if (c === sep5) {
|
|
877
877
|
return i + 1;
|
|
878
878
|
} else if (c === end || banNewLines && (c === "\n" || c === "\r" && str3[i + 1] === "\n")) {
|
|
879
879
|
return i;
|
|
@@ -16783,9 +16783,9 @@ async function* _iterSSEMessages(response, controller) {
|
|
|
16783
16783
|
yield sse;
|
|
16784
16784
|
}
|
|
16785
16785
|
}
|
|
16786
|
-
async function* iterSSEChunks(
|
|
16786
|
+
async function* iterSSEChunks(iterator2) {
|
|
16787
16787
|
let data = new Uint8Array();
|
|
16788
|
-
for await (const chunk of
|
|
16788
|
+
for await (const chunk of iterator2) {
|
|
16789
16789
|
if (chunk == null) {
|
|
16790
16790
|
continue;
|
|
16791
16791
|
}
|
|
@@ -16826,8 +16826,8 @@ var init_streaming = __esm({
|
|
|
16826
16826
|
init_log();
|
|
16827
16827
|
init_error2();
|
|
16828
16828
|
Stream = class _Stream {
|
|
16829
|
-
constructor(
|
|
16830
|
-
this.iterator =
|
|
16829
|
+
constructor(iterator2, controller, client) {
|
|
16830
|
+
this.iterator = iterator2;
|
|
16831
16831
|
_Stream_client.set(this, void 0);
|
|
16832
16832
|
this.controller = controller;
|
|
16833
16833
|
__classPrivateFieldSet(this, _Stream_client, client, "f");
|
|
@@ -16835,7 +16835,7 @@ var init_streaming = __esm({
|
|
|
16835
16835
|
static fromSSEResponse(response, controller, client) {
|
|
16836
16836
|
let consumed = false;
|
|
16837
16837
|
const logger = client ? loggerFor(client) : console;
|
|
16838
|
-
async function*
|
|
16838
|
+
async function* iterator2() {
|
|
16839
16839
|
if (consumed) {
|
|
16840
16840
|
throw new AnthropicError("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");
|
|
16841
16841
|
}
|
|
@@ -16880,7 +16880,7 @@ var init_streaming = __esm({
|
|
|
16880
16880
|
controller.abort();
|
|
16881
16881
|
}
|
|
16882
16882
|
}
|
|
16883
|
-
return new _Stream(
|
|
16883
|
+
return new _Stream(iterator2, controller, client);
|
|
16884
16884
|
}
|
|
16885
16885
|
/**
|
|
16886
16886
|
* Generates a Stream from a newline-separated ReadableStream
|
|
@@ -16900,7 +16900,7 @@ var init_streaming = __esm({
|
|
|
16900
16900
|
yield line;
|
|
16901
16901
|
}
|
|
16902
16902
|
}
|
|
16903
|
-
async function*
|
|
16903
|
+
async function* iterator2() {
|
|
16904
16904
|
if (consumed) {
|
|
16905
16905
|
throw new AnthropicError("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");
|
|
16906
16906
|
}
|
|
@@ -16923,7 +16923,7 @@ var init_streaming = __esm({
|
|
|
16923
16923
|
controller.abort();
|
|
16924
16924
|
}
|
|
16925
16925
|
}
|
|
16926
|
-
return new _Stream(
|
|
16926
|
+
return new _Stream(iterator2, controller, client);
|
|
16927
16927
|
}
|
|
16928
16928
|
[(_Stream_client = /* @__PURE__ */ new WeakMap(), Symbol.asyncIterator)]() {
|
|
16929
16929
|
return this.iterator();
|
|
@@ -16935,12 +16935,12 @@ var init_streaming = __esm({
|
|
|
16935
16935
|
tee() {
|
|
16936
16936
|
const left = [];
|
|
16937
16937
|
const right = [];
|
|
16938
|
-
const
|
|
16938
|
+
const iterator2 = this.iterator();
|
|
16939
16939
|
const teeIterator = (queue) => {
|
|
16940
16940
|
return {
|
|
16941
16941
|
next: () => {
|
|
16942
16942
|
if (queue.length === 0) {
|
|
16943
|
-
const result =
|
|
16943
|
+
const result = iterator2.next();
|
|
16944
16944
|
left.push(result);
|
|
16945
16945
|
right.push(result);
|
|
16946
16946
|
}
|
|
@@ -17199,8 +17199,8 @@ var init_pagination = __esm({
|
|
|
17199
17199
|
}
|
|
17200
17200
|
};
|
|
17201
17201
|
PagePromise = class extends APIPromise {
|
|
17202
|
-
constructor(client,
|
|
17203
|
-
super(client,
|
|
17202
|
+
constructor(client, request2, Page3) {
|
|
17203
|
+
super(client, request2, async (client2, props) => new Page3(client2, props.response, await defaultParseResponse(client2, props), props.options));
|
|
17204
17204
|
}
|
|
17205
17205
|
/**
|
|
17206
17206
|
* Allow auto-paginating iteration on an unawaited list call, eg:
|
|
@@ -19178,8 +19178,8 @@ var init_jsonl = __esm({
|
|
|
19178
19178
|
init_shims();
|
|
19179
19179
|
init_line();
|
|
19180
19180
|
JSONLDecoder = class _JSONLDecoder {
|
|
19181
|
-
constructor(
|
|
19182
|
-
this.iterator =
|
|
19181
|
+
constructor(iterator2, controller) {
|
|
19182
|
+
this.iterator = iterator2;
|
|
19183
19183
|
this.controller = controller;
|
|
19184
19184
|
}
|
|
19185
19185
|
async *decoder() {
|
|
@@ -20998,7 +20998,7 @@ var init_client = __esm({
|
|
|
20998
20998
|
* This is useful for cases where you want to add certain headers based off of
|
|
20999
20999
|
* the request properties, e.g. `method` or `url`.
|
|
21000
21000
|
*/
|
|
21001
|
-
async prepareRequest(
|
|
21001
|
+
async prepareRequest(request2, { url: url2, options }) {
|
|
21002
21002
|
}
|
|
21003
21003
|
get(path19, opts) {
|
|
21004
21004
|
return this.methodRequest("get", path19, opts);
|
|
@@ -21125,8 +21125,8 @@ var init_client = __esm({
|
|
|
21125
21125
|
return this.requestAPIList(Page3, opts && "then" in opts ? opts.then((opts2) => ({ method: "get", path: path19, ...opts2 })) : { method: "get", path: path19, ...opts });
|
|
21126
21126
|
}
|
|
21127
21127
|
requestAPIList(Page3, options) {
|
|
21128
|
-
const
|
|
21129
|
-
return new PagePromise(this,
|
|
21128
|
+
const request2 = this.makeRequest(options, null, void 0);
|
|
21129
|
+
return new PagePromise(this, request2, Page3);
|
|
21130
21130
|
}
|
|
21131
21131
|
async fetchWithTimeout(url2, init, ms, controller) {
|
|
21132
21132
|
const { signal, method, ...options } = init || {};
|
|
@@ -22445,9 +22445,9 @@ async function* _iterSSEMessages2(response, controller) {
|
|
|
22445
22445
|
yield sse;
|
|
22446
22446
|
}
|
|
22447
22447
|
}
|
|
22448
|
-
async function* iterSSEChunks2(
|
|
22448
|
+
async function* iterSSEChunks2(iterator2) {
|
|
22449
22449
|
let data = new Uint8Array();
|
|
22450
|
-
for await (const chunk of
|
|
22450
|
+
for await (const chunk of iterator2) {
|
|
22451
22451
|
if (chunk == null) {
|
|
22452
22452
|
continue;
|
|
22453
22453
|
}
|
|
@@ -22487,8 +22487,8 @@ var init_streaming3 = __esm({
|
|
|
22487
22487
|
init_log2();
|
|
22488
22488
|
init_error4();
|
|
22489
22489
|
Stream2 = class _Stream {
|
|
22490
|
-
constructor(
|
|
22491
|
-
this.iterator =
|
|
22490
|
+
constructor(iterator2, controller, client) {
|
|
22491
|
+
this.iterator = iterator2;
|
|
22492
22492
|
_Stream_client2.set(this, void 0);
|
|
22493
22493
|
this.controller = controller;
|
|
22494
22494
|
__classPrivateFieldSet2(this, _Stream_client2, client, "f");
|
|
@@ -22496,7 +22496,7 @@ var init_streaming3 = __esm({
|
|
|
22496
22496
|
static fromSSEResponse(response, controller, client, synthesizeEventData) {
|
|
22497
22497
|
let consumed = false;
|
|
22498
22498
|
const logger = client ? loggerFor2(client) : console;
|
|
22499
|
-
async function*
|
|
22499
|
+
async function* iterator2() {
|
|
22500
22500
|
if (consumed) {
|
|
22501
22501
|
throw new OpenAIError("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");
|
|
22502
22502
|
}
|
|
@@ -22548,7 +22548,7 @@ var init_streaming3 = __esm({
|
|
|
22548
22548
|
controller.abort();
|
|
22549
22549
|
}
|
|
22550
22550
|
}
|
|
22551
|
-
return new _Stream(
|
|
22551
|
+
return new _Stream(iterator2, controller, client);
|
|
22552
22552
|
}
|
|
22553
22553
|
/**
|
|
22554
22554
|
* Generates a Stream from a newline-separated ReadableStream
|
|
@@ -22568,7 +22568,7 @@ var init_streaming3 = __esm({
|
|
|
22568
22568
|
yield line;
|
|
22569
22569
|
}
|
|
22570
22570
|
}
|
|
22571
|
-
async function*
|
|
22571
|
+
async function* iterator2() {
|
|
22572
22572
|
if (consumed) {
|
|
22573
22573
|
throw new OpenAIError("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");
|
|
22574
22574
|
}
|
|
@@ -22591,7 +22591,7 @@ var init_streaming3 = __esm({
|
|
|
22591
22591
|
controller.abort();
|
|
22592
22592
|
}
|
|
22593
22593
|
}
|
|
22594
|
-
return new _Stream(
|
|
22594
|
+
return new _Stream(iterator2, controller, client);
|
|
22595
22595
|
}
|
|
22596
22596
|
[(_Stream_client2 = /* @__PURE__ */ new WeakMap(), Symbol.asyncIterator)]() {
|
|
22597
22597
|
return this.iterator();
|
|
@@ -22603,12 +22603,12 @@ var init_streaming3 = __esm({
|
|
|
22603
22603
|
tee() {
|
|
22604
22604
|
const left = [];
|
|
22605
22605
|
const right = [];
|
|
22606
|
-
const
|
|
22606
|
+
const iterator2 = this.iterator();
|
|
22607
22607
|
const teeIterator = (queue) => {
|
|
22608
22608
|
return {
|
|
22609
22609
|
next: () => {
|
|
22610
22610
|
if (queue.length === 0) {
|
|
22611
|
-
const result =
|
|
22611
|
+
const result = iterator2.next();
|
|
22612
22612
|
left.push(result);
|
|
22613
22613
|
right.push(result);
|
|
22614
22614
|
}
|
|
@@ -22867,8 +22867,8 @@ var init_pagination2 = __esm({
|
|
|
22867
22867
|
}
|
|
22868
22868
|
};
|
|
22869
22869
|
PagePromise2 = class extends APIPromise2 {
|
|
22870
|
-
constructor(client,
|
|
22871
|
-
super(client,
|
|
22870
|
+
constructor(client, request2, Page3) {
|
|
22871
|
+
super(client, request2, async (client2, props) => new Page3(client2, props.response, await defaultParseResponse2(client2, props), props.options));
|
|
22872
22872
|
}
|
|
22873
22873
|
/**
|
|
22874
22874
|
* Allow auto-paginating iteration on an unawaited list call, eg:
|
|
@@ -28339,8 +28339,8 @@ var init_file_batches = __esm({
|
|
|
28339
28339
|
const client = this._client;
|
|
28340
28340
|
const fileIterator = files.values();
|
|
28341
28341
|
const allFileIds = [...fileIds];
|
|
28342
|
-
async function processFiles(
|
|
28343
|
-
for (let item of
|
|
28342
|
+
async function processFiles(iterator2) {
|
|
28343
|
+
for (let item of iterator2) {
|
|
28344
28344
|
const fileObj = await client.files.create({ file: item, purpose: "assistants" }, options);
|
|
28345
28345
|
allFileIds.push(fileObj.id);
|
|
28346
28346
|
}
|
|
@@ -29006,7 +29006,7 @@ var init_client2 = __esm({
|
|
|
29006
29006
|
* This is useful for cases where you want to add certain headers based off of
|
|
29007
29007
|
* the request properties, e.g. `method` or `url`.
|
|
29008
29008
|
*/
|
|
29009
|
-
async prepareRequest(
|
|
29009
|
+
async prepareRequest(request2, { url: url2, options }) {
|
|
29010
29010
|
}
|
|
29011
29011
|
get(path19, opts) {
|
|
29012
29012
|
return this.methodRequest("get", path19, opts);
|
|
@@ -29133,8 +29133,8 @@ var init_client2 = __esm({
|
|
|
29133
29133
|
return this.requestAPIList(Page3, opts && "then" in opts ? opts.then((opts2) => ({ method: "get", path: path19, ...opts2 })) : { method: "get", path: path19, ...opts });
|
|
29134
29134
|
}
|
|
29135
29135
|
requestAPIList(Page3, options) {
|
|
29136
|
-
const
|
|
29137
|
-
return new PagePromise2(this,
|
|
29136
|
+
const request2 = this.makeRequest(options, null, void 0);
|
|
29137
|
+
return new PagePromise2(this, request2, Page3);
|
|
29138
29138
|
}
|
|
29139
29139
|
async fetchWithTimeout(url2, init, ms, controller) {
|
|
29140
29140
|
const { signal, method, ...options } = init || {};
|
|
@@ -30279,8 +30279,8 @@ var require_each = __commonJS({
|
|
|
30279
30279
|
}
|
|
30280
30280
|
} else if (typeof Symbol === "function" && context[Symbol.iterator]) {
|
|
30281
30281
|
var newContext = [];
|
|
30282
|
-
var
|
|
30283
|
-
for (var it =
|
|
30282
|
+
var iterator2 = context[Symbol.iterator]();
|
|
30283
|
+
for (var it = iterator2.next(); !it.done; it = iterator2.next()) {
|
|
30284
30284
|
newContext.push(it.value);
|
|
30285
30285
|
}
|
|
30286
30286
|
context = newContext;
|
|
@@ -30671,8 +30671,8 @@ var require_base = __commonJS({
|
|
|
30671
30671
|
var _logger = require_logger();
|
|
30672
30672
|
var _logger2 = _interopRequireDefault(_logger);
|
|
30673
30673
|
var _internalProtoAccess = require_proto_access();
|
|
30674
|
-
var
|
|
30675
|
-
exports2.VERSION =
|
|
30674
|
+
var VERSION11 = "4.7.9";
|
|
30675
|
+
exports2.VERSION = VERSION11;
|
|
30676
30676
|
var COMPILER_REVISION = 8;
|
|
30677
30677
|
exports2.COMPILER_REVISION = COMPILER_REVISION;
|
|
30678
30678
|
var LAST_COMPATIBLE_COMPILER_REVISION = 7;
|
|
@@ -30801,7 +30801,7 @@ var require_runtime = __commonJS({
|
|
|
30801
30801
|
exports2.wrapProgram = wrapProgram;
|
|
30802
30802
|
exports2.resolvePartial = resolvePartial;
|
|
30803
30803
|
exports2.invokePartial = invokePartial;
|
|
30804
|
-
exports2.noop =
|
|
30804
|
+
exports2.noop = noop5;
|
|
30805
30805
|
function _interopRequireDefault(obj) {
|
|
30806
30806
|
return obj && obj.__esModule ? obj : { "default": obj };
|
|
30807
30807
|
}
|
|
@@ -31042,7 +31042,7 @@ var require_runtime = __commonJS({
|
|
|
31042
31042
|
options.data.contextPath = options.ids[0] || options.data.contextPath;
|
|
31043
31043
|
}
|
|
31044
31044
|
var partialBlock = void 0;
|
|
31045
|
-
if (options.fn && options.fn !==
|
|
31045
|
+
if (options.fn && options.fn !== noop5) {
|
|
31046
31046
|
(function() {
|
|
31047
31047
|
options.data = _base.createFrame(options.data);
|
|
31048
31048
|
var fn = options.fn;
|
|
@@ -31066,7 +31066,7 @@ var require_runtime = __commonJS({
|
|
|
31066
31066
|
return partial2(context, options);
|
|
31067
31067
|
}
|
|
31068
31068
|
}
|
|
31069
|
-
function
|
|
31069
|
+
function noop5() {
|
|
31070
31070
|
return "";
|
|
31071
31071
|
}
|
|
31072
31072
|
function lookupOwnProperty(obj, name) {
|
|
@@ -31480,7 +31480,7 @@ var require_parser = __commonJS({
|
|
|
31480
31480
|
parseError: function parseError(str3, hash2) {
|
|
31481
31481
|
throw new Error(str3);
|
|
31482
31482
|
},
|
|
31483
|
-
parse: function
|
|
31483
|
+
parse: function parse5(input) {
|
|
31484
31484
|
var self = this, stack = [0], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;
|
|
31485
31485
|
this.lexer.setInput(input);
|
|
31486
31486
|
this.lexer.yy = this.yy;
|
|
@@ -32393,7 +32393,7 @@ var require_base2 = __commonJS({
|
|
|
32393
32393
|
"use strict";
|
|
32394
32394
|
exports2.__esModule = true;
|
|
32395
32395
|
exports2.parseWithoutProcessing = parseWithoutProcessing;
|
|
32396
|
-
exports2.parse =
|
|
32396
|
+
exports2.parse = parse5;
|
|
32397
32397
|
function _interopRequireWildcard(obj) {
|
|
32398
32398
|
if (obj && obj.__esModule) {
|
|
32399
32399
|
return obj;
|
|
@@ -32435,7 +32435,7 @@ var require_base2 = __commonJS({
|
|
|
32435
32435
|
var ast = _parser2["default"].parse(input);
|
|
32436
32436
|
return ast;
|
|
32437
32437
|
}
|
|
32438
|
-
function
|
|
32438
|
+
function parse5(input, options) {
|
|
32439
32439
|
var ast = parseWithoutProcessing(input, options);
|
|
32440
32440
|
var strip3 = new _whitespaceControl2["default"](options);
|
|
32441
32441
|
return strip3.accept(ast);
|
|
@@ -34737,7 +34737,7 @@ var require_code_gen = __commonJS({
|
|
|
34737
34737
|
push: function push2(source, loc) {
|
|
34738
34738
|
this.source.push(this.wrap(source, loc));
|
|
34739
34739
|
},
|
|
34740
|
-
merge: function
|
|
34740
|
+
merge: function merge4() {
|
|
34741
34741
|
var source = this.empty();
|
|
34742
34742
|
this.each(function(line) {
|
|
34743
34743
|
source.add([" ", line, "\n"]);
|
|
@@ -38693,8 +38693,8 @@ var init_liquid_node = __esm({
|
|
|
38693
38693
|
return;
|
|
38694
38694
|
let value;
|
|
38695
38695
|
this.skipBlank();
|
|
38696
|
-
const
|
|
38697
|
-
if (this.peek() ===
|
|
38696
|
+
const sep5 = isString(jekyllStyle) ? jekyllStyle : jekyllStyle ? "=" : ":";
|
|
38697
|
+
if (this.peek() === sep5) {
|
|
38698
38698
|
++this.p;
|
|
38699
38699
|
value = this.readValue();
|
|
38700
38700
|
}
|
|
@@ -39119,9 +39119,9 @@ var init_liquid_node = __esm({
|
|
|
39119
39119
|
constructor(options) {
|
|
39120
39120
|
this.options = options;
|
|
39121
39121
|
if (options.relativeReference) {
|
|
39122
|
-
const
|
|
39123
|
-
assert2(
|
|
39124
|
-
const prefixes = ["." +
|
|
39122
|
+
const sep5 = options.fs.sep;
|
|
39123
|
+
assert2(sep5, "`fs.sep` is required for relative reference");
|
|
39124
|
+
const prefixes = ["." + sep5, ".." + sep5, "./", "../"];
|
|
39125
39125
|
this.shouldLoadRelative = (referencedFile) => prefixes.some((prefix) => referencedFile.startsWith(prefix));
|
|
39126
39126
|
} else {
|
|
39127
39127
|
this.shouldLoadRelative = (_referencedFile) => false;
|
|
@@ -39429,10 +39429,10 @@ var init_liquid_node = __esm({
|
|
|
39429
39429
|
});
|
|
39430
39430
|
join = argumentsToValue(function(v, arg) {
|
|
39431
39431
|
const array2 = toArray(v);
|
|
39432
|
-
const
|
|
39433
|
-
const complexity = array2.length * (1 +
|
|
39432
|
+
const sep5 = isNil(arg) ? " " : stringify3(arg);
|
|
39433
|
+
const complexity = array2.length * (1 + sep5.length);
|
|
39434
39434
|
this.context.memoryLimit.use(complexity);
|
|
39435
|
-
return array2.join(
|
|
39435
|
+
return array2.join(sep5);
|
|
39436
39436
|
});
|
|
39437
39437
|
last$1 = argumentsToValue((v) => isArrayLike(v) ? last(v) : "");
|
|
39438
39438
|
first = argumentsToValue((v) => isArrayLike(v) ? v[0] : "");
|
|
@@ -40362,7 +40362,7 @@ var init_liquid_node = __esm({
|
|
|
40362
40362
|
this.options = normalize(opts);
|
|
40363
40363
|
this.parser = new Parser(this);
|
|
40364
40364
|
forOwn(tags, (conf, name) => this.registerTag(name, conf));
|
|
40365
|
-
forOwn(filters, (
|
|
40365
|
+
forOwn(filters, (handler2, name) => this.registerFilter(name, handler2));
|
|
40366
40366
|
}
|
|
40367
40367
|
parse(html, filepath) {
|
|
40368
40368
|
const parser = new Parser(this);
|
|
@@ -43005,9 +43005,9 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
43005
43005
|
_chainOrCallSubCommandHook(promise3, subCommand, event) {
|
|
43006
43006
|
let result = promise3;
|
|
43007
43007
|
if (this._lifeCycleHooks[event] !== void 0) {
|
|
43008
|
-
this._lifeCycleHooks[event].forEach((
|
|
43008
|
+
this._lifeCycleHooks[event].forEach((hook2) => {
|
|
43009
43009
|
result = this._chainOrCall(result, () => {
|
|
43010
|
-
return
|
|
43010
|
+
return hook2(this, subCommand);
|
|
43011
43011
|
});
|
|
43012
43012
|
});
|
|
43013
43013
|
}
|
|
@@ -46646,7 +46646,7 @@ var require_parse = __commonJS({
|
|
|
46646
46646
|
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/parse.js"(exports2, module2) {
|
|
46647
46647
|
"use strict";
|
|
46648
46648
|
var SemVer = require_semver();
|
|
46649
|
-
var
|
|
46649
|
+
var parse5 = (version2, options, throwErrors = false) => {
|
|
46650
46650
|
if (version2 instanceof SemVer) {
|
|
46651
46651
|
return version2;
|
|
46652
46652
|
}
|
|
@@ -46659,7 +46659,7 @@ var require_parse = __commonJS({
|
|
|
46659
46659
|
throw er;
|
|
46660
46660
|
}
|
|
46661
46661
|
};
|
|
46662
|
-
module2.exports =
|
|
46662
|
+
module2.exports = parse5;
|
|
46663
46663
|
}
|
|
46664
46664
|
});
|
|
46665
46665
|
|
|
@@ -46667,9 +46667,9 @@ var require_parse = __commonJS({
|
|
|
46667
46667
|
var require_valid = __commonJS({
|
|
46668
46668
|
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/valid.js"(exports2, module2) {
|
|
46669
46669
|
"use strict";
|
|
46670
|
-
var
|
|
46670
|
+
var parse5 = require_parse();
|
|
46671
46671
|
var valid = (version2, options) => {
|
|
46672
|
-
const v =
|
|
46672
|
+
const v = parse5(version2, options);
|
|
46673
46673
|
return v ? v.version : null;
|
|
46674
46674
|
};
|
|
46675
46675
|
module2.exports = valid;
|
|
@@ -46680,9 +46680,9 @@ var require_valid = __commonJS({
|
|
|
46680
46680
|
var require_clean = __commonJS({
|
|
46681
46681
|
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/clean.js"(exports2, module2) {
|
|
46682
46682
|
"use strict";
|
|
46683
|
-
var
|
|
46683
|
+
var parse5 = require_parse();
|
|
46684
46684
|
var clean = (version2, options) => {
|
|
46685
|
-
const s =
|
|
46685
|
+
const s = parse5(version2.trim().replace(/^[=v]+/, ""), options);
|
|
46686
46686
|
return s ? s.version : null;
|
|
46687
46687
|
};
|
|
46688
46688
|
module2.exports = clean;
|
|
@@ -46717,10 +46717,10 @@ var require_inc = __commonJS({
|
|
|
46717
46717
|
var require_diff = __commonJS({
|
|
46718
46718
|
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/diff.js"(exports2, module2) {
|
|
46719
46719
|
"use strict";
|
|
46720
|
-
var
|
|
46720
|
+
var parse5 = require_parse();
|
|
46721
46721
|
var diff = (version1, version2) => {
|
|
46722
|
-
const v1 =
|
|
46723
|
-
const v2 =
|
|
46722
|
+
const v1 = parse5(version1, null, true);
|
|
46723
|
+
const v2 = parse5(version2, null, true);
|
|
46724
46724
|
const comparison = v1.compare(v2);
|
|
46725
46725
|
if (comparison === 0) {
|
|
46726
46726
|
return null;
|
|
@@ -46791,9 +46791,9 @@ var require_patch = __commonJS({
|
|
|
46791
46791
|
var require_prerelease = __commonJS({
|
|
46792
46792
|
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/prerelease.js"(exports2, module2) {
|
|
46793
46793
|
"use strict";
|
|
46794
|
-
var
|
|
46794
|
+
var parse5 = require_parse();
|
|
46795
46795
|
var prerelease = (version2, options) => {
|
|
46796
|
-
const parsed =
|
|
46796
|
+
const parsed = parse5(version2, options);
|
|
46797
46797
|
return parsed && parsed.prerelease.length ? parsed.prerelease : null;
|
|
46798
46798
|
};
|
|
46799
46799
|
module2.exports = prerelease;
|
|
@@ -46979,7 +46979,7 @@ var require_coerce = __commonJS({
|
|
|
46979
46979
|
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/coerce.js"(exports2, module2) {
|
|
46980
46980
|
"use strict";
|
|
46981
46981
|
var SemVer = require_semver();
|
|
46982
|
-
var
|
|
46982
|
+
var parse5 = require_parse();
|
|
46983
46983
|
var { safeRe: re, t } = require_re();
|
|
46984
46984
|
var coerce = (version2, options) => {
|
|
46985
46985
|
if (version2 instanceof SemVer) {
|
|
@@ -47014,7 +47014,7 @@ var require_coerce = __commonJS({
|
|
|
47014
47014
|
const patch = match2[4] || "0";
|
|
47015
47015
|
const prerelease = options.includePrerelease && match2[5] ? `-${match2[5]}` : "";
|
|
47016
47016
|
const build2 = options.includePrerelease && match2[6] ? `+${match2[6]}` : "";
|
|
47017
|
-
return
|
|
47017
|
+
return parse5(`${major}.${minor}.${patch}${prerelease}${build2}`, options);
|
|
47018
47018
|
};
|
|
47019
47019
|
module2.exports = coerce;
|
|
47020
47020
|
}
|
|
@@ -48031,7 +48031,7 @@ var require_semver2 = __commonJS({
|
|
|
48031
48031
|
var constants = require_constants();
|
|
48032
48032
|
var SemVer = require_semver();
|
|
48033
48033
|
var identifiers = require_identifiers();
|
|
48034
|
-
var
|
|
48034
|
+
var parse5 = require_parse();
|
|
48035
48035
|
var valid = require_valid();
|
|
48036
48036
|
var clean = require_clean();
|
|
48037
48037
|
var inc = require_inc();
|
|
@@ -48069,7 +48069,7 @@ var require_semver2 = __commonJS({
|
|
|
48069
48069
|
var simplifyRange = require_simplify();
|
|
48070
48070
|
var subset = require_subset();
|
|
48071
48071
|
module2.exports = {
|
|
48072
|
-
parse:
|
|
48072
|
+
parse: parse5,
|
|
48073
48073
|
valid,
|
|
48074
48074
|
clean,
|
|
48075
48075
|
inc,
|
|
@@ -50815,8 +50815,8 @@ var init_CommitParser = __esm({
|
|
|
50815
50815
|
parseMerge() {
|
|
50816
50816
|
const { commit, options } = this;
|
|
50817
50817
|
const correspondence = options.mergeCorrespondence || [];
|
|
50818
|
-
const
|
|
50819
|
-
const matches =
|
|
50818
|
+
const merge4 = this.currentLine();
|
|
50819
|
+
const matches = merge4 && options.mergePattern ? merge4.match(options.mergePattern) : null;
|
|
50820
50820
|
if (matches) {
|
|
50821
50821
|
this.nextLine();
|
|
50822
50822
|
commit.merge = matches[0] || null;
|
|
@@ -51021,7 +51021,7 @@ function parseCommits(options = {}) {
|
|
|
51021
51021
|
throw err;
|
|
51022
51022
|
} : warnOption ? (err) => warnOption(err.toString()) : () => {
|
|
51023
51023
|
};
|
|
51024
|
-
return async function*
|
|
51024
|
+
return async function* parse5(rawCommits) {
|
|
51025
51025
|
const parser = new CommitParser(options);
|
|
51026
51026
|
let rawCommit;
|
|
51027
51027
|
for await (rawCommit of rawCommits) {
|
|
@@ -51228,9 +51228,9 @@ var init_ConventionalGitClient = __esm({
|
|
|
51228
51228
|
yield* filterRevertedCommits2(this.getCommits(gitLogParams, parserOptions));
|
|
51229
51229
|
return;
|
|
51230
51230
|
}
|
|
51231
|
-
const
|
|
51231
|
+
const parse5 = parseCommits2(parserOptions);
|
|
51232
51232
|
const commitsStream = this.getRawCommits(gitLogParams);
|
|
51233
|
-
yield*
|
|
51233
|
+
yield* parse5(commitsStream);
|
|
51234
51234
|
}
|
|
51235
51235
|
/**
|
|
51236
51236
|
* Get semver tags stream.
|
|
@@ -52003,9 +52003,9 @@ var init_ConventionalGitClient2 = __esm({
|
|
|
52003
52003
|
yield* filterRevertedCommits2(this.getCommits(gitLogParams, parserOptions));
|
|
52004
52004
|
return;
|
|
52005
52005
|
}
|
|
52006
|
-
const
|
|
52006
|
+
const parse5 = parseCommits2(parserOptions);
|
|
52007
52007
|
const commitsStream = this.getRawCommits(gitLogParams);
|
|
52008
|
-
yield*
|
|
52008
|
+
yield* parse5(commitsStream);
|
|
52009
52009
|
}
|
|
52010
52010
|
/**
|
|
52011
52011
|
* Get semver tags stream.
|
|
@@ -56768,7 +56768,7 @@ var require_parse2 = __commonJS({
|
|
|
56768
56768
|
}
|
|
56769
56769
|
return { risky: false };
|
|
56770
56770
|
};
|
|
56771
|
-
var
|
|
56771
|
+
var parse5 = (input, options) => {
|
|
56772
56772
|
if (typeof input !== "string") {
|
|
56773
56773
|
throw new TypeError("Expected a string");
|
|
56774
56774
|
}
|
|
@@ -56938,7 +56938,7 @@ var require_parse2 = __commonJS({
|
|
|
56938
56938
|
output3 = token.close = `)$))${extglobStar}`;
|
|
56939
56939
|
}
|
|
56940
56940
|
if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) {
|
|
56941
|
-
const expression =
|
|
56941
|
+
const expression = parse5(rest, { ...options, fastpaths: false }).output;
|
|
56942
56942
|
output3 = token.close = `)${expression})${extglobStar})`;
|
|
56943
56943
|
}
|
|
56944
56944
|
if (token.prev.type === "bos") {
|
|
@@ -57460,7 +57460,7 @@ var require_parse2 = __commonJS({
|
|
|
57460
57460
|
}
|
|
57461
57461
|
return state;
|
|
57462
57462
|
};
|
|
57463
|
-
|
|
57463
|
+
parse5.fastpaths = (input, options) => {
|
|
57464
57464
|
const opts = { ...options };
|
|
57465
57465
|
const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
|
|
57466
57466
|
const len = input.length;
|
|
@@ -57525,7 +57525,7 @@ var require_parse2 = __commonJS({
|
|
|
57525
57525
|
}
|
|
57526
57526
|
return source;
|
|
57527
57527
|
};
|
|
57528
|
-
module2.exports =
|
|
57528
|
+
module2.exports = parse5;
|
|
57529
57529
|
}
|
|
57530
57530
|
});
|
|
57531
57531
|
|
|
@@ -57534,7 +57534,7 @@ var require_picomatch = __commonJS({
|
|
|
57534
57534
|
"../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/picomatch.js"(exports2, module2) {
|
|
57535
57535
|
"use strict";
|
|
57536
57536
|
var scan = require_scan();
|
|
57537
|
-
var
|
|
57537
|
+
var parse5 = require_parse2();
|
|
57538
57538
|
var utils2 = require_utils2();
|
|
57539
57539
|
var constants = require_constants2();
|
|
57540
57540
|
var isObject4 = (val) => val && typeof val === "object" && !Array.isArray(val);
|
|
@@ -57622,7 +57622,7 @@ var require_picomatch = __commonJS({
|
|
|
57622
57622
|
picomatch2.isMatch = (str3, patterns, options) => picomatch2(patterns, options)(str3);
|
|
57623
57623
|
picomatch2.parse = (pattern, options) => {
|
|
57624
57624
|
if (Array.isArray(pattern)) return pattern.map((p) => picomatch2.parse(p, options));
|
|
57625
|
-
return
|
|
57625
|
+
return parse5(pattern, { ...options, fastpaths: false });
|
|
57626
57626
|
};
|
|
57627
57627
|
picomatch2.scan = (input, options) => scan(input, options);
|
|
57628
57628
|
picomatch2.compileRe = (state, options, returnOutput = false, returnState = false) => {
|
|
@@ -57648,10 +57648,10 @@ var require_picomatch = __commonJS({
|
|
|
57648
57648
|
}
|
|
57649
57649
|
let parsed = { negated: false, fastpaths: true };
|
|
57650
57650
|
if (options.fastpaths !== false && (input[0] === "." || input[0] === "*")) {
|
|
57651
|
-
parsed.output =
|
|
57651
|
+
parsed.output = parse5.fastpaths(input, options);
|
|
57652
57652
|
}
|
|
57653
57653
|
if (!parsed.output) {
|
|
57654
|
-
parsed =
|
|
57654
|
+
parsed = parse5(input, options);
|
|
57655
57655
|
}
|
|
57656
57656
|
return picomatch2.compileRe(parsed, options, returnOutput, returnState);
|
|
57657
57657
|
};
|
|
@@ -59578,17 +59578,17 @@ function loadDocuments(input, options) {
|
|
|
59578
59578
|
}
|
|
59579
59579
|
return state.documents;
|
|
59580
59580
|
}
|
|
59581
|
-
function loadAll$1(input,
|
|
59582
|
-
if (
|
|
59583
|
-
options =
|
|
59584
|
-
|
|
59581
|
+
function loadAll$1(input, iterator2, options) {
|
|
59582
|
+
if (iterator2 !== null && typeof iterator2 === "object" && typeof options === "undefined") {
|
|
59583
|
+
options = iterator2;
|
|
59584
|
+
iterator2 = null;
|
|
59585
59585
|
}
|
|
59586
59586
|
var documents = loadDocuments(input, options);
|
|
59587
|
-
if (typeof
|
|
59587
|
+
if (typeof iterator2 !== "function") {
|
|
59588
59588
|
return documents;
|
|
59589
59589
|
}
|
|
59590
59590
|
for (var index = 0, length = documents.length; index < length; index += 1) {
|
|
59591
|
-
|
|
59591
|
+
iterator2(documents[index]);
|
|
59592
59592
|
}
|
|
59593
59593
|
}
|
|
59594
59594
|
function load$1(input, options) {
|
|
@@ -60679,7 +60679,7 @@ var require_parse3 = __commonJS({
|
|
|
60679
60679
|
}
|
|
60680
60680
|
return result + "\n" + srcline + "\n" + underline;
|
|
60681
60681
|
}
|
|
60682
|
-
function
|
|
60682
|
+
function parse5(input, options) {
|
|
60683
60683
|
var json5 = false;
|
|
60684
60684
|
var cjson = false;
|
|
60685
60685
|
if (options.legacy || options.mode === "json") {
|
|
@@ -61137,7 +61137,7 @@ var require_parse3 = __commonJS({
|
|
|
61137
61137
|
}
|
|
61138
61138
|
}
|
|
61139
61139
|
try {
|
|
61140
|
-
return
|
|
61140
|
+
return parse5(input, options);
|
|
61141
61141
|
} catch (err) {
|
|
61142
61142
|
if (err instanceof SyntaxError && err.row != null && err.column != null) {
|
|
61143
61143
|
var old_err = err;
|
|
@@ -65197,6 +65197,102 @@ var init_dist16 = __esm({
|
|
|
65197
65197
|
}
|
|
65198
65198
|
});
|
|
65199
65199
|
|
|
65200
|
+
// ../../node_modules/.pnpm/fast-content-type-parse@3.0.0/node_modules/fast-content-type-parse/index.js
|
|
65201
|
+
var require_fast_content_type_parse = __commonJS({
|
|
65202
|
+
"../../node_modules/.pnpm/fast-content-type-parse@3.0.0/node_modules/fast-content-type-parse/index.js"(exports2, module2) {
|
|
65203
|
+
"use strict";
|
|
65204
|
+
var NullObject = function NullObject2() {
|
|
65205
|
+
};
|
|
65206
|
+
NullObject.prototype = /* @__PURE__ */ Object.create(null);
|
|
65207
|
+
var paramRE = /; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu;
|
|
65208
|
+
var quotedPairRE = /\\([\v\u0020-\u00ff])/gu;
|
|
65209
|
+
var mediaTypeRE = /^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u;
|
|
65210
|
+
var defaultContentType = { type: "", parameters: new NullObject() };
|
|
65211
|
+
Object.freeze(defaultContentType.parameters);
|
|
65212
|
+
Object.freeze(defaultContentType);
|
|
65213
|
+
function parse5(header) {
|
|
65214
|
+
if (typeof header !== "string") {
|
|
65215
|
+
throw new TypeError("argument header is required and must be a string");
|
|
65216
|
+
}
|
|
65217
|
+
let index = header.indexOf(";");
|
|
65218
|
+
const type2 = index !== -1 ? header.slice(0, index).trim() : header.trim();
|
|
65219
|
+
if (mediaTypeRE.test(type2) === false) {
|
|
65220
|
+
throw new TypeError("invalid media type");
|
|
65221
|
+
}
|
|
65222
|
+
const result = {
|
|
65223
|
+
type: type2.toLowerCase(),
|
|
65224
|
+
parameters: new NullObject()
|
|
65225
|
+
};
|
|
65226
|
+
if (index === -1) {
|
|
65227
|
+
return result;
|
|
65228
|
+
}
|
|
65229
|
+
let key;
|
|
65230
|
+
let match2;
|
|
65231
|
+
let value;
|
|
65232
|
+
paramRE.lastIndex = index;
|
|
65233
|
+
while (match2 = paramRE.exec(header)) {
|
|
65234
|
+
if (match2.index !== index) {
|
|
65235
|
+
throw new TypeError("invalid parameter format");
|
|
65236
|
+
}
|
|
65237
|
+
index += match2[0].length;
|
|
65238
|
+
key = match2[1].toLowerCase();
|
|
65239
|
+
value = match2[2];
|
|
65240
|
+
if (value[0] === '"') {
|
|
65241
|
+
value = value.slice(1, value.length - 1);
|
|
65242
|
+
quotedPairRE.test(value) && (value = value.replace(quotedPairRE, "$1"));
|
|
65243
|
+
}
|
|
65244
|
+
result.parameters[key] = value;
|
|
65245
|
+
}
|
|
65246
|
+
if (index !== header.length) {
|
|
65247
|
+
throw new TypeError("invalid parameter format");
|
|
65248
|
+
}
|
|
65249
|
+
return result;
|
|
65250
|
+
}
|
|
65251
|
+
function safeParse4(header) {
|
|
65252
|
+
if (typeof header !== "string") {
|
|
65253
|
+
return defaultContentType;
|
|
65254
|
+
}
|
|
65255
|
+
let index = header.indexOf(";");
|
|
65256
|
+
const type2 = index !== -1 ? header.slice(0, index).trim() : header.trim();
|
|
65257
|
+
if (mediaTypeRE.test(type2) === false) {
|
|
65258
|
+
return defaultContentType;
|
|
65259
|
+
}
|
|
65260
|
+
const result = {
|
|
65261
|
+
type: type2.toLowerCase(),
|
|
65262
|
+
parameters: new NullObject()
|
|
65263
|
+
};
|
|
65264
|
+
if (index === -1) {
|
|
65265
|
+
return result;
|
|
65266
|
+
}
|
|
65267
|
+
let key;
|
|
65268
|
+
let match2;
|
|
65269
|
+
let value;
|
|
65270
|
+
paramRE.lastIndex = index;
|
|
65271
|
+
while (match2 = paramRE.exec(header)) {
|
|
65272
|
+
if (match2.index !== index) {
|
|
65273
|
+
return defaultContentType;
|
|
65274
|
+
}
|
|
65275
|
+
index += match2[0].length;
|
|
65276
|
+
key = match2[1].toLowerCase();
|
|
65277
|
+
value = match2[2];
|
|
65278
|
+
if (value[0] === '"') {
|
|
65279
|
+
value = value.slice(1, value.length - 1);
|
|
65280
|
+
quotedPairRE.test(value) && (value = value.replace(quotedPairRE, "$1"));
|
|
65281
|
+
}
|
|
65282
|
+
result.parameters[key] = value;
|
|
65283
|
+
}
|
|
65284
|
+
if (index !== header.length) {
|
|
65285
|
+
return defaultContentType;
|
|
65286
|
+
}
|
|
65287
|
+
return result;
|
|
65288
|
+
}
|
|
65289
|
+
module2.exports.default = { parse: parse5, safeParse: safeParse4 };
|
|
65290
|
+
module2.exports.parse = parse5;
|
|
65291
|
+
module2.exports.safeParse = safeParse4;
|
|
65292
|
+
module2.exports.defaultContentType = defaultContentType;
|
|
65293
|
+
}
|
|
65294
|
+
});
|
|
65295
|
+
|
|
65200
65296
|
// src/dispatcher.ts
|
|
65201
65297
|
import { realpathSync } from "fs";
|
|
65202
65298
|
import { fileURLToPath as fileURLToPath4 } from "url";
|
|
@@ -65992,19 +66088,3631 @@ function capitalize2(str3) {
|
|
|
65992
66088
|
return str3.charAt(0).toUpperCase() + str3.slice(1);
|
|
65993
66089
|
}
|
|
65994
66090
|
|
|
66091
|
+
// ../../node_modules/.pnpm/universal-user-agent@7.0.3/node_modules/universal-user-agent/index.js
|
|
66092
|
+
function getUserAgent() {
|
|
66093
|
+
if (typeof navigator === "object" && "userAgent" in navigator) {
|
|
66094
|
+
return navigator.userAgent;
|
|
66095
|
+
}
|
|
66096
|
+
if (typeof process === "object" && process.version !== void 0) {
|
|
66097
|
+
return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`;
|
|
66098
|
+
}
|
|
66099
|
+
return "<environment undetectable>";
|
|
66100
|
+
}
|
|
66101
|
+
|
|
66102
|
+
// ../../node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/lib/register.js
|
|
66103
|
+
function register(state, name, method, options) {
|
|
66104
|
+
if (typeof method !== "function") {
|
|
66105
|
+
throw new Error("method for before hook must be a function");
|
|
66106
|
+
}
|
|
66107
|
+
if (!options) {
|
|
66108
|
+
options = {};
|
|
66109
|
+
}
|
|
66110
|
+
if (Array.isArray(name)) {
|
|
66111
|
+
return name.reverse().reduce((callback2, name2) => {
|
|
66112
|
+
return register.bind(null, state, name2, callback2, options);
|
|
66113
|
+
}, method)();
|
|
66114
|
+
}
|
|
66115
|
+
return Promise.resolve().then(() => {
|
|
66116
|
+
if (!state.registry[name]) {
|
|
66117
|
+
return method(options);
|
|
66118
|
+
}
|
|
66119
|
+
return state.registry[name].reduce((method2, registered) => {
|
|
66120
|
+
return registered.hook.bind(null, method2, options);
|
|
66121
|
+
}, method)();
|
|
66122
|
+
});
|
|
66123
|
+
}
|
|
66124
|
+
|
|
66125
|
+
// ../../node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/lib/add.js
|
|
66126
|
+
function addHook(state, kind, name, hook2) {
|
|
66127
|
+
const orig = hook2;
|
|
66128
|
+
if (!state.registry[name]) {
|
|
66129
|
+
state.registry[name] = [];
|
|
66130
|
+
}
|
|
66131
|
+
if (kind === "before") {
|
|
66132
|
+
hook2 = (method, options) => {
|
|
66133
|
+
return Promise.resolve().then(orig.bind(null, options)).then(method.bind(null, options));
|
|
66134
|
+
};
|
|
66135
|
+
}
|
|
66136
|
+
if (kind === "after") {
|
|
66137
|
+
hook2 = (method, options) => {
|
|
66138
|
+
let result;
|
|
66139
|
+
return Promise.resolve().then(method.bind(null, options)).then((result_) => {
|
|
66140
|
+
result = result_;
|
|
66141
|
+
return orig(result, options);
|
|
66142
|
+
}).then(() => {
|
|
66143
|
+
return result;
|
|
66144
|
+
});
|
|
66145
|
+
};
|
|
66146
|
+
}
|
|
66147
|
+
if (kind === "error") {
|
|
66148
|
+
hook2 = (method, options) => {
|
|
66149
|
+
return Promise.resolve().then(method.bind(null, options)).catch((error50) => {
|
|
66150
|
+
return orig(error50, options);
|
|
66151
|
+
});
|
|
66152
|
+
};
|
|
66153
|
+
}
|
|
66154
|
+
state.registry[name].push({
|
|
66155
|
+
hook: hook2,
|
|
66156
|
+
orig
|
|
66157
|
+
});
|
|
66158
|
+
}
|
|
66159
|
+
|
|
66160
|
+
// ../../node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/lib/remove.js
|
|
66161
|
+
function removeHook(state, name, method) {
|
|
66162
|
+
if (!state.registry[name]) {
|
|
66163
|
+
return;
|
|
66164
|
+
}
|
|
66165
|
+
const index = state.registry[name].map((registered) => {
|
|
66166
|
+
return registered.orig;
|
|
66167
|
+
}).indexOf(method);
|
|
66168
|
+
if (index === -1) {
|
|
66169
|
+
return;
|
|
66170
|
+
}
|
|
66171
|
+
state.registry[name].splice(index, 1);
|
|
66172
|
+
}
|
|
66173
|
+
|
|
66174
|
+
// ../../node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/index.js
|
|
66175
|
+
var bind = Function.bind;
|
|
66176
|
+
var bindable = bind.bind(bind);
|
|
66177
|
+
function bindApi(hook2, state, name) {
|
|
66178
|
+
const removeHookRef = bindable(removeHook, null).apply(
|
|
66179
|
+
null,
|
|
66180
|
+
name ? [state, name] : [state]
|
|
66181
|
+
);
|
|
66182
|
+
hook2.api = { remove: removeHookRef };
|
|
66183
|
+
hook2.remove = removeHookRef;
|
|
66184
|
+
["before", "error", "after", "wrap"].forEach((kind) => {
|
|
66185
|
+
const args = name ? [state, kind, name] : [state, kind];
|
|
66186
|
+
hook2[kind] = hook2.api[kind] = bindable(addHook, null).apply(null, args);
|
|
66187
|
+
});
|
|
66188
|
+
}
|
|
66189
|
+
function Singular() {
|
|
66190
|
+
const singularHookName = /* @__PURE__ */ Symbol("Singular");
|
|
66191
|
+
const singularHookState = {
|
|
66192
|
+
registry: {}
|
|
66193
|
+
};
|
|
66194
|
+
const singularHook = register.bind(null, singularHookState, singularHookName);
|
|
66195
|
+
bindApi(singularHook, singularHookState, singularHookName);
|
|
66196
|
+
return singularHook;
|
|
66197
|
+
}
|
|
66198
|
+
function Collection() {
|
|
66199
|
+
const state = {
|
|
66200
|
+
registry: {}
|
|
66201
|
+
};
|
|
66202
|
+
const hook2 = register.bind(null, state);
|
|
66203
|
+
bindApi(hook2, state);
|
|
66204
|
+
return hook2;
|
|
66205
|
+
}
|
|
66206
|
+
var before_after_hook_default = { Singular, Collection };
|
|
66207
|
+
|
|
66208
|
+
// ../../node_modules/.pnpm/@octokit+endpoint@11.0.3/node_modules/@octokit/endpoint/dist-bundle/index.js
|
|
66209
|
+
var VERSION3 = "0.0.0-development";
|
|
66210
|
+
var userAgent = `octokit-endpoint.js/${VERSION3} ${getUserAgent()}`;
|
|
66211
|
+
var DEFAULTS = {
|
|
66212
|
+
method: "GET",
|
|
66213
|
+
baseUrl: "https://api.github.com",
|
|
66214
|
+
headers: {
|
|
66215
|
+
accept: "application/vnd.github.v3+json",
|
|
66216
|
+
"user-agent": userAgent
|
|
66217
|
+
},
|
|
66218
|
+
mediaType: {
|
|
66219
|
+
format: ""
|
|
66220
|
+
}
|
|
66221
|
+
};
|
|
66222
|
+
function lowercaseKeys(object2) {
|
|
66223
|
+
if (!object2) {
|
|
66224
|
+
return {};
|
|
66225
|
+
}
|
|
66226
|
+
return Object.keys(object2).reduce((newObj, key) => {
|
|
66227
|
+
newObj[key.toLowerCase()] = object2[key];
|
|
66228
|
+
return newObj;
|
|
66229
|
+
}, {});
|
|
66230
|
+
}
|
|
66231
|
+
function isPlainObject2(value) {
|
|
66232
|
+
if (typeof value !== "object" || value === null) return false;
|
|
66233
|
+
if (Object.prototype.toString.call(value) !== "[object Object]") return false;
|
|
66234
|
+
const proto2 = Object.getPrototypeOf(value);
|
|
66235
|
+
if (proto2 === null) return true;
|
|
66236
|
+
const Ctor = Object.prototype.hasOwnProperty.call(proto2, "constructor") && proto2.constructor;
|
|
66237
|
+
return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value);
|
|
66238
|
+
}
|
|
66239
|
+
function mergeDeep(defaults3, options) {
|
|
66240
|
+
const result = Object.assign({}, defaults3);
|
|
66241
|
+
Object.keys(options).forEach((key) => {
|
|
66242
|
+
if (isPlainObject2(options[key])) {
|
|
66243
|
+
if (!(key in defaults3)) Object.assign(result, { [key]: options[key] });
|
|
66244
|
+
else result[key] = mergeDeep(defaults3[key], options[key]);
|
|
66245
|
+
} else {
|
|
66246
|
+
Object.assign(result, { [key]: options[key] });
|
|
66247
|
+
}
|
|
66248
|
+
});
|
|
66249
|
+
return result;
|
|
66250
|
+
}
|
|
66251
|
+
function removeUndefinedProperties(obj) {
|
|
66252
|
+
for (const key in obj) {
|
|
66253
|
+
if (obj[key] === void 0) {
|
|
66254
|
+
delete obj[key];
|
|
66255
|
+
}
|
|
66256
|
+
}
|
|
66257
|
+
return obj;
|
|
66258
|
+
}
|
|
66259
|
+
function merge3(defaults3, route, options) {
|
|
66260
|
+
if (typeof route === "string") {
|
|
66261
|
+
let [method, url2] = route.split(" ");
|
|
66262
|
+
options = Object.assign(url2 ? { method, url: url2 } : { url: method }, options);
|
|
66263
|
+
} else {
|
|
66264
|
+
options = Object.assign({}, route);
|
|
66265
|
+
}
|
|
66266
|
+
options.headers = lowercaseKeys(options.headers);
|
|
66267
|
+
removeUndefinedProperties(options);
|
|
66268
|
+
removeUndefinedProperties(options.headers);
|
|
66269
|
+
const mergedOptions = mergeDeep(defaults3 || {}, options);
|
|
66270
|
+
if (options.url === "/graphql") {
|
|
66271
|
+
if (defaults3 && defaults3.mediaType.previews?.length) {
|
|
66272
|
+
mergedOptions.mediaType.previews = defaults3.mediaType.previews.filter(
|
|
66273
|
+
(preview) => !mergedOptions.mediaType.previews.includes(preview)
|
|
66274
|
+
).concat(mergedOptions.mediaType.previews);
|
|
66275
|
+
}
|
|
66276
|
+
mergedOptions.mediaType.previews = (mergedOptions.mediaType.previews || []).map((preview) => preview.replace(/-preview/, ""));
|
|
66277
|
+
}
|
|
66278
|
+
return mergedOptions;
|
|
66279
|
+
}
|
|
66280
|
+
function addQueryParameters(url2, parameters) {
|
|
66281
|
+
const separator = /\?/.test(url2) ? "&" : "?";
|
|
66282
|
+
const names = Object.keys(parameters);
|
|
66283
|
+
if (names.length === 0) {
|
|
66284
|
+
return url2;
|
|
66285
|
+
}
|
|
66286
|
+
return url2 + separator + names.map((name) => {
|
|
66287
|
+
if (name === "q") {
|
|
66288
|
+
return "q=" + parameters.q.split("+").map(encodeURIComponent).join("+");
|
|
66289
|
+
}
|
|
66290
|
+
return `${name}=${encodeURIComponent(parameters[name])}`;
|
|
66291
|
+
}).join("&");
|
|
66292
|
+
}
|
|
66293
|
+
var urlVariableRegex = /\{[^{}}]+\}/g;
|
|
66294
|
+
function removeNonChars(variableName) {
|
|
66295
|
+
return variableName.replace(/(?:^\W+)|(?:(?<!\W)\W+$)/g, "").split(/,/);
|
|
66296
|
+
}
|
|
66297
|
+
function extractUrlVariableNames(url2) {
|
|
66298
|
+
const matches = url2.match(urlVariableRegex);
|
|
66299
|
+
if (!matches) {
|
|
66300
|
+
return [];
|
|
66301
|
+
}
|
|
66302
|
+
return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []);
|
|
66303
|
+
}
|
|
66304
|
+
function omit2(object2, keysToOmit) {
|
|
66305
|
+
const result = { __proto__: null };
|
|
66306
|
+
for (const key of Object.keys(object2)) {
|
|
66307
|
+
if (keysToOmit.indexOf(key) === -1) {
|
|
66308
|
+
result[key] = object2[key];
|
|
66309
|
+
}
|
|
66310
|
+
}
|
|
66311
|
+
return result;
|
|
66312
|
+
}
|
|
66313
|
+
function encodeReserved(str3) {
|
|
66314
|
+
return str3.split(/(%[0-9A-Fa-f]{2})/g).map(function(part) {
|
|
66315
|
+
if (!/%[0-9A-Fa-f]/.test(part)) {
|
|
66316
|
+
part = encodeURI(part).replace(/%5B/g, "[").replace(/%5D/g, "]");
|
|
66317
|
+
}
|
|
66318
|
+
return part;
|
|
66319
|
+
}).join("");
|
|
66320
|
+
}
|
|
66321
|
+
function encodeUnreserved(str3) {
|
|
66322
|
+
return encodeURIComponent(str3).replace(/[!'()*]/g, function(c) {
|
|
66323
|
+
return "%" + c.charCodeAt(0).toString(16).toUpperCase();
|
|
66324
|
+
});
|
|
66325
|
+
}
|
|
66326
|
+
function encodeValue(operator, value, key) {
|
|
66327
|
+
value = operator === "+" || operator === "#" ? encodeReserved(value) : encodeUnreserved(value);
|
|
66328
|
+
if (key) {
|
|
66329
|
+
return encodeUnreserved(key) + "=" + value;
|
|
66330
|
+
} else {
|
|
66331
|
+
return value;
|
|
66332
|
+
}
|
|
66333
|
+
}
|
|
66334
|
+
function isDefined(value) {
|
|
66335
|
+
return value !== void 0 && value !== null;
|
|
66336
|
+
}
|
|
66337
|
+
function isKeyOperator(operator) {
|
|
66338
|
+
return operator === ";" || operator === "&" || operator === "?";
|
|
66339
|
+
}
|
|
66340
|
+
function getValues(context, operator, key, modifier) {
|
|
66341
|
+
var value = context[key], result = [];
|
|
66342
|
+
if (isDefined(value) && value !== "") {
|
|
66343
|
+
if (typeof value === "string" || typeof value === "number" || typeof value === "bigint" || typeof value === "boolean") {
|
|
66344
|
+
value = value.toString();
|
|
66345
|
+
if (modifier && modifier !== "*") {
|
|
66346
|
+
value = value.substring(0, parseInt(modifier, 10));
|
|
66347
|
+
}
|
|
66348
|
+
result.push(
|
|
66349
|
+
encodeValue(operator, value, isKeyOperator(operator) ? key : "")
|
|
66350
|
+
);
|
|
66351
|
+
} else {
|
|
66352
|
+
if (modifier === "*") {
|
|
66353
|
+
if (Array.isArray(value)) {
|
|
66354
|
+
value.filter(isDefined).forEach(function(value2) {
|
|
66355
|
+
result.push(
|
|
66356
|
+
encodeValue(operator, value2, isKeyOperator(operator) ? key : "")
|
|
66357
|
+
);
|
|
66358
|
+
});
|
|
66359
|
+
} else {
|
|
66360
|
+
Object.keys(value).forEach(function(k) {
|
|
66361
|
+
if (isDefined(value[k])) {
|
|
66362
|
+
result.push(encodeValue(operator, value[k], k));
|
|
66363
|
+
}
|
|
66364
|
+
});
|
|
66365
|
+
}
|
|
66366
|
+
} else {
|
|
66367
|
+
const tmp = [];
|
|
66368
|
+
if (Array.isArray(value)) {
|
|
66369
|
+
value.filter(isDefined).forEach(function(value2) {
|
|
66370
|
+
tmp.push(encodeValue(operator, value2));
|
|
66371
|
+
});
|
|
66372
|
+
} else {
|
|
66373
|
+
Object.keys(value).forEach(function(k) {
|
|
66374
|
+
if (isDefined(value[k])) {
|
|
66375
|
+
tmp.push(encodeUnreserved(k));
|
|
66376
|
+
tmp.push(encodeValue(operator, value[k].toString()));
|
|
66377
|
+
}
|
|
66378
|
+
});
|
|
66379
|
+
}
|
|
66380
|
+
if (isKeyOperator(operator)) {
|
|
66381
|
+
result.push(encodeUnreserved(key) + "=" + tmp.join(","));
|
|
66382
|
+
} else if (tmp.length !== 0) {
|
|
66383
|
+
result.push(tmp.join(","));
|
|
66384
|
+
}
|
|
66385
|
+
}
|
|
66386
|
+
}
|
|
66387
|
+
} else {
|
|
66388
|
+
if (operator === ";") {
|
|
66389
|
+
if (isDefined(value)) {
|
|
66390
|
+
result.push(encodeUnreserved(key));
|
|
66391
|
+
}
|
|
66392
|
+
} else if (value === "" && (operator === "&" || operator === "?")) {
|
|
66393
|
+
result.push(encodeUnreserved(key) + "=");
|
|
66394
|
+
} else if (value === "") {
|
|
66395
|
+
result.push("");
|
|
66396
|
+
}
|
|
66397
|
+
}
|
|
66398
|
+
return result;
|
|
66399
|
+
}
|
|
66400
|
+
function parseUrl(template) {
|
|
66401
|
+
return {
|
|
66402
|
+
expand: expand2.bind(null, template)
|
|
66403
|
+
};
|
|
66404
|
+
}
|
|
66405
|
+
function expand2(template, context) {
|
|
66406
|
+
var operators = ["+", "#", ".", "/", ";", "?", "&"];
|
|
66407
|
+
template = template.replace(
|
|
66408
|
+
/\{([^\{\}]+)\}|([^\{\}]+)/g,
|
|
66409
|
+
function(_, expression, literal2) {
|
|
66410
|
+
if (expression) {
|
|
66411
|
+
let operator = "";
|
|
66412
|
+
const values = [];
|
|
66413
|
+
if (operators.indexOf(expression.charAt(0)) !== -1) {
|
|
66414
|
+
operator = expression.charAt(0);
|
|
66415
|
+
expression = expression.substr(1);
|
|
66416
|
+
}
|
|
66417
|
+
expression.split(/,/g).forEach(function(variable) {
|
|
66418
|
+
var tmp = /([^:\*]*)(?::(\d+)|(\*))?/.exec(variable);
|
|
66419
|
+
values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3]));
|
|
66420
|
+
});
|
|
66421
|
+
if (operator && operator !== "+") {
|
|
66422
|
+
var separator = ",";
|
|
66423
|
+
if (operator === "?") {
|
|
66424
|
+
separator = "&";
|
|
66425
|
+
} else if (operator !== "#") {
|
|
66426
|
+
separator = operator;
|
|
66427
|
+
}
|
|
66428
|
+
return (values.length !== 0 ? operator : "") + values.join(separator);
|
|
66429
|
+
} else {
|
|
66430
|
+
return values.join(",");
|
|
66431
|
+
}
|
|
66432
|
+
} else {
|
|
66433
|
+
return encodeReserved(literal2);
|
|
66434
|
+
}
|
|
66435
|
+
}
|
|
66436
|
+
);
|
|
66437
|
+
if (template === "/") {
|
|
66438
|
+
return template;
|
|
66439
|
+
} else {
|
|
66440
|
+
return template.replace(/\/$/, "");
|
|
66441
|
+
}
|
|
66442
|
+
}
|
|
66443
|
+
function parse4(options) {
|
|
66444
|
+
let method = options.method.toUpperCase();
|
|
66445
|
+
let url2 = (options.url || "/").replace(/:([a-z]\w+)/g, "{$1}");
|
|
66446
|
+
let headers = Object.assign({}, options.headers);
|
|
66447
|
+
let body;
|
|
66448
|
+
let parameters = omit2(options, [
|
|
66449
|
+
"method",
|
|
66450
|
+
"baseUrl",
|
|
66451
|
+
"url",
|
|
66452
|
+
"headers",
|
|
66453
|
+
"request",
|
|
66454
|
+
"mediaType"
|
|
66455
|
+
]);
|
|
66456
|
+
const urlVariableNames = extractUrlVariableNames(url2);
|
|
66457
|
+
url2 = parseUrl(url2).expand(parameters);
|
|
66458
|
+
if (!/^http/.test(url2)) {
|
|
66459
|
+
url2 = options.baseUrl + url2;
|
|
66460
|
+
}
|
|
66461
|
+
const omittedParameters = Object.keys(options).filter((option) => urlVariableNames.includes(option)).concat("baseUrl");
|
|
66462
|
+
const remainingParameters = omit2(parameters, omittedParameters);
|
|
66463
|
+
const isBinaryRequest = /application\/octet-stream/i.test(headers.accept);
|
|
66464
|
+
if (!isBinaryRequest) {
|
|
66465
|
+
if (options.mediaType.format) {
|
|
66466
|
+
headers.accept = headers.accept.split(/,/).map(
|
|
66467
|
+
(format2) => format2.replace(
|
|
66468
|
+
/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,
|
|
66469
|
+
`application/vnd$1$2.${options.mediaType.format}`
|
|
66470
|
+
)
|
|
66471
|
+
).join(",");
|
|
66472
|
+
}
|
|
66473
|
+
if (url2.endsWith("/graphql")) {
|
|
66474
|
+
if (options.mediaType.previews?.length) {
|
|
66475
|
+
const previewsFromAcceptHeader = headers.accept.match(/(?<![\w-])[\w-]+(?=-preview)/g) || [];
|
|
66476
|
+
headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map((preview) => {
|
|
66477
|
+
const format2 = options.mediaType.format ? `.${options.mediaType.format}` : "+json";
|
|
66478
|
+
return `application/vnd.github.${preview}-preview${format2}`;
|
|
66479
|
+
}).join(",");
|
|
66480
|
+
}
|
|
66481
|
+
}
|
|
66482
|
+
}
|
|
66483
|
+
if (["GET", "HEAD"].includes(method)) {
|
|
66484
|
+
url2 = addQueryParameters(url2, remainingParameters);
|
|
66485
|
+
} else {
|
|
66486
|
+
if ("data" in remainingParameters) {
|
|
66487
|
+
body = remainingParameters.data;
|
|
66488
|
+
} else {
|
|
66489
|
+
if (Object.keys(remainingParameters).length) {
|
|
66490
|
+
body = remainingParameters;
|
|
66491
|
+
}
|
|
66492
|
+
}
|
|
66493
|
+
}
|
|
66494
|
+
if (!headers["content-type"] && typeof body !== "undefined") {
|
|
66495
|
+
headers["content-type"] = "application/json; charset=utf-8";
|
|
66496
|
+
}
|
|
66497
|
+
if (["PATCH", "PUT"].includes(method) && typeof body === "undefined") {
|
|
66498
|
+
body = "";
|
|
66499
|
+
}
|
|
66500
|
+
return Object.assign(
|
|
66501
|
+
{ method, url: url2, headers },
|
|
66502
|
+
typeof body !== "undefined" ? { body } : null,
|
|
66503
|
+
options.request ? { request: options.request } : null
|
|
66504
|
+
);
|
|
66505
|
+
}
|
|
66506
|
+
function endpointWithDefaults(defaults3, route, options) {
|
|
66507
|
+
return parse4(merge3(defaults3, route, options));
|
|
66508
|
+
}
|
|
66509
|
+
function withDefaults(oldDefaults, newDefaults) {
|
|
66510
|
+
const DEFAULTS2 = merge3(oldDefaults, newDefaults);
|
|
66511
|
+
const endpoint2 = endpointWithDefaults.bind(null, DEFAULTS2);
|
|
66512
|
+
return Object.assign(endpoint2, {
|
|
66513
|
+
DEFAULTS: DEFAULTS2,
|
|
66514
|
+
defaults: withDefaults.bind(null, DEFAULTS2),
|
|
66515
|
+
merge: merge3.bind(null, DEFAULTS2),
|
|
66516
|
+
parse: parse4
|
|
66517
|
+
});
|
|
66518
|
+
}
|
|
66519
|
+
var endpoint = withDefaults(null, DEFAULTS);
|
|
66520
|
+
|
|
66521
|
+
// ../../node_modules/.pnpm/@octokit+request@10.0.8/node_modules/@octokit/request/dist-bundle/index.js
|
|
66522
|
+
var import_fast_content_type_parse = __toESM(require_fast_content_type_parse(), 1);
|
|
66523
|
+
|
|
66524
|
+
// ../../node_modules/.pnpm/json-with-bigint@3.5.7/node_modules/json-with-bigint/json-with-bigint.js
|
|
66525
|
+
var intRegex = /^-?\d+$/;
|
|
66526
|
+
var noiseValue = /^-?\d+n+$/;
|
|
66527
|
+
var originalStringify = JSON.stringify;
|
|
66528
|
+
var originalParse = JSON.parse;
|
|
66529
|
+
var customFormat = /^-?\d+n$/;
|
|
66530
|
+
var bigIntsStringify = /([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g;
|
|
66531
|
+
var noiseStringify = /([\[:])?("-?\d+n+)n("$|"([\\n]|\s)*(\s|[\\n])*[,\}\]])/g;
|
|
66532
|
+
var JSONStringify = (value, replacer, space) => {
|
|
66533
|
+
if ("rawJSON" in JSON) {
|
|
66534
|
+
return originalStringify(
|
|
66535
|
+
value,
|
|
66536
|
+
(key, value2) => {
|
|
66537
|
+
if (typeof value2 === "bigint") return JSON.rawJSON(value2.toString());
|
|
66538
|
+
if (typeof replacer === "function") return replacer(key, value2);
|
|
66539
|
+
if (Array.isArray(replacer) && replacer.includes(key)) return value2;
|
|
66540
|
+
return value2;
|
|
66541
|
+
},
|
|
66542
|
+
space
|
|
66543
|
+
);
|
|
66544
|
+
}
|
|
66545
|
+
if (!value) return originalStringify(value, replacer, space);
|
|
66546
|
+
const convertedToCustomJSON = originalStringify(
|
|
66547
|
+
value,
|
|
66548
|
+
(key, value2) => {
|
|
66549
|
+
const isNoise = typeof value2 === "string" && Boolean(value2.match(noiseValue));
|
|
66550
|
+
if (isNoise) return value2.toString() + "n";
|
|
66551
|
+
if (typeof value2 === "bigint") return value2.toString() + "n";
|
|
66552
|
+
if (typeof replacer === "function") return replacer(key, value2);
|
|
66553
|
+
if (Array.isArray(replacer) && replacer.includes(key)) return value2;
|
|
66554
|
+
return value2;
|
|
66555
|
+
},
|
|
66556
|
+
space
|
|
66557
|
+
);
|
|
66558
|
+
const processedJSON = convertedToCustomJSON.replace(
|
|
66559
|
+
bigIntsStringify,
|
|
66560
|
+
"$1$2$3"
|
|
66561
|
+
);
|
|
66562
|
+
const denoisedJSON = processedJSON.replace(noiseStringify, "$1$2$3");
|
|
66563
|
+
return denoisedJSON;
|
|
66564
|
+
};
|
|
66565
|
+
var isContextSourceSupported = () => JSON.parse("1", (_, __, context) => !!context && context.source === "1");
|
|
66566
|
+
var convertMarkedBigIntsReviver = (key, value, context, userReviver) => {
|
|
66567
|
+
const isCustomFormatBigInt = typeof value === "string" && value.match(customFormat);
|
|
66568
|
+
if (isCustomFormatBigInt) return BigInt(value.slice(0, -1));
|
|
66569
|
+
const isNoiseValue = typeof value === "string" && value.match(noiseValue);
|
|
66570
|
+
if (isNoiseValue) return value.slice(0, -1);
|
|
66571
|
+
if (typeof userReviver !== "function") return value;
|
|
66572
|
+
return userReviver(key, value, context);
|
|
66573
|
+
};
|
|
66574
|
+
var JSONParseV2 = (text, reviver) => {
|
|
66575
|
+
return JSON.parse(text, (key, value, context) => {
|
|
66576
|
+
const isBigNumber = typeof value === "number" && (value > Number.MAX_SAFE_INTEGER || value < Number.MIN_SAFE_INTEGER);
|
|
66577
|
+
const isInt = context && intRegex.test(context.source);
|
|
66578
|
+
const isBigInt = isBigNumber && isInt;
|
|
66579
|
+
if (isBigInt) return BigInt(context.source);
|
|
66580
|
+
if (typeof reviver !== "function") return value;
|
|
66581
|
+
return reviver(key, value, context);
|
|
66582
|
+
});
|
|
66583
|
+
};
|
|
66584
|
+
var MAX_INT = Number.MAX_SAFE_INTEGER.toString();
|
|
66585
|
+
var MAX_DIGITS = MAX_INT.length;
|
|
66586
|
+
var stringsOrLargeNumbers = /"(?:\\.|[^"])*"|-?(0|[1-9][0-9]*)(\.[0-9]+)?([eE][+-]?[0-9]+)?/g;
|
|
66587
|
+
var noiseValueWithQuotes = /^"-?\d+n+"$/;
|
|
66588
|
+
var JSONParse = (text, reviver) => {
|
|
66589
|
+
if (!text) return originalParse(text, reviver);
|
|
66590
|
+
if (isContextSourceSupported()) return JSONParseV2(text, reviver);
|
|
66591
|
+
const serializedData = text.replace(
|
|
66592
|
+
stringsOrLargeNumbers,
|
|
66593
|
+
(text2, digits, fractional, exponential) => {
|
|
66594
|
+
const isString2 = text2[0] === '"';
|
|
66595
|
+
const isNoise = isString2 && Boolean(text2.match(noiseValueWithQuotes));
|
|
66596
|
+
if (isNoise) return text2.substring(0, text2.length - 1) + 'n"';
|
|
66597
|
+
const isFractionalOrExponential = fractional || exponential;
|
|
66598
|
+
const isLessThanMaxSafeInt = digits && (digits.length < MAX_DIGITS || digits.length === MAX_DIGITS && digits <= MAX_INT);
|
|
66599
|
+
if (isString2 || isFractionalOrExponential || isLessThanMaxSafeInt)
|
|
66600
|
+
return text2;
|
|
66601
|
+
return '"' + text2 + 'n"';
|
|
66602
|
+
}
|
|
66603
|
+
);
|
|
66604
|
+
return originalParse(
|
|
66605
|
+
serializedData,
|
|
66606
|
+
(key, value, context) => convertMarkedBigIntsReviver(key, value, context, reviver)
|
|
66607
|
+
);
|
|
66608
|
+
};
|
|
66609
|
+
|
|
66610
|
+
// ../../node_modules/.pnpm/@octokit+request-error@7.1.0/node_modules/@octokit/request-error/dist-src/index.js
|
|
66611
|
+
var RequestError = class extends Error {
|
|
66612
|
+
name;
|
|
66613
|
+
/**
|
|
66614
|
+
* http status code
|
|
66615
|
+
*/
|
|
66616
|
+
status;
|
|
66617
|
+
/**
|
|
66618
|
+
* Request options that lead to the error.
|
|
66619
|
+
*/
|
|
66620
|
+
request;
|
|
66621
|
+
/**
|
|
66622
|
+
* Response object if a response was received
|
|
66623
|
+
*/
|
|
66624
|
+
response;
|
|
66625
|
+
constructor(message, statusCode, options) {
|
|
66626
|
+
super(message, { cause: options.cause });
|
|
66627
|
+
this.name = "HttpError";
|
|
66628
|
+
this.status = Number.parseInt(statusCode);
|
|
66629
|
+
if (Number.isNaN(this.status)) {
|
|
66630
|
+
this.status = 0;
|
|
66631
|
+
}
|
|
66632
|
+
if ("response" in options) {
|
|
66633
|
+
this.response = options.response;
|
|
66634
|
+
}
|
|
66635
|
+
const requestCopy = Object.assign({}, options.request);
|
|
66636
|
+
if (options.request.headers.authorization) {
|
|
66637
|
+
requestCopy.headers = Object.assign({}, options.request.headers, {
|
|
66638
|
+
authorization: options.request.headers.authorization.replace(
|
|
66639
|
+
/(?<! ) .*$/,
|
|
66640
|
+
" [REDACTED]"
|
|
66641
|
+
)
|
|
66642
|
+
});
|
|
66643
|
+
}
|
|
66644
|
+
requestCopy.url = requestCopy.url.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]").replace(/\baccess_token=\w+/g, "access_token=[REDACTED]");
|
|
66645
|
+
this.request = requestCopy;
|
|
66646
|
+
}
|
|
66647
|
+
};
|
|
66648
|
+
|
|
66649
|
+
// ../../node_modules/.pnpm/@octokit+request@10.0.8/node_modules/@octokit/request/dist-bundle/index.js
|
|
66650
|
+
var VERSION4 = "10.0.8";
|
|
66651
|
+
var defaults_default = {
|
|
66652
|
+
headers: {
|
|
66653
|
+
"user-agent": `octokit-request.js/${VERSION4} ${getUserAgent()}`
|
|
66654
|
+
}
|
|
66655
|
+
};
|
|
66656
|
+
function isPlainObject3(value) {
|
|
66657
|
+
if (typeof value !== "object" || value === null) return false;
|
|
66658
|
+
if (Object.prototype.toString.call(value) !== "[object Object]") return false;
|
|
66659
|
+
const proto2 = Object.getPrototypeOf(value);
|
|
66660
|
+
if (proto2 === null) return true;
|
|
66661
|
+
const Ctor = Object.prototype.hasOwnProperty.call(proto2, "constructor") && proto2.constructor;
|
|
66662
|
+
return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value);
|
|
66663
|
+
}
|
|
66664
|
+
var noop3 = () => "";
|
|
66665
|
+
async function fetchWrapper(requestOptions) {
|
|
66666
|
+
const fetch2 = requestOptions.request?.fetch || globalThis.fetch;
|
|
66667
|
+
if (!fetch2) {
|
|
66668
|
+
throw new Error(
|
|
66669
|
+
"fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing"
|
|
66670
|
+
);
|
|
66671
|
+
}
|
|
66672
|
+
const log7 = requestOptions.request?.log || console;
|
|
66673
|
+
const parseSuccessResponseBody = requestOptions.request?.parseSuccessResponseBody !== false;
|
|
66674
|
+
const body = isPlainObject3(requestOptions.body) || Array.isArray(requestOptions.body) ? JSONStringify(requestOptions.body) : requestOptions.body;
|
|
66675
|
+
const requestHeaders = Object.fromEntries(
|
|
66676
|
+
Object.entries(requestOptions.headers).map(([name, value]) => [
|
|
66677
|
+
name,
|
|
66678
|
+
String(value)
|
|
66679
|
+
])
|
|
66680
|
+
);
|
|
66681
|
+
let fetchResponse;
|
|
66682
|
+
try {
|
|
66683
|
+
fetchResponse = await fetch2(requestOptions.url, {
|
|
66684
|
+
method: requestOptions.method,
|
|
66685
|
+
body,
|
|
66686
|
+
redirect: requestOptions.request?.redirect,
|
|
66687
|
+
headers: requestHeaders,
|
|
66688
|
+
signal: requestOptions.request?.signal,
|
|
66689
|
+
// duplex must be set if request.body is ReadableStream or Async Iterables.
|
|
66690
|
+
// See https://fetch.spec.whatwg.org/#dom-requestinit-duplex.
|
|
66691
|
+
...requestOptions.body && { duplex: "half" }
|
|
66692
|
+
});
|
|
66693
|
+
} catch (error50) {
|
|
66694
|
+
let message = "Unknown Error";
|
|
66695
|
+
if (error50 instanceof Error) {
|
|
66696
|
+
if (error50.name === "AbortError") {
|
|
66697
|
+
error50.status = 500;
|
|
66698
|
+
throw error50;
|
|
66699
|
+
}
|
|
66700
|
+
message = error50.message;
|
|
66701
|
+
if (error50.name === "TypeError" && "cause" in error50) {
|
|
66702
|
+
if (error50.cause instanceof Error) {
|
|
66703
|
+
message = error50.cause.message;
|
|
66704
|
+
} else if (typeof error50.cause === "string") {
|
|
66705
|
+
message = error50.cause;
|
|
66706
|
+
}
|
|
66707
|
+
}
|
|
66708
|
+
}
|
|
66709
|
+
const requestError = new RequestError(message, 500, {
|
|
66710
|
+
request: requestOptions
|
|
66711
|
+
});
|
|
66712
|
+
requestError.cause = error50;
|
|
66713
|
+
throw requestError;
|
|
66714
|
+
}
|
|
66715
|
+
const status = fetchResponse.status;
|
|
66716
|
+
const url2 = fetchResponse.url;
|
|
66717
|
+
const responseHeaders = {};
|
|
66718
|
+
for (const [key, value] of fetchResponse.headers) {
|
|
66719
|
+
responseHeaders[key] = value;
|
|
66720
|
+
}
|
|
66721
|
+
const octokitResponse = {
|
|
66722
|
+
url: url2,
|
|
66723
|
+
status,
|
|
66724
|
+
headers: responseHeaders,
|
|
66725
|
+
data: ""
|
|
66726
|
+
};
|
|
66727
|
+
if ("deprecation" in responseHeaders) {
|
|
66728
|
+
const matches = responseHeaders.link && responseHeaders.link.match(/<([^<>]+)>; rel="deprecation"/);
|
|
66729
|
+
const deprecationLink = matches && matches.pop();
|
|
66730
|
+
log7.warn(
|
|
66731
|
+
`[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${responseHeaders.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}`
|
|
66732
|
+
);
|
|
66733
|
+
}
|
|
66734
|
+
if (status === 204 || status === 205) {
|
|
66735
|
+
return octokitResponse;
|
|
66736
|
+
}
|
|
66737
|
+
if (requestOptions.method === "HEAD") {
|
|
66738
|
+
if (status < 400) {
|
|
66739
|
+
return octokitResponse;
|
|
66740
|
+
}
|
|
66741
|
+
throw new RequestError(fetchResponse.statusText, status, {
|
|
66742
|
+
response: octokitResponse,
|
|
66743
|
+
request: requestOptions
|
|
66744
|
+
});
|
|
66745
|
+
}
|
|
66746
|
+
if (status === 304) {
|
|
66747
|
+
octokitResponse.data = await getResponseData(fetchResponse);
|
|
66748
|
+
throw new RequestError("Not modified", status, {
|
|
66749
|
+
response: octokitResponse,
|
|
66750
|
+
request: requestOptions
|
|
66751
|
+
});
|
|
66752
|
+
}
|
|
66753
|
+
if (status >= 400) {
|
|
66754
|
+
octokitResponse.data = await getResponseData(fetchResponse);
|
|
66755
|
+
throw new RequestError(toErrorMessage(octokitResponse.data), status, {
|
|
66756
|
+
response: octokitResponse,
|
|
66757
|
+
request: requestOptions
|
|
66758
|
+
});
|
|
66759
|
+
}
|
|
66760
|
+
octokitResponse.data = parseSuccessResponseBody ? await getResponseData(fetchResponse) : fetchResponse.body;
|
|
66761
|
+
return octokitResponse;
|
|
66762
|
+
}
|
|
66763
|
+
async function getResponseData(response) {
|
|
66764
|
+
const contentType = response.headers.get("content-type");
|
|
66765
|
+
if (!contentType) {
|
|
66766
|
+
return response.text().catch(noop3);
|
|
66767
|
+
}
|
|
66768
|
+
const mimetype = (0, import_fast_content_type_parse.safeParse)(contentType);
|
|
66769
|
+
if (isJSONResponse(mimetype)) {
|
|
66770
|
+
let text = "";
|
|
66771
|
+
try {
|
|
66772
|
+
text = await response.text();
|
|
66773
|
+
return JSONParse(text);
|
|
66774
|
+
} catch (err) {
|
|
66775
|
+
return text;
|
|
66776
|
+
}
|
|
66777
|
+
} else if (mimetype.type.startsWith("text/") || mimetype.parameters.charset?.toLowerCase() === "utf-8") {
|
|
66778
|
+
return response.text().catch(noop3);
|
|
66779
|
+
} else {
|
|
66780
|
+
return response.arrayBuffer().catch(
|
|
66781
|
+
/* v8 ignore next -- @preserve */
|
|
66782
|
+
() => new ArrayBuffer(0)
|
|
66783
|
+
);
|
|
66784
|
+
}
|
|
66785
|
+
}
|
|
66786
|
+
function isJSONResponse(mimetype) {
|
|
66787
|
+
return mimetype.type === "application/json" || mimetype.type === "application/scim+json";
|
|
66788
|
+
}
|
|
66789
|
+
function toErrorMessage(data) {
|
|
66790
|
+
if (typeof data === "string") {
|
|
66791
|
+
return data;
|
|
66792
|
+
}
|
|
66793
|
+
if (data instanceof ArrayBuffer) {
|
|
66794
|
+
return "Unknown error";
|
|
66795
|
+
}
|
|
66796
|
+
if ("message" in data) {
|
|
66797
|
+
const suffix = "documentation_url" in data ? ` - ${data.documentation_url}` : "";
|
|
66798
|
+
return Array.isArray(data.errors) ? `${data.message}: ${data.errors.map((v) => JSON.stringify(v)).join(", ")}${suffix}` : `${data.message}${suffix}`;
|
|
66799
|
+
}
|
|
66800
|
+
return `Unknown error: ${JSON.stringify(data)}`;
|
|
66801
|
+
}
|
|
66802
|
+
function withDefaults2(oldEndpoint, newDefaults) {
|
|
66803
|
+
const endpoint2 = oldEndpoint.defaults(newDefaults);
|
|
66804
|
+
const newApi = function(route, parameters) {
|
|
66805
|
+
const endpointOptions = endpoint2.merge(route, parameters);
|
|
66806
|
+
if (!endpointOptions.request || !endpointOptions.request.hook) {
|
|
66807
|
+
return fetchWrapper(endpoint2.parse(endpointOptions));
|
|
66808
|
+
}
|
|
66809
|
+
const request2 = (route2, parameters2) => {
|
|
66810
|
+
return fetchWrapper(
|
|
66811
|
+
endpoint2.parse(endpoint2.merge(route2, parameters2))
|
|
66812
|
+
);
|
|
66813
|
+
};
|
|
66814
|
+
Object.assign(request2, {
|
|
66815
|
+
endpoint: endpoint2,
|
|
66816
|
+
defaults: withDefaults2.bind(null, endpoint2)
|
|
66817
|
+
});
|
|
66818
|
+
return endpointOptions.request.hook(request2, endpointOptions);
|
|
66819
|
+
};
|
|
66820
|
+
return Object.assign(newApi, {
|
|
66821
|
+
endpoint: endpoint2,
|
|
66822
|
+
defaults: withDefaults2.bind(null, endpoint2)
|
|
66823
|
+
});
|
|
66824
|
+
}
|
|
66825
|
+
var request = withDefaults2(endpoint, defaults_default);
|
|
66826
|
+
|
|
66827
|
+
// ../../node_modules/.pnpm/@octokit+graphql@9.0.3/node_modules/@octokit/graphql/dist-bundle/index.js
|
|
66828
|
+
var VERSION5 = "0.0.0-development";
|
|
66829
|
+
function _buildMessageForResponseErrors(data) {
|
|
66830
|
+
return `Request failed due to following response errors:
|
|
66831
|
+
` + data.errors.map((e) => ` - ${e.message}`).join("\n");
|
|
66832
|
+
}
|
|
66833
|
+
var GraphqlResponseError = class extends Error {
|
|
66834
|
+
constructor(request2, headers, response) {
|
|
66835
|
+
super(_buildMessageForResponseErrors(response));
|
|
66836
|
+
this.request = request2;
|
|
66837
|
+
this.headers = headers;
|
|
66838
|
+
this.response = response;
|
|
66839
|
+
this.errors = response.errors;
|
|
66840
|
+
this.data = response.data;
|
|
66841
|
+
if (Error.captureStackTrace) {
|
|
66842
|
+
Error.captureStackTrace(this, this.constructor);
|
|
66843
|
+
}
|
|
66844
|
+
}
|
|
66845
|
+
name = "GraphqlResponseError";
|
|
66846
|
+
errors;
|
|
66847
|
+
data;
|
|
66848
|
+
};
|
|
66849
|
+
var NON_VARIABLE_OPTIONS = [
|
|
66850
|
+
"method",
|
|
66851
|
+
"baseUrl",
|
|
66852
|
+
"url",
|
|
66853
|
+
"headers",
|
|
66854
|
+
"request",
|
|
66855
|
+
"query",
|
|
66856
|
+
"mediaType",
|
|
66857
|
+
"operationName"
|
|
66858
|
+
];
|
|
66859
|
+
var FORBIDDEN_VARIABLE_OPTIONS = ["query", "method", "url"];
|
|
66860
|
+
var GHES_V3_SUFFIX_REGEX = /\/api\/v3\/?$/;
|
|
66861
|
+
function graphql(request2, query, options) {
|
|
66862
|
+
if (options) {
|
|
66863
|
+
if (typeof query === "string" && "query" in options) {
|
|
66864
|
+
return Promise.reject(
|
|
66865
|
+
new Error(`[@octokit/graphql] "query" cannot be used as variable name`)
|
|
66866
|
+
);
|
|
66867
|
+
}
|
|
66868
|
+
for (const key in options) {
|
|
66869
|
+
if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key)) continue;
|
|
66870
|
+
return Promise.reject(
|
|
66871
|
+
new Error(
|
|
66872
|
+
`[@octokit/graphql] "${key}" cannot be used as variable name`
|
|
66873
|
+
)
|
|
66874
|
+
);
|
|
66875
|
+
}
|
|
66876
|
+
}
|
|
66877
|
+
const parsedOptions = typeof query === "string" ? Object.assign({ query }, options) : query;
|
|
66878
|
+
const requestOptions = Object.keys(
|
|
66879
|
+
parsedOptions
|
|
66880
|
+
).reduce((result, key) => {
|
|
66881
|
+
if (NON_VARIABLE_OPTIONS.includes(key)) {
|
|
66882
|
+
result[key] = parsedOptions[key];
|
|
66883
|
+
return result;
|
|
66884
|
+
}
|
|
66885
|
+
if (!result.variables) {
|
|
66886
|
+
result.variables = {};
|
|
66887
|
+
}
|
|
66888
|
+
result.variables[key] = parsedOptions[key];
|
|
66889
|
+
return result;
|
|
66890
|
+
}, {});
|
|
66891
|
+
const baseUrl = parsedOptions.baseUrl || request2.endpoint.DEFAULTS.baseUrl;
|
|
66892
|
+
if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) {
|
|
66893
|
+
requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, "/api/graphql");
|
|
66894
|
+
}
|
|
66895
|
+
return request2(requestOptions).then((response) => {
|
|
66896
|
+
if (response.data.errors) {
|
|
66897
|
+
const headers = {};
|
|
66898
|
+
for (const key of Object.keys(response.headers)) {
|
|
66899
|
+
headers[key] = response.headers[key];
|
|
66900
|
+
}
|
|
66901
|
+
throw new GraphqlResponseError(
|
|
66902
|
+
requestOptions,
|
|
66903
|
+
headers,
|
|
66904
|
+
response.data
|
|
66905
|
+
);
|
|
66906
|
+
}
|
|
66907
|
+
return response.data.data;
|
|
66908
|
+
});
|
|
66909
|
+
}
|
|
66910
|
+
function withDefaults3(request2, newDefaults) {
|
|
66911
|
+
const newRequest = request2.defaults(newDefaults);
|
|
66912
|
+
const newApi = (query, options) => {
|
|
66913
|
+
return graphql(newRequest, query, options);
|
|
66914
|
+
};
|
|
66915
|
+
return Object.assign(newApi, {
|
|
66916
|
+
defaults: withDefaults3.bind(null, newRequest),
|
|
66917
|
+
endpoint: newRequest.endpoint
|
|
66918
|
+
});
|
|
66919
|
+
}
|
|
66920
|
+
var graphql2 = withDefaults3(request, {
|
|
66921
|
+
headers: {
|
|
66922
|
+
"user-agent": `octokit-graphql.js/${VERSION5} ${getUserAgent()}`
|
|
66923
|
+
},
|
|
66924
|
+
method: "POST",
|
|
66925
|
+
url: "/graphql"
|
|
66926
|
+
});
|
|
66927
|
+
function withCustomRequest(customRequest) {
|
|
66928
|
+
return withDefaults3(customRequest, {
|
|
66929
|
+
method: "POST",
|
|
66930
|
+
url: "/graphql"
|
|
66931
|
+
});
|
|
66932
|
+
}
|
|
66933
|
+
|
|
66934
|
+
// ../../node_modules/.pnpm/@octokit+auth-token@6.0.0/node_modules/@octokit/auth-token/dist-bundle/index.js
|
|
66935
|
+
var b64url = "(?:[a-zA-Z0-9_-]+)";
|
|
66936
|
+
var sep4 = "\\.";
|
|
66937
|
+
var jwtRE = new RegExp(`^${b64url}${sep4}${b64url}${sep4}${b64url}$`);
|
|
66938
|
+
var isJWT = jwtRE.test.bind(jwtRE);
|
|
66939
|
+
async function auth(token) {
|
|
66940
|
+
const isApp = isJWT(token);
|
|
66941
|
+
const isInstallation = token.startsWith("v1.") || token.startsWith("ghs_");
|
|
66942
|
+
const isUserToServer = token.startsWith("ghu_");
|
|
66943
|
+
const tokenType = isApp ? "app" : isInstallation ? "installation" : isUserToServer ? "user-to-server" : "oauth";
|
|
66944
|
+
return {
|
|
66945
|
+
type: "token",
|
|
66946
|
+
token,
|
|
66947
|
+
tokenType
|
|
66948
|
+
};
|
|
66949
|
+
}
|
|
66950
|
+
function withAuthorizationPrefix(token) {
|
|
66951
|
+
if (token.split(/\./).length === 3) {
|
|
66952
|
+
return `bearer ${token}`;
|
|
66953
|
+
}
|
|
66954
|
+
return `token ${token}`;
|
|
66955
|
+
}
|
|
66956
|
+
async function hook(token, request2, route, parameters) {
|
|
66957
|
+
const endpoint2 = request2.endpoint.merge(
|
|
66958
|
+
route,
|
|
66959
|
+
parameters
|
|
66960
|
+
);
|
|
66961
|
+
endpoint2.headers.authorization = withAuthorizationPrefix(token);
|
|
66962
|
+
return request2(endpoint2);
|
|
66963
|
+
}
|
|
66964
|
+
var createTokenAuth = function createTokenAuth2(token) {
|
|
66965
|
+
if (!token) {
|
|
66966
|
+
throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");
|
|
66967
|
+
}
|
|
66968
|
+
if (typeof token !== "string") {
|
|
66969
|
+
throw new Error(
|
|
66970
|
+
"[@octokit/auth-token] Token passed to createTokenAuth is not a string"
|
|
66971
|
+
);
|
|
66972
|
+
}
|
|
66973
|
+
token = token.replace(/^(token|bearer) +/i, "");
|
|
66974
|
+
return Object.assign(auth.bind(null, token), {
|
|
66975
|
+
hook: hook.bind(null, token)
|
|
66976
|
+
});
|
|
66977
|
+
};
|
|
66978
|
+
|
|
66979
|
+
// ../../node_modules/.pnpm/@octokit+core@7.0.6/node_modules/@octokit/core/dist-src/version.js
|
|
66980
|
+
var VERSION6 = "7.0.6";
|
|
66981
|
+
|
|
66982
|
+
// ../../node_modules/.pnpm/@octokit+core@7.0.6/node_modules/@octokit/core/dist-src/index.js
|
|
66983
|
+
var noop4 = () => {
|
|
66984
|
+
};
|
|
66985
|
+
var consoleWarn = console.warn.bind(console);
|
|
66986
|
+
var consoleError = console.error.bind(console);
|
|
66987
|
+
function createLogger(logger = {}) {
|
|
66988
|
+
if (typeof logger.debug !== "function") {
|
|
66989
|
+
logger.debug = noop4;
|
|
66990
|
+
}
|
|
66991
|
+
if (typeof logger.info !== "function") {
|
|
66992
|
+
logger.info = noop4;
|
|
66993
|
+
}
|
|
66994
|
+
if (typeof logger.warn !== "function") {
|
|
66995
|
+
logger.warn = consoleWarn;
|
|
66996
|
+
}
|
|
66997
|
+
if (typeof logger.error !== "function") {
|
|
66998
|
+
logger.error = consoleError;
|
|
66999
|
+
}
|
|
67000
|
+
return logger;
|
|
67001
|
+
}
|
|
67002
|
+
var userAgentTrail = `octokit-core.js/${VERSION6} ${getUserAgent()}`;
|
|
67003
|
+
var Octokit = class {
|
|
67004
|
+
static VERSION = VERSION6;
|
|
67005
|
+
static defaults(defaults3) {
|
|
67006
|
+
const OctokitWithDefaults = class extends this {
|
|
67007
|
+
constructor(...args) {
|
|
67008
|
+
const options = args[0] || {};
|
|
67009
|
+
if (typeof defaults3 === "function") {
|
|
67010
|
+
super(defaults3(options));
|
|
67011
|
+
return;
|
|
67012
|
+
}
|
|
67013
|
+
super(
|
|
67014
|
+
Object.assign(
|
|
67015
|
+
{},
|
|
67016
|
+
defaults3,
|
|
67017
|
+
options,
|
|
67018
|
+
options.userAgent && defaults3.userAgent ? {
|
|
67019
|
+
userAgent: `${options.userAgent} ${defaults3.userAgent}`
|
|
67020
|
+
} : null
|
|
67021
|
+
)
|
|
67022
|
+
);
|
|
67023
|
+
}
|
|
67024
|
+
};
|
|
67025
|
+
return OctokitWithDefaults;
|
|
67026
|
+
}
|
|
67027
|
+
static plugins = [];
|
|
67028
|
+
/**
|
|
67029
|
+
* Attach a plugin (or many) to your Octokit instance.
|
|
67030
|
+
*
|
|
67031
|
+
* @example
|
|
67032
|
+
* const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)
|
|
67033
|
+
*/
|
|
67034
|
+
static plugin(...newPlugins) {
|
|
67035
|
+
const currentPlugins = this.plugins;
|
|
67036
|
+
const NewOctokit = class extends this {
|
|
67037
|
+
static plugins = currentPlugins.concat(
|
|
67038
|
+
newPlugins.filter((plugin) => !currentPlugins.includes(plugin))
|
|
67039
|
+
);
|
|
67040
|
+
};
|
|
67041
|
+
return NewOctokit;
|
|
67042
|
+
}
|
|
67043
|
+
constructor(options = {}) {
|
|
67044
|
+
const hook2 = new before_after_hook_default.Collection();
|
|
67045
|
+
const requestDefaults = {
|
|
67046
|
+
baseUrl: request.endpoint.DEFAULTS.baseUrl,
|
|
67047
|
+
headers: {},
|
|
67048
|
+
request: Object.assign({}, options.request, {
|
|
67049
|
+
// @ts-ignore internal usage only, no need to type
|
|
67050
|
+
hook: hook2.bind(null, "request")
|
|
67051
|
+
}),
|
|
67052
|
+
mediaType: {
|
|
67053
|
+
previews: [],
|
|
67054
|
+
format: ""
|
|
67055
|
+
}
|
|
67056
|
+
};
|
|
67057
|
+
requestDefaults.headers["user-agent"] = options.userAgent ? `${options.userAgent} ${userAgentTrail}` : userAgentTrail;
|
|
67058
|
+
if (options.baseUrl) {
|
|
67059
|
+
requestDefaults.baseUrl = options.baseUrl;
|
|
67060
|
+
}
|
|
67061
|
+
if (options.previews) {
|
|
67062
|
+
requestDefaults.mediaType.previews = options.previews;
|
|
67063
|
+
}
|
|
67064
|
+
if (options.timeZone) {
|
|
67065
|
+
requestDefaults.headers["time-zone"] = options.timeZone;
|
|
67066
|
+
}
|
|
67067
|
+
this.request = request.defaults(requestDefaults);
|
|
67068
|
+
this.graphql = withCustomRequest(this.request).defaults(requestDefaults);
|
|
67069
|
+
this.log = createLogger(options.log);
|
|
67070
|
+
this.hook = hook2;
|
|
67071
|
+
if (!options.authStrategy) {
|
|
67072
|
+
if (!options.auth) {
|
|
67073
|
+
this.auth = async () => ({
|
|
67074
|
+
type: "unauthenticated"
|
|
67075
|
+
});
|
|
67076
|
+
} else {
|
|
67077
|
+
const auth2 = createTokenAuth(options.auth);
|
|
67078
|
+
hook2.wrap("request", auth2.hook);
|
|
67079
|
+
this.auth = auth2;
|
|
67080
|
+
}
|
|
67081
|
+
} else {
|
|
67082
|
+
const { authStrategy, ...otherOptions } = options;
|
|
67083
|
+
const auth2 = authStrategy(
|
|
67084
|
+
Object.assign(
|
|
67085
|
+
{
|
|
67086
|
+
request: this.request,
|
|
67087
|
+
log: this.log,
|
|
67088
|
+
// we pass the current octokit instance as well as its constructor options
|
|
67089
|
+
// to allow for authentication strategies that return a new octokit instance
|
|
67090
|
+
// that shares the same internal state as the current one. The original
|
|
67091
|
+
// requirement for this was the "event-octokit" authentication strategy
|
|
67092
|
+
// of https://github.com/probot/octokit-auth-probot.
|
|
67093
|
+
octokit: this,
|
|
67094
|
+
octokitOptions: otherOptions
|
|
67095
|
+
},
|
|
67096
|
+
options.auth
|
|
67097
|
+
)
|
|
67098
|
+
);
|
|
67099
|
+
hook2.wrap("request", auth2.hook);
|
|
67100
|
+
this.auth = auth2;
|
|
67101
|
+
}
|
|
67102
|
+
const classConstructor = this.constructor;
|
|
67103
|
+
for (let i = 0; i < classConstructor.plugins.length; ++i) {
|
|
67104
|
+
Object.assign(this, classConstructor.plugins[i](this, options));
|
|
67105
|
+
}
|
|
67106
|
+
}
|
|
67107
|
+
// assigned during constructor
|
|
67108
|
+
request;
|
|
67109
|
+
graphql;
|
|
67110
|
+
log;
|
|
67111
|
+
hook;
|
|
67112
|
+
// TODO: type `octokit.auth` based on passed options.authStrategy
|
|
67113
|
+
auth;
|
|
67114
|
+
};
|
|
67115
|
+
|
|
67116
|
+
// ../../node_modules/.pnpm/@octokit+plugin-request-log@6.0.0_@octokit+core@7.0.6/node_modules/@octokit/plugin-request-log/dist-src/version.js
|
|
67117
|
+
var VERSION7 = "6.0.0";
|
|
67118
|
+
|
|
67119
|
+
// ../../node_modules/.pnpm/@octokit+plugin-request-log@6.0.0_@octokit+core@7.0.6/node_modules/@octokit/plugin-request-log/dist-src/index.js
|
|
67120
|
+
function requestLog(octokit) {
|
|
67121
|
+
octokit.hook.wrap("request", (request2, options) => {
|
|
67122
|
+
octokit.log.debug("request", options);
|
|
67123
|
+
const start = Date.now();
|
|
67124
|
+
const requestOptions = octokit.request.endpoint.parse(options);
|
|
67125
|
+
const path19 = requestOptions.url.replace(options.baseUrl, "");
|
|
67126
|
+
return request2(options).then((response) => {
|
|
67127
|
+
const requestId = response.headers["x-github-request-id"];
|
|
67128
|
+
octokit.log.info(
|
|
67129
|
+
`${requestOptions.method} ${path19} - ${response.status} with id ${requestId} in ${Date.now() - start}ms`
|
|
67130
|
+
);
|
|
67131
|
+
return response;
|
|
67132
|
+
}).catch((error50) => {
|
|
67133
|
+
const requestId = error50.response?.headers["x-github-request-id"] || "UNKNOWN";
|
|
67134
|
+
octokit.log.error(
|
|
67135
|
+
`${requestOptions.method} ${path19} - ${error50.status} with id ${requestId} in ${Date.now() - start}ms`
|
|
67136
|
+
);
|
|
67137
|
+
throw error50;
|
|
67138
|
+
});
|
|
67139
|
+
});
|
|
67140
|
+
}
|
|
67141
|
+
requestLog.VERSION = VERSION7;
|
|
67142
|
+
|
|
67143
|
+
// ../../node_modules/.pnpm/@octokit+plugin-paginate-rest@14.0.0_@octokit+core@7.0.6/node_modules/@octokit/plugin-paginate-rest/dist-bundle/index.js
|
|
67144
|
+
var VERSION8 = "0.0.0-development";
|
|
67145
|
+
function normalizePaginatedListResponse(response) {
|
|
67146
|
+
if (!response.data) {
|
|
67147
|
+
return {
|
|
67148
|
+
...response,
|
|
67149
|
+
data: []
|
|
67150
|
+
};
|
|
67151
|
+
}
|
|
67152
|
+
const responseNeedsNormalization = ("total_count" in response.data || "total_commits" in response.data) && !("url" in response.data);
|
|
67153
|
+
if (!responseNeedsNormalization) return response;
|
|
67154
|
+
const incompleteResults = response.data.incomplete_results;
|
|
67155
|
+
const repositorySelection = response.data.repository_selection;
|
|
67156
|
+
const totalCount = response.data.total_count;
|
|
67157
|
+
const totalCommits = response.data.total_commits;
|
|
67158
|
+
delete response.data.incomplete_results;
|
|
67159
|
+
delete response.data.repository_selection;
|
|
67160
|
+
delete response.data.total_count;
|
|
67161
|
+
delete response.data.total_commits;
|
|
67162
|
+
const namespaceKey = Object.keys(response.data)[0];
|
|
67163
|
+
const data = response.data[namespaceKey];
|
|
67164
|
+
response.data = data;
|
|
67165
|
+
if (typeof incompleteResults !== "undefined") {
|
|
67166
|
+
response.data.incomplete_results = incompleteResults;
|
|
67167
|
+
}
|
|
67168
|
+
if (typeof repositorySelection !== "undefined") {
|
|
67169
|
+
response.data.repository_selection = repositorySelection;
|
|
67170
|
+
}
|
|
67171
|
+
response.data.total_count = totalCount;
|
|
67172
|
+
response.data.total_commits = totalCommits;
|
|
67173
|
+
return response;
|
|
67174
|
+
}
|
|
67175
|
+
function iterator(octokit, route, parameters) {
|
|
67176
|
+
const options = typeof route === "function" ? route.endpoint(parameters) : octokit.request.endpoint(route, parameters);
|
|
67177
|
+
const requestMethod = typeof route === "function" ? route : octokit.request;
|
|
67178
|
+
const method = options.method;
|
|
67179
|
+
const headers = options.headers;
|
|
67180
|
+
let url2 = options.url;
|
|
67181
|
+
return {
|
|
67182
|
+
[Symbol.asyncIterator]: () => ({
|
|
67183
|
+
async next() {
|
|
67184
|
+
if (!url2) return { done: true };
|
|
67185
|
+
try {
|
|
67186
|
+
const response = await requestMethod({ method, url: url2, headers });
|
|
67187
|
+
const normalizedResponse = normalizePaginatedListResponse(response);
|
|
67188
|
+
url2 = ((normalizedResponse.headers.link || "").match(
|
|
67189
|
+
/<([^<>]+)>;\s*rel="next"/
|
|
67190
|
+
) || [])[1];
|
|
67191
|
+
if (!url2 && "total_commits" in normalizedResponse.data) {
|
|
67192
|
+
const parsedUrl = new URL(normalizedResponse.url);
|
|
67193
|
+
const params = parsedUrl.searchParams;
|
|
67194
|
+
const page = parseInt(params.get("page") || "1", 10);
|
|
67195
|
+
const per_page = parseInt(params.get("per_page") || "250", 10);
|
|
67196
|
+
if (page * per_page < normalizedResponse.data.total_commits) {
|
|
67197
|
+
params.set("page", String(page + 1));
|
|
67198
|
+
url2 = parsedUrl.toString();
|
|
67199
|
+
}
|
|
67200
|
+
}
|
|
67201
|
+
return { value: normalizedResponse };
|
|
67202
|
+
} catch (error50) {
|
|
67203
|
+
if (error50.status !== 409) throw error50;
|
|
67204
|
+
url2 = "";
|
|
67205
|
+
return {
|
|
67206
|
+
value: {
|
|
67207
|
+
status: 200,
|
|
67208
|
+
headers: {},
|
|
67209
|
+
data: []
|
|
67210
|
+
}
|
|
67211
|
+
};
|
|
67212
|
+
}
|
|
67213
|
+
}
|
|
67214
|
+
})
|
|
67215
|
+
};
|
|
67216
|
+
}
|
|
67217
|
+
function paginate(octokit, route, parameters, mapFn) {
|
|
67218
|
+
if (typeof parameters === "function") {
|
|
67219
|
+
mapFn = parameters;
|
|
67220
|
+
parameters = void 0;
|
|
67221
|
+
}
|
|
67222
|
+
return gather(
|
|
67223
|
+
octokit,
|
|
67224
|
+
[],
|
|
67225
|
+
iterator(octokit, route, parameters)[Symbol.asyncIterator](),
|
|
67226
|
+
mapFn
|
|
67227
|
+
);
|
|
67228
|
+
}
|
|
67229
|
+
function gather(octokit, results, iterator2, mapFn) {
|
|
67230
|
+
return iterator2.next().then((result) => {
|
|
67231
|
+
if (result.done) {
|
|
67232
|
+
return results;
|
|
67233
|
+
}
|
|
67234
|
+
let earlyExit = false;
|
|
67235
|
+
function done() {
|
|
67236
|
+
earlyExit = true;
|
|
67237
|
+
}
|
|
67238
|
+
results = results.concat(
|
|
67239
|
+
mapFn ? mapFn(result.value, done) : result.value.data
|
|
67240
|
+
);
|
|
67241
|
+
if (earlyExit) {
|
|
67242
|
+
return results;
|
|
67243
|
+
}
|
|
67244
|
+
return gather(octokit, results, iterator2, mapFn);
|
|
67245
|
+
});
|
|
67246
|
+
}
|
|
67247
|
+
var composePaginateRest = Object.assign(paginate, {
|
|
67248
|
+
iterator
|
|
67249
|
+
});
|
|
67250
|
+
function paginateRest(octokit) {
|
|
67251
|
+
return {
|
|
67252
|
+
paginate: Object.assign(paginate.bind(null, octokit), {
|
|
67253
|
+
iterator: iterator.bind(null, octokit)
|
|
67254
|
+
})
|
|
67255
|
+
};
|
|
67256
|
+
}
|
|
67257
|
+
paginateRest.VERSION = VERSION8;
|
|
67258
|
+
|
|
67259
|
+
// ../../node_modules/.pnpm/@octokit+plugin-rest-endpoint-methods@17.0.0_@octokit+core@7.0.6/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js
|
|
67260
|
+
var VERSION9 = "17.0.0";
|
|
67261
|
+
|
|
67262
|
+
// ../../node_modules/.pnpm/@octokit+plugin-rest-endpoint-methods@17.0.0_@octokit+core@7.0.6/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js
|
|
67263
|
+
var Endpoints = {
|
|
67264
|
+
actions: {
|
|
67265
|
+
addCustomLabelsToSelfHostedRunnerForOrg: [
|
|
67266
|
+
"POST /orgs/{org}/actions/runners/{runner_id}/labels"
|
|
67267
|
+
],
|
|
67268
|
+
addCustomLabelsToSelfHostedRunnerForRepo: [
|
|
67269
|
+
"POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"
|
|
67270
|
+
],
|
|
67271
|
+
addRepoAccessToSelfHostedRunnerGroupInOrg: [
|
|
67272
|
+
"PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}"
|
|
67273
|
+
],
|
|
67274
|
+
addSelectedRepoToOrgSecret: [
|
|
67275
|
+
"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"
|
|
67276
|
+
],
|
|
67277
|
+
addSelectedRepoToOrgVariable: [
|
|
67278
|
+
"PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"
|
|
67279
|
+
],
|
|
67280
|
+
approveWorkflowRun: [
|
|
67281
|
+
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"
|
|
67282
|
+
],
|
|
67283
|
+
cancelWorkflowRun: [
|
|
67284
|
+
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"
|
|
67285
|
+
],
|
|
67286
|
+
createEnvironmentVariable: [
|
|
67287
|
+
"POST /repos/{owner}/{repo}/environments/{environment_name}/variables"
|
|
67288
|
+
],
|
|
67289
|
+
createHostedRunnerForOrg: ["POST /orgs/{org}/actions/hosted-runners"],
|
|
67290
|
+
createOrUpdateEnvironmentSecret: [
|
|
67291
|
+
"PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"
|
|
67292
|
+
],
|
|
67293
|
+
createOrUpdateOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}"],
|
|
67294
|
+
createOrUpdateRepoSecret: [
|
|
67295
|
+
"PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"
|
|
67296
|
+
],
|
|
67297
|
+
createOrgVariable: ["POST /orgs/{org}/actions/variables"],
|
|
67298
|
+
createRegistrationTokenForOrg: [
|
|
67299
|
+
"POST /orgs/{org}/actions/runners/registration-token"
|
|
67300
|
+
],
|
|
67301
|
+
createRegistrationTokenForRepo: [
|
|
67302
|
+
"POST /repos/{owner}/{repo}/actions/runners/registration-token"
|
|
67303
|
+
],
|
|
67304
|
+
createRemoveTokenForOrg: ["POST /orgs/{org}/actions/runners/remove-token"],
|
|
67305
|
+
createRemoveTokenForRepo: [
|
|
67306
|
+
"POST /repos/{owner}/{repo}/actions/runners/remove-token"
|
|
67307
|
+
],
|
|
67308
|
+
createRepoVariable: ["POST /repos/{owner}/{repo}/actions/variables"],
|
|
67309
|
+
createWorkflowDispatch: [
|
|
67310
|
+
"POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"
|
|
67311
|
+
],
|
|
67312
|
+
deleteActionsCacheById: [
|
|
67313
|
+
"DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"
|
|
67314
|
+
],
|
|
67315
|
+
deleteActionsCacheByKey: [
|
|
67316
|
+
"DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"
|
|
67317
|
+
],
|
|
67318
|
+
deleteArtifact: [
|
|
67319
|
+
"DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"
|
|
67320
|
+
],
|
|
67321
|
+
deleteCustomImageFromOrg: [
|
|
67322
|
+
"DELETE /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}"
|
|
67323
|
+
],
|
|
67324
|
+
deleteCustomImageVersionFromOrg: [
|
|
67325
|
+
"DELETE /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}"
|
|
67326
|
+
],
|
|
67327
|
+
deleteEnvironmentSecret: [
|
|
67328
|
+
"DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"
|
|
67329
|
+
],
|
|
67330
|
+
deleteEnvironmentVariable: [
|
|
67331
|
+
"DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"
|
|
67332
|
+
],
|
|
67333
|
+
deleteHostedRunnerForOrg: [
|
|
67334
|
+
"DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"
|
|
67335
|
+
],
|
|
67336
|
+
deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"],
|
|
67337
|
+
deleteOrgVariable: ["DELETE /orgs/{org}/actions/variables/{name}"],
|
|
67338
|
+
deleteRepoSecret: [
|
|
67339
|
+
"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"
|
|
67340
|
+
],
|
|
67341
|
+
deleteRepoVariable: [
|
|
67342
|
+
"DELETE /repos/{owner}/{repo}/actions/variables/{name}"
|
|
67343
|
+
],
|
|
67344
|
+
deleteSelfHostedRunnerFromOrg: [
|
|
67345
|
+
"DELETE /orgs/{org}/actions/runners/{runner_id}"
|
|
67346
|
+
],
|
|
67347
|
+
deleteSelfHostedRunnerFromRepo: [
|
|
67348
|
+
"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"
|
|
67349
|
+
],
|
|
67350
|
+
deleteWorkflowRun: ["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],
|
|
67351
|
+
deleteWorkflowRunLogs: [
|
|
67352
|
+
"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"
|
|
67353
|
+
],
|
|
67354
|
+
disableSelectedRepositoryGithubActionsOrganization: [
|
|
67355
|
+
"DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"
|
|
67356
|
+
],
|
|
67357
|
+
disableWorkflow: [
|
|
67358
|
+
"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"
|
|
67359
|
+
],
|
|
67360
|
+
downloadArtifact: [
|
|
67361
|
+
"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"
|
|
67362
|
+
],
|
|
67363
|
+
downloadJobLogsForWorkflowRun: [
|
|
67364
|
+
"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"
|
|
67365
|
+
],
|
|
67366
|
+
downloadWorkflowRunAttemptLogs: [
|
|
67367
|
+
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"
|
|
67368
|
+
],
|
|
67369
|
+
downloadWorkflowRunLogs: [
|
|
67370
|
+
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"
|
|
67371
|
+
],
|
|
67372
|
+
enableSelectedRepositoryGithubActionsOrganization: [
|
|
67373
|
+
"PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"
|
|
67374
|
+
],
|
|
67375
|
+
enableWorkflow: [
|
|
67376
|
+
"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"
|
|
67377
|
+
],
|
|
67378
|
+
forceCancelWorkflowRun: [
|
|
67379
|
+
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"
|
|
67380
|
+
],
|
|
67381
|
+
generateRunnerJitconfigForOrg: [
|
|
67382
|
+
"POST /orgs/{org}/actions/runners/generate-jitconfig"
|
|
67383
|
+
],
|
|
67384
|
+
generateRunnerJitconfigForRepo: [
|
|
67385
|
+
"POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"
|
|
67386
|
+
],
|
|
67387
|
+
getActionsCacheList: ["GET /repos/{owner}/{repo}/actions/caches"],
|
|
67388
|
+
getActionsCacheUsage: ["GET /repos/{owner}/{repo}/actions/cache/usage"],
|
|
67389
|
+
getActionsCacheUsageByRepoForOrg: [
|
|
67390
|
+
"GET /orgs/{org}/actions/cache/usage-by-repository"
|
|
67391
|
+
],
|
|
67392
|
+
getActionsCacheUsageForOrg: ["GET /orgs/{org}/actions/cache/usage"],
|
|
67393
|
+
getAllowedActionsOrganization: [
|
|
67394
|
+
"GET /orgs/{org}/actions/permissions/selected-actions"
|
|
67395
|
+
],
|
|
67396
|
+
getAllowedActionsRepository: [
|
|
67397
|
+
"GET /repos/{owner}/{repo}/actions/permissions/selected-actions"
|
|
67398
|
+
],
|
|
67399
|
+
getArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],
|
|
67400
|
+
getCustomImageForOrg: [
|
|
67401
|
+
"GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}"
|
|
67402
|
+
],
|
|
67403
|
+
getCustomImageVersionForOrg: [
|
|
67404
|
+
"GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}"
|
|
67405
|
+
],
|
|
67406
|
+
getCustomOidcSubClaimForRepo: [
|
|
67407
|
+
"GET /repos/{owner}/{repo}/actions/oidc/customization/sub"
|
|
67408
|
+
],
|
|
67409
|
+
getEnvironmentPublicKey: [
|
|
67410
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key"
|
|
67411
|
+
],
|
|
67412
|
+
getEnvironmentSecret: [
|
|
67413
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"
|
|
67414
|
+
],
|
|
67415
|
+
getEnvironmentVariable: [
|
|
67416
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"
|
|
67417
|
+
],
|
|
67418
|
+
getGithubActionsDefaultWorkflowPermissionsOrganization: [
|
|
67419
|
+
"GET /orgs/{org}/actions/permissions/workflow"
|
|
67420
|
+
],
|
|
67421
|
+
getGithubActionsDefaultWorkflowPermissionsRepository: [
|
|
67422
|
+
"GET /repos/{owner}/{repo}/actions/permissions/workflow"
|
|
67423
|
+
],
|
|
67424
|
+
getGithubActionsPermissionsOrganization: [
|
|
67425
|
+
"GET /orgs/{org}/actions/permissions"
|
|
67426
|
+
],
|
|
67427
|
+
getGithubActionsPermissionsRepository: [
|
|
67428
|
+
"GET /repos/{owner}/{repo}/actions/permissions"
|
|
67429
|
+
],
|
|
67430
|
+
getHostedRunnerForOrg: [
|
|
67431
|
+
"GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"
|
|
67432
|
+
],
|
|
67433
|
+
getHostedRunnersGithubOwnedImagesForOrg: [
|
|
67434
|
+
"GET /orgs/{org}/actions/hosted-runners/images/github-owned"
|
|
67435
|
+
],
|
|
67436
|
+
getHostedRunnersLimitsForOrg: [
|
|
67437
|
+
"GET /orgs/{org}/actions/hosted-runners/limits"
|
|
67438
|
+
],
|
|
67439
|
+
getHostedRunnersMachineSpecsForOrg: [
|
|
67440
|
+
"GET /orgs/{org}/actions/hosted-runners/machine-sizes"
|
|
67441
|
+
],
|
|
67442
|
+
getHostedRunnersPartnerImagesForOrg: [
|
|
67443
|
+
"GET /orgs/{org}/actions/hosted-runners/images/partner"
|
|
67444
|
+
],
|
|
67445
|
+
getHostedRunnersPlatformsForOrg: [
|
|
67446
|
+
"GET /orgs/{org}/actions/hosted-runners/platforms"
|
|
67447
|
+
],
|
|
67448
|
+
getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],
|
|
67449
|
+
getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"],
|
|
67450
|
+
getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"],
|
|
67451
|
+
getOrgVariable: ["GET /orgs/{org}/actions/variables/{name}"],
|
|
67452
|
+
getPendingDeploymentsForRun: [
|
|
67453
|
+
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"
|
|
67454
|
+
],
|
|
67455
|
+
getRepoPermissions: [
|
|
67456
|
+
"GET /repos/{owner}/{repo}/actions/permissions",
|
|
67457
|
+
{},
|
|
67458
|
+
{ renamed: ["actions", "getGithubActionsPermissionsRepository"] }
|
|
67459
|
+
],
|
|
67460
|
+
getRepoPublicKey: ["GET /repos/{owner}/{repo}/actions/secrets/public-key"],
|
|
67461
|
+
getRepoSecret: ["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],
|
|
67462
|
+
getRepoVariable: ["GET /repos/{owner}/{repo}/actions/variables/{name}"],
|
|
67463
|
+
getReviewsForRun: [
|
|
67464
|
+
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"
|
|
67465
|
+
],
|
|
67466
|
+
getSelfHostedRunnerForOrg: ["GET /orgs/{org}/actions/runners/{runner_id}"],
|
|
67467
|
+
getSelfHostedRunnerForRepo: [
|
|
67468
|
+
"GET /repos/{owner}/{repo}/actions/runners/{runner_id}"
|
|
67469
|
+
],
|
|
67470
|
+
getWorkflow: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],
|
|
67471
|
+
getWorkflowAccessToRepository: [
|
|
67472
|
+
"GET /repos/{owner}/{repo}/actions/permissions/access"
|
|
67473
|
+
],
|
|
67474
|
+
getWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],
|
|
67475
|
+
getWorkflowRunAttempt: [
|
|
67476
|
+
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"
|
|
67477
|
+
],
|
|
67478
|
+
getWorkflowRunUsage: [
|
|
67479
|
+
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"
|
|
67480
|
+
],
|
|
67481
|
+
getWorkflowUsage: [
|
|
67482
|
+
"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"
|
|
67483
|
+
],
|
|
67484
|
+
listArtifactsForRepo: ["GET /repos/{owner}/{repo}/actions/artifacts"],
|
|
67485
|
+
listCustomImageVersionsForOrg: [
|
|
67486
|
+
"GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions"
|
|
67487
|
+
],
|
|
67488
|
+
listCustomImagesForOrg: [
|
|
67489
|
+
"GET /orgs/{org}/actions/hosted-runners/images/custom"
|
|
67490
|
+
],
|
|
67491
|
+
listEnvironmentSecrets: [
|
|
67492
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/secrets"
|
|
67493
|
+
],
|
|
67494
|
+
listEnvironmentVariables: [
|
|
67495
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/variables"
|
|
67496
|
+
],
|
|
67497
|
+
listGithubHostedRunnersInGroupForOrg: [
|
|
67498
|
+
"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners"
|
|
67499
|
+
],
|
|
67500
|
+
listHostedRunnersForOrg: ["GET /orgs/{org}/actions/hosted-runners"],
|
|
67501
|
+
listJobsForWorkflowRun: [
|
|
67502
|
+
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"
|
|
67503
|
+
],
|
|
67504
|
+
listJobsForWorkflowRunAttempt: [
|
|
67505
|
+
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"
|
|
67506
|
+
],
|
|
67507
|
+
listLabelsForSelfHostedRunnerForOrg: [
|
|
67508
|
+
"GET /orgs/{org}/actions/runners/{runner_id}/labels"
|
|
67509
|
+
],
|
|
67510
|
+
listLabelsForSelfHostedRunnerForRepo: [
|
|
67511
|
+
"GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"
|
|
67512
|
+
],
|
|
67513
|
+
listOrgSecrets: ["GET /orgs/{org}/actions/secrets"],
|
|
67514
|
+
listOrgVariables: ["GET /orgs/{org}/actions/variables"],
|
|
67515
|
+
listRepoOrganizationSecrets: [
|
|
67516
|
+
"GET /repos/{owner}/{repo}/actions/organization-secrets"
|
|
67517
|
+
],
|
|
67518
|
+
listRepoOrganizationVariables: [
|
|
67519
|
+
"GET /repos/{owner}/{repo}/actions/organization-variables"
|
|
67520
|
+
],
|
|
67521
|
+
listRepoSecrets: ["GET /repos/{owner}/{repo}/actions/secrets"],
|
|
67522
|
+
listRepoVariables: ["GET /repos/{owner}/{repo}/actions/variables"],
|
|
67523
|
+
listRepoWorkflows: ["GET /repos/{owner}/{repo}/actions/workflows"],
|
|
67524
|
+
listRunnerApplicationsForOrg: ["GET /orgs/{org}/actions/runners/downloads"],
|
|
67525
|
+
listRunnerApplicationsForRepo: [
|
|
67526
|
+
"GET /repos/{owner}/{repo}/actions/runners/downloads"
|
|
67527
|
+
],
|
|
67528
|
+
listSelectedReposForOrgSecret: [
|
|
67529
|
+
"GET /orgs/{org}/actions/secrets/{secret_name}/repositories"
|
|
67530
|
+
],
|
|
67531
|
+
listSelectedReposForOrgVariable: [
|
|
67532
|
+
"GET /orgs/{org}/actions/variables/{name}/repositories"
|
|
67533
|
+
],
|
|
67534
|
+
listSelectedRepositoriesEnabledGithubActionsOrganization: [
|
|
67535
|
+
"GET /orgs/{org}/actions/permissions/repositories"
|
|
67536
|
+
],
|
|
67537
|
+
listSelfHostedRunnersForOrg: ["GET /orgs/{org}/actions/runners"],
|
|
67538
|
+
listSelfHostedRunnersForRepo: ["GET /repos/{owner}/{repo}/actions/runners"],
|
|
67539
|
+
listWorkflowRunArtifacts: [
|
|
67540
|
+
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"
|
|
67541
|
+
],
|
|
67542
|
+
listWorkflowRuns: [
|
|
67543
|
+
"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"
|
|
67544
|
+
],
|
|
67545
|
+
listWorkflowRunsForRepo: ["GET /repos/{owner}/{repo}/actions/runs"],
|
|
67546
|
+
reRunJobForWorkflowRun: [
|
|
67547
|
+
"POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"
|
|
67548
|
+
],
|
|
67549
|
+
reRunWorkflow: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],
|
|
67550
|
+
reRunWorkflowFailedJobs: [
|
|
67551
|
+
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"
|
|
67552
|
+
],
|
|
67553
|
+
removeAllCustomLabelsFromSelfHostedRunnerForOrg: [
|
|
67554
|
+
"DELETE /orgs/{org}/actions/runners/{runner_id}/labels"
|
|
67555
|
+
],
|
|
67556
|
+
removeAllCustomLabelsFromSelfHostedRunnerForRepo: [
|
|
67557
|
+
"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"
|
|
67558
|
+
],
|
|
67559
|
+
removeCustomLabelFromSelfHostedRunnerForOrg: [
|
|
67560
|
+
"DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"
|
|
67561
|
+
],
|
|
67562
|
+
removeCustomLabelFromSelfHostedRunnerForRepo: [
|
|
67563
|
+
"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"
|
|
67564
|
+
],
|
|
67565
|
+
removeSelectedRepoFromOrgSecret: [
|
|
67566
|
+
"DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"
|
|
67567
|
+
],
|
|
67568
|
+
removeSelectedRepoFromOrgVariable: [
|
|
67569
|
+
"DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"
|
|
67570
|
+
],
|
|
67571
|
+
reviewCustomGatesForRun: [
|
|
67572
|
+
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"
|
|
67573
|
+
],
|
|
67574
|
+
reviewPendingDeploymentsForRun: [
|
|
67575
|
+
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"
|
|
67576
|
+
],
|
|
67577
|
+
setAllowedActionsOrganization: [
|
|
67578
|
+
"PUT /orgs/{org}/actions/permissions/selected-actions"
|
|
67579
|
+
],
|
|
67580
|
+
setAllowedActionsRepository: [
|
|
67581
|
+
"PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"
|
|
67582
|
+
],
|
|
67583
|
+
setCustomLabelsForSelfHostedRunnerForOrg: [
|
|
67584
|
+
"PUT /orgs/{org}/actions/runners/{runner_id}/labels"
|
|
67585
|
+
],
|
|
67586
|
+
setCustomLabelsForSelfHostedRunnerForRepo: [
|
|
67587
|
+
"PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"
|
|
67588
|
+
],
|
|
67589
|
+
setCustomOidcSubClaimForRepo: [
|
|
67590
|
+
"PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"
|
|
67591
|
+
],
|
|
67592
|
+
setGithubActionsDefaultWorkflowPermissionsOrganization: [
|
|
67593
|
+
"PUT /orgs/{org}/actions/permissions/workflow"
|
|
67594
|
+
],
|
|
67595
|
+
setGithubActionsDefaultWorkflowPermissionsRepository: [
|
|
67596
|
+
"PUT /repos/{owner}/{repo}/actions/permissions/workflow"
|
|
67597
|
+
],
|
|
67598
|
+
setGithubActionsPermissionsOrganization: [
|
|
67599
|
+
"PUT /orgs/{org}/actions/permissions"
|
|
67600
|
+
],
|
|
67601
|
+
setGithubActionsPermissionsRepository: [
|
|
67602
|
+
"PUT /repos/{owner}/{repo}/actions/permissions"
|
|
67603
|
+
],
|
|
67604
|
+
setSelectedReposForOrgSecret: [
|
|
67605
|
+
"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"
|
|
67606
|
+
],
|
|
67607
|
+
setSelectedReposForOrgVariable: [
|
|
67608
|
+
"PUT /orgs/{org}/actions/variables/{name}/repositories"
|
|
67609
|
+
],
|
|
67610
|
+
setSelectedRepositoriesEnabledGithubActionsOrganization: [
|
|
67611
|
+
"PUT /orgs/{org}/actions/permissions/repositories"
|
|
67612
|
+
],
|
|
67613
|
+
setWorkflowAccessToRepository: [
|
|
67614
|
+
"PUT /repos/{owner}/{repo}/actions/permissions/access"
|
|
67615
|
+
],
|
|
67616
|
+
updateEnvironmentVariable: [
|
|
67617
|
+
"PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"
|
|
67618
|
+
],
|
|
67619
|
+
updateHostedRunnerForOrg: [
|
|
67620
|
+
"PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"
|
|
67621
|
+
],
|
|
67622
|
+
updateOrgVariable: ["PATCH /orgs/{org}/actions/variables/{name}"],
|
|
67623
|
+
updateRepoVariable: [
|
|
67624
|
+
"PATCH /repos/{owner}/{repo}/actions/variables/{name}"
|
|
67625
|
+
]
|
|
67626
|
+
},
|
|
67627
|
+
activity: {
|
|
67628
|
+
checkRepoIsStarredByAuthenticatedUser: ["GET /user/starred/{owner}/{repo}"],
|
|
67629
|
+
deleteRepoSubscription: ["DELETE /repos/{owner}/{repo}/subscription"],
|
|
67630
|
+
deleteThreadSubscription: [
|
|
67631
|
+
"DELETE /notifications/threads/{thread_id}/subscription"
|
|
67632
|
+
],
|
|
67633
|
+
getFeeds: ["GET /feeds"],
|
|
67634
|
+
getRepoSubscription: ["GET /repos/{owner}/{repo}/subscription"],
|
|
67635
|
+
getThread: ["GET /notifications/threads/{thread_id}"],
|
|
67636
|
+
getThreadSubscriptionForAuthenticatedUser: [
|
|
67637
|
+
"GET /notifications/threads/{thread_id}/subscription"
|
|
67638
|
+
],
|
|
67639
|
+
listEventsForAuthenticatedUser: ["GET /users/{username}/events"],
|
|
67640
|
+
listNotificationsForAuthenticatedUser: ["GET /notifications"],
|
|
67641
|
+
listOrgEventsForAuthenticatedUser: [
|
|
67642
|
+
"GET /users/{username}/events/orgs/{org}"
|
|
67643
|
+
],
|
|
67644
|
+
listPublicEvents: ["GET /events"],
|
|
67645
|
+
listPublicEventsForRepoNetwork: ["GET /networks/{owner}/{repo}/events"],
|
|
67646
|
+
listPublicEventsForUser: ["GET /users/{username}/events/public"],
|
|
67647
|
+
listPublicOrgEvents: ["GET /orgs/{org}/events"],
|
|
67648
|
+
listReceivedEventsForUser: ["GET /users/{username}/received_events"],
|
|
67649
|
+
listReceivedPublicEventsForUser: [
|
|
67650
|
+
"GET /users/{username}/received_events/public"
|
|
67651
|
+
],
|
|
67652
|
+
listRepoEvents: ["GET /repos/{owner}/{repo}/events"],
|
|
67653
|
+
listRepoNotificationsForAuthenticatedUser: [
|
|
67654
|
+
"GET /repos/{owner}/{repo}/notifications"
|
|
67655
|
+
],
|
|
67656
|
+
listReposStarredByAuthenticatedUser: ["GET /user/starred"],
|
|
67657
|
+
listReposStarredByUser: ["GET /users/{username}/starred"],
|
|
67658
|
+
listReposWatchedByUser: ["GET /users/{username}/subscriptions"],
|
|
67659
|
+
listStargazersForRepo: ["GET /repos/{owner}/{repo}/stargazers"],
|
|
67660
|
+
listWatchedReposForAuthenticatedUser: ["GET /user/subscriptions"],
|
|
67661
|
+
listWatchersForRepo: ["GET /repos/{owner}/{repo}/subscribers"],
|
|
67662
|
+
markNotificationsAsRead: ["PUT /notifications"],
|
|
67663
|
+
markRepoNotificationsAsRead: ["PUT /repos/{owner}/{repo}/notifications"],
|
|
67664
|
+
markThreadAsDone: ["DELETE /notifications/threads/{thread_id}"],
|
|
67665
|
+
markThreadAsRead: ["PATCH /notifications/threads/{thread_id}"],
|
|
67666
|
+
setRepoSubscription: ["PUT /repos/{owner}/{repo}/subscription"],
|
|
67667
|
+
setThreadSubscription: [
|
|
67668
|
+
"PUT /notifications/threads/{thread_id}/subscription"
|
|
67669
|
+
],
|
|
67670
|
+
starRepoForAuthenticatedUser: ["PUT /user/starred/{owner}/{repo}"],
|
|
67671
|
+
unstarRepoForAuthenticatedUser: ["DELETE /user/starred/{owner}/{repo}"]
|
|
67672
|
+
},
|
|
67673
|
+
apps: {
|
|
67674
|
+
addRepoToInstallation: [
|
|
67675
|
+
"PUT /user/installations/{installation_id}/repositories/{repository_id}",
|
|
67676
|
+
{},
|
|
67677
|
+
{ renamed: ["apps", "addRepoToInstallationForAuthenticatedUser"] }
|
|
67678
|
+
],
|
|
67679
|
+
addRepoToInstallationForAuthenticatedUser: [
|
|
67680
|
+
"PUT /user/installations/{installation_id}/repositories/{repository_id}"
|
|
67681
|
+
],
|
|
67682
|
+
checkToken: ["POST /applications/{client_id}/token"],
|
|
67683
|
+
createFromManifest: ["POST /app-manifests/{code}/conversions"],
|
|
67684
|
+
createInstallationAccessToken: [
|
|
67685
|
+
"POST /app/installations/{installation_id}/access_tokens"
|
|
67686
|
+
],
|
|
67687
|
+
deleteAuthorization: ["DELETE /applications/{client_id}/grant"],
|
|
67688
|
+
deleteInstallation: ["DELETE /app/installations/{installation_id}"],
|
|
67689
|
+
deleteToken: ["DELETE /applications/{client_id}/token"],
|
|
67690
|
+
getAuthenticated: ["GET /app"],
|
|
67691
|
+
getBySlug: ["GET /apps/{app_slug}"],
|
|
67692
|
+
getInstallation: ["GET /app/installations/{installation_id}"],
|
|
67693
|
+
getOrgInstallation: ["GET /orgs/{org}/installation"],
|
|
67694
|
+
getRepoInstallation: ["GET /repos/{owner}/{repo}/installation"],
|
|
67695
|
+
getSubscriptionPlanForAccount: [
|
|
67696
|
+
"GET /marketplace_listing/accounts/{account_id}"
|
|
67697
|
+
],
|
|
67698
|
+
getSubscriptionPlanForAccountStubbed: [
|
|
67699
|
+
"GET /marketplace_listing/stubbed/accounts/{account_id}"
|
|
67700
|
+
],
|
|
67701
|
+
getUserInstallation: ["GET /users/{username}/installation"],
|
|
67702
|
+
getWebhookConfigForApp: ["GET /app/hook/config"],
|
|
67703
|
+
getWebhookDelivery: ["GET /app/hook/deliveries/{delivery_id}"],
|
|
67704
|
+
listAccountsForPlan: ["GET /marketplace_listing/plans/{plan_id}/accounts"],
|
|
67705
|
+
listAccountsForPlanStubbed: [
|
|
67706
|
+
"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"
|
|
67707
|
+
],
|
|
67708
|
+
listInstallationReposForAuthenticatedUser: [
|
|
67709
|
+
"GET /user/installations/{installation_id}/repositories"
|
|
67710
|
+
],
|
|
67711
|
+
listInstallationRequestsForAuthenticatedApp: [
|
|
67712
|
+
"GET /app/installation-requests"
|
|
67713
|
+
],
|
|
67714
|
+
listInstallations: ["GET /app/installations"],
|
|
67715
|
+
listInstallationsForAuthenticatedUser: ["GET /user/installations"],
|
|
67716
|
+
listPlans: ["GET /marketplace_listing/plans"],
|
|
67717
|
+
listPlansStubbed: ["GET /marketplace_listing/stubbed/plans"],
|
|
67718
|
+
listReposAccessibleToInstallation: ["GET /installation/repositories"],
|
|
67719
|
+
listSubscriptionsForAuthenticatedUser: ["GET /user/marketplace_purchases"],
|
|
67720
|
+
listSubscriptionsForAuthenticatedUserStubbed: [
|
|
67721
|
+
"GET /user/marketplace_purchases/stubbed"
|
|
67722
|
+
],
|
|
67723
|
+
listWebhookDeliveries: ["GET /app/hook/deliveries"],
|
|
67724
|
+
redeliverWebhookDelivery: [
|
|
67725
|
+
"POST /app/hook/deliveries/{delivery_id}/attempts"
|
|
67726
|
+
],
|
|
67727
|
+
removeRepoFromInstallation: [
|
|
67728
|
+
"DELETE /user/installations/{installation_id}/repositories/{repository_id}",
|
|
67729
|
+
{},
|
|
67730
|
+
{ renamed: ["apps", "removeRepoFromInstallationForAuthenticatedUser"] }
|
|
67731
|
+
],
|
|
67732
|
+
removeRepoFromInstallationForAuthenticatedUser: [
|
|
67733
|
+
"DELETE /user/installations/{installation_id}/repositories/{repository_id}"
|
|
67734
|
+
],
|
|
67735
|
+
resetToken: ["PATCH /applications/{client_id}/token"],
|
|
67736
|
+
revokeInstallationAccessToken: ["DELETE /installation/token"],
|
|
67737
|
+
scopeToken: ["POST /applications/{client_id}/token/scoped"],
|
|
67738
|
+
suspendInstallation: ["PUT /app/installations/{installation_id}/suspended"],
|
|
67739
|
+
unsuspendInstallation: [
|
|
67740
|
+
"DELETE /app/installations/{installation_id}/suspended"
|
|
67741
|
+
],
|
|
67742
|
+
updateWebhookConfigForApp: ["PATCH /app/hook/config"]
|
|
67743
|
+
},
|
|
67744
|
+
billing: {
|
|
67745
|
+
getGithubActionsBillingOrg: ["GET /orgs/{org}/settings/billing/actions"],
|
|
67746
|
+
getGithubActionsBillingUser: [
|
|
67747
|
+
"GET /users/{username}/settings/billing/actions"
|
|
67748
|
+
],
|
|
67749
|
+
getGithubBillingPremiumRequestUsageReportOrg: [
|
|
67750
|
+
"GET /organizations/{org}/settings/billing/premium_request/usage"
|
|
67751
|
+
],
|
|
67752
|
+
getGithubBillingPremiumRequestUsageReportUser: [
|
|
67753
|
+
"GET /users/{username}/settings/billing/premium_request/usage"
|
|
67754
|
+
],
|
|
67755
|
+
getGithubBillingUsageReportOrg: [
|
|
67756
|
+
"GET /organizations/{org}/settings/billing/usage"
|
|
67757
|
+
],
|
|
67758
|
+
getGithubBillingUsageReportUser: [
|
|
67759
|
+
"GET /users/{username}/settings/billing/usage"
|
|
67760
|
+
],
|
|
67761
|
+
getGithubPackagesBillingOrg: ["GET /orgs/{org}/settings/billing/packages"],
|
|
67762
|
+
getGithubPackagesBillingUser: [
|
|
67763
|
+
"GET /users/{username}/settings/billing/packages"
|
|
67764
|
+
],
|
|
67765
|
+
getSharedStorageBillingOrg: [
|
|
67766
|
+
"GET /orgs/{org}/settings/billing/shared-storage"
|
|
67767
|
+
],
|
|
67768
|
+
getSharedStorageBillingUser: [
|
|
67769
|
+
"GET /users/{username}/settings/billing/shared-storage"
|
|
67770
|
+
]
|
|
67771
|
+
},
|
|
67772
|
+
campaigns: {
|
|
67773
|
+
createCampaign: ["POST /orgs/{org}/campaigns"],
|
|
67774
|
+
deleteCampaign: ["DELETE /orgs/{org}/campaigns/{campaign_number}"],
|
|
67775
|
+
getCampaignSummary: ["GET /orgs/{org}/campaigns/{campaign_number}"],
|
|
67776
|
+
listOrgCampaigns: ["GET /orgs/{org}/campaigns"],
|
|
67777
|
+
updateCampaign: ["PATCH /orgs/{org}/campaigns/{campaign_number}"]
|
|
67778
|
+
},
|
|
67779
|
+
checks: {
|
|
67780
|
+
create: ["POST /repos/{owner}/{repo}/check-runs"],
|
|
67781
|
+
createSuite: ["POST /repos/{owner}/{repo}/check-suites"],
|
|
67782
|
+
get: ["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],
|
|
67783
|
+
getSuite: ["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],
|
|
67784
|
+
listAnnotations: [
|
|
67785
|
+
"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"
|
|
67786
|
+
],
|
|
67787
|
+
listForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],
|
|
67788
|
+
listForSuite: [
|
|
67789
|
+
"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"
|
|
67790
|
+
],
|
|
67791
|
+
listSuitesForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],
|
|
67792
|
+
rerequestRun: [
|
|
67793
|
+
"POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"
|
|
67794
|
+
],
|
|
67795
|
+
rerequestSuite: [
|
|
67796
|
+
"POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"
|
|
67797
|
+
],
|
|
67798
|
+
setSuitesPreferences: [
|
|
67799
|
+
"PATCH /repos/{owner}/{repo}/check-suites/preferences"
|
|
67800
|
+
],
|
|
67801
|
+
update: ["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]
|
|
67802
|
+
},
|
|
67803
|
+
codeScanning: {
|
|
67804
|
+
commitAutofix: [
|
|
67805
|
+
"POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix/commits"
|
|
67806
|
+
],
|
|
67807
|
+
createAutofix: [
|
|
67808
|
+
"POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix"
|
|
67809
|
+
],
|
|
67810
|
+
createVariantAnalysis: [
|
|
67811
|
+
"POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses"
|
|
67812
|
+
],
|
|
67813
|
+
deleteAnalysis: [
|
|
67814
|
+
"DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"
|
|
67815
|
+
],
|
|
67816
|
+
deleteCodeqlDatabase: [
|
|
67817
|
+
"DELETE /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"
|
|
67818
|
+
],
|
|
67819
|
+
getAlert: [
|
|
67820
|
+
"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",
|
|
67821
|
+
{},
|
|
67822
|
+
{ renamedParameters: { alert_id: "alert_number" } }
|
|
67823
|
+
],
|
|
67824
|
+
getAnalysis: [
|
|
67825
|
+
"GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"
|
|
67826
|
+
],
|
|
67827
|
+
getAutofix: [
|
|
67828
|
+
"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix"
|
|
67829
|
+
],
|
|
67830
|
+
getCodeqlDatabase: [
|
|
67831
|
+
"GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"
|
|
67832
|
+
],
|
|
67833
|
+
getDefaultSetup: ["GET /repos/{owner}/{repo}/code-scanning/default-setup"],
|
|
67834
|
+
getSarif: ["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],
|
|
67835
|
+
getVariantAnalysis: [
|
|
67836
|
+
"GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}"
|
|
67837
|
+
],
|
|
67838
|
+
getVariantAnalysisRepoTask: [
|
|
67839
|
+
"GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}"
|
|
67840
|
+
],
|
|
67841
|
+
listAlertInstances: [
|
|
67842
|
+
"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"
|
|
67843
|
+
],
|
|
67844
|
+
listAlertsForOrg: ["GET /orgs/{org}/code-scanning/alerts"],
|
|
67845
|
+
listAlertsForRepo: ["GET /repos/{owner}/{repo}/code-scanning/alerts"],
|
|
67846
|
+
listAlertsInstances: [
|
|
67847
|
+
"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",
|
|
67848
|
+
{},
|
|
67849
|
+
{ renamed: ["codeScanning", "listAlertInstances"] }
|
|
67850
|
+
],
|
|
67851
|
+
listCodeqlDatabases: [
|
|
67852
|
+
"GET /repos/{owner}/{repo}/code-scanning/codeql/databases"
|
|
67853
|
+
],
|
|
67854
|
+
listRecentAnalyses: ["GET /repos/{owner}/{repo}/code-scanning/analyses"],
|
|
67855
|
+
updateAlert: [
|
|
67856
|
+
"PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"
|
|
67857
|
+
],
|
|
67858
|
+
updateDefaultSetup: [
|
|
67859
|
+
"PATCH /repos/{owner}/{repo}/code-scanning/default-setup"
|
|
67860
|
+
],
|
|
67861
|
+
uploadSarif: ["POST /repos/{owner}/{repo}/code-scanning/sarifs"]
|
|
67862
|
+
},
|
|
67863
|
+
codeSecurity: {
|
|
67864
|
+
attachConfiguration: [
|
|
67865
|
+
"POST /orgs/{org}/code-security/configurations/{configuration_id}/attach"
|
|
67866
|
+
],
|
|
67867
|
+
attachEnterpriseConfiguration: [
|
|
67868
|
+
"POST /enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach"
|
|
67869
|
+
],
|
|
67870
|
+
createConfiguration: ["POST /orgs/{org}/code-security/configurations"],
|
|
67871
|
+
createConfigurationForEnterprise: [
|
|
67872
|
+
"POST /enterprises/{enterprise}/code-security/configurations"
|
|
67873
|
+
],
|
|
67874
|
+
deleteConfiguration: [
|
|
67875
|
+
"DELETE /orgs/{org}/code-security/configurations/{configuration_id}"
|
|
67876
|
+
],
|
|
67877
|
+
deleteConfigurationForEnterprise: [
|
|
67878
|
+
"DELETE /enterprises/{enterprise}/code-security/configurations/{configuration_id}"
|
|
67879
|
+
],
|
|
67880
|
+
detachConfiguration: [
|
|
67881
|
+
"DELETE /orgs/{org}/code-security/configurations/detach"
|
|
67882
|
+
],
|
|
67883
|
+
getConfiguration: [
|
|
67884
|
+
"GET /orgs/{org}/code-security/configurations/{configuration_id}"
|
|
67885
|
+
],
|
|
67886
|
+
getConfigurationForRepository: [
|
|
67887
|
+
"GET /repos/{owner}/{repo}/code-security-configuration"
|
|
67888
|
+
],
|
|
67889
|
+
getConfigurationsForEnterprise: [
|
|
67890
|
+
"GET /enterprises/{enterprise}/code-security/configurations"
|
|
67891
|
+
],
|
|
67892
|
+
getConfigurationsForOrg: ["GET /orgs/{org}/code-security/configurations"],
|
|
67893
|
+
getDefaultConfigurations: [
|
|
67894
|
+
"GET /orgs/{org}/code-security/configurations/defaults"
|
|
67895
|
+
],
|
|
67896
|
+
getDefaultConfigurationsForEnterprise: [
|
|
67897
|
+
"GET /enterprises/{enterprise}/code-security/configurations/defaults"
|
|
67898
|
+
],
|
|
67899
|
+
getRepositoriesForConfiguration: [
|
|
67900
|
+
"GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories"
|
|
67901
|
+
],
|
|
67902
|
+
getRepositoriesForEnterpriseConfiguration: [
|
|
67903
|
+
"GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories"
|
|
67904
|
+
],
|
|
67905
|
+
getSingleConfigurationForEnterprise: [
|
|
67906
|
+
"GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}"
|
|
67907
|
+
],
|
|
67908
|
+
setConfigurationAsDefault: [
|
|
67909
|
+
"PUT /orgs/{org}/code-security/configurations/{configuration_id}/defaults"
|
|
67910
|
+
],
|
|
67911
|
+
setConfigurationAsDefaultForEnterprise: [
|
|
67912
|
+
"PUT /enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults"
|
|
67913
|
+
],
|
|
67914
|
+
updateConfiguration: [
|
|
67915
|
+
"PATCH /orgs/{org}/code-security/configurations/{configuration_id}"
|
|
67916
|
+
],
|
|
67917
|
+
updateEnterpriseConfiguration: [
|
|
67918
|
+
"PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id}"
|
|
67919
|
+
]
|
|
67920
|
+
},
|
|
67921
|
+
codesOfConduct: {
|
|
67922
|
+
getAllCodesOfConduct: ["GET /codes_of_conduct"],
|
|
67923
|
+
getConductCode: ["GET /codes_of_conduct/{key}"]
|
|
67924
|
+
},
|
|
67925
|
+
codespaces: {
|
|
67926
|
+
addRepositoryForSecretForAuthenticatedUser: [
|
|
67927
|
+
"PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"
|
|
67928
|
+
],
|
|
67929
|
+
addSelectedRepoToOrgSecret: [
|
|
67930
|
+
"PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"
|
|
67931
|
+
],
|
|
67932
|
+
checkPermissionsForDevcontainer: [
|
|
67933
|
+
"GET /repos/{owner}/{repo}/codespaces/permissions_check"
|
|
67934
|
+
],
|
|
67935
|
+
codespaceMachinesForAuthenticatedUser: [
|
|
67936
|
+
"GET /user/codespaces/{codespace_name}/machines"
|
|
67937
|
+
],
|
|
67938
|
+
createForAuthenticatedUser: ["POST /user/codespaces"],
|
|
67939
|
+
createOrUpdateOrgSecret: [
|
|
67940
|
+
"PUT /orgs/{org}/codespaces/secrets/{secret_name}"
|
|
67941
|
+
],
|
|
67942
|
+
createOrUpdateRepoSecret: [
|
|
67943
|
+
"PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"
|
|
67944
|
+
],
|
|
67945
|
+
createOrUpdateSecretForAuthenticatedUser: [
|
|
67946
|
+
"PUT /user/codespaces/secrets/{secret_name}"
|
|
67947
|
+
],
|
|
67948
|
+
createWithPrForAuthenticatedUser: [
|
|
67949
|
+
"POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"
|
|
67950
|
+
],
|
|
67951
|
+
createWithRepoForAuthenticatedUser: [
|
|
67952
|
+
"POST /repos/{owner}/{repo}/codespaces"
|
|
67953
|
+
],
|
|
67954
|
+
deleteForAuthenticatedUser: ["DELETE /user/codespaces/{codespace_name}"],
|
|
67955
|
+
deleteFromOrganization: [
|
|
67956
|
+
"DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"
|
|
67957
|
+
],
|
|
67958
|
+
deleteOrgSecret: ["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],
|
|
67959
|
+
deleteRepoSecret: [
|
|
67960
|
+
"DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"
|
|
67961
|
+
],
|
|
67962
|
+
deleteSecretForAuthenticatedUser: [
|
|
67963
|
+
"DELETE /user/codespaces/secrets/{secret_name}"
|
|
67964
|
+
],
|
|
67965
|
+
exportForAuthenticatedUser: [
|
|
67966
|
+
"POST /user/codespaces/{codespace_name}/exports"
|
|
67967
|
+
],
|
|
67968
|
+
getCodespacesForUserInOrg: [
|
|
67969
|
+
"GET /orgs/{org}/members/{username}/codespaces"
|
|
67970
|
+
],
|
|
67971
|
+
getExportDetailsForAuthenticatedUser: [
|
|
67972
|
+
"GET /user/codespaces/{codespace_name}/exports/{export_id}"
|
|
67973
|
+
],
|
|
67974
|
+
getForAuthenticatedUser: ["GET /user/codespaces/{codespace_name}"],
|
|
67975
|
+
getOrgPublicKey: ["GET /orgs/{org}/codespaces/secrets/public-key"],
|
|
67976
|
+
getOrgSecret: ["GET /orgs/{org}/codespaces/secrets/{secret_name}"],
|
|
67977
|
+
getPublicKeyForAuthenticatedUser: [
|
|
67978
|
+
"GET /user/codespaces/secrets/public-key"
|
|
67979
|
+
],
|
|
67980
|
+
getRepoPublicKey: [
|
|
67981
|
+
"GET /repos/{owner}/{repo}/codespaces/secrets/public-key"
|
|
67982
|
+
],
|
|
67983
|
+
getRepoSecret: [
|
|
67984
|
+
"GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"
|
|
67985
|
+
],
|
|
67986
|
+
getSecretForAuthenticatedUser: [
|
|
67987
|
+
"GET /user/codespaces/secrets/{secret_name}"
|
|
67988
|
+
],
|
|
67989
|
+
listDevcontainersInRepositoryForAuthenticatedUser: [
|
|
67990
|
+
"GET /repos/{owner}/{repo}/codespaces/devcontainers"
|
|
67991
|
+
],
|
|
67992
|
+
listForAuthenticatedUser: ["GET /user/codespaces"],
|
|
67993
|
+
listInOrganization: [
|
|
67994
|
+
"GET /orgs/{org}/codespaces",
|
|
67995
|
+
{},
|
|
67996
|
+
{ renamedParameters: { org_id: "org" } }
|
|
67997
|
+
],
|
|
67998
|
+
listInRepositoryForAuthenticatedUser: [
|
|
67999
|
+
"GET /repos/{owner}/{repo}/codespaces"
|
|
68000
|
+
],
|
|
68001
|
+
listOrgSecrets: ["GET /orgs/{org}/codespaces/secrets"],
|
|
68002
|
+
listRepoSecrets: ["GET /repos/{owner}/{repo}/codespaces/secrets"],
|
|
68003
|
+
listRepositoriesForSecretForAuthenticatedUser: [
|
|
68004
|
+
"GET /user/codespaces/secrets/{secret_name}/repositories"
|
|
68005
|
+
],
|
|
68006
|
+
listSecretsForAuthenticatedUser: ["GET /user/codespaces/secrets"],
|
|
68007
|
+
listSelectedReposForOrgSecret: [
|
|
68008
|
+
"GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"
|
|
68009
|
+
],
|
|
68010
|
+
preFlightWithRepoForAuthenticatedUser: [
|
|
68011
|
+
"GET /repos/{owner}/{repo}/codespaces/new"
|
|
68012
|
+
],
|
|
68013
|
+
publishForAuthenticatedUser: [
|
|
68014
|
+
"POST /user/codespaces/{codespace_name}/publish"
|
|
68015
|
+
],
|
|
68016
|
+
removeRepositoryForSecretForAuthenticatedUser: [
|
|
68017
|
+
"DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"
|
|
68018
|
+
],
|
|
68019
|
+
removeSelectedRepoFromOrgSecret: [
|
|
68020
|
+
"DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"
|
|
68021
|
+
],
|
|
68022
|
+
repoMachinesForAuthenticatedUser: [
|
|
68023
|
+
"GET /repos/{owner}/{repo}/codespaces/machines"
|
|
68024
|
+
],
|
|
68025
|
+
setRepositoriesForSecretForAuthenticatedUser: [
|
|
68026
|
+
"PUT /user/codespaces/secrets/{secret_name}/repositories"
|
|
68027
|
+
],
|
|
68028
|
+
setSelectedReposForOrgSecret: [
|
|
68029
|
+
"PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"
|
|
68030
|
+
],
|
|
68031
|
+
startForAuthenticatedUser: ["POST /user/codespaces/{codespace_name}/start"],
|
|
68032
|
+
stopForAuthenticatedUser: ["POST /user/codespaces/{codespace_name}/stop"],
|
|
68033
|
+
stopInOrganization: [
|
|
68034
|
+
"POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"
|
|
68035
|
+
],
|
|
68036
|
+
updateForAuthenticatedUser: ["PATCH /user/codespaces/{codespace_name}"]
|
|
68037
|
+
},
|
|
68038
|
+
copilot: {
|
|
68039
|
+
addCopilotSeatsForTeams: [
|
|
68040
|
+
"POST /orgs/{org}/copilot/billing/selected_teams"
|
|
68041
|
+
],
|
|
68042
|
+
addCopilotSeatsForUsers: [
|
|
68043
|
+
"POST /orgs/{org}/copilot/billing/selected_users"
|
|
68044
|
+
],
|
|
68045
|
+
cancelCopilotSeatAssignmentForTeams: [
|
|
68046
|
+
"DELETE /orgs/{org}/copilot/billing/selected_teams"
|
|
68047
|
+
],
|
|
68048
|
+
cancelCopilotSeatAssignmentForUsers: [
|
|
68049
|
+
"DELETE /orgs/{org}/copilot/billing/selected_users"
|
|
68050
|
+
],
|
|
68051
|
+
copilotMetricsForOrganization: ["GET /orgs/{org}/copilot/metrics"],
|
|
68052
|
+
copilotMetricsForTeam: ["GET /orgs/{org}/team/{team_slug}/copilot/metrics"],
|
|
68053
|
+
getCopilotOrganizationDetails: ["GET /orgs/{org}/copilot/billing"],
|
|
68054
|
+
getCopilotSeatDetailsForUser: [
|
|
68055
|
+
"GET /orgs/{org}/members/{username}/copilot"
|
|
68056
|
+
],
|
|
68057
|
+
listCopilotSeats: ["GET /orgs/{org}/copilot/billing/seats"]
|
|
68058
|
+
},
|
|
68059
|
+
credentials: { revoke: ["POST /credentials/revoke"] },
|
|
68060
|
+
dependabot: {
|
|
68061
|
+
addSelectedRepoToOrgSecret: [
|
|
68062
|
+
"PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"
|
|
68063
|
+
],
|
|
68064
|
+
createOrUpdateOrgSecret: [
|
|
68065
|
+
"PUT /orgs/{org}/dependabot/secrets/{secret_name}"
|
|
68066
|
+
],
|
|
68067
|
+
createOrUpdateRepoSecret: [
|
|
68068
|
+
"PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"
|
|
68069
|
+
],
|
|
68070
|
+
deleteOrgSecret: ["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],
|
|
68071
|
+
deleteRepoSecret: [
|
|
68072
|
+
"DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"
|
|
68073
|
+
],
|
|
68074
|
+
getAlert: ["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],
|
|
68075
|
+
getOrgPublicKey: ["GET /orgs/{org}/dependabot/secrets/public-key"],
|
|
68076
|
+
getOrgSecret: ["GET /orgs/{org}/dependabot/secrets/{secret_name}"],
|
|
68077
|
+
getRepoPublicKey: [
|
|
68078
|
+
"GET /repos/{owner}/{repo}/dependabot/secrets/public-key"
|
|
68079
|
+
],
|
|
68080
|
+
getRepoSecret: [
|
|
68081
|
+
"GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"
|
|
68082
|
+
],
|
|
68083
|
+
listAlertsForEnterprise: [
|
|
68084
|
+
"GET /enterprises/{enterprise}/dependabot/alerts"
|
|
68085
|
+
],
|
|
68086
|
+
listAlertsForOrg: ["GET /orgs/{org}/dependabot/alerts"],
|
|
68087
|
+
listAlertsForRepo: ["GET /repos/{owner}/{repo}/dependabot/alerts"],
|
|
68088
|
+
listOrgSecrets: ["GET /orgs/{org}/dependabot/secrets"],
|
|
68089
|
+
listRepoSecrets: ["GET /repos/{owner}/{repo}/dependabot/secrets"],
|
|
68090
|
+
listSelectedReposForOrgSecret: [
|
|
68091
|
+
"GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"
|
|
68092
|
+
],
|
|
68093
|
+
removeSelectedRepoFromOrgSecret: [
|
|
68094
|
+
"DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"
|
|
68095
|
+
],
|
|
68096
|
+
repositoryAccessForOrg: [
|
|
68097
|
+
"GET /organizations/{org}/dependabot/repository-access"
|
|
68098
|
+
],
|
|
68099
|
+
setRepositoryAccessDefaultLevel: [
|
|
68100
|
+
"PUT /organizations/{org}/dependabot/repository-access/default-level"
|
|
68101
|
+
],
|
|
68102
|
+
setSelectedReposForOrgSecret: [
|
|
68103
|
+
"PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"
|
|
68104
|
+
],
|
|
68105
|
+
updateAlert: [
|
|
68106
|
+
"PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"
|
|
68107
|
+
],
|
|
68108
|
+
updateRepositoryAccessForOrg: [
|
|
68109
|
+
"PATCH /organizations/{org}/dependabot/repository-access"
|
|
68110
|
+
]
|
|
68111
|
+
},
|
|
68112
|
+
dependencyGraph: {
|
|
68113
|
+
createRepositorySnapshot: [
|
|
68114
|
+
"POST /repos/{owner}/{repo}/dependency-graph/snapshots"
|
|
68115
|
+
],
|
|
68116
|
+
diffRange: [
|
|
68117
|
+
"GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"
|
|
68118
|
+
],
|
|
68119
|
+
exportSbom: ["GET /repos/{owner}/{repo}/dependency-graph/sbom"]
|
|
68120
|
+
},
|
|
68121
|
+
emojis: { get: ["GET /emojis"] },
|
|
68122
|
+
enterpriseTeamMemberships: {
|
|
68123
|
+
add: [
|
|
68124
|
+
"PUT /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}"
|
|
68125
|
+
],
|
|
68126
|
+
bulkAdd: [
|
|
68127
|
+
"POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/add"
|
|
68128
|
+
],
|
|
68129
|
+
bulkRemove: [
|
|
68130
|
+
"POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove"
|
|
68131
|
+
],
|
|
68132
|
+
get: [
|
|
68133
|
+
"GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}"
|
|
68134
|
+
],
|
|
68135
|
+
list: ["GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships"],
|
|
68136
|
+
remove: [
|
|
68137
|
+
"DELETE /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}"
|
|
68138
|
+
]
|
|
68139
|
+
},
|
|
68140
|
+
enterpriseTeamOrganizations: {
|
|
68141
|
+
add: [
|
|
68142
|
+
"PUT /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}"
|
|
68143
|
+
],
|
|
68144
|
+
bulkAdd: [
|
|
68145
|
+
"POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/add"
|
|
68146
|
+
],
|
|
68147
|
+
bulkRemove: [
|
|
68148
|
+
"POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove"
|
|
68149
|
+
],
|
|
68150
|
+
delete: [
|
|
68151
|
+
"DELETE /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}"
|
|
68152
|
+
],
|
|
68153
|
+
getAssignment: [
|
|
68154
|
+
"GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}"
|
|
68155
|
+
],
|
|
68156
|
+
getAssignments: [
|
|
68157
|
+
"GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations"
|
|
68158
|
+
]
|
|
68159
|
+
},
|
|
68160
|
+
enterpriseTeams: {
|
|
68161
|
+
create: ["POST /enterprises/{enterprise}/teams"],
|
|
68162
|
+
delete: ["DELETE /enterprises/{enterprise}/teams/{team_slug}"],
|
|
68163
|
+
get: ["GET /enterprises/{enterprise}/teams/{team_slug}"],
|
|
68164
|
+
list: ["GET /enterprises/{enterprise}/teams"],
|
|
68165
|
+
update: ["PATCH /enterprises/{enterprise}/teams/{team_slug}"]
|
|
68166
|
+
},
|
|
68167
|
+
gists: {
|
|
68168
|
+
checkIsStarred: ["GET /gists/{gist_id}/star"],
|
|
68169
|
+
create: ["POST /gists"],
|
|
68170
|
+
createComment: ["POST /gists/{gist_id}/comments"],
|
|
68171
|
+
delete: ["DELETE /gists/{gist_id}"],
|
|
68172
|
+
deleteComment: ["DELETE /gists/{gist_id}/comments/{comment_id}"],
|
|
68173
|
+
fork: ["POST /gists/{gist_id}/forks"],
|
|
68174
|
+
get: ["GET /gists/{gist_id}"],
|
|
68175
|
+
getComment: ["GET /gists/{gist_id}/comments/{comment_id}"],
|
|
68176
|
+
getRevision: ["GET /gists/{gist_id}/{sha}"],
|
|
68177
|
+
list: ["GET /gists"],
|
|
68178
|
+
listComments: ["GET /gists/{gist_id}/comments"],
|
|
68179
|
+
listCommits: ["GET /gists/{gist_id}/commits"],
|
|
68180
|
+
listForUser: ["GET /users/{username}/gists"],
|
|
68181
|
+
listForks: ["GET /gists/{gist_id}/forks"],
|
|
68182
|
+
listPublic: ["GET /gists/public"],
|
|
68183
|
+
listStarred: ["GET /gists/starred"],
|
|
68184
|
+
star: ["PUT /gists/{gist_id}/star"],
|
|
68185
|
+
unstar: ["DELETE /gists/{gist_id}/star"],
|
|
68186
|
+
update: ["PATCH /gists/{gist_id}"],
|
|
68187
|
+
updateComment: ["PATCH /gists/{gist_id}/comments/{comment_id}"]
|
|
68188
|
+
},
|
|
68189
|
+
git: {
|
|
68190
|
+
createBlob: ["POST /repos/{owner}/{repo}/git/blobs"],
|
|
68191
|
+
createCommit: ["POST /repos/{owner}/{repo}/git/commits"],
|
|
68192
|
+
createRef: ["POST /repos/{owner}/{repo}/git/refs"],
|
|
68193
|
+
createTag: ["POST /repos/{owner}/{repo}/git/tags"],
|
|
68194
|
+
createTree: ["POST /repos/{owner}/{repo}/git/trees"],
|
|
68195
|
+
deleteRef: ["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],
|
|
68196
|
+
getBlob: ["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],
|
|
68197
|
+
getCommit: ["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],
|
|
68198
|
+
getRef: ["GET /repos/{owner}/{repo}/git/ref/{ref}"],
|
|
68199
|
+
getTag: ["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],
|
|
68200
|
+
getTree: ["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],
|
|
68201
|
+
listMatchingRefs: ["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],
|
|
68202
|
+
updateRef: ["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]
|
|
68203
|
+
},
|
|
68204
|
+
gitignore: {
|
|
68205
|
+
getAllTemplates: ["GET /gitignore/templates"],
|
|
68206
|
+
getTemplate: ["GET /gitignore/templates/{name}"]
|
|
68207
|
+
},
|
|
68208
|
+
hostedCompute: {
|
|
68209
|
+
createNetworkConfigurationForOrg: [
|
|
68210
|
+
"POST /orgs/{org}/settings/network-configurations"
|
|
68211
|
+
],
|
|
68212
|
+
deleteNetworkConfigurationFromOrg: [
|
|
68213
|
+
"DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}"
|
|
68214
|
+
],
|
|
68215
|
+
getNetworkConfigurationForOrg: [
|
|
68216
|
+
"GET /orgs/{org}/settings/network-configurations/{network_configuration_id}"
|
|
68217
|
+
],
|
|
68218
|
+
getNetworkSettingsForOrg: [
|
|
68219
|
+
"GET /orgs/{org}/settings/network-settings/{network_settings_id}"
|
|
68220
|
+
],
|
|
68221
|
+
listNetworkConfigurationsForOrg: [
|
|
68222
|
+
"GET /orgs/{org}/settings/network-configurations"
|
|
68223
|
+
],
|
|
68224
|
+
updateNetworkConfigurationForOrg: [
|
|
68225
|
+
"PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}"
|
|
68226
|
+
]
|
|
68227
|
+
},
|
|
68228
|
+
interactions: {
|
|
68229
|
+
getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"],
|
|
68230
|
+
getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"],
|
|
68231
|
+
getRestrictionsForRepo: ["GET /repos/{owner}/{repo}/interaction-limits"],
|
|
68232
|
+
getRestrictionsForYourPublicRepos: [
|
|
68233
|
+
"GET /user/interaction-limits",
|
|
68234
|
+
{},
|
|
68235
|
+
{ renamed: ["interactions", "getRestrictionsForAuthenticatedUser"] }
|
|
68236
|
+
],
|
|
68237
|
+
removeRestrictionsForAuthenticatedUser: ["DELETE /user/interaction-limits"],
|
|
68238
|
+
removeRestrictionsForOrg: ["DELETE /orgs/{org}/interaction-limits"],
|
|
68239
|
+
removeRestrictionsForRepo: [
|
|
68240
|
+
"DELETE /repos/{owner}/{repo}/interaction-limits"
|
|
68241
|
+
],
|
|
68242
|
+
removeRestrictionsForYourPublicRepos: [
|
|
68243
|
+
"DELETE /user/interaction-limits",
|
|
68244
|
+
{},
|
|
68245
|
+
{ renamed: ["interactions", "removeRestrictionsForAuthenticatedUser"] }
|
|
68246
|
+
],
|
|
68247
|
+
setRestrictionsForAuthenticatedUser: ["PUT /user/interaction-limits"],
|
|
68248
|
+
setRestrictionsForOrg: ["PUT /orgs/{org}/interaction-limits"],
|
|
68249
|
+
setRestrictionsForRepo: ["PUT /repos/{owner}/{repo}/interaction-limits"],
|
|
68250
|
+
setRestrictionsForYourPublicRepos: [
|
|
68251
|
+
"PUT /user/interaction-limits",
|
|
68252
|
+
{},
|
|
68253
|
+
{ renamed: ["interactions", "setRestrictionsForAuthenticatedUser"] }
|
|
68254
|
+
]
|
|
68255
|
+
},
|
|
68256
|
+
issues: {
|
|
68257
|
+
addAssignees: [
|
|
68258
|
+
"POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"
|
|
68259
|
+
],
|
|
68260
|
+
addBlockedByDependency: [
|
|
68261
|
+
"POST /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by"
|
|
68262
|
+
],
|
|
68263
|
+
addLabels: ["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],
|
|
68264
|
+
addSubIssue: [
|
|
68265
|
+
"POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues"
|
|
68266
|
+
],
|
|
68267
|
+
checkUserCanBeAssigned: ["GET /repos/{owner}/{repo}/assignees/{assignee}"],
|
|
68268
|
+
checkUserCanBeAssignedToIssue: [
|
|
68269
|
+
"GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}"
|
|
68270
|
+
],
|
|
68271
|
+
create: ["POST /repos/{owner}/{repo}/issues"],
|
|
68272
|
+
createComment: [
|
|
68273
|
+
"POST /repos/{owner}/{repo}/issues/{issue_number}/comments"
|
|
68274
|
+
],
|
|
68275
|
+
createLabel: ["POST /repos/{owner}/{repo}/labels"],
|
|
68276
|
+
createMilestone: ["POST /repos/{owner}/{repo}/milestones"],
|
|
68277
|
+
deleteComment: [
|
|
68278
|
+
"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"
|
|
68279
|
+
],
|
|
68280
|
+
deleteLabel: ["DELETE /repos/{owner}/{repo}/labels/{name}"],
|
|
68281
|
+
deleteMilestone: [
|
|
68282
|
+
"DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"
|
|
68283
|
+
],
|
|
68284
|
+
get: ["GET /repos/{owner}/{repo}/issues/{issue_number}"],
|
|
68285
|
+
getComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],
|
|
68286
|
+
getEvent: ["GET /repos/{owner}/{repo}/issues/events/{event_id}"],
|
|
68287
|
+
getLabel: ["GET /repos/{owner}/{repo}/labels/{name}"],
|
|
68288
|
+
getMilestone: ["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],
|
|
68289
|
+
getParent: ["GET /repos/{owner}/{repo}/issues/{issue_number}/parent"],
|
|
68290
|
+
list: ["GET /issues"],
|
|
68291
|
+
listAssignees: ["GET /repos/{owner}/{repo}/assignees"],
|
|
68292
|
+
listComments: ["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],
|
|
68293
|
+
listCommentsForRepo: ["GET /repos/{owner}/{repo}/issues/comments"],
|
|
68294
|
+
listDependenciesBlockedBy: [
|
|
68295
|
+
"GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by"
|
|
68296
|
+
],
|
|
68297
|
+
listDependenciesBlocking: [
|
|
68298
|
+
"GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocking"
|
|
68299
|
+
],
|
|
68300
|
+
listEvents: ["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],
|
|
68301
|
+
listEventsForRepo: ["GET /repos/{owner}/{repo}/issues/events"],
|
|
68302
|
+
listEventsForTimeline: [
|
|
68303
|
+
"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"
|
|
68304
|
+
],
|
|
68305
|
+
listForAuthenticatedUser: ["GET /user/issues"],
|
|
68306
|
+
listForOrg: ["GET /orgs/{org}/issues"],
|
|
68307
|
+
listForRepo: ["GET /repos/{owner}/{repo}/issues"],
|
|
68308
|
+
listLabelsForMilestone: [
|
|
68309
|
+
"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"
|
|
68310
|
+
],
|
|
68311
|
+
listLabelsForRepo: ["GET /repos/{owner}/{repo}/labels"],
|
|
68312
|
+
listLabelsOnIssue: [
|
|
68313
|
+
"GET /repos/{owner}/{repo}/issues/{issue_number}/labels"
|
|
68314
|
+
],
|
|
68315
|
+
listMilestones: ["GET /repos/{owner}/{repo}/milestones"],
|
|
68316
|
+
listSubIssues: [
|
|
68317
|
+
"GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues"
|
|
68318
|
+
],
|
|
68319
|
+
lock: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],
|
|
68320
|
+
removeAllLabels: [
|
|
68321
|
+
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"
|
|
68322
|
+
],
|
|
68323
|
+
removeAssignees: [
|
|
68324
|
+
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"
|
|
68325
|
+
],
|
|
68326
|
+
removeDependencyBlockedBy: [
|
|
68327
|
+
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by/{issue_id}"
|
|
68328
|
+
],
|
|
68329
|
+
removeLabel: [
|
|
68330
|
+
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"
|
|
68331
|
+
],
|
|
68332
|
+
removeSubIssue: [
|
|
68333
|
+
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/sub_issue"
|
|
68334
|
+
],
|
|
68335
|
+
reprioritizeSubIssue: [
|
|
68336
|
+
"PATCH /repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority"
|
|
68337
|
+
],
|
|
68338
|
+
setLabels: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],
|
|
68339
|
+
unlock: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],
|
|
68340
|
+
update: ["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],
|
|
68341
|
+
updateComment: ["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],
|
|
68342
|
+
updateLabel: ["PATCH /repos/{owner}/{repo}/labels/{name}"],
|
|
68343
|
+
updateMilestone: [
|
|
68344
|
+
"PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"
|
|
68345
|
+
]
|
|
68346
|
+
},
|
|
68347
|
+
licenses: {
|
|
68348
|
+
get: ["GET /licenses/{license}"],
|
|
68349
|
+
getAllCommonlyUsed: ["GET /licenses"],
|
|
68350
|
+
getForRepo: ["GET /repos/{owner}/{repo}/license"]
|
|
68351
|
+
},
|
|
68352
|
+
markdown: {
|
|
68353
|
+
render: ["POST /markdown"],
|
|
68354
|
+
renderRaw: [
|
|
68355
|
+
"POST /markdown/raw",
|
|
68356
|
+
{ headers: { "content-type": "text/plain; charset=utf-8" } }
|
|
68357
|
+
]
|
|
68358
|
+
},
|
|
68359
|
+
meta: {
|
|
68360
|
+
get: ["GET /meta"],
|
|
68361
|
+
getAllVersions: ["GET /versions"],
|
|
68362
|
+
getOctocat: ["GET /octocat"],
|
|
68363
|
+
getZen: ["GET /zen"],
|
|
68364
|
+
root: ["GET /"]
|
|
68365
|
+
},
|
|
68366
|
+
migrations: {
|
|
68367
|
+
deleteArchiveForAuthenticatedUser: [
|
|
68368
|
+
"DELETE /user/migrations/{migration_id}/archive"
|
|
68369
|
+
],
|
|
68370
|
+
deleteArchiveForOrg: [
|
|
68371
|
+
"DELETE /orgs/{org}/migrations/{migration_id}/archive"
|
|
68372
|
+
],
|
|
68373
|
+
downloadArchiveForOrg: [
|
|
68374
|
+
"GET /orgs/{org}/migrations/{migration_id}/archive"
|
|
68375
|
+
],
|
|
68376
|
+
getArchiveForAuthenticatedUser: [
|
|
68377
|
+
"GET /user/migrations/{migration_id}/archive"
|
|
68378
|
+
],
|
|
68379
|
+
getStatusForAuthenticatedUser: ["GET /user/migrations/{migration_id}"],
|
|
68380
|
+
getStatusForOrg: ["GET /orgs/{org}/migrations/{migration_id}"],
|
|
68381
|
+
listForAuthenticatedUser: ["GET /user/migrations"],
|
|
68382
|
+
listForOrg: ["GET /orgs/{org}/migrations"],
|
|
68383
|
+
listReposForAuthenticatedUser: [
|
|
68384
|
+
"GET /user/migrations/{migration_id}/repositories"
|
|
68385
|
+
],
|
|
68386
|
+
listReposForOrg: ["GET /orgs/{org}/migrations/{migration_id}/repositories"],
|
|
68387
|
+
listReposForUser: [
|
|
68388
|
+
"GET /user/migrations/{migration_id}/repositories",
|
|
68389
|
+
{},
|
|
68390
|
+
{ renamed: ["migrations", "listReposForAuthenticatedUser"] }
|
|
68391
|
+
],
|
|
68392
|
+
startForAuthenticatedUser: ["POST /user/migrations"],
|
|
68393
|
+
startForOrg: ["POST /orgs/{org}/migrations"],
|
|
68394
|
+
unlockRepoForAuthenticatedUser: [
|
|
68395
|
+
"DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"
|
|
68396
|
+
],
|
|
68397
|
+
unlockRepoForOrg: [
|
|
68398
|
+
"DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"
|
|
68399
|
+
]
|
|
68400
|
+
},
|
|
68401
|
+
oidc: {
|
|
68402
|
+
getOidcCustomSubTemplateForOrg: [
|
|
68403
|
+
"GET /orgs/{org}/actions/oidc/customization/sub"
|
|
68404
|
+
],
|
|
68405
|
+
updateOidcCustomSubTemplateForOrg: [
|
|
68406
|
+
"PUT /orgs/{org}/actions/oidc/customization/sub"
|
|
68407
|
+
]
|
|
68408
|
+
},
|
|
68409
|
+
orgs: {
|
|
68410
|
+
addSecurityManagerTeam: [
|
|
68411
|
+
"PUT /orgs/{org}/security-managers/teams/{team_slug}",
|
|
68412
|
+
{},
|
|
68413
|
+
{
|
|
68414
|
+
deprecated: "octokit.rest.orgs.addSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team"
|
|
68415
|
+
}
|
|
68416
|
+
],
|
|
68417
|
+
assignTeamToOrgRole: [
|
|
68418
|
+
"PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"
|
|
68419
|
+
],
|
|
68420
|
+
assignUserToOrgRole: [
|
|
68421
|
+
"PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"
|
|
68422
|
+
],
|
|
68423
|
+
blockUser: ["PUT /orgs/{org}/blocks/{username}"],
|
|
68424
|
+
cancelInvitation: ["DELETE /orgs/{org}/invitations/{invitation_id}"],
|
|
68425
|
+
checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"],
|
|
68426
|
+
checkMembershipForUser: ["GET /orgs/{org}/members/{username}"],
|
|
68427
|
+
checkPublicMembershipForUser: ["GET /orgs/{org}/public_members/{username}"],
|
|
68428
|
+
convertMemberToOutsideCollaborator: [
|
|
68429
|
+
"PUT /orgs/{org}/outside_collaborators/{username}"
|
|
68430
|
+
],
|
|
68431
|
+
createArtifactStorageRecord: [
|
|
68432
|
+
"POST /orgs/{org}/artifacts/metadata/storage-record"
|
|
68433
|
+
],
|
|
68434
|
+
createInvitation: ["POST /orgs/{org}/invitations"],
|
|
68435
|
+
createIssueType: ["POST /orgs/{org}/issue-types"],
|
|
68436
|
+
createWebhook: ["POST /orgs/{org}/hooks"],
|
|
68437
|
+
customPropertiesForOrgsCreateOrUpdateOrganizationValues: [
|
|
68438
|
+
"PATCH /organizations/{org}/org-properties/values"
|
|
68439
|
+
],
|
|
68440
|
+
customPropertiesForOrgsGetOrganizationValues: [
|
|
68441
|
+
"GET /organizations/{org}/org-properties/values"
|
|
68442
|
+
],
|
|
68443
|
+
customPropertiesForReposCreateOrUpdateOrganizationDefinition: [
|
|
68444
|
+
"PUT /orgs/{org}/properties/schema/{custom_property_name}"
|
|
68445
|
+
],
|
|
68446
|
+
customPropertiesForReposCreateOrUpdateOrganizationDefinitions: [
|
|
68447
|
+
"PATCH /orgs/{org}/properties/schema"
|
|
68448
|
+
],
|
|
68449
|
+
customPropertiesForReposCreateOrUpdateOrganizationValues: [
|
|
68450
|
+
"PATCH /orgs/{org}/properties/values"
|
|
68451
|
+
],
|
|
68452
|
+
customPropertiesForReposDeleteOrganizationDefinition: [
|
|
68453
|
+
"DELETE /orgs/{org}/properties/schema/{custom_property_name}"
|
|
68454
|
+
],
|
|
68455
|
+
customPropertiesForReposGetOrganizationDefinition: [
|
|
68456
|
+
"GET /orgs/{org}/properties/schema/{custom_property_name}"
|
|
68457
|
+
],
|
|
68458
|
+
customPropertiesForReposGetOrganizationDefinitions: [
|
|
68459
|
+
"GET /orgs/{org}/properties/schema"
|
|
68460
|
+
],
|
|
68461
|
+
customPropertiesForReposGetOrganizationValues: [
|
|
68462
|
+
"GET /orgs/{org}/properties/values"
|
|
68463
|
+
],
|
|
68464
|
+
delete: ["DELETE /orgs/{org}"],
|
|
68465
|
+
deleteAttestationsBulk: ["POST /orgs/{org}/attestations/delete-request"],
|
|
68466
|
+
deleteAttestationsById: [
|
|
68467
|
+
"DELETE /orgs/{org}/attestations/{attestation_id}"
|
|
68468
|
+
],
|
|
68469
|
+
deleteAttestationsBySubjectDigest: [
|
|
68470
|
+
"DELETE /orgs/{org}/attestations/digest/{subject_digest}"
|
|
68471
|
+
],
|
|
68472
|
+
deleteIssueType: ["DELETE /orgs/{org}/issue-types/{issue_type_id}"],
|
|
68473
|
+
deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"],
|
|
68474
|
+
disableSelectedRepositoryImmutableReleasesOrganization: [
|
|
68475
|
+
"DELETE /orgs/{org}/settings/immutable-releases/repositories/{repository_id}"
|
|
68476
|
+
],
|
|
68477
|
+
enableSelectedRepositoryImmutableReleasesOrganization: [
|
|
68478
|
+
"PUT /orgs/{org}/settings/immutable-releases/repositories/{repository_id}"
|
|
68479
|
+
],
|
|
68480
|
+
get: ["GET /orgs/{org}"],
|
|
68481
|
+
getImmutableReleasesSettings: [
|
|
68482
|
+
"GET /orgs/{org}/settings/immutable-releases"
|
|
68483
|
+
],
|
|
68484
|
+
getImmutableReleasesSettingsRepositories: [
|
|
68485
|
+
"GET /orgs/{org}/settings/immutable-releases/repositories"
|
|
68486
|
+
],
|
|
68487
|
+
getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"],
|
|
68488
|
+
getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"],
|
|
68489
|
+
getOrgRole: ["GET /orgs/{org}/organization-roles/{role_id}"],
|
|
68490
|
+
getOrgRulesetHistory: ["GET /orgs/{org}/rulesets/{ruleset_id}/history"],
|
|
68491
|
+
getOrgRulesetVersion: [
|
|
68492
|
+
"GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}"
|
|
68493
|
+
],
|
|
68494
|
+
getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"],
|
|
68495
|
+
getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"],
|
|
68496
|
+
getWebhookDelivery: [
|
|
68497
|
+
"GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"
|
|
68498
|
+
],
|
|
68499
|
+
list: ["GET /organizations"],
|
|
68500
|
+
listAppInstallations: ["GET /orgs/{org}/installations"],
|
|
68501
|
+
listArtifactStorageRecords: [
|
|
68502
|
+
"GET /orgs/{org}/artifacts/{subject_digest}/metadata/storage-records"
|
|
68503
|
+
],
|
|
68504
|
+
listAttestationRepositories: ["GET /orgs/{org}/attestations/repositories"],
|
|
68505
|
+
listAttestations: ["GET /orgs/{org}/attestations/{subject_digest}"],
|
|
68506
|
+
listAttestationsBulk: [
|
|
68507
|
+
"POST /orgs/{org}/attestations/bulk-list{?per_page,before,after}"
|
|
68508
|
+
],
|
|
68509
|
+
listBlockedUsers: ["GET /orgs/{org}/blocks"],
|
|
68510
|
+
listFailedInvitations: ["GET /orgs/{org}/failed_invitations"],
|
|
68511
|
+
listForAuthenticatedUser: ["GET /user/orgs"],
|
|
68512
|
+
listForUser: ["GET /users/{username}/orgs"],
|
|
68513
|
+
listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"],
|
|
68514
|
+
listIssueTypes: ["GET /orgs/{org}/issue-types"],
|
|
68515
|
+
listMembers: ["GET /orgs/{org}/members"],
|
|
68516
|
+
listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"],
|
|
68517
|
+
listOrgRoleTeams: ["GET /orgs/{org}/organization-roles/{role_id}/teams"],
|
|
68518
|
+
listOrgRoleUsers: ["GET /orgs/{org}/organization-roles/{role_id}/users"],
|
|
68519
|
+
listOrgRoles: ["GET /orgs/{org}/organization-roles"],
|
|
68520
|
+
listOrganizationFineGrainedPermissions: [
|
|
68521
|
+
"GET /orgs/{org}/organization-fine-grained-permissions"
|
|
68522
|
+
],
|
|
68523
|
+
listOutsideCollaborators: ["GET /orgs/{org}/outside_collaborators"],
|
|
68524
|
+
listPatGrantRepositories: [
|
|
68525
|
+
"GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"
|
|
68526
|
+
],
|
|
68527
|
+
listPatGrantRequestRepositories: [
|
|
68528
|
+
"GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"
|
|
68529
|
+
],
|
|
68530
|
+
listPatGrantRequests: ["GET /orgs/{org}/personal-access-token-requests"],
|
|
68531
|
+
listPatGrants: ["GET /orgs/{org}/personal-access-tokens"],
|
|
68532
|
+
listPendingInvitations: ["GET /orgs/{org}/invitations"],
|
|
68533
|
+
listPublicMembers: ["GET /orgs/{org}/public_members"],
|
|
68534
|
+
listSecurityManagerTeams: [
|
|
68535
|
+
"GET /orgs/{org}/security-managers",
|
|
68536
|
+
{},
|
|
68537
|
+
{
|
|
68538
|
+
deprecated: "octokit.rest.orgs.listSecurityManagerTeams() is deprecated, see https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams"
|
|
68539
|
+
}
|
|
68540
|
+
],
|
|
68541
|
+
listWebhookDeliveries: ["GET /orgs/{org}/hooks/{hook_id}/deliveries"],
|
|
68542
|
+
listWebhooks: ["GET /orgs/{org}/hooks"],
|
|
68543
|
+
pingWebhook: ["POST /orgs/{org}/hooks/{hook_id}/pings"],
|
|
68544
|
+
redeliverWebhookDelivery: [
|
|
68545
|
+
"POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"
|
|
68546
|
+
],
|
|
68547
|
+
removeMember: ["DELETE /orgs/{org}/members/{username}"],
|
|
68548
|
+
removeMembershipForUser: ["DELETE /orgs/{org}/memberships/{username}"],
|
|
68549
|
+
removeOutsideCollaborator: [
|
|
68550
|
+
"DELETE /orgs/{org}/outside_collaborators/{username}"
|
|
68551
|
+
],
|
|
68552
|
+
removePublicMembershipForAuthenticatedUser: [
|
|
68553
|
+
"DELETE /orgs/{org}/public_members/{username}"
|
|
68554
|
+
],
|
|
68555
|
+
removeSecurityManagerTeam: [
|
|
68556
|
+
"DELETE /orgs/{org}/security-managers/teams/{team_slug}",
|
|
68557
|
+
{},
|
|
68558
|
+
{
|
|
68559
|
+
deprecated: "octokit.rest.orgs.removeSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team"
|
|
68560
|
+
}
|
|
68561
|
+
],
|
|
68562
|
+
reviewPatGrantRequest: [
|
|
68563
|
+
"POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"
|
|
68564
|
+
],
|
|
68565
|
+
reviewPatGrantRequestsInBulk: [
|
|
68566
|
+
"POST /orgs/{org}/personal-access-token-requests"
|
|
68567
|
+
],
|
|
68568
|
+
revokeAllOrgRolesTeam: [
|
|
68569
|
+
"DELETE /orgs/{org}/organization-roles/teams/{team_slug}"
|
|
68570
|
+
],
|
|
68571
|
+
revokeAllOrgRolesUser: [
|
|
68572
|
+
"DELETE /orgs/{org}/organization-roles/users/{username}"
|
|
68573
|
+
],
|
|
68574
|
+
revokeOrgRoleTeam: [
|
|
68575
|
+
"DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"
|
|
68576
|
+
],
|
|
68577
|
+
revokeOrgRoleUser: [
|
|
68578
|
+
"DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"
|
|
68579
|
+
],
|
|
68580
|
+
setImmutableReleasesSettings: [
|
|
68581
|
+
"PUT /orgs/{org}/settings/immutable-releases"
|
|
68582
|
+
],
|
|
68583
|
+
setImmutableReleasesSettingsRepositories: [
|
|
68584
|
+
"PUT /orgs/{org}/settings/immutable-releases/repositories"
|
|
68585
|
+
],
|
|
68586
|
+
setMembershipForUser: ["PUT /orgs/{org}/memberships/{username}"],
|
|
68587
|
+
setPublicMembershipForAuthenticatedUser: [
|
|
68588
|
+
"PUT /orgs/{org}/public_members/{username}"
|
|
68589
|
+
],
|
|
68590
|
+
unblockUser: ["DELETE /orgs/{org}/blocks/{username}"],
|
|
68591
|
+
update: ["PATCH /orgs/{org}"],
|
|
68592
|
+
updateIssueType: ["PUT /orgs/{org}/issue-types/{issue_type_id}"],
|
|
68593
|
+
updateMembershipForAuthenticatedUser: [
|
|
68594
|
+
"PATCH /user/memberships/orgs/{org}"
|
|
68595
|
+
],
|
|
68596
|
+
updatePatAccess: ["POST /orgs/{org}/personal-access-tokens/{pat_id}"],
|
|
68597
|
+
updatePatAccesses: ["POST /orgs/{org}/personal-access-tokens"],
|
|
68598
|
+
updateWebhook: ["PATCH /orgs/{org}/hooks/{hook_id}"],
|
|
68599
|
+
updateWebhookConfigForOrg: ["PATCH /orgs/{org}/hooks/{hook_id}/config"]
|
|
68600
|
+
},
|
|
68601
|
+
packages: {
|
|
68602
|
+
deletePackageForAuthenticatedUser: [
|
|
68603
|
+
"DELETE /user/packages/{package_type}/{package_name}"
|
|
68604
|
+
],
|
|
68605
|
+
deletePackageForOrg: [
|
|
68606
|
+
"DELETE /orgs/{org}/packages/{package_type}/{package_name}"
|
|
68607
|
+
],
|
|
68608
|
+
deletePackageForUser: [
|
|
68609
|
+
"DELETE /users/{username}/packages/{package_type}/{package_name}"
|
|
68610
|
+
],
|
|
68611
|
+
deletePackageVersionForAuthenticatedUser: [
|
|
68612
|
+
"DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"
|
|
68613
|
+
],
|
|
68614
|
+
deletePackageVersionForOrg: [
|
|
68615
|
+
"DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"
|
|
68616
|
+
],
|
|
68617
|
+
deletePackageVersionForUser: [
|
|
68618
|
+
"DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"
|
|
68619
|
+
],
|
|
68620
|
+
getAllPackageVersionsForAPackageOwnedByAnOrg: [
|
|
68621
|
+
"GET /orgs/{org}/packages/{package_type}/{package_name}/versions",
|
|
68622
|
+
{},
|
|
68623
|
+
{ renamed: ["packages", "getAllPackageVersionsForPackageOwnedByOrg"] }
|
|
68624
|
+
],
|
|
68625
|
+
getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser: [
|
|
68626
|
+
"GET /user/packages/{package_type}/{package_name}/versions",
|
|
68627
|
+
{},
|
|
68628
|
+
{
|
|
68629
|
+
renamed: [
|
|
68630
|
+
"packages",
|
|
68631
|
+
"getAllPackageVersionsForPackageOwnedByAuthenticatedUser"
|
|
68632
|
+
]
|
|
68633
|
+
}
|
|
68634
|
+
],
|
|
68635
|
+
getAllPackageVersionsForPackageOwnedByAuthenticatedUser: [
|
|
68636
|
+
"GET /user/packages/{package_type}/{package_name}/versions"
|
|
68637
|
+
],
|
|
68638
|
+
getAllPackageVersionsForPackageOwnedByOrg: [
|
|
68639
|
+
"GET /orgs/{org}/packages/{package_type}/{package_name}/versions"
|
|
68640
|
+
],
|
|
68641
|
+
getAllPackageVersionsForPackageOwnedByUser: [
|
|
68642
|
+
"GET /users/{username}/packages/{package_type}/{package_name}/versions"
|
|
68643
|
+
],
|
|
68644
|
+
getPackageForAuthenticatedUser: [
|
|
68645
|
+
"GET /user/packages/{package_type}/{package_name}"
|
|
68646
|
+
],
|
|
68647
|
+
getPackageForOrganization: [
|
|
68648
|
+
"GET /orgs/{org}/packages/{package_type}/{package_name}"
|
|
68649
|
+
],
|
|
68650
|
+
getPackageForUser: [
|
|
68651
|
+
"GET /users/{username}/packages/{package_type}/{package_name}"
|
|
68652
|
+
],
|
|
68653
|
+
getPackageVersionForAuthenticatedUser: [
|
|
68654
|
+
"GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"
|
|
68655
|
+
],
|
|
68656
|
+
getPackageVersionForOrganization: [
|
|
68657
|
+
"GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"
|
|
68658
|
+
],
|
|
68659
|
+
getPackageVersionForUser: [
|
|
68660
|
+
"GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"
|
|
68661
|
+
],
|
|
68662
|
+
listDockerMigrationConflictingPackagesForAuthenticatedUser: [
|
|
68663
|
+
"GET /user/docker/conflicts"
|
|
68664
|
+
],
|
|
68665
|
+
listDockerMigrationConflictingPackagesForOrganization: [
|
|
68666
|
+
"GET /orgs/{org}/docker/conflicts"
|
|
68667
|
+
],
|
|
68668
|
+
listDockerMigrationConflictingPackagesForUser: [
|
|
68669
|
+
"GET /users/{username}/docker/conflicts"
|
|
68670
|
+
],
|
|
68671
|
+
listPackagesForAuthenticatedUser: ["GET /user/packages"],
|
|
68672
|
+
listPackagesForOrganization: ["GET /orgs/{org}/packages"],
|
|
68673
|
+
listPackagesForUser: ["GET /users/{username}/packages"],
|
|
68674
|
+
restorePackageForAuthenticatedUser: [
|
|
68675
|
+
"POST /user/packages/{package_type}/{package_name}/restore{?token}"
|
|
68676
|
+
],
|
|
68677
|
+
restorePackageForOrg: [
|
|
68678
|
+
"POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"
|
|
68679
|
+
],
|
|
68680
|
+
restorePackageForUser: [
|
|
68681
|
+
"POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"
|
|
68682
|
+
],
|
|
68683
|
+
restorePackageVersionForAuthenticatedUser: [
|
|
68684
|
+
"POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"
|
|
68685
|
+
],
|
|
68686
|
+
restorePackageVersionForOrg: [
|
|
68687
|
+
"POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"
|
|
68688
|
+
],
|
|
68689
|
+
restorePackageVersionForUser: [
|
|
68690
|
+
"POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"
|
|
68691
|
+
]
|
|
68692
|
+
},
|
|
68693
|
+
privateRegistries: {
|
|
68694
|
+
createOrgPrivateRegistry: ["POST /orgs/{org}/private-registries"],
|
|
68695
|
+
deleteOrgPrivateRegistry: [
|
|
68696
|
+
"DELETE /orgs/{org}/private-registries/{secret_name}"
|
|
68697
|
+
],
|
|
68698
|
+
getOrgPrivateRegistry: ["GET /orgs/{org}/private-registries/{secret_name}"],
|
|
68699
|
+
getOrgPublicKey: ["GET /orgs/{org}/private-registries/public-key"],
|
|
68700
|
+
listOrgPrivateRegistries: ["GET /orgs/{org}/private-registries"],
|
|
68701
|
+
updateOrgPrivateRegistry: [
|
|
68702
|
+
"PATCH /orgs/{org}/private-registries/{secret_name}"
|
|
68703
|
+
]
|
|
68704
|
+
},
|
|
68705
|
+
projects: {
|
|
68706
|
+
addItemForOrg: ["POST /orgs/{org}/projectsV2/{project_number}/items"],
|
|
68707
|
+
addItemForUser: [
|
|
68708
|
+
"POST /users/{username}/projectsV2/{project_number}/items"
|
|
68709
|
+
],
|
|
68710
|
+
deleteItemForOrg: [
|
|
68711
|
+
"DELETE /orgs/{org}/projectsV2/{project_number}/items/{item_id}"
|
|
68712
|
+
],
|
|
68713
|
+
deleteItemForUser: [
|
|
68714
|
+
"DELETE /users/{username}/projectsV2/{project_number}/items/{item_id}"
|
|
68715
|
+
],
|
|
68716
|
+
getFieldForOrg: [
|
|
68717
|
+
"GET /orgs/{org}/projectsV2/{project_number}/fields/{field_id}"
|
|
68718
|
+
],
|
|
68719
|
+
getFieldForUser: [
|
|
68720
|
+
"GET /users/{username}/projectsV2/{project_number}/fields/{field_id}"
|
|
68721
|
+
],
|
|
68722
|
+
getForOrg: ["GET /orgs/{org}/projectsV2/{project_number}"],
|
|
68723
|
+
getForUser: ["GET /users/{username}/projectsV2/{project_number}"],
|
|
68724
|
+
getOrgItem: ["GET /orgs/{org}/projectsV2/{project_number}/items/{item_id}"],
|
|
68725
|
+
getUserItem: [
|
|
68726
|
+
"GET /users/{username}/projectsV2/{project_number}/items/{item_id}"
|
|
68727
|
+
],
|
|
68728
|
+
listFieldsForOrg: ["GET /orgs/{org}/projectsV2/{project_number}/fields"],
|
|
68729
|
+
listFieldsForUser: [
|
|
68730
|
+
"GET /users/{username}/projectsV2/{project_number}/fields"
|
|
68731
|
+
],
|
|
68732
|
+
listForOrg: ["GET /orgs/{org}/projectsV2"],
|
|
68733
|
+
listForUser: ["GET /users/{username}/projectsV2"],
|
|
68734
|
+
listItemsForOrg: ["GET /orgs/{org}/projectsV2/{project_number}/items"],
|
|
68735
|
+
listItemsForUser: [
|
|
68736
|
+
"GET /users/{username}/projectsV2/{project_number}/items"
|
|
68737
|
+
],
|
|
68738
|
+
updateItemForOrg: [
|
|
68739
|
+
"PATCH /orgs/{org}/projectsV2/{project_number}/items/{item_id}"
|
|
68740
|
+
],
|
|
68741
|
+
updateItemForUser: [
|
|
68742
|
+
"PATCH /users/{username}/projectsV2/{project_number}/items/{item_id}"
|
|
68743
|
+
]
|
|
68744
|
+
},
|
|
68745
|
+
pulls: {
|
|
68746
|
+
checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],
|
|
68747
|
+
create: ["POST /repos/{owner}/{repo}/pulls"],
|
|
68748
|
+
createReplyForReviewComment: [
|
|
68749
|
+
"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"
|
|
68750
|
+
],
|
|
68751
|
+
createReview: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],
|
|
68752
|
+
createReviewComment: [
|
|
68753
|
+
"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"
|
|
68754
|
+
],
|
|
68755
|
+
deletePendingReview: [
|
|
68756
|
+
"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"
|
|
68757
|
+
],
|
|
68758
|
+
deleteReviewComment: [
|
|
68759
|
+
"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"
|
|
68760
|
+
],
|
|
68761
|
+
dismissReview: [
|
|
68762
|
+
"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"
|
|
68763
|
+
],
|
|
68764
|
+
get: ["GET /repos/{owner}/{repo}/pulls/{pull_number}"],
|
|
68765
|
+
getReview: [
|
|
68766
|
+
"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"
|
|
68767
|
+
],
|
|
68768
|
+
getReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],
|
|
68769
|
+
list: ["GET /repos/{owner}/{repo}/pulls"],
|
|
68770
|
+
listCommentsForReview: [
|
|
68771
|
+
"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"
|
|
68772
|
+
],
|
|
68773
|
+
listCommits: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],
|
|
68774
|
+
listFiles: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],
|
|
68775
|
+
listRequestedReviewers: [
|
|
68776
|
+
"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"
|
|
68777
|
+
],
|
|
68778
|
+
listReviewComments: [
|
|
68779
|
+
"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"
|
|
68780
|
+
],
|
|
68781
|
+
listReviewCommentsForRepo: ["GET /repos/{owner}/{repo}/pulls/comments"],
|
|
68782
|
+
listReviews: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],
|
|
68783
|
+
merge: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],
|
|
68784
|
+
removeRequestedReviewers: [
|
|
68785
|
+
"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"
|
|
68786
|
+
],
|
|
68787
|
+
requestReviewers: [
|
|
68788
|
+
"POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"
|
|
68789
|
+
],
|
|
68790
|
+
submitReview: [
|
|
68791
|
+
"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"
|
|
68792
|
+
],
|
|
68793
|
+
update: ["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],
|
|
68794
|
+
updateBranch: [
|
|
68795
|
+
"PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"
|
|
68796
|
+
],
|
|
68797
|
+
updateReview: [
|
|
68798
|
+
"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"
|
|
68799
|
+
],
|
|
68800
|
+
updateReviewComment: [
|
|
68801
|
+
"PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"
|
|
68802
|
+
]
|
|
68803
|
+
},
|
|
68804
|
+
rateLimit: { get: ["GET /rate_limit"] },
|
|
68805
|
+
reactions: {
|
|
68806
|
+
createForCommitComment: [
|
|
68807
|
+
"POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"
|
|
68808
|
+
],
|
|
68809
|
+
createForIssue: [
|
|
68810
|
+
"POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"
|
|
68811
|
+
],
|
|
68812
|
+
createForIssueComment: [
|
|
68813
|
+
"POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"
|
|
68814
|
+
],
|
|
68815
|
+
createForPullRequestReviewComment: [
|
|
68816
|
+
"POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"
|
|
68817
|
+
],
|
|
68818
|
+
createForRelease: [
|
|
68819
|
+
"POST /repos/{owner}/{repo}/releases/{release_id}/reactions"
|
|
68820
|
+
],
|
|
68821
|
+
createForTeamDiscussionCommentInOrg: [
|
|
68822
|
+
"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"
|
|
68823
|
+
],
|
|
68824
|
+
createForTeamDiscussionInOrg: [
|
|
68825
|
+
"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"
|
|
68826
|
+
],
|
|
68827
|
+
deleteForCommitComment: [
|
|
68828
|
+
"DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"
|
|
68829
|
+
],
|
|
68830
|
+
deleteForIssue: [
|
|
68831
|
+
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"
|
|
68832
|
+
],
|
|
68833
|
+
deleteForIssueComment: [
|
|
68834
|
+
"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"
|
|
68835
|
+
],
|
|
68836
|
+
deleteForPullRequestComment: [
|
|
68837
|
+
"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"
|
|
68838
|
+
],
|
|
68839
|
+
deleteForRelease: [
|
|
68840
|
+
"DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"
|
|
68841
|
+
],
|
|
68842
|
+
deleteForTeamDiscussion: [
|
|
68843
|
+
"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"
|
|
68844
|
+
],
|
|
68845
|
+
deleteForTeamDiscussionComment: [
|
|
68846
|
+
"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"
|
|
68847
|
+
],
|
|
68848
|
+
listForCommitComment: [
|
|
68849
|
+
"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"
|
|
68850
|
+
],
|
|
68851
|
+
listForIssue: ["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],
|
|
68852
|
+
listForIssueComment: [
|
|
68853
|
+
"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"
|
|
68854
|
+
],
|
|
68855
|
+
listForPullRequestReviewComment: [
|
|
68856
|
+
"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"
|
|
68857
|
+
],
|
|
68858
|
+
listForRelease: [
|
|
68859
|
+
"GET /repos/{owner}/{repo}/releases/{release_id}/reactions"
|
|
68860
|
+
],
|
|
68861
|
+
listForTeamDiscussionCommentInOrg: [
|
|
68862
|
+
"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"
|
|
68863
|
+
],
|
|
68864
|
+
listForTeamDiscussionInOrg: [
|
|
68865
|
+
"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"
|
|
68866
|
+
]
|
|
68867
|
+
},
|
|
68868
|
+
repos: {
|
|
68869
|
+
acceptInvitation: [
|
|
68870
|
+
"PATCH /user/repository_invitations/{invitation_id}",
|
|
68871
|
+
{},
|
|
68872
|
+
{ renamed: ["repos", "acceptInvitationForAuthenticatedUser"] }
|
|
68873
|
+
],
|
|
68874
|
+
acceptInvitationForAuthenticatedUser: [
|
|
68875
|
+
"PATCH /user/repository_invitations/{invitation_id}"
|
|
68876
|
+
],
|
|
68877
|
+
addAppAccessRestrictions: [
|
|
68878
|
+
"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",
|
|
68879
|
+
{},
|
|
68880
|
+
{ mapToData: "apps" }
|
|
68881
|
+
],
|
|
68882
|
+
addCollaborator: ["PUT /repos/{owner}/{repo}/collaborators/{username}"],
|
|
68883
|
+
addStatusCheckContexts: [
|
|
68884
|
+
"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",
|
|
68885
|
+
{},
|
|
68886
|
+
{ mapToData: "contexts" }
|
|
68887
|
+
],
|
|
68888
|
+
addTeamAccessRestrictions: [
|
|
68889
|
+
"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",
|
|
68890
|
+
{},
|
|
68891
|
+
{ mapToData: "teams" }
|
|
68892
|
+
],
|
|
68893
|
+
addUserAccessRestrictions: [
|
|
68894
|
+
"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",
|
|
68895
|
+
{},
|
|
68896
|
+
{ mapToData: "users" }
|
|
68897
|
+
],
|
|
68898
|
+
cancelPagesDeployment: [
|
|
68899
|
+
"POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"
|
|
68900
|
+
],
|
|
68901
|
+
checkAutomatedSecurityFixes: [
|
|
68902
|
+
"GET /repos/{owner}/{repo}/automated-security-fixes"
|
|
68903
|
+
],
|
|
68904
|
+
checkCollaborator: ["GET /repos/{owner}/{repo}/collaborators/{username}"],
|
|
68905
|
+
checkImmutableReleases: ["GET /repos/{owner}/{repo}/immutable-releases"],
|
|
68906
|
+
checkPrivateVulnerabilityReporting: [
|
|
68907
|
+
"GET /repos/{owner}/{repo}/private-vulnerability-reporting"
|
|
68908
|
+
],
|
|
68909
|
+
checkVulnerabilityAlerts: [
|
|
68910
|
+
"GET /repos/{owner}/{repo}/vulnerability-alerts"
|
|
68911
|
+
],
|
|
68912
|
+
codeownersErrors: ["GET /repos/{owner}/{repo}/codeowners/errors"],
|
|
68913
|
+
compareCommits: ["GET /repos/{owner}/{repo}/compare/{base}...{head}"],
|
|
68914
|
+
compareCommitsWithBasehead: [
|
|
68915
|
+
"GET /repos/{owner}/{repo}/compare/{basehead}"
|
|
68916
|
+
],
|
|
68917
|
+
createAttestation: ["POST /repos/{owner}/{repo}/attestations"],
|
|
68918
|
+
createAutolink: ["POST /repos/{owner}/{repo}/autolinks"],
|
|
68919
|
+
createCommitComment: [
|
|
68920
|
+
"POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"
|
|
68921
|
+
],
|
|
68922
|
+
createCommitSignatureProtection: [
|
|
68923
|
+
"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"
|
|
68924
|
+
],
|
|
68925
|
+
createCommitStatus: ["POST /repos/{owner}/{repo}/statuses/{sha}"],
|
|
68926
|
+
createDeployKey: ["POST /repos/{owner}/{repo}/keys"],
|
|
68927
|
+
createDeployment: ["POST /repos/{owner}/{repo}/deployments"],
|
|
68928
|
+
createDeploymentBranchPolicy: [
|
|
68929
|
+
"POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"
|
|
68930
|
+
],
|
|
68931
|
+
createDeploymentProtectionRule: [
|
|
68932
|
+
"POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"
|
|
68933
|
+
],
|
|
68934
|
+
createDeploymentStatus: [
|
|
68935
|
+
"POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"
|
|
68936
|
+
],
|
|
68937
|
+
createDispatchEvent: ["POST /repos/{owner}/{repo}/dispatches"],
|
|
68938
|
+
createForAuthenticatedUser: ["POST /user/repos"],
|
|
68939
|
+
createFork: ["POST /repos/{owner}/{repo}/forks"],
|
|
68940
|
+
createInOrg: ["POST /orgs/{org}/repos"],
|
|
68941
|
+
createOrUpdateEnvironment: [
|
|
68942
|
+
"PUT /repos/{owner}/{repo}/environments/{environment_name}"
|
|
68943
|
+
],
|
|
68944
|
+
createOrUpdateFileContents: ["PUT /repos/{owner}/{repo}/contents/{path}"],
|
|
68945
|
+
createOrgRuleset: ["POST /orgs/{org}/rulesets"],
|
|
68946
|
+
createPagesDeployment: ["POST /repos/{owner}/{repo}/pages/deployments"],
|
|
68947
|
+
createPagesSite: ["POST /repos/{owner}/{repo}/pages"],
|
|
68948
|
+
createRelease: ["POST /repos/{owner}/{repo}/releases"],
|
|
68949
|
+
createRepoRuleset: ["POST /repos/{owner}/{repo}/rulesets"],
|
|
68950
|
+
createUsingTemplate: [
|
|
68951
|
+
"POST /repos/{template_owner}/{template_repo}/generate"
|
|
68952
|
+
],
|
|
68953
|
+
createWebhook: ["POST /repos/{owner}/{repo}/hooks"],
|
|
68954
|
+
customPropertiesForReposCreateOrUpdateRepositoryValues: [
|
|
68955
|
+
"PATCH /repos/{owner}/{repo}/properties/values"
|
|
68956
|
+
],
|
|
68957
|
+
customPropertiesForReposGetRepositoryValues: [
|
|
68958
|
+
"GET /repos/{owner}/{repo}/properties/values"
|
|
68959
|
+
],
|
|
68960
|
+
declineInvitation: [
|
|
68961
|
+
"DELETE /user/repository_invitations/{invitation_id}",
|
|
68962
|
+
{},
|
|
68963
|
+
{ renamed: ["repos", "declineInvitationForAuthenticatedUser"] }
|
|
68964
|
+
],
|
|
68965
|
+
declineInvitationForAuthenticatedUser: [
|
|
68966
|
+
"DELETE /user/repository_invitations/{invitation_id}"
|
|
68967
|
+
],
|
|
68968
|
+
delete: ["DELETE /repos/{owner}/{repo}"],
|
|
68969
|
+
deleteAccessRestrictions: [
|
|
68970
|
+
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"
|
|
68971
|
+
],
|
|
68972
|
+
deleteAdminBranchProtection: [
|
|
68973
|
+
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"
|
|
68974
|
+
],
|
|
68975
|
+
deleteAnEnvironment: [
|
|
68976
|
+
"DELETE /repos/{owner}/{repo}/environments/{environment_name}"
|
|
68977
|
+
],
|
|
68978
|
+
deleteAutolink: ["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],
|
|
68979
|
+
deleteBranchProtection: [
|
|
68980
|
+
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection"
|
|
68981
|
+
],
|
|
68982
|
+
deleteCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],
|
|
68983
|
+
deleteCommitSignatureProtection: [
|
|
68984
|
+
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"
|
|
68985
|
+
],
|
|
68986
|
+
deleteDeployKey: ["DELETE /repos/{owner}/{repo}/keys/{key_id}"],
|
|
68987
|
+
deleteDeployment: [
|
|
68988
|
+
"DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"
|
|
68989
|
+
],
|
|
68990
|
+
deleteDeploymentBranchPolicy: [
|
|
68991
|
+
"DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"
|
|
68992
|
+
],
|
|
68993
|
+
deleteFile: ["DELETE /repos/{owner}/{repo}/contents/{path}"],
|
|
68994
|
+
deleteInvitation: [
|
|
68995
|
+
"DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"
|
|
68996
|
+
],
|
|
68997
|
+
deleteOrgRuleset: ["DELETE /orgs/{org}/rulesets/{ruleset_id}"],
|
|
68998
|
+
deletePagesSite: ["DELETE /repos/{owner}/{repo}/pages"],
|
|
68999
|
+
deletePullRequestReviewProtection: [
|
|
69000
|
+
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"
|
|
69001
|
+
],
|
|
69002
|
+
deleteRelease: ["DELETE /repos/{owner}/{repo}/releases/{release_id}"],
|
|
69003
|
+
deleteReleaseAsset: [
|
|
69004
|
+
"DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"
|
|
69005
|
+
],
|
|
69006
|
+
deleteRepoRuleset: ["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],
|
|
69007
|
+
deleteWebhook: ["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],
|
|
69008
|
+
disableAutomatedSecurityFixes: [
|
|
69009
|
+
"DELETE /repos/{owner}/{repo}/automated-security-fixes"
|
|
69010
|
+
],
|
|
69011
|
+
disableDeploymentProtectionRule: [
|
|
69012
|
+
"DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"
|
|
69013
|
+
],
|
|
69014
|
+
disableImmutableReleases: [
|
|
69015
|
+
"DELETE /repos/{owner}/{repo}/immutable-releases"
|
|
69016
|
+
],
|
|
69017
|
+
disablePrivateVulnerabilityReporting: [
|
|
69018
|
+
"DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"
|
|
69019
|
+
],
|
|
69020
|
+
disableVulnerabilityAlerts: [
|
|
69021
|
+
"DELETE /repos/{owner}/{repo}/vulnerability-alerts"
|
|
69022
|
+
],
|
|
69023
|
+
downloadArchive: [
|
|
69024
|
+
"GET /repos/{owner}/{repo}/zipball/{ref}",
|
|
69025
|
+
{},
|
|
69026
|
+
{ renamed: ["repos", "downloadZipballArchive"] }
|
|
69027
|
+
],
|
|
69028
|
+
downloadTarballArchive: ["GET /repos/{owner}/{repo}/tarball/{ref}"],
|
|
69029
|
+
downloadZipballArchive: ["GET /repos/{owner}/{repo}/zipball/{ref}"],
|
|
69030
|
+
enableAutomatedSecurityFixes: [
|
|
69031
|
+
"PUT /repos/{owner}/{repo}/automated-security-fixes"
|
|
69032
|
+
],
|
|
69033
|
+
enableImmutableReleases: ["PUT /repos/{owner}/{repo}/immutable-releases"],
|
|
69034
|
+
enablePrivateVulnerabilityReporting: [
|
|
69035
|
+
"PUT /repos/{owner}/{repo}/private-vulnerability-reporting"
|
|
69036
|
+
],
|
|
69037
|
+
enableVulnerabilityAlerts: [
|
|
69038
|
+
"PUT /repos/{owner}/{repo}/vulnerability-alerts"
|
|
69039
|
+
],
|
|
69040
|
+
generateReleaseNotes: [
|
|
69041
|
+
"POST /repos/{owner}/{repo}/releases/generate-notes"
|
|
69042
|
+
],
|
|
69043
|
+
get: ["GET /repos/{owner}/{repo}"],
|
|
69044
|
+
getAccessRestrictions: [
|
|
69045
|
+
"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"
|
|
69046
|
+
],
|
|
69047
|
+
getAdminBranchProtection: [
|
|
69048
|
+
"GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"
|
|
69049
|
+
],
|
|
69050
|
+
getAllDeploymentProtectionRules: [
|
|
69051
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"
|
|
69052
|
+
],
|
|
69053
|
+
getAllEnvironments: ["GET /repos/{owner}/{repo}/environments"],
|
|
69054
|
+
getAllStatusCheckContexts: [
|
|
69055
|
+
"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"
|
|
69056
|
+
],
|
|
69057
|
+
getAllTopics: ["GET /repos/{owner}/{repo}/topics"],
|
|
69058
|
+
getAppsWithAccessToProtectedBranch: [
|
|
69059
|
+
"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"
|
|
69060
|
+
],
|
|
69061
|
+
getAutolink: ["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],
|
|
69062
|
+
getBranch: ["GET /repos/{owner}/{repo}/branches/{branch}"],
|
|
69063
|
+
getBranchProtection: [
|
|
69064
|
+
"GET /repos/{owner}/{repo}/branches/{branch}/protection"
|
|
69065
|
+
],
|
|
69066
|
+
getBranchRules: ["GET /repos/{owner}/{repo}/rules/branches/{branch}"],
|
|
69067
|
+
getClones: ["GET /repos/{owner}/{repo}/traffic/clones"],
|
|
69068
|
+
getCodeFrequencyStats: ["GET /repos/{owner}/{repo}/stats/code_frequency"],
|
|
69069
|
+
getCollaboratorPermissionLevel: [
|
|
69070
|
+
"GET /repos/{owner}/{repo}/collaborators/{username}/permission"
|
|
69071
|
+
],
|
|
69072
|
+
getCombinedStatusForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/status"],
|
|
69073
|
+
getCommit: ["GET /repos/{owner}/{repo}/commits/{ref}"],
|
|
69074
|
+
getCommitActivityStats: ["GET /repos/{owner}/{repo}/stats/commit_activity"],
|
|
69075
|
+
getCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}"],
|
|
69076
|
+
getCommitSignatureProtection: [
|
|
69077
|
+
"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"
|
|
69078
|
+
],
|
|
69079
|
+
getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile"],
|
|
69080
|
+
getContent: ["GET /repos/{owner}/{repo}/contents/{path}"],
|
|
69081
|
+
getContributorsStats: ["GET /repos/{owner}/{repo}/stats/contributors"],
|
|
69082
|
+
getCustomDeploymentProtectionRule: [
|
|
69083
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"
|
|
69084
|
+
],
|
|
69085
|
+
getDeployKey: ["GET /repos/{owner}/{repo}/keys/{key_id}"],
|
|
69086
|
+
getDeployment: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],
|
|
69087
|
+
getDeploymentBranchPolicy: [
|
|
69088
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"
|
|
69089
|
+
],
|
|
69090
|
+
getDeploymentStatus: [
|
|
69091
|
+
"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"
|
|
69092
|
+
],
|
|
69093
|
+
getEnvironment: [
|
|
69094
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}"
|
|
69095
|
+
],
|
|
69096
|
+
getLatestPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/latest"],
|
|
69097
|
+
getLatestRelease: ["GET /repos/{owner}/{repo}/releases/latest"],
|
|
69098
|
+
getOrgRuleSuite: ["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],
|
|
69099
|
+
getOrgRuleSuites: ["GET /orgs/{org}/rulesets/rule-suites"],
|
|
69100
|
+
getOrgRuleset: ["GET /orgs/{org}/rulesets/{ruleset_id}"],
|
|
69101
|
+
getOrgRulesets: ["GET /orgs/{org}/rulesets"],
|
|
69102
|
+
getPages: ["GET /repos/{owner}/{repo}/pages"],
|
|
69103
|
+
getPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],
|
|
69104
|
+
getPagesDeployment: [
|
|
69105
|
+
"GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"
|
|
69106
|
+
],
|
|
69107
|
+
getPagesHealthCheck: ["GET /repos/{owner}/{repo}/pages/health"],
|
|
69108
|
+
getParticipationStats: ["GET /repos/{owner}/{repo}/stats/participation"],
|
|
69109
|
+
getPullRequestReviewProtection: [
|
|
69110
|
+
"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"
|
|
69111
|
+
],
|
|
69112
|
+
getPunchCardStats: ["GET /repos/{owner}/{repo}/stats/punch_card"],
|
|
69113
|
+
getReadme: ["GET /repos/{owner}/{repo}/readme"],
|
|
69114
|
+
getReadmeInDirectory: ["GET /repos/{owner}/{repo}/readme/{dir}"],
|
|
69115
|
+
getRelease: ["GET /repos/{owner}/{repo}/releases/{release_id}"],
|
|
69116
|
+
getReleaseAsset: ["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],
|
|
69117
|
+
getReleaseByTag: ["GET /repos/{owner}/{repo}/releases/tags/{tag}"],
|
|
69118
|
+
getRepoRuleSuite: [
|
|
69119
|
+
"GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"
|
|
69120
|
+
],
|
|
69121
|
+
getRepoRuleSuites: ["GET /repos/{owner}/{repo}/rulesets/rule-suites"],
|
|
69122
|
+
getRepoRuleset: ["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],
|
|
69123
|
+
getRepoRulesetHistory: [
|
|
69124
|
+
"GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history"
|
|
69125
|
+
],
|
|
69126
|
+
getRepoRulesetVersion: [
|
|
69127
|
+
"GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}"
|
|
69128
|
+
],
|
|
69129
|
+
getRepoRulesets: ["GET /repos/{owner}/{repo}/rulesets"],
|
|
69130
|
+
getStatusChecksProtection: [
|
|
69131
|
+
"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"
|
|
69132
|
+
],
|
|
69133
|
+
getTeamsWithAccessToProtectedBranch: [
|
|
69134
|
+
"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"
|
|
69135
|
+
],
|
|
69136
|
+
getTopPaths: ["GET /repos/{owner}/{repo}/traffic/popular/paths"],
|
|
69137
|
+
getTopReferrers: ["GET /repos/{owner}/{repo}/traffic/popular/referrers"],
|
|
69138
|
+
getUsersWithAccessToProtectedBranch: [
|
|
69139
|
+
"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"
|
|
69140
|
+
],
|
|
69141
|
+
getViews: ["GET /repos/{owner}/{repo}/traffic/views"],
|
|
69142
|
+
getWebhook: ["GET /repos/{owner}/{repo}/hooks/{hook_id}"],
|
|
69143
|
+
getWebhookConfigForRepo: [
|
|
69144
|
+
"GET /repos/{owner}/{repo}/hooks/{hook_id}/config"
|
|
69145
|
+
],
|
|
69146
|
+
getWebhookDelivery: [
|
|
69147
|
+
"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"
|
|
69148
|
+
],
|
|
69149
|
+
listActivities: ["GET /repos/{owner}/{repo}/activity"],
|
|
69150
|
+
listAttestations: [
|
|
69151
|
+
"GET /repos/{owner}/{repo}/attestations/{subject_digest}"
|
|
69152
|
+
],
|
|
69153
|
+
listAutolinks: ["GET /repos/{owner}/{repo}/autolinks"],
|
|
69154
|
+
listBranches: ["GET /repos/{owner}/{repo}/branches"],
|
|
69155
|
+
listBranchesForHeadCommit: [
|
|
69156
|
+
"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"
|
|
69157
|
+
],
|
|
69158
|
+
listCollaborators: ["GET /repos/{owner}/{repo}/collaborators"],
|
|
69159
|
+
listCommentsForCommit: [
|
|
69160
|
+
"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"
|
|
69161
|
+
],
|
|
69162
|
+
listCommitCommentsForRepo: ["GET /repos/{owner}/{repo}/comments"],
|
|
69163
|
+
listCommitStatusesForRef: [
|
|
69164
|
+
"GET /repos/{owner}/{repo}/commits/{ref}/statuses"
|
|
69165
|
+
],
|
|
69166
|
+
listCommits: ["GET /repos/{owner}/{repo}/commits"],
|
|
69167
|
+
listContributors: ["GET /repos/{owner}/{repo}/contributors"],
|
|
69168
|
+
listCustomDeploymentRuleIntegrations: [
|
|
69169
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"
|
|
69170
|
+
],
|
|
69171
|
+
listDeployKeys: ["GET /repos/{owner}/{repo}/keys"],
|
|
69172
|
+
listDeploymentBranchPolicies: [
|
|
69173
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"
|
|
69174
|
+
],
|
|
69175
|
+
listDeploymentStatuses: [
|
|
69176
|
+
"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"
|
|
69177
|
+
],
|
|
69178
|
+
listDeployments: ["GET /repos/{owner}/{repo}/deployments"],
|
|
69179
|
+
listForAuthenticatedUser: ["GET /user/repos"],
|
|
69180
|
+
listForOrg: ["GET /orgs/{org}/repos"],
|
|
69181
|
+
listForUser: ["GET /users/{username}/repos"],
|
|
69182
|
+
listForks: ["GET /repos/{owner}/{repo}/forks"],
|
|
69183
|
+
listInvitations: ["GET /repos/{owner}/{repo}/invitations"],
|
|
69184
|
+
listInvitationsForAuthenticatedUser: ["GET /user/repository_invitations"],
|
|
69185
|
+
listLanguages: ["GET /repos/{owner}/{repo}/languages"],
|
|
69186
|
+
listPagesBuilds: ["GET /repos/{owner}/{repo}/pages/builds"],
|
|
69187
|
+
listPublic: ["GET /repositories"],
|
|
69188
|
+
listPullRequestsAssociatedWithCommit: [
|
|
69189
|
+
"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"
|
|
69190
|
+
],
|
|
69191
|
+
listReleaseAssets: [
|
|
69192
|
+
"GET /repos/{owner}/{repo}/releases/{release_id}/assets"
|
|
69193
|
+
],
|
|
69194
|
+
listReleases: ["GET /repos/{owner}/{repo}/releases"],
|
|
69195
|
+
listTags: ["GET /repos/{owner}/{repo}/tags"],
|
|
69196
|
+
listTeams: ["GET /repos/{owner}/{repo}/teams"],
|
|
69197
|
+
listWebhookDeliveries: [
|
|
69198
|
+
"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"
|
|
69199
|
+
],
|
|
69200
|
+
listWebhooks: ["GET /repos/{owner}/{repo}/hooks"],
|
|
69201
|
+
merge: ["POST /repos/{owner}/{repo}/merges"],
|
|
69202
|
+
mergeUpstream: ["POST /repos/{owner}/{repo}/merge-upstream"],
|
|
69203
|
+
pingWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],
|
|
69204
|
+
redeliverWebhookDelivery: [
|
|
69205
|
+
"POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"
|
|
69206
|
+
],
|
|
69207
|
+
removeAppAccessRestrictions: [
|
|
69208
|
+
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",
|
|
69209
|
+
{},
|
|
69210
|
+
{ mapToData: "apps" }
|
|
69211
|
+
],
|
|
69212
|
+
removeCollaborator: [
|
|
69213
|
+
"DELETE /repos/{owner}/{repo}/collaborators/{username}"
|
|
69214
|
+
],
|
|
69215
|
+
removeStatusCheckContexts: [
|
|
69216
|
+
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",
|
|
69217
|
+
{},
|
|
69218
|
+
{ mapToData: "contexts" }
|
|
69219
|
+
],
|
|
69220
|
+
removeStatusCheckProtection: [
|
|
69221
|
+
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"
|
|
69222
|
+
],
|
|
69223
|
+
removeTeamAccessRestrictions: [
|
|
69224
|
+
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",
|
|
69225
|
+
{},
|
|
69226
|
+
{ mapToData: "teams" }
|
|
69227
|
+
],
|
|
69228
|
+
removeUserAccessRestrictions: [
|
|
69229
|
+
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",
|
|
69230
|
+
{},
|
|
69231
|
+
{ mapToData: "users" }
|
|
69232
|
+
],
|
|
69233
|
+
renameBranch: ["POST /repos/{owner}/{repo}/branches/{branch}/rename"],
|
|
69234
|
+
replaceAllTopics: ["PUT /repos/{owner}/{repo}/topics"],
|
|
69235
|
+
requestPagesBuild: ["POST /repos/{owner}/{repo}/pages/builds"],
|
|
69236
|
+
setAdminBranchProtection: [
|
|
69237
|
+
"POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"
|
|
69238
|
+
],
|
|
69239
|
+
setAppAccessRestrictions: [
|
|
69240
|
+
"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",
|
|
69241
|
+
{},
|
|
69242
|
+
{ mapToData: "apps" }
|
|
69243
|
+
],
|
|
69244
|
+
setStatusCheckContexts: [
|
|
69245
|
+
"PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",
|
|
69246
|
+
{},
|
|
69247
|
+
{ mapToData: "contexts" }
|
|
69248
|
+
],
|
|
69249
|
+
setTeamAccessRestrictions: [
|
|
69250
|
+
"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",
|
|
69251
|
+
{},
|
|
69252
|
+
{ mapToData: "teams" }
|
|
69253
|
+
],
|
|
69254
|
+
setUserAccessRestrictions: [
|
|
69255
|
+
"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",
|
|
69256
|
+
{},
|
|
69257
|
+
{ mapToData: "users" }
|
|
69258
|
+
],
|
|
69259
|
+
testPushWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],
|
|
69260
|
+
transfer: ["POST /repos/{owner}/{repo}/transfer"],
|
|
69261
|
+
update: ["PATCH /repos/{owner}/{repo}"],
|
|
69262
|
+
updateBranchProtection: [
|
|
69263
|
+
"PUT /repos/{owner}/{repo}/branches/{branch}/protection"
|
|
69264
|
+
],
|
|
69265
|
+
updateCommitComment: ["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],
|
|
69266
|
+
updateDeploymentBranchPolicy: [
|
|
69267
|
+
"PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"
|
|
69268
|
+
],
|
|
69269
|
+
updateInformationAboutPagesSite: ["PUT /repos/{owner}/{repo}/pages"],
|
|
69270
|
+
updateInvitation: [
|
|
69271
|
+
"PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"
|
|
69272
|
+
],
|
|
69273
|
+
updateOrgRuleset: ["PUT /orgs/{org}/rulesets/{ruleset_id}"],
|
|
69274
|
+
updatePullRequestReviewProtection: [
|
|
69275
|
+
"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"
|
|
69276
|
+
],
|
|
69277
|
+
updateRelease: ["PATCH /repos/{owner}/{repo}/releases/{release_id}"],
|
|
69278
|
+
updateReleaseAsset: [
|
|
69279
|
+
"PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"
|
|
69280
|
+
],
|
|
69281
|
+
updateRepoRuleset: ["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],
|
|
69282
|
+
updateStatusCheckPotection: [
|
|
69283
|
+
"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",
|
|
69284
|
+
{},
|
|
69285
|
+
{ renamed: ["repos", "updateStatusCheckProtection"] }
|
|
69286
|
+
],
|
|
69287
|
+
updateStatusCheckProtection: [
|
|
69288
|
+
"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"
|
|
69289
|
+
],
|
|
69290
|
+
updateWebhook: ["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],
|
|
69291
|
+
updateWebhookConfigForRepo: [
|
|
69292
|
+
"PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"
|
|
69293
|
+
],
|
|
69294
|
+
uploadReleaseAsset: [
|
|
69295
|
+
"POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",
|
|
69296
|
+
{ baseUrl: "https://uploads.github.com" }
|
|
69297
|
+
]
|
|
69298
|
+
},
|
|
69299
|
+
search: {
|
|
69300
|
+
code: ["GET /search/code"],
|
|
69301
|
+
commits: ["GET /search/commits"],
|
|
69302
|
+
issuesAndPullRequests: ["GET /search/issues"],
|
|
69303
|
+
labels: ["GET /search/labels"],
|
|
69304
|
+
repos: ["GET /search/repositories"],
|
|
69305
|
+
topics: ["GET /search/topics"],
|
|
69306
|
+
users: ["GET /search/users"]
|
|
69307
|
+
},
|
|
69308
|
+
secretScanning: {
|
|
69309
|
+
createPushProtectionBypass: [
|
|
69310
|
+
"POST /repos/{owner}/{repo}/secret-scanning/push-protection-bypasses"
|
|
69311
|
+
],
|
|
69312
|
+
getAlert: [
|
|
69313
|
+
"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"
|
|
69314
|
+
],
|
|
69315
|
+
getScanHistory: ["GET /repos/{owner}/{repo}/secret-scanning/scan-history"],
|
|
69316
|
+
listAlertsForOrg: ["GET /orgs/{org}/secret-scanning/alerts"],
|
|
69317
|
+
listAlertsForRepo: ["GET /repos/{owner}/{repo}/secret-scanning/alerts"],
|
|
69318
|
+
listLocationsForAlert: [
|
|
69319
|
+
"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"
|
|
69320
|
+
],
|
|
69321
|
+
listOrgPatternConfigs: [
|
|
69322
|
+
"GET /orgs/{org}/secret-scanning/pattern-configurations"
|
|
69323
|
+
],
|
|
69324
|
+
updateAlert: [
|
|
69325
|
+
"PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"
|
|
69326
|
+
],
|
|
69327
|
+
updateOrgPatternConfigs: [
|
|
69328
|
+
"PATCH /orgs/{org}/secret-scanning/pattern-configurations"
|
|
69329
|
+
]
|
|
69330
|
+
},
|
|
69331
|
+
securityAdvisories: {
|
|
69332
|
+
createFork: [
|
|
69333
|
+
"POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"
|
|
69334
|
+
],
|
|
69335
|
+
createPrivateVulnerabilityReport: [
|
|
69336
|
+
"POST /repos/{owner}/{repo}/security-advisories/reports"
|
|
69337
|
+
],
|
|
69338
|
+
createRepositoryAdvisory: [
|
|
69339
|
+
"POST /repos/{owner}/{repo}/security-advisories"
|
|
69340
|
+
],
|
|
69341
|
+
createRepositoryAdvisoryCveRequest: [
|
|
69342
|
+
"POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"
|
|
69343
|
+
],
|
|
69344
|
+
getGlobalAdvisory: ["GET /advisories/{ghsa_id}"],
|
|
69345
|
+
getRepositoryAdvisory: [
|
|
69346
|
+
"GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"
|
|
69347
|
+
],
|
|
69348
|
+
listGlobalAdvisories: ["GET /advisories"],
|
|
69349
|
+
listOrgRepositoryAdvisories: ["GET /orgs/{org}/security-advisories"],
|
|
69350
|
+
listRepositoryAdvisories: ["GET /repos/{owner}/{repo}/security-advisories"],
|
|
69351
|
+
updateRepositoryAdvisory: [
|
|
69352
|
+
"PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"
|
|
69353
|
+
]
|
|
69354
|
+
},
|
|
69355
|
+
teams: {
|
|
69356
|
+
addOrUpdateMembershipForUserInOrg: [
|
|
69357
|
+
"PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"
|
|
69358
|
+
],
|
|
69359
|
+
addOrUpdateRepoPermissionsInOrg: [
|
|
69360
|
+
"PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"
|
|
69361
|
+
],
|
|
69362
|
+
checkPermissionsForRepoInOrg: [
|
|
69363
|
+
"GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"
|
|
69364
|
+
],
|
|
69365
|
+
create: ["POST /orgs/{org}/teams"],
|
|
69366
|
+
createDiscussionCommentInOrg: [
|
|
69367
|
+
"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"
|
|
69368
|
+
],
|
|
69369
|
+
createDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions"],
|
|
69370
|
+
deleteDiscussionCommentInOrg: [
|
|
69371
|
+
"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"
|
|
69372
|
+
],
|
|
69373
|
+
deleteDiscussionInOrg: [
|
|
69374
|
+
"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"
|
|
69375
|
+
],
|
|
69376
|
+
deleteInOrg: ["DELETE /orgs/{org}/teams/{team_slug}"],
|
|
69377
|
+
getByName: ["GET /orgs/{org}/teams/{team_slug}"],
|
|
69378
|
+
getDiscussionCommentInOrg: [
|
|
69379
|
+
"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"
|
|
69380
|
+
],
|
|
69381
|
+
getDiscussionInOrg: [
|
|
69382
|
+
"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"
|
|
69383
|
+
],
|
|
69384
|
+
getMembershipForUserInOrg: [
|
|
69385
|
+
"GET /orgs/{org}/teams/{team_slug}/memberships/{username}"
|
|
69386
|
+
],
|
|
69387
|
+
list: ["GET /orgs/{org}/teams"],
|
|
69388
|
+
listChildInOrg: ["GET /orgs/{org}/teams/{team_slug}/teams"],
|
|
69389
|
+
listDiscussionCommentsInOrg: [
|
|
69390
|
+
"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"
|
|
69391
|
+
],
|
|
69392
|
+
listDiscussionsInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions"],
|
|
69393
|
+
listForAuthenticatedUser: ["GET /user/teams"],
|
|
69394
|
+
listMembersInOrg: ["GET /orgs/{org}/teams/{team_slug}/members"],
|
|
69395
|
+
listPendingInvitationsInOrg: [
|
|
69396
|
+
"GET /orgs/{org}/teams/{team_slug}/invitations"
|
|
69397
|
+
],
|
|
69398
|
+
listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"],
|
|
69399
|
+
removeMembershipForUserInOrg: [
|
|
69400
|
+
"DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"
|
|
69401
|
+
],
|
|
69402
|
+
removeRepoInOrg: [
|
|
69403
|
+
"DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"
|
|
69404
|
+
],
|
|
69405
|
+
updateDiscussionCommentInOrg: [
|
|
69406
|
+
"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"
|
|
69407
|
+
],
|
|
69408
|
+
updateDiscussionInOrg: [
|
|
69409
|
+
"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"
|
|
69410
|
+
],
|
|
69411
|
+
updateInOrg: ["PATCH /orgs/{org}/teams/{team_slug}"]
|
|
69412
|
+
},
|
|
69413
|
+
users: {
|
|
69414
|
+
addEmailForAuthenticated: [
|
|
69415
|
+
"POST /user/emails",
|
|
69416
|
+
{},
|
|
69417
|
+
{ renamed: ["users", "addEmailForAuthenticatedUser"] }
|
|
69418
|
+
],
|
|
69419
|
+
addEmailForAuthenticatedUser: ["POST /user/emails"],
|
|
69420
|
+
addSocialAccountForAuthenticatedUser: ["POST /user/social_accounts"],
|
|
69421
|
+
block: ["PUT /user/blocks/{username}"],
|
|
69422
|
+
checkBlocked: ["GET /user/blocks/{username}"],
|
|
69423
|
+
checkFollowingForUser: ["GET /users/{username}/following/{target_user}"],
|
|
69424
|
+
checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"],
|
|
69425
|
+
createGpgKeyForAuthenticated: [
|
|
69426
|
+
"POST /user/gpg_keys",
|
|
69427
|
+
{},
|
|
69428
|
+
{ renamed: ["users", "createGpgKeyForAuthenticatedUser"] }
|
|
69429
|
+
],
|
|
69430
|
+
createGpgKeyForAuthenticatedUser: ["POST /user/gpg_keys"],
|
|
69431
|
+
createPublicSshKeyForAuthenticated: [
|
|
69432
|
+
"POST /user/keys",
|
|
69433
|
+
{},
|
|
69434
|
+
{ renamed: ["users", "createPublicSshKeyForAuthenticatedUser"] }
|
|
69435
|
+
],
|
|
69436
|
+
createPublicSshKeyForAuthenticatedUser: ["POST /user/keys"],
|
|
69437
|
+
createSshSigningKeyForAuthenticatedUser: ["POST /user/ssh_signing_keys"],
|
|
69438
|
+
deleteAttestationsBulk: [
|
|
69439
|
+
"POST /users/{username}/attestations/delete-request"
|
|
69440
|
+
],
|
|
69441
|
+
deleteAttestationsById: [
|
|
69442
|
+
"DELETE /users/{username}/attestations/{attestation_id}"
|
|
69443
|
+
],
|
|
69444
|
+
deleteAttestationsBySubjectDigest: [
|
|
69445
|
+
"DELETE /users/{username}/attestations/digest/{subject_digest}"
|
|
69446
|
+
],
|
|
69447
|
+
deleteEmailForAuthenticated: [
|
|
69448
|
+
"DELETE /user/emails",
|
|
69449
|
+
{},
|
|
69450
|
+
{ renamed: ["users", "deleteEmailForAuthenticatedUser"] }
|
|
69451
|
+
],
|
|
69452
|
+
deleteEmailForAuthenticatedUser: ["DELETE /user/emails"],
|
|
69453
|
+
deleteGpgKeyForAuthenticated: [
|
|
69454
|
+
"DELETE /user/gpg_keys/{gpg_key_id}",
|
|
69455
|
+
{},
|
|
69456
|
+
{ renamed: ["users", "deleteGpgKeyForAuthenticatedUser"] }
|
|
69457
|
+
],
|
|
69458
|
+
deleteGpgKeyForAuthenticatedUser: ["DELETE /user/gpg_keys/{gpg_key_id}"],
|
|
69459
|
+
deletePublicSshKeyForAuthenticated: [
|
|
69460
|
+
"DELETE /user/keys/{key_id}",
|
|
69461
|
+
{},
|
|
69462
|
+
{ renamed: ["users", "deletePublicSshKeyForAuthenticatedUser"] }
|
|
69463
|
+
],
|
|
69464
|
+
deletePublicSshKeyForAuthenticatedUser: ["DELETE /user/keys/{key_id}"],
|
|
69465
|
+
deleteSocialAccountForAuthenticatedUser: ["DELETE /user/social_accounts"],
|
|
69466
|
+
deleteSshSigningKeyForAuthenticatedUser: [
|
|
69467
|
+
"DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"
|
|
69468
|
+
],
|
|
69469
|
+
follow: ["PUT /user/following/{username}"],
|
|
69470
|
+
getAuthenticated: ["GET /user"],
|
|
69471
|
+
getById: ["GET /user/{account_id}"],
|
|
69472
|
+
getByUsername: ["GET /users/{username}"],
|
|
69473
|
+
getContextForUser: ["GET /users/{username}/hovercard"],
|
|
69474
|
+
getGpgKeyForAuthenticated: [
|
|
69475
|
+
"GET /user/gpg_keys/{gpg_key_id}",
|
|
69476
|
+
{},
|
|
69477
|
+
{ renamed: ["users", "getGpgKeyForAuthenticatedUser"] }
|
|
69478
|
+
],
|
|
69479
|
+
getGpgKeyForAuthenticatedUser: ["GET /user/gpg_keys/{gpg_key_id}"],
|
|
69480
|
+
getPublicSshKeyForAuthenticated: [
|
|
69481
|
+
"GET /user/keys/{key_id}",
|
|
69482
|
+
{},
|
|
69483
|
+
{ renamed: ["users", "getPublicSshKeyForAuthenticatedUser"] }
|
|
69484
|
+
],
|
|
69485
|
+
getPublicSshKeyForAuthenticatedUser: ["GET /user/keys/{key_id}"],
|
|
69486
|
+
getSshSigningKeyForAuthenticatedUser: [
|
|
69487
|
+
"GET /user/ssh_signing_keys/{ssh_signing_key_id}"
|
|
69488
|
+
],
|
|
69489
|
+
list: ["GET /users"],
|
|
69490
|
+
listAttestations: ["GET /users/{username}/attestations/{subject_digest}"],
|
|
69491
|
+
listAttestationsBulk: [
|
|
69492
|
+
"POST /users/{username}/attestations/bulk-list{?per_page,before,after}"
|
|
69493
|
+
],
|
|
69494
|
+
listBlockedByAuthenticated: [
|
|
69495
|
+
"GET /user/blocks",
|
|
69496
|
+
{},
|
|
69497
|
+
{ renamed: ["users", "listBlockedByAuthenticatedUser"] }
|
|
69498
|
+
],
|
|
69499
|
+
listBlockedByAuthenticatedUser: ["GET /user/blocks"],
|
|
69500
|
+
listEmailsForAuthenticated: [
|
|
69501
|
+
"GET /user/emails",
|
|
69502
|
+
{},
|
|
69503
|
+
{ renamed: ["users", "listEmailsForAuthenticatedUser"] }
|
|
69504
|
+
],
|
|
69505
|
+
listEmailsForAuthenticatedUser: ["GET /user/emails"],
|
|
69506
|
+
listFollowedByAuthenticated: [
|
|
69507
|
+
"GET /user/following",
|
|
69508
|
+
{},
|
|
69509
|
+
{ renamed: ["users", "listFollowedByAuthenticatedUser"] }
|
|
69510
|
+
],
|
|
69511
|
+
listFollowedByAuthenticatedUser: ["GET /user/following"],
|
|
69512
|
+
listFollowersForAuthenticatedUser: ["GET /user/followers"],
|
|
69513
|
+
listFollowersForUser: ["GET /users/{username}/followers"],
|
|
69514
|
+
listFollowingForUser: ["GET /users/{username}/following"],
|
|
69515
|
+
listGpgKeysForAuthenticated: [
|
|
69516
|
+
"GET /user/gpg_keys",
|
|
69517
|
+
{},
|
|
69518
|
+
{ renamed: ["users", "listGpgKeysForAuthenticatedUser"] }
|
|
69519
|
+
],
|
|
69520
|
+
listGpgKeysForAuthenticatedUser: ["GET /user/gpg_keys"],
|
|
69521
|
+
listGpgKeysForUser: ["GET /users/{username}/gpg_keys"],
|
|
69522
|
+
listPublicEmailsForAuthenticated: [
|
|
69523
|
+
"GET /user/public_emails",
|
|
69524
|
+
{},
|
|
69525
|
+
{ renamed: ["users", "listPublicEmailsForAuthenticatedUser"] }
|
|
69526
|
+
],
|
|
69527
|
+
listPublicEmailsForAuthenticatedUser: ["GET /user/public_emails"],
|
|
69528
|
+
listPublicKeysForUser: ["GET /users/{username}/keys"],
|
|
69529
|
+
listPublicSshKeysForAuthenticated: [
|
|
69530
|
+
"GET /user/keys",
|
|
69531
|
+
{},
|
|
69532
|
+
{ renamed: ["users", "listPublicSshKeysForAuthenticatedUser"] }
|
|
69533
|
+
],
|
|
69534
|
+
listPublicSshKeysForAuthenticatedUser: ["GET /user/keys"],
|
|
69535
|
+
listSocialAccountsForAuthenticatedUser: ["GET /user/social_accounts"],
|
|
69536
|
+
listSocialAccountsForUser: ["GET /users/{username}/social_accounts"],
|
|
69537
|
+
listSshSigningKeysForAuthenticatedUser: ["GET /user/ssh_signing_keys"],
|
|
69538
|
+
listSshSigningKeysForUser: ["GET /users/{username}/ssh_signing_keys"],
|
|
69539
|
+
setPrimaryEmailVisibilityForAuthenticated: [
|
|
69540
|
+
"PATCH /user/email/visibility",
|
|
69541
|
+
{},
|
|
69542
|
+
{ renamed: ["users", "setPrimaryEmailVisibilityForAuthenticatedUser"] }
|
|
69543
|
+
],
|
|
69544
|
+
setPrimaryEmailVisibilityForAuthenticatedUser: [
|
|
69545
|
+
"PATCH /user/email/visibility"
|
|
69546
|
+
],
|
|
69547
|
+
unblock: ["DELETE /user/blocks/{username}"],
|
|
69548
|
+
unfollow: ["DELETE /user/following/{username}"],
|
|
69549
|
+
updateAuthenticated: ["PATCH /user"]
|
|
69550
|
+
}
|
|
69551
|
+
};
|
|
69552
|
+
var endpoints_default = Endpoints;
|
|
69553
|
+
|
|
69554
|
+
// ../../node_modules/.pnpm/@octokit+plugin-rest-endpoint-methods@17.0.0_@octokit+core@7.0.6/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js
|
|
69555
|
+
var endpointMethodsMap = /* @__PURE__ */ new Map();
|
|
69556
|
+
for (const [scope, endpoints] of Object.entries(endpoints_default)) {
|
|
69557
|
+
for (const [methodName, endpoint2] of Object.entries(endpoints)) {
|
|
69558
|
+
const [route, defaults3, decorations] = endpoint2;
|
|
69559
|
+
const [method, url2] = route.split(/ /);
|
|
69560
|
+
const endpointDefaults = Object.assign(
|
|
69561
|
+
{
|
|
69562
|
+
method,
|
|
69563
|
+
url: url2
|
|
69564
|
+
},
|
|
69565
|
+
defaults3
|
|
69566
|
+
);
|
|
69567
|
+
if (!endpointMethodsMap.has(scope)) {
|
|
69568
|
+
endpointMethodsMap.set(scope, /* @__PURE__ */ new Map());
|
|
69569
|
+
}
|
|
69570
|
+
endpointMethodsMap.get(scope).set(methodName, {
|
|
69571
|
+
scope,
|
|
69572
|
+
methodName,
|
|
69573
|
+
endpointDefaults,
|
|
69574
|
+
decorations
|
|
69575
|
+
});
|
|
69576
|
+
}
|
|
69577
|
+
}
|
|
69578
|
+
var handler = {
|
|
69579
|
+
has({ scope }, methodName) {
|
|
69580
|
+
return endpointMethodsMap.get(scope).has(methodName);
|
|
69581
|
+
},
|
|
69582
|
+
getOwnPropertyDescriptor(target, methodName) {
|
|
69583
|
+
return {
|
|
69584
|
+
value: this.get(target, methodName),
|
|
69585
|
+
// ensures method is in the cache
|
|
69586
|
+
configurable: true,
|
|
69587
|
+
writable: true,
|
|
69588
|
+
enumerable: true
|
|
69589
|
+
};
|
|
69590
|
+
},
|
|
69591
|
+
defineProperty(target, methodName, descriptor) {
|
|
69592
|
+
Object.defineProperty(target.cache, methodName, descriptor);
|
|
69593
|
+
return true;
|
|
69594
|
+
},
|
|
69595
|
+
deleteProperty(target, methodName) {
|
|
69596
|
+
delete target.cache[methodName];
|
|
69597
|
+
return true;
|
|
69598
|
+
},
|
|
69599
|
+
ownKeys({ scope }) {
|
|
69600
|
+
return [...endpointMethodsMap.get(scope).keys()];
|
|
69601
|
+
},
|
|
69602
|
+
set(target, methodName, value) {
|
|
69603
|
+
return target.cache[methodName] = value;
|
|
69604
|
+
},
|
|
69605
|
+
get({ octokit, scope, cache }, methodName) {
|
|
69606
|
+
if (cache[methodName]) {
|
|
69607
|
+
return cache[methodName];
|
|
69608
|
+
}
|
|
69609
|
+
const method = endpointMethodsMap.get(scope).get(methodName);
|
|
69610
|
+
if (!method) {
|
|
69611
|
+
return void 0;
|
|
69612
|
+
}
|
|
69613
|
+
const { endpointDefaults, decorations } = method;
|
|
69614
|
+
if (decorations) {
|
|
69615
|
+
cache[methodName] = decorate(
|
|
69616
|
+
octokit,
|
|
69617
|
+
scope,
|
|
69618
|
+
methodName,
|
|
69619
|
+
endpointDefaults,
|
|
69620
|
+
decorations
|
|
69621
|
+
);
|
|
69622
|
+
} else {
|
|
69623
|
+
cache[methodName] = octokit.request.defaults(endpointDefaults);
|
|
69624
|
+
}
|
|
69625
|
+
return cache[methodName];
|
|
69626
|
+
}
|
|
69627
|
+
};
|
|
69628
|
+
function endpointsToMethods(octokit) {
|
|
69629
|
+
const newMethods = {};
|
|
69630
|
+
for (const scope of endpointMethodsMap.keys()) {
|
|
69631
|
+
newMethods[scope] = new Proxy({ octokit, scope, cache: {} }, handler);
|
|
69632
|
+
}
|
|
69633
|
+
return newMethods;
|
|
69634
|
+
}
|
|
69635
|
+
function decorate(octokit, scope, methodName, defaults3, decorations) {
|
|
69636
|
+
const requestWithDefaults = octokit.request.defaults(defaults3);
|
|
69637
|
+
function withDecorations(...args) {
|
|
69638
|
+
let options = requestWithDefaults.endpoint.merge(...args);
|
|
69639
|
+
if (decorations.mapToData) {
|
|
69640
|
+
options = Object.assign({}, options, {
|
|
69641
|
+
data: options[decorations.mapToData],
|
|
69642
|
+
[decorations.mapToData]: void 0
|
|
69643
|
+
});
|
|
69644
|
+
return requestWithDefaults(options);
|
|
69645
|
+
}
|
|
69646
|
+
if (decorations.renamed) {
|
|
69647
|
+
const [newScope, newMethodName] = decorations.renamed;
|
|
69648
|
+
octokit.log.warn(
|
|
69649
|
+
`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`
|
|
69650
|
+
);
|
|
69651
|
+
}
|
|
69652
|
+
if (decorations.deprecated) {
|
|
69653
|
+
octokit.log.warn(decorations.deprecated);
|
|
69654
|
+
}
|
|
69655
|
+
if (decorations.renamedParameters) {
|
|
69656
|
+
const options2 = requestWithDefaults.endpoint.merge(...args);
|
|
69657
|
+
for (const [name, alias] of Object.entries(
|
|
69658
|
+
decorations.renamedParameters
|
|
69659
|
+
)) {
|
|
69660
|
+
if (name in options2) {
|
|
69661
|
+
octokit.log.warn(
|
|
69662
|
+
`"${name}" parameter is deprecated for "octokit.${scope}.${methodName}()". Use "${alias}" instead`
|
|
69663
|
+
);
|
|
69664
|
+
if (!(alias in options2)) {
|
|
69665
|
+
options2[alias] = options2[name];
|
|
69666
|
+
}
|
|
69667
|
+
delete options2[name];
|
|
69668
|
+
}
|
|
69669
|
+
}
|
|
69670
|
+
return requestWithDefaults(options2);
|
|
69671
|
+
}
|
|
69672
|
+
return requestWithDefaults(...args);
|
|
69673
|
+
}
|
|
69674
|
+
return Object.assign(withDecorations, requestWithDefaults);
|
|
69675
|
+
}
|
|
69676
|
+
|
|
69677
|
+
// ../../node_modules/.pnpm/@octokit+plugin-rest-endpoint-methods@17.0.0_@octokit+core@7.0.6/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js
|
|
69678
|
+
function restEndpointMethods(octokit) {
|
|
69679
|
+
const api = endpointsToMethods(octokit);
|
|
69680
|
+
return {
|
|
69681
|
+
rest: api
|
|
69682
|
+
};
|
|
69683
|
+
}
|
|
69684
|
+
restEndpointMethods.VERSION = VERSION9;
|
|
69685
|
+
function legacyRestEndpointMethods(octokit) {
|
|
69686
|
+
const api = endpointsToMethods(octokit);
|
|
69687
|
+
return {
|
|
69688
|
+
...api,
|
|
69689
|
+
rest: api
|
|
69690
|
+
};
|
|
69691
|
+
}
|
|
69692
|
+
legacyRestEndpointMethods.VERSION = VERSION9;
|
|
69693
|
+
|
|
69694
|
+
// ../../node_modules/.pnpm/@octokit+rest@22.0.1/node_modules/@octokit/rest/dist-src/version.js
|
|
69695
|
+
var VERSION10 = "22.0.1";
|
|
69696
|
+
|
|
69697
|
+
// ../../node_modules/.pnpm/@octokit+rest@22.0.1/node_modules/@octokit/rest/dist-src/index.js
|
|
69698
|
+
var Octokit2 = Octokit.plugin(requestLog, legacyRestEndpointMethods, paginateRest).defaults(
|
|
69699
|
+
{
|
|
69700
|
+
userAgent: `octokit-rest.js/${VERSION10}`
|
|
69701
|
+
}
|
|
69702
|
+
);
|
|
69703
|
+
|
|
65995
69704
|
// src/preview-github.ts
|
|
65996
|
-
import { Octokit } from "@octokit/rest";
|
|
65997
69705
|
function createOctokit(token) {
|
|
65998
|
-
return new
|
|
69706
|
+
return new Octokit2({ auth: token });
|
|
65999
69707
|
}
|
|
66000
69708
|
async function findPreviewComment(octokit, owner, repo, prNumber) {
|
|
66001
|
-
const
|
|
69709
|
+
const iterator2 = octokit.paginate.iterator(octokit.rest.issues.listComments, {
|
|
66002
69710
|
owner,
|
|
66003
69711
|
repo,
|
|
66004
69712
|
issue_number: prNumber,
|
|
66005
69713
|
per_page: 100
|
|
66006
69714
|
});
|
|
66007
|
-
for await (const response of
|
|
69715
|
+
for await (const response of iterator2) {
|
|
66008
69716
|
for (const comment of response.data) {
|
|
66009
69717
|
if (comment.body?.startsWith(MARKER)) {
|
|
66010
69718
|
return comment.id;
|
|
@@ -66465,4 +70173,11 @@ ejs/lib/esm/ejs.js:
|
|
|
66465
70173
|
|
|
66466
70174
|
js-yaml/dist/js-yaml.mjs:
|
|
66467
70175
|
(*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT *)
|
|
70176
|
+
|
|
70177
|
+
@octokit/request-error/dist-src/index.js:
|
|
70178
|
+
(* v8 ignore else -- @preserve -- Bug with vitest coverage where it sees an else branch that doesn't exist *)
|
|
70179
|
+
|
|
70180
|
+
@octokit/request/dist-bundle/index.js:
|
|
70181
|
+
(* v8 ignore next -- @preserve *)
|
|
70182
|
+
(* v8 ignore else -- @preserve *)
|
|
66468
70183
|
*/
|