@llamaduck/forgejo-ts 14.0.2-2 → 14.0.2-4

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/index.mjs CHANGED
@@ -1,3 +1,5 @@
1
+ import axios from 'axios';
2
+
1
3
  // src/core/bodySerializer.gen.ts
2
4
  var serializeFormDataPair = (data, key, value) => {
3
5
  if (typeof value === "string" || value instanceof Blob) {
@@ -24,9 +26,6 @@ var formDataBodySerializer = {
24
26
  return data;
25
27
  }
26
28
  };
27
- var jsonBodySerializer = {
28
- bodySerializer: (body) => JSON.stringify(body, (_key, value) => typeof value === "bigint" ? value.toString() : value)
29
- };
30
29
 
31
30
  // src/core/serverSentEvents.gen.ts
32
31
  var createSseClient = ({
@@ -439,35 +438,16 @@ var createQuerySerializer = ({
439
438
  };
440
439
  return querySerializer;
441
440
  };
442
- var getParseAs = (contentType) => {
443
- if (!contentType) {
444
- return "stream";
445
- }
446
- const cleanContent = contentType.split(";")[0]?.trim();
447
- if (!cleanContent) {
448
- return;
449
- }
450
- if (cleanContent.startsWith("application/json") || cleanContent.endsWith("+json")) {
451
- return "json";
452
- }
453
- if (cleanContent === "multipart/form-data") {
454
- return "formData";
455
- }
456
- if (["application/", "audio/", "image/", "video/"].some((type) => cleanContent.startsWith(type))) {
457
- return "blob";
458
- }
459
- if (cleanContent.startsWith("text/")) {
460
- return "text";
461
- }
462
- return;
463
- };
464
441
  var checkForExistence = (options, name) => {
465
442
  if (!name) {
466
443
  return false;
467
444
  }
468
- if (options.headers.has(name) || options.query?.[name] || options.headers.get("Cookie")?.includes(`${name}=`)) {
445
+ if (name in options.headers || options.query?.[name]) {
469
446
  return true;
470
447
  }
448
+ if ("Cookie" in options.headers && options.headers["Cookie"] && typeof options.headers["Cookie"] === "string") {
449
+ return options.headers["Cookie"].includes(`${name}=`);
450
+ }
471
451
  return false;
472
452
  };
473
453
  var setAuthParams = async ({
@@ -490,141 +470,105 @@ var setAuthParams = async ({
490
470
  }
491
471
  options.query[name] = token;
492
472
  break;
493
- case "cookie":
494
- options.headers.append("Cookie", `${name}=${token}`);
473
+ case "cookie": {
474
+ const value = `${name}=${token}`;
475
+ if ("Cookie" in options.headers && options.headers["Cookie"]) {
476
+ options.headers["Cookie"] = `${options.headers["Cookie"]}; ${value}`;
477
+ } else {
478
+ options.headers["Cookie"] = value;
479
+ }
495
480
  break;
481
+ }
496
482
  case "header":
497
483
  default:
498
- options.headers.set(name, token);
484
+ options.headers[name] = token;
499
485
  break;
500
486
  }
501
487
  }
502
488
  };
503
- var buildUrl = (options) => getUrl({
504
- baseUrl: options.baseUrl,
505
- path: options.path,
506
- query: options.query,
507
- querySerializer: typeof options.querySerializer === "function" ? options.querySerializer : createQuerySerializer(options.querySerializer),
508
- url: options.url
509
- });
489
+ var buildUrl = (options) => {
490
+ const instanceBaseUrl = options.axios?.defaults?.baseURL;
491
+ const baseUrl = !!options.baseURL && typeof options.baseURL === "string" ? options.baseURL : instanceBaseUrl;
492
+ return getUrl({
493
+ baseUrl,
494
+ path: options.path,
495
+ // let `paramsSerializer()` handle query params if it exists
496
+ query: !options.paramsSerializer ? options.query : void 0,
497
+ querySerializer: typeof options.querySerializer === "function" ? options.querySerializer : createQuerySerializer(options.querySerializer),
498
+ url: options.url
499
+ });
500
+ };
510
501
  var mergeConfigs = (a, b) => {
511
502
  const config = { ...a, ...b };
512
- if (config.baseUrl?.endsWith("/")) {
513
- config.baseUrl = config.baseUrl.substring(0, config.baseUrl.length - 1);
514
- }
515
503
  config.headers = mergeHeaders(a.headers, b.headers);
516
504
  return config;
517
505
  };
518
- var headersEntries = (headers) => {
519
- const entries = [];
520
- headers.forEach((value, key) => {
521
- entries.push([key, value]);
522
- });
523
- return entries;
524
- };
506
+ var axiosHeadersKeywords = [
507
+ "common",
508
+ "delete",
509
+ "get",
510
+ "head",
511
+ "patch",
512
+ "post",
513
+ "put"
514
+ ];
525
515
  var mergeHeaders = (...headers) => {
526
- const mergedHeaders = new Headers();
516
+ const mergedHeaders = {};
527
517
  for (const header of headers) {
528
- if (!header) {
518
+ if (!header || typeof header !== "object") {
529
519
  continue;
530
520
  }
531
- const iterator = header instanceof Headers ? headersEntries(header) : Object.entries(header);
521
+ const iterator = Object.entries(header);
532
522
  for (const [key, value] of iterator) {
533
- if (value === null) {
534
- mergedHeaders.delete(key);
523
+ if (axiosHeadersKeywords.includes(key) && typeof value === "object") {
524
+ mergedHeaders[key] = {
525
+ ...mergedHeaders[key],
526
+ ...value
527
+ };
528
+ } else if (value === null) {
529
+ delete mergedHeaders[key];
535
530
  } else if (Array.isArray(value)) {
536
531
  for (const v of value) {
537
- mergedHeaders.append(key, v);
532
+ mergedHeaders[key] = [...mergedHeaders[key] ?? [], v];
538
533
  }
539
534
  } else if (value !== void 0) {
540
- mergedHeaders.set(
541
- key,
542
- typeof value === "object" ? JSON.stringify(value) : value
543
- );
535
+ mergedHeaders[key] = typeof value === "object" ? JSON.stringify(value) : value;
544
536
  }
545
537
  }
546
538
  }
547
539
  return mergedHeaders;
548
540
  };
549
- var Interceptors = class {
550
- constructor() {
551
- this.fns = [];
552
- }
553
- clear() {
554
- this.fns = [];
555
- }
556
- eject(id) {
557
- const index = this.getInterceptorIndex(id);
558
- if (this.fns[index]) {
559
- this.fns[index] = null;
560
- }
561
- }
562
- exists(id) {
563
- const index = this.getInterceptorIndex(id);
564
- return Boolean(this.fns[index]);
565
- }
566
- getInterceptorIndex(id) {
567
- if (typeof id === "number") {
568
- return this.fns[id] ? id : -1;
569
- }
570
- return this.fns.indexOf(id);
571
- }
572
- update(id, fn) {
573
- const index = this.getInterceptorIndex(id);
574
- if (this.fns[index]) {
575
- this.fns[index] = fn;
576
- return id;
577
- }
578
- return false;
579
- }
580
- use(fn) {
581
- this.fns.push(fn);
582
- return this.fns.length - 1;
583
- }
584
- };
585
- var createInterceptors = () => ({
586
- error: new Interceptors(),
587
- request: new Interceptors(),
588
- response: new Interceptors()
589
- });
590
- var defaultQuerySerializer = createQuerySerializer({
591
- allowReserved: false,
592
- array: {
593
- explode: true,
594
- style: "form"
595
- },
596
- object: {
597
- explode: true,
598
- style: "deepObject"
599
- }
600
- });
601
- var defaultHeaders = {
602
- "Content-Type": "application/json"
603
- };
604
541
  var createConfig = (override = {}) => ({
605
- ...jsonBodySerializer,
606
- headers: defaultHeaders,
607
- parseAs: "auto",
608
- querySerializer: defaultQuerySerializer,
609
542
  ...override
610
543
  });
611
544
 
612
545
  // src/client/client.gen.ts
613
546
  var createClient = (config = {}) => {
614
547
  let _config = mergeConfigs(createConfig(), config);
548
+ let instance;
549
+ if (_config.axios && !("Axios" in _config.axios)) {
550
+ instance = _config.axios;
551
+ } else {
552
+ const { auth, ...configWithoutAuth } = _config;
553
+ instance = axios.create(configWithoutAuth);
554
+ }
615
555
  const getConfig = () => ({ ..._config });
616
556
  const setConfig = (config2) => {
617
557
  _config = mergeConfigs(_config, config2);
558
+ instance.defaults = {
559
+ ...instance.defaults,
560
+ ..._config,
561
+ // @ts-expect-error
562
+ headers: mergeHeaders(instance.defaults.headers, _config.headers)
563
+ };
618
564
  return getConfig();
619
565
  };
620
- const interceptors = createInterceptors();
621
566
  const beforeRequest = async (options) => {
622
567
  const opts = {
623
568
  ..._config,
624
569
  ...options,
625
- fetch: options.fetch ?? _config.fetch ?? globalThis.fetch,
626
- headers: mergeHeaders(_config.headers, options.headers),
627
- serializedBody: void 0
570
+ axios: options.axios ?? _config.axios ?? instance,
571
+ headers: mergeHeaders(_config.headers, options.headers)
628
572
  };
629
573
  if (opts.security) {
630
574
  await setAuthParams({
@@ -636,103 +580,28 @@ var createClient = (config = {}) => {
636
580
  await opts.requestValidator(opts);
637
581
  }
638
582
  if (opts.body !== void 0 && opts.bodySerializer) {
639
- opts.serializedBody = opts.bodySerializer(opts.body);
640
- }
641
- if (opts.body === void 0 || opts.serializedBody === "") {
642
- opts.headers.delete("Content-Type");
583
+ opts.body = opts.bodySerializer(opts.body);
643
584
  }
644
585
  const url = buildUrl(opts);
645
586
  return { opts, url };
646
587
  };
647
588
  const request = async (options) => {
648
589
  const { opts, url } = await beforeRequest(options);
649
- const requestInit = {
650
- redirect: "follow",
651
- ...opts,
652
- body: getValidRequestBody(opts)
653
- };
654
- let request2 = new Request(url, requestInit);
655
- for (const fn of interceptors.request.fns) {
656
- if (fn) {
657
- request2 = await fn(request2, opts);
658
- }
659
- }
660
- const _fetch = opts.fetch;
661
- let response;
662
590
  try {
663
- response = await _fetch(request2);
664
- } catch (error2) {
665
- let finalError2 = error2;
666
- for (const fn of interceptors.error.fns) {
667
- if (fn) {
668
- finalError2 = await fn(error2, void 0, request2, opts);
669
- }
670
- }
671
- finalError2 = finalError2 || {};
672
- if (opts.throwOnError) {
673
- throw finalError2;
674
- }
675
- return opts.responseStyle === "data" ? void 0 : {
676
- error: finalError2,
677
- request: request2,
678
- response: void 0
679
- };
680
- }
681
- for (const fn of interceptors.response.fns) {
682
- if (fn) {
683
- response = await fn(response, request2, opts);
684
- }
685
- }
686
- const result = {
687
- request: request2,
688
- response
689
- };
690
- if (response.ok) {
691
- const parseAs = (opts.parseAs === "auto" ? getParseAs(response.headers.get("Content-Type")) : opts.parseAs) ?? "json";
692
- if (response.status === 204 || response.headers.get("Content-Length") === "0") {
693
- let emptyData;
694
- switch (parseAs) {
695
- case "arrayBuffer":
696
- case "blob":
697
- case "text":
698
- emptyData = await response[parseAs]();
699
- break;
700
- case "formData":
701
- emptyData = new FormData();
702
- break;
703
- case "stream":
704
- emptyData = response.body;
705
- break;
706
- case "json":
707
- default:
708
- emptyData = {};
709
- break;
710
- }
711
- return opts.responseStyle === "data" ? emptyData : {
712
- data: emptyData,
713
- ...result
714
- };
715
- }
716
- let data;
717
- switch (parseAs) {
718
- case "arrayBuffer":
719
- case "blob":
720
- case "formData":
721
- case "text":
722
- data = await response[parseAs]();
723
- break;
724
- case "json": {
725
- const text = await response.text();
726
- data = text ? JSON.parse(text) : {};
727
- break;
728
- }
729
- case "stream":
730
- return opts.responseStyle === "data" ? response.body : {
731
- data: response.body,
732
- ...result
733
- };
734
- }
735
- if (parseAs === "json") {
591
+ const _axios = opts.axios;
592
+ const { auth, ...optsWithoutAuth } = opts;
593
+ const response = await _axios({
594
+ ...optsWithoutAuth,
595
+ baseURL: "",
596
+ // the baseURL is already included in `url`
597
+ data: getValidRequestBody(opts),
598
+ headers: opts.headers,
599
+ // let `paramsSerializer()` handle query params if it exists
600
+ params: opts.paramsSerializer ? opts.query : void 0,
601
+ url
602
+ });
603
+ let { data } = response;
604
+ if (opts.responseType === "json") {
736
605
  if (opts.responseValidator) {
737
606
  await opts.responseValidator(data);
738
607
  }
@@ -740,32 +609,18 @@ var createClient = (config = {}) => {
740
609
  data = await opts.responseTransformer(data);
741
610
  }
742
611
  }
743
- return opts.responseStyle === "data" ? data : {
744
- data,
745
- ...result
612
+ return {
613
+ ...response,
614
+ data: data ?? {}
746
615
  };
747
- }
748
- const textError = await response.text();
749
- let jsonError;
750
- try {
751
- jsonError = JSON.parse(textError);
752
- } catch {
753
- }
754
- const error = jsonError ?? textError;
755
- let finalError = error;
756
- for (const fn of interceptors.error.fns) {
757
- if (fn) {
758
- finalError = await fn(error, response, request2, opts);
616
+ } catch (error) {
617
+ const e = error;
618
+ if (opts.throwOnError) {
619
+ throw e;
759
620
  }
621
+ e.error = e.response?.data ?? {};
622
+ return e;
760
623
  }
761
- finalError = finalError || {};
762
- if (opts.throwOnError) {
763
- throw finalError;
764
- }
765
- return opts.responseStyle === "data" ? void 0 : {
766
- error: finalError,
767
- ...result
768
- };
769
624
  };
770
625
  const makeMethodFn = (method) => (options) => request({ ...options, method });
771
626
  const makeSseFn = (method) => async (options) => {
@@ -775,16 +630,9 @@ var createClient = (config = {}) => {
775
630
  body: opts.body,
776
631
  headers: opts.headers,
777
632
  method,
778
- onRequest: async (url2, init) => {
779
- let request2 = new Request(url2, init);
780
- for (const fn of interceptors.request.fns) {
781
- if (fn) {
782
- request2 = await fn(request2, opts);
783
- }
784
- }
785
- return request2;
786
- },
787
633
  serializedBody: getValidRequestBody(opts),
634
+ // @ts-expect-error
635
+ signal: opts.signal,
788
636
  url
789
637
  });
790
638
  };
@@ -795,7 +643,7 @@ var createClient = (config = {}) => {
795
643
  get: makeMethodFn("GET"),
796
644
  getConfig,
797
645
  head: makeMethodFn("HEAD"),
798
- interceptors,
646
+ instance,
799
647
  options: makeMethodFn("OPTIONS"),
800
648
  patch: makeMethodFn("PATCH"),
801
649
  post: makeMethodFn("POST"),
@@ -818,10 +666,11 @@ var createClient = (config = {}) => {
818
666
  };
819
667
 
820
668
  // src/client.gen.ts
821
- var client = createClient(createConfig());
669
+ var client = createClient(createConfig({ baseURL: "https://swagger.json/api/v1" }));
822
670
 
823
671
  // src/sdk.gen.ts
824
672
  var activitypubInstanceActor = (options) => (options?.client ?? client).get({
673
+ responseType: "json",
825
674
  security: [
826
675
  { scheme: "basic", type: "http" },
827
676
  {
@@ -847,6 +696,7 @@ var activitypubInstanceActor = (options) => (options?.client ?? client).get({
847
696
  ...options
848
697
  });
849
698
  var activitypubInstanceActorInbox = (options) => (options?.client ?? client).post({
699
+ responseType: "json",
850
700
  security: [
851
701
  { scheme: "basic", type: "http" },
852
702
  {
@@ -872,6 +722,7 @@ var activitypubInstanceActorInbox = (options) => (options?.client ?? client).pos
872
722
  ...options
873
723
  });
874
724
  var activitypubInstanceActorOutbox = (options) => (options?.client ?? client).post({
725
+ responseType: "json",
875
726
  security: [
876
727
  { scheme: "basic", type: "http" },
877
728
  {
@@ -897,6 +748,7 @@ var activitypubInstanceActorOutbox = (options) => (options?.client ?? client).po
897
748
  ...options
898
749
  });
899
750
  var activitypubRepository = (options) => (options.client ?? client).get({
751
+ responseType: "json",
900
752
  security: [
901
753
  { scheme: "basic", type: "http" },
902
754
  {
@@ -922,6 +774,7 @@ var activitypubRepository = (options) => (options.client ?? client).get({
922
774
  ...options
923
775
  });
924
776
  var activitypubRepositoryInbox = (options) => (options.client ?? client).post({
777
+ responseType: "json",
925
778
  security: [
926
779
  { scheme: "basic", type: "http" },
927
780
  {
@@ -951,6 +804,7 @@ var activitypubRepositoryInbox = (options) => (options.client ?? client).post({
951
804
  }
952
805
  });
953
806
  var activitypubRepositoryOutbox = (options) => (options.client ?? client).post({
807
+ responseType: "json",
954
808
  security: [
955
809
  { scheme: "basic", type: "http" },
956
810
  {
@@ -976,6 +830,7 @@ var activitypubRepositoryOutbox = (options) => (options.client ?? client).post({
976
830
  ...options
977
831
  });
978
832
  var activitypubPerson = (options) => (options.client ?? client).get({
833
+ responseType: "json",
979
834
  security: [
980
835
  { scheme: "basic", type: "http" },
981
836
  {
@@ -1001,6 +856,7 @@ var activitypubPerson = (options) => (options.client ?? client).get({
1001
856
  ...options
1002
857
  });
1003
858
  var activitypubPersonActivityNote = (options) => (options.client ?? client).get({
859
+ responseType: "json",
1004
860
  security: [
1005
861
  { scheme: "basic", type: "http" },
1006
862
  {
@@ -1026,6 +882,7 @@ var activitypubPersonActivityNote = (options) => (options.client ?? client).get(
1026
882
  ...options
1027
883
  });
1028
884
  var activitypubPersonActivity = (options) => (options.client ?? client).get({
885
+ responseType: "json",
1029
886
  security: [
1030
887
  { scheme: "basic", type: "http" },
1031
888
  {
@@ -1051,6 +908,7 @@ var activitypubPersonActivity = (options) => (options.client ?? client).get({
1051
908
  ...options
1052
909
  });
1053
910
  var activitypubPersonInbox = (options) => (options.client ?? client).post({
911
+ responseType: "json",
1054
912
  security: [
1055
913
  { scheme: "basic", type: "http" },
1056
914
  {
@@ -1076,6 +934,7 @@ var activitypubPersonInbox = (options) => (options.client ?? client).post({
1076
934
  ...options
1077
935
  });
1078
936
  var activitypubPersonFeed = (options) => (options.client ?? client).get({
937
+ responseType: "json",
1079
938
  security: [
1080
939
  { scheme: "basic", type: "http" },
1081
940
  {
@@ -1101,6 +960,7 @@ var activitypubPersonFeed = (options) => (options.client ?? client).get({
1101
960
  ...options
1102
961
  });
1103
962
  var adminCronList = (options) => (options?.client ?? client).get({
963
+ responseType: "json",
1104
964
  security: [
1105
965
  { scheme: "basic", type: "http" },
1106
966
  {
@@ -1126,6 +986,7 @@ var adminCronList = (options) => (options?.client ?? client).get({
1126
986
  ...options
1127
987
  });
1128
988
  var adminCronRun = (options) => (options.client ?? client).post({
989
+ responseType: "json",
1129
990
  security: [
1130
991
  { scheme: "basic", type: "http" },
1131
992
  {
@@ -1151,6 +1012,7 @@ var adminCronRun = (options) => (options.client ?? client).post({
1151
1012
  ...options
1152
1013
  });
1153
1014
  var adminGetAllEmails = (options) => (options?.client ?? client).get({
1015
+ responseType: "json",
1154
1016
  security: [
1155
1017
  { scheme: "basic", type: "http" },
1156
1018
  {
@@ -1176,6 +1038,7 @@ var adminGetAllEmails = (options) => (options?.client ?? client).get({
1176
1038
  ...options
1177
1039
  });
1178
1040
  var adminSearchEmails = (options) => (options?.client ?? client).get({
1041
+ responseType: "json",
1179
1042
  security: [
1180
1043
  { scheme: "basic", type: "http" },
1181
1044
  {
@@ -1201,6 +1064,7 @@ var adminSearchEmails = (options) => (options?.client ?? client).get({
1201
1064
  ...options
1202
1065
  });
1203
1066
  var adminListHooks = (options) => (options?.client ?? client).get({
1067
+ responseType: "json",
1204
1068
  security: [
1205
1069
  { scheme: "basic", type: "http" },
1206
1070
  {
@@ -1226,6 +1090,7 @@ var adminListHooks = (options) => (options?.client ?? client).get({
1226
1090
  ...options
1227
1091
  });
1228
1092
  var adminCreateHook = (options) => (options.client ?? client).post({
1093
+ responseType: "json",
1229
1094
  security: [
1230
1095
  { scheme: "basic", type: "http" },
1231
1096
  {
@@ -1255,6 +1120,7 @@ var adminCreateHook = (options) => (options.client ?? client).post({
1255
1120
  }
1256
1121
  });
1257
1122
  var adminDeleteHook = (options) => (options.client ?? client).delete({
1123
+ responseType: "json",
1258
1124
  security: [
1259
1125
  { scheme: "basic", type: "http" },
1260
1126
  {
@@ -1280,6 +1146,7 @@ var adminDeleteHook = (options) => (options.client ?? client).delete({
1280
1146
  ...options
1281
1147
  });
1282
1148
  var adminGetHook = (options) => (options.client ?? client).get({
1149
+ responseType: "json",
1283
1150
  security: [
1284
1151
  { scheme: "basic", type: "http" },
1285
1152
  {
@@ -1305,6 +1172,7 @@ var adminGetHook = (options) => (options.client ?? client).get({
1305
1172
  ...options
1306
1173
  });
1307
1174
  var adminEditHook = (options) => (options.client ?? client).patch({
1175
+ responseType: "json",
1308
1176
  security: [
1309
1177
  { scheme: "basic", type: "http" },
1310
1178
  {
@@ -1334,6 +1202,7 @@ var adminEditHook = (options) => (options.client ?? client).patch({
1334
1202
  }
1335
1203
  });
1336
1204
  var adminGetAllOrgs = (options) => (options?.client ?? client).get({
1205
+ responseType: "json",
1337
1206
  security: [
1338
1207
  { scheme: "basic", type: "http" },
1339
1208
  {
@@ -1359,6 +1228,7 @@ var adminGetAllOrgs = (options) => (options?.client ?? client).get({
1359
1228
  ...options
1360
1229
  });
1361
1230
  var adminListQuotaGroups = (options) => (options?.client ?? client).get({
1231
+ responseType: "json",
1362
1232
  security: [
1363
1233
  { scheme: "basic", type: "http" },
1364
1234
  {
@@ -1384,6 +1254,7 @@ var adminListQuotaGroups = (options) => (options?.client ?? client).get({
1384
1254
  ...options
1385
1255
  });
1386
1256
  var adminCreateQuotaGroup = (options) => (options.client ?? client).post({
1257
+ responseType: "json",
1387
1258
  security: [
1388
1259
  { scheme: "basic", type: "http" },
1389
1260
  {
@@ -1413,6 +1284,7 @@ var adminCreateQuotaGroup = (options) => (options.client ?? client).post({
1413
1284
  }
1414
1285
  });
1415
1286
  var adminDeleteQuotaGroup = (options) => (options.client ?? client).delete({
1287
+ responseType: "json",
1416
1288
  security: [
1417
1289
  { scheme: "basic", type: "http" },
1418
1290
  {
@@ -1438,6 +1310,7 @@ var adminDeleteQuotaGroup = (options) => (options.client ?? client).delete({
1438
1310
  ...options
1439
1311
  });
1440
1312
  var adminGetQuotaGroup = (options) => (options.client ?? client).get({
1313
+ responseType: "json",
1441
1314
  security: [
1442
1315
  { scheme: "basic", type: "http" },
1443
1316
  {
@@ -1463,6 +1336,7 @@ var adminGetQuotaGroup = (options) => (options.client ?? client).get({
1463
1336
  ...options
1464
1337
  });
1465
1338
  var adminRemoveRuleFromQuotaGroup = (options) => (options.client ?? client).delete({
1339
+ responseType: "json",
1466
1340
  security: [
1467
1341
  { scheme: "basic", type: "http" },
1468
1342
  {
@@ -1488,6 +1362,7 @@ var adminRemoveRuleFromQuotaGroup = (options) => (options.client ?? client).dele
1488
1362
  ...options
1489
1363
  });
1490
1364
  var adminAddRuleToQuotaGroup = (options) => (options.client ?? client).put({
1365
+ responseType: "json",
1491
1366
  security: [
1492
1367
  { scheme: "basic", type: "http" },
1493
1368
  {
@@ -1513,6 +1388,7 @@ var adminAddRuleToQuotaGroup = (options) => (options.client ?? client).put({
1513
1388
  ...options
1514
1389
  });
1515
1390
  var adminListUsersInQuotaGroup = (options) => (options.client ?? client).get({
1391
+ responseType: "json",
1516
1392
  security: [
1517
1393
  { scheme: "basic", type: "http" },
1518
1394
  {
@@ -1538,6 +1414,7 @@ var adminListUsersInQuotaGroup = (options) => (options.client ?? client).get({
1538
1414
  ...options
1539
1415
  });
1540
1416
  var adminRemoveUserFromQuotaGroup = (options) => (options.client ?? client).delete({
1417
+ responseType: "json",
1541
1418
  security: [
1542
1419
  { scheme: "basic", type: "http" },
1543
1420
  {
@@ -1563,6 +1440,7 @@ var adminRemoveUserFromQuotaGroup = (options) => (options.client ?? client).dele
1563
1440
  ...options
1564
1441
  });
1565
1442
  var adminAddUserToQuotaGroup = (options) => (options.client ?? client).put({
1443
+ responseType: "json",
1566
1444
  security: [
1567
1445
  { scheme: "basic", type: "http" },
1568
1446
  {
@@ -1588,6 +1466,7 @@ var adminAddUserToQuotaGroup = (options) => (options.client ?? client).put({
1588
1466
  ...options
1589
1467
  });
1590
1468
  var adminListQuotaRules = (options) => (options?.client ?? client).get({
1469
+ responseType: "json",
1591
1470
  security: [
1592
1471
  { scheme: "basic", type: "http" },
1593
1472
  {
@@ -1613,6 +1492,7 @@ var adminListQuotaRules = (options) => (options?.client ?? client).get({
1613
1492
  ...options
1614
1493
  });
1615
1494
  var adminCreateQuotaRule = (options) => (options.client ?? client).post({
1495
+ responseType: "json",
1616
1496
  security: [
1617
1497
  { scheme: "basic", type: "http" },
1618
1498
  {
@@ -1642,6 +1522,7 @@ var adminCreateQuotaRule = (options) => (options.client ?? client).post({
1642
1522
  }
1643
1523
  });
1644
1524
  var adminDeleteQuotaRule = (options) => (options.client ?? client).delete({
1525
+ responseType: "json",
1645
1526
  security: [
1646
1527
  { scheme: "basic", type: "http" },
1647
1528
  {
@@ -1667,6 +1548,7 @@ var adminDeleteQuotaRule = (options) => (options.client ?? client).delete({
1667
1548
  ...options
1668
1549
  });
1669
1550
  var adminGetQuotaRule = (options) => (options.client ?? client).get({
1551
+ responseType: "json",
1670
1552
  security: [
1671
1553
  { scheme: "basic", type: "http" },
1672
1554
  {
@@ -1692,6 +1574,7 @@ var adminGetQuotaRule = (options) => (options.client ?? client).get({
1692
1574
  ...options
1693
1575
  });
1694
1576
  var adminEditQuotaRule = (options) => (options.client ?? client).patch({
1577
+ responseType: "json",
1695
1578
  security: [
1696
1579
  { scheme: "basic", type: "http" },
1697
1580
  {
@@ -1721,6 +1604,7 @@ var adminEditQuotaRule = (options) => (options.client ?? client).patch({
1721
1604
  }
1722
1605
  });
1723
1606
  var adminSearchRunJobs = (options) => (options?.client ?? client).get({
1607
+ responseType: "json",
1724
1608
  security: [
1725
1609
  { scheme: "basic", type: "http" },
1726
1610
  {
@@ -1746,6 +1630,7 @@ var adminSearchRunJobs = (options) => (options?.client ?? client).get({
1746
1630
  ...options
1747
1631
  });
1748
1632
  var adminGetRunnerRegistrationToken = (options) => (options?.client ?? client).get({
1633
+ responseType: "json",
1749
1634
  security: [
1750
1635
  { scheme: "basic", type: "http" },
1751
1636
  {
@@ -1771,6 +1656,7 @@ var adminGetRunnerRegistrationToken = (options) => (options?.client ?? client).g
1771
1656
  ...options
1772
1657
  });
1773
1658
  var adminUnadoptedList = (options) => (options?.client ?? client).get({
1659
+ responseType: "json",
1774
1660
  security: [
1775
1661
  { scheme: "basic", type: "http" },
1776
1662
  {
@@ -1796,6 +1682,7 @@ var adminUnadoptedList = (options) => (options?.client ?? client).get({
1796
1682
  ...options
1797
1683
  });
1798
1684
  var adminDeleteUnadoptedRepository = (options) => (options.client ?? client).delete({
1685
+ responseType: "json",
1799
1686
  security: [
1800
1687
  { scheme: "basic", type: "http" },
1801
1688
  {
@@ -1821,6 +1708,7 @@ var adminDeleteUnadoptedRepository = (options) => (options.client ?? client).del
1821
1708
  ...options
1822
1709
  });
1823
1710
  var adminAdoptRepository = (options) => (options.client ?? client).post({
1711
+ responseType: "json",
1824
1712
  security: [
1825
1713
  { scheme: "basic", type: "http" },
1826
1714
  {
@@ -1846,6 +1734,7 @@ var adminAdoptRepository = (options) => (options.client ?? client).post({
1846
1734
  ...options
1847
1735
  });
1848
1736
  var adminSearchUsers = (options) => (options?.client ?? client).get({
1737
+ responseType: "json",
1849
1738
  security: [
1850
1739
  { scheme: "basic", type: "http" },
1851
1740
  {
@@ -1871,6 +1760,7 @@ var adminSearchUsers = (options) => (options?.client ?? client).get({
1871
1760
  ...options
1872
1761
  });
1873
1762
  var adminCreateUser = (options) => (options?.client ?? client).post({
1763
+ responseType: "json",
1874
1764
  security: [
1875
1765
  { scheme: "basic", type: "http" },
1876
1766
  {
@@ -1900,6 +1790,7 @@ var adminCreateUser = (options) => (options?.client ?? client).post({
1900
1790
  }
1901
1791
  });
1902
1792
  var adminDeleteUser = (options) => (options.client ?? client).delete({
1793
+ responseType: "json",
1903
1794
  security: [
1904
1795
  { scheme: "basic", type: "http" },
1905
1796
  {
@@ -1925,6 +1816,7 @@ var adminDeleteUser = (options) => (options.client ?? client).delete({
1925
1816
  ...options
1926
1817
  });
1927
1818
  var adminEditUser = (options) => (options.client ?? client).patch({
1819
+ responseType: "json",
1928
1820
  security: [
1929
1821
  { scheme: "basic", type: "http" },
1930
1822
  {
@@ -1954,6 +1846,7 @@ var adminEditUser = (options) => (options.client ?? client).patch({
1954
1846
  }
1955
1847
  });
1956
1848
  var adminDeleteUserEmails = (options) => (options.client ?? client).delete({
1849
+ responseType: "json",
1957
1850
  security: [
1958
1851
  { scheme: "basic", type: "http" },
1959
1852
  {
@@ -1983,6 +1876,7 @@ var adminDeleteUserEmails = (options) => (options.client ?? client).delete({
1983
1876
  }
1984
1877
  });
1985
1878
  var adminListUserEmails = (options) => (options.client ?? client).get({
1879
+ responseType: "json",
1986
1880
  security: [
1987
1881
  { scheme: "basic", type: "http" },
1988
1882
  {
@@ -2008,6 +1902,7 @@ var adminListUserEmails = (options) => (options.client ?? client).get({
2008
1902
  ...options
2009
1903
  });
2010
1904
  var adminCreatePublicKey = (options) => (options.client ?? client).post({
1905
+ responseType: "json",
2011
1906
  security: [
2012
1907
  { scheme: "basic", type: "http" },
2013
1908
  {
@@ -2037,6 +1932,7 @@ var adminCreatePublicKey = (options) => (options.client ?? client).post({
2037
1932
  }
2038
1933
  });
2039
1934
  var adminDeleteUserPublicKey = (options) => (options.client ?? client).delete({
1935
+ responseType: "json",
2040
1936
  security: [
2041
1937
  { scheme: "basic", type: "http" },
2042
1938
  {
@@ -2062,6 +1958,7 @@ var adminDeleteUserPublicKey = (options) => (options.client ?? client).delete({
2062
1958
  ...options
2063
1959
  });
2064
1960
  var adminCreateOrg = (options) => (options.client ?? client).post({
1961
+ responseType: "json",
2065
1962
  security: [
2066
1963
  { scheme: "basic", type: "http" },
2067
1964
  {
@@ -2091,6 +1988,7 @@ var adminCreateOrg = (options) => (options.client ?? client).post({
2091
1988
  }
2092
1989
  });
2093
1990
  var adminGetUserQuota = (options) => (options.client ?? client).get({
1991
+ responseType: "json",
2094
1992
  security: [
2095
1993
  { scheme: "basic", type: "http" },
2096
1994
  {
@@ -2116,6 +2014,7 @@ var adminGetUserQuota = (options) => (options.client ?? client).get({
2116
2014
  ...options
2117
2015
  });
2118
2016
  var adminSetUserQuotaGroups = (options) => (options.client ?? client).post({
2017
+ responseType: "json",
2119
2018
  security: [
2120
2019
  { scheme: "basic", type: "http" },
2121
2020
  {
@@ -2145,6 +2044,7 @@ var adminSetUserQuotaGroups = (options) => (options.client ?? client).post({
2145
2044
  }
2146
2045
  });
2147
2046
  var adminRenameUser = (options) => (options.client ?? client).post({
2047
+ responseType: "json",
2148
2048
  security: [
2149
2049
  { scheme: "basic", type: "http" },
2150
2050
  {
@@ -2174,6 +2074,7 @@ var adminRenameUser = (options) => (options.client ?? client).post({
2174
2074
  }
2175
2075
  });
2176
2076
  var adminCreateRepo = (options) => (options.client ?? client).post({
2077
+ responseType: "json",
2177
2078
  security: [
2178
2079
  { scheme: "basic", type: "http" },
2179
2080
  {
@@ -2203,6 +2104,7 @@ var adminCreateRepo = (options) => (options.client ?? client).post({
2203
2104
  }
2204
2105
  });
2205
2106
  var listGitignoresTemplates = (options) => (options?.client ?? client).get({
2107
+ responseType: "json",
2206
2108
  security: [
2207
2109
  { scheme: "basic", type: "http" },
2208
2110
  {
@@ -2228,6 +2130,7 @@ var listGitignoresTemplates = (options) => (options?.client ?? client).get({
2228
2130
  ...options
2229
2131
  });
2230
2132
  var getGitignoreTemplateInfo = (options) => (options.client ?? client).get({
2133
+ responseType: "json",
2231
2134
  security: [
2232
2135
  { scheme: "basic", type: "http" },
2233
2136
  {
@@ -2253,6 +2156,7 @@ var getGitignoreTemplateInfo = (options) => (options.client ?? client).get({
2253
2156
  ...options
2254
2157
  });
2255
2158
  var listLabelTemplates = (options) => (options?.client ?? client).get({
2159
+ responseType: "json",
2256
2160
  security: [
2257
2161
  { scheme: "basic", type: "http" },
2258
2162
  {
@@ -2278,6 +2182,7 @@ var listLabelTemplates = (options) => (options?.client ?? client).get({
2278
2182
  ...options
2279
2183
  });
2280
2184
  var getLabelTemplateInfo = (options) => (options.client ?? client).get({
2185
+ responseType: "json",
2281
2186
  security: [
2282
2187
  { scheme: "basic", type: "http" },
2283
2188
  {
@@ -2303,6 +2208,7 @@ var getLabelTemplateInfo = (options) => (options.client ?? client).get({
2303
2208
  ...options
2304
2209
  });
2305
2210
  var listLicenseTemplates = (options) => (options?.client ?? client).get({
2211
+ responseType: "json",
2306
2212
  security: [
2307
2213
  { scheme: "basic", type: "http" },
2308
2214
  {
@@ -2328,6 +2234,7 @@ var listLicenseTemplates = (options) => (options?.client ?? client).get({
2328
2234
  ...options
2329
2235
  });
2330
2236
  var getLicenseTemplateInfo = (options) => (options.client ?? client).get({
2237
+ responseType: "json",
2331
2238
  security: [
2332
2239
  { scheme: "basic", type: "http" },
2333
2240
  {
@@ -2353,6 +2260,7 @@ var getLicenseTemplateInfo = (options) => (options.client ?? client).get({
2353
2260
  ...options
2354
2261
  });
2355
2262
  var renderMarkdown = (options) => (options?.client ?? client).post({
2263
+ responseType: "text",
2356
2264
  security: [
2357
2265
  { scheme: "basic", type: "http" },
2358
2266
  {
@@ -2383,6 +2291,7 @@ var renderMarkdown = (options) => (options?.client ?? client).post({
2383
2291
  });
2384
2292
  var renderMarkdownRaw = (options) => (options.client ?? client).post({
2385
2293
  bodySerializer: null,
2294
+ responseType: "text",
2386
2295
  security: [
2387
2296
  { scheme: "basic", type: "http" },
2388
2297
  {
@@ -2412,6 +2321,7 @@ var renderMarkdownRaw = (options) => (options.client ?? client).post({
2412
2321
  }
2413
2322
  });
2414
2323
  var renderMarkup = (options) => (options?.client ?? client).post({
2324
+ responseType: "text",
2415
2325
  security: [
2416
2326
  { scheme: "basic", type: "http" },
2417
2327
  {
@@ -2441,6 +2351,7 @@ var renderMarkup = (options) => (options?.client ?? client).post({
2441
2351
  }
2442
2352
  });
2443
2353
  var getNodeInfo = (options) => (options?.client ?? client).get({
2354
+ responseType: "json",
2444
2355
  security: [
2445
2356
  { scheme: "basic", type: "http" },
2446
2357
  {
@@ -2466,6 +2377,7 @@ var getNodeInfo = (options) => (options?.client ?? client).get({
2466
2377
  ...options
2467
2378
  });
2468
2379
  var notifyGetList = (options) => (options?.client ?? client).get({
2380
+ responseType: "json",
2469
2381
  security: [
2470
2382
  { scheme: "basic", type: "http" },
2471
2383
  {
@@ -2491,6 +2403,7 @@ var notifyGetList = (options) => (options?.client ?? client).get({
2491
2403
  ...options
2492
2404
  });
2493
2405
  var notifyReadList = (options) => (options?.client ?? client).put({
2406
+ responseType: "json",
2494
2407
  security: [
2495
2408
  { scheme: "basic", type: "http" },
2496
2409
  {
@@ -2516,6 +2429,7 @@ var notifyReadList = (options) => (options?.client ?? client).put({
2516
2429
  ...options
2517
2430
  });
2518
2431
  var notifyNewAvailable = (options) => (options?.client ?? client).get({
2432
+ responseType: "json",
2519
2433
  security: [
2520
2434
  { scheme: "basic", type: "http" },
2521
2435
  {
@@ -2541,6 +2455,7 @@ var notifyNewAvailable = (options) => (options?.client ?? client).get({
2541
2455
  ...options
2542
2456
  });
2543
2457
  var notifyGetThread = (options) => (options.client ?? client).get({
2458
+ responseType: "json",
2544
2459
  security: [
2545
2460
  { scheme: "basic", type: "http" },
2546
2461
  {
@@ -2566,6 +2481,7 @@ var notifyGetThread = (options) => (options.client ?? client).get({
2566
2481
  ...options
2567
2482
  });
2568
2483
  var notifyReadThread = (options) => (options.client ?? client).patch({
2484
+ responseType: "json",
2569
2485
  security: [
2570
2486
  { scheme: "basic", type: "http" },
2571
2487
  {
@@ -2591,6 +2507,7 @@ var notifyReadThread = (options) => (options.client ?? client).patch({
2591
2507
  ...options
2592
2508
  });
2593
2509
  var createOrgRepoDeprecated = (options) => (options.client ?? client).post({
2510
+ responseType: "json",
2594
2511
  security: [
2595
2512
  { scheme: "basic", type: "http" },
2596
2513
  {
@@ -2620,6 +2537,7 @@ var createOrgRepoDeprecated = (options) => (options.client ?? client).post({
2620
2537
  }
2621
2538
  });
2622
2539
  var orgGetAll = (options) => (options?.client ?? client).get({
2540
+ responseType: "json",
2623
2541
  security: [
2624
2542
  { scheme: "basic", type: "http" },
2625
2543
  {
@@ -2645,6 +2563,7 @@ var orgGetAll = (options) => (options?.client ?? client).get({
2645
2563
  ...options
2646
2564
  });
2647
2565
  var orgCreate = (options) => (options.client ?? client).post({
2566
+ responseType: "json",
2648
2567
  security: [
2649
2568
  { scheme: "basic", type: "http" },
2650
2569
  {
@@ -2674,6 +2593,7 @@ var orgCreate = (options) => (options.client ?? client).post({
2674
2593
  }
2675
2594
  });
2676
2595
  var orgDelete = (options) => (options.client ?? client).delete({
2596
+ responseType: "json",
2677
2597
  security: [
2678
2598
  { scheme: "basic", type: "http" },
2679
2599
  {
@@ -2699,6 +2619,7 @@ var orgDelete = (options) => (options.client ?? client).delete({
2699
2619
  ...options
2700
2620
  });
2701
2621
  var orgGet = (options) => (options.client ?? client).get({
2622
+ responseType: "json",
2702
2623
  security: [
2703
2624
  { scheme: "basic", type: "http" },
2704
2625
  {
@@ -2724,6 +2645,7 @@ var orgGet = (options) => (options.client ?? client).get({
2724
2645
  ...options
2725
2646
  });
2726
2647
  var orgEdit = (options) => (options.client ?? client).patch({
2648
+ responseType: "json",
2727
2649
  security: [
2728
2650
  { scheme: "basic", type: "http" },
2729
2651
  {
@@ -2753,6 +2675,7 @@ var orgEdit = (options) => (options.client ?? client).patch({
2753
2675
  }
2754
2676
  });
2755
2677
  var orgSearchRunJobs = (options) => (options.client ?? client).get({
2678
+ responseType: "json",
2756
2679
  security: [
2757
2680
  { scheme: "basic", type: "http" },
2758
2681
  {
@@ -2778,6 +2701,7 @@ var orgSearchRunJobs = (options) => (options.client ?? client).get({
2778
2701
  ...options
2779
2702
  });
2780
2703
  var orgGetRunnerRegistrationToken = (options) => (options.client ?? client).get({
2704
+ responseType: "json",
2781
2705
  security: [
2782
2706
  { scheme: "basic", type: "http" },
2783
2707
  {
@@ -2803,6 +2727,7 @@ var orgGetRunnerRegistrationToken = (options) => (options.client ?? client).get(
2803
2727
  ...options
2804
2728
  });
2805
2729
  var orgListActionsSecrets = (options) => (options.client ?? client).get({
2730
+ responseType: "json",
2806
2731
  security: [
2807
2732
  { scheme: "basic", type: "http" },
2808
2733
  {
@@ -2828,6 +2753,7 @@ var orgListActionsSecrets = (options) => (options.client ?? client).get({
2828
2753
  ...options
2829
2754
  });
2830
2755
  var deleteOrgSecret = (options) => (options.client ?? client).delete({
2756
+ responseType: "json",
2831
2757
  security: [
2832
2758
  { scheme: "basic", type: "http" },
2833
2759
  {
@@ -2853,6 +2779,7 @@ var deleteOrgSecret = (options) => (options.client ?? client).delete({
2853
2779
  ...options
2854
2780
  });
2855
2781
  var updateOrgSecret = (options) => (options.client ?? client).put({
2782
+ responseType: "json",
2856
2783
  security: [
2857
2784
  { scheme: "basic", type: "http" },
2858
2785
  {
@@ -2882,6 +2809,7 @@ var updateOrgSecret = (options) => (options.client ?? client).put({
2882
2809
  }
2883
2810
  });
2884
2811
  var getOrgVariablesList = (options) => (options.client ?? client).get({
2812
+ responseType: "json",
2885
2813
  security: [
2886
2814
  { scheme: "basic", type: "http" },
2887
2815
  {
@@ -2907,6 +2835,7 @@ var getOrgVariablesList = (options) => (options.client ?? client).get({
2907
2835
  ...options
2908
2836
  });
2909
2837
  var deleteOrgVariable = (options) => (options.client ?? client).delete({
2838
+ responseType: "json",
2910
2839
  security: [
2911
2840
  { scheme: "basic", type: "http" },
2912
2841
  {
@@ -2932,6 +2861,7 @@ var deleteOrgVariable = (options) => (options.client ?? client).delete({
2932
2861
  ...options
2933
2862
  });
2934
2863
  var getOrgVariable = (options) => (options.client ?? client).get({
2864
+ responseType: "json",
2935
2865
  security: [
2936
2866
  { scheme: "basic", type: "http" },
2937
2867
  {
@@ -2957,6 +2887,7 @@ var getOrgVariable = (options) => (options.client ?? client).get({
2957
2887
  ...options
2958
2888
  });
2959
2889
  var createOrgVariable = (options) => (options.client ?? client).post({
2890
+ responseType: "json",
2960
2891
  security: [
2961
2892
  { scheme: "basic", type: "http" },
2962
2893
  {
@@ -2986,6 +2917,7 @@ var createOrgVariable = (options) => (options.client ?? client).post({
2986
2917
  }
2987
2918
  });
2988
2919
  var updateOrgVariable = (options) => (options.client ?? client).put({
2920
+ responseType: "json",
2989
2921
  security: [
2990
2922
  { scheme: "basic", type: "http" },
2991
2923
  {
@@ -3015,6 +2947,7 @@ var updateOrgVariable = (options) => (options.client ?? client).put({
3015
2947
  }
3016
2948
  });
3017
2949
  var orgListActivityFeeds = (options) => (options.client ?? client).get({
2950
+ responseType: "json",
3018
2951
  security: [
3019
2952
  { scheme: "basic", type: "http" },
3020
2953
  {
@@ -3040,6 +2973,7 @@ var orgListActivityFeeds = (options) => (options.client ?? client).get({
3040
2973
  ...options
3041
2974
  });
3042
2975
  var orgDeleteAvatar = (options) => (options.client ?? client).delete({
2976
+ responseType: "json",
3043
2977
  security: [
3044
2978
  { scheme: "basic", type: "http" },
3045
2979
  {
@@ -3065,6 +2999,7 @@ var orgDeleteAvatar = (options) => (options.client ?? client).delete({
3065
2999
  ...options
3066
3000
  });
3067
3001
  var orgUpdateAvatar = (options) => (options.client ?? client).post({
3002
+ responseType: "json",
3068
3003
  security: [
3069
3004
  { scheme: "basic", type: "http" },
3070
3005
  {
@@ -3094,6 +3029,7 @@ var orgUpdateAvatar = (options) => (options.client ?? client).post({
3094
3029
  }
3095
3030
  });
3096
3031
  var orgBlockUser = (options) => (options.client ?? client).put({
3032
+ responseType: "json",
3097
3033
  security: [
3098
3034
  { scheme: "basic", type: "http" },
3099
3035
  {
@@ -3119,6 +3055,7 @@ var orgBlockUser = (options) => (options.client ?? client).put({
3119
3055
  ...options
3120
3056
  });
3121
3057
  var orgListHooks = (options) => (options.client ?? client).get({
3058
+ responseType: "json",
3122
3059
  security: [
3123
3060
  { scheme: "basic", type: "http" },
3124
3061
  {
@@ -3144,6 +3081,7 @@ var orgListHooks = (options) => (options.client ?? client).get({
3144
3081
  ...options
3145
3082
  });
3146
3083
  var orgCreateHook = (options) => (options.client ?? client).post({
3084
+ responseType: "json",
3147
3085
  security: [
3148
3086
  { scheme: "basic", type: "http" },
3149
3087
  {
@@ -3173,6 +3111,7 @@ var orgCreateHook = (options) => (options.client ?? client).post({
3173
3111
  }
3174
3112
  });
3175
3113
  var orgDeleteHook = (options) => (options.client ?? client).delete({
3114
+ responseType: "json",
3176
3115
  security: [
3177
3116
  { scheme: "basic", type: "http" },
3178
3117
  {
@@ -3198,6 +3137,7 @@ var orgDeleteHook = (options) => (options.client ?? client).delete({
3198
3137
  ...options
3199
3138
  });
3200
3139
  var orgGetHook = (options) => (options.client ?? client).get({
3140
+ responseType: "json",
3201
3141
  security: [
3202
3142
  { scheme: "basic", type: "http" },
3203
3143
  {
@@ -3223,6 +3163,7 @@ var orgGetHook = (options) => (options.client ?? client).get({
3223
3163
  ...options
3224
3164
  });
3225
3165
  var orgEditHook = (options) => (options.client ?? client).patch({
3166
+ responseType: "json",
3226
3167
  security: [
3227
3168
  { scheme: "basic", type: "http" },
3228
3169
  {
@@ -3252,6 +3193,7 @@ var orgEditHook = (options) => (options.client ?? client).patch({
3252
3193
  }
3253
3194
  });
3254
3195
  var orgListLabels = (options) => (options.client ?? client).get({
3196
+ responseType: "json",
3255
3197
  security: [
3256
3198
  { scheme: "basic", type: "http" },
3257
3199
  {
@@ -3277,6 +3219,7 @@ var orgListLabels = (options) => (options.client ?? client).get({
3277
3219
  ...options
3278
3220
  });
3279
3221
  var orgCreateLabel = (options) => (options.client ?? client).post({
3222
+ responseType: "json",
3280
3223
  security: [
3281
3224
  { scheme: "basic", type: "http" },
3282
3225
  {
@@ -3306,6 +3249,7 @@ var orgCreateLabel = (options) => (options.client ?? client).post({
3306
3249
  }
3307
3250
  });
3308
3251
  var orgDeleteLabel = (options) => (options.client ?? client).delete({
3252
+ responseType: "json",
3309
3253
  security: [
3310
3254
  { scheme: "basic", type: "http" },
3311
3255
  {
@@ -3331,6 +3275,7 @@ var orgDeleteLabel = (options) => (options.client ?? client).delete({
3331
3275
  ...options
3332
3276
  });
3333
3277
  var orgGetLabel = (options) => (options.client ?? client).get({
3278
+ responseType: "json",
3334
3279
  security: [
3335
3280
  { scheme: "basic", type: "http" },
3336
3281
  {
@@ -3356,6 +3301,7 @@ var orgGetLabel = (options) => (options.client ?? client).get({
3356
3301
  ...options
3357
3302
  });
3358
3303
  var orgEditLabel = (options) => (options.client ?? client).patch({
3304
+ responseType: "json",
3359
3305
  security: [
3360
3306
  { scheme: "basic", type: "http" },
3361
3307
  {
@@ -3385,6 +3331,7 @@ var orgEditLabel = (options) => (options.client ?? client).patch({
3385
3331
  }
3386
3332
  });
3387
3333
  var orgListBlockedUsers = (options) => (options.client ?? client).get({
3334
+ responseType: "json",
3388
3335
  security: [
3389
3336
  { scheme: "basic", type: "http" },
3390
3337
  {
@@ -3410,6 +3357,7 @@ var orgListBlockedUsers = (options) => (options.client ?? client).get({
3410
3357
  ...options
3411
3358
  });
3412
3359
  var orgListMembers = (options) => (options.client ?? client).get({
3360
+ responseType: "json",
3413
3361
  security: [
3414
3362
  { scheme: "basic", type: "http" },
3415
3363
  {
@@ -3435,6 +3383,7 @@ var orgListMembers = (options) => (options.client ?? client).get({
3435
3383
  ...options
3436
3384
  });
3437
3385
  var orgDeleteMember = (options) => (options.client ?? client).delete({
3386
+ responseType: "json",
3438
3387
  security: [
3439
3388
  { scheme: "basic", type: "http" },
3440
3389
  {
@@ -3460,6 +3409,7 @@ var orgDeleteMember = (options) => (options.client ?? client).delete({
3460
3409
  ...options
3461
3410
  });
3462
3411
  var orgIsMember = (options) => (options.client ?? client).get({
3412
+ responseType: "json",
3463
3413
  security: [
3464
3414
  { scheme: "basic", type: "http" },
3465
3415
  {
@@ -3485,6 +3435,7 @@ var orgIsMember = (options) => (options.client ?? client).get({
3485
3435
  ...options
3486
3436
  });
3487
3437
  var orgListPublicMembers = (options) => (options.client ?? client).get({
3438
+ responseType: "json",
3488
3439
  security: [
3489
3440
  { scheme: "basic", type: "http" },
3490
3441
  {
@@ -3510,6 +3461,7 @@ var orgListPublicMembers = (options) => (options.client ?? client).get({
3510
3461
  ...options
3511
3462
  });
3512
3463
  var orgConcealMember = (options) => (options.client ?? client).delete({
3464
+ responseType: "json",
3513
3465
  security: [
3514
3466
  { scheme: "basic", type: "http" },
3515
3467
  {
@@ -3535,6 +3487,7 @@ var orgConcealMember = (options) => (options.client ?? client).delete({
3535
3487
  ...options
3536
3488
  });
3537
3489
  var orgIsPublicMember = (options) => (options.client ?? client).get({
3490
+ responseType: "json",
3538
3491
  security: [
3539
3492
  { scheme: "basic", type: "http" },
3540
3493
  {
@@ -3560,6 +3513,7 @@ var orgIsPublicMember = (options) => (options.client ?? client).get({
3560
3513
  ...options
3561
3514
  });
3562
3515
  var orgPublicizeMember = (options) => (options.client ?? client).put({
3516
+ responseType: "json",
3563
3517
  security: [
3564
3518
  { scheme: "basic", type: "http" },
3565
3519
  {
@@ -3585,6 +3539,7 @@ var orgPublicizeMember = (options) => (options.client ?? client).put({
3585
3539
  ...options
3586
3540
  });
3587
3541
  var orgGetQuota = (options) => (options.client ?? client).get({
3542
+ responseType: "json",
3588
3543
  security: [
3589
3544
  { scheme: "basic", type: "http" },
3590
3545
  {
@@ -3610,6 +3565,7 @@ var orgGetQuota = (options) => (options.client ?? client).get({
3610
3565
  ...options
3611
3566
  });
3612
3567
  var orgListQuotaArtifacts = (options) => (options.client ?? client).get({
3568
+ responseType: "json",
3613
3569
  security: [
3614
3570
  { scheme: "basic", type: "http" },
3615
3571
  {
@@ -3635,6 +3591,7 @@ var orgListQuotaArtifacts = (options) => (options.client ?? client).get({
3635
3591
  ...options
3636
3592
  });
3637
3593
  var orgListQuotaAttachments = (options) => (options.client ?? client).get({
3594
+ responseType: "json",
3638
3595
  security: [
3639
3596
  { scheme: "basic", type: "http" },
3640
3597
  {
@@ -3660,6 +3617,7 @@ var orgListQuotaAttachments = (options) => (options.client ?? client).get({
3660
3617
  ...options
3661
3618
  });
3662
3619
  var orgCheckQuota = (options) => (options.client ?? client).get({
3620
+ responseType: "json",
3663
3621
  security: [
3664
3622
  { scheme: "basic", type: "http" },
3665
3623
  {
@@ -3685,6 +3643,7 @@ var orgCheckQuota = (options) => (options.client ?? client).get({
3685
3643
  ...options
3686
3644
  });
3687
3645
  var orgListQuotaPackages = (options) => (options.client ?? client).get({
3646
+ responseType: "json",
3688
3647
  security: [
3689
3648
  { scheme: "basic", type: "http" },
3690
3649
  {
@@ -3710,6 +3669,7 @@ var orgListQuotaPackages = (options) => (options.client ?? client).get({
3710
3669
  ...options
3711
3670
  });
3712
3671
  var renameOrg = (options) => (options.client ?? client).post({
3672
+ responseType: "json",
3713
3673
  security: [
3714
3674
  { scheme: "basic", type: "http" },
3715
3675
  {
@@ -3739,6 +3699,7 @@ var renameOrg = (options) => (options.client ?? client).post({
3739
3699
  }
3740
3700
  });
3741
3701
  var orgListRepos = (options) => (options.client ?? client).get({
3702
+ responseType: "json",
3742
3703
  security: [
3743
3704
  { scheme: "basic", type: "http" },
3744
3705
  {
@@ -3764,6 +3725,7 @@ var orgListRepos = (options) => (options.client ?? client).get({
3764
3725
  ...options
3765
3726
  });
3766
3727
  var createOrgRepo = (options) => (options.client ?? client).post({
3728
+ responseType: "json",
3767
3729
  security: [
3768
3730
  { scheme: "basic", type: "http" },
3769
3731
  {
@@ -3793,6 +3755,7 @@ var createOrgRepo = (options) => (options.client ?? client).post({
3793
3755
  }
3794
3756
  });
3795
3757
  var orgListTeams = (options) => (options.client ?? client).get({
3758
+ responseType: "json",
3796
3759
  security: [
3797
3760
  { scheme: "basic", type: "http" },
3798
3761
  {
@@ -3818,6 +3781,7 @@ var orgListTeams = (options) => (options.client ?? client).get({
3818
3781
  ...options
3819
3782
  });
3820
3783
  var orgCreateTeam = (options) => (options.client ?? client).post({
3784
+ responseType: "json",
3821
3785
  security: [
3822
3786
  { scheme: "basic", type: "http" },
3823
3787
  {
@@ -3847,6 +3811,7 @@ var orgCreateTeam = (options) => (options.client ?? client).post({
3847
3811
  }
3848
3812
  });
3849
3813
  var teamSearch = (options) => (options.client ?? client).get({
3814
+ responseType: "json",
3850
3815
  security: [
3851
3816
  { scheme: "basic", type: "http" },
3852
3817
  {
@@ -3872,6 +3837,7 @@ var teamSearch = (options) => (options.client ?? client).get({
3872
3837
  ...options
3873
3838
  });
3874
3839
  var orgUnblockUser = (options) => (options.client ?? client).put({
3840
+ responseType: "json",
3875
3841
  security: [
3876
3842
  { scheme: "basic", type: "http" },
3877
3843
  {
@@ -3897,6 +3863,7 @@ var orgUnblockUser = (options) => (options.client ?? client).put({
3897
3863
  ...options
3898
3864
  });
3899
3865
  var listPackages = (options) => (options.client ?? client).get({
3866
+ responseType: "json",
3900
3867
  security: [
3901
3868
  { scheme: "basic", type: "http" },
3902
3869
  {
@@ -3922,6 +3889,7 @@ var listPackages = (options) => (options.client ?? client).get({
3922
3889
  ...options
3923
3890
  });
3924
3891
  var linkPackage = (options) => (options.client ?? client).post({
3892
+ responseType: "json",
3925
3893
  security: [
3926
3894
  { scheme: "basic", type: "http" },
3927
3895
  {
@@ -3947,6 +3915,7 @@ var linkPackage = (options) => (options.client ?? client).post({
3947
3915
  ...options
3948
3916
  });
3949
3917
  var unlinkPackage = (options) => (options.client ?? client).post({
3918
+ responseType: "json",
3950
3919
  security: [
3951
3920
  { scheme: "basic", type: "http" },
3952
3921
  {
@@ -3972,6 +3941,7 @@ var unlinkPackage = (options) => (options.client ?? client).post({
3972
3941
  ...options
3973
3942
  });
3974
3943
  var deletePackage = (options) => (options.client ?? client).delete({
3944
+ responseType: "json",
3975
3945
  security: [
3976
3946
  { scheme: "basic", type: "http" },
3977
3947
  {
@@ -3997,6 +3967,7 @@ var deletePackage = (options) => (options.client ?? client).delete({
3997
3967
  ...options
3998
3968
  });
3999
3969
  var getPackage = (options) => (options.client ?? client).get({
3970
+ responseType: "json",
4000
3971
  security: [
4001
3972
  { scheme: "basic", type: "http" },
4002
3973
  {
@@ -4022,6 +3993,7 @@ var getPackage = (options) => (options.client ?? client).get({
4022
3993
  ...options
4023
3994
  });
4024
3995
  var listPackageFiles = (options) => (options.client ?? client).get({
3996
+ responseType: "json",
4025
3997
  security: [
4026
3998
  { scheme: "basic", type: "http" },
4027
3999
  {
@@ -4047,6 +4019,7 @@ var listPackageFiles = (options) => (options.client ?? client).get({
4047
4019
  ...options
4048
4020
  });
4049
4021
  var issueSearchIssues = (options) => (options?.client ?? client).get({
4022
+ responseType: "json",
4050
4023
  security: [
4051
4024
  { scheme: "basic", type: "http" },
4052
4025
  {
@@ -4072,6 +4045,7 @@ var issueSearchIssues = (options) => (options?.client ?? client).get({
4072
4045
  ...options
4073
4046
  });
4074
4047
  var repoMigrate = (options) => (options?.client ?? client).post({
4048
+ responseType: "json",
4075
4049
  security: [
4076
4050
  { scheme: "basic", type: "http" },
4077
4051
  {
@@ -4101,6 +4075,7 @@ var repoMigrate = (options) => (options?.client ?? client).post({
4101
4075
  }
4102
4076
  });
4103
4077
  var repoSearch = (options) => (options?.client ?? client).get({
4078
+ responseType: "json",
4104
4079
  security: [
4105
4080
  { scheme: "basic", type: "http" },
4106
4081
  {
@@ -4126,6 +4101,7 @@ var repoSearch = (options) => (options?.client ?? client).get({
4126
4101
  ...options
4127
4102
  });
4128
4103
  var repoDelete = (options) => (options.client ?? client).delete({
4104
+ responseType: "json",
4129
4105
  security: [
4130
4106
  { scheme: "basic", type: "http" },
4131
4107
  {
@@ -4151,6 +4127,7 @@ var repoDelete = (options) => (options.client ?? client).delete({
4151
4127
  ...options
4152
4128
  });
4153
4129
  var repoGet = (options) => (options.client ?? client).get({
4130
+ responseType: "json",
4154
4131
  security: [
4155
4132
  { scheme: "basic", type: "http" },
4156
4133
  {
@@ -4176,6 +4153,7 @@ var repoGet = (options) => (options.client ?? client).get({
4176
4153
  ...options
4177
4154
  });
4178
4155
  var repoEdit = (options) => (options.client ?? client).patch({
4156
+ responseType: "json",
4179
4157
  security: [
4180
4158
  { scheme: "basic", type: "http" },
4181
4159
  {
@@ -4205,6 +4183,7 @@ var repoEdit = (options) => (options.client ?? client).patch({
4205
4183
  }
4206
4184
  });
4207
4185
  var repoSearchRunJobs = (options) => (options.client ?? client).get({
4186
+ responseType: "json",
4208
4187
  security: [
4209
4188
  { scheme: "basic", type: "http" },
4210
4189
  {
@@ -4230,6 +4209,7 @@ var repoSearchRunJobs = (options) => (options.client ?? client).get({
4230
4209
  ...options
4231
4210
  });
4232
4211
  var repoGetRunnerRegistrationToken = (options) => (options.client ?? client).get({
4212
+ responseType: "json",
4233
4213
  security: [
4234
4214
  { scheme: "basic", type: "http" },
4235
4215
  {
@@ -4256,6 +4236,7 @@ var repoGetRunnerRegistrationToken = (options) => (options.client ?? client).get
4256
4236
  });
4257
4237
  var listActionRuns = (options) => (options.client ?? client).get({
4258
4238
  querySerializer: { parameters: { event: { array: { explode: false } }, status: { array: { explode: false } } } },
4239
+ responseType: "json",
4259
4240
  security: [
4260
4241
  { scheme: "basic", type: "http" },
4261
4242
  {
@@ -4281,6 +4262,7 @@ var listActionRuns = (options) => (options.client ?? client).get({
4281
4262
  ...options
4282
4263
  });
4283
4264
  var actionRun = (options) => (options.client ?? client).get({
4265
+ responseType: "json",
4284
4266
  security: [
4285
4267
  { scheme: "basic", type: "http" },
4286
4268
  {
@@ -4306,6 +4288,7 @@ var actionRun = (options) => (options.client ?? client).get({
4306
4288
  ...options
4307
4289
  });
4308
4290
  var repoListActionsSecrets = (options) => (options.client ?? client).get({
4291
+ responseType: "json",
4309
4292
  security: [
4310
4293
  { scheme: "basic", type: "http" },
4311
4294
  {
@@ -4331,6 +4314,7 @@ var repoListActionsSecrets = (options) => (options.client ?? client).get({
4331
4314
  ...options
4332
4315
  });
4333
4316
  var deleteRepoSecret = (options) => (options.client ?? client).delete({
4317
+ responseType: "json",
4334
4318
  security: [
4335
4319
  { scheme: "basic", type: "http" },
4336
4320
  {
@@ -4356,6 +4340,7 @@ var deleteRepoSecret = (options) => (options.client ?? client).delete({
4356
4340
  ...options
4357
4341
  });
4358
4342
  var updateRepoSecret = (options) => (options.client ?? client).put({
4343
+ responseType: "json",
4359
4344
  security: [
4360
4345
  { scheme: "basic", type: "http" },
4361
4346
  {
@@ -4385,6 +4370,7 @@ var updateRepoSecret = (options) => (options.client ?? client).put({
4385
4370
  }
4386
4371
  });
4387
4372
  var listActionTasks = (options) => (options.client ?? client).get({
4373
+ responseType: "json",
4388
4374
  security: [
4389
4375
  { scheme: "basic", type: "http" },
4390
4376
  {
@@ -4410,6 +4396,7 @@ var listActionTasks = (options) => (options.client ?? client).get({
4410
4396
  ...options
4411
4397
  });
4412
4398
  var getRepoVariablesList = (options) => (options.client ?? client).get({
4399
+ responseType: "json",
4413
4400
  security: [
4414
4401
  { scheme: "basic", type: "http" },
4415
4402
  {
@@ -4435,6 +4422,7 @@ var getRepoVariablesList = (options) => (options.client ?? client).get({
4435
4422
  ...options
4436
4423
  });
4437
4424
  var deleteRepoVariable = (options) => (options.client ?? client).delete({
4425
+ responseType: "json",
4438
4426
  security: [
4439
4427
  { scheme: "basic", type: "http" },
4440
4428
  {
@@ -4460,6 +4448,7 @@ var deleteRepoVariable = (options) => (options.client ?? client).delete({
4460
4448
  ...options
4461
4449
  });
4462
4450
  var getRepoVariable = (options) => (options.client ?? client).get({
4451
+ responseType: "json",
4463
4452
  security: [
4464
4453
  { scheme: "basic", type: "http" },
4465
4454
  {
@@ -4485,6 +4474,7 @@ var getRepoVariable = (options) => (options.client ?? client).get({
4485
4474
  ...options
4486
4475
  });
4487
4476
  var createRepoVariable = (options) => (options.client ?? client).post({
4477
+ responseType: "json",
4488
4478
  security: [
4489
4479
  { scheme: "basic", type: "http" },
4490
4480
  {
@@ -4514,6 +4504,7 @@ var createRepoVariable = (options) => (options.client ?? client).post({
4514
4504
  }
4515
4505
  });
4516
4506
  var updateRepoVariable = (options) => (options.client ?? client).put({
4507
+ responseType: "json",
4517
4508
  security: [
4518
4509
  { scheme: "basic", type: "http" },
4519
4510
  {
@@ -4543,6 +4534,7 @@ var updateRepoVariable = (options) => (options.client ?? client).put({
4543
4534
  }
4544
4535
  });
4545
4536
  var dispatchWorkflow = (options) => (options.client ?? client).post({
4537
+ responseType: "json",
4546
4538
  security: [
4547
4539
  { scheme: "basic", type: "http" },
4548
4540
  {
@@ -4572,6 +4564,7 @@ var dispatchWorkflow = (options) => (options.client ?? client).post({
4572
4564
  }
4573
4565
  });
4574
4566
  var repoListActivityFeeds = (options) => (options.client ?? client).get({
4567
+ responseType: "json",
4575
4568
  security: [
4576
4569
  { scheme: "basic", type: "http" },
4577
4570
  {
@@ -4597,6 +4590,7 @@ var repoListActivityFeeds = (options) => (options.client ?? client).get({
4597
4590
  ...options
4598
4591
  });
4599
4592
  var repoGetArchive = (options) => (options.client ?? client).get({
4593
+ responseType: "blob",
4600
4594
  security: [
4601
4595
  { scheme: "basic", type: "http" },
4602
4596
  {
@@ -4622,6 +4616,7 @@ var repoGetArchive = (options) => (options.client ?? client).get({
4622
4616
  ...options
4623
4617
  });
4624
4618
  var repoGetAssignees = (options) => (options.client ?? client).get({
4619
+ responseType: "json",
4625
4620
  security: [
4626
4621
  { scheme: "basic", type: "http" },
4627
4622
  {
@@ -4647,6 +4642,7 @@ var repoGetAssignees = (options) => (options.client ?? client).get({
4647
4642
  ...options
4648
4643
  });
4649
4644
  var repoDeleteAvatar = (options) => (options.client ?? client).delete({
4645
+ responseType: "json",
4650
4646
  security: [
4651
4647
  { scheme: "basic", type: "http" },
4652
4648
  {
@@ -4672,6 +4668,7 @@ var repoDeleteAvatar = (options) => (options.client ?? client).delete({
4672
4668
  ...options
4673
4669
  });
4674
4670
  var repoUpdateAvatar = (options) => (options.client ?? client).post({
4671
+ responseType: "json",
4675
4672
  security: [
4676
4673
  { scheme: "basic", type: "http" },
4677
4674
  {
@@ -4701,6 +4698,7 @@ var repoUpdateAvatar = (options) => (options.client ?? client).post({
4701
4698
  }
4702
4699
  });
4703
4700
  var repoListBranchProtection = (options) => (options.client ?? client).get({
4701
+ responseType: "json",
4704
4702
  security: [
4705
4703
  { scheme: "basic", type: "http" },
4706
4704
  {
@@ -4726,6 +4724,7 @@ var repoListBranchProtection = (options) => (options.client ?? client).get({
4726
4724
  ...options
4727
4725
  });
4728
4726
  var repoCreateBranchProtection = (options) => (options.client ?? client).post({
4727
+ responseType: "json",
4729
4728
  security: [
4730
4729
  { scheme: "basic", type: "http" },
4731
4730
  {
@@ -4755,6 +4754,7 @@ var repoCreateBranchProtection = (options) => (options.client ?? client).post({
4755
4754
  }
4756
4755
  });
4757
4756
  var repoDeleteBranchProtection = (options) => (options.client ?? client).delete({
4757
+ responseType: "json",
4758
4758
  security: [
4759
4759
  { scheme: "basic", type: "http" },
4760
4760
  {
@@ -4780,6 +4780,7 @@ var repoDeleteBranchProtection = (options) => (options.client ?? client).delete(
4780
4780
  ...options
4781
4781
  });
4782
4782
  var repoGetBranchProtection = (options) => (options.client ?? client).get({
4783
+ responseType: "json",
4783
4784
  security: [
4784
4785
  { scheme: "basic", type: "http" },
4785
4786
  {
@@ -4805,6 +4806,7 @@ var repoGetBranchProtection = (options) => (options.client ?? client).get({
4805
4806
  ...options
4806
4807
  });
4807
4808
  var repoEditBranchProtection = (options) => (options.client ?? client).patch({
4809
+ responseType: "json",
4808
4810
  security: [
4809
4811
  { scheme: "basic", type: "http" },
4810
4812
  {
@@ -4834,6 +4836,7 @@ var repoEditBranchProtection = (options) => (options.client ?? client).patch({
4834
4836
  }
4835
4837
  });
4836
4838
  var repoListBranches = (options) => (options.client ?? client).get({
4839
+ responseType: "json",
4837
4840
  security: [
4838
4841
  { scheme: "basic", type: "http" },
4839
4842
  {
@@ -4859,6 +4862,7 @@ var repoListBranches = (options) => (options.client ?? client).get({
4859
4862
  ...options
4860
4863
  });
4861
4864
  var repoCreateBranch = (options) => (options.client ?? client).post({
4865
+ responseType: "json",
4862
4866
  security: [
4863
4867
  { scheme: "basic", type: "http" },
4864
4868
  {
@@ -4888,6 +4892,7 @@ var repoCreateBranch = (options) => (options.client ?? client).post({
4888
4892
  }
4889
4893
  });
4890
4894
  var repoDeleteBranch = (options) => (options.client ?? client).delete({
4895
+ responseType: "json",
4891
4896
  security: [
4892
4897
  { scheme: "basic", type: "http" },
4893
4898
  {
@@ -4913,6 +4918,7 @@ var repoDeleteBranch = (options) => (options.client ?? client).delete({
4913
4918
  ...options
4914
4919
  });
4915
4920
  var repoGetBranch = (options) => (options.client ?? client).get({
4921
+ responseType: "json",
4916
4922
  security: [
4917
4923
  { scheme: "basic", type: "http" },
4918
4924
  {
@@ -4938,6 +4944,7 @@ var repoGetBranch = (options) => (options.client ?? client).get({
4938
4944
  ...options
4939
4945
  });
4940
4946
  var repoUpdateBranch = (options) => (options.client ?? client).patch({
4947
+ responseType: "json",
4941
4948
  security: [
4942
4949
  { scheme: "basic", type: "http" },
4943
4950
  {
@@ -4967,6 +4974,7 @@ var repoUpdateBranch = (options) => (options.client ?? client).patch({
4967
4974
  }
4968
4975
  });
4969
4976
  var repoListCollaborators = (options) => (options.client ?? client).get({
4977
+ responseType: "json",
4970
4978
  security: [
4971
4979
  { scheme: "basic", type: "http" },
4972
4980
  {
@@ -4992,6 +5000,7 @@ var repoListCollaborators = (options) => (options.client ?? client).get({
4992
5000
  ...options
4993
5001
  });
4994
5002
  var repoDeleteCollaborator = (options) => (options.client ?? client).delete({
5003
+ responseType: "json",
4995
5004
  security: [
4996
5005
  { scheme: "basic", type: "http" },
4997
5006
  {
@@ -5017,6 +5026,7 @@ var repoDeleteCollaborator = (options) => (options.client ?? client).delete({
5017
5026
  ...options
5018
5027
  });
5019
5028
  var repoCheckCollaborator = (options) => (options.client ?? client).get({
5029
+ responseType: "json",
5020
5030
  security: [
5021
5031
  { scheme: "basic", type: "http" },
5022
5032
  {
@@ -5042,6 +5052,7 @@ var repoCheckCollaborator = (options) => (options.client ?? client).get({
5042
5052
  ...options
5043
5053
  });
5044
5054
  var repoAddCollaborator = (options) => (options.client ?? client).put({
5055
+ responseType: "json",
5045
5056
  security: [
5046
5057
  { scheme: "basic", type: "http" },
5047
5058
  {
@@ -5071,6 +5082,7 @@ var repoAddCollaborator = (options) => (options.client ?? client).put({
5071
5082
  }
5072
5083
  });
5073
5084
  var repoGetRepoPermissions = (options) => (options.client ?? client).get({
5085
+ responseType: "json",
5074
5086
  security: [
5075
5087
  { scheme: "basic", type: "http" },
5076
5088
  {
@@ -5096,6 +5108,7 @@ var repoGetRepoPermissions = (options) => (options.client ?? client).get({
5096
5108
  ...options
5097
5109
  });
5098
5110
  var repoGetAllCommits = (options) => (options.client ?? client).get({
5111
+ responseType: "json",
5099
5112
  security: [
5100
5113
  { scheme: "basic", type: "http" },
5101
5114
  {
@@ -5121,6 +5134,7 @@ var repoGetAllCommits = (options) => (options.client ?? client).get({
5121
5134
  ...options
5122
5135
  });
5123
5136
  var repoGetCombinedStatusByRef = (options) => (options.client ?? client).get({
5137
+ responseType: "json",
5124
5138
  security: [
5125
5139
  { scheme: "basic", type: "http" },
5126
5140
  {
@@ -5146,6 +5160,7 @@ var repoGetCombinedStatusByRef = (options) => (options.client ?? client).get({
5146
5160
  ...options
5147
5161
  });
5148
5162
  var repoListStatusesByRef = (options) => (options.client ?? client).get({
5163
+ responseType: "json",
5149
5164
  security: [
5150
5165
  { scheme: "basic", type: "http" },
5151
5166
  {
@@ -5171,6 +5186,7 @@ var repoListStatusesByRef = (options) => (options.client ?? client).get({
5171
5186
  ...options
5172
5187
  });
5173
5188
  var repoGetCommitPullRequest = (options) => (options.client ?? client).get({
5189
+ responseType: "json",
5174
5190
  security: [
5175
5191
  { scheme: "basic", type: "http" },
5176
5192
  {
@@ -5196,6 +5212,7 @@ var repoGetCommitPullRequest = (options) => (options.client ?? client).get({
5196
5212
  ...options
5197
5213
  });
5198
5214
  var repoCompareDiff = (options) => (options.client ?? client).get({
5215
+ responseType: "json",
5199
5216
  security: [
5200
5217
  { scheme: "basic", type: "http" },
5201
5218
  {
@@ -5221,6 +5238,7 @@ var repoCompareDiff = (options) => (options.client ?? client).get({
5221
5238
  ...options
5222
5239
  });
5223
5240
  var repoGetContentsList = (options) => (options.client ?? client).get({
5241
+ responseType: "json",
5224
5242
  security: [
5225
5243
  { scheme: "basic", type: "http" },
5226
5244
  {
@@ -5246,6 +5264,7 @@ var repoGetContentsList = (options) => (options.client ?? client).get({
5246
5264
  ...options
5247
5265
  });
5248
5266
  var repoChangeFiles = (options) => (options.client ?? client).post({
5267
+ responseType: "json",
5249
5268
  security: [
5250
5269
  { scheme: "basic", type: "http" },
5251
5270
  {
@@ -5275,6 +5294,7 @@ var repoChangeFiles = (options) => (options.client ?? client).post({
5275
5294
  }
5276
5295
  });
5277
5296
  var repoDeleteFile = (options) => (options.client ?? client).delete({
5297
+ responseType: "json",
5278
5298
  security: [
5279
5299
  { scheme: "basic", type: "http" },
5280
5300
  {
@@ -5304,6 +5324,7 @@ var repoDeleteFile = (options) => (options.client ?? client).delete({
5304
5324
  }
5305
5325
  });
5306
5326
  var repoGetContents = (options) => (options.client ?? client).get({
5327
+ responseType: "json",
5307
5328
  security: [
5308
5329
  { scheme: "basic", type: "http" },
5309
5330
  {
@@ -5329,6 +5350,7 @@ var repoGetContents = (options) => (options.client ?? client).get({
5329
5350
  ...options
5330
5351
  });
5331
5352
  var repoCreateFile = (options) => (options.client ?? client).post({
5353
+ responseType: "json",
5332
5354
  security: [
5333
5355
  { scheme: "basic", type: "http" },
5334
5356
  {
@@ -5358,6 +5380,7 @@ var repoCreateFile = (options) => (options.client ?? client).post({
5358
5380
  }
5359
5381
  });
5360
5382
  var repoUpdateFile = (options) => (options.client ?? client).put({
5383
+ responseType: "json",
5361
5384
  security: [
5362
5385
  { scheme: "basic", type: "http" },
5363
5386
  {
@@ -5387,6 +5410,7 @@ var repoUpdateFile = (options) => (options.client ?? client).put({
5387
5410
  }
5388
5411
  });
5389
5412
  var repoConvert = (options) => (options.client ?? client).post({
5413
+ responseType: "json",
5390
5414
  security: [
5391
5415
  { scheme: "basic", type: "http" },
5392
5416
  {
@@ -5412,6 +5436,7 @@ var repoConvert = (options) => (options.client ?? client).post({
5412
5436
  ...options
5413
5437
  });
5414
5438
  var repoApplyDiffPatch = (options) => (options.client ?? client).post({
5439
+ responseType: "json",
5415
5440
  security: [
5416
5441
  { scheme: "basic", type: "http" },
5417
5442
  {
@@ -5441,6 +5466,7 @@ var repoApplyDiffPatch = (options) => (options.client ?? client).post({
5441
5466
  }
5442
5467
  });
5443
5468
  var repoGetEditorConfig = (options) => (options.client ?? client).get({
5469
+ responseType: "json",
5444
5470
  security: [
5445
5471
  { scheme: "basic", type: "http" },
5446
5472
  {
@@ -5466,6 +5492,7 @@ var repoGetEditorConfig = (options) => (options.client ?? client).get({
5466
5492
  ...options
5467
5493
  });
5468
5494
  var repoDeleteAllFlags = (options) => (options.client ?? client).delete({
5495
+ responseType: "json",
5469
5496
  security: [
5470
5497
  { scheme: "basic", type: "http" },
5471
5498
  {
@@ -5491,6 +5518,7 @@ var repoDeleteAllFlags = (options) => (options.client ?? client).delete({
5491
5518
  ...options
5492
5519
  });
5493
5520
  var repoListFlags = (options) => (options.client ?? client).get({
5521
+ responseType: "json",
5494
5522
  security: [
5495
5523
  { scheme: "basic", type: "http" },
5496
5524
  {
@@ -5516,6 +5544,7 @@ var repoListFlags = (options) => (options.client ?? client).get({
5516
5544
  ...options
5517
5545
  });
5518
5546
  var repoReplaceAllFlags = (options) => (options.client ?? client).put({
5547
+ responseType: "json",
5519
5548
  security: [
5520
5549
  { scheme: "basic", type: "http" },
5521
5550
  {
@@ -5545,6 +5574,7 @@ var repoReplaceAllFlags = (options) => (options.client ?? client).put({
5545
5574
  }
5546
5575
  });
5547
5576
  var repoDeleteFlag = (options) => (options.client ?? client).delete({
5577
+ responseType: "json",
5548
5578
  security: [
5549
5579
  { scheme: "basic", type: "http" },
5550
5580
  {
@@ -5570,6 +5600,7 @@ var repoDeleteFlag = (options) => (options.client ?? client).delete({
5570
5600
  ...options
5571
5601
  });
5572
5602
  var repoCheckFlag = (options) => (options.client ?? client).get({
5603
+ responseType: "json",
5573
5604
  security: [
5574
5605
  { scheme: "basic", type: "http" },
5575
5606
  {
@@ -5595,6 +5626,7 @@ var repoCheckFlag = (options) => (options.client ?? client).get({
5595
5626
  ...options
5596
5627
  });
5597
5628
  var repoAddFlag = (options) => (options.client ?? client).put({
5629
+ responseType: "json",
5598
5630
  security: [
5599
5631
  { scheme: "basic", type: "http" },
5600
5632
  {
@@ -5620,6 +5652,7 @@ var repoAddFlag = (options) => (options.client ?? client).put({
5620
5652
  ...options
5621
5653
  });
5622
5654
  var listForks = (options) => (options.client ?? client).get({
5655
+ responseType: "json",
5623
5656
  security: [
5624
5657
  { scheme: "basic", type: "http" },
5625
5658
  {
@@ -5645,6 +5678,7 @@ var listForks = (options) => (options.client ?? client).get({
5645
5678
  ...options
5646
5679
  });
5647
5680
  var createFork = (options) => (options.client ?? client).post({
5681
+ responseType: "json",
5648
5682
  security: [
5649
5683
  { scheme: "basic", type: "http" },
5650
5684
  {
@@ -5674,6 +5708,7 @@ var createFork = (options) => (options.client ?? client).post({
5674
5708
  }
5675
5709
  });
5676
5710
  var getBlobs = (options) => (options.client ?? client).get({
5711
+ responseType: "json",
5677
5712
  security: [
5678
5713
  { scheme: "basic", type: "http" },
5679
5714
  {
@@ -5699,6 +5734,7 @@ var getBlobs = (options) => (options.client ?? client).get({
5699
5734
  ...options
5700
5735
  });
5701
5736
  var getBlob = (options) => (options.client ?? client).get({
5737
+ responseType: "json",
5702
5738
  security: [
5703
5739
  { scheme: "basic", type: "http" },
5704
5740
  {
@@ -5724,6 +5760,7 @@ var getBlob = (options) => (options.client ?? client).get({
5724
5760
  ...options
5725
5761
  });
5726
5762
  var repoGetSingleCommit = (options) => (options.client ?? client).get({
5763
+ responseType: "json",
5727
5764
  security: [
5728
5765
  { scheme: "basic", type: "http" },
5729
5766
  {
@@ -5749,6 +5786,7 @@ var repoGetSingleCommit = (options) => (options.client ?? client).get({
5749
5786
  ...options
5750
5787
  });
5751
5788
  var repoDownloadCommitDiffOrPatch = (options) => (options.client ?? client).get({
5789
+ responseType: "text",
5752
5790
  security: [
5753
5791
  { scheme: "basic", type: "http" },
5754
5792
  {
@@ -5774,6 +5812,7 @@ var repoDownloadCommitDiffOrPatch = (options) => (options.client ?? client).get(
5774
5812
  ...options
5775
5813
  });
5776
5814
  var repoRemoveNote = (options) => (options.client ?? client).delete({
5815
+ responseType: "json",
5777
5816
  security: [
5778
5817
  { scheme: "basic", type: "http" },
5779
5818
  {
@@ -5799,6 +5838,7 @@ var repoRemoveNote = (options) => (options.client ?? client).delete({
5799
5838
  ...options
5800
5839
  });
5801
5840
  var repoGetNote = (options) => (options.client ?? client).get({
5841
+ responseType: "json",
5802
5842
  security: [
5803
5843
  { scheme: "basic", type: "http" },
5804
5844
  {
@@ -5824,6 +5864,7 @@ var repoGetNote = (options) => (options.client ?? client).get({
5824
5864
  ...options
5825
5865
  });
5826
5866
  var repoSetNote = (options) => (options.client ?? client).post({
5867
+ responseType: "json",
5827
5868
  security: [
5828
5869
  { scheme: "basic", type: "http" },
5829
5870
  {
@@ -5853,6 +5894,7 @@ var repoSetNote = (options) => (options.client ?? client).post({
5853
5894
  }
5854
5895
  });
5855
5896
  var repoListAllGitRefs = (options) => (options.client ?? client).get({
5897
+ responseType: "json",
5856
5898
  security: [
5857
5899
  { scheme: "basic", type: "http" },
5858
5900
  {
@@ -5878,6 +5920,7 @@ var repoListAllGitRefs = (options) => (options.client ?? client).get({
5878
5920
  ...options
5879
5921
  });
5880
5922
  var repoListGitRefs = (options) => (options.client ?? client).get({
5923
+ responseType: "json",
5881
5924
  security: [
5882
5925
  { scheme: "basic", type: "http" },
5883
5926
  {
@@ -5903,6 +5946,7 @@ var repoListGitRefs = (options) => (options.client ?? client).get({
5903
5946
  ...options
5904
5947
  });
5905
5948
  var getAnnotatedTag = (options) => (options.client ?? client).get({
5949
+ responseType: "json",
5906
5950
  security: [
5907
5951
  { scheme: "basic", type: "http" },
5908
5952
  {
@@ -5928,6 +5972,7 @@ var getAnnotatedTag = (options) => (options.client ?? client).get({
5928
5972
  ...options
5929
5973
  });
5930
5974
  var getTree = (options) => (options.client ?? client).get({
5975
+ responseType: "json",
5931
5976
  security: [
5932
5977
  { scheme: "basic", type: "http" },
5933
5978
  {
@@ -5953,6 +5998,7 @@ var getTree = (options) => (options.client ?? client).get({
5953
5998
  ...options
5954
5999
  });
5955
6000
  var repoListHooks = (options) => (options.client ?? client).get({
6001
+ responseType: "json",
5956
6002
  security: [
5957
6003
  { scheme: "basic", type: "http" },
5958
6004
  {
@@ -5978,6 +6024,7 @@ var repoListHooks = (options) => (options.client ?? client).get({
5978
6024
  ...options
5979
6025
  });
5980
6026
  var repoCreateHook = (options) => (options.client ?? client).post({
6027
+ responseType: "json",
5981
6028
  security: [
5982
6029
  { scheme: "basic", type: "http" },
5983
6030
  {
@@ -6007,6 +6054,7 @@ var repoCreateHook = (options) => (options.client ?? client).post({
6007
6054
  }
6008
6055
  });
6009
6056
  var repoListGitHooks = (options) => (options.client ?? client).get({
6057
+ responseType: "json",
6010
6058
  security: [
6011
6059
  { scheme: "basic", type: "http" },
6012
6060
  {
@@ -6032,6 +6080,7 @@ var repoListGitHooks = (options) => (options.client ?? client).get({
6032
6080
  ...options
6033
6081
  });
6034
6082
  var repoDeleteGitHook = (options) => (options.client ?? client).delete({
6083
+ responseType: "json",
6035
6084
  security: [
6036
6085
  { scheme: "basic", type: "http" },
6037
6086
  {
@@ -6057,6 +6106,7 @@ var repoDeleteGitHook = (options) => (options.client ?? client).delete({
6057
6106
  ...options
6058
6107
  });
6059
6108
  var repoGetGitHook = (options) => (options.client ?? client).get({
6109
+ responseType: "json",
6060
6110
  security: [
6061
6111
  { scheme: "basic", type: "http" },
6062
6112
  {
@@ -6082,6 +6132,7 @@ var repoGetGitHook = (options) => (options.client ?? client).get({
6082
6132
  ...options
6083
6133
  });
6084
6134
  var repoEditGitHook = (options) => (options.client ?? client).patch({
6135
+ responseType: "json",
6085
6136
  security: [
6086
6137
  { scheme: "basic", type: "http" },
6087
6138
  {
@@ -6111,6 +6162,7 @@ var repoEditGitHook = (options) => (options.client ?? client).patch({
6111
6162
  }
6112
6163
  });
6113
6164
  var repoDeleteHook = (options) => (options.client ?? client).delete({
6165
+ responseType: "json",
6114
6166
  security: [
6115
6167
  { scheme: "basic", type: "http" },
6116
6168
  {
@@ -6136,6 +6188,7 @@ var repoDeleteHook = (options) => (options.client ?? client).delete({
6136
6188
  ...options
6137
6189
  });
6138
6190
  var repoGetHook = (options) => (options.client ?? client).get({
6191
+ responseType: "json",
6139
6192
  security: [
6140
6193
  { scheme: "basic", type: "http" },
6141
6194
  {
@@ -6161,6 +6214,7 @@ var repoGetHook = (options) => (options.client ?? client).get({
6161
6214
  ...options
6162
6215
  });
6163
6216
  var repoEditHook = (options) => (options.client ?? client).patch({
6217
+ responseType: "json",
6164
6218
  security: [
6165
6219
  { scheme: "basic", type: "http" },
6166
6220
  {
@@ -6190,6 +6244,7 @@ var repoEditHook = (options) => (options.client ?? client).patch({
6190
6244
  }
6191
6245
  });
6192
6246
  var repoTestHook = (options) => (options.client ?? client).post({
6247
+ responseType: "json",
6193
6248
  security: [
6194
6249
  { scheme: "basic", type: "http" },
6195
6250
  {
@@ -6215,6 +6270,7 @@ var repoTestHook = (options) => (options.client ?? client).post({
6215
6270
  ...options
6216
6271
  });
6217
6272
  var repoGetIssueConfig = (options) => (options.client ?? client).get({
6273
+ responseType: "json",
6218
6274
  security: [
6219
6275
  { scheme: "basic", type: "http" },
6220
6276
  {
@@ -6240,6 +6296,7 @@ var repoGetIssueConfig = (options) => (options.client ?? client).get({
6240
6296
  ...options
6241
6297
  });
6242
6298
  var repoValidateIssueConfig = (options) => (options.client ?? client).get({
6299
+ responseType: "json",
6243
6300
  security: [
6244
6301
  { scheme: "basic", type: "http" },
6245
6302
  {
@@ -6265,6 +6322,7 @@ var repoValidateIssueConfig = (options) => (options.client ?? client).get({
6265
6322
  ...options
6266
6323
  });
6267
6324
  var repoGetIssueTemplates = (options) => (options.client ?? client).get({
6325
+ responseType: "json",
6268
6326
  security: [
6269
6327
  { scheme: "basic", type: "http" },
6270
6328
  {
@@ -6290,6 +6348,7 @@ var repoGetIssueTemplates = (options) => (options.client ?? client).get({
6290
6348
  ...options
6291
6349
  });
6292
6350
  var issueListIssues = (options) => (options.client ?? client).get({
6351
+ responseType: "json",
6293
6352
  security: [
6294
6353
  { scheme: "basic", type: "http" },
6295
6354
  {
@@ -6315,6 +6374,7 @@ var issueListIssues = (options) => (options.client ?? client).get({
6315
6374
  ...options
6316
6375
  });
6317
6376
  var issueCreateIssue = (options) => (options.client ?? client).post({
6377
+ responseType: "json",
6318
6378
  security: [
6319
6379
  { scheme: "basic", type: "http" },
6320
6380
  {
@@ -6344,6 +6404,7 @@ var issueCreateIssue = (options) => (options.client ?? client).post({
6344
6404
  }
6345
6405
  });
6346
6406
  var issueGetRepoComments = (options) => (options.client ?? client).get({
6407
+ responseType: "json",
6347
6408
  security: [
6348
6409
  { scheme: "basic", type: "http" },
6349
6410
  {
@@ -6369,6 +6430,7 @@ var issueGetRepoComments = (options) => (options.client ?? client).get({
6369
6430
  ...options
6370
6431
  });
6371
6432
  var issueDeleteComment = (options) => (options.client ?? client).delete({
6433
+ responseType: "json",
6372
6434
  security: [
6373
6435
  { scheme: "basic", type: "http" },
6374
6436
  {
@@ -6394,6 +6456,7 @@ var issueDeleteComment = (options) => (options.client ?? client).delete({
6394
6456
  ...options
6395
6457
  });
6396
6458
  var issueGetComment = (options) => (options.client ?? client).get({
6459
+ responseType: "json",
6397
6460
  security: [
6398
6461
  { scheme: "basic", type: "http" },
6399
6462
  {
@@ -6419,6 +6482,7 @@ var issueGetComment = (options) => (options.client ?? client).get({
6419
6482
  ...options
6420
6483
  });
6421
6484
  var issueEditComment = (options) => (options.client ?? client).patch({
6485
+ responseType: "json",
6422
6486
  security: [
6423
6487
  { scheme: "basic", type: "http" },
6424
6488
  {
@@ -6448,6 +6512,7 @@ var issueEditComment = (options) => (options.client ?? client).patch({
6448
6512
  }
6449
6513
  });
6450
6514
  var issueListIssueCommentAttachments = (options) => (options.client ?? client).get({
6515
+ responseType: "json",
6451
6516
  security: [
6452
6517
  { scheme: "basic", type: "http" },
6453
6518
  {
@@ -6474,6 +6539,7 @@ var issueListIssueCommentAttachments = (options) => (options.client ?? client).g
6474
6539
  });
6475
6540
  var issueCreateIssueCommentAttachment = (options) => (options.client ?? client).post({
6476
6541
  ...formDataBodySerializer,
6542
+ responseType: "json",
6477
6543
  security: [
6478
6544
  { scheme: "basic", type: "http" },
6479
6545
  {
@@ -6503,6 +6569,7 @@ var issueCreateIssueCommentAttachment = (options) => (options.client ?? client).
6503
6569
  }
6504
6570
  });
6505
6571
  var issueDeleteIssueCommentAttachment = (options) => (options.client ?? client).delete({
6572
+ responseType: "json",
6506
6573
  security: [
6507
6574
  { scheme: "basic", type: "http" },
6508
6575
  {
@@ -6528,6 +6595,7 @@ var issueDeleteIssueCommentAttachment = (options) => (options.client ?? client).
6528
6595
  ...options
6529
6596
  });
6530
6597
  var issueGetIssueCommentAttachment = (options) => (options.client ?? client).get({
6598
+ responseType: "json",
6531
6599
  security: [
6532
6600
  { scheme: "basic", type: "http" },
6533
6601
  {
@@ -6553,6 +6621,7 @@ var issueGetIssueCommentAttachment = (options) => (options.client ?? client).get
6553
6621
  ...options
6554
6622
  });
6555
6623
  var issueEditIssueCommentAttachment = (options) => (options.client ?? client).patch({
6624
+ responseType: "json",
6556
6625
  security: [
6557
6626
  { scheme: "basic", type: "http" },
6558
6627
  {
@@ -6582,6 +6651,7 @@ var issueEditIssueCommentAttachment = (options) => (options.client ?? client).pa
6582
6651
  }
6583
6652
  });
6584
6653
  var issueDeleteCommentReaction = (options) => (options.client ?? client).delete({
6654
+ responseType: "json",
6585
6655
  security: [
6586
6656
  { scheme: "basic", type: "http" },
6587
6657
  {
@@ -6611,6 +6681,7 @@ var issueDeleteCommentReaction = (options) => (options.client ?? client).delete(
6611
6681
  }
6612
6682
  });
6613
6683
  var issueGetCommentReactions = (options) => (options.client ?? client).get({
6684
+ responseType: "json",
6614
6685
  security: [
6615
6686
  { scheme: "basic", type: "http" },
6616
6687
  {
@@ -6636,6 +6707,7 @@ var issueGetCommentReactions = (options) => (options.client ?? client).get({
6636
6707
  ...options
6637
6708
  });
6638
6709
  var issuePostCommentReaction = (options) => (options.client ?? client).post({
6710
+ responseType: "json",
6639
6711
  security: [
6640
6712
  { scheme: "basic", type: "http" },
6641
6713
  {
@@ -6665,6 +6737,7 @@ var issuePostCommentReaction = (options) => (options.client ?? client).post({
6665
6737
  }
6666
6738
  });
6667
6739
  var repoListPinnedIssues = (options) => (options.client ?? client).get({
6740
+ responseType: "json",
6668
6741
  security: [
6669
6742
  { scheme: "basic", type: "http" },
6670
6743
  {
@@ -6690,6 +6763,7 @@ var repoListPinnedIssues = (options) => (options.client ?? client).get({
6690
6763
  ...options
6691
6764
  });
6692
6765
  var issueDelete = (options) => (options.client ?? client).delete({
6766
+ responseType: "json",
6693
6767
  security: [
6694
6768
  { scheme: "basic", type: "http" },
6695
6769
  {
@@ -6715,6 +6789,7 @@ var issueDelete = (options) => (options.client ?? client).delete({
6715
6789
  ...options
6716
6790
  });
6717
6791
  var issueGetIssue = (options) => (options.client ?? client).get({
6792
+ responseType: "json",
6718
6793
  security: [
6719
6794
  { scheme: "basic", type: "http" },
6720
6795
  {
@@ -6740,6 +6815,7 @@ var issueGetIssue = (options) => (options.client ?? client).get({
6740
6815
  ...options
6741
6816
  });
6742
6817
  var issueEditIssue = (options) => (options.client ?? client).patch({
6818
+ responseType: "json",
6743
6819
  security: [
6744
6820
  { scheme: "basic", type: "http" },
6745
6821
  {
@@ -6769,6 +6845,7 @@ var issueEditIssue = (options) => (options.client ?? client).patch({
6769
6845
  }
6770
6846
  });
6771
6847
  var issueListIssueAttachments = (options) => (options.client ?? client).get({
6848
+ responseType: "json",
6772
6849
  security: [
6773
6850
  { scheme: "basic", type: "http" },
6774
6851
  {
@@ -6795,6 +6872,7 @@ var issueListIssueAttachments = (options) => (options.client ?? client).get({
6795
6872
  });
6796
6873
  var issueCreateIssueAttachment = (options) => (options.client ?? client).post({
6797
6874
  ...formDataBodySerializer,
6875
+ responseType: "json",
6798
6876
  security: [
6799
6877
  { scheme: "basic", type: "http" },
6800
6878
  {
@@ -6824,6 +6902,7 @@ var issueCreateIssueAttachment = (options) => (options.client ?? client).post({
6824
6902
  }
6825
6903
  });
6826
6904
  var issueDeleteIssueAttachment = (options) => (options.client ?? client).delete({
6905
+ responseType: "json",
6827
6906
  security: [
6828
6907
  { scheme: "basic", type: "http" },
6829
6908
  {
@@ -6849,6 +6928,7 @@ var issueDeleteIssueAttachment = (options) => (options.client ?? client).delete(
6849
6928
  ...options
6850
6929
  });
6851
6930
  var issueGetIssueAttachment = (options) => (options.client ?? client).get({
6931
+ responseType: "json",
6852
6932
  security: [
6853
6933
  { scheme: "basic", type: "http" },
6854
6934
  {
@@ -6874,6 +6954,7 @@ var issueGetIssueAttachment = (options) => (options.client ?? client).get({
6874
6954
  ...options
6875
6955
  });
6876
6956
  var issueEditIssueAttachment = (options) => (options.client ?? client).patch({
6957
+ responseType: "json",
6877
6958
  security: [
6878
6959
  { scheme: "basic", type: "http" },
6879
6960
  {
@@ -6903,6 +6984,7 @@ var issueEditIssueAttachment = (options) => (options.client ?? client).patch({
6903
6984
  }
6904
6985
  });
6905
6986
  var issueRemoveIssueBlocking = (options) => (options.client ?? client).delete({
6987
+ responseType: "json",
6906
6988
  security: [
6907
6989
  { scheme: "basic", type: "http" },
6908
6990
  {
@@ -6932,6 +7014,7 @@ var issueRemoveIssueBlocking = (options) => (options.client ?? client).delete({
6932
7014
  }
6933
7015
  });
6934
7016
  var issueListBlocks = (options) => (options.client ?? client).get({
7017
+ responseType: "json",
6935
7018
  security: [
6936
7019
  { scheme: "basic", type: "http" },
6937
7020
  {
@@ -6957,6 +7040,7 @@ var issueListBlocks = (options) => (options.client ?? client).get({
6957
7040
  ...options
6958
7041
  });
6959
7042
  var issueCreateIssueBlocking = (options) => (options.client ?? client).post({
7043
+ responseType: "json",
6960
7044
  security: [
6961
7045
  { scheme: "basic", type: "http" },
6962
7046
  {
@@ -6986,6 +7070,7 @@ var issueCreateIssueBlocking = (options) => (options.client ?? client).post({
6986
7070
  }
6987
7071
  });
6988
7072
  var issueGetComments = (options) => (options.client ?? client).get({
7073
+ responseType: "json",
6989
7074
  security: [
6990
7075
  { scheme: "basic", type: "http" },
6991
7076
  {
@@ -7011,6 +7096,7 @@ var issueGetComments = (options) => (options.client ?? client).get({
7011
7096
  ...options
7012
7097
  });
7013
7098
  var issueCreateComment = (options) => (options.client ?? client).post({
7099
+ responseType: "json",
7014
7100
  security: [
7015
7101
  { scheme: "basic", type: "http" },
7016
7102
  {
@@ -7040,6 +7126,7 @@ var issueCreateComment = (options) => (options.client ?? client).post({
7040
7126
  }
7041
7127
  });
7042
7128
  var issueDeleteCommentDeprecated = (options) => (options.client ?? client).delete({
7129
+ responseType: "json",
7043
7130
  security: [
7044
7131
  { scheme: "basic", type: "http" },
7045
7132
  {
@@ -7065,6 +7152,7 @@ var issueDeleteCommentDeprecated = (options) => (options.client ?? client).delet
7065
7152
  ...options
7066
7153
  });
7067
7154
  var issueEditCommentDeprecated = (options) => (options.client ?? client).patch({
7155
+ responseType: "json",
7068
7156
  security: [
7069
7157
  { scheme: "basic", type: "http" },
7070
7158
  {
@@ -7094,6 +7182,7 @@ var issueEditCommentDeprecated = (options) => (options.client ?? client).patch({
7094
7182
  }
7095
7183
  });
7096
7184
  var issueEditIssueDeadline = (options) => (options.client ?? client).post({
7185
+ responseType: "json",
7097
7186
  security: [
7098
7187
  { scheme: "basic", type: "http" },
7099
7188
  {
@@ -7123,6 +7212,7 @@ var issueEditIssueDeadline = (options) => (options.client ?? client).post({
7123
7212
  }
7124
7213
  });
7125
7214
  var issueRemoveIssueDependencies = (options) => (options.client ?? client).delete({
7215
+ responseType: "json",
7126
7216
  security: [
7127
7217
  { scheme: "basic", type: "http" },
7128
7218
  {
@@ -7152,6 +7242,7 @@ var issueRemoveIssueDependencies = (options) => (options.client ?? client).delet
7152
7242
  }
7153
7243
  });
7154
7244
  var issueListIssueDependencies = (options) => (options.client ?? client).get({
7245
+ responseType: "json",
7155
7246
  security: [
7156
7247
  { scheme: "basic", type: "http" },
7157
7248
  {
@@ -7177,6 +7268,7 @@ var issueListIssueDependencies = (options) => (options.client ?? client).get({
7177
7268
  ...options
7178
7269
  });
7179
7270
  var issueCreateIssueDependencies = (options) => (options.client ?? client).post({
7271
+ responseType: "json",
7180
7272
  security: [
7181
7273
  { scheme: "basic", type: "http" },
7182
7274
  {
@@ -7206,6 +7298,7 @@ var issueCreateIssueDependencies = (options) => (options.client ?? client).post(
7206
7298
  }
7207
7299
  });
7208
7300
  var issueClearLabels = (options) => (options.client ?? client).delete({
7301
+ responseType: "json",
7209
7302
  security: [
7210
7303
  { scheme: "basic", type: "http" },
7211
7304
  {
@@ -7235,6 +7328,7 @@ var issueClearLabels = (options) => (options.client ?? client).delete({
7235
7328
  }
7236
7329
  });
7237
7330
  var issueGetLabels = (options) => (options.client ?? client).get({
7331
+ responseType: "json",
7238
7332
  security: [
7239
7333
  { scheme: "basic", type: "http" },
7240
7334
  {
@@ -7260,6 +7354,7 @@ var issueGetLabels = (options) => (options.client ?? client).get({
7260
7354
  ...options
7261
7355
  });
7262
7356
  var issueAddLabel = (options) => (options.client ?? client).post({
7357
+ responseType: "json",
7263
7358
  security: [
7264
7359
  { scheme: "basic", type: "http" },
7265
7360
  {
@@ -7289,6 +7384,7 @@ var issueAddLabel = (options) => (options.client ?? client).post({
7289
7384
  }
7290
7385
  });
7291
7386
  var issueReplaceLabels = (options) => (options.client ?? client).put({
7387
+ responseType: "json",
7292
7388
  security: [
7293
7389
  { scheme: "basic", type: "http" },
7294
7390
  {
@@ -7318,6 +7414,7 @@ var issueReplaceLabels = (options) => (options.client ?? client).put({
7318
7414
  }
7319
7415
  });
7320
7416
  var issueRemoveLabel = (options) => (options.client ?? client).delete({
7417
+ responseType: "json",
7321
7418
  security: [
7322
7419
  { scheme: "basic", type: "http" },
7323
7420
  {
@@ -7347,6 +7444,7 @@ var issueRemoveLabel = (options) => (options.client ?? client).delete({
7347
7444
  }
7348
7445
  });
7349
7446
  var unpinIssue = (options) => (options.client ?? client).delete({
7447
+ responseType: "json",
7350
7448
  security: [
7351
7449
  { scheme: "basic", type: "http" },
7352
7450
  {
@@ -7372,6 +7470,7 @@ var unpinIssue = (options) => (options.client ?? client).delete({
7372
7470
  ...options
7373
7471
  });
7374
7472
  var pinIssue = (options) => (options.client ?? client).post({
7473
+ responseType: "json",
7375
7474
  security: [
7376
7475
  { scheme: "basic", type: "http" },
7377
7476
  {
@@ -7397,6 +7496,7 @@ var pinIssue = (options) => (options.client ?? client).post({
7397
7496
  ...options
7398
7497
  });
7399
7498
  var moveIssuePin = (options) => (options.client ?? client).patch({
7499
+ responseType: "json",
7400
7500
  security: [
7401
7501
  { scheme: "basic", type: "http" },
7402
7502
  {
@@ -7422,6 +7522,7 @@ var moveIssuePin = (options) => (options.client ?? client).patch({
7422
7522
  ...options
7423
7523
  });
7424
7524
  var issueDeleteIssueReaction = (options) => (options.client ?? client).delete({
7525
+ responseType: "json",
7425
7526
  security: [
7426
7527
  { scheme: "basic", type: "http" },
7427
7528
  {
@@ -7451,6 +7552,7 @@ var issueDeleteIssueReaction = (options) => (options.client ?? client).delete({
7451
7552
  }
7452
7553
  });
7453
7554
  var issueGetIssueReactions = (options) => (options.client ?? client).get({
7555
+ responseType: "json",
7454
7556
  security: [
7455
7557
  { scheme: "basic", type: "http" },
7456
7558
  {
@@ -7476,6 +7578,7 @@ var issueGetIssueReactions = (options) => (options.client ?? client).get({
7476
7578
  ...options
7477
7579
  });
7478
7580
  var issuePostIssueReaction = (options) => (options.client ?? client).post({
7581
+ responseType: "json",
7479
7582
  security: [
7480
7583
  { scheme: "basic", type: "http" },
7481
7584
  {
@@ -7505,6 +7608,7 @@ var issuePostIssueReaction = (options) => (options.client ?? client).post({
7505
7608
  }
7506
7609
  });
7507
7610
  var issueDeleteStopWatch = (options) => (options.client ?? client).delete({
7611
+ responseType: "json",
7508
7612
  security: [
7509
7613
  { scheme: "basic", type: "http" },
7510
7614
  {
@@ -7530,6 +7634,7 @@ var issueDeleteStopWatch = (options) => (options.client ?? client).delete({
7530
7634
  ...options
7531
7635
  });
7532
7636
  var issueStartStopWatch = (options) => (options.client ?? client).post({
7637
+ responseType: "json",
7533
7638
  security: [
7534
7639
  { scheme: "basic", type: "http" },
7535
7640
  {
@@ -7555,6 +7660,7 @@ var issueStartStopWatch = (options) => (options.client ?? client).post({
7555
7660
  ...options
7556
7661
  });
7557
7662
  var issueStopStopWatch = (options) => (options.client ?? client).post({
7663
+ responseType: "json",
7558
7664
  security: [
7559
7665
  { scheme: "basic", type: "http" },
7560
7666
  {
@@ -7580,6 +7686,7 @@ var issueStopStopWatch = (options) => (options.client ?? client).post({
7580
7686
  ...options
7581
7687
  });
7582
7688
  var issueSubscriptions = (options) => (options.client ?? client).get({
7689
+ responseType: "json",
7583
7690
  security: [
7584
7691
  { scheme: "basic", type: "http" },
7585
7692
  {
@@ -7605,6 +7712,7 @@ var issueSubscriptions = (options) => (options.client ?? client).get({
7605
7712
  ...options
7606
7713
  });
7607
7714
  var issueCheckSubscription = (options) => (options.client ?? client).get({
7715
+ responseType: "json",
7608
7716
  security: [
7609
7717
  { scheme: "basic", type: "http" },
7610
7718
  {
@@ -7630,6 +7738,7 @@ var issueCheckSubscription = (options) => (options.client ?? client).get({
7630
7738
  ...options
7631
7739
  });
7632
7740
  var issueDeleteSubscription = (options) => (options.client ?? client).delete({
7741
+ responseType: "json",
7633
7742
  security: [
7634
7743
  { scheme: "basic", type: "http" },
7635
7744
  {
@@ -7655,6 +7764,7 @@ var issueDeleteSubscription = (options) => (options.client ?? client).delete({
7655
7764
  ...options
7656
7765
  });
7657
7766
  var issueAddSubscription = (options) => (options.client ?? client).put({
7767
+ responseType: "json",
7658
7768
  security: [
7659
7769
  { scheme: "basic", type: "http" },
7660
7770
  {
@@ -7680,6 +7790,7 @@ var issueAddSubscription = (options) => (options.client ?? client).put({
7680
7790
  ...options
7681
7791
  });
7682
7792
  var issueGetCommentsAndTimeline = (options) => (options.client ?? client).get({
7793
+ responseType: "json",
7683
7794
  security: [
7684
7795
  { scheme: "basic", type: "http" },
7685
7796
  {
@@ -7705,6 +7816,7 @@ var issueGetCommentsAndTimeline = (options) => (options.client ?? client).get({
7705
7816
  ...options
7706
7817
  });
7707
7818
  var issueResetTime = (options) => (options.client ?? client).delete({
7819
+ responseType: "json",
7708
7820
  security: [
7709
7821
  { scheme: "basic", type: "http" },
7710
7822
  {
@@ -7730,6 +7842,7 @@ var issueResetTime = (options) => (options.client ?? client).delete({
7730
7842
  ...options
7731
7843
  });
7732
7844
  var issueTrackedTimes = (options) => (options.client ?? client).get({
7845
+ responseType: "json",
7733
7846
  security: [
7734
7847
  { scheme: "basic", type: "http" },
7735
7848
  {
@@ -7755,6 +7868,7 @@ var issueTrackedTimes = (options) => (options.client ?? client).get({
7755
7868
  ...options
7756
7869
  });
7757
7870
  var issueAddTime = (options) => (options.client ?? client).post({
7871
+ responseType: "json",
7758
7872
  security: [
7759
7873
  { scheme: "basic", type: "http" },
7760
7874
  {
@@ -7784,6 +7898,7 @@ var issueAddTime = (options) => (options.client ?? client).post({
7784
7898
  }
7785
7899
  });
7786
7900
  var issueDeleteTime = (options) => (options.client ?? client).delete({
7901
+ responseType: "json",
7787
7902
  security: [
7788
7903
  { scheme: "basic", type: "http" },
7789
7904
  {
@@ -7809,6 +7924,7 @@ var issueDeleteTime = (options) => (options.client ?? client).delete({
7809
7924
  ...options
7810
7925
  });
7811
7926
  var repoListKeys = (options) => (options.client ?? client).get({
7927
+ responseType: "json",
7812
7928
  security: [
7813
7929
  { scheme: "basic", type: "http" },
7814
7930
  {
@@ -7834,6 +7950,7 @@ var repoListKeys = (options) => (options.client ?? client).get({
7834
7950
  ...options
7835
7951
  });
7836
7952
  var repoCreateKey = (options) => (options.client ?? client).post({
7953
+ responseType: "json",
7837
7954
  security: [
7838
7955
  { scheme: "basic", type: "http" },
7839
7956
  {
@@ -7863,6 +7980,7 @@ var repoCreateKey = (options) => (options.client ?? client).post({
7863
7980
  }
7864
7981
  });
7865
7982
  var repoDeleteKey = (options) => (options.client ?? client).delete({
7983
+ responseType: "json",
7866
7984
  security: [
7867
7985
  { scheme: "basic", type: "http" },
7868
7986
  {
@@ -7888,6 +8006,7 @@ var repoDeleteKey = (options) => (options.client ?? client).delete({
7888
8006
  ...options
7889
8007
  });
7890
8008
  var repoGetKey = (options) => (options.client ?? client).get({
8009
+ responseType: "json",
7891
8010
  security: [
7892
8011
  { scheme: "basic", type: "http" },
7893
8012
  {
@@ -7913,6 +8032,7 @@ var repoGetKey = (options) => (options.client ?? client).get({
7913
8032
  ...options
7914
8033
  });
7915
8034
  var issueListLabels = (options) => (options.client ?? client).get({
8035
+ responseType: "json",
7916
8036
  security: [
7917
8037
  { scheme: "basic", type: "http" },
7918
8038
  {
@@ -7938,6 +8058,7 @@ var issueListLabels = (options) => (options.client ?? client).get({
7938
8058
  ...options
7939
8059
  });
7940
8060
  var issueCreateLabel = (options) => (options.client ?? client).post({
8061
+ responseType: "json",
7941
8062
  security: [
7942
8063
  { scheme: "basic", type: "http" },
7943
8064
  {
@@ -7967,6 +8088,7 @@ var issueCreateLabel = (options) => (options.client ?? client).post({
7967
8088
  }
7968
8089
  });
7969
8090
  var issueDeleteLabel = (options) => (options.client ?? client).delete({
8091
+ responseType: "json",
7970
8092
  security: [
7971
8093
  { scheme: "basic", type: "http" },
7972
8094
  {
@@ -7992,6 +8114,7 @@ var issueDeleteLabel = (options) => (options.client ?? client).delete({
7992
8114
  ...options
7993
8115
  });
7994
8116
  var issueGetLabel = (options) => (options.client ?? client).get({
8117
+ responseType: "json",
7995
8118
  security: [
7996
8119
  { scheme: "basic", type: "http" },
7997
8120
  {
@@ -8017,6 +8140,7 @@ var issueGetLabel = (options) => (options.client ?? client).get({
8017
8140
  ...options
8018
8141
  });
8019
8142
  var issueEditLabel = (options) => (options.client ?? client).patch({
8143
+ responseType: "json",
8020
8144
  security: [
8021
8145
  { scheme: "basic", type: "http" },
8022
8146
  {
@@ -8046,6 +8170,7 @@ var issueEditLabel = (options) => (options.client ?? client).patch({
8046
8170
  }
8047
8171
  });
8048
8172
  var repoGetLanguages = (options) => (options.client ?? client).get({
8173
+ responseType: "json",
8049
8174
  security: [
8050
8175
  { scheme: "basic", type: "http" },
8051
8176
  {
@@ -8071,6 +8196,7 @@ var repoGetLanguages = (options) => (options.client ?? client).get({
8071
8196
  ...options
8072
8197
  });
8073
8198
  var repoGetRawFileOrLfs = (options) => (options.client ?? client).get({
8199
+ responseType: "blob",
8074
8200
  security: [
8075
8201
  { scheme: "basic", type: "http" },
8076
8202
  {
@@ -8096,6 +8222,7 @@ var repoGetRawFileOrLfs = (options) => (options.client ?? client).get({
8096
8222
  ...options
8097
8223
  });
8098
8224
  var issueGetMilestonesList = (options) => (options.client ?? client).get({
8225
+ responseType: "json",
8099
8226
  security: [
8100
8227
  { scheme: "basic", type: "http" },
8101
8228
  {
@@ -8121,6 +8248,7 @@ var issueGetMilestonesList = (options) => (options.client ?? client).get({
8121
8248
  ...options
8122
8249
  });
8123
8250
  var issueCreateMilestone = (options) => (options.client ?? client).post({
8251
+ responseType: "json",
8124
8252
  security: [
8125
8253
  { scheme: "basic", type: "http" },
8126
8254
  {
@@ -8150,6 +8278,7 @@ var issueCreateMilestone = (options) => (options.client ?? client).post({
8150
8278
  }
8151
8279
  });
8152
8280
  var issueDeleteMilestone = (options) => (options.client ?? client).delete({
8281
+ responseType: "json",
8153
8282
  security: [
8154
8283
  { scheme: "basic", type: "http" },
8155
8284
  {
@@ -8175,6 +8304,7 @@ var issueDeleteMilestone = (options) => (options.client ?? client).delete({
8175
8304
  ...options
8176
8305
  });
8177
8306
  var issueGetMilestone = (options) => (options.client ?? client).get({
8307
+ responseType: "json",
8178
8308
  security: [
8179
8309
  { scheme: "basic", type: "http" },
8180
8310
  {
@@ -8200,6 +8330,7 @@ var issueGetMilestone = (options) => (options.client ?? client).get({
8200
8330
  ...options
8201
8331
  });
8202
8332
  var issueEditMilestone = (options) => (options.client ?? client).patch({
8333
+ responseType: "json",
8203
8334
  security: [
8204
8335
  { scheme: "basic", type: "http" },
8205
8336
  {
@@ -8229,6 +8360,7 @@ var issueEditMilestone = (options) => (options.client ?? client).patch({
8229
8360
  }
8230
8361
  });
8231
8362
  var repoMirrorSync = (options) => (options.client ?? client).post({
8363
+ responseType: "json",
8232
8364
  security: [
8233
8365
  { scheme: "basic", type: "http" },
8234
8366
  {
@@ -8254,6 +8386,7 @@ var repoMirrorSync = (options) => (options.client ?? client).post({
8254
8386
  ...options
8255
8387
  });
8256
8388
  var repoNewPinAllowed = (options) => (options.client ?? client).get({
8389
+ responseType: "json",
8257
8390
  security: [
8258
8391
  { scheme: "basic", type: "http" },
8259
8392
  {
@@ -8279,6 +8412,7 @@ var repoNewPinAllowed = (options) => (options.client ?? client).get({
8279
8412
  ...options
8280
8413
  });
8281
8414
  var notifyGetRepoList = (options) => (options.client ?? client).get({
8415
+ responseType: "json",
8282
8416
  security: [
8283
8417
  { scheme: "basic", type: "http" },
8284
8418
  {
@@ -8304,6 +8438,7 @@ var notifyGetRepoList = (options) => (options.client ?? client).get({
8304
8438
  ...options
8305
8439
  });
8306
8440
  var notifyReadRepoList = (options) => (options.client ?? client).put({
8441
+ responseType: "json",
8307
8442
  security: [
8308
8443
  { scheme: "basic", type: "http" },
8309
8444
  {
@@ -8329,6 +8464,7 @@ var notifyReadRepoList = (options) => (options.client ?? client).put({
8329
8464
  ...options
8330
8465
  });
8331
8466
  var repoListPullRequests = (options) => (options.client ?? client).get({
8467
+ responseType: "json",
8332
8468
  security: [
8333
8469
  { scheme: "basic", type: "http" },
8334
8470
  {
@@ -8354,6 +8490,7 @@ var repoListPullRequests = (options) => (options.client ?? client).get({
8354
8490
  ...options
8355
8491
  });
8356
8492
  var repoCreatePullRequest = (options) => (options.client ?? client).post({
8493
+ responseType: "json",
8357
8494
  security: [
8358
8495
  { scheme: "basic", type: "http" },
8359
8496
  {
@@ -8383,6 +8520,7 @@ var repoCreatePullRequest = (options) => (options.client ?? client).post({
8383
8520
  }
8384
8521
  });
8385
8522
  var repoListPinnedPullRequests = (options) => (options.client ?? client).get({
8523
+ responseType: "json",
8386
8524
  security: [
8387
8525
  { scheme: "basic", type: "http" },
8388
8526
  {
@@ -8408,6 +8546,7 @@ var repoListPinnedPullRequests = (options) => (options.client ?? client).get({
8408
8546
  ...options
8409
8547
  });
8410
8548
  var repoGetPullRequestByBaseHead = (options) => (options.client ?? client).get({
8549
+ responseType: "json",
8411
8550
  security: [
8412
8551
  { scheme: "basic", type: "http" },
8413
8552
  {
@@ -8433,6 +8572,7 @@ var repoGetPullRequestByBaseHead = (options) => (options.client ?? client).get({
8433
8572
  ...options
8434
8573
  });
8435
8574
  var repoGetPullRequest = (options) => (options.client ?? client).get({
8575
+ responseType: "json",
8436
8576
  security: [
8437
8577
  { scheme: "basic", type: "http" },
8438
8578
  {
@@ -8458,6 +8598,7 @@ var repoGetPullRequest = (options) => (options.client ?? client).get({
8458
8598
  ...options
8459
8599
  });
8460
8600
  var repoEditPullRequest = (options) => (options.client ?? client).patch({
8601
+ responseType: "json",
8461
8602
  security: [
8462
8603
  { scheme: "basic", type: "http" },
8463
8604
  {
@@ -8487,6 +8628,7 @@ var repoEditPullRequest = (options) => (options.client ?? client).patch({
8487
8628
  }
8488
8629
  });
8489
8630
  var repoDownloadPullDiffOrPatch = (options) => (options.client ?? client).get({
8631
+ responseType: "text",
8490
8632
  security: [
8491
8633
  { scheme: "basic", type: "http" },
8492
8634
  {
@@ -8512,6 +8654,7 @@ var repoDownloadPullDiffOrPatch = (options) => (options.client ?? client).get({
8512
8654
  ...options
8513
8655
  });
8514
8656
  var repoGetPullRequestCommits = (options) => (options.client ?? client).get({
8657
+ responseType: "json",
8515
8658
  security: [
8516
8659
  { scheme: "basic", type: "http" },
8517
8660
  {
@@ -8537,6 +8680,7 @@ var repoGetPullRequestCommits = (options) => (options.client ?? client).get({
8537
8680
  ...options
8538
8681
  });
8539
8682
  var repoGetPullRequestFiles = (options) => (options.client ?? client).get({
8683
+ responseType: "json",
8540
8684
  security: [
8541
8685
  { scheme: "basic", type: "http" },
8542
8686
  {
@@ -8562,6 +8706,7 @@ var repoGetPullRequestFiles = (options) => (options.client ?? client).get({
8562
8706
  ...options
8563
8707
  });
8564
8708
  var repoCancelScheduledAutoMerge = (options) => (options.client ?? client).delete({
8709
+ responseType: "json",
8565
8710
  security: [
8566
8711
  { scheme: "basic", type: "http" },
8567
8712
  {
@@ -8587,6 +8732,7 @@ var repoCancelScheduledAutoMerge = (options) => (options.client ?? client).delet
8587
8732
  ...options
8588
8733
  });
8589
8734
  var repoPullRequestIsMerged = (options) => (options.client ?? client).get({
8735
+ responseType: "json",
8590
8736
  security: [
8591
8737
  { scheme: "basic", type: "http" },
8592
8738
  {
@@ -8612,6 +8758,7 @@ var repoPullRequestIsMerged = (options) => (options.client ?? client).get({
8612
8758
  ...options
8613
8759
  });
8614
8760
  var repoMergePullRequest = (options) => (options.client ?? client).post({
8761
+ responseType: "json",
8615
8762
  security: [
8616
8763
  { scheme: "basic", type: "http" },
8617
8764
  {
@@ -8641,6 +8788,7 @@ var repoMergePullRequest = (options) => (options.client ?? client).post({
8641
8788
  }
8642
8789
  });
8643
8790
  var repoDeletePullReviewRequests = (options) => (options.client ?? client).delete({
8791
+ responseType: "json",
8644
8792
  security: [
8645
8793
  { scheme: "basic", type: "http" },
8646
8794
  {
@@ -8670,6 +8818,7 @@ var repoDeletePullReviewRequests = (options) => (options.client ?? client).delet
8670
8818
  }
8671
8819
  });
8672
8820
  var repoCreatePullReviewRequests = (options) => (options.client ?? client).post({
8821
+ responseType: "json",
8673
8822
  security: [
8674
8823
  { scheme: "basic", type: "http" },
8675
8824
  {
@@ -8699,6 +8848,7 @@ var repoCreatePullReviewRequests = (options) => (options.client ?? client).post(
8699
8848
  }
8700
8849
  });
8701
8850
  var repoListPullReviews = (options) => (options.client ?? client).get({
8851
+ responseType: "json",
8702
8852
  security: [
8703
8853
  { scheme: "basic", type: "http" },
8704
8854
  {
@@ -8724,6 +8874,7 @@ var repoListPullReviews = (options) => (options.client ?? client).get({
8724
8874
  ...options
8725
8875
  });
8726
8876
  var repoCreatePullReview = (options) => (options.client ?? client).post({
8877
+ responseType: "json",
8727
8878
  security: [
8728
8879
  { scheme: "basic", type: "http" },
8729
8880
  {
@@ -8753,6 +8904,7 @@ var repoCreatePullReview = (options) => (options.client ?? client).post({
8753
8904
  }
8754
8905
  });
8755
8906
  var repoDeletePullReview = (options) => (options.client ?? client).delete({
8907
+ responseType: "json",
8756
8908
  security: [
8757
8909
  { scheme: "basic", type: "http" },
8758
8910
  {
@@ -8778,6 +8930,7 @@ var repoDeletePullReview = (options) => (options.client ?? client).delete({
8778
8930
  ...options
8779
8931
  });
8780
8932
  var repoGetPullReview = (options) => (options.client ?? client).get({
8933
+ responseType: "json",
8781
8934
  security: [
8782
8935
  { scheme: "basic", type: "http" },
8783
8936
  {
@@ -8803,6 +8956,7 @@ var repoGetPullReview = (options) => (options.client ?? client).get({
8803
8956
  ...options
8804
8957
  });
8805
8958
  var repoSubmitPullReview = (options) => (options.client ?? client).post({
8959
+ responseType: "json",
8806
8960
  security: [
8807
8961
  { scheme: "basic", type: "http" },
8808
8962
  {
@@ -8832,6 +8986,7 @@ var repoSubmitPullReview = (options) => (options.client ?? client).post({
8832
8986
  }
8833
8987
  });
8834
8988
  var repoGetPullReviewComments = (options) => (options.client ?? client).get({
8989
+ responseType: "json",
8835
8990
  security: [
8836
8991
  { scheme: "basic", type: "http" },
8837
8992
  {
@@ -8857,6 +9012,7 @@ var repoGetPullReviewComments = (options) => (options.client ?? client).get({
8857
9012
  ...options
8858
9013
  });
8859
9014
  var repoCreatePullReviewComment = (options) => (options.client ?? client).post({
9015
+ responseType: "json",
8860
9016
  security: [
8861
9017
  { scheme: "basic", type: "http" },
8862
9018
  {
@@ -8886,6 +9042,7 @@ var repoCreatePullReviewComment = (options) => (options.client ?? client).post({
8886
9042
  }
8887
9043
  });
8888
9044
  var repoDeletePullReviewComment = (options) => (options.client ?? client).delete({
9045
+ responseType: "json",
8889
9046
  security: [
8890
9047
  { scheme: "basic", type: "http" },
8891
9048
  {
@@ -8911,6 +9068,7 @@ var repoDeletePullReviewComment = (options) => (options.client ?? client).delete
8911
9068
  ...options
8912
9069
  });
8913
9070
  var repoGetPullReviewComment = (options) => (options.client ?? client).get({
9071
+ responseType: "json",
8914
9072
  security: [
8915
9073
  { scheme: "basic", type: "http" },
8916
9074
  {
@@ -8936,6 +9094,7 @@ var repoGetPullReviewComment = (options) => (options.client ?? client).get({
8936
9094
  ...options
8937
9095
  });
8938
9096
  var repoDismissPullReview = (options) => (options.client ?? client).post({
9097
+ responseType: "json",
8939
9098
  security: [
8940
9099
  { scheme: "basic", type: "http" },
8941
9100
  {
@@ -8965,6 +9124,7 @@ var repoDismissPullReview = (options) => (options.client ?? client).post({
8965
9124
  }
8966
9125
  });
8967
9126
  var repoUnDismissPullReview = (options) => (options.client ?? client).post({
9127
+ responseType: "json",
8968
9128
  security: [
8969
9129
  { scheme: "basic", type: "http" },
8970
9130
  {
@@ -8990,6 +9150,7 @@ var repoUnDismissPullReview = (options) => (options.client ?? client).post({
8990
9150
  ...options
8991
9151
  });
8992
9152
  var repoUpdatePullRequest = (options) => (options.client ?? client).post({
9153
+ responseType: "json",
8993
9154
  security: [
8994
9155
  { scheme: "basic", type: "http" },
8995
9156
  {
@@ -9015,6 +9176,7 @@ var repoUpdatePullRequest = (options) => (options.client ?? client).post({
9015
9176
  ...options
9016
9177
  });
9017
9178
  var repoListPushMirrors = (options) => (options.client ?? client).get({
9179
+ responseType: "json",
9018
9180
  security: [
9019
9181
  { scheme: "basic", type: "http" },
9020
9182
  {
@@ -9040,6 +9202,7 @@ var repoListPushMirrors = (options) => (options.client ?? client).get({
9040
9202
  ...options
9041
9203
  });
9042
9204
  var repoAddPushMirror = (options) => (options.client ?? client).post({
9205
+ responseType: "json",
9043
9206
  security: [
9044
9207
  { scheme: "basic", type: "http" },
9045
9208
  {
@@ -9069,6 +9232,7 @@ var repoAddPushMirror = (options) => (options.client ?? client).post({
9069
9232
  }
9070
9233
  });
9071
9234
  var repoPushMirrorSync = (options) => (options.client ?? client).post({
9235
+ responseType: "json",
9072
9236
  security: [
9073
9237
  { scheme: "basic", type: "http" },
9074
9238
  {
@@ -9094,6 +9258,7 @@ var repoPushMirrorSync = (options) => (options.client ?? client).post({
9094
9258
  ...options
9095
9259
  });
9096
9260
  var repoDeletePushMirror = (options) => (options.client ?? client).delete({
9261
+ responseType: "json",
9097
9262
  security: [
9098
9263
  { scheme: "basic", type: "http" },
9099
9264
  {
@@ -9119,6 +9284,7 @@ var repoDeletePushMirror = (options) => (options.client ?? client).delete({
9119
9284
  ...options
9120
9285
  });
9121
9286
  var repoGetPushMirrorByRemoteName = (options) => (options.client ?? client).get({
9287
+ responseType: "json",
9122
9288
  security: [
9123
9289
  { scheme: "basic", type: "http" },
9124
9290
  {
@@ -9144,6 +9310,7 @@ var repoGetPushMirrorByRemoteName = (options) => (options.client ?? client).get(
9144
9310
  ...options
9145
9311
  });
9146
9312
  var repoGetRawFile = (options) => (options.client ?? client).get({
9313
+ responseType: "blob",
9147
9314
  security: [
9148
9315
  { scheme: "basic", type: "http" },
9149
9316
  {
@@ -9169,6 +9336,7 @@ var repoGetRawFile = (options) => (options.client ?? client).get({
9169
9336
  ...options
9170
9337
  });
9171
9338
  var repoListReleases = (options) => (options.client ?? client).get({
9339
+ responseType: "json",
9172
9340
  security: [
9173
9341
  { scheme: "basic", type: "http" },
9174
9342
  {
@@ -9194,6 +9362,7 @@ var repoListReleases = (options) => (options.client ?? client).get({
9194
9362
  ...options
9195
9363
  });
9196
9364
  var repoCreateRelease = (options) => (options.client ?? client).post({
9365
+ responseType: "json",
9197
9366
  security: [
9198
9367
  { scheme: "basic", type: "http" },
9199
9368
  {
@@ -9223,6 +9392,7 @@ var repoCreateRelease = (options) => (options.client ?? client).post({
9223
9392
  }
9224
9393
  });
9225
9394
  var repoGetLatestRelease = (options) => (options.client ?? client).get({
9395
+ responseType: "json",
9226
9396
  security: [
9227
9397
  { scheme: "basic", type: "http" },
9228
9398
  {
@@ -9248,6 +9418,7 @@ var repoGetLatestRelease = (options) => (options.client ?? client).get({
9248
9418
  ...options
9249
9419
  });
9250
9420
  var repoDeleteReleaseByTag = (options) => (options.client ?? client).delete({
9421
+ responseType: "json",
9251
9422
  security: [
9252
9423
  { scheme: "basic", type: "http" },
9253
9424
  {
@@ -9273,6 +9444,7 @@ var repoDeleteReleaseByTag = (options) => (options.client ?? client).delete({
9273
9444
  ...options
9274
9445
  });
9275
9446
  var repoGetReleaseByTag = (options) => (options.client ?? client).get({
9447
+ responseType: "json",
9276
9448
  security: [
9277
9449
  { scheme: "basic", type: "http" },
9278
9450
  {
@@ -9298,6 +9470,7 @@ var repoGetReleaseByTag = (options) => (options.client ?? client).get({
9298
9470
  ...options
9299
9471
  });
9300
9472
  var repoDeleteRelease = (options) => (options.client ?? client).delete({
9473
+ responseType: "json",
9301
9474
  security: [
9302
9475
  { scheme: "basic", type: "http" },
9303
9476
  {
@@ -9323,6 +9496,7 @@ var repoDeleteRelease = (options) => (options.client ?? client).delete({
9323
9496
  ...options
9324
9497
  });
9325
9498
  var repoGetRelease = (options) => (options.client ?? client).get({
9499
+ responseType: "json",
9326
9500
  security: [
9327
9501
  { scheme: "basic", type: "http" },
9328
9502
  {
@@ -9348,6 +9522,7 @@ var repoGetRelease = (options) => (options.client ?? client).get({
9348
9522
  ...options
9349
9523
  });
9350
9524
  var repoEditRelease = (options) => (options.client ?? client).patch({
9525
+ responseType: "json",
9351
9526
  security: [
9352
9527
  { scheme: "basic", type: "http" },
9353
9528
  {
@@ -9377,6 +9552,7 @@ var repoEditRelease = (options) => (options.client ?? client).patch({
9377
9552
  }
9378
9553
  });
9379
9554
  var repoListReleaseAttachments = (options) => (options.client ?? client).get({
9555
+ responseType: "json",
9380
9556
  security: [
9381
9557
  { scheme: "basic", type: "http" },
9382
9558
  {
@@ -9403,6 +9579,7 @@ var repoListReleaseAttachments = (options) => (options.client ?? client).get({
9403
9579
  });
9404
9580
  var repoCreateReleaseAttachment = (options) => (options.client ?? client).post({
9405
9581
  ...formDataBodySerializer,
9582
+ responseType: "json",
9406
9583
  security: [
9407
9584
  { scheme: "basic", type: "http" },
9408
9585
  {
@@ -9432,6 +9609,7 @@ var repoCreateReleaseAttachment = (options) => (options.client ?? client).post({
9432
9609
  }
9433
9610
  });
9434
9611
  var repoDeleteReleaseAttachment = (options) => (options.client ?? client).delete({
9612
+ responseType: "json",
9435
9613
  security: [
9436
9614
  { scheme: "basic", type: "http" },
9437
9615
  {
@@ -9457,6 +9635,7 @@ var repoDeleteReleaseAttachment = (options) => (options.client ?? client).delete
9457
9635
  ...options
9458
9636
  });
9459
9637
  var repoGetReleaseAttachment = (options) => (options.client ?? client).get({
9638
+ responseType: "json",
9460
9639
  security: [
9461
9640
  { scheme: "basic", type: "http" },
9462
9641
  {
@@ -9482,6 +9661,7 @@ var repoGetReleaseAttachment = (options) => (options.client ?? client).get({
9482
9661
  ...options
9483
9662
  });
9484
9663
  var repoEditReleaseAttachment = (options) => (options.client ?? client).patch({
9664
+ responseType: "json",
9485
9665
  security: [
9486
9666
  { scheme: "basic", type: "http" },
9487
9667
  {
@@ -9511,6 +9691,7 @@ var repoEditReleaseAttachment = (options) => (options.client ?? client).patch({
9511
9691
  }
9512
9692
  });
9513
9693
  var repoGetReviewers = (options) => (options.client ?? client).get({
9694
+ responseType: "json",
9514
9695
  security: [
9515
9696
  { scheme: "basic", type: "http" },
9516
9697
  {
@@ -9536,6 +9717,7 @@ var repoGetReviewers = (options) => (options.client ?? client).get({
9536
9717
  ...options
9537
9718
  });
9538
9719
  var repoSigningKey = (options) => (options.client ?? client).get({
9720
+ responseType: "text",
9539
9721
  security: [
9540
9722
  { scheme: "basic", type: "http" },
9541
9723
  {
@@ -9561,6 +9743,7 @@ var repoSigningKey = (options) => (options.client ?? client).get({
9561
9743
  ...options
9562
9744
  });
9563
9745
  var repoListStargazers = (options) => (options.client ?? client).get({
9746
+ responseType: "json",
9564
9747
  security: [
9565
9748
  { scheme: "basic", type: "http" },
9566
9749
  {
@@ -9586,6 +9769,7 @@ var repoListStargazers = (options) => (options.client ?? client).get({
9586
9769
  ...options
9587
9770
  });
9588
9771
  var repoListStatuses = (options) => (options.client ?? client).get({
9772
+ responseType: "json",
9589
9773
  security: [
9590
9774
  { scheme: "basic", type: "http" },
9591
9775
  {
@@ -9611,6 +9795,7 @@ var repoListStatuses = (options) => (options.client ?? client).get({
9611
9795
  ...options
9612
9796
  });
9613
9797
  var repoCreateStatus = (options) => (options.client ?? client).post({
9798
+ responseType: "json",
9614
9799
  security: [
9615
9800
  { scheme: "basic", type: "http" },
9616
9801
  {
@@ -9640,6 +9825,7 @@ var repoCreateStatus = (options) => (options.client ?? client).post({
9640
9825
  }
9641
9826
  });
9642
9827
  var repoListSubscribers = (options) => (options.client ?? client).get({
9828
+ responseType: "json",
9643
9829
  security: [
9644
9830
  { scheme: "basic", type: "http" },
9645
9831
  {
@@ -9665,6 +9851,7 @@ var repoListSubscribers = (options) => (options.client ?? client).get({
9665
9851
  ...options
9666
9852
  });
9667
9853
  var userCurrentDeleteSubscription = (options) => (options.client ?? client).delete({
9854
+ responseType: "json",
9668
9855
  security: [
9669
9856
  { scheme: "basic", type: "http" },
9670
9857
  {
@@ -9690,6 +9877,7 @@ var userCurrentDeleteSubscription = (options) => (options.client ?? client).dele
9690
9877
  ...options
9691
9878
  });
9692
9879
  var userCurrentCheckSubscription = (options) => (options.client ?? client).get({
9880
+ responseType: "json",
9693
9881
  security: [
9694
9882
  { scheme: "basic", type: "http" },
9695
9883
  {
@@ -9715,6 +9903,7 @@ var userCurrentCheckSubscription = (options) => (options.client ?? client).get({
9715
9903
  ...options
9716
9904
  });
9717
9905
  var userCurrentPutSubscription = (options) => (options.client ?? client).put({
9906
+ responseType: "json",
9718
9907
  security: [
9719
9908
  { scheme: "basic", type: "http" },
9720
9909
  {
@@ -9740,6 +9929,7 @@ var userCurrentPutSubscription = (options) => (options.client ?? client).put({
9740
9929
  ...options
9741
9930
  });
9742
9931
  var repoSyncForkDefaultInfo = (options) => (options.client ?? client).get({
9932
+ responseType: "json",
9743
9933
  security: [
9744
9934
  { scheme: "basic", type: "http" },
9745
9935
  {
@@ -9765,6 +9955,7 @@ var repoSyncForkDefaultInfo = (options) => (options.client ?? client).get({
9765
9955
  ...options
9766
9956
  });
9767
9957
  var repoSyncForkDefault = (options) => (options.client ?? client).post({
9958
+ responseType: "json",
9768
9959
  security: [
9769
9960
  { scheme: "basic", type: "http" },
9770
9961
  {
@@ -9790,6 +9981,7 @@ var repoSyncForkDefault = (options) => (options.client ?? client).post({
9790
9981
  ...options
9791
9982
  });
9792
9983
  var repoSyncForkBranchInfo = (options) => (options.client ?? client).get({
9984
+ responseType: "json",
9793
9985
  security: [
9794
9986
  { scheme: "basic", type: "http" },
9795
9987
  {
@@ -9815,6 +10007,7 @@ var repoSyncForkBranchInfo = (options) => (options.client ?? client).get({
9815
10007
  ...options
9816
10008
  });
9817
10009
  var repoSyncForkBranch = (options) => (options.client ?? client).post({
10010
+ responseType: "json",
9818
10011
  security: [
9819
10012
  { scheme: "basic", type: "http" },
9820
10013
  {
@@ -9840,6 +10033,7 @@ var repoSyncForkBranch = (options) => (options.client ?? client).post({
9840
10033
  ...options
9841
10034
  });
9842
10035
  var repoListTagProtection = (options) => (options.client ?? client).get({
10036
+ responseType: "json",
9843
10037
  security: [
9844
10038
  { scheme: "basic", type: "http" },
9845
10039
  {
@@ -9865,6 +10059,7 @@ var repoListTagProtection = (options) => (options.client ?? client).get({
9865
10059
  ...options
9866
10060
  });
9867
10061
  var repoCreateTagProtection = (options) => (options.client ?? client).post({
10062
+ responseType: "json",
9868
10063
  security: [
9869
10064
  { scheme: "basic", type: "http" },
9870
10065
  {
@@ -9894,6 +10089,7 @@ var repoCreateTagProtection = (options) => (options.client ?? client).post({
9894
10089
  }
9895
10090
  });
9896
10091
  var repoDeleteTagProtection = (options) => (options.client ?? client).delete({
10092
+ responseType: "json",
9897
10093
  security: [
9898
10094
  { scheme: "basic", type: "http" },
9899
10095
  {
@@ -9919,6 +10115,7 @@ var repoDeleteTagProtection = (options) => (options.client ?? client).delete({
9919
10115
  ...options
9920
10116
  });
9921
10117
  var repoGetTagProtection = (options) => (options.client ?? client).get({
10118
+ responseType: "json",
9922
10119
  security: [
9923
10120
  { scheme: "basic", type: "http" },
9924
10121
  {
@@ -9944,6 +10141,7 @@ var repoGetTagProtection = (options) => (options.client ?? client).get({
9944
10141
  ...options
9945
10142
  });
9946
10143
  var repoEditTagProtection = (options) => (options.client ?? client).patch({
10144
+ responseType: "json",
9947
10145
  security: [
9948
10146
  { scheme: "basic", type: "http" },
9949
10147
  {
@@ -9973,6 +10171,7 @@ var repoEditTagProtection = (options) => (options.client ?? client).patch({
9973
10171
  }
9974
10172
  });
9975
10173
  var repoListTags = (options) => (options.client ?? client).get({
10174
+ responseType: "json",
9976
10175
  security: [
9977
10176
  { scheme: "basic", type: "http" },
9978
10177
  {
@@ -9998,6 +10197,7 @@ var repoListTags = (options) => (options.client ?? client).get({
9998
10197
  ...options
9999
10198
  });
10000
10199
  var repoCreateTag = (options) => (options.client ?? client).post({
10200
+ responseType: "json",
10001
10201
  security: [
10002
10202
  { scheme: "basic", type: "http" },
10003
10203
  {
@@ -10027,6 +10227,7 @@ var repoCreateTag = (options) => (options.client ?? client).post({
10027
10227
  }
10028
10228
  });
10029
10229
  var repoDeleteTag = (options) => (options.client ?? client).delete({
10230
+ responseType: "json",
10030
10231
  security: [
10031
10232
  { scheme: "basic", type: "http" },
10032
10233
  {
@@ -10052,6 +10253,7 @@ var repoDeleteTag = (options) => (options.client ?? client).delete({
10052
10253
  ...options
10053
10254
  });
10054
10255
  var repoGetTag = (options) => (options.client ?? client).get({
10256
+ responseType: "json",
10055
10257
  security: [
10056
10258
  { scheme: "basic", type: "http" },
10057
10259
  {
@@ -10077,6 +10279,7 @@ var repoGetTag = (options) => (options.client ?? client).get({
10077
10279
  ...options
10078
10280
  });
10079
10281
  var repoListTeams = (options) => (options.client ?? client).get({
10282
+ responseType: "json",
10080
10283
  security: [
10081
10284
  { scheme: "basic", type: "http" },
10082
10285
  {
@@ -10102,6 +10305,7 @@ var repoListTeams = (options) => (options.client ?? client).get({
10102
10305
  ...options
10103
10306
  });
10104
10307
  var repoDeleteTeam = (options) => (options.client ?? client).delete({
10308
+ responseType: "json",
10105
10309
  security: [
10106
10310
  { scheme: "basic", type: "http" },
10107
10311
  {
@@ -10127,6 +10331,7 @@ var repoDeleteTeam = (options) => (options.client ?? client).delete({
10127
10331
  ...options
10128
10332
  });
10129
10333
  var repoCheckTeam = (options) => (options.client ?? client).get({
10334
+ responseType: "json",
10130
10335
  security: [
10131
10336
  { scheme: "basic", type: "http" },
10132
10337
  {
@@ -10152,6 +10357,7 @@ var repoCheckTeam = (options) => (options.client ?? client).get({
10152
10357
  ...options
10153
10358
  });
10154
10359
  var repoAddTeam = (options) => (options.client ?? client).put({
10360
+ responseType: "json",
10155
10361
  security: [
10156
10362
  { scheme: "basic", type: "http" },
10157
10363
  {
@@ -10177,6 +10383,7 @@ var repoAddTeam = (options) => (options.client ?? client).put({
10177
10383
  ...options
10178
10384
  });
10179
10385
  var repoTrackedTimes = (options) => (options.client ?? client).get({
10386
+ responseType: "json",
10180
10387
  security: [
10181
10388
  { scheme: "basic", type: "http" },
10182
10389
  {
@@ -10202,6 +10409,7 @@ var repoTrackedTimes = (options) => (options.client ?? client).get({
10202
10409
  ...options
10203
10410
  });
10204
10411
  var userTrackedTimes = (options) => (options.client ?? client).get({
10412
+ responseType: "json",
10205
10413
  security: [
10206
10414
  { scheme: "basic", type: "http" },
10207
10415
  {
@@ -10227,6 +10435,7 @@ var userTrackedTimes = (options) => (options.client ?? client).get({
10227
10435
  ...options
10228
10436
  });
10229
10437
  var repoListTopics = (options) => (options.client ?? client).get({
10438
+ responseType: "json",
10230
10439
  security: [
10231
10440
  { scheme: "basic", type: "http" },
10232
10441
  {
@@ -10252,6 +10461,7 @@ var repoListTopics = (options) => (options.client ?? client).get({
10252
10461
  ...options
10253
10462
  });
10254
10463
  var repoUpdateTopics = (options) => (options.client ?? client).put({
10464
+ responseType: "json",
10255
10465
  security: [
10256
10466
  { scheme: "basic", type: "http" },
10257
10467
  {
@@ -10281,6 +10491,7 @@ var repoUpdateTopics = (options) => (options.client ?? client).put({
10281
10491
  }
10282
10492
  });
10283
10493
  var repoDeleteTopic = (options) => (options.client ?? client).delete({
10494
+ responseType: "json",
10284
10495
  security: [
10285
10496
  { scheme: "basic", type: "http" },
10286
10497
  {
@@ -10306,6 +10517,7 @@ var repoDeleteTopic = (options) => (options.client ?? client).delete({
10306
10517
  ...options
10307
10518
  });
10308
10519
  var repoAddTopic = (options) => (options.client ?? client).put({
10520
+ responseType: "json",
10309
10521
  security: [
10310
10522
  { scheme: "basic", type: "http" },
10311
10523
  {
@@ -10331,6 +10543,7 @@ var repoAddTopic = (options) => (options.client ?? client).put({
10331
10543
  ...options
10332
10544
  });
10333
10545
  var repoTransfer = (options) => (options.client ?? client).post({
10546
+ responseType: "json",
10334
10547
  security: [
10335
10548
  { scheme: "basic", type: "http" },
10336
10549
  {
@@ -10360,6 +10573,7 @@ var repoTransfer = (options) => (options.client ?? client).post({
10360
10573
  }
10361
10574
  });
10362
10575
  var acceptRepoTransfer = (options) => (options.client ?? client).post({
10576
+ responseType: "json",
10363
10577
  security: [
10364
10578
  { scheme: "basic", type: "http" },
10365
10579
  {
@@ -10385,6 +10599,7 @@ var acceptRepoTransfer = (options) => (options.client ?? client).post({
10385
10599
  ...options
10386
10600
  });
10387
10601
  var rejectRepoTransfer = (options) => (options.client ?? client).post({
10602
+ responseType: "json",
10388
10603
  security: [
10389
10604
  { scheme: "basic", type: "http" },
10390
10605
  {
@@ -10410,6 +10625,7 @@ var rejectRepoTransfer = (options) => (options.client ?? client).post({
10410
10625
  ...options
10411
10626
  });
10412
10627
  var repoCreateWikiPage = (options) => (options.client ?? client).post({
10628
+ responseType: "json",
10413
10629
  security: [
10414
10630
  { scheme: "basic", type: "http" },
10415
10631
  {
@@ -10439,6 +10655,7 @@ var repoCreateWikiPage = (options) => (options.client ?? client).post({
10439
10655
  }
10440
10656
  });
10441
10657
  var repoDeleteWikiPage = (options) => (options.client ?? client).delete({
10658
+ responseType: "json",
10442
10659
  security: [
10443
10660
  { scheme: "basic", type: "http" },
10444
10661
  {
@@ -10464,6 +10681,7 @@ var repoDeleteWikiPage = (options) => (options.client ?? client).delete({
10464
10681
  ...options
10465
10682
  });
10466
10683
  var repoGetWikiPage = (options) => (options.client ?? client).get({
10684
+ responseType: "json",
10467
10685
  security: [
10468
10686
  { scheme: "basic", type: "http" },
10469
10687
  {
@@ -10489,6 +10707,7 @@ var repoGetWikiPage = (options) => (options.client ?? client).get({
10489
10707
  ...options
10490
10708
  });
10491
10709
  var repoEditWikiPage = (options) => (options.client ?? client).patch({
10710
+ responseType: "json",
10492
10711
  security: [
10493
10712
  { scheme: "basic", type: "http" },
10494
10713
  {
@@ -10518,6 +10737,7 @@ var repoEditWikiPage = (options) => (options.client ?? client).patch({
10518
10737
  }
10519
10738
  });
10520
10739
  var repoGetWikiPages = (options) => (options.client ?? client).get({
10740
+ responseType: "json",
10521
10741
  security: [
10522
10742
  { scheme: "basic", type: "http" },
10523
10743
  {
@@ -10543,6 +10763,7 @@ var repoGetWikiPages = (options) => (options.client ?? client).get({
10543
10763
  ...options
10544
10764
  });
10545
10765
  var repoGetWikiPageRevisions = (options) => (options.client ?? client).get({
10766
+ responseType: "json",
10546
10767
  security: [
10547
10768
  { scheme: "basic", type: "http" },
10548
10769
  {
@@ -10568,6 +10789,7 @@ var repoGetWikiPageRevisions = (options) => (options.client ?? client).get({
10568
10789
  ...options
10569
10790
  });
10570
10791
  var generateRepo = (options) => (options.client ?? client).post({
10792
+ responseType: "json",
10571
10793
  security: [
10572
10794
  { scheme: "basic", type: "http" },
10573
10795
  {
@@ -10597,6 +10819,7 @@ var generateRepo = (options) => (options.client ?? client).post({
10597
10819
  }
10598
10820
  });
10599
10821
  var repoGetById = (options) => (options.client ?? client).get({
10822
+ responseType: "json",
10600
10823
  security: [
10601
10824
  { scheme: "basic", type: "http" },
10602
10825
  {
@@ -10622,6 +10845,7 @@ var repoGetById = (options) => (options.client ?? client).get({
10622
10845
  ...options
10623
10846
  });
10624
10847
  var getGeneralApiSettings = (options) => (options?.client ?? client).get({
10848
+ responseType: "json",
10625
10849
  security: [
10626
10850
  { scheme: "basic", type: "http" },
10627
10851
  {
@@ -10647,6 +10871,7 @@ var getGeneralApiSettings = (options) => (options?.client ?? client).get({
10647
10871
  ...options
10648
10872
  });
10649
10873
  var getGeneralAttachmentSettings = (options) => (options?.client ?? client).get({
10874
+ responseType: "json",
10650
10875
  security: [
10651
10876
  { scheme: "basic", type: "http" },
10652
10877
  {
@@ -10672,6 +10897,7 @@ var getGeneralAttachmentSettings = (options) => (options?.client ?? client).get(
10672
10897
  ...options
10673
10898
  });
10674
10899
  var getGeneralRepositorySettings = (options) => (options?.client ?? client).get({
10900
+ responseType: "json",
10675
10901
  security: [
10676
10902
  { scheme: "basic", type: "http" },
10677
10903
  {
@@ -10697,6 +10923,7 @@ var getGeneralRepositorySettings = (options) => (options?.client ?? client).get(
10697
10923
  ...options
10698
10924
  });
10699
10925
  var getGeneralUiSettings = (options) => (options?.client ?? client).get({
10926
+ responseType: "json",
10700
10927
  security: [
10701
10928
  { scheme: "basic", type: "http" },
10702
10929
  {
@@ -10722,6 +10949,7 @@ var getGeneralUiSettings = (options) => (options?.client ?? client).get({
10722
10949
  ...options
10723
10950
  });
10724
10951
  var getSigningKey = (options) => (options?.client ?? client).get({
10952
+ responseType: "text",
10725
10953
  security: [
10726
10954
  { scheme: "basic", type: "http" },
10727
10955
  {
@@ -10747,6 +10975,7 @@ var getSigningKey = (options) => (options?.client ?? client).get({
10747
10975
  ...options
10748
10976
  });
10749
10977
  var getSshSigningKey = (options) => (options?.client ?? client).get({
10978
+ responseType: "text",
10750
10979
  security: [
10751
10980
  { scheme: "basic", type: "http" },
10752
10981
  {
@@ -10772,6 +11001,7 @@ var getSshSigningKey = (options) => (options?.client ?? client).get({
10772
11001
  ...options
10773
11002
  });
10774
11003
  var orgDeleteTeam = (options) => (options.client ?? client).delete({
11004
+ responseType: "json",
10775
11005
  security: [
10776
11006
  { scheme: "basic", type: "http" },
10777
11007
  {
@@ -10797,6 +11027,7 @@ var orgDeleteTeam = (options) => (options.client ?? client).delete({
10797
11027
  ...options
10798
11028
  });
10799
11029
  var orgGetTeam = (options) => (options.client ?? client).get({
11030
+ responseType: "json",
10800
11031
  security: [
10801
11032
  { scheme: "basic", type: "http" },
10802
11033
  {
@@ -10822,6 +11053,7 @@ var orgGetTeam = (options) => (options.client ?? client).get({
10822
11053
  ...options
10823
11054
  });
10824
11055
  var orgEditTeam = (options) => (options.client ?? client).patch({
11056
+ responseType: "json",
10825
11057
  security: [
10826
11058
  { scheme: "basic", type: "http" },
10827
11059
  {
@@ -10851,6 +11083,7 @@ var orgEditTeam = (options) => (options.client ?? client).patch({
10851
11083
  }
10852
11084
  });
10853
11085
  var orgListTeamActivityFeeds = (options) => (options.client ?? client).get({
11086
+ responseType: "json",
10854
11087
  security: [
10855
11088
  { scheme: "basic", type: "http" },
10856
11089
  {
@@ -10876,6 +11109,7 @@ var orgListTeamActivityFeeds = (options) => (options.client ?? client).get({
10876
11109
  ...options
10877
11110
  });
10878
11111
  var orgListTeamMembers = (options) => (options.client ?? client).get({
11112
+ responseType: "json",
10879
11113
  security: [
10880
11114
  { scheme: "basic", type: "http" },
10881
11115
  {
@@ -10901,6 +11135,7 @@ var orgListTeamMembers = (options) => (options.client ?? client).get({
10901
11135
  ...options
10902
11136
  });
10903
11137
  var orgRemoveTeamMember = (options) => (options.client ?? client).delete({
11138
+ responseType: "json",
10904
11139
  security: [
10905
11140
  { scheme: "basic", type: "http" },
10906
11141
  {
@@ -10926,6 +11161,7 @@ var orgRemoveTeamMember = (options) => (options.client ?? client).delete({
10926
11161
  ...options
10927
11162
  });
10928
11163
  var orgListTeamMember = (options) => (options.client ?? client).get({
11164
+ responseType: "json",
10929
11165
  security: [
10930
11166
  { scheme: "basic", type: "http" },
10931
11167
  {
@@ -10951,6 +11187,7 @@ var orgListTeamMember = (options) => (options.client ?? client).get({
10951
11187
  ...options
10952
11188
  });
10953
11189
  var orgAddTeamMember = (options) => (options.client ?? client).put({
11190
+ responseType: "json",
10954
11191
  security: [
10955
11192
  { scheme: "basic", type: "http" },
10956
11193
  {
@@ -10976,6 +11213,7 @@ var orgAddTeamMember = (options) => (options.client ?? client).put({
10976
11213
  ...options
10977
11214
  });
10978
11215
  var orgListTeamRepos = (options) => (options.client ?? client).get({
11216
+ responseType: "json",
10979
11217
  security: [
10980
11218
  { scheme: "basic", type: "http" },
10981
11219
  {
@@ -11001,6 +11239,7 @@ var orgListTeamRepos = (options) => (options.client ?? client).get({
11001
11239
  ...options
11002
11240
  });
11003
11241
  var orgRemoveTeamRepository = (options) => (options.client ?? client).delete({
11242
+ responseType: "json",
11004
11243
  security: [
11005
11244
  { scheme: "basic", type: "http" },
11006
11245
  {
@@ -11026,6 +11265,7 @@ var orgRemoveTeamRepository = (options) => (options.client ?? client).delete({
11026
11265
  ...options
11027
11266
  });
11028
11267
  var orgListTeamRepo = (options) => (options.client ?? client).get({
11268
+ responseType: "json",
11029
11269
  security: [
11030
11270
  { scheme: "basic", type: "http" },
11031
11271
  {
@@ -11051,6 +11291,7 @@ var orgListTeamRepo = (options) => (options.client ?? client).get({
11051
11291
  ...options
11052
11292
  });
11053
11293
  var orgAddTeamRepository = (options) => (options.client ?? client).put({
11294
+ responseType: "json",
11054
11295
  security: [
11055
11296
  { scheme: "basic", type: "http" },
11056
11297
  {
@@ -11076,6 +11317,7 @@ var orgAddTeamRepository = (options) => (options.client ?? client).put({
11076
11317
  ...options
11077
11318
  });
11078
11319
  var topicSearch = (options) => (options.client ?? client).get({
11320
+ responseType: "json",
11079
11321
  security: [
11080
11322
  { scheme: "basic", type: "http" },
11081
11323
  {
@@ -11101,6 +11343,7 @@ var topicSearch = (options) => (options.client ?? client).get({
11101
11343
  ...options
11102
11344
  });
11103
11345
  var userGetCurrent = (options) => (options?.client ?? client).get({
11346
+ responseType: "json",
11104
11347
  security: [
11105
11348
  { scheme: "basic", type: "http" },
11106
11349
  {
@@ -11126,6 +11369,7 @@ var userGetCurrent = (options) => (options?.client ?? client).get({
11126
11369
  ...options
11127
11370
  });
11128
11371
  var userSearchRunJobs = (options) => (options?.client ?? client).get({
11372
+ responseType: "json",
11129
11373
  security: [
11130
11374
  { scheme: "basic", type: "http" },
11131
11375
  {
@@ -11151,6 +11395,7 @@ var userSearchRunJobs = (options) => (options?.client ?? client).get({
11151
11395
  ...options
11152
11396
  });
11153
11397
  var userGetRunnerRegistrationToken = (options) => (options?.client ?? client).get({
11398
+ responseType: "json",
11154
11399
  security: [
11155
11400
  { scheme: "basic", type: "http" },
11156
11401
  {
@@ -11176,6 +11421,7 @@ var userGetRunnerRegistrationToken = (options) => (options?.client ?? client).ge
11176
11421
  ...options
11177
11422
  });
11178
11423
  var deleteUserSecret = (options) => (options.client ?? client).delete({
11424
+ responseType: "json",
11179
11425
  security: [
11180
11426
  { scheme: "basic", type: "http" },
11181
11427
  {
@@ -11201,6 +11447,7 @@ var deleteUserSecret = (options) => (options.client ?? client).delete({
11201
11447
  ...options
11202
11448
  });
11203
11449
  var updateUserSecret = (options) => (options.client ?? client).put({
11450
+ responseType: "json",
11204
11451
  security: [
11205
11452
  { scheme: "basic", type: "http" },
11206
11453
  {
@@ -11230,6 +11477,7 @@ var updateUserSecret = (options) => (options.client ?? client).put({
11230
11477
  }
11231
11478
  });
11232
11479
  var getUserVariablesList = (options) => (options?.client ?? client).get({
11480
+ responseType: "json",
11233
11481
  security: [
11234
11482
  { scheme: "basic", type: "http" },
11235
11483
  {
@@ -11255,6 +11503,7 @@ var getUserVariablesList = (options) => (options?.client ?? client).get({
11255
11503
  ...options
11256
11504
  });
11257
11505
  var deleteUserVariable = (options) => (options.client ?? client).delete({
11506
+ responseType: "json",
11258
11507
  security: [
11259
11508
  { scheme: "basic", type: "http" },
11260
11509
  {
@@ -11280,6 +11529,7 @@ var deleteUserVariable = (options) => (options.client ?? client).delete({
11280
11529
  ...options
11281
11530
  });
11282
11531
  var getUserVariable = (options) => (options.client ?? client).get({
11532
+ responseType: "json",
11283
11533
  security: [
11284
11534
  { scheme: "basic", type: "http" },
11285
11535
  {
@@ -11305,6 +11555,7 @@ var getUserVariable = (options) => (options.client ?? client).get({
11305
11555
  ...options
11306
11556
  });
11307
11557
  var createUserVariable = (options) => (options.client ?? client).post({
11558
+ responseType: "json",
11308
11559
  security: [
11309
11560
  { scheme: "basic", type: "http" },
11310
11561
  {
@@ -11334,6 +11585,7 @@ var createUserVariable = (options) => (options.client ?? client).post({
11334
11585
  }
11335
11586
  });
11336
11587
  var updateUserVariable = (options) => (options.client ?? client).put({
11588
+ responseType: "json",
11337
11589
  security: [
11338
11590
  { scheme: "basic", type: "http" },
11339
11591
  {
@@ -11363,6 +11615,7 @@ var updateUserVariable = (options) => (options.client ?? client).put({
11363
11615
  }
11364
11616
  });
11365
11617
  var userGetOAuth2Applications = (options) => (options?.client ?? client).get({
11618
+ responseType: "json",
11366
11619
  security: [
11367
11620
  { scheme: "basic", type: "http" },
11368
11621
  {
@@ -11388,6 +11641,7 @@ var userGetOAuth2Applications = (options) => (options?.client ?? client).get({
11388
11641
  ...options
11389
11642
  });
11390
11643
  var userCreateOAuth2Application = (options) => (options.client ?? client).post({
11644
+ responseType: "json",
11391
11645
  security: [
11392
11646
  { scheme: "basic", type: "http" },
11393
11647
  {
@@ -11417,6 +11671,7 @@ var userCreateOAuth2Application = (options) => (options.client ?? client).post({
11417
11671
  }
11418
11672
  });
11419
11673
  var userDeleteOAuth2Application = (options) => (options.client ?? client).delete({
11674
+ responseType: "json",
11420
11675
  security: [
11421
11676
  { scheme: "basic", type: "http" },
11422
11677
  {
@@ -11442,6 +11697,7 @@ var userDeleteOAuth2Application = (options) => (options.client ?? client).delete
11442
11697
  ...options
11443
11698
  });
11444
11699
  var userGetOAuth2Application = (options) => (options.client ?? client).get({
11700
+ responseType: "json",
11445
11701
  security: [
11446
11702
  { scheme: "basic", type: "http" },
11447
11703
  {
@@ -11467,6 +11723,7 @@ var userGetOAuth2Application = (options) => (options.client ?? client).get({
11467
11723
  ...options
11468
11724
  });
11469
11725
  var userUpdateOAuth2Application = (options) => (options.client ?? client).patch({
11726
+ responseType: "json",
11470
11727
  security: [
11471
11728
  { scheme: "basic", type: "http" },
11472
11729
  {
@@ -11496,6 +11753,7 @@ var userUpdateOAuth2Application = (options) => (options.client ?? client).patch(
11496
11753
  }
11497
11754
  });
11498
11755
  var userDeleteAvatar = (options) => (options?.client ?? client).delete({
11756
+ responseType: "json",
11499
11757
  security: [
11500
11758
  { scheme: "basic", type: "http" },
11501
11759
  {
@@ -11521,6 +11779,7 @@ var userDeleteAvatar = (options) => (options?.client ?? client).delete({
11521
11779
  ...options
11522
11780
  });
11523
11781
  var userUpdateAvatar = (options) => (options?.client ?? client).post({
11782
+ responseType: "json",
11524
11783
  security: [
11525
11784
  { scheme: "basic", type: "http" },
11526
11785
  {
@@ -11550,6 +11809,7 @@ var userUpdateAvatar = (options) => (options?.client ?? client).post({
11550
11809
  }
11551
11810
  });
11552
11811
  var userBlockUser = (options) => (options.client ?? client).put({
11812
+ responseType: "json",
11553
11813
  security: [
11554
11814
  { scheme: "basic", type: "http" },
11555
11815
  {
@@ -11575,6 +11835,7 @@ var userBlockUser = (options) => (options.client ?? client).put({
11575
11835
  ...options
11576
11836
  });
11577
11837
  var userDeleteEmail = (options) => (options?.client ?? client).delete({
11838
+ responseType: "json",
11578
11839
  security: [
11579
11840
  { scheme: "basic", type: "http" },
11580
11841
  {
@@ -11604,6 +11865,7 @@ var userDeleteEmail = (options) => (options?.client ?? client).delete({
11604
11865
  }
11605
11866
  });
11606
11867
  var userListEmails = (options) => (options?.client ?? client).get({
11868
+ responseType: "json",
11607
11869
  security: [
11608
11870
  { scheme: "basic", type: "http" },
11609
11871
  {
@@ -11629,6 +11891,7 @@ var userListEmails = (options) => (options?.client ?? client).get({
11629
11891
  ...options
11630
11892
  });
11631
11893
  var userAddEmail = (options) => (options?.client ?? client).post({
11894
+ responseType: "json",
11632
11895
  security: [
11633
11896
  { scheme: "basic", type: "http" },
11634
11897
  {
@@ -11658,6 +11921,7 @@ var userAddEmail = (options) => (options?.client ?? client).post({
11658
11921
  }
11659
11922
  });
11660
11923
  var userCurrentListFollowers = (options) => (options?.client ?? client).get({
11924
+ responseType: "json",
11661
11925
  security: [
11662
11926
  { scheme: "basic", type: "http" },
11663
11927
  {
@@ -11683,6 +11947,7 @@ var userCurrentListFollowers = (options) => (options?.client ?? client).get({
11683
11947
  ...options
11684
11948
  });
11685
11949
  var userCurrentListFollowing = (options) => (options?.client ?? client).get({
11950
+ responseType: "json",
11686
11951
  security: [
11687
11952
  { scheme: "basic", type: "http" },
11688
11953
  {
@@ -11708,6 +11973,7 @@ var userCurrentListFollowing = (options) => (options?.client ?? client).get({
11708
11973
  ...options
11709
11974
  });
11710
11975
  var userCurrentDeleteFollow = (options) => (options.client ?? client).delete({
11976
+ responseType: "json",
11711
11977
  security: [
11712
11978
  { scheme: "basic", type: "http" },
11713
11979
  {
@@ -11733,6 +11999,7 @@ var userCurrentDeleteFollow = (options) => (options.client ?? client).delete({
11733
11999
  ...options
11734
12000
  });
11735
12001
  var userCurrentCheckFollowing = (options) => (options.client ?? client).get({
12002
+ responseType: "json",
11736
12003
  security: [
11737
12004
  { scheme: "basic", type: "http" },
11738
12005
  {
@@ -11758,6 +12025,7 @@ var userCurrentCheckFollowing = (options) => (options.client ?? client).get({
11758
12025
  ...options
11759
12026
  });
11760
12027
  var userCurrentPutFollow = (options) => (options.client ?? client).put({
12028
+ responseType: "json",
11761
12029
  security: [
11762
12030
  { scheme: "basic", type: "http" },
11763
12031
  {
@@ -11783,6 +12051,7 @@ var userCurrentPutFollow = (options) => (options.client ?? client).put({
11783
12051
  ...options
11784
12052
  });
11785
12053
  var getVerificationToken = (options) => (options?.client ?? client).get({
12054
+ responseType: "text",
11786
12055
  security: [
11787
12056
  { scheme: "basic", type: "http" },
11788
12057
  {
@@ -11808,6 +12077,7 @@ var getVerificationToken = (options) => (options?.client ?? client).get({
11808
12077
  ...options
11809
12078
  });
11810
12079
  var userVerifyGpgKey = (options) => (options?.client ?? client).post({
12080
+ responseType: "json",
11811
12081
  security: [
11812
12082
  { scheme: "basic", type: "http" },
11813
12083
  {
@@ -11837,6 +12107,7 @@ var userVerifyGpgKey = (options) => (options?.client ?? client).post({
11837
12107
  }
11838
12108
  });
11839
12109
  var userCurrentListGpgKeys = (options) => (options?.client ?? client).get({
12110
+ responseType: "json",
11840
12111
  security: [
11841
12112
  { scheme: "basic", type: "http" },
11842
12113
  {
@@ -11862,6 +12133,7 @@ var userCurrentListGpgKeys = (options) => (options?.client ?? client).get({
11862
12133
  ...options
11863
12134
  });
11864
12135
  var userCurrentPostGpgKey = (options) => (options?.client ?? client).post({
12136
+ responseType: "json",
11865
12137
  security: [
11866
12138
  { scheme: "basic", type: "http" },
11867
12139
  {
@@ -11891,6 +12163,7 @@ var userCurrentPostGpgKey = (options) => (options?.client ?? client).post({
11891
12163
  }
11892
12164
  });
11893
12165
  var userCurrentDeleteGpgKey = (options) => (options.client ?? client).delete({
12166
+ responseType: "json",
11894
12167
  security: [
11895
12168
  { scheme: "basic", type: "http" },
11896
12169
  {
@@ -11916,6 +12189,7 @@ var userCurrentDeleteGpgKey = (options) => (options.client ?? client).delete({
11916
12189
  ...options
11917
12190
  });
11918
12191
  var userCurrentGetGpgKey = (options) => (options.client ?? client).get({
12192
+ responseType: "json",
11919
12193
  security: [
11920
12194
  { scheme: "basic", type: "http" },
11921
12195
  {
@@ -11941,6 +12215,7 @@ var userCurrentGetGpgKey = (options) => (options.client ?? client).get({
11941
12215
  ...options
11942
12216
  });
11943
12217
  var userListHooks = (options) => (options?.client ?? client).get({
12218
+ responseType: "json",
11944
12219
  security: [
11945
12220
  { scheme: "basic", type: "http" },
11946
12221
  {
@@ -11966,6 +12241,7 @@ var userListHooks = (options) => (options?.client ?? client).get({
11966
12241
  ...options
11967
12242
  });
11968
12243
  var userCreateHook = (options) => (options.client ?? client).post({
12244
+ responseType: "json",
11969
12245
  security: [
11970
12246
  { scheme: "basic", type: "http" },
11971
12247
  {
@@ -11995,6 +12271,7 @@ var userCreateHook = (options) => (options.client ?? client).post({
11995
12271
  }
11996
12272
  });
11997
12273
  var userDeleteHook = (options) => (options.client ?? client).delete({
12274
+ responseType: "json",
11998
12275
  security: [
11999
12276
  { scheme: "basic", type: "http" },
12000
12277
  {
@@ -12020,6 +12297,7 @@ var userDeleteHook = (options) => (options.client ?? client).delete({
12020
12297
  ...options
12021
12298
  });
12022
12299
  var userGetHook = (options) => (options.client ?? client).get({
12300
+ responseType: "json",
12023
12301
  security: [
12024
12302
  { scheme: "basic", type: "http" },
12025
12303
  {
@@ -12045,6 +12323,7 @@ var userGetHook = (options) => (options.client ?? client).get({
12045
12323
  ...options
12046
12324
  });
12047
12325
  var userEditHook = (options) => (options.client ?? client).patch({
12326
+ responseType: "json",
12048
12327
  security: [
12049
12328
  { scheme: "basic", type: "http" },
12050
12329
  {
@@ -12074,6 +12353,7 @@ var userEditHook = (options) => (options.client ?? client).patch({
12074
12353
  }
12075
12354
  });
12076
12355
  var userCurrentListKeys = (options) => (options?.client ?? client).get({
12356
+ responseType: "json",
12077
12357
  security: [
12078
12358
  { scheme: "basic", type: "http" },
12079
12359
  {
@@ -12099,6 +12379,7 @@ var userCurrentListKeys = (options) => (options?.client ?? client).get({
12099
12379
  ...options
12100
12380
  });
12101
12381
  var userCurrentPostKey = (options) => (options?.client ?? client).post({
12382
+ responseType: "json",
12102
12383
  security: [
12103
12384
  { scheme: "basic", type: "http" },
12104
12385
  {
@@ -12128,6 +12409,7 @@ var userCurrentPostKey = (options) => (options?.client ?? client).post({
12128
12409
  }
12129
12410
  });
12130
12411
  var userCurrentDeleteKey = (options) => (options.client ?? client).delete({
12412
+ responseType: "json",
12131
12413
  security: [
12132
12414
  { scheme: "basic", type: "http" },
12133
12415
  {
@@ -12153,6 +12435,7 @@ var userCurrentDeleteKey = (options) => (options.client ?? client).delete({
12153
12435
  ...options
12154
12436
  });
12155
12437
  var userCurrentGetKey = (options) => (options.client ?? client).get({
12438
+ responseType: "json",
12156
12439
  security: [
12157
12440
  { scheme: "basic", type: "http" },
12158
12441
  {
@@ -12178,6 +12461,7 @@ var userCurrentGetKey = (options) => (options.client ?? client).get({
12178
12461
  ...options
12179
12462
  });
12180
12463
  var userListBlockedUsers = (options) => (options?.client ?? client).get({
12464
+ responseType: "json",
12181
12465
  security: [
12182
12466
  { scheme: "basic", type: "http" },
12183
12467
  {
@@ -12203,6 +12487,7 @@ var userListBlockedUsers = (options) => (options?.client ?? client).get({
12203
12487
  ...options
12204
12488
  });
12205
12489
  var orgListCurrentUserOrgs = (options) => (options?.client ?? client).get({
12490
+ responseType: "json",
12206
12491
  security: [
12207
12492
  { scheme: "basic", type: "http" },
12208
12493
  {
@@ -12228,6 +12513,7 @@ var orgListCurrentUserOrgs = (options) => (options?.client ?? client).get({
12228
12513
  ...options
12229
12514
  });
12230
12515
  var userGetQuota = (options) => (options?.client ?? client).get({
12516
+ responseType: "json",
12231
12517
  security: [
12232
12518
  { scheme: "basic", type: "http" },
12233
12519
  {
@@ -12253,6 +12539,7 @@ var userGetQuota = (options) => (options?.client ?? client).get({
12253
12539
  ...options
12254
12540
  });
12255
12541
  var userListQuotaArtifacts = (options) => (options?.client ?? client).get({
12542
+ responseType: "json",
12256
12543
  security: [
12257
12544
  { scheme: "basic", type: "http" },
12258
12545
  {
@@ -12278,6 +12565,7 @@ var userListQuotaArtifacts = (options) => (options?.client ?? client).get({
12278
12565
  ...options
12279
12566
  });
12280
12567
  var userListQuotaAttachments = (options) => (options?.client ?? client).get({
12568
+ responseType: "json",
12281
12569
  security: [
12282
12570
  { scheme: "basic", type: "http" },
12283
12571
  {
@@ -12303,6 +12591,7 @@ var userListQuotaAttachments = (options) => (options?.client ?? client).get({
12303
12591
  ...options
12304
12592
  });
12305
12593
  var userCheckQuota = (options) => (options.client ?? client).get({
12594
+ responseType: "json",
12306
12595
  security: [
12307
12596
  { scheme: "basic", type: "http" },
12308
12597
  {
@@ -12328,6 +12617,7 @@ var userCheckQuota = (options) => (options.client ?? client).get({
12328
12617
  ...options
12329
12618
  });
12330
12619
  var userListQuotaPackages = (options) => (options?.client ?? client).get({
12620
+ responseType: "json",
12331
12621
  security: [
12332
12622
  { scheme: "basic", type: "http" },
12333
12623
  {
@@ -12353,6 +12643,7 @@ var userListQuotaPackages = (options) => (options?.client ?? client).get({
12353
12643
  ...options
12354
12644
  });
12355
12645
  var userCurrentListRepos = (options) => (options?.client ?? client).get({
12646
+ responseType: "json",
12356
12647
  security: [
12357
12648
  { scheme: "basic", type: "http" },
12358
12649
  {
@@ -12378,6 +12669,7 @@ var userCurrentListRepos = (options) => (options?.client ?? client).get({
12378
12669
  ...options
12379
12670
  });
12380
12671
  var createCurrentUserRepo = (options) => (options?.client ?? client).post({
12672
+ responseType: "json",
12381
12673
  security: [
12382
12674
  { scheme: "basic", type: "http" },
12383
12675
  {
@@ -12407,6 +12699,7 @@ var createCurrentUserRepo = (options) => (options?.client ?? client).post({
12407
12699
  }
12408
12700
  });
12409
12701
  var getUserSettings = (options) => (options?.client ?? client).get({
12702
+ responseType: "json",
12410
12703
  security: [
12411
12704
  { scheme: "basic", type: "http" },
12412
12705
  {
@@ -12432,6 +12725,7 @@ var getUserSettings = (options) => (options?.client ?? client).get({
12432
12725
  ...options
12433
12726
  });
12434
12727
  var updateUserSettings = (options) => (options?.client ?? client).patch({
12728
+ responseType: "json",
12435
12729
  security: [
12436
12730
  { scheme: "basic", type: "http" },
12437
12731
  {
@@ -12461,6 +12755,7 @@ var updateUserSettings = (options) => (options?.client ?? client).patch({
12461
12755
  }
12462
12756
  });
12463
12757
  var userCurrentListStarred = (options) => (options?.client ?? client).get({
12758
+ responseType: "json",
12464
12759
  security: [
12465
12760
  { scheme: "basic", type: "http" },
12466
12761
  {
@@ -12486,6 +12781,7 @@ var userCurrentListStarred = (options) => (options?.client ?? client).get({
12486
12781
  ...options
12487
12782
  });
12488
12783
  var userCurrentDeleteStar = (options) => (options.client ?? client).delete({
12784
+ responseType: "json",
12489
12785
  security: [
12490
12786
  { scheme: "basic", type: "http" },
12491
12787
  {
@@ -12511,6 +12807,7 @@ var userCurrentDeleteStar = (options) => (options.client ?? client).delete({
12511
12807
  ...options
12512
12808
  });
12513
12809
  var userCurrentCheckStarring = (options) => (options.client ?? client).get({
12810
+ responseType: "json",
12514
12811
  security: [
12515
12812
  { scheme: "basic", type: "http" },
12516
12813
  {
@@ -12536,6 +12833,7 @@ var userCurrentCheckStarring = (options) => (options.client ?? client).get({
12536
12833
  ...options
12537
12834
  });
12538
12835
  var userCurrentPutStar = (options) => (options.client ?? client).put({
12836
+ responseType: "json",
12539
12837
  security: [
12540
12838
  { scheme: "basic", type: "http" },
12541
12839
  {
@@ -12561,6 +12859,7 @@ var userCurrentPutStar = (options) => (options.client ?? client).put({
12561
12859
  ...options
12562
12860
  });
12563
12861
  var userGetStopWatches = (options) => (options?.client ?? client).get({
12862
+ responseType: "json",
12564
12863
  security: [
12565
12864
  { scheme: "basic", type: "http" },
12566
12865
  {
@@ -12586,6 +12885,7 @@ var userGetStopWatches = (options) => (options?.client ?? client).get({
12586
12885
  ...options
12587
12886
  });
12588
12887
  var userCurrentListSubscriptions = (options) => (options?.client ?? client).get({
12888
+ responseType: "json",
12589
12889
  security: [
12590
12890
  { scheme: "basic", type: "http" },
12591
12891
  {
@@ -12611,6 +12911,7 @@ var userCurrentListSubscriptions = (options) => (options?.client ?? client).get(
12611
12911
  ...options
12612
12912
  });
12613
12913
  var userListTeams = (options) => (options?.client ?? client).get({
12914
+ responseType: "json",
12614
12915
  security: [
12615
12916
  { scheme: "basic", type: "http" },
12616
12917
  {
@@ -12636,6 +12937,7 @@ var userListTeams = (options) => (options?.client ?? client).get({
12636
12937
  ...options
12637
12938
  });
12638
12939
  var userCurrentTrackedTimes = (options) => (options?.client ?? client).get({
12940
+ responseType: "json",
12639
12941
  security: [
12640
12942
  { scheme: "basic", type: "http" },
12641
12943
  {
@@ -12661,6 +12963,7 @@ var userCurrentTrackedTimes = (options) => (options?.client ?? client).get({
12661
12963
  ...options
12662
12964
  });
12663
12965
  var userUnblockUser = (options) => (options.client ?? client).put({
12966
+ responseType: "json",
12664
12967
  security: [
12665
12968
  { scheme: "basic", type: "http" },
12666
12969
  {
@@ -12686,6 +12989,7 @@ var userUnblockUser = (options) => (options.client ?? client).put({
12686
12989
  ...options
12687
12990
  });
12688
12991
  var userSearch = (options) => (options?.client ?? client).get({
12992
+ responseType: "json",
12689
12993
  security: [
12690
12994
  { scheme: "basic", type: "http" },
12691
12995
  {
@@ -12711,6 +13015,7 @@ var userSearch = (options) => (options?.client ?? client).get({
12711
13015
  ...options
12712
13016
  });
12713
13017
  var userGet = (options) => (options.client ?? client).get({
13018
+ responseType: "json",
12714
13019
  security: [
12715
13020
  { scheme: "basic", type: "http" },
12716
13021
  {
@@ -12736,6 +13041,7 @@ var userGet = (options) => (options.client ?? client).get({
12736
13041
  ...options
12737
13042
  });
12738
13043
  var userListActivityFeeds = (options) => (options.client ?? client).get({
13044
+ responseType: "json",
12739
13045
  security: [
12740
13046
  { scheme: "basic", type: "http" },
12741
13047
  {
@@ -12761,6 +13067,7 @@ var userListActivityFeeds = (options) => (options.client ?? client).get({
12761
13067
  ...options
12762
13068
  });
12763
13069
  var userListFollowers = (options) => (options.client ?? client).get({
13070
+ responseType: "json",
12764
13071
  security: [
12765
13072
  { scheme: "basic", type: "http" },
12766
13073
  {
@@ -12786,6 +13093,7 @@ var userListFollowers = (options) => (options.client ?? client).get({
12786
13093
  ...options
12787
13094
  });
12788
13095
  var userListFollowing = (options) => (options.client ?? client).get({
13096
+ responseType: "json",
12789
13097
  security: [
12790
13098
  { scheme: "basic", type: "http" },
12791
13099
  {
@@ -12811,6 +13119,7 @@ var userListFollowing = (options) => (options.client ?? client).get({
12811
13119
  ...options
12812
13120
  });
12813
13121
  var userCheckFollowing = (options) => (options.client ?? client).get({
13122
+ responseType: "json",
12814
13123
  security: [
12815
13124
  { scheme: "basic", type: "http" },
12816
13125
  {
@@ -12836,6 +13145,7 @@ var userCheckFollowing = (options) => (options.client ?? client).get({
12836
13145
  ...options
12837
13146
  });
12838
13147
  var userListGpgKeys = (options) => (options.client ?? client).get({
13148
+ responseType: "json",
12839
13149
  security: [
12840
13150
  { scheme: "basic", type: "http" },
12841
13151
  {
@@ -12861,6 +13171,7 @@ var userListGpgKeys = (options) => (options.client ?? client).get({
12861
13171
  ...options
12862
13172
  });
12863
13173
  var userGetHeatmapData = (options) => (options.client ?? client).get({
13174
+ responseType: "json",
12864
13175
  security: [
12865
13176
  { scheme: "basic", type: "http" },
12866
13177
  {
@@ -12886,6 +13197,7 @@ var userGetHeatmapData = (options) => (options.client ?? client).get({
12886
13197
  ...options
12887
13198
  });
12888
13199
  var userListKeys = (options) => (options.client ?? client).get({
13200
+ responseType: "json",
12889
13201
  security: [
12890
13202
  { scheme: "basic", type: "http" },
12891
13203
  {
@@ -12911,6 +13223,7 @@ var userListKeys = (options) => (options.client ?? client).get({
12911
13223
  ...options
12912
13224
  });
12913
13225
  var orgListUserOrgs = (options) => (options.client ?? client).get({
13226
+ responseType: "json",
12914
13227
  security: [
12915
13228
  { scheme: "basic", type: "http" },
12916
13229
  {
@@ -12936,6 +13249,7 @@ var orgListUserOrgs = (options) => (options.client ?? client).get({
12936
13249
  ...options
12937
13250
  });
12938
13251
  var orgGetUserPermissions = (options) => (options.client ?? client).get({
13252
+ responseType: "json",
12939
13253
  security: [
12940
13254
  { scheme: "basic", type: "http" },
12941
13255
  {
@@ -12961,6 +13275,7 @@ var orgGetUserPermissions = (options) => (options.client ?? client).get({
12961
13275
  ...options
12962
13276
  });
12963
13277
  var userListRepos = (options) => (options.client ?? client).get({
13278
+ responseType: "json",
12964
13279
  security: [
12965
13280
  { scheme: "basic", type: "http" },
12966
13281
  {
@@ -12986,6 +13301,7 @@ var userListRepos = (options) => (options.client ?? client).get({
12986
13301
  ...options
12987
13302
  });
12988
13303
  var userListStarred = (options) => (options.client ?? client).get({
13304
+ responseType: "json",
12989
13305
  security: [
12990
13306
  { scheme: "basic", type: "http" },
12991
13307
  {
@@ -13011,6 +13327,7 @@ var userListStarred = (options) => (options.client ?? client).get({
13011
13327
  ...options
13012
13328
  });
13013
13329
  var userListSubscriptions = (options) => (options.client ?? client).get({
13330
+ responseType: "json",
13014
13331
  security: [
13015
13332
  { scheme: "basic", type: "http" },
13016
13333
  {
@@ -13036,6 +13353,7 @@ var userListSubscriptions = (options) => (options.client ?? client).get({
13036
13353
  ...options
13037
13354
  });
13038
13355
  var userGetTokens = (options) => (options.client ?? client).get({
13356
+ responseType: "json",
13039
13357
  security: [
13040
13358
  { scheme: "basic", type: "http" },
13041
13359
  {
@@ -13061,6 +13379,7 @@ var userGetTokens = (options) => (options.client ?? client).get({
13061
13379
  ...options
13062
13380
  });
13063
13381
  var userCreateToken = (options) => (options.client ?? client).post({
13382
+ responseType: "json",
13064
13383
  security: [
13065
13384
  { scheme: "basic", type: "http" },
13066
13385
  {
@@ -13090,6 +13409,7 @@ var userCreateToken = (options) => (options.client ?? client).post({
13090
13409
  }
13091
13410
  });
13092
13411
  var userDeleteAccessToken = (options) => (options.client ?? client).delete({
13412
+ responseType: "json",
13093
13413
  security: [
13094
13414
  { scheme: "basic", type: "http" },
13095
13415
  {
@@ -13115,6 +13435,7 @@ var userDeleteAccessToken = (options) => (options.client ?? client).delete({
13115
13435
  ...options
13116
13436
  });
13117
13437
  var getVersion = (options) => (options?.client ?? client).get({
13438
+ responseType: "json",
13118
13439
  security: [
13119
13440
  { scheme: "basic", type: "http" },
13120
13441
  {