@fern-api/venus-api-sdk 15.3.0 → 15.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +6 -0
  3. package/dist/cjs/Client.js +24 -14
  4. package/dist/cjs/api/resources/admin/client/Client.d.ts +22 -0
  5. package/dist/cjs/api/resources/admin/client/Client.js +134 -0
  6. package/dist/cjs/api/resources/admin/client/index.d.ts +2 -0
  7. package/dist/cjs/api/resources/admin/client/index.js +41 -0
  8. package/dist/cjs/api/resources/admin/client/listClaimableOrganizations.d.ts +25 -0
  9. package/dist/cjs/api/resources/admin/client/listClaimableOrganizations.js +66 -0
  10. package/dist/cjs/api/resources/admin/client/requests/ListClaimableOrganizationsAdminClaimableOrganizationsGetRequest.d.ts +8 -0
  11. package/dist/cjs/api/resources/admin/client/requests/ListClaimableOrganizationsAdminClaimableOrganizationsGetRequest.js +3 -0
  12. package/dist/cjs/api/resources/admin/client/requests/index.d.ts +1 -0
  13. package/dist/cjs/api/resources/admin/client/requests/index.js +2 -0
  14. package/dist/cjs/api/resources/admin/index.d.ts +1 -0
  15. package/dist/cjs/api/resources/admin/index.js +17 -0
  16. package/dist/cjs/api/resources/index.d.ts +4 -0
  17. package/dist/cjs/api/resources/index.js +5 -1
  18. package/dist/cjs/api/resources/oidc/client/Client.d.ts +62 -0
  19. package/dist/cjs/api/resources/oidc/client/Client.js +378 -0
  20. package/dist/cjs/api/resources/oidc/client/exchangeGithubOidcToken.d.ts +25 -0
  21. package/dist/cjs/api/resources/oidc/client/exchangeGithubOidcToken.js +66 -0
  22. package/dist/cjs/api/resources/oidc/client/index.d.ts +5 -0
  23. package/dist/cjs/api/resources/oidc/client/index.js +44 -0
  24. package/dist/cjs/api/resources/oidc/client/listTrustedRepos.d.ts +25 -0
  25. package/dist/cjs/api/resources/oidc/client/listTrustedRepos.js +66 -0
  26. package/dist/cjs/api/resources/oidc/client/requests/GithubOidcExchangeRequest.d.ts +11 -0
  27. package/dist/cjs/api/resources/oidc/client/requests/GithubOidcExchangeRequest.js +3 -0
  28. package/dist/cjs/api/resources/oidc/client/requests/ListTrustedReposOrganizationsOrganizationIdOidcGithubTrustedReposGetRequest.d.ts +9 -0
  29. package/dist/cjs/api/resources/oidc/client/requests/ListTrustedReposOrganizationsOrganizationIdOidcGithubTrustedReposGetRequest.js +3 -0
  30. package/dist/cjs/api/resources/oidc/client/requests/TrustRepoRequest.d.ts +15 -0
  31. package/dist/cjs/api/resources/oidc/client/requests/TrustRepoRequest.js +3 -0
  32. package/dist/cjs/api/resources/oidc/client/requests/UntrustRepoOrganizationsOrganizationIdOidcGithubTrustedReposRepositoryIdDeleteRequest.d.ts +11 -0
  33. package/dist/cjs/api/resources/oidc/client/requests/UntrustRepoOrganizationsOrganizationIdOidcGithubTrustedReposRepositoryIdDeleteRequest.js +3 -0
  34. package/dist/cjs/api/resources/oidc/client/requests/index.d.ts +4 -0
  35. package/dist/cjs/api/resources/oidc/client/requests/index.js +2 -0
  36. package/dist/cjs/api/resources/oidc/client/trustRepo.d.ts +25 -0
  37. package/dist/cjs/api/resources/oidc/client/trustRepo.js +66 -0
  38. package/dist/cjs/api/resources/oidc/client/untrustRepo.d.ts +25 -0
  39. package/dist/cjs/api/resources/oidc/client/untrustRepo.js +66 -0
  40. package/dist/cjs/api/resources/oidc/index.d.ts +1 -0
  41. package/dist/cjs/api/resources/oidc/index.js +17 -0
  42. package/dist/cjs/api/types/ClaimableOrganizationItem.d.ts +8 -0
  43. package/dist/cjs/api/types/ClaimableOrganizationItem.js +3 -0
  44. package/dist/cjs/api/types/ClaimableOrganizationItemPublisherType.d.ts +6 -0
  45. package/dist/cjs/api/types/ClaimableOrganizationItemPublisherType.js +9 -0
  46. package/dist/cjs/api/types/ClaimableOrganizationsPage.d.ts +5 -0
  47. package/dist/cjs/api/types/ClaimableOrganizationsPage.js +3 -0
  48. package/dist/cjs/api/types/TrustedRepo.d.ts +8 -0
  49. package/dist/cjs/api/types/TrustedRepo.js +3 -0
  50. package/dist/cjs/api/types/TrustedRepos.d.ts +4 -0
  51. package/dist/cjs/api/types/TrustedRepos.js +3 -0
  52. package/dist/cjs/api/types/index.d.ts +5 -0
  53. package/dist/cjs/api/types/index.js +5 -0
  54. package/dist/cjs/serialization/resources/index.d.ts +2 -0
  55. package/dist/cjs/serialization/resources/index.js +3 -1
  56. package/dist/cjs/serialization/resources/oidc/client/index.d.ts +1 -0
  57. package/dist/cjs/serialization/resources/oidc/client/index.js +17 -0
  58. package/dist/cjs/serialization/resources/oidc/client/requests/GithubOidcExchangeRequest.d.ts +10 -0
  59. package/dist/cjs/serialization/resources/oidc/client/requests/GithubOidcExchangeRequest.js +42 -0
  60. package/dist/cjs/serialization/resources/oidc/client/requests/TrustRepoRequest.d.ts +10 -0
  61. package/dist/cjs/serialization/resources/oidc/client/requests/TrustRepoRequest.js +42 -0
  62. package/dist/cjs/serialization/resources/oidc/client/requests/index.d.ts +2 -0
  63. package/dist/cjs/serialization/resources/oidc/client/requests/index.js +7 -0
  64. package/dist/cjs/serialization/resources/oidc/index.d.ts +1 -0
  65. package/dist/cjs/serialization/resources/oidc/index.js +17 -0
  66. package/dist/cjs/serialization/types/ClaimableOrganizationItem.d.ts +14 -0
  67. package/dist/cjs/serialization/types/ClaimableOrganizationItem.js +46 -0
  68. package/dist/cjs/serialization/types/ClaimableOrganizationItemPublisherType.d.ts +7 -0
  69. package/dist/cjs/serialization/types/ClaimableOrganizationItemPublisherType.js +39 -0
  70. package/dist/cjs/serialization/types/ClaimableOrganizationsPage.d.ts +11 -0
  71. package/dist/cjs/serialization/types/ClaimableOrganizationsPage.js +43 -0
  72. package/dist/cjs/serialization/types/TrustedRepo.d.ts +14 -0
  73. package/dist/cjs/serialization/types/TrustedRepo.js +46 -0
  74. package/dist/cjs/serialization/types/TrustedRepos.d.ts +10 -0
  75. package/dist/cjs/serialization/types/TrustedRepos.js +42 -0
  76. package/dist/cjs/serialization/types/index.d.ts +5 -0
  77. package/dist/cjs/serialization/types/index.js +5 -0
  78. package/dist/cjs/version.d.ts +1 -1
  79. package/dist/cjs/version.js +1 -1
  80. package/dist/esm/BaseClient.mjs +2 -2
  81. package/dist/esm/Client.d.mts +6 -0
  82. package/dist/esm/Client.mjs +10 -0
  83. package/dist/esm/api/resources/admin/client/Client.d.mts +22 -0
  84. package/dist/esm/api/resources/admin/client/Client.mjs +97 -0
  85. package/dist/esm/api/resources/admin/client/index.d.mts +2 -0
  86. package/dist/esm/api/resources/admin/client/index.mjs +2 -0
  87. package/dist/esm/api/resources/admin/client/listClaimableOrganizations.d.mts +25 -0
  88. package/dist/esm/api/resources/admin/client/listClaimableOrganizations.mjs +30 -0
  89. package/dist/esm/api/resources/admin/client/requests/ListClaimableOrganizationsAdminClaimableOrganizationsGetRequest.d.mts +8 -0
  90. package/dist/esm/api/resources/admin/client/requests/ListClaimableOrganizationsAdminClaimableOrganizationsGetRequest.mjs +2 -0
  91. package/dist/esm/api/resources/admin/client/requests/index.d.mts +1 -0
  92. package/dist/esm/api/resources/admin/client/requests/index.mjs +1 -0
  93. package/dist/esm/api/resources/admin/index.d.mts +1 -0
  94. package/dist/esm/api/resources/admin/index.mjs +1 -0
  95. package/dist/esm/api/resources/index.d.mts +4 -0
  96. package/dist/esm/api/resources/index.mjs +4 -0
  97. package/dist/esm/api/resources/oidc/client/Client.d.mts +62 -0
  98. package/dist/esm/api/resources/oidc/client/Client.mjs +341 -0
  99. package/dist/esm/api/resources/oidc/client/exchangeGithubOidcToken.d.mts +25 -0
  100. package/dist/esm/api/resources/oidc/client/exchangeGithubOidcToken.mjs +30 -0
  101. package/dist/esm/api/resources/oidc/client/index.d.mts +5 -0
  102. package/dist/esm/api/resources/oidc/client/index.mjs +5 -0
  103. package/dist/esm/api/resources/oidc/client/listTrustedRepos.d.mts +25 -0
  104. package/dist/esm/api/resources/oidc/client/listTrustedRepos.mjs +30 -0
  105. package/dist/esm/api/resources/oidc/client/requests/GithubOidcExchangeRequest.d.mts +11 -0
  106. package/dist/esm/api/resources/oidc/client/requests/GithubOidcExchangeRequest.mjs +2 -0
  107. package/dist/esm/api/resources/oidc/client/requests/ListTrustedReposOrganizationsOrganizationIdOidcGithubTrustedReposGetRequest.d.mts +9 -0
  108. package/dist/esm/api/resources/oidc/client/requests/ListTrustedReposOrganizationsOrganizationIdOidcGithubTrustedReposGetRequest.mjs +2 -0
  109. package/dist/esm/api/resources/oidc/client/requests/TrustRepoRequest.d.mts +15 -0
  110. package/dist/esm/api/resources/oidc/client/requests/TrustRepoRequest.mjs +2 -0
  111. package/dist/esm/api/resources/oidc/client/requests/UntrustRepoOrganizationsOrganizationIdOidcGithubTrustedReposRepositoryIdDeleteRequest.d.mts +11 -0
  112. package/dist/esm/api/resources/oidc/client/requests/UntrustRepoOrganizationsOrganizationIdOidcGithubTrustedReposRepositoryIdDeleteRequest.mjs +2 -0
  113. package/dist/esm/api/resources/oidc/client/requests/index.d.mts +4 -0
  114. package/dist/esm/api/resources/oidc/client/requests/index.mjs +1 -0
  115. package/dist/esm/api/resources/oidc/client/trustRepo.d.mts +25 -0
  116. package/dist/esm/api/resources/oidc/client/trustRepo.mjs +30 -0
  117. package/dist/esm/api/resources/oidc/client/untrustRepo.d.mts +25 -0
  118. package/dist/esm/api/resources/oidc/client/untrustRepo.mjs +30 -0
  119. package/dist/esm/api/resources/oidc/index.d.mts +1 -0
  120. package/dist/esm/api/resources/oidc/index.mjs +1 -0
  121. package/dist/esm/api/types/ClaimableOrganizationItem.d.mts +8 -0
  122. package/dist/esm/api/types/ClaimableOrganizationItem.mjs +2 -0
  123. package/dist/esm/api/types/ClaimableOrganizationItemPublisherType.d.mts +6 -0
  124. package/dist/esm/api/types/ClaimableOrganizationItemPublisherType.mjs +6 -0
  125. package/dist/esm/api/types/ClaimableOrganizationsPage.d.mts +5 -0
  126. package/dist/esm/api/types/ClaimableOrganizationsPage.mjs +2 -0
  127. package/dist/esm/api/types/TrustedRepo.d.mts +8 -0
  128. package/dist/esm/api/types/TrustedRepo.mjs +2 -0
  129. package/dist/esm/api/types/TrustedRepos.d.mts +4 -0
  130. package/dist/esm/api/types/TrustedRepos.mjs +2 -0
  131. package/dist/esm/api/types/index.d.mts +5 -0
  132. package/dist/esm/api/types/index.mjs +5 -0
  133. package/dist/esm/serialization/resources/index.d.mts +2 -0
  134. package/dist/esm/serialization/resources/index.mjs +2 -0
  135. package/dist/esm/serialization/resources/oidc/client/index.d.mts +1 -0
  136. package/dist/esm/serialization/resources/oidc/client/index.mjs +1 -0
  137. package/dist/esm/serialization/resources/oidc/client/requests/GithubOidcExchangeRequest.d.mts +10 -0
  138. package/dist/esm/serialization/resources/oidc/client/requests/GithubOidcExchangeRequest.mjs +6 -0
  139. package/dist/esm/serialization/resources/oidc/client/requests/TrustRepoRequest.d.mts +10 -0
  140. package/dist/esm/serialization/resources/oidc/client/requests/TrustRepoRequest.mjs +6 -0
  141. package/dist/esm/serialization/resources/oidc/client/requests/index.d.mts +2 -0
  142. package/dist/esm/serialization/resources/oidc/client/requests/index.mjs +2 -0
  143. package/dist/esm/serialization/resources/oidc/index.d.mts +1 -0
  144. package/dist/esm/serialization/resources/oidc/index.mjs +1 -0
  145. package/dist/esm/serialization/types/ClaimableOrganizationItem.d.mts +14 -0
  146. package/dist/esm/serialization/types/ClaimableOrganizationItem.mjs +10 -0
  147. package/dist/esm/serialization/types/ClaimableOrganizationItemPublisherType.d.mts +7 -0
  148. package/dist/esm/serialization/types/ClaimableOrganizationItemPublisherType.mjs +3 -0
  149. package/dist/esm/serialization/types/ClaimableOrganizationsPage.d.mts +11 -0
  150. package/dist/esm/serialization/types/ClaimableOrganizationsPage.mjs +7 -0
  151. package/dist/esm/serialization/types/TrustedRepo.d.mts +14 -0
  152. package/dist/esm/serialization/types/TrustedRepo.mjs +10 -0
  153. package/dist/esm/serialization/types/TrustedRepos.d.mts +10 -0
  154. package/dist/esm/serialization/types/TrustedRepos.mjs +6 -0
  155. package/dist/esm/serialization/types/index.d.mts +5 -0
  156. package/dist/esm/serialization/types/index.mjs +5 -0
  157. package/dist/esm/version.d.mts +1 -1
  158. package/dist/esm/version.mjs +1 -1
  159. package/package.json +1 -1
  160. package/reference.md +260 -0
@@ -0,0 +1,378 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
+ return new (P || (P = Promise))(function (resolve, reject) {
39
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
43
+ });
44
+ };
45
+ var __rest = (this && this.__rest) || function (s, e) {
46
+ var t = {};
47
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
48
+ t[p] = s[p];
49
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
50
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
51
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
52
+ t[p[i]] = s[p[i]];
53
+ }
54
+ return t;
55
+ };
56
+ Object.defineProperty(exports, "__esModule", { value: true });
57
+ exports.OidcClient = void 0;
58
+ const BaseClient_js_1 = require("../../../../BaseClient.js");
59
+ const headers_js_1 = require("../../../../core/headers.js");
60
+ const core = __importStar(require("../../../../core/index.js"));
61
+ const serializers = __importStar(require("../../../../serialization/index.js"));
62
+ const FernVenusApi = __importStar(require("../../../index.js"));
63
+ class OidcClient {
64
+ constructor(options) {
65
+ this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
66
+ }
67
+ /**
68
+ * @param {FernVenusApi.TrustRepoRequest} request
69
+ * @param {OidcClient.RequestOptions} requestOptions - Request-specific configuration.
70
+ *
71
+ * @example
72
+ * await client.oidc.trustRepo({
73
+ * organizationId: "organization_id",
74
+ * repositoryId: "repository_id",
75
+ * repositoryOwnerId: "repositoryOwnerId",
76
+ * repositoryFullName: "repositoryFullName"
77
+ * })
78
+ */
79
+ trustRepo(request, requestOptions) {
80
+ return core.HttpResponsePromise.fromPromise(this.__trustRepo(request, requestOptions));
81
+ }
82
+ __trustRepo(request, requestOptions) {
83
+ return __awaiter(this, void 0, void 0, function* () {
84
+ var _a, _b, _c, _d, _e, _f, _g, _h;
85
+ const { organizationId, repositoryId } = request, _body = __rest(request, ["organizationId", "repositoryId"]);
86
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
87
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
88
+ const _response = yield core.fetcher({
89
+ url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), `organizations/${core.url.encodePathParam(organizationId)}/oidc/github/trusted-repos/${core.url.encodePathParam(repositoryId)}`),
90
+ method: "PUT",
91
+ headers: _headers,
92
+ contentType: "application/json",
93
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
94
+ requestType: "json",
95
+ body: serializers.TrustRepoRequest.jsonOrThrow(_body, {
96
+ unrecognizedObjectKeys: "strip",
97
+ omitUndefined: true,
98
+ }),
99
+ timeoutMs: ((_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.timeoutInSeconds) !== null && _e !== void 0 ? _e : 60) * 1000,
100
+ maxRetries: (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.maxRetries,
101
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
102
+ fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
103
+ logging: this._options.logging,
104
+ });
105
+ if (_response.ok) {
106
+ return {
107
+ data: {
108
+ ok: true,
109
+ body: serializers.TrustedRepo.parseOrThrow(_response.body, {
110
+ unrecognizedObjectKeys: "passthrough",
111
+ allowUnrecognizedUnionMembers: true,
112
+ allowUnrecognizedEnumValues: true,
113
+ skipValidation: true,
114
+ breadcrumbsPrefix: ["response"],
115
+ }),
116
+ headers: _response.headers,
117
+ rawResponse: _response.rawResponse,
118
+ },
119
+ rawResponse: _response.rawResponse,
120
+ };
121
+ }
122
+ if (_response.error.reason === "status-code") {
123
+ switch (_response.error.statusCode) {
124
+ case 422:
125
+ return {
126
+ data: {
127
+ ok: false,
128
+ error: FernVenusApi.oidc.trustRepo.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
129
+ unrecognizedObjectKeys: "passthrough",
130
+ allowUnrecognizedUnionMembers: true,
131
+ allowUnrecognizedEnumValues: true,
132
+ skipValidation: true,
133
+ breadcrumbsPrefix: ["response"],
134
+ })),
135
+ rawResponse: _response.rawResponse,
136
+ },
137
+ rawResponse: _response.rawResponse,
138
+ };
139
+ }
140
+ }
141
+ return {
142
+ data: {
143
+ ok: false,
144
+ error: FernVenusApi.oidc.trustRepo.Error._unknown(_response.error),
145
+ rawResponse: _response.rawResponse,
146
+ },
147
+ rawResponse: _response.rawResponse,
148
+ };
149
+ });
150
+ }
151
+ /**
152
+ * @param {FernVenusApi.UntrustRepoOrganizationsOrganizationIdOidcGithubTrustedReposRepositoryIdDeleteRequest} request
153
+ * @param {OidcClient.RequestOptions} requestOptions - Request-specific configuration.
154
+ *
155
+ * @example
156
+ * await client.oidc.untrustRepo({
157
+ * organizationId: "organization_id",
158
+ * repositoryId: "repository_id"
159
+ * })
160
+ */
161
+ untrustRepo(request, requestOptions) {
162
+ return core.HttpResponsePromise.fromPromise(this.__untrustRepo(request, requestOptions));
163
+ }
164
+ __untrustRepo(request, requestOptions) {
165
+ return __awaiter(this, void 0, void 0, function* () {
166
+ var _a, _b, _c, _d, _e, _f, _g, _h;
167
+ const { organizationId, repositoryId } = request;
168
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
169
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
170
+ const _response = yield core.fetcher({
171
+ url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), `organizations/${core.url.encodePathParam(organizationId)}/oidc/github/trusted-repos/${core.url.encodePathParam(repositoryId)}`),
172
+ method: "DELETE",
173
+ headers: _headers,
174
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
175
+ timeoutMs: ((_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.timeoutInSeconds) !== null && _e !== void 0 ? _e : 60) * 1000,
176
+ maxRetries: (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.maxRetries,
177
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
178
+ fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
179
+ logging: this._options.logging,
180
+ });
181
+ if (_response.ok) {
182
+ return {
183
+ data: {
184
+ ok: true,
185
+ body: undefined,
186
+ headers: _response.headers,
187
+ rawResponse: _response.rawResponse,
188
+ },
189
+ rawResponse: _response.rawResponse,
190
+ };
191
+ }
192
+ if (_response.error.reason === "status-code") {
193
+ switch (_response.error.statusCode) {
194
+ case 422:
195
+ return {
196
+ data: {
197
+ ok: false,
198
+ error: FernVenusApi.oidc.untrustRepo.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
199
+ unrecognizedObjectKeys: "passthrough",
200
+ allowUnrecognizedUnionMembers: true,
201
+ allowUnrecognizedEnumValues: true,
202
+ skipValidation: true,
203
+ breadcrumbsPrefix: ["response"],
204
+ })),
205
+ rawResponse: _response.rawResponse,
206
+ },
207
+ rawResponse: _response.rawResponse,
208
+ };
209
+ }
210
+ }
211
+ return {
212
+ data: {
213
+ ok: false,
214
+ error: FernVenusApi.oidc.untrustRepo.Error._unknown(_response.error),
215
+ rawResponse: _response.rawResponse,
216
+ },
217
+ rawResponse: _response.rawResponse,
218
+ };
219
+ });
220
+ }
221
+ /**
222
+ * @param {FernVenusApi.ListTrustedReposOrganizationsOrganizationIdOidcGithubTrustedReposGetRequest} request
223
+ * @param {OidcClient.RequestOptions} requestOptions - Request-specific configuration.
224
+ *
225
+ * @example
226
+ * await client.oidc.listTrustedRepos({
227
+ * organizationId: "organization_id"
228
+ * })
229
+ */
230
+ listTrustedRepos(request, requestOptions) {
231
+ return core.HttpResponsePromise.fromPromise(this.__listTrustedRepos(request, requestOptions));
232
+ }
233
+ __listTrustedRepos(request, requestOptions) {
234
+ return __awaiter(this, void 0, void 0, function* () {
235
+ var _a, _b, _c, _d, _e, _f, _g, _h;
236
+ const { organizationId } = request;
237
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
238
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
239
+ const _response = yield core.fetcher({
240
+ url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), `organizations/${core.url.encodePathParam(organizationId)}/oidc/github/trusted-repos`),
241
+ method: "GET",
242
+ headers: _headers,
243
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
244
+ timeoutMs: ((_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.timeoutInSeconds) !== null && _e !== void 0 ? _e : 60) * 1000,
245
+ maxRetries: (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.maxRetries,
246
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
247
+ fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
248
+ logging: this._options.logging,
249
+ });
250
+ if (_response.ok) {
251
+ return {
252
+ data: {
253
+ ok: true,
254
+ body: serializers.TrustedRepos.parseOrThrow(_response.body, {
255
+ unrecognizedObjectKeys: "passthrough",
256
+ allowUnrecognizedUnionMembers: true,
257
+ allowUnrecognizedEnumValues: true,
258
+ skipValidation: true,
259
+ breadcrumbsPrefix: ["response"],
260
+ }),
261
+ headers: _response.headers,
262
+ rawResponse: _response.rawResponse,
263
+ },
264
+ rawResponse: _response.rawResponse,
265
+ };
266
+ }
267
+ if (_response.error.reason === "status-code") {
268
+ switch (_response.error.statusCode) {
269
+ case 422:
270
+ return {
271
+ data: {
272
+ ok: false,
273
+ error: FernVenusApi.oidc.listTrustedRepos.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
274
+ unrecognizedObjectKeys: "passthrough",
275
+ allowUnrecognizedUnionMembers: true,
276
+ allowUnrecognizedEnumValues: true,
277
+ skipValidation: true,
278
+ breadcrumbsPrefix: ["response"],
279
+ })),
280
+ rawResponse: _response.rawResponse,
281
+ },
282
+ rawResponse: _response.rawResponse,
283
+ };
284
+ }
285
+ }
286
+ return {
287
+ data: {
288
+ ok: false,
289
+ error: FernVenusApi.oidc.listTrustedRepos.Error._unknown(_response.error),
290
+ rawResponse: _response.rawResponse,
291
+ },
292
+ rawResponse: _response.rawResponse,
293
+ };
294
+ });
295
+ }
296
+ /**
297
+ * @param {FernVenusApi.GithubOidcExchangeRequest} request
298
+ * @param {OidcClient.RequestOptions} requestOptions - Request-specific configuration.
299
+ *
300
+ * @example
301
+ * await client.oidc.exchangeGithubOidcToken({
302
+ * token: "token",
303
+ * organizationId: "organizationId"
304
+ * })
305
+ */
306
+ exchangeGithubOidcToken(request, requestOptions) {
307
+ return core.HttpResponsePromise.fromPromise(this.__exchangeGithubOidcToken(request, requestOptions));
308
+ }
309
+ __exchangeGithubOidcToken(request, requestOptions) {
310
+ return __awaiter(this, void 0, void 0, function* () {
311
+ var _a, _b, _c, _d, _e, _f, _g, _h;
312
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
313
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
314
+ const _response = yield core.fetcher({
315
+ url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), "auth/oidc/github"),
316
+ method: "POST",
317
+ headers: _headers,
318
+ contentType: "application/json",
319
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
320
+ requestType: "json",
321
+ body: serializers.GithubOidcExchangeRequest.jsonOrThrow(request, {
322
+ unrecognizedObjectKeys: "strip",
323
+ omitUndefined: true,
324
+ }),
325
+ timeoutMs: ((_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.timeoutInSeconds) !== null && _e !== void 0 ? _e : 60) * 1000,
326
+ maxRetries: (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.maxRetries,
327
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
328
+ fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
329
+ logging: this._options.logging,
330
+ });
331
+ if (_response.ok) {
332
+ return {
333
+ data: {
334
+ ok: true,
335
+ body: serializers.JwtResponse.parseOrThrow(_response.body, {
336
+ unrecognizedObjectKeys: "passthrough",
337
+ allowUnrecognizedUnionMembers: true,
338
+ allowUnrecognizedEnumValues: true,
339
+ skipValidation: true,
340
+ breadcrumbsPrefix: ["response"],
341
+ }),
342
+ headers: _response.headers,
343
+ rawResponse: _response.rawResponse,
344
+ },
345
+ rawResponse: _response.rawResponse,
346
+ };
347
+ }
348
+ if (_response.error.reason === "status-code") {
349
+ switch (_response.error.statusCode) {
350
+ case 422:
351
+ return {
352
+ data: {
353
+ ok: false,
354
+ error: FernVenusApi.oidc.exchangeGithubOidcToken.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
355
+ unrecognizedObjectKeys: "passthrough",
356
+ allowUnrecognizedUnionMembers: true,
357
+ allowUnrecognizedEnumValues: true,
358
+ skipValidation: true,
359
+ breadcrumbsPrefix: ["response"],
360
+ })),
361
+ rawResponse: _response.rawResponse,
362
+ },
363
+ rawResponse: _response.rawResponse,
364
+ };
365
+ }
366
+ }
367
+ return {
368
+ data: {
369
+ ok: false,
370
+ error: FernVenusApi.oidc.exchangeGithubOidcToken.Error._unknown(_response.error),
371
+ rawResponse: _response.rawResponse,
372
+ },
373
+ rawResponse: _response.rawResponse,
374
+ };
375
+ });
376
+ }
377
+ }
378
+ exports.OidcClient = OidcClient;
@@ -0,0 +1,25 @@
1
+ import type * as core from "../../../../core/index.js";
2
+ import * as FernVenusApi from "../../../index.js";
3
+ export type Error = FernVenusApi.oidc.exchangeGithubOidcToken.Error.UnprocessableEntityError | FernVenusApi.oidc.exchangeGithubOidcToken.Error._Unknown;
4
+ export declare namespace Error {
5
+ interface UnprocessableEntityError extends _Utils {
6
+ statusCode: 422;
7
+ content: FernVenusApi.HttpValidationError;
8
+ }
9
+ interface _Unknown extends _Utils {
10
+ statusCode: void;
11
+ content: core.Fetcher.Error;
12
+ }
13
+ interface _Utils {
14
+ _visit: <_Result>(visitor: FernVenusApi.oidc.exchangeGithubOidcToken.Error._Visitor<_Result>) => _Result;
15
+ }
16
+ interface _Visitor<_Result> {
17
+ unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => _Result;
18
+ _other: (value: core.Fetcher.Error) => _Result;
19
+ }
20
+ }
21
+ export declare const Error: {
22
+ readonly unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => FernVenusApi.oidc.exchangeGithubOidcToken.Error.UnprocessableEntityError;
23
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.oidc.exchangeGithubOidcToken.Error._Unknown;
24
+ readonly _visit: <_Result>(value: FernVenusApi.oidc.exchangeGithubOidcToken.Error, visitor: FernVenusApi.oidc.exchangeGithubOidcToken.Error._Visitor<_Result>) => _Result;
25
+ };
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.Error = void 0;
38
+ const FernVenusApi = __importStar(require("../../../index.js"));
39
+ exports.Error = {
40
+ unprocessableEntityError: (value) => {
41
+ return {
42
+ content: value,
43
+ statusCode: 422,
44
+ _visit: function (visitor) {
45
+ return FernVenusApi.oidc.exchangeGithubOidcToken.Error._visit(this, visitor);
46
+ },
47
+ };
48
+ },
49
+ _unknown: (fetcherError) => {
50
+ return {
51
+ statusCode: undefined,
52
+ content: fetcherError,
53
+ _visit: function (visitor) {
54
+ return FernVenusApi.oidc.exchangeGithubOidcToken.Error._visit(this, visitor);
55
+ },
56
+ };
57
+ },
58
+ _visit: (value, visitor) => {
59
+ switch (value.statusCode) {
60
+ case 422:
61
+ return visitor.unprocessableEntityError(value.content);
62
+ default:
63
+ return visitor._other(value.content);
64
+ }
65
+ },
66
+ };
@@ -0,0 +1,5 @@
1
+ export * as exchangeGithubOidcToken from "./exchangeGithubOidcToken.js";
2
+ export * as listTrustedRepos from "./listTrustedRepos.js";
3
+ export * from "./requests/index.js";
4
+ export * as trustRepo from "./trustRepo.js";
5
+ export * as untrustRepo from "./untrustRepo.js";
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.untrustRepo = exports.trustRepo = exports.listTrustedRepos = exports.exchangeGithubOidcToken = void 0;
40
+ exports.exchangeGithubOidcToken = __importStar(require("./exchangeGithubOidcToken.js"));
41
+ exports.listTrustedRepos = __importStar(require("./listTrustedRepos.js"));
42
+ __exportStar(require("./requests/index.js"), exports);
43
+ exports.trustRepo = __importStar(require("./trustRepo.js"));
44
+ exports.untrustRepo = __importStar(require("./untrustRepo.js"));
@@ -0,0 +1,25 @@
1
+ import type * as core from "../../../../core/index.js";
2
+ import * as FernVenusApi from "../../../index.js";
3
+ export type Error = FernVenusApi.oidc.listTrustedRepos.Error.UnprocessableEntityError | FernVenusApi.oidc.listTrustedRepos.Error._Unknown;
4
+ export declare namespace Error {
5
+ interface UnprocessableEntityError extends _Utils {
6
+ statusCode: 422;
7
+ content: FernVenusApi.HttpValidationError;
8
+ }
9
+ interface _Unknown extends _Utils {
10
+ statusCode: void;
11
+ content: core.Fetcher.Error;
12
+ }
13
+ interface _Utils {
14
+ _visit: <_Result>(visitor: FernVenusApi.oidc.listTrustedRepos.Error._Visitor<_Result>) => _Result;
15
+ }
16
+ interface _Visitor<_Result> {
17
+ unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => _Result;
18
+ _other: (value: core.Fetcher.Error) => _Result;
19
+ }
20
+ }
21
+ export declare const Error: {
22
+ readonly unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => FernVenusApi.oidc.listTrustedRepos.Error.UnprocessableEntityError;
23
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.oidc.listTrustedRepos.Error._Unknown;
24
+ readonly _visit: <_Result>(value: FernVenusApi.oidc.listTrustedRepos.Error, visitor: FernVenusApi.oidc.listTrustedRepos.Error._Visitor<_Result>) => _Result;
25
+ };
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.Error = void 0;
38
+ const FernVenusApi = __importStar(require("../../../index.js"));
39
+ exports.Error = {
40
+ unprocessableEntityError: (value) => {
41
+ return {
42
+ content: value,
43
+ statusCode: 422,
44
+ _visit: function (visitor) {
45
+ return FernVenusApi.oidc.listTrustedRepos.Error._visit(this, visitor);
46
+ },
47
+ };
48
+ },
49
+ _unknown: (fetcherError) => {
50
+ return {
51
+ statusCode: undefined,
52
+ content: fetcherError,
53
+ _visit: function (visitor) {
54
+ return FernVenusApi.oidc.listTrustedRepos.Error._visit(this, visitor);
55
+ },
56
+ };
57
+ },
58
+ _visit: (value, visitor) => {
59
+ switch (value.statusCode) {
60
+ case 422:
61
+ return visitor.unprocessableEntityError(value.content);
62
+ default:
63
+ return visitor._other(value.content);
64
+ }
65
+ },
66
+ };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * token: "token",
5
+ * organizationId: "organizationId"
6
+ * }
7
+ */
8
+ export interface GithubOidcExchangeRequest {
9
+ token: string;
10
+ organizationId: string;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * organizationId: "organization_id"
5
+ * }
6
+ */
7
+ export interface ListTrustedReposOrganizationsOrganizationIdOidcGithubTrustedReposGetRequest {
8
+ organizationId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * organizationId: "organization_id",
5
+ * repositoryId: "repository_id",
6
+ * repositoryOwnerId: "repositoryOwnerId",
7
+ * repositoryFullName: "repositoryFullName"
8
+ * }
9
+ */
10
+ export interface TrustRepoRequest {
11
+ organizationId: string;
12
+ repositoryId: string;
13
+ repositoryOwnerId: string;
14
+ repositoryFullName: string;
15
+ }