@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/cli.js
CHANGED
|
@@ -3006,9 +3006,9 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
3006
3006
|
_chainOrCallSubCommandHook(promise3, subCommand, event) {
|
|
3007
3007
|
let result = promise3;
|
|
3008
3008
|
if (this._lifeCycleHooks[event] !== void 0) {
|
|
3009
|
-
this._lifeCycleHooks[event].forEach((
|
|
3009
|
+
this._lifeCycleHooks[event].forEach((hook2) => {
|
|
3010
3010
|
result = this._chainOrCall(result, () => {
|
|
3011
|
-
return
|
|
3011
|
+
return hook2(this, subCommand);
|
|
3012
3012
|
});
|
|
3013
3013
|
});
|
|
3014
3014
|
}
|
|
@@ -4104,7 +4104,7 @@ function skipVoid(str3, ptr, banNewLines, banComments) {
|
|
|
4104
4104
|
}
|
|
4105
4105
|
return ptr;
|
|
4106
4106
|
}
|
|
4107
|
-
function skipUntil(str3, ptr,
|
|
4107
|
+
function skipUntil(str3, ptr, sep5, end, banNewLines = false) {
|
|
4108
4108
|
if (!end) {
|
|
4109
4109
|
ptr = indexOfNewline(str3, ptr);
|
|
4110
4110
|
return ptr < 0 ? str3.length : ptr;
|
|
@@ -4113,7 +4113,7 @@ function skipUntil(str3, ptr, sep4, end, banNewLines = false) {
|
|
|
4113
4113
|
let c = str3[i];
|
|
4114
4114
|
if (c === "#") {
|
|
4115
4115
|
i = indexOfNewline(str3, i);
|
|
4116
|
-
} else if (c ===
|
|
4116
|
+
} else if (c === sep5) {
|
|
4117
4117
|
return i + 1;
|
|
4118
4118
|
} else if (c === end || banNewLines && (c === "\n" || c === "\r" && str3[i + 1] === "\n")) {
|
|
4119
4119
|
return i;
|
|
@@ -19312,6 +19312,102 @@ var init_zod = __esm({
|
|
|
19312
19312
|
}
|
|
19313
19313
|
});
|
|
19314
19314
|
|
|
19315
|
+
// ../../node_modules/.pnpm/fast-content-type-parse@3.0.0/node_modules/fast-content-type-parse/index.js
|
|
19316
|
+
var require_fast_content_type_parse = __commonJS({
|
|
19317
|
+
"../../node_modules/.pnpm/fast-content-type-parse@3.0.0/node_modules/fast-content-type-parse/index.js"(exports2, module2) {
|
|
19318
|
+
"use strict";
|
|
19319
|
+
var NullObject = function NullObject2() {
|
|
19320
|
+
};
|
|
19321
|
+
NullObject.prototype = /* @__PURE__ */ Object.create(null);
|
|
19322
|
+
var paramRE = /; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu;
|
|
19323
|
+
var quotedPairRE = /\\([\v\u0020-\u00ff])/gu;
|
|
19324
|
+
var mediaTypeRE = /^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u;
|
|
19325
|
+
var defaultContentType = { type: "", parameters: new NullObject() };
|
|
19326
|
+
Object.freeze(defaultContentType.parameters);
|
|
19327
|
+
Object.freeze(defaultContentType);
|
|
19328
|
+
function parse5(header) {
|
|
19329
|
+
if (typeof header !== "string") {
|
|
19330
|
+
throw new TypeError("argument header is required and must be a string");
|
|
19331
|
+
}
|
|
19332
|
+
let index = header.indexOf(";");
|
|
19333
|
+
const type2 = index !== -1 ? header.slice(0, index).trim() : header.trim();
|
|
19334
|
+
if (mediaTypeRE.test(type2) === false) {
|
|
19335
|
+
throw new TypeError("invalid media type");
|
|
19336
|
+
}
|
|
19337
|
+
const result = {
|
|
19338
|
+
type: type2.toLowerCase(),
|
|
19339
|
+
parameters: new NullObject()
|
|
19340
|
+
};
|
|
19341
|
+
if (index === -1) {
|
|
19342
|
+
return result;
|
|
19343
|
+
}
|
|
19344
|
+
let key;
|
|
19345
|
+
let match2;
|
|
19346
|
+
let value;
|
|
19347
|
+
paramRE.lastIndex = index;
|
|
19348
|
+
while (match2 = paramRE.exec(header)) {
|
|
19349
|
+
if (match2.index !== index) {
|
|
19350
|
+
throw new TypeError("invalid parameter format");
|
|
19351
|
+
}
|
|
19352
|
+
index += match2[0].length;
|
|
19353
|
+
key = match2[1].toLowerCase();
|
|
19354
|
+
value = match2[2];
|
|
19355
|
+
if (value[0] === '"') {
|
|
19356
|
+
value = value.slice(1, value.length - 1);
|
|
19357
|
+
quotedPairRE.test(value) && (value = value.replace(quotedPairRE, "$1"));
|
|
19358
|
+
}
|
|
19359
|
+
result.parameters[key] = value;
|
|
19360
|
+
}
|
|
19361
|
+
if (index !== header.length) {
|
|
19362
|
+
throw new TypeError("invalid parameter format");
|
|
19363
|
+
}
|
|
19364
|
+
return result;
|
|
19365
|
+
}
|
|
19366
|
+
function safeParse4(header) {
|
|
19367
|
+
if (typeof header !== "string") {
|
|
19368
|
+
return defaultContentType;
|
|
19369
|
+
}
|
|
19370
|
+
let index = header.indexOf(";");
|
|
19371
|
+
const type2 = index !== -1 ? header.slice(0, index).trim() : header.trim();
|
|
19372
|
+
if (mediaTypeRE.test(type2) === false) {
|
|
19373
|
+
return defaultContentType;
|
|
19374
|
+
}
|
|
19375
|
+
const result = {
|
|
19376
|
+
type: type2.toLowerCase(),
|
|
19377
|
+
parameters: new NullObject()
|
|
19378
|
+
};
|
|
19379
|
+
if (index === -1) {
|
|
19380
|
+
return result;
|
|
19381
|
+
}
|
|
19382
|
+
let key;
|
|
19383
|
+
let match2;
|
|
19384
|
+
let value;
|
|
19385
|
+
paramRE.lastIndex = index;
|
|
19386
|
+
while (match2 = paramRE.exec(header)) {
|
|
19387
|
+
if (match2.index !== index) {
|
|
19388
|
+
return defaultContentType;
|
|
19389
|
+
}
|
|
19390
|
+
index += match2[0].length;
|
|
19391
|
+
key = match2[1].toLowerCase();
|
|
19392
|
+
value = match2[2];
|
|
19393
|
+
if (value[0] === '"') {
|
|
19394
|
+
value = value.slice(1, value.length - 1);
|
|
19395
|
+
quotedPairRE.test(value) && (value = value.replace(quotedPairRE, "$1"));
|
|
19396
|
+
}
|
|
19397
|
+
result.parameters[key] = value;
|
|
19398
|
+
}
|
|
19399
|
+
if (index !== header.length) {
|
|
19400
|
+
return defaultContentType;
|
|
19401
|
+
}
|
|
19402
|
+
return result;
|
|
19403
|
+
}
|
|
19404
|
+
module2.exports.default = { parse: parse5, safeParse: safeParse4 };
|
|
19405
|
+
module2.exports.parse = parse5;
|
|
19406
|
+
module2.exports.safeParse = safeParse4;
|
|
19407
|
+
module2.exports.defaultContentType = defaultContentType;
|
|
19408
|
+
}
|
|
19409
|
+
});
|
|
19410
|
+
|
|
19315
19411
|
// ../version/dist/chunk-Q3FHZORY.js
|
|
19316
19412
|
function shouldLog2(level) {
|
|
19317
19413
|
if (quietMode2 && level !== "error") return false;
|
|
@@ -20225,7 +20321,7 @@ var require_parse = __commonJS({
|
|
|
20225
20321
|
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/parse.js"(exports2, module2) {
|
|
20226
20322
|
"use strict";
|
|
20227
20323
|
var SemVer = require_semver();
|
|
20228
|
-
var
|
|
20324
|
+
var parse5 = (version2, options, throwErrors = false) => {
|
|
20229
20325
|
if (version2 instanceof SemVer) {
|
|
20230
20326
|
return version2;
|
|
20231
20327
|
}
|
|
@@ -20238,7 +20334,7 @@ var require_parse = __commonJS({
|
|
|
20238
20334
|
throw er;
|
|
20239
20335
|
}
|
|
20240
20336
|
};
|
|
20241
|
-
module2.exports =
|
|
20337
|
+
module2.exports = parse5;
|
|
20242
20338
|
}
|
|
20243
20339
|
});
|
|
20244
20340
|
|
|
@@ -20246,9 +20342,9 @@ var require_parse = __commonJS({
|
|
|
20246
20342
|
var require_valid = __commonJS({
|
|
20247
20343
|
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/valid.js"(exports2, module2) {
|
|
20248
20344
|
"use strict";
|
|
20249
|
-
var
|
|
20345
|
+
var parse5 = require_parse();
|
|
20250
20346
|
var valid = (version2, options) => {
|
|
20251
|
-
const v =
|
|
20347
|
+
const v = parse5(version2, options);
|
|
20252
20348
|
return v ? v.version : null;
|
|
20253
20349
|
};
|
|
20254
20350
|
module2.exports = valid;
|
|
@@ -20259,9 +20355,9 @@ var require_valid = __commonJS({
|
|
|
20259
20355
|
var require_clean = __commonJS({
|
|
20260
20356
|
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/clean.js"(exports2, module2) {
|
|
20261
20357
|
"use strict";
|
|
20262
|
-
var
|
|
20358
|
+
var parse5 = require_parse();
|
|
20263
20359
|
var clean = (version2, options) => {
|
|
20264
|
-
const s =
|
|
20360
|
+
const s = parse5(version2.trim().replace(/^[=v]+/, ""), options);
|
|
20265
20361
|
return s ? s.version : null;
|
|
20266
20362
|
};
|
|
20267
20363
|
module2.exports = clean;
|
|
@@ -20296,10 +20392,10 @@ var require_inc = __commonJS({
|
|
|
20296
20392
|
var require_diff = __commonJS({
|
|
20297
20393
|
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/diff.js"(exports2, module2) {
|
|
20298
20394
|
"use strict";
|
|
20299
|
-
var
|
|
20395
|
+
var parse5 = require_parse();
|
|
20300
20396
|
var diff = (version1, version2) => {
|
|
20301
|
-
const v1 =
|
|
20302
|
-
const v2 =
|
|
20397
|
+
const v1 = parse5(version1, null, true);
|
|
20398
|
+
const v2 = parse5(version2, null, true);
|
|
20303
20399
|
const comparison = v1.compare(v2);
|
|
20304
20400
|
if (comparison === 0) {
|
|
20305
20401
|
return null;
|
|
@@ -20370,9 +20466,9 @@ var require_patch = __commonJS({
|
|
|
20370
20466
|
var require_prerelease = __commonJS({
|
|
20371
20467
|
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/prerelease.js"(exports2, module2) {
|
|
20372
20468
|
"use strict";
|
|
20373
|
-
var
|
|
20469
|
+
var parse5 = require_parse();
|
|
20374
20470
|
var prerelease = (version2, options) => {
|
|
20375
|
-
const parsed =
|
|
20471
|
+
const parsed = parse5(version2, options);
|
|
20376
20472
|
return parsed && parsed.prerelease.length ? parsed.prerelease : null;
|
|
20377
20473
|
};
|
|
20378
20474
|
module2.exports = prerelease;
|
|
@@ -20558,7 +20654,7 @@ var require_coerce = __commonJS({
|
|
|
20558
20654
|
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/coerce.js"(exports2, module2) {
|
|
20559
20655
|
"use strict";
|
|
20560
20656
|
var SemVer = require_semver();
|
|
20561
|
-
var
|
|
20657
|
+
var parse5 = require_parse();
|
|
20562
20658
|
var { safeRe: re, t } = require_re();
|
|
20563
20659
|
var coerce = (version2, options) => {
|
|
20564
20660
|
if (version2 instanceof SemVer) {
|
|
@@ -20593,7 +20689,7 @@ var require_coerce = __commonJS({
|
|
|
20593
20689
|
const patch = match2[4] || "0";
|
|
20594
20690
|
const prerelease = options.includePrerelease && match2[5] ? `-${match2[5]}` : "";
|
|
20595
20691
|
const build2 = options.includePrerelease && match2[6] ? `+${match2[6]}` : "";
|
|
20596
|
-
return
|
|
20692
|
+
return parse5(`${major}.${minor}.${patch}${prerelease}${build2}`, options);
|
|
20597
20693
|
};
|
|
20598
20694
|
module2.exports = coerce;
|
|
20599
20695
|
}
|
|
@@ -21610,7 +21706,7 @@ var require_semver2 = __commonJS({
|
|
|
21610
21706
|
var constants = require_constants();
|
|
21611
21707
|
var SemVer = require_semver();
|
|
21612
21708
|
var identifiers = require_identifiers();
|
|
21613
|
-
var
|
|
21709
|
+
var parse5 = require_parse();
|
|
21614
21710
|
var valid = require_valid();
|
|
21615
21711
|
var clean = require_clean();
|
|
21616
21712
|
var inc = require_inc();
|
|
@@ -21648,7 +21744,7 @@ var require_semver2 = __commonJS({
|
|
|
21648
21744
|
var simplifyRange = require_simplify();
|
|
21649
21745
|
var subset = require_subset();
|
|
21650
21746
|
module2.exports = {
|
|
21651
|
-
parse:
|
|
21747
|
+
parse: parse5,
|
|
21652
21748
|
valid,
|
|
21653
21749
|
clean,
|
|
21654
21750
|
inc,
|
|
@@ -21935,8 +22031,8 @@ var init_CommitParser = __esm({
|
|
|
21935
22031
|
parseMerge() {
|
|
21936
22032
|
const { commit, options } = this;
|
|
21937
22033
|
const correspondence = options.mergeCorrespondence || [];
|
|
21938
|
-
const
|
|
21939
|
-
const matches =
|
|
22034
|
+
const merge4 = this.currentLine();
|
|
22035
|
+
const matches = merge4 && options.mergePattern ? merge4.match(options.mergePattern) : null;
|
|
21940
22036
|
if (matches) {
|
|
21941
22037
|
this.nextLine();
|
|
21942
22038
|
commit.merge = matches[0] || null;
|
|
@@ -22141,7 +22237,7 @@ function parseCommits(options = {}) {
|
|
|
22141
22237
|
throw err;
|
|
22142
22238
|
} : warnOption ? (err) => warnOption(err.toString()) : () => {
|
|
22143
22239
|
};
|
|
22144
|
-
return async function*
|
|
22240
|
+
return async function* parse5(rawCommits) {
|
|
22145
22241
|
const parser = new CommitParser(options);
|
|
22146
22242
|
let rawCommit;
|
|
22147
22243
|
for await (rawCommit of rawCommits) {
|
|
@@ -22348,9 +22444,9 @@ var init_ConventionalGitClient = __esm({
|
|
|
22348
22444
|
yield* filterRevertedCommits2(this.getCommits(gitLogParams, parserOptions));
|
|
22349
22445
|
return;
|
|
22350
22446
|
}
|
|
22351
|
-
const
|
|
22447
|
+
const parse5 = parseCommits2(parserOptions);
|
|
22352
22448
|
const commitsStream = this.getRawCommits(gitLogParams);
|
|
22353
|
-
yield*
|
|
22449
|
+
yield* parse5(commitsStream);
|
|
22354
22450
|
}
|
|
22355
22451
|
/**
|
|
22356
22452
|
* Get semver tags stream.
|
|
@@ -23123,9 +23219,9 @@ var init_ConventionalGitClient2 = __esm({
|
|
|
23123
23219
|
yield* filterRevertedCommits2(this.getCommits(gitLogParams, parserOptions));
|
|
23124
23220
|
return;
|
|
23125
23221
|
}
|
|
23126
|
-
const
|
|
23222
|
+
const parse5 = parseCommits2(parserOptions);
|
|
23127
23223
|
const commitsStream = this.getRawCommits(gitLogParams);
|
|
23128
|
-
yield*
|
|
23224
|
+
yield* parse5(commitsStream);
|
|
23129
23225
|
}
|
|
23130
23226
|
/**
|
|
23131
23227
|
* Get semver tags stream.
|
|
@@ -24771,7 +24867,7 @@ function parseCommaParts(str3) {
|
|
|
24771
24867
|
parts.push.apply(parts, p);
|
|
24772
24868
|
return parts;
|
|
24773
24869
|
}
|
|
24774
|
-
function
|
|
24870
|
+
function expand2(str3, options = {}) {
|
|
24775
24871
|
if (!str3) {
|
|
24776
24872
|
return [];
|
|
24777
24873
|
}
|
|
@@ -25719,7 +25815,7 @@ var init_escape = __esm({
|
|
|
25719
25815
|
});
|
|
25720
25816
|
|
|
25721
25817
|
// ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/index.js
|
|
25722
|
-
var minimatch, starDotExtRE, starDotExtTest, starDotExtTestDot, starDotExtTestNocase, starDotExtTestNocaseDot, starDotStarRE, starDotStarTest, starDotStarTestDot, dotStarRE, dotStarTest, starRE, starTest, starTestDot, qmarksRE, qmarksTestNocase, qmarksTestNocaseDot, qmarksTestDot, qmarksTest, qmarksTestNoExt, qmarksTestNoExtDot, defaultPlatform, path7,
|
|
25818
|
+
var minimatch, starDotExtRE, starDotExtTest, starDotExtTestDot, starDotExtTestNocase, starDotExtTestNocaseDot, starDotStarRE, starDotStarTest, starDotStarTestDot, dotStarRE, dotStarTest, starRE, starTest, starTestDot, qmarksRE, qmarksTestNocase, qmarksTestNocaseDot, qmarksTestDot, qmarksTest, qmarksTestNoExt, qmarksTestNoExtDot, defaultPlatform, path7, sep2, GLOBSTAR, qmark2, star2, twoStarDot, twoStarNoDot, filter, ext, defaults, braceExpand, makeRe, match, globMagic, regExpEscape2, Minimatch;
|
|
25723
25819
|
var init_esm4 = __esm({
|
|
25724
25820
|
"../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/index.js"() {
|
|
25725
25821
|
"use strict";
|
|
@@ -25793,8 +25889,8 @@ var init_esm4 = __esm({
|
|
|
25793
25889
|
win32: { sep: "\\" },
|
|
25794
25890
|
posix: { sep: "/" }
|
|
25795
25891
|
};
|
|
25796
|
-
|
|
25797
|
-
minimatch.sep =
|
|
25892
|
+
sep2 = defaultPlatform === "win32" ? path7.win32.sep : path7.posix.sep;
|
|
25893
|
+
minimatch.sep = sep2;
|
|
25798
25894
|
GLOBSTAR = /* @__PURE__ */ Symbol("globstar **");
|
|
25799
25895
|
minimatch.GLOBSTAR = GLOBSTAR;
|
|
25800
25896
|
qmark2 = "[^/]";
|
|
@@ -25846,7 +25942,7 @@ var init_esm4 = __esm({
|
|
|
25846
25942
|
if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) {
|
|
25847
25943
|
return [pattern];
|
|
25848
25944
|
}
|
|
25849
|
-
return
|
|
25945
|
+
return expand2(pattern, { max: options.braceExpandMax });
|
|
25850
25946
|
};
|
|
25851
25947
|
minimatch.braceExpand = braceExpand;
|
|
25852
25948
|
makeRe = (pattern, options = {}) => new Minimatch(pattern, options).makeRe();
|
|
@@ -26543,11 +26639,11 @@ var init_esm4 = __esm({
|
|
|
26543
26639
|
|
|
26544
26640
|
// ../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.4/node_modules/fdir/dist/index.mjs
|
|
26545
26641
|
import { createRequire } from "module";
|
|
26546
|
-
import { basename, dirname as dirname3, normalize, relative, resolve as resolve2, sep as
|
|
26642
|
+
import { basename, dirname as dirname3, normalize, relative, resolve as resolve2, sep as sep3 } from "path";
|
|
26547
26643
|
import * as nativeFs from "fs";
|
|
26548
26644
|
function cleanPath(path18) {
|
|
26549
26645
|
let normalized = normalize(path18);
|
|
26550
|
-
if (normalized.length > 1 && normalized[normalized.length - 1] ===
|
|
26646
|
+
if (normalized.length > 1 && normalized[normalized.length - 1] === sep3) normalized = normalized.substring(0, normalized.length - 1);
|
|
26551
26647
|
return normalized;
|
|
26552
26648
|
}
|
|
26553
26649
|
function convertSlashes(path18, separator) {
|
|
@@ -26937,7 +27033,7 @@ var init_dist12 = __esm({
|
|
|
26937
27033
|
options = {
|
|
26938
27034
|
maxDepth: Infinity,
|
|
26939
27035
|
suppressErrors: true,
|
|
26940
|
-
pathSeparator:
|
|
27036
|
+
pathSeparator: sep3,
|
|
26941
27037
|
filters: []
|
|
26942
27038
|
};
|
|
26943
27039
|
globFunction;
|
|
@@ -27888,7 +27984,7 @@ var require_parse2 = __commonJS({
|
|
|
27888
27984
|
}
|
|
27889
27985
|
return { risky: false };
|
|
27890
27986
|
};
|
|
27891
|
-
var
|
|
27987
|
+
var parse5 = (input, options) => {
|
|
27892
27988
|
if (typeof input !== "string") {
|
|
27893
27989
|
throw new TypeError("Expected a string");
|
|
27894
27990
|
}
|
|
@@ -28058,7 +28154,7 @@ var require_parse2 = __commonJS({
|
|
|
28058
28154
|
output3 = token.close = `)$))${extglobStar}`;
|
|
28059
28155
|
}
|
|
28060
28156
|
if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) {
|
|
28061
|
-
const expression =
|
|
28157
|
+
const expression = parse5(rest, { ...options, fastpaths: false }).output;
|
|
28062
28158
|
output3 = token.close = `)${expression})${extglobStar})`;
|
|
28063
28159
|
}
|
|
28064
28160
|
if (token.prev.type === "bos") {
|
|
@@ -28580,7 +28676,7 @@ var require_parse2 = __commonJS({
|
|
|
28580
28676
|
}
|
|
28581
28677
|
return state;
|
|
28582
28678
|
};
|
|
28583
|
-
|
|
28679
|
+
parse5.fastpaths = (input, options) => {
|
|
28584
28680
|
const opts = { ...options };
|
|
28585
28681
|
const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
|
|
28586
28682
|
const len = input.length;
|
|
@@ -28645,7 +28741,7 @@ var require_parse2 = __commonJS({
|
|
|
28645
28741
|
}
|
|
28646
28742
|
return source;
|
|
28647
28743
|
};
|
|
28648
|
-
module2.exports =
|
|
28744
|
+
module2.exports = parse5;
|
|
28649
28745
|
}
|
|
28650
28746
|
});
|
|
28651
28747
|
|
|
@@ -28654,7 +28750,7 @@ var require_picomatch = __commonJS({
|
|
|
28654
28750
|
"../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/picomatch.js"(exports2, module2) {
|
|
28655
28751
|
"use strict";
|
|
28656
28752
|
var scan = require_scan();
|
|
28657
|
-
var
|
|
28753
|
+
var parse5 = require_parse2();
|
|
28658
28754
|
var utils2 = require_utils();
|
|
28659
28755
|
var constants = require_constants2();
|
|
28660
28756
|
var isObject4 = (val) => val && typeof val === "object" && !Array.isArray(val);
|
|
@@ -28742,7 +28838,7 @@ var require_picomatch = __commonJS({
|
|
|
28742
28838
|
picomatch2.isMatch = (str3, patterns, options) => picomatch2(patterns, options)(str3);
|
|
28743
28839
|
picomatch2.parse = (pattern, options) => {
|
|
28744
28840
|
if (Array.isArray(pattern)) return pattern.map((p) => picomatch2.parse(p, options));
|
|
28745
|
-
return
|
|
28841
|
+
return parse5(pattern, { ...options, fastpaths: false });
|
|
28746
28842
|
};
|
|
28747
28843
|
picomatch2.scan = (input, options) => scan(input, options);
|
|
28748
28844
|
picomatch2.compileRe = (state, options, returnOutput = false, returnState = false) => {
|
|
@@ -28768,10 +28864,10 @@ var require_picomatch = __commonJS({
|
|
|
28768
28864
|
}
|
|
28769
28865
|
let parsed = { negated: false, fastpaths: true };
|
|
28770
28866
|
if (options.fastpaths !== false && (input[0] === "." || input[0] === "*")) {
|
|
28771
|
-
parsed.output =
|
|
28867
|
+
parsed.output = parse5.fastpaths(input, options);
|
|
28772
28868
|
}
|
|
28773
28869
|
if (!parsed.output) {
|
|
28774
|
-
parsed =
|
|
28870
|
+
parsed = parse5(input, options);
|
|
28775
28871
|
}
|
|
28776
28872
|
return picomatch2.compileRe(parsed, options, returnOutput, returnState);
|
|
28777
28873
|
};
|
|
@@ -30698,17 +30794,17 @@ function loadDocuments(input, options) {
|
|
|
30698
30794
|
}
|
|
30699
30795
|
return state.documents;
|
|
30700
30796
|
}
|
|
30701
|
-
function loadAll$1(input,
|
|
30702
|
-
if (
|
|
30703
|
-
options =
|
|
30704
|
-
|
|
30797
|
+
function loadAll$1(input, iterator2, options) {
|
|
30798
|
+
if (iterator2 !== null && typeof iterator2 === "object" && typeof options === "undefined") {
|
|
30799
|
+
options = iterator2;
|
|
30800
|
+
iterator2 = null;
|
|
30705
30801
|
}
|
|
30706
30802
|
var documents = loadDocuments(input, options);
|
|
30707
|
-
if (typeof
|
|
30803
|
+
if (typeof iterator2 !== "function") {
|
|
30708
30804
|
return documents;
|
|
30709
30805
|
}
|
|
30710
30806
|
for (var index = 0, length = documents.length; index < length; index += 1) {
|
|
30711
|
-
|
|
30807
|
+
iterator2(documents[index]);
|
|
30712
30808
|
}
|
|
30713
30809
|
}
|
|
30714
30810
|
function load$1(input, options) {
|
|
@@ -31274,7 +31370,7 @@ function renamed(from, to) {
|
|
|
31274
31370
|
throw new Error("Function yaml." + from + " is removed in js-yaml 4. Use yaml." + to + " instead, which is now safe by default.");
|
|
31275
31371
|
};
|
|
31276
31372
|
}
|
|
31277
|
-
var isNothing_1, isObject_1, toArray_1, repeat_1, isNegativeZero_1, extend_1, common, exception, snippet, TYPE_CONSTRUCTOR_OPTIONS, YAML_NODE_KINDS, type, schema, str, seq, map2, failsafe, _null4, bool, int2, YAML_FLOAT_PATTERN, SCIENTIFIC_WITHOUT_DOT, float, json2, core, YAML_DATE_REGEXP, YAML_TIMESTAMP_REGEXP, timestamp,
|
|
31373
|
+
var isNothing_1, isObject_1, toArray_1, repeat_1, isNegativeZero_1, extend_1, common, exception, snippet, TYPE_CONSTRUCTOR_OPTIONS, YAML_NODE_KINDS, type, schema, str, seq, map2, failsafe, _null4, bool, int2, YAML_FLOAT_PATTERN, SCIENTIFIC_WITHOUT_DOT, float, json2, core, YAML_DATE_REGEXP, YAML_TIMESTAMP_REGEXP, timestamp, merge3, BASE64_MAP, binary, _hasOwnProperty$3, _toString$2, omap, _toString$1, pairs, _hasOwnProperty$2, set2, _default3, _hasOwnProperty$1, CONTEXT_FLOW_IN, CONTEXT_FLOW_OUT, CONTEXT_BLOCK_IN, CONTEXT_BLOCK_OUT, CHOMPING_CLIP, CHOMPING_STRIP, CHOMPING_KEEP, PATTERN_NON_PRINTABLE, PATTERN_NON_ASCII_LINE_BREAKS, PATTERN_FLOW_INDICATORS, PATTERN_TAG_HANDLE, PATTERN_TAG_URI, simpleEscapeCheck, simpleEscapeMap, i, directiveHandlers, loadAll_1, load_1, loader, _toString, _hasOwnProperty, CHAR_BOM, CHAR_TAB, CHAR_LINE_FEED, CHAR_CARRIAGE_RETURN, CHAR_SPACE, CHAR_EXCLAMATION, CHAR_DOUBLE_QUOTE, CHAR_SHARP, CHAR_PERCENT, CHAR_AMPERSAND, CHAR_SINGLE_QUOTE, CHAR_ASTERISK, CHAR_COMMA, CHAR_MINUS, CHAR_COLON, CHAR_EQUALS, CHAR_GREATER_THAN, CHAR_QUESTION, CHAR_COMMERCIAL_AT, CHAR_LEFT_SQUARE_BRACKET, CHAR_RIGHT_SQUARE_BRACKET, CHAR_GRAVE_ACCENT, CHAR_LEFT_CURLY_BRACKET, CHAR_VERTICAL_LINE, CHAR_RIGHT_CURLY_BRACKET, ESCAPE_SEQUENCES, DEPRECATED_BOOLEANS_SYNTAX, DEPRECATED_BASE60_SYNTAX, QUOTING_TYPE_SINGLE, QUOTING_TYPE_DOUBLE, STYLE_PLAIN, STYLE_SINGLE, STYLE_LITERAL, STYLE_FOLDED, STYLE_DOUBLE, dump_1, dumper, Type, Schema, FAILSAFE_SCHEMA, JSON_SCHEMA, CORE_SCHEMA, DEFAULT_SCHEMA, load, loadAll, dump, YAMLException, types2, safeLoad, safeLoadAll, safeDump, jsYaml;
|
|
31278
31374
|
var init_js_yaml = __esm({
|
|
31279
31375
|
"../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/dist/js-yaml.mjs"() {
|
|
31280
31376
|
"use strict";
|
|
@@ -31485,7 +31581,7 @@ var init_js_yaml = __esm({
|
|
|
31485
31581
|
instanceOf: Date,
|
|
31486
31582
|
represent: representYamlTimestamp
|
|
31487
31583
|
});
|
|
31488
|
-
|
|
31584
|
+
merge3 = new type("tag:yaml.org,2002:merge", {
|
|
31489
31585
|
kind: "scalar",
|
|
31490
31586
|
resolve: resolveYamlMerge
|
|
31491
31587
|
});
|
|
@@ -31519,7 +31615,7 @@ var init_js_yaml = __esm({
|
|
|
31519
31615
|
_default3 = core.extend({
|
|
31520
31616
|
implicit: [
|
|
31521
31617
|
timestamp,
|
|
31522
|
-
|
|
31618
|
+
merge3
|
|
31523
31619
|
],
|
|
31524
31620
|
explicit: [
|
|
31525
31621
|
binary,
|
|
@@ -31694,7 +31790,7 @@ var init_js_yaml = __esm({
|
|
|
31694
31790
|
timestamp,
|
|
31695
31791
|
bool,
|
|
31696
31792
|
int: int2,
|
|
31697
|
-
merge:
|
|
31793
|
+
merge: merge3,
|
|
31698
31794
|
omap,
|
|
31699
31795
|
seq,
|
|
31700
31796
|
str
|
|
@@ -31799,7 +31895,7 @@ var require_parse3 = __commonJS({
|
|
|
31799
31895
|
}
|
|
31800
31896
|
return result + "\n" + srcline + "\n" + underline;
|
|
31801
31897
|
}
|
|
31802
|
-
function
|
|
31898
|
+
function parse5(input, options) {
|
|
31803
31899
|
var json5 = false;
|
|
31804
31900
|
var cjson = false;
|
|
31805
31901
|
if (options.legacy || options.mode === "json") {
|
|
@@ -32257,7 +32353,7 @@ var require_parse3 = __commonJS({
|
|
|
32257
32353
|
}
|
|
32258
32354
|
}
|
|
32259
32355
|
try {
|
|
32260
|
-
return
|
|
32356
|
+
return parse5(input, options);
|
|
32261
32357
|
} catch (err) {
|
|
32262
32358
|
if (err instanceof SyntaxError && err.row != null && err.column != null) {
|
|
32263
32359
|
var old_err = err;
|
|
@@ -36769,11 +36865,11 @@ var init_sleep = __esm({
|
|
|
36769
36865
|
});
|
|
36770
36866
|
|
|
36771
36867
|
// ../../node_modules/.pnpm/@anthropic-ai+sdk@0.82.0_zod@4.3.6/node_modules/@anthropic-ai/sdk/version.mjs
|
|
36772
|
-
var
|
|
36868
|
+
var VERSION9;
|
|
36773
36869
|
var init_version = __esm({
|
|
36774
36870
|
"../../node_modules/.pnpm/@anthropic-ai+sdk@0.82.0_zod@4.3.6/node_modules/@anthropic-ai/sdk/version.mjs"() {
|
|
36775
36871
|
"use strict";
|
|
36776
|
-
|
|
36872
|
+
VERSION9 = "0.82.0";
|
|
36777
36873
|
}
|
|
36778
36874
|
});
|
|
36779
36875
|
|
|
@@ -36831,7 +36927,7 @@ var init_detect_platform = __esm({
|
|
|
36831
36927
|
if (detectedPlatform === "deno") {
|
|
36832
36928
|
return {
|
|
36833
36929
|
"X-Stainless-Lang": "js",
|
|
36834
|
-
"X-Stainless-Package-Version":
|
|
36930
|
+
"X-Stainless-Package-Version": VERSION9,
|
|
36835
36931
|
"X-Stainless-OS": normalizePlatform(Deno.build.os),
|
|
36836
36932
|
"X-Stainless-Arch": normalizeArch(Deno.build.arch),
|
|
36837
36933
|
"X-Stainless-Runtime": "deno",
|
|
@@ -36841,7 +36937,7 @@ var init_detect_platform = __esm({
|
|
|
36841
36937
|
if (typeof EdgeRuntime !== "undefined") {
|
|
36842
36938
|
return {
|
|
36843
36939
|
"X-Stainless-Lang": "js",
|
|
36844
|
-
"X-Stainless-Package-Version":
|
|
36940
|
+
"X-Stainless-Package-Version": VERSION9,
|
|
36845
36941
|
"X-Stainless-OS": "Unknown",
|
|
36846
36942
|
"X-Stainless-Arch": `other:${EdgeRuntime}`,
|
|
36847
36943
|
"X-Stainless-Runtime": "edge",
|
|
@@ -36851,7 +36947,7 @@ var init_detect_platform = __esm({
|
|
|
36851
36947
|
if (detectedPlatform === "node") {
|
|
36852
36948
|
return {
|
|
36853
36949
|
"X-Stainless-Lang": "js",
|
|
36854
|
-
"X-Stainless-Package-Version":
|
|
36950
|
+
"X-Stainless-Package-Version": VERSION9,
|
|
36855
36951
|
"X-Stainless-OS": normalizePlatform(globalThis.process.platform ?? "unknown"),
|
|
36856
36952
|
"X-Stainless-Arch": normalizeArch(globalThis.process.arch ?? "unknown"),
|
|
36857
36953
|
"X-Stainless-Runtime": "node",
|
|
@@ -36862,7 +36958,7 @@ var init_detect_platform = __esm({
|
|
|
36862
36958
|
if (browserInfo) {
|
|
36863
36959
|
return {
|
|
36864
36960
|
"X-Stainless-Lang": "js",
|
|
36865
|
-
"X-Stainless-Package-Version":
|
|
36961
|
+
"X-Stainless-Package-Version": VERSION9,
|
|
36866
36962
|
"X-Stainless-OS": "Unknown",
|
|
36867
36963
|
"X-Stainless-Arch": "unknown",
|
|
36868
36964
|
"X-Stainless-Runtime": `browser:${browserInfo.browser}`,
|
|
@@ -36871,7 +36967,7 @@ var init_detect_platform = __esm({
|
|
|
36871
36967
|
}
|
|
36872
36968
|
return {
|
|
36873
36969
|
"X-Stainless-Lang": "js",
|
|
36874
|
-
"X-Stainless-Package-Version":
|
|
36970
|
+
"X-Stainless-Package-Version": VERSION9,
|
|
36875
36971
|
"X-Stainless-OS": "Unknown",
|
|
36876
36972
|
"X-Stainless-Arch": "unknown",
|
|
36877
36973
|
"X-Stainless-Runtime": "unknown",
|
|
@@ -37142,11 +37238,11 @@ var init_line = __esm({
|
|
|
37142
37238
|
});
|
|
37143
37239
|
|
|
37144
37240
|
// ../../node_modules/.pnpm/@anthropic-ai+sdk@0.82.0_zod@4.3.6/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs
|
|
37145
|
-
function
|
|
37241
|
+
function noop3() {
|
|
37146
37242
|
}
|
|
37147
37243
|
function makeLogFn(fnLevel, logger, logLevel) {
|
|
37148
37244
|
if (!logger || levelNumbers[fnLevel] > levelNumbers[logLevel]) {
|
|
37149
|
-
return
|
|
37245
|
+
return noop3;
|
|
37150
37246
|
} else {
|
|
37151
37247
|
return logger[fnLevel].bind(logger);
|
|
37152
37248
|
}
|
|
@@ -37193,10 +37289,10 @@ var init_log = __esm({
|
|
|
37193
37289
|
return void 0;
|
|
37194
37290
|
};
|
|
37195
37291
|
noopLogger = {
|
|
37196
|
-
error:
|
|
37197
|
-
warn:
|
|
37198
|
-
info:
|
|
37199
|
-
debug:
|
|
37292
|
+
error: noop3,
|
|
37293
|
+
warn: noop3,
|
|
37294
|
+
info: noop3,
|
|
37295
|
+
debug: noop3
|
|
37200
37296
|
};
|
|
37201
37297
|
cachedLoggers = /* @__PURE__ */ new WeakMap();
|
|
37202
37298
|
formatRequestDetails = (details) => {
|
|
@@ -37246,9 +37342,9 @@ async function* _iterSSEMessages(response, controller) {
|
|
|
37246
37342
|
yield sse;
|
|
37247
37343
|
}
|
|
37248
37344
|
}
|
|
37249
|
-
async function* iterSSEChunks(
|
|
37345
|
+
async function* iterSSEChunks(iterator2) {
|
|
37250
37346
|
let data = new Uint8Array();
|
|
37251
|
-
for await (const chunk of
|
|
37347
|
+
for await (const chunk of iterator2) {
|
|
37252
37348
|
if (chunk == null) {
|
|
37253
37349
|
continue;
|
|
37254
37350
|
}
|
|
@@ -37289,8 +37385,8 @@ var init_streaming = __esm({
|
|
|
37289
37385
|
init_log();
|
|
37290
37386
|
init_error2();
|
|
37291
37387
|
Stream = class _Stream {
|
|
37292
|
-
constructor(
|
|
37293
|
-
this.iterator =
|
|
37388
|
+
constructor(iterator2, controller, client) {
|
|
37389
|
+
this.iterator = iterator2;
|
|
37294
37390
|
_Stream_client.set(this, void 0);
|
|
37295
37391
|
this.controller = controller;
|
|
37296
37392
|
__classPrivateFieldSet(this, _Stream_client, client, "f");
|
|
@@ -37298,7 +37394,7 @@ var init_streaming = __esm({
|
|
|
37298
37394
|
static fromSSEResponse(response, controller, client) {
|
|
37299
37395
|
let consumed = false;
|
|
37300
37396
|
const logger = client ? loggerFor(client) : console;
|
|
37301
|
-
async function*
|
|
37397
|
+
async function* iterator2() {
|
|
37302
37398
|
if (consumed) {
|
|
37303
37399
|
throw new AnthropicError("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");
|
|
37304
37400
|
}
|
|
@@ -37343,7 +37439,7 @@ var init_streaming = __esm({
|
|
|
37343
37439
|
controller.abort();
|
|
37344
37440
|
}
|
|
37345
37441
|
}
|
|
37346
|
-
return new _Stream(
|
|
37442
|
+
return new _Stream(iterator2, controller, client);
|
|
37347
37443
|
}
|
|
37348
37444
|
/**
|
|
37349
37445
|
* Generates a Stream from a newline-separated ReadableStream
|
|
@@ -37363,7 +37459,7 @@ var init_streaming = __esm({
|
|
|
37363
37459
|
yield line;
|
|
37364
37460
|
}
|
|
37365
37461
|
}
|
|
37366
|
-
async function*
|
|
37462
|
+
async function* iterator2() {
|
|
37367
37463
|
if (consumed) {
|
|
37368
37464
|
throw new AnthropicError("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");
|
|
37369
37465
|
}
|
|
@@ -37386,7 +37482,7 @@ var init_streaming = __esm({
|
|
|
37386
37482
|
controller.abort();
|
|
37387
37483
|
}
|
|
37388
37484
|
}
|
|
37389
|
-
return new _Stream(
|
|
37485
|
+
return new _Stream(iterator2, controller, client);
|
|
37390
37486
|
}
|
|
37391
37487
|
[(_Stream_client = /* @__PURE__ */ new WeakMap(), Symbol.asyncIterator)]() {
|
|
37392
37488
|
return this.iterator();
|
|
@@ -37398,12 +37494,12 @@ var init_streaming = __esm({
|
|
|
37398
37494
|
tee() {
|
|
37399
37495
|
const left = [];
|
|
37400
37496
|
const right = [];
|
|
37401
|
-
const
|
|
37497
|
+
const iterator2 = this.iterator();
|
|
37402
37498
|
const teeIterator = (queue) => {
|
|
37403
37499
|
return {
|
|
37404
37500
|
next: () => {
|
|
37405
37501
|
if (queue.length === 0) {
|
|
37406
|
-
const result =
|
|
37502
|
+
const result = iterator2.next();
|
|
37407
37503
|
left.push(result);
|
|
37408
37504
|
right.push(result);
|
|
37409
37505
|
}
|
|
@@ -37662,8 +37758,8 @@ var init_pagination = __esm({
|
|
|
37662
37758
|
}
|
|
37663
37759
|
};
|
|
37664
37760
|
PagePromise = class extends APIPromise {
|
|
37665
|
-
constructor(client,
|
|
37666
|
-
super(client,
|
|
37761
|
+
constructor(client, request2, Page3) {
|
|
37762
|
+
super(client, request2, async (client2, props) => new Page3(client2, props.response, await defaultParseResponse(client2, props), props.options));
|
|
37667
37763
|
}
|
|
37668
37764
|
/**
|
|
37669
37765
|
* Allow auto-paginating iteration on an unawaited list call, eg:
|
|
@@ -39641,8 +39737,8 @@ var init_jsonl = __esm({
|
|
|
39641
39737
|
init_shims();
|
|
39642
39738
|
init_line();
|
|
39643
39739
|
JSONLDecoder = class _JSONLDecoder {
|
|
39644
|
-
constructor(
|
|
39645
|
-
this.iterator =
|
|
39740
|
+
constructor(iterator2, controller) {
|
|
39741
|
+
this.iterator = iterator2;
|
|
39646
39742
|
this.controller = controller;
|
|
39647
39743
|
}
|
|
39648
39744
|
async *decoder() {
|
|
@@ -41421,7 +41517,7 @@ var init_client = __esm({
|
|
|
41421
41517
|
return stringifyQuery(query);
|
|
41422
41518
|
}
|
|
41423
41519
|
getUserAgent() {
|
|
41424
|
-
return `${this.constructor.name}/JS ${
|
|
41520
|
+
return `${this.constructor.name}/JS ${VERSION9}`;
|
|
41425
41521
|
}
|
|
41426
41522
|
defaultIdempotencyKey() {
|
|
41427
41523
|
return `stainless-node-retry-${uuid42()}`;
|
|
@@ -41461,7 +41557,7 @@ var init_client = __esm({
|
|
|
41461
41557
|
* This is useful for cases where you want to add certain headers based off of
|
|
41462
41558
|
* the request properties, e.g. `method` or `url`.
|
|
41463
41559
|
*/
|
|
41464
|
-
async prepareRequest(
|
|
41560
|
+
async prepareRequest(request2, { url: url2, options }) {
|
|
41465
41561
|
}
|
|
41466
41562
|
get(path18, opts) {
|
|
41467
41563
|
return this.methodRequest("get", path18, opts);
|
|
@@ -41588,8 +41684,8 @@ var init_client = __esm({
|
|
|
41588
41684
|
return this.requestAPIList(Page3, opts && "then" in opts ? opts.then((opts2) => ({ method: "get", path: path18, ...opts2 })) : { method: "get", path: path18, ...opts });
|
|
41589
41685
|
}
|
|
41590
41686
|
requestAPIList(Page3, options) {
|
|
41591
|
-
const
|
|
41592
|
-
return new PagePromise(this,
|
|
41687
|
+
const request2 = this.makeRequest(options, null, void 0);
|
|
41688
|
+
return new PagePromise(this, request2, Page3);
|
|
41593
41689
|
}
|
|
41594
41690
|
async fetchWithTimeout(url2, init, ms, controller) {
|
|
41595
41691
|
const { signal, method, ...options } = init || {};
|
|
@@ -42051,11 +42147,11 @@ var init_sleep2 = __esm({
|
|
|
42051
42147
|
});
|
|
42052
42148
|
|
|
42053
42149
|
// ../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/version.mjs
|
|
42054
|
-
var
|
|
42150
|
+
var VERSION10;
|
|
42055
42151
|
var init_version2 = __esm({
|
|
42056
42152
|
"../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/version.mjs"() {
|
|
42057
42153
|
"use strict";
|
|
42058
|
-
|
|
42154
|
+
VERSION10 = "6.33.0";
|
|
42059
42155
|
}
|
|
42060
42156
|
});
|
|
42061
42157
|
|
|
@@ -42113,7 +42209,7 @@ var init_detect_platform2 = __esm({
|
|
|
42113
42209
|
if (detectedPlatform === "deno") {
|
|
42114
42210
|
return {
|
|
42115
42211
|
"X-Stainless-Lang": "js",
|
|
42116
|
-
"X-Stainless-Package-Version":
|
|
42212
|
+
"X-Stainless-Package-Version": VERSION10,
|
|
42117
42213
|
"X-Stainless-OS": normalizePlatform2(Deno.build.os),
|
|
42118
42214
|
"X-Stainless-Arch": normalizeArch2(Deno.build.arch),
|
|
42119
42215
|
"X-Stainless-Runtime": "deno",
|
|
@@ -42123,7 +42219,7 @@ var init_detect_platform2 = __esm({
|
|
|
42123
42219
|
if (typeof EdgeRuntime !== "undefined") {
|
|
42124
42220
|
return {
|
|
42125
42221
|
"X-Stainless-Lang": "js",
|
|
42126
|
-
"X-Stainless-Package-Version":
|
|
42222
|
+
"X-Stainless-Package-Version": VERSION10,
|
|
42127
42223
|
"X-Stainless-OS": "Unknown",
|
|
42128
42224
|
"X-Stainless-Arch": `other:${EdgeRuntime}`,
|
|
42129
42225
|
"X-Stainless-Runtime": "edge",
|
|
@@ -42133,7 +42229,7 @@ var init_detect_platform2 = __esm({
|
|
|
42133
42229
|
if (detectedPlatform === "node") {
|
|
42134
42230
|
return {
|
|
42135
42231
|
"X-Stainless-Lang": "js",
|
|
42136
|
-
"X-Stainless-Package-Version":
|
|
42232
|
+
"X-Stainless-Package-Version": VERSION10,
|
|
42137
42233
|
"X-Stainless-OS": normalizePlatform2(globalThis.process.platform ?? "unknown"),
|
|
42138
42234
|
"X-Stainless-Arch": normalizeArch2(globalThis.process.arch ?? "unknown"),
|
|
42139
42235
|
"X-Stainless-Runtime": "node",
|
|
@@ -42144,7 +42240,7 @@ var init_detect_platform2 = __esm({
|
|
|
42144
42240
|
if (browserInfo) {
|
|
42145
42241
|
return {
|
|
42146
42242
|
"X-Stainless-Lang": "js",
|
|
42147
|
-
"X-Stainless-Package-Version":
|
|
42243
|
+
"X-Stainless-Package-Version": VERSION10,
|
|
42148
42244
|
"X-Stainless-OS": "Unknown",
|
|
42149
42245
|
"X-Stainless-Arch": "unknown",
|
|
42150
42246
|
"X-Stainless-Runtime": `browser:${browserInfo.browser}`,
|
|
@@ -42153,7 +42249,7 @@ var init_detect_platform2 = __esm({
|
|
|
42153
42249
|
}
|
|
42154
42250
|
return {
|
|
42155
42251
|
"X-Stainless-Lang": "js",
|
|
42156
|
-
"X-Stainless-Package-Version":
|
|
42252
|
+
"X-Stainless-Package-Version": VERSION10,
|
|
42157
42253
|
"X-Stainless-OS": "Unknown",
|
|
42158
42254
|
"X-Stainless-Arch": "unknown",
|
|
42159
42255
|
"X-Stainless-Runtime": "unknown",
|
|
@@ -42804,11 +42900,11 @@ var init_line2 = __esm({
|
|
|
42804
42900
|
});
|
|
42805
42901
|
|
|
42806
42902
|
// ../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/internal/utils/log.mjs
|
|
42807
|
-
function
|
|
42903
|
+
function noop4() {
|
|
42808
42904
|
}
|
|
42809
42905
|
function makeLogFn2(fnLevel, logger, logLevel) {
|
|
42810
42906
|
if (!logger || levelNumbers2[fnLevel] > levelNumbers2[logLevel]) {
|
|
42811
|
-
return
|
|
42907
|
+
return noop4;
|
|
42812
42908
|
} else {
|
|
42813
42909
|
return logger[fnLevel].bind(logger);
|
|
42814
42910
|
}
|
|
@@ -42855,10 +42951,10 @@ var init_log2 = __esm({
|
|
|
42855
42951
|
return void 0;
|
|
42856
42952
|
};
|
|
42857
42953
|
noopLogger2 = {
|
|
42858
|
-
error:
|
|
42859
|
-
warn:
|
|
42860
|
-
info:
|
|
42861
|
-
debug:
|
|
42954
|
+
error: noop4,
|
|
42955
|
+
warn: noop4,
|
|
42956
|
+
info: noop4,
|
|
42957
|
+
debug: noop4
|
|
42862
42958
|
};
|
|
42863
42959
|
cachedLoggers2 = /* @__PURE__ */ new WeakMap();
|
|
42864
42960
|
formatRequestDetails2 = (details) => {
|
|
@@ -42908,9 +43004,9 @@ async function* _iterSSEMessages2(response, controller) {
|
|
|
42908
43004
|
yield sse;
|
|
42909
43005
|
}
|
|
42910
43006
|
}
|
|
42911
|
-
async function* iterSSEChunks2(
|
|
43007
|
+
async function* iterSSEChunks2(iterator2) {
|
|
42912
43008
|
let data = new Uint8Array();
|
|
42913
|
-
for await (const chunk of
|
|
43009
|
+
for await (const chunk of iterator2) {
|
|
42914
43010
|
if (chunk == null) {
|
|
42915
43011
|
continue;
|
|
42916
43012
|
}
|
|
@@ -42950,8 +43046,8 @@ var init_streaming3 = __esm({
|
|
|
42950
43046
|
init_log2();
|
|
42951
43047
|
init_error4();
|
|
42952
43048
|
Stream2 = class _Stream {
|
|
42953
|
-
constructor(
|
|
42954
|
-
this.iterator =
|
|
43049
|
+
constructor(iterator2, controller, client) {
|
|
43050
|
+
this.iterator = iterator2;
|
|
42955
43051
|
_Stream_client2.set(this, void 0);
|
|
42956
43052
|
this.controller = controller;
|
|
42957
43053
|
__classPrivateFieldSet2(this, _Stream_client2, client, "f");
|
|
@@ -42959,7 +43055,7 @@ var init_streaming3 = __esm({
|
|
|
42959
43055
|
static fromSSEResponse(response, controller, client, synthesizeEventData) {
|
|
42960
43056
|
let consumed = false;
|
|
42961
43057
|
const logger = client ? loggerFor2(client) : console;
|
|
42962
|
-
async function*
|
|
43058
|
+
async function* iterator2() {
|
|
42963
43059
|
if (consumed) {
|
|
42964
43060
|
throw new OpenAIError("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");
|
|
42965
43061
|
}
|
|
@@ -43011,7 +43107,7 @@ var init_streaming3 = __esm({
|
|
|
43011
43107
|
controller.abort();
|
|
43012
43108
|
}
|
|
43013
43109
|
}
|
|
43014
|
-
return new _Stream(
|
|
43110
|
+
return new _Stream(iterator2, controller, client);
|
|
43015
43111
|
}
|
|
43016
43112
|
/**
|
|
43017
43113
|
* Generates a Stream from a newline-separated ReadableStream
|
|
@@ -43031,7 +43127,7 @@ var init_streaming3 = __esm({
|
|
|
43031
43127
|
yield line;
|
|
43032
43128
|
}
|
|
43033
43129
|
}
|
|
43034
|
-
async function*
|
|
43130
|
+
async function* iterator2() {
|
|
43035
43131
|
if (consumed) {
|
|
43036
43132
|
throw new OpenAIError("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");
|
|
43037
43133
|
}
|
|
@@ -43054,7 +43150,7 @@ var init_streaming3 = __esm({
|
|
|
43054
43150
|
controller.abort();
|
|
43055
43151
|
}
|
|
43056
43152
|
}
|
|
43057
|
-
return new _Stream(
|
|
43153
|
+
return new _Stream(iterator2, controller, client);
|
|
43058
43154
|
}
|
|
43059
43155
|
[(_Stream_client2 = /* @__PURE__ */ new WeakMap(), Symbol.asyncIterator)]() {
|
|
43060
43156
|
return this.iterator();
|
|
@@ -43066,12 +43162,12 @@ var init_streaming3 = __esm({
|
|
|
43066
43162
|
tee() {
|
|
43067
43163
|
const left = [];
|
|
43068
43164
|
const right = [];
|
|
43069
|
-
const
|
|
43165
|
+
const iterator2 = this.iterator();
|
|
43070
43166
|
const teeIterator = (queue) => {
|
|
43071
43167
|
return {
|
|
43072
43168
|
next: () => {
|
|
43073
43169
|
if (queue.length === 0) {
|
|
43074
|
-
const result =
|
|
43170
|
+
const result = iterator2.next();
|
|
43075
43171
|
left.push(result);
|
|
43076
43172
|
right.push(result);
|
|
43077
43173
|
}
|
|
@@ -43330,8 +43426,8 @@ var init_pagination2 = __esm({
|
|
|
43330
43426
|
}
|
|
43331
43427
|
};
|
|
43332
43428
|
PagePromise2 = class extends APIPromise2 {
|
|
43333
|
-
constructor(client,
|
|
43334
|
-
super(client,
|
|
43429
|
+
constructor(client, request2, Page3) {
|
|
43430
|
+
super(client, request2, async (client2, props) => new Page3(client2, props.response, await defaultParseResponse2(client2, props), props.options));
|
|
43335
43431
|
}
|
|
43336
43432
|
/**
|
|
43337
43433
|
* Allow auto-paginating iteration on an unawaited list call, eg:
|
|
@@ -48802,8 +48898,8 @@ var init_file_batches = __esm({
|
|
|
48802
48898
|
const client = this._client;
|
|
48803
48899
|
const fileIterator = files.values();
|
|
48804
48900
|
const allFileIds = [...fileIds];
|
|
48805
|
-
async function processFiles(
|
|
48806
|
-
for (let item of
|
|
48901
|
+
async function processFiles(iterator2) {
|
|
48902
|
+
for (let item of iterator2) {
|
|
48807
48903
|
const fileObj = await client.files.create({ file: item, purpose: "assistants" }, options);
|
|
48808
48904
|
allFileIds.push(fileObj.id);
|
|
48809
48905
|
}
|
|
@@ -49414,7 +49510,7 @@ var init_client2 = __esm({
|
|
|
49414
49510
|
return stringifyQuery2(query);
|
|
49415
49511
|
}
|
|
49416
49512
|
getUserAgent() {
|
|
49417
|
-
return `${this.constructor.name}/JS ${
|
|
49513
|
+
return `${this.constructor.name}/JS ${VERSION10}`;
|
|
49418
49514
|
}
|
|
49419
49515
|
defaultIdempotencyKey() {
|
|
49420
49516
|
return `stainless-node-retry-${uuid43()}`;
|
|
@@ -49469,7 +49565,7 @@ var init_client2 = __esm({
|
|
|
49469
49565
|
* This is useful for cases where you want to add certain headers based off of
|
|
49470
49566
|
* the request properties, e.g. `method` or `url`.
|
|
49471
49567
|
*/
|
|
49472
|
-
async prepareRequest(
|
|
49568
|
+
async prepareRequest(request2, { url: url2, options }) {
|
|
49473
49569
|
}
|
|
49474
49570
|
get(path18, opts) {
|
|
49475
49571
|
return this.methodRequest("get", path18, opts);
|
|
@@ -49596,8 +49692,8 @@ var init_client2 = __esm({
|
|
|
49596
49692
|
return this.requestAPIList(Page3, opts && "then" in opts ? opts.then((opts2) => ({ method: "get", path: path18, ...opts2 })) : { method: "get", path: path18, ...opts });
|
|
49597
49693
|
}
|
|
49598
49694
|
requestAPIList(Page3, options) {
|
|
49599
|
-
const
|
|
49600
|
-
return new PagePromise2(this,
|
|
49695
|
+
const request2 = this.makeRequest(options, null, void 0);
|
|
49696
|
+
return new PagePromise2(this, request2, Page3);
|
|
49601
49697
|
}
|
|
49602
49698
|
async fetchWithTimeout(url2, init, ms, controller) {
|
|
49603
49699
|
const { signal, method, ...options } = init || {};
|
|
@@ -50742,8 +50838,8 @@ var require_each = __commonJS({
|
|
|
50742
50838
|
}
|
|
50743
50839
|
} else if (typeof Symbol === "function" && context[Symbol.iterator]) {
|
|
50744
50840
|
var newContext = [];
|
|
50745
|
-
var
|
|
50746
|
-
for (var it =
|
|
50841
|
+
var iterator2 = context[Symbol.iterator]();
|
|
50842
|
+
for (var it = iterator2.next(); !it.done; it = iterator2.next()) {
|
|
50747
50843
|
newContext.push(it.value);
|
|
50748
50844
|
}
|
|
50749
50845
|
context = newContext;
|
|
@@ -51134,8 +51230,8 @@ var require_base = __commonJS({
|
|
|
51134
51230
|
var _logger = require_logger();
|
|
51135
51231
|
var _logger2 = _interopRequireDefault(_logger);
|
|
51136
51232
|
var _internalProtoAccess = require_proto_access();
|
|
51137
|
-
var
|
|
51138
|
-
exports2.VERSION =
|
|
51233
|
+
var VERSION11 = "4.7.9";
|
|
51234
|
+
exports2.VERSION = VERSION11;
|
|
51139
51235
|
var COMPILER_REVISION = 8;
|
|
51140
51236
|
exports2.COMPILER_REVISION = COMPILER_REVISION;
|
|
51141
51237
|
var LAST_COMPATIBLE_COMPILER_REVISION = 7;
|
|
@@ -51264,7 +51360,7 @@ var require_runtime = __commonJS({
|
|
|
51264
51360
|
exports2.wrapProgram = wrapProgram;
|
|
51265
51361
|
exports2.resolvePartial = resolvePartial;
|
|
51266
51362
|
exports2.invokePartial = invokePartial;
|
|
51267
|
-
exports2.noop =
|
|
51363
|
+
exports2.noop = noop5;
|
|
51268
51364
|
function _interopRequireDefault(obj) {
|
|
51269
51365
|
return obj && obj.__esModule ? obj : { "default": obj };
|
|
51270
51366
|
}
|
|
@@ -51505,7 +51601,7 @@ var require_runtime = __commonJS({
|
|
|
51505
51601
|
options.data.contextPath = options.ids[0] || options.data.contextPath;
|
|
51506
51602
|
}
|
|
51507
51603
|
var partialBlock = void 0;
|
|
51508
|
-
if (options.fn && options.fn !==
|
|
51604
|
+
if (options.fn && options.fn !== noop5) {
|
|
51509
51605
|
(function() {
|
|
51510
51606
|
options.data = _base.createFrame(options.data);
|
|
51511
51607
|
var fn = options.fn;
|
|
@@ -51529,7 +51625,7 @@ var require_runtime = __commonJS({
|
|
|
51529
51625
|
return partial2(context, options);
|
|
51530
51626
|
}
|
|
51531
51627
|
}
|
|
51532
|
-
function
|
|
51628
|
+
function noop5() {
|
|
51533
51629
|
return "";
|
|
51534
51630
|
}
|
|
51535
51631
|
function lookupOwnProperty(obj, name) {
|
|
@@ -51943,7 +52039,7 @@ var require_parser = __commonJS({
|
|
|
51943
52039
|
parseError: function parseError(str3, hash2) {
|
|
51944
52040
|
throw new Error(str3);
|
|
51945
52041
|
},
|
|
51946
|
-
parse: function
|
|
52042
|
+
parse: function parse5(input) {
|
|
51947
52043
|
var self = this, stack = [0], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;
|
|
51948
52044
|
this.lexer.setInput(input);
|
|
51949
52045
|
this.lexer.yy = this.yy;
|
|
@@ -52856,7 +52952,7 @@ var require_base2 = __commonJS({
|
|
|
52856
52952
|
"use strict";
|
|
52857
52953
|
exports2.__esModule = true;
|
|
52858
52954
|
exports2.parseWithoutProcessing = parseWithoutProcessing;
|
|
52859
|
-
exports2.parse =
|
|
52955
|
+
exports2.parse = parse5;
|
|
52860
52956
|
function _interopRequireWildcard(obj) {
|
|
52861
52957
|
if (obj && obj.__esModule) {
|
|
52862
52958
|
return obj;
|
|
@@ -52898,7 +52994,7 @@ var require_base2 = __commonJS({
|
|
|
52898
52994
|
var ast = _parser2["default"].parse(input);
|
|
52899
52995
|
return ast;
|
|
52900
52996
|
}
|
|
52901
|
-
function
|
|
52997
|
+
function parse5(input, options) {
|
|
52902
52998
|
var ast = parseWithoutProcessing(input, options);
|
|
52903
52999
|
var strip3 = new _whitespaceControl2["default"](options);
|
|
52904
53000
|
return strip3.accept(ast);
|
|
@@ -55200,7 +55296,7 @@ var require_code_gen = __commonJS({
|
|
|
55200
55296
|
push: function push2(source, loc) {
|
|
55201
55297
|
this.source.push(this.wrap(source, loc));
|
|
55202
55298
|
},
|
|
55203
|
-
merge: function
|
|
55299
|
+
merge: function merge4() {
|
|
55204
55300
|
var source = this.empty();
|
|
55205
55301
|
this.each(function(line) {
|
|
55206
55302
|
source.add([" ", line, "\n"]);
|
|
@@ -56401,7 +56497,7 @@ var require_lib = __commonJS({
|
|
|
56401
56497
|
|
|
56402
56498
|
// ../../node_modules/.pnpm/liquidjs@10.25.2/node_modules/liquidjs/dist/liquid.node.mjs
|
|
56403
56499
|
import { PassThrough } from "stream";
|
|
56404
|
-
import { sep as
|
|
56500
|
+
import { sep as sep4, extname, resolve as resolve$1, dirname as dirname$1 } from "path";
|
|
56405
56501
|
import { statSync, readFileSync as readFileSync$1, stat, readFile as readFile$1 } from "fs";
|
|
56406
56502
|
import { createRequire as createRequire2 } from "module";
|
|
56407
56503
|
function isString(value) {
|
|
@@ -56947,7 +57043,7 @@ function dirname5(filepath) {
|
|
|
56947
57043
|
}
|
|
56948
57044
|
function contains(root, file2) {
|
|
56949
57045
|
root = resolve$1(root);
|
|
56950
|
-
root = root.endsWith(
|
|
57046
|
+
root = root.endsWith(sep4) ? root : root + sep4;
|
|
56951
57047
|
return file2.startsWith(root);
|
|
56952
57048
|
}
|
|
56953
57049
|
function defaultFilter(value, defaultValue, ...args) {
|
|
@@ -58779,7 +58875,7 @@ var init_liquid_node = __esm({
|
|
|
58779
58875
|
fallback,
|
|
58780
58876
|
dirname: dirname5,
|
|
58781
58877
|
contains,
|
|
58782
|
-
sep:
|
|
58878
|
+
sep: sep4
|
|
58783
58879
|
});
|
|
58784
58880
|
raw = {
|
|
58785
58881
|
raw: true,
|
|
@@ -59156,8 +59252,8 @@ var init_liquid_node = __esm({
|
|
|
59156
59252
|
return;
|
|
59157
59253
|
let value;
|
|
59158
59254
|
this.skipBlank();
|
|
59159
|
-
const
|
|
59160
|
-
if (this.peek() ===
|
|
59255
|
+
const sep5 = isString(jekyllStyle) ? jekyllStyle : jekyllStyle ? "=" : ":";
|
|
59256
|
+
if (this.peek() === sep5) {
|
|
59161
59257
|
++this.p;
|
|
59162
59258
|
value = this.readValue();
|
|
59163
59259
|
}
|
|
@@ -59582,9 +59678,9 @@ var init_liquid_node = __esm({
|
|
|
59582
59678
|
constructor(options) {
|
|
59583
59679
|
this.options = options;
|
|
59584
59680
|
if (options.relativeReference) {
|
|
59585
|
-
const
|
|
59586
|
-
assert2(
|
|
59587
|
-
const prefixes = ["." +
|
|
59681
|
+
const sep5 = options.fs.sep;
|
|
59682
|
+
assert2(sep5, "`fs.sep` is required for relative reference");
|
|
59683
|
+
const prefixes = ["." + sep5, ".." + sep5, "./", "../"];
|
|
59588
59684
|
this.shouldLoadRelative = (referencedFile) => prefixes.some((prefix) => referencedFile.startsWith(prefix));
|
|
59589
59685
|
} else {
|
|
59590
59686
|
this.shouldLoadRelative = (_referencedFile) => false;
|
|
@@ -59892,10 +59988,10 @@ var init_liquid_node = __esm({
|
|
|
59892
59988
|
});
|
|
59893
59989
|
join10 = argumentsToValue(function(v, arg) {
|
|
59894
59990
|
const array2 = toArray6(v);
|
|
59895
|
-
const
|
|
59896
|
-
const complexity = array2.length * (1 +
|
|
59991
|
+
const sep5 = isNil(arg) ? " " : stringify3(arg);
|
|
59992
|
+
const complexity = array2.length * (1 + sep5.length);
|
|
59897
59993
|
this.context.memoryLimit.use(complexity);
|
|
59898
|
-
return array2.join(
|
|
59994
|
+
return array2.join(sep5);
|
|
59899
59995
|
});
|
|
59900
59996
|
last$1 = argumentsToValue((v) => isArrayLike(v) ? last(v) : "");
|
|
59901
59997
|
first = argumentsToValue((v) => isArrayLike(v) ? v[0] : "");
|
|
@@ -60825,7 +60921,7 @@ var init_liquid_node = __esm({
|
|
|
60825
60921
|
this.options = normalize2(opts);
|
|
60826
60922
|
this.parser = new Parser(this);
|
|
60827
60923
|
forOwn(tags, (conf, name) => this.registerTag(name, conf));
|
|
60828
|
-
forOwn(filters, (
|
|
60924
|
+
forOwn(filters, (handler2, name) => this.registerFilter(name, handler2));
|
|
60829
60925
|
}
|
|
60830
60926
|
parse(html, filepath) {
|
|
60831
60927
|
const parser = new Parser(this);
|
|
@@ -65940,19 +66036,3631 @@ function capitalize(str3) {
|
|
|
65940
66036
|
return str3.charAt(0).toUpperCase() + str3.slice(1);
|
|
65941
66037
|
}
|
|
65942
66038
|
|
|
66039
|
+
// ../../node_modules/.pnpm/universal-user-agent@7.0.3/node_modules/universal-user-agent/index.js
|
|
66040
|
+
function getUserAgent() {
|
|
66041
|
+
if (typeof navigator === "object" && "userAgent" in navigator) {
|
|
66042
|
+
return navigator.userAgent;
|
|
66043
|
+
}
|
|
66044
|
+
if (typeof process === "object" && process.version !== void 0) {
|
|
66045
|
+
return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`;
|
|
66046
|
+
}
|
|
66047
|
+
return "<environment undetectable>";
|
|
66048
|
+
}
|
|
66049
|
+
|
|
66050
|
+
// ../../node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/lib/register.js
|
|
66051
|
+
function register(state, name, method, options) {
|
|
66052
|
+
if (typeof method !== "function") {
|
|
66053
|
+
throw new Error("method for before hook must be a function");
|
|
66054
|
+
}
|
|
66055
|
+
if (!options) {
|
|
66056
|
+
options = {};
|
|
66057
|
+
}
|
|
66058
|
+
if (Array.isArray(name)) {
|
|
66059
|
+
return name.reverse().reduce((callback2, name2) => {
|
|
66060
|
+
return register.bind(null, state, name2, callback2, options);
|
|
66061
|
+
}, method)();
|
|
66062
|
+
}
|
|
66063
|
+
return Promise.resolve().then(() => {
|
|
66064
|
+
if (!state.registry[name]) {
|
|
66065
|
+
return method(options);
|
|
66066
|
+
}
|
|
66067
|
+
return state.registry[name].reduce((method2, registered) => {
|
|
66068
|
+
return registered.hook.bind(null, method2, options);
|
|
66069
|
+
}, method)();
|
|
66070
|
+
});
|
|
66071
|
+
}
|
|
66072
|
+
|
|
66073
|
+
// ../../node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/lib/add.js
|
|
66074
|
+
function addHook(state, kind, name, hook2) {
|
|
66075
|
+
const orig = hook2;
|
|
66076
|
+
if (!state.registry[name]) {
|
|
66077
|
+
state.registry[name] = [];
|
|
66078
|
+
}
|
|
66079
|
+
if (kind === "before") {
|
|
66080
|
+
hook2 = (method, options) => {
|
|
66081
|
+
return Promise.resolve().then(orig.bind(null, options)).then(method.bind(null, options));
|
|
66082
|
+
};
|
|
66083
|
+
}
|
|
66084
|
+
if (kind === "after") {
|
|
66085
|
+
hook2 = (method, options) => {
|
|
66086
|
+
let result;
|
|
66087
|
+
return Promise.resolve().then(method.bind(null, options)).then((result_) => {
|
|
66088
|
+
result = result_;
|
|
66089
|
+
return orig(result, options);
|
|
66090
|
+
}).then(() => {
|
|
66091
|
+
return result;
|
|
66092
|
+
});
|
|
66093
|
+
};
|
|
66094
|
+
}
|
|
66095
|
+
if (kind === "error") {
|
|
66096
|
+
hook2 = (method, options) => {
|
|
66097
|
+
return Promise.resolve().then(method.bind(null, options)).catch((error50) => {
|
|
66098
|
+
return orig(error50, options);
|
|
66099
|
+
});
|
|
66100
|
+
};
|
|
66101
|
+
}
|
|
66102
|
+
state.registry[name].push({
|
|
66103
|
+
hook: hook2,
|
|
66104
|
+
orig
|
|
66105
|
+
});
|
|
66106
|
+
}
|
|
66107
|
+
|
|
66108
|
+
// ../../node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/lib/remove.js
|
|
66109
|
+
function removeHook(state, name, method) {
|
|
66110
|
+
if (!state.registry[name]) {
|
|
66111
|
+
return;
|
|
66112
|
+
}
|
|
66113
|
+
const index = state.registry[name].map((registered) => {
|
|
66114
|
+
return registered.orig;
|
|
66115
|
+
}).indexOf(method);
|
|
66116
|
+
if (index === -1) {
|
|
66117
|
+
return;
|
|
66118
|
+
}
|
|
66119
|
+
state.registry[name].splice(index, 1);
|
|
66120
|
+
}
|
|
66121
|
+
|
|
66122
|
+
// ../../node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/index.js
|
|
66123
|
+
var bind = Function.bind;
|
|
66124
|
+
var bindable = bind.bind(bind);
|
|
66125
|
+
function bindApi(hook2, state, name) {
|
|
66126
|
+
const removeHookRef = bindable(removeHook, null).apply(
|
|
66127
|
+
null,
|
|
66128
|
+
name ? [state, name] : [state]
|
|
66129
|
+
);
|
|
66130
|
+
hook2.api = { remove: removeHookRef };
|
|
66131
|
+
hook2.remove = removeHookRef;
|
|
66132
|
+
["before", "error", "after", "wrap"].forEach((kind) => {
|
|
66133
|
+
const args = name ? [state, kind, name] : [state, kind];
|
|
66134
|
+
hook2[kind] = hook2.api[kind] = bindable(addHook, null).apply(null, args);
|
|
66135
|
+
});
|
|
66136
|
+
}
|
|
66137
|
+
function Singular() {
|
|
66138
|
+
const singularHookName = /* @__PURE__ */ Symbol("Singular");
|
|
66139
|
+
const singularHookState = {
|
|
66140
|
+
registry: {}
|
|
66141
|
+
};
|
|
66142
|
+
const singularHook = register.bind(null, singularHookState, singularHookName);
|
|
66143
|
+
bindApi(singularHook, singularHookState, singularHookName);
|
|
66144
|
+
return singularHook;
|
|
66145
|
+
}
|
|
66146
|
+
function Collection() {
|
|
66147
|
+
const state = {
|
|
66148
|
+
registry: {}
|
|
66149
|
+
};
|
|
66150
|
+
const hook2 = register.bind(null, state);
|
|
66151
|
+
bindApi(hook2, state);
|
|
66152
|
+
return hook2;
|
|
66153
|
+
}
|
|
66154
|
+
var before_after_hook_default = { Singular, Collection };
|
|
66155
|
+
|
|
66156
|
+
// ../../node_modules/.pnpm/@octokit+endpoint@11.0.3/node_modules/@octokit/endpoint/dist-bundle/index.js
|
|
66157
|
+
var VERSION = "0.0.0-development";
|
|
66158
|
+
var userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`;
|
|
66159
|
+
var DEFAULTS = {
|
|
66160
|
+
method: "GET",
|
|
66161
|
+
baseUrl: "https://api.github.com",
|
|
66162
|
+
headers: {
|
|
66163
|
+
accept: "application/vnd.github.v3+json",
|
|
66164
|
+
"user-agent": userAgent
|
|
66165
|
+
},
|
|
66166
|
+
mediaType: {
|
|
66167
|
+
format: ""
|
|
66168
|
+
}
|
|
66169
|
+
};
|
|
66170
|
+
function lowercaseKeys(object2) {
|
|
66171
|
+
if (!object2) {
|
|
66172
|
+
return {};
|
|
66173
|
+
}
|
|
66174
|
+
return Object.keys(object2).reduce((newObj, key) => {
|
|
66175
|
+
newObj[key.toLowerCase()] = object2[key];
|
|
66176
|
+
return newObj;
|
|
66177
|
+
}, {});
|
|
66178
|
+
}
|
|
66179
|
+
function isPlainObject2(value) {
|
|
66180
|
+
if (typeof value !== "object" || value === null) return false;
|
|
66181
|
+
if (Object.prototype.toString.call(value) !== "[object Object]") return false;
|
|
66182
|
+
const proto2 = Object.getPrototypeOf(value);
|
|
66183
|
+
if (proto2 === null) return true;
|
|
66184
|
+
const Ctor = Object.prototype.hasOwnProperty.call(proto2, "constructor") && proto2.constructor;
|
|
66185
|
+
return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value);
|
|
66186
|
+
}
|
|
66187
|
+
function mergeDeep(defaults3, options) {
|
|
66188
|
+
const result = Object.assign({}, defaults3);
|
|
66189
|
+
Object.keys(options).forEach((key) => {
|
|
66190
|
+
if (isPlainObject2(options[key])) {
|
|
66191
|
+
if (!(key in defaults3)) Object.assign(result, { [key]: options[key] });
|
|
66192
|
+
else result[key] = mergeDeep(defaults3[key], options[key]);
|
|
66193
|
+
} else {
|
|
66194
|
+
Object.assign(result, { [key]: options[key] });
|
|
66195
|
+
}
|
|
66196
|
+
});
|
|
66197
|
+
return result;
|
|
66198
|
+
}
|
|
66199
|
+
function removeUndefinedProperties(obj) {
|
|
66200
|
+
for (const key in obj) {
|
|
66201
|
+
if (obj[key] === void 0) {
|
|
66202
|
+
delete obj[key];
|
|
66203
|
+
}
|
|
66204
|
+
}
|
|
66205
|
+
return obj;
|
|
66206
|
+
}
|
|
66207
|
+
function merge2(defaults3, route, options) {
|
|
66208
|
+
if (typeof route === "string") {
|
|
66209
|
+
let [method, url2] = route.split(" ");
|
|
66210
|
+
options = Object.assign(url2 ? { method, url: url2 } : { url: method }, options);
|
|
66211
|
+
} else {
|
|
66212
|
+
options = Object.assign({}, route);
|
|
66213
|
+
}
|
|
66214
|
+
options.headers = lowercaseKeys(options.headers);
|
|
66215
|
+
removeUndefinedProperties(options);
|
|
66216
|
+
removeUndefinedProperties(options.headers);
|
|
66217
|
+
const mergedOptions = mergeDeep(defaults3 || {}, options);
|
|
66218
|
+
if (options.url === "/graphql") {
|
|
66219
|
+
if (defaults3 && defaults3.mediaType.previews?.length) {
|
|
66220
|
+
mergedOptions.mediaType.previews = defaults3.mediaType.previews.filter(
|
|
66221
|
+
(preview) => !mergedOptions.mediaType.previews.includes(preview)
|
|
66222
|
+
).concat(mergedOptions.mediaType.previews);
|
|
66223
|
+
}
|
|
66224
|
+
mergedOptions.mediaType.previews = (mergedOptions.mediaType.previews || []).map((preview) => preview.replace(/-preview/, ""));
|
|
66225
|
+
}
|
|
66226
|
+
return mergedOptions;
|
|
66227
|
+
}
|
|
66228
|
+
function addQueryParameters(url2, parameters) {
|
|
66229
|
+
const separator = /\?/.test(url2) ? "&" : "?";
|
|
66230
|
+
const names = Object.keys(parameters);
|
|
66231
|
+
if (names.length === 0) {
|
|
66232
|
+
return url2;
|
|
66233
|
+
}
|
|
66234
|
+
return url2 + separator + names.map((name) => {
|
|
66235
|
+
if (name === "q") {
|
|
66236
|
+
return "q=" + parameters.q.split("+").map(encodeURIComponent).join("+");
|
|
66237
|
+
}
|
|
66238
|
+
return `${name}=${encodeURIComponent(parameters[name])}`;
|
|
66239
|
+
}).join("&");
|
|
66240
|
+
}
|
|
66241
|
+
var urlVariableRegex = /\{[^{}}]+\}/g;
|
|
66242
|
+
function removeNonChars(variableName) {
|
|
66243
|
+
return variableName.replace(/(?:^\W+)|(?:(?<!\W)\W+$)/g, "").split(/,/);
|
|
66244
|
+
}
|
|
66245
|
+
function extractUrlVariableNames(url2) {
|
|
66246
|
+
const matches = url2.match(urlVariableRegex);
|
|
66247
|
+
if (!matches) {
|
|
66248
|
+
return [];
|
|
66249
|
+
}
|
|
66250
|
+
return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []);
|
|
66251
|
+
}
|
|
66252
|
+
function omit2(object2, keysToOmit) {
|
|
66253
|
+
const result = { __proto__: null };
|
|
66254
|
+
for (const key of Object.keys(object2)) {
|
|
66255
|
+
if (keysToOmit.indexOf(key) === -1) {
|
|
66256
|
+
result[key] = object2[key];
|
|
66257
|
+
}
|
|
66258
|
+
}
|
|
66259
|
+
return result;
|
|
66260
|
+
}
|
|
66261
|
+
function encodeReserved(str3) {
|
|
66262
|
+
return str3.split(/(%[0-9A-Fa-f]{2})/g).map(function(part) {
|
|
66263
|
+
if (!/%[0-9A-Fa-f]/.test(part)) {
|
|
66264
|
+
part = encodeURI(part).replace(/%5B/g, "[").replace(/%5D/g, "]");
|
|
66265
|
+
}
|
|
66266
|
+
return part;
|
|
66267
|
+
}).join("");
|
|
66268
|
+
}
|
|
66269
|
+
function encodeUnreserved(str3) {
|
|
66270
|
+
return encodeURIComponent(str3).replace(/[!'()*]/g, function(c) {
|
|
66271
|
+
return "%" + c.charCodeAt(0).toString(16).toUpperCase();
|
|
66272
|
+
});
|
|
66273
|
+
}
|
|
66274
|
+
function encodeValue(operator, value, key) {
|
|
66275
|
+
value = operator === "+" || operator === "#" ? encodeReserved(value) : encodeUnreserved(value);
|
|
66276
|
+
if (key) {
|
|
66277
|
+
return encodeUnreserved(key) + "=" + value;
|
|
66278
|
+
} else {
|
|
66279
|
+
return value;
|
|
66280
|
+
}
|
|
66281
|
+
}
|
|
66282
|
+
function isDefined(value) {
|
|
66283
|
+
return value !== void 0 && value !== null;
|
|
66284
|
+
}
|
|
66285
|
+
function isKeyOperator(operator) {
|
|
66286
|
+
return operator === ";" || operator === "&" || operator === "?";
|
|
66287
|
+
}
|
|
66288
|
+
function getValues(context, operator, key, modifier) {
|
|
66289
|
+
var value = context[key], result = [];
|
|
66290
|
+
if (isDefined(value) && value !== "") {
|
|
66291
|
+
if (typeof value === "string" || typeof value === "number" || typeof value === "bigint" || typeof value === "boolean") {
|
|
66292
|
+
value = value.toString();
|
|
66293
|
+
if (modifier && modifier !== "*") {
|
|
66294
|
+
value = value.substring(0, parseInt(modifier, 10));
|
|
66295
|
+
}
|
|
66296
|
+
result.push(
|
|
66297
|
+
encodeValue(operator, value, isKeyOperator(operator) ? key : "")
|
|
66298
|
+
);
|
|
66299
|
+
} else {
|
|
66300
|
+
if (modifier === "*") {
|
|
66301
|
+
if (Array.isArray(value)) {
|
|
66302
|
+
value.filter(isDefined).forEach(function(value2) {
|
|
66303
|
+
result.push(
|
|
66304
|
+
encodeValue(operator, value2, isKeyOperator(operator) ? key : "")
|
|
66305
|
+
);
|
|
66306
|
+
});
|
|
66307
|
+
} else {
|
|
66308
|
+
Object.keys(value).forEach(function(k) {
|
|
66309
|
+
if (isDefined(value[k])) {
|
|
66310
|
+
result.push(encodeValue(operator, value[k], k));
|
|
66311
|
+
}
|
|
66312
|
+
});
|
|
66313
|
+
}
|
|
66314
|
+
} else {
|
|
66315
|
+
const tmp = [];
|
|
66316
|
+
if (Array.isArray(value)) {
|
|
66317
|
+
value.filter(isDefined).forEach(function(value2) {
|
|
66318
|
+
tmp.push(encodeValue(operator, value2));
|
|
66319
|
+
});
|
|
66320
|
+
} else {
|
|
66321
|
+
Object.keys(value).forEach(function(k) {
|
|
66322
|
+
if (isDefined(value[k])) {
|
|
66323
|
+
tmp.push(encodeUnreserved(k));
|
|
66324
|
+
tmp.push(encodeValue(operator, value[k].toString()));
|
|
66325
|
+
}
|
|
66326
|
+
});
|
|
66327
|
+
}
|
|
66328
|
+
if (isKeyOperator(operator)) {
|
|
66329
|
+
result.push(encodeUnreserved(key) + "=" + tmp.join(","));
|
|
66330
|
+
} else if (tmp.length !== 0) {
|
|
66331
|
+
result.push(tmp.join(","));
|
|
66332
|
+
}
|
|
66333
|
+
}
|
|
66334
|
+
}
|
|
66335
|
+
} else {
|
|
66336
|
+
if (operator === ";") {
|
|
66337
|
+
if (isDefined(value)) {
|
|
66338
|
+
result.push(encodeUnreserved(key));
|
|
66339
|
+
}
|
|
66340
|
+
} else if (value === "" && (operator === "&" || operator === "?")) {
|
|
66341
|
+
result.push(encodeUnreserved(key) + "=");
|
|
66342
|
+
} else if (value === "") {
|
|
66343
|
+
result.push("");
|
|
66344
|
+
}
|
|
66345
|
+
}
|
|
66346
|
+
return result;
|
|
66347
|
+
}
|
|
66348
|
+
function parseUrl(template) {
|
|
66349
|
+
return {
|
|
66350
|
+
expand: expand.bind(null, template)
|
|
66351
|
+
};
|
|
66352
|
+
}
|
|
66353
|
+
function expand(template, context) {
|
|
66354
|
+
var operators = ["+", "#", ".", "/", ";", "?", "&"];
|
|
66355
|
+
template = template.replace(
|
|
66356
|
+
/\{([^\{\}]+)\}|([^\{\}]+)/g,
|
|
66357
|
+
function(_, expression, literal2) {
|
|
66358
|
+
if (expression) {
|
|
66359
|
+
let operator = "";
|
|
66360
|
+
const values = [];
|
|
66361
|
+
if (operators.indexOf(expression.charAt(0)) !== -1) {
|
|
66362
|
+
operator = expression.charAt(0);
|
|
66363
|
+
expression = expression.substr(1);
|
|
66364
|
+
}
|
|
66365
|
+
expression.split(/,/g).forEach(function(variable) {
|
|
66366
|
+
var tmp = /([^:\*]*)(?::(\d+)|(\*))?/.exec(variable);
|
|
66367
|
+
values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3]));
|
|
66368
|
+
});
|
|
66369
|
+
if (operator && operator !== "+") {
|
|
66370
|
+
var separator = ",";
|
|
66371
|
+
if (operator === "?") {
|
|
66372
|
+
separator = "&";
|
|
66373
|
+
} else if (operator !== "#") {
|
|
66374
|
+
separator = operator;
|
|
66375
|
+
}
|
|
66376
|
+
return (values.length !== 0 ? operator : "") + values.join(separator);
|
|
66377
|
+
} else {
|
|
66378
|
+
return values.join(",");
|
|
66379
|
+
}
|
|
66380
|
+
} else {
|
|
66381
|
+
return encodeReserved(literal2);
|
|
66382
|
+
}
|
|
66383
|
+
}
|
|
66384
|
+
);
|
|
66385
|
+
if (template === "/") {
|
|
66386
|
+
return template;
|
|
66387
|
+
} else {
|
|
66388
|
+
return template.replace(/\/$/, "");
|
|
66389
|
+
}
|
|
66390
|
+
}
|
|
66391
|
+
function parse4(options) {
|
|
66392
|
+
let method = options.method.toUpperCase();
|
|
66393
|
+
let url2 = (options.url || "/").replace(/:([a-z]\w+)/g, "{$1}");
|
|
66394
|
+
let headers = Object.assign({}, options.headers);
|
|
66395
|
+
let body;
|
|
66396
|
+
let parameters = omit2(options, [
|
|
66397
|
+
"method",
|
|
66398
|
+
"baseUrl",
|
|
66399
|
+
"url",
|
|
66400
|
+
"headers",
|
|
66401
|
+
"request",
|
|
66402
|
+
"mediaType"
|
|
66403
|
+
]);
|
|
66404
|
+
const urlVariableNames = extractUrlVariableNames(url2);
|
|
66405
|
+
url2 = parseUrl(url2).expand(parameters);
|
|
66406
|
+
if (!/^http/.test(url2)) {
|
|
66407
|
+
url2 = options.baseUrl + url2;
|
|
66408
|
+
}
|
|
66409
|
+
const omittedParameters = Object.keys(options).filter((option) => urlVariableNames.includes(option)).concat("baseUrl");
|
|
66410
|
+
const remainingParameters = omit2(parameters, omittedParameters);
|
|
66411
|
+
const isBinaryRequest = /application\/octet-stream/i.test(headers.accept);
|
|
66412
|
+
if (!isBinaryRequest) {
|
|
66413
|
+
if (options.mediaType.format) {
|
|
66414
|
+
headers.accept = headers.accept.split(/,/).map(
|
|
66415
|
+
(format2) => format2.replace(
|
|
66416
|
+
/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,
|
|
66417
|
+
`application/vnd$1$2.${options.mediaType.format}`
|
|
66418
|
+
)
|
|
66419
|
+
).join(",");
|
|
66420
|
+
}
|
|
66421
|
+
if (url2.endsWith("/graphql")) {
|
|
66422
|
+
if (options.mediaType.previews?.length) {
|
|
66423
|
+
const previewsFromAcceptHeader = headers.accept.match(/(?<![\w-])[\w-]+(?=-preview)/g) || [];
|
|
66424
|
+
headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map((preview) => {
|
|
66425
|
+
const format2 = options.mediaType.format ? `.${options.mediaType.format}` : "+json";
|
|
66426
|
+
return `application/vnd.github.${preview}-preview${format2}`;
|
|
66427
|
+
}).join(",");
|
|
66428
|
+
}
|
|
66429
|
+
}
|
|
66430
|
+
}
|
|
66431
|
+
if (["GET", "HEAD"].includes(method)) {
|
|
66432
|
+
url2 = addQueryParameters(url2, remainingParameters);
|
|
66433
|
+
} else {
|
|
66434
|
+
if ("data" in remainingParameters) {
|
|
66435
|
+
body = remainingParameters.data;
|
|
66436
|
+
} else {
|
|
66437
|
+
if (Object.keys(remainingParameters).length) {
|
|
66438
|
+
body = remainingParameters;
|
|
66439
|
+
}
|
|
66440
|
+
}
|
|
66441
|
+
}
|
|
66442
|
+
if (!headers["content-type"] && typeof body !== "undefined") {
|
|
66443
|
+
headers["content-type"] = "application/json; charset=utf-8";
|
|
66444
|
+
}
|
|
66445
|
+
if (["PATCH", "PUT"].includes(method) && typeof body === "undefined") {
|
|
66446
|
+
body = "";
|
|
66447
|
+
}
|
|
66448
|
+
return Object.assign(
|
|
66449
|
+
{ method, url: url2, headers },
|
|
66450
|
+
typeof body !== "undefined" ? { body } : null,
|
|
66451
|
+
options.request ? { request: options.request } : null
|
|
66452
|
+
);
|
|
66453
|
+
}
|
|
66454
|
+
function endpointWithDefaults(defaults3, route, options) {
|
|
66455
|
+
return parse4(merge2(defaults3, route, options));
|
|
66456
|
+
}
|
|
66457
|
+
function withDefaults(oldDefaults, newDefaults) {
|
|
66458
|
+
const DEFAULTS2 = merge2(oldDefaults, newDefaults);
|
|
66459
|
+
const endpoint2 = endpointWithDefaults.bind(null, DEFAULTS2);
|
|
66460
|
+
return Object.assign(endpoint2, {
|
|
66461
|
+
DEFAULTS: DEFAULTS2,
|
|
66462
|
+
defaults: withDefaults.bind(null, DEFAULTS2),
|
|
66463
|
+
merge: merge2.bind(null, DEFAULTS2),
|
|
66464
|
+
parse: parse4
|
|
66465
|
+
});
|
|
66466
|
+
}
|
|
66467
|
+
var endpoint = withDefaults(null, DEFAULTS);
|
|
66468
|
+
|
|
66469
|
+
// ../../node_modules/.pnpm/@octokit+request@10.0.8/node_modules/@octokit/request/dist-bundle/index.js
|
|
66470
|
+
var import_fast_content_type_parse = __toESM(require_fast_content_type_parse(), 1);
|
|
66471
|
+
|
|
66472
|
+
// ../../node_modules/.pnpm/json-with-bigint@3.5.7/node_modules/json-with-bigint/json-with-bigint.js
|
|
66473
|
+
var intRegex = /^-?\d+$/;
|
|
66474
|
+
var noiseValue = /^-?\d+n+$/;
|
|
66475
|
+
var originalStringify = JSON.stringify;
|
|
66476
|
+
var originalParse = JSON.parse;
|
|
66477
|
+
var customFormat = /^-?\d+n$/;
|
|
66478
|
+
var bigIntsStringify = /([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g;
|
|
66479
|
+
var noiseStringify = /([\[:])?("-?\d+n+)n("$|"([\\n]|\s)*(\s|[\\n])*[,\}\]])/g;
|
|
66480
|
+
var JSONStringify = (value, replacer, space) => {
|
|
66481
|
+
if ("rawJSON" in JSON) {
|
|
66482
|
+
return originalStringify(
|
|
66483
|
+
value,
|
|
66484
|
+
(key, value2) => {
|
|
66485
|
+
if (typeof value2 === "bigint") return JSON.rawJSON(value2.toString());
|
|
66486
|
+
if (typeof replacer === "function") return replacer(key, value2);
|
|
66487
|
+
if (Array.isArray(replacer) && replacer.includes(key)) return value2;
|
|
66488
|
+
return value2;
|
|
66489
|
+
},
|
|
66490
|
+
space
|
|
66491
|
+
);
|
|
66492
|
+
}
|
|
66493
|
+
if (!value) return originalStringify(value, replacer, space);
|
|
66494
|
+
const convertedToCustomJSON = originalStringify(
|
|
66495
|
+
value,
|
|
66496
|
+
(key, value2) => {
|
|
66497
|
+
const isNoise = typeof value2 === "string" && Boolean(value2.match(noiseValue));
|
|
66498
|
+
if (isNoise) return value2.toString() + "n";
|
|
66499
|
+
if (typeof value2 === "bigint") return value2.toString() + "n";
|
|
66500
|
+
if (typeof replacer === "function") return replacer(key, value2);
|
|
66501
|
+
if (Array.isArray(replacer) && replacer.includes(key)) return value2;
|
|
66502
|
+
return value2;
|
|
66503
|
+
},
|
|
66504
|
+
space
|
|
66505
|
+
);
|
|
66506
|
+
const processedJSON = convertedToCustomJSON.replace(
|
|
66507
|
+
bigIntsStringify,
|
|
66508
|
+
"$1$2$3"
|
|
66509
|
+
);
|
|
66510
|
+
const denoisedJSON = processedJSON.replace(noiseStringify, "$1$2$3");
|
|
66511
|
+
return denoisedJSON;
|
|
66512
|
+
};
|
|
66513
|
+
var isContextSourceSupported = () => JSON.parse("1", (_, __, context) => !!context && context.source === "1");
|
|
66514
|
+
var convertMarkedBigIntsReviver = (key, value, context, userReviver) => {
|
|
66515
|
+
const isCustomFormatBigInt = typeof value === "string" && value.match(customFormat);
|
|
66516
|
+
if (isCustomFormatBigInt) return BigInt(value.slice(0, -1));
|
|
66517
|
+
const isNoiseValue = typeof value === "string" && value.match(noiseValue);
|
|
66518
|
+
if (isNoiseValue) return value.slice(0, -1);
|
|
66519
|
+
if (typeof userReviver !== "function") return value;
|
|
66520
|
+
return userReviver(key, value, context);
|
|
66521
|
+
};
|
|
66522
|
+
var JSONParseV2 = (text, reviver) => {
|
|
66523
|
+
return JSON.parse(text, (key, value, context) => {
|
|
66524
|
+
const isBigNumber = typeof value === "number" && (value > Number.MAX_SAFE_INTEGER || value < Number.MIN_SAFE_INTEGER);
|
|
66525
|
+
const isInt = context && intRegex.test(context.source);
|
|
66526
|
+
const isBigInt = isBigNumber && isInt;
|
|
66527
|
+
if (isBigInt) return BigInt(context.source);
|
|
66528
|
+
if (typeof reviver !== "function") return value;
|
|
66529
|
+
return reviver(key, value, context);
|
|
66530
|
+
});
|
|
66531
|
+
};
|
|
66532
|
+
var MAX_INT = Number.MAX_SAFE_INTEGER.toString();
|
|
66533
|
+
var MAX_DIGITS = MAX_INT.length;
|
|
66534
|
+
var stringsOrLargeNumbers = /"(?:\\.|[^"])*"|-?(0|[1-9][0-9]*)(\.[0-9]+)?([eE][+-]?[0-9]+)?/g;
|
|
66535
|
+
var noiseValueWithQuotes = /^"-?\d+n+"$/;
|
|
66536
|
+
var JSONParse = (text, reviver) => {
|
|
66537
|
+
if (!text) return originalParse(text, reviver);
|
|
66538
|
+
if (isContextSourceSupported()) return JSONParseV2(text, reviver);
|
|
66539
|
+
const serializedData = text.replace(
|
|
66540
|
+
stringsOrLargeNumbers,
|
|
66541
|
+
(text2, digits, fractional, exponential) => {
|
|
66542
|
+
const isString2 = text2[0] === '"';
|
|
66543
|
+
const isNoise = isString2 && Boolean(text2.match(noiseValueWithQuotes));
|
|
66544
|
+
if (isNoise) return text2.substring(0, text2.length - 1) + 'n"';
|
|
66545
|
+
const isFractionalOrExponential = fractional || exponential;
|
|
66546
|
+
const isLessThanMaxSafeInt = digits && (digits.length < MAX_DIGITS || digits.length === MAX_DIGITS && digits <= MAX_INT);
|
|
66547
|
+
if (isString2 || isFractionalOrExponential || isLessThanMaxSafeInt)
|
|
66548
|
+
return text2;
|
|
66549
|
+
return '"' + text2 + 'n"';
|
|
66550
|
+
}
|
|
66551
|
+
);
|
|
66552
|
+
return originalParse(
|
|
66553
|
+
serializedData,
|
|
66554
|
+
(key, value, context) => convertMarkedBigIntsReviver(key, value, context, reviver)
|
|
66555
|
+
);
|
|
66556
|
+
};
|
|
66557
|
+
|
|
66558
|
+
// ../../node_modules/.pnpm/@octokit+request-error@7.1.0/node_modules/@octokit/request-error/dist-src/index.js
|
|
66559
|
+
var RequestError = class extends Error {
|
|
66560
|
+
name;
|
|
66561
|
+
/**
|
|
66562
|
+
* http status code
|
|
66563
|
+
*/
|
|
66564
|
+
status;
|
|
66565
|
+
/**
|
|
66566
|
+
* Request options that lead to the error.
|
|
66567
|
+
*/
|
|
66568
|
+
request;
|
|
66569
|
+
/**
|
|
66570
|
+
* Response object if a response was received
|
|
66571
|
+
*/
|
|
66572
|
+
response;
|
|
66573
|
+
constructor(message, statusCode, options) {
|
|
66574
|
+
super(message, { cause: options.cause });
|
|
66575
|
+
this.name = "HttpError";
|
|
66576
|
+
this.status = Number.parseInt(statusCode);
|
|
66577
|
+
if (Number.isNaN(this.status)) {
|
|
66578
|
+
this.status = 0;
|
|
66579
|
+
}
|
|
66580
|
+
if ("response" in options) {
|
|
66581
|
+
this.response = options.response;
|
|
66582
|
+
}
|
|
66583
|
+
const requestCopy = Object.assign({}, options.request);
|
|
66584
|
+
if (options.request.headers.authorization) {
|
|
66585
|
+
requestCopy.headers = Object.assign({}, options.request.headers, {
|
|
66586
|
+
authorization: options.request.headers.authorization.replace(
|
|
66587
|
+
/(?<! ) .*$/,
|
|
66588
|
+
" [REDACTED]"
|
|
66589
|
+
)
|
|
66590
|
+
});
|
|
66591
|
+
}
|
|
66592
|
+
requestCopy.url = requestCopy.url.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]").replace(/\baccess_token=\w+/g, "access_token=[REDACTED]");
|
|
66593
|
+
this.request = requestCopy;
|
|
66594
|
+
}
|
|
66595
|
+
};
|
|
66596
|
+
|
|
66597
|
+
// ../../node_modules/.pnpm/@octokit+request@10.0.8/node_modules/@octokit/request/dist-bundle/index.js
|
|
66598
|
+
var VERSION2 = "10.0.8";
|
|
66599
|
+
var defaults_default = {
|
|
66600
|
+
headers: {
|
|
66601
|
+
"user-agent": `octokit-request.js/${VERSION2} ${getUserAgent()}`
|
|
66602
|
+
}
|
|
66603
|
+
};
|
|
66604
|
+
function isPlainObject3(value) {
|
|
66605
|
+
if (typeof value !== "object" || value === null) return false;
|
|
66606
|
+
if (Object.prototype.toString.call(value) !== "[object Object]") return false;
|
|
66607
|
+
const proto2 = Object.getPrototypeOf(value);
|
|
66608
|
+
if (proto2 === null) return true;
|
|
66609
|
+
const Ctor = Object.prototype.hasOwnProperty.call(proto2, "constructor") && proto2.constructor;
|
|
66610
|
+
return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value);
|
|
66611
|
+
}
|
|
66612
|
+
var noop = () => "";
|
|
66613
|
+
async function fetchWrapper(requestOptions) {
|
|
66614
|
+
const fetch2 = requestOptions.request?.fetch || globalThis.fetch;
|
|
66615
|
+
if (!fetch2) {
|
|
66616
|
+
throw new Error(
|
|
66617
|
+
"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"
|
|
66618
|
+
);
|
|
66619
|
+
}
|
|
66620
|
+
const log7 = requestOptions.request?.log || console;
|
|
66621
|
+
const parseSuccessResponseBody = requestOptions.request?.parseSuccessResponseBody !== false;
|
|
66622
|
+
const body = isPlainObject3(requestOptions.body) || Array.isArray(requestOptions.body) ? JSONStringify(requestOptions.body) : requestOptions.body;
|
|
66623
|
+
const requestHeaders = Object.fromEntries(
|
|
66624
|
+
Object.entries(requestOptions.headers).map(([name, value]) => [
|
|
66625
|
+
name,
|
|
66626
|
+
String(value)
|
|
66627
|
+
])
|
|
66628
|
+
);
|
|
66629
|
+
let fetchResponse;
|
|
66630
|
+
try {
|
|
66631
|
+
fetchResponse = await fetch2(requestOptions.url, {
|
|
66632
|
+
method: requestOptions.method,
|
|
66633
|
+
body,
|
|
66634
|
+
redirect: requestOptions.request?.redirect,
|
|
66635
|
+
headers: requestHeaders,
|
|
66636
|
+
signal: requestOptions.request?.signal,
|
|
66637
|
+
// duplex must be set if request.body is ReadableStream or Async Iterables.
|
|
66638
|
+
// See https://fetch.spec.whatwg.org/#dom-requestinit-duplex.
|
|
66639
|
+
...requestOptions.body && { duplex: "half" }
|
|
66640
|
+
});
|
|
66641
|
+
} catch (error50) {
|
|
66642
|
+
let message = "Unknown Error";
|
|
66643
|
+
if (error50 instanceof Error) {
|
|
66644
|
+
if (error50.name === "AbortError") {
|
|
66645
|
+
error50.status = 500;
|
|
66646
|
+
throw error50;
|
|
66647
|
+
}
|
|
66648
|
+
message = error50.message;
|
|
66649
|
+
if (error50.name === "TypeError" && "cause" in error50) {
|
|
66650
|
+
if (error50.cause instanceof Error) {
|
|
66651
|
+
message = error50.cause.message;
|
|
66652
|
+
} else if (typeof error50.cause === "string") {
|
|
66653
|
+
message = error50.cause;
|
|
66654
|
+
}
|
|
66655
|
+
}
|
|
66656
|
+
}
|
|
66657
|
+
const requestError = new RequestError(message, 500, {
|
|
66658
|
+
request: requestOptions
|
|
66659
|
+
});
|
|
66660
|
+
requestError.cause = error50;
|
|
66661
|
+
throw requestError;
|
|
66662
|
+
}
|
|
66663
|
+
const status = fetchResponse.status;
|
|
66664
|
+
const url2 = fetchResponse.url;
|
|
66665
|
+
const responseHeaders = {};
|
|
66666
|
+
for (const [key, value] of fetchResponse.headers) {
|
|
66667
|
+
responseHeaders[key] = value;
|
|
66668
|
+
}
|
|
66669
|
+
const octokitResponse = {
|
|
66670
|
+
url: url2,
|
|
66671
|
+
status,
|
|
66672
|
+
headers: responseHeaders,
|
|
66673
|
+
data: ""
|
|
66674
|
+
};
|
|
66675
|
+
if ("deprecation" in responseHeaders) {
|
|
66676
|
+
const matches = responseHeaders.link && responseHeaders.link.match(/<([^<>]+)>; rel="deprecation"/);
|
|
66677
|
+
const deprecationLink = matches && matches.pop();
|
|
66678
|
+
log7.warn(
|
|
66679
|
+
`[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${responseHeaders.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}`
|
|
66680
|
+
);
|
|
66681
|
+
}
|
|
66682
|
+
if (status === 204 || status === 205) {
|
|
66683
|
+
return octokitResponse;
|
|
66684
|
+
}
|
|
66685
|
+
if (requestOptions.method === "HEAD") {
|
|
66686
|
+
if (status < 400) {
|
|
66687
|
+
return octokitResponse;
|
|
66688
|
+
}
|
|
66689
|
+
throw new RequestError(fetchResponse.statusText, status, {
|
|
66690
|
+
response: octokitResponse,
|
|
66691
|
+
request: requestOptions
|
|
66692
|
+
});
|
|
66693
|
+
}
|
|
66694
|
+
if (status === 304) {
|
|
66695
|
+
octokitResponse.data = await getResponseData(fetchResponse);
|
|
66696
|
+
throw new RequestError("Not modified", status, {
|
|
66697
|
+
response: octokitResponse,
|
|
66698
|
+
request: requestOptions
|
|
66699
|
+
});
|
|
66700
|
+
}
|
|
66701
|
+
if (status >= 400) {
|
|
66702
|
+
octokitResponse.data = await getResponseData(fetchResponse);
|
|
66703
|
+
throw new RequestError(toErrorMessage(octokitResponse.data), status, {
|
|
66704
|
+
response: octokitResponse,
|
|
66705
|
+
request: requestOptions
|
|
66706
|
+
});
|
|
66707
|
+
}
|
|
66708
|
+
octokitResponse.data = parseSuccessResponseBody ? await getResponseData(fetchResponse) : fetchResponse.body;
|
|
66709
|
+
return octokitResponse;
|
|
66710
|
+
}
|
|
66711
|
+
async function getResponseData(response) {
|
|
66712
|
+
const contentType = response.headers.get("content-type");
|
|
66713
|
+
if (!contentType) {
|
|
66714
|
+
return response.text().catch(noop);
|
|
66715
|
+
}
|
|
66716
|
+
const mimetype = (0, import_fast_content_type_parse.safeParse)(contentType);
|
|
66717
|
+
if (isJSONResponse(mimetype)) {
|
|
66718
|
+
let text = "";
|
|
66719
|
+
try {
|
|
66720
|
+
text = await response.text();
|
|
66721
|
+
return JSONParse(text);
|
|
66722
|
+
} catch (err) {
|
|
66723
|
+
return text;
|
|
66724
|
+
}
|
|
66725
|
+
} else if (mimetype.type.startsWith("text/") || mimetype.parameters.charset?.toLowerCase() === "utf-8") {
|
|
66726
|
+
return response.text().catch(noop);
|
|
66727
|
+
} else {
|
|
66728
|
+
return response.arrayBuffer().catch(
|
|
66729
|
+
/* v8 ignore next -- @preserve */
|
|
66730
|
+
() => new ArrayBuffer(0)
|
|
66731
|
+
);
|
|
66732
|
+
}
|
|
66733
|
+
}
|
|
66734
|
+
function isJSONResponse(mimetype) {
|
|
66735
|
+
return mimetype.type === "application/json" || mimetype.type === "application/scim+json";
|
|
66736
|
+
}
|
|
66737
|
+
function toErrorMessage(data) {
|
|
66738
|
+
if (typeof data === "string") {
|
|
66739
|
+
return data;
|
|
66740
|
+
}
|
|
66741
|
+
if (data instanceof ArrayBuffer) {
|
|
66742
|
+
return "Unknown error";
|
|
66743
|
+
}
|
|
66744
|
+
if ("message" in data) {
|
|
66745
|
+
const suffix = "documentation_url" in data ? ` - ${data.documentation_url}` : "";
|
|
66746
|
+
return Array.isArray(data.errors) ? `${data.message}: ${data.errors.map((v) => JSON.stringify(v)).join(", ")}${suffix}` : `${data.message}${suffix}`;
|
|
66747
|
+
}
|
|
66748
|
+
return `Unknown error: ${JSON.stringify(data)}`;
|
|
66749
|
+
}
|
|
66750
|
+
function withDefaults2(oldEndpoint, newDefaults) {
|
|
66751
|
+
const endpoint2 = oldEndpoint.defaults(newDefaults);
|
|
66752
|
+
const newApi = function(route, parameters) {
|
|
66753
|
+
const endpointOptions = endpoint2.merge(route, parameters);
|
|
66754
|
+
if (!endpointOptions.request || !endpointOptions.request.hook) {
|
|
66755
|
+
return fetchWrapper(endpoint2.parse(endpointOptions));
|
|
66756
|
+
}
|
|
66757
|
+
const request2 = (route2, parameters2) => {
|
|
66758
|
+
return fetchWrapper(
|
|
66759
|
+
endpoint2.parse(endpoint2.merge(route2, parameters2))
|
|
66760
|
+
);
|
|
66761
|
+
};
|
|
66762
|
+
Object.assign(request2, {
|
|
66763
|
+
endpoint: endpoint2,
|
|
66764
|
+
defaults: withDefaults2.bind(null, endpoint2)
|
|
66765
|
+
});
|
|
66766
|
+
return endpointOptions.request.hook(request2, endpointOptions);
|
|
66767
|
+
};
|
|
66768
|
+
return Object.assign(newApi, {
|
|
66769
|
+
endpoint: endpoint2,
|
|
66770
|
+
defaults: withDefaults2.bind(null, endpoint2)
|
|
66771
|
+
});
|
|
66772
|
+
}
|
|
66773
|
+
var request = withDefaults2(endpoint, defaults_default);
|
|
66774
|
+
|
|
66775
|
+
// ../../node_modules/.pnpm/@octokit+graphql@9.0.3/node_modules/@octokit/graphql/dist-bundle/index.js
|
|
66776
|
+
var VERSION3 = "0.0.0-development";
|
|
66777
|
+
function _buildMessageForResponseErrors(data) {
|
|
66778
|
+
return `Request failed due to following response errors:
|
|
66779
|
+
` + data.errors.map((e) => ` - ${e.message}`).join("\n");
|
|
66780
|
+
}
|
|
66781
|
+
var GraphqlResponseError = class extends Error {
|
|
66782
|
+
constructor(request2, headers, response) {
|
|
66783
|
+
super(_buildMessageForResponseErrors(response));
|
|
66784
|
+
this.request = request2;
|
|
66785
|
+
this.headers = headers;
|
|
66786
|
+
this.response = response;
|
|
66787
|
+
this.errors = response.errors;
|
|
66788
|
+
this.data = response.data;
|
|
66789
|
+
if (Error.captureStackTrace) {
|
|
66790
|
+
Error.captureStackTrace(this, this.constructor);
|
|
66791
|
+
}
|
|
66792
|
+
}
|
|
66793
|
+
name = "GraphqlResponseError";
|
|
66794
|
+
errors;
|
|
66795
|
+
data;
|
|
66796
|
+
};
|
|
66797
|
+
var NON_VARIABLE_OPTIONS = [
|
|
66798
|
+
"method",
|
|
66799
|
+
"baseUrl",
|
|
66800
|
+
"url",
|
|
66801
|
+
"headers",
|
|
66802
|
+
"request",
|
|
66803
|
+
"query",
|
|
66804
|
+
"mediaType",
|
|
66805
|
+
"operationName"
|
|
66806
|
+
];
|
|
66807
|
+
var FORBIDDEN_VARIABLE_OPTIONS = ["query", "method", "url"];
|
|
66808
|
+
var GHES_V3_SUFFIX_REGEX = /\/api\/v3\/?$/;
|
|
66809
|
+
function graphql(request2, query, options) {
|
|
66810
|
+
if (options) {
|
|
66811
|
+
if (typeof query === "string" && "query" in options) {
|
|
66812
|
+
return Promise.reject(
|
|
66813
|
+
new Error(`[@octokit/graphql] "query" cannot be used as variable name`)
|
|
66814
|
+
);
|
|
66815
|
+
}
|
|
66816
|
+
for (const key in options) {
|
|
66817
|
+
if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key)) continue;
|
|
66818
|
+
return Promise.reject(
|
|
66819
|
+
new Error(
|
|
66820
|
+
`[@octokit/graphql] "${key}" cannot be used as variable name`
|
|
66821
|
+
)
|
|
66822
|
+
);
|
|
66823
|
+
}
|
|
66824
|
+
}
|
|
66825
|
+
const parsedOptions = typeof query === "string" ? Object.assign({ query }, options) : query;
|
|
66826
|
+
const requestOptions = Object.keys(
|
|
66827
|
+
parsedOptions
|
|
66828
|
+
).reduce((result, key) => {
|
|
66829
|
+
if (NON_VARIABLE_OPTIONS.includes(key)) {
|
|
66830
|
+
result[key] = parsedOptions[key];
|
|
66831
|
+
return result;
|
|
66832
|
+
}
|
|
66833
|
+
if (!result.variables) {
|
|
66834
|
+
result.variables = {};
|
|
66835
|
+
}
|
|
66836
|
+
result.variables[key] = parsedOptions[key];
|
|
66837
|
+
return result;
|
|
66838
|
+
}, {});
|
|
66839
|
+
const baseUrl = parsedOptions.baseUrl || request2.endpoint.DEFAULTS.baseUrl;
|
|
66840
|
+
if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) {
|
|
66841
|
+
requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, "/api/graphql");
|
|
66842
|
+
}
|
|
66843
|
+
return request2(requestOptions).then((response) => {
|
|
66844
|
+
if (response.data.errors) {
|
|
66845
|
+
const headers = {};
|
|
66846
|
+
for (const key of Object.keys(response.headers)) {
|
|
66847
|
+
headers[key] = response.headers[key];
|
|
66848
|
+
}
|
|
66849
|
+
throw new GraphqlResponseError(
|
|
66850
|
+
requestOptions,
|
|
66851
|
+
headers,
|
|
66852
|
+
response.data
|
|
66853
|
+
);
|
|
66854
|
+
}
|
|
66855
|
+
return response.data.data;
|
|
66856
|
+
});
|
|
66857
|
+
}
|
|
66858
|
+
function withDefaults3(request2, newDefaults) {
|
|
66859
|
+
const newRequest = request2.defaults(newDefaults);
|
|
66860
|
+
const newApi = (query, options) => {
|
|
66861
|
+
return graphql(newRequest, query, options);
|
|
66862
|
+
};
|
|
66863
|
+
return Object.assign(newApi, {
|
|
66864
|
+
defaults: withDefaults3.bind(null, newRequest),
|
|
66865
|
+
endpoint: newRequest.endpoint
|
|
66866
|
+
});
|
|
66867
|
+
}
|
|
66868
|
+
var graphql2 = withDefaults3(request, {
|
|
66869
|
+
headers: {
|
|
66870
|
+
"user-agent": `octokit-graphql.js/${VERSION3} ${getUserAgent()}`
|
|
66871
|
+
},
|
|
66872
|
+
method: "POST",
|
|
66873
|
+
url: "/graphql"
|
|
66874
|
+
});
|
|
66875
|
+
function withCustomRequest(customRequest) {
|
|
66876
|
+
return withDefaults3(customRequest, {
|
|
66877
|
+
method: "POST",
|
|
66878
|
+
url: "/graphql"
|
|
66879
|
+
});
|
|
66880
|
+
}
|
|
66881
|
+
|
|
66882
|
+
// ../../node_modules/.pnpm/@octokit+auth-token@6.0.0/node_modules/@octokit/auth-token/dist-bundle/index.js
|
|
66883
|
+
var b64url = "(?:[a-zA-Z0-9_-]+)";
|
|
66884
|
+
var sep = "\\.";
|
|
66885
|
+
var jwtRE = new RegExp(`^${b64url}${sep}${b64url}${sep}${b64url}$`);
|
|
66886
|
+
var isJWT = jwtRE.test.bind(jwtRE);
|
|
66887
|
+
async function auth(token) {
|
|
66888
|
+
const isApp = isJWT(token);
|
|
66889
|
+
const isInstallation = token.startsWith("v1.") || token.startsWith("ghs_");
|
|
66890
|
+
const isUserToServer = token.startsWith("ghu_");
|
|
66891
|
+
const tokenType = isApp ? "app" : isInstallation ? "installation" : isUserToServer ? "user-to-server" : "oauth";
|
|
66892
|
+
return {
|
|
66893
|
+
type: "token",
|
|
66894
|
+
token,
|
|
66895
|
+
tokenType
|
|
66896
|
+
};
|
|
66897
|
+
}
|
|
66898
|
+
function withAuthorizationPrefix(token) {
|
|
66899
|
+
if (token.split(/\./).length === 3) {
|
|
66900
|
+
return `bearer ${token}`;
|
|
66901
|
+
}
|
|
66902
|
+
return `token ${token}`;
|
|
66903
|
+
}
|
|
66904
|
+
async function hook(token, request2, route, parameters) {
|
|
66905
|
+
const endpoint2 = request2.endpoint.merge(
|
|
66906
|
+
route,
|
|
66907
|
+
parameters
|
|
66908
|
+
);
|
|
66909
|
+
endpoint2.headers.authorization = withAuthorizationPrefix(token);
|
|
66910
|
+
return request2(endpoint2);
|
|
66911
|
+
}
|
|
66912
|
+
var createTokenAuth = function createTokenAuth2(token) {
|
|
66913
|
+
if (!token) {
|
|
66914
|
+
throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");
|
|
66915
|
+
}
|
|
66916
|
+
if (typeof token !== "string") {
|
|
66917
|
+
throw new Error(
|
|
66918
|
+
"[@octokit/auth-token] Token passed to createTokenAuth is not a string"
|
|
66919
|
+
);
|
|
66920
|
+
}
|
|
66921
|
+
token = token.replace(/^(token|bearer) +/i, "");
|
|
66922
|
+
return Object.assign(auth.bind(null, token), {
|
|
66923
|
+
hook: hook.bind(null, token)
|
|
66924
|
+
});
|
|
66925
|
+
};
|
|
66926
|
+
|
|
66927
|
+
// ../../node_modules/.pnpm/@octokit+core@7.0.6/node_modules/@octokit/core/dist-src/version.js
|
|
66928
|
+
var VERSION4 = "7.0.6";
|
|
66929
|
+
|
|
66930
|
+
// ../../node_modules/.pnpm/@octokit+core@7.0.6/node_modules/@octokit/core/dist-src/index.js
|
|
66931
|
+
var noop2 = () => {
|
|
66932
|
+
};
|
|
66933
|
+
var consoleWarn = console.warn.bind(console);
|
|
66934
|
+
var consoleError = console.error.bind(console);
|
|
66935
|
+
function createLogger(logger = {}) {
|
|
66936
|
+
if (typeof logger.debug !== "function") {
|
|
66937
|
+
logger.debug = noop2;
|
|
66938
|
+
}
|
|
66939
|
+
if (typeof logger.info !== "function") {
|
|
66940
|
+
logger.info = noop2;
|
|
66941
|
+
}
|
|
66942
|
+
if (typeof logger.warn !== "function") {
|
|
66943
|
+
logger.warn = consoleWarn;
|
|
66944
|
+
}
|
|
66945
|
+
if (typeof logger.error !== "function") {
|
|
66946
|
+
logger.error = consoleError;
|
|
66947
|
+
}
|
|
66948
|
+
return logger;
|
|
66949
|
+
}
|
|
66950
|
+
var userAgentTrail = `octokit-core.js/${VERSION4} ${getUserAgent()}`;
|
|
66951
|
+
var Octokit = class {
|
|
66952
|
+
static VERSION = VERSION4;
|
|
66953
|
+
static defaults(defaults3) {
|
|
66954
|
+
const OctokitWithDefaults = class extends this {
|
|
66955
|
+
constructor(...args) {
|
|
66956
|
+
const options = args[0] || {};
|
|
66957
|
+
if (typeof defaults3 === "function") {
|
|
66958
|
+
super(defaults3(options));
|
|
66959
|
+
return;
|
|
66960
|
+
}
|
|
66961
|
+
super(
|
|
66962
|
+
Object.assign(
|
|
66963
|
+
{},
|
|
66964
|
+
defaults3,
|
|
66965
|
+
options,
|
|
66966
|
+
options.userAgent && defaults3.userAgent ? {
|
|
66967
|
+
userAgent: `${options.userAgent} ${defaults3.userAgent}`
|
|
66968
|
+
} : null
|
|
66969
|
+
)
|
|
66970
|
+
);
|
|
66971
|
+
}
|
|
66972
|
+
};
|
|
66973
|
+
return OctokitWithDefaults;
|
|
66974
|
+
}
|
|
66975
|
+
static plugins = [];
|
|
66976
|
+
/**
|
|
66977
|
+
* Attach a plugin (or many) to your Octokit instance.
|
|
66978
|
+
*
|
|
66979
|
+
* @example
|
|
66980
|
+
* const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)
|
|
66981
|
+
*/
|
|
66982
|
+
static plugin(...newPlugins) {
|
|
66983
|
+
const currentPlugins = this.plugins;
|
|
66984
|
+
const NewOctokit = class extends this {
|
|
66985
|
+
static plugins = currentPlugins.concat(
|
|
66986
|
+
newPlugins.filter((plugin) => !currentPlugins.includes(plugin))
|
|
66987
|
+
);
|
|
66988
|
+
};
|
|
66989
|
+
return NewOctokit;
|
|
66990
|
+
}
|
|
66991
|
+
constructor(options = {}) {
|
|
66992
|
+
const hook2 = new before_after_hook_default.Collection();
|
|
66993
|
+
const requestDefaults = {
|
|
66994
|
+
baseUrl: request.endpoint.DEFAULTS.baseUrl,
|
|
66995
|
+
headers: {},
|
|
66996
|
+
request: Object.assign({}, options.request, {
|
|
66997
|
+
// @ts-ignore internal usage only, no need to type
|
|
66998
|
+
hook: hook2.bind(null, "request")
|
|
66999
|
+
}),
|
|
67000
|
+
mediaType: {
|
|
67001
|
+
previews: [],
|
|
67002
|
+
format: ""
|
|
67003
|
+
}
|
|
67004
|
+
};
|
|
67005
|
+
requestDefaults.headers["user-agent"] = options.userAgent ? `${options.userAgent} ${userAgentTrail}` : userAgentTrail;
|
|
67006
|
+
if (options.baseUrl) {
|
|
67007
|
+
requestDefaults.baseUrl = options.baseUrl;
|
|
67008
|
+
}
|
|
67009
|
+
if (options.previews) {
|
|
67010
|
+
requestDefaults.mediaType.previews = options.previews;
|
|
67011
|
+
}
|
|
67012
|
+
if (options.timeZone) {
|
|
67013
|
+
requestDefaults.headers["time-zone"] = options.timeZone;
|
|
67014
|
+
}
|
|
67015
|
+
this.request = request.defaults(requestDefaults);
|
|
67016
|
+
this.graphql = withCustomRequest(this.request).defaults(requestDefaults);
|
|
67017
|
+
this.log = createLogger(options.log);
|
|
67018
|
+
this.hook = hook2;
|
|
67019
|
+
if (!options.authStrategy) {
|
|
67020
|
+
if (!options.auth) {
|
|
67021
|
+
this.auth = async () => ({
|
|
67022
|
+
type: "unauthenticated"
|
|
67023
|
+
});
|
|
67024
|
+
} else {
|
|
67025
|
+
const auth2 = createTokenAuth(options.auth);
|
|
67026
|
+
hook2.wrap("request", auth2.hook);
|
|
67027
|
+
this.auth = auth2;
|
|
67028
|
+
}
|
|
67029
|
+
} else {
|
|
67030
|
+
const { authStrategy, ...otherOptions } = options;
|
|
67031
|
+
const auth2 = authStrategy(
|
|
67032
|
+
Object.assign(
|
|
67033
|
+
{
|
|
67034
|
+
request: this.request,
|
|
67035
|
+
log: this.log,
|
|
67036
|
+
// we pass the current octokit instance as well as its constructor options
|
|
67037
|
+
// to allow for authentication strategies that return a new octokit instance
|
|
67038
|
+
// that shares the same internal state as the current one. The original
|
|
67039
|
+
// requirement for this was the "event-octokit" authentication strategy
|
|
67040
|
+
// of https://github.com/probot/octokit-auth-probot.
|
|
67041
|
+
octokit: this,
|
|
67042
|
+
octokitOptions: otherOptions
|
|
67043
|
+
},
|
|
67044
|
+
options.auth
|
|
67045
|
+
)
|
|
67046
|
+
);
|
|
67047
|
+
hook2.wrap("request", auth2.hook);
|
|
67048
|
+
this.auth = auth2;
|
|
67049
|
+
}
|
|
67050
|
+
const classConstructor = this.constructor;
|
|
67051
|
+
for (let i = 0; i < classConstructor.plugins.length; ++i) {
|
|
67052
|
+
Object.assign(this, classConstructor.plugins[i](this, options));
|
|
67053
|
+
}
|
|
67054
|
+
}
|
|
67055
|
+
// assigned during constructor
|
|
67056
|
+
request;
|
|
67057
|
+
graphql;
|
|
67058
|
+
log;
|
|
67059
|
+
hook;
|
|
67060
|
+
// TODO: type `octokit.auth` based on passed options.authStrategy
|
|
67061
|
+
auth;
|
|
67062
|
+
};
|
|
67063
|
+
|
|
67064
|
+
// ../../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
|
|
67065
|
+
var VERSION5 = "6.0.0";
|
|
67066
|
+
|
|
67067
|
+
// ../../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
|
|
67068
|
+
function requestLog(octokit) {
|
|
67069
|
+
octokit.hook.wrap("request", (request2, options) => {
|
|
67070
|
+
octokit.log.debug("request", options);
|
|
67071
|
+
const start = Date.now();
|
|
67072
|
+
const requestOptions = octokit.request.endpoint.parse(options);
|
|
67073
|
+
const path18 = requestOptions.url.replace(options.baseUrl, "");
|
|
67074
|
+
return request2(options).then((response) => {
|
|
67075
|
+
const requestId = response.headers["x-github-request-id"];
|
|
67076
|
+
octokit.log.info(
|
|
67077
|
+
`${requestOptions.method} ${path18} - ${response.status} with id ${requestId} in ${Date.now() - start}ms`
|
|
67078
|
+
);
|
|
67079
|
+
return response;
|
|
67080
|
+
}).catch((error50) => {
|
|
67081
|
+
const requestId = error50.response?.headers["x-github-request-id"] || "UNKNOWN";
|
|
67082
|
+
octokit.log.error(
|
|
67083
|
+
`${requestOptions.method} ${path18} - ${error50.status} with id ${requestId} in ${Date.now() - start}ms`
|
|
67084
|
+
);
|
|
67085
|
+
throw error50;
|
|
67086
|
+
});
|
|
67087
|
+
});
|
|
67088
|
+
}
|
|
67089
|
+
requestLog.VERSION = VERSION5;
|
|
67090
|
+
|
|
67091
|
+
// ../../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
|
|
67092
|
+
var VERSION6 = "0.0.0-development";
|
|
67093
|
+
function normalizePaginatedListResponse(response) {
|
|
67094
|
+
if (!response.data) {
|
|
67095
|
+
return {
|
|
67096
|
+
...response,
|
|
67097
|
+
data: []
|
|
67098
|
+
};
|
|
67099
|
+
}
|
|
67100
|
+
const responseNeedsNormalization = ("total_count" in response.data || "total_commits" in response.data) && !("url" in response.data);
|
|
67101
|
+
if (!responseNeedsNormalization) return response;
|
|
67102
|
+
const incompleteResults = response.data.incomplete_results;
|
|
67103
|
+
const repositorySelection = response.data.repository_selection;
|
|
67104
|
+
const totalCount = response.data.total_count;
|
|
67105
|
+
const totalCommits = response.data.total_commits;
|
|
67106
|
+
delete response.data.incomplete_results;
|
|
67107
|
+
delete response.data.repository_selection;
|
|
67108
|
+
delete response.data.total_count;
|
|
67109
|
+
delete response.data.total_commits;
|
|
67110
|
+
const namespaceKey = Object.keys(response.data)[0];
|
|
67111
|
+
const data = response.data[namespaceKey];
|
|
67112
|
+
response.data = data;
|
|
67113
|
+
if (typeof incompleteResults !== "undefined") {
|
|
67114
|
+
response.data.incomplete_results = incompleteResults;
|
|
67115
|
+
}
|
|
67116
|
+
if (typeof repositorySelection !== "undefined") {
|
|
67117
|
+
response.data.repository_selection = repositorySelection;
|
|
67118
|
+
}
|
|
67119
|
+
response.data.total_count = totalCount;
|
|
67120
|
+
response.data.total_commits = totalCommits;
|
|
67121
|
+
return response;
|
|
67122
|
+
}
|
|
67123
|
+
function iterator(octokit, route, parameters) {
|
|
67124
|
+
const options = typeof route === "function" ? route.endpoint(parameters) : octokit.request.endpoint(route, parameters);
|
|
67125
|
+
const requestMethod = typeof route === "function" ? route : octokit.request;
|
|
67126
|
+
const method = options.method;
|
|
67127
|
+
const headers = options.headers;
|
|
67128
|
+
let url2 = options.url;
|
|
67129
|
+
return {
|
|
67130
|
+
[Symbol.asyncIterator]: () => ({
|
|
67131
|
+
async next() {
|
|
67132
|
+
if (!url2) return { done: true };
|
|
67133
|
+
try {
|
|
67134
|
+
const response = await requestMethod({ method, url: url2, headers });
|
|
67135
|
+
const normalizedResponse = normalizePaginatedListResponse(response);
|
|
67136
|
+
url2 = ((normalizedResponse.headers.link || "").match(
|
|
67137
|
+
/<([^<>]+)>;\s*rel="next"/
|
|
67138
|
+
) || [])[1];
|
|
67139
|
+
if (!url2 && "total_commits" in normalizedResponse.data) {
|
|
67140
|
+
const parsedUrl = new URL(normalizedResponse.url);
|
|
67141
|
+
const params = parsedUrl.searchParams;
|
|
67142
|
+
const page = parseInt(params.get("page") || "1", 10);
|
|
67143
|
+
const per_page = parseInt(params.get("per_page") || "250", 10);
|
|
67144
|
+
if (page * per_page < normalizedResponse.data.total_commits) {
|
|
67145
|
+
params.set("page", String(page + 1));
|
|
67146
|
+
url2 = parsedUrl.toString();
|
|
67147
|
+
}
|
|
67148
|
+
}
|
|
67149
|
+
return { value: normalizedResponse };
|
|
67150
|
+
} catch (error50) {
|
|
67151
|
+
if (error50.status !== 409) throw error50;
|
|
67152
|
+
url2 = "";
|
|
67153
|
+
return {
|
|
67154
|
+
value: {
|
|
67155
|
+
status: 200,
|
|
67156
|
+
headers: {},
|
|
67157
|
+
data: []
|
|
67158
|
+
}
|
|
67159
|
+
};
|
|
67160
|
+
}
|
|
67161
|
+
}
|
|
67162
|
+
})
|
|
67163
|
+
};
|
|
67164
|
+
}
|
|
67165
|
+
function paginate(octokit, route, parameters, mapFn) {
|
|
67166
|
+
if (typeof parameters === "function") {
|
|
67167
|
+
mapFn = parameters;
|
|
67168
|
+
parameters = void 0;
|
|
67169
|
+
}
|
|
67170
|
+
return gather(
|
|
67171
|
+
octokit,
|
|
67172
|
+
[],
|
|
67173
|
+
iterator(octokit, route, parameters)[Symbol.asyncIterator](),
|
|
67174
|
+
mapFn
|
|
67175
|
+
);
|
|
67176
|
+
}
|
|
67177
|
+
function gather(octokit, results, iterator2, mapFn) {
|
|
67178
|
+
return iterator2.next().then((result) => {
|
|
67179
|
+
if (result.done) {
|
|
67180
|
+
return results;
|
|
67181
|
+
}
|
|
67182
|
+
let earlyExit = false;
|
|
67183
|
+
function done() {
|
|
67184
|
+
earlyExit = true;
|
|
67185
|
+
}
|
|
67186
|
+
results = results.concat(
|
|
67187
|
+
mapFn ? mapFn(result.value, done) : result.value.data
|
|
67188
|
+
);
|
|
67189
|
+
if (earlyExit) {
|
|
67190
|
+
return results;
|
|
67191
|
+
}
|
|
67192
|
+
return gather(octokit, results, iterator2, mapFn);
|
|
67193
|
+
});
|
|
67194
|
+
}
|
|
67195
|
+
var composePaginateRest = Object.assign(paginate, {
|
|
67196
|
+
iterator
|
|
67197
|
+
});
|
|
67198
|
+
function paginateRest(octokit) {
|
|
67199
|
+
return {
|
|
67200
|
+
paginate: Object.assign(paginate.bind(null, octokit), {
|
|
67201
|
+
iterator: iterator.bind(null, octokit)
|
|
67202
|
+
})
|
|
67203
|
+
};
|
|
67204
|
+
}
|
|
67205
|
+
paginateRest.VERSION = VERSION6;
|
|
67206
|
+
|
|
67207
|
+
// ../../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
|
|
67208
|
+
var VERSION7 = "17.0.0";
|
|
67209
|
+
|
|
67210
|
+
// ../../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
|
|
67211
|
+
var Endpoints = {
|
|
67212
|
+
actions: {
|
|
67213
|
+
addCustomLabelsToSelfHostedRunnerForOrg: [
|
|
67214
|
+
"POST /orgs/{org}/actions/runners/{runner_id}/labels"
|
|
67215
|
+
],
|
|
67216
|
+
addCustomLabelsToSelfHostedRunnerForRepo: [
|
|
67217
|
+
"POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"
|
|
67218
|
+
],
|
|
67219
|
+
addRepoAccessToSelfHostedRunnerGroupInOrg: [
|
|
67220
|
+
"PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}"
|
|
67221
|
+
],
|
|
67222
|
+
addSelectedRepoToOrgSecret: [
|
|
67223
|
+
"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"
|
|
67224
|
+
],
|
|
67225
|
+
addSelectedRepoToOrgVariable: [
|
|
67226
|
+
"PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"
|
|
67227
|
+
],
|
|
67228
|
+
approveWorkflowRun: [
|
|
67229
|
+
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"
|
|
67230
|
+
],
|
|
67231
|
+
cancelWorkflowRun: [
|
|
67232
|
+
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"
|
|
67233
|
+
],
|
|
67234
|
+
createEnvironmentVariable: [
|
|
67235
|
+
"POST /repos/{owner}/{repo}/environments/{environment_name}/variables"
|
|
67236
|
+
],
|
|
67237
|
+
createHostedRunnerForOrg: ["POST /orgs/{org}/actions/hosted-runners"],
|
|
67238
|
+
createOrUpdateEnvironmentSecret: [
|
|
67239
|
+
"PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"
|
|
67240
|
+
],
|
|
67241
|
+
createOrUpdateOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}"],
|
|
67242
|
+
createOrUpdateRepoSecret: [
|
|
67243
|
+
"PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"
|
|
67244
|
+
],
|
|
67245
|
+
createOrgVariable: ["POST /orgs/{org}/actions/variables"],
|
|
67246
|
+
createRegistrationTokenForOrg: [
|
|
67247
|
+
"POST /orgs/{org}/actions/runners/registration-token"
|
|
67248
|
+
],
|
|
67249
|
+
createRegistrationTokenForRepo: [
|
|
67250
|
+
"POST /repos/{owner}/{repo}/actions/runners/registration-token"
|
|
67251
|
+
],
|
|
67252
|
+
createRemoveTokenForOrg: ["POST /orgs/{org}/actions/runners/remove-token"],
|
|
67253
|
+
createRemoveTokenForRepo: [
|
|
67254
|
+
"POST /repos/{owner}/{repo}/actions/runners/remove-token"
|
|
67255
|
+
],
|
|
67256
|
+
createRepoVariable: ["POST /repos/{owner}/{repo}/actions/variables"],
|
|
67257
|
+
createWorkflowDispatch: [
|
|
67258
|
+
"POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"
|
|
67259
|
+
],
|
|
67260
|
+
deleteActionsCacheById: [
|
|
67261
|
+
"DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"
|
|
67262
|
+
],
|
|
67263
|
+
deleteActionsCacheByKey: [
|
|
67264
|
+
"DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"
|
|
67265
|
+
],
|
|
67266
|
+
deleteArtifact: [
|
|
67267
|
+
"DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"
|
|
67268
|
+
],
|
|
67269
|
+
deleteCustomImageFromOrg: [
|
|
67270
|
+
"DELETE /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}"
|
|
67271
|
+
],
|
|
67272
|
+
deleteCustomImageVersionFromOrg: [
|
|
67273
|
+
"DELETE /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}"
|
|
67274
|
+
],
|
|
67275
|
+
deleteEnvironmentSecret: [
|
|
67276
|
+
"DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"
|
|
67277
|
+
],
|
|
67278
|
+
deleteEnvironmentVariable: [
|
|
67279
|
+
"DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"
|
|
67280
|
+
],
|
|
67281
|
+
deleteHostedRunnerForOrg: [
|
|
67282
|
+
"DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"
|
|
67283
|
+
],
|
|
67284
|
+
deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"],
|
|
67285
|
+
deleteOrgVariable: ["DELETE /orgs/{org}/actions/variables/{name}"],
|
|
67286
|
+
deleteRepoSecret: [
|
|
67287
|
+
"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"
|
|
67288
|
+
],
|
|
67289
|
+
deleteRepoVariable: [
|
|
67290
|
+
"DELETE /repos/{owner}/{repo}/actions/variables/{name}"
|
|
67291
|
+
],
|
|
67292
|
+
deleteSelfHostedRunnerFromOrg: [
|
|
67293
|
+
"DELETE /orgs/{org}/actions/runners/{runner_id}"
|
|
67294
|
+
],
|
|
67295
|
+
deleteSelfHostedRunnerFromRepo: [
|
|
67296
|
+
"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"
|
|
67297
|
+
],
|
|
67298
|
+
deleteWorkflowRun: ["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],
|
|
67299
|
+
deleteWorkflowRunLogs: [
|
|
67300
|
+
"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"
|
|
67301
|
+
],
|
|
67302
|
+
disableSelectedRepositoryGithubActionsOrganization: [
|
|
67303
|
+
"DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"
|
|
67304
|
+
],
|
|
67305
|
+
disableWorkflow: [
|
|
67306
|
+
"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"
|
|
67307
|
+
],
|
|
67308
|
+
downloadArtifact: [
|
|
67309
|
+
"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"
|
|
67310
|
+
],
|
|
67311
|
+
downloadJobLogsForWorkflowRun: [
|
|
67312
|
+
"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"
|
|
67313
|
+
],
|
|
67314
|
+
downloadWorkflowRunAttemptLogs: [
|
|
67315
|
+
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"
|
|
67316
|
+
],
|
|
67317
|
+
downloadWorkflowRunLogs: [
|
|
67318
|
+
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"
|
|
67319
|
+
],
|
|
67320
|
+
enableSelectedRepositoryGithubActionsOrganization: [
|
|
67321
|
+
"PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"
|
|
67322
|
+
],
|
|
67323
|
+
enableWorkflow: [
|
|
67324
|
+
"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"
|
|
67325
|
+
],
|
|
67326
|
+
forceCancelWorkflowRun: [
|
|
67327
|
+
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"
|
|
67328
|
+
],
|
|
67329
|
+
generateRunnerJitconfigForOrg: [
|
|
67330
|
+
"POST /orgs/{org}/actions/runners/generate-jitconfig"
|
|
67331
|
+
],
|
|
67332
|
+
generateRunnerJitconfigForRepo: [
|
|
67333
|
+
"POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"
|
|
67334
|
+
],
|
|
67335
|
+
getActionsCacheList: ["GET /repos/{owner}/{repo}/actions/caches"],
|
|
67336
|
+
getActionsCacheUsage: ["GET /repos/{owner}/{repo}/actions/cache/usage"],
|
|
67337
|
+
getActionsCacheUsageByRepoForOrg: [
|
|
67338
|
+
"GET /orgs/{org}/actions/cache/usage-by-repository"
|
|
67339
|
+
],
|
|
67340
|
+
getActionsCacheUsageForOrg: ["GET /orgs/{org}/actions/cache/usage"],
|
|
67341
|
+
getAllowedActionsOrganization: [
|
|
67342
|
+
"GET /orgs/{org}/actions/permissions/selected-actions"
|
|
67343
|
+
],
|
|
67344
|
+
getAllowedActionsRepository: [
|
|
67345
|
+
"GET /repos/{owner}/{repo}/actions/permissions/selected-actions"
|
|
67346
|
+
],
|
|
67347
|
+
getArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],
|
|
67348
|
+
getCustomImageForOrg: [
|
|
67349
|
+
"GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}"
|
|
67350
|
+
],
|
|
67351
|
+
getCustomImageVersionForOrg: [
|
|
67352
|
+
"GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}"
|
|
67353
|
+
],
|
|
67354
|
+
getCustomOidcSubClaimForRepo: [
|
|
67355
|
+
"GET /repos/{owner}/{repo}/actions/oidc/customization/sub"
|
|
67356
|
+
],
|
|
67357
|
+
getEnvironmentPublicKey: [
|
|
67358
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key"
|
|
67359
|
+
],
|
|
67360
|
+
getEnvironmentSecret: [
|
|
67361
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"
|
|
67362
|
+
],
|
|
67363
|
+
getEnvironmentVariable: [
|
|
67364
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"
|
|
67365
|
+
],
|
|
67366
|
+
getGithubActionsDefaultWorkflowPermissionsOrganization: [
|
|
67367
|
+
"GET /orgs/{org}/actions/permissions/workflow"
|
|
67368
|
+
],
|
|
67369
|
+
getGithubActionsDefaultWorkflowPermissionsRepository: [
|
|
67370
|
+
"GET /repos/{owner}/{repo}/actions/permissions/workflow"
|
|
67371
|
+
],
|
|
67372
|
+
getGithubActionsPermissionsOrganization: [
|
|
67373
|
+
"GET /orgs/{org}/actions/permissions"
|
|
67374
|
+
],
|
|
67375
|
+
getGithubActionsPermissionsRepository: [
|
|
67376
|
+
"GET /repos/{owner}/{repo}/actions/permissions"
|
|
67377
|
+
],
|
|
67378
|
+
getHostedRunnerForOrg: [
|
|
67379
|
+
"GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"
|
|
67380
|
+
],
|
|
67381
|
+
getHostedRunnersGithubOwnedImagesForOrg: [
|
|
67382
|
+
"GET /orgs/{org}/actions/hosted-runners/images/github-owned"
|
|
67383
|
+
],
|
|
67384
|
+
getHostedRunnersLimitsForOrg: [
|
|
67385
|
+
"GET /orgs/{org}/actions/hosted-runners/limits"
|
|
67386
|
+
],
|
|
67387
|
+
getHostedRunnersMachineSpecsForOrg: [
|
|
67388
|
+
"GET /orgs/{org}/actions/hosted-runners/machine-sizes"
|
|
67389
|
+
],
|
|
67390
|
+
getHostedRunnersPartnerImagesForOrg: [
|
|
67391
|
+
"GET /orgs/{org}/actions/hosted-runners/images/partner"
|
|
67392
|
+
],
|
|
67393
|
+
getHostedRunnersPlatformsForOrg: [
|
|
67394
|
+
"GET /orgs/{org}/actions/hosted-runners/platforms"
|
|
67395
|
+
],
|
|
67396
|
+
getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],
|
|
67397
|
+
getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"],
|
|
67398
|
+
getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"],
|
|
67399
|
+
getOrgVariable: ["GET /orgs/{org}/actions/variables/{name}"],
|
|
67400
|
+
getPendingDeploymentsForRun: [
|
|
67401
|
+
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"
|
|
67402
|
+
],
|
|
67403
|
+
getRepoPermissions: [
|
|
67404
|
+
"GET /repos/{owner}/{repo}/actions/permissions",
|
|
67405
|
+
{},
|
|
67406
|
+
{ renamed: ["actions", "getGithubActionsPermissionsRepository"] }
|
|
67407
|
+
],
|
|
67408
|
+
getRepoPublicKey: ["GET /repos/{owner}/{repo}/actions/secrets/public-key"],
|
|
67409
|
+
getRepoSecret: ["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],
|
|
67410
|
+
getRepoVariable: ["GET /repos/{owner}/{repo}/actions/variables/{name}"],
|
|
67411
|
+
getReviewsForRun: [
|
|
67412
|
+
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"
|
|
67413
|
+
],
|
|
67414
|
+
getSelfHostedRunnerForOrg: ["GET /orgs/{org}/actions/runners/{runner_id}"],
|
|
67415
|
+
getSelfHostedRunnerForRepo: [
|
|
67416
|
+
"GET /repos/{owner}/{repo}/actions/runners/{runner_id}"
|
|
67417
|
+
],
|
|
67418
|
+
getWorkflow: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],
|
|
67419
|
+
getWorkflowAccessToRepository: [
|
|
67420
|
+
"GET /repos/{owner}/{repo}/actions/permissions/access"
|
|
67421
|
+
],
|
|
67422
|
+
getWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],
|
|
67423
|
+
getWorkflowRunAttempt: [
|
|
67424
|
+
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"
|
|
67425
|
+
],
|
|
67426
|
+
getWorkflowRunUsage: [
|
|
67427
|
+
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"
|
|
67428
|
+
],
|
|
67429
|
+
getWorkflowUsage: [
|
|
67430
|
+
"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"
|
|
67431
|
+
],
|
|
67432
|
+
listArtifactsForRepo: ["GET /repos/{owner}/{repo}/actions/artifacts"],
|
|
67433
|
+
listCustomImageVersionsForOrg: [
|
|
67434
|
+
"GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions"
|
|
67435
|
+
],
|
|
67436
|
+
listCustomImagesForOrg: [
|
|
67437
|
+
"GET /orgs/{org}/actions/hosted-runners/images/custom"
|
|
67438
|
+
],
|
|
67439
|
+
listEnvironmentSecrets: [
|
|
67440
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/secrets"
|
|
67441
|
+
],
|
|
67442
|
+
listEnvironmentVariables: [
|
|
67443
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/variables"
|
|
67444
|
+
],
|
|
67445
|
+
listGithubHostedRunnersInGroupForOrg: [
|
|
67446
|
+
"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners"
|
|
67447
|
+
],
|
|
67448
|
+
listHostedRunnersForOrg: ["GET /orgs/{org}/actions/hosted-runners"],
|
|
67449
|
+
listJobsForWorkflowRun: [
|
|
67450
|
+
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"
|
|
67451
|
+
],
|
|
67452
|
+
listJobsForWorkflowRunAttempt: [
|
|
67453
|
+
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"
|
|
67454
|
+
],
|
|
67455
|
+
listLabelsForSelfHostedRunnerForOrg: [
|
|
67456
|
+
"GET /orgs/{org}/actions/runners/{runner_id}/labels"
|
|
67457
|
+
],
|
|
67458
|
+
listLabelsForSelfHostedRunnerForRepo: [
|
|
67459
|
+
"GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"
|
|
67460
|
+
],
|
|
67461
|
+
listOrgSecrets: ["GET /orgs/{org}/actions/secrets"],
|
|
67462
|
+
listOrgVariables: ["GET /orgs/{org}/actions/variables"],
|
|
67463
|
+
listRepoOrganizationSecrets: [
|
|
67464
|
+
"GET /repos/{owner}/{repo}/actions/organization-secrets"
|
|
67465
|
+
],
|
|
67466
|
+
listRepoOrganizationVariables: [
|
|
67467
|
+
"GET /repos/{owner}/{repo}/actions/organization-variables"
|
|
67468
|
+
],
|
|
67469
|
+
listRepoSecrets: ["GET /repos/{owner}/{repo}/actions/secrets"],
|
|
67470
|
+
listRepoVariables: ["GET /repos/{owner}/{repo}/actions/variables"],
|
|
67471
|
+
listRepoWorkflows: ["GET /repos/{owner}/{repo}/actions/workflows"],
|
|
67472
|
+
listRunnerApplicationsForOrg: ["GET /orgs/{org}/actions/runners/downloads"],
|
|
67473
|
+
listRunnerApplicationsForRepo: [
|
|
67474
|
+
"GET /repos/{owner}/{repo}/actions/runners/downloads"
|
|
67475
|
+
],
|
|
67476
|
+
listSelectedReposForOrgSecret: [
|
|
67477
|
+
"GET /orgs/{org}/actions/secrets/{secret_name}/repositories"
|
|
67478
|
+
],
|
|
67479
|
+
listSelectedReposForOrgVariable: [
|
|
67480
|
+
"GET /orgs/{org}/actions/variables/{name}/repositories"
|
|
67481
|
+
],
|
|
67482
|
+
listSelectedRepositoriesEnabledGithubActionsOrganization: [
|
|
67483
|
+
"GET /orgs/{org}/actions/permissions/repositories"
|
|
67484
|
+
],
|
|
67485
|
+
listSelfHostedRunnersForOrg: ["GET /orgs/{org}/actions/runners"],
|
|
67486
|
+
listSelfHostedRunnersForRepo: ["GET /repos/{owner}/{repo}/actions/runners"],
|
|
67487
|
+
listWorkflowRunArtifacts: [
|
|
67488
|
+
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"
|
|
67489
|
+
],
|
|
67490
|
+
listWorkflowRuns: [
|
|
67491
|
+
"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"
|
|
67492
|
+
],
|
|
67493
|
+
listWorkflowRunsForRepo: ["GET /repos/{owner}/{repo}/actions/runs"],
|
|
67494
|
+
reRunJobForWorkflowRun: [
|
|
67495
|
+
"POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"
|
|
67496
|
+
],
|
|
67497
|
+
reRunWorkflow: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],
|
|
67498
|
+
reRunWorkflowFailedJobs: [
|
|
67499
|
+
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"
|
|
67500
|
+
],
|
|
67501
|
+
removeAllCustomLabelsFromSelfHostedRunnerForOrg: [
|
|
67502
|
+
"DELETE /orgs/{org}/actions/runners/{runner_id}/labels"
|
|
67503
|
+
],
|
|
67504
|
+
removeAllCustomLabelsFromSelfHostedRunnerForRepo: [
|
|
67505
|
+
"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"
|
|
67506
|
+
],
|
|
67507
|
+
removeCustomLabelFromSelfHostedRunnerForOrg: [
|
|
67508
|
+
"DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"
|
|
67509
|
+
],
|
|
67510
|
+
removeCustomLabelFromSelfHostedRunnerForRepo: [
|
|
67511
|
+
"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"
|
|
67512
|
+
],
|
|
67513
|
+
removeSelectedRepoFromOrgSecret: [
|
|
67514
|
+
"DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"
|
|
67515
|
+
],
|
|
67516
|
+
removeSelectedRepoFromOrgVariable: [
|
|
67517
|
+
"DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"
|
|
67518
|
+
],
|
|
67519
|
+
reviewCustomGatesForRun: [
|
|
67520
|
+
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"
|
|
67521
|
+
],
|
|
67522
|
+
reviewPendingDeploymentsForRun: [
|
|
67523
|
+
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"
|
|
67524
|
+
],
|
|
67525
|
+
setAllowedActionsOrganization: [
|
|
67526
|
+
"PUT /orgs/{org}/actions/permissions/selected-actions"
|
|
67527
|
+
],
|
|
67528
|
+
setAllowedActionsRepository: [
|
|
67529
|
+
"PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"
|
|
67530
|
+
],
|
|
67531
|
+
setCustomLabelsForSelfHostedRunnerForOrg: [
|
|
67532
|
+
"PUT /orgs/{org}/actions/runners/{runner_id}/labels"
|
|
67533
|
+
],
|
|
67534
|
+
setCustomLabelsForSelfHostedRunnerForRepo: [
|
|
67535
|
+
"PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"
|
|
67536
|
+
],
|
|
67537
|
+
setCustomOidcSubClaimForRepo: [
|
|
67538
|
+
"PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"
|
|
67539
|
+
],
|
|
67540
|
+
setGithubActionsDefaultWorkflowPermissionsOrganization: [
|
|
67541
|
+
"PUT /orgs/{org}/actions/permissions/workflow"
|
|
67542
|
+
],
|
|
67543
|
+
setGithubActionsDefaultWorkflowPermissionsRepository: [
|
|
67544
|
+
"PUT /repos/{owner}/{repo}/actions/permissions/workflow"
|
|
67545
|
+
],
|
|
67546
|
+
setGithubActionsPermissionsOrganization: [
|
|
67547
|
+
"PUT /orgs/{org}/actions/permissions"
|
|
67548
|
+
],
|
|
67549
|
+
setGithubActionsPermissionsRepository: [
|
|
67550
|
+
"PUT /repos/{owner}/{repo}/actions/permissions"
|
|
67551
|
+
],
|
|
67552
|
+
setSelectedReposForOrgSecret: [
|
|
67553
|
+
"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"
|
|
67554
|
+
],
|
|
67555
|
+
setSelectedReposForOrgVariable: [
|
|
67556
|
+
"PUT /orgs/{org}/actions/variables/{name}/repositories"
|
|
67557
|
+
],
|
|
67558
|
+
setSelectedRepositoriesEnabledGithubActionsOrganization: [
|
|
67559
|
+
"PUT /orgs/{org}/actions/permissions/repositories"
|
|
67560
|
+
],
|
|
67561
|
+
setWorkflowAccessToRepository: [
|
|
67562
|
+
"PUT /repos/{owner}/{repo}/actions/permissions/access"
|
|
67563
|
+
],
|
|
67564
|
+
updateEnvironmentVariable: [
|
|
67565
|
+
"PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"
|
|
67566
|
+
],
|
|
67567
|
+
updateHostedRunnerForOrg: [
|
|
67568
|
+
"PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"
|
|
67569
|
+
],
|
|
67570
|
+
updateOrgVariable: ["PATCH /orgs/{org}/actions/variables/{name}"],
|
|
67571
|
+
updateRepoVariable: [
|
|
67572
|
+
"PATCH /repos/{owner}/{repo}/actions/variables/{name}"
|
|
67573
|
+
]
|
|
67574
|
+
},
|
|
67575
|
+
activity: {
|
|
67576
|
+
checkRepoIsStarredByAuthenticatedUser: ["GET /user/starred/{owner}/{repo}"],
|
|
67577
|
+
deleteRepoSubscription: ["DELETE /repos/{owner}/{repo}/subscription"],
|
|
67578
|
+
deleteThreadSubscription: [
|
|
67579
|
+
"DELETE /notifications/threads/{thread_id}/subscription"
|
|
67580
|
+
],
|
|
67581
|
+
getFeeds: ["GET /feeds"],
|
|
67582
|
+
getRepoSubscription: ["GET /repos/{owner}/{repo}/subscription"],
|
|
67583
|
+
getThread: ["GET /notifications/threads/{thread_id}"],
|
|
67584
|
+
getThreadSubscriptionForAuthenticatedUser: [
|
|
67585
|
+
"GET /notifications/threads/{thread_id}/subscription"
|
|
67586
|
+
],
|
|
67587
|
+
listEventsForAuthenticatedUser: ["GET /users/{username}/events"],
|
|
67588
|
+
listNotificationsForAuthenticatedUser: ["GET /notifications"],
|
|
67589
|
+
listOrgEventsForAuthenticatedUser: [
|
|
67590
|
+
"GET /users/{username}/events/orgs/{org}"
|
|
67591
|
+
],
|
|
67592
|
+
listPublicEvents: ["GET /events"],
|
|
67593
|
+
listPublicEventsForRepoNetwork: ["GET /networks/{owner}/{repo}/events"],
|
|
67594
|
+
listPublicEventsForUser: ["GET /users/{username}/events/public"],
|
|
67595
|
+
listPublicOrgEvents: ["GET /orgs/{org}/events"],
|
|
67596
|
+
listReceivedEventsForUser: ["GET /users/{username}/received_events"],
|
|
67597
|
+
listReceivedPublicEventsForUser: [
|
|
67598
|
+
"GET /users/{username}/received_events/public"
|
|
67599
|
+
],
|
|
67600
|
+
listRepoEvents: ["GET /repos/{owner}/{repo}/events"],
|
|
67601
|
+
listRepoNotificationsForAuthenticatedUser: [
|
|
67602
|
+
"GET /repos/{owner}/{repo}/notifications"
|
|
67603
|
+
],
|
|
67604
|
+
listReposStarredByAuthenticatedUser: ["GET /user/starred"],
|
|
67605
|
+
listReposStarredByUser: ["GET /users/{username}/starred"],
|
|
67606
|
+
listReposWatchedByUser: ["GET /users/{username}/subscriptions"],
|
|
67607
|
+
listStargazersForRepo: ["GET /repos/{owner}/{repo}/stargazers"],
|
|
67608
|
+
listWatchedReposForAuthenticatedUser: ["GET /user/subscriptions"],
|
|
67609
|
+
listWatchersForRepo: ["GET /repos/{owner}/{repo}/subscribers"],
|
|
67610
|
+
markNotificationsAsRead: ["PUT /notifications"],
|
|
67611
|
+
markRepoNotificationsAsRead: ["PUT /repos/{owner}/{repo}/notifications"],
|
|
67612
|
+
markThreadAsDone: ["DELETE /notifications/threads/{thread_id}"],
|
|
67613
|
+
markThreadAsRead: ["PATCH /notifications/threads/{thread_id}"],
|
|
67614
|
+
setRepoSubscription: ["PUT /repos/{owner}/{repo}/subscription"],
|
|
67615
|
+
setThreadSubscription: [
|
|
67616
|
+
"PUT /notifications/threads/{thread_id}/subscription"
|
|
67617
|
+
],
|
|
67618
|
+
starRepoForAuthenticatedUser: ["PUT /user/starred/{owner}/{repo}"],
|
|
67619
|
+
unstarRepoForAuthenticatedUser: ["DELETE /user/starred/{owner}/{repo}"]
|
|
67620
|
+
},
|
|
67621
|
+
apps: {
|
|
67622
|
+
addRepoToInstallation: [
|
|
67623
|
+
"PUT /user/installations/{installation_id}/repositories/{repository_id}",
|
|
67624
|
+
{},
|
|
67625
|
+
{ renamed: ["apps", "addRepoToInstallationForAuthenticatedUser"] }
|
|
67626
|
+
],
|
|
67627
|
+
addRepoToInstallationForAuthenticatedUser: [
|
|
67628
|
+
"PUT /user/installations/{installation_id}/repositories/{repository_id}"
|
|
67629
|
+
],
|
|
67630
|
+
checkToken: ["POST /applications/{client_id}/token"],
|
|
67631
|
+
createFromManifest: ["POST /app-manifests/{code}/conversions"],
|
|
67632
|
+
createInstallationAccessToken: [
|
|
67633
|
+
"POST /app/installations/{installation_id}/access_tokens"
|
|
67634
|
+
],
|
|
67635
|
+
deleteAuthorization: ["DELETE /applications/{client_id}/grant"],
|
|
67636
|
+
deleteInstallation: ["DELETE /app/installations/{installation_id}"],
|
|
67637
|
+
deleteToken: ["DELETE /applications/{client_id}/token"],
|
|
67638
|
+
getAuthenticated: ["GET /app"],
|
|
67639
|
+
getBySlug: ["GET /apps/{app_slug}"],
|
|
67640
|
+
getInstallation: ["GET /app/installations/{installation_id}"],
|
|
67641
|
+
getOrgInstallation: ["GET /orgs/{org}/installation"],
|
|
67642
|
+
getRepoInstallation: ["GET /repos/{owner}/{repo}/installation"],
|
|
67643
|
+
getSubscriptionPlanForAccount: [
|
|
67644
|
+
"GET /marketplace_listing/accounts/{account_id}"
|
|
67645
|
+
],
|
|
67646
|
+
getSubscriptionPlanForAccountStubbed: [
|
|
67647
|
+
"GET /marketplace_listing/stubbed/accounts/{account_id}"
|
|
67648
|
+
],
|
|
67649
|
+
getUserInstallation: ["GET /users/{username}/installation"],
|
|
67650
|
+
getWebhookConfigForApp: ["GET /app/hook/config"],
|
|
67651
|
+
getWebhookDelivery: ["GET /app/hook/deliveries/{delivery_id}"],
|
|
67652
|
+
listAccountsForPlan: ["GET /marketplace_listing/plans/{plan_id}/accounts"],
|
|
67653
|
+
listAccountsForPlanStubbed: [
|
|
67654
|
+
"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"
|
|
67655
|
+
],
|
|
67656
|
+
listInstallationReposForAuthenticatedUser: [
|
|
67657
|
+
"GET /user/installations/{installation_id}/repositories"
|
|
67658
|
+
],
|
|
67659
|
+
listInstallationRequestsForAuthenticatedApp: [
|
|
67660
|
+
"GET /app/installation-requests"
|
|
67661
|
+
],
|
|
67662
|
+
listInstallations: ["GET /app/installations"],
|
|
67663
|
+
listInstallationsForAuthenticatedUser: ["GET /user/installations"],
|
|
67664
|
+
listPlans: ["GET /marketplace_listing/plans"],
|
|
67665
|
+
listPlansStubbed: ["GET /marketplace_listing/stubbed/plans"],
|
|
67666
|
+
listReposAccessibleToInstallation: ["GET /installation/repositories"],
|
|
67667
|
+
listSubscriptionsForAuthenticatedUser: ["GET /user/marketplace_purchases"],
|
|
67668
|
+
listSubscriptionsForAuthenticatedUserStubbed: [
|
|
67669
|
+
"GET /user/marketplace_purchases/stubbed"
|
|
67670
|
+
],
|
|
67671
|
+
listWebhookDeliveries: ["GET /app/hook/deliveries"],
|
|
67672
|
+
redeliverWebhookDelivery: [
|
|
67673
|
+
"POST /app/hook/deliveries/{delivery_id}/attempts"
|
|
67674
|
+
],
|
|
67675
|
+
removeRepoFromInstallation: [
|
|
67676
|
+
"DELETE /user/installations/{installation_id}/repositories/{repository_id}",
|
|
67677
|
+
{},
|
|
67678
|
+
{ renamed: ["apps", "removeRepoFromInstallationForAuthenticatedUser"] }
|
|
67679
|
+
],
|
|
67680
|
+
removeRepoFromInstallationForAuthenticatedUser: [
|
|
67681
|
+
"DELETE /user/installations/{installation_id}/repositories/{repository_id}"
|
|
67682
|
+
],
|
|
67683
|
+
resetToken: ["PATCH /applications/{client_id}/token"],
|
|
67684
|
+
revokeInstallationAccessToken: ["DELETE /installation/token"],
|
|
67685
|
+
scopeToken: ["POST /applications/{client_id}/token/scoped"],
|
|
67686
|
+
suspendInstallation: ["PUT /app/installations/{installation_id}/suspended"],
|
|
67687
|
+
unsuspendInstallation: [
|
|
67688
|
+
"DELETE /app/installations/{installation_id}/suspended"
|
|
67689
|
+
],
|
|
67690
|
+
updateWebhookConfigForApp: ["PATCH /app/hook/config"]
|
|
67691
|
+
},
|
|
67692
|
+
billing: {
|
|
67693
|
+
getGithubActionsBillingOrg: ["GET /orgs/{org}/settings/billing/actions"],
|
|
67694
|
+
getGithubActionsBillingUser: [
|
|
67695
|
+
"GET /users/{username}/settings/billing/actions"
|
|
67696
|
+
],
|
|
67697
|
+
getGithubBillingPremiumRequestUsageReportOrg: [
|
|
67698
|
+
"GET /organizations/{org}/settings/billing/premium_request/usage"
|
|
67699
|
+
],
|
|
67700
|
+
getGithubBillingPremiumRequestUsageReportUser: [
|
|
67701
|
+
"GET /users/{username}/settings/billing/premium_request/usage"
|
|
67702
|
+
],
|
|
67703
|
+
getGithubBillingUsageReportOrg: [
|
|
67704
|
+
"GET /organizations/{org}/settings/billing/usage"
|
|
67705
|
+
],
|
|
67706
|
+
getGithubBillingUsageReportUser: [
|
|
67707
|
+
"GET /users/{username}/settings/billing/usage"
|
|
67708
|
+
],
|
|
67709
|
+
getGithubPackagesBillingOrg: ["GET /orgs/{org}/settings/billing/packages"],
|
|
67710
|
+
getGithubPackagesBillingUser: [
|
|
67711
|
+
"GET /users/{username}/settings/billing/packages"
|
|
67712
|
+
],
|
|
67713
|
+
getSharedStorageBillingOrg: [
|
|
67714
|
+
"GET /orgs/{org}/settings/billing/shared-storage"
|
|
67715
|
+
],
|
|
67716
|
+
getSharedStorageBillingUser: [
|
|
67717
|
+
"GET /users/{username}/settings/billing/shared-storage"
|
|
67718
|
+
]
|
|
67719
|
+
},
|
|
67720
|
+
campaigns: {
|
|
67721
|
+
createCampaign: ["POST /orgs/{org}/campaigns"],
|
|
67722
|
+
deleteCampaign: ["DELETE /orgs/{org}/campaigns/{campaign_number}"],
|
|
67723
|
+
getCampaignSummary: ["GET /orgs/{org}/campaigns/{campaign_number}"],
|
|
67724
|
+
listOrgCampaigns: ["GET /orgs/{org}/campaigns"],
|
|
67725
|
+
updateCampaign: ["PATCH /orgs/{org}/campaigns/{campaign_number}"]
|
|
67726
|
+
},
|
|
67727
|
+
checks: {
|
|
67728
|
+
create: ["POST /repos/{owner}/{repo}/check-runs"],
|
|
67729
|
+
createSuite: ["POST /repos/{owner}/{repo}/check-suites"],
|
|
67730
|
+
get: ["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],
|
|
67731
|
+
getSuite: ["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],
|
|
67732
|
+
listAnnotations: [
|
|
67733
|
+
"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"
|
|
67734
|
+
],
|
|
67735
|
+
listForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],
|
|
67736
|
+
listForSuite: [
|
|
67737
|
+
"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"
|
|
67738
|
+
],
|
|
67739
|
+
listSuitesForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],
|
|
67740
|
+
rerequestRun: [
|
|
67741
|
+
"POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"
|
|
67742
|
+
],
|
|
67743
|
+
rerequestSuite: [
|
|
67744
|
+
"POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"
|
|
67745
|
+
],
|
|
67746
|
+
setSuitesPreferences: [
|
|
67747
|
+
"PATCH /repos/{owner}/{repo}/check-suites/preferences"
|
|
67748
|
+
],
|
|
67749
|
+
update: ["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]
|
|
67750
|
+
},
|
|
67751
|
+
codeScanning: {
|
|
67752
|
+
commitAutofix: [
|
|
67753
|
+
"POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix/commits"
|
|
67754
|
+
],
|
|
67755
|
+
createAutofix: [
|
|
67756
|
+
"POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix"
|
|
67757
|
+
],
|
|
67758
|
+
createVariantAnalysis: [
|
|
67759
|
+
"POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses"
|
|
67760
|
+
],
|
|
67761
|
+
deleteAnalysis: [
|
|
67762
|
+
"DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"
|
|
67763
|
+
],
|
|
67764
|
+
deleteCodeqlDatabase: [
|
|
67765
|
+
"DELETE /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"
|
|
67766
|
+
],
|
|
67767
|
+
getAlert: [
|
|
67768
|
+
"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",
|
|
67769
|
+
{},
|
|
67770
|
+
{ renamedParameters: { alert_id: "alert_number" } }
|
|
67771
|
+
],
|
|
67772
|
+
getAnalysis: [
|
|
67773
|
+
"GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"
|
|
67774
|
+
],
|
|
67775
|
+
getAutofix: [
|
|
67776
|
+
"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix"
|
|
67777
|
+
],
|
|
67778
|
+
getCodeqlDatabase: [
|
|
67779
|
+
"GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"
|
|
67780
|
+
],
|
|
67781
|
+
getDefaultSetup: ["GET /repos/{owner}/{repo}/code-scanning/default-setup"],
|
|
67782
|
+
getSarif: ["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],
|
|
67783
|
+
getVariantAnalysis: [
|
|
67784
|
+
"GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}"
|
|
67785
|
+
],
|
|
67786
|
+
getVariantAnalysisRepoTask: [
|
|
67787
|
+
"GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}"
|
|
67788
|
+
],
|
|
67789
|
+
listAlertInstances: [
|
|
67790
|
+
"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"
|
|
67791
|
+
],
|
|
67792
|
+
listAlertsForOrg: ["GET /orgs/{org}/code-scanning/alerts"],
|
|
67793
|
+
listAlertsForRepo: ["GET /repos/{owner}/{repo}/code-scanning/alerts"],
|
|
67794
|
+
listAlertsInstances: [
|
|
67795
|
+
"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",
|
|
67796
|
+
{},
|
|
67797
|
+
{ renamed: ["codeScanning", "listAlertInstances"] }
|
|
67798
|
+
],
|
|
67799
|
+
listCodeqlDatabases: [
|
|
67800
|
+
"GET /repos/{owner}/{repo}/code-scanning/codeql/databases"
|
|
67801
|
+
],
|
|
67802
|
+
listRecentAnalyses: ["GET /repos/{owner}/{repo}/code-scanning/analyses"],
|
|
67803
|
+
updateAlert: [
|
|
67804
|
+
"PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"
|
|
67805
|
+
],
|
|
67806
|
+
updateDefaultSetup: [
|
|
67807
|
+
"PATCH /repos/{owner}/{repo}/code-scanning/default-setup"
|
|
67808
|
+
],
|
|
67809
|
+
uploadSarif: ["POST /repos/{owner}/{repo}/code-scanning/sarifs"]
|
|
67810
|
+
},
|
|
67811
|
+
codeSecurity: {
|
|
67812
|
+
attachConfiguration: [
|
|
67813
|
+
"POST /orgs/{org}/code-security/configurations/{configuration_id}/attach"
|
|
67814
|
+
],
|
|
67815
|
+
attachEnterpriseConfiguration: [
|
|
67816
|
+
"POST /enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach"
|
|
67817
|
+
],
|
|
67818
|
+
createConfiguration: ["POST /orgs/{org}/code-security/configurations"],
|
|
67819
|
+
createConfigurationForEnterprise: [
|
|
67820
|
+
"POST /enterprises/{enterprise}/code-security/configurations"
|
|
67821
|
+
],
|
|
67822
|
+
deleteConfiguration: [
|
|
67823
|
+
"DELETE /orgs/{org}/code-security/configurations/{configuration_id}"
|
|
67824
|
+
],
|
|
67825
|
+
deleteConfigurationForEnterprise: [
|
|
67826
|
+
"DELETE /enterprises/{enterprise}/code-security/configurations/{configuration_id}"
|
|
67827
|
+
],
|
|
67828
|
+
detachConfiguration: [
|
|
67829
|
+
"DELETE /orgs/{org}/code-security/configurations/detach"
|
|
67830
|
+
],
|
|
67831
|
+
getConfiguration: [
|
|
67832
|
+
"GET /orgs/{org}/code-security/configurations/{configuration_id}"
|
|
67833
|
+
],
|
|
67834
|
+
getConfigurationForRepository: [
|
|
67835
|
+
"GET /repos/{owner}/{repo}/code-security-configuration"
|
|
67836
|
+
],
|
|
67837
|
+
getConfigurationsForEnterprise: [
|
|
67838
|
+
"GET /enterprises/{enterprise}/code-security/configurations"
|
|
67839
|
+
],
|
|
67840
|
+
getConfigurationsForOrg: ["GET /orgs/{org}/code-security/configurations"],
|
|
67841
|
+
getDefaultConfigurations: [
|
|
67842
|
+
"GET /orgs/{org}/code-security/configurations/defaults"
|
|
67843
|
+
],
|
|
67844
|
+
getDefaultConfigurationsForEnterprise: [
|
|
67845
|
+
"GET /enterprises/{enterprise}/code-security/configurations/defaults"
|
|
67846
|
+
],
|
|
67847
|
+
getRepositoriesForConfiguration: [
|
|
67848
|
+
"GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories"
|
|
67849
|
+
],
|
|
67850
|
+
getRepositoriesForEnterpriseConfiguration: [
|
|
67851
|
+
"GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories"
|
|
67852
|
+
],
|
|
67853
|
+
getSingleConfigurationForEnterprise: [
|
|
67854
|
+
"GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}"
|
|
67855
|
+
],
|
|
67856
|
+
setConfigurationAsDefault: [
|
|
67857
|
+
"PUT /orgs/{org}/code-security/configurations/{configuration_id}/defaults"
|
|
67858
|
+
],
|
|
67859
|
+
setConfigurationAsDefaultForEnterprise: [
|
|
67860
|
+
"PUT /enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults"
|
|
67861
|
+
],
|
|
67862
|
+
updateConfiguration: [
|
|
67863
|
+
"PATCH /orgs/{org}/code-security/configurations/{configuration_id}"
|
|
67864
|
+
],
|
|
67865
|
+
updateEnterpriseConfiguration: [
|
|
67866
|
+
"PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id}"
|
|
67867
|
+
]
|
|
67868
|
+
},
|
|
67869
|
+
codesOfConduct: {
|
|
67870
|
+
getAllCodesOfConduct: ["GET /codes_of_conduct"],
|
|
67871
|
+
getConductCode: ["GET /codes_of_conduct/{key}"]
|
|
67872
|
+
},
|
|
67873
|
+
codespaces: {
|
|
67874
|
+
addRepositoryForSecretForAuthenticatedUser: [
|
|
67875
|
+
"PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"
|
|
67876
|
+
],
|
|
67877
|
+
addSelectedRepoToOrgSecret: [
|
|
67878
|
+
"PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"
|
|
67879
|
+
],
|
|
67880
|
+
checkPermissionsForDevcontainer: [
|
|
67881
|
+
"GET /repos/{owner}/{repo}/codespaces/permissions_check"
|
|
67882
|
+
],
|
|
67883
|
+
codespaceMachinesForAuthenticatedUser: [
|
|
67884
|
+
"GET /user/codespaces/{codespace_name}/machines"
|
|
67885
|
+
],
|
|
67886
|
+
createForAuthenticatedUser: ["POST /user/codespaces"],
|
|
67887
|
+
createOrUpdateOrgSecret: [
|
|
67888
|
+
"PUT /orgs/{org}/codespaces/secrets/{secret_name}"
|
|
67889
|
+
],
|
|
67890
|
+
createOrUpdateRepoSecret: [
|
|
67891
|
+
"PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"
|
|
67892
|
+
],
|
|
67893
|
+
createOrUpdateSecretForAuthenticatedUser: [
|
|
67894
|
+
"PUT /user/codespaces/secrets/{secret_name}"
|
|
67895
|
+
],
|
|
67896
|
+
createWithPrForAuthenticatedUser: [
|
|
67897
|
+
"POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"
|
|
67898
|
+
],
|
|
67899
|
+
createWithRepoForAuthenticatedUser: [
|
|
67900
|
+
"POST /repos/{owner}/{repo}/codespaces"
|
|
67901
|
+
],
|
|
67902
|
+
deleteForAuthenticatedUser: ["DELETE /user/codespaces/{codespace_name}"],
|
|
67903
|
+
deleteFromOrganization: [
|
|
67904
|
+
"DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"
|
|
67905
|
+
],
|
|
67906
|
+
deleteOrgSecret: ["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],
|
|
67907
|
+
deleteRepoSecret: [
|
|
67908
|
+
"DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"
|
|
67909
|
+
],
|
|
67910
|
+
deleteSecretForAuthenticatedUser: [
|
|
67911
|
+
"DELETE /user/codespaces/secrets/{secret_name}"
|
|
67912
|
+
],
|
|
67913
|
+
exportForAuthenticatedUser: [
|
|
67914
|
+
"POST /user/codespaces/{codespace_name}/exports"
|
|
67915
|
+
],
|
|
67916
|
+
getCodespacesForUserInOrg: [
|
|
67917
|
+
"GET /orgs/{org}/members/{username}/codespaces"
|
|
67918
|
+
],
|
|
67919
|
+
getExportDetailsForAuthenticatedUser: [
|
|
67920
|
+
"GET /user/codespaces/{codespace_name}/exports/{export_id}"
|
|
67921
|
+
],
|
|
67922
|
+
getForAuthenticatedUser: ["GET /user/codespaces/{codespace_name}"],
|
|
67923
|
+
getOrgPublicKey: ["GET /orgs/{org}/codespaces/secrets/public-key"],
|
|
67924
|
+
getOrgSecret: ["GET /orgs/{org}/codespaces/secrets/{secret_name}"],
|
|
67925
|
+
getPublicKeyForAuthenticatedUser: [
|
|
67926
|
+
"GET /user/codespaces/secrets/public-key"
|
|
67927
|
+
],
|
|
67928
|
+
getRepoPublicKey: [
|
|
67929
|
+
"GET /repos/{owner}/{repo}/codespaces/secrets/public-key"
|
|
67930
|
+
],
|
|
67931
|
+
getRepoSecret: [
|
|
67932
|
+
"GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"
|
|
67933
|
+
],
|
|
67934
|
+
getSecretForAuthenticatedUser: [
|
|
67935
|
+
"GET /user/codespaces/secrets/{secret_name}"
|
|
67936
|
+
],
|
|
67937
|
+
listDevcontainersInRepositoryForAuthenticatedUser: [
|
|
67938
|
+
"GET /repos/{owner}/{repo}/codespaces/devcontainers"
|
|
67939
|
+
],
|
|
67940
|
+
listForAuthenticatedUser: ["GET /user/codespaces"],
|
|
67941
|
+
listInOrganization: [
|
|
67942
|
+
"GET /orgs/{org}/codespaces",
|
|
67943
|
+
{},
|
|
67944
|
+
{ renamedParameters: { org_id: "org" } }
|
|
67945
|
+
],
|
|
67946
|
+
listInRepositoryForAuthenticatedUser: [
|
|
67947
|
+
"GET /repos/{owner}/{repo}/codespaces"
|
|
67948
|
+
],
|
|
67949
|
+
listOrgSecrets: ["GET /orgs/{org}/codespaces/secrets"],
|
|
67950
|
+
listRepoSecrets: ["GET /repos/{owner}/{repo}/codespaces/secrets"],
|
|
67951
|
+
listRepositoriesForSecretForAuthenticatedUser: [
|
|
67952
|
+
"GET /user/codespaces/secrets/{secret_name}/repositories"
|
|
67953
|
+
],
|
|
67954
|
+
listSecretsForAuthenticatedUser: ["GET /user/codespaces/secrets"],
|
|
67955
|
+
listSelectedReposForOrgSecret: [
|
|
67956
|
+
"GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"
|
|
67957
|
+
],
|
|
67958
|
+
preFlightWithRepoForAuthenticatedUser: [
|
|
67959
|
+
"GET /repos/{owner}/{repo}/codespaces/new"
|
|
67960
|
+
],
|
|
67961
|
+
publishForAuthenticatedUser: [
|
|
67962
|
+
"POST /user/codespaces/{codespace_name}/publish"
|
|
67963
|
+
],
|
|
67964
|
+
removeRepositoryForSecretForAuthenticatedUser: [
|
|
67965
|
+
"DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"
|
|
67966
|
+
],
|
|
67967
|
+
removeSelectedRepoFromOrgSecret: [
|
|
67968
|
+
"DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"
|
|
67969
|
+
],
|
|
67970
|
+
repoMachinesForAuthenticatedUser: [
|
|
67971
|
+
"GET /repos/{owner}/{repo}/codespaces/machines"
|
|
67972
|
+
],
|
|
67973
|
+
setRepositoriesForSecretForAuthenticatedUser: [
|
|
67974
|
+
"PUT /user/codespaces/secrets/{secret_name}/repositories"
|
|
67975
|
+
],
|
|
67976
|
+
setSelectedReposForOrgSecret: [
|
|
67977
|
+
"PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"
|
|
67978
|
+
],
|
|
67979
|
+
startForAuthenticatedUser: ["POST /user/codespaces/{codespace_name}/start"],
|
|
67980
|
+
stopForAuthenticatedUser: ["POST /user/codespaces/{codespace_name}/stop"],
|
|
67981
|
+
stopInOrganization: [
|
|
67982
|
+
"POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"
|
|
67983
|
+
],
|
|
67984
|
+
updateForAuthenticatedUser: ["PATCH /user/codespaces/{codespace_name}"]
|
|
67985
|
+
},
|
|
67986
|
+
copilot: {
|
|
67987
|
+
addCopilotSeatsForTeams: [
|
|
67988
|
+
"POST /orgs/{org}/copilot/billing/selected_teams"
|
|
67989
|
+
],
|
|
67990
|
+
addCopilotSeatsForUsers: [
|
|
67991
|
+
"POST /orgs/{org}/copilot/billing/selected_users"
|
|
67992
|
+
],
|
|
67993
|
+
cancelCopilotSeatAssignmentForTeams: [
|
|
67994
|
+
"DELETE /orgs/{org}/copilot/billing/selected_teams"
|
|
67995
|
+
],
|
|
67996
|
+
cancelCopilotSeatAssignmentForUsers: [
|
|
67997
|
+
"DELETE /orgs/{org}/copilot/billing/selected_users"
|
|
67998
|
+
],
|
|
67999
|
+
copilotMetricsForOrganization: ["GET /orgs/{org}/copilot/metrics"],
|
|
68000
|
+
copilotMetricsForTeam: ["GET /orgs/{org}/team/{team_slug}/copilot/metrics"],
|
|
68001
|
+
getCopilotOrganizationDetails: ["GET /orgs/{org}/copilot/billing"],
|
|
68002
|
+
getCopilotSeatDetailsForUser: [
|
|
68003
|
+
"GET /orgs/{org}/members/{username}/copilot"
|
|
68004
|
+
],
|
|
68005
|
+
listCopilotSeats: ["GET /orgs/{org}/copilot/billing/seats"]
|
|
68006
|
+
},
|
|
68007
|
+
credentials: { revoke: ["POST /credentials/revoke"] },
|
|
68008
|
+
dependabot: {
|
|
68009
|
+
addSelectedRepoToOrgSecret: [
|
|
68010
|
+
"PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"
|
|
68011
|
+
],
|
|
68012
|
+
createOrUpdateOrgSecret: [
|
|
68013
|
+
"PUT /orgs/{org}/dependabot/secrets/{secret_name}"
|
|
68014
|
+
],
|
|
68015
|
+
createOrUpdateRepoSecret: [
|
|
68016
|
+
"PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"
|
|
68017
|
+
],
|
|
68018
|
+
deleteOrgSecret: ["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],
|
|
68019
|
+
deleteRepoSecret: [
|
|
68020
|
+
"DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"
|
|
68021
|
+
],
|
|
68022
|
+
getAlert: ["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],
|
|
68023
|
+
getOrgPublicKey: ["GET /orgs/{org}/dependabot/secrets/public-key"],
|
|
68024
|
+
getOrgSecret: ["GET /orgs/{org}/dependabot/secrets/{secret_name}"],
|
|
68025
|
+
getRepoPublicKey: [
|
|
68026
|
+
"GET /repos/{owner}/{repo}/dependabot/secrets/public-key"
|
|
68027
|
+
],
|
|
68028
|
+
getRepoSecret: [
|
|
68029
|
+
"GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"
|
|
68030
|
+
],
|
|
68031
|
+
listAlertsForEnterprise: [
|
|
68032
|
+
"GET /enterprises/{enterprise}/dependabot/alerts"
|
|
68033
|
+
],
|
|
68034
|
+
listAlertsForOrg: ["GET /orgs/{org}/dependabot/alerts"],
|
|
68035
|
+
listAlertsForRepo: ["GET /repos/{owner}/{repo}/dependabot/alerts"],
|
|
68036
|
+
listOrgSecrets: ["GET /orgs/{org}/dependabot/secrets"],
|
|
68037
|
+
listRepoSecrets: ["GET /repos/{owner}/{repo}/dependabot/secrets"],
|
|
68038
|
+
listSelectedReposForOrgSecret: [
|
|
68039
|
+
"GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"
|
|
68040
|
+
],
|
|
68041
|
+
removeSelectedRepoFromOrgSecret: [
|
|
68042
|
+
"DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"
|
|
68043
|
+
],
|
|
68044
|
+
repositoryAccessForOrg: [
|
|
68045
|
+
"GET /organizations/{org}/dependabot/repository-access"
|
|
68046
|
+
],
|
|
68047
|
+
setRepositoryAccessDefaultLevel: [
|
|
68048
|
+
"PUT /organizations/{org}/dependabot/repository-access/default-level"
|
|
68049
|
+
],
|
|
68050
|
+
setSelectedReposForOrgSecret: [
|
|
68051
|
+
"PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"
|
|
68052
|
+
],
|
|
68053
|
+
updateAlert: [
|
|
68054
|
+
"PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"
|
|
68055
|
+
],
|
|
68056
|
+
updateRepositoryAccessForOrg: [
|
|
68057
|
+
"PATCH /organizations/{org}/dependabot/repository-access"
|
|
68058
|
+
]
|
|
68059
|
+
},
|
|
68060
|
+
dependencyGraph: {
|
|
68061
|
+
createRepositorySnapshot: [
|
|
68062
|
+
"POST /repos/{owner}/{repo}/dependency-graph/snapshots"
|
|
68063
|
+
],
|
|
68064
|
+
diffRange: [
|
|
68065
|
+
"GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"
|
|
68066
|
+
],
|
|
68067
|
+
exportSbom: ["GET /repos/{owner}/{repo}/dependency-graph/sbom"]
|
|
68068
|
+
},
|
|
68069
|
+
emojis: { get: ["GET /emojis"] },
|
|
68070
|
+
enterpriseTeamMemberships: {
|
|
68071
|
+
add: [
|
|
68072
|
+
"PUT /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}"
|
|
68073
|
+
],
|
|
68074
|
+
bulkAdd: [
|
|
68075
|
+
"POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/add"
|
|
68076
|
+
],
|
|
68077
|
+
bulkRemove: [
|
|
68078
|
+
"POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove"
|
|
68079
|
+
],
|
|
68080
|
+
get: [
|
|
68081
|
+
"GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}"
|
|
68082
|
+
],
|
|
68083
|
+
list: ["GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships"],
|
|
68084
|
+
remove: [
|
|
68085
|
+
"DELETE /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}"
|
|
68086
|
+
]
|
|
68087
|
+
},
|
|
68088
|
+
enterpriseTeamOrganizations: {
|
|
68089
|
+
add: [
|
|
68090
|
+
"PUT /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}"
|
|
68091
|
+
],
|
|
68092
|
+
bulkAdd: [
|
|
68093
|
+
"POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/add"
|
|
68094
|
+
],
|
|
68095
|
+
bulkRemove: [
|
|
68096
|
+
"POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove"
|
|
68097
|
+
],
|
|
68098
|
+
delete: [
|
|
68099
|
+
"DELETE /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}"
|
|
68100
|
+
],
|
|
68101
|
+
getAssignment: [
|
|
68102
|
+
"GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}"
|
|
68103
|
+
],
|
|
68104
|
+
getAssignments: [
|
|
68105
|
+
"GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations"
|
|
68106
|
+
]
|
|
68107
|
+
},
|
|
68108
|
+
enterpriseTeams: {
|
|
68109
|
+
create: ["POST /enterprises/{enterprise}/teams"],
|
|
68110
|
+
delete: ["DELETE /enterprises/{enterprise}/teams/{team_slug}"],
|
|
68111
|
+
get: ["GET /enterprises/{enterprise}/teams/{team_slug}"],
|
|
68112
|
+
list: ["GET /enterprises/{enterprise}/teams"],
|
|
68113
|
+
update: ["PATCH /enterprises/{enterprise}/teams/{team_slug}"]
|
|
68114
|
+
},
|
|
68115
|
+
gists: {
|
|
68116
|
+
checkIsStarred: ["GET /gists/{gist_id}/star"],
|
|
68117
|
+
create: ["POST /gists"],
|
|
68118
|
+
createComment: ["POST /gists/{gist_id}/comments"],
|
|
68119
|
+
delete: ["DELETE /gists/{gist_id}"],
|
|
68120
|
+
deleteComment: ["DELETE /gists/{gist_id}/comments/{comment_id}"],
|
|
68121
|
+
fork: ["POST /gists/{gist_id}/forks"],
|
|
68122
|
+
get: ["GET /gists/{gist_id}"],
|
|
68123
|
+
getComment: ["GET /gists/{gist_id}/comments/{comment_id}"],
|
|
68124
|
+
getRevision: ["GET /gists/{gist_id}/{sha}"],
|
|
68125
|
+
list: ["GET /gists"],
|
|
68126
|
+
listComments: ["GET /gists/{gist_id}/comments"],
|
|
68127
|
+
listCommits: ["GET /gists/{gist_id}/commits"],
|
|
68128
|
+
listForUser: ["GET /users/{username}/gists"],
|
|
68129
|
+
listForks: ["GET /gists/{gist_id}/forks"],
|
|
68130
|
+
listPublic: ["GET /gists/public"],
|
|
68131
|
+
listStarred: ["GET /gists/starred"],
|
|
68132
|
+
star: ["PUT /gists/{gist_id}/star"],
|
|
68133
|
+
unstar: ["DELETE /gists/{gist_id}/star"],
|
|
68134
|
+
update: ["PATCH /gists/{gist_id}"],
|
|
68135
|
+
updateComment: ["PATCH /gists/{gist_id}/comments/{comment_id}"]
|
|
68136
|
+
},
|
|
68137
|
+
git: {
|
|
68138
|
+
createBlob: ["POST /repos/{owner}/{repo}/git/blobs"],
|
|
68139
|
+
createCommit: ["POST /repos/{owner}/{repo}/git/commits"],
|
|
68140
|
+
createRef: ["POST /repos/{owner}/{repo}/git/refs"],
|
|
68141
|
+
createTag: ["POST /repos/{owner}/{repo}/git/tags"],
|
|
68142
|
+
createTree: ["POST /repos/{owner}/{repo}/git/trees"],
|
|
68143
|
+
deleteRef: ["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],
|
|
68144
|
+
getBlob: ["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],
|
|
68145
|
+
getCommit: ["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],
|
|
68146
|
+
getRef: ["GET /repos/{owner}/{repo}/git/ref/{ref}"],
|
|
68147
|
+
getTag: ["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],
|
|
68148
|
+
getTree: ["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],
|
|
68149
|
+
listMatchingRefs: ["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],
|
|
68150
|
+
updateRef: ["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]
|
|
68151
|
+
},
|
|
68152
|
+
gitignore: {
|
|
68153
|
+
getAllTemplates: ["GET /gitignore/templates"],
|
|
68154
|
+
getTemplate: ["GET /gitignore/templates/{name}"]
|
|
68155
|
+
},
|
|
68156
|
+
hostedCompute: {
|
|
68157
|
+
createNetworkConfigurationForOrg: [
|
|
68158
|
+
"POST /orgs/{org}/settings/network-configurations"
|
|
68159
|
+
],
|
|
68160
|
+
deleteNetworkConfigurationFromOrg: [
|
|
68161
|
+
"DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}"
|
|
68162
|
+
],
|
|
68163
|
+
getNetworkConfigurationForOrg: [
|
|
68164
|
+
"GET /orgs/{org}/settings/network-configurations/{network_configuration_id}"
|
|
68165
|
+
],
|
|
68166
|
+
getNetworkSettingsForOrg: [
|
|
68167
|
+
"GET /orgs/{org}/settings/network-settings/{network_settings_id}"
|
|
68168
|
+
],
|
|
68169
|
+
listNetworkConfigurationsForOrg: [
|
|
68170
|
+
"GET /orgs/{org}/settings/network-configurations"
|
|
68171
|
+
],
|
|
68172
|
+
updateNetworkConfigurationForOrg: [
|
|
68173
|
+
"PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}"
|
|
68174
|
+
]
|
|
68175
|
+
},
|
|
68176
|
+
interactions: {
|
|
68177
|
+
getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"],
|
|
68178
|
+
getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"],
|
|
68179
|
+
getRestrictionsForRepo: ["GET /repos/{owner}/{repo}/interaction-limits"],
|
|
68180
|
+
getRestrictionsForYourPublicRepos: [
|
|
68181
|
+
"GET /user/interaction-limits",
|
|
68182
|
+
{},
|
|
68183
|
+
{ renamed: ["interactions", "getRestrictionsForAuthenticatedUser"] }
|
|
68184
|
+
],
|
|
68185
|
+
removeRestrictionsForAuthenticatedUser: ["DELETE /user/interaction-limits"],
|
|
68186
|
+
removeRestrictionsForOrg: ["DELETE /orgs/{org}/interaction-limits"],
|
|
68187
|
+
removeRestrictionsForRepo: [
|
|
68188
|
+
"DELETE /repos/{owner}/{repo}/interaction-limits"
|
|
68189
|
+
],
|
|
68190
|
+
removeRestrictionsForYourPublicRepos: [
|
|
68191
|
+
"DELETE /user/interaction-limits",
|
|
68192
|
+
{},
|
|
68193
|
+
{ renamed: ["interactions", "removeRestrictionsForAuthenticatedUser"] }
|
|
68194
|
+
],
|
|
68195
|
+
setRestrictionsForAuthenticatedUser: ["PUT /user/interaction-limits"],
|
|
68196
|
+
setRestrictionsForOrg: ["PUT /orgs/{org}/interaction-limits"],
|
|
68197
|
+
setRestrictionsForRepo: ["PUT /repos/{owner}/{repo}/interaction-limits"],
|
|
68198
|
+
setRestrictionsForYourPublicRepos: [
|
|
68199
|
+
"PUT /user/interaction-limits",
|
|
68200
|
+
{},
|
|
68201
|
+
{ renamed: ["interactions", "setRestrictionsForAuthenticatedUser"] }
|
|
68202
|
+
]
|
|
68203
|
+
},
|
|
68204
|
+
issues: {
|
|
68205
|
+
addAssignees: [
|
|
68206
|
+
"POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"
|
|
68207
|
+
],
|
|
68208
|
+
addBlockedByDependency: [
|
|
68209
|
+
"POST /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by"
|
|
68210
|
+
],
|
|
68211
|
+
addLabels: ["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],
|
|
68212
|
+
addSubIssue: [
|
|
68213
|
+
"POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues"
|
|
68214
|
+
],
|
|
68215
|
+
checkUserCanBeAssigned: ["GET /repos/{owner}/{repo}/assignees/{assignee}"],
|
|
68216
|
+
checkUserCanBeAssignedToIssue: [
|
|
68217
|
+
"GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}"
|
|
68218
|
+
],
|
|
68219
|
+
create: ["POST /repos/{owner}/{repo}/issues"],
|
|
68220
|
+
createComment: [
|
|
68221
|
+
"POST /repos/{owner}/{repo}/issues/{issue_number}/comments"
|
|
68222
|
+
],
|
|
68223
|
+
createLabel: ["POST /repos/{owner}/{repo}/labels"],
|
|
68224
|
+
createMilestone: ["POST /repos/{owner}/{repo}/milestones"],
|
|
68225
|
+
deleteComment: [
|
|
68226
|
+
"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"
|
|
68227
|
+
],
|
|
68228
|
+
deleteLabel: ["DELETE /repos/{owner}/{repo}/labels/{name}"],
|
|
68229
|
+
deleteMilestone: [
|
|
68230
|
+
"DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"
|
|
68231
|
+
],
|
|
68232
|
+
get: ["GET /repos/{owner}/{repo}/issues/{issue_number}"],
|
|
68233
|
+
getComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],
|
|
68234
|
+
getEvent: ["GET /repos/{owner}/{repo}/issues/events/{event_id}"],
|
|
68235
|
+
getLabel: ["GET /repos/{owner}/{repo}/labels/{name}"],
|
|
68236
|
+
getMilestone: ["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],
|
|
68237
|
+
getParent: ["GET /repos/{owner}/{repo}/issues/{issue_number}/parent"],
|
|
68238
|
+
list: ["GET /issues"],
|
|
68239
|
+
listAssignees: ["GET /repos/{owner}/{repo}/assignees"],
|
|
68240
|
+
listComments: ["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],
|
|
68241
|
+
listCommentsForRepo: ["GET /repos/{owner}/{repo}/issues/comments"],
|
|
68242
|
+
listDependenciesBlockedBy: [
|
|
68243
|
+
"GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by"
|
|
68244
|
+
],
|
|
68245
|
+
listDependenciesBlocking: [
|
|
68246
|
+
"GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocking"
|
|
68247
|
+
],
|
|
68248
|
+
listEvents: ["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],
|
|
68249
|
+
listEventsForRepo: ["GET /repos/{owner}/{repo}/issues/events"],
|
|
68250
|
+
listEventsForTimeline: [
|
|
68251
|
+
"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"
|
|
68252
|
+
],
|
|
68253
|
+
listForAuthenticatedUser: ["GET /user/issues"],
|
|
68254
|
+
listForOrg: ["GET /orgs/{org}/issues"],
|
|
68255
|
+
listForRepo: ["GET /repos/{owner}/{repo}/issues"],
|
|
68256
|
+
listLabelsForMilestone: [
|
|
68257
|
+
"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"
|
|
68258
|
+
],
|
|
68259
|
+
listLabelsForRepo: ["GET /repos/{owner}/{repo}/labels"],
|
|
68260
|
+
listLabelsOnIssue: [
|
|
68261
|
+
"GET /repos/{owner}/{repo}/issues/{issue_number}/labels"
|
|
68262
|
+
],
|
|
68263
|
+
listMilestones: ["GET /repos/{owner}/{repo}/milestones"],
|
|
68264
|
+
listSubIssues: [
|
|
68265
|
+
"GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues"
|
|
68266
|
+
],
|
|
68267
|
+
lock: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],
|
|
68268
|
+
removeAllLabels: [
|
|
68269
|
+
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"
|
|
68270
|
+
],
|
|
68271
|
+
removeAssignees: [
|
|
68272
|
+
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"
|
|
68273
|
+
],
|
|
68274
|
+
removeDependencyBlockedBy: [
|
|
68275
|
+
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by/{issue_id}"
|
|
68276
|
+
],
|
|
68277
|
+
removeLabel: [
|
|
68278
|
+
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"
|
|
68279
|
+
],
|
|
68280
|
+
removeSubIssue: [
|
|
68281
|
+
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/sub_issue"
|
|
68282
|
+
],
|
|
68283
|
+
reprioritizeSubIssue: [
|
|
68284
|
+
"PATCH /repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority"
|
|
68285
|
+
],
|
|
68286
|
+
setLabels: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],
|
|
68287
|
+
unlock: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],
|
|
68288
|
+
update: ["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],
|
|
68289
|
+
updateComment: ["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],
|
|
68290
|
+
updateLabel: ["PATCH /repos/{owner}/{repo}/labels/{name}"],
|
|
68291
|
+
updateMilestone: [
|
|
68292
|
+
"PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"
|
|
68293
|
+
]
|
|
68294
|
+
},
|
|
68295
|
+
licenses: {
|
|
68296
|
+
get: ["GET /licenses/{license}"],
|
|
68297
|
+
getAllCommonlyUsed: ["GET /licenses"],
|
|
68298
|
+
getForRepo: ["GET /repos/{owner}/{repo}/license"]
|
|
68299
|
+
},
|
|
68300
|
+
markdown: {
|
|
68301
|
+
render: ["POST /markdown"],
|
|
68302
|
+
renderRaw: [
|
|
68303
|
+
"POST /markdown/raw",
|
|
68304
|
+
{ headers: { "content-type": "text/plain; charset=utf-8" } }
|
|
68305
|
+
]
|
|
68306
|
+
},
|
|
68307
|
+
meta: {
|
|
68308
|
+
get: ["GET /meta"],
|
|
68309
|
+
getAllVersions: ["GET /versions"],
|
|
68310
|
+
getOctocat: ["GET /octocat"],
|
|
68311
|
+
getZen: ["GET /zen"],
|
|
68312
|
+
root: ["GET /"]
|
|
68313
|
+
},
|
|
68314
|
+
migrations: {
|
|
68315
|
+
deleteArchiveForAuthenticatedUser: [
|
|
68316
|
+
"DELETE /user/migrations/{migration_id}/archive"
|
|
68317
|
+
],
|
|
68318
|
+
deleteArchiveForOrg: [
|
|
68319
|
+
"DELETE /orgs/{org}/migrations/{migration_id}/archive"
|
|
68320
|
+
],
|
|
68321
|
+
downloadArchiveForOrg: [
|
|
68322
|
+
"GET /orgs/{org}/migrations/{migration_id}/archive"
|
|
68323
|
+
],
|
|
68324
|
+
getArchiveForAuthenticatedUser: [
|
|
68325
|
+
"GET /user/migrations/{migration_id}/archive"
|
|
68326
|
+
],
|
|
68327
|
+
getStatusForAuthenticatedUser: ["GET /user/migrations/{migration_id}"],
|
|
68328
|
+
getStatusForOrg: ["GET /orgs/{org}/migrations/{migration_id}"],
|
|
68329
|
+
listForAuthenticatedUser: ["GET /user/migrations"],
|
|
68330
|
+
listForOrg: ["GET /orgs/{org}/migrations"],
|
|
68331
|
+
listReposForAuthenticatedUser: [
|
|
68332
|
+
"GET /user/migrations/{migration_id}/repositories"
|
|
68333
|
+
],
|
|
68334
|
+
listReposForOrg: ["GET /orgs/{org}/migrations/{migration_id}/repositories"],
|
|
68335
|
+
listReposForUser: [
|
|
68336
|
+
"GET /user/migrations/{migration_id}/repositories",
|
|
68337
|
+
{},
|
|
68338
|
+
{ renamed: ["migrations", "listReposForAuthenticatedUser"] }
|
|
68339
|
+
],
|
|
68340
|
+
startForAuthenticatedUser: ["POST /user/migrations"],
|
|
68341
|
+
startForOrg: ["POST /orgs/{org}/migrations"],
|
|
68342
|
+
unlockRepoForAuthenticatedUser: [
|
|
68343
|
+
"DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"
|
|
68344
|
+
],
|
|
68345
|
+
unlockRepoForOrg: [
|
|
68346
|
+
"DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"
|
|
68347
|
+
]
|
|
68348
|
+
},
|
|
68349
|
+
oidc: {
|
|
68350
|
+
getOidcCustomSubTemplateForOrg: [
|
|
68351
|
+
"GET /orgs/{org}/actions/oidc/customization/sub"
|
|
68352
|
+
],
|
|
68353
|
+
updateOidcCustomSubTemplateForOrg: [
|
|
68354
|
+
"PUT /orgs/{org}/actions/oidc/customization/sub"
|
|
68355
|
+
]
|
|
68356
|
+
},
|
|
68357
|
+
orgs: {
|
|
68358
|
+
addSecurityManagerTeam: [
|
|
68359
|
+
"PUT /orgs/{org}/security-managers/teams/{team_slug}",
|
|
68360
|
+
{},
|
|
68361
|
+
{
|
|
68362
|
+
deprecated: "octokit.rest.orgs.addSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team"
|
|
68363
|
+
}
|
|
68364
|
+
],
|
|
68365
|
+
assignTeamToOrgRole: [
|
|
68366
|
+
"PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"
|
|
68367
|
+
],
|
|
68368
|
+
assignUserToOrgRole: [
|
|
68369
|
+
"PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"
|
|
68370
|
+
],
|
|
68371
|
+
blockUser: ["PUT /orgs/{org}/blocks/{username}"],
|
|
68372
|
+
cancelInvitation: ["DELETE /orgs/{org}/invitations/{invitation_id}"],
|
|
68373
|
+
checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"],
|
|
68374
|
+
checkMembershipForUser: ["GET /orgs/{org}/members/{username}"],
|
|
68375
|
+
checkPublicMembershipForUser: ["GET /orgs/{org}/public_members/{username}"],
|
|
68376
|
+
convertMemberToOutsideCollaborator: [
|
|
68377
|
+
"PUT /orgs/{org}/outside_collaborators/{username}"
|
|
68378
|
+
],
|
|
68379
|
+
createArtifactStorageRecord: [
|
|
68380
|
+
"POST /orgs/{org}/artifacts/metadata/storage-record"
|
|
68381
|
+
],
|
|
68382
|
+
createInvitation: ["POST /orgs/{org}/invitations"],
|
|
68383
|
+
createIssueType: ["POST /orgs/{org}/issue-types"],
|
|
68384
|
+
createWebhook: ["POST /orgs/{org}/hooks"],
|
|
68385
|
+
customPropertiesForOrgsCreateOrUpdateOrganizationValues: [
|
|
68386
|
+
"PATCH /organizations/{org}/org-properties/values"
|
|
68387
|
+
],
|
|
68388
|
+
customPropertiesForOrgsGetOrganizationValues: [
|
|
68389
|
+
"GET /organizations/{org}/org-properties/values"
|
|
68390
|
+
],
|
|
68391
|
+
customPropertiesForReposCreateOrUpdateOrganizationDefinition: [
|
|
68392
|
+
"PUT /orgs/{org}/properties/schema/{custom_property_name}"
|
|
68393
|
+
],
|
|
68394
|
+
customPropertiesForReposCreateOrUpdateOrganizationDefinitions: [
|
|
68395
|
+
"PATCH /orgs/{org}/properties/schema"
|
|
68396
|
+
],
|
|
68397
|
+
customPropertiesForReposCreateOrUpdateOrganizationValues: [
|
|
68398
|
+
"PATCH /orgs/{org}/properties/values"
|
|
68399
|
+
],
|
|
68400
|
+
customPropertiesForReposDeleteOrganizationDefinition: [
|
|
68401
|
+
"DELETE /orgs/{org}/properties/schema/{custom_property_name}"
|
|
68402
|
+
],
|
|
68403
|
+
customPropertiesForReposGetOrganizationDefinition: [
|
|
68404
|
+
"GET /orgs/{org}/properties/schema/{custom_property_name}"
|
|
68405
|
+
],
|
|
68406
|
+
customPropertiesForReposGetOrganizationDefinitions: [
|
|
68407
|
+
"GET /orgs/{org}/properties/schema"
|
|
68408
|
+
],
|
|
68409
|
+
customPropertiesForReposGetOrganizationValues: [
|
|
68410
|
+
"GET /orgs/{org}/properties/values"
|
|
68411
|
+
],
|
|
68412
|
+
delete: ["DELETE /orgs/{org}"],
|
|
68413
|
+
deleteAttestationsBulk: ["POST /orgs/{org}/attestations/delete-request"],
|
|
68414
|
+
deleteAttestationsById: [
|
|
68415
|
+
"DELETE /orgs/{org}/attestations/{attestation_id}"
|
|
68416
|
+
],
|
|
68417
|
+
deleteAttestationsBySubjectDigest: [
|
|
68418
|
+
"DELETE /orgs/{org}/attestations/digest/{subject_digest}"
|
|
68419
|
+
],
|
|
68420
|
+
deleteIssueType: ["DELETE /orgs/{org}/issue-types/{issue_type_id}"],
|
|
68421
|
+
deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"],
|
|
68422
|
+
disableSelectedRepositoryImmutableReleasesOrganization: [
|
|
68423
|
+
"DELETE /orgs/{org}/settings/immutable-releases/repositories/{repository_id}"
|
|
68424
|
+
],
|
|
68425
|
+
enableSelectedRepositoryImmutableReleasesOrganization: [
|
|
68426
|
+
"PUT /orgs/{org}/settings/immutable-releases/repositories/{repository_id}"
|
|
68427
|
+
],
|
|
68428
|
+
get: ["GET /orgs/{org}"],
|
|
68429
|
+
getImmutableReleasesSettings: [
|
|
68430
|
+
"GET /orgs/{org}/settings/immutable-releases"
|
|
68431
|
+
],
|
|
68432
|
+
getImmutableReleasesSettingsRepositories: [
|
|
68433
|
+
"GET /orgs/{org}/settings/immutable-releases/repositories"
|
|
68434
|
+
],
|
|
68435
|
+
getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"],
|
|
68436
|
+
getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"],
|
|
68437
|
+
getOrgRole: ["GET /orgs/{org}/organization-roles/{role_id}"],
|
|
68438
|
+
getOrgRulesetHistory: ["GET /orgs/{org}/rulesets/{ruleset_id}/history"],
|
|
68439
|
+
getOrgRulesetVersion: [
|
|
68440
|
+
"GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}"
|
|
68441
|
+
],
|
|
68442
|
+
getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"],
|
|
68443
|
+
getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"],
|
|
68444
|
+
getWebhookDelivery: [
|
|
68445
|
+
"GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"
|
|
68446
|
+
],
|
|
68447
|
+
list: ["GET /organizations"],
|
|
68448
|
+
listAppInstallations: ["GET /orgs/{org}/installations"],
|
|
68449
|
+
listArtifactStorageRecords: [
|
|
68450
|
+
"GET /orgs/{org}/artifacts/{subject_digest}/metadata/storage-records"
|
|
68451
|
+
],
|
|
68452
|
+
listAttestationRepositories: ["GET /orgs/{org}/attestations/repositories"],
|
|
68453
|
+
listAttestations: ["GET /orgs/{org}/attestations/{subject_digest}"],
|
|
68454
|
+
listAttestationsBulk: [
|
|
68455
|
+
"POST /orgs/{org}/attestations/bulk-list{?per_page,before,after}"
|
|
68456
|
+
],
|
|
68457
|
+
listBlockedUsers: ["GET /orgs/{org}/blocks"],
|
|
68458
|
+
listFailedInvitations: ["GET /orgs/{org}/failed_invitations"],
|
|
68459
|
+
listForAuthenticatedUser: ["GET /user/orgs"],
|
|
68460
|
+
listForUser: ["GET /users/{username}/orgs"],
|
|
68461
|
+
listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"],
|
|
68462
|
+
listIssueTypes: ["GET /orgs/{org}/issue-types"],
|
|
68463
|
+
listMembers: ["GET /orgs/{org}/members"],
|
|
68464
|
+
listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"],
|
|
68465
|
+
listOrgRoleTeams: ["GET /orgs/{org}/organization-roles/{role_id}/teams"],
|
|
68466
|
+
listOrgRoleUsers: ["GET /orgs/{org}/organization-roles/{role_id}/users"],
|
|
68467
|
+
listOrgRoles: ["GET /orgs/{org}/organization-roles"],
|
|
68468
|
+
listOrganizationFineGrainedPermissions: [
|
|
68469
|
+
"GET /orgs/{org}/organization-fine-grained-permissions"
|
|
68470
|
+
],
|
|
68471
|
+
listOutsideCollaborators: ["GET /orgs/{org}/outside_collaborators"],
|
|
68472
|
+
listPatGrantRepositories: [
|
|
68473
|
+
"GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"
|
|
68474
|
+
],
|
|
68475
|
+
listPatGrantRequestRepositories: [
|
|
68476
|
+
"GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"
|
|
68477
|
+
],
|
|
68478
|
+
listPatGrantRequests: ["GET /orgs/{org}/personal-access-token-requests"],
|
|
68479
|
+
listPatGrants: ["GET /orgs/{org}/personal-access-tokens"],
|
|
68480
|
+
listPendingInvitations: ["GET /orgs/{org}/invitations"],
|
|
68481
|
+
listPublicMembers: ["GET /orgs/{org}/public_members"],
|
|
68482
|
+
listSecurityManagerTeams: [
|
|
68483
|
+
"GET /orgs/{org}/security-managers",
|
|
68484
|
+
{},
|
|
68485
|
+
{
|
|
68486
|
+
deprecated: "octokit.rest.orgs.listSecurityManagerTeams() is deprecated, see https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams"
|
|
68487
|
+
}
|
|
68488
|
+
],
|
|
68489
|
+
listWebhookDeliveries: ["GET /orgs/{org}/hooks/{hook_id}/deliveries"],
|
|
68490
|
+
listWebhooks: ["GET /orgs/{org}/hooks"],
|
|
68491
|
+
pingWebhook: ["POST /orgs/{org}/hooks/{hook_id}/pings"],
|
|
68492
|
+
redeliverWebhookDelivery: [
|
|
68493
|
+
"POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"
|
|
68494
|
+
],
|
|
68495
|
+
removeMember: ["DELETE /orgs/{org}/members/{username}"],
|
|
68496
|
+
removeMembershipForUser: ["DELETE /orgs/{org}/memberships/{username}"],
|
|
68497
|
+
removeOutsideCollaborator: [
|
|
68498
|
+
"DELETE /orgs/{org}/outside_collaborators/{username}"
|
|
68499
|
+
],
|
|
68500
|
+
removePublicMembershipForAuthenticatedUser: [
|
|
68501
|
+
"DELETE /orgs/{org}/public_members/{username}"
|
|
68502
|
+
],
|
|
68503
|
+
removeSecurityManagerTeam: [
|
|
68504
|
+
"DELETE /orgs/{org}/security-managers/teams/{team_slug}",
|
|
68505
|
+
{},
|
|
68506
|
+
{
|
|
68507
|
+
deprecated: "octokit.rest.orgs.removeSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team"
|
|
68508
|
+
}
|
|
68509
|
+
],
|
|
68510
|
+
reviewPatGrantRequest: [
|
|
68511
|
+
"POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"
|
|
68512
|
+
],
|
|
68513
|
+
reviewPatGrantRequestsInBulk: [
|
|
68514
|
+
"POST /orgs/{org}/personal-access-token-requests"
|
|
68515
|
+
],
|
|
68516
|
+
revokeAllOrgRolesTeam: [
|
|
68517
|
+
"DELETE /orgs/{org}/organization-roles/teams/{team_slug}"
|
|
68518
|
+
],
|
|
68519
|
+
revokeAllOrgRolesUser: [
|
|
68520
|
+
"DELETE /orgs/{org}/organization-roles/users/{username}"
|
|
68521
|
+
],
|
|
68522
|
+
revokeOrgRoleTeam: [
|
|
68523
|
+
"DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"
|
|
68524
|
+
],
|
|
68525
|
+
revokeOrgRoleUser: [
|
|
68526
|
+
"DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"
|
|
68527
|
+
],
|
|
68528
|
+
setImmutableReleasesSettings: [
|
|
68529
|
+
"PUT /orgs/{org}/settings/immutable-releases"
|
|
68530
|
+
],
|
|
68531
|
+
setImmutableReleasesSettingsRepositories: [
|
|
68532
|
+
"PUT /orgs/{org}/settings/immutable-releases/repositories"
|
|
68533
|
+
],
|
|
68534
|
+
setMembershipForUser: ["PUT /orgs/{org}/memberships/{username}"],
|
|
68535
|
+
setPublicMembershipForAuthenticatedUser: [
|
|
68536
|
+
"PUT /orgs/{org}/public_members/{username}"
|
|
68537
|
+
],
|
|
68538
|
+
unblockUser: ["DELETE /orgs/{org}/blocks/{username}"],
|
|
68539
|
+
update: ["PATCH /orgs/{org}"],
|
|
68540
|
+
updateIssueType: ["PUT /orgs/{org}/issue-types/{issue_type_id}"],
|
|
68541
|
+
updateMembershipForAuthenticatedUser: [
|
|
68542
|
+
"PATCH /user/memberships/orgs/{org}"
|
|
68543
|
+
],
|
|
68544
|
+
updatePatAccess: ["POST /orgs/{org}/personal-access-tokens/{pat_id}"],
|
|
68545
|
+
updatePatAccesses: ["POST /orgs/{org}/personal-access-tokens"],
|
|
68546
|
+
updateWebhook: ["PATCH /orgs/{org}/hooks/{hook_id}"],
|
|
68547
|
+
updateWebhookConfigForOrg: ["PATCH /orgs/{org}/hooks/{hook_id}/config"]
|
|
68548
|
+
},
|
|
68549
|
+
packages: {
|
|
68550
|
+
deletePackageForAuthenticatedUser: [
|
|
68551
|
+
"DELETE /user/packages/{package_type}/{package_name}"
|
|
68552
|
+
],
|
|
68553
|
+
deletePackageForOrg: [
|
|
68554
|
+
"DELETE /orgs/{org}/packages/{package_type}/{package_name}"
|
|
68555
|
+
],
|
|
68556
|
+
deletePackageForUser: [
|
|
68557
|
+
"DELETE /users/{username}/packages/{package_type}/{package_name}"
|
|
68558
|
+
],
|
|
68559
|
+
deletePackageVersionForAuthenticatedUser: [
|
|
68560
|
+
"DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"
|
|
68561
|
+
],
|
|
68562
|
+
deletePackageVersionForOrg: [
|
|
68563
|
+
"DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"
|
|
68564
|
+
],
|
|
68565
|
+
deletePackageVersionForUser: [
|
|
68566
|
+
"DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"
|
|
68567
|
+
],
|
|
68568
|
+
getAllPackageVersionsForAPackageOwnedByAnOrg: [
|
|
68569
|
+
"GET /orgs/{org}/packages/{package_type}/{package_name}/versions",
|
|
68570
|
+
{},
|
|
68571
|
+
{ renamed: ["packages", "getAllPackageVersionsForPackageOwnedByOrg"] }
|
|
68572
|
+
],
|
|
68573
|
+
getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser: [
|
|
68574
|
+
"GET /user/packages/{package_type}/{package_name}/versions",
|
|
68575
|
+
{},
|
|
68576
|
+
{
|
|
68577
|
+
renamed: [
|
|
68578
|
+
"packages",
|
|
68579
|
+
"getAllPackageVersionsForPackageOwnedByAuthenticatedUser"
|
|
68580
|
+
]
|
|
68581
|
+
}
|
|
68582
|
+
],
|
|
68583
|
+
getAllPackageVersionsForPackageOwnedByAuthenticatedUser: [
|
|
68584
|
+
"GET /user/packages/{package_type}/{package_name}/versions"
|
|
68585
|
+
],
|
|
68586
|
+
getAllPackageVersionsForPackageOwnedByOrg: [
|
|
68587
|
+
"GET /orgs/{org}/packages/{package_type}/{package_name}/versions"
|
|
68588
|
+
],
|
|
68589
|
+
getAllPackageVersionsForPackageOwnedByUser: [
|
|
68590
|
+
"GET /users/{username}/packages/{package_type}/{package_name}/versions"
|
|
68591
|
+
],
|
|
68592
|
+
getPackageForAuthenticatedUser: [
|
|
68593
|
+
"GET /user/packages/{package_type}/{package_name}"
|
|
68594
|
+
],
|
|
68595
|
+
getPackageForOrganization: [
|
|
68596
|
+
"GET /orgs/{org}/packages/{package_type}/{package_name}"
|
|
68597
|
+
],
|
|
68598
|
+
getPackageForUser: [
|
|
68599
|
+
"GET /users/{username}/packages/{package_type}/{package_name}"
|
|
68600
|
+
],
|
|
68601
|
+
getPackageVersionForAuthenticatedUser: [
|
|
68602
|
+
"GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"
|
|
68603
|
+
],
|
|
68604
|
+
getPackageVersionForOrganization: [
|
|
68605
|
+
"GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"
|
|
68606
|
+
],
|
|
68607
|
+
getPackageVersionForUser: [
|
|
68608
|
+
"GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"
|
|
68609
|
+
],
|
|
68610
|
+
listDockerMigrationConflictingPackagesForAuthenticatedUser: [
|
|
68611
|
+
"GET /user/docker/conflicts"
|
|
68612
|
+
],
|
|
68613
|
+
listDockerMigrationConflictingPackagesForOrganization: [
|
|
68614
|
+
"GET /orgs/{org}/docker/conflicts"
|
|
68615
|
+
],
|
|
68616
|
+
listDockerMigrationConflictingPackagesForUser: [
|
|
68617
|
+
"GET /users/{username}/docker/conflicts"
|
|
68618
|
+
],
|
|
68619
|
+
listPackagesForAuthenticatedUser: ["GET /user/packages"],
|
|
68620
|
+
listPackagesForOrganization: ["GET /orgs/{org}/packages"],
|
|
68621
|
+
listPackagesForUser: ["GET /users/{username}/packages"],
|
|
68622
|
+
restorePackageForAuthenticatedUser: [
|
|
68623
|
+
"POST /user/packages/{package_type}/{package_name}/restore{?token}"
|
|
68624
|
+
],
|
|
68625
|
+
restorePackageForOrg: [
|
|
68626
|
+
"POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"
|
|
68627
|
+
],
|
|
68628
|
+
restorePackageForUser: [
|
|
68629
|
+
"POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"
|
|
68630
|
+
],
|
|
68631
|
+
restorePackageVersionForAuthenticatedUser: [
|
|
68632
|
+
"POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"
|
|
68633
|
+
],
|
|
68634
|
+
restorePackageVersionForOrg: [
|
|
68635
|
+
"POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"
|
|
68636
|
+
],
|
|
68637
|
+
restorePackageVersionForUser: [
|
|
68638
|
+
"POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"
|
|
68639
|
+
]
|
|
68640
|
+
},
|
|
68641
|
+
privateRegistries: {
|
|
68642
|
+
createOrgPrivateRegistry: ["POST /orgs/{org}/private-registries"],
|
|
68643
|
+
deleteOrgPrivateRegistry: [
|
|
68644
|
+
"DELETE /orgs/{org}/private-registries/{secret_name}"
|
|
68645
|
+
],
|
|
68646
|
+
getOrgPrivateRegistry: ["GET /orgs/{org}/private-registries/{secret_name}"],
|
|
68647
|
+
getOrgPublicKey: ["GET /orgs/{org}/private-registries/public-key"],
|
|
68648
|
+
listOrgPrivateRegistries: ["GET /orgs/{org}/private-registries"],
|
|
68649
|
+
updateOrgPrivateRegistry: [
|
|
68650
|
+
"PATCH /orgs/{org}/private-registries/{secret_name}"
|
|
68651
|
+
]
|
|
68652
|
+
},
|
|
68653
|
+
projects: {
|
|
68654
|
+
addItemForOrg: ["POST /orgs/{org}/projectsV2/{project_number}/items"],
|
|
68655
|
+
addItemForUser: [
|
|
68656
|
+
"POST /users/{username}/projectsV2/{project_number}/items"
|
|
68657
|
+
],
|
|
68658
|
+
deleteItemForOrg: [
|
|
68659
|
+
"DELETE /orgs/{org}/projectsV2/{project_number}/items/{item_id}"
|
|
68660
|
+
],
|
|
68661
|
+
deleteItemForUser: [
|
|
68662
|
+
"DELETE /users/{username}/projectsV2/{project_number}/items/{item_id}"
|
|
68663
|
+
],
|
|
68664
|
+
getFieldForOrg: [
|
|
68665
|
+
"GET /orgs/{org}/projectsV2/{project_number}/fields/{field_id}"
|
|
68666
|
+
],
|
|
68667
|
+
getFieldForUser: [
|
|
68668
|
+
"GET /users/{username}/projectsV2/{project_number}/fields/{field_id}"
|
|
68669
|
+
],
|
|
68670
|
+
getForOrg: ["GET /orgs/{org}/projectsV2/{project_number}"],
|
|
68671
|
+
getForUser: ["GET /users/{username}/projectsV2/{project_number}"],
|
|
68672
|
+
getOrgItem: ["GET /orgs/{org}/projectsV2/{project_number}/items/{item_id}"],
|
|
68673
|
+
getUserItem: [
|
|
68674
|
+
"GET /users/{username}/projectsV2/{project_number}/items/{item_id}"
|
|
68675
|
+
],
|
|
68676
|
+
listFieldsForOrg: ["GET /orgs/{org}/projectsV2/{project_number}/fields"],
|
|
68677
|
+
listFieldsForUser: [
|
|
68678
|
+
"GET /users/{username}/projectsV2/{project_number}/fields"
|
|
68679
|
+
],
|
|
68680
|
+
listForOrg: ["GET /orgs/{org}/projectsV2"],
|
|
68681
|
+
listForUser: ["GET /users/{username}/projectsV2"],
|
|
68682
|
+
listItemsForOrg: ["GET /orgs/{org}/projectsV2/{project_number}/items"],
|
|
68683
|
+
listItemsForUser: [
|
|
68684
|
+
"GET /users/{username}/projectsV2/{project_number}/items"
|
|
68685
|
+
],
|
|
68686
|
+
updateItemForOrg: [
|
|
68687
|
+
"PATCH /orgs/{org}/projectsV2/{project_number}/items/{item_id}"
|
|
68688
|
+
],
|
|
68689
|
+
updateItemForUser: [
|
|
68690
|
+
"PATCH /users/{username}/projectsV2/{project_number}/items/{item_id}"
|
|
68691
|
+
]
|
|
68692
|
+
},
|
|
68693
|
+
pulls: {
|
|
68694
|
+
checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],
|
|
68695
|
+
create: ["POST /repos/{owner}/{repo}/pulls"],
|
|
68696
|
+
createReplyForReviewComment: [
|
|
68697
|
+
"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"
|
|
68698
|
+
],
|
|
68699
|
+
createReview: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],
|
|
68700
|
+
createReviewComment: [
|
|
68701
|
+
"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"
|
|
68702
|
+
],
|
|
68703
|
+
deletePendingReview: [
|
|
68704
|
+
"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"
|
|
68705
|
+
],
|
|
68706
|
+
deleteReviewComment: [
|
|
68707
|
+
"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"
|
|
68708
|
+
],
|
|
68709
|
+
dismissReview: [
|
|
68710
|
+
"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"
|
|
68711
|
+
],
|
|
68712
|
+
get: ["GET /repos/{owner}/{repo}/pulls/{pull_number}"],
|
|
68713
|
+
getReview: [
|
|
68714
|
+
"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"
|
|
68715
|
+
],
|
|
68716
|
+
getReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],
|
|
68717
|
+
list: ["GET /repos/{owner}/{repo}/pulls"],
|
|
68718
|
+
listCommentsForReview: [
|
|
68719
|
+
"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"
|
|
68720
|
+
],
|
|
68721
|
+
listCommits: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],
|
|
68722
|
+
listFiles: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],
|
|
68723
|
+
listRequestedReviewers: [
|
|
68724
|
+
"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"
|
|
68725
|
+
],
|
|
68726
|
+
listReviewComments: [
|
|
68727
|
+
"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"
|
|
68728
|
+
],
|
|
68729
|
+
listReviewCommentsForRepo: ["GET /repos/{owner}/{repo}/pulls/comments"],
|
|
68730
|
+
listReviews: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],
|
|
68731
|
+
merge: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],
|
|
68732
|
+
removeRequestedReviewers: [
|
|
68733
|
+
"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"
|
|
68734
|
+
],
|
|
68735
|
+
requestReviewers: [
|
|
68736
|
+
"POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"
|
|
68737
|
+
],
|
|
68738
|
+
submitReview: [
|
|
68739
|
+
"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"
|
|
68740
|
+
],
|
|
68741
|
+
update: ["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],
|
|
68742
|
+
updateBranch: [
|
|
68743
|
+
"PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"
|
|
68744
|
+
],
|
|
68745
|
+
updateReview: [
|
|
68746
|
+
"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"
|
|
68747
|
+
],
|
|
68748
|
+
updateReviewComment: [
|
|
68749
|
+
"PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"
|
|
68750
|
+
]
|
|
68751
|
+
},
|
|
68752
|
+
rateLimit: { get: ["GET /rate_limit"] },
|
|
68753
|
+
reactions: {
|
|
68754
|
+
createForCommitComment: [
|
|
68755
|
+
"POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"
|
|
68756
|
+
],
|
|
68757
|
+
createForIssue: [
|
|
68758
|
+
"POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"
|
|
68759
|
+
],
|
|
68760
|
+
createForIssueComment: [
|
|
68761
|
+
"POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"
|
|
68762
|
+
],
|
|
68763
|
+
createForPullRequestReviewComment: [
|
|
68764
|
+
"POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"
|
|
68765
|
+
],
|
|
68766
|
+
createForRelease: [
|
|
68767
|
+
"POST /repos/{owner}/{repo}/releases/{release_id}/reactions"
|
|
68768
|
+
],
|
|
68769
|
+
createForTeamDiscussionCommentInOrg: [
|
|
68770
|
+
"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"
|
|
68771
|
+
],
|
|
68772
|
+
createForTeamDiscussionInOrg: [
|
|
68773
|
+
"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"
|
|
68774
|
+
],
|
|
68775
|
+
deleteForCommitComment: [
|
|
68776
|
+
"DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"
|
|
68777
|
+
],
|
|
68778
|
+
deleteForIssue: [
|
|
68779
|
+
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"
|
|
68780
|
+
],
|
|
68781
|
+
deleteForIssueComment: [
|
|
68782
|
+
"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"
|
|
68783
|
+
],
|
|
68784
|
+
deleteForPullRequestComment: [
|
|
68785
|
+
"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"
|
|
68786
|
+
],
|
|
68787
|
+
deleteForRelease: [
|
|
68788
|
+
"DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"
|
|
68789
|
+
],
|
|
68790
|
+
deleteForTeamDiscussion: [
|
|
68791
|
+
"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"
|
|
68792
|
+
],
|
|
68793
|
+
deleteForTeamDiscussionComment: [
|
|
68794
|
+
"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"
|
|
68795
|
+
],
|
|
68796
|
+
listForCommitComment: [
|
|
68797
|
+
"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"
|
|
68798
|
+
],
|
|
68799
|
+
listForIssue: ["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],
|
|
68800
|
+
listForIssueComment: [
|
|
68801
|
+
"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"
|
|
68802
|
+
],
|
|
68803
|
+
listForPullRequestReviewComment: [
|
|
68804
|
+
"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"
|
|
68805
|
+
],
|
|
68806
|
+
listForRelease: [
|
|
68807
|
+
"GET /repos/{owner}/{repo}/releases/{release_id}/reactions"
|
|
68808
|
+
],
|
|
68809
|
+
listForTeamDiscussionCommentInOrg: [
|
|
68810
|
+
"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"
|
|
68811
|
+
],
|
|
68812
|
+
listForTeamDiscussionInOrg: [
|
|
68813
|
+
"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"
|
|
68814
|
+
]
|
|
68815
|
+
},
|
|
68816
|
+
repos: {
|
|
68817
|
+
acceptInvitation: [
|
|
68818
|
+
"PATCH /user/repository_invitations/{invitation_id}",
|
|
68819
|
+
{},
|
|
68820
|
+
{ renamed: ["repos", "acceptInvitationForAuthenticatedUser"] }
|
|
68821
|
+
],
|
|
68822
|
+
acceptInvitationForAuthenticatedUser: [
|
|
68823
|
+
"PATCH /user/repository_invitations/{invitation_id}"
|
|
68824
|
+
],
|
|
68825
|
+
addAppAccessRestrictions: [
|
|
68826
|
+
"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",
|
|
68827
|
+
{},
|
|
68828
|
+
{ mapToData: "apps" }
|
|
68829
|
+
],
|
|
68830
|
+
addCollaborator: ["PUT /repos/{owner}/{repo}/collaborators/{username}"],
|
|
68831
|
+
addStatusCheckContexts: [
|
|
68832
|
+
"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",
|
|
68833
|
+
{},
|
|
68834
|
+
{ mapToData: "contexts" }
|
|
68835
|
+
],
|
|
68836
|
+
addTeamAccessRestrictions: [
|
|
68837
|
+
"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",
|
|
68838
|
+
{},
|
|
68839
|
+
{ mapToData: "teams" }
|
|
68840
|
+
],
|
|
68841
|
+
addUserAccessRestrictions: [
|
|
68842
|
+
"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",
|
|
68843
|
+
{},
|
|
68844
|
+
{ mapToData: "users" }
|
|
68845
|
+
],
|
|
68846
|
+
cancelPagesDeployment: [
|
|
68847
|
+
"POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"
|
|
68848
|
+
],
|
|
68849
|
+
checkAutomatedSecurityFixes: [
|
|
68850
|
+
"GET /repos/{owner}/{repo}/automated-security-fixes"
|
|
68851
|
+
],
|
|
68852
|
+
checkCollaborator: ["GET /repos/{owner}/{repo}/collaborators/{username}"],
|
|
68853
|
+
checkImmutableReleases: ["GET /repos/{owner}/{repo}/immutable-releases"],
|
|
68854
|
+
checkPrivateVulnerabilityReporting: [
|
|
68855
|
+
"GET /repos/{owner}/{repo}/private-vulnerability-reporting"
|
|
68856
|
+
],
|
|
68857
|
+
checkVulnerabilityAlerts: [
|
|
68858
|
+
"GET /repos/{owner}/{repo}/vulnerability-alerts"
|
|
68859
|
+
],
|
|
68860
|
+
codeownersErrors: ["GET /repos/{owner}/{repo}/codeowners/errors"],
|
|
68861
|
+
compareCommits: ["GET /repos/{owner}/{repo}/compare/{base}...{head}"],
|
|
68862
|
+
compareCommitsWithBasehead: [
|
|
68863
|
+
"GET /repos/{owner}/{repo}/compare/{basehead}"
|
|
68864
|
+
],
|
|
68865
|
+
createAttestation: ["POST /repos/{owner}/{repo}/attestations"],
|
|
68866
|
+
createAutolink: ["POST /repos/{owner}/{repo}/autolinks"],
|
|
68867
|
+
createCommitComment: [
|
|
68868
|
+
"POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"
|
|
68869
|
+
],
|
|
68870
|
+
createCommitSignatureProtection: [
|
|
68871
|
+
"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"
|
|
68872
|
+
],
|
|
68873
|
+
createCommitStatus: ["POST /repos/{owner}/{repo}/statuses/{sha}"],
|
|
68874
|
+
createDeployKey: ["POST /repos/{owner}/{repo}/keys"],
|
|
68875
|
+
createDeployment: ["POST /repos/{owner}/{repo}/deployments"],
|
|
68876
|
+
createDeploymentBranchPolicy: [
|
|
68877
|
+
"POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"
|
|
68878
|
+
],
|
|
68879
|
+
createDeploymentProtectionRule: [
|
|
68880
|
+
"POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"
|
|
68881
|
+
],
|
|
68882
|
+
createDeploymentStatus: [
|
|
68883
|
+
"POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"
|
|
68884
|
+
],
|
|
68885
|
+
createDispatchEvent: ["POST /repos/{owner}/{repo}/dispatches"],
|
|
68886
|
+
createForAuthenticatedUser: ["POST /user/repos"],
|
|
68887
|
+
createFork: ["POST /repos/{owner}/{repo}/forks"],
|
|
68888
|
+
createInOrg: ["POST /orgs/{org}/repos"],
|
|
68889
|
+
createOrUpdateEnvironment: [
|
|
68890
|
+
"PUT /repos/{owner}/{repo}/environments/{environment_name}"
|
|
68891
|
+
],
|
|
68892
|
+
createOrUpdateFileContents: ["PUT /repos/{owner}/{repo}/contents/{path}"],
|
|
68893
|
+
createOrgRuleset: ["POST /orgs/{org}/rulesets"],
|
|
68894
|
+
createPagesDeployment: ["POST /repos/{owner}/{repo}/pages/deployments"],
|
|
68895
|
+
createPagesSite: ["POST /repos/{owner}/{repo}/pages"],
|
|
68896
|
+
createRelease: ["POST /repos/{owner}/{repo}/releases"],
|
|
68897
|
+
createRepoRuleset: ["POST /repos/{owner}/{repo}/rulesets"],
|
|
68898
|
+
createUsingTemplate: [
|
|
68899
|
+
"POST /repos/{template_owner}/{template_repo}/generate"
|
|
68900
|
+
],
|
|
68901
|
+
createWebhook: ["POST /repos/{owner}/{repo}/hooks"],
|
|
68902
|
+
customPropertiesForReposCreateOrUpdateRepositoryValues: [
|
|
68903
|
+
"PATCH /repos/{owner}/{repo}/properties/values"
|
|
68904
|
+
],
|
|
68905
|
+
customPropertiesForReposGetRepositoryValues: [
|
|
68906
|
+
"GET /repos/{owner}/{repo}/properties/values"
|
|
68907
|
+
],
|
|
68908
|
+
declineInvitation: [
|
|
68909
|
+
"DELETE /user/repository_invitations/{invitation_id}",
|
|
68910
|
+
{},
|
|
68911
|
+
{ renamed: ["repos", "declineInvitationForAuthenticatedUser"] }
|
|
68912
|
+
],
|
|
68913
|
+
declineInvitationForAuthenticatedUser: [
|
|
68914
|
+
"DELETE /user/repository_invitations/{invitation_id}"
|
|
68915
|
+
],
|
|
68916
|
+
delete: ["DELETE /repos/{owner}/{repo}"],
|
|
68917
|
+
deleteAccessRestrictions: [
|
|
68918
|
+
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"
|
|
68919
|
+
],
|
|
68920
|
+
deleteAdminBranchProtection: [
|
|
68921
|
+
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"
|
|
68922
|
+
],
|
|
68923
|
+
deleteAnEnvironment: [
|
|
68924
|
+
"DELETE /repos/{owner}/{repo}/environments/{environment_name}"
|
|
68925
|
+
],
|
|
68926
|
+
deleteAutolink: ["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],
|
|
68927
|
+
deleteBranchProtection: [
|
|
68928
|
+
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection"
|
|
68929
|
+
],
|
|
68930
|
+
deleteCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],
|
|
68931
|
+
deleteCommitSignatureProtection: [
|
|
68932
|
+
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"
|
|
68933
|
+
],
|
|
68934
|
+
deleteDeployKey: ["DELETE /repos/{owner}/{repo}/keys/{key_id}"],
|
|
68935
|
+
deleteDeployment: [
|
|
68936
|
+
"DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"
|
|
68937
|
+
],
|
|
68938
|
+
deleteDeploymentBranchPolicy: [
|
|
68939
|
+
"DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"
|
|
68940
|
+
],
|
|
68941
|
+
deleteFile: ["DELETE /repos/{owner}/{repo}/contents/{path}"],
|
|
68942
|
+
deleteInvitation: [
|
|
68943
|
+
"DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"
|
|
68944
|
+
],
|
|
68945
|
+
deleteOrgRuleset: ["DELETE /orgs/{org}/rulesets/{ruleset_id}"],
|
|
68946
|
+
deletePagesSite: ["DELETE /repos/{owner}/{repo}/pages"],
|
|
68947
|
+
deletePullRequestReviewProtection: [
|
|
68948
|
+
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"
|
|
68949
|
+
],
|
|
68950
|
+
deleteRelease: ["DELETE /repos/{owner}/{repo}/releases/{release_id}"],
|
|
68951
|
+
deleteReleaseAsset: [
|
|
68952
|
+
"DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"
|
|
68953
|
+
],
|
|
68954
|
+
deleteRepoRuleset: ["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],
|
|
68955
|
+
deleteWebhook: ["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],
|
|
68956
|
+
disableAutomatedSecurityFixes: [
|
|
68957
|
+
"DELETE /repos/{owner}/{repo}/automated-security-fixes"
|
|
68958
|
+
],
|
|
68959
|
+
disableDeploymentProtectionRule: [
|
|
68960
|
+
"DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"
|
|
68961
|
+
],
|
|
68962
|
+
disableImmutableReleases: [
|
|
68963
|
+
"DELETE /repos/{owner}/{repo}/immutable-releases"
|
|
68964
|
+
],
|
|
68965
|
+
disablePrivateVulnerabilityReporting: [
|
|
68966
|
+
"DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"
|
|
68967
|
+
],
|
|
68968
|
+
disableVulnerabilityAlerts: [
|
|
68969
|
+
"DELETE /repos/{owner}/{repo}/vulnerability-alerts"
|
|
68970
|
+
],
|
|
68971
|
+
downloadArchive: [
|
|
68972
|
+
"GET /repos/{owner}/{repo}/zipball/{ref}",
|
|
68973
|
+
{},
|
|
68974
|
+
{ renamed: ["repos", "downloadZipballArchive"] }
|
|
68975
|
+
],
|
|
68976
|
+
downloadTarballArchive: ["GET /repos/{owner}/{repo}/tarball/{ref}"],
|
|
68977
|
+
downloadZipballArchive: ["GET /repos/{owner}/{repo}/zipball/{ref}"],
|
|
68978
|
+
enableAutomatedSecurityFixes: [
|
|
68979
|
+
"PUT /repos/{owner}/{repo}/automated-security-fixes"
|
|
68980
|
+
],
|
|
68981
|
+
enableImmutableReleases: ["PUT /repos/{owner}/{repo}/immutable-releases"],
|
|
68982
|
+
enablePrivateVulnerabilityReporting: [
|
|
68983
|
+
"PUT /repos/{owner}/{repo}/private-vulnerability-reporting"
|
|
68984
|
+
],
|
|
68985
|
+
enableVulnerabilityAlerts: [
|
|
68986
|
+
"PUT /repos/{owner}/{repo}/vulnerability-alerts"
|
|
68987
|
+
],
|
|
68988
|
+
generateReleaseNotes: [
|
|
68989
|
+
"POST /repos/{owner}/{repo}/releases/generate-notes"
|
|
68990
|
+
],
|
|
68991
|
+
get: ["GET /repos/{owner}/{repo}"],
|
|
68992
|
+
getAccessRestrictions: [
|
|
68993
|
+
"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"
|
|
68994
|
+
],
|
|
68995
|
+
getAdminBranchProtection: [
|
|
68996
|
+
"GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"
|
|
68997
|
+
],
|
|
68998
|
+
getAllDeploymentProtectionRules: [
|
|
68999
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"
|
|
69000
|
+
],
|
|
69001
|
+
getAllEnvironments: ["GET /repos/{owner}/{repo}/environments"],
|
|
69002
|
+
getAllStatusCheckContexts: [
|
|
69003
|
+
"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"
|
|
69004
|
+
],
|
|
69005
|
+
getAllTopics: ["GET /repos/{owner}/{repo}/topics"],
|
|
69006
|
+
getAppsWithAccessToProtectedBranch: [
|
|
69007
|
+
"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"
|
|
69008
|
+
],
|
|
69009
|
+
getAutolink: ["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],
|
|
69010
|
+
getBranch: ["GET /repos/{owner}/{repo}/branches/{branch}"],
|
|
69011
|
+
getBranchProtection: [
|
|
69012
|
+
"GET /repos/{owner}/{repo}/branches/{branch}/protection"
|
|
69013
|
+
],
|
|
69014
|
+
getBranchRules: ["GET /repos/{owner}/{repo}/rules/branches/{branch}"],
|
|
69015
|
+
getClones: ["GET /repos/{owner}/{repo}/traffic/clones"],
|
|
69016
|
+
getCodeFrequencyStats: ["GET /repos/{owner}/{repo}/stats/code_frequency"],
|
|
69017
|
+
getCollaboratorPermissionLevel: [
|
|
69018
|
+
"GET /repos/{owner}/{repo}/collaborators/{username}/permission"
|
|
69019
|
+
],
|
|
69020
|
+
getCombinedStatusForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/status"],
|
|
69021
|
+
getCommit: ["GET /repos/{owner}/{repo}/commits/{ref}"],
|
|
69022
|
+
getCommitActivityStats: ["GET /repos/{owner}/{repo}/stats/commit_activity"],
|
|
69023
|
+
getCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}"],
|
|
69024
|
+
getCommitSignatureProtection: [
|
|
69025
|
+
"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"
|
|
69026
|
+
],
|
|
69027
|
+
getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile"],
|
|
69028
|
+
getContent: ["GET /repos/{owner}/{repo}/contents/{path}"],
|
|
69029
|
+
getContributorsStats: ["GET /repos/{owner}/{repo}/stats/contributors"],
|
|
69030
|
+
getCustomDeploymentProtectionRule: [
|
|
69031
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"
|
|
69032
|
+
],
|
|
69033
|
+
getDeployKey: ["GET /repos/{owner}/{repo}/keys/{key_id}"],
|
|
69034
|
+
getDeployment: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],
|
|
69035
|
+
getDeploymentBranchPolicy: [
|
|
69036
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"
|
|
69037
|
+
],
|
|
69038
|
+
getDeploymentStatus: [
|
|
69039
|
+
"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"
|
|
69040
|
+
],
|
|
69041
|
+
getEnvironment: [
|
|
69042
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}"
|
|
69043
|
+
],
|
|
69044
|
+
getLatestPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/latest"],
|
|
69045
|
+
getLatestRelease: ["GET /repos/{owner}/{repo}/releases/latest"],
|
|
69046
|
+
getOrgRuleSuite: ["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],
|
|
69047
|
+
getOrgRuleSuites: ["GET /orgs/{org}/rulesets/rule-suites"],
|
|
69048
|
+
getOrgRuleset: ["GET /orgs/{org}/rulesets/{ruleset_id}"],
|
|
69049
|
+
getOrgRulesets: ["GET /orgs/{org}/rulesets"],
|
|
69050
|
+
getPages: ["GET /repos/{owner}/{repo}/pages"],
|
|
69051
|
+
getPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],
|
|
69052
|
+
getPagesDeployment: [
|
|
69053
|
+
"GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"
|
|
69054
|
+
],
|
|
69055
|
+
getPagesHealthCheck: ["GET /repos/{owner}/{repo}/pages/health"],
|
|
69056
|
+
getParticipationStats: ["GET /repos/{owner}/{repo}/stats/participation"],
|
|
69057
|
+
getPullRequestReviewProtection: [
|
|
69058
|
+
"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"
|
|
69059
|
+
],
|
|
69060
|
+
getPunchCardStats: ["GET /repos/{owner}/{repo}/stats/punch_card"],
|
|
69061
|
+
getReadme: ["GET /repos/{owner}/{repo}/readme"],
|
|
69062
|
+
getReadmeInDirectory: ["GET /repos/{owner}/{repo}/readme/{dir}"],
|
|
69063
|
+
getRelease: ["GET /repos/{owner}/{repo}/releases/{release_id}"],
|
|
69064
|
+
getReleaseAsset: ["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],
|
|
69065
|
+
getReleaseByTag: ["GET /repos/{owner}/{repo}/releases/tags/{tag}"],
|
|
69066
|
+
getRepoRuleSuite: [
|
|
69067
|
+
"GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"
|
|
69068
|
+
],
|
|
69069
|
+
getRepoRuleSuites: ["GET /repos/{owner}/{repo}/rulesets/rule-suites"],
|
|
69070
|
+
getRepoRuleset: ["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],
|
|
69071
|
+
getRepoRulesetHistory: [
|
|
69072
|
+
"GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history"
|
|
69073
|
+
],
|
|
69074
|
+
getRepoRulesetVersion: [
|
|
69075
|
+
"GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}"
|
|
69076
|
+
],
|
|
69077
|
+
getRepoRulesets: ["GET /repos/{owner}/{repo}/rulesets"],
|
|
69078
|
+
getStatusChecksProtection: [
|
|
69079
|
+
"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"
|
|
69080
|
+
],
|
|
69081
|
+
getTeamsWithAccessToProtectedBranch: [
|
|
69082
|
+
"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"
|
|
69083
|
+
],
|
|
69084
|
+
getTopPaths: ["GET /repos/{owner}/{repo}/traffic/popular/paths"],
|
|
69085
|
+
getTopReferrers: ["GET /repos/{owner}/{repo}/traffic/popular/referrers"],
|
|
69086
|
+
getUsersWithAccessToProtectedBranch: [
|
|
69087
|
+
"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"
|
|
69088
|
+
],
|
|
69089
|
+
getViews: ["GET /repos/{owner}/{repo}/traffic/views"],
|
|
69090
|
+
getWebhook: ["GET /repos/{owner}/{repo}/hooks/{hook_id}"],
|
|
69091
|
+
getWebhookConfigForRepo: [
|
|
69092
|
+
"GET /repos/{owner}/{repo}/hooks/{hook_id}/config"
|
|
69093
|
+
],
|
|
69094
|
+
getWebhookDelivery: [
|
|
69095
|
+
"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"
|
|
69096
|
+
],
|
|
69097
|
+
listActivities: ["GET /repos/{owner}/{repo}/activity"],
|
|
69098
|
+
listAttestations: [
|
|
69099
|
+
"GET /repos/{owner}/{repo}/attestations/{subject_digest}"
|
|
69100
|
+
],
|
|
69101
|
+
listAutolinks: ["GET /repos/{owner}/{repo}/autolinks"],
|
|
69102
|
+
listBranches: ["GET /repos/{owner}/{repo}/branches"],
|
|
69103
|
+
listBranchesForHeadCommit: [
|
|
69104
|
+
"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"
|
|
69105
|
+
],
|
|
69106
|
+
listCollaborators: ["GET /repos/{owner}/{repo}/collaborators"],
|
|
69107
|
+
listCommentsForCommit: [
|
|
69108
|
+
"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"
|
|
69109
|
+
],
|
|
69110
|
+
listCommitCommentsForRepo: ["GET /repos/{owner}/{repo}/comments"],
|
|
69111
|
+
listCommitStatusesForRef: [
|
|
69112
|
+
"GET /repos/{owner}/{repo}/commits/{ref}/statuses"
|
|
69113
|
+
],
|
|
69114
|
+
listCommits: ["GET /repos/{owner}/{repo}/commits"],
|
|
69115
|
+
listContributors: ["GET /repos/{owner}/{repo}/contributors"],
|
|
69116
|
+
listCustomDeploymentRuleIntegrations: [
|
|
69117
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"
|
|
69118
|
+
],
|
|
69119
|
+
listDeployKeys: ["GET /repos/{owner}/{repo}/keys"],
|
|
69120
|
+
listDeploymentBranchPolicies: [
|
|
69121
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"
|
|
69122
|
+
],
|
|
69123
|
+
listDeploymentStatuses: [
|
|
69124
|
+
"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"
|
|
69125
|
+
],
|
|
69126
|
+
listDeployments: ["GET /repos/{owner}/{repo}/deployments"],
|
|
69127
|
+
listForAuthenticatedUser: ["GET /user/repos"],
|
|
69128
|
+
listForOrg: ["GET /orgs/{org}/repos"],
|
|
69129
|
+
listForUser: ["GET /users/{username}/repos"],
|
|
69130
|
+
listForks: ["GET /repos/{owner}/{repo}/forks"],
|
|
69131
|
+
listInvitations: ["GET /repos/{owner}/{repo}/invitations"],
|
|
69132
|
+
listInvitationsForAuthenticatedUser: ["GET /user/repository_invitations"],
|
|
69133
|
+
listLanguages: ["GET /repos/{owner}/{repo}/languages"],
|
|
69134
|
+
listPagesBuilds: ["GET /repos/{owner}/{repo}/pages/builds"],
|
|
69135
|
+
listPublic: ["GET /repositories"],
|
|
69136
|
+
listPullRequestsAssociatedWithCommit: [
|
|
69137
|
+
"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"
|
|
69138
|
+
],
|
|
69139
|
+
listReleaseAssets: [
|
|
69140
|
+
"GET /repos/{owner}/{repo}/releases/{release_id}/assets"
|
|
69141
|
+
],
|
|
69142
|
+
listReleases: ["GET /repos/{owner}/{repo}/releases"],
|
|
69143
|
+
listTags: ["GET /repos/{owner}/{repo}/tags"],
|
|
69144
|
+
listTeams: ["GET /repos/{owner}/{repo}/teams"],
|
|
69145
|
+
listWebhookDeliveries: [
|
|
69146
|
+
"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"
|
|
69147
|
+
],
|
|
69148
|
+
listWebhooks: ["GET /repos/{owner}/{repo}/hooks"],
|
|
69149
|
+
merge: ["POST /repos/{owner}/{repo}/merges"],
|
|
69150
|
+
mergeUpstream: ["POST /repos/{owner}/{repo}/merge-upstream"],
|
|
69151
|
+
pingWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],
|
|
69152
|
+
redeliverWebhookDelivery: [
|
|
69153
|
+
"POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"
|
|
69154
|
+
],
|
|
69155
|
+
removeAppAccessRestrictions: [
|
|
69156
|
+
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",
|
|
69157
|
+
{},
|
|
69158
|
+
{ mapToData: "apps" }
|
|
69159
|
+
],
|
|
69160
|
+
removeCollaborator: [
|
|
69161
|
+
"DELETE /repos/{owner}/{repo}/collaborators/{username}"
|
|
69162
|
+
],
|
|
69163
|
+
removeStatusCheckContexts: [
|
|
69164
|
+
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",
|
|
69165
|
+
{},
|
|
69166
|
+
{ mapToData: "contexts" }
|
|
69167
|
+
],
|
|
69168
|
+
removeStatusCheckProtection: [
|
|
69169
|
+
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"
|
|
69170
|
+
],
|
|
69171
|
+
removeTeamAccessRestrictions: [
|
|
69172
|
+
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",
|
|
69173
|
+
{},
|
|
69174
|
+
{ mapToData: "teams" }
|
|
69175
|
+
],
|
|
69176
|
+
removeUserAccessRestrictions: [
|
|
69177
|
+
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",
|
|
69178
|
+
{},
|
|
69179
|
+
{ mapToData: "users" }
|
|
69180
|
+
],
|
|
69181
|
+
renameBranch: ["POST /repos/{owner}/{repo}/branches/{branch}/rename"],
|
|
69182
|
+
replaceAllTopics: ["PUT /repos/{owner}/{repo}/topics"],
|
|
69183
|
+
requestPagesBuild: ["POST /repos/{owner}/{repo}/pages/builds"],
|
|
69184
|
+
setAdminBranchProtection: [
|
|
69185
|
+
"POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"
|
|
69186
|
+
],
|
|
69187
|
+
setAppAccessRestrictions: [
|
|
69188
|
+
"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",
|
|
69189
|
+
{},
|
|
69190
|
+
{ mapToData: "apps" }
|
|
69191
|
+
],
|
|
69192
|
+
setStatusCheckContexts: [
|
|
69193
|
+
"PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",
|
|
69194
|
+
{},
|
|
69195
|
+
{ mapToData: "contexts" }
|
|
69196
|
+
],
|
|
69197
|
+
setTeamAccessRestrictions: [
|
|
69198
|
+
"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",
|
|
69199
|
+
{},
|
|
69200
|
+
{ mapToData: "teams" }
|
|
69201
|
+
],
|
|
69202
|
+
setUserAccessRestrictions: [
|
|
69203
|
+
"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",
|
|
69204
|
+
{},
|
|
69205
|
+
{ mapToData: "users" }
|
|
69206
|
+
],
|
|
69207
|
+
testPushWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],
|
|
69208
|
+
transfer: ["POST /repos/{owner}/{repo}/transfer"],
|
|
69209
|
+
update: ["PATCH /repos/{owner}/{repo}"],
|
|
69210
|
+
updateBranchProtection: [
|
|
69211
|
+
"PUT /repos/{owner}/{repo}/branches/{branch}/protection"
|
|
69212
|
+
],
|
|
69213
|
+
updateCommitComment: ["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],
|
|
69214
|
+
updateDeploymentBranchPolicy: [
|
|
69215
|
+
"PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"
|
|
69216
|
+
],
|
|
69217
|
+
updateInformationAboutPagesSite: ["PUT /repos/{owner}/{repo}/pages"],
|
|
69218
|
+
updateInvitation: [
|
|
69219
|
+
"PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"
|
|
69220
|
+
],
|
|
69221
|
+
updateOrgRuleset: ["PUT /orgs/{org}/rulesets/{ruleset_id}"],
|
|
69222
|
+
updatePullRequestReviewProtection: [
|
|
69223
|
+
"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"
|
|
69224
|
+
],
|
|
69225
|
+
updateRelease: ["PATCH /repos/{owner}/{repo}/releases/{release_id}"],
|
|
69226
|
+
updateReleaseAsset: [
|
|
69227
|
+
"PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"
|
|
69228
|
+
],
|
|
69229
|
+
updateRepoRuleset: ["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],
|
|
69230
|
+
updateStatusCheckPotection: [
|
|
69231
|
+
"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",
|
|
69232
|
+
{},
|
|
69233
|
+
{ renamed: ["repos", "updateStatusCheckProtection"] }
|
|
69234
|
+
],
|
|
69235
|
+
updateStatusCheckProtection: [
|
|
69236
|
+
"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"
|
|
69237
|
+
],
|
|
69238
|
+
updateWebhook: ["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],
|
|
69239
|
+
updateWebhookConfigForRepo: [
|
|
69240
|
+
"PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"
|
|
69241
|
+
],
|
|
69242
|
+
uploadReleaseAsset: [
|
|
69243
|
+
"POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",
|
|
69244
|
+
{ baseUrl: "https://uploads.github.com" }
|
|
69245
|
+
]
|
|
69246
|
+
},
|
|
69247
|
+
search: {
|
|
69248
|
+
code: ["GET /search/code"],
|
|
69249
|
+
commits: ["GET /search/commits"],
|
|
69250
|
+
issuesAndPullRequests: ["GET /search/issues"],
|
|
69251
|
+
labels: ["GET /search/labels"],
|
|
69252
|
+
repos: ["GET /search/repositories"],
|
|
69253
|
+
topics: ["GET /search/topics"],
|
|
69254
|
+
users: ["GET /search/users"]
|
|
69255
|
+
},
|
|
69256
|
+
secretScanning: {
|
|
69257
|
+
createPushProtectionBypass: [
|
|
69258
|
+
"POST /repos/{owner}/{repo}/secret-scanning/push-protection-bypasses"
|
|
69259
|
+
],
|
|
69260
|
+
getAlert: [
|
|
69261
|
+
"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"
|
|
69262
|
+
],
|
|
69263
|
+
getScanHistory: ["GET /repos/{owner}/{repo}/secret-scanning/scan-history"],
|
|
69264
|
+
listAlertsForOrg: ["GET /orgs/{org}/secret-scanning/alerts"],
|
|
69265
|
+
listAlertsForRepo: ["GET /repos/{owner}/{repo}/secret-scanning/alerts"],
|
|
69266
|
+
listLocationsForAlert: [
|
|
69267
|
+
"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"
|
|
69268
|
+
],
|
|
69269
|
+
listOrgPatternConfigs: [
|
|
69270
|
+
"GET /orgs/{org}/secret-scanning/pattern-configurations"
|
|
69271
|
+
],
|
|
69272
|
+
updateAlert: [
|
|
69273
|
+
"PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"
|
|
69274
|
+
],
|
|
69275
|
+
updateOrgPatternConfigs: [
|
|
69276
|
+
"PATCH /orgs/{org}/secret-scanning/pattern-configurations"
|
|
69277
|
+
]
|
|
69278
|
+
},
|
|
69279
|
+
securityAdvisories: {
|
|
69280
|
+
createFork: [
|
|
69281
|
+
"POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"
|
|
69282
|
+
],
|
|
69283
|
+
createPrivateVulnerabilityReport: [
|
|
69284
|
+
"POST /repos/{owner}/{repo}/security-advisories/reports"
|
|
69285
|
+
],
|
|
69286
|
+
createRepositoryAdvisory: [
|
|
69287
|
+
"POST /repos/{owner}/{repo}/security-advisories"
|
|
69288
|
+
],
|
|
69289
|
+
createRepositoryAdvisoryCveRequest: [
|
|
69290
|
+
"POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"
|
|
69291
|
+
],
|
|
69292
|
+
getGlobalAdvisory: ["GET /advisories/{ghsa_id}"],
|
|
69293
|
+
getRepositoryAdvisory: [
|
|
69294
|
+
"GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"
|
|
69295
|
+
],
|
|
69296
|
+
listGlobalAdvisories: ["GET /advisories"],
|
|
69297
|
+
listOrgRepositoryAdvisories: ["GET /orgs/{org}/security-advisories"],
|
|
69298
|
+
listRepositoryAdvisories: ["GET /repos/{owner}/{repo}/security-advisories"],
|
|
69299
|
+
updateRepositoryAdvisory: [
|
|
69300
|
+
"PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"
|
|
69301
|
+
]
|
|
69302
|
+
},
|
|
69303
|
+
teams: {
|
|
69304
|
+
addOrUpdateMembershipForUserInOrg: [
|
|
69305
|
+
"PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"
|
|
69306
|
+
],
|
|
69307
|
+
addOrUpdateRepoPermissionsInOrg: [
|
|
69308
|
+
"PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"
|
|
69309
|
+
],
|
|
69310
|
+
checkPermissionsForRepoInOrg: [
|
|
69311
|
+
"GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"
|
|
69312
|
+
],
|
|
69313
|
+
create: ["POST /orgs/{org}/teams"],
|
|
69314
|
+
createDiscussionCommentInOrg: [
|
|
69315
|
+
"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"
|
|
69316
|
+
],
|
|
69317
|
+
createDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions"],
|
|
69318
|
+
deleteDiscussionCommentInOrg: [
|
|
69319
|
+
"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"
|
|
69320
|
+
],
|
|
69321
|
+
deleteDiscussionInOrg: [
|
|
69322
|
+
"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"
|
|
69323
|
+
],
|
|
69324
|
+
deleteInOrg: ["DELETE /orgs/{org}/teams/{team_slug}"],
|
|
69325
|
+
getByName: ["GET /orgs/{org}/teams/{team_slug}"],
|
|
69326
|
+
getDiscussionCommentInOrg: [
|
|
69327
|
+
"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"
|
|
69328
|
+
],
|
|
69329
|
+
getDiscussionInOrg: [
|
|
69330
|
+
"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"
|
|
69331
|
+
],
|
|
69332
|
+
getMembershipForUserInOrg: [
|
|
69333
|
+
"GET /orgs/{org}/teams/{team_slug}/memberships/{username}"
|
|
69334
|
+
],
|
|
69335
|
+
list: ["GET /orgs/{org}/teams"],
|
|
69336
|
+
listChildInOrg: ["GET /orgs/{org}/teams/{team_slug}/teams"],
|
|
69337
|
+
listDiscussionCommentsInOrg: [
|
|
69338
|
+
"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"
|
|
69339
|
+
],
|
|
69340
|
+
listDiscussionsInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions"],
|
|
69341
|
+
listForAuthenticatedUser: ["GET /user/teams"],
|
|
69342
|
+
listMembersInOrg: ["GET /orgs/{org}/teams/{team_slug}/members"],
|
|
69343
|
+
listPendingInvitationsInOrg: [
|
|
69344
|
+
"GET /orgs/{org}/teams/{team_slug}/invitations"
|
|
69345
|
+
],
|
|
69346
|
+
listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"],
|
|
69347
|
+
removeMembershipForUserInOrg: [
|
|
69348
|
+
"DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"
|
|
69349
|
+
],
|
|
69350
|
+
removeRepoInOrg: [
|
|
69351
|
+
"DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"
|
|
69352
|
+
],
|
|
69353
|
+
updateDiscussionCommentInOrg: [
|
|
69354
|
+
"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"
|
|
69355
|
+
],
|
|
69356
|
+
updateDiscussionInOrg: [
|
|
69357
|
+
"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"
|
|
69358
|
+
],
|
|
69359
|
+
updateInOrg: ["PATCH /orgs/{org}/teams/{team_slug}"]
|
|
69360
|
+
},
|
|
69361
|
+
users: {
|
|
69362
|
+
addEmailForAuthenticated: [
|
|
69363
|
+
"POST /user/emails",
|
|
69364
|
+
{},
|
|
69365
|
+
{ renamed: ["users", "addEmailForAuthenticatedUser"] }
|
|
69366
|
+
],
|
|
69367
|
+
addEmailForAuthenticatedUser: ["POST /user/emails"],
|
|
69368
|
+
addSocialAccountForAuthenticatedUser: ["POST /user/social_accounts"],
|
|
69369
|
+
block: ["PUT /user/blocks/{username}"],
|
|
69370
|
+
checkBlocked: ["GET /user/blocks/{username}"],
|
|
69371
|
+
checkFollowingForUser: ["GET /users/{username}/following/{target_user}"],
|
|
69372
|
+
checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"],
|
|
69373
|
+
createGpgKeyForAuthenticated: [
|
|
69374
|
+
"POST /user/gpg_keys",
|
|
69375
|
+
{},
|
|
69376
|
+
{ renamed: ["users", "createGpgKeyForAuthenticatedUser"] }
|
|
69377
|
+
],
|
|
69378
|
+
createGpgKeyForAuthenticatedUser: ["POST /user/gpg_keys"],
|
|
69379
|
+
createPublicSshKeyForAuthenticated: [
|
|
69380
|
+
"POST /user/keys",
|
|
69381
|
+
{},
|
|
69382
|
+
{ renamed: ["users", "createPublicSshKeyForAuthenticatedUser"] }
|
|
69383
|
+
],
|
|
69384
|
+
createPublicSshKeyForAuthenticatedUser: ["POST /user/keys"],
|
|
69385
|
+
createSshSigningKeyForAuthenticatedUser: ["POST /user/ssh_signing_keys"],
|
|
69386
|
+
deleteAttestationsBulk: [
|
|
69387
|
+
"POST /users/{username}/attestations/delete-request"
|
|
69388
|
+
],
|
|
69389
|
+
deleteAttestationsById: [
|
|
69390
|
+
"DELETE /users/{username}/attestations/{attestation_id}"
|
|
69391
|
+
],
|
|
69392
|
+
deleteAttestationsBySubjectDigest: [
|
|
69393
|
+
"DELETE /users/{username}/attestations/digest/{subject_digest}"
|
|
69394
|
+
],
|
|
69395
|
+
deleteEmailForAuthenticated: [
|
|
69396
|
+
"DELETE /user/emails",
|
|
69397
|
+
{},
|
|
69398
|
+
{ renamed: ["users", "deleteEmailForAuthenticatedUser"] }
|
|
69399
|
+
],
|
|
69400
|
+
deleteEmailForAuthenticatedUser: ["DELETE /user/emails"],
|
|
69401
|
+
deleteGpgKeyForAuthenticated: [
|
|
69402
|
+
"DELETE /user/gpg_keys/{gpg_key_id}",
|
|
69403
|
+
{},
|
|
69404
|
+
{ renamed: ["users", "deleteGpgKeyForAuthenticatedUser"] }
|
|
69405
|
+
],
|
|
69406
|
+
deleteGpgKeyForAuthenticatedUser: ["DELETE /user/gpg_keys/{gpg_key_id}"],
|
|
69407
|
+
deletePublicSshKeyForAuthenticated: [
|
|
69408
|
+
"DELETE /user/keys/{key_id}",
|
|
69409
|
+
{},
|
|
69410
|
+
{ renamed: ["users", "deletePublicSshKeyForAuthenticatedUser"] }
|
|
69411
|
+
],
|
|
69412
|
+
deletePublicSshKeyForAuthenticatedUser: ["DELETE /user/keys/{key_id}"],
|
|
69413
|
+
deleteSocialAccountForAuthenticatedUser: ["DELETE /user/social_accounts"],
|
|
69414
|
+
deleteSshSigningKeyForAuthenticatedUser: [
|
|
69415
|
+
"DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"
|
|
69416
|
+
],
|
|
69417
|
+
follow: ["PUT /user/following/{username}"],
|
|
69418
|
+
getAuthenticated: ["GET /user"],
|
|
69419
|
+
getById: ["GET /user/{account_id}"],
|
|
69420
|
+
getByUsername: ["GET /users/{username}"],
|
|
69421
|
+
getContextForUser: ["GET /users/{username}/hovercard"],
|
|
69422
|
+
getGpgKeyForAuthenticated: [
|
|
69423
|
+
"GET /user/gpg_keys/{gpg_key_id}",
|
|
69424
|
+
{},
|
|
69425
|
+
{ renamed: ["users", "getGpgKeyForAuthenticatedUser"] }
|
|
69426
|
+
],
|
|
69427
|
+
getGpgKeyForAuthenticatedUser: ["GET /user/gpg_keys/{gpg_key_id}"],
|
|
69428
|
+
getPublicSshKeyForAuthenticated: [
|
|
69429
|
+
"GET /user/keys/{key_id}",
|
|
69430
|
+
{},
|
|
69431
|
+
{ renamed: ["users", "getPublicSshKeyForAuthenticatedUser"] }
|
|
69432
|
+
],
|
|
69433
|
+
getPublicSshKeyForAuthenticatedUser: ["GET /user/keys/{key_id}"],
|
|
69434
|
+
getSshSigningKeyForAuthenticatedUser: [
|
|
69435
|
+
"GET /user/ssh_signing_keys/{ssh_signing_key_id}"
|
|
69436
|
+
],
|
|
69437
|
+
list: ["GET /users"],
|
|
69438
|
+
listAttestations: ["GET /users/{username}/attestations/{subject_digest}"],
|
|
69439
|
+
listAttestationsBulk: [
|
|
69440
|
+
"POST /users/{username}/attestations/bulk-list{?per_page,before,after}"
|
|
69441
|
+
],
|
|
69442
|
+
listBlockedByAuthenticated: [
|
|
69443
|
+
"GET /user/blocks",
|
|
69444
|
+
{},
|
|
69445
|
+
{ renamed: ["users", "listBlockedByAuthenticatedUser"] }
|
|
69446
|
+
],
|
|
69447
|
+
listBlockedByAuthenticatedUser: ["GET /user/blocks"],
|
|
69448
|
+
listEmailsForAuthenticated: [
|
|
69449
|
+
"GET /user/emails",
|
|
69450
|
+
{},
|
|
69451
|
+
{ renamed: ["users", "listEmailsForAuthenticatedUser"] }
|
|
69452
|
+
],
|
|
69453
|
+
listEmailsForAuthenticatedUser: ["GET /user/emails"],
|
|
69454
|
+
listFollowedByAuthenticated: [
|
|
69455
|
+
"GET /user/following",
|
|
69456
|
+
{},
|
|
69457
|
+
{ renamed: ["users", "listFollowedByAuthenticatedUser"] }
|
|
69458
|
+
],
|
|
69459
|
+
listFollowedByAuthenticatedUser: ["GET /user/following"],
|
|
69460
|
+
listFollowersForAuthenticatedUser: ["GET /user/followers"],
|
|
69461
|
+
listFollowersForUser: ["GET /users/{username}/followers"],
|
|
69462
|
+
listFollowingForUser: ["GET /users/{username}/following"],
|
|
69463
|
+
listGpgKeysForAuthenticated: [
|
|
69464
|
+
"GET /user/gpg_keys",
|
|
69465
|
+
{},
|
|
69466
|
+
{ renamed: ["users", "listGpgKeysForAuthenticatedUser"] }
|
|
69467
|
+
],
|
|
69468
|
+
listGpgKeysForAuthenticatedUser: ["GET /user/gpg_keys"],
|
|
69469
|
+
listGpgKeysForUser: ["GET /users/{username}/gpg_keys"],
|
|
69470
|
+
listPublicEmailsForAuthenticated: [
|
|
69471
|
+
"GET /user/public_emails",
|
|
69472
|
+
{},
|
|
69473
|
+
{ renamed: ["users", "listPublicEmailsForAuthenticatedUser"] }
|
|
69474
|
+
],
|
|
69475
|
+
listPublicEmailsForAuthenticatedUser: ["GET /user/public_emails"],
|
|
69476
|
+
listPublicKeysForUser: ["GET /users/{username}/keys"],
|
|
69477
|
+
listPublicSshKeysForAuthenticated: [
|
|
69478
|
+
"GET /user/keys",
|
|
69479
|
+
{},
|
|
69480
|
+
{ renamed: ["users", "listPublicSshKeysForAuthenticatedUser"] }
|
|
69481
|
+
],
|
|
69482
|
+
listPublicSshKeysForAuthenticatedUser: ["GET /user/keys"],
|
|
69483
|
+
listSocialAccountsForAuthenticatedUser: ["GET /user/social_accounts"],
|
|
69484
|
+
listSocialAccountsForUser: ["GET /users/{username}/social_accounts"],
|
|
69485
|
+
listSshSigningKeysForAuthenticatedUser: ["GET /user/ssh_signing_keys"],
|
|
69486
|
+
listSshSigningKeysForUser: ["GET /users/{username}/ssh_signing_keys"],
|
|
69487
|
+
setPrimaryEmailVisibilityForAuthenticated: [
|
|
69488
|
+
"PATCH /user/email/visibility",
|
|
69489
|
+
{},
|
|
69490
|
+
{ renamed: ["users", "setPrimaryEmailVisibilityForAuthenticatedUser"] }
|
|
69491
|
+
],
|
|
69492
|
+
setPrimaryEmailVisibilityForAuthenticatedUser: [
|
|
69493
|
+
"PATCH /user/email/visibility"
|
|
69494
|
+
],
|
|
69495
|
+
unblock: ["DELETE /user/blocks/{username}"],
|
|
69496
|
+
unfollow: ["DELETE /user/following/{username}"],
|
|
69497
|
+
updateAuthenticated: ["PATCH /user"]
|
|
69498
|
+
}
|
|
69499
|
+
};
|
|
69500
|
+
var endpoints_default = Endpoints;
|
|
69501
|
+
|
|
69502
|
+
// ../../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
|
|
69503
|
+
var endpointMethodsMap = /* @__PURE__ */ new Map();
|
|
69504
|
+
for (const [scope, endpoints] of Object.entries(endpoints_default)) {
|
|
69505
|
+
for (const [methodName, endpoint2] of Object.entries(endpoints)) {
|
|
69506
|
+
const [route, defaults3, decorations] = endpoint2;
|
|
69507
|
+
const [method, url2] = route.split(/ /);
|
|
69508
|
+
const endpointDefaults = Object.assign(
|
|
69509
|
+
{
|
|
69510
|
+
method,
|
|
69511
|
+
url: url2
|
|
69512
|
+
},
|
|
69513
|
+
defaults3
|
|
69514
|
+
);
|
|
69515
|
+
if (!endpointMethodsMap.has(scope)) {
|
|
69516
|
+
endpointMethodsMap.set(scope, /* @__PURE__ */ new Map());
|
|
69517
|
+
}
|
|
69518
|
+
endpointMethodsMap.get(scope).set(methodName, {
|
|
69519
|
+
scope,
|
|
69520
|
+
methodName,
|
|
69521
|
+
endpointDefaults,
|
|
69522
|
+
decorations
|
|
69523
|
+
});
|
|
69524
|
+
}
|
|
69525
|
+
}
|
|
69526
|
+
var handler = {
|
|
69527
|
+
has({ scope }, methodName) {
|
|
69528
|
+
return endpointMethodsMap.get(scope).has(methodName);
|
|
69529
|
+
},
|
|
69530
|
+
getOwnPropertyDescriptor(target, methodName) {
|
|
69531
|
+
return {
|
|
69532
|
+
value: this.get(target, methodName),
|
|
69533
|
+
// ensures method is in the cache
|
|
69534
|
+
configurable: true,
|
|
69535
|
+
writable: true,
|
|
69536
|
+
enumerable: true
|
|
69537
|
+
};
|
|
69538
|
+
},
|
|
69539
|
+
defineProperty(target, methodName, descriptor) {
|
|
69540
|
+
Object.defineProperty(target.cache, methodName, descriptor);
|
|
69541
|
+
return true;
|
|
69542
|
+
},
|
|
69543
|
+
deleteProperty(target, methodName) {
|
|
69544
|
+
delete target.cache[methodName];
|
|
69545
|
+
return true;
|
|
69546
|
+
},
|
|
69547
|
+
ownKeys({ scope }) {
|
|
69548
|
+
return [...endpointMethodsMap.get(scope).keys()];
|
|
69549
|
+
},
|
|
69550
|
+
set(target, methodName, value) {
|
|
69551
|
+
return target.cache[methodName] = value;
|
|
69552
|
+
},
|
|
69553
|
+
get({ octokit, scope, cache }, methodName) {
|
|
69554
|
+
if (cache[methodName]) {
|
|
69555
|
+
return cache[methodName];
|
|
69556
|
+
}
|
|
69557
|
+
const method = endpointMethodsMap.get(scope).get(methodName);
|
|
69558
|
+
if (!method) {
|
|
69559
|
+
return void 0;
|
|
69560
|
+
}
|
|
69561
|
+
const { endpointDefaults, decorations } = method;
|
|
69562
|
+
if (decorations) {
|
|
69563
|
+
cache[methodName] = decorate(
|
|
69564
|
+
octokit,
|
|
69565
|
+
scope,
|
|
69566
|
+
methodName,
|
|
69567
|
+
endpointDefaults,
|
|
69568
|
+
decorations
|
|
69569
|
+
);
|
|
69570
|
+
} else {
|
|
69571
|
+
cache[methodName] = octokit.request.defaults(endpointDefaults);
|
|
69572
|
+
}
|
|
69573
|
+
return cache[methodName];
|
|
69574
|
+
}
|
|
69575
|
+
};
|
|
69576
|
+
function endpointsToMethods(octokit) {
|
|
69577
|
+
const newMethods = {};
|
|
69578
|
+
for (const scope of endpointMethodsMap.keys()) {
|
|
69579
|
+
newMethods[scope] = new Proxy({ octokit, scope, cache: {} }, handler);
|
|
69580
|
+
}
|
|
69581
|
+
return newMethods;
|
|
69582
|
+
}
|
|
69583
|
+
function decorate(octokit, scope, methodName, defaults3, decorations) {
|
|
69584
|
+
const requestWithDefaults = octokit.request.defaults(defaults3);
|
|
69585
|
+
function withDecorations(...args) {
|
|
69586
|
+
let options = requestWithDefaults.endpoint.merge(...args);
|
|
69587
|
+
if (decorations.mapToData) {
|
|
69588
|
+
options = Object.assign({}, options, {
|
|
69589
|
+
data: options[decorations.mapToData],
|
|
69590
|
+
[decorations.mapToData]: void 0
|
|
69591
|
+
});
|
|
69592
|
+
return requestWithDefaults(options);
|
|
69593
|
+
}
|
|
69594
|
+
if (decorations.renamed) {
|
|
69595
|
+
const [newScope, newMethodName] = decorations.renamed;
|
|
69596
|
+
octokit.log.warn(
|
|
69597
|
+
`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`
|
|
69598
|
+
);
|
|
69599
|
+
}
|
|
69600
|
+
if (decorations.deprecated) {
|
|
69601
|
+
octokit.log.warn(decorations.deprecated);
|
|
69602
|
+
}
|
|
69603
|
+
if (decorations.renamedParameters) {
|
|
69604
|
+
const options2 = requestWithDefaults.endpoint.merge(...args);
|
|
69605
|
+
for (const [name, alias] of Object.entries(
|
|
69606
|
+
decorations.renamedParameters
|
|
69607
|
+
)) {
|
|
69608
|
+
if (name in options2) {
|
|
69609
|
+
octokit.log.warn(
|
|
69610
|
+
`"${name}" parameter is deprecated for "octokit.${scope}.${methodName}()". Use "${alias}" instead`
|
|
69611
|
+
);
|
|
69612
|
+
if (!(alias in options2)) {
|
|
69613
|
+
options2[alias] = options2[name];
|
|
69614
|
+
}
|
|
69615
|
+
delete options2[name];
|
|
69616
|
+
}
|
|
69617
|
+
}
|
|
69618
|
+
return requestWithDefaults(options2);
|
|
69619
|
+
}
|
|
69620
|
+
return requestWithDefaults(...args);
|
|
69621
|
+
}
|
|
69622
|
+
return Object.assign(withDecorations, requestWithDefaults);
|
|
69623
|
+
}
|
|
69624
|
+
|
|
69625
|
+
// ../../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
|
|
69626
|
+
function restEndpointMethods(octokit) {
|
|
69627
|
+
const api = endpointsToMethods(octokit);
|
|
69628
|
+
return {
|
|
69629
|
+
rest: api
|
|
69630
|
+
};
|
|
69631
|
+
}
|
|
69632
|
+
restEndpointMethods.VERSION = VERSION7;
|
|
69633
|
+
function legacyRestEndpointMethods(octokit) {
|
|
69634
|
+
const api = endpointsToMethods(octokit);
|
|
69635
|
+
return {
|
|
69636
|
+
...api,
|
|
69637
|
+
rest: api
|
|
69638
|
+
};
|
|
69639
|
+
}
|
|
69640
|
+
legacyRestEndpointMethods.VERSION = VERSION7;
|
|
69641
|
+
|
|
69642
|
+
// ../../node_modules/.pnpm/@octokit+rest@22.0.1/node_modules/@octokit/rest/dist-src/version.js
|
|
69643
|
+
var VERSION8 = "22.0.1";
|
|
69644
|
+
|
|
69645
|
+
// ../../node_modules/.pnpm/@octokit+rest@22.0.1/node_modules/@octokit/rest/dist-src/index.js
|
|
69646
|
+
var Octokit2 = Octokit.plugin(requestLog, legacyRestEndpointMethods, paginateRest).defaults(
|
|
69647
|
+
{
|
|
69648
|
+
userAgent: `octokit-rest.js/${VERSION8}`
|
|
69649
|
+
}
|
|
69650
|
+
);
|
|
69651
|
+
|
|
65943
69652
|
// src/preview-github.ts
|
|
65944
|
-
import { Octokit } from "@octokit/rest";
|
|
65945
69653
|
function createOctokit(token) {
|
|
65946
|
-
return new
|
|
69654
|
+
return new Octokit2({ auth: token });
|
|
65947
69655
|
}
|
|
65948
69656
|
async function findPreviewComment(octokit, owner, repo, prNumber) {
|
|
65949
|
-
const
|
|
69657
|
+
const iterator2 = octokit.paginate.iterator(octokit.rest.issues.listComments, {
|
|
65950
69658
|
owner,
|
|
65951
69659
|
repo,
|
|
65952
69660
|
issue_number: prNumber,
|
|
65953
69661
|
per_page: 100
|
|
65954
69662
|
});
|
|
65955
|
-
for await (const response of
|
|
69663
|
+
for await (const response of iterator2) {
|
|
65956
69664
|
for (const comment of response.data) {
|
|
65957
69665
|
if (comment.body?.startsWith(MARKER)) {
|
|
65958
69666
|
return comment.id;
|
|
@@ -66406,4 +70114,11 @@ ejs/lib/esm/ejs.js:
|
|
|
66406
70114
|
* @project EJS
|
|
66407
70115
|
* @license {@link http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0}
|
|
66408
70116
|
*)
|
|
70117
|
+
|
|
70118
|
+
@octokit/request-error/dist-src/index.js:
|
|
70119
|
+
(* v8 ignore else -- @preserve -- Bug with vitest coverage where it sees an else branch that doesn't exist *)
|
|
70120
|
+
|
|
70121
|
+
@octokit/request/dist-bundle/index.js:
|
|
70122
|
+
(* v8 ignore next -- @preserve *)
|
|
70123
|
+
(* v8 ignore else -- @preserve *)
|
|
66409
70124
|
*/
|