@mesadev/sdk 0.1.0 → 0.1.3
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/.devcontainer/devcontainer.json +38 -36
- package/FUNCTIONS.md +2 -2
- package/README.md +159 -133
- package/dist/commonjs/funcs/agentBlameGetOrgRepoAgentblame.d.ts +18 -0
- package/dist/commonjs/funcs/agentBlameGetOrgRepoAgentblame.d.ts.map +1 -0
- package/dist/commonjs/funcs/agentBlameGetOrgRepoAgentblame.js +133 -0
- package/dist/commonjs/funcs/agentBlameGetOrgRepoAgentblame.js.map +1 -0
- package/dist/commonjs/funcs/agentBlameGetOrgRepoAnalytics.d.ts +18 -0
- package/dist/commonjs/funcs/agentBlameGetOrgRepoAnalytics.d.ts.map +1 -0
- package/dist/commonjs/funcs/agentBlameGetOrgRepoAnalytics.js +132 -0
- package/dist/commonjs/funcs/agentBlameGetOrgRepoAnalytics.js.map +1 -0
- package/dist/commonjs/funcs/agentBlamePostOrgRepoAnalyticsRefresh.d.ts +18 -0
- package/dist/commonjs/funcs/agentBlamePostOrgRepoAnalyticsRefresh.d.ts.map +1 -0
- package/dist/commonjs/funcs/agentBlamePostOrgRepoAnalyticsRefresh.js +128 -0
- package/dist/commonjs/funcs/agentBlamePostOrgRepoAnalyticsRefresh.js.map +1 -0
- package/dist/commonjs/funcs/contentGet.js +8 -0
- package/dist/commonjs/funcs/contentGet.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +4 -4
- package/dist/commonjs/lib/config.d.ts.map +1 -1
- package/dist/commonjs/lib/config.js +4 -4
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/models/errors/getorgrepoagentblame.d.ts +151 -0
- package/dist/commonjs/models/errors/getorgrepoagentblame.d.ts.map +1 -0
- package/dist/commonjs/models/errors/getorgrepoagentblame.js +232 -0
- package/dist/commonjs/models/errors/getorgrepoagentblame.js.map +1 -0
- package/dist/commonjs/models/errors/getorgrepoanalytics.d.ts +151 -0
- package/dist/commonjs/models/errors/getorgrepoanalytics.d.ts.map +1 -0
- package/dist/commonjs/models/errors/getorgrepoanalytics.js +232 -0
- package/dist/commonjs/models/errors/getorgrepoanalytics.js.map +1 -0
- package/dist/commonjs/models/errors/index.d.ts +3 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +3 -0
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/errors/postorgrepoanalyticsrefresh.d.ts +151 -0
- package/dist/commonjs/models/errors/postorgrepoanalyticsrefresh.d.ts.map +1 -0
- package/dist/commonjs/models/errors/postorgrepoanalyticsrefresh.js +235 -0
- package/dist/commonjs/models/errors/postorgrepoanalyticsrefresh.js.map +1 -0
- package/dist/commonjs/models/operations/getorgrepoagentblame.d.ts +121 -0
- package/dist/commonjs/models/operations/getorgrepoagentblame.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getorgrepoagentblame.js +170 -0
- package/dist/commonjs/models/operations/getorgrepoagentblame.js.map +1 -0
- package/dist/commonjs/models/operations/getorgrepoanalytics.d.ts +183 -0
- package/dist/commonjs/models/operations/getorgrepoanalytics.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getorgrepoanalytics.js +217 -0
- package/dist/commonjs/models/operations/getorgrepoanalytics.js.map +1 -0
- package/dist/commonjs/models/operations/getorgrepobranches.d.ts +1 -1
- package/dist/commonjs/models/operations/getorgrepobranches.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getorgrepobranches.js +1 -1
- package/dist/commonjs/models/operations/getorgrepobranches.js.map +1 -1
- package/dist/commonjs/models/operations/getorgrepocommits.d.ts +1 -1
- package/dist/commonjs/models/operations/getorgrepocommits.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getorgrepocommits.js +1 -1
- package/dist/commonjs/models/operations/getorgrepocommits.js.map +1 -1
- package/dist/commonjs/models/operations/getorgrepocontent.d.ts +12 -2
- package/dist/commonjs/models/operations/getorgrepocontent.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getorgrepocontent.js +7 -2
- package/dist/commonjs/models/operations/getorgrepocontent.js.map +1 -1
- package/dist/commonjs/models/operations/getorgrepodiff.d.ts +4 -4
- package/dist/commonjs/models/operations/getorgrepodiff.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getorgrepodiff.js +6 -6
- package/dist/commonjs/models/operations/getorgrepodiff.js.map +1 -1
- package/dist/commonjs/models/operations/getorgrepos.d.ts +1 -1
- package/dist/commonjs/models/operations/getorgrepos.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getorgrepos.js +1 -1
- package/dist/commonjs/models/operations/getorgrepos.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +3 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +3 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/postorgrepoanalyticsrefresh.d.ts +172 -0
- package/dist/commonjs/models/operations/postorgrepoanalyticsrefresh.d.ts.map +1 -0
- package/dist/commonjs/models/operations/postorgrepoanalyticsrefresh.js +209 -0
- package/dist/commonjs/models/operations/postorgrepoanalyticsrefresh.js.map +1 -0
- package/dist/commonjs/sdk/agentblame.d.ts +26 -0
- package/dist/commonjs/sdk/agentblame.d.ts.map +1 -0
- package/dist/commonjs/sdk/agentblame.js +42 -0
- package/dist/commonjs/sdk/agentblame.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +3 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/funcs/agentBlameGetOrgRepoAgentblame.d.ts +18 -0
- package/dist/esm/funcs/agentBlameGetOrgRepoAgentblame.d.ts.map +1 -0
- package/dist/esm/funcs/agentBlameGetOrgRepoAgentblame.js +97 -0
- package/dist/esm/funcs/agentBlameGetOrgRepoAgentblame.js.map +1 -0
- package/dist/esm/funcs/agentBlameGetOrgRepoAnalytics.d.ts +18 -0
- package/dist/esm/funcs/agentBlameGetOrgRepoAnalytics.d.ts.map +1 -0
- package/dist/esm/funcs/agentBlameGetOrgRepoAnalytics.js +96 -0
- package/dist/esm/funcs/agentBlameGetOrgRepoAnalytics.js.map +1 -0
- package/dist/esm/funcs/agentBlamePostOrgRepoAnalyticsRefresh.d.ts +18 -0
- package/dist/esm/funcs/agentBlamePostOrgRepoAnalyticsRefresh.d.ts.map +1 -0
- package/dist/esm/funcs/agentBlamePostOrgRepoAnalyticsRefresh.js +92 -0
- package/dist/esm/funcs/agentBlamePostOrgRepoAnalyticsRefresh.js.map +1 -0
- package/dist/esm/funcs/contentGet.js +9 -1
- package/dist/esm/funcs/contentGet.js.map +1 -1
- package/dist/esm/lib/config.d.ts +4 -4
- package/dist/esm/lib/config.d.ts.map +1 -1
- package/dist/esm/lib/config.js +4 -4
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/models/errors/getorgrepoagentblame.d.ts +151 -0
- package/dist/esm/models/errors/getorgrepoagentblame.d.ts.map +1 -0
- package/dist/esm/models/errors/getorgrepoagentblame.js +189 -0
- package/dist/esm/models/errors/getorgrepoagentblame.js.map +1 -0
- package/dist/esm/models/errors/getorgrepoanalytics.d.ts +151 -0
- package/dist/esm/models/errors/getorgrepoanalytics.d.ts.map +1 -0
- package/dist/esm/models/errors/getorgrepoanalytics.js +189 -0
- package/dist/esm/models/errors/getorgrepoanalytics.js.map +1 -0
- package/dist/esm/models/errors/index.d.ts +3 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +3 -0
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/errors/postorgrepoanalyticsrefresh.d.ts +151 -0
- package/dist/esm/models/errors/postorgrepoanalyticsrefresh.d.ts.map +1 -0
- package/dist/esm/models/errors/postorgrepoanalyticsrefresh.js +192 -0
- package/dist/esm/models/errors/postorgrepoanalyticsrefresh.js.map +1 -0
- package/dist/esm/models/operations/getorgrepoagentblame.d.ts +121 -0
- package/dist/esm/models/operations/getorgrepoagentblame.d.ts.map +1 -0
- package/dist/esm/models/operations/getorgrepoagentblame.js +123 -0
- package/dist/esm/models/operations/getorgrepoagentblame.js.map +1 -0
- package/dist/esm/models/operations/getorgrepoanalytics.d.ts +183 -0
- package/dist/esm/models/operations/getorgrepoanalytics.d.ts.map +1 -0
- package/dist/esm/models/operations/getorgrepoanalytics.js +167 -0
- package/dist/esm/models/operations/getorgrepoanalytics.js.map +1 -0
- package/dist/esm/models/operations/getorgrepobranches.d.ts +1 -1
- package/dist/esm/models/operations/getorgrepobranches.d.ts.map +1 -1
- package/dist/esm/models/operations/getorgrepobranches.js +1 -1
- package/dist/esm/models/operations/getorgrepobranches.js.map +1 -1
- package/dist/esm/models/operations/getorgrepocommits.d.ts +1 -1
- package/dist/esm/models/operations/getorgrepocommits.d.ts.map +1 -1
- package/dist/esm/models/operations/getorgrepocommits.js +1 -1
- package/dist/esm/models/operations/getorgrepocommits.js.map +1 -1
- package/dist/esm/models/operations/getorgrepocontent.d.ts +12 -2
- package/dist/esm/models/operations/getorgrepocontent.d.ts.map +1 -1
- package/dist/esm/models/operations/getorgrepocontent.js +7 -2
- package/dist/esm/models/operations/getorgrepocontent.js.map +1 -1
- package/dist/esm/models/operations/getorgrepodiff.d.ts +4 -4
- package/dist/esm/models/operations/getorgrepodiff.d.ts.map +1 -1
- package/dist/esm/models/operations/getorgrepodiff.js +4 -4
- package/dist/esm/models/operations/getorgrepodiff.js.map +1 -1
- package/dist/esm/models/operations/getorgrepos.d.ts +1 -1
- package/dist/esm/models/operations/getorgrepos.d.ts.map +1 -1
- package/dist/esm/models/operations/getorgrepos.js +1 -1
- package/dist/esm/models/operations/getorgrepos.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +3 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +3 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/postorgrepoanalyticsrefresh.d.ts +172 -0
- package/dist/esm/models/operations/postorgrepoanalyticsrefresh.d.ts.map +1 -0
- package/dist/esm/models/operations/postorgrepoanalyticsrefresh.js +159 -0
- package/dist/esm/models/operations/postorgrepoanalyticsrefresh.js.map +1 -0
- package/dist/esm/sdk/agentblame.d.ts +26 -0
- package/dist/esm/sdk/agentblame.d.ts.map +1 -0
- package/dist/esm/sdk/agentblame.js +38 -0
- package/dist/esm/sdk/agentblame.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +3 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/examples/adminCreateApiKey.example.ts +5 -7
- package/examples/package.json +3 -3
- package/jsr.json +15 -6
- package/package.json +12 -9
- package/src/funcs/agentBlameGetOrgRepoAgentblame.ts +214 -0
- package/src/funcs/agentBlameGetOrgRepoAnalytics.ts +210 -0
- package/src/funcs/agentBlamePostOrgRepoAnalyticsRefresh.ts +229 -0
- package/src/funcs/contentGet.ts +10 -1
- package/src/lib/config.ts +4 -4
- package/src/models/errors/getorgrepoagentblame.ts +367 -0
- package/src/models/errors/getorgrepoanalytics.ts +369 -0
- package/src/models/errors/index.ts +3 -0
- package/src/models/errors/postorgrepoanalyticsrefresh.ts +360 -0
- package/src/models/operations/getorgrepoagentblame.ts +338 -0
- package/src/models/operations/getorgrepoanalytics.ts +456 -0
- package/src/models/operations/getorgrepobranches.ts +2 -2
- package/src/models/operations/getorgrepocommits.ts +2 -2
- package/src/models/operations/getorgrepocontent.ts +19 -4
- package/src/models/operations/getorgrepodiff.ts +11 -8
- package/src/models/operations/getorgrepos.ts +2 -2
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/postorgrepoanalyticsrefresh.ts +479 -0
- package/src/sdk/agentblame.ts +63 -0
- package/src/sdk/sdk.ts +6 -0
- package/tsconfig.json +1 -0
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { MesaCore } from "../core.js";
|
|
7
|
+
import { encodeSimple } from "../lib/encodings.js";
|
|
8
|
+
import * as M from "../lib/matchers.js";
|
|
9
|
+
import { compactMap } from "../lib/primitives.js";
|
|
10
|
+
import { safeParse } from "../lib/schemas.js";
|
|
11
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
12
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
13
|
+
import { pathToFunc } from "../lib/url.js";
|
|
14
|
+
import {
|
|
15
|
+
ConnectionError,
|
|
16
|
+
InvalidRequestError,
|
|
17
|
+
RequestAbortedError,
|
|
18
|
+
RequestTimeoutError,
|
|
19
|
+
UnexpectedClientError,
|
|
20
|
+
} from "../models/errors/httpclienterrors.js";
|
|
21
|
+
import * as errors from "../models/errors/index.js";
|
|
22
|
+
import { MesaError } from "../models/errors/mesaerror.js";
|
|
23
|
+
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
24
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
25
|
+
import * as operations from "../models/operations/index.js";
|
|
26
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
27
|
+
import { Result } from "../types/fp.js";
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Refresh repository analytics
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
* Trigger a full re-aggregation of repository analytics
|
|
34
|
+
*/
|
|
35
|
+
export function agentBlamePostOrgRepoAnalyticsRefresh(
|
|
36
|
+
client: MesaCore,
|
|
37
|
+
request: operations.PostOrgRepoAnalyticsRefreshRequest,
|
|
38
|
+
options?: RequestOptions,
|
|
39
|
+
): APIPromise<
|
|
40
|
+
Result<
|
|
41
|
+
operations.PostOrgRepoAnalyticsRefreshResponse,
|
|
42
|
+
| errors.PostOrgRepoAnalyticsRefreshBadRequestError
|
|
43
|
+
| errors.PostOrgRepoAnalyticsRefreshUnauthorizedError
|
|
44
|
+
| errors.PostOrgRepoAnalyticsRefreshForbiddenError
|
|
45
|
+
| errors.PostOrgRepoAnalyticsRefreshNotFoundError
|
|
46
|
+
| errors.PostOrgRepoAnalyticsRefreshNotAcceptableError
|
|
47
|
+
| errors.PostOrgRepoAnalyticsRefreshConflictError
|
|
48
|
+
| errors.PostOrgRepoAnalyticsRefreshInternalServerError
|
|
49
|
+
| MesaError
|
|
50
|
+
| ResponseValidationError
|
|
51
|
+
| ConnectionError
|
|
52
|
+
| RequestAbortedError
|
|
53
|
+
| RequestTimeoutError
|
|
54
|
+
| InvalidRequestError
|
|
55
|
+
| UnexpectedClientError
|
|
56
|
+
| SDKValidationError
|
|
57
|
+
>
|
|
58
|
+
> {
|
|
59
|
+
return new APIPromise($do(
|
|
60
|
+
client,
|
|
61
|
+
request,
|
|
62
|
+
options,
|
|
63
|
+
));
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
async function $do(
|
|
67
|
+
client: MesaCore,
|
|
68
|
+
request: operations.PostOrgRepoAnalyticsRefreshRequest,
|
|
69
|
+
options?: RequestOptions,
|
|
70
|
+
): Promise<
|
|
71
|
+
[
|
|
72
|
+
Result<
|
|
73
|
+
operations.PostOrgRepoAnalyticsRefreshResponse,
|
|
74
|
+
| errors.PostOrgRepoAnalyticsRefreshBadRequestError
|
|
75
|
+
| errors.PostOrgRepoAnalyticsRefreshUnauthorizedError
|
|
76
|
+
| errors.PostOrgRepoAnalyticsRefreshForbiddenError
|
|
77
|
+
| errors.PostOrgRepoAnalyticsRefreshNotFoundError
|
|
78
|
+
| errors.PostOrgRepoAnalyticsRefreshNotAcceptableError
|
|
79
|
+
| errors.PostOrgRepoAnalyticsRefreshConflictError
|
|
80
|
+
| errors.PostOrgRepoAnalyticsRefreshInternalServerError
|
|
81
|
+
| MesaError
|
|
82
|
+
| ResponseValidationError
|
|
83
|
+
| ConnectionError
|
|
84
|
+
| RequestAbortedError
|
|
85
|
+
| RequestTimeoutError
|
|
86
|
+
| InvalidRequestError
|
|
87
|
+
| UnexpectedClientError
|
|
88
|
+
| SDKValidationError
|
|
89
|
+
>,
|
|
90
|
+
APICall,
|
|
91
|
+
]
|
|
92
|
+
> {
|
|
93
|
+
const parsed = safeParse(
|
|
94
|
+
request,
|
|
95
|
+
(value) =>
|
|
96
|
+
z.parse(
|
|
97
|
+
operations.PostOrgRepoAnalyticsRefreshRequest$outboundSchema,
|
|
98
|
+
value,
|
|
99
|
+
),
|
|
100
|
+
"Input validation failed",
|
|
101
|
+
);
|
|
102
|
+
if (!parsed.ok) {
|
|
103
|
+
return [parsed, { status: "invalid" }];
|
|
104
|
+
}
|
|
105
|
+
const payload = parsed.value;
|
|
106
|
+
const body = null;
|
|
107
|
+
|
|
108
|
+
const pathParams = {
|
|
109
|
+
org: encodeSimple("org", payload.org, {
|
|
110
|
+
explode: false,
|
|
111
|
+
charEncoding: "percent",
|
|
112
|
+
}),
|
|
113
|
+
repo: encodeSimple("repo", payload.repo, {
|
|
114
|
+
explode: false,
|
|
115
|
+
charEncoding: "percent",
|
|
116
|
+
}),
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
const path = pathToFunc("/{org}/{repo}/analytics/refresh")(pathParams);
|
|
120
|
+
|
|
121
|
+
const headers = new Headers(compactMap({
|
|
122
|
+
Accept: "application/json",
|
|
123
|
+
}));
|
|
124
|
+
|
|
125
|
+
const secConfig = await extractSecurity(client._options.apiKey);
|
|
126
|
+
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
127
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
128
|
+
|
|
129
|
+
const context = {
|
|
130
|
+
options: client._options,
|
|
131
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
132
|
+
operationID: "post:org:repoAnalyticsRefresh",
|
|
133
|
+
oAuth2Scopes: null,
|
|
134
|
+
|
|
135
|
+
resolvedSecurity: requestSecurity,
|
|
136
|
+
|
|
137
|
+
securitySource: client._options.apiKey,
|
|
138
|
+
retryConfig: options?.retries
|
|
139
|
+
|| client._options.retryConfig
|
|
140
|
+
|| { strategy: "none" },
|
|
141
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
const requestRes = client._createRequest(context, {
|
|
145
|
+
security: requestSecurity,
|
|
146
|
+
method: "POST",
|
|
147
|
+
baseURL: options?.serverURL,
|
|
148
|
+
path: path,
|
|
149
|
+
headers: headers,
|
|
150
|
+
body: body,
|
|
151
|
+
userAgent: client._options.userAgent,
|
|
152
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
153
|
+
}, options);
|
|
154
|
+
if (!requestRes.ok) {
|
|
155
|
+
return [requestRes, { status: "invalid" }];
|
|
156
|
+
}
|
|
157
|
+
const req = requestRes.value;
|
|
158
|
+
|
|
159
|
+
const doResult = await client._do(req, {
|
|
160
|
+
context,
|
|
161
|
+
errorCodes: ["400", "401", "403", "404", "406", "409", "4XX", "500", "5XX"],
|
|
162
|
+
retryConfig: context.retryConfig,
|
|
163
|
+
retryCodes: context.retryCodes,
|
|
164
|
+
});
|
|
165
|
+
if (!doResult.ok) {
|
|
166
|
+
return [doResult, { status: "request-error", request: req }];
|
|
167
|
+
}
|
|
168
|
+
const response = doResult.value;
|
|
169
|
+
|
|
170
|
+
const responseFields = {
|
|
171
|
+
HttpMeta: { Response: response, Request: req },
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
const [result] = await M.match<
|
|
175
|
+
operations.PostOrgRepoAnalyticsRefreshResponse,
|
|
176
|
+
| errors.PostOrgRepoAnalyticsRefreshBadRequestError
|
|
177
|
+
| errors.PostOrgRepoAnalyticsRefreshUnauthorizedError
|
|
178
|
+
| errors.PostOrgRepoAnalyticsRefreshForbiddenError
|
|
179
|
+
| errors.PostOrgRepoAnalyticsRefreshNotFoundError
|
|
180
|
+
| errors.PostOrgRepoAnalyticsRefreshNotAcceptableError
|
|
181
|
+
| errors.PostOrgRepoAnalyticsRefreshConflictError
|
|
182
|
+
| errors.PostOrgRepoAnalyticsRefreshInternalServerError
|
|
183
|
+
| MesaError
|
|
184
|
+
| ResponseValidationError
|
|
185
|
+
| ConnectionError
|
|
186
|
+
| RequestAbortedError
|
|
187
|
+
| RequestTimeoutError
|
|
188
|
+
| InvalidRequestError
|
|
189
|
+
| UnexpectedClientError
|
|
190
|
+
| SDKValidationError
|
|
191
|
+
>(
|
|
192
|
+
M.json(200, operations.PostOrgRepoAnalyticsRefreshResponse$inboundSchema),
|
|
193
|
+
M.jsonErr(
|
|
194
|
+
400,
|
|
195
|
+
errors.PostOrgRepoAnalyticsRefreshBadRequestError$inboundSchema,
|
|
196
|
+
),
|
|
197
|
+
M.jsonErr(
|
|
198
|
+
401,
|
|
199
|
+
errors.PostOrgRepoAnalyticsRefreshUnauthorizedError$inboundSchema,
|
|
200
|
+
),
|
|
201
|
+
M.jsonErr(
|
|
202
|
+
403,
|
|
203
|
+
errors.PostOrgRepoAnalyticsRefreshForbiddenError$inboundSchema,
|
|
204
|
+
),
|
|
205
|
+
M.jsonErr(
|
|
206
|
+
404,
|
|
207
|
+
errors.PostOrgRepoAnalyticsRefreshNotFoundError$inboundSchema,
|
|
208
|
+
),
|
|
209
|
+
M.jsonErr(
|
|
210
|
+
406,
|
|
211
|
+
errors.PostOrgRepoAnalyticsRefreshNotAcceptableError$inboundSchema,
|
|
212
|
+
),
|
|
213
|
+
M.jsonErr(
|
|
214
|
+
409,
|
|
215
|
+
errors.PostOrgRepoAnalyticsRefreshConflictError$inboundSchema,
|
|
216
|
+
),
|
|
217
|
+
M.jsonErr(
|
|
218
|
+
500,
|
|
219
|
+
errors.PostOrgRepoAnalyticsRefreshInternalServerError$inboundSchema,
|
|
220
|
+
),
|
|
221
|
+
M.fail("4XX"),
|
|
222
|
+
M.fail("5XX"),
|
|
223
|
+
)(response, req, { extraFields: responseFields });
|
|
224
|
+
if (!result.ok) {
|
|
225
|
+
return [result, { status: "complete", request: req, response }];
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
return [result, { status: "complete", request: req, response }];
|
|
229
|
+
}
|
package/src/funcs/contentGet.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { MesaCore } from "../core.js";
|
|
7
|
-
import { encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
8
8
|
import * as M from "../lib/matchers.js";
|
|
9
9
|
import { compactMap } from "../lib/primitives.js";
|
|
10
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -115,6 +115,14 @@ async function $do(
|
|
|
115
115
|
|
|
116
116
|
const path = pathToFunc("/{org}/{repo}/content")(pathParams);
|
|
117
117
|
|
|
118
|
+
const query = encodeFormQuery({
|
|
119
|
+
"cursor": payload.cursor,
|
|
120
|
+
"depth": payload.depth,
|
|
121
|
+
"limit": payload.limit,
|
|
122
|
+
"path": payload.path,
|
|
123
|
+
"ref": payload.ref,
|
|
124
|
+
});
|
|
125
|
+
|
|
118
126
|
const headers = new Headers(compactMap({
|
|
119
127
|
Accept: "application/json;q=1, application/octet-stream;q=0",
|
|
120
128
|
}));
|
|
@@ -144,6 +152,7 @@ async function $do(
|
|
|
144
152
|
baseURL: options?.serverURL,
|
|
145
153
|
path: path,
|
|
146
154
|
headers: headers,
|
|
155
|
+
query: query,
|
|
147
156
|
body: body,
|
|
148
157
|
userAgent: client._options.userAgent,
|
|
149
158
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
package/src/lib/config.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { Params, pathToFunc } from "./url.js";
|
|
|
11
11
|
* Contains the list of servers available to the SDK
|
|
12
12
|
*/
|
|
13
13
|
export const ServerList = [
|
|
14
|
-
"https://depot.mesa.dev",
|
|
14
|
+
"https://depot.mesa.dev/api/v1",
|
|
15
15
|
] as const;
|
|
16
16
|
|
|
17
17
|
export type SDKOptions = {
|
|
@@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
58
58
|
export const SDK_METADATA = {
|
|
59
59
|
language: "typescript",
|
|
60
60
|
openapiDocVersion: "1.0.0",
|
|
61
|
-
sdkVersion: "0.
|
|
62
|
-
genVersion: "2.
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
61
|
+
sdkVersion: "0.1.3",
|
|
62
|
+
genVersion: "2.801.0",
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 0.1.3 2.801.0 1.0.0 @mesadev/sdk",
|
|
64
64
|
} as const;
|
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import * as operations from "../operations/index.js";
|
|
7
|
+
import { MesaError } from "./mesaerror.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Internal error
|
|
11
|
+
*/
|
|
12
|
+
export type GetOrgRepoAgentblameInternalServerErrorData = {
|
|
13
|
+
error: operations.GetOrgRepoAgentblameInternalServerErrorError;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Internal error
|
|
18
|
+
*/
|
|
19
|
+
export class GetOrgRepoAgentblameInternalServerError extends MesaError {
|
|
20
|
+
error: operations.GetOrgRepoAgentblameInternalServerErrorError;
|
|
21
|
+
|
|
22
|
+
/** The original data that was passed to this error instance. */
|
|
23
|
+
data$: GetOrgRepoAgentblameInternalServerErrorData;
|
|
24
|
+
|
|
25
|
+
constructor(
|
|
26
|
+
err: GetOrgRepoAgentblameInternalServerErrorData,
|
|
27
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
28
|
+
) {
|
|
29
|
+
const message = err.error?.message
|
|
30
|
+
|| `API error occurred: ${JSON.stringify(err)}`;
|
|
31
|
+
super(message, httpMeta);
|
|
32
|
+
this.data$ = err;
|
|
33
|
+
this.error = err.error;
|
|
34
|
+
|
|
35
|
+
this.name = "GetOrgRepoAgentblameInternalServerError";
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Conflict
|
|
41
|
+
*/
|
|
42
|
+
export type GetOrgRepoAgentblameConflictErrorData = {
|
|
43
|
+
error: operations.GetOrgRepoAgentblameConflictError;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Conflict
|
|
48
|
+
*/
|
|
49
|
+
export class GetOrgRepoAgentblameConflictError extends MesaError {
|
|
50
|
+
error: operations.GetOrgRepoAgentblameConflictError;
|
|
51
|
+
|
|
52
|
+
/** The original data that was passed to this error instance. */
|
|
53
|
+
data$: GetOrgRepoAgentblameConflictErrorData;
|
|
54
|
+
|
|
55
|
+
constructor(
|
|
56
|
+
err: GetOrgRepoAgentblameConflictErrorData,
|
|
57
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
58
|
+
) {
|
|
59
|
+
const message = err.error?.message
|
|
60
|
+
|| `API error occurred: ${JSON.stringify(err)}`;
|
|
61
|
+
super(message, httpMeta);
|
|
62
|
+
this.data$ = err;
|
|
63
|
+
this.error = err.error;
|
|
64
|
+
|
|
65
|
+
this.name = "GetOrgRepoAgentblameConflictError";
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Not acceptable
|
|
71
|
+
*/
|
|
72
|
+
export type GetOrgRepoAgentblameNotAcceptableErrorData = {
|
|
73
|
+
error: operations.GetOrgRepoAgentblameNotAcceptableError;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Not acceptable
|
|
78
|
+
*/
|
|
79
|
+
export class GetOrgRepoAgentblameNotAcceptableError extends MesaError {
|
|
80
|
+
error: operations.GetOrgRepoAgentblameNotAcceptableError;
|
|
81
|
+
|
|
82
|
+
/** The original data that was passed to this error instance. */
|
|
83
|
+
data$: GetOrgRepoAgentblameNotAcceptableErrorData;
|
|
84
|
+
|
|
85
|
+
constructor(
|
|
86
|
+
err: GetOrgRepoAgentblameNotAcceptableErrorData,
|
|
87
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
88
|
+
) {
|
|
89
|
+
const message = err.error?.message
|
|
90
|
+
|| `API error occurred: ${JSON.stringify(err)}`;
|
|
91
|
+
super(message, httpMeta);
|
|
92
|
+
this.data$ = err;
|
|
93
|
+
this.error = err.error;
|
|
94
|
+
|
|
95
|
+
this.name = "GetOrgRepoAgentblameNotAcceptableError";
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Not found
|
|
101
|
+
*/
|
|
102
|
+
export type GetOrgRepoAgentblameNotFoundErrorData = {
|
|
103
|
+
error: operations.GetOrgRepoAgentblameNotFoundError;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Not found
|
|
108
|
+
*/
|
|
109
|
+
export class GetOrgRepoAgentblameNotFoundError extends MesaError {
|
|
110
|
+
error: operations.GetOrgRepoAgentblameNotFoundError;
|
|
111
|
+
|
|
112
|
+
/** The original data that was passed to this error instance. */
|
|
113
|
+
data$: GetOrgRepoAgentblameNotFoundErrorData;
|
|
114
|
+
|
|
115
|
+
constructor(
|
|
116
|
+
err: GetOrgRepoAgentblameNotFoundErrorData,
|
|
117
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
118
|
+
) {
|
|
119
|
+
const message = err.error?.message
|
|
120
|
+
|| `API error occurred: ${JSON.stringify(err)}`;
|
|
121
|
+
super(message, httpMeta);
|
|
122
|
+
this.data$ = err;
|
|
123
|
+
this.error = err.error;
|
|
124
|
+
|
|
125
|
+
this.name = "GetOrgRepoAgentblameNotFoundError";
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Forbidden
|
|
131
|
+
*/
|
|
132
|
+
export type GetOrgRepoAgentblameForbiddenErrorData = {
|
|
133
|
+
error: operations.GetOrgRepoAgentblameForbiddenError;
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Forbidden
|
|
138
|
+
*/
|
|
139
|
+
export class GetOrgRepoAgentblameForbiddenError extends MesaError {
|
|
140
|
+
error: operations.GetOrgRepoAgentblameForbiddenError;
|
|
141
|
+
|
|
142
|
+
/** The original data that was passed to this error instance. */
|
|
143
|
+
data$: GetOrgRepoAgentblameForbiddenErrorData;
|
|
144
|
+
|
|
145
|
+
constructor(
|
|
146
|
+
err: GetOrgRepoAgentblameForbiddenErrorData,
|
|
147
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
148
|
+
) {
|
|
149
|
+
const message = err.error?.message
|
|
150
|
+
|| `API error occurred: ${JSON.stringify(err)}`;
|
|
151
|
+
super(message, httpMeta);
|
|
152
|
+
this.data$ = err;
|
|
153
|
+
this.error = err.error;
|
|
154
|
+
|
|
155
|
+
this.name = "GetOrgRepoAgentblameForbiddenError";
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Unauthorized
|
|
161
|
+
*/
|
|
162
|
+
export type GetOrgRepoAgentblameUnauthorizedErrorData = {
|
|
163
|
+
error: operations.GetOrgRepoAgentblameUnauthorizedError;
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Unauthorized
|
|
168
|
+
*/
|
|
169
|
+
export class GetOrgRepoAgentblameUnauthorizedError extends MesaError {
|
|
170
|
+
error: operations.GetOrgRepoAgentblameUnauthorizedError;
|
|
171
|
+
|
|
172
|
+
/** The original data that was passed to this error instance. */
|
|
173
|
+
data$: GetOrgRepoAgentblameUnauthorizedErrorData;
|
|
174
|
+
|
|
175
|
+
constructor(
|
|
176
|
+
err: GetOrgRepoAgentblameUnauthorizedErrorData,
|
|
177
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
178
|
+
) {
|
|
179
|
+
const message = err.error?.message
|
|
180
|
+
|| `API error occurred: ${JSON.stringify(err)}`;
|
|
181
|
+
super(message, httpMeta);
|
|
182
|
+
this.data$ = err;
|
|
183
|
+
this.error = err.error;
|
|
184
|
+
|
|
185
|
+
this.name = "GetOrgRepoAgentblameUnauthorizedError";
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Invalid request
|
|
191
|
+
*/
|
|
192
|
+
export type GetOrgRepoAgentblameBadRequestErrorData = {
|
|
193
|
+
error: operations.GetOrgRepoAgentblameBadRequestError;
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Invalid request
|
|
198
|
+
*/
|
|
199
|
+
export class GetOrgRepoAgentblameBadRequestError extends MesaError {
|
|
200
|
+
error: operations.GetOrgRepoAgentblameBadRequestError;
|
|
201
|
+
|
|
202
|
+
/** The original data that was passed to this error instance. */
|
|
203
|
+
data$: GetOrgRepoAgentblameBadRequestErrorData;
|
|
204
|
+
|
|
205
|
+
constructor(
|
|
206
|
+
err: GetOrgRepoAgentblameBadRequestErrorData,
|
|
207
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
208
|
+
) {
|
|
209
|
+
const message = err.error?.message
|
|
210
|
+
|| `API error occurred: ${JSON.stringify(err)}`;
|
|
211
|
+
super(message, httpMeta);
|
|
212
|
+
this.data$ = err;
|
|
213
|
+
this.error = err.error;
|
|
214
|
+
|
|
215
|
+
this.name = "GetOrgRepoAgentblameBadRequestError";
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/** @internal */
|
|
220
|
+
export const GetOrgRepoAgentblameInternalServerError$inboundSchema:
|
|
221
|
+
z.ZodMiniType<GetOrgRepoAgentblameInternalServerError, unknown> = z.pipe(
|
|
222
|
+
z.object({
|
|
223
|
+
error: z.lazy(() =>
|
|
224
|
+
operations.GetOrgRepoAgentblameInternalServerErrorError$inboundSchema
|
|
225
|
+
),
|
|
226
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
227
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
228
|
+
body$: z.string(),
|
|
229
|
+
}),
|
|
230
|
+
z.transform((v) => {
|
|
231
|
+
return new GetOrgRepoAgentblameInternalServerError(v, {
|
|
232
|
+
request: v.request$,
|
|
233
|
+
response: v.response$,
|
|
234
|
+
body: v.body$,
|
|
235
|
+
});
|
|
236
|
+
}),
|
|
237
|
+
);
|
|
238
|
+
|
|
239
|
+
/** @internal */
|
|
240
|
+
export const GetOrgRepoAgentblameConflictError$inboundSchema: z.ZodMiniType<
|
|
241
|
+
GetOrgRepoAgentblameConflictError,
|
|
242
|
+
unknown
|
|
243
|
+
> = z.pipe(
|
|
244
|
+
z.object({
|
|
245
|
+
error: z.lazy(() =>
|
|
246
|
+
operations.GetOrgRepoAgentblameConflictError$inboundSchema
|
|
247
|
+
),
|
|
248
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
249
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
250
|
+
body$: z.string(),
|
|
251
|
+
}),
|
|
252
|
+
z.transform((v) => {
|
|
253
|
+
return new GetOrgRepoAgentblameConflictError(v, {
|
|
254
|
+
request: v.request$,
|
|
255
|
+
response: v.response$,
|
|
256
|
+
body: v.body$,
|
|
257
|
+
});
|
|
258
|
+
}),
|
|
259
|
+
);
|
|
260
|
+
|
|
261
|
+
/** @internal */
|
|
262
|
+
export const GetOrgRepoAgentblameNotAcceptableError$inboundSchema:
|
|
263
|
+
z.ZodMiniType<GetOrgRepoAgentblameNotAcceptableError, unknown> = z.pipe(
|
|
264
|
+
z.object({
|
|
265
|
+
error: z.lazy(() =>
|
|
266
|
+
operations.GetOrgRepoAgentblameNotAcceptableError$inboundSchema
|
|
267
|
+
),
|
|
268
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
269
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
270
|
+
body$: z.string(),
|
|
271
|
+
}),
|
|
272
|
+
z.transform((v) => {
|
|
273
|
+
return new GetOrgRepoAgentblameNotAcceptableError(v, {
|
|
274
|
+
request: v.request$,
|
|
275
|
+
response: v.response$,
|
|
276
|
+
body: v.body$,
|
|
277
|
+
});
|
|
278
|
+
}),
|
|
279
|
+
);
|
|
280
|
+
|
|
281
|
+
/** @internal */
|
|
282
|
+
export const GetOrgRepoAgentblameNotFoundError$inboundSchema: z.ZodMiniType<
|
|
283
|
+
GetOrgRepoAgentblameNotFoundError,
|
|
284
|
+
unknown
|
|
285
|
+
> = z.pipe(
|
|
286
|
+
z.object({
|
|
287
|
+
error: z.lazy(() =>
|
|
288
|
+
operations.GetOrgRepoAgentblameNotFoundError$inboundSchema
|
|
289
|
+
),
|
|
290
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
291
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
292
|
+
body$: z.string(),
|
|
293
|
+
}),
|
|
294
|
+
z.transform((v) => {
|
|
295
|
+
return new GetOrgRepoAgentblameNotFoundError(v, {
|
|
296
|
+
request: v.request$,
|
|
297
|
+
response: v.response$,
|
|
298
|
+
body: v.body$,
|
|
299
|
+
});
|
|
300
|
+
}),
|
|
301
|
+
);
|
|
302
|
+
|
|
303
|
+
/** @internal */
|
|
304
|
+
export const GetOrgRepoAgentblameForbiddenError$inboundSchema: z.ZodMiniType<
|
|
305
|
+
GetOrgRepoAgentblameForbiddenError,
|
|
306
|
+
unknown
|
|
307
|
+
> = z.pipe(
|
|
308
|
+
z.object({
|
|
309
|
+
error: z.lazy(() =>
|
|
310
|
+
operations.GetOrgRepoAgentblameForbiddenError$inboundSchema
|
|
311
|
+
),
|
|
312
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
313
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
314
|
+
body$: z.string(),
|
|
315
|
+
}),
|
|
316
|
+
z.transform((v) => {
|
|
317
|
+
return new GetOrgRepoAgentblameForbiddenError(v, {
|
|
318
|
+
request: v.request$,
|
|
319
|
+
response: v.response$,
|
|
320
|
+
body: v.body$,
|
|
321
|
+
});
|
|
322
|
+
}),
|
|
323
|
+
);
|
|
324
|
+
|
|
325
|
+
/** @internal */
|
|
326
|
+
export const GetOrgRepoAgentblameUnauthorizedError$inboundSchema: z.ZodMiniType<
|
|
327
|
+
GetOrgRepoAgentblameUnauthorizedError,
|
|
328
|
+
unknown
|
|
329
|
+
> = z.pipe(
|
|
330
|
+
z.object({
|
|
331
|
+
error: z.lazy(() =>
|
|
332
|
+
operations.GetOrgRepoAgentblameUnauthorizedError$inboundSchema
|
|
333
|
+
),
|
|
334
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
335
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
336
|
+
body$: z.string(),
|
|
337
|
+
}),
|
|
338
|
+
z.transform((v) => {
|
|
339
|
+
return new GetOrgRepoAgentblameUnauthorizedError(v, {
|
|
340
|
+
request: v.request$,
|
|
341
|
+
response: v.response$,
|
|
342
|
+
body: v.body$,
|
|
343
|
+
});
|
|
344
|
+
}),
|
|
345
|
+
);
|
|
346
|
+
|
|
347
|
+
/** @internal */
|
|
348
|
+
export const GetOrgRepoAgentblameBadRequestError$inboundSchema: z.ZodMiniType<
|
|
349
|
+
GetOrgRepoAgentblameBadRequestError,
|
|
350
|
+
unknown
|
|
351
|
+
> = z.pipe(
|
|
352
|
+
z.object({
|
|
353
|
+
error: z.lazy(() =>
|
|
354
|
+
operations.GetOrgRepoAgentblameBadRequestError$inboundSchema
|
|
355
|
+
),
|
|
356
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
357
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
358
|
+
body$: z.string(),
|
|
359
|
+
}),
|
|
360
|
+
z.transform((v) => {
|
|
361
|
+
return new GetOrgRepoAgentblameBadRequestError(v, {
|
|
362
|
+
request: v.request$,
|
|
363
|
+
response: v.response$,
|
|
364
|
+
body: v.body$,
|
|
365
|
+
});
|
|
366
|
+
}),
|
|
367
|
+
);
|