@vercel/sdk 1.7.3 → 1.7.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/README.md +30 -13
- package/bin/mcp-server.js +714 -744
- package/bin/mcp-server.js.map +20 -20
- package/docs/sdks/domains/README.md +0 -94
- package/docs/sdks/vercel/README.md +78 -0
- package/esm/__tests__/domains.test.js +3 -19
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +15 -13
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/__tests__/vercel.test.js +13 -0
- package/esm/__tests__/vercel.test.js.map +1 -1
- package/esm/funcs/postDomains.d.ts +13 -0
- package/esm/funcs/postDomains.d.ts.map +1 -0
- package/esm/funcs/{domainsCreateOrTransferDomain.js → postDomains.js} +13 -27
- package/esm/funcs/postDomains.js.map +1 -0
- package/esm/funcs/projectsRequestPromote.js +1 -0
- package/esm/funcs/projectsRequestPromote.js.map +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +3 -3
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/postDomains.d.ts +7 -0
- package/esm/mcp-server/tools/postDomains.d.ts.map +1 -0
- package/esm/mcp-server/tools/postDomains.js +26 -0
- package/esm/mcp-server/tools/postDomains.js.map +1 -0
- package/esm/models/createdeploymentop.d.ts +28 -28
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +12 -12
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +2 -0
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +2 -0
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createrecordop.d.ts +43 -43
- package/esm/models/createrecordop.d.ts.map +1 -1
- package/esm/models/createrecordop.js +51 -51
- package/esm/models/createrecordop.js.map +1 -1
- package/esm/models/getdomainop.d.ts +8 -8
- package/esm/models/getdomainop.d.ts.map +1 -1
- package/esm/models/getdomainop.js +12 -13
- package/esm/models/getdomainop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +2 -0
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +2 -0
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/postdomainsop.d.ts +353 -0
- package/esm/models/postdomainsop.d.ts.map +1 -0
- package/esm/models/postdomainsop.js +265 -0
- package/esm/models/postdomainsop.js.map +1 -0
- package/esm/models/requestpromoteop.d.ts +5 -0
- package/esm/models/requestpromoteop.d.ts.map +1 -1
- package/esm/models/requestpromoteop.js +2 -0
- package/esm/models/requestpromoteop.js.map +1 -1
- package/esm/models/teamlimited.d.ts +13 -13
- package/esm/models/teamlimited.d.ts.map +1 -1
- package/esm/models/teamlimited.js +6 -6
- package/esm/models/teamlimited.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +2 -0
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +2 -0
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +2 -0
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +2 -0
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +5 -0
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +2 -0
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/domains.d.ts +0 -8
- package/esm/sdk/domains.d.ts.map +1 -1
- package/esm/sdk/domains.js +0 -10
- package/esm/sdk/domains.js.map +1 -1
- package/esm/sdk/sdk.d.ts +2 -0
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +4 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/domains.test.ts +5 -21
- package/src/__tests__/projects.test.ts +15 -13
- package/src/__tests__/vercel.test.ts +16 -0
- package/src/funcs/{domainsCreateOrTransferDomain.ts → postDomains.ts} +22 -38
- package/src/funcs/projectsRequestPromote.ts +1 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -3
- package/src/mcp-server/tools/postDomains.ts +35 -0
- package/src/models/createdeploymentop.ts +16 -16
- package/src/models/createprojectop.ts +4 -0
- package/src/models/createrecordop.ts +96 -84
- package/src/models/getdomainop.ts +16 -14
- package/src/models/getprojectsop.ts +4 -0
- package/src/models/postdomainsop.ts +637 -0
- package/src/models/requestpromoteop.ts +7 -0
- package/src/models/teamlimited.ts +13 -13
- package/src/models/updateprojectdatacacheop.ts +4 -0
- package/src/models/updateprojectop.ts +4 -0
- package/src/models/userevent.ts +7 -0
- package/src/sdk/domains.ts +0 -22
- package/src/sdk/sdk.ts +16 -0
- package/vercel-spec.json +83 -65
- package/esm/funcs/domainsCreateOrTransferDomain.d.ts +0 -19
- package/esm/funcs/domainsCreateOrTransferDomain.d.ts.map +0 -1
- package/esm/funcs/domainsCreateOrTransferDomain.js.map +0 -1
- package/esm/mcp-server/tools/domainsCreateOrTransferDomain.d.ts +0 -7
- package/esm/mcp-server/tools/domainsCreateOrTransferDomain.d.ts.map +0 -1
- package/esm/mcp-server/tools/domainsCreateOrTransferDomain.js +0 -28
- package/esm/mcp-server/tools/domainsCreateOrTransferDomain.js.map +0 -1
- package/esm/models/createortransferdomainop.d.ts +0 -388
- package/esm/models/createortransferdomainop.d.ts.map +0 -1
- package/esm/models/createortransferdomainop.js +0 -310
- package/esm/models/createortransferdomainop.js.map +0 -1
- package/src/mcp-server/tools/domainsCreateOrTransferDomain.ts +0 -37
- package/src/models/createortransferdomainop.ts +0 -777
package/bin/mcp-server.js
CHANGED
|
@@ -34190,9 +34190,9 @@ var init_config = __esm(() => {
|
|
|
34190
34190
|
SDK_METADATA = {
|
|
34191
34191
|
language: "typescript",
|
|
34192
34192
|
openapiDocVersion: "0.0.1",
|
|
34193
|
-
sdkVersion: "1.7.
|
|
34193
|
+
sdkVersion: "1.7.4",
|
|
34194
34194
|
genVersion: "2.599.0",
|
|
34195
|
-
userAgent: "speakeasy-sdk/typescript 1.7.
|
|
34195
|
+
userAgent: "speakeasy-sdk/typescript 1.7.4 2.599.0 0.0.1 @vercel/sdk"
|
|
34196
34196
|
};
|
|
34197
34197
|
});
|
|
34198
34198
|
|
|
@@ -46037,8 +46037,8 @@ var init_createdeploymentop = __esm(() => {
|
|
|
46037
46037
|
Attachment: "attachment"
|
|
46038
46038
|
};
|
|
46039
46039
|
CreateDeploymentReadyState = {
|
|
46040
|
-
Building: "BUILDING",
|
|
46041
46040
|
Error: "ERROR",
|
|
46041
|
+
Building: "BUILDING",
|
|
46042
46042
|
Initializing: "INITIALIZING",
|
|
46043
46043
|
Ready: "READY"
|
|
46044
46044
|
};
|
|
@@ -46056,9 +46056,9 @@ var init_createdeploymentop = __esm(() => {
|
|
|
46056
46056
|
Development: "development"
|
|
46057
46057
|
};
|
|
46058
46058
|
CreateDeploymentCustomEnvironmentType = {
|
|
46059
|
+
EndsWith: "endsWith",
|
|
46059
46060
|
StartsWith: "startsWith",
|
|
46060
|
-
Equals: "equals"
|
|
46061
|
-
EndsWith: "endsWith"
|
|
46061
|
+
Equals: "equals"
|
|
46062
46062
|
};
|
|
46063
46063
|
CreateDeploymentType = {
|
|
46064
46064
|
Lambdas: "LAMBDAS"
|
|
@@ -46143,21 +46143,21 @@ var init_createdeploymentop = __esm(() => {
|
|
|
46143
46143
|
Hobby: "hobby"
|
|
46144
46144
|
};
|
|
46145
46145
|
FunctionType = {
|
|
46146
|
-
|
|
46147
|
-
|
|
46146
|
+
Standard: "standard",
|
|
46147
|
+
Fluid: "fluid"
|
|
46148
46148
|
};
|
|
46149
46149
|
FunctionMemoryType = {
|
|
46150
|
-
Standard: "standard",
|
|
46151
46150
|
StandardLegacy: "standard_legacy",
|
|
46151
|
+
Standard: "standard",
|
|
46152
46152
|
Performance: "performance"
|
|
46153
46153
|
};
|
|
46154
46154
|
RoutesHandle = {
|
|
46155
46155
|
Error: "error",
|
|
46156
|
+
Resource: "resource",
|
|
46156
46157
|
Filesystem: "filesystem",
|
|
46157
46158
|
Hit: "hit",
|
|
46158
46159
|
Miss: "miss",
|
|
46159
|
-
Rewrite: "rewrite"
|
|
46160
|
-
Resource: "resource"
|
|
46160
|
+
Rewrite: "rewrite"
|
|
46161
46161
|
};
|
|
46162
46162
|
CreateDeploymentHasType = {
|
|
46163
46163
|
Header: "header",
|
|
@@ -46179,22 +46179,22 @@ var init_createdeploymentop = __esm(() => {
|
|
|
46179
46179
|
Bitbucket: "bitbucket"
|
|
46180
46180
|
};
|
|
46181
46181
|
CreateDeploymentGitRepoOwnerType = {
|
|
46182
|
-
|
|
46183
|
-
|
|
46182
|
+
User: "user",
|
|
46183
|
+
Team: "team"
|
|
46184
46184
|
};
|
|
46185
46185
|
CreateDeploymentGitRepoType = {
|
|
46186
46186
|
Github: "github"
|
|
46187
46187
|
};
|
|
46188
46188
|
GitRepoOwnerType = {
|
|
46189
|
-
|
|
46190
|
-
|
|
46189
|
+
User: "user",
|
|
46190
|
+
Team: "team"
|
|
46191
46191
|
};
|
|
46192
46192
|
GitRepoType = {
|
|
46193
46193
|
Gitlab: "gitlab"
|
|
46194
46194
|
};
|
|
46195
46195
|
OwnerType = {
|
|
46196
|
-
|
|
46197
|
-
|
|
46196
|
+
User: "user",
|
|
46197
|
+
Team: "team"
|
|
46198
46198
|
};
|
|
46199
46199
|
ForceNew$inboundSchema = nativeEnumType(ForceNew);
|
|
46200
46200
|
ForceNew$outboundSchema = ForceNew$inboundSchema;
|
|
@@ -46799,18 +46799,18 @@ var init_createdeploymentop = __esm(() => {
|
|
|
46799
46799
|
CreateDeploymentOutput$.outboundSchema = CreateDeploymentOutput$outboundSchema;
|
|
46800
46800
|
})(CreateDeploymentOutput$ ||= {});
|
|
46801
46801
|
Lambdas$inboundSchema = objectType({
|
|
46802
|
-
id: stringType().optional(),
|
|
46803
46802
|
createdAt: numberType().optional(),
|
|
46804
|
-
|
|
46803
|
+
id: stringType().optional(),
|
|
46805
46804
|
readyState: CreateDeploymentReadyState$inboundSchema.optional(),
|
|
46805
|
+
entrypoint: nullableType(stringType()).optional(),
|
|
46806
46806
|
readyStateAt: numberType().optional(),
|
|
46807
46807
|
output: arrayType(lazyType(() => CreateDeploymentOutput$inboundSchema))
|
|
46808
46808
|
});
|
|
46809
46809
|
Lambdas$outboundSchema = objectType({
|
|
46810
|
-
id: stringType().optional(),
|
|
46811
46810
|
createdAt: numberType().optional(),
|
|
46812
|
-
|
|
46811
|
+
id: stringType().optional(),
|
|
46813
46812
|
readyState: CreateDeploymentReadyState$outboundSchema.optional(),
|
|
46813
|
+
entrypoint: nullableType(stringType()).optional(),
|
|
46814
46814
|
readyStateAt: numberType().optional(),
|
|
46815
46815
|
output: arrayType(lazyType(() => CreateDeploymentOutput$outboundSchema))
|
|
46816
46816
|
});
|
|
@@ -53351,7 +53351,7 @@ Before you create a deployment you need to upload the required files for that de
|
|
|
53351
53351
|
});
|
|
53352
53352
|
|
|
53353
53353
|
// src/models/createrecordop.ts
|
|
53354
|
-
var CreateRecordRequestBodyDnsRequest10Type, CreateRecordRequestBodyDnsRequest9Type, CreateRecordRequestBodyDnsRequest8Type, CreateRecordRequestBodyDnsRequest7Type, CreateRecordRequestBodyDnsRequest6Type, CreateRecordRequestBodyDnsRequest5Type, CreateRecordRequestBodyDnsRequestType, CreateRecordRequestBodyDnsType, CreateRecordRequestBodyType, RequestBodyType, CreateRecordRequestBodyDnsRequest10Type$inboundSchema, CreateRecordRequestBodyDnsRequest10Type$outboundSchema, CreateRecordRequestBodyDnsRequest10Type$, RequestBodyHttps$inboundSchema, RequestBodyHttps$outboundSchema, RequestBodyHttps$, RequestBody10$inboundSchema, RequestBody10$outboundSchema, RequestBody10$, CreateRecordRequestBodyDnsRequest9Type$inboundSchema, CreateRecordRequestBodyDnsRequest9Type$outboundSchema, CreateRecordRequestBodyDnsRequest9Type$, RequestBody9$inboundSchema, RequestBody9$outboundSchema, RequestBody9$, CreateRecordRequestBodyDnsRequest8Type$inboundSchema, CreateRecordRequestBodyDnsRequest8Type$outboundSchema, CreateRecordRequestBodyDnsRequest8Type$, RequestBody8$inboundSchema, RequestBody8$outboundSchema, RequestBody8$, CreateRecordRequestBodyDnsRequest7Type$inboundSchema, CreateRecordRequestBodyDnsRequest7Type$outboundSchema, CreateRecordRequestBodyDnsRequest7Type$, RequestBodySrv$inboundSchema, RequestBodySrv$outboundSchema, RequestBodySrv$, RequestBody7$inboundSchema, RequestBody7$outboundSchema, RequestBody7$, CreateRecordRequestBodyDnsRequest6Type$inboundSchema, CreateRecordRequestBodyDnsRequest6Type$outboundSchema, CreateRecordRequestBodyDnsRequest6Type$, RequestBody6$inboundSchema, RequestBody6$outboundSchema, RequestBody6$, CreateRecordRequestBodyDnsRequest5Type$inboundSchema, CreateRecordRequestBodyDnsRequest5Type$outboundSchema, CreateRecordRequestBodyDnsRequest5Type$, RequestBody5$inboundSchema, RequestBody5$outboundSchema, RequestBody5$, CreateRecordRequestBodyDnsRequestType$inboundSchema, CreateRecordRequestBodyDnsRequestType$outboundSchema, CreateRecordRequestBodyDnsRequestType$, RequestBody4$inboundSchema, RequestBody4$outboundSchema, RequestBody4$, CreateRecordRequestBodyDnsType$inboundSchema, CreateRecordRequestBodyDnsType$outboundSchema, CreateRecordRequestBodyDnsType$,
|
|
53354
|
+
var CreateRecordRequestBodyDnsRequest10Type, CreateRecordRequestBodyDnsRequest9Type, CreateRecordRequestBodyDnsRequest8Type, CreateRecordRequestBodyDnsRequest7Type, CreateRecordRequestBodyDnsRequest6Type, CreateRecordRequestBodyDnsRequest5Type, CreateRecordRequestBodyDnsRequestType, CreateRecordRequestBodyDnsType, CreateRecordRequestBodyType, RequestBodyType, CreateRecordRequestBodyDnsRequest10Type$inboundSchema, CreateRecordRequestBodyDnsRequest10Type$outboundSchema, CreateRecordRequestBodyDnsRequest10Type$, RequestBodyHttps$inboundSchema, RequestBodyHttps$outboundSchema, RequestBodyHttps$, RequestBody10$inboundSchema, RequestBody10$outboundSchema, RequestBody10$, CreateRecordRequestBodyDnsRequest9Type$inboundSchema, CreateRecordRequestBodyDnsRequest9Type$outboundSchema, CreateRecordRequestBodyDnsRequest9Type$, RequestBody9$inboundSchema, RequestBody9$outboundSchema, RequestBody9$, CreateRecordRequestBodyDnsRequest8Type$inboundSchema, CreateRecordRequestBodyDnsRequest8Type$outboundSchema, CreateRecordRequestBodyDnsRequest8Type$, RequestBody8$inboundSchema, RequestBody8$outboundSchema, RequestBody8$, CreateRecordRequestBodyDnsRequest7Type$inboundSchema, CreateRecordRequestBodyDnsRequest7Type$outboundSchema, CreateRecordRequestBodyDnsRequest7Type$, RequestBodySrv$inboundSchema, RequestBodySrv$outboundSchema, RequestBodySrv$, RequestBody7$inboundSchema, RequestBody7$outboundSchema, RequestBody7$, CreateRecordRequestBodyDnsRequest6Type$inboundSchema, CreateRecordRequestBodyDnsRequest6Type$outboundSchema, CreateRecordRequestBodyDnsRequest6Type$, RequestBody6$inboundSchema, RequestBody6$outboundSchema, RequestBody6$, CreateRecordRequestBodyDnsRequest5Type$inboundSchema, CreateRecordRequestBodyDnsRequest5Type$outboundSchema, CreateRecordRequestBodyDnsRequest5Type$, RequestBody5$inboundSchema, RequestBody5$outboundSchema, RequestBody5$, CreateRecordRequestBodyDnsRequestType$inboundSchema, CreateRecordRequestBodyDnsRequestType$outboundSchema, CreateRecordRequestBodyDnsRequestType$, RequestBody4$inboundSchema, RequestBody4$outboundSchema, RequestBody4$, CreateRecordRequestBodyDnsType$inboundSchema, CreateRecordRequestBodyDnsType$outboundSchema, CreateRecordRequestBodyDnsType$, CreateRecordRequestBody3$inboundSchema, CreateRecordRequestBody3$outboundSchema, CreateRecordRequestBody3$, CreateRecordRequestBodyType$inboundSchema, CreateRecordRequestBodyType$outboundSchema, CreateRecordRequestBodyType$, CreateRecordRequestBody2$inboundSchema, CreateRecordRequestBody2$outboundSchema, CreateRecordRequestBody2$, RequestBodyType$inboundSchema, RequestBodyType$outboundSchema, RequestBodyType$, CreateRecordRequestBody1$inboundSchema, CreateRecordRequestBody1$outboundSchema, CreateRecordRequestBody1$, CreateRecordRequestBody$inboundSchema, CreateRecordRequestBody$outboundSchema, CreateRecordRequestBody$, CreateRecordRequest$inboundSchema, CreateRecordRequest$outboundSchema, CreateRecordRequest$, CreateRecordResponseBody2$inboundSchema, CreateRecordResponseBody2$outboundSchema, CreateRecordResponseBody2$, CreateRecordResponseBody1$inboundSchema, CreateRecordResponseBody1$outboundSchema, CreateRecordResponseBody1$, CreateRecordResponseBody$inboundSchema, CreateRecordResponseBody$outboundSchema, CreateRecordResponseBody$;
|
|
53355
53355
|
var init_createrecordop = __esm(() => {
|
|
53356
53356
|
init_lib();
|
|
53357
53357
|
init_primitives();
|
|
@@ -53675,79 +53675,79 @@ var init_createrecordop = __esm(() => {
|
|
|
53675
53675
|
CreateRecordRequestBodyDnsType$.inboundSchema = CreateRecordRequestBodyDnsType$inboundSchema;
|
|
53676
53676
|
CreateRecordRequestBodyDnsType$.outboundSchema = CreateRecordRequestBodyDnsType$outboundSchema;
|
|
53677
53677
|
})(CreateRecordRequestBodyDnsType$ ||= {});
|
|
53678
|
-
|
|
53678
|
+
CreateRecordRequestBody3$inboundSchema = objectType({
|
|
53679
53679
|
name: stringType(),
|
|
53680
53680
|
type: CreateRecordRequestBodyDnsType$inboundSchema,
|
|
53681
53681
|
ttl: numberType().optional(),
|
|
53682
53682
|
value: stringType(),
|
|
53683
53683
|
comment: stringType().optional()
|
|
53684
53684
|
});
|
|
53685
|
-
|
|
53685
|
+
CreateRecordRequestBody3$outboundSchema = objectType({
|
|
53686
53686
|
name: stringType(),
|
|
53687
53687
|
type: CreateRecordRequestBodyDnsType$outboundSchema,
|
|
53688
53688
|
ttl: numberType().optional(),
|
|
53689
53689
|
value: stringType(),
|
|
53690
53690
|
comment: stringType().optional()
|
|
53691
53691
|
});
|
|
53692
|
-
((
|
|
53693
|
-
|
|
53694
|
-
|
|
53695
|
-
})(
|
|
53692
|
+
((CreateRecordRequestBody3$) => {
|
|
53693
|
+
CreateRecordRequestBody3$.inboundSchema = CreateRecordRequestBody3$inboundSchema;
|
|
53694
|
+
CreateRecordRequestBody3$.outboundSchema = CreateRecordRequestBody3$outboundSchema;
|
|
53695
|
+
})(CreateRecordRequestBody3$ ||= {});
|
|
53696
53696
|
CreateRecordRequestBodyType$inboundSchema = nativeEnumType(CreateRecordRequestBodyType);
|
|
53697
53697
|
CreateRecordRequestBodyType$outboundSchema = CreateRecordRequestBodyType$inboundSchema;
|
|
53698
53698
|
((CreateRecordRequestBodyType$) => {
|
|
53699
53699
|
CreateRecordRequestBodyType$.inboundSchema = CreateRecordRequestBodyType$inboundSchema;
|
|
53700
53700
|
CreateRecordRequestBodyType$.outboundSchema = CreateRecordRequestBodyType$outboundSchema;
|
|
53701
53701
|
})(CreateRecordRequestBodyType$ ||= {});
|
|
53702
|
-
|
|
53702
|
+
CreateRecordRequestBody2$inboundSchema = objectType({
|
|
53703
53703
|
name: stringType(),
|
|
53704
53704
|
type: CreateRecordRequestBodyType$inboundSchema,
|
|
53705
53705
|
ttl: numberType().optional(),
|
|
53706
53706
|
value: stringType(),
|
|
53707
53707
|
comment: stringType().optional()
|
|
53708
53708
|
});
|
|
53709
|
-
|
|
53709
|
+
CreateRecordRequestBody2$outboundSchema = objectType({
|
|
53710
53710
|
name: stringType(),
|
|
53711
53711
|
type: CreateRecordRequestBodyType$outboundSchema,
|
|
53712
53712
|
ttl: numberType().optional(),
|
|
53713
53713
|
value: stringType(),
|
|
53714
53714
|
comment: stringType().optional()
|
|
53715
53715
|
});
|
|
53716
|
-
((
|
|
53717
|
-
|
|
53718
|
-
|
|
53719
|
-
})(
|
|
53716
|
+
((CreateRecordRequestBody2$) => {
|
|
53717
|
+
CreateRecordRequestBody2$.inboundSchema = CreateRecordRequestBody2$inboundSchema;
|
|
53718
|
+
CreateRecordRequestBody2$.outboundSchema = CreateRecordRequestBody2$outboundSchema;
|
|
53719
|
+
})(CreateRecordRequestBody2$ ||= {});
|
|
53720
53720
|
RequestBodyType$inboundSchema = nativeEnumType(RequestBodyType);
|
|
53721
53721
|
RequestBodyType$outboundSchema = RequestBodyType$inboundSchema;
|
|
53722
53722
|
((RequestBodyType$) => {
|
|
53723
53723
|
RequestBodyType$.inboundSchema = RequestBodyType$inboundSchema;
|
|
53724
53724
|
RequestBodyType$.outboundSchema = RequestBodyType$outboundSchema;
|
|
53725
53725
|
})(RequestBodyType$ ||= {});
|
|
53726
|
-
|
|
53726
|
+
CreateRecordRequestBody1$inboundSchema = objectType({
|
|
53727
53727
|
name: stringType(),
|
|
53728
53728
|
type: RequestBodyType$inboundSchema,
|
|
53729
53729
|
ttl: numberType().optional(),
|
|
53730
53730
|
value: stringType(),
|
|
53731
53731
|
comment: stringType().optional()
|
|
53732
53732
|
});
|
|
53733
|
-
|
|
53733
|
+
CreateRecordRequestBody1$outboundSchema = objectType({
|
|
53734
53734
|
name: stringType(),
|
|
53735
53735
|
type: RequestBodyType$outboundSchema,
|
|
53736
53736
|
ttl: numberType().optional(),
|
|
53737
53737
|
value: stringType(),
|
|
53738
53738
|
comment: stringType().optional()
|
|
53739
53739
|
});
|
|
53740
|
-
((
|
|
53741
|
-
|
|
53742
|
-
|
|
53743
|
-
})(
|
|
53740
|
+
((CreateRecordRequestBody1$) => {
|
|
53741
|
+
CreateRecordRequestBody1$.inboundSchema = CreateRecordRequestBody1$inboundSchema;
|
|
53742
|
+
CreateRecordRequestBody1$.outboundSchema = CreateRecordRequestBody1$outboundSchema;
|
|
53743
|
+
})(CreateRecordRequestBody1$ ||= {});
|
|
53744
53744
|
CreateRecordRequestBody$inboundSchema = unionType([
|
|
53745
53745
|
lazyType(() => RequestBody7$inboundSchema),
|
|
53746
53746
|
lazyType(() => RequestBody8$inboundSchema),
|
|
53747
53747
|
lazyType(() => RequestBody10$inboundSchema),
|
|
53748
|
-
lazyType(() =>
|
|
53749
|
-
lazyType(() =>
|
|
53750
|
-
lazyType(() =>
|
|
53748
|
+
lazyType(() => CreateRecordRequestBody1$inboundSchema),
|
|
53749
|
+
lazyType(() => CreateRecordRequestBody2$inboundSchema),
|
|
53750
|
+
lazyType(() => CreateRecordRequestBody3$inboundSchema),
|
|
53751
53751
|
lazyType(() => RequestBody4$inboundSchema),
|
|
53752
53752
|
lazyType(() => RequestBody5$inboundSchema),
|
|
53753
53753
|
lazyType(() => RequestBody9$inboundSchema),
|
|
@@ -53757,9 +53757,9 @@ var init_createrecordop = __esm(() => {
|
|
|
53757
53757
|
lazyType(() => RequestBody7$outboundSchema),
|
|
53758
53758
|
lazyType(() => RequestBody8$outboundSchema),
|
|
53759
53759
|
lazyType(() => RequestBody10$outboundSchema),
|
|
53760
|
-
lazyType(() =>
|
|
53761
|
-
lazyType(() =>
|
|
53762
|
-
lazyType(() =>
|
|
53760
|
+
lazyType(() => CreateRecordRequestBody1$outboundSchema),
|
|
53761
|
+
lazyType(() => CreateRecordRequestBody2$outboundSchema),
|
|
53762
|
+
lazyType(() => CreateRecordRequestBody3$outboundSchema),
|
|
53763
53763
|
lazyType(() => RequestBody4$outboundSchema),
|
|
53764
53764
|
lazyType(() => RequestBody5$outboundSchema),
|
|
53765
53765
|
lazyType(() => RequestBody9$outboundSchema),
|
|
@@ -53777,9 +53777,9 @@ var init_createrecordop = __esm(() => {
|
|
|
53777
53777
|
lazyType(() => RequestBody7$inboundSchema),
|
|
53778
53778
|
lazyType(() => RequestBody8$inboundSchema),
|
|
53779
53779
|
lazyType(() => RequestBody10$inboundSchema),
|
|
53780
|
-
lazyType(() =>
|
|
53781
|
-
lazyType(() =>
|
|
53782
|
-
lazyType(() =>
|
|
53780
|
+
lazyType(() => CreateRecordRequestBody1$inboundSchema),
|
|
53781
|
+
lazyType(() => CreateRecordRequestBody2$inboundSchema),
|
|
53782
|
+
lazyType(() => CreateRecordRequestBody3$inboundSchema),
|
|
53783
53783
|
lazyType(() => RequestBody4$inboundSchema),
|
|
53784
53784
|
lazyType(() => RequestBody5$inboundSchema),
|
|
53785
53785
|
lazyType(() => RequestBody9$inboundSchema),
|
|
@@ -53798,9 +53798,9 @@ var init_createrecordop = __esm(() => {
|
|
|
53798
53798
|
lazyType(() => RequestBody7$outboundSchema),
|
|
53799
53799
|
lazyType(() => RequestBody8$outboundSchema),
|
|
53800
53800
|
lazyType(() => RequestBody10$outboundSchema),
|
|
53801
|
-
lazyType(() =>
|
|
53802
|
-
lazyType(() =>
|
|
53803
|
-
lazyType(() =>
|
|
53801
|
+
lazyType(() => CreateRecordRequestBody1$outboundSchema),
|
|
53802
|
+
lazyType(() => CreateRecordRequestBody2$outboundSchema),
|
|
53803
|
+
lazyType(() => CreateRecordRequestBody3$outboundSchema),
|
|
53804
53804
|
lazyType(() => RequestBody4$outboundSchema),
|
|
53805
53805
|
lazyType(() => RequestBody5$outboundSchema),
|
|
53806
53806
|
lazyType(() => RequestBody9$outboundSchema),
|
|
@@ -55258,292 +55258,6 @@ Check if a domain name is available for purchase.`,
|
|
|
55258
55258
|
};
|
|
55259
55259
|
});
|
|
55260
55260
|
|
|
55261
|
-
// src/models/createortransferdomainop.ts
|
|
55262
|
-
var CreateOrTransferDomainServiceType, CreateOrTransferDomainRequestBody3$inboundSchema, CreateOrTransferDomainRequestBody3$outboundSchema, CreateOrTransferDomainRequestBody3$, CreateOrTransferDomainRequestBody2$inboundSchema, CreateOrTransferDomainRequestBody2$outboundSchema, CreateOrTransferDomainRequestBody2$, CreateOrTransferDomainRequestBody1$inboundSchema, CreateOrTransferDomainRequestBody1$outboundSchema, CreateOrTransferDomainRequestBody1$, CreateOrTransferDomainRequestBody$inboundSchema, CreateOrTransferDomainRequestBody$outboundSchema, CreateOrTransferDomainRequestBody$, CreateOrTransferDomainRequest$inboundSchema, CreateOrTransferDomainRequest$outboundSchema, CreateOrTransferDomainRequest$, CreateOrTransferDomainCreator$inboundSchema, CreateOrTransferDomainCreator$outboundSchema, CreateOrTransferDomainCreator$, CreateOrTransferDomainServiceType$inboundSchema, CreateOrTransferDomainServiceType$outboundSchema, CreateOrTransferDomainServiceType$, CreateOrTransferDomainDomain$inboundSchema, CreateOrTransferDomainDomain$outboundSchema, CreateOrTransferDomainDomain$, CreateOrTransferDomainResponseBody$inboundSchema, CreateOrTransferDomainResponseBody$outboundSchema, CreateOrTransferDomainResponseBody$;
|
|
55263
|
-
var init_createortransferdomainop = __esm(() => {
|
|
55264
|
-
init_lib();
|
|
55265
|
-
init_primitives();
|
|
55266
|
-
CreateOrTransferDomainServiceType = {
|
|
55267
|
-
ZeitWorld: "zeit.world",
|
|
55268
|
-
External: "external",
|
|
55269
|
-
Na: "na"
|
|
55270
|
-
};
|
|
55271
|
-
CreateOrTransferDomainRequestBody3$inboundSchema = objectType({
|
|
55272
|
-
name: stringType(),
|
|
55273
|
-
method: stringType(),
|
|
55274
|
-
authCode: stringType().optional(),
|
|
55275
|
-
expectedPrice: numberType().optional()
|
|
55276
|
-
});
|
|
55277
|
-
CreateOrTransferDomainRequestBody3$outboundSchema = objectType({
|
|
55278
|
-
name: stringType(),
|
|
55279
|
-
method: stringType(),
|
|
55280
|
-
authCode: stringType().optional(),
|
|
55281
|
-
expectedPrice: numberType().optional()
|
|
55282
|
-
});
|
|
55283
|
-
((CreateOrTransferDomainRequestBody3$) => {
|
|
55284
|
-
CreateOrTransferDomainRequestBody3$.inboundSchema = CreateOrTransferDomainRequestBody3$inboundSchema;
|
|
55285
|
-
CreateOrTransferDomainRequestBody3$.outboundSchema = CreateOrTransferDomainRequestBody3$outboundSchema;
|
|
55286
|
-
})(CreateOrTransferDomainRequestBody3$ ||= {});
|
|
55287
|
-
CreateOrTransferDomainRequestBody2$inboundSchema = objectType({
|
|
55288
|
-
name: stringType(),
|
|
55289
|
-
method: stringType(),
|
|
55290
|
-
token: stringType().optional()
|
|
55291
|
-
});
|
|
55292
|
-
CreateOrTransferDomainRequestBody2$outboundSchema = objectType({
|
|
55293
|
-
name: stringType(),
|
|
55294
|
-
method: stringType(),
|
|
55295
|
-
token: stringType().optional()
|
|
55296
|
-
});
|
|
55297
|
-
((CreateOrTransferDomainRequestBody2$) => {
|
|
55298
|
-
CreateOrTransferDomainRequestBody2$.inboundSchema = CreateOrTransferDomainRequestBody2$inboundSchema;
|
|
55299
|
-
CreateOrTransferDomainRequestBody2$.outboundSchema = CreateOrTransferDomainRequestBody2$outboundSchema;
|
|
55300
|
-
})(CreateOrTransferDomainRequestBody2$ ||= {});
|
|
55301
|
-
CreateOrTransferDomainRequestBody1$inboundSchema = objectType({
|
|
55302
|
-
name: stringType(),
|
|
55303
|
-
cdnEnabled: booleanType().optional(),
|
|
55304
|
-
zone: booleanType().optional(),
|
|
55305
|
-
method: stringType().optional()
|
|
55306
|
-
});
|
|
55307
|
-
CreateOrTransferDomainRequestBody1$outboundSchema = objectType({
|
|
55308
|
-
name: stringType(),
|
|
55309
|
-
cdnEnabled: booleanType().optional(),
|
|
55310
|
-
zone: booleanType().optional(),
|
|
55311
|
-
method: stringType().optional()
|
|
55312
|
-
});
|
|
55313
|
-
((CreateOrTransferDomainRequestBody1$) => {
|
|
55314
|
-
CreateOrTransferDomainRequestBody1$.inboundSchema = CreateOrTransferDomainRequestBody1$inboundSchema;
|
|
55315
|
-
CreateOrTransferDomainRequestBody1$.outboundSchema = CreateOrTransferDomainRequestBody1$outboundSchema;
|
|
55316
|
-
})(CreateOrTransferDomainRequestBody1$ ||= {});
|
|
55317
|
-
CreateOrTransferDomainRequestBody$inboundSchema = unionType([
|
|
55318
|
-
lazyType(() => CreateOrTransferDomainRequestBody2$inboundSchema),
|
|
55319
|
-
lazyType(() => CreateOrTransferDomainRequestBody1$inboundSchema),
|
|
55320
|
-
lazyType(() => CreateOrTransferDomainRequestBody3$inboundSchema)
|
|
55321
|
-
]);
|
|
55322
|
-
CreateOrTransferDomainRequestBody$outboundSchema = unionType([
|
|
55323
|
-
lazyType(() => CreateOrTransferDomainRequestBody2$outboundSchema),
|
|
55324
|
-
lazyType(() => CreateOrTransferDomainRequestBody1$outboundSchema),
|
|
55325
|
-
lazyType(() => CreateOrTransferDomainRequestBody3$outboundSchema)
|
|
55326
|
-
]);
|
|
55327
|
-
((CreateOrTransferDomainRequestBody$) => {
|
|
55328
|
-
CreateOrTransferDomainRequestBody$.inboundSchema = CreateOrTransferDomainRequestBody$inboundSchema;
|
|
55329
|
-
CreateOrTransferDomainRequestBody$.outboundSchema = CreateOrTransferDomainRequestBody$outboundSchema;
|
|
55330
|
-
})(CreateOrTransferDomainRequestBody$ ||= {});
|
|
55331
|
-
CreateOrTransferDomainRequest$inboundSchema = objectType({
|
|
55332
|
-
teamId: stringType().optional(),
|
|
55333
|
-
slug: stringType().optional(),
|
|
55334
|
-
RequestBody: unionType([
|
|
55335
|
-
lazyType(() => CreateOrTransferDomainRequestBody2$inboundSchema),
|
|
55336
|
-
lazyType(() => CreateOrTransferDomainRequestBody1$inboundSchema),
|
|
55337
|
-
lazyType(() => CreateOrTransferDomainRequestBody3$inboundSchema)
|
|
55338
|
-
])
|
|
55339
|
-
}).transform((v2) => {
|
|
55340
|
-
return remap(v2, {
|
|
55341
|
-
RequestBody: "requestBody"
|
|
55342
|
-
});
|
|
55343
|
-
});
|
|
55344
|
-
CreateOrTransferDomainRequest$outboundSchema = objectType({
|
|
55345
|
-
teamId: stringType().optional(),
|
|
55346
|
-
slug: stringType().optional(),
|
|
55347
|
-
requestBody: unionType([
|
|
55348
|
-
lazyType(() => CreateOrTransferDomainRequestBody2$outboundSchema),
|
|
55349
|
-
lazyType(() => CreateOrTransferDomainRequestBody1$outboundSchema),
|
|
55350
|
-
lazyType(() => CreateOrTransferDomainRequestBody3$outboundSchema)
|
|
55351
|
-
])
|
|
55352
|
-
}).transform((v2) => {
|
|
55353
|
-
return remap(v2, {
|
|
55354
|
-
requestBody: "RequestBody"
|
|
55355
|
-
});
|
|
55356
|
-
});
|
|
55357
|
-
((CreateOrTransferDomainRequest$) => {
|
|
55358
|
-
CreateOrTransferDomainRequest$.inboundSchema = CreateOrTransferDomainRequest$inboundSchema;
|
|
55359
|
-
CreateOrTransferDomainRequest$.outboundSchema = CreateOrTransferDomainRequest$outboundSchema;
|
|
55360
|
-
})(CreateOrTransferDomainRequest$ ||= {});
|
|
55361
|
-
CreateOrTransferDomainCreator$inboundSchema = objectType({
|
|
55362
|
-
username: stringType(),
|
|
55363
|
-
email: stringType(),
|
|
55364
|
-
customerId: nullableType(stringType()).optional(),
|
|
55365
|
-
isDomainReseller: booleanType().optional(),
|
|
55366
|
-
id: stringType()
|
|
55367
|
-
});
|
|
55368
|
-
CreateOrTransferDomainCreator$outboundSchema = objectType({
|
|
55369
|
-
username: stringType(),
|
|
55370
|
-
email: stringType(),
|
|
55371
|
-
customerId: nullableType(stringType()).optional(),
|
|
55372
|
-
isDomainReseller: booleanType().optional(),
|
|
55373
|
-
id: stringType()
|
|
55374
|
-
});
|
|
55375
|
-
((CreateOrTransferDomainCreator$) => {
|
|
55376
|
-
CreateOrTransferDomainCreator$.inboundSchema = CreateOrTransferDomainCreator$inboundSchema;
|
|
55377
|
-
CreateOrTransferDomainCreator$.outboundSchema = CreateOrTransferDomainCreator$outboundSchema;
|
|
55378
|
-
})(CreateOrTransferDomainCreator$ ||= {});
|
|
55379
|
-
CreateOrTransferDomainServiceType$inboundSchema = nativeEnumType(CreateOrTransferDomainServiceType);
|
|
55380
|
-
CreateOrTransferDomainServiceType$outboundSchema = CreateOrTransferDomainServiceType$inboundSchema;
|
|
55381
|
-
((CreateOrTransferDomainServiceType$) => {
|
|
55382
|
-
CreateOrTransferDomainServiceType$.inboundSchema = CreateOrTransferDomainServiceType$inboundSchema;
|
|
55383
|
-
CreateOrTransferDomainServiceType$.outboundSchema = CreateOrTransferDomainServiceType$outboundSchema;
|
|
55384
|
-
})(CreateOrTransferDomainServiceType$ ||= {});
|
|
55385
|
-
CreateOrTransferDomainDomain$inboundSchema = objectType({
|
|
55386
|
-
verified: booleanType(),
|
|
55387
|
-
nameservers: arrayType(stringType()),
|
|
55388
|
-
intendedNameservers: arrayType(stringType()),
|
|
55389
|
-
customNameservers: arrayType(stringType()).optional(),
|
|
55390
|
-
creator: lazyType(() => CreateOrTransferDomainCreator$inboundSchema),
|
|
55391
|
-
name: stringType(),
|
|
55392
|
-
boughtAt: nullableType(numberType()),
|
|
55393
|
-
createdAt: numberType(),
|
|
55394
|
-
expiresAt: nullableType(numberType()),
|
|
55395
|
-
id: stringType(),
|
|
55396
|
-
orderedAt: numberType().optional(),
|
|
55397
|
-
renew: booleanType().optional(),
|
|
55398
|
-
serviceType: CreateOrTransferDomainServiceType$inboundSchema,
|
|
55399
|
-
transferredAt: nullableType(numberType()).optional(),
|
|
55400
|
-
transferStartedAt: numberType().optional(),
|
|
55401
|
-
userId: stringType(),
|
|
55402
|
-
teamId: nullableType(stringType())
|
|
55403
|
-
});
|
|
55404
|
-
CreateOrTransferDomainDomain$outboundSchema = objectType({
|
|
55405
|
-
verified: booleanType(),
|
|
55406
|
-
nameservers: arrayType(stringType()),
|
|
55407
|
-
intendedNameservers: arrayType(stringType()),
|
|
55408
|
-
customNameservers: arrayType(stringType()).optional(),
|
|
55409
|
-
creator: lazyType(() => CreateOrTransferDomainCreator$outboundSchema),
|
|
55410
|
-
name: stringType(),
|
|
55411
|
-
boughtAt: nullableType(numberType()),
|
|
55412
|
-
createdAt: numberType(),
|
|
55413
|
-
expiresAt: nullableType(numberType()),
|
|
55414
|
-
id: stringType(),
|
|
55415
|
-
orderedAt: numberType().optional(),
|
|
55416
|
-
renew: booleanType().optional(),
|
|
55417
|
-
serviceType: CreateOrTransferDomainServiceType$outboundSchema,
|
|
55418
|
-
transferredAt: nullableType(numberType()).optional(),
|
|
55419
|
-
transferStartedAt: numberType().optional(),
|
|
55420
|
-
userId: stringType(),
|
|
55421
|
-
teamId: nullableType(stringType())
|
|
55422
|
-
});
|
|
55423
|
-
((CreateOrTransferDomainDomain$) => {
|
|
55424
|
-
CreateOrTransferDomainDomain$.inboundSchema = CreateOrTransferDomainDomain$inboundSchema;
|
|
55425
|
-
CreateOrTransferDomainDomain$.outboundSchema = CreateOrTransferDomainDomain$outboundSchema;
|
|
55426
|
-
})(CreateOrTransferDomainDomain$ ||= {});
|
|
55427
|
-
CreateOrTransferDomainResponseBody$inboundSchema = objectType({
|
|
55428
|
-
domain: lazyType(() => CreateOrTransferDomainDomain$inboundSchema)
|
|
55429
|
-
});
|
|
55430
|
-
CreateOrTransferDomainResponseBody$outboundSchema = objectType({
|
|
55431
|
-
domain: lazyType(() => CreateOrTransferDomainDomain$outboundSchema)
|
|
55432
|
-
});
|
|
55433
|
-
((CreateOrTransferDomainResponseBody$) => {
|
|
55434
|
-
CreateOrTransferDomainResponseBody$.inboundSchema = CreateOrTransferDomainResponseBody$inboundSchema;
|
|
55435
|
-
CreateOrTransferDomainResponseBody$.outboundSchema = CreateOrTransferDomainResponseBody$outboundSchema;
|
|
55436
|
-
})(CreateOrTransferDomainResponseBody$ ||= {});
|
|
55437
|
-
});
|
|
55438
|
-
|
|
55439
|
-
// src/funcs/domainsCreateOrTransferDomain.ts
|
|
55440
|
-
function domainsCreateOrTransferDomain(client, request, options) {
|
|
55441
|
-
return new APIPromise($do56(client, request, options));
|
|
55442
|
-
}
|
|
55443
|
-
async function $do56(client, request, options) {
|
|
55444
|
-
const parsed = safeParse(request, (value) => CreateOrTransferDomainRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55445
|
-
if (!parsed.ok) {
|
|
55446
|
-
return [parsed, { status: "invalid" }];
|
|
55447
|
-
}
|
|
55448
|
-
const payload = parsed.value;
|
|
55449
|
-
const body = encodeJSON("body", payload.RequestBody, { explode: true });
|
|
55450
|
-
const path = pathToFunc("/v5/domains")();
|
|
55451
|
-
const query = encodeFormQuery({
|
|
55452
|
-
slug: payload.slug,
|
|
55453
|
-
teamId: payload.teamId
|
|
55454
|
-
});
|
|
55455
|
-
const headers = new Headers(compactMap({
|
|
55456
|
-
"Content-Type": "application/json",
|
|
55457
|
-
Accept: "application/json"
|
|
55458
|
-
}));
|
|
55459
|
-
const secConfig = await extractSecurity(client._options.bearerToken);
|
|
55460
|
-
const securityInput = secConfig == null ? {} : { bearerToken: secConfig };
|
|
55461
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
55462
|
-
const context = {
|
|
55463
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
55464
|
-
operationID: "createOrTransferDomain",
|
|
55465
|
-
oAuth2Scopes: [],
|
|
55466
|
-
resolvedSecurity: requestSecurity,
|
|
55467
|
-
securitySource: client._options.bearerToken,
|
|
55468
|
-
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
55469
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
55470
|
-
};
|
|
55471
|
-
const requestRes = client._createRequest(context, {
|
|
55472
|
-
security: requestSecurity,
|
|
55473
|
-
method: "POST",
|
|
55474
|
-
baseURL: options?.serverURL,
|
|
55475
|
-
path,
|
|
55476
|
-
headers,
|
|
55477
|
-
query,
|
|
55478
|
-
body,
|
|
55479
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
55480
|
-
}, options);
|
|
55481
|
-
if (!requestRes.ok) {
|
|
55482
|
-
return [requestRes, { status: "invalid" }];
|
|
55483
|
-
}
|
|
55484
|
-
const req = requestRes.value;
|
|
55485
|
-
const doResult = await client._do(req, {
|
|
55486
|
-
context,
|
|
55487
|
-
errorCodes: ["400", "401", "402", "403", "404", "409", "4XX", "500", "5XX"],
|
|
55488
|
-
retryConfig: context.retryConfig,
|
|
55489
|
-
retryCodes: context.retryCodes
|
|
55490
|
-
});
|
|
55491
|
-
if (!doResult.ok) {
|
|
55492
|
-
return [doResult, { status: "request-error", request: req }];
|
|
55493
|
-
}
|
|
55494
|
-
const response = doResult.value;
|
|
55495
|
-
const responseFields = {
|
|
55496
|
-
HttpMeta: { Response: response, Request: req }
|
|
55497
|
-
};
|
|
55498
|
-
const [result] = await match(json(200, CreateOrTransferDomainResponseBody$inboundSchema), jsonErr(400, VercelBadRequestError$inboundSchema), jsonErr(401, VercelForbiddenError$inboundSchema), jsonErr(404, VercelNotFoundError$inboundSchema), fail([402, 403, 409, "4XX"]), fail([500, "5XX"]))(response, { extraFields: responseFields });
|
|
55499
|
-
if (!result.ok) {
|
|
55500
|
-
return [result, { status: "complete", request: req, response }];
|
|
55501
|
-
}
|
|
55502
|
-
return [result, { status: "complete", request: req, response }];
|
|
55503
|
-
}
|
|
55504
|
-
var init_domainsCreateOrTransferDomain = __esm(() => {
|
|
55505
|
-
init_encodings();
|
|
55506
|
-
init_matchers();
|
|
55507
|
-
init_primitives();
|
|
55508
|
-
init_schemas();
|
|
55509
|
-
init_security();
|
|
55510
|
-
init_url();
|
|
55511
|
-
init_createortransferdomainop();
|
|
55512
|
-
init_vercelbadrequesterror();
|
|
55513
|
-
init_vercelforbiddenerror();
|
|
55514
|
-
init_vercelnotfounderror();
|
|
55515
|
-
init_async();
|
|
55516
|
-
});
|
|
55517
|
-
|
|
55518
|
-
// src/mcp-server/tools/domainsCreateOrTransferDomain.ts
|
|
55519
|
-
var args55, tool$domainsCreateOrTransferDomain;
|
|
55520
|
-
var init_domainsCreateOrTransferDomain2 = __esm(() => {
|
|
55521
|
-
init_domainsCreateOrTransferDomain();
|
|
55522
|
-
init_createortransferdomainop();
|
|
55523
|
-
init_tools();
|
|
55524
|
-
args55 = {
|
|
55525
|
-
request: CreateOrTransferDomainRequest$inboundSchema
|
|
55526
|
-
};
|
|
55527
|
-
tool$domainsCreateOrTransferDomain = {
|
|
55528
|
-
name: "domains-create-or-transfer-domain",
|
|
55529
|
-
description: `Register or transfer-in a new Domain
|
|
55530
|
-
|
|
55531
|
-
This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Can also be used for initiating a domain transfer request from an external Registrar to Vercel.`,
|
|
55532
|
-
args: args55,
|
|
55533
|
-
tool: async (client, args56, ctx) => {
|
|
55534
|
-
const [result, apiCall] = await domainsCreateOrTransferDomain(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55535
|
-
if (!result.ok) {
|
|
55536
|
-
return {
|
|
55537
|
-
content: [{ type: "text", text: result.error.message }],
|
|
55538
|
-
isError: true
|
|
55539
|
-
};
|
|
55540
|
-
}
|
|
55541
|
-
const value = result.value;
|
|
55542
|
-
return formatResult(value, apiCall);
|
|
55543
|
-
}
|
|
55544
|
-
};
|
|
55545
|
-
});
|
|
55546
|
-
|
|
55547
55261
|
// src/models/deletedomainop.ts
|
|
55548
55262
|
var DeleteDomainRequest$inboundSchema, DeleteDomainRequest$outboundSchema, DeleteDomainRequest$, DeleteDomainResponseBody$inboundSchema, DeleteDomainResponseBody$outboundSchema, DeleteDomainResponseBody$;
|
|
55549
55263
|
var init_deletedomainop = __esm(() => {
|
|
@@ -55576,9 +55290,9 @@ var init_deletedomainop = __esm(() => {
|
|
|
55576
55290
|
|
|
55577
55291
|
// src/funcs/domainsDeleteDomain.ts
|
|
55578
55292
|
function domainsDeleteDomain(client, request, options) {
|
|
55579
|
-
return new APIPromise($
|
|
55293
|
+
return new APIPromise($do56(client, request, options));
|
|
55580
55294
|
}
|
|
55581
|
-
async function $
|
|
55295
|
+
async function $do56(client, request, options) {
|
|
55582
55296
|
const parsed = safeParse(request, (value) => DeleteDomainRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55583
55297
|
if (!parsed.ok) {
|
|
55584
55298
|
return [parsed, { status: "invalid" }];
|
|
@@ -55659,12 +55373,12 @@ var init_domainsDeleteDomain = __esm(() => {
|
|
|
55659
55373
|
});
|
|
55660
55374
|
|
|
55661
55375
|
// src/mcp-server/tools/domainsDeleteDomain.ts
|
|
55662
|
-
var
|
|
55376
|
+
var args55, tool$domainsDeleteDomain;
|
|
55663
55377
|
var init_domainsDeleteDomain2 = __esm(() => {
|
|
55664
55378
|
init_domainsDeleteDomain();
|
|
55665
55379
|
init_deletedomainop();
|
|
55666
55380
|
init_tools();
|
|
55667
|
-
|
|
55381
|
+
args55 = {
|
|
55668
55382
|
request: DeleteDomainRequest$inboundSchema
|
|
55669
55383
|
};
|
|
55670
55384
|
tool$domainsDeleteDomain = {
|
|
@@ -55672,9 +55386,9 @@ var init_domainsDeleteDomain2 = __esm(() => {
|
|
|
55672
55386
|
description: `Remove a domain by name
|
|
55673
55387
|
|
|
55674
55388
|
Delete a previously registered domain name from Vercel. Deleting a domain will automatically remove any associated aliases.`,
|
|
55675
|
-
args:
|
|
55676
|
-
tool: async (client,
|
|
55677
|
-
const [result, apiCall] = await domainsDeleteDomain(client,
|
|
55389
|
+
args: args55,
|
|
55390
|
+
tool: async (client, args56, ctx) => {
|
|
55391
|
+
const [result, apiCall] = await domainsDeleteDomain(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55678
55392
|
if (!result.ok) {
|
|
55679
55393
|
return {
|
|
55680
55394
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55688,10 +55402,10 @@ Delete a previously registered domain name from Vercel. Deleting a domain will a
|
|
|
55688
55402
|
});
|
|
55689
55403
|
|
|
55690
55404
|
// src/models/getdomainop.ts
|
|
55691
|
-
var
|
|
55405
|
+
var GetDomainServiceType, GetDomainRequest$inboundSchema, GetDomainRequest$outboundSchema, GetDomainRequest$, GetDomainCreator$inboundSchema, GetDomainCreator$outboundSchema, GetDomainCreator$, GetDomainServiceType$inboundSchema, GetDomainServiceType$outboundSchema, GetDomainServiceType$, GetDomainDomain$inboundSchema, GetDomainDomain$outboundSchema, GetDomainDomain$, GetDomainResponseBody$inboundSchema, GetDomainResponseBody$outboundSchema, GetDomainResponseBody$;
|
|
55692
55406
|
var init_getdomainop = __esm(() => {
|
|
55693
55407
|
init_lib();
|
|
55694
|
-
|
|
55408
|
+
GetDomainServiceType = {
|
|
55695
55409
|
ZeitWorld: "zeit.world",
|
|
55696
55410
|
External: "external",
|
|
55697
55411
|
Na: "na"
|
|
@@ -55728,12 +55442,12 @@ var init_getdomainop = __esm(() => {
|
|
|
55728
55442
|
GetDomainCreator$.inboundSchema = GetDomainCreator$inboundSchema;
|
|
55729
55443
|
GetDomainCreator$.outboundSchema = GetDomainCreator$outboundSchema;
|
|
55730
55444
|
})(GetDomainCreator$ ||= {});
|
|
55731
|
-
|
|
55732
|
-
|
|
55733
|
-
((
|
|
55734
|
-
|
|
55735
|
-
|
|
55736
|
-
})(
|
|
55445
|
+
GetDomainServiceType$inboundSchema = nativeEnumType(GetDomainServiceType);
|
|
55446
|
+
GetDomainServiceType$outboundSchema = GetDomainServiceType$inboundSchema;
|
|
55447
|
+
((GetDomainServiceType$) => {
|
|
55448
|
+
GetDomainServiceType$.inboundSchema = GetDomainServiceType$inboundSchema;
|
|
55449
|
+
GetDomainServiceType$.outboundSchema = GetDomainServiceType$outboundSchema;
|
|
55450
|
+
})(GetDomainServiceType$ ||= {});
|
|
55737
55451
|
GetDomainDomain$inboundSchema = objectType({
|
|
55738
55452
|
suffix: booleanType(),
|
|
55739
55453
|
verified: booleanType(),
|
|
@@ -55749,7 +55463,7 @@ var init_getdomainop = __esm(() => {
|
|
|
55749
55463
|
id: stringType(),
|
|
55750
55464
|
orderedAt: numberType().optional(),
|
|
55751
55465
|
renew: booleanType().optional(),
|
|
55752
|
-
serviceType:
|
|
55466
|
+
serviceType: GetDomainServiceType$inboundSchema,
|
|
55753
55467
|
transferredAt: nullableType(numberType()).optional(),
|
|
55754
55468
|
transferStartedAt: numberType().optional(),
|
|
55755
55469
|
userId: stringType()
|
|
@@ -55769,7 +55483,7 @@ var init_getdomainop = __esm(() => {
|
|
|
55769
55483
|
id: stringType(),
|
|
55770
55484
|
orderedAt: numberType().optional(),
|
|
55771
55485
|
renew: booleanType().optional(),
|
|
55772
|
-
serviceType:
|
|
55486
|
+
serviceType: GetDomainServiceType$outboundSchema,
|
|
55773
55487
|
transferredAt: nullableType(numberType()).optional(),
|
|
55774
55488
|
transferStartedAt: numberType().optional(),
|
|
55775
55489
|
userId: stringType()
|
|
@@ -55792,9 +55506,9 @@ var init_getdomainop = __esm(() => {
|
|
|
55792
55506
|
|
|
55793
55507
|
// src/funcs/domainsGetDomain.ts
|
|
55794
55508
|
function domainsGetDomain(client, request, options) {
|
|
55795
|
-
return new APIPromise($
|
|
55509
|
+
return new APIPromise($do57(client, request, options));
|
|
55796
55510
|
}
|
|
55797
|
-
async function $
|
|
55511
|
+
async function $do57(client, request, options) {
|
|
55798
55512
|
const parsed = safeParse(request, (value) => GetDomainRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55799
55513
|
if (!parsed.ok) {
|
|
55800
55514
|
return [parsed, { status: "invalid" }];
|
|
@@ -55875,12 +55589,12 @@ var init_domainsGetDomain = __esm(() => {
|
|
|
55875
55589
|
});
|
|
55876
55590
|
|
|
55877
55591
|
// src/mcp-server/tools/domainsGetDomain.ts
|
|
55878
|
-
var
|
|
55592
|
+
var args56, tool$domainsGetDomain;
|
|
55879
55593
|
var init_domainsGetDomain2 = __esm(() => {
|
|
55880
55594
|
init_domainsGetDomain();
|
|
55881
55595
|
init_getdomainop();
|
|
55882
55596
|
init_tools();
|
|
55883
|
-
|
|
55597
|
+
args56 = {
|
|
55884
55598
|
request: GetDomainRequest$inboundSchema
|
|
55885
55599
|
};
|
|
55886
55600
|
tool$domainsGetDomain = {
|
|
@@ -55888,9 +55602,9 @@ var init_domainsGetDomain2 = __esm(() => {
|
|
|
55888
55602
|
description: `Get Information for a Single Domain
|
|
55889
55603
|
|
|
55890
55604
|
Get information for a single domain in an account or team.`,
|
|
55891
|
-
args:
|
|
55892
|
-
tool: async (client,
|
|
55893
|
-
const [result, apiCall] = await domainsGetDomain(client,
|
|
55605
|
+
args: args56,
|
|
55606
|
+
tool: async (client, args57, ctx) => {
|
|
55607
|
+
const [result, apiCall] = await domainsGetDomain(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55894
55608
|
if (!result.ok) {
|
|
55895
55609
|
return {
|
|
55896
55610
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55973,9 +55687,9 @@ var init_getdomainconfigop = __esm(() => {
|
|
|
55973
55687
|
|
|
55974
55688
|
// src/funcs/domainsGetDomainConfig.ts
|
|
55975
55689
|
function domainsGetDomainConfig(client, request, options) {
|
|
55976
|
-
return new APIPromise($
|
|
55690
|
+
return new APIPromise($do58(client, request, options));
|
|
55977
55691
|
}
|
|
55978
|
-
async function $
|
|
55692
|
+
async function $do58(client, request, options) {
|
|
55979
55693
|
const parsed = safeParse(request, (value) => GetDomainConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55980
55694
|
if (!parsed.ok) {
|
|
55981
55695
|
return [parsed, { status: "invalid" }];
|
|
@@ -56056,12 +55770,12 @@ var init_domainsGetDomainConfig = __esm(() => {
|
|
|
56056
55770
|
});
|
|
56057
55771
|
|
|
56058
55772
|
// src/mcp-server/tools/domainsGetDomainConfig.ts
|
|
56059
|
-
var
|
|
55773
|
+
var args57, tool$domainsGetDomainConfig;
|
|
56060
55774
|
var init_domainsGetDomainConfig2 = __esm(() => {
|
|
56061
55775
|
init_domainsGetDomainConfig();
|
|
56062
55776
|
init_getdomainconfigop();
|
|
56063
55777
|
init_tools();
|
|
56064
|
-
|
|
55778
|
+
args57 = {
|
|
56065
55779
|
request: GetDomainConfigRequest$inboundSchema
|
|
56066
55780
|
};
|
|
56067
55781
|
tool$domainsGetDomainConfig = {
|
|
@@ -56069,9 +55783,9 @@ var init_domainsGetDomainConfig2 = __esm(() => {
|
|
|
56069
55783
|
description: `Get a Domain's configuration
|
|
56070
55784
|
|
|
56071
55785
|
Get a Domain's configuration.`,
|
|
56072
|
-
args:
|
|
56073
|
-
tool: async (client,
|
|
56074
|
-
const [result, apiCall] = await domainsGetDomainConfig(client,
|
|
55786
|
+
args: args57,
|
|
55787
|
+
tool: async (client, args58, ctx) => {
|
|
55788
|
+
const [result, apiCall] = await domainsGetDomainConfig(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56075
55789
|
if (!result.ok) {
|
|
56076
55790
|
return {
|
|
56077
55791
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56194,9 +55908,9 @@ var init_getdomainsop = __esm(() => {
|
|
|
56194
55908
|
|
|
56195
55909
|
// src/funcs/domainsGetDomains.ts
|
|
56196
55910
|
function domainsGetDomains(client, request, options) {
|
|
56197
|
-
return new APIPromise($
|
|
55911
|
+
return new APIPromise($do59(client, request, options));
|
|
56198
55912
|
}
|
|
56199
|
-
async function $
|
|
55913
|
+
async function $do59(client, request, options) {
|
|
56200
55914
|
const parsed = safeParse(request, (value) => GetDomainsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56201
55915
|
if (!parsed.ok) {
|
|
56202
55916
|
return [parsed, { status: "invalid" }];
|
|
@@ -56273,12 +55987,12 @@ var init_domainsGetDomains = __esm(() => {
|
|
|
56273
55987
|
});
|
|
56274
55988
|
|
|
56275
55989
|
// src/mcp-server/tools/domainsGetDomains.ts
|
|
56276
|
-
var
|
|
55990
|
+
var args58, tool$domainsGetDomains;
|
|
56277
55991
|
var init_domainsGetDomains2 = __esm(() => {
|
|
56278
55992
|
init_domainsGetDomains();
|
|
56279
55993
|
init_getdomainsop();
|
|
56280
55994
|
init_tools();
|
|
56281
|
-
|
|
55995
|
+
args58 = {
|
|
56282
55996
|
request: GetDomainsRequest$inboundSchema
|
|
56283
55997
|
};
|
|
56284
55998
|
tool$domainsGetDomains = {
|
|
@@ -56286,9 +56000,9 @@ var init_domainsGetDomains2 = __esm(() => {
|
|
|
56286
56000
|
description: `List all the domains
|
|
56287
56001
|
|
|
56288
56002
|
Retrieves a list of domains registered for the authenticated user or team. By default it returns the last 20 domains if no limit is provided.`,
|
|
56289
|
-
args:
|
|
56290
|
-
tool: async (client,
|
|
56291
|
-
const [result, apiCall] = await domainsGetDomains(client,
|
|
56003
|
+
args: args58,
|
|
56004
|
+
tool: async (client, args59, ctx) => {
|
|
56005
|
+
const [result, apiCall] = await domainsGetDomains(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56292
56006
|
if (!result.ok) {
|
|
56293
56007
|
return {
|
|
56294
56008
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56367,9 +56081,9 @@ var init_getdomaintransferop = __esm(() => {
|
|
|
56367
56081
|
|
|
56368
56082
|
// src/funcs/domainsGetDomainTransfer.ts
|
|
56369
56083
|
function domainsGetDomainTransfer(client, request, options) {
|
|
56370
|
-
return new APIPromise($
|
|
56084
|
+
return new APIPromise($do60(client, request, options));
|
|
56371
56085
|
}
|
|
56372
|
-
async function $
|
|
56086
|
+
async function $do60(client, request, options) {
|
|
56373
56087
|
const parsed = safeParse(request, (value) => GetDomainTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56374
56088
|
if (!parsed.ok) {
|
|
56375
56089
|
return [parsed, { status: "invalid" }];
|
|
@@ -56449,12 +56163,12 @@ var init_domainsGetDomainTransfer = __esm(() => {
|
|
|
56449
56163
|
});
|
|
56450
56164
|
|
|
56451
56165
|
// src/mcp-server/tools/domainsGetDomainTransfer.ts
|
|
56452
|
-
var
|
|
56166
|
+
var args59, tool$domainsGetDomainTransfer;
|
|
56453
56167
|
var init_domainsGetDomainTransfer2 = __esm(() => {
|
|
56454
56168
|
init_domainsGetDomainTransfer();
|
|
56455
56169
|
init_getdomaintransferop();
|
|
56456
56170
|
init_tools();
|
|
56457
|
-
|
|
56171
|
+
args59 = {
|
|
56458
56172
|
request: GetDomainTransferRequest$inboundSchema
|
|
56459
56173
|
};
|
|
56460
56174
|
tool$domainsGetDomainTransfer = {
|
|
@@ -56462,9 +56176,9 @@ var init_domainsGetDomainTransfer2 = __esm(() => {
|
|
|
56462
56176
|
description: `Get domain transfer info.
|
|
56463
56177
|
|
|
56464
56178
|
Fetch domain transfer availability or transfer status if a transfer is in progress.`,
|
|
56465
|
-
args:
|
|
56466
|
-
tool: async (client,
|
|
56467
|
-
const [result, apiCall] = await domainsGetDomainTransfer(client,
|
|
56179
|
+
args: args59,
|
|
56180
|
+
tool: async (client, args60, ctx) => {
|
|
56181
|
+
const [result, apiCall] = await domainsGetDomainTransfer(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56468
56182
|
if (!result.ok) {
|
|
56469
56183
|
return {
|
|
56470
56184
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56606,9 +56320,9 @@ var init_patchdomainop = __esm(() => {
|
|
|
56606
56320
|
|
|
56607
56321
|
// src/funcs/domainsPatchDomain.ts
|
|
56608
56322
|
function domainsPatchDomain(client, request, options) {
|
|
56609
|
-
return new APIPromise($
|
|
56323
|
+
return new APIPromise($do61(client, request, options));
|
|
56610
56324
|
}
|
|
56611
|
-
async function $
|
|
56325
|
+
async function $do61(client, request, options) {
|
|
56612
56326
|
const parsed = safeParse(request, (value) => PatchDomainRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56613
56327
|
if (!parsed.ok) {
|
|
56614
56328
|
return [parsed, { status: "invalid" }];
|
|
@@ -56690,12 +56404,12 @@ var init_domainsPatchDomain = __esm(() => {
|
|
|
56690
56404
|
});
|
|
56691
56405
|
|
|
56692
56406
|
// src/mcp-server/tools/domainsPatchDomain.ts
|
|
56693
|
-
var
|
|
56407
|
+
var args60, tool$domainsPatchDomain;
|
|
56694
56408
|
var init_domainsPatchDomain2 = __esm(() => {
|
|
56695
56409
|
init_domainsPatchDomain();
|
|
56696
56410
|
init_patchdomainop();
|
|
56697
56411
|
init_tools();
|
|
56698
|
-
|
|
56412
|
+
args60 = {
|
|
56699
56413
|
request: PatchDomainRequest$inboundSchema
|
|
56700
56414
|
};
|
|
56701
56415
|
tool$domainsPatchDomain = {
|
|
@@ -56703,9 +56417,9 @@ var init_domainsPatchDomain2 = __esm(() => {
|
|
|
56703
56417
|
description: `Update or move apex domain
|
|
56704
56418
|
|
|
56705
56419
|
Update or move apex domain.`,
|
|
56706
|
-
args:
|
|
56707
|
-
tool: async (client,
|
|
56708
|
-
const [result, apiCall] = await domainsPatchDomain(client,
|
|
56420
|
+
args: args60,
|
|
56421
|
+
tool: async (client, args61, ctx) => {
|
|
56422
|
+
const [result, apiCall] = await domainsPatchDomain(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56709
56423
|
if (!result.ok) {
|
|
56710
56424
|
return {
|
|
56711
56425
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56871,9 +56585,9 @@ var init_createedgeconfigop = __esm(() => {
|
|
|
56871
56585
|
|
|
56872
56586
|
// src/funcs/edgeConfigCreateEdgeConfig.ts
|
|
56873
56587
|
function edgeConfigCreateEdgeConfig(client, request, options) {
|
|
56874
|
-
return new APIPromise($
|
|
56588
|
+
return new APIPromise($do62(client, request, options));
|
|
56875
56589
|
}
|
|
56876
|
-
async function $
|
|
56590
|
+
async function $do62(client, request, options) {
|
|
56877
56591
|
const parsed = safeParse(request, (value) => CreateEdgeConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
56878
56592
|
if (!parsed.ok) {
|
|
56879
56593
|
return [parsed, { status: "invalid" }];
|
|
@@ -56948,12 +56662,12 @@ var init_edgeConfigCreateEdgeConfig = __esm(() => {
|
|
|
56948
56662
|
});
|
|
56949
56663
|
|
|
56950
56664
|
// src/mcp-server/tools/edgeConfigCreateEdgeConfig.ts
|
|
56951
|
-
var
|
|
56665
|
+
var args61, tool$edgeConfigCreateEdgeConfig;
|
|
56952
56666
|
var init_edgeConfigCreateEdgeConfig2 = __esm(() => {
|
|
56953
56667
|
init_edgeConfigCreateEdgeConfig();
|
|
56954
56668
|
init_createedgeconfigop();
|
|
56955
56669
|
init_tools();
|
|
56956
|
-
|
|
56670
|
+
args61 = {
|
|
56957
56671
|
request: CreateEdgeConfigRequest$inboundSchema
|
|
56958
56672
|
};
|
|
56959
56673
|
tool$edgeConfigCreateEdgeConfig = {
|
|
@@ -56961,9 +56675,9 @@ var init_edgeConfigCreateEdgeConfig2 = __esm(() => {
|
|
|
56961
56675
|
description: `Create an Edge Config
|
|
56962
56676
|
|
|
56963
56677
|
Creates an Edge Config.`,
|
|
56964
|
-
args:
|
|
56965
|
-
tool: async (client,
|
|
56966
|
-
const [result, apiCall] = await edgeConfigCreateEdgeConfig(client,
|
|
56678
|
+
args: args61,
|
|
56679
|
+
tool: async (client, args62, ctx) => {
|
|
56680
|
+
const [result, apiCall] = await edgeConfigCreateEdgeConfig(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56967
56681
|
if (!result.ok) {
|
|
56968
56682
|
return {
|
|
56969
56683
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57031,9 +56745,9 @@ var init_createedgeconfigtokenop = __esm(() => {
|
|
|
57031
56745
|
|
|
57032
56746
|
// src/funcs/edgeConfigCreateEdgeConfigToken.ts
|
|
57033
56747
|
function edgeConfigCreateEdgeConfigToken(client, request, options) {
|
|
57034
|
-
return new APIPromise($
|
|
56748
|
+
return new APIPromise($do63(client, request, options));
|
|
57035
56749
|
}
|
|
57036
|
-
async function $
|
|
56750
|
+
async function $do63(client, request, options) {
|
|
57037
56751
|
const parsed = safeParse(request, (value) => CreateEdgeConfigTokenRequest$outboundSchema.parse(value), "Input validation failed");
|
|
57038
56752
|
if (!parsed.ok) {
|
|
57039
56753
|
return [parsed, { status: "invalid" }];
|
|
@@ -57115,12 +56829,12 @@ var init_edgeConfigCreateEdgeConfigToken = __esm(() => {
|
|
|
57115
56829
|
});
|
|
57116
56830
|
|
|
57117
56831
|
// src/mcp-server/tools/edgeConfigCreateEdgeConfigToken.ts
|
|
57118
|
-
var
|
|
56832
|
+
var args62, tool$edgeConfigCreateEdgeConfigToken;
|
|
57119
56833
|
var init_edgeConfigCreateEdgeConfigToken2 = __esm(() => {
|
|
57120
56834
|
init_edgeConfigCreateEdgeConfigToken();
|
|
57121
56835
|
init_createedgeconfigtokenop();
|
|
57122
56836
|
init_tools();
|
|
57123
|
-
|
|
56837
|
+
args62 = {
|
|
57124
56838
|
request: CreateEdgeConfigTokenRequest$inboundSchema
|
|
57125
56839
|
};
|
|
57126
56840
|
tool$edgeConfigCreateEdgeConfigToken = {
|
|
@@ -57128,9 +56842,9 @@ var init_edgeConfigCreateEdgeConfigToken2 = __esm(() => {
|
|
|
57128
56842
|
description: `Create an Edge Config token
|
|
57129
56843
|
|
|
57130
56844
|
Adds a token to an existing Edge Config.`,
|
|
57131
|
-
args:
|
|
57132
|
-
tool: async (client,
|
|
57133
|
-
const [result, apiCall] = await edgeConfigCreateEdgeConfigToken(client,
|
|
56845
|
+
args: args62,
|
|
56846
|
+
tool: async (client, args63, ctx) => {
|
|
56847
|
+
const [result, apiCall] = await edgeConfigCreateEdgeConfigToken(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57134
56848
|
if (!result.ok) {
|
|
57135
56849
|
return {
|
|
57136
56850
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57165,9 +56879,9 @@ var init_deleteedgeconfigop = __esm(() => {
|
|
|
57165
56879
|
|
|
57166
56880
|
// src/funcs/edgeConfigDeleteEdgeConfig.ts
|
|
57167
56881
|
function edgeConfigDeleteEdgeConfig(client, request, options) {
|
|
57168
|
-
return new APIPromise($
|
|
56882
|
+
return new APIPromise($do64(client, request, options));
|
|
57169
56883
|
}
|
|
57170
|
-
async function $
|
|
56884
|
+
async function $do64(client, request, options) {
|
|
57171
56885
|
const parsed = safeParse(request, (value) => DeleteEdgeConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
57172
56886
|
if (!parsed.ok) {
|
|
57173
56887
|
return [parsed, { status: "invalid" }];
|
|
@@ -57249,12 +56963,12 @@ var init_edgeConfigDeleteEdgeConfig = __esm(() => {
|
|
|
57249
56963
|
});
|
|
57250
56964
|
|
|
57251
56965
|
// src/mcp-server/tools/edgeConfigDeleteEdgeConfig.ts
|
|
57252
|
-
var
|
|
56966
|
+
var args63, tool$edgeConfigDeleteEdgeConfig;
|
|
57253
56967
|
var init_edgeConfigDeleteEdgeConfig2 = __esm(() => {
|
|
57254
56968
|
init_edgeConfigDeleteEdgeConfig();
|
|
57255
56969
|
init_deleteedgeconfigop();
|
|
57256
56970
|
init_tools();
|
|
57257
|
-
|
|
56971
|
+
args63 = {
|
|
57258
56972
|
request: DeleteEdgeConfigRequest$inboundSchema
|
|
57259
56973
|
};
|
|
57260
56974
|
tool$edgeConfigDeleteEdgeConfig = {
|
|
@@ -57262,9 +56976,9 @@ var init_edgeConfigDeleteEdgeConfig2 = __esm(() => {
|
|
|
57262
56976
|
description: `Delete an Edge Config
|
|
57263
56977
|
|
|
57264
56978
|
Delete an Edge Config by id.`,
|
|
57265
|
-
args:
|
|
57266
|
-
tool: async (client,
|
|
57267
|
-
const [result, apiCall] = await edgeConfigDeleteEdgeConfig(client,
|
|
56979
|
+
args: args63,
|
|
56980
|
+
tool: async (client, args64, ctx) => {
|
|
56981
|
+
const [result, apiCall] = await edgeConfigDeleteEdgeConfig(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57268
56982
|
if (!result.ok) {
|
|
57269
56983
|
return {
|
|
57270
56984
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57298,9 +57012,9 @@ var init_deleteedgeconfigschemaop = __esm(() => {
|
|
|
57298
57012
|
|
|
57299
57013
|
// src/funcs/edgeConfigDeleteEdgeConfigSchema.ts
|
|
57300
57014
|
function edgeConfigDeleteEdgeConfigSchema(client, request, options) {
|
|
57301
|
-
return new APIPromise($
|
|
57015
|
+
return new APIPromise($do65(client, request, options));
|
|
57302
57016
|
}
|
|
57303
|
-
async function $
|
|
57017
|
+
async function $do65(client, request, options) {
|
|
57304
57018
|
const parsed = safeParse(request, (value) => DeleteEdgeConfigSchemaRequest$outboundSchema.parse(value), "Input validation failed");
|
|
57305
57019
|
if (!parsed.ok) {
|
|
57306
57020
|
return [parsed, { status: "invalid" }];
|
|
@@ -57382,12 +57096,12 @@ var init_edgeConfigDeleteEdgeConfigSchema = __esm(() => {
|
|
|
57382
57096
|
});
|
|
57383
57097
|
|
|
57384
57098
|
// src/mcp-server/tools/edgeConfigDeleteEdgeConfigSchema.ts
|
|
57385
|
-
var
|
|
57099
|
+
var args64, tool$edgeConfigDeleteEdgeConfigSchema;
|
|
57386
57100
|
var init_edgeConfigDeleteEdgeConfigSchema2 = __esm(() => {
|
|
57387
57101
|
init_edgeConfigDeleteEdgeConfigSchema();
|
|
57388
57102
|
init_deleteedgeconfigschemaop();
|
|
57389
57103
|
init_tools();
|
|
57390
|
-
|
|
57104
|
+
args64 = {
|
|
57391
57105
|
request: DeleteEdgeConfigSchemaRequest$inboundSchema
|
|
57392
57106
|
};
|
|
57393
57107
|
tool$edgeConfigDeleteEdgeConfigSchema = {
|
|
@@ -57395,9 +57109,9 @@ var init_edgeConfigDeleteEdgeConfigSchema2 = __esm(() => {
|
|
|
57395
57109
|
description: `Delete an Edge Config's schema
|
|
57396
57110
|
|
|
57397
57111
|
Deletes the schema of existing Edge Config.`,
|
|
57398
|
-
args:
|
|
57399
|
-
tool: async (client,
|
|
57400
|
-
const [result, apiCall] = await edgeConfigDeleteEdgeConfigSchema(client,
|
|
57112
|
+
args: args64,
|
|
57113
|
+
tool: async (client, args65, ctx) => {
|
|
57114
|
+
const [result, apiCall] = await edgeConfigDeleteEdgeConfigSchema(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57401
57115
|
if (!result.ok) {
|
|
57402
57116
|
return {
|
|
57403
57117
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57452,9 +57166,9 @@ var init_deleteedgeconfigtokensop = __esm(() => {
|
|
|
57452
57166
|
|
|
57453
57167
|
// src/funcs/edgeConfigDeleteEdgeConfigTokens.ts
|
|
57454
57168
|
function edgeConfigDeleteEdgeConfigTokens(client, request, options) {
|
|
57455
|
-
return new APIPromise($
|
|
57169
|
+
return new APIPromise($do66(client, request, options));
|
|
57456
57170
|
}
|
|
57457
|
-
async function $
|
|
57171
|
+
async function $do66(client, request, options) {
|
|
57458
57172
|
const parsed = safeParse(request, (value) => DeleteEdgeConfigTokensRequest$outboundSchema.parse(value), "Input validation failed");
|
|
57459
57173
|
if (!parsed.ok) {
|
|
57460
57174
|
return [parsed, { status: "invalid" }];
|
|
@@ -57537,12 +57251,12 @@ var init_edgeConfigDeleteEdgeConfigTokens = __esm(() => {
|
|
|
57537
57251
|
});
|
|
57538
57252
|
|
|
57539
57253
|
// src/mcp-server/tools/edgeConfigDeleteEdgeConfigTokens.ts
|
|
57540
|
-
var
|
|
57254
|
+
var args65, tool$edgeConfigDeleteEdgeConfigTokens;
|
|
57541
57255
|
var init_edgeConfigDeleteEdgeConfigTokens2 = __esm(() => {
|
|
57542
57256
|
init_edgeConfigDeleteEdgeConfigTokens();
|
|
57543
57257
|
init_deleteedgeconfigtokensop();
|
|
57544
57258
|
init_tools();
|
|
57545
|
-
|
|
57259
|
+
args65 = {
|
|
57546
57260
|
request: DeleteEdgeConfigTokensRequest$inboundSchema
|
|
57547
57261
|
};
|
|
57548
57262
|
tool$edgeConfigDeleteEdgeConfigTokens = {
|
|
@@ -57550,9 +57264,9 @@ var init_edgeConfigDeleteEdgeConfigTokens2 = __esm(() => {
|
|
|
57550
57264
|
description: `Delete one or more Edge Config tokens
|
|
57551
57265
|
|
|
57552
57266
|
Deletes one or more tokens of an existing Edge Config.`,
|
|
57553
|
-
args:
|
|
57554
|
-
tool: async (client,
|
|
57555
|
-
const [result, apiCall] = await edgeConfigDeleteEdgeConfigTokens(client,
|
|
57267
|
+
args: args65,
|
|
57268
|
+
tool: async (client, args66, ctx) => {
|
|
57269
|
+
const [result, apiCall] = await edgeConfigDeleteEdgeConfigTokens(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57556
57270
|
if (!result.ok) {
|
|
57557
57271
|
return {
|
|
57558
57272
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57696,9 +57410,9 @@ var init_getedgeconfigop = __esm(() => {
|
|
|
57696
57410
|
|
|
57697
57411
|
// src/funcs/edgeConfigGetEdgeConfig.ts
|
|
57698
57412
|
function edgeConfigGetEdgeConfig(client, request, options) {
|
|
57699
|
-
return new APIPromise($
|
|
57413
|
+
return new APIPromise($do67(client, request, options));
|
|
57700
57414
|
}
|
|
57701
|
-
async function $
|
|
57415
|
+
async function $do67(client, request, options) {
|
|
57702
57416
|
const parsed = safeParse(request, (value) => GetEdgeConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
57703
57417
|
if (!parsed.ok) {
|
|
57704
57418
|
return [parsed, { status: "invalid" }];
|
|
@@ -57779,12 +57493,12 @@ var init_edgeConfigGetEdgeConfig = __esm(() => {
|
|
|
57779
57493
|
});
|
|
57780
57494
|
|
|
57781
57495
|
// src/mcp-server/tools/edgeConfigGetEdgeConfig.ts
|
|
57782
|
-
var
|
|
57496
|
+
var args66, tool$edgeConfigGetEdgeConfig;
|
|
57783
57497
|
var init_edgeConfigGetEdgeConfig2 = __esm(() => {
|
|
57784
57498
|
init_edgeConfigGetEdgeConfig();
|
|
57785
57499
|
init_getedgeconfigop();
|
|
57786
57500
|
init_tools();
|
|
57787
|
-
|
|
57501
|
+
args66 = {
|
|
57788
57502
|
request: GetEdgeConfigRequest$inboundSchema
|
|
57789
57503
|
};
|
|
57790
57504
|
tool$edgeConfigGetEdgeConfig = {
|
|
@@ -57792,9 +57506,9 @@ var init_edgeConfigGetEdgeConfig2 = __esm(() => {
|
|
|
57792
57506
|
description: `Get an Edge Config
|
|
57793
57507
|
|
|
57794
57508
|
Returns an Edge Config.`,
|
|
57795
|
-
args:
|
|
57796
|
-
tool: async (client,
|
|
57797
|
-
const [result, apiCall] = await edgeConfigGetEdgeConfig(client,
|
|
57509
|
+
args: args66,
|
|
57510
|
+
tool: async (client, args67, ctx) => {
|
|
57511
|
+
const [result, apiCall] = await edgeConfigGetEdgeConfig(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57798
57512
|
if (!result.ok) {
|
|
57799
57513
|
return {
|
|
57800
57514
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58036,9 +57750,9 @@ var init_getedgeconfigbackupop = __esm(() => {
|
|
|
58036
57750
|
|
|
58037
57751
|
// src/funcs/edgeConfigGetEdgeConfigBackup.ts
|
|
58038
57752
|
function edgeConfigGetEdgeConfigBackup(client, request, options) {
|
|
58039
|
-
return new APIPromise($
|
|
57753
|
+
return new APIPromise($do68(client, request, options));
|
|
58040
57754
|
}
|
|
58041
|
-
async function $
|
|
57755
|
+
async function $do68(client, request, options) {
|
|
58042
57756
|
const parsed = safeParse(request, (value) => GetEdgeConfigBackupRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58043
57757
|
if (!parsed.ok) {
|
|
58044
57758
|
return [parsed, { status: "invalid" }];
|
|
@@ -58120,12 +57834,12 @@ var init_edgeConfigGetEdgeConfigBackup = __esm(() => {
|
|
|
58120
57834
|
});
|
|
58121
57835
|
|
|
58122
57836
|
// src/mcp-server/tools/edgeConfigGetEdgeConfigBackup.ts
|
|
58123
|
-
var
|
|
57837
|
+
var args67, tool$edgeConfigGetEdgeConfigBackup;
|
|
58124
57838
|
var init_edgeConfigGetEdgeConfigBackup2 = __esm(() => {
|
|
58125
57839
|
init_edgeConfigGetEdgeConfigBackup();
|
|
58126
57840
|
init_getedgeconfigbackupop();
|
|
58127
57841
|
init_tools();
|
|
58128
|
-
|
|
57842
|
+
args67 = {
|
|
58129
57843
|
request: GetEdgeConfigBackupRequest$inboundSchema
|
|
58130
57844
|
};
|
|
58131
57845
|
tool$edgeConfigGetEdgeConfigBackup = {
|
|
@@ -58133,9 +57847,9 @@ var init_edgeConfigGetEdgeConfigBackup2 = __esm(() => {
|
|
|
58133
57847
|
description: `Get Edge Config backup
|
|
58134
57848
|
|
|
58135
57849
|
Retrieves a specific version of an Edge Config from backup storage.`,
|
|
58136
|
-
args:
|
|
58137
|
-
tool: async (client,
|
|
58138
|
-
const [result, apiCall] = await edgeConfigGetEdgeConfigBackup(client,
|
|
57850
|
+
args: args67,
|
|
57851
|
+
tool: async (client, args68, ctx) => {
|
|
57852
|
+
const [result, apiCall] = await edgeConfigGetEdgeConfigBackup(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58139
57853
|
if (!result.ok) {
|
|
58140
57854
|
return {
|
|
58141
57855
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58230,9 +57944,9 @@ var init_getedgeconfigbackupsop = __esm(() => {
|
|
|
58230
57944
|
|
|
58231
57945
|
// src/funcs/edgeConfigGetEdgeConfigBackups.ts
|
|
58232
57946
|
function edgeConfigGetEdgeConfigBackups(client, request, options) {
|
|
58233
|
-
return new APIPromise($
|
|
57947
|
+
return new APIPromise($do69(client, request, options));
|
|
58234
57948
|
}
|
|
58235
|
-
async function $
|
|
57949
|
+
async function $do69(client, request, options) {
|
|
58236
57950
|
const parsed = safeParse(request, (value) => GetEdgeConfigBackupsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58237
57951
|
if (!parsed.ok) {
|
|
58238
57952
|
return [parsed, { status: "invalid" }];
|
|
@@ -58316,12 +58030,12 @@ var init_edgeConfigGetEdgeConfigBackups = __esm(() => {
|
|
|
58316
58030
|
});
|
|
58317
58031
|
|
|
58318
58032
|
// src/mcp-server/tools/edgeConfigGetEdgeConfigBackups.ts
|
|
58319
|
-
var
|
|
58033
|
+
var args68, tool$edgeConfigGetEdgeConfigBackups;
|
|
58320
58034
|
var init_edgeConfigGetEdgeConfigBackups2 = __esm(() => {
|
|
58321
58035
|
init_edgeConfigGetEdgeConfigBackups();
|
|
58322
58036
|
init_getedgeconfigbackupsop();
|
|
58323
58037
|
init_tools();
|
|
58324
|
-
|
|
58038
|
+
args68 = {
|
|
58325
58039
|
request: GetEdgeConfigBackupsRequest$inboundSchema
|
|
58326
58040
|
};
|
|
58327
58041
|
tool$edgeConfigGetEdgeConfigBackups = {
|
|
@@ -58329,9 +58043,9 @@ var init_edgeConfigGetEdgeConfigBackups2 = __esm(() => {
|
|
|
58329
58043
|
description: `Get Edge Config backups
|
|
58330
58044
|
|
|
58331
58045
|
Returns backups of an Edge Config.`,
|
|
58332
|
-
args:
|
|
58333
|
-
tool: async (client,
|
|
58334
|
-
const [result, apiCall] = await edgeConfigGetEdgeConfigBackups(client,
|
|
58046
|
+
args: args68,
|
|
58047
|
+
tool: async (client, args69, ctx) => {
|
|
58048
|
+
const [result, apiCall] = await edgeConfigGetEdgeConfigBackups(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58335
58049
|
if (!result.ok) {
|
|
58336
58050
|
return {
|
|
58337
58051
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58395,9 +58109,9 @@ var init_getedgeconfigitemop = __esm(() => {
|
|
|
58395
58109
|
|
|
58396
58110
|
// src/funcs/edgeConfigGetEdgeConfigItem.ts
|
|
58397
58111
|
function edgeConfigGetEdgeConfigItem(client, request, options) {
|
|
58398
|
-
return new APIPromise($
|
|
58112
|
+
return new APIPromise($do70(client, request, options));
|
|
58399
58113
|
}
|
|
58400
|
-
async function $
|
|
58114
|
+
async function $do70(client, request, options) {
|
|
58401
58115
|
const parsed = safeParse(request, (value) => GetEdgeConfigItemRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58402
58116
|
if (!parsed.ok) {
|
|
58403
58117
|
return [parsed, { status: "invalid" }];
|
|
@@ -58480,12 +58194,12 @@ var init_edgeConfigGetEdgeConfigItem = __esm(() => {
|
|
|
58480
58194
|
});
|
|
58481
58195
|
|
|
58482
58196
|
// src/mcp-server/tools/edgeConfigGetEdgeConfigItem.ts
|
|
58483
|
-
var
|
|
58197
|
+
var args69, tool$edgeConfigGetEdgeConfigItem;
|
|
58484
58198
|
var init_edgeConfigGetEdgeConfigItem2 = __esm(() => {
|
|
58485
58199
|
init_edgeConfigGetEdgeConfigItem();
|
|
58486
58200
|
init_getedgeconfigitemop();
|
|
58487
58201
|
init_tools();
|
|
58488
|
-
|
|
58202
|
+
args69 = {
|
|
58489
58203
|
request: GetEdgeConfigItemRequest$inboundSchema
|
|
58490
58204
|
};
|
|
58491
58205
|
tool$edgeConfigGetEdgeConfigItem = {
|
|
@@ -58493,9 +58207,9 @@ var init_edgeConfigGetEdgeConfigItem2 = __esm(() => {
|
|
|
58493
58207
|
description: `Get an Edge Config item
|
|
58494
58208
|
|
|
58495
58209
|
Returns a specific Edge Config Item.`,
|
|
58496
|
-
args:
|
|
58497
|
-
tool: async (client,
|
|
58498
|
-
const [result, apiCall] = await edgeConfigGetEdgeConfigItem(client,
|
|
58210
|
+
args: args69,
|
|
58211
|
+
tool: async (client, args70, ctx) => {
|
|
58212
|
+
const [result, apiCall] = await edgeConfigGetEdgeConfigItem(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58499
58213
|
if (!result.ok) {
|
|
58500
58214
|
return {
|
|
58501
58215
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58530,9 +58244,9 @@ var init_getedgeconfigitemsop = __esm(() => {
|
|
|
58530
58244
|
|
|
58531
58245
|
// src/funcs/edgeConfigGetEdgeConfigItems.ts
|
|
58532
58246
|
function edgeConfigGetEdgeConfigItems(client, request, options) {
|
|
58533
|
-
return new APIPromise($
|
|
58247
|
+
return new APIPromise($do71(client, request, options));
|
|
58534
58248
|
}
|
|
58535
|
-
async function $
|
|
58249
|
+
async function $do71(client, request, options) {
|
|
58536
58250
|
const parsed = safeParse(request, (value) => GetEdgeConfigItemsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58537
58251
|
if (!parsed.ok) {
|
|
58538
58252
|
return [parsed, { status: "invalid" }];
|
|
@@ -58614,12 +58328,12 @@ var init_edgeConfigGetEdgeConfigItems = __esm(() => {
|
|
|
58614
58328
|
});
|
|
58615
58329
|
|
|
58616
58330
|
// src/mcp-server/tools/edgeConfigGetEdgeConfigItems.ts
|
|
58617
|
-
var
|
|
58331
|
+
var args70, tool$edgeConfigGetEdgeConfigItems;
|
|
58618
58332
|
var init_edgeConfigGetEdgeConfigItems2 = __esm(() => {
|
|
58619
58333
|
init_edgeConfigGetEdgeConfigItems();
|
|
58620
58334
|
init_getedgeconfigitemsop();
|
|
58621
58335
|
init_tools();
|
|
58622
|
-
|
|
58336
|
+
args70 = {
|
|
58623
58337
|
request: GetEdgeConfigItemsRequest$inboundSchema
|
|
58624
58338
|
};
|
|
58625
58339
|
tool$edgeConfigGetEdgeConfigItems = {
|
|
@@ -58627,9 +58341,9 @@ var init_edgeConfigGetEdgeConfigItems2 = __esm(() => {
|
|
|
58627
58341
|
description: `Get Edge Config items
|
|
58628
58342
|
|
|
58629
58343
|
Returns all items of an Edge Config.`,
|
|
58630
|
-
args:
|
|
58631
|
-
tool: async (client,
|
|
58632
|
-
const [result, apiCall] = await edgeConfigGetEdgeConfigItems(client,
|
|
58344
|
+
args: args70,
|
|
58345
|
+
tool: async (client, args71, ctx) => {
|
|
58346
|
+
const [result, apiCall] = await edgeConfigGetEdgeConfigItems(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58633
58347
|
if (!result.ok) {
|
|
58634
58348
|
return {
|
|
58635
58349
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58733,9 +58447,9 @@ var init_getedgeconfigsop = __esm(() => {
|
|
|
58733
58447
|
|
|
58734
58448
|
// src/funcs/edgeConfigGetEdgeConfigs.ts
|
|
58735
58449
|
function edgeConfigGetEdgeConfigs(client, request, options) {
|
|
58736
|
-
return new APIPromise($
|
|
58450
|
+
return new APIPromise($do72(client, request, options));
|
|
58737
58451
|
}
|
|
58738
|
-
async function $
|
|
58452
|
+
async function $do72(client, request, options) {
|
|
58739
58453
|
const parsed = safeParse(request, (value) => GetEdgeConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58740
58454
|
if (!parsed.ok) {
|
|
58741
58455
|
return [parsed, { status: "invalid" }];
|
|
@@ -58810,12 +58524,12 @@ var init_edgeConfigGetEdgeConfigs = __esm(() => {
|
|
|
58810
58524
|
});
|
|
58811
58525
|
|
|
58812
58526
|
// src/mcp-server/tools/edgeConfigGetEdgeConfigs.ts
|
|
58813
|
-
var
|
|
58527
|
+
var args71, tool$edgeConfigGetEdgeConfigs;
|
|
58814
58528
|
var init_edgeConfigGetEdgeConfigs2 = __esm(() => {
|
|
58815
58529
|
init_edgeConfigGetEdgeConfigs();
|
|
58816
58530
|
init_getedgeconfigsop();
|
|
58817
58531
|
init_tools();
|
|
58818
|
-
|
|
58532
|
+
args71 = {
|
|
58819
58533
|
request: GetEdgeConfigsRequest$inboundSchema
|
|
58820
58534
|
};
|
|
58821
58535
|
tool$edgeConfigGetEdgeConfigs = {
|
|
@@ -58823,9 +58537,9 @@ var init_edgeConfigGetEdgeConfigs2 = __esm(() => {
|
|
|
58823
58537
|
description: `Get Edge Configs
|
|
58824
58538
|
|
|
58825
58539
|
Returns all Edge Configs.`,
|
|
58826
|
-
args:
|
|
58827
|
-
tool: async (client,
|
|
58828
|
-
const [result, apiCall] = await edgeConfigGetEdgeConfigs(client,
|
|
58540
|
+
args: args71,
|
|
58541
|
+
tool: async (client, args72, ctx) => {
|
|
58542
|
+
const [result, apiCall] = await edgeConfigGetEdgeConfigs(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58829
58543
|
if (!result.ok) {
|
|
58830
58544
|
return {
|
|
58831
58545
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58866,9 +58580,9 @@ var init_getedgeconfigschemaop = __esm(() => {
|
|
|
58866
58580
|
|
|
58867
58581
|
// src/funcs/edgeConfigGetEdgeConfigSchema.ts
|
|
58868
58582
|
function edgeConfigGetEdgeConfigSchema(client, request, options) {
|
|
58869
|
-
return new APIPromise($
|
|
58583
|
+
return new APIPromise($do73(client, request, options));
|
|
58870
58584
|
}
|
|
58871
|
-
async function $
|
|
58585
|
+
async function $do73(client, request, options) {
|
|
58872
58586
|
const parsed = safeParse(request, (value) => GetEdgeConfigSchemaRequest$outboundSchema.parse(value), "Input validation failed");
|
|
58873
58587
|
if (!parsed.ok) {
|
|
58874
58588
|
return [parsed, { status: "invalid" }];
|
|
@@ -58949,12 +58663,12 @@ var init_edgeConfigGetEdgeConfigSchema = __esm(() => {
|
|
|
58949
58663
|
});
|
|
58950
58664
|
|
|
58951
58665
|
// src/mcp-server/tools/edgeConfigGetEdgeConfigSchema.ts
|
|
58952
|
-
var
|
|
58666
|
+
var args72, tool$edgeConfigGetEdgeConfigSchema;
|
|
58953
58667
|
var init_edgeConfigGetEdgeConfigSchema2 = __esm(() => {
|
|
58954
58668
|
init_edgeConfigGetEdgeConfigSchema();
|
|
58955
58669
|
init_getedgeconfigschemaop();
|
|
58956
58670
|
init_tools();
|
|
58957
|
-
|
|
58671
|
+
args72 = {
|
|
58958
58672
|
request: GetEdgeConfigSchemaRequest$inboundSchema
|
|
58959
58673
|
};
|
|
58960
58674
|
tool$edgeConfigGetEdgeConfigSchema = {
|
|
@@ -58962,9 +58676,9 @@ var init_edgeConfigGetEdgeConfigSchema2 = __esm(() => {
|
|
|
58962
58676
|
description: `Get Edge Config schema
|
|
58963
58677
|
|
|
58964
58678
|
Returns the schema of an Edge Config.`,
|
|
58965
|
-
args:
|
|
58966
|
-
tool: async (client,
|
|
58967
|
-
const [result, apiCall] = await edgeConfigGetEdgeConfigSchema(client,
|
|
58679
|
+
args: args72,
|
|
58680
|
+
tool: async (client, args73, ctx) => {
|
|
58681
|
+
const [result, apiCall] = await edgeConfigGetEdgeConfigSchema(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58968
58682
|
if (!result.ok) {
|
|
58969
58683
|
return {
|
|
58970
58684
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59025,9 +58739,9 @@ var init_getedgeconfigtokenop = __esm(() => {
|
|
|
59025
58739
|
|
|
59026
58740
|
// src/funcs/edgeConfigGetEdgeConfigToken.ts
|
|
59027
58741
|
function edgeConfigGetEdgeConfigToken(client, request, options) {
|
|
59028
|
-
return new APIPromise($
|
|
58742
|
+
return new APIPromise($do74(client, request, options));
|
|
59029
58743
|
}
|
|
59030
|
-
async function $
|
|
58744
|
+
async function $do74(client, request, options) {
|
|
59031
58745
|
const parsed = safeParse(request, (value) => GetEdgeConfigTokenRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59032
58746
|
if (!parsed.ok) {
|
|
59033
58747
|
return [parsed, { status: "invalid" }];
|
|
@@ -59113,12 +58827,12 @@ var init_edgeConfigGetEdgeConfigToken = __esm(() => {
|
|
|
59113
58827
|
});
|
|
59114
58828
|
|
|
59115
58829
|
// src/mcp-server/tools/edgeConfigGetEdgeConfigToken.ts
|
|
59116
|
-
var
|
|
58830
|
+
var args73, tool$edgeConfigGetEdgeConfigToken;
|
|
59117
58831
|
var init_edgeConfigGetEdgeConfigToken2 = __esm(() => {
|
|
59118
58832
|
init_edgeConfigGetEdgeConfigToken();
|
|
59119
58833
|
init_getedgeconfigtokenop();
|
|
59120
58834
|
init_tools();
|
|
59121
|
-
|
|
58835
|
+
args73 = {
|
|
59122
58836
|
request: GetEdgeConfigTokenRequest$inboundSchema
|
|
59123
58837
|
};
|
|
59124
58838
|
tool$edgeConfigGetEdgeConfigToken = {
|
|
@@ -59126,9 +58840,9 @@ var init_edgeConfigGetEdgeConfigToken2 = __esm(() => {
|
|
|
59126
58840
|
description: `Get Edge Config token meta data
|
|
59127
58841
|
|
|
59128
58842
|
Return meta data about an Edge Config token.`,
|
|
59129
|
-
args:
|
|
59130
|
-
tool: async (client,
|
|
59131
|
-
const [result, apiCall] = await edgeConfigGetEdgeConfigToken(client,
|
|
58843
|
+
args: args73,
|
|
58844
|
+
tool: async (client, args74, ctx) => {
|
|
58845
|
+
const [result, apiCall] = await edgeConfigGetEdgeConfigToken(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59132
58846
|
if (!result.ok) {
|
|
59133
58847
|
return {
|
|
59134
58848
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59163,9 +58877,9 @@ var init_getedgeconfigtokensop = __esm(() => {
|
|
|
59163
58877
|
|
|
59164
58878
|
// src/funcs/edgeConfigGetEdgeConfigTokens.ts
|
|
59165
58879
|
function edgeConfigGetEdgeConfigTokens(client, request, options) {
|
|
59166
|
-
return new APIPromise($
|
|
58880
|
+
return new APIPromise($do75(client, request, options));
|
|
59167
58881
|
}
|
|
59168
|
-
async function $
|
|
58882
|
+
async function $do75(client, request, options) {
|
|
59169
58883
|
const parsed = safeParse(request, (value) => GetEdgeConfigTokensRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59170
58884
|
if (!parsed.ok) {
|
|
59171
58885
|
return [parsed, { status: "invalid" }];
|
|
@@ -59247,12 +58961,12 @@ var init_edgeConfigGetEdgeConfigTokens = __esm(() => {
|
|
|
59247
58961
|
});
|
|
59248
58962
|
|
|
59249
58963
|
// src/mcp-server/tools/edgeConfigGetEdgeConfigTokens.ts
|
|
59250
|
-
var
|
|
58964
|
+
var args74, tool$edgeConfigGetEdgeConfigTokens;
|
|
59251
58965
|
var init_edgeConfigGetEdgeConfigTokens2 = __esm(() => {
|
|
59252
58966
|
init_edgeConfigGetEdgeConfigTokens();
|
|
59253
58967
|
init_getedgeconfigtokensop();
|
|
59254
58968
|
init_tools();
|
|
59255
|
-
|
|
58969
|
+
args74 = {
|
|
59256
58970
|
request: GetEdgeConfigTokensRequest$inboundSchema
|
|
59257
58971
|
};
|
|
59258
58972
|
tool$edgeConfigGetEdgeConfigTokens = {
|
|
@@ -59260,9 +58974,9 @@ var init_edgeConfigGetEdgeConfigTokens2 = __esm(() => {
|
|
|
59260
58974
|
description: `Get all tokens of an Edge Config
|
|
59261
58975
|
|
|
59262
58976
|
Returns all tokens of an Edge Config.`,
|
|
59263
|
-
args:
|
|
59264
|
-
tool: async (client,
|
|
59265
|
-
const [result, apiCall] = await edgeConfigGetEdgeConfigTokens(client,
|
|
58977
|
+
args: args74,
|
|
58978
|
+
tool: async (client, args75, ctx) => {
|
|
58979
|
+
const [result, apiCall] = await edgeConfigGetEdgeConfigTokens(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59266
58980
|
if (!result.ok) {
|
|
59267
58981
|
return {
|
|
59268
58982
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59326,9 +59040,9 @@ var init_patchedgeconfigschemaop = __esm(() => {
|
|
|
59326
59040
|
|
|
59327
59041
|
// src/funcs/edgeConfigPatchEdgeConfigSchema.ts
|
|
59328
59042
|
function edgeConfigPatchEdgeConfigSchema(client, request, options) {
|
|
59329
|
-
return new APIPromise($
|
|
59043
|
+
return new APIPromise($do76(client, request, options));
|
|
59330
59044
|
}
|
|
59331
|
-
async function $
|
|
59045
|
+
async function $do76(client, request, options) {
|
|
59332
59046
|
const parsed = safeParse(request, (value) => PatchEdgeConfigSchemaRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59333
59047
|
if (!parsed.ok) {
|
|
59334
59048
|
return [parsed, { status: "invalid" }];
|
|
@@ -59411,12 +59125,12 @@ var init_edgeConfigPatchEdgeConfigSchema = __esm(() => {
|
|
|
59411
59125
|
});
|
|
59412
59126
|
|
|
59413
59127
|
// src/mcp-server/tools/edgeConfigPatchEdgeConfigSchema.ts
|
|
59414
|
-
var
|
|
59128
|
+
var args75, tool$edgeConfigPatchEdgeConfigSchema;
|
|
59415
59129
|
var init_edgeConfigPatchEdgeConfigSchema2 = __esm(() => {
|
|
59416
59130
|
init_edgeConfigPatchEdgeConfigSchema();
|
|
59417
59131
|
init_patchedgeconfigschemaop();
|
|
59418
59132
|
init_tools();
|
|
59419
|
-
|
|
59133
|
+
args75 = {
|
|
59420
59134
|
request: PatchEdgeConfigSchemaRequest$inboundSchema
|
|
59421
59135
|
};
|
|
59422
59136
|
tool$edgeConfigPatchEdgeConfigSchema = {
|
|
@@ -59424,9 +59138,9 @@ var init_edgeConfigPatchEdgeConfigSchema2 = __esm(() => {
|
|
|
59424
59138
|
description: `Update Edge Config schema
|
|
59425
59139
|
|
|
59426
59140
|
Update an Edge Config's schema.`,
|
|
59427
|
-
args:
|
|
59428
|
-
tool: async (client,
|
|
59429
|
-
const [result, apiCall] = await edgeConfigPatchEdgeConfigSchema(client,
|
|
59141
|
+
args: args75,
|
|
59142
|
+
tool: async (client, args76, ctx) => {
|
|
59143
|
+
const [result, apiCall] = await edgeConfigPatchEdgeConfigSchema(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59430
59144
|
if (!result.ok) {
|
|
59431
59145
|
return {
|
|
59432
59146
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59592,9 +59306,9 @@ var init_updateedgeconfigop = __esm(() => {
|
|
|
59592
59306
|
|
|
59593
59307
|
// src/funcs/edgeConfigUpdateEdgeConfig.ts
|
|
59594
59308
|
function edgeConfigUpdateEdgeConfig(client, request, options) {
|
|
59595
|
-
return new APIPromise($
|
|
59309
|
+
return new APIPromise($do77(client, request, options));
|
|
59596
59310
|
}
|
|
59597
|
-
async function $
|
|
59311
|
+
async function $do77(client, request, options) {
|
|
59598
59312
|
const parsed = safeParse(request, (value) => UpdateEdgeConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59599
59313
|
if (!parsed.ok) {
|
|
59600
59314
|
return [parsed, { status: "invalid" }];
|
|
@@ -59676,12 +59390,12 @@ var init_edgeConfigUpdateEdgeConfig = __esm(() => {
|
|
|
59676
59390
|
});
|
|
59677
59391
|
|
|
59678
59392
|
// src/mcp-server/tools/edgeConfigUpdateEdgeConfig.ts
|
|
59679
|
-
var
|
|
59393
|
+
var args76, tool$edgeConfigUpdateEdgeConfig;
|
|
59680
59394
|
var init_edgeConfigUpdateEdgeConfig2 = __esm(() => {
|
|
59681
59395
|
init_edgeConfigUpdateEdgeConfig();
|
|
59682
59396
|
init_updateedgeconfigop();
|
|
59683
59397
|
init_tools();
|
|
59684
|
-
|
|
59398
|
+
args76 = {
|
|
59685
59399
|
request: UpdateEdgeConfigRequest$inboundSchema
|
|
59686
59400
|
};
|
|
59687
59401
|
tool$edgeConfigUpdateEdgeConfig = {
|
|
@@ -59689,9 +59403,9 @@ var init_edgeConfigUpdateEdgeConfig2 = __esm(() => {
|
|
|
59689
59403
|
description: `Update an Edge Config
|
|
59690
59404
|
|
|
59691
59405
|
Updates an Edge Config.`,
|
|
59692
|
-
args:
|
|
59693
|
-
tool: async (client,
|
|
59694
|
-
const [result, apiCall] = await edgeConfigUpdateEdgeConfig(client,
|
|
59406
|
+
args: args76,
|
|
59407
|
+
tool: async (client, args77, ctx) => {
|
|
59408
|
+
const [result, apiCall] = await edgeConfigUpdateEdgeConfig(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59695
59409
|
if (!result.ok) {
|
|
59696
59410
|
return {
|
|
59697
59411
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59882,9 +59596,9 @@ var init_createcustomenvironmentop = __esm(() => {
|
|
|
59882
59596
|
|
|
59883
59597
|
// src/funcs/environmentCreateCustomEnvironment.ts
|
|
59884
59598
|
function environmentCreateCustomEnvironment(client, request, options) {
|
|
59885
|
-
return new APIPromise($
|
|
59599
|
+
return new APIPromise($do78(client, request, options));
|
|
59886
59600
|
}
|
|
59887
|
-
async function $
|
|
59601
|
+
async function $do78(client, request, options) {
|
|
59888
59602
|
const parsed = safeParse(request, (value) => CreateCustomEnvironmentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
59889
59603
|
if (!parsed.ok) {
|
|
59890
59604
|
return [parsed, { status: "invalid" }];
|
|
@@ -59965,12 +59679,12 @@ var init_environmentCreateCustomEnvironment = __esm(() => {
|
|
|
59965
59679
|
});
|
|
59966
59680
|
|
|
59967
59681
|
// src/mcp-server/tools/environmentCreateCustomEnvironment.ts
|
|
59968
|
-
var
|
|
59682
|
+
var args77, tool$environmentCreateCustomEnvironment;
|
|
59969
59683
|
var init_environmentCreateCustomEnvironment2 = __esm(() => {
|
|
59970
59684
|
init_environmentCreateCustomEnvironment();
|
|
59971
59685
|
init_createcustomenvironmentop();
|
|
59972
59686
|
init_tools();
|
|
59973
|
-
|
|
59687
|
+
args77 = {
|
|
59974
59688
|
request: CreateCustomEnvironmentRequest$inboundSchema
|
|
59975
59689
|
};
|
|
59976
59690
|
tool$environmentCreateCustomEnvironment = {
|
|
@@ -59978,9 +59692,9 @@ var init_environmentCreateCustomEnvironment2 = __esm(() => {
|
|
|
59978
59692
|
description: `Create a custom environment for the current project.
|
|
59979
59693
|
|
|
59980
59694
|
Creates a custom environment for the current project. Cannot be named 'Production' or 'Preview'.`,
|
|
59981
|
-
args:
|
|
59982
|
-
tool: async (client,
|
|
59983
|
-
const [result, apiCall] = await environmentCreateCustomEnvironment(client,
|
|
59695
|
+
args: args77,
|
|
59696
|
+
tool: async (client, args78, ctx) => {
|
|
59697
|
+
const [result, apiCall] = await environmentCreateCustomEnvironment(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59984
59698
|
if (!result.ok) {
|
|
59985
59699
|
return {
|
|
59986
59700
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60123,9 +59837,9 @@ var init_getcustomenvironmentop = __esm(() => {
|
|
|
60123
59837
|
|
|
60124
59838
|
// src/funcs/environmentGetCustomEnvironment.ts
|
|
60125
59839
|
function environmentGetCustomEnvironment(client, request, options) {
|
|
60126
|
-
return new APIPromise($
|
|
59840
|
+
return new APIPromise($do79(client, request, options));
|
|
60127
59841
|
}
|
|
60128
|
-
async function $
|
|
59842
|
+
async function $do79(client, request, options) {
|
|
60129
59843
|
const parsed = safeParse(request, (value) => GetCustomEnvironmentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60130
59844
|
if (!parsed.ok) {
|
|
60131
59845
|
return [parsed, { status: "invalid" }];
|
|
@@ -60207,12 +59921,12 @@ var init_environmentGetCustomEnvironment = __esm(() => {
|
|
|
60207
59921
|
});
|
|
60208
59922
|
|
|
60209
59923
|
// src/mcp-server/tools/environmentGetCustomEnvironment.ts
|
|
60210
|
-
var
|
|
59924
|
+
var args78, tool$environmentGetCustomEnvironment;
|
|
60211
59925
|
var init_environmentGetCustomEnvironment2 = __esm(() => {
|
|
60212
59926
|
init_environmentGetCustomEnvironment();
|
|
60213
59927
|
init_getcustomenvironmentop();
|
|
60214
59928
|
init_tools();
|
|
60215
|
-
|
|
59929
|
+
args78 = {
|
|
60216
59930
|
request: GetCustomEnvironmentRequest$inboundSchema
|
|
60217
59931
|
};
|
|
60218
59932
|
tool$environmentGetCustomEnvironment = {
|
|
@@ -60220,9 +59934,9 @@ var init_environmentGetCustomEnvironment2 = __esm(() => {
|
|
|
60220
59934
|
description: `Retrieve a custom environment
|
|
60221
59935
|
|
|
60222
59936
|
Retrieve a custom environment for the project. Must not be named 'Production' or 'Preview'.`,
|
|
60223
|
-
args:
|
|
60224
|
-
tool: async (client,
|
|
60225
|
-
const [result, apiCall] = await environmentGetCustomEnvironment(client,
|
|
59937
|
+
args: args78,
|
|
59938
|
+
tool: async (client, args79, ctx) => {
|
|
59939
|
+
const [result, apiCall] = await environmentGetCustomEnvironment(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60226
59940
|
if (!result.ok) {
|
|
60227
59941
|
return {
|
|
60228
59942
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60387,9 +60101,9 @@ var init_getv9projectsidornamecustomenvironmentsop = __esm(() => {
|
|
|
60387
60101
|
|
|
60388
60102
|
// src/funcs/environmentGetV9ProjectsIdOrNameCustomEnvironments.ts
|
|
60389
60103
|
function environmentGetV9ProjectsIdOrNameCustomEnvironments(client, request, options) {
|
|
60390
|
-
return new APIPromise($
|
|
60104
|
+
return new APIPromise($do80(client, request, options));
|
|
60391
60105
|
}
|
|
60392
|
-
async function $
|
|
60106
|
+
async function $do80(client, request, options) {
|
|
60393
60107
|
const parsed = safeParse(request, (value) => GetV9ProjectsIdOrNameCustomEnvironmentsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60394
60108
|
if (!parsed.ok) {
|
|
60395
60109
|
return [parsed, { status: "invalid" }];
|
|
@@ -60470,12 +60184,12 @@ var init_environmentGetV9ProjectsIdOrNameCustomEnvironments = __esm(() => {
|
|
|
60470
60184
|
});
|
|
60471
60185
|
|
|
60472
60186
|
// src/mcp-server/tools/environmentGetV9ProjectsIdOrNameCustomEnvironments.ts
|
|
60473
|
-
var
|
|
60187
|
+
var args79, tool$environmentGetV9ProjectsIdOrNameCustomEnvironments;
|
|
60474
60188
|
var init_environmentGetV9ProjectsIdOrNameCustomEnvironments2 = __esm(() => {
|
|
60475
60189
|
init_environmentGetV9ProjectsIdOrNameCustomEnvironments();
|
|
60476
60190
|
init_getv9projectsidornamecustomenvironmentsop();
|
|
60477
60191
|
init_tools();
|
|
60478
|
-
|
|
60192
|
+
args79 = {
|
|
60479
60193
|
request: GetV9ProjectsIdOrNameCustomEnvironmentsRequest$inboundSchema
|
|
60480
60194
|
};
|
|
60481
60195
|
tool$environmentGetV9ProjectsIdOrNameCustomEnvironments = {
|
|
@@ -60483,9 +60197,9 @@ var init_environmentGetV9ProjectsIdOrNameCustomEnvironments2 = __esm(() => {
|
|
|
60483
60197
|
description: `Retrieve custom environments
|
|
60484
60198
|
|
|
60485
60199
|
Retrieve custom environments for the project. Must not be named 'Production' or 'Preview'.`,
|
|
60486
|
-
args:
|
|
60487
|
-
tool: async (client,
|
|
60488
|
-
const [result, apiCall] = await environmentGetV9ProjectsIdOrNameCustomEnvironments(client,
|
|
60200
|
+
args: args79,
|
|
60201
|
+
tool: async (client, args80, ctx) => {
|
|
60202
|
+
const [result, apiCall] = await environmentGetV9ProjectsIdOrNameCustomEnvironments(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60489
60203
|
if (!result.ok) {
|
|
60490
60204
|
return {
|
|
60491
60205
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60649,9 +60363,9 @@ var init_removecustomenvironmentop = __esm(() => {
|
|
|
60649
60363
|
|
|
60650
60364
|
// src/funcs/environmentRemoveCustomEnvironment.ts
|
|
60651
60365
|
function environmentRemoveCustomEnvironment(client, request, options) {
|
|
60652
|
-
return new APIPromise($
|
|
60366
|
+
return new APIPromise($do81(client, request, options));
|
|
60653
60367
|
}
|
|
60654
|
-
async function $
|
|
60368
|
+
async function $do81(client, request, options) {
|
|
60655
60369
|
const parsed = safeParse(request, (value) => RemoveCustomEnvironmentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60656
60370
|
if (!parsed.ok) {
|
|
60657
60371
|
return [parsed, { status: "invalid" }];
|
|
@@ -60733,12 +60447,12 @@ var init_environmentRemoveCustomEnvironment = __esm(() => {
|
|
|
60733
60447
|
});
|
|
60734
60448
|
|
|
60735
60449
|
// src/mcp-server/tools/environmentRemoveCustomEnvironment.ts
|
|
60736
|
-
var
|
|
60450
|
+
var args80, tool$environmentRemoveCustomEnvironment;
|
|
60737
60451
|
var init_environmentRemoveCustomEnvironment2 = __esm(() => {
|
|
60738
60452
|
init_environmentRemoveCustomEnvironment();
|
|
60739
60453
|
init_removecustomenvironmentop();
|
|
60740
60454
|
init_tools();
|
|
60741
|
-
|
|
60455
|
+
args80 = {
|
|
60742
60456
|
request: RemoveCustomEnvironmentRequest$inboundSchema
|
|
60743
60457
|
};
|
|
60744
60458
|
tool$environmentRemoveCustomEnvironment = {
|
|
@@ -60746,9 +60460,9 @@ var init_environmentRemoveCustomEnvironment2 = __esm(() => {
|
|
|
60746
60460
|
description: `Remove a custom environment
|
|
60747
60461
|
|
|
60748
60462
|
Remove a custom environment for the project. Must not be named 'Production' or 'Preview'.`,
|
|
60749
|
-
args:
|
|
60750
|
-
tool: async (client,
|
|
60751
|
-
const [result, apiCall] = await environmentRemoveCustomEnvironment(client,
|
|
60463
|
+
args: args80,
|
|
60464
|
+
tool: async (client, args81, ctx) => {
|
|
60465
|
+
const [result, apiCall] = await environmentRemoveCustomEnvironment(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60752
60466
|
if (!result.ok) {
|
|
60753
60467
|
return {
|
|
60754
60468
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60939,9 +60653,9 @@ var init_updatecustomenvironmentop = __esm(() => {
|
|
|
60939
60653
|
|
|
60940
60654
|
// src/funcs/environmentUpdateCustomEnvironment.ts
|
|
60941
60655
|
function environmentUpdateCustomEnvironment(client, request, options) {
|
|
60942
|
-
return new APIPromise($
|
|
60656
|
+
return new APIPromise($do82(client, request, options));
|
|
60943
60657
|
}
|
|
60944
|
-
async function $
|
|
60658
|
+
async function $do82(client, request, options) {
|
|
60945
60659
|
const parsed = safeParse(request, (value) => UpdateCustomEnvironmentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60946
60660
|
if (!parsed.ok) {
|
|
60947
60661
|
return [parsed, { status: "invalid" }];
|
|
@@ -61023,12 +60737,12 @@ var init_environmentUpdateCustomEnvironment = __esm(() => {
|
|
|
61023
60737
|
});
|
|
61024
60738
|
|
|
61025
60739
|
// src/mcp-server/tools/environmentUpdateCustomEnvironment.ts
|
|
61026
|
-
var
|
|
60740
|
+
var args81, tool$environmentUpdateCustomEnvironment;
|
|
61027
60741
|
var init_environmentUpdateCustomEnvironment2 = __esm(() => {
|
|
61028
60742
|
init_environmentUpdateCustomEnvironment();
|
|
61029
60743
|
init_updatecustomenvironmentop();
|
|
61030
60744
|
init_tools();
|
|
61031
|
-
|
|
60745
|
+
args81 = {
|
|
61032
60746
|
request: UpdateCustomEnvironmentRequest$inboundSchema
|
|
61033
60747
|
};
|
|
61034
60748
|
tool$environmentUpdateCustomEnvironment = {
|
|
@@ -61036,9 +60750,9 @@ var init_environmentUpdateCustomEnvironment2 = __esm(() => {
|
|
|
61036
60750
|
description: `Update a custom environment
|
|
61037
60751
|
|
|
61038
60752
|
Update a custom environment for the project. Must not be named 'Production' or 'Preview'.`,
|
|
61039
|
-
args:
|
|
61040
|
-
tool: async (client,
|
|
61041
|
-
const [result, apiCall] = await environmentUpdateCustomEnvironment(client,
|
|
60753
|
+
args: args81,
|
|
60754
|
+
tool: async (client, args82, ctx) => {
|
|
60755
|
+
const [result, apiCall] = await environmentUpdateCustomEnvironment(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61042
60756
|
if (!result.ok) {
|
|
61043
60757
|
return {
|
|
61044
60758
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61119,9 +60833,9 @@ var init_team = __esm(() => {
|
|
|
61119
60833
|
|
|
61120
60834
|
// src/funcs/getProjectsProjectIdLogsPresets.ts
|
|
61121
60835
|
function getProjectsProjectIdLogsPresets(client, request, options) {
|
|
61122
|
-
return new APIPromise($
|
|
60836
|
+
return new APIPromise($do83(client, request, options));
|
|
61123
60837
|
}
|
|
61124
|
-
async function $
|
|
60838
|
+
async function $do83(client, request, options) {
|
|
61125
60839
|
const parsed = safeParse(request, (value) => GetProjectsProjectIdLogsPresetsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61126
60840
|
if (!parsed.ok) {
|
|
61127
60841
|
return [parsed, { status: "invalid" }];
|
|
@@ -61193,20 +60907,20 @@ var init_getProjectsProjectIdLogsPresets = __esm(() => {
|
|
|
61193
60907
|
});
|
|
61194
60908
|
|
|
61195
60909
|
// src/mcp-server/tools/getProjectsProjectIdLogsPresets.ts
|
|
61196
|
-
var
|
|
60910
|
+
var args82, tool$getProjectsProjectIdLogsPresets;
|
|
61197
60911
|
var init_getProjectsProjectIdLogsPresets2 = __esm(() => {
|
|
61198
60912
|
init_getProjectsProjectIdLogsPresets();
|
|
61199
60913
|
init_getprojectsprojectidlogspresetsop();
|
|
61200
60914
|
init_tools();
|
|
61201
|
-
|
|
60915
|
+
args82 = {
|
|
61202
60916
|
request: GetProjectsProjectIdLogsPresetsRequest$inboundSchema
|
|
61203
60917
|
};
|
|
61204
60918
|
tool$getProjectsProjectIdLogsPresets = {
|
|
61205
60919
|
name: "get-projects-project-id-logs-presets",
|
|
61206
60920
|
description: ``,
|
|
61207
|
-
args:
|
|
61208
|
-
tool: async (client,
|
|
61209
|
-
const [result, apiCall] = await getProjectsProjectIdLogsPresets(client,
|
|
60921
|
+
args: args82,
|
|
60922
|
+
tool: async (client, args83, ctx) => {
|
|
60923
|
+
const [result, apiCall] = await getProjectsProjectIdLogsPresets(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61210
60924
|
if (!result.ok) {
|
|
61211
60925
|
return {
|
|
61212
60926
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61241,9 +60955,9 @@ var init_deleteconfigurationop = __esm(() => {
|
|
|
61241
60955
|
|
|
61242
60956
|
// src/funcs/integrationsDeleteConfiguration.ts
|
|
61243
60957
|
function integrationsDeleteConfiguration(client, request, options) {
|
|
61244
|
-
return new APIPromise($
|
|
60958
|
+
return new APIPromise($do84(client, request, options));
|
|
61245
60959
|
}
|
|
61246
|
-
async function $
|
|
60960
|
+
async function $do84(client, request, options) {
|
|
61247
60961
|
const parsed = safeParse(request, (value) => DeleteConfigurationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61248
60962
|
if (!parsed.ok) {
|
|
61249
60963
|
return [parsed, { status: "invalid" }];
|
|
@@ -61325,12 +61039,12 @@ var init_integrationsDeleteConfiguration = __esm(() => {
|
|
|
61325
61039
|
});
|
|
61326
61040
|
|
|
61327
61041
|
// src/mcp-server/tools/integrationsDeleteConfiguration.ts
|
|
61328
|
-
var
|
|
61042
|
+
var args83, tool$integrationsDeleteConfiguration;
|
|
61329
61043
|
var init_integrationsDeleteConfiguration2 = __esm(() => {
|
|
61330
61044
|
init_integrationsDeleteConfiguration();
|
|
61331
61045
|
init_deleteconfigurationop();
|
|
61332
61046
|
init_tools();
|
|
61333
|
-
|
|
61047
|
+
args83 = {
|
|
61334
61048
|
request: DeleteConfigurationRequest$inboundSchema
|
|
61335
61049
|
};
|
|
61336
61050
|
tool$integrationsDeleteConfiguration = {
|
|
@@ -61338,9 +61052,9 @@ var init_integrationsDeleteConfiguration2 = __esm(() => {
|
|
|
61338
61052
|
description: `Delete an integration configuration
|
|
61339
61053
|
|
|
61340
61054
|
Allows to remove the configuration with the \`id\` provided in the parameters. The configuration and all of its resources will be removed. This includes Webhooks, LogDrains and Project Env variables.`,
|
|
61341
|
-
args:
|
|
61342
|
-
tool: async (client,
|
|
61343
|
-
const [result, apiCall] = await integrationsDeleteConfiguration(client,
|
|
61055
|
+
args: args83,
|
|
61056
|
+
tool: async (client, args84, ctx) => {
|
|
61057
|
+
const [result, apiCall] = await integrationsDeleteConfiguration(client, args84.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61344
61058
|
if (!result.ok) {
|
|
61345
61059
|
return {
|
|
61346
61060
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61746,9 +61460,9 @@ var init_getconfigurationop = __esm(() => {
|
|
|
61746
61460
|
|
|
61747
61461
|
// src/funcs/integrationsGetConfiguration.ts
|
|
61748
61462
|
function integrationsGetConfiguration(client, request, options) {
|
|
61749
|
-
return new APIPromise($
|
|
61463
|
+
return new APIPromise($do85(client, request, options));
|
|
61750
61464
|
}
|
|
61751
|
-
async function $
|
|
61465
|
+
async function $do85(client, request, options) {
|
|
61752
61466
|
const parsed = safeParse(request, (value) => GetConfigurationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61753
61467
|
if (!parsed.ok) {
|
|
61754
61468
|
return [parsed, { status: "invalid" }];
|
|
@@ -61829,12 +61543,12 @@ var init_integrationsGetConfiguration = __esm(() => {
|
|
|
61829
61543
|
});
|
|
61830
61544
|
|
|
61831
61545
|
// src/mcp-server/tools/integrationsGetConfiguration.ts
|
|
61832
|
-
var
|
|
61546
|
+
var args84, tool$integrationsGetConfiguration;
|
|
61833
61547
|
var init_integrationsGetConfiguration2 = __esm(() => {
|
|
61834
61548
|
init_integrationsGetConfiguration();
|
|
61835
61549
|
init_getconfigurationop();
|
|
61836
61550
|
init_tools();
|
|
61837
|
-
|
|
61551
|
+
args84 = {
|
|
61838
61552
|
request: GetConfigurationRequest$inboundSchema
|
|
61839
61553
|
};
|
|
61840
61554
|
tool$integrationsGetConfiguration = {
|
|
@@ -61842,9 +61556,9 @@ var init_integrationsGetConfiguration2 = __esm(() => {
|
|
|
61842
61556
|
description: `Retrieve an integration configuration
|
|
61843
61557
|
|
|
61844
61558
|
Allows to retrieve a the configuration with the provided id in case it exists. The authenticated user or team must be the owner of the config in order to access it.`,
|
|
61845
|
-
args:
|
|
61846
|
-
tool: async (client,
|
|
61847
|
-
const [result, apiCall] = await integrationsGetConfiguration(client,
|
|
61559
|
+
args: args84,
|
|
61560
|
+
tool: async (client, args85, ctx) => {
|
|
61561
|
+
const [result, apiCall] = await integrationsGetConfiguration(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61848
61562
|
if (!result.ok) {
|
|
61849
61563
|
return {
|
|
61850
61564
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62144,9 +61858,9 @@ var init_getconfigurationsop = __esm(() => {
|
|
|
62144
61858
|
|
|
62145
61859
|
// src/funcs/integrationsGetConfigurations.ts
|
|
62146
61860
|
function integrationsGetConfigurations(client, request, options) {
|
|
62147
|
-
return new APIPromise($
|
|
61861
|
+
return new APIPromise($do86(client, request, options));
|
|
62148
61862
|
}
|
|
62149
|
-
async function $
|
|
61863
|
+
async function $do86(client, request, options) {
|
|
62150
61864
|
const parsed = safeParse(request, (value) => GetConfigurationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62151
61865
|
if (!parsed.ok) {
|
|
62152
61866
|
return [parsed, { status: "invalid" }];
|
|
@@ -62223,12 +61937,12 @@ var init_integrationsGetConfigurations = __esm(() => {
|
|
|
62223
61937
|
});
|
|
62224
61938
|
|
|
62225
61939
|
// src/mcp-server/tools/integrationsGetConfigurations.ts
|
|
62226
|
-
var
|
|
61940
|
+
var args85, tool$integrationsGetConfigurations;
|
|
62227
61941
|
var init_integrationsGetConfigurations2 = __esm(() => {
|
|
62228
61942
|
init_integrationsGetConfigurations();
|
|
62229
61943
|
init_getconfigurationsop();
|
|
62230
61944
|
init_tools();
|
|
62231
|
-
|
|
61945
|
+
args85 = {
|
|
62232
61946
|
request: GetConfigurationsRequest$inboundSchema
|
|
62233
61947
|
};
|
|
62234
61948
|
tool$integrationsGetConfigurations = {
|
|
@@ -62236,9 +61950,9 @@ var init_integrationsGetConfigurations2 = __esm(() => {
|
|
|
62236
61950
|
description: `Get configurations for the authenticated user or team
|
|
62237
61951
|
|
|
62238
61952
|
Allows to retrieve all configurations for an authenticated integration. When the \`project\` view is used, configurations generated for the authorization flow will be filtered out of the results.`,
|
|
62239
|
-
args:
|
|
62240
|
-
tool: async (client,
|
|
62241
|
-
const [result, apiCall] = await integrationsGetConfigurations(client,
|
|
61953
|
+
args: args85,
|
|
61954
|
+
tool: async (client, args86, ctx) => {
|
|
61955
|
+
const [result, apiCall] = await integrationsGetConfigurations(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62242
61956
|
if (!result.ok) {
|
|
62243
61957
|
return {
|
|
62244
61958
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62253,9 +61967,9 @@ Allows to retrieve all configurations for an authenticated integration. When the
|
|
|
62253
61967
|
|
|
62254
61968
|
// src/funcs/integrationsUpdateIntegrationDeploymentAction.ts
|
|
62255
61969
|
function integrationsUpdateIntegrationDeploymentAction(client, request, options) {
|
|
62256
|
-
return new APIPromise($
|
|
61970
|
+
return new APIPromise($do87(client, request, options));
|
|
62257
61971
|
}
|
|
62258
|
-
async function $
|
|
61972
|
+
async function $do87(client, request, options) {
|
|
62259
61973
|
const parsed = safeParse(request, (value) => UpdateIntegrationDeploymentActionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62260
61974
|
if (!parsed.ok) {
|
|
62261
61975
|
return [parsed, { status: "invalid" }];
|
|
@@ -62341,12 +62055,12 @@ var init_integrationsUpdateIntegrationDeploymentAction = __esm(() => {
|
|
|
62341
62055
|
});
|
|
62342
62056
|
|
|
62343
62057
|
// src/mcp-server/tools/integrationsUpdateIntegrationDeploymentAction.ts
|
|
62344
|
-
var
|
|
62058
|
+
var args86, tool$integrationsUpdateIntegrationDeploymentAction;
|
|
62345
62059
|
var init_integrationsUpdateIntegrationDeploymentAction2 = __esm(() => {
|
|
62346
62060
|
init_integrationsUpdateIntegrationDeploymentAction();
|
|
62347
62061
|
init_updateintegrationdeploymentactionop();
|
|
62348
62062
|
init_tools();
|
|
62349
|
-
|
|
62063
|
+
args86 = {
|
|
62350
62064
|
request: UpdateIntegrationDeploymentActionRequest$inboundSchema
|
|
62351
62065
|
};
|
|
62352
62066
|
tool$integrationsUpdateIntegrationDeploymentAction = {
|
|
@@ -62354,9 +62068,9 @@ var init_integrationsUpdateIntegrationDeploymentAction2 = __esm(() => {
|
|
|
62354
62068
|
description: `Update deployment integration action
|
|
62355
62069
|
|
|
62356
62070
|
Updates the deployment integration action for the specified integration installation`,
|
|
62357
|
-
args:
|
|
62358
|
-
tool: async (client,
|
|
62359
|
-
const [result, apiCall] = await integrationsUpdateIntegrationDeploymentAction(client,
|
|
62071
|
+
args: args86,
|
|
62072
|
+
tool: async (client, args87, ctx) => {
|
|
62073
|
+
const [result, apiCall] = await integrationsUpdateIntegrationDeploymentAction(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62360
62074
|
if (!result.ok) {
|
|
62361
62075
|
return {
|
|
62362
62076
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62544,9 +62258,9 @@ var init_createlogdrainop = __esm(() => {
|
|
|
62544
62258
|
|
|
62545
62259
|
// src/funcs/logDrainsCreateLogDrain.ts
|
|
62546
62260
|
function logDrainsCreateLogDrain(client, request, options) {
|
|
62547
|
-
return new APIPromise($
|
|
62261
|
+
return new APIPromise($do88(client, request, options));
|
|
62548
62262
|
}
|
|
62549
|
-
async function $
|
|
62263
|
+
async function $do88(client, request, options) {
|
|
62550
62264
|
const parsed = safeParse(request, (value) => CreateLogDrainRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62551
62265
|
if (!parsed.ok) {
|
|
62552
62266
|
return [parsed, { status: "invalid" }];
|
|
@@ -62621,12 +62335,12 @@ var init_logDrainsCreateLogDrain = __esm(() => {
|
|
|
62621
62335
|
});
|
|
62622
62336
|
|
|
62623
62337
|
// src/mcp-server/tools/logDrainsCreateLogDrain.ts
|
|
62624
|
-
var
|
|
62338
|
+
var args87, tool$logDrainsCreateLogDrain;
|
|
62625
62339
|
var init_logDrainsCreateLogDrain2 = __esm(() => {
|
|
62626
62340
|
init_logDrainsCreateLogDrain();
|
|
62627
62341
|
init_createlogdrainop();
|
|
62628
62342
|
init_tools();
|
|
62629
|
-
|
|
62343
|
+
args87 = {
|
|
62630
62344
|
request: CreateLogDrainRequest$inboundSchema
|
|
62631
62345
|
};
|
|
62632
62346
|
tool$logDrainsCreateLogDrain = {
|
|
@@ -62634,9 +62348,9 @@ var init_logDrainsCreateLogDrain2 = __esm(() => {
|
|
|
62634
62348
|
description: `Creates a new Integration Log Drain
|
|
62635
62349
|
|
|
62636
62350
|
Creates an Integration log drain. This endpoint must be called with an OAuth2 client (integration), since log drains are tied to integrations. If it is called with a different token type it will produce a 400 error.`,
|
|
62637
|
-
args:
|
|
62638
|
-
tool: async (client,
|
|
62639
|
-
const [result, apiCall] = await logDrainsCreateLogDrain(client,
|
|
62351
|
+
args: args87,
|
|
62352
|
+
tool: async (client, args88, ctx) => {
|
|
62353
|
+
const [result, apiCall] = await logDrainsCreateLogDrain(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62640
62354
|
if (!result.ok) {
|
|
62641
62355
|
return {
|
|
62642
62356
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62671,9 +62385,9 @@ var init_deleteconfigurablelogdrainop = __esm(() => {
|
|
|
62671
62385
|
|
|
62672
62386
|
// src/funcs/logDrainsDeleteConfigurableLogDrain.ts
|
|
62673
62387
|
function logDrainsDeleteConfigurableLogDrain(client, request, options) {
|
|
62674
|
-
return new APIPromise($
|
|
62388
|
+
return new APIPromise($do89(client, request, options));
|
|
62675
62389
|
}
|
|
62676
|
-
async function $
|
|
62390
|
+
async function $do89(client, request, options) {
|
|
62677
62391
|
const parsed = safeParse(request, (value) => DeleteConfigurableLogDrainRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62678
62392
|
if (!parsed.ok) {
|
|
62679
62393
|
return [parsed, { status: "invalid" }];
|
|
@@ -62755,12 +62469,12 @@ var init_logDrainsDeleteConfigurableLogDrain = __esm(() => {
|
|
|
62755
62469
|
});
|
|
62756
62470
|
|
|
62757
62471
|
// src/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.ts
|
|
62758
|
-
var
|
|
62472
|
+
var args88, tool$logDrainsDeleteConfigurableLogDrain;
|
|
62759
62473
|
var init_logDrainsDeleteConfigurableLogDrain2 = __esm(() => {
|
|
62760
62474
|
init_logDrainsDeleteConfigurableLogDrain();
|
|
62761
62475
|
init_deleteconfigurablelogdrainop();
|
|
62762
62476
|
init_tools();
|
|
62763
|
-
|
|
62477
|
+
args88 = {
|
|
62764
62478
|
request: DeleteConfigurableLogDrainRequest$inboundSchema
|
|
62765
62479
|
};
|
|
62766
62480
|
tool$logDrainsDeleteConfigurableLogDrain = {
|
|
@@ -62768,9 +62482,9 @@ var init_logDrainsDeleteConfigurableLogDrain2 = __esm(() => {
|
|
|
62768
62482
|
description: `Deletes a Configurable Log Drain
|
|
62769
62483
|
|
|
62770
62484
|
Deletes a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be deleted.`,
|
|
62771
|
-
args:
|
|
62772
|
-
tool: async (client,
|
|
62773
|
-
const [result, apiCall] = await logDrainsDeleteConfigurableLogDrain(client,
|
|
62485
|
+
args: args88,
|
|
62486
|
+
tool: async (client, args89, ctx) => {
|
|
62487
|
+
const [result, apiCall] = await logDrainsDeleteConfigurableLogDrain(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62774
62488
|
if (!result.ok) {
|
|
62775
62489
|
return {
|
|
62776
62490
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -62804,9 +62518,9 @@ var init_deleteintegrationlogdrainop = __esm(() => {
|
|
|
62804
62518
|
|
|
62805
62519
|
// src/funcs/logDrainsDeleteIntegrationLogDrain.ts
|
|
62806
62520
|
function logDrainsDeleteIntegrationLogDrain(client, request, options) {
|
|
62807
|
-
return new APIPromise($
|
|
62521
|
+
return new APIPromise($do90(client, request, options));
|
|
62808
62522
|
}
|
|
62809
|
-
async function $
|
|
62523
|
+
async function $do90(client, request, options) {
|
|
62810
62524
|
const parsed = safeParse(request, (value) => DeleteIntegrationLogDrainRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62811
62525
|
if (!parsed.ok) {
|
|
62812
62526
|
return [parsed, { status: "invalid" }];
|
|
@@ -62888,12 +62602,12 @@ var init_logDrainsDeleteIntegrationLogDrain = __esm(() => {
|
|
|
62888
62602
|
});
|
|
62889
62603
|
|
|
62890
62604
|
// src/mcp-server/tools/logDrainsDeleteIntegrationLogDrain.ts
|
|
62891
|
-
var
|
|
62605
|
+
var args89, tool$logDrainsDeleteIntegrationLogDrain;
|
|
62892
62606
|
var init_logDrainsDeleteIntegrationLogDrain2 = __esm(() => {
|
|
62893
62607
|
init_logDrainsDeleteIntegrationLogDrain();
|
|
62894
62608
|
init_deleteintegrationlogdrainop();
|
|
62895
62609
|
init_tools();
|
|
62896
|
-
|
|
62610
|
+
args89 = {
|
|
62897
62611
|
request: DeleteIntegrationLogDrainRequest$inboundSchema
|
|
62898
62612
|
};
|
|
62899
62613
|
tool$logDrainsDeleteIntegrationLogDrain = {
|
|
@@ -62901,9 +62615,9 @@ var init_logDrainsDeleteIntegrationLogDrain2 = __esm(() => {
|
|
|
62901
62615
|
description: `Deletes the Integration log drain with the provided \`id\`
|
|
62902
62616
|
|
|
62903
62617
|
Deletes the Integration log drain with the provided \`id\`. When using an OAuth2 Token, the log drain can be deleted only if the integration owns it.`,
|
|
62904
|
-
args:
|
|
62905
|
-
tool: async (client,
|
|
62906
|
-
const [result, apiCall] = await logDrainsDeleteIntegrationLogDrain(client,
|
|
62618
|
+
args: args89,
|
|
62619
|
+
tool: async (client, args90, ctx) => {
|
|
62620
|
+
const [result, apiCall] = await logDrainsDeleteIntegrationLogDrain(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62907
62621
|
if (!result.ok) {
|
|
62908
62622
|
return {
|
|
62909
62623
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63021,9 +62735,9 @@ var init_getintegrationlogdrainsop = __esm(() => {
|
|
|
63021
62735
|
|
|
63022
62736
|
// src/funcs/logDrainsGetIntegrationLogDrains.ts
|
|
63023
62737
|
function logDrainsGetIntegrationLogDrains(client, request, options) {
|
|
63024
|
-
return new APIPromise($
|
|
62738
|
+
return new APIPromise($do91(client, request, options));
|
|
63025
62739
|
}
|
|
63026
|
-
async function $
|
|
62740
|
+
async function $do91(client, request, options) {
|
|
63027
62741
|
const parsed = safeParse(request, (value) => GetIntegrationLogDrainsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63028
62742
|
if (!parsed.ok) {
|
|
63029
62743
|
return [parsed, { status: "invalid" }];
|
|
@@ -63098,12 +62812,12 @@ var init_logDrainsGetIntegrationLogDrains = __esm(() => {
|
|
|
63098
62812
|
});
|
|
63099
62813
|
|
|
63100
62814
|
// src/mcp-server/tools/logDrainsGetIntegrationLogDrains.ts
|
|
63101
|
-
var
|
|
62815
|
+
var args90, tool$logDrainsGetIntegrationLogDrains;
|
|
63102
62816
|
var init_logDrainsGetIntegrationLogDrains2 = __esm(() => {
|
|
63103
62817
|
init_logDrainsGetIntegrationLogDrains();
|
|
63104
62818
|
init_getintegrationlogdrainsop();
|
|
63105
62819
|
init_tools();
|
|
63106
|
-
|
|
62820
|
+
args90 = {
|
|
63107
62821
|
request: GetIntegrationLogDrainsRequest$inboundSchema
|
|
63108
62822
|
};
|
|
63109
62823
|
tool$logDrainsGetIntegrationLogDrains = {
|
|
@@ -63111,9 +62825,9 @@ var init_logDrainsGetIntegrationLogDrains2 = __esm(() => {
|
|
|
63111
62825
|
description: `Retrieves a list of Integration log drains
|
|
63112
62826
|
|
|
63113
62827
|
Retrieves a list of all Integration log drains that are defined for the authenticated user or team. When using an OAuth2 token, the list is limited to log drains created by the authenticated integration.`,
|
|
63114
|
-
args:
|
|
63115
|
-
tool: async (client,
|
|
63116
|
-
const [result, apiCall] = await logDrainsGetIntegrationLogDrains(client,
|
|
62828
|
+
args: args90,
|
|
62829
|
+
tool: async (client, args91, ctx) => {
|
|
62830
|
+
const [result, apiCall] = await logDrainsGetIntegrationLogDrains(client, args91.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63117
62831
|
if (!result.ok) {
|
|
63118
62832
|
return {
|
|
63119
62833
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63202,9 +62916,9 @@ var init_getruntimelogsop = __esm(() => {
|
|
|
63202
62916
|
|
|
63203
62917
|
// src/funcs/logsGetRuntimeLogs.ts
|
|
63204
62918
|
function logsGetRuntimeLogs(client, request, options) {
|
|
63205
|
-
return new APIPromise($
|
|
62919
|
+
return new APIPromise($do92(client, request, options));
|
|
63206
62920
|
}
|
|
63207
|
-
async function $
|
|
62921
|
+
async function $do92(client, request, options) {
|
|
63208
62922
|
const parsed = safeParse(request, (value) => GetRuntimeLogsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63209
62923
|
if (!parsed.ok) {
|
|
63210
62924
|
return [parsed, { status: "invalid" }];
|
|
@@ -63290,12 +63004,12 @@ var init_logsGetRuntimeLogs = __esm(() => {
|
|
|
63290
63004
|
});
|
|
63291
63005
|
|
|
63292
63006
|
// src/mcp-server/tools/logsGetRuntimeLogs.ts
|
|
63293
|
-
var
|
|
63007
|
+
var args91, tool$logsGetRuntimeLogs;
|
|
63294
63008
|
var init_logsGetRuntimeLogs2 = __esm(() => {
|
|
63295
63009
|
init_logsGetRuntimeLogs();
|
|
63296
63010
|
init_getruntimelogsop();
|
|
63297
63011
|
init_tools();
|
|
63298
|
-
|
|
63012
|
+
args91 = {
|
|
63299
63013
|
request: GetRuntimeLogsRequest$inboundSchema
|
|
63300
63014
|
};
|
|
63301
63015
|
tool$logsGetRuntimeLogs = {
|
|
@@ -63303,9 +63017,9 @@ var init_logsGetRuntimeLogs2 = __esm(() => {
|
|
|
63303
63017
|
description: `Get logs for a deployment
|
|
63304
63018
|
|
|
63305
63019
|
Returns a stream of logs for a given deployment.`,
|
|
63306
|
-
args:
|
|
63307
|
-
tool: async (client,
|
|
63308
|
-
const [result, apiCall] = await logsGetRuntimeLogs(client,
|
|
63020
|
+
args: args91,
|
|
63021
|
+
tool: async (client, args92, ctx) => {
|
|
63022
|
+
const [result, apiCall] = await logsGetRuntimeLogs(client, args92.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63309
63023
|
if (!result.ok) {
|
|
63310
63024
|
return {
|
|
63311
63025
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63419,9 +63133,9 @@ var init_createeventop = __esm(() => {
|
|
|
63419
63133
|
|
|
63420
63134
|
// src/funcs/marketplaceCreateEvent.ts
|
|
63421
63135
|
function marketplaceCreateEvent(client, request, options) {
|
|
63422
|
-
return new APIPromise($
|
|
63136
|
+
return new APIPromise($do93(client, request, options));
|
|
63423
63137
|
}
|
|
63424
|
-
async function $
|
|
63138
|
+
async function $do93(client, request, options) {
|
|
63425
63139
|
const parsed = safeParse(request, (value) => CreateEventRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63426
63140
|
if (!parsed.ok) {
|
|
63427
63141
|
return [parsed, { status: "invalid" }];
|
|
@@ -63495,12 +63209,12 @@ var init_marketplaceCreateEvent = __esm(() => {
|
|
|
63495
63209
|
});
|
|
63496
63210
|
|
|
63497
63211
|
// src/mcp-server/tools/marketplaceCreateEvent.ts
|
|
63498
|
-
var
|
|
63212
|
+
var args92, tool$marketplaceCreateEvent;
|
|
63499
63213
|
var init_marketplaceCreateEvent2 = __esm(() => {
|
|
63500
63214
|
init_marketplaceCreateEvent();
|
|
63501
63215
|
init_createeventop();
|
|
63502
63216
|
init_tools();
|
|
63503
|
-
|
|
63217
|
+
args92 = {
|
|
63504
63218
|
request: CreateEventRequest$inboundSchema
|
|
63505
63219
|
};
|
|
63506
63220
|
tool$marketplaceCreateEvent = {
|
|
@@ -63508,9 +63222,9 @@ var init_marketplaceCreateEvent2 = __esm(() => {
|
|
|
63508
63222
|
description: `Create Event
|
|
63509
63223
|
|
|
63510
63224
|
Partner notifies Vercel of any changes made to an Installation or a Resource. Vercel is expected to use \`list-resources\` and other read APIs to get the new state.<br/> <br/> \`resource.updated\` event should be dispatched when any state of a resource linked to Vercel is modified by the partner.<br/> \`installation.updated\` event should be dispatched when an installation's billing plan is changed via the provider instead of Vercel.<br/> <br/> Resource update use cases: <br/> <br/> - The user renames a database in the partner’s application. The partner should dispatch a \`resource.updated\` event to notify Vercel to update the resource in Vercel’s datastores.<br/> - A resource has been suspended due to a lack of use. The partner should dispatch a \`resource.updated\` event to notify Vercel to update the resource's status in Vercel's datastores.<br/>`,
|
|
63511
|
-
args:
|
|
63512
|
-
tool: async (client,
|
|
63513
|
-
const [result, apiCall] = await marketplaceCreateEvent(client,
|
|
63225
|
+
args: args92,
|
|
63226
|
+
tool: async (client, args93, ctx) => {
|
|
63227
|
+
const [result, apiCall] = await marketplaceCreateEvent(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63514
63228
|
if (!result.ok) {
|
|
63515
63229
|
return {
|
|
63516
63230
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63599,9 +63313,9 @@ var init_postv1installationsintegrationconfigurationidresourcesresourceidexperim
|
|
|
63599
63313
|
|
|
63600
63314
|
// src/funcs/marketplaceCreateInstallationIntegrationConfiguration.ts
|
|
63601
63315
|
function marketplaceCreateInstallationIntegrationConfiguration(client, request, options) {
|
|
63602
|
-
return new APIPromise($
|
|
63316
|
+
return new APIPromise($do94(client, request, options));
|
|
63603
63317
|
}
|
|
63604
|
-
async function $
|
|
63318
|
+
async function $do94(client, request, options) {
|
|
63605
63319
|
const parsed = safeParse(request, (value) => PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63606
63320
|
if (!parsed.ok) {
|
|
63607
63321
|
return [parsed, { status: "invalid" }];
|
|
@@ -63680,12 +63394,12 @@ var init_marketplaceCreateInstallationIntegrationConfiguration = __esm(() => {
|
|
|
63680
63394
|
});
|
|
63681
63395
|
|
|
63682
63396
|
// src/mcp-server/tools/marketplaceCreateInstallationIntegrationConfiguration.ts
|
|
63683
|
-
var
|
|
63397
|
+
var args93, tool$marketplaceCreateInstallationIntegrationConfiguration;
|
|
63684
63398
|
var init_marketplaceCreateInstallationIntegrationConfiguration2 = __esm(() => {
|
|
63685
63399
|
init_marketplaceCreateInstallationIntegrationConfiguration();
|
|
63686
63400
|
init_postv1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsop();
|
|
63687
63401
|
init_tools();
|
|
63688
|
-
|
|
63402
|
+
args93 = {
|
|
63689
63403
|
request: PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequest$inboundSchema
|
|
63690
63404
|
};
|
|
63691
63405
|
tool$marketplaceCreateInstallationIntegrationConfiguration = {
|
|
@@ -63693,9 +63407,9 @@ var init_marketplaceCreateInstallationIntegrationConfiguration2 = __esm(() => {
|
|
|
63693
63407
|
description: `Create one or multiple experimentation items
|
|
63694
63408
|
|
|
63695
63409
|
Create one or multiple experimentation items`,
|
|
63696
|
-
args:
|
|
63697
|
-
tool: async (client,
|
|
63698
|
-
const [result, apiCall] = await marketplaceCreateInstallationIntegrationConfiguration(client,
|
|
63410
|
+
args: args93,
|
|
63411
|
+
tool: async (client, args94, ctx) => {
|
|
63412
|
+
const [result, apiCall] = await marketplaceCreateInstallationIntegrationConfiguration(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63699
63413
|
if (!result.ok) {
|
|
63700
63414
|
return {
|
|
63701
63415
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63742,9 +63456,9 @@ var init_headv1installationsintegrationconfigurationidresourcesresourceidexperim
|
|
|
63742
63456
|
|
|
63743
63457
|
// src/funcs/marketplaceCreateInstallationIntegrationEdgeConfig.ts
|
|
63744
63458
|
function marketplaceCreateInstallationIntegrationEdgeConfig(client, request, options) {
|
|
63745
|
-
return new APIPromise($
|
|
63459
|
+
return new APIPromise($do95(client, request, options));
|
|
63746
63460
|
}
|
|
63747
|
-
async function $
|
|
63461
|
+
async function $do95(client, request, options) {
|
|
63748
63462
|
const parsed = safeParse(request, (value) => HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63749
63463
|
if (!parsed.ok) {
|
|
63750
63464
|
return [parsed, { status: "invalid" }];
|
|
@@ -63821,12 +63535,12 @@ var init_marketplaceCreateInstallationIntegrationEdgeConfig = __esm(() => {
|
|
|
63821
63535
|
});
|
|
63822
63536
|
|
|
63823
63537
|
// src/mcp-server/tools/marketplaceCreateInstallationIntegrationEdgeConfig.ts
|
|
63824
|
-
var
|
|
63538
|
+
var args94, tool$marketplaceCreateInstallationIntegrationEdgeConfig;
|
|
63825
63539
|
var init_marketplaceCreateInstallationIntegrationEdgeConfig2 = __esm(() => {
|
|
63826
63540
|
init_marketplaceCreateInstallationIntegrationEdgeConfig();
|
|
63827
63541
|
init_headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigop();
|
|
63828
63542
|
init_tools();
|
|
63829
|
-
|
|
63543
|
+
args94 = {
|
|
63830
63544
|
request: HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$inboundSchema
|
|
63831
63545
|
};
|
|
63832
63546
|
tool$marketplaceCreateInstallationIntegrationEdgeConfig = {
|
|
@@ -63834,9 +63548,9 @@ var init_marketplaceCreateInstallationIntegrationEdgeConfig2 = __esm(() => {
|
|
|
63834
63548
|
description: `Get the data of a user-provided Edge Config
|
|
63835
63549
|
|
|
63836
63550
|
When the user enabled Edge Config syncing, then this endpoint can be used by the partner to fetch the contents of the Edge Config.`,
|
|
63837
|
-
args:
|
|
63838
|
-
tool: async (client,
|
|
63839
|
-
const [result, apiCall] = await marketplaceCreateInstallationIntegrationEdgeConfig(client,
|
|
63551
|
+
args: args94,
|
|
63552
|
+
tool: async (client, args95, ctx) => {
|
|
63553
|
+
const [result, apiCall] = await marketplaceCreateInstallationIntegrationEdgeConfig(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63840
63554
|
if (!result.ok) {
|
|
63841
63555
|
return {
|
|
63842
63556
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63871,9 +63585,9 @@ var init_deletev1installationsintegrationconfigurationidresourcesresourceidexper
|
|
|
63871
63585
|
|
|
63872
63586
|
// src/funcs/marketplaceDeleteInstallationIntegrationConfiguration.ts
|
|
63873
63587
|
function marketplaceDeleteInstallationIntegrationConfiguration(client, request, options) {
|
|
63874
|
-
return new APIPromise($
|
|
63588
|
+
return new APIPromise($do96(client, request, options));
|
|
63875
63589
|
}
|
|
63876
|
-
async function $
|
|
63590
|
+
async function $do96(client, request, options) {
|
|
63877
63591
|
const parsed = safeParse(request, (value) => DeleteV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63878
63592
|
if (!parsed.ok) {
|
|
63879
63593
|
return [parsed, { status: "invalid" }];
|
|
@@ -63955,12 +63669,12 @@ var init_marketplaceDeleteInstallationIntegrationConfiguration = __esm(() => {
|
|
|
63955
63669
|
});
|
|
63956
63670
|
|
|
63957
63671
|
// src/mcp-server/tools/marketplaceDeleteInstallationIntegrationConfiguration.ts
|
|
63958
|
-
var
|
|
63672
|
+
var args95, tool$marketplaceDeleteInstallationIntegrationConfiguration;
|
|
63959
63673
|
var init_marketplaceDeleteInstallationIntegrationConfiguration2 = __esm(() => {
|
|
63960
63674
|
init_marketplaceDeleteInstallationIntegrationConfiguration();
|
|
63961
63675
|
init_deletev1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsitemidop();
|
|
63962
63676
|
init_tools();
|
|
63963
|
-
|
|
63677
|
+
args95 = {
|
|
63964
63678
|
request: DeleteV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$inboundSchema
|
|
63965
63679
|
};
|
|
63966
63680
|
tool$marketplaceDeleteInstallationIntegrationConfiguration = {
|
|
@@ -63968,9 +63682,9 @@ var init_marketplaceDeleteInstallationIntegrationConfiguration2 = __esm(() => {
|
|
|
63968
63682
|
description: `Delete an existing experimentation item
|
|
63969
63683
|
|
|
63970
63684
|
Delete an existing experimentation item`,
|
|
63971
|
-
args:
|
|
63972
|
-
tool: async (client,
|
|
63973
|
-
const [result, apiCall] = await marketplaceDeleteInstallationIntegrationConfiguration(client,
|
|
63685
|
+
args: args95,
|
|
63686
|
+
tool: async (client, args96, ctx) => {
|
|
63687
|
+
const [result, apiCall] = await marketplaceDeleteInstallationIntegrationConfiguration(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63974
63688
|
if (!result.ok) {
|
|
63975
63689
|
return {
|
|
63976
63690
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -63984,9 +63698,9 @@ Delete an existing experimentation item`,
|
|
|
63984
63698
|
|
|
63985
63699
|
// src/funcs/marketplaceExchangeSsoToken.ts
|
|
63986
63700
|
function marketplaceExchangeSsoToken(client, request, options) {
|
|
63987
|
-
return new APIPromise($
|
|
63701
|
+
return new APIPromise($do97(client, request, options));
|
|
63988
63702
|
}
|
|
63989
|
-
async function $
|
|
63703
|
+
async function $do97(client, request, options) {
|
|
63990
63704
|
const parsed = safeParse(request, (value) => ExchangeSsoTokenRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
63991
63705
|
if (!parsed.ok) {
|
|
63992
63706
|
return [parsed, { status: "invalid" }];
|
|
@@ -64051,12 +63765,12 @@ var init_marketplaceExchangeSsoToken = __esm(() => {
|
|
|
64051
63765
|
});
|
|
64052
63766
|
|
|
64053
63767
|
// src/mcp-server/tools/marketplaceExchangeSsoToken.ts
|
|
64054
|
-
var
|
|
63768
|
+
var args96, tool$marketplaceExchangeSsoToken;
|
|
64055
63769
|
var init_marketplaceExchangeSsoToken2 = __esm(() => {
|
|
64056
63770
|
init_marketplaceExchangeSsoToken();
|
|
64057
63771
|
init_exchangessotokenop();
|
|
64058
63772
|
init_tools();
|
|
64059
|
-
|
|
63773
|
+
args96 = {
|
|
64060
63774
|
request: ExchangeSsoTokenRequestBody$inboundSchema
|
|
64061
63775
|
};
|
|
64062
63776
|
tool$marketplaceExchangeSsoToken = {
|
|
@@ -64064,9 +63778,9 @@ var init_marketplaceExchangeSsoToken2 = __esm(() => {
|
|
|
64064
63778
|
description: `SSO Token Exchange
|
|
64065
63779
|
|
|
64066
63780
|
During the autorization process, Vercel sends the user to the provider [redirectLoginUrl](https://vercel.com/docs/integrations/create-integration/submit-integration#redirect-login-url), that includes the OAuth authorization \`code\` parameter. The provider then calls the SSO Token Exchange endpoint with the sent code and receives the OIDC token. They log the user in based on this token and redirects the user back to the Vercel account using deep-link parameters included the redirectLoginUrl. This is used to verify the identity of the user during the [**Open in Provider** flow](https://vercel.com/docs/integrations/marketplace-flows#open-in-provider-button-flow). Providers should not persist the returned \`id_token\` in a database since the token will expire.`,
|
|
64067
|
-
args:
|
|
64068
|
-
tool: async (client,
|
|
64069
|
-
const [result, apiCall] = await marketplaceExchangeSsoToken(client,
|
|
63781
|
+
args: args96,
|
|
63782
|
+
tool: async (client, args97, ctx) => {
|
|
63783
|
+
const [result, apiCall] = await marketplaceExchangeSsoToken(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64070
63784
|
if (!result.ok) {
|
|
64071
63785
|
return {
|
|
64072
63786
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64123,9 +63837,9 @@ var init_getaccountinfoop = __esm(() => {
|
|
|
64123
63837
|
|
|
64124
63838
|
// src/funcs/marketplaceGetAccountInfo.ts
|
|
64125
63839
|
function marketplaceGetAccountInfo(client, request, options) {
|
|
64126
|
-
return new APIPromise($
|
|
63840
|
+
return new APIPromise($do98(client, request, options));
|
|
64127
63841
|
}
|
|
64128
|
-
async function $
|
|
63842
|
+
async function $do98(client, request, options) {
|
|
64129
63843
|
const parsed = safeParse(request, (value) => GetAccountInfoRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64130
63844
|
if (!parsed.ok) {
|
|
64131
63845
|
return [parsed, { status: "invalid" }];
|
|
@@ -64197,12 +63911,12 @@ var init_marketplaceGetAccountInfo = __esm(() => {
|
|
|
64197
63911
|
});
|
|
64198
63912
|
|
|
64199
63913
|
// src/mcp-server/tools/marketplaceGetAccountInfo.ts
|
|
64200
|
-
var
|
|
63914
|
+
var args97, tool$marketplaceGetAccountInfo;
|
|
64201
63915
|
var init_marketplaceGetAccountInfo2 = __esm(() => {
|
|
64202
63916
|
init_marketplaceGetAccountInfo();
|
|
64203
63917
|
init_getaccountinfoop();
|
|
64204
63918
|
init_tools();
|
|
64205
|
-
|
|
63919
|
+
args97 = {
|
|
64206
63920
|
request: GetAccountInfoRequest$inboundSchema
|
|
64207
63921
|
};
|
|
64208
63922
|
tool$marketplaceGetAccountInfo = {
|
|
@@ -64210,9 +63924,9 @@ var init_marketplaceGetAccountInfo2 = __esm(() => {
|
|
|
64210
63924
|
description: `Get Account Information
|
|
64211
63925
|
|
|
64212
63926
|
Fetches the best account or user’s contact info`,
|
|
64213
|
-
args:
|
|
64214
|
-
tool: async (client,
|
|
64215
|
-
const [result, apiCall] = await marketplaceGetAccountInfo(client,
|
|
63927
|
+
args: args97,
|
|
63928
|
+
tool: async (client, args98, ctx) => {
|
|
63929
|
+
const [result, apiCall] = await marketplaceGetAccountInfo(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64216
63930
|
if (!result.ok) {
|
|
64217
63931
|
return {
|
|
64218
63932
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64360,9 +64074,9 @@ var init_getinvoiceop = __esm(() => {
|
|
|
64360
64074
|
|
|
64361
64075
|
// src/funcs/marketplaceGetInvoice.ts
|
|
64362
64076
|
function marketplaceGetInvoice(client, request, options) {
|
|
64363
|
-
return new APIPromise($
|
|
64077
|
+
return new APIPromise($do99(client, request, options));
|
|
64364
64078
|
}
|
|
64365
|
-
async function $
|
|
64079
|
+
async function $do99(client, request, options) {
|
|
64366
64080
|
const parsed = safeParse(request, (value) => GetInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64367
64081
|
if (!parsed.ok) {
|
|
64368
64082
|
return [parsed, { status: "invalid" }];
|
|
@@ -64439,12 +64153,12 @@ var init_marketplaceGetInvoice = __esm(() => {
|
|
|
64439
64153
|
});
|
|
64440
64154
|
|
|
64441
64155
|
// src/mcp-server/tools/marketplaceGetInvoice.ts
|
|
64442
|
-
var
|
|
64156
|
+
var args98, tool$marketplaceGetInvoice;
|
|
64443
64157
|
var init_marketplaceGetInvoice2 = __esm(() => {
|
|
64444
64158
|
init_marketplaceGetInvoice();
|
|
64445
64159
|
init_getinvoiceop();
|
|
64446
64160
|
init_tools();
|
|
64447
|
-
|
|
64161
|
+
args98 = {
|
|
64448
64162
|
request: GetInvoiceRequest$inboundSchema
|
|
64449
64163
|
};
|
|
64450
64164
|
tool$marketplaceGetInvoice = {
|
|
@@ -64452,9 +64166,9 @@ var init_marketplaceGetInvoice2 = __esm(() => {
|
|
|
64452
64166
|
description: `Get Invoice
|
|
64453
64167
|
|
|
64454
64168
|
Get Invoice details and status for a given invoice ID.<br/> <br/> See Billing Events with Webhooks documentation on how to receive invoice events. This endpoint is used to retrieve the invoice details.`,
|
|
64455
|
-
args:
|
|
64456
|
-
tool: async (client,
|
|
64457
|
-
const [result, apiCall] = await marketplaceGetInvoice(client,
|
|
64169
|
+
args: args98,
|
|
64170
|
+
tool: async (client, args99, ctx) => {
|
|
64171
|
+
const [result, apiCall] = await marketplaceGetInvoice(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64458
64172
|
if (!result.ok) {
|
|
64459
64173
|
return {
|
|
64460
64174
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64509,9 +64223,9 @@ var init_getmemberop = __esm(() => {
|
|
|
64509
64223
|
|
|
64510
64224
|
// src/funcs/marketplaceGetMember.ts
|
|
64511
64225
|
function marketplaceGetMember(client, request, options) {
|
|
64512
|
-
return new APIPromise($
|
|
64226
|
+
return new APIPromise($do100(client, request, options));
|
|
64513
64227
|
}
|
|
64514
|
-
async function $
|
|
64228
|
+
async function $do100(client, request, options) {
|
|
64515
64229
|
const parsed = safeParse(request, (value) => GetMemberRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64516
64230
|
if (!parsed.ok) {
|
|
64517
64231
|
return [parsed, { status: "invalid" }];
|
|
@@ -64588,12 +64302,12 @@ var init_marketplaceGetMember = __esm(() => {
|
|
|
64588
64302
|
});
|
|
64589
64303
|
|
|
64590
64304
|
// src/mcp-server/tools/marketplaceGetMember.ts
|
|
64591
|
-
var
|
|
64305
|
+
var args99, tool$marketplaceGetMember;
|
|
64592
64306
|
var init_marketplaceGetMember2 = __esm(() => {
|
|
64593
64307
|
init_marketplaceGetMember();
|
|
64594
64308
|
init_getmemberop();
|
|
64595
64309
|
init_tools();
|
|
64596
|
-
|
|
64310
|
+
args99 = {
|
|
64597
64311
|
request: GetMemberRequest$inboundSchema
|
|
64598
64312
|
};
|
|
64599
64313
|
tool$marketplaceGetMember = {
|
|
@@ -64601,9 +64315,9 @@ var init_marketplaceGetMember2 = __esm(() => {
|
|
|
64601
64315
|
description: `Get Member Information
|
|
64602
64316
|
|
|
64603
64317
|
Returns the member role and other information for a given member ID ("user_id" claim in the SSO OIDC token).`,
|
|
64604
|
-
args:
|
|
64605
|
-
tool: async (client,
|
|
64606
|
-
const [result, apiCall] = await marketplaceGetMember(client,
|
|
64318
|
+
args: args99,
|
|
64319
|
+
tool: async (client, args100, ctx) => {
|
|
64320
|
+
const [result, apiCall] = await marketplaceGetMember(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64607
64321
|
if (!result.ok) {
|
|
64608
64322
|
return {
|
|
64609
64323
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -64803,9 +64517,9 @@ var init_importresourceop = __esm(() => {
|
|
|
64803
64517
|
|
|
64804
64518
|
// src/funcs/marketplaceImportResource.ts
|
|
64805
64519
|
function marketplaceImportResource(client, request, options) {
|
|
64806
|
-
return new APIPromise($
|
|
64520
|
+
return new APIPromise($do101(client, request, options));
|
|
64807
64521
|
}
|
|
64808
|
-
async function $
|
|
64522
|
+
async function $do101(client, request, options) {
|
|
64809
64523
|
const parsed = safeParse(request, (value) => ImportResourceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
64810
64524
|
if (!parsed.ok) {
|
|
64811
64525
|
return [parsed, { status: "invalid" }];
|
|
@@ -64883,12 +64597,12 @@ var init_marketplaceImportResource = __esm(() => {
|
|
|
64883
64597
|
});
|
|
64884
64598
|
|
|
64885
64599
|
// src/mcp-server/tools/marketplaceImportResource.ts
|
|
64886
|
-
var
|
|
64600
|
+
var args100, tool$marketplaceImportResource;
|
|
64887
64601
|
var init_marketplaceImportResource2 = __esm(() => {
|
|
64888
64602
|
init_marketplaceImportResource();
|
|
64889
64603
|
init_importresourceop();
|
|
64890
64604
|
init_tools();
|
|
64891
|
-
|
|
64605
|
+
args100 = {
|
|
64892
64606
|
request: ImportResourceRequest$inboundSchema
|
|
64893
64607
|
};
|
|
64894
64608
|
tool$marketplaceImportResource = {
|
|
@@ -64896,9 +64610,9 @@ var init_marketplaceImportResource2 = __esm(() => {
|
|
|
64896
64610
|
description: `Import Resource
|
|
64897
64611
|
|
|
64898
64612
|
This endpoint imports (upserts) a resource to Vercel's installation. This may be needed if resources can be independently created on the partner's side and need to be synchronized to Vercel.`,
|
|
64899
|
-
args:
|
|
64900
|
-
tool: async (client,
|
|
64901
|
-
const [result, apiCall] = await marketplaceImportResource(client,
|
|
64613
|
+
args: args100,
|
|
64614
|
+
tool: async (client, args101, ctx) => {
|
|
64615
|
+
const [result, apiCall] = await marketplaceImportResource(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64902
64616
|
if (!result.ok) {
|
|
64903
64617
|
return {
|
|
64904
64618
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65111,9 +64825,9 @@ var init_submitbillingdataop = __esm(() => {
|
|
|
65111
64825
|
|
|
65112
64826
|
// src/funcs/marketplaceSubmitBillingData.ts
|
|
65113
64827
|
function marketplaceSubmitBillingData(client, request, options) {
|
|
65114
|
-
return new APIPromise($
|
|
64828
|
+
return new APIPromise($do102(client, request, options));
|
|
65115
64829
|
}
|
|
65116
|
-
async function $
|
|
64830
|
+
async function $do102(client, request, options) {
|
|
65117
64831
|
const parsed = safeParse(request, (value) => SubmitBillingDataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65118
64832
|
if (!parsed.ok) {
|
|
65119
64833
|
return [parsed, { status: "invalid" }];
|
|
@@ -65187,12 +64901,12 @@ var init_marketplaceSubmitBillingData = __esm(() => {
|
|
|
65187
64901
|
});
|
|
65188
64902
|
|
|
65189
64903
|
// src/mcp-server/tools/marketplaceSubmitBillingData.ts
|
|
65190
|
-
var
|
|
64904
|
+
var args101, tool$marketplaceSubmitBillingData;
|
|
65191
64905
|
var init_marketplaceSubmitBillingData2 = __esm(() => {
|
|
65192
64906
|
init_marketplaceSubmitBillingData();
|
|
65193
64907
|
init_submitbillingdataop();
|
|
65194
64908
|
init_tools();
|
|
65195
|
-
|
|
64909
|
+
args101 = {
|
|
65196
64910
|
request: SubmitBillingDataRequest$inboundSchema
|
|
65197
64911
|
};
|
|
65198
64912
|
tool$marketplaceSubmitBillingData = {
|
|
@@ -65200,9 +64914,9 @@ var init_marketplaceSubmitBillingData2 = __esm(() => {
|
|
|
65200
64914
|
description: `Submit Billing Data
|
|
65201
64915
|
|
|
65202
64916
|
Sends the billing and usage data. The partner should do this at least once a day and ideally once per hour. <br/> Use the \`credentials.access_token\` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request.`,
|
|
65203
|
-
args:
|
|
65204
|
-
tool: async (client,
|
|
65205
|
-
const [result, apiCall] = await marketplaceSubmitBillingData(client,
|
|
64917
|
+
args: args101,
|
|
64918
|
+
tool: async (client, args102, ctx) => {
|
|
64919
|
+
const [result, apiCall] = await marketplaceSubmitBillingData(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65206
64920
|
if (!result.ok) {
|
|
65207
64921
|
return {
|
|
65208
64922
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65363,9 +65077,9 @@ var init_submitinvoiceop = __esm(() => {
|
|
|
65363
65077
|
|
|
65364
65078
|
// src/funcs/marketplaceSubmitInvoice.ts
|
|
65365
65079
|
function marketplaceSubmitInvoice(client, request, options) {
|
|
65366
|
-
return new APIPromise($
|
|
65080
|
+
return new APIPromise($do103(client, request, options));
|
|
65367
65081
|
}
|
|
65368
|
-
async function $
|
|
65082
|
+
async function $do103(client, request, options) {
|
|
65369
65083
|
const parsed = safeParse(request, (value) => SubmitInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65370
65084
|
if (!parsed.ok) {
|
|
65371
65085
|
return [parsed, { status: "invalid" }];
|
|
@@ -65438,12 +65152,12 @@ var init_marketplaceSubmitInvoice = __esm(() => {
|
|
|
65438
65152
|
});
|
|
65439
65153
|
|
|
65440
65154
|
// src/mcp-server/tools/marketplaceSubmitInvoice.ts
|
|
65441
|
-
var
|
|
65155
|
+
var args102, tool$marketplaceSubmitInvoice;
|
|
65442
65156
|
var init_marketplaceSubmitInvoice2 = __esm(() => {
|
|
65443
65157
|
init_marketplaceSubmitInvoice();
|
|
65444
65158
|
init_submitinvoiceop();
|
|
65445
65159
|
init_tools();
|
|
65446
|
-
|
|
65160
|
+
args102 = {
|
|
65447
65161
|
request: SubmitInvoiceRequest$inboundSchema
|
|
65448
65162
|
};
|
|
65449
65163
|
tool$marketplaceSubmitInvoice = {
|
|
@@ -65451,9 +65165,9 @@ var init_marketplaceSubmitInvoice2 = __esm(() => {
|
|
|
65451
65165
|
description: `Submit Invoice
|
|
65452
65166
|
|
|
65453
65167
|
This endpoint allows the partner to submit an invoice to Vercel. The invoice is created in Vercel's billing system and sent to the customer. Depending on the type of billing plan, the invoice can be sent at a time of signup, at the start of the billing period, or at the end of the billing period.<br/> <br/> Use the \`credentials.access_token\` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request. <br/> There are several limitations to the invoice submission:<br/> <br/> 1. A resource can only be billed once per the billing period and the billing plan.<br/> 2. The billing plan used to bill the resource must have been active for this resource during the billing period.<br/> 3. The billing plan used must be a subscription plan.<br/> 4. The interim usage data must be sent hourly for all types of subscriptions. See [Send subscription billing and usage data](#send-subscription-billing-and-usage-data) API on how to send interim billing and usage data.<br/>`,
|
|
65454
|
-
args:
|
|
65455
|
-
tool: async (client,
|
|
65456
|
-
const [result, apiCall] = await marketplaceSubmitInvoice(client,
|
|
65168
|
+
args: args102,
|
|
65169
|
+
tool: async (client, args103, ctx) => {
|
|
65170
|
+
const [result, apiCall] = await marketplaceSubmitInvoice(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65457
65171
|
if (!result.ok) {
|
|
65458
65172
|
return {
|
|
65459
65173
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65523,9 +65237,9 @@ var init_submitprepaymentbalancesop = __esm(() => {
|
|
|
65523
65237
|
|
|
65524
65238
|
// src/funcs/marketplaceSubmitPrepaymentBalances.ts
|
|
65525
65239
|
function marketplaceSubmitPrepaymentBalances(client, request, options) {
|
|
65526
|
-
return new APIPromise($
|
|
65240
|
+
return new APIPromise($do104(client, request, options));
|
|
65527
65241
|
}
|
|
65528
|
-
async function $
|
|
65242
|
+
async function $do104(client, request, options) {
|
|
65529
65243
|
const parsed = safeParse(request, (value) => SubmitPrepaymentBalancesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65530
65244
|
if (!parsed.ok) {
|
|
65531
65245
|
return [parsed, { status: "invalid" }];
|
|
@@ -65599,12 +65313,12 @@ var init_marketplaceSubmitPrepaymentBalances = __esm(() => {
|
|
|
65599
65313
|
});
|
|
65600
65314
|
|
|
65601
65315
|
// src/mcp-server/tools/marketplaceSubmitPrepaymentBalances.ts
|
|
65602
|
-
var
|
|
65316
|
+
var args103, tool$marketplaceSubmitPrepaymentBalances;
|
|
65603
65317
|
var init_marketplaceSubmitPrepaymentBalances2 = __esm(() => {
|
|
65604
65318
|
init_marketplaceSubmitPrepaymentBalances();
|
|
65605
65319
|
init_submitprepaymentbalancesop();
|
|
65606
65320
|
init_tools();
|
|
65607
|
-
|
|
65321
|
+
args103 = {
|
|
65608
65322
|
request: SubmitPrepaymentBalancesRequest$inboundSchema
|
|
65609
65323
|
};
|
|
65610
65324
|
tool$marketplaceSubmitPrepaymentBalances = {
|
|
@@ -65612,9 +65326,9 @@ var init_marketplaceSubmitPrepaymentBalances2 = __esm(() => {
|
|
|
65612
65326
|
description: `Submit Prepayment Balances
|
|
65613
65327
|
|
|
65614
65328
|
Sends the prepayment balances. The partner should do this at least once a day and ideally once per hour. <br/> Use the \`credentials.access_token\` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request.`,
|
|
65615
|
-
args:
|
|
65616
|
-
tool: async (client,
|
|
65617
|
-
const [result, apiCall] = await marketplaceSubmitPrepaymentBalances(client,
|
|
65329
|
+
args: args103,
|
|
65330
|
+
tool: async (client, args104, ctx) => {
|
|
65331
|
+
const [result, apiCall] = await marketplaceSubmitPrepaymentBalances(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65618
65332
|
if (!result.ok) {
|
|
65619
65333
|
return {
|
|
65620
65334
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65693,9 +65407,9 @@ var init_patchv1installationsintegrationconfigurationidresourcesresourceidexperi
|
|
|
65693
65407
|
|
|
65694
65408
|
// src/funcs/marketplaceUpdateInstallationIntegrationConfiguration.ts
|
|
65695
65409
|
function marketplaceUpdateInstallationIntegrationConfiguration(client, request, options) {
|
|
65696
|
-
return new APIPromise($
|
|
65410
|
+
return new APIPromise($do105(client, request, options));
|
|
65697
65411
|
}
|
|
65698
|
-
async function $
|
|
65412
|
+
async function $do105(client, request, options) {
|
|
65699
65413
|
const parsed = safeParse(request, (value) => PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65700
65414
|
if (!parsed.ok) {
|
|
65701
65415
|
return [parsed, { status: "invalid" }];
|
|
@@ -65778,12 +65492,12 @@ var init_marketplaceUpdateInstallationIntegrationConfiguration = __esm(() => {
|
|
|
65778
65492
|
});
|
|
65779
65493
|
|
|
65780
65494
|
// src/mcp-server/tools/marketplaceUpdateInstallationIntegrationConfiguration.ts
|
|
65781
|
-
var
|
|
65495
|
+
var args104, tool$marketplaceUpdateInstallationIntegrationConfiguration;
|
|
65782
65496
|
var init_marketplaceUpdateInstallationIntegrationConfiguration2 = __esm(() => {
|
|
65783
65497
|
init_marketplaceUpdateInstallationIntegrationConfiguration();
|
|
65784
65498
|
init_patchv1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsitemidop();
|
|
65785
65499
|
init_tools();
|
|
65786
|
-
|
|
65500
|
+
args104 = {
|
|
65787
65501
|
request: PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$inboundSchema
|
|
65788
65502
|
};
|
|
65789
65503
|
tool$marketplaceUpdateInstallationIntegrationConfiguration = {
|
|
@@ -65791,9 +65505,9 @@ var init_marketplaceUpdateInstallationIntegrationConfiguration2 = __esm(() => {
|
|
|
65791
65505
|
description: `Patch an existing experimentation item
|
|
65792
65506
|
|
|
65793
65507
|
Patch an existing experimentation item`,
|
|
65794
|
-
args:
|
|
65795
|
-
tool: async (client,
|
|
65796
|
-
const [result, apiCall] = await marketplaceUpdateInstallationIntegrationConfiguration(client,
|
|
65508
|
+
args: args104,
|
|
65509
|
+
tool: async (client, args105, ctx) => {
|
|
65510
|
+
const [result, apiCall] = await marketplaceUpdateInstallationIntegrationConfiguration(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65797
65511
|
if (!result.ok) {
|
|
65798
65512
|
return {
|
|
65799
65513
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65861,9 +65575,9 @@ var init_putv1installationsintegrationconfigurationidresourcesresourceidexperime
|
|
|
65861
65575
|
|
|
65862
65576
|
// src/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.ts
|
|
65863
65577
|
function marketplaceUpdateInstallationIntegrationEdgeConfig(client, request, options) {
|
|
65864
|
-
return new APIPromise($
|
|
65578
|
+
return new APIPromise($do106(client, request, options));
|
|
65865
65579
|
}
|
|
65866
|
-
async function $
|
|
65580
|
+
async function $do106(client, request, options) {
|
|
65867
65581
|
const parsed = safeParse(request, (value) => PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65868
65582
|
if (!parsed.ok) {
|
|
65869
65583
|
return [parsed, { status: "invalid" }];
|
|
@@ -65941,12 +65655,12 @@ var init_marketplaceUpdateInstallationIntegrationEdgeConfig = __esm(() => {
|
|
|
65941
65655
|
});
|
|
65942
65656
|
|
|
65943
65657
|
// src/mcp-server/tools/marketplaceUpdateInstallationIntegrationEdgeConfig.ts
|
|
65944
|
-
var
|
|
65658
|
+
var args105, tool$marketplaceUpdateInstallationIntegrationEdgeConfig;
|
|
65945
65659
|
var init_marketplaceUpdateInstallationIntegrationEdgeConfig2 = __esm(() => {
|
|
65946
65660
|
init_marketplaceUpdateInstallationIntegrationEdgeConfig();
|
|
65947
65661
|
init_putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigop();
|
|
65948
65662
|
init_tools();
|
|
65949
|
-
|
|
65663
|
+
args105 = {
|
|
65950
65664
|
request: PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$inboundSchema
|
|
65951
65665
|
};
|
|
65952
65666
|
tool$marketplaceUpdateInstallationIntegrationEdgeConfig = {
|
|
@@ -65954,9 +65668,9 @@ var init_marketplaceUpdateInstallationIntegrationEdgeConfig2 = __esm(() => {
|
|
|
65954
65668
|
description: `Push data into a user-provided Edge Config
|
|
65955
65669
|
|
|
65956
65670
|
When the user enabled Edge Config syncing, then this endpoint can be used by the partner to push their configuration data into the relevant Edge Config.`,
|
|
65957
|
-
args:
|
|
65958
|
-
tool: async (client,
|
|
65959
|
-
const [result, apiCall] = await marketplaceUpdateInstallationIntegrationEdgeConfig(client,
|
|
65671
|
+
args: args105,
|
|
65672
|
+
tool: async (client, args106, ctx) => {
|
|
65673
|
+
const [result, apiCall] = await marketplaceUpdateInstallationIntegrationEdgeConfig(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65960
65674
|
if (!result.ok) {
|
|
65961
65675
|
return {
|
|
65962
65676
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66023,9 +65737,9 @@ var init_updateinvoiceop = __esm(() => {
|
|
|
66023
65737
|
|
|
66024
65738
|
// src/funcs/marketplaceUpdateInvoice.ts
|
|
66025
65739
|
function marketplaceUpdateInvoice(client, request, options) {
|
|
66026
|
-
return new APIPromise($
|
|
65740
|
+
return new APIPromise($do107(client, request, options));
|
|
66027
65741
|
}
|
|
66028
|
-
async function $
|
|
65742
|
+
async function $do107(client, request, options) {
|
|
66029
65743
|
const parsed = safeParse(request, (value) => UpdateInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66030
65744
|
if (!parsed.ok) {
|
|
66031
65745
|
return [parsed, { status: "invalid" }];
|
|
@@ -66104,12 +65818,12 @@ var init_marketplaceUpdateInvoice = __esm(() => {
|
|
|
66104
65818
|
});
|
|
66105
65819
|
|
|
66106
65820
|
// src/mcp-server/tools/marketplaceUpdateInvoice.ts
|
|
66107
|
-
var
|
|
65821
|
+
var args106, tool$marketplaceUpdateInvoice;
|
|
66108
65822
|
var init_marketplaceUpdateInvoice2 = __esm(() => {
|
|
66109
65823
|
init_marketplaceUpdateInvoice();
|
|
66110
65824
|
init_updateinvoiceop();
|
|
66111
65825
|
init_tools();
|
|
66112
|
-
|
|
65826
|
+
args106 = {
|
|
66113
65827
|
request: UpdateInvoiceRequest$inboundSchema
|
|
66114
65828
|
};
|
|
66115
65829
|
tool$marketplaceUpdateInvoice = {
|
|
@@ -66117,9 +65831,9 @@ var init_marketplaceUpdateInvoice2 = __esm(() => {
|
|
|
66117
65831
|
description: `Invoice Actions
|
|
66118
65832
|
|
|
66119
65833
|
This endpoint allows the partner to request a refund for an invoice to Vercel. The invoice is created using the [Submit Invoice API](#submit-invoice-api).`,
|
|
66120
|
-
args:
|
|
66121
|
-
tool: async (client,
|
|
66122
|
-
const [result, apiCall] = await marketplaceUpdateInvoice(client,
|
|
65834
|
+
args: args106,
|
|
65835
|
+
tool: async (client, args107, ctx) => {
|
|
65836
|
+
const [result, apiCall] = await marketplaceUpdateInvoice(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66123
65837
|
if (!result.ok) {
|
|
66124
65838
|
return {
|
|
66125
65839
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66190,9 +65904,9 @@ var init_updateresourcesecretsop = __esm(() => {
|
|
|
66190
65904
|
|
|
66191
65905
|
// src/funcs/marketplaceUpdateResourceSecrets.ts
|
|
66192
65906
|
function marketplaceUpdateResourceSecrets(client, request, options) {
|
|
66193
|
-
return new APIPromise($
|
|
65907
|
+
return new APIPromise($do108(client, request, options));
|
|
66194
65908
|
}
|
|
66195
|
-
async function $
|
|
65909
|
+
async function $do108(client, request, options) {
|
|
66196
65910
|
const parsed = safeParse(request, (value) => UpdateResourceSecretsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66197
65911
|
if (!parsed.ok) {
|
|
66198
65912
|
return [parsed, { status: "invalid" }];
|
|
@@ -66272,12 +65986,12 @@ var init_marketplaceUpdateResourceSecrets = __esm(() => {
|
|
|
66272
65986
|
});
|
|
66273
65987
|
|
|
66274
65988
|
// src/mcp-server/tools/marketplaceUpdateResourceSecrets.ts
|
|
66275
|
-
var
|
|
65989
|
+
var args107, tool$marketplaceUpdateResourceSecrets;
|
|
66276
65990
|
var init_marketplaceUpdateResourceSecrets2 = __esm(() => {
|
|
66277
65991
|
init_marketplaceUpdateResourceSecrets();
|
|
66278
65992
|
init_updateresourcesecretsop();
|
|
66279
65993
|
init_tools();
|
|
66280
|
-
|
|
65994
|
+
args107 = {
|
|
66281
65995
|
request: UpdateResourceSecretsRequest$inboundSchema
|
|
66282
65996
|
};
|
|
66283
65997
|
tool$marketplaceUpdateResourceSecrets = {
|
|
@@ -66285,9 +65999,9 @@ var init_marketplaceUpdateResourceSecrets2 = __esm(() => {
|
|
|
66285
65999
|
description: `Update Resource Secrets (Deprecated)
|
|
66286
66000
|
|
|
66287
66001
|
This endpoint is deprecated and replaced with the endpoint [Update Resource Secrets](#update-resource-secrets). <br/> This endpoint updates the secrets of a resource. If a resource has projects connected, the connected secrets are updated with the new secrets. The old secrets may still be used by existing connected projects because they are not automatically redeployed. Redeployment is a manual action and must be completed by the user. All new project connections will use the new secrets.<br/> <br/> Use cases for this endpoint:<br/> <br/> - Resetting the credentials of a database in the partner. If the user requests the credentials to be updated in the partner’s application, the partner post the new set of secrets to Vercel, the user should redeploy their application and the expire the old credentials.<br/>`,
|
|
66288
|
-
args:
|
|
66289
|
-
tool: async (client,
|
|
66290
|
-
const [result, apiCall] = await marketplaceUpdateResourceSecrets(client,
|
|
66002
|
+
args: args107,
|
|
66003
|
+
tool: async (client, args108, ctx) => {
|
|
66004
|
+
const [result, apiCall] = await marketplaceUpdateResourceSecrets(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66291
66005
|
if (!result.ok) {
|
|
66292
66006
|
return {
|
|
66293
66007
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66356,9 +66070,9 @@ var init_updateresourcesecretsbyidop = __esm(() => {
|
|
|
66356
66070
|
|
|
66357
66071
|
// src/funcs/marketplaceUpdateResourceSecretsById.ts
|
|
66358
66072
|
function marketplaceUpdateResourceSecretsById(client, request, options) {
|
|
66359
|
-
return new APIPromise($
|
|
66073
|
+
return new APIPromise($do109(client, request, options));
|
|
66360
66074
|
}
|
|
66361
|
-
async function $
|
|
66075
|
+
async function $do109(client, request, options) {
|
|
66362
66076
|
const parsed = safeParse(request, (value) => UpdateResourceSecretsByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66363
66077
|
if (!parsed.ok) {
|
|
66364
66078
|
return [parsed, { status: "invalid" }];
|
|
@@ -66437,12 +66151,12 @@ var init_marketplaceUpdateResourceSecretsById = __esm(() => {
|
|
|
66437
66151
|
});
|
|
66438
66152
|
|
|
66439
66153
|
// src/mcp-server/tools/marketplaceUpdateResourceSecretsById.ts
|
|
66440
|
-
var
|
|
66154
|
+
var args108, tool$marketplaceUpdateResourceSecretsById;
|
|
66441
66155
|
var init_marketplaceUpdateResourceSecretsById2 = __esm(() => {
|
|
66442
66156
|
init_marketplaceUpdateResourceSecretsById();
|
|
66443
66157
|
init_updateresourcesecretsbyidop();
|
|
66444
66158
|
init_tools();
|
|
66445
|
-
|
|
66159
|
+
args108 = {
|
|
66446
66160
|
request: UpdateResourceSecretsByIdRequest$inboundSchema
|
|
66447
66161
|
};
|
|
66448
66162
|
tool$marketplaceUpdateResourceSecretsById = {
|
|
@@ -66450,9 +66164,9 @@ var init_marketplaceUpdateResourceSecretsById2 = __esm(() => {
|
|
|
66450
66164
|
description: `Update Resource Secrets
|
|
66451
66165
|
|
|
66452
66166
|
This endpoint updates the secrets of a resource. If a resource has projects connected, the connected secrets are updated with the new secrets. The old secrets may still be used by existing connected projects because they are not automatically redeployed. Redeployment is a manual action and must be completed by the user. All new project connections will use the new secrets.<br/> <br/> Use cases for this endpoint:<br/> <br/> - Resetting the credentials of a database in the partner. If the user requests the credentials to be updated in the partner’s application, the partner post the new set of secrets to Vercel, the user should redeploy their application and the expire the old credentials.<br/>`,
|
|
66453
|
-
args:
|
|
66454
|
-
tool: async (client,
|
|
66455
|
-
const [result, apiCall] = await marketplaceUpdateResourceSecretsById(client,
|
|
66167
|
+
args: args108,
|
|
66168
|
+
tool: async (client, args109, ctx) => {
|
|
66169
|
+
const [result, apiCall] = await marketplaceUpdateResourceSecretsById(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66456
66170
|
if (!result.ok) {
|
|
66457
66171
|
return {
|
|
66458
66172
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66505,9 +66219,9 @@ var init_patchprojectsprojectidlogspresetsidop = __esm(() => {
|
|
|
66505
66219
|
|
|
66506
66220
|
// src/funcs/patchProjectsProjectIdLogsPresetsId.ts
|
|
66507
66221
|
function patchProjectsProjectIdLogsPresetsId(client, request, options) {
|
|
66508
|
-
return new APIPromise($
|
|
66222
|
+
return new APIPromise($do110(client, request, options));
|
|
66509
66223
|
}
|
|
66510
|
-
async function $
|
|
66224
|
+
async function $do110(client, request, options) {
|
|
66511
66225
|
const parsed = safeParse(request, (value) => PatchProjectsProjectIdLogsPresetsIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66512
66226
|
if (!parsed.ok) {
|
|
66513
66227
|
return [parsed, { status: "invalid" }];
|
|
@@ -66584,20 +66298,263 @@ var init_patchProjectsProjectIdLogsPresetsId = __esm(() => {
|
|
|
66584
66298
|
});
|
|
66585
66299
|
|
|
66586
66300
|
// src/mcp-server/tools/patchProjectsProjectIdLogsPresetsId.ts
|
|
66587
|
-
var
|
|
66301
|
+
var args109, tool$patchProjectsProjectIdLogsPresetsId;
|
|
66588
66302
|
var init_patchProjectsProjectIdLogsPresetsId2 = __esm(() => {
|
|
66589
66303
|
init_patchProjectsProjectIdLogsPresetsId();
|
|
66590
66304
|
init_patchprojectsprojectidlogspresetsidop();
|
|
66591
66305
|
init_tools();
|
|
66592
|
-
|
|
66306
|
+
args109 = {
|
|
66593
66307
|
request: PatchProjectsProjectIdLogsPresetsIdRequest$inboundSchema
|
|
66594
66308
|
};
|
|
66595
66309
|
tool$patchProjectsProjectIdLogsPresetsId = {
|
|
66596
66310
|
name: "patch-projects-project-id-logs-presets-id",
|
|
66597
66311
|
description: ``,
|
|
66312
|
+
args: args109,
|
|
66313
|
+
tool: async (client, args110, ctx) => {
|
|
66314
|
+
const [result, apiCall] = await patchProjectsProjectIdLogsPresetsId(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66315
|
+
if (!result.ok) {
|
|
66316
|
+
return {
|
|
66317
|
+
content: [{ type: "text", text: result.error.message }],
|
|
66318
|
+
isError: true
|
|
66319
|
+
};
|
|
66320
|
+
}
|
|
66321
|
+
const value = result.value;
|
|
66322
|
+
return formatResult(value, apiCall);
|
|
66323
|
+
}
|
|
66324
|
+
};
|
|
66325
|
+
});
|
|
66326
|
+
|
|
66327
|
+
// src/models/postdomainsop.ts
|
|
66328
|
+
var ServiceType, RequestBody3$inboundSchema, RequestBody3$outboundSchema, RequestBody3$, RequestBody2$inboundSchema, RequestBody2$outboundSchema, RequestBody2$, RequestBody1$inboundSchema, RequestBody1$outboundSchema, RequestBody1$, PostDomainsRequestBody$inboundSchema, PostDomainsRequestBody$outboundSchema, PostDomainsRequestBody$, PostDomainsCreator$inboundSchema, PostDomainsCreator$outboundSchema, PostDomainsCreator$, ServiceType$inboundSchema, ServiceType$outboundSchema, ServiceType$, PostDomainsDomain$inboundSchema, PostDomainsDomain$outboundSchema, PostDomainsDomain$, PostDomainsResponseBody$inboundSchema, PostDomainsResponseBody$outboundSchema, PostDomainsResponseBody$;
|
|
66329
|
+
var init_postdomainsop = __esm(() => {
|
|
66330
|
+
init_lib();
|
|
66331
|
+
ServiceType = {
|
|
66332
|
+
ZeitWorld: "zeit.world",
|
|
66333
|
+
External: "external",
|
|
66334
|
+
Na: "na"
|
|
66335
|
+
};
|
|
66336
|
+
RequestBody3$inboundSchema = objectType({
|
|
66337
|
+
name: stringType(),
|
|
66338
|
+
method: stringType(),
|
|
66339
|
+
authCode: stringType().optional(),
|
|
66340
|
+
expectedPrice: numberType().optional()
|
|
66341
|
+
});
|
|
66342
|
+
RequestBody3$outboundSchema = objectType({
|
|
66343
|
+
name: stringType(),
|
|
66344
|
+
method: stringType(),
|
|
66345
|
+
authCode: stringType().optional(),
|
|
66346
|
+
expectedPrice: numberType().optional()
|
|
66347
|
+
});
|
|
66348
|
+
((RequestBody3$) => {
|
|
66349
|
+
RequestBody3$.inboundSchema = RequestBody3$inboundSchema;
|
|
66350
|
+
RequestBody3$.outboundSchema = RequestBody3$outboundSchema;
|
|
66351
|
+
})(RequestBody3$ ||= {});
|
|
66352
|
+
RequestBody2$inboundSchema = objectType({
|
|
66353
|
+
name: stringType(),
|
|
66354
|
+
method: stringType(),
|
|
66355
|
+
token: stringType().optional()
|
|
66356
|
+
});
|
|
66357
|
+
RequestBody2$outboundSchema = objectType({
|
|
66358
|
+
name: stringType(),
|
|
66359
|
+
method: stringType(),
|
|
66360
|
+
token: stringType().optional()
|
|
66361
|
+
});
|
|
66362
|
+
((RequestBody2$) => {
|
|
66363
|
+
RequestBody2$.inboundSchema = RequestBody2$inboundSchema;
|
|
66364
|
+
RequestBody2$.outboundSchema = RequestBody2$outboundSchema;
|
|
66365
|
+
})(RequestBody2$ ||= {});
|
|
66366
|
+
RequestBody1$inboundSchema = objectType({
|
|
66367
|
+
name: stringType(),
|
|
66368
|
+
cdnEnabled: booleanType().optional(),
|
|
66369
|
+
zone: booleanType().optional(),
|
|
66370
|
+
method: stringType().optional()
|
|
66371
|
+
});
|
|
66372
|
+
RequestBody1$outboundSchema = objectType({
|
|
66373
|
+
name: stringType(),
|
|
66374
|
+
cdnEnabled: booleanType().optional(),
|
|
66375
|
+
zone: booleanType().optional(),
|
|
66376
|
+
method: stringType().optional()
|
|
66377
|
+
});
|
|
66378
|
+
((RequestBody1$) => {
|
|
66379
|
+
RequestBody1$.inboundSchema = RequestBody1$inboundSchema;
|
|
66380
|
+
RequestBody1$.outboundSchema = RequestBody1$outboundSchema;
|
|
66381
|
+
})(RequestBody1$ ||= {});
|
|
66382
|
+
PostDomainsRequestBody$inboundSchema = unionType([
|
|
66383
|
+
lazyType(() => RequestBody2$inboundSchema),
|
|
66384
|
+
lazyType(() => RequestBody1$inboundSchema),
|
|
66385
|
+
lazyType(() => RequestBody3$inboundSchema)
|
|
66386
|
+
]);
|
|
66387
|
+
PostDomainsRequestBody$outboundSchema = unionType([
|
|
66388
|
+
lazyType(() => RequestBody2$outboundSchema),
|
|
66389
|
+
lazyType(() => RequestBody1$outboundSchema),
|
|
66390
|
+
lazyType(() => RequestBody3$outboundSchema)
|
|
66391
|
+
]);
|
|
66392
|
+
((PostDomainsRequestBody$) => {
|
|
66393
|
+
PostDomainsRequestBody$.inboundSchema = PostDomainsRequestBody$inboundSchema;
|
|
66394
|
+
PostDomainsRequestBody$.outboundSchema = PostDomainsRequestBody$outboundSchema;
|
|
66395
|
+
})(PostDomainsRequestBody$ ||= {});
|
|
66396
|
+
PostDomainsCreator$inboundSchema = objectType({
|
|
66397
|
+
username: stringType(),
|
|
66398
|
+
email: stringType(),
|
|
66399
|
+
customerId: nullableType(stringType()).optional(),
|
|
66400
|
+
isDomainReseller: booleanType().optional(),
|
|
66401
|
+
id: stringType()
|
|
66402
|
+
});
|
|
66403
|
+
PostDomainsCreator$outboundSchema = objectType({
|
|
66404
|
+
username: stringType(),
|
|
66405
|
+
email: stringType(),
|
|
66406
|
+
customerId: nullableType(stringType()).optional(),
|
|
66407
|
+
isDomainReseller: booleanType().optional(),
|
|
66408
|
+
id: stringType()
|
|
66409
|
+
});
|
|
66410
|
+
((PostDomainsCreator$) => {
|
|
66411
|
+
PostDomainsCreator$.inboundSchema = PostDomainsCreator$inboundSchema;
|
|
66412
|
+
PostDomainsCreator$.outboundSchema = PostDomainsCreator$outboundSchema;
|
|
66413
|
+
})(PostDomainsCreator$ ||= {});
|
|
66414
|
+
ServiceType$inboundSchema = nativeEnumType(ServiceType);
|
|
66415
|
+
ServiceType$outboundSchema = ServiceType$inboundSchema;
|
|
66416
|
+
((ServiceType$) => {
|
|
66417
|
+
ServiceType$.inboundSchema = ServiceType$inboundSchema;
|
|
66418
|
+
ServiceType$.outboundSchema = ServiceType$outboundSchema;
|
|
66419
|
+
})(ServiceType$ ||= {});
|
|
66420
|
+
PostDomainsDomain$inboundSchema = objectType({
|
|
66421
|
+
verified: booleanType(),
|
|
66422
|
+
nameservers: arrayType(stringType()),
|
|
66423
|
+
intendedNameservers: arrayType(stringType()),
|
|
66424
|
+
customNameservers: arrayType(stringType()).optional(),
|
|
66425
|
+
creator: lazyType(() => PostDomainsCreator$inboundSchema),
|
|
66426
|
+
name: stringType(),
|
|
66427
|
+
boughtAt: nullableType(numberType()),
|
|
66428
|
+
createdAt: numberType(),
|
|
66429
|
+
expiresAt: nullableType(numberType()),
|
|
66430
|
+
id: stringType(),
|
|
66431
|
+
orderedAt: numberType().optional(),
|
|
66432
|
+
renew: booleanType().optional(),
|
|
66433
|
+
serviceType: ServiceType$inboundSchema,
|
|
66434
|
+
transferredAt: nullableType(numberType()).optional(),
|
|
66435
|
+
transferStartedAt: numberType().optional(),
|
|
66436
|
+
userId: stringType(),
|
|
66437
|
+
teamId: nullableType(stringType())
|
|
66438
|
+
});
|
|
66439
|
+
PostDomainsDomain$outboundSchema = objectType({
|
|
66440
|
+
verified: booleanType(),
|
|
66441
|
+
nameservers: arrayType(stringType()),
|
|
66442
|
+
intendedNameservers: arrayType(stringType()),
|
|
66443
|
+
customNameservers: arrayType(stringType()).optional(),
|
|
66444
|
+
creator: lazyType(() => PostDomainsCreator$outboundSchema),
|
|
66445
|
+
name: stringType(),
|
|
66446
|
+
boughtAt: nullableType(numberType()),
|
|
66447
|
+
createdAt: numberType(),
|
|
66448
|
+
expiresAt: nullableType(numberType()),
|
|
66449
|
+
id: stringType(),
|
|
66450
|
+
orderedAt: numberType().optional(),
|
|
66451
|
+
renew: booleanType().optional(),
|
|
66452
|
+
serviceType: ServiceType$outboundSchema,
|
|
66453
|
+
transferredAt: nullableType(numberType()).optional(),
|
|
66454
|
+
transferStartedAt: numberType().optional(),
|
|
66455
|
+
userId: stringType(),
|
|
66456
|
+
teamId: nullableType(stringType())
|
|
66457
|
+
});
|
|
66458
|
+
((PostDomainsDomain$) => {
|
|
66459
|
+
PostDomainsDomain$.inboundSchema = PostDomainsDomain$inboundSchema;
|
|
66460
|
+
PostDomainsDomain$.outboundSchema = PostDomainsDomain$outboundSchema;
|
|
66461
|
+
})(PostDomainsDomain$ ||= {});
|
|
66462
|
+
PostDomainsResponseBody$inboundSchema = objectType({
|
|
66463
|
+
domain: lazyType(() => PostDomainsDomain$inboundSchema)
|
|
66464
|
+
});
|
|
66465
|
+
PostDomainsResponseBody$outboundSchema = objectType({
|
|
66466
|
+
domain: lazyType(() => PostDomainsDomain$outboundSchema)
|
|
66467
|
+
});
|
|
66468
|
+
((PostDomainsResponseBody$) => {
|
|
66469
|
+
PostDomainsResponseBody$.inboundSchema = PostDomainsResponseBody$inboundSchema;
|
|
66470
|
+
PostDomainsResponseBody$.outboundSchema = PostDomainsResponseBody$outboundSchema;
|
|
66471
|
+
})(PostDomainsResponseBody$ ||= {});
|
|
66472
|
+
});
|
|
66473
|
+
|
|
66474
|
+
// src/funcs/postDomains.ts
|
|
66475
|
+
function postDomains(client, request, options) {
|
|
66476
|
+
return new APIPromise($do111(client, request, options));
|
|
66477
|
+
}
|
|
66478
|
+
async function $do111(client, request, options) {
|
|
66479
|
+
const parsed = safeParse(request, (value) => PostDomainsRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
66480
|
+
if (!parsed.ok) {
|
|
66481
|
+
return [parsed, { status: "invalid" }];
|
|
66482
|
+
}
|
|
66483
|
+
const payload = parsed.value;
|
|
66484
|
+
const body = payload === undefined ? null : encodeJSON("body", payload, { explode: true });
|
|
66485
|
+
const path = pathToFunc("/domains")();
|
|
66486
|
+
const headers = new Headers(compactMap({
|
|
66487
|
+
"Content-Type": "application/json",
|
|
66488
|
+
Accept: "application/json"
|
|
66489
|
+
}));
|
|
66490
|
+
const context = {
|
|
66491
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
66492
|
+
operationID: "post_/domains",
|
|
66493
|
+
oAuth2Scopes: [],
|
|
66494
|
+
resolvedSecurity: null,
|
|
66495
|
+
securitySource: null,
|
|
66496
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
66497
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
66498
|
+
};
|
|
66499
|
+
const requestRes = client._createRequest(context, {
|
|
66500
|
+
method: "POST",
|
|
66501
|
+
baseURL: options?.serverURL,
|
|
66502
|
+
path,
|
|
66503
|
+
headers,
|
|
66504
|
+
body,
|
|
66505
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
66506
|
+
}, options);
|
|
66507
|
+
if (!requestRes.ok) {
|
|
66508
|
+
return [requestRes, { status: "invalid" }];
|
|
66509
|
+
}
|
|
66510
|
+
const req = requestRes.value;
|
|
66511
|
+
const doResult = await client._do(req, {
|
|
66512
|
+
context,
|
|
66513
|
+
errorCodes: ["400", "401", "402", "403", "404", "409", "4XX", "500", "5XX"],
|
|
66514
|
+
retryConfig: context.retryConfig,
|
|
66515
|
+
retryCodes: context.retryCodes
|
|
66516
|
+
});
|
|
66517
|
+
if (!doResult.ok) {
|
|
66518
|
+
return [doResult, { status: "request-error", request: req }];
|
|
66519
|
+
}
|
|
66520
|
+
const response = doResult.value;
|
|
66521
|
+
const responseFields = {
|
|
66522
|
+
HttpMeta: { Response: response, Request: req }
|
|
66523
|
+
};
|
|
66524
|
+
const [result] = await match(json(200, PostDomainsResponseBody$inboundSchema), jsonErr(400, VercelBadRequestError$inboundSchema), jsonErr(401, VercelForbiddenError$inboundSchema), jsonErr(404, VercelNotFoundError$inboundSchema), fail([402, 403, 409, "4XX"]), fail([500, "5XX"]))(response, { extraFields: responseFields });
|
|
66525
|
+
if (!result.ok) {
|
|
66526
|
+
return [result, { status: "complete", request: req, response }];
|
|
66527
|
+
}
|
|
66528
|
+
return [result, { status: "complete", request: req, response }];
|
|
66529
|
+
}
|
|
66530
|
+
var init_postDomains = __esm(() => {
|
|
66531
|
+
init_encodings();
|
|
66532
|
+
init_matchers();
|
|
66533
|
+
init_primitives();
|
|
66534
|
+
init_schemas();
|
|
66535
|
+
init_url();
|
|
66536
|
+
init_postdomainsop();
|
|
66537
|
+
init_vercelbadrequesterror();
|
|
66538
|
+
init_vercelforbiddenerror();
|
|
66539
|
+
init_vercelnotfounderror();
|
|
66540
|
+
init_async();
|
|
66541
|
+
});
|
|
66542
|
+
|
|
66543
|
+
// src/mcp-server/tools/postDomains.ts
|
|
66544
|
+
var args110, tool$postDomains;
|
|
66545
|
+
var init_postDomains2 = __esm(() => {
|
|
66546
|
+
init_postDomains();
|
|
66547
|
+
init_postdomainsop();
|
|
66548
|
+
init_tools();
|
|
66549
|
+
args110 = {
|
|
66550
|
+
request: PostDomainsRequestBody$inboundSchema.optional()
|
|
66551
|
+
};
|
|
66552
|
+
tool$postDomains = {
|
|
66553
|
+
name: "post-domains",
|
|
66554
|
+
description: ``,
|
|
66598
66555
|
args: args110,
|
|
66599
66556
|
tool: async (client, args111, ctx) => {
|
|
66600
|
-
const [result, apiCall] = await
|
|
66557
|
+
const [result, apiCall] = await postDomains(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66601
66558
|
if (!result.ok) {
|
|
66602
66559
|
return {
|
|
66603
66560
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70142,6 +70099,7 @@ var init_createprojectop = __esm(() => {
|
|
|
70142
70099
|
deploymentPrivate: arrayType(ACLAction$inboundSchema).optional(),
|
|
70143
70100
|
deploymentPromote: arrayType(ACLAction$inboundSchema).optional(),
|
|
70144
70101
|
deploymentRollback: arrayType(ACLAction$inboundSchema).optional(),
|
|
70102
|
+
edgeCacheNamespace: arrayType(ACLAction$inboundSchema).optional(),
|
|
70145
70103
|
environments: arrayType(ACLAction$inboundSchema).optional(),
|
|
70146
70104
|
logs: arrayType(ACLAction$inboundSchema).optional(),
|
|
70147
70105
|
logsPreset: arrayType(ACLAction$inboundSchema).optional(),
|
|
@@ -70345,6 +70303,7 @@ var init_createprojectop = __esm(() => {
|
|
|
70345
70303
|
deploymentPrivate: arrayType(ACLAction$outboundSchema).optional(),
|
|
70346
70304
|
deploymentPromote: arrayType(ACLAction$outboundSchema).optional(),
|
|
70347
70305
|
deploymentRollback: arrayType(ACLAction$outboundSchema).optional(),
|
|
70306
|
+
edgeCacheNamespace: arrayType(ACLAction$outboundSchema).optional(),
|
|
70348
70307
|
environments: arrayType(ACLAction$outboundSchema).optional(),
|
|
70349
70308
|
logs: arrayType(ACLAction$outboundSchema).optional(),
|
|
70350
70309
|
logsPreset: arrayType(ACLAction$outboundSchema).optional(),
|
|
@@ -79785,6 +79744,7 @@ var init_getprojectsop = __esm(() => {
|
|
|
79785
79744
|
deploymentPrivate: arrayType(ACLAction$inboundSchema).optional(),
|
|
79786
79745
|
deploymentPromote: arrayType(ACLAction$inboundSchema).optional(),
|
|
79787
79746
|
deploymentRollback: arrayType(ACLAction$inboundSchema).optional(),
|
|
79747
|
+
edgeCacheNamespace: arrayType(ACLAction$inboundSchema).optional(),
|
|
79788
79748
|
environments: arrayType(ACLAction$inboundSchema).optional(),
|
|
79789
79749
|
logs: arrayType(ACLAction$inboundSchema).optional(),
|
|
79790
79750
|
logsPreset: arrayType(ACLAction$inboundSchema).optional(),
|
|
@@ -79988,6 +79948,7 @@ var init_getprojectsop = __esm(() => {
|
|
|
79988
79948
|
deploymentPrivate: arrayType(ACLAction$outboundSchema).optional(),
|
|
79989
79949
|
deploymentPromote: arrayType(ACLAction$outboundSchema).optional(),
|
|
79990
79950
|
deploymentRollback: arrayType(ACLAction$outboundSchema).optional(),
|
|
79951
|
+
edgeCacheNamespace: arrayType(ACLAction$outboundSchema).optional(),
|
|
79991
79952
|
environments: arrayType(ACLAction$outboundSchema).optional(),
|
|
79992
79953
|
logs: arrayType(ACLAction$outboundSchema).optional(),
|
|
79993
79954
|
logsPreset: arrayType(ACLAction$outboundSchema).optional(),
|
|
@@ -83248,12 +83209,14 @@ var init_requestpromoteop = __esm(() => {
|
|
|
83248
83209
|
RequestPromoteRequest$inboundSchema = objectType({
|
|
83249
83210
|
projectId: stringType(),
|
|
83250
83211
|
deploymentId: stringType(),
|
|
83212
|
+
dangerouslyForcePromoteCanary: booleanType().optional(),
|
|
83251
83213
|
teamId: stringType().optional(),
|
|
83252
83214
|
slug: stringType().optional()
|
|
83253
83215
|
});
|
|
83254
83216
|
RequestPromoteRequest$outboundSchema = objectType({
|
|
83255
83217
|
projectId: stringType(),
|
|
83256
83218
|
deploymentId: stringType(),
|
|
83219
|
+
dangerouslyForcePromoteCanary: booleanType().optional(),
|
|
83257
83220
|
teamId: stringType().optional(),
|
|
83258
83221
|
slug: stringType().optional()
|
|
83259
83222
|
});
|
|
@@ -83286,6 +83249,7 @@ async function $do133(client, request, options) {
|
|
|
83286
83249
|
};
|
|
83287
83250
|
const path = pathToFunc("/v10/projects/{projectId}/promote/{deploymentId}")(pathParams);
|
|
83288
83251
|
const query = encodeFormQuery({
|
|
83252
|
+
dangerouslyForcePromoteCanary: payload.dangerouslyForcePromoteCanary,
|
|
83289
83253
|
slug: payload.slug,
|
|
83290
83254
|
teamId: payload.teamId
|
|
83291
83255
|
});
|
|
@@ -85892,6 +85856,7 @@ var init_updateprojectop = __esm(() => {
|
|
|
85892
85856
|
deploymentPrivate: arrayType(ACLAction$inboundSchema).optional(),
|
|
85893
85857
|
deploymentPromote: arrayType(ACLAction$inboundSchema).optional(),
|
|
85894
85858
|
deploymentRollback: arrayType(ACLAction$inboundSchema).optional(),
|
|
85859
|
+
edgeCacheNamespace: arrayType(ACLAction$inboundSchema).optional(),
|
|
85895
85860
|
environments: arrayType(ACLAction$inboundSchema).optional(),
|
|
85896
85861
|
logs: arrayType(ACLAction$inboundSchema).optional(),
|
|
85897
85862
|
logsPreset: arrayType(ACLAction$inboundSchema).optional(),
|
|
@@ -86095,6 +86060,7 @@ var init_updateprojectop = __esm(() => {
|
|
|
86095
86060
|
deploymentPrivate: arrayType(ACLAction$outboundSchema).optional(),
|
|
86096
86061
|
deploymentPromote: arrayType(ACLAction$outboundSchema).optional(),
|
|
86097
86062
|
deploymentRollback: arrayType(ACLAction$outboundSchema).optional(),
|
|
86063
|
+
edgeCacheNamespace: arrayType(ACLAction$outboundSchema).optional(),
|
|
86098
86064
|
environments: arrayType(ACLAction$outboundSchema).optional(),
|
|
86099
86065
|
logs: arrayType(ACLAction$outboundSchema).optional(),
|
|
86100
86066
|
logsPreset: arrayType(ACLAction$outboundSchema).optional(),
|
|
@@ -89033,6 +88999,7 @@ var init_updateprojectdatacacheop = __esm(() => {
|
|
|
89033
88999
|
deploymentPrivate: arrayType(ACLAction$inboundSchema).optional(),
|
|
89034
89000
|
deploymentPromote: arrayType(ACLAction$inboundSchema).optional(),
|
|
89035
89001
|
deploymentRollback: arrayType(ACLAction$inboundSchema).optional(),
|
|
89002
|
+
edgeCacheNamespace: arrayType(ACLAction$inboundSchema).optional(),
|
|
89036
89003
|
environments: arrayType(ACLAction$inboundSchema).optional(),
|
|
89037
89004
|
logs: arrayType(ACLAction$inboundSchema).optional(),
|
|
89038
89005
|
logsPreset: arrayType(ACLAction$inboundSchema).optional(),
|
|
@@ -89236,6 +89203,7 @@ var init_updateprojectdatacacheop = __esm(() => {
|
|
|
89236
89203
|
deploymentPrivate: arrayType(ACLAction$outboundSchema).optional(),
|
|
89237
89204
|
deploymentPromote: arrayType(ACLAction$outboundSchema).optional(),
|
|
89238
89205
|
deploymentRollback: arrayType(ACLAction$outboundSchema).optional(),
|
|
89206
|
+
edgeCacheNamespace: arrayType(ACLAction$outboundSchema).optional(),
|
|
89239
89207
|
environments: arrayType(ACLAction$outboundSchema).optional(),
|
|
89240
89208
|
logs: arrayType(ACLAction$outboundSchema).optional(),
|
|
89241
89209
|
logsPreset: arrayType(ACLAction$outboundSchema).optional(),
|
|
@@ -95705,8 +95673,8 @@ var LimitedBy, Role, TeamRoles, TeamPermissions, Origin, LimitedBy$inboundSchema
|
|
|
95705
95673
|
var init_teamlimited = __esm(() => {
|
|
95706
95674
|
init_lib();
|
|
95707
95675
|
LimitedBy = {
|
|
95708
|
-
|
|
95709
|
-
|
|
95676
|
+
Mfa: "mfa",
|
|
95677
|
+
Scope: "scope"
|
|
95710
95678
|
};
|
|
95711
95679
|
Role = {
|
|
95712
95680
|
Owner: "OWNER",
|
|
@@ -95734,6 +95702,7 @@ var init_teamlimited = __esm(() => {
|
|
|
95734
95702
|
EnvironmentManager: "EnvironmentManager"
|
|
95735
95703
|
};
|
|
95736
95704
|
Origin = {
|
|
95705
|
+
Saml: "saml",
|
|
95737
95706
|
Mail: "mail",
|
|
95738
95707
|
Link: "link",
|
|
95739
95708
|
Import: "import",
|
|
@@ -95741,7 +95710,6 @@ var init_teamlimited = __esm(() => {
|
|
|
95741
95710
|
Github: "github",
|
|
95742
95711
|
Gitlab: "gitlab",
|
|
95743
95712
|
Bitbucket: "bitbucket",
|
|
95744
|
-
Saml: "saml",
|
|
95745
95713
|
Dsync: "dsync",
|
|
95746
95714
|
Feedback: "feedback",
|
|
95747
95715
|
OrganizationTeams: "organization-teams"
|
|
@@ -95753,15 +95721,15 @@ var init_teamlimited = __esm(() => {
|
|
|
95753
95721
|
LimitedBy$.outboundSchema = LimitedBy$outboundSchema;
|
|
95754
95722
|
})(LimitedBy$ ||= {});
|
|
95755
95723
|
Connection$inboundSchema = objectType({
|
|
95756
|
-
type: stringType(),
|
|
95757
95724
|
status: stringType(),
|
|
95725
|
+
type: stringType(),
|
|
95758
95726
|
state: stringType(),
|
|
95759
95727
|
connectedAt: numberType(),
|
|
95760
95728
|
lastReceivedWebhookEvent: numberType().optional()
|
|
95761
95729
|
});
|
|
95762
95730
|
Connection$outboundSchema = objectType({
|
|
95763
|
-
type: stringType(),
|
|
95764
95731
|
status: stringType(),
|
|
95732
|
+
type: stringType(),
|
|
95765
95733
|
state: stringType(),
|
|
95766
95734
|
connectedAt: numberType(),
|
|
95767
95735
|
lastReceivedWebhookEvent: numberType().optional()
|
|
@@ -95873,13 +95841,13 @@ var init_teamlimited = __esm(() => {
|
|
|
95873
95841
|
Membership$inboundSchema = objectType({
|
|
95874
95842
|
uid: stringType().optional(),
|
|
95875
95843
|
entitlements: arrayType(lazyType(() => Entitlements$inboundSchema)).optional(),
|
|
95876
|
-
teamId: stringType().optional(),
|
|
95877
95844
|
confirmed: booleanType(),
|
|
95878
95845
|
confirmedAt: numberType(),
|
|
95879
95846
|
accessRequestedAt: numberType().optional(),
|
|
95880
95847
|
role: Role$inboundSchema,
|
|
95881
95848
|
teamRoles: arrayType(TeamRoles$inboundSchema).optional(),
|
|
95882
95849
|
teamPermissions: arrayType(TeamPermissions$inboundSchema).optional(),
|
|
95850
|
+
teamId: stringType().optional(),
|
|
95883
95851
|
createdAt: numberType(),
|
|
95884
95852
|
created: numberType(),
|
|
95885
95853
|
joinedFrom: lazyType(() => JoinedFrom$inboundSchema).optional()
|
|
@@ -95887,13 +95855,13 @@ var init_teamlimited = __esm(() => {
|
|
|
95887
95855
|
Membership$outboundSchema = objectType({
|
|
95888
95856
|
uid: stringType().optional(),
|
|
95889
95857
|
entitlements: arrayType(lazyType(() => Entitlements$outboundSchema)).optional(),
|
|
95890
|
-
teamId: stringType().optional(),
|
|
95891
95858
|
confirmed: booleanType(),
|
|
95892
95859
|
confirmedAt: numberType(),
|
|
95893
95860
|
accessRequestedAt: numberType().optional(),
|
|
95894
95861
|
role: Role$outboundSchema,
|
|
95895
95862
|
teamRoles: arrayType(TeamRoles$outboundSchema).optional(),
|
|
95896
95863
|
teamPermissions: arrayType(TeamPermissions$outboundSchema).optional(),
|
|
95864
|
+
teamId: stringType().optional(),
|
|
95897
95865
|
createdAt: numberType(),
|
|
95898
95866
|
created: numberType(),
|
|
95899
95867
|
joinedFrom: lazyType(() => JoinedFrom$outboundSchema).optional()
|
|
@@ -103415,11 +103383,13 @@ var init_userevent = __esm(() => {
|
|
|
103415
103383
|
})(OverageUsageAlerts$ ||= {});
|
|
103416
103384
|
OverageMetadata$inboundSchema = objectType({
|
|
103417
103385
|
firstTimeOnDemandNotificationSentAt: numberType().optional(),
|
|
103418
|
-
overageSummaryEmailSentAt: numberType().optional()
|
|
103386
|
+
overageSummaryEmailSentAt: numberType().optional(),
|
|
103387
|
+
increasedOnDemandEmailSentAt: numberType().optional()
|
|
103419
103388
|
});
|
|
103420
103389
|
OverageMetadata$outboundSchema = objectType({
|
|
103421
103390
|
firstTimeOnDemandNotificationSentAt: numberType().optional(),
|
|
103422
|
-
overageSummaryEmailSentAt: numberType().optional()
|
|
103391
|
+
overageSummaryEmailSentAt: numberType().optional(),
|
|
103392
|
+
increasedOnDemandEmailSentAt: numberType().optional()
|
|
103423
103393
|
});
|
|
103424
103394
|
((OverageMetadata$) => {
|
|
103425
103395
|
OverageMetadata$.inboundSchema = OverageMetadata$inboundSchema;
|
|
@@ -107394,7 +107364,7 @@ Get a list of webhooks`,
|
|
|
107394
107364
|
function createMCPServer(deps) {
|
|
107395
107365
|
const server = new McpServer({
|
|
107396
107366
|
name: "Vercel",
|
|
107397
|
-
version: "1.7.
|
|
107367
|
+
version: "1.7.4"
|
|
107398
107368
|
});
|
|
107399
107369
|
const client = new VercelCore({
|
|
107400
107370
|
bearerToken: deps.bearerToken,
|
|
@@ -107408,6 +107378,7 @@ function createMCPServer(deps) {
|
|
|
107408
107378
|
const resourceTemplate = createRegisterResourceTemplate(deps.logger, server, client, scopes);
|
|
107409
107379
|
const prompt = createRegisterPrompt(deps.logger, server, client, scopes);
|
|
107410
107380
|
const register = { tool, resource, resourceTemplate, prompt };
|
|
107381
|
+
tool(tool$postDomains);
|
|
107411
107382
|
tool(tool$getProjectsProjectIdLogsPresets);
|
|
107412
107383
|
tool(tool$postProjectsProjectIdLogsPresets);
|
|
107413
107384
|
tool(tool$deleteProjectsProjectIdLogsPresetsId);
|
|
@@ -107479,7 +107450,6 @@ function createMCPServer(deps) {
|
|
|
107479
107450
|
tool(tool$domainsGetDomainConfig);
|
|
107480
107451
|
tool(tool$domainsGetDomain);
|
|
107481
107452
|
tool(tool$domainsGetDomains);
|
|
107482
|
-
tool(tool$domainsCreateOrTransferDomain);
|
|
107483
107453
|
tool(tool$domainsPatchDomain);
|
|
107484
107454
|
tool(tool$domainsDeleteDomain);
|
|
107485
107455
|
tool(tool$dnsGetRecords);
|
|
@@ -107637,7 +107607,6 @@ var init_server2 = __esm(() => {
|
|
|
107637
107607
|
init_domainsBuyDomain2();
|
|
107638
107608
|
init_domainsCheckDomainPrice2();
|
|
107639
107609
|
init_domainsCheckDomainStatus2();
|
|
107640
|
-
init_domainsCreateOrTransferDomain2();
|
|
107641
107610
|
init_domainsDeleteDomain2();
|
|
107642
107611
|
init_domainsGetDomain2();
|
|
107643
107612
|
init_domainsGetDomainConfig2();
|
|
@@ -107693,6 +107662,7 @@ var init_server2 = __esm(() => {
|
|
|
107693
107662
|
init_marketplaceUpdateResourceSecrets2();
|
|
107694
107663
|
init_marketplaceUpdateResourceSecretsById2();
|
|
107695
107664
|
init_patchProjectsProjectIdLogsPresetsId2();
|
|
107665
|
+
init_postDomains2();
|
|
107696
107666
|
init_postProjectsProjectIdLogsPresets2();
|
|
107697
107667
|
init_projectMembersAddProjectMember2();
|
|
107698
107668
|
init_projectMembersGetProjectMembers2();
|
|
@@ -108939,7 +108909,7 @@ var routes = an({
|
|
|
108939
108909
|
var app = He(routes, {
|
|
108940
108910
|
name: "mcp",
|
|
108941
108911
|
versionInfo: {
|
|
108942
|
-
currentVersion: "1.7.
|
|
108912
|
+
currentVersion: "1.7.4"
|
|
108943
108913
|
}
|
|
108944
108914
|
});
|
|
108945
108915
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -108947,5 +108917,5 @@ export {
|
|
|
108947
108917
|
app
|
|
108948
108918
|
};
|
|
108949
108919
|
|
|
108950
|
-
//# debugId=
|
|
108920
|
+
//# debugId=5891E48445ABD29364756E2164756E21
|
|
108951
108921
|
//# sourceMappingURL=mcp-server.js.map
|