@vercel/sdk 1.8.6 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/README.md +3 -9
  2. package/bin/mcp-server.js +669 -1264
  3. package/bin/mcp-server.js.map +17 -26
  4. package/docs/sdks/marketplace/README.md +78 -310
  5. package/esm/__tests__/marketplace.test.js +7 -51
  6. package/esm/__tests__/marketplace.test.js.map +1 -1
  7. package/esm/lib/config.d.ts +3 -3
  8. package/esm/lib/config.js +3 -3
  9. package/esm/mcp-server/mcp-server.js +1 -1
  10. package/esm/mcp-server/server.d.ts.map +1 -1
  11. package/esm/mcp-server/server.js +2 -8
  12. package/esm/mcp-server/server.js.map +1 -1
  13. package/esm/models/approverollingreleasestageop.d.ts +36 -0
  14. package/esm/models/approverollingreleasestageop.d.ts.map +1 -1
  15. package/esm/models/approverollingreleasestageop.js +25 -0
  16. package/esm/models/approverollingreleasestageop.js.map +1 -1
  17. package/esm/models/completerollingreleaseop.d.ts +36 -0
  18. package/esm/models/completerollingreleaseop.d.ts.map +1 -1
  19. package/esm/models/completerollingreleaseop.js +24 -0
  20. package/esm/models/completerollingreleaseop.js.map +1 -1
  21. package/esm/models/createprojectop.d.ts +2 -0
  22. package/esm/models/createprojectop.d.ts.map +1 -1
  23. package/esm/models/createprojectop.js +2 -0
  24. package/esm/models/createprojectop.js.map +1 -1
  25. package/esm/models/getedgeconfigbackupop.d.ts +15 -15
  26. package/esm/models/getedgeconfigbackupop.d.ts.map +1 -1
  27. package/esm/models/getedgeconfigbackupop.js +15 -15
  28. package/esm/models/getedgeconfigbackupop.js.map +1 -1
  29. package/esm/models/getprojectsop.d.ts +2 -0
  30. package/esm/models/getprojectsop.d.ts.map +1 -1
  31. package/esm/models/getprojectsop.js +2 -0
  32. package/esm/models/getprojectsop.js.map +1 -1
  33. package/esm/models/getrollingreleaseop.d.ts +36 -0
  34. package/esm/models/getrollingreleaseop.d.ts.map +1 -1
  35. package/esm/models/getrollingreleaseop.js +24 -0
  36. package/esm/models/getrollingreleaseop.js.map +1 -1
  37. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +3 -3
  38. package/esm/models/getv9projectsidornamecustomenvironmentsop.js +1 -1
  39. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  40. package/esm/models/importresourceop.d.ts +15 -15
  41. package/esm/models/importresourceop.d.ts.map +1 -1
  42. package/esm/models/importresourceop.js +15 -17
  43. package/esm/models/importresourceop.js.map +1 -1
  44. package/esm/models/updateprojectdatacacheop.d.ts +2 -0
  45. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  46. package/esm/models/updateprojectdatacacheop.js +2 -0
  47. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  48. package/esm/models/updateprojectop.d.ts +2 -0
  49. package/esm/models/updateprojectop.d.ts.map +1 -1
  50. package/esm/models/updateprojectop.js +2 -0
  51. package/esm/models/updateprojectop.js.map +1 -1
  52. package/esm/models/updateresourcesecretsop.d.ts +15 -15
  53. package/esm/models/updateresourcesecretsop.d.ts.map +1 -1
  54. package/esm/models/updateresourcesecretsop.js +17 -15
  55. package/esm/models/updateresourcesecretsop.js.map +1 -1
  56. package/esm/sdk/marketplace.d.ts +7 -31
  57. package/esm/sdk/marketplace.d.ts.map +1 -1
  58. package/esm/sdk/marketplace.js +9 -39
  59. package/esm/sdk/marketplace.js.map +1 -1
  60. package/jsr.json +1 -1
  61. package/package.json +1 -1
  62. package/src/__tests__/marketplace.test.ts +13 -57
  63. package/src/lib/config.ts +3 -3
  64. package/src/mcp-server/mcp-server.ts +1 -1
  65. package/src/mcp-server/server.ts +2 -8
  66. package/src/models/approverollingreleasestageop.ts +44 -0
  67. package/src/models/completerollingreleaseop.ts +45 -0
  68. package/src/models/createprojectop.ts +4 -0
  69. package/src/models/getedgeconfigbackupop.ts +24 -41
  70. package/src/models/getprojectsop.ts +4 -0
  71. package/src/models/getrollingreleaseop.ts +40 -0
  72. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +1 -1
  73. package/src/models/importresourceop.ts +35 -27
  74. package/src/models/updateprojectdatacacheop.ts +4 -0
  75. package/src/models/updateprojectop.ts +4 -0
  76. package/src/models/updateresourcesecretsop.ts +33 -49
  77. package/src/sdk/marketplace.ts +17 -80
  78. package/vercel-spec.json +464 -880
  79. package/esm/funcs/marketplaceDeleteResource.d.ts +0 -20
  80. package/esm/funcs/marketplaceDeleteResource.d.ts.map +0 -1
  81. package/esm/funcs/marketplaceDeleteResource.js +0 -91
  82. package/esm/funcs/marketplaceDeleteResource.js.map +0 -1
  83. package/esm/funcs/marketplaceGetResource.d.ts +0 -20
  84. package/esm/funcs/marketplaceGetResource.d.ts.map +0 -1
  85. package/esm/funcs/marketplaceGetResource.js +0 -90
  86. package/esm/funcs/marketplaceGetResource.js.map +0 -1
  87. package/esm/funcs/marketplaceGetResources.d.ts +0 -20
  88. package/esm/funcs/marketplaceGetResources.d.ts.map +0 -1
  89. package/esm/funcs/marketplaceGetResources.js +0 -86
  90. package/esm/funcs/marketplaceGetResources.js.map +0 -1
  91. package/esm/mcp-server/tools/marketplaceDeleteResource.d.ts +0 -7
  92. package/esm/mcp-server/tools/marketplaceDeleteResource.d.ts.map +0 -1
  93. package/esm/mcp-server/tools/marketplaceDeleteResource.js +0 -27
  94. package/esm/mcp-server/tools/marketplaceDeleteResource.js.map +0 -1
  95. package/esm/mcp-server/tools/marketplaceGetResource.d.ts +0 -7
  96. package/esm/mcp-server/tools/marketplaceGetResource.d.ts.map +0 -1
  97. package/esm/mcp-server/tools/marketplaceGetResource.js +0 -28
  98. package/esm/mcp-server/tools/marketplaceGetResource.js.map +0 -1
  99. package/esm/mcp-server/tools/marketplaceGetResources.d.ts +0 -7
  100. package/esm/mcp-server/tools/marketplaceGetResources.d.ts.map +0 -1
  101. package/esm/mcp-server/tools/marketplaceGetResources.js +0 -28
  102. package/esm/mcp-server/tools/marketplaceGetResources.js.map +0 -1
  103. package/esm/models/deleteresourceop.d.ts +0 -31
  104. package/esm/models/deleteresourceop.d.ts.map +0 -1
  105. package/esm/models/deleteresourceop.js +0 -33
  106. package/esm/models/deleteresourceop.js.map +0 -1
  107. package/esm/models/getresourceop.d.ts +0 -293
  108. package/esm/models/getresourceop.d.ts.map +0 -1
  109. package/esm/models/getresourceop.js +0 -250
  110. package/esm/models/getresourceop.js.map +0 -1
  111. package/esm/models/getresourcesop.d.ts +0 -310
  112. package/esm/models/getresourcesop.d.ts.map +0 -1
  113. package/esm/models/getresourcesop.js +0 -278
  114. package/esm/models/getresourcesop.js.map +0 -1
  115. package/src/funcs/marketplaceDeleteResource.ts +0 -205
  116. package/src/funcs/marketplaceGetResource.ts +0 -206
  117. package/src/funcs/marketplaceGetResources.ts +0 -202
  118. package/src/mcp-server/tools/marketplaceDeleteResource.ts +0 -35
  119. package/src/mcp-server/tools/marketplaceGetResource.ts +0 -37
  120. package/src/mcp-server/tools/marketplaceGetResources.ts +0 -37
  121. package/src/models/deleteresourceop.ts +0 -70
  122. package/src/models/getresourceop.ts +0 -545
  123. package/src/models/getresourcesop.ts +0 -604
package/bin/mcp-server.js CHANGED
@@ -34234,9 +34234,9 @@ var init_config = __esm(() => {
34234
34234
  SDK_METADATA = {
34235
34235
  language: "typescript",
34236
34236
  openapiDocVersion: "0.0.1",
34237
- sdkVersion: "1.8.6",
34238
- genVersion: "2.634.1",
34239
- userAgent: "speakeasy-sdk/typescript 1.8.6 2.634.1 0.0.1 @vercel/sdk"
34237
+ sdkVersion: "1.9.0",
34238
+ genVersion: "2.636.0",
34239
+ userAgent: "speakeasy-sdk/typescript 1.9.0 2.636.0 0.0.1 @vercel/sdk"
34240
34240
  };
34241
34241
  });
34242
34242
 
@@ -58823,7 +58823,7 @@ var init_edgeconfigitemvalue = __esm(() => {
58823
58823
  });
58824
58824
 
58825
58825
  // src/models/getedgeconfigbackupop.ts
58826
- var GetEdgeConfigBackupRequest$inboundSchema, GetEdgeConfigBackupRequest$outboundSchema, GetEdgeConfigBackupRequest$, ResponseBodyUser$inboundSchema, ResponseBodyUser$outboundSchema, ResponseBodyUser$, GetEdgeConfigBackupResponseBodyItems$inboundSchema, GetEdgeConfigBackupResponseBodyItems$outboundSchema, GetEdgeConfigBackupResponseBodyItems$, ResponseBodyBackup$inboundSchema, ResponseBodyBackup$outboundSchema, ResponseBodyBackup$, ResponseBodyMetadata$inboundSchema, ResponseBodyMetadata$outboundSchema, ResponseBodyMetadata$, GetEdgeConfigBackupResponseBody2$inboundSchema, GetEdgeConfigBackupResponseBody2$outboundSchema, GetEdgeConfigBackupResponseBody2$, ResponseBodyItems$inboundSchema, ResponseBodyItems$outboundSchema, ResponseBodyItems$, Backup$inboundSchema, Backup$outboundSchema, Backup$, GetEdgeConfigBackupResponseBodyMetadata$inboundSchema, GetEdgeConfigBackupResponseBodyMetadata$outboundSchema, GetEdgeConfigBackupResponseBodyMetadata$, GetEdgeConfigBackupResponseBodyUser$inboundSchema, GetEdgeConfigBackupResponseBodyUser$outboundSchema, GetEdgeConfigBackupResponseBodyUser$, GetEdgeConfigBackupResponseBody1$inboundSchema, GetEdgeConfigBackupResponseBody1$outboundSchema, GetEdgeConfigBackupResponseBody1$, GetEdgeConfigBackupResponseBody$inboundSchema, GetEdgeConfigBackupResponseBody$outboundSchema, GetEdgeConfigBackupResponseBody$;
58826
+ var GetEdgeConfigBackupRequest$inboundSchema, GetEdgeConfigBackupRequest$outboundSchema, GetEdgeConfigBackupRequest$, ResponseBodyUser$inboundSchema, ResponseBodyUser$outboundSchema, ResponseBodyUser$, GetEdgeConfigBackupResponseBodyItems$inboundSchema, GetEdgeConfigBackupResponseBodyItems$outboundSchema, GetEdgeConfigBackupResponseBodyItems$, ResponseBodyBackup$inboundSchema, ResponseBodyBackup$outboundSchema, ResponseBodyBackup$, ResponseBodyMetadata$inboundSchema, ResponseBodyMetadata$outboundSchema, ResponseBodyMetadata$, GetEdgeConfigBackupResponseBody2$inboundSchema, GetEdgeConfigBackupResponseBody2$outboundSchema, GetEdgeConfigBackupResponseBody2$, ResponseBodyItems$inboundSchema, ResponseBodyItems$outboundSchema, ResponseBodyItems$, Backup$inboundSchema, Backup$outboundSchema, Backup$, Metadata$inboundSchema, Metadata$outboundSchema, Metadata$, GetEdgeConfigBackupResponseBodyUser$inboundSchema, GetEdgeConfigBackupResponseBodyUser$outboundSchema, GetEdgeConfigBackupResponseBodyUser$, GetEdgeConfigBackupResponseBody1$inboundSchema, GetEdgeConfigBackupResponseBody1$outboundSchema, GetEdgeConfigBackupResponseBody1$, GetEdgeConfigBackupResponseBody$inboundSchema, GetEdgeConfigBackupResponseBody$outboundSchema, GetEdgeConfigBackupResponseBody$;
58827
58827
  var init_getedgeconfigbackupop = __esm(() => {
58828
58828
  init_esm();
58829
58829
  init_edgeconfigitemvalue();
@@ -58959,22 +58959,22 @@ var init_getedgeconfigbackupop = __esm(() => {
58959
58959
  Backup$.inboundSchema = Backup$inboundSchema;
58960
58960
  Backup$.outboundSchema = Backup$outboundSchema;
58961
58961
  })(Backup$ ||= {});
58962
- GetEdgeConfigBackupResponseBodyMetadata$inboundSchema = objectType({
58962
+ Metadata$inboundSchema = objectType({
58963
58963
  updatedAt: stringType().optional(),
58964
58964
  updatedBy: stringType().optional(),
58965
58965
  itemsCount: numberType().optional(),
58966
58966
  itemsBytes: numberType().optional()
58967
58967
  });
58968
- GetEdgeConfigBackupResponseBodyMetadata$outboundSchema = objectType({
58968
+ Metadata$outboundSchema = objectType({
58969
58969
  updatedAt: stringType().optional(),
58970
58970
  updatedBy: stringType().optional(),
58971
58971
  itemsCount: numberType().optional(),
58972
58972
  itemsBytes: numberType().optional()
58973
58973
  });
58974
- ((GetEdgeConfigBackupResponseBodyMetadata$) => {
58975
- GetEdgeConfigBackupResponseBodyMetadata$.inboundSchema = GetEdgeConfigBackupResponseBodyMetadata$inboundSchema;
58976
- GetEdgeConfigBackupResponseBodyMetadata$.outboundSchema = GetEdgeConfigBackupResponseBodyMetadata$outboundSchema;
58977
- })(GetEdgeConfigBackupResponseBodyMetadata$ ||= {});
58974
+ ((Metadata$) => {
58975
+ Metadata$.inboundSchema = Metadata$inboundSchema;
58976
+ Metadata$.outboundSchema = Metadata$outboundSchema;
58977
+ })(Metadata$ ||= {});
58978
58978
  GetEdgeConfigBackupResponseBodyUser$inboundSchema = objectType({
58979
58979
  id: stringType(),
58980
58980
  username: stringType(),
@@ -58997,14 +58997,14 @@ var init_getedgeconfigbackupop = __esm(() => {
58997
58997
  id: stringType(),
58998
58998
  lastModified: numberType(),
58999
58999
  backup: lazyType(() => Backup$inboundSchema),
59000
- metadata: lazyType(() => GetEdgeConfigBackupResponseBodyMetadata$inboundSchema),
59000
+ metadata: lazyType(() => Metadata$inboundSchema),
59001
59001
  user: lazyType(() => GetEdgeConfigBackupResponseBodyUser$inboundSchema).optional()
59002
59002
  });
59003
59003
  GetEdgeConfigBackupResponseBody1$outboundSchema = objectType({
59004
59004
  id: stringType(),
59005
59005
  lastModified: numberType(),
59006
59006
  backup: lazyType(() => Backup$outboundSchema),
59007
- metadata: lazyType(() => GetEdgeConfigBackupResponseBodyMetadata$outboundSchema),
59007
+ metadata: lazyType(() => Metadata$outboundSchema),
59008
59008
  user: lazyType(() => GetEdgeConfigBackupResponseBodyUser$outboundSchema).optional()
59009
59009
  });
59010
59010
  ((GetEdgeConfigBackupResponseBody1$) => {
@@ -61571,9 +61571,9 @@ var init_getv9projectsidornamecustomenvironmentsop = __esm(() => {
61571
61571
  Development: "development"
61572
61572
  };
61573
61573
  GetV9ProjectsIdOrNameCustomEnvironmentsEnvironmentType = {
61574
- EndsWith: "endsWith",
61575
61574
  StartsWith: "startsWith",
61576
- Equals: "equals"
61575
+ Equals: "equals",
61576
+ EndsWith: "endsWith"
61577
61577
  };
61578
61578
  GetV9ProjectsIdOrNameCustomEnvironmentsRequest$inboundSchema = objectType({
61579
61579
  idOrName: stringType(),
@@ -65083,135 +65083,6 @@ Delete an existing experimentation item`,
65083
65083
  };
65084
65084
  });
65085
65085
 
65086
- // src/models/deleteresourceop.ts
65087
- var DeleteResourceRequest$inboundSchema, DeleteResourceRequest$outboundSchema, DeleteResourceRequest$;
65088
- var init_deleteresourceop = __esm(() => {
65089
- init_esm();
65090
- DeleteResourceRequest$inboundSchema = objectType({
65091
- integrationConfigurationId: stringType(),
65092
- resourceId: stringType()
65093
- });
65094
- DeleteResourceRequest$outboundSchema = objectType({
65095
- integrationConfigurationId: stringType(),
65096
- resourceId: stringType()
65097
- });
65098
- ((DeleteResourceRequest$) => {
65099
- DeleteResourceRequest$.inboundSchema = DeleteResourceRequest$inboundSchema;
65100
- DeleteResourceRequest$.outboundSchema = DeleteResourceRequest$outboundSchema;
65101
- })(DeleteResourceRequest$ ||= {});
65102
- });
65103
-
65104
- // src/funcs/marketplaceDeleteResource.ts
65105
- function marketplaceDeleteResource(client, request, options) {
65106
- return new APIPromise($do95(client, request, options));
65107
- }
65108
- async function $do95(client, request, options) {
65109
- const parsed = safeParse(request, (value) => DeleteResourceRequest$outboundSchema.parse(value), "Input validation failed");
65110
- if (!parsed.ok) {
65111
- return [parsed, { status: "invalid" }];
65112
- }
65113
- const payload = parsed.value;
65114
- const body = null;
65115
- const pathParams = {
65116
- integrationConfigurationId: encodeSimple("integrationConfigurationId", payload.integrationConfigurationId, { explode: false, charEncoding: "percent" }),
65117
- resourceId: encodeSimple("resourceId", payload.resourceId, {
65118
- explode: false,
65119
- charEncoding: "percent"
65120
- })
65121
- };
65122
- const path = pathToFunc("/v1/installations/{integrationConfigurationId}/resources/{resourceId}")(pathParams);
65123
- const headers = new Headers(compactMap({
65124
- Accept: "application/json"
65125
- }));
65126
- const secConfig = await extractSecurity(client._options.bearerToken);
65127
- const securityInput = secConfig == null ? {} : { bearerToken: secConfig };
65128
- const requestSecurity = resolveGlobalSecurity(securityInput);
65129
- const context = {
65130
- options: client._options,
65131
- baseURL: options?.serverURL ?? client._baseURL ?? "",
65132
- operationID: "delete-resource",
65133
- oAuth2Scopes: [],
65134
- resolvedSecurity: requestSecurity,
65135
- securitySource: client._options.bearerToken,
65136
- retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
65137
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
65138
- };
65139
- const requestRes = client._createRequest(context, {
65140
- security: requestSecurity,
65141
- method: "DELETE",
65142
- baseURL: options?.serverURL,
65143
- path,
65144
- headers,
65145
- body,
65146
- userAgent: client._options.userAgent,
65147
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
65148
- }, options);
65149
- if (!requestRes.ok) {
65150
- return [requestRes, { status: "invalid" }];
65151
- }
65152
- const req = requestRes.value;
65153
- const doResult = await client._do(req, {
65154
- context,
65155
- errorCodes: ["400", "401", "403", "404", "4XX", "5XX"],
65156
- retryConfig: context.retryConfig,
65157
- retryCodes: context.retryCodes
65158
- });
65159
- if (!doResult.ok) {
65160
- return [doResult, { status: "request-error", request: req }];
65161
- }
65162
- const response = doResult.value;
65163
- const responseFields = {
65164
- HttpMeta: { Response: response, Request: req }
65165
- };
65166
- const [result] = await match(nil(204, voidType()), jsonErr(400, VercelBadRequestError$inboundSchema), jsonErr(401, VercelForbiddenError$inboundSchema), jsonErr(404, VercelNotFoundError$inboundSchema), fail([403, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
65167
- if (!result.ok) {
65168
- return [result, { status: "complete", request: req, response }];
65169
- }
65170
- return [result, { status: "complete", request: req, response }];
65171
- }
65172
- var init_marketplaceDeleteResource = __esm(() => {
65173
- init_esm();
65174
- init_encodings();
65175
- init_matchers();
65176
- init_primitives();
65177
- init_schemas();
65178
- init_security();
65179
- init_url();
65180
- init_deleteresourceop();
65181
- init_vercelbadrequesterror();
65182
- init_vercelforbiddenerror();
65183
- init_vercelnotfounderror();
65184
- init_async();
65185
- });
65186
-
65187
- // src/mcp-server/tools/marketplaceDeleteResource.ts
65188
- var args94, tool$marketplaceDeleteResource;
65189
- var init_marketplaceDeleteResource2 = __esm(() => {
65190
- init_marketplaceDeleteResource();
65191
- init_deleteresourceop();
65192
- init_tools();
65193
- args94 = {
65194
- request: DeleteResourceRequest$inboundSchema
65195
- };
65196
- tool$marketplaceDeleteResource = {
65197
- name: "marketplace-delete-resource",
65198
- description: `Delete Resource
65199
-
65200
- Delete a resource owned by the selected installation ID.`,
65201
- args: args94,
65202
- tool: async (client, args95, ctx) => {
65203
- const [result, apiCall] = await marketplaceDeleteResource(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65204
- if (!result.ok) {
65205
- return {
65206
- content: [{ type: "text", text: result.error.message }],
65207
- isError: true
65208
- };
65209
- }
65210
- return formatResult(undefined, apiCall);
65211
- }
65212
- };
65213
- });
65214
-
65215
65086
  // src/models/exchangessotokenop.ts
65216
65087
  var ExchangeSsoTokenGrantType, ExchangeSsoTokenGrantType$inboundSchema, ExchangeSsoTokenGrantType$outboundSchema, ExchangeSsoTokenGrantType$, ExchangeSsoTokenRequestBody$inboundSchema, ExchangeSsoTokenRequestBody$outboundSchema, ExchangeSsoTokenRequestBody$, ExchangeSsoTokenResponseBody$inboundSchema, ExchangeSsoTokenResponseBody$outboundSchema, ExchangeSsoTokenResponseBody$;
65217
65088
  var init_exchangessotokenop = __esm(() => {
@@ -65290,9 +65161,9 @@ var init_exchangessotokenop = __esm(() => {
65290
65161
 
65291
65162
  // src/funcs/marketplaceExchangeSsoToken.ts
65292
65163
  function marketplaceExchangeSsoToken(client, request, options) {
65293
- return new APIPromise($do96(client, request, options));
65164
+ return new APIPromise($do95(client, request, options));
65294
65165
  }
65295
- async function $do96(client, request, options) {
65166
+ async function $do95(client, request, options) {
65296
65167
  const parsed = safeParse(request, (value) => ExchangeSsoTokenRequestBody$outboundSchema.parse(value), "Input validation failed");
65297
65168
  if (!parsed.ok) {
65298
65169
  return [parsed, { status: "invalid" }];
@@ -65359,12 +65230,12 @@ var init_marketplaceExchangeSsoToken = __esm(() => {
65359
65230
  });
65360
65231
 
65361
65232
  // src/mcp-server/tools/marketplaceExchangeSsoToken.ts
65362
- var args95, tool$marketplaceExchangeSsoToken;
65233
+ var args94, tool$marketplaceExchangeSsoToken;
65363
65234
  var init_marketplaceExchangeSsoToken2 = __esm(() => {
65364
65235
  init_marketplaceExchangeSsoToken();
65365
65236
  init_exchangessotokenop();
65366
65237
  init_tools();
65367
- args95 = {
65238
+ args94 = {
65368
65239
  request: ExchangeSsoTokenRequestBody$inboundSchema
65369
65240
  };
65370
65241
  tool$marketplaceExchangeSsoToken = {
@@ -65372,9 +65243,9 @@ var init_marketplaceExchangeSsoToken2 = __esm(() => {
65372
65243
  description: `SSO Token Exchange
65373
65244
 
65374
65245
  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. Providers should not persist the returned \`id_token\` in a database since the token will expire. See [**Authentication with SSO**](https://vercel.com/docs/integrations/create-integration/marketplace-api#authentication-with-sso) for more details.`,
65375
- args: args95,
65376
- tool: async (client, args96, ctx) => {
65377
- const [result, apiCall] = await marketplaceExchangeSsoToken(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65246
+ args: args94,
65247
+ tool: async (client, args95, ctx) => {
65248
+ const [result, apiCall] = await marketplaceExchangeSsoToken(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65378
65249
  if (!result.ok) {
65379
65250
  return {
65380
65251
  content: [{ type: "text", text: result.error.message }],
@@ -65431,9 +65302,9 @@ var init_getaccountinfoop = __esm(() => {
65431
65302
 
65432
65303
  // src/funcs/marketplaceGetAccountInfo.ts
65433
65304
  function marketplaceGetAccountInfo(client, request, options) {
65434
- return new APIPromise($do97(client, request, options));
65305
+ return new APIPromise($do96(client, request, options));
65435
65306
  }
65436
- async function $do97(client, request, options) {
65307
+ async function $do96(client, request, options) {
65437
65308
  const parsed = safeParse(request, (value) => GetAccountInfoRequest$outboundSchema.parse(value), "Input validation failed");
65438
65309
  if (!parsed.ok) {
65439
65310
  return [parsed, { status: "invalid" }];
@@ -65508,12 +65379,12 @@ var init_marketplaceGetAccountInfo = __esm(() => {
65508
65379
  });
65509
65380
 
65510
65381
  // src/mcp-server/tools/marketplaceGetAccountInfo.ts
65511
- var args96, tool$marketplaceGetAccountInfo;
65382
+ var args95, tool$marketplaceGetAccountInfo;
65512
65383
  var init_marketplaceGetAccountInfo2 = __esm(() => {
65513
65384
  init_marketplaceGetAccountInfo();
65514
65385
  init_getaccountinfoop();
65515
65386
  init_tools();
65516
- args96 = {
65387
+ args95 = {
65517
65388
  request: GetAccountInfoRequest$inboundSchema
65518
65389
  };
65519
65390
  tool$marketplaceGetAccountInfo = {
@@ -65521,9 +65392,9 @@ var init_marketplaceGetAccountInfo2 = __esm(() => {
65521
65392
  description: `Get Account Information
65522
65393
 
65523
65394
  Fetches the best account or user’s contact info`,
65524
- args: args96,
65525
- tool: async (client, args97, ctx) => {
65526
- const [result, apiCall] = await marketplaceGetAccountInfo(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65395
+ args: args95,
65396
+ tool: async (client, args96, ctx) => {
65397
+ const [result, apiCall] = await marketplaceGetAccountInfo(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65527
65398
  if (!result.ok) {
65528
65399
  return {
65529
65400
  content: [{ type: "text", text: result.error.message }],
@@ -65671,9 +65542,9 @@ var init_getinvoiceop = __esm(() => {
65671
65542
 
65672
65543
  // src/funcs/marketplaceGetInvoice.ts
65673
65544
  function marketplaceGetInvoice(client, request, options) {
65674
- return new APIPromise($do98(client, request, options));
65545
+ return new APIPromise($do97(client, request, options));
65675
65546
  }
65676
- async function $do98(client, request, options) {
65547
+ async function $do97(client, request, options) {
65677
65548
  const parsed = safeParse(request, (value) => GetInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
65678
65549
  if (!parsed.ok) {
65679
65550
  return [parsed, { status: "invalid" }];
@@ -65731,444 +65602,43 @@ async function $do98(client, request, options) {
65731
65602
  const responseFields = {
65732
65603
  HttpMeta: { Response: response, Request: req }
65733
65604
  };
65734
- const [result] = await match(json(200, GetInvoiceResponseBody$inboundSchema), jsonErr(400, VercelBadRequestError$inboundSchema), jsonErr(401, VercelForbiddenError$inboundSchema), jsonErr(404, VercelNotFoundError$inboundSchema), fail([403, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
65735
- if (!result.ok) {
65736
- return [result, { status: "complete", request: req, response }];
65737
- }
65738
- return [result, { status: "complete", request: req, response }];
65739
- }
65740
- var init_marketplaceGetInvoice = __esm(() => {
65741
- init_encodings();
65742
- init_matchers();
65743
- init_primitives();
65744
- init_schemas();
65745
- init_security();
65746
- init_url();
65747
- init_getinvoiceop();
65748
- init_vercelbadrequesterror();
65749
- init_vercelforbiddenerror();
65750
- init_vercelnotfounderror();
65751
- init_async();
65752
- });
65753
-
65754
- // src/mcp-server/tools/marketplaceGetInvoice.ts
65755
- var args97, tool$marketplaceGetInvoice;
65756
- var init_marketplaceGetInvoice2 = __esm(() => {
65757
- init_marketplaceGetInvoice();
65758
- init_getinvoiceop();
65759
- init_tools();
65760
- args97 = {
65761
- request: GetInvoiceRequest$inboundSchema
65762
- };
65763
- tool$marketplaceGetInvoice = {
65764
- name: "marketplace-get-invoice",
65765
- description: `Get Invoice
65766
-
65767
- 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.`,
65768
- args: args97,
65769
- tool: async (client, args98, ctx) => {
65770
- const [result, apiCall] = await marketplaceGetInvoice(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65771
- if (!result.ok) {
65772
- return {
65773
- content: [{ type: "text", text: result.error.message }],
65774
- isError: true
65775
- };
65776
- }
65777
- const value = result.value;
65778
- return formatResult(value, apiCall);
65779
- }
65780
- };
65781
- });
65782
-
65783
- // src/models/getmemberop.ts
65784
- var GetMemberRole, GetMemberRequest$inboundSchema, GetMemberRequest$outboundSchema, GetMemberRequest$, GetMemberRole$inboundSchema, GetMemberRole$outboundSchema, GetMemberRole$, GetMemberResponseBody$inboundSchema, GetMemberResponseBody$outboundSchema, GetMemberResponseBody$;
65785
- var init_getmemberop = __esm(() => {
65786
- init_esm();
65787
- GetMemberRole = {
65788
- Admin: "ADMIN",
65789
- User: "USER"
65790
- };
65791
- GetMemberRequest$inboundSchema = objectType({
65792
- integrationConfigurationId: stringType(),
65793
- memberId: stringType()
65794
- });
65795
- GetMemberRequest$outboundSchema = objectType({
65796
- integrationConfigurationId: stringType(),
65797
- memberId: stringType()
65798
- });
65799
- ((GetMemberRequest$) => {
65800
- GetMemberRequest$.inboundSchema = GetMemberRequest$inboundSchema;
65801
- GetMemberRequest$.outboundSchema = GetMemberRequest$outboundSchema;
65802
- })(GetMemberRequest$ ||= {});
65803
- GetMemberRole$inboundSchema = nativeEnumType(GetMemberRole);
65804
- GetMemberRole$outboundSchema = GetMemberRole$inboundSchema;
65805
- ((GetMemberRole$) => {
65806
- GetMemberRole$.inboundSchema = GetMemberRole$inboundSchema;
65807
- GetMemberRole$.outboundSchema = GetMemberRole$outboundSchema;
65808
- })(GetMemberRole$ ||= {});
65809
- GetMemberResponseBody$inboundSchema = objectType({
65810
- id: stringType(),
65811
- role: GetMemberRole$inboundSchema
65812
- });
65813
- GetMemberResponseBody$outboundSchema = objectType({
65814
- id: stringType(),
65815
- role: GetMemberRole$outboundSchema
65816
- });
65817
- ((GetMemberResponseBody$) => {
65818
- GetMemberResponseBody$.inboundSchema = GetMemberResponseBody$inboundSchema;
65819
- GetMemberResponseBody$.outboundSchema = GetMemberResponseBody$outboundSchema;
65820
- })(GetMemberResponseBody$ ||= {});
65821
- });
65822
-
65823
- // src/funcs/marketplaceGetMember.ts
65824
- function marketplaceGetMember(client, request, options) {
65825
- return new APIPromise($do99(client, request, options));
65826
- }
65827
- async function $do99(client, request, options) {
65828
- const parsed = safeParse(request, (value) => GetMemberRequest$outboundSchema.parse(value), "Input validation failed");
65829
- if (!parsed.ok) {
65830
- return [parsed, { status: "invalid" }];
65831
- }
65832
- const payload = parsed.value;
65833
- const body = null;
65834
- const pathParams = {
65835
- integrationConfigurationId: encodeSimple("integrationConfigurationId", payload.integrationConfigurationId, { explode: false, charEncoding: "percent" }),
65836
- memberId: encodeSimple("memberId", payload.memberId, {
65837
- explode: false,
65838
- charEncoding: "percent"
65839
- })
65840
- };
65841
- const path = pathToFunc("/v1/installations/{integrationConfigurationId}/member/{memberId}")(pathParams);
65842
- const headers = new Headers(compactMap({
65843
- Accept: "application/json"
65844
- }));
65845
- const secConfig = await extractSecurity(client._options.bearerToken);
65846
- const securityInput = secConfig == null ? {} : { bearerToken: secConfig };
65847
- const requestSecurity = resolveGlobalSecurity(securityInput);
65848
- const context = {
65849
- options: client._options,
65850
- baseURL: options?.serverURL ?? client._baseURL ?? "",
65851
- operationID: "get-member",
65852
- oAuth2Scopes: [],
65853
- resolvedSecurity: requestSecurity,
65854
- securitySource: client._options.bearerToken,
65855
- retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
65856
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
65857
- };
65858
- const requestRes = client._createRequest(context, {
65859
- security: requestSecurity,
65860
- method: "GET",
65861
- baseURL: options?.serverURL,
65862
- path,
65863
- headers,
65864
- body,
65865
- userAgent: client._options.userAgent,
65866
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
65867
- }, options);
65868
- if (!requestRes.ok) {
65869
- return [requestRes, { status: "invalid" }];
65870
- }
65871
- const req = requestRes.value;
65872
- const doResult = await client._do(req, {
65873
- context,
65874
- errorCodes: ["400", "401", "403", "404", "4XX", "5XX"],
65875
- retryConfig: context.retryConfig,
65876
- retryCodes: context.retryCodes
65877
- });
65878
- if (!doResult.ok) {
65879
- return [doResult, { status: "request-error", request: req }];
65880
- }
65881
- const response = doResult.value;
65882
- const responseFields = {
65883
- HttpMeta: { Response: response, Request: req }
65884
- };
65885
- const [result] = await match(json(200, GetMemberResponseBody$inboundSchema), jsonErr(400, VercelBadRequestError$inboundSchema), jsonErr(401, VercelForbiddenError$inboundSchema), jsonErr(404, VercelNotFoundError$inboundSchema), fail([403, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
65886
- if (!result.ok) {
65887
- return [result, { status: "complete", request: req, response }];
65888
- }
65889
- return [result, { status: "complete", request: req, response }];
65890
- }
65891
- var init_marketplaceGetMember = __esm(() => {
65892
- init_encodings();
65893
- init_matchers();
65894
- init_primitives();
65895
- init_schemas();
65896
- init_security();
65897
- init_url();
65898
- init_getmemberop();
65899
- init_vercelbadrequesterror();
65900
- init_vercelforbiddenerror();
65901
- init_vercelnotfounderror();
65902
- init_async();
65903
- });
65904
-
65905
- // src/mcp-server/tools/marketplaceGetMember.ts
65906
- var args98, tool$marketplaceGetMember;
65907
- var init_marketplaceGetMember2 = __esm(() => {
65908
- init_marketplaceGetMember();
65909
- init_getmemberop();
65910
- init_tools();
65911
- args98 = {
65912
- request: GetMemberRequest$inboundSchema
65913
- };
65914
- tool$marketplaceGetMember = {
65915
- name: "marketplace-get-member",
65916
- description: `Get Member Information
65917
-
65918
- Returns the member role and other information for a given member ID ("user_id" claim in the SSO OIDC token).`,
65919
- args: args98,
65920
- tool: async (client, args99, ctx) => {
65921
- const [result, apiCall] = await marketplaceGetMember(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65922
- if (!result.ok) {
65923
- return {
65924
- content: [{ type: "text", text: result.error.message }],
65925
- isError: true
65926
- };
65927
- }
65928
- const value = result.value;
65929
- return formatResult(value, apiCall);
65930
- }
65931
- };
65932
- });
65933
-
65934
- // src/models/getresourceop.ts
65935
- var GetResourceStatus, GetResourceLevel, GetResourceRequest$inboundSchema, GetResourceRequest$outboundSchema, GetResourceRequest$, GetResourceStatus$inboundSchema, GetResourceStatus$outboundSchema, GetResourceStatus$, Experimentation$inboundSchema, Experimentation$outboundSchema, Experimentation$, ProtocolSettings$inboundSchema, ProtocolSettings$outboundSchema, ProtocolSettings$, GetResourceLevel$inboundSchema, GetResourceLevel$outboundSchema, GetResourceLevel$, GetResourceNotification$inboundSchema, GetResourceNotification$outboundSchema, GetResourceNotification$, Metadata$inboundSchema, Metadata$outboundSchema, Metadata$, GetResourceResponseBody$inboundSchema, GetResourceResponseBody$outboundSchema, GetResourceResponseBody$;
65936
- var init_getresourceop = __esm(() => {
65937
- init_esm();
65938
- GetResourceStatus = {
65939
- Ready: "ready",
65940
- Pending: "pending",
65941
- Suspended: "suspended",
65942
- Resumed: "resumed",
65943
- Uninstalled: "uninstalled",
65944
- Error: "error"
65945
- };
65946
- GetResourceLevel = {
65947
- Error: "error",
65948
- Info: "info",
65949
- Warn: "warn"
65950
- };
65951
- GetResourceRequest$inboundSchema = objectType({
65952
- integrationConfigurationId: stringType(),
65953
- resourceId: stringType()
65954
- });
65955
- GetResourceRequest$outboundSchema = objectType({
65956
- integrationConfigurationId: stringType(),
65957
- resourceId: stringType()
65958
- });
65959
- ((GetResourceRequest$) => {
65960
- GetResourceRequest$.inboundSchema = GetResourceRequest$inboundSchema;
65961
- GetResourceRequest$.outboundSchema = GetResourceRequest$outboundSchema;
65962
- })(GetResourceRequest$ ||= {});
65963
- GetResourceStatus$inboundSchema = nativeEnumType(GetResourceStatus);
65964
- GetResourceStatus$outboundSchema = GetResourceStatus$inboundSchema;
65965
- ((GetResourceStatus$) => {
65966
- GetResourceStatus$.inboundSchema = GetResourceStatus$inboundSchema;
65967
- GetResourceStatus$.outboundSchema = GetResourceStatus$outboundSchema;
65968
- })(GetResourceStatus$ ||= {});
65969
- Experimentation$inboundSchema = objectType({
65970
- edgeConfigSyncingEnabled: booleanType().optional(),
65971
- edgeConfigId: stringType().optional(),
65972
- edgeConfigTokenId: stringType().optional()
65973
- });
65974
- Experimentation$outboundSchema = objectType({
65975
- edgeConfigSyncingEnabled: booleanType().optional(),
65976
- edgeConfigId: stringType().optional(),
65977
- edgeConfigTokenId: stringType().optional()
65978
- });
65979
- ((Experimentation$) => {
65980
- Experimentation$.inboundSchema = Experimentation$inboundSchema;
65981
- Experimentation$.outboundSchema = Experimentation$outboundSchema;
65982
- })(Experimentation$ ||= {});
65983
- ProtocolSettings$inboundSchema = objectType({
65984
- experimentation: lazyType(() => Experimentation$inboundSchema).optional()
65985
- });
65986
- ProtocolSettings$outboundSchema = objectType({
65987
- experimentation: lazyType(() => Experimentation$outboundSchema).optional()
65988
- });
65989
- ((ProtocolSettings$) => {
65990
- ProtocolSettings$.inboundSchema = ProtocolSettings$inboundSchema;
65991
- ProtocolSettings$.outboundSchema = ProtocolSettings$outboundSchema;
65992
- })(ProtocolSettings$ ||= {});
65993
- GetResourceLevel$inboundSchema = nativeEnumType(GetResourceLevel);
65994
- GetResourceLevel$outboundSchema = GetResourceLevel$inboundSchema;
65995
- ((GetResourceLevel$) => {
65996
- GetResourceLevel$.inboundSchema = GetResourceLevel$inboundSchema;
65997
- GetResourceLevel$.outboundSchema = GetResourceLevel$outboundSchema;
65998
- })(GetResourceLevel$ ||= {});
65999
- GetResourceNotification$inboundSchema = objectType({
66000
- level: GetResourceLevel$inboundSchema,
66001
- title: stringType(),
66002
- message: stringType().optional(),
66003
- href: stringType().optional()
66004
- });
66005
- GetResourceNotification$outboundSchema = objectType({
66006
- level: GetResourceLevel$outboundSchema,
66007
- title: stringType(),
66008
- message: stringType().optional(),
66009
- href: stringType().optional()
66010
- });
66011
- ((GetResourceNotification$) => {
66012
- GetResourceNotification$.inboundSchema = GetResourceNotification$inboundSchema;
66013
- GetResourceNotification$.outboundSchema = GetResourceNotification$outboundSchema;
66014
- })(GetResourceNotification$ ||= {});
66015
- Metadata$inboundSchema = unionType([
66016
- stringType(),
66017
- numberType(),
66018
- booleanType(),
66019
- arrayType(stringType()),
66020
- arrayType(numberType())
66021
- ]);
66022
- Metadata$outboundSchema = unionType([
66023
- stringType(),
66024
- numberType(),
66025
- booleanType(),
66026
- arrayType(stringType()),
66027
- arrayType(numberType())
66028
- ]);
66029
- ((Metadata$) => {
66030
- Metadata$.inboundSchema = Metadata$inboundSchema;
66031
- Metadata$.outboundSchema = Metadata$outboundSchema;
66032
- })(Metadata$ ||= {});
66033
- GetResourceResponseBody$inboundSchema = objectType({
66034
- id: stringType(),
66035
- internalId: stringType(),
66036
- name: stringType(),
66037
- status: GetResourceStatus$inboundSchema.optional(),
66038
- productId: stringType(),
66039
- protocolSettings: lazyType(() => ProtocolSettings$inboundSchema).optional(),
66040
- notification: lazyType(() => GetResourceNotification$inboundSchema).optional(),
66041
- billingPlanId: stringType().optional(),
66042
- metadata: recordType(unionType([
66043
- stringType(),
66044
- numberType(),
66045
- booleanType(),
66046
- arrayType(stringType()),
66047
- arrayType(numberType())
66048
- ])).optional()
66049
- });
66050
- GetResourceResponseBody$outboundSchema = objectType({
66051
- id: stringType(),
66052
- internalId: stringType(),
66053
- name: stringType(),
66054
- status: GetResourceStatus$outboundSchema.optional(),
66055
- productId: stringType(),
66056
- protocolSettings: lazyType(() => ProtocolSettings$outboundSchema).optional(),
66057
- notification: lazyType(() => GetResourceNotification$outboundSchema).optional(),
66058
- billingPlanId: stringType().optional(),
66059
- metadata: recordType(unionType([
66060
- stringType(),
66061
- numberType(),
66062
- booleanType(),
66063
- arrayType(stringType()),
66064
- arrayType(numberType())
66065
- ])).optional()
66066
- });
66067
- ((GetResourceResponseBody$) => {
66068
- GetResourceResponseBody$.inboundSchema = GetResourceResponseBody$inboundSchema;
66069
- GetResourceResponseBody$.outboundSchema = GetResourceResponseBody$outboundSchema;
66070
- })(GetResourceResponseBody$ ||= {});
66071
- });
66072
-
66073
- // src/funcs/marketplaceGetResource.ts
66074
- function marketplaceGetResource(client, request, options) {
66075
- return new APIPromise($do100(client, request, options));
66076
- }
66077
- async function $do100(client, request, options) {
66078
- const parsed = safeParse(request, (value) => GetResourceRequest$outboundSchema.parse(value), "Input validation failed");
66079
- if (!parsed.ok) {
66080
- return [parsed, { status: "invalid" }];
66081
- }
66082
- const payload = parsed.value;
66083
- const body = null;
66084
- const pathParams = {
66085
- integrationConfigurationId: encodeSimple("integrationConfigurationId", payload.integrationConfigurationId, { explode: false, charEncoding: "percent" }),
66086
- resourceId: encodeSimple("resourceId", payload.resourceId, {
66087
- explode: false,
66088
- charEncoding: "percent"
66089
- })
66090
- };
66091
- const path = pathToFunc("/v1/installations/{integrationConfigurationId}/resources/{resourceId}")(pathParams);
66092
- const headers = new Headers(compactMap({
66093
- Accept: "application/json"
66094
- }));
66095
- const secConfig = await extractSecurity(client._options.bearerToken);
66096
- const securityInput = secConfig == null ? {} : { bearerToken: secConfig };
66097
- const requestSecurity = resolveGlobalSecurity(securityInput);
66098
- const context = {
66099
- options: client._options,
66100
- baseURL: options?.serverURL ?? client._baseURL ?? "",
66101
- operationID: "get-resource",
66102
- oAuth2Scopes: [],
66103
- resolvedSecurity: requestSecurity,
66104
- securitySource: client._options.bearerToken,
66105
- retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
66106
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
66107
- };
66108
- const requestRes = client._createRequest(context, {
66109
- security: requestSecurity,
66110
- method: "GET",
66111
- baseURL: options?.serverURL,
66112
- path,
66113
- headers,
66114
- body,
66115
- userAgent: client._options.userAgent,
66116
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
66117
- }, options);
66118
- if (!requestRes.ok) {
66119
- return [requestRes, { status: "invalid" }];
66120
- }
66121
- const req = requestRes.value;
66122
- const doResult = await client._do(req, {
66123
- context,
66124
- errorCodes: ["400", "401", "403", "404", "4XX", "5XX"],
66125
- retryConfig: context.retryConfig,
66126
- retryCodes: context.retryCodes
66127
- });
66128
- if (!doResult.ok) {
66129
- return [doResult, { status: "request-error", request: req }];
66130
- }
66131
- const response = doResult.value;
66132
- const responseFields = {
66133
- HttpMeta: { Response: response, Request: req }
66134
- };
66135
- const [result] = await match(json(200, GetResourceResponseBody$inboundSchema), jsonErr(400, VercelBadRequestError$inboundSchema), jsonErr(401, VercelForbiddenError$inboundSchema), jsonErr(404, VercelNotFoundError$inboundSchema), fail([403, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
65605
+ const [result] = await match(json(200, GetInvoiceResponseBody$inboundSchema), jsonErr(400, VercelBadRequestError$inboundSchema), jsonErr(401, VercelForbiddenError$inboundSchema), jsonErr(404, VercelNotFoundError$inboundSchema), fail([403, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
66136
65606
  if (!result.ok) {
66137
65607
  return [result, { status: "complete", request: req, response }];
66138
65608
  }
66139
65609
  return [result, { status: "complete", request: req, response }];
66140
65610
  }
66141
- var init_marketplaceGetResource = __esm(() => {
65611
+ var init_marketplaceGetInvoice = __esm(() => {
66142
65612
  init_encodings();
66143
65613
  init_matchers();
66144
65614
  init_primitives();
66145
65615
  init_schemas();
66146
65616
  init_security();
66147
65617
  init_url();
66148
- init_getresourceop();
65618
+ init_getinvoiceop();
66149
65619
  init_vercelbadrequesterror();
66150
65620
  init_vercelforbiddenerror();
66151
65621
  init_vercelnotfounderror();
66152
65622
  init_async();
66153
65623
  });
66154
65624
 
66155
- // src/mcp-server/tools/marketplaceGetResource.ts
66156
- var args99, tool$marketplaceGetResource;
66157
- var init_marketplaceGetResource2 = __esm(() => {
66158
- init_marketplaceGetResource();
66159
- init_getresourceop();
65625
+ // src/mcp-server/tools/marketplaceGetInvoice.ts
65626
+ var args96, tool$marketplaceGetInvoice;
65627
+ var init_marketplaceGetInvoice2 = __esm(() => {
65628
+ init_marketplaceGetInvoice();
65629
+ init_getinvoiceop();
66160
65630
  init_tools();
66161
- args99 = {
66162
- request: GetResourceRequest$inboundSchema
65631
+ args96 = {
65632
+ request: GetInvoiceRequest$inboundSchema
66163
65633
  };
66164
- tool$marketplaceGetResource = {
66165
- name: "marketplace-get-resource",
66166
- description: `Get Resource
65634
+ tool$marketplaceGetInvoice = {
65635
+ name: "marketplace-get-invoice",
65636
+ description: `Get Invoice
66167
65637
 
66168
- Get a resource by its partner ID.`,
66169
- args: args99,
66170
- tool: async (client, args100, ctx) => {
66171
- const [result, apiCall] = await marketplaceGetResource(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65638
+ 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.`,
65639
+ args: args96,
65640
+ tool: async (client, args97, ctx) => {
65641
+ const [result, apiCall] = await marketplaceGetInvoice(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66172
65642
  if (!result.ok) {
66173
65643
  return {
66174
65644
  content: [{ type: "text", text: result.error.message }],
@@ -66181,168 +65651,65 @@ Get a resource by its partner ID.`,
66181
65651
  };
66182
65652
  });
66183
65653
 
66184
- // src/models/getresourcesop.ts
66185
- var GetResourcesStatus, GetResourcesLevel, GetResourcesRequest$inboundSchema, GetResourcesRequest$outboundSchema, GetResourcesRequest$, GetResourcesStatus$inboundSchema, GetResourcesStatus$outboundSchema, GetResourcesStatus$, GetResourcesExperimentation$inboundSchema, GetResourcesExperimentation$outboundSchema, GetResourcesExperimentation$, GetResourcesProtocolSettings$inboundSchema, GetResourcesProtocolSettings$outboundSchema, GetResourcesProtocolSettings$, GetResourcesLevel$inboundSchema, GetResourcesLevel$outboundSchema, GetResourcesLevel$, GetResourcesNotification$inboundSchema, GetResourcesNotification$outboundSchema, GetResourcesNotification$, GetResourcesMetadata$inboundSchema, GetResourcesMetadata$outboundSchema, GetResourcesMetadata$, Resources$inboundSchema, Resources$outboundSchema, Resources$, GetResourcesResponseBody$inboundSchema, GetResourcesResponseBody$outboundSchema, GetResourcesResponseBody$;
66186
- var init_getresourcesop = __esm(() => {
65654
+ // src/models/getmemberop.ts
65655
+ var GetMemberRole, GetMemberRequest$inboundSchema, GetMemberRequest$outboundSchema, GetMemberRequest$, GetMemberRole$inboundSchema, GetMemberRole$outboundSchema, GetMemberRole$, GetMemberResponseBody$inboundSchema, GetMemberResponseBody$outboundSchema, GetMemberResponseBody$;
65656
+ var init_getmemberop = __esm(() => {
66187
65657
  init_esm();
66188
- GetResourcesStatus = {
66189
- Ready: "ready",
66190
- Pending: "pending",
66191
- Suspended: "suspended",
66192
- Resumed: "resumed",
66193
- Uninstalled: "uninstalled",
66194
- Error: "error"
66195
- };
66196
- GetResourcesLevel = {
66197
- Error: "error",
66198
- Info: "info",
66199
- Warn: "warn"
65658
+ GetMemberRole = {
65659
+ Admin: "ADMIN",
65660
+ User: "USER"
66200
65661
  };
66201
- GetResourcesRequest$inboundSchema = objectType({
66202
- integrationConfigurationId: stringType()
66203
- });
66204
- GetResourcesRequest$outboundSchema = objectType({
66205
- integrationConfigurationId: stringType()
66206
- });
66207
- ((GetResourcesRequest$) => {
66208
- GetResourcesRequest$.inboundSchema = GetResourcesRequest$inboundSchema;
66209
- GetResourcesRequest$.outboundSchema = GetResourcesRequest$outboundSchema;
66210
- })(GetResourcesRequest$ ||= {});
66211
- GetResourcesStatus$inboundSchema = nativeEnumType(GetResourcesStatus);
66212
- GetResourcesStatus$outboundSchema = GetResourcesStatus$inboundSchema;
66213
- ((GetResourcesStatus$) => {
66214
- GetResourcesStatus$.inboundSchema = GetResourcesStatus$inboundSchema;
66215
- GetResourcesStatus$.outboundSchema = GetResourcesStatus$outboundSchema;
66216
- })(GetResourcesStatus$ ||= {});
66217
- GetResourcesExperimentation$inboundSchema = objectType({
66218
- edgeConfigSyncingEnabled: booleanType().optional(),
66219
- edgeConfigId: stringType().optional(),
66220
- edgeConfigTokenId: stringType().optional()
66221
- });
66222
- GetResourcesExperimentation$outboundSchema = objectType({
66223
- edgeConfigSyncingEnabled: booleanType().optional(),
66224
- edgeConfigId: stringType().optional(),
66225
- edgeConfigTokenId: stringType().optional()
66226
- });
66227
- ((GetResourcesExperimentation$) => {
66228
- GetResourcesExperimentation$.inboundSchema = GetResourcesExperimentation$inboundSchema;
66229
- GetResourcesExperimentation$.outboundSchema = GetResourcesExperimentation$outboundSchema;
66230
- })(GetResourcesExperimentation$ ||= {});
66231
- GetResourcesProtocolSettings$inboundSchema = objectType({
66232
- experimentation: lazyType(() => GetResourcesExperimentation$inboundSchema).optional()
66233
- });
66234
- GetResourcesProtocolSettings$outboundSchema = objectType({
66235
- experimentation: lazyType(() => GetResourcesExperimentation$outboundSchema).optional()
66236
- });
66237
- ((GetResourcesProtocolSettings$) => {
66238
- GetResourcesProtocolSettings$.inboundSchema = GetResourcesProtocolSettings$inboundSchema;
66239
- GetResourcesProtocolSettings$.outboundSchema = GetResourcesProtocolSettings$outboundSchema;
66240
- })(GetResourcesProtocolSettings$ ||= {});
66241
- GetResourcesLevel$inboundSchema = nativeEnumType(GetResourcesLevel);
66242
- GetResourcesLevel$outboundSchema = GetResourcesLevel$inboundSchema;
66243
- ((GetResourcesLevel$) => {
66244
- GetResourcesLevel$.inboundSchema = GetResourcesLevel$inboundSchema;
66245
- GetResourcesLevel$.outboundSchema = GetResourcesLevel$outboundSchema;
66246
- })(GetResourcesLevel$ ||= {});
66247
- GetResourcesNotification$inboundSchema = objectType({
66248
- level: GetResourcesLevel$inboundSchema,
66249
- title: stringType(),
66250
- message: stringType().optional(),
66251
- href: stringType().optional()
66252
- });
66253
- GetResourcesNotification$outboundSchema = objectType({
66254
- level: GetResourcesLevel$outboundSchema,
66255
- title: stringType(),
66256
- message: stringType().optional(),
66257
- href: stringType().optional()
66258
- });
66259
- ((GetResourcesNotification$) => {
66260
- GetResourcesNotification$.inboundSchema = GetResourcesNotification$inboundSchema;
66261
- GetResourcesNotification$.outboundSchema = GetResourcesNotification$outboundSchema;
66262
- })(GetResourcesNotification$ ||= {});
66263
- GetResourcesMetadata$inboundSchema = unionType([
66264
- stringType(),
66265
- numberType(),
66266
- booleanType(),
66267
- arrayType(stringType()),
66268
- arrayType(numberType())
66269
- ]);
66270
- GetResourcesMetadata$outboundSchema = unionType([
66271
- stringType(),
66272
- numberType(),
66273
- booleanType(),
66274
- arrayType(stringType()),
66275
- arrayType(numberType())
66276
- ]);
66277
- ((GetResourcesMetadata$) => {
66278
- GetResourcesMetadata$.inboundSchema = GetResourcesMetadata$inboundSchema;
66279
- GetResourcesMetadata$.outboundSchema = GetResourcesMetadata$outboundSchema;
66280
- })(GetResourcesMetadata$ ||= {});
66281
- Resources$inboundSchema = objectType({
66282
- partnerId: stringType(),
66283
- internalId: stringType(),
66284
- name: stringType(),
66285
- status: GetResourcesStatus$inboundSchema.optional(),
66286
- productId: stringType(),
66287
- protocolSettings: lazyType(() => GetResourcesProtocolSettings$inboundSchema).optional(),
66288
- notification: lazyType(() => GetResourcesNotification$inboundSchema).optional(),
66289
- billingPlanId: stringType().optional(),
66290
- metadata: recordType(unionType([
66291
- stringType(),
66292
- numberType(),
66293
- booleanType(),
66294
- arrayType(stringType()),
66295
- arrayType(numberType())
66296
- ])).optional()
65662
+ GetMemberRequest$inboundSchema = objectType({
65663
+ integrationConfigurationId: stringType(),
65664
+ memberId: stringType()
66297
65665
  });
66298
- Resources$outboundSchema = objectType({
66299
- partnerId: stringType(),
66300
- internalId: stringType(),
66301
- name: stringType(),
66302
- status: GetResourcesStatus$outboundSchema.optional(),
66303
- productId: stringType(),
66304
- protocolSettings: lazyType(() => GetResourcesProtocolSettings$outboundSchema).optional(),
66305
- notification: lazyType(() => GetResourcesNotification$outboundSchema).optional(),
66306
- billingPlanId: stringType().optional(),
66307
- metadata: recordType(unionType([
66308
- stringType(),
66309
- numberType(),
66310
- booleanType(),
66311
- arrayType(stringType()),
66312
- arrayType(numberType())
66313
- ])).optional()
65666
+ GetMemberRequest$outboundSchema = objectType({
65667
+ integrationConfigurationId: stringType(),
65668
+ memberId: stringType()
66314
65669
  });
66315
- ((Resources$) => {
66316
- Resources$.inboundSchema = Resources$inboundSchema;
66317
- Resources$.outboundSchema = Resources$outboundSchema;
66318
- })(Resources$ ||= {});
66319
- GetResourcesResponseBody$inboundSchema = objectType({
66320
- resources: arrayType(lazyType(() => Resources$inboundSchema))
65670
+ ((GetMemberRequest$) => {
65671
+ GetMemberRequest$.inboundSchema = GetMemberRequest$inboundSchema;
65672
+ GetMemberRequest$.outboundSchema = GetMemberRequest$outboundSchema;
65673
+ })(GetMemberRequest$ ||= {});
65674
+ GetMemberRole$inboundSchema = nativeEnumType(GetMemberRole);
65675
+ GetMemberRole$outboundSchema = GetMemberRole$inboundSchema;
65676
+ ((GetMemberRole$) => {
65677
+ GetMemberRole$.inboundSchema = GetMemberRole$inboundSchema;
65678
+ GetMemberRole$.outboundSchema = GetMemberRole$outboundSchema;
65679
+ })(GetMemberRole$ ||= {});
65680
+ GetMemberResponseBody$inboundSchema = objectType({
65681
+ id: stringType(),
65682
+ role: GetMemberRole$inboundSchema
66321
65683
  });
66322
- GetResourcesResponseBody$outboundSchema = objectType({
66323
- resources: arrayType(lazyType(() => Resources$outboundSchema))
65684
+ GetMemberResponseBody$outboundSchema = objectType({
65685
+ id: stringType(),
65686
+ role: GetMemberRole$outboundSchema
66324
65687
  });
66325
- ((GetResourcesResponseBody$) => {
66326
- GetResourcesResponseBody$.inboundSchema = GetResourcesResponseBody$inboundSchema;
66327
- GetResourcesResponseBody$.outboundSchema = GetResourcesResponseBody$outboundSchema;
66328
- })(GetResourcesResponseBody$ ||= {});
65688
+ ((GetMemberResponseBody$) => {
65689
+ GetMemberResponseBody$.inboundSchema = GetMemberResponseBody$inboundSchema;
65690
+ GetMemberResponseBody$.outboundSchema = GetMemberResponseBody$outboundSchema;
65691
+ })(GetMemberResponseBody$ ||= {});
66329
65692
  });
66330
65693
 
66331
- // src/funcs/marketplaceGetResources.ts
66332
- function marketplaceGetResources(client, request, options) {
66333
- return new APIPromise($do101(client, request, options));
65694
+ // src/funcs/marketplaceGetMember.ts
65695
+ function marketplaceGetMember(client, request, options) {
65696
+ return new APIPromise($do98(client, request, options));
66334
65697
  }
66335
- async function $do101(client, request, options) {
66336
- const parsed = safeParse(request, (value) => GetResourcesRequest$outboundSchema.parse(value), "Input validation failed");
65698
+ async function $do98(client, request, options) {
65699
+ const parsed = safeParse(request, (value) => GetMemberRequest$outboundSchema.parse(value), "Input validation failed");
66337
65700
  if (!parsed.ok) {
66338
65701
  return [parsed, { status: "invalid" }];
66339
65702
  }
66340
65703
  const payload = parsed.value;
66341
65704
  const body = null;
66342
65705
  const pathParams = {
66343
- integrationConfigurationId: encodeSimple("integrationConfigurationId", payload.integrationConfigurationId, { explode: false, charEncoding: "percent" })
65706
+ integrationConfigurationId: encodeSimple("integrationConfigurationId", payload.integrationConfigurationId, { explode: false, charEncoding: "percent" }),
65707
+ memberId: encodeSimple("memberId", payload.memberId, {
65708
+ explode: false,
65709
+ charEncoding: "percent"
65710
+ })
66344
65711
  };
66345
- const path = pathToFunc("/v1/installations/{integrationConfigurationId}/resources")(pathParams);
65712
+ const path = pathToFunc("/v1/installations/{integrationConfigurationId}/member/{memberId}")(pathParams);
66346
65713
  const headers = new Headers(compactMap({
66347
65714
  Accept: "application/json"
66348
65715
  }));
@@ -66352,7 +65719,7 @@ async function $do101(client, request, options) {
66352
65719
  const context = {
66353
65720
  options: client._options,
66354
65721
  baseURL: options?.serverURL ?? client._baseURL ?? "",
66355
- operationID: "get-resources",
65722
+ operationID: "get-member",
66356
65723
  oAuth2Scopes: [],
66357
65724
  resolvedSecurity: requestSecurity,
66358
65725
  securitySource: client._options.bearerToken,
@@ -66386,43 +65753,43 @@ async function $do101(client, request, options) {
66386
65753
  const responseFields = {
66387
65754
  HttpMeta: { Response: response, Request: req }
66388
65755
  };
66389
- const [result] = await match(json(200, GetResourcesResponseBody$inboundSchema), jsonErr(400, VercelBadRequestError$inboundSchema), jsonErr(401, VercelForbiddenError$inboundSchema), jsonErr(404, VercelNotFoundError$inboundSchema), fail([403, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
65756
+ const [result] = await match(json(200, GetMemberResponseBody$inboundSchema), jsonErr(400, VercelBadRequestError$inboundSchema), jsonErr(401, VercelForbiddenError$inboundSchema), jsonErr(404, VercelNotFoundError$inboundSchema), fail([403, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
66390
65757
  if (!result.ok) {
66391
65758
  return [result, { status: "complete", request: req, response }];
66392
65759
  }
66393
65760
  return [result, { status: "complete", request: req, response }];
66394
65761
  }
66395
- var init_marketplaceGetResources = __esm(() => {
65762
+ var init_marketplaceGetMember = __esm(() => {
66396
65763
  init_encodings();
66397
65764
  init_matchers();
66398
65765
  init_primitives();
66399
65766
  init_schemas();
66400
65767
  init_security();
66401
65768
  init_url();
66402
- init_getresourcesop();
65769
+ init_getmemberop();
66403
65770
  init_vercelbadrequesterror();
66404
65771
  init_vercelforbiddenerror();
66405
65772
  init_vercelnotfounderror();
66406
65773
  init_async();
66407
65774
  });
66408
65775
 
66409
- // src/mcp-server/tools/marketplaceGetResources.ts
66410
- var args100, tool$marketplaceGetResources;
66411
- var init_marketplaceGetResources2 = __esm(() => {
66412
- init_marketplaceGetResources();
66413
- init_getresourcesop();
65776
+ // src/mcp-server/tools/marketplaceGetMember.ts
65777
+ var args97, tool$marketplaceGetMember;
65778
+ var init_marketplaceGetMember2 = __esm(() => {
65779
+ init_marketplaceGetMember();
65780
+ init_getmemberop();
66414
65781
  init_tools();
66415
- args100 = {
66416
- request: GetResourcesRequest$inboundSchema
65782
+ args97 = {
65783
+ request: GetMemberRequest$inboundSchema
66417
65784
  };
66418
- tool$marketplaceGetResources = {
66419
- name: "marketplace-get-resources",
66420
- description: `Get Resources
65785
+ tool$marketplaceGetMember = {
65786
+ name: "marketplace-get-member",
65787
+ description: `Get Member Information
66421
65788
 
66422
- Get all resources for a given integration configuration ID.`,
66423
- args: args100,
66424
- tool: async (client, args101, ctx) => {
66425
- const [result, apiCall] = await marketplaceGetResources(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65789
+ Returns the member role and other information for a given member ID ("user_id" claim in the SSO OIDC token).`,
65790
+ args: args97,
65791
+ tool: async (client, args98, ctx) => {
65792
+ const [result, apiCall] = await marketplaceGetMember(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66426
65793
  if (!result.ok) {
66427
65794
  return {
66428
65795
  content: [{ type: "text", text: result.error.message }],
@@ -66436,7 +65803,7 @@ Get all resources for a given integration configuration ID.`,
66436
65803
  });
66437
65804
 
66438
65805
  // src/models/importresourceop.ts
66439
- var ImportResourceStatus, ImportResourceType, Level, ImportResourceStatus$inboundSchema, ImportResourceStatus$outboundSchema, ImportResourceStatus$, ImportResourceType$inboundSchema, ImportResourceType$outboundSchema, ImportResourceType$, Details$inboundSchema, Details$outboundSchema, Details$, HeightlightedDetails$inboundSchema, HeightlightedDetails$outboundSchema, HeightlightedDetails$, BillingPlan$inboundSchema, BillingPlan$outboundSchema, BillingPlan$, Level$inboundSchema, Level$outboundSchema, Level$, Notification$inboundSchema, Notification$outboundSchema, Notification$, EnvironmentOverrides$inboundSchema, EnvironmentOverrides$outboundSchema, EnvironmentOverrides$, ImportResourceSecrets$inboundSchema, ImportResourceSecrets$outboundSchema, ImportResourceSecrets$, ImportResourceRequestBody$inboundSchema, ImportResourceRequestBody$outboundSchema, ImportResourceRequestBody$, ImportResourceRequest$inboundSchema, ImportResourceRequest$outboundSchema, ImportResourceRequest$, ImportResourceResponseBody$inboundSchema, ImportResourceResponseBody$outboundSchema, ImportResourceResponseBody$;
65806
+ var ImportResourceStatus, ImportResourceType, Level, ImportResourceStatus$inboundSchema, ImportResourceStatus$outboundSchema, ImportResourceStatus$, ImportResourceType$inboundSchema, ImportResourceType$outboundSchema, ImportResourceType$, Details$inboundSchema, Details$outboundSchema, Details$, HeightlightedDetails$inboundSchema, HeightlightedDetails$outboundSchema, HeightlightedDetails$, BillingPlan$inboundSchema, BillingPlan$outboundSchema, BillingPlan$, Level$inboundSchema, Level$outboundSchema, Level$, Notification$inboundSchema, Notification$outboundSchema, Notification$, ImportResourceEnvironmentOverrides$inboundSchema, ImportResourceEnvironmentOverrides$outboundSchema, ImportResourceEnvironmentOverrides$, ImportResourceSecrets$inboundSchema, ImportResourceSecrets$outboundSchema, ImportResourceSecrets$, ImportResourceRequestBody$inboundSchema, ImportResourceRequestBody$outboundSchema, ImportResourceRequestBody$, ImportResourceRequest$inboundSchema, ImportResourceRequest$outboundSchema, ImportResourceRequest$, ImportResourceResponseBody$inboundSchema, ImportResourceResponseBody$outboundSchema, ImportResourceResponseBody$;
66440
65807
  var init_importresourceop = __esm(() => {
66441
65808
  init_esm();
66442
65809
  init_primitives();
@@ -66550,31 +65917,31 @@ var init_importresourceop = __esm(() => {
66550
65917
  Notification$.inboundSchema = Notification$inboundSchema;
66551
65918
  Notification$.outboundSchema = Notification$outboundSchema;
66552
65919
  })(Notification$ ||= {});
66553
- EnvironmentOverrides$inboundSchema = objectType({
65920
+ ImportResourceEnvironmentOverrides$inboundSchema = objectType({
66554
65921
  development: stringType().optional(),
66555
65922
  preview: stringType().optional(),
66556
65923
  production: stringType().optional()
66557
65924
  });
66558
- EnvironmentOverrides$outboundSchema = objectType({
65925
+ ImportResourceEnvironmentOverrides$outboundSchema = objectType({
66559
65926
  development: stringType().optional(),
66560
65927
  preview: stringType().optional(),
66561
65928
  production: stringType().optional()
66562
65929
  });
66563
- ((EnvironmentOverrides$) => {
66564
- EnvironmentOverrides$.inboundSchema = EnvironmentOverrides$inboundSchema;
66565
- EnvironmentOverrides$.outboundSchema = EnvironmentOverrides$outboundSchema;
66566
- })(EnvironmentOverrides$ ||= {});
65930
+ ((ImportResourceEnvironmentOverrides$) => {
65931
+ ImportResourceEnvironmentOverrides$.inboundSchema = ImportResourceEnvironmentOverrides$inboundSchema;
65932
+ ImportResourceEnvironmentOverrides$.outboundSchema = ImportResourceEnvironmentOverrides$outboundSchema;
65933
+ })(ImportResourceEnvironmentOverrides$ ||= {});
66567
65934
  ImportResourceSecrets$inboundSchema = objectType({
66568
65935
  name: stringType(),
66569
65936
  value: stringType(),
66570
65937
  prefix: stringType().optional(),
66571
- environmentOverrides: lazyType(() => EnvironmentOverrides$inboundSchema).optional()
65938
+ environmentOverrides: lazyType(() => ImportResourceEnvironmentOverrides$inboundSchema).optional()
66572
65939
  });
66573
65940
  ImportResourceSecrets$outboundSchema = objectType({
66574
65941
  name: stringType(),
66575
65942
  value: stringType(),
66576
65943
  prefix: stringType().optional(),
66577
- environmentOverrides: lazyType(() => EnvironmentOverrides$outboundSchema).optional()
65944
+ environmentOverrides: lazyType(() => ImportResourceEnvironmentOverrides$outboundSchema).optional()
66578
65945
  });
66579
65946
  ((ImportResourceSecrets$) => {
66580
65947
  ImportResourceSecrets$.inboundSchema = ImportResourceSecrets$inboundSchema;
@@ -66638,9 +66005,9 @@ var init_importresourceop = __esm(() => {
66638
66005
 
66639
66006
  // src/funcs/marketplaceImportResource.ts
66640
66007
  function marketplaceImportResource(client, request, options) {
66641
- return new APIPromise($do102(client, request, options));
66008
+ return new APIPromise($do99(client, request, options));
66642
66009
  }
66643
- async function $do102(client, request, options) {
66010
+ async function $do99(client, request, options) {
66644
66011
  const parsed = safeParse(request, (value) => ImportResourceRequest$outboundSchema.parse(value), "Input validation failed");
66645
66012
  if (!parsed.ok) {
66646
66013
  return [parsed, { status: "invalid" }];
@@ -66720,12 +66087,12 @@ var init_marketplaceImportResource = __esm(() => {
66720
66087
  });
66721
66088
 
66722
66089
  // src/mcp-server/tools/marketplaceImportResource.ts
66723
- var args101, tool$marketplaceImportResource;
66090
+ var args98, tool$marketplaceImportResource;
66724
66091
  var init_marketplaceImportResource2 = __esm(() => {
66725
66092
  init_marketplaceImportResource();
66726
66093
  init_importresourceop();
66727
66094
  init_tools();
66728
- args101 = {
66095
+ args98 = {
66729
66096
  request: ImportResourceRequest$inboundSchema
66730
66097
  };
66731
66098
  tool$marketplaceImportResource = {
@@ -66733,9 +66100,9 @@ var init_marketplaceImportResource2 = __esm(() => {
66733
66100
  description: `Import Resource
66734
66101
 
66735
66102
  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.`,
66736
- args: args101,
66737
- tool: async (client, args102, ctx) => {
66738
- const [result, apiCall] = await marketplaceImportResource(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66103
+ args: args98,
66104
+ tool: async (client, args99, ctx) => {
66105
+ const [result, apiCall] = await marketplaceImportResource(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66739
66106
  if (!result.ok) {
66740
66107
  return {
66741
66108
  content: [{ type: "text", text: result.error.message }],
@@ -66948,9 +66315,9 @@ var init_submitbillingdataop = __esm(() => {
66948
66315
 
66949
66316
  // src/funcs/marketplaceSubmitBillingData.ts
66950
66317
  function marketplaceSubmitBillingData(client, request, options) {
66951
- return new APIPromise($do103(client, request, options));
66318
+ return new APIPromise($do100(client, request, options));
66952
66319
  }
66953
- async function $do103(client, request, options) {
66320
+ async function $do100(client, request, options) {
66954
66321
  const parsed = safeParse(request, (value) => SubmitBillingDataRequest$outboundSchema.parse(value), "Input validation failed");
66955
66322
  if (!parsed.ok) {
66956
66323
  return [parsed, { status: "invalid" }];
@@ -67027,12 +66394,12 @@ var init_marketplaceSubmitBillingData = __esm(() => {
67027
66394
  });
67028
66395
 
67029
66396
  // src/mcp-server/tools/marketplaceSubmitBillingData.ts
67030
- var args102, tool$marketplaceSubmitBillingData;
66397
+ var args99, tool$marketplaceSubmitBillingData;
67031
66398
  var init_marketplaceSubmitBillingData2 = __esm(() => {
67032
66399
  init_marketplaceSubmitBillingData();
67033
66400
  init_submitbillingdataop();
67034
66401
  init_tools();
67035
- args102 = {
66402
+ args99 = {
67036
66403
  request: SubmitBillingDataRequest$inboundSchema
67037
66404
  };
67038
66405
  tool$marketplaceSubmitBillingData = {
@@ -67040,9 +66407,9 @@ var init_marketplaceSubmitBillingData2 = __esm(() => {
67040
66407
  description: `Submit Billing Data
67041
66408
 
67042
66409
  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.`,
67043
- args: args102,
67044
- tool: async (client, args103, ctx) => {
67045
- const [result, apiCall] = await marketplaceSubmitBillingData(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66410
+ args: args99,
66411
+ tool: async (client, args100, ctx) => {
66412
+ const [result, apiCall] = await marketplaceSubmitBillingData(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67046
66413
  if (!result.ok) {
67047
66414
  return {
67048
66415
  content: [{ type: "text", text: result.error.message }],
@@ -67203,9 +66570,9 @@ var init_submitinvoiceop = __esm(() => {
67203
66570
 
67204
66571
  // src/funcs/marketplaceSubmitInvoice.ts
67205
66572
  function marketplaceSubmitInvoice(client, request, options) {
67206
- return new APIPromise($do104(client, request, options));
66573
+ return new APIPromise($do101(client, request, options));
67207
66574
  }
67208
- async function $do104(client, request, options) {
66575
+ async function $do101(client, request, options) {
67209
66576
  const parsed = safeParse(request, (value) => SubmitInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
67210
66577
  if (!parsed.ok) {
67211
66578
  return [parsed, { status: "invalid" }];
@@ -67281,12 +66648,12 @@ var init_marketplaceSubmitInvoice = __esm(() => {
67281
66648
  });
67282
66649
 
67283
66650
  // src/mcp-server/tools/marketplaceSubmitInvoice.ts
67284
- var args103, tool$marketplaceSubmitInvoice;
66651
+ var args100, tool$marketplaceSubmitInvoice;
67285
66652
  var init_marketplaceSubmitInvoice2 = __esm(() => {
67286
66653
  init_marketplaceSubmitInvoice();
67287
66654
  init_submitinvoiceop();
67288
66655
  init_tools();
67289
- args103 = {
66656
+ args100 = {
67290
66657
  request: SubmitInvoiceRequest$inboundSchema
67291
66658
  };
67292
66659
  tool$marketplaceSubmitInvoice = {
@@ -67294,9 +66661,9 @@ var init_marketplaceSubmitInvoice2 = __esm(() => {
67294
66661
  description: `Submit Invoice
67295
66662
 
67296
66663
  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/>`,
67297
- args: args103,
67298
- tool: async (client, args104, ctx) => {
67299
- const [result, apiCall] = await marketplaceSubmitInvoice(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66664
+ args: args100,
66665
+ tool: async (client, args101, ctx) => {
66666
+ const [result, apiCall] = await marketplaceSubmitInvoice(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67300
66667
  if (!result.ok) {
67301
66668
  return {
67302
66669
  content: [{ type: "text", text: result.error.message }],
@@ -67366,9 +66733,9 @@ var init_submitprepaymentbalancesop = __esm(() => {
67366
66733
 
67367
66734
  // src/funcs/marketplaceSubmitPrepaymentBalances.ts
67368
66735
  function marketplaceSubmitPrepaymentBalances(client, request, options) {
67369
- return new APIPromise($do105(client, request, options));
66736
+ return new APIPromise($do102(client, request, options));
67370
66737
  }
67371
- async function $do105(client, request, options) {
66738
+ async function $do102(client, request, options) {
67372
66739
  const parsed = safeParse(request, (value) => SubmitPrepaymentBalancesRequest$outboundSchema.parse(value), "Input validation failed");
67373
66740
  if (!parsed.ok) {
67374
66741
  return [parsed, { status: "invalid" }];
@@ -67445,12 +66812,12 @@ var init_marketplaceSubmitPrepaymentBalances = __esm(() => {
67445
66812
  });
67446
66813
 
67447
66814
  // src/mcp-server/tools/marketplaceSubmitPrepaymentBalances.ts
67448
- var args104, tool$marketplaceSubmitPrepaymentBalances;
66815
+ var args101, tool$marketplaceSubmitPrepaymentBalances;
67449
66816
  var init_marketplaceSubmitPrepaymentBalances2 = __esm(() => {
67450
66817
  init_marketplaceSubmitPrepaymentBalances();
67451
66818
  init_submitprepaymentbalancesop();
67452
66819
  init_tools();
67453
- args104 = {
66820
+ args101 = {
67454
66821
  request: SubmitPrepaymentBalancesRequest$inboundSchema
67455
66822
  };
67456
66823
  tool$marketplaceSubmitPrepaymentBalances = {
@@ -67458,9 +66825,9 @@ var init_marketplaceSubmitPrepaymentBalances2 = __esm(() => {
67458
66825
  description: `Submit Prepayment Balances
67459
66826
 
67460
66827
  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.`,
67461
- args: args104,
67462
- tool: async (client, args105, ctx) => {
67463
- const [result, apiCall] = await marketplaceSubmitPrepaymentBalances(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66828
+ args: args101,
66829
+ tool: async (client, args102, ctx) => {
66830
+ const [result, apiCall] = await marketplaceSubmitPrepaymentBalances(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67464
66831
  if (!result.ok) {
67465
66832
  return {
67466
66833
  content: [{ type: "text", text: result.error.message }],
@@ -67539,9 +66906,9 @@ var init_patchv1installationsintegrationconfigurationidresourcesresourceidexperi
67539
66906
 
67540
66907
  // src/funcs/marketplaceUpdateInstallationIntegrationConfiguration.ts
67541
66908
  function marketplaceUpdateInstallationIntegrationConfiguration(client, request, options) {
67542
- return new APIPromise($do106(client, request, options));
66909
+ return new APIPromise($do103(client, request, options));
67543
66910
  }
67544
- async function $do106(client, request, options) {
66911
+ async function $do103(client, request, options) {
67545
66912
  const parsed = safeParse(request, (value) => PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$outboundSchema.parse(value), "Input validation failed");
67546
66913
  if (!parsed.ok) {
67547
66914
  return [parsed, { status: "invalid" }];
@@ -67626,12 +66993,12 @@ var init_marketplaceUpdateInstallationIntegrationConfiguration = __esm(() => {
67626
66993
  });
67627
66994
 
67628
66995
  // src/mcp-server/tools/marketplaceUpdateInstallationIntegrationConfiguration.ts
67629
- var args105, tool$marketplaceUpdateInstallationIntegrationConfiguration;
66996
+ var args102, tool$marketplaceUpdateInstallationIntegrationConfiguration;
67630
66997
  var init_marketplaceUpdateInstallationIntegrationConfiguration2 = __esm(() => {
67631
66998
  init_marketplaceUpdateInstallationIntegrationConfiguration();
67632
66999
  init_patchv1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsitemidop();
67633
67000
  init_tools();
67634
- args105 = {
67001
+ args102 = {
67635
67002
  request: PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$inboundSchema
67636
67003
  };
67637
67004
  tool$marketplaceUpdateInstallationIntegrationConfiguration = {
@@ -67639,9 +67006,9 @@ var init_marketplaceUpdateInstallationIntegrationConfiguration2 = __esm(() => {
67639
67006
  description: `Patch an existing experimentation item
67640
67007
 
67641
67008
  Patch an existing experimentation item`,
67642
- args: args105,
67643
- tool: async (client, args106, ctx) => {
67644
- const [result, apiCall] = await marketplaceUpdateInstallationIntegrationConfiguration(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67009
+ args: args102,
67010
+ tool: async (client, args103, ctx) => {
67011
+ const [result, apiCall] = await marketplaceUpdateInstallationIntegrationConfiguration(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67645
67012
  if (!result.ok) {
67646
67013
  return {
67647
67014
  content: [{ type: "text", text: result.error.message }],
@@ -67709,9 +67076,9 @@ var init_putv1installationsintegrationconfigurationidresourcesresourceidexperime
67709
67076
 
67710
67077
  // src/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.ts
67711
67078
  function marketplaceUpdateInstallationIntegrationEdgeConfig(client, request, options) {
67712
- return new APIPromise($do107(client, request, options));
67079
+ return new APIPromise($do104(client, request, options));
67713
67080
  }
67714
- async function $do107(client, request, options) {
67081
+ async function $do104(client, request, options) {
67715
67082
  const parsed = safeParse(request, (value) => PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$outboundSchema.parse(value), "Input validation failed");
67716
67083
  if (!parsed.ok) {
67717
67084
  return [parsed, { status: "invalid" }];
@@ -67791,12 +67158,12 @@ var init_marketplaceUpdateInstallationIntegrationEdgeConfig = __esm(() => {
67791
67158
  });
67792
67159
 
67793
67160
  // src/mcp-server/tools/marketplaceUpdateInstallationIntegrationEdgeConfig.ts
67794
- var args106, tool$marketplaceUpdateInstallationIntegrationEdgeConfig;
67161
+ var args103, tool$marketplaceUpdateInstallationIntegrationEdgeConfig;
67795
67162
  var init_marketplaceUpdateInstallationIntegrationEdgeConfig2 = __esm(() => {
67796
67163
  init_marketplaceUpdateInstallationIntegrationEdgeConfig();
67797
67164
  init_putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigop();
67798
67165
  init_tools();
67799
- args106 = {
67166
+ args103 = {
67800
67167
  request: PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$inboundSchema
67801
67168
  };
67802
67169
  tool$marketplaceUpdateInstallationIntegrationEdgeConfig = {
@@ -67804,9 +67171,9 @@ var init_marketplaceUpdateInstallationIntegrationEdgeConfig2 = __esm(() => {
67804
67171
  description: `Push data into a user-provided Edge Config
67805
67172
 
67806
67173
  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.`,
67807
- args: args106,
67808
- tool: async (client, args107, ctx) => {
67809
- const [result, apiCall] = await marketplaceUpdateInstallationIntegrationEdgeConfig(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67174
+ args: args103,
67175
+ tool: async (client, args104, ctx) => {
67176
+ const [result, apiCall] = await marketplaceUpdateInstallationIntegrationEdgeConfig(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67810
67177
  if (!result.ok) {
67811
67178
  return {
67812
67179
  content: [{ type: "text", text: result.error.message }],
@@ -67873,9 +67240,9 @@ var init_updateinvoiceop = __esm(() => {
67873
67240
 
67874
67241
  // src/funcs/marketplaceUpdateInvoice.ts
67875
67242
  function marketplaceUpdateInvoice(client, request, options) {
67876
- return new APIPromise($do108(client, request, options));
67243
+ return new APIPromise($do105(client, request, options));
67877
67244
  }
67878
- async function $do108(client, request, options) {
67245
+ async function $do105(client, request, options) {
67879
67246
  const parsed = safeParse(request, (value) => UpdateInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
67880
67247
  if (!parsed.ok) {
67881
67248
  return [parsed, { status: "invalid" }];
@@ -67956,12 +67323,12 @@ var init_marketplaceUpdateInvoice = __esm(() => {
67956
67323
  });
67957
67324
 
67958
67325
  // src/mcp-server/tools/marketplaceUpdateInvoice.ts
67959
- var args107, tool$marketplaceUpdateInvoice;
67326
+ var args104, tool$marketplaceUpdateInvoice;
67960
67327
  var init_marketplaceUpdateInvoice2 = __esm(() => {
67961
67328
  init_marketplaceUpdateInvoice();
67962
67329
  init_updateinvoiceop();
67963
67330
  init_tools();
67964
- args107 = {
67331
+ args104 = {
67965
67332
  request: UpdateInvoiceRequest$inboundSchema
67966
67333
  };
67967
67334
  tool$marketplaceUpdateInvoice = {
@@ -67969,9 +67336,9 @@ var init_marketplaceUpdateInvoice2 = __esm(() => {
67969
67336
  description: `Invoice Actions
67970
67337
 
67971
67338
  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).`,
67972
- args: args107,
67973
- tool: async (client, args108, ctx) => {
67974
- const [result, apiCall] = await marketplaceUpdateInvoice(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67339
+ args: args104,
67340
+ tool: async (client, args105, ctx) => {
67341
+ const [result, apiCall] = await marketplaceUpdateInvoice(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67975
67342
  if (!result.ok) {
67976
67343
  return {
67977
67344
  content: [{ type: "text", text: result.error.message }],
@@ -67984,35 +67351,35 @@ This endpoint allows the partner to request a refund for an invoice to Vercel. T
67984
67351
  });
67985
67352
 
67986
67353
  // src/models/updateresourcesecretsop.ts
67987
- var UpdateResourceSecretsEnvironmentOverrides$inboundSchema, UpdateResourceSecretsEnvironmentOverrides$outboundSchema, UpdateResourceSecretsEnvironmentOverrides$, UpdateResourceSecretsSecrets$inboundSchema, UpdateResourceSecretsSecrets$outboundSchema, UpdateResourceSecretsSecrets$, UpdateResourceSecretsRequestBody$inboundSchema, UpdateResourceSecretsRequestBody$outboundSchema, UpdateResourceSecretsRequestBody$, UpdateResourceSecretsRequest$inboundSchema, UpdateResourceSecretsRequest$outboundSchema, UpdateResourceSecretsRequest$;
67354
+ var EnvironmentOverrides$inboundSchema, EnvironmentOverrides$outboundSchema, EnvironmentOverrides$, UpdateResourceSecretsSecrets$inboundSchema, UpdateResourceSecretsSecrets$outboundSchema, UpdateResourceSecretsSecrets$, UpdateResourceSecretsRequestBody$inboundSchema, UpdateResourceSecretsRequestBody$outboundSchema, UpdateResourceSecretsRequestBody$, UpdateResourceSecretsRequest$inboundSchema, UpdateResourceSecretsRequest$outboundSchema, UpdateResourceSecretsRequest$;
67988
67355
  var init_updateresourcesecretsop = __esm(() => {
67989
67356
  init_esm();
67990
67357
  init_primitives();
67991
- UpdateResourceSecretsEnvironmentOverrides$inboundSchema = objectType({
67358
+ EnvironmentOverrides$inboundSchema = objectType({
67992
67359
  development: stringType().optional(),
67993
67360
  preview: stringType().optional(),
67994
67361
  production: stringType().optional()
67995
67362
  });
67996
- UpdateResourceSecretsEnvironmentOverrides$outboundSchema = objectType({
67363
+ EnvironmentOverrides$outboundSchema = objectType({
67997
67364
  development: stringType().optional(),
67998
67365
  preview: stringType().optional(),
67999
67366
  production: stringType().optional()
68000
67367
  });
68001
- ((UpdateResourceSecretsEnvironmentOverrides$) => {
68002
- UpdateResourceSecretsEnvironmentOverrides$.inboundSchema = UpdateResourceSecretsEnvironmentOverrides$inboundSchema;
68003
- UpdateResourceSecretsEnvironmentOverrides$.outboundSchema = UpdateResourceSecretsEnvironmentOverrides$outboundSchema;
68004
- })(UpdateResourceSecretsEnvironmentOverrides$ ||= {});
67368
+ ((EnvironmentOverrides$) => {
67369
+ EnvironmentOverrides$.inboundSchema = EnvironmentOverrides$inboundSchema;
67370
+ EnvironmentOverrides$.outboundSchema = EnvironmentOverrides$outboundSchema;
67371
+ })(EnvironmentOverrides$ ||= {});
68005
67372
  UpdateResourceSecretsSecrets$inboundSchema = objectType({
68006
67373
  name: stringType(),
68007
67374
  value: stringType(),
68008
67375
  prefix: stringType().optional(),
68009
- environmentOverrides: lazyType(() => UpdateResourceSecretsEnvironmentOverrides$inboundSchema).optional()
67376
+ environmentOverrides: lazyType(() => EnvironmentOverrides$inboundSchema).optional()
68010
67377
  });
68011
67378
  UpdateResourceSecretsSecrets$outboundSchema = objectType({
68012
67379
  name: stringType(),
68013
67380
  value: stringType(),
68014
67381
  prefix: stringType().optional(),
68015
- environmentOverrides: lazyType(() => UpdateResourceSecretsEnvironmentOverrides$outboundSchema).optional()
67382
+ environmentOverrides: lazyType(() => EnvironmentOverrides$outboundSchema).optional()
68016
67383
  });
68017
67384
  ((UpdateResourceSecretsSecrets$) => {
68018
67385
  UpdateResourceSecretsSecrets$.inboundSchema = UpdateResourceSecretsSecrets$inboundSchema;
@@ -68058,9 +67425,9 @@ var init_updateresourcesecretsop = __esm(() => {
68058
67425
 
68059
67426
  // src/funcs/marketplaceUpdateResourceSecrets.ts
68060
67427
  function marketplaceUpdateResourceSecrets(client, request, options) {
68061
- return new APIPromise($do109(client, request, options));
67428
+ return new APIPromise($do106(client, request, options));
68062
67429
  }
68063
- async function $do109(client, request, options) {
67430
+ async function $do106(client, request, options) {
68064
67431
  const parsed = safeParse(request, (value) => UpdateResourceSecretsRequest$outboundSchema.parse(value), "Input validation failed");
68065
67432
  if (!parsed.ok) {
68066
67433
  return [parsed, { status: "invalid" }];
@@ -68142,12 +67509,12 @@ var init_marketplaceUpdateResourceSecrets = __esm(() => {
68142
67509
  });
68143
67510
 
68144
67511
  // src/mcp-server/tools/marketplaceUpdateResourceSecrets.ts
68145
- var args108, tool$marketplaceUpdateResourceSecrets;
67512
+ var args105, tool$marketplaceUpdateResourceSecrets;
68146
67513
  var init_marketplaceUpdateResourceSecrets2 = __esm(() => {
68147
67514
  init_marketplaceUpdateResourceSecrets();
68148
67515
  init_updateresourcesecretsop();
68149
67516
  init_tools();
68150
- args108 = {
67517
+ args105 = {
68151
67518
  request: UpdateResourceSecretsRequest$inboundSchema
68152
67519
  };
68153
67520
  tool$marketplaceUpdateResourceSecrets = {
@@ -68155,9 +67522,9 @@ var init_marketplaceUpdateResourceSecrets2 = __esm(() => {
68155
67522
  description: `Update Resource Secrets (Deprecated)
68156
67523
 
68157
67524
  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/>`,
68158
- args: args108,
68159
- tool: async (client, args109, ctx) => {
68160
- const [result, apiCall] = await marketplaceUpdateResourceSecrets(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67525
+ args: args105,
67526
+ tool: async (client, args106, ctx) => {
67527
+ const [result, apiCall] = await marketplaceUpdateResourceSecrets(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68161
67528
  if (!result.ok) {
68162
67529
  return {
68163
67530
  content: [{ type: "text", text: result.error.message }],
@@ -68242,9 +67609,9 @@ var init_updateresourcesecretsbyidop = __esm(() => {
68242
67609
 
68243
67610
  // src/funcs/marketplaceUpdateResourceSecretsById.ts
68244
67611
  function marketplaceUpdateResourceSecretsById(client, request, options) {
68245
- return new APIPromise($do110(client, request, options));
67612
+ return new APIPromise($do107(client, request, options));
68246
67613
  }
68247
- async function $do110(client, request, options) {
67614
+ async function $do107(client, request, options) {
68248
67615
  const parsed = safeParse(request, (value) => UpdateResourceSecretsByIdRequest$outboundSchema.parse(value), "Input validation failed");
68249
67616
  if (!parsed.ok) {
68250
67617
  return [parsed, { status: "invalid" }];
@@ -68325,12 +67692,12 @@ var init_marketplaceUpdateResourceSecretsById = __esm(() => {
68325
67692
  });
68326
67693
 
68327
67694
  // src/mcp-server/tools/marketplaceUpdateResourceSecretsById.ts
68328
- var args109, tool$marketplaceUpdateResourceSecretsById;
67695
+ var args106, tool$marketplaceUpdateResourceSecretsById;
68329
67696
  var init_marketplaceUpdateResourceSecretsById2 = __esm(() => {
68330
67697
  init_marketplaceUpdateResourceSecretsById();
68331
67698
  init_updateresourcesecretsbyidop();
68332
67699
  init_tools();
68333
- args109 = {
67700
+ args106 = {
68334
67701
  request: UpdateResourceSecretsByIdRequest$inboundSchema
68335
67702
  };
68336
67703
  tool$marketplaceUpdateResourceSecretsById = {
@@ -68338,9 +67705,9 @@ var init_marketplaceUpdateResourceSecretsById2 = __esm(() => {
68338
67705
  description: `Update Resource Secrets
68339
67706
 
68340
67707
  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/>`,
68341
- args: args109,
68342
- tool: async (client, args110, ctx) => {
68343
- const [result, apiCall] = await marketplaceUpdateResourceSecretsById(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67708
+ args: args106,
67709
+ tool: async (client, args107, ctx) => {
67710
+ const [result, apiCall] = await marketplaceUpdateResourceSecretsById(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68344
67711
  if (!result.ok) {
68345
67712
  return {
68346
67713
  content: [{ type: "text", text: result.error.message }],
@@ -68498,9 +67865,9 @@ var init_addprojectmemberop = __esm(() => {
68498
67865
 
68499
67866
  // src/funcs/projectMembersAddProjectMember.ts
68500
67867
  function projectMembersAddProjectMember(client, request, options) {
68501
- return new APIPromise($do111(client, request, options));
67868
+ return new APIPromise($do108(client, request, options));
68502
67869
  }
68503
- async function $do111(client, request, options) {
67870
+ async function $do108(client, request, options) {
68504
67871
  const parsed = safeParse(request, (value) => AddProjectMemberRequest$outboundSchema.parse(value), "Input validation failed");
68505
67872
  if (!parsed.ok) {
68506
67873
  return [parsed, { status: "invalid" }];
@@ -68583,12 +67950,12 @@ var init_projectMembersAddProjectMember = __esm(() => {
68583
67950
  });
68584
67951
 
68585
67952
  // src/mcp-server/tools/projectMembersAddProjectMember.ts
68586
- var args110, tool$projectMembersAddProjectMember;
67953
+ var args107, tool$projectMembersAddProjectMember;
68587
67954
  var init_projectMembersAddProjectMember2 = __esm(() => {
68588
67955
  init_projectMembersAddProjectMember();
68589
67956
  init_addprojectmemberop();
68590
67957
  init_tools();
68591
- args110 = {
67958
+ args107 = {
68592
67959
  request: AddProjectMemberRequest$inboundSchema
68593
67960
  };
68594
67961
  tool$projectMembersAddProjectMember = {
@@ -68596,9 +67963,9 @@ var init_projectMembersAddProjectMember2 = __esm(() => {
68596
67963
  description: `Adds a new member to a project.
68597
67964
 
68598
67965
  Adds a new member to the project.`,
68599
- args: args110,
68600
- tool: async (client, args111, ctx) => {
68601
- const [result, apiCall] = await projectMembersAddProjectMember(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67966
+ args: args107,
67967
+ tool: async (client, args108, ctx) => {
67968
+ const [result, apiCall] = await projectMembersAddProjectMember(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68602
67969
  if (!result.ok) {
68603
67970
  return {
68604
67971
  content: [{ type: "text", text: result.error.message }],
@@ -68750,9 +68117,9 @@ var init_getprojectmembersop = __esm(() => {
68750
68117
 
68751
68118
  // src/funcs/projectMembersGetProjectMembers.ts
68752
68119
  function projectMembersGetProjectMembers(client, request, options) {
68753
- return new APIPromise($do112(client, request, options));
68120
+ return new APIPromise($do109(client, request, options));
68754
68121
  }
68755
- async function $do112(client, request, options) {
68122
+ async function $do109(client, request, options) {
68756
68123
  const parsed = safeParse(request, (value) => GetProjectMembersRequest$outboundSchema.parse(value), "Input validation failed");
68757
68124
  if (!parsed.ok) {
68758
68125
  return [parsed, { status: "invalid" }];
@@ -68838,12 +68205,12 @@ var init_projectMembersGetProjectMembers = __esm(() => {
68838
68205
  });
68839
68206
 
68840
68207
  // src/mcp-server/tools/projectMembersGetProjectMembers.ts
68841
- var args111, tool$projectMembersGetProjectMembers;
68208
+ var args108, tool$projectMembersGetProjectMembers;
68842
68209
  var init_projectMembersGetProjectMembers2 = __esm(() => {
68843
68210
  init_projectMembersGetProjectMembers();
68844
68211
  init_getprojectmembersop();
68845
68212
  init_tools();
68846
- args111 = {
68213
+ args108 = {
68847
68214
  request: GetProjectMembersRequest$inboundSchema
68848
68215
  };
68849
68216
  tool$projectMembersGetProjectMembers = {
@@ -68851,9 +68218,9 @@ var init_projectMembersGetProjectMembers2 = __esm(() => {
68851
68218
  description: `List project members
68852
68219
 
68853
68220
  Lists all members of a project.`,
68854
- args: args111,
68855
- tool: async (client, args112, ctx) => {
68856
- const [result, apiCall] = await projectMembersGetProjectMembers(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68221
+ args: args108,
68222
+ tool: async (client, args109, ctx) => {
68223
+ const [result, apiCall] = await projectMembersGetProjectMembers(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68857
68224
  if (!result.ok) {
68858
68225
  return {
68859
68226
  content: [{ type: "text", text: result.error.message }],
@@ -68900,9 +68267,9 @@ var init_removeprojectmemberop = __esm(() => {
68900
68267
 
68901
68268
  // src/funcs/projectMembersRemoveProjectMember.ts
68902
68269
  function projectMembersRemoveProjectMember(client, request, options) {
68903
- return new APIPromise($do113(client, request, options));
68270
+ return new APIPromise($do110(client, request, options));
68904
68271
  }
68905
- async function $do113(client, request, options) {
68272
+ async function $do110(client, request, options) {
68906
68273
  const parsed = safeParse(request, (value) => RemoveProjectMemberRequest$outboundSchema.parse(value), "Input validation failed");
68907
68274
  if (!parsed.ok) {
68908
68275
  return [parsed, { status: "invalid" }];
@@ -68988,12 +68355,12 @@ var init_projectMembersRemoveProjectMember = __esm(() => {
68988
68355
  });
68989
68356
 
68990
68357
  // src/mcp-server/tools/projectMembersRemoveProjectMember.ts
68991
- var args112, tool$projectMembersRemoveProjectMember;
68358
+ var args109, tool$projectMembersRemoveProjectMember;
68992
68359
  var init_projectMembersRemoveProjectMember2 = __esm(() => {
68993
68360
  init_projectMembersRemoveProjectMember();
68994
68361
  init_removeprojectmemberop();
68995
68362
  init_tools();
68996
- args112 = {
68363
+ args109 = {
68997
68364
  request: RemoveProjectMemberRequest$inboundSchema
68998
68365
  };
68999
68366
  tool$projectMembersRemoveProjectMember = {
@@ -69001,9 +68368,9 @@ var init_projectMembersRemoveProjectMember2 = __esm(() => {
69001
68368
  description: `Remove a Project Member
69002
68369
 
69003
68370
  Remove a member from a specific project`,
69004
- args: args112,
69005
- tool: async (client, args113, ctx) => {
69006
- const [result, apiCall] = await projectMembersRemoveProjectMember(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68371
+ args: args109,
68372
+ tool: async (client, args110, ctx) => {
68373
+ const [result, apiCall] = await projectMembersRemoveProjectMember(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69007
68374
  if (!result.ok) {
69008
68375
  return {
69009
68376
  content: [{ type: "text", text: result.error.message }],
@@ -69081,9 +68448,9 @@ var init_acceptprojecttransferrequestop = __esm(() => {
69081
68448
 
69082
68449
  // src/funcs/projectsAcceptProjectTransferRequest.ts
69083
68450
  function projectsAcceptProjectTransferRequest(client, request, options) {
69084
- return new APIPromise($do114(client, request, options));
68451
+ return new APIPromise($do111(client, request, options));
69085
68452
  }
69086
- async function $do114(client, request, options) {
68453
+ async function $do111(client, request, options) {
69087
68454
  const parsed = safeParse(request, (value) => AcceptProjectTransferRequestRequest$outboundSchema.parse(value), "Input validation failed");
69088
68455
  if (!parsed.ok) {
69089
68456
  return [parsed, { status: "invalid" }];
@@ -69167,12 +68534,12 @@ var init_projectsAcceptProjectTransferRequest = __esm(() => {
69167
68534
  });
69168
68535
 
69169
68536
  // src/mcp-server/tools/projectsAcceptProjectTransferRequest.ts
69170
- var args113, tool$projectsAcceptProjectTransferRequest;
68537
+ var args110, tool$projectsAcceptProjectTransferRequest;
69171
68538
  var init_projectsAcceptProjectTransferRequest2 = __esm(() => {
69172
68539
  init_projectsAcceptProjectTransferRequest();
69173
68540
  init_acceptprojecttransferrequestop();
69174
68541
  init_tools();
69175
- args113 = {
68542
+ args110 = {
69176
68543
  request: AcceptProjectTransferRequestRequest$inboundSchema
69177
68544
  };
69178
68545
  tool$projectsAcceptProjectTransferRequest = {
@@ -69180,9 +68547,9 @@ var init_projectsAcceptProjectTransferRequest2 = __esm(() => {
69180
68547
  description: `Accept project transfer request
69181
68548
 
69182
68549
  Accept a project transfer request initated by another team. <br/> The \`code\` is generated using the \`POST /projects/:idOrName/transfer-request\` endpoint.`,
69183
- args: args113,
69184
- tool: async (client, args114, ctx) => {
69185
- const [result, apiCall] = await projectsAcceptProjectTransferRequest(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68550
+ args: args110,
68551
+ tool: async (client, args111, ctx) => {
68552
+ const [result, apiCall] = await projectsAcceptProjectTransferRequest(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69186
68553
  if (!result.ok) {
69187
68554
  return {
69188
68555
  content: [{ type: "text", text: result.error.message }],
@@ -69304,9 +68671,9 @@ var init_addprojectdomainop = __esm(() => {
69304
68671
 
69305
68672
  // src/funcs/projectsAddProjectDomain.ts
69306
68673
  function projectsAddProjectDomain(client, request, options) {
69307
- return new APIPromise($do115(client, request, options));
68674
+ return new APIPromise($do112(client, request, options));
69308
68675
  }
69309
- async function $do115(client, request, options) {
68676
+ async function $do112(client, request, options) {
69310
68677
  const parsed = safeParse(request, (value) => AddProjectDomainRequest$outboundSchema.parse(value), "Input validation failed");
69311
68678
  if (!parsed.ok) {
69312
68679
  return [parsed, { status: "invalid" }];
@@ -69389,12 +68756,12 @@ var init_projectsAddProjectDomain = __esm(() => {
69389
68756
  });
69390
68757
 
69391
68758
  // src/mcp-server/tools/projectsAddProjectDomain.ts
69392
- var args114, tool$projectsAddProjectDomain;
68759
+ var args111, tool$projectsAddProjectDomain;
69393
68760
  var init_projectsAddProjectDomain2 = __esm(() => {
69394
68761
  init_projectsAddProjectDomain();
69395
68762
  init_addprojectdomainop();
69396
68763
  init_tools();
69397
- args114 = {
68764
+ args111 = {
69398
68765
  request: AddProjectDomainRequest$inboundSchema
69399
68766
  };
69400
68767
  tool$projectsAddProjectDomain = {
@@ -69402,9 +68769,9 @@ var init_projectsAddProjectDomain2 = __esm(() => {
69402
68769
  description: `Add a domain to a project
69403
68770
 
69404
68771
  Add a domain to the project by passing its domain name and by specifying the project by either passing the project \`id\` or \`name\` in the URL. If the domain is not yet verified to be used on this project, the request will return \`verified = false\`, and the domain will need to be verified according to the \`verification\` challenge via \`POST /projects/:idOrName/domains/:domain/verify\`. If the domain already exists on the project, the request will fail with a \`400\` status code.`,
69405
- args: args114,
69406
- tool: async (client, args115, ctx) => {
69407
- const [result, apiCall] = await projectsAddProjectDomain(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68772
+ args: args111,
68773
+ tool: async (client, args112, ctx) => {
68774
+ const [result, apiCall] = await projectsAddProjectDomain(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69408
68775
  if (!result.ok) {
69409
68776
  return {
69410
68777
  content: [{ type: "text", text: result.error.message }],
@@ -71806,6 +71173,7 @@ var init_createprojectop = __esm(() => {
71806
71173
  NotificationMonitoringAlert: arrayType(ACLAction$inboundSchema).optional(),
71807
71174
  notificationPaymentFailed: arrayType(ACLAction$inboundSchema).optional(),
71808
71175
  notificationUsageAlert: arrayType(ACLAction$inboundSchema).optional(),
71176
+ notificationPreferences: arrayType(ACLAction$inboundSchema).optional(),
71809
71177
  notificationCustomerBudget: arrayType(ACLAction$inboundSchema).optional(),
71810
71178
  notificationStatementOfReasons: arrayType(ACLAction$inboundSchema).optional(),
71811
71179
  observabilityConfiguration: arrayType(ACLAction$inboundSchema).optional(),
@@ -72017,6 +71385,7 @@ var init_createprojectop = __esm(() => {
72017
71385
  notificationMonitoringAlert: arrayType(ACLAction$outboundSchema).optional(),
72018
71386
  notificationPaymentFailed: arrayType(ACLAction$outboundSchema).optional(),
72019
71387
  notificationUsageAlert: arrayType(ACLAction$outboundSchema).optional(),
71388
+ notificationPreferences: arrayType(ACLAction$outboundSchema).optional(),
72020
71389
  notificationCustomerBudget: arrayType(ACLAction$outboundSchema).optional(),
72021
71390
  notificationStatementOfReasons: arrayType(ACLAction$outboundSchema).optional(),
72022
71391
  observabilityConfiguration: arrayType(ACLAction$outboundSchema).optional(),
@@ -72868,9 +72237,9 @@ var init_createprojectop = __esm(() => {
72868
72237
 
72869
72238
  // src/funcs/projectsCreateProject.ts
72870
72239
  function projectsCreateProject(client, request, options) {
72871
- return new APIPromise($do116(client, request, options));
72240
+ return new APIPromise($do113(client, request, options));
72872
72241
  }
72873
- async function $do116(client, request, options) {
72242
+ async function $do113(client, request, options) {
72874
72243
  const parsed = safeParse(request, (value) => CreateProjectRequest$outboundSchema.parse(value), "Input validation failed");
72875
72244
  if (!parsed.ok) {
72876
72245
  return [parsed, { status: "invalid" }];
@@ -72947,12 +72316,12 @@ var init_projectsCreateProject = __esm(() => {
72947
72316
  });
72948
72317
 
72949
72318
  // src/mcp-server/tools/projectsCreateProject.ts
72950
- var args115, tool$projectsCreateProject;
72319
+ var args112, tool$projectsCreateProject;
72951
72320
  var init_projectsCreateProject2 = __esm(() => {
72952
72321
  init_projectsCreateProject();
72953
72322
  init_createprojectop();
72954
72323
  init_tools();
72955
- args115 = {
72324
+ args112 = {
72956
72325
  request: CreateProjectRequest$inboundSchema
72957
72326
  };
72958
72327
  tool$projectsCreateProject = {
@@ -72960,9 +72329,9 @@ var init_projectsCreateProject2 = __esm(() => {
72960
72329
  description: `Create a new project
72961
72330
 
72962
72331
  Allows to create a new project with the provided configuration. It only requires the project \`name\` but more configuration can be provided to override the defaults.`,
72963
- args: args115,
72964
- tool: async (client, args116, ctx) => {
72965
- const [result, apiCall] = await projectsCreateProject(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
72332
+ args: args112,
72333
+ tool: async (client, args113, ctx) => {
72334
+ const [result, apiCall] = await projectsCreateProject(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
72966
72335
  if (!result.ok) {
72967
72336
  return {
72968
72337
  content: [{ type: "text", text: result.error.message }],
@@ -74406,9 +73775,9 @@ var init_createprojectenvop = __esm(() => {
74406
73775
 
74407
73776
  // src/funcs/projectsCreateProjectEnv.ts
74408
73777
  function projectsCreateProjectEnv(client, request, options) {
74409
- return new APIPromise($do117(client, request, options));
73778
+ return new APIPromise($do114(client, request, options));
74410
73779
  }
74411
- async function $do117(client, request, options) {
73780
+ async function $do114(client, request, options) {
74412
73781
  const parsed = safeParse(request, (value) => CreateProjectEnvRequest$outboundSchema.parse(value), "Input validation failed");
74413
73782
  if (!parsed.ok) {
74414
73783
  return [parsed, { status: "invalid" }];
@@ -74492,12 +73861,12 @@ var init_projectsCreateProjectEnv = __esm(() => {
74492
73861
  });
74493
73862
 
74494
73863
  // src/mcp-server/tools/projectsCreateProjectEnv.ts
74495
- var args116, tool$projectsCreateProjectEnv;
73864
+ var args113, tool$projectsCreateProjectEnv;
74496
73865
  var init_projectsCreateProjectEnv2 = __esm(() => {
74497
73866
  init_projectsCreateProjectEnv();
74498
73867
  init_createprojectenvop();
74499
73868
  init_tools();
74500
- args116 = {
73869
+ args113 = {
74501
73870
  request: CreateProjectEnvRequest$inboundSchema
74502
73871
  };
74503
73872
  tool$projectsCreateProjectEnv = {
@@ -74505,9 +73874,9 @@ var init_projectsCreateProjectEnv2 = __esm(() => {
74505
73874
  description: `Create one or more environment variables
74506
73875
 
74507
73876
  Create one or more environment variables for a project by passing its \`key\`, \`value\`, \`type\` and \`target\` and by specifying the project by either passing the project \`id\` or \`name\` in the URL. If you include \`upsert=true\` as a query parameter, a new environment variable will not be created if it already exists but, the existing variable's value will be updated.`,
74508
- args: args116,
74509
- tool: async (client, args117, ctx) => {
74510
- const [result, apiCall] = await projectsCreateProjectEnv(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
73877
+ args: args113,
73878
+ tool: async (client, args114, ctx) => {
73879
+ const [result, apiCall] = await projectsCreateProjectEnv(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74511
73880
  if (!result.ok) {
74512
73881
  return {
74513
73882
  content: [{ type: "text", text: result.error.message }],
@@ -74575,9 +73944,9 @@ var init_createprojecttransferrequestop = __esm(() => {
74575
73944
 
74576
73945
  // src/funcs/projectsCreateProjectTransferRequest.ts
74577
73946
  function projectsCreateProjectTransferRequest(client, request, options) {
74578
- return new APIPromise($do118(client, request, options));
73947
+ return new APIPromise($do115(client, request, options));
74579
73948
  }
74580
- async function $do118(client, request, options) {
73949
+ async function $do115(client, request, options) {
74581
73950
  const parsed = safeParse(request, (value) => CreateProjectTransferRequestRequest$outboundSchema.parse(value), "Input validation failed");
74582
73951
  if (!parsed.ok) {
74583
73952
  return [parsed, { status: "invalid" }];
@@ -74660,12 +74029,12 @@ var init_projectsCreateProjectTransferRequest = __esm(() => {
74660
74029
  });
74661
74030
 
74662
74031
  // src/mcp-server/tools/projectsCreateProjectTransferRequest.ts
74663
- var args117, tool$projectsCreateProjectTransferRequest;
74032
+ var args114, tool$projectsCreateProjectTransferRequest;
74664
74033
  var init_projectsCreateProjectTransferRequest2 = __esm(() => {
74665
74034
  init_projectsCreateProjectTransferRequest();
74666
74035
  init_createprojecttransferrequestop();
74667
74036
  init_tools();
74668
- args117 = {
74037
+ args114 = {
74669
74038
  request: CreateProjectTransferRequestRequest$inboundSchema
74670
74039
  };
74671
74040
  tool$projectsCreateProjectTransferRequest = {
@@ -74673,9 +74042,9 @@ var init_projectsCreateProjectTransferRequest2 = __esm(() => {
74673
74042
  description: `Create project transfer request
74674
74043
 
74675
74044
  Initiates a project transfer request from one team to another. <br/> Returns a \`code\` that remains valid for 24 hours and can be used to accept the transfer request by another team using the \`PUT /projects/transfer-request/:code\` endpoint. <br/> Users can also accept the project transfer request using the claim URL: \`https://vercel.com/claim-deployment?code=<code>&returnUrl=<returnUrl>\`. <br/> The \`code\` parameter specifies the project transfer request code generated using this endpoint. <br/> The \`returnUrl\` parameter redirects users to a specific page of the application if the claim URL is invalid or expired.`,
74676
- args: args117,
74677
- tool: async (client, args118, ctx) => {
74678
- const [result, apiCall] = await projectsCreateProjectTransferRequest(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74045
+ args: args114,
74046
+ tool: async (client, args115, ctx) => {
74047
+ const [result, apiCall] = await projectsCreateProjectTransferRequest(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74679
74048
  if (!result.ok) {
74680
74049
  return {
74681
74050
  content: [{ type: "text", text: result.error.message }],
@@ -74710,9 +74079,9 @@ var init_deleteprojectop = __esm(() => {
74710
74079
 
74711
74080
  // src/funcs/projectsDeleteProject.ts
74712
74081
  function projectsDeleteProject(client, request, options) {
74713
- return new APIPromise($do119(client, request, options));
74082
+ return new APIPromise($do116(client, request, options));
74714
74083
  }
74715
- async function $do119(client, request, options) {
74084
+ async function $do116(client, request, options) {
74716
74085
  const parsed = safeParse(request, (value) => DeleteProjectRequest$outboundSchema.parse(value), "Input validation failed");
74717
74086
  if (!parsed.ok) {
74718
74087
  return [parsed, { status: "invalid" }];
@@ -74795,12 +74164,12 @@ var init_projectsDeleteProject = __esm(() => {
74795
74164
  });
74796
74165
 
74797
74166
  // src/mcp-server/tools/projectsDeleteProject.ts
74798
- var args118, tool$projectsDeleteProject;
74167
+ var args115, tool$projectsDeleteProject;
74799
74168
  var init_projectsDeleteProject2 = __esm(() => {
74800
74169
  init_projectsDeleteProject();
74801
74170
  init_deleteprojectop();
74802
74171
  init_tools();
74803
- args118 = {
74172
+ args115 = {
74804
74173
  request: DeleteProjectRequest$inboundSchema
74805
74174
  };
74806
74175
  tool$projectsDeleteProject = {
@@ -74808,9 +74177,9 @@ var init_projectsDeleteProject2 = __esm(() => {
74808
74177
  description: `Delete a Project
74809
74178
 
74810
74179
  Delete a specific project by passing either the project \`id\` or \`name\` in the URL.`,
74811
- args: args118,
74812
- tool: async (client, args119, ctx) => {
74813
- const [result, apiCall] = await projectsDeleteProject(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74180
+ args: args115,
74181
+ tool: async (client, args116, ctx) => {
74182
+ const [result, apiCall] = await projectsDeleteProject(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74814
74183
  if (!result.ok) {
74815
74184
  return {
74816
74185
  content: [{ type: "text", text: result.error.message }],
@@ -75409,9 +74778,9 @@ var init_editprojectenvop = __esm(() => {
75409
74778
 
75410
74779
  // src/funcs/projectsEditProjectEnv.ts
75411
74780
  function projectsEditProjectEnv(client, request, options) {
75412
- return new APIPromise($do120(client, request, options));
74781
+ return new APIPromise($do117(client, request, options));
75413
74782
  }
75414
- async function $do120(client, request, options) {
74783
+ async function $do117(client, request, options) {
75415
74784
  const parsed = safeParse(request, (value) => EditProjectEnvRequest$outboundSchema.parse(value), "Input validation failed");
75416
74785
  if (!parsed.ok) {
75417
74786
  return [parsed, { status: "invalid" }];
@@ -75498,12 +74867,12 @@ var init_projectsEditProjectEnv = __esm(() => {
75498
74867
  });
75499
74868
 
75500
74869
  // src/mcp-server/tools/projectsEditProjectEnv.ts
75501
- var args119, tool$projectsEditProjectEnv;
74870
+ var args116, tool$projectsEditProjectEnv;
75502
74871
  var init_projectsEditProjectEnv2 = __esm(() => {
75503
74872
  init_projectsEditProjectEnv();
75504
74873
  init_editprojectenvop();
75505
74874
  init_tools();
75506
- args119 = {
74875
+ args116 = {
75507
74876
  request: EditProjectEnvRequest$inboundSchema
75508
74877
  };
75509
74878
  tool$projectsEditProjectEnv = {
@@ -75511,9 +74880,9 @@ var init_projectsEditProjectEnv2 = __esm(() => {
75511
74880
  description: `Edit an environment variable
75512
74881
 
75513
74882
  Edit a specific environment variable for a given project by passing the environment variable identifier and either passing the project \`id\` or \`name\` in the URL.`,
75514
- args: args119,
75515
- tool: async (client, args120, ctx) => {
75516
- const [result, apiCall] = await projectsEditProjectEnv(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74883
+ args: args116,
74884
+ tool: async (client, args117, ctx) => {
74885
+ const [result, apiCall] = await projectsEditProjectEnv(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75517
74886
  if (!result.ok) {
75518
74887
  return {
75519
74888
  content: [{ type: "text", text: result.error.message }],
@@ -77150,9 +76519,9 @@ var init_filterprojectenvsop = __esm(() => {
77150
76519
 
77151
76520
  // src/funcs/projectsFilterProjectEnvs.ts
77152
76521
  function projectsFilterProjectEnvs(client, request, options) {
77153
- return new APIPromise($do121(client, request, options));
76522
+ return new APIPromise($do118(client, request, options));
77154
76523
  }
77155
- async function $do121(client, request, options) {
76524
+ async function $do118(client, request, options) {
77156
76525
  const parsed = safeParse(request, (value) => FilterProjectEnvsRequest$outboundSchema.parse(value), "Input validation failed");
77157
76526
  if (!parsed.ok) {
77158
76527
  return [parsed, { status: "invalid" }];
@@ -77239,12 +76608,12 @@ var init_projectsFilterProjectEnvs = __esm(() => {
77239
76608
  });
77240
76609
 
77241
76610
  // src/mcp-server/tools/projectsFilterProjectEnvs.ts
77242
- var args120, tool$projectsFilterProjectEnvs;
76611
+ var args117, tool$projectsFilterProjectEnvs;
77243
76612
  var init_projectsFilterProjectEnvs2 = __esm(() => {
77244
76613
  init_projectsFilterProjectEnvs();
77245
76614
  init_filterprojectenvsop();
77246
76615
  init_tools();
77247
- args120 = {
76616
+ args117 = {
77248
76617
  request: FilterProjectEnvsRequest$inboundSchema
77249
76618
  };
77250
76619
  tool$projectsFilterProjectEnvs = {
@@ -77252,9 +76621,9 @@ var init_projectsFilterProjectEnvs2 = __esm(() => {
77252
76621
  description: `Retrieve the environment variables of a project by id or name
77253
76622
 
77254
76623
  Retrieve the environment variables for a given project by passing either the project \`id\` or \`name\` in the URL.`,
77255
- args: args120,
77256
- tool: async (client, args121, ctx) => {
77257
- const [result, apiCall] = await projectsFilterProjectEnvs(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76624
+ args: args117,
76625
+ tool: async (client, args118, ctx) => {
76626
+ const [result, apiCall] = await projectsFilterProjectEnvs(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77258
76627
  if (!result.ok) {
77259
76628
  return {
77260
76629
  content: [{ type: "text", text: result.error.message }],
@@ -77337,9 +76706,9 @@ var init_getprojectdomainop = __esm(() => {
77337
76706
 
77338
76707
  // src/funcs/projectsGetProjectDomain.ts
77339
76708
  function projectsGetProjectDomain(client, request, options) {
77340
- return new APIPromise($do122(client, request, options));
76709
+ return new APIPromise($do119(client, request, options));
77341
76710
  }
77342
- async function $do122(client, request, options) {
76711
+ async function $do119(client, request, options) {
77343
76712
  const parsed = safeParse(request, (value) => GetProjectDomainRequest$outboundSchema.parse(value), "Input validation failed");
77344
76713
  if (!parsed.ok) {
77345
76714
  return [parsed, { status: "invalid" }];
@@ -77425,12 +76794,12 @@ var init_projectsGetProjectDomain = __esm(() => {
77425
76794
  });
77426
76795
 
77427
76796
  // src/mcp-server/tools/projectsGetProjectDomain.ts
77428
- var args121, tool$projectsGetProjectDomain;
76797
+ var args118, tool$projectsGetProjectDomain;
77429
76798
  var init_projectsGetProjectDomain2 = __esm(() => {
77430
76799
  init_projectsGetProjectDomain();
77431
76800
  init_getprojectdomainop();
77432
76801
  init_tools();
77433
- args121 = {
76802
+ args118 = {
77434
76803
  request: GetProjectDomainRequest$inboundSchema
77435
76804
  };
77436
76805
  tool$projectsGetProjectDomain = {
@@ -77438,9 +76807,9 @@ var init_projectsGetProjectDomain2 = __esm(() => {
77438
76807
  description: `Get a project domain
77439
76808
 
77440
76809
  Get project domain by project id/name and domain name.`,
77441
- args: args121,
77442
- tool: async (client, args122, ctx) => {
77443
- const [result, apiCall] = await projectsGetProjectDomain(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76810
+ args: args118,
76811
+ tool: async (client, args119, ctx) => {
76812
+ const [result, apiCall] = await projectsGetProjectDomain(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77444
76813
  if (!result.ok) {
77445
76814
  return {
77446
76815
  content: [{ type: "text", text: result.error.message }],
@@ -77690,9 +77059,9 @@ var init_getprojectdomainsop = __esm(() => {
77690
77059
 
77691
77060
  // src/funcs/projectsGetProjectDomains.ts
77692
77061
  function projectsGetProjectDomains(client, request, options) {
77693
- return new APIPromise($do123(client, request, options));
77062
+ return new APIPromise($do120(client, request, options));
77694
77063
  }
77695
- async function $do123(client, request, options) {
77064
+ async function $do120(client, request, options) {
77696
77065
  const parsed = safeParse(request, (value) => GetProjectDomainsRequest$outboundSchema.parse(value), "Input validation failed");
77697
77066
  if (!parsed.ok) {
77698
77067
  return [parsed, { status: "invalid" }];
@@ -77785,12 +77154,12 @@ var init_projectsGetProjectDomains = __esm(() => {
77785
77154
  });
77786
77155
 
77787
77156
  // src/mcp-server/tools/projectsGetProjectDomains.ts
77788
- var args122, tool$projectsGetProjectDomains;
77157
+ var args119, tool$projectsGetProjectDomains;
77789
77158
  var init_projectsGetProjectDomains2 = __esm(() => {
77790
77159
  init_projectsGetProjectDomains();
77791
77160
  init_getprojectdomainsop();
77792
77161
  init_tools();
77793
- args122 = {
77162
+ args119 = {
77794
77163
  request: GetProjectDomainsRequest$inboundSchema
77795
77164
  };
77796
77165
  tool$projectsGetProjectDomains = {
@@ -77798,9 +77167,9 @@ var init_projectsGetProjectDomains2 = __esm(() => {
77798
77167
  description: `Retrieve project domains by project by id or name
77799
77168
 
77800
77169
  Retrieve the domains associated with a given project by passing either the project \`id\` or \`name\` in the URL.`,
77801
- args: args122,
77802
- tool: async (client, args123, ctx) => {
77803
- const [result, apiCall] = await projectsGetProjectDomains(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77170
+ args: args119,
77171
+ tool: async (client, args120, ctx) => {
77172
+ const [result, apiCall] = await projectsGetProjectDomains(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77804
77173
  if (!result.ok) {
77805
77174
  return {
77806
77175
  content: [{ type: "text", text: result.error.message }],
@@ -79373,9 +78742,9 @@ var init_getprojectenvop = __esm(() => {
79373
78742
 
79374
78743
  // src/funcs/projectsGetProjectEnv.ts
79375
78744
  function projectsGetProjectEnv(client, request, options) {
79376
- return new APIPromise($do124(client, request, options));
78745
+ return new APIPromise($do121(client, request, options));
79377
78746
  }
79378
- async function $do124(client, request, options) {
78747
+ async function $do121(client, request, options) {
79379
78748
  const parsed = safeParse(request, (value) => GetProjectEnvRequest$outboundSchema.parse(value), "Input validation failed");
79380
78749
  if (!parsed.ok) {
79381
78750
  return [parsed, { status: "invalid" }];
@@ -79461,12 +78830,12 @@ var init_projectsGetProjectEnv = __esm(() => {
79461
78830
  });
79462
78831
 
79463
78832
  // src/mcp-server/tools/projectsGetProjectEnv.ts
79464
- var args123, tool$projectsGetProjectEnv;
78833
+ var args120, tool$projectsGetProjectEnv;
79465
78834
  var init_projectsGetProjectEnv2 = __esm(() => {
79466
78835
  init_projectsGetProjectEnv();
79467
78836
  init_getprojectenvop();
79468
78837
  init_tools();
79469
- args123 = {
78838
+ args120 = {
79470
78839
  request: GetProjectEnvRequest$inboundSchema
79471
78840
  };
79472
78841
  tool$projectsGetProjectEnv = {
@@ -79474,9 +78843,9 @@ var init_projectsGetProjectEnv2 = __esm(() => {
79474
78843
  description: `Retrieve the decrypted value of an environment variable of a project by id
79475
78844
 
79476
78845
  Retrieve the environment variable for a given project.`,
79477
- args: args123,
79478
- tool: async (client, args124, ctx) => {
79479
- const [result, apiCall] = await projectsGetProjectEnv(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78846
+ args: args120,
78847
+ tool: async (client, args121, ctx) => {
78848
+ const [result, apiCall] = await projectsGetProjectEnv(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
79480
78849
  if (!result.ok) {
79481
78850
  return {
79482
78851
  content: [{ type: "text", text: result.error.message }],
@@ -81635,6 +81004,7 @@ var init_getprojectsop = __esm(() => {
81635
81004
  NotificationMonitoringAlert: arrayType(ACLAction$inboundSchema).optional(),
81636
81005
  notificationPaymentFailed: arrayType(ACLAction$inboundSchema).optional(),
81637
81006
  notificationUsageAlert: arrayType(ACLAction$inboundSchema).optional(),
81007
+ notificationPreferences: arrayType(ACLAction$inboundSchema).optional(),
81638
81008
  notificationCustomerBudget: arrayType(ACLAction$inboundSchema).optional(),
81639
81009
  notificationStatementOfReasons: arrayType(ACLAction$inboundSchema).optional(),
81640
81010
  observabilityConfiguration: arrayType(ACLAction$inboundSchema).optional(),
@@ -81846,6 +81216,7 @@ var init_getprojectsop = __esm(() => {
81846
81216
  notificationMonitoringAlert: arrayType(ACLAction$outboundSchema).optional(),
81847
81217
  notificationPaymentFailed: arrayType(ACLAction$outboundSchema).optional(),
81848
81218
  notificationUsageAlert: arrayType(ACLAction$outboundSchema).optional(),
81219
+ notificationPreferences: arrayType(ACLAction$outboundSchema).optional(),
81849
81220
  notificationCustomerBudget: arrayType(ACLAction$outboundSchema).optional(),
81850
81221
  notificationStatementOfReasons: arrayType(ACLAction$outboundSchema).optional(),
81851
81222
  observabilityConfiguration: arrayType(ACLAction$outboundSchema).optional(),
@@ -82709,9 +82080,9 @@ var init_getprojectsop = __esm(() => {
82709
82080
 
82710
82081
  // src/funcs/projectsGetProjects.ts
82711
82082
  function projectsGetProjects(client, request, options) {
82712
- return new APIPromise($do125(client, request, options));
82083
+ return new APIPromise($do122(client, request, options));
82713
82084
  }
82714
- async function $do125(client, request, options) {
82085
+ async function $do122(client, request, options) {
82715
82086
  const parsed = safeParse(request, (value) => GetProjectsRequest$outboundSchema.parse(value), "Input validation failed");
82716
82087
  if (!parsed.ok) {
82717
82088
  return [parsed, { status: "invalid" }];
@@ -82798,12 +82169,12 @@ var init_projectsGetProjects = __esm(() => {
82798
82169
  });
82799
82170
 
82800
82171
  // src/mcp-server/tools/projectsGetProjects.ts
82801
- var args124, tool$projectsGetProjects;
82172
+ var args121, tool$projectsGetProjects;
82802
82173
  var init_projectsGetProjects2 = __esm(() => {
82803
82174
  init_projectsGetProjects();
82804
82175
  init_getprojectsop();
82805
82176
  init_tools();
82806
- args124 = {
82177
+ args121 = {
82807
82178
  request: GetProjectsRequest$inboundSchema
82808
82179
  };
82809
82180
  tool$projectsGetProjects = {
@@ -82811,9 +82182,9 @@ var init_projectsGetProjects2 = __esm(() => {
82811
82182
  description: `Retrieve a list of projects
82812
82183
 
82813
82184
  Allows to retrieve the list of projects of the authenticated user or team. The list will be paginated and the provided query parameters allow filtering the returned projects.`,
82814
- args: args124,
82815
- tool: async (client, args125, ctx) => {
82816
- const [result, apiCall] = await projectsGetProjects(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
82185
+ args: args121,
82186
+ tool: async (client, args122, ctx) => {
82187
+ const [result, apiCall] = await projectsGetProjects(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
82817
82188
  if (!result.ok) {
82818
82189
  return {
82819
82190
  content: [{ type: "text", text: result.error.message }],
@@ -82901,9 +82272,9 @@ var init_listpromotealiasesop = __esm(() => {
82901
82272
 
82902
82273
  // src/funcs/projectsListPromoteAliases.ts
82903
82274
  function projectsListPromoteAliases(client, request, options) {
82904
- return new APIPromise($do126(client, request, options));
82275
+ return new APIPromise($do123(client, request, options));
82905
82276
  }
82906
- async function $do126(client, request, options) {
82277
+ async function $do123(client, request, options) {
82907
82278
  const parsed = safeParse(request, (value) => ListPromoteAliasesRequest$outboundSchema.parse(value), "Input validation failed");
82908
82279
  if (!parsed.ok) {
82909
82280
  return [parsed, { status: "invalid" }];
@@ -82990,12 +82361,12 @@ var init_projectsListPromoteAliases = __esm(() => {
82990
82361
  });
82991
82362
 
82992
82363
  // src/mcp-server/tools/projectsListPromoteAliases.ts
82993
- var args125, tool$projectsListPromoteAliases;
82364
+ var args122, tool$projectsListPromoteAliases;
82994
82365
  var init_projectsListPromoteAliases2 = __esm(() => {
82995
82366
  init_projectsListPromoteAliases();
82996
82367
  init_listpromotealiasesop();
82997
82368
  init_tools();
82998
- args125 = {
82369
+ args122 = {
82999
82370
  request: ListPromoteAliasesRequest$inboundSchema
83000
82371
  };
83001
82372
  tool$projectsListPromoteAliases = {
@@ -83003,9 +82374,9 @@ var init_projectsListPromoteAliases2 = __esm(() => {
83003
82374
  description: `Gets a list of aliases with status for the current promote
83004
82375
 
83005
82376
  Get a list of aliases related to the last promote request with their mapping status`,
83006
- args: args125,
83007
- tool: async (client, args126, ctx) => {
83008
- const [result, apiCall] = await projectsListPromoteAliases(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
82377
+ args: args122,
82378
+ tool: async (client, args123, ctx) => {
82379
+ const [result, apiCall] = await projectsListPromoteAliases(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
83009
82380
  if (!result.ok) {
83010
82381
  return {
83011
82382
  content: [{ type: "text", text: result.error.message }],
@@ -83109,9 +82480,9 @@ var init_moveprojectdomainop = __esm(() => {
83109
82480
 
83110
82481
  // src/funcs/projectsMoveProjectDomain.ts
83111
82482
  function projectsMoveProjectDomain(client, request, options) {
83112
- return new APIPromise($do127(client, request, options));
82483
+ return new APIPromise($do124(client, request, options));
83113
82484
  }
83114
- async function $do127(client, request, options) {
82485
+ async function $do124(client, request, options) {
83115
82486
  const parsed = safeParse(request, (value) => MoveProjectDomainRequest$outboundSchema.parse(value), "Input validation failed");
83116
82487
  if (!parsed.ok) {
83117
82488
  return [parsed, { status: "invalid" }];
@@ -83198,12 +82569,12 @@ var init_projectsMoveProjectDomain = __esm(() => {
83198
82569
  });
83199
82570
 
83200
82571
  // src/mcp-server/tools/projectsMoveProjectDomain.ts
83201
- var args126, tool$projectsMoveProjectDomain;
82572
+ var args123, tool$projectsMoveProjectDomain;
83202
82573
  var init_projectsMoveProjectDomain2 = __esm(() => {
83203
82574
  init_projectsMoveProjectDomain();
83204
82575
  init_moveprojectdomainop();
83205
82576
  init_tools();
83206
- args126 = {
82577
+ args123 = {
83207
82578
  request: MoveProjectDomainRequest$inboundSchema
83208
82579
  };
83209
82580
  tool$projectsMoveProjectDomain = {
@@ -83211,9 +82582,9 @@ var init_projectsMoveProjectDomain2 = __esm(() => {
83211
82582
  description: `Move a project domain
83212
82583
 
83213
82584
  Move one project's domain to another project. Also allows the move of all redirects pointed to that domain in the same project.`,
83214
- args: args126,
83215
- tool: async (client, args127, ctx) => {
83216
- const [result, apiCall] = await projectsMoveProjectDomain(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
82585
+ args: args123,
82586
+ tool: async (client, args124, ctx) => {
82587
+ const [result, apiCall] = await projectsMoveProjectDomain(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
83217
82588
  if (!result.ok) {
83218
82589
  return {
83219
82590
  content: [{ type: "text", text: result.error.message }],
@@ -83248,9 +82619,9 @@ var init_pauseprojectop = __esm(() => {
83248
82619
 
83249
82620
  // src/funcs/projectsPauseProject.ts
83250
82621
  function projectsPauseProject(client, request, options) {
83251
- return new APIPromise($do128(client, request, options));
82622
+ return new APIPromise($do125(client, request, options));
83252
82623
  }
83253
- async function $do128(client, request, options) {
82624
+ async function $do125(client, request, options) {
83254
82625
  const parsed = safeParse(request, (value) => PauseProjectRequest$outboundSchema.parse(value), "Input validation failed");
83255
82626
  if (!parsed.ok) {
83256
82627
  return [parsed, { status: "invalid" }];
@@ -83333,12 +82704,12 @@ var init_projectsPauseProject = __esm(() => {
83333
82704
  });
83334
82705
 
83335
82706
  // src/mcp-server/tools/projectsPauseProject.ts
83336
- var args127, tool$projectsPauseProject;
82707
+ var args124, tool$projectsPauseProject;
83337
82708
  var init_projectsPauseProject2 = __esm(() => {
83338
82709
  init_projectsPauseProject();
83339
82710
  init_pauseprojectop();
83340
82711
  init_tools();
83341
- args127 = {
82712
+ args124 = {
83342
82713
  request: PauseProjectRequest$inboundSchema
83343
82714
  };
83344
82715
  tool$projectsPauseProject = {
@@ -83346,9 +82717,9 @@ var init_projectsPauseProject2 = __esm(() => {
83346
82717
  description: `Pause a project
83347
82718
 
83348
82719
  Pause a project by passing its project \`id\` in the URL. If the project does not exist given the id then the request will fail with 400 status code. If the project disables auto assigning custom production domains and blocks the active Production Deployment then the request will return with 200 status code.`,
83349
- args: args127,
83350
- tool: async (client, args128, ctx) => {
83351
- const [result, apiCall] = await projectsPauseProject(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
82720
+ args: args124,
82721
+ tool: async (client, args125, ctx) => {
82722
+ const [result, apiCall] = await projectsPauseProject(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
83352
82723
  if (!result.ok) {
83353
82724
  return {
83354
82725
  content: [{ type: "text", text: result.error.message }],
@@ -83411,9 +82782,9 @@ var init_removeprojectdomainop = __esm(() => {
83411
82782
 
83412
82783
  // src/funcs/projectsRemoveProjectDomain.ts
83413
82784
  function projectsRemoveProjectDomain(client, request, options) {
83414
- return new APIPromise($do129(client, request, options));
82785
+ return new APIPromise($do126(client, request, options));
83415
82786
  }
83416
- async function $do129(client, request, options) {
82787
+ async function $do126(client, request, options) {
83417
82788
  const parsed = safeParse(request, (value) => RemoveProjectDomainRequest$outboundSchema.parse(value), "Input validation failed");
83418
82789
  if (!parsed.ok) {
83419
82790
  return [parsed, { status: "invalid" }];
@@ -83501,12 +82872,12 @@ var init_projectsRemoveProjectDomain = __esm(() => {
83501
82872
  });
83502
82873
 
83503
82874
  // src/mcp-server/tools/projectsRemoveProjectDomain.ts
83504
- var args128, tool$projectsRemoveProjectDomain;
82875
+ var args125, tool$projectsRemoveProjectDomain;
83505
82876
  var init_projectsRemoveProjectDomain2 = __esm(() => {
83506
82877
  init_projectsRemoveProjectDomain();
83507
82878
  init_removeprojectdomainop();
83508
82879
  init_tools();
83509
- args128 = {
82880
+ args125 = {
83510
82881
  request: RemoveProjectDomainRequest$inboundSchema
83511
82882
  };
83512
82883
  tool$projectsRemoveProjectDomain = {
@@ -83514,9 +82885,9 @@ var init_projectsRemoveProjectDomain2 = __esm(() => {
83514
82885
  description: `Remove a domain from a project
83515
82886
 
83516
82887
  Remove a domain from a project by passing the domain name and by specifying the project by either passing the project \`id\` or \`name\` in the URL.`,
83517
- args: args128,
83518
- tool: async (client, args129, ctx) => {
83519
- const [result, apiCall] = await projectsRemoveProjectDomain(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
82888
+ args: args125,
82889
+ tool: async (client, args126, ctx) => {
82890
+ const [result, apiCall] = await projectsRemoveProjectDomain(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
83520
82891
  if (!result.ok) {
83521
82892
  return {
83522
82893
  content: [{ type: "text", text: result.error.message }],
@@ -85110,9 +84481,9 @@ var init_removeprojectenvop = __esm(() => {
85110
84481
 
85111
84482
  // src/funcs/projectsRemoveProjectEnv.ts
85112
84483
  function projectsRemoveProjectEnv(client, request, options) {
85113
- return new APIPromise($do130(client, request, options));
84484
+ return new APIPromise($do127(client, request, options));
85114
84485
  }
85115
- async function $do130(client, request, options) {
84486
+ async function $do127(client, request, options) {
85116
84487
  const parsed = safeParse(request, (value) => RemoveProjectEnvRequest$outboundSchema.parse(value), "Input validation failed");
85117
84488
  if (!parsed.ok) {
85118
84489
  return [parsed, { status: "invalid" }];
@@ -85200,12 +84571,12 @@ var init_projectsRemoveProjectEnv = __esm(() => {
85200
84571
  });
85201
84572
 
85202
84573
  // src/mcp-server/tools/projectsRemoveProjectEnv.ts
85203
- var args129, tool$projectsRemoveProjectEnv;
84574
+ var args126, tool$projectsRemoveProjectEnv;
85204
84575
  var init_projectsRemoveProjectEnv2 = __esm(() => {
85205
84576
  init_projectsRemoveProjectEnv();
85206
84577
  init_removeprojectenvop();
85207
84578
  init_tools();
85208
- args129 = {
84579
+ args126 = {
85209
84580
  request: RemoveProjectEnvRequest$inboundSchema
85210
84581
  };
85211
84582
  tool$projectsRemoveProjectEnv = {
@@ -85213,9 +84584,9 @@ var init_projectsRemoveProjectEnv2 = __esm(() => {
85213
84584
  description: `Remove an environment variable
85214
84585
 
85215
84586
  Delete a specific environment variable for a given project by passing the environment variable identifier and either passing the project \`id\` or \`name\` in the URL.`,
85216
- args: args129,
85217
- tool: async (client, args130, ctx) => {
85218
- const [result, apiCall] = await projectsRemoveProjectEnv(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
84587
+ args: args126,
84588
+ tool: async (client, args127, ctx) => {
84589
+ const [result, apiCall] = await projectsRemoveProjectEnv(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
85219
84590
  if (!result.ok) {
85220
84591
  return {
85221
84592
  content: [{ type: "text", text: result.error.message }],
@@ -85252,9 +84623,9 @@ var init_requestpromoteop = __esm(() => {
85252
84623
 
85253
84624
  // src/funcs/projectsRequestPromote.ts
85254
84625
  function projectsRequestPromote(client, request, options) {
85255
- return new APIPromise($do131(client, request, options));
84626
+ return new APIPromise($do128(client, request, options));
85256
84627
  }
85257
- async function $do131(client, request, options) {
84628
+ async function $do128(client, request, options) {
85258
84629
  const parsed = safeParse(request, (value) => RequestPromoteRequest$outboundSchema.parse(value), "Input validation failed");
85259
84630
  if (!parsed.ok) {
85260
84631
  return [parsed, { status: "invalid" }];
@@ -85341,12 +84712,12 @@ var init_projectsRequestPromote = __esm(() => {
85341
84712
  });
85342
84713
 
85343
84714
  // src/mcp-server/tools/projectsRequestPromote.ts
85344
- var args130, tool$projectsRequestPromote;
84715
+ var args127, tool$projectsRequestPromote;
85345
84716
  var init_projectsRequestPromote2 = __esm(() => {
85346
84717
  init_projectsRequestPromote();
85347
84718
  init_requestpromoteop();
85348
84719
  init_tools();
85349
- args130 = {
84720
+ args127 = {
85350
84721
  request: RequestPromoteRequest$inboundSchema
85351
84722
  };
85352
84723
  tool$projectsRequestPromote = {
@@ -85354,9 +84725,9 @@ var init_projectsRequestPromote2 = __esm(() => {
85354
84725
  description: `Points all production domains for a project to the given deploy
85355
84726
 
85356
84727
  Allows users to promote a deployment to production. Note: This does NOT rebuild the deployment. If you need that, then call create-deployments endpoint.`,
85357
- args: args130,
85358
- tool: async (client, args131, ctx) => {
85359
- const [result, apiCall] = await projectsRequestPromote(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
84728
+ args: args127,
84729
+ tool: async (client, args128, ctx) => {
84730
+ const [result, apiCall] = await projectsRequestPromote(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
85360
84731
  if (!result.ok) {
85361
84732
  return {
85362
84733
  content: [{ type: "text", text: result.error.message }],
@@ -85390,9 +84761,9 @@ var init_unpauseprojectop = __esm(() => {
85390
84761
 
85391
84762
  // src/funcs/projectsUnpauseProject.ts
85392
84763
  function projectsUnpauseProject(client, request, options) {
85393
- return new APIPromise($do132(client, request, options));
84764
+ return new APIPromise($do129(client, request, options));
85394
84765
  }
85395
- async function $do132(client, request, options) {
84766
+ async function $do129(client, request, options) {
85396
84767
  const parsed = safeParse(request, (value) => UnpauseProjectRequest$outboundSchema.parse(value), "Input validation failed");
85397
84768
  if (!parsed.ok) {
85398
84769
  return [parsed, { status: "invalid" }];
@@ -85475,12 +84846,12 @@ var init_projectsUnpauseProject = __esm(() => {
85475
84846
  });
85476
84847
 
85477
84848
  // src/mcp-server/tools/projectsUnpauseProject.ts
85478
- var args131, tool$projectsUnpauseProject;
84849
+ var args128, tool$projectsUnpauseProject;
85479
84850
  var init_projectsUnpauseProject2 = __esm(() => {
85480
84851
  init_projectsUnpauseProject();
85481
84852
  init_unpauseprojectop();
85482
84853
  init_tools();
85483
- args131 = {
84854
+ args128 = {
85484
84855
  request: UnpauseProjectRequest$inboundSchema
85485
84856
  };
85486
84857
  tool$projectsUnpauseProject = {
@@ -85488,9 +84859,9 @@ var init_projectsUnpauseProject2 = __esm(() => {
85488
84859
  description: `Unpause a project
85489
84860
 
85490
84861
  Unpause a project by passing its project \`id\` in the URL. If the project does not exist given the id then the request will fail with 400 status code. If the project enables auto assigning custom production domains and unblocks the active Production Deployment then the request will return with 200 status code.`,
85491
- args: args131,
85492
- tool: async (client, args132, ctx) => {
85493
- const [result, apiCall] = await projectsUnpauseProject(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
84862
+ args: args128,
84863
+ tool: async (client, args129, ctx) => {
84864
+ const [result, apiCall] = await projectsUnpauseProject(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
85494
84865
  if (!result.ok) {
85495
84866
  return {
85496
84867
  content: [{ type: "text", text: result.error.message }],
@@ -87948,6 +87319,7 @@ var init_updateprojectop = __esm(() => {
87948
87319
  NotificationMonitoringAlert: arrayType(ACLAction$inboundSchema).optional(),
87949
87320
  notificationPaymentFailed: arrayType(ACLAction$inboundSchema).optional(),
87950
87321
  notificationUsageAlert: arrayType(ACLAction$inboundSchema).optional(),
87322
+ notificationPreferences: arrayType(ACLAction$inboundSchema).optional(),
87951
87323
  notificationCustomerBudget: arrayType(ACLAction$inboundSchema).optional(),
87952
87324
  notificationStatementOfReasons: arrayType(ACLAction$inboundSchema).optional(),
87953
87325
  observabilityConfiguration: arrayType(ACLAction$inboundSchema).optional(),
@@ -88159,6 +87531,7 @@ var init_updateprojectop = __esm(() => {
88159
87531
  notificationMonitoringAlert: arrayType(ACLAction$outboundSchema).optional(),
88160
87532
  notificationPaymentFailed: arrayType(ACLAction$outboundSchema).optional(),
88161
87533
  notificationUsageAlert: arrayType(ACLAction$outboundSchema).optional(),
87534
+ notificationPreferences: arrayType(ACLAction$outboundSchema).optional(),
88162
87535
  notificationCustomerBudget: arrayType(ACLAction$outboundSchema).optional(),
88163
87536
  notificationStatementOfReasons: arrayType(ACLAction$outboundSchema).optional(),
88164
87537
  observabilityConfiguration: arrayType(ACLAction$outboundSchema).optional(),
@@ -89010,9 +88383,9 @@ var init_updateprojectop = __esm(() => {
89010
88383
 
89011
88384
  // src/funcs/projectsUpdateProject.ts
89012
88385
  function projectsUpdateProject(client, request, options) {
89013
- return new APIPromise($do133(client, request, options));
88386
+ return new APIPromise($do130(client, request, options));
89014
88387
  }
89015
- async function $do133(client, request, options) {
88388
+ async function $do130(client, request, options) {
89016
88389
  const parsed = safeParse(request, (value) => UpdateProjectRequest$outboundSchema.parse(value), "Input validation failed");
89017
88390
  if (!parsed.ok) {
89018
88391
  return [parsed, { status: "invalid" }];
@@ -89096,12 +88469,12 @@ var init_projectsUpdateProject = __esm(() => {
89096
88469
  });
89097
88470
 
89098
88471
  // src/mcp-server/tools/projectsUpdateProject.ts
89099
- var args132, tool$projectsUpdateProject;
88472
+ var args129, tool$projectsUpdateProject;
89100
88473
  var init_projectsUpdateProject2 = __esm(() => {
89101
88474
  init_projectsUpdateProject();
89102
88475
  init_updateprojectop();
89103
88476
  init_tools();
89104
- args132 = {
88477
+ args129 = {
89105
88478
  request: UpdateProjectRequest$inboundSchema
89106
88479
  };
89107
88480
  tool$projectsUpdateProject = {
@@ -89109,9 +88482,9 @@ var init_projectsUpdateProject2 = __esm(() => {
89109
88482
  description: `Update an existing project
89110
88483
 
89111
88484
  Update the fields of a project using either its \`name\` or \`id\`.`,
89112
- args: args132,
89113
- tool: async (client, args133, ctx) => {
89114
- const [result, apiCall] = await projectsUpdateProject(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
88485
+ args: args129,
88486
+ tool: async (client, args130, ctx) => {
88487
+ const [result, apiCall] = await projectsUpdateProject(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
89115
88488
  if (!result.ok) {
89116
88489
  return {
89117
88490
  content: [{ type: "text", text: result.error.message }],
@@ -91195,6 +90568,7 @@ var init_updateprojectdatacacheop = __esm(() => {
91195
90568
  NotificationMonitoringAlert: arrayType(ACLAction$inboundSchema).optional(),
91196
90569
  notificationPaymentFailed: arrayType(ACLAction$inboundSchema).optional(),
91197
90570
  notificationUsageAlert: arrayType(ACLAction$inboundSchema).optional(),
90571
+ notificationPreferences: arrayType(ACLAction$inboundSchema).optional(),
91198
90572
  notificationCustomerBudget: arrayType(ACLAction$inboundSchema).optional(),
91199
90573
  notificationStatementOfReasons: arrayType(ACLAction$inboundSchema).optional(),
91200
90574
  observabilityConfiguration: arrayType(ACLAction$inboundSchema).optional(),
@@ -91406,6 +90780,7 @@ var init_updateprojectdatacacheop = __esm(() => {
91406
90780
  notificationMonitoringAlert: arrayType(ACLAction$outboundSchema).optional(),
91407
90781
  notificationPaymentFailed: arrayType(ACLAction$outboundSchema).optional(),
91408
90782
  notificationUsageAlert: arrayType(ACLAction$outboundSchema).optional(),
90783
+ notificationPreferences: arrayType(ACLAction$outboundSchema).optional(),
91409
90784
  notificationCustomerBudget: arrayType(ACLAction$outboundSchema).optional(),
91410
90785
  notificationStatementOfReasons: arrayType(ACLAction$outboundSchema).optional(),
91411
90786
  observabilityConfiguration: arrayType(ACLAction$outboundSchema).optional(),
@@ -92333,9 +91708,9 @@ var init_updateprojectdatacacheop = __esm(() => {
92333
91708
 
92334
91709
  // src/funcs/projectsUpdateProjectDataCache.ts
92335
91710
  function projectsUpdateProjectDataCache(client, request, options) {
92336
- return new APIPromise($do134(client, request, options));
91711
+ return new APIPromise($do131(client, request, options));
92337
91712
  }
92338
- async function $do134(client, request, options) {
91713
+ async function $do131(client, request, options) {
92339
91714
  const parsed = safeParse(request, (value) => UpdateProjectDataCacheRequest$outboundSchema.parse(value), "Input validation failed");
92340
91715
  if (!parsed.ok) {
92341
91716
  return [parsed, { status: "invalid" }];
@@ -92419,12 +91794,12 @@ var init_projectsUpdateProjectDataCache = __esm(() => {
92419
91794
  });
92420
91795
 
92421
91796
  // src/mcp-server/tools/projectsUpdateProjectDataCache.ts
92422
- var args133, tool$projectsUpdateProjectDataCache;
91797
+ var args130, tool$projectsUpdateProjectDataCache;
92423
91798
  var init_projectsUpdateProjectDataCache2 = __esm(() => {
92424
91799
  init_projectsUpdateProjectDataCache();
92425
91800
  init_updateprojectdatacacheop();
92426
91801
  init_tools();
92427
- args133 = {
91802
+ args130 = {
92428
91803
  request: UpdateProjectDataCacheRequest$inboundSchema
92429
91804
  };
92430
91805
  tool$projectsUpdateProjectDataCache = {
@@ -92432,9 +91807,9 @@ var init_projectsUpdateProjectDataCache2 = __esm(() => {
92432
91807
  description: `Update the data cache feature
92433
91808
 
92434
91809
  Update the data cache feature on a project.`,
92435
- args: args133,
92436
- tool: async (client, args134, ctx) => {
92437
- const [result, apiCall] = await projectsUpdateProjectDataCache(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
91810
+ args: args130,
91811
+ tool: async (client, args131, ctx) => {
91812
+ const [result, apiCall] = await projectsUpdateProjectDataCache(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
92438
91813
  if (!result.ok) {
92439
91814
  return {
92440
91815
  content: [{ type: "text", text: result.error.message }],
@@ -92554,9 +91929,9 @@ var init_updateprojectdomainop = __esm(() => {
92554
91929
 
92555
91930
  // src/funcs/projectsUpdateProjectDomain.ts
92556
91931
  function projectsUpdateProjectDomain(client, request, options) {
92557
- return new APIPromise($do135(client, request, options));
91932
+ return new APIPromise($do132(client, request, options));
92558
91933
  }
92559
- async function $do135(client, request, options) {
91934
+ async function $do132(client, request, options) {
92560
91935
  const parsed = safeParse(request, (value) => UpdateProjectDomainRequest$outboundSchema.parse(value), "Input validation failed");
92561
91936
  if (!parsed.ok) {
92562
91937
  return [parsed, { status: "invalid" }];
@@ -92643,12 +92018,12 @@ var init_projectsUpdateProjectDomain = __esm(() => {
92643
92018
  });
92644
92019
 
92645
92020
  // src/mcp-server/tools/projectsUpdateProjectDomain.ts
92646
- var args134, tool$projectsUpdateProjectDomain;
92021
+ var args131, tool$projectsUpdateProjectDomain;
92647
92022
  var init_projectsUpdateProjectDomain2 = __esm(() => {
92648
92023
  init_projectsUpdateProjectDomain();
92649
92024
  init_updateprojectdomainop();
92650
92025
  init_tools();
92651
- args134 = {
92026
+ args131 = {
92652
92027
  request: UpdateProjectDomainRequest$inboundSchema
92653
92028
  };
92654
92029
  tool$projectsUpdateProjectDomain = {
@@ -92656,9 +92031,9 @@ var init_projectsUpdateProjectDomain2 = __esm(() => {
92656
92031
  description: `Update a project domain
92657
92032
 
92658
92033
  Update a project domain's configuration, including the name, git branch and redirect of the domain.`,
92659
- args: args134,
92660
- tool: async (client, args135, ctx) => {
92661
- const [result, apiCall] = await projectsUpdateProjectDomain(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
92034
+ args: args131,
92035
+ tool: async (client, args132, ctx) => {
92036
+ const [result, apiCall] = await projectsUpdateProjectDomain(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
92662
92037
  if (!result.ok) {
92663
92038
  return {
92664
92039
  content: [{ type: "text", text: result.error.message }],
@@ -92816,9 +92191,9 @@ var init_updateprojectprotectionbypassop = __esm(() => {
92816
92191
 
92817
92192
  // src/funcs/projectsUpdateProjectProtectionBypass.ts
92818
92193
  function projectsUpdateProjectProtectionBypass(client, request, options) {
92819
- return new APIPromise($do136(client, request, options));
92194
+ return new APIPromise($do133(client, request, options));
92820
92195
  }
92821
- async function $do136(client, request, options) {
92196
+ async function $do133(client, request, options) {
92822
92197
  const parsed = safeParse(request, (value) => UpdateProjectProtectionBypassRequest$outboundSchema.parse(value), "Input validation failed");
92823
92198
  if (!parsed.ok) {
92824
92199
  return [parsed, { status: "invalid" }];
@@ -92902,12 +92277,12 @@ var init_projectsUpdateProjectProtectionBypass = __esm(() => {
92902
92277
  });
92903
92278
 
92904
92279
  // src/mcp-server/tools/projectsUpdateProjectProtectionBypass.ts
92905
- var args135, tool$projectsUpdateProjectProtectionBypass;
92280
+ var args132, tool$projectsUpdateProjectProtectionBypass;
92906
92281
  var init_projectsUpdateProjectProtectionBypass2 = __esm(() => {
92907
92282
  init_projectsUpdateProjectProtectionBypass();
92908
92283
  init_updateprojectprotectionbypassop();
92909
92284
  init_tools();
92910
- args135 = {
92285
+ args132 = {
92911
92286
  request: UpdateProjectProtectionBypassRequest$inboundSchema
92912
92287
  };
92913
92288
  tool$projectsUpdateProjectProtectionBypass = {
@@ -92915,9 +92290,9 @@ var init_projectsUpdateProjectProtectionBypass2 = __esm(() => {
92915
92290
  description: `Update Protection Bypass for Automation
92916
92291
 
92917
92292
  Update the deployment protection automation bypass for a project`,
92918
- args: args135,
92919
- tool: async (client, args136, ctx) => {
92920
- const [result, apiCall] = await projectsUpdateProjectProtectionBypass(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
92293
+ args: args132,
92294
+ tool: async (client, args133, ctx) => {
92295
+ const [result, apiCall] = await projectsUpdateProjectProtectionBypass(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
92921
92296
  if (!result.ok) {
92922
92297
  return {
92923
92298
  content: [{ type: "text", text: result.error.message }],
@@ -92982,9 +92357,9 @@ var init_verifyprojectdomainop = __esm(() => {
92982
92357
 
92983
92358
  // src/funcs/projectsVerifyProjectDomain.ts
92984
92359
  function projectsVerifyProjectDomain(client, request, options) {
92985
- return new APIPromise($do137(client, request, options));
92360
+ return new APIPromise($do134(client, request, options));
92986
92361
  }
92987
- async function $do137(client, request, options) {
92362
+ async function $do134(client, request, options) {
92988
92363
  const parsed = safeParse(request, (value) => VerifyProjectDomainRequest$outboundSchema.parse(value), "Input validation failed");
92989
92364
  if (!parsed.ok) {
92990
92365
  return [parsed, { status: "invalid" }];
@@ -93070,12 +92445,12 @@ var init_projectsVerifyProjectDomain = __esm(() => {
93070
92445
  });
93071
92446
 
93072
92447
  // src/mcp-server/tools/projectsVerifyProjectDomain.ts
93073
- var args136, tool$projectsVerifyProjectDomain;
92448
+ var args133, tool$projectsVerifyProjectDomain;
93074
92449
  var init_projectsVerifyProjectDomain2 = __esm(() => {
93075
92450
  init_projectsVerifyProjectDomain();
93076
92451
  init_verifyprojectdomainop();
93077
92452
  init_tools();
93078
- args136 = {
92453
+ args133 = {
93079
92454
  request: VerifyProjectDomainRequest$inboundSchema
93080
92455
  };
93081
92456
  tool$projectsVerifyProjectDomain = {
@@ -93083,9 +92458,9 @@ var init_projectsVerifyProjectDomain2 = __esm(() => {
93083
92458
  description: `Verify project domain
93084
92459
 
93085
92460
  Attempts to verify a project domain with \`verified = false\` by checking the correctness of the project domain's \`verification\` challenge.`,
93086
- args: args136,
93087
- tool: async (client, args137, ctx) => {
93088
- const [result, apiCall] = await projectsVerifyProjectDomain(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
92461
+ args: args133,
92462
+ tool: async (client, args134, ctx) => {
92463
+ const [result, apiCall] = await projectsVerifyProjectDomain(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
93089
92464
  if (!result.ok) {
93090
92465
  return {
93091
92466
  content: [{ type: "text", text: result.error.message }],
@@ -93099,7 +92474,7 @@ Attempts to verify a project domain with \`verified = false\` by checking the co
93099
92474
  });
93100
92475
 
93101
92476
  // src/models/approverollingreleasestageop.ts
93102
- var ApproveRollingReleaseStageState, ApproveRollingReleaseStageTarget, ApproveRollingReleaseStageSource, ApproveRollingReleaseStageReadyState, ApproveRollingReleaseStageRollingReleaseTarget, ApproveRollingReleaseStageRollingReleaseSource, ApproveRollingReleaseStageRollingReleaseReadyState, ApproveRollingReleaseStageRequestBody$inboundSchema, ApproveRollingReleaseStageRequestBody$outboundSchema, ApproveRollingReleaseStageRequestBody$, ApproveRollingReleaseStageRequest$inboundSchema, ApproveRollingReleaseStageRequest$outboundSchema, ApproveRollingReleaseStageRequest$, ApproveRollingReleaseStageState$inboundSchema, ApproveRollingReleaseStageState$outboundSchema, ApproveRollingReleaseStageState$, ApproveRollingReleaseStageTarget$inboundSchema, ApproveRollingReleaseStageTarget$outboundSchema, ApproveRollingReleaseStageTarget$, ApproveRollingReleaseStageSource$inboundSchema, ApproveRollingReleaseStageSource$outboundSchema, ApproveRollingReleaseStageSource$, ApproveRollingReleaseStageReadyState$inboundSchema, ApproveRollingReleaseStageReadyState$outboundSchema, ApproveRollingReleaseStageReadyState$, ApproveRollingReleaseStageCurrentDeployment$inboundSchema, ApproveRollingReleaseStageCurrentDeployment$outboundSchema, ApproveRollingReleaseStageCurrentDeployment$, ApproveRollingReleaseStageRollingReleaseTarget$inboundSchema, ApproveRollingReleaseStageRollingReleaseTarget$outboundSchema, ApproveRollingReleaseStageRollingReleaseTarget$, ApproveRollingReleaseStageRollingReleaseSource$inboundSchema, ApproveRollingReleaseStageRollingReleaseSource$outboundSchema, ApproveRollingReleaseStageRollingReleaseSource$, ApproveRollingReleaseStageRollingReleaseReadyState$inboundSchema, ApproveRollingReleaseStageRollingReleaseReadyState$outboundSchema, ApproveRollingReleaseStageRollingReleaseReadyState$, ApproveRollingReleaseStageCanaryDeployment$inboundSchema, ApproveRollingReleaseStageCanaryDeployment$outboundSchema, ApproveRollingReleaseStageCanaryDeployment$, ApproveRollingReleaseStageStages$inboundSchema, ApproveRollingReleaseStageStages$outboundSchema, ApproveRollingReleaseStageStages$, ApproveRollingReleaseStageActiveStage$inboundSchema, ApproveRollingReleaseStageActiveStage$outboundSchema, ApproveRollingReleaseStageActiveStage$, ApproveRollingReleaseStageNextStage$inboundSchema, ApproveRollingReleaseStageNextStage$outboundSchema, ApproveRollingReleaseStageNextStage$, ApproveRollingReleaseStageRollingRelease$inboundSchema, ApproveRollingReleaseStageRollingRelease$outboundSchema, ApproveRollingReleaseStageRollingRelease$, ApproveRollingReleaseStageResponseBody$inboundSchema, ApproveRollingReleaseStageResponseBody$outboundSchema, ApproveRollingReleaseStageResponseBody$;
92477
+ var ApproveRollingReleaseStageState, ApproveRollingReleaseStageTarget, ApproveRollingReleaseStageSource, ApproveRollingReleaseStageReadyState, ApproveRollingReleaseStageRollingReleaseTarget, ApproveRollingReleaseStageRollingReleaseSource, ApproveRollingReleaseStageRollingReleaseReadyState, ApproveRollingReleaseStageAdvancementType, ApproveRollingReleaseStageRequestBody$inboundSchema, ApproveRollingReleaseStageRequestBody$outboundSchema, ApproveRollingReleaseStageRequestBody$, ApproveRollingReleaseStageRequest$inboundSchema, ApproveRollingReleaseStageRequest$outboundSchema, ApproveRollingReleaseStageRequest$, ApproveRollingReleaseStageState$inboundSchema, ApproveRollingReleaseStageState$outboundSchema, ApproveRollingReleaseStageState$, ApproveRollingReleaseStageTarget$inboundSchema, ApproveRollingReleaseStageTarget$outboundSchema, ApproveRollingReleaseStageTarget$, ApproveRollingReleaseStageSource$inboundSchema, ApproveRollingReleaseStageSource$outboundSchema, ApproveRollingReleaseStageSource$, ApproveRollingReleaseStageReadyState$inboundSchema, ApproveRollingReleaseStageReadyState$outboundSchema, ApproveRollingReleaseStageReadyState$, ApproveRollingReleaseStageCurrentDeployment$inboundSchema, ApproveRollingReleaseStageCurrentDeployment$outboundSchema, ApproveRollingReleaseStageCurrentDeployment$, ApproveRollingReleaseStageRollingReleaseTarget$inboundSchema, ApproveRollingReleaseStageRollingReleaseTarget$outboundSchema, ApproveRollingReleaseStageRollingReleaseTarget$, ApproveRollingReleaseStageRollingReleaseSource$inboundSchema, ApproveRollingReleaseStageRollingReleaseSource$outboundSchema, ApproveRollingReleaseStageRollingReleaseSource$, ApproveRollingReleaseStageRollingReleaseReadyState$inboundSchema, ApproveRollingReleaseStageRollingReleaseReadyState$outboundSchema, ApproveRollingReleaseStageRollingReleaseReadyState$, ApproveRollingReleaseStageCanaryDeployment$inboundSchema, ApproveRollingReleaseStageCanaryDeployment$outboundSchema, ApproveRollingReleaseStageCanaryDeployment$, ApproveRollingReleaseStageAdvancementType$inboundSchema, ApproveRollingReleaseStageAdvancementType$outboundSchema, ApproveRollingReleaseStageAdvancementType$, ApproveRollingReleaseStageStages$inboundSchema, ApproveRollingReleaseStageStages$outboundSchema, ApproveRollingReleaseStageStages$, ApproveRollingReleaseStageActiveStage$inboundSchema, ApproveRollingReleaseStageActiveStage$outboundSchema, ApproveRollingReleaseStageActiveStage$, ApproveRollingReleaseStageNextStage$inboundSchema, ApproveRollingReleaseStageNextStage$outboundSchema, ApproveRollingReleaseStageNextStage$, ApproveRollingReleaseStageRollingRelease$inboundSchema, ApproveRollingReleaseStageRollingRelease$outboundSchema, ApproveRollingReleaseStageRollingRelease$, ApproveRollingReleaseStageResponseBody$inboundSchema, ApproveRollingReleaseStageResponseBody$outboundSchema, ApproveRollingReleaseStageResponseBody$;
93103
92478
  var init_approverollingreleasestageop = __esm(() => {
93104
92479
  init_esm();
93105
92480
  init_primitives();
@@ -93152,6 +92527,10 @@ var init_approverollingreleasestageop = __esm(() => {
93152
92527
  Ready: "READY",
93153
92528
  Canceled: "CANCELED"
93154
92529
  };
92530
+ ApproveRollingReleaseStageAdvancementType = {
92531
+ Automatic: "automatic",
92532
+ ManualApproval: "manual-approval"
92533
+ };
93155
92534
  ApproveRollingReleaseStageRequestBody$inboundSchema = objectType({
93156
92535
  nextStageIndex: numberType(),
93157
92536
  canaryDeploymentId: stringType()
@@ -93278,6 +92657,12 @@ var init_approverollingreleasestageop = __esm(() => {
93278
92657
  ApproveRollingReleaseStageCanaryDeployment$.inboundSchema = ApproveRollingReleaseStageCanaryDeployment$inboundSchema;
93279
92658
  ApproveRollingReleaseStageCanaryDeployment$.outboundSchema = ApproveRollingReleaseStageCanaryDeployment$outboundSchema;
93280
92659
  })(ApproveRollingReleaseStageCanaryDeployment$ ||= {});
92660
+ ApproveRollingReleaseStageAdvancementType$inboundSchema = nativeEnumType(ApproveRollingReleaseStageAdvancementType);
92661
+ ApproveRollingReleaseStageAdvancementType$outboundSchema = ApproveRollingReleaseStageAdvancementType$inboundSchema;
92662
+ ((ApproveRollingReleaseStageAdvancementType$) => {
92663
+ ApproveRollingReleaseStageAdvancementType$.inboundSchema = ApproveRollingReleaseStageAdvancementType$inboundSchema;
92664
+ ApproveRollingReleaseStageAdvancementType$.outboundSchema = ApproveRollingReleaseStageAdvancementType$outboundSchema;
92665
+ })(ApproveRollingReleaseStageAdvancementType$ ||= {});
93281
92666
  ApproveRollingReleaseStageStages$inboundSchema = objectType({
93282
92667
  index: numberType(),
93283
92668
  isFinalStage: booleanType(),
@@ -93337,6 +92722,7 @@ var init_approverollingreleasestageop = __esm(() => {
93337
92722
  currentDeployment: nullableType(lazyType(() => ApproveRollingReleaseStageCurrentDeployment$inboundSchema)),
93338
92723
  canaryDeployment: nullableType(lazyType(() => ApproveRollingReleaseStageCanaryDeployment$inboundSchema)),
93339
92724
  queuedDeploymentId: nullableType(stringType()),
92725
+ advancementType: ApproveRollingReleaseStageAdvancementType$inboundSchema,
93340
92726
  stages: arrayType(lazyType(() => ApproveRollingReleaseStageStages$inboundSchema)),
93341
92727
  activeStage: nullableType(lazyType(() => ApproveRollingReleaseStageActiveStage$inboundSchema)),
93342
92728
  nextStage: nullableType(lazyType(() => ApproveRollingReleaseStageNextStage$inboundSchema)),
@@ -93348,6 +92734,7 @@ var init_approverollingreleasestageop = __esm(() => {
93348
92734
  currentDeployment: nullableType(lazyType(() => ApproveRollingReleaseStageCurrentDeployment$outboundSchema)),
93349
92735
  canaryDeployment: nullableType(lazyType(() => ApproveRollingReleaseStageCanaryDeployment$outboundSchema)),
93350
92736
  queuedDeploymentId: nullableType(stringType()),
92737
+ advancementType: ApproveRollingReleaseStageAdvancementType$outboundSchema,
93351
92738
  stages: arrayType(lazyType(() => ApproveRollingReleaseStageStages$outboundSchema)),
93352
92739
  activeStage: nullableType(lazyType(() => ApproveRollingReleaseStageActiveStage$outboundSchema)),
93353
92740
  nextStage: nullableType(lazyType(() => ApproveRollingReleaseStageNextStage$outboundSchema)),
@@ -93372,9 +92759,9 @@ var init_approverollingreleasestageop = __esm(() => {
93372
92759
 
93373
92760
  // src/funcs/rollingReleaseApproveRollingReleaseStage.ts
93374
92761
  function rollingReleaseApproveRollingReleaseStage(client, request, options) {
93375
- return new APIPromise($do138(client, request, options));
92762
+ return new APIPromise($do135(client, request, options));
93376
92763
  }
93377
- async function $do138(client, request, options) {
92764
+ async function $do135(client, request, options) {
93378
92765
  const parsed = safeParse(request, (value) => ApproveRollingReleaseStageRequest$outboundSchema.parse(value), "Input validation failed");
93379
92766
  if (!parsed.ok) {
93380
92767
  return [parsed, { status: "invalid" }];
@@ -93458,12 +92845,12 @@ var init_rollingReleaseApproveRollingReleaseStage = __esm(() => {
93458
92845
  });
93459
92846
 
93460
92847
  // src/mcp-server/tools/rollingReleaseApproveRollingReleaseStage.ts
93461
- var args137, tool$rollingReleaseApproveRollingReleaseStage;
92848
+ var args134, tool$rollingReleaseApproveRollingReleaseStage;
93462
92849
  var init_rollingReleaseApproveRollingReleaseStage2 = __esm(() => {
93463
92850
  init_rollingReleaseApproveRollingReleaseStage();
93464
92851
  init_approverollingreleasestageop();
93465
92852
  init_tools();
93466
- args137 = {
92853
+ args134 = {
93467
92854
  request: ApproveRollingReleaseStageRequest$inboundSchema
93468
92855
  };
93469
92856
  tool$rollingReleaseApproveRollingReleaseStage = {
@@ -93471,9 +92858,9 @@ var init_rollingReleaseApproveRollingReleaseStage2 = __esm(() => {
93471
92858
  description: `Update the active rolling release to the next stage for a project
93472
92859
 
93473
92860
  Advance a rollout to the next stage. This is only needed when rolling releases is configured to require manual approval.`,
93474
- args: args137,
93475
- tool: async (client, args138, ctx) => {
93476
- const [result, apiCall] = await rollingReleaseApproveRollingReleaseStage(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
92861
+ args: args134,
92862
+ tool: async (client, args135, ctx) => {
92863
+ const [result, apiCall] = await rollingReleaseApproveRollingReleaseStage(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
93477
92864
  if (!result.ok) {
93478
92865
  return {
93479
92866
  content: [{ type: "text", text: result.error.message }],
@@ -93487,7 +92874,7 @@ Advance a rollout to the next stage. This is only needed when rolling releases i
93487
92874
  });
93488
92875
 
93489
92876
  // src/models/completerollingreleaseop.ts
93490
- var CompleteRollingReleaseState, CompleteRollingReleaseTarget, CompleteRollingReleaseSource, CompleteRollingReleaseReadyState, CompleteRollingReleaseRollingReleaseTarget, CompleteRollingReleaseRollingReleaseSource, CompleteRollingReleaseRollingReleaseReadyState, CompleteRollingReleaseRequestBody$inboundSchema, CompleteRollingReleaseRequestBody$outboundSchema, CompleteRollingReleaseRequestBody$, CompleteRollingReleaseRequest$inboundSchema, CompleteRollingReleaseRequest$outboundSchema, CompleteRollingReleaseRequest$, CompleteRollingReleaseState$inboundSchema, CompleteRollingReleaseState$outboundSchema, CompleteRollingReleaseState$, CompleteRollingReleaseTarget$inboundSchema, CompleteRollingReleaseTarget$outboundSchema, CompleteRollingReleaseTarget$, CompleteRollingReleaseSource$inboundSchema, CompleteRollingReleaseSource$outboundSchema, CompleteRollingReleaseSource$, CompleteRollingReleaseReadyState$inboundSchema, CompleteRollingReleaseReadyState$outboundSchema, CompleteRollingReleaseReadyState$, CompleteRollingReleaseCurrentDeployment$inboundSchema, CompleteRollingReleaseCurrentDeployment$outboundSchema, CompleteRollingReleaseCurrentDeployment$, CompleteRollingReleaseRollingReleaseTarget$inboundSchema, CompleteRollingReleaseRollingReleaseTarget$outboundSchema, CompleteRollingReleaseRollingReleaseTarget$, CompleteRollingReleaseRollingReleaseSource$inboundSchema, CompleteRollingReleaseRollingReleaseSource$outboundSchema, CompleteRollingReleaseRollingReleaseSource$, CompleteRollingReleaseRollingReleaseReadyState$inboundSchema, CompleteRollingReleaseRollingReleaseReadyState$outboundSchema, CompleteRollingReleaseRollingReleaseReadyState$, CompleteRollingReleaseCanaryDeployment$inboundSchema, CompleteRollingReleaseCanaryDeployment$outboundSchema, CompleteRollingReleaseCanaryDeployment$, CompleteRollingReleaseStages$inboundSchema, CompleteRollingReleaseStages$outboundSchema, CompleteRollingReleaseStages$, CompleteRollingReleaseActiveStage$inboundSchema, CompleteRollingReleaseActiveStage$outboundSchema, CompleteRollingReleaseActiveStage$, CompleteRollingReleaseNextStage$inboundSchema, CompleteRollingReleaseNextStage$outboundSchema, CompleteRollingReleaseNextStage$, CompleteRollingReleaseRollingRelease$inboundSchema, CompleteRollingReleaseRollingRelease$outboundSchema, CompleteRollingReleaseRollingRelease$, CompleteRollingReleaseResponseBody$inboundSchema, CompleteRollingReleaseResponseBody$outboundSchema, CompleteRollingReleaseResponseBody$;
92877
+ var CompleteRollingReleaseState, CompleteRollingReleaseTarget, CompleteRollingReleaseSource, CompleteRollingReleaseReadyState, CompleteRollingReleaseRollingReleaseTarget, CompleteRollingReleaseRollingReleaseSource, CompleteRollingReleaseRollingReleaseReadyState, CompleteRollingReleaseAdvancementType, CompleteRollingReleaseRequestBody$inboundSchema, CompleteRollingReleaseRequestBody$outboundSchema, CompleteRollingReleaseRequestBody$, CompleteRollingReleaseRequest$inboundSchema, CompleteRollingReleaseRequest$outboundSchema, CompleteRollingReleaseRequest$, CompleteRollingReleaseState$inboundSchema, CompleteRollingReleaseState$outboundSchema, CompleteRollingReleaseState$, CompleteRollingReleaseTarget$inboundSchema, CompleteRollingReleaseTarget$outboundSchema, CompleteRollingReleaseTarget$, CompleteRollingReleaseSource$inboundSchema, CompleteRollingReleaseSource$outboundSchema, CompleteRollingReleaseSource$, CompleteRollingReleaseReadyState$inboundSchema, CompleteRollingReleaseReadyState$outboundSchema, CompleteRollingReleaseReadyState$, CompleteRollingReleaseCurrentDeployment$inboundSchema, CompleteRollingReleaseCurrentDeployment$outboundSchema, CompleteRollingReleaseCurrentDeployment$, CompleteRollingReleaseRollingReleaseTarget$inboundSchema, CompleteRollingReleaseRollingReleaseTarget$outboundSchema, CompleteRollingReleaseRollingReleaseTarget$, CompleteRollingReleaseRollingReleaseSource$inboundSchema, CompleteRollingReleaseRollingReleaseSource$outboundSchema, CompleteRollingReleaseRollingReleaseSource$, CompleteRollingReleaseRollingReleaseReadyState$inboundSchema, CompleteRollingReleaseRollingReleaseReadyState$outboundSchema, CompleteRollingReleaseRollingReleaseReadyState$, CompleteRollingReleaseCanaryDeployment$inboundSchema, CompleteRollingReleaseCanaryDeployment$outboundSchema, CompleteRollingReleaseCanaryDeployment$, CompleteRollingReleaseAdvancementType$inboundSchema, CompleteRollingReleaseAdvancementType$outboundSchema, CompleteRollingReleaseAdvancementType$, CompleteRollingReleaseStages$inboundSchema, CompleteRollingReleaseStages$outboundSchema, CompleteRollingReleaseStages$, CompleteRollingReleaseActiveStage$inboundSchema, CompleteRollingReleaseActiveStage$outboundSchema, CompleteRollingReleaseActiveStage$, CompleteRollingReleaseNextStage$inboundSchema, CompleteRollingReleaseNextStage$outboundSchema, CompleteRollingReleaseNextStage$, CompleteRollingReleaseRollingRelease$inboundSchema, CompleteRollingReleaseRollingRelease$outboundSchema, CompleteRollingReleaseRollingRelease$, CompleteRollingReleaseResponseBody$inboundSchema, CompleteRollingReleaseResponseBody$outboundSchema, CompleteRollingReleaseResponseBody$;
93491
92878
  var init_completerollingreleaseop = __esm(() => {
93492
92879
  init_esm();
93493
92880
  init_primitives();
@@ -93540,6 +92927,10 @@ var init_completerollingreleaseop = __esm(() => {
93540
92927
  Ready: "READY",
93541
92928
  Canceled: "CANCELED"
93542
92929
  };
92930
+ CompleteRollingReleaseAdvancementType = {
92931
+ Automatic: "automatic",
92932
+ ManualApproval: "manual-approval"
92933
+ };
93543
92934
  CompleteRollingReleaseRequestBody$inboundSchema = objectType({
93544
92935
  canaryDeploymentId: stringType()
93545
92936
  });
@@ -93664,6 +93055,12 @@ var init_completerollingreleaseop = __esm(() => {
93664
93055
  CompleteRollingReleaseCanaryDeployment$.inboundSchema = CompleteRollingReleaseCanaryDeployment$inboundSchema;
93665
93056
  CompleteRollingReleaseCanaryDeployment$.outboundSchema = CompleteRollingReleaseCanaryDeployment$outboundSchema;
93666
93057
  })(CompleteRollingReleaseCanaryDeployment$ ||= {});
93058
+ CompleteRollingReleaseAdvancementType$inboundSchema = nativeEnumType(CompleteRollingReleaseAdvancementType);
93059
+ CompleteRollingReleaseAdvancementType$outboundSchema = CompleteRollingReleaseAdvancementType$inboundSchema;
93060
+ ((CompleteRollingReleaseAdvancementType$) => {
93061
+ CompleteRollingReleaseAdvancementType$.inboundSchema = CompleteRollingReleaseAdvancementType$inboundSchema;
93062
+ CompleteRollingReleaseAdvancementType$.outboundSchema = CompleteRollingReleaseAdvancementType$outboundSchema;
93063
+ })(CompleteRollingReleaseAdvancementType$ ||= {});
93667
93064
  CompleteRollingReleaseStages$inboundSchema = objectType({
93668
93065
  index: numberType(),
93669
93066
  isFinalStage: booleanType(),
@@ -93723,6 +93120,7 @@ var init_completerollingreleaseop = __esm(() => {
93723
93120
  currentDeployment: nullableType(lazyType(() => CompleteRollingReleaseCurrentDeployment$inboundSchema)),
93724
93121
  canaryDeployment: nullableType(lazyType(() => CompleteRollingReleaseCanaryDeployment$inboundSchema)),
93725
93122
  queuedDeploymentId: nullableType(stringType()),
93123
+ advancementType: CompleteRollingReleaseAdvancementType$inboundSchema,
93726
93124
  stages: arrayType(lazyType(() => CompleteRollingReleaseStages$inboundSchema)),
93727
93125
  activeStage: nullableType(lazyType(() => CompleteRollingReleaseActiveStage$inboundSchema)),
93728
93126
  nextStage: nullableType(lazyType(() => CompleteRollingReleaseNextStage$inboundSchema)),
@@ -93734,6 +93132,7 @@ var init_completerollingreleaseop = __esm(() => {
93734
93132
  currentDeployment: nullableType(lazyType(() => CompleteRollingReleaseCurrentDeployment$outboundSchema)),
93735
93133
  canaryDeployment: nullableType(lazyType(() => CompleteRollingReleaseCanaryDeployment$outboundSchema)),
93736
93134
  queuedDeploymentId: nullableType(stringType()),
93135
+ advancementType: CompleteRollingReleaseAdvancementType$outboundSchema,
93737
93136
  stages: arrayType(lazyType(() => CompleteRollingReleaseStages$outboundSchema)),
93738
93137
  activeStage: nullableType(lazyType(() => CompleteRollingReleaseActiveStage$outboundSchema)),
93739
93138
  nextStage: nullableType(lazyType(() => CompleteRollingReleaseNextStage$outboundSchema)),
@@ -93758,9 +93157,9 @@ var init_completerollingreleaseop = __esm(() => {
93758
93157
 
93759
93158
  // src/funcs/rollingReleaseCompleteRollingRelease.ts
93760
93159
  function rollingReleaseCompleteRollingRelease(client, request, options) {
93761
- return new APIPromise($do139(client, request, options));
93160
+ return new APIPromise($do136(client, request, options));
93762
93161
  }
93763
- async function $do139(client, request, options) {
93162
+ async function $do136(client, request, options) {
93764
93163
  const parsed = safeParse(request, (value) => CompleteRollingReleaseRequest$outboundSchema.parse(value), "Input validation failed");
93765
93164
  if (!parsed.ok) {
93766
93165
  return [parsed, { status: "invalid" }];
@@ -93844,12 +93243,12 @@ var init_rollingReleaseCompleteRollingRelease = __esm(() => {
93844
93243
  });
93845
93244
 
93846
93245
  // src/mcp-server/tools/rollingReleaseCompleteRollingRelease.ts
93847
- var args138, tool$rollingReleaseCompleteRollingRelease;
93246
+ var args135, tool$rollingReleaseCompleteRollingRelease;
93848
93247
  var init_rollingReleaseCompleteRollingRelease2 = __esm(() => {
93849
93248
  init_rollingReleaseCompleteRollingRelease();
93850
93249
  init_completerollingreleaseop();
93851
93250
  init_tools();
93852
- args138 = {
93251
+ args135 = {
93853
93252
  request: CompleteRollingReleaseRequest$inboundSchema
93854
93253
  };
93855
93254
  tool$rollingReleaseCompleteRollingRelease = {
@@ -93857,9 +93256,9 @@ var init_rollingReleaseCompleteRollingRelease2 = __esm(() => {
93857
93256
  description: `Complete the rolling release for the project
93858
93257
 
93859
93258
  Force-complete a Rolling Release. The canary deployment will begin serving 100% of the traffic.`,
93860
- args: args138,
93861
- tool: async (client, args139, ctx) => {
93862
- const [result, apiCall] = await rollingReleaseCompleteRollingRelease(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
93259
+ args: args135,
93260
+ tool: async (client, args136, ctx) => {
93261
+ const [result, apiCall] = await rollingReleaseCompleteRollingRelease(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
93863
93262
  if (!result.ok) {
93864
93263
  return {
93865
93264
  content: [{ type: "text", text: result.error.message }],
@@ -93904,9 +93303,9 @@ var init_deleterollingreleaseconfigop = __esm(() => {
93904
93303
 
93905
93304
  // src/funcs/rollingReleaseDeleteRollingReleaseConfig.ts
93906
93305
  function rollingReleaseDeleteRollingReleaseConfig(client, request, options) {
93907
- return new APIPromise($do140(client, request, options));
93306
+ return new APIPromise($do137(client, request, options));
93908
93307
  }
93909
- async function $do140(client, request, options) {
93308
+ async function $do137(client, request, options) {
93910
93309
  const parsed = safeParse(request, (value) => DeleteRollingReleaseConfigRequest$outboundSchema.parse(value), "Input validation failed");
93911
93310
  if (!parsed.ok) {
93912
93311
  return [parsed, { status: "invalid" }];
@@ -93989,12 +93388,12 @@ var init_rollingReleaseDeleteRollingReleaseConfig = __esm(() => {
93989
93388
  });
93990
93389
 
93991
93390
  // src/mcp-server/tools/rollingReleaseDeleteRollingReleaseConfig.ts
93992
- var args139, tool$rollingReleaseDeleteRollingReleaseConfig;
93391
+ var args136, tool$rollingReleaseDeleteRollingReleaseConfig;
93993
93392
  var init_rollingReleaseDeleteRollingReleaseConfig2 = __esm(() => {
93994
93393
  init_rollingReleaseDeleteRollingReleaseConfig();
93995
93394
  init_deleterollingreleaseconfigop();
93996
93395
  init_tools();
93997
- args139 = {
93396
+ args136 = {
93998
93397
  request: DeleteRollingReleaseConfigRequest$inboundSchema
93999
93398
  };
94000
93399
  tool$rollingReleaseDeleteRollingReleaseConfig = {
@@ -94002,9 +93401,9 @@ var init_rollingReleaseDeleteRollingReleaseConfig2 = __esm(() => {
94002
93401
  description: `Delete rolling release configuration
94003
93402
 
94004
93403
  Disable Rolling Releases for a project means that future deployments will not undergo a rolling release. Changing the config never alters a rollout that's already in-flight—it only affects the next production deployment. If you want to also stop the current rollout, call this endpoint to disable the feature, and then call either the /complete or /abort endpoint.`,
94005
- args: args139,
94006
- tool: async (client, args140, ctx) => {
94007
- const [result, apiCall] = await rollingReleaseDeleteRollingReleaseConfig(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
93404
+ args: args136,
93405
+ tool: async (client, args137, ctx) => {
93406
+ const [result, apiCall] = await rollingReleaseDeleteRollingReleaseConfig(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
94008
93407
  if (!result.ok) {
94009
93408
  return {
94010
93409
  content: [{ type: "text", text: result.error.message }],
@@ -94018,7 +93417,7 @@ Disable Rolling Releases for a project means that future deployments will not un
94018
93417
  });
94019
93418
 
94020
93419
  // src/models/getrollingreleaseop.ts
94021
- var State, GetRollingReleaseState, GetRollingReleaseTarget, GetRollingReleaseSource, GetRollingReleaseReadyState, GetRollingReleaseRollingReleaseTarget, GetRollingReleaseRollingReleaseSource, GetRollingReleaseRollingReleaseReadyState, State$inboundSchema, State$outboundSchema, State$, GetRollingReleaseRequest$inboundSchema, GetRollingReleaseRequest$outboundSchema, GetRollingReleaseRequest$, GetRollingReleaseState$inboundSchema, GetRollingReleaseState$outboundSchema, GetRollingReleaseState$, GetRollingReleaseTarget$inboundSchema, GetRollingReleaseTarget$outboundSchema, GetRollingReleaseTarget$, GetRollingReleaseSource$inboundSchema, GetRollingReleaseSource$outboundSchema, GetRollingReleaseSource$, GetRollingReleaseReadyState$inboundSchema, GetRollingReleaseReadyState$outboundSchema, GetRollingReleaseReadyState$, CurrentDeployment$inboundSchema, CurrentDeployment$outboundSchema, CurrentDeployment$, GetRollingReleaseRollingReleaseTarget$inboundSchema, GetRollingReleaseRollingReleaseTarget$outboundSchema, GetRollingReleaseRollingReleaseTarget$, GetRollingReleaseRollingReleaseSource$inboundSchema, GetRollingReleaseRollingReleaseSource$outboundSchema, GetRollingReleaseRollingReleaseSource$, GetRollingReleaseRollingReleaseReadyState$inboundSchema, GetRollingReleaseRollingReleaseReadyState$outboundSchema, GetRollingReleaseRollingReleaseReadyState$, CanaryDeployment$inboundSchema, CanaryDeployment$outboundSchema, CanaryDeployment$, GetRollingReleaseStages$inboundSchema, GetRollingReleaseStages$outboundSchema, GetRollingReleaseStages$, ActiveStage$inboundSchema, ActiveStage$outboundSchema, ActiveStage$, NextStage$inboundSchema, NextStage$outboundSchema, NextStage$, GetRollingReleaseRollingRelease$inboundSchema, GetRollingReleaseRollingRelease$outboundSchema, GetRollingReleaseRollingRelease$, GetRollingReleaseResponseBody$inboundSchema, GetRollingReleaseResponseBody$outboundSchema, GetRollingReleaseResponseBody$;
93420
+ var State, GetRollingReleaseState, GetRollingReleaseTarget, GetRollingReleaseSource, GetRollingReleaseReadyState, GetRollingReleaseRollingReleaseTarget, GetRollingReleaseRollingReleaseSource, GetRollingReleaseRollingReleaseReadyState, AdvancementType, State$inboundSchema, State$outboundSchema, State$, GetRollingReleaseRequest$inboundSchema, GetRollingReleaseRequest$outboundSchema, GetRollingReleaseRequest$, GetRollingReleaseState$inboundSchema, GetRollingReleaseState$outboundSchema, GetRollingReleaseState$, GetRollingReleaseTarget$inboundSchema, GetRollingReleaseTarget$outboundSchema, GetRollingReleaseTarget$, GetRollingReleaseSource$inboundSchema, GetRollingReleaseSource$outboundSchema, GetRollingReleaseSource$, GetRollingReleaseReadyState$inboundSchema, GetRollingReleaseReadyState$outboundSchema, GetRollingReleaseReadyState$, CurrentDeployment$inboundSchema, CurrentDeployment$outboundSchema, CurrentDeployment$, GetRollingReleaseRollingReleaseTarget$inboundSchema, GetRollingReleaseRollingReleaseTarget$outboundSchema, GetRollingReleaseRollingReleaseTarget$, GetRollingReleaseRollingReleaseSource$inboundSchema, GetRollingReleaseRollingReleaseSource$outboundSchema, GetRollingReleaseRollingReleaseSource$, GetRollingReleaseRollingReleaseReadyState$inboundSchema, GetRollingReleaseRollingReleaseReadyState$outboundSchema, GetRollingReleaseRollingReleaseReadyState$, CanaryDeployment$inboundSchema, CanaryDeployment$outboundSchema, CanaryDeployment$, AdvancementType$inboundSchema, AdvancementType$outboundSchema, AdvancementType$, GetRollingReleaseStages$inboundSchema, GetRollingReleaseStages$outboundSchema, GetRollingReleaseStages$, ActiveStage$inboundSchema, ActiveStage$outboundSchema, ActiveStage$, NextStage$inboundSchema, NextStage$outboundSchema, NextStage$, GetRollingReleaseRollingRelease$inboundSchema, GetRollingReleaseRollingRelease$outboundSchema, GetRollingReleaseRollingRelease$, GetRollingReleaseResponseBody$inboundSchema, GetRollingReleaseResponseBody$outboundSchema, GetRollingReleaseResponseBody$;
94022
93421
  var init_getrollingreleaseop = __esm(() => {
94023
93422
  init_esm();
94024
93423
  State = {
@@ -94075,6 +93474,10 @@ var init_getrollingreleaseop = __esm(() => {
94075
93474
  Ready: "READY",
94076
93475
  Canceled: "CANCELED"
94077
93476
  };
93477
+ AdvancementType = {
93478
+ Automatic: "automatic",
93479
+ ManualApproval: "manual-approval"
93480
+ };
94078
93481
  State$inboundSchema = nativeEnumType(State);
94079
93482
  State$outboundSchema = State$inboundSchema;
94080
93483
  ((State$) => {
@@ -94187,6 +93590,12 @@ var init_getrollingreleaseop = __esm(() => {
94187
93590
  CanaryDeployment$.inboundSchema = CanaryDeployment$inboundSchema;
94188
93591
  CanaryDeployment$.outboundSchema = CanaryDeployment$outboundSchema;
94189
93592
  })(CanaryDeployment$ ||= {});
93593
+ AdvancementType$inboundSchema = nativeEnumType(AdvancementType);
93594
+ AdvancementType$outboundSchema = AdvancementType$inboundSchema;
93595
+ ((AdvancementType$) => {
93596
+ AdvancementType$.inboundSchema = AdvancementType$inboundSchema;
93597
+ AdvancementType$.outboundSchema = AdvancementType$outboundSchema;
93598
+ })(AdvancementType$ ||= {});
94190
93599
  GetRollingReleaseStages$inboundSchema = objectType({
94191
93600
  index: numberType(),
94192
93601
  isFinalStage: booleanType(),
@@ -94246,6 +93655,7 @@ var init_getrollingreleaseop = __esm(() => {
94246
93655
  currentDeployment: nullableType(lazyType(() => CurrentDeployment$inboundSchema)),
94247
93656
  canaryDeployment: nullableType(lazyType(() => CanaryDeployment$inboundSchema)),
94248
93657
  queuedDeploymentId: nullableType(stringType()),
93658
+ advancementType: AdvancementType$inboundSchema,
94249
93659
  stages: arrayType(lazyType(() => GetRollingReleaseStages$inboundSchema)),
94250
93660
  activeStage: nullableType(lazyType(() => ActiveStage$inboundSchema)),
94251
93661
  nextStage: nullableType(lazyType(() => NextStage$inboundSchema)),
@@ -94257,6 +93667,7 @@ var init_getrollingreleaseop = __esm(() => {
94257
93667
  currentDeployment: nullableType(lazyType(() => CurrentDeployment$outboundSchema)),
94258
93668
  canaryDeployment: nullableType(lazyType(() => CanaryDeployment$outboundSchema)),
94259
93669
  queuedDeploymentId: nullableType(stringType()),
93670
+ advancementType: AdvancementType$outboundSchema,
94260
93671
  stages: arrayType(lazyType(() => GetRollingReleaseStages$outboundSchema)),
94261
93672
  activeStage: nullableType(lazyType(() => ActiveStage$outboundSchema)),
94262
93673
  nextStage: nullableType(lazyType(() => NextStage$outboundSchema)),
@@ -94281,9 +93692,9 @@ var init_getrollingreleaseop = __esm(() => {
94281
93692
 
94282
93693
  // src/funcs/rollingReleaseGetRollingRelease.ts
94283
93694
  function rollingReleaseGetRollingRelease(client, request, options) {
94284
- return new APIPromise($do141(client, request, options));
93695
+ return new APIPromise($do138(client, request, options));
94285
93696
  }
94286
- async function $do141(client, request, options) {
93697
+ async function $do138(client, request, options) {
94287
93698
  const parsed = safeParse(request, (value) => GetRollingReleaseRequest$outboundSchema.parse(value), "Input validation failed");
94288
93699
  if (!parsed.ok) {
94289
93700
  return [parsed, { status: "invalid" }];
@@ -94367,12 +93778,12 @@ var init_rollingReleaseGetRollingRelease = __esm(() => {
94367
93778
  });
94368
93779
 
94369
93780
  // src/mcp-server/tools/rollingReleaseGetRollingRelease.ts
94370
- var args140, tool$rollingReleaseGetRollingRelease;
93781
+ var args137, tool$rollingReleaseGetRollingRelease;
94371
93782
  var init_rollingReleaseGetRollingRelease2 = __esm(() => {
94372
93783
  init_rollingReleaseGetRollingRelease();
94373
93784
  init_getrollingreleaseop();
94374
93785
  init_tools();
94375
- args140 = {
93786
+ args137 = {
94376
93787
  request: GetRollingReleaseRequest$inboundSchema
94377
93788
  };
94378
93789
  tool$rollingReleaseGetRollingRelease = {
@@ -94380,9 +93791,9 @@ var init_rollingReleaseGetRollingRelease2 = __esm(() => {
94380
93791
  description: `Get the active rolling release information for a project
94381
93792
 
94382
93793
  Return the Rolling Release for a project, regardless of whether the rollout is active, aborted, or completed. If the feature is enabled but no deployment has occurred yet, null will be returned.`,
94383
- args: args140,
94384
- tool: async (client, args141, ctx) => {
94385
- const [result, apiCall] = await rollingReleaseGetRollingRelease(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
93794
+ args: args137,
93795
+ tool: async (client, args138, ctx) => {
93796
+ const [result, apiCall] = await rollingReleaseGetRollingRelease(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
94386
93797
  if (!result.ok) {
94387
93798
  return {
94388
93799
  content: [{ type: "text", text: result.error.message }],
@@ -94528,9 +93939,9 @@ var init_getrollingreleasebillingstatusop = __esm(() => {
94528
93939
 
94529
93940
  // src/funcs/rollingReleaseGetRollingReleaseBillingStatus.ts
94530
93941
  function rollingReleaseGetRollingReleaseBillingStatus(client, request, options) {
94531
- return new APIPromise($do142(client, request, options));
93942
+ return new APIPromise($do139(client, request, options));
94532
93943
  }
94533
- async function $do142(client, request, options) {
93944
+ async function $do139(client, request, options) {
94534
93945
  const parsed = safeParse(request, (value) => GetRollingReleaseBillingStatusRequest$outboundSchema.parse(value), "Input validation failed");
94535
93946
  if (!parsed.ok) {
94536
93947
  return [parsed, { status: "invalid" }];
@@ -94613,12 +94024,12 @@ var init_rollingReleaseGetRollingReleaseBillingStatus = __esm(() => {
94613
94024
  });
94614
94025
 
94615
94026
  // src/mcp-server/tools/rollingReleaseGetRollingReleaseBillingStatus.ts
94616
- var args141, tool$rollingReleaseGetRollingReleaseBillingStatus;
94027
+ var args138, tool$rollingReleaseGetRollingReleaseBillingStatus;
94617
94028
  var init_rollingReleaseGetRollingReleaseBillingStatus2 = __esm(() => {
94618
94029
  init_rollingReleaseGetRollingReleaseBillingStatus();
94619
94030
  init_getrollingreleasebillingstatusop();
94620
94031
  init_tools();
94621
- args141 = {
94032
+ args138 = {
94622
94033
  request: GetRollingReleaseBillingStatusRequest$inboundSchema
94623
94034
  };
94624
94035
  tool$rollingReleaseGetRollingReleaseBillingStatus = {
@@ -94626,9 +94037,9 @@ var init_rollingReleaseGetRollingReleaseBillingStatus2 = __esm(() => {
94626
94037
  description: `Get rolling release billing status
94627
94038
 
94628
94039
  Get the Rolling Releases billing status for a project. The team level billing status is used to determine if the project can be configured for rolling releases.`,
94629
- args: args141,
94630
- tool: async (client, args142, ctx) => {
94631
- const [result, apiCall] = await rollingReleaseGetRollingReleaseBillingStatus(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
94040
+ args: args138,
94041
+ tool: async (client, args139, ctx) => {
94042
+ const [result, apiCall] = await rollingReleaseGetRollingReleaseBillingStatus(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
94632
94043
  if (!result.ok) {
94633
94044
  return {
94634
94045
  content: [{ type: "text", text: result.error.message }],
@@ -94701,9 +94112,9 @@ var init_getrollingreleaseconfigop = __esm(() => {
94701
94112
 
94702
94113
  // src/funcs/rollingReleaseGetRollingReleaseConfig.ts
94703
94114
  function rollingReleaseGetRollingReleaseConfig(client, request, options) {
94704
- return new APIPromise($do143(client, request, options));
94115
+ return new APIPromise($do140(client, request, options));
94705
94116
  }
94706
- async function $do143(client, request, options) {
94117
+ async function $do140(client, request, options) {
94707
94118
  const parsed = safeParse(request, (value) => GetRollingReleaseConfigRequest$outboundSchema.parse(value), "Input validation failed");
94708
94119
  if (!parsed.ok) {
94709
94120
  return [parsed, { status: "invalid" }];
@@ -94786,12 +94197,12 @@ var init_rollingReleaseGetRollingReleaseConfig = __esm(() => {
94786
94197
  });
94787
94198
 
94788
94199
  // src/mcp-server/tools/rollingReleaseGetRollingReleaseConfig.ts
94789
- var args142, tool$rollingReleaseGetRollingReleaseConfig;
94200
+ var args139, tool$rollingReleaseGetRollingReleaseConfig;
94790
94201
  var init_rollingReleaseGetRollingReleaseConfig2 = __esm(() => {
94791
94202
  init_rollingReleaseGetRollingReleaseConfig();
94792
94203
  init_getrollingreleaseconfigop();
94793
94204
  init_tools();
94794
- args142 = {
94205
+ args139 = {
94795
94206
  request: GetRollingReleaseConfigRequest$inboundSchema
94796
94207
  };
94797
94208
  tool$rollingReleaseGetRollingReleaseConfig = {
@@ -94799,9 +94210,9 @@ var init_rollingReleaseGetRollingReleaseConfig2 = __esm(() => {
94799
94210
  description: `Get rolling release configuration
94800
94211
 
94801
94212
  Get the Rolling Releases configuration for a project. The project-level config is simply a template that will be used for any future rolling release, and not the configuration for any active rolling release.`,
94802
- args: args142,
94803
- tool: async (client, args143, ctx) => {
94804
- const [result, apiCall] = await rollingReleaseGetRollingReleaseConfig(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
94213
+ args: args139,
94214
+ tool: async (client, args140, ctx) => {
94215
+ const [result, apiCall] = await rollingReleaseGetRollingReleaseConfig(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
94805
94216
  if (!result.ok) {
94806
94217
  return {
94807
94218
  content: [{ type: "text", text: result.error.message }],
@@ -94892,9 +94303,9 @@ var init_updaterollingreleaseconfigop = __esm(() => {
94892
94303
 
94893
94304
  // src/funcs/rollingReleaseUpdateRollingReleaseConfig.ts
94894
94305
  function rollingReleaseUpdateRollingReleaseConfig(client, request, options) {
94895
- return new APIPromise($do144(client, request, options));
94306
+ return new APIPromise($do141(client, request, options));
94896
94307
  }
94897
- async function $do144(client, request, options) {
94308
+ async function $do141(client, request, options) {
94898
94309
  const parsed = safeParse(request, (value) => UpdateRollingReleaseConfigRequest$outboundSchema.parse(value), "Input validation failed");
94899
94310
  if (!parsed.ok) {
94900
94311
  return [parsed, { status: "invalid" }];
@@ -94977,12 +94388,12 @@ var init_rollingReleaseUpdateRollingReleaseConfig = __esm(() => {
94977
94388
  });
94978
94389
 
94979
94390
  // src/mcp-server/tools/rollingReleaseUpdateRollingReleaseConfig.ts
94980
- var args143, tool$rollingReleaseUpdateRollingReleaseConfig;
94391
+ var args140, tool$rollingReleaseUpdateRollingReleaseConfig;
94981
94392
  var init_rollingReleaseUpdateRollingReleaseConfig2 = __esm(() => {
94982
94393
  init_rollingReleaseUpdateRollingReleaseConfig();
94983
94394
  init_updaterollingreleaseconfigop();
94984
94395
  init_tools();
94985
- args143 = {
94396
+ args140 = {
94986
94397
  request: UpdateRollingReleaseConfigRequest$inboundSchema
94987
94398
  };
94988
94399
  tool$rollingReleaseUpdateRollingReleaseConfig = {
@@ -94990,9 +94401,9 @@ var init_rollingReleaseUpdateRollingReleaseConfig2 = __esm(() => {
94990
94401
  description: `Update the rolling release settings for the project
94991
94402
 
94992
94403
  Update (or disable) Rolling Releases for a project. Changing the config never alters a rollout that's already in-flight. It only affects the next production deployment. This also applies to disabling Rolling Releases. If you want to also stop the current rollout, call this endpoint to disable the feature, and then call either the /complete or /abort endpoint. Note: Enabling Rolling Releases automatically enables skew protection on the project with the default value if it wasn't configured already.`,
94993
- args: args143,
94994
- tool: async (client, args144, ctx) => {
94995
- const [result, apiCall] = await rollingReleaseUpdateRollingReleaseConfig(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
94404
+ args: args140,
94405
+ tool: async (client, args141, ctx) => {
94406
+ const [result, apiCall] = await rollingReleaseUpdateRollingReleaseConfig(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
94996
94407
  if (!result.ok) {
94997
94408
  return {
94998
94409
  content: [{ type: "text", text: result.error.message }],
@@ -95256,9 +94667,9 @@ var init_addbypassipop = __esm(() => {
95256
94667
 
95257
94668
  // src/funcs/securityAddBypassIp.ts
95258
94669
  function securityAddBypassIp(client, request, options) {
95259
- return new APIPromise($do145(client, request, options));
94670
+ return new APIPromise($do142(client, request, options));
95260
94671
  }
95261
- async function $do145(client, request, options) {
94672
+ async function $do142(client, request, options) {
95262
94673
  const parsed = safeParse(request, (value) => AddBypassIpRequest$outboundSchema.parse(value), "Input validation failed");
95263
94674
  if (!parsed.ok) {
95264
94675
  return [parsed, { status: "invalid" }];
@@ -95337,12 +94748,12 @@ var init_securityAddBypassIp = __esm(() => {
95337
94748
  });
95338
94749
 
95339
94750
  // src/mcp-server/tools/securityAddBypassIp.ts
95340
- var args144, tool$securityAddBypassIp;
94751
+ var args141, tool$securityAddBypassIp;
95341
94752
  var init_securityAddBypassIp2 = __esm(() => {
95342
94753
  init_securityAddBypassIp();
95343
94754
  init_addbypassipop();
95344
94755
  init_tools();
95345
- args144 = {
94756
+ args141 = {
95346
94757
  request: AddBypassIpRequest$inboundSchema
95347
94758
  };
95348
94759
  tool$securityAddBypassIp = {
@@ -95350,9 +94761,9 @@ var init_securityAddBypassIp2 = __esm(() => {
95350
94761
  description: `Create System Bypass Rule
95351
94762
 
95352
94763
  Create new system bypass rules`,
95353
- args: args144,
95354
- tool: async (client, args145, ctx) => {
95355
- const [result, apiCall] = await securityAddBypassIp(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
94764
+ args: args141,
94765
+ tool: async (client, args142, ctx) => {
94766
+ const [result, apiCall] = await securityAddBypassIp(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
95356
94767
  if (!result.ok) {
95357
94768
  return {
95358
94769
  content: [{ type: "text", text: result.error.message }],
@@ -95494,9 +94905,9 @@ var init_getactiveattackstatusop = __esm(() => {
95494
94905
 
95495
94906
  // src/funcs/securityGetActiveAttackStatus.ts
95496
94907
  function securityGetActiveAttackStatus(client, request, options) {
95497
- return new APIPromise($do146(client, request, options));
94908
+ return new APIPromise($do143(client, request, options));
95498
94909
  }
95499
- async function $do146(client, request, options) {
94910
+ async function $do143(client, request, options) {
95500
94911
  const parsed = safeParse(request, (value) => GetActiveAttackStatusRequest$outboundSchema.parse(value), "Input validation failed");
95501
94912
  if (!parsed.ok) {
95502
94913
  return [parsed, { status: "invalid" }];
@@ -95574,12 +94985,12 @@ var init_securityGetActiveAttackStatus = __esm(() => {
95574
94985
  });
95575
94986
 
95576
94987
  // src/mcp-server/tools/securityGetActiveAttackStatus.ts
95577
- var args145, tool$securityGetActiveAttackStatus;
94988
+ var args142, tool$securityGetActiveAttackStatus;
95578
94989
  var init_securityGetActiveAttackStatus2 = __esm(() => {
95579
94990
  init_securityGetActiveAttackStatus();
95580
94991
  init_getactiveattackstatusop();
95581
94992
  init_tools();
95582
- args145 = {
94993
+ args142 = {
95583
94994
  request: GetActiveAttackStatusRequest$inboundSchema
95584
94995
  };
95585
94996
  tool$securityGetActiveAttackStatus = {
@@ -95587,9 +94998,9 @@ var init_securityGetActiveAttackStatus2 = __esm(() => {
95587
94998
  description: `Read active attack data
95588
94999
 
95589
95000
  Retrieve active attack data within the last 24h window`,
95590
- args: args145,
95591
- tool: async (client, args146, ctx) => {
95592
- const [result, apiCall] = await securityGetActiveAttackStatus(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
95001
+ args: args142,
95002
+ tool: async (client, args143, ctx) => {
95003
+ const [result, apiCall] = await securityGetActiveAttackStatus(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
95593
95004
  if (!result.ok) {
95594
95005
  return {
95595
95006
  content: [{ type: "text", text: result.error.message }],
@@ -95853,9 +95264,9 @@ var init_getbypassipop = __esm(() => {
95853
95264
 
95854
95265
  // src/funcs/securityGetBypassIp.ts
95855
95266
  function securityGetBypassIp(client, request, options) {
95856
- return new APIPromise($do147(client, request, options));
95267
+ return new APIPromise($do144(client, request, options));
95857
95268
  }
95858
- async function $do147(client, request, options) {
95269
+ async function $do144(client, request, options) {
95859
95270
  const parsed = safeParse(request, (value) => GetBypassIpRequest$outboundSchema.parse(value), "Input validation failed");
95860
95271
  if (!parsed.ok) {
95861
95272
  return [parsed, { status: "invalid" }];
@@ -95938,12 +95349,12 @@ var init_securityGetBypassIp = __esm(() => {
95938
95349
  });
95939
95350
 
95940
95351
  // src/mcp-server/tools/securityGetBypassIp.ts
95941
- var args146, tool$securityGetBypassIp;
95352
+ var args143, tool$securityGetBypassIp;
95942
95353
  var init_securityGetBypassIp2 = __esm(() => {
95943
95354
  init_securityGetBypassIp();
95944
95355
  init_getbypassipop();
95945
95356
  init_tools();
95946
- args146 = {
95357
+ args143 = {
95947
95358
  request: GetBypassIpRequest$inboundSchema
95948
95359
  };
95949
95360
  tool$securityGetBypassIp = {
@@ -95951,9 +95362,9 @@ var init_securityGetBypassIp2 = __esm(() => {
95951
95362
  description: `Read System Bypass
95952
95363
 
95953
95364
  Retrieve the system bypass rules configured for the specified project`,
95954
- args: args146,
95955
- tool: async (client, args147, ctx) => {
95956
- const [result, apiCall] = await securityGetBypassIp(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
95365
+ args: args143,
95366
+ tool: async (client, args144, ctx) => {
95367
+ const [result, apiCall] = await securityGetBypassIp(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
95957
95368
  if (!result.ok) {
95958
95369
  return {
95959
95370
  content: [{ type: "text", text: result.error.message }],
@@ -96642,9 +96053,9 @@ var init_getfirewallconfigop = __esm(() => {
96642
96053
 
96643
96054
  // src/funcs/securityGetFirewallConfig.ts
96644
96055
  function securityGetFirewallConfig(client, request, options) {
96645
- return new APIPromise($do148(client, request, options));
96056
+ return new APIPromise($do145(client, request, options));
96646
96057
  }
96647
- async function $do148(client, request, options) {
96058
+ async function $do145(client, request, options) {
96648
96059
  const parsed = safeParse(request, (value) => GetFirewallConfigRequest$outboundSchema.parse(value), "Input validation failed");
96649
96060
  if (!parsed.ok) {
96650
96061
  return [parsed, { status: "invalid" }];
@@ -96728,12 +96139,12 @@ var init_securityGetFirewallConfig = __esm(() => {
96728
96139
  });
96729
96140
 
96730
96141
  // src/mcp-server/tools/securityGetFirewallConfig.ts
96731
- var args147, tool$securityGetFirewallConfig;
96142
+ var args144, tool$securityGetFirewallConfig;
96732
96143
  var init_securityGetFirewallConfig2 = __esm(() => {
96733
96144
  init_securityGetFirewallConfig();
96734
96145
  init_getfirewallconfigop();
96735
96146
  init_tools();
96736
- args147 = {
96147
+ args144 = {
96737
96148
  request: GetFirewallConfigRequest$inboundSchema
96738
96149
  };
96739
96150
  tool$securityGetFirewallConfig = {
@@ -96741,9 +96152,9 @@ var init_securityGetFirewallConfig2 = __esm(() => {
96741
96152
  description: `Read Firewall Configuration
96742
96153
 
96743
96154
  Retrieve the specified firewall configuration for a project. The deployed configVersion will be \`active\``,
96744
- args: args147,
96745
- tool: async (client, args148, ctx) => {
96746
- const [result, apiCall] = await securityGetFirewallConfig(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96155
+ args: args144,
96156
+ tool: async (client, args145, ctx) => {
96157
+ const [result, apiCall] = await securityGetFirewallConfig(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
96747
96158
  if (!result.ok) {
96748
96159
  return {
96749
96160
  content: [{ type: "text", text: result.error.message }],
@@ -97990,9 +97401,9 @@ var init_putfirewallconfigop = __esm(() => {
97990
97401
 
97991
97402
  // src/funcs/securityPutFirewallConfig.ts
97992
97403
  function securityPutFirewallConfig(client, request, options) {
97993
- return new APIPromise($do149(client, request, options));
97404
+ return new APIPromise($do146(client, request, options));
97994
97405
  }
97995
- async function $do149(client, request, options) {
97406
+ async function $do146(client, request, options) {
97996
97407
  const parsed = safeParse(request, (value) => PutFirewallConfigRequest$outboundSchema.parse(value), "Input validation failed");
97997
97408
  if (!parsed.ok) {
97998
97409
  return [parsed, { status: "invalid" }];
@@ -98071,12 +97482,12 @@ var init_securityPutFirewallConfig = __esm(() => {
98071
97482
  });
98072
97483
 
98073
97484
  // src/mcp-server/tools/securityPutFirewallConfig.ts
98074
- var args148, tool$securityPutFirewallConfig;
97485
+ var args145, tool$securityPutFirewallConfig;
98075
97486
  var init_securityPutFirewallConfig2 = __esm(() => {
98076
97487
  init_securityPutFirewallConfig();
98077
97488
  init_putfirewallconfigop();
98078
97489
  init_tools();
98079
- args148 = {
97490
+ args145 = {
98080
97491
  request: PutFirewallConfigRequest$inboundSchema
98081
97492
  };
98082
97493
  tool$securityPutFirewallConfig = {
@@ -98084,9 +97495,9 @@ var init_securityPutFirewallConfig2 = __esm(() => {
98084
97495
  description: `Put Firewall Configuration
98085
97496
 
98086
97497
  Set the firewall configuration to provided rules and settings. Creates or overwrite the existing firewall configuration.`,
98087
- args: args148,
98088
- tool: async (client, args149, ctx) => {
98089
- const [result, apiCall] = await securityPutFirewallConfig(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97498
+ args: args145,
97499
+ tool: async (client, args146, ctx) => {
97500
+ const [result, apiCall] = await securityPutFirewallConfig(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98090
97501
  if (!result.ok) {
98091
97502
  return {
98092
97503
  content: [{ type: "text", text: result.error.message }],
@@ -98196,9 +97607,9 @@ var init_removebypassipop = __esm(() => {
98196
97607
 
98197
97608
  // src/funcs/securityRemoveBypassIp.ts
98198
97609
  function securityRemoveBypassIp(client, request, options) {
98199
- return new APIPromise($do150(client, request, options));
97610
+ return new APIPromise($do147(client, request, options));
98200
97611
  }
98201
- async function $do150(client, request, options) {
97612
+ async function $do147(client, request, options) {
98202
97613
  const parsed = safeParse(request, (value) => RemoveBypassIpRequest$outboundSchema.parse(value), "Input validation failed");
98203
97614
  if (!parsed.ok) {
98204
97615
  return [parsed, { status: "invalid" }];
@@ -98277,12 +97688,12 @@ var init_securityRemoveBypassIp = __esm(() => {
98277
97688
  });
98278
97689
 
98279
97690
  // src/mcp-server/tools/securityRemoveBypassIp.ts
98280
- var args149, tool$securityRemoveBypassIp;
97691
+ var args146, tool$securityRemoveBypassIp;
98281
97692
  var init_securityRemoveBypassIp2 = __esm(() => {
98282
97693
  init_securityRemoveBypassIp();
98283
97694
  init_removebypassipop();
98284
97695
  init_tools();
98285
- args149 = {
97696
+ args146 = {
98286
97697
  request: RemoveBypassIpRequest$inboundSchema
98287
97698
  };
98288
97699
  tool$securityRemoveBypassIp = {
@@ -98290,9 +97701,9 @@ var init_securityRemoveBypassIp2 = __esm(() => {
98290
97701
  description: `Remove System Bypass Rule
98291
97702
 
98292
97703
  Remove system bypass rules`,
98293
- args: args149,
98294
- tool: async (client, args150, ctx) => {
98295
- const [result, apiCall] = await securityRemoveBypassIp(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97704
+ args: args146,
97705
+ tool: async (client, args147, ctx) => {
97706
+ const [result, apiCall] = await securityRemoveBypassIp(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98296
97707
  if (!result.ok) {
98297
97708
  return {
98298
97709
  content: [{ type: "text", text: result.error.message }],
@@ -98362,9 +97773,9 @@ var init_updateattackchallengemodeop = __esm(() => {
98362
97773
 
98363
97774
  // src/funcs/securityUpdateAttackChallengeMode.ts
98364
97775
  function securityUpdateAttackChallengeMode(client, request, options) {
98365
- return new APIPromise($do151(client, request, options));
97776
+ return new APIPromise($do148(client, request, options));
98366
97777
  }
98367
- async function $do151(client, request, options) {
97778
+ async function $do148(client, request, options) {
98368
97779
  const parsed = safeParse(request, (value) => UpdateAttackChallengeModeRequest$outboundSchema.parse(value), "Input validation failed");
98369
97780
  if (!parsed.ok) {
98370
97781
  return [parsed, { status: "invalid" }];
@@ -98442,12 +97853,12 @@ var init_securityUpdateAttackChallengeMode = __esm(() => {
98442
97853
  });
98443
97854
 
98444
97855
  // src/mcp-server/tools/securityUpdateAttackChallengeMode.ts
98445
- var args150, tool$securityUpdateAttackChallengeMode;
97856
+ var args147, tool$securityUpdateAttackChallengeMode;
98446
97857
  var init_securityUpdateAttackChallengeMode2 = __esm(() => {
98447
97858
  init_securityUpdateAttackChallengeMode();
98448
97859
  init_updateattackchallengemodeop();
98449
97860
  init_tools();
98450
- args150 = {
97861
+ args147 = {
98451
97862
  request: UpdateAttackChallengeModeRequest$inboundSchema
98452
97863
  };
98453
97864
  tool$securityUpdateAttackChallengeMode = {
@@ -98455,9 +97866,9 @@ var init_securityUpdateAttackChallengeMode2 = __esm(() => {
98455
97866
  description: `Update Attack Challenge mode
98456
97867
 
98457
97868
  Update the setting for determining if the project has Attack Challenge mode enabled.`,
98458
- args: args150,
98459
- tool: async (client, args151, ctx) => {
98460
- const [result, apiCall] = await securityUpdateAttackChallengeMode(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
97869
+ args: args147,
97870
+ tool: async (client, args148, ctx) => {
97871
+ const [result, apiCall] = await securityUpdateAttackChallengeMode(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98461
97872
  if (!result.ok) {
98462
97873
  return {
98463
97874
  content: [{ type: "text", text: result.error.message }],
@@ -99475,9 +98886,9 @@ var init_updatefirewallconfigop = __esm(() => {
99475
98886
 
99476
98887
  // src/funcs/securityUpdateFirewallConfig.ts
99477
98888
  function securityUpdateFirewallConfig(client, request, options) {
99478
- return new APIPromise($do152(client, request, options));
98889
+ return new APIPromise($do149(client, request, options));
99479
98890
  }
99480
- async function $do152(client, request, options) {
98891
+ async function $do149(client, request, options) {
99481
98892
  const parsed = safeParse(request, (value) => UpdateFirewallConfigRequest$outboundSchema.parse(value), "Input validation failed");
99482
98893
  if (!parsed.ok) {
99483
98894
  return [parsed, { status: "invalid" }];
@@ -99556,12 +98967,12 @@ var init_securityUpdateFirewallConfig = __esm(() => {
99556
98967
  });
99557
98968
 
99558
98969
  // src/mcp-server/tools/securityUpdateFirewallConfig.ts
99559
- var args151, tool$securityUpdateFirewallConfig;
98970
+ var args148, tool$securityUpdateFirewallConfig;
99560
98971
  var init_securityUpdateFirewallConfig2 = __esm(() => {
99561
98972
  init_securityUpdateFirewallConfig();
99562
98973
  init_updatefirewallconfigop();
99563
98974
  init_tools();
99564
- args151 = {
98975
+ args148 = {
99565
98976
  request: UpdateFirewallConfigRequest$inboundSchema
99566
98977
  };
99567
98978
  tool$securityUpdateFirewallConfig = {
@@ -99569,9 +98980,9 @@ var init_securityUpdateFirewallConfig2 = __esm(() => {
99569
98980
  description: `Update Firewall Configuration
99570
98981
 
99571
98982
  Process updates to modify the existing firewall config for a project`,
99572
- args: args151,
99573
- tool: async (client, args152, ctx) => {
99574
- const [result, apiCall] = await securityUpdateFirewallConfig(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
98983
+ args: args148,
98984
+ tool: async (client, args149, ctx) => {
98985
+ const [result, apiCall] = await securityUpdateFirewallConfig(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
99575
98986
  if (!result.ok) {
99576
98987
  return {
99577
98988
  content: [{ type: "text", text: result.error.message }],
@@ -99650,9 +99061,9 @@ var init_createteamop = __esm(() => {
99650
99061
 
99651
99062
  // src/funcs/teamsCreateTeam.ts
99652
99063
  function teamsCreateTeam(client, request, options) {
99653
- return new APIPromise($do153(client, request, options));
99064
+ return new APIPromise($do150(client, request, options));
99654
99065
  }
99655
- async function $do153(client, request, options) {
99066
+ async function $do150(client, request, options) {
99656
99067
  const parsed = safeParse(request, (value) => CreateTeamRequestBody$outboundSchema.parse(value), "Input validation failed");
99657
99068
  if (!parsed.ok) {
99658
99069
  return [parsed, { status: "invalid" }];
@@ -99724,12 +99135,12 @@ var init_teamsCreateTeam = __esm(() => {
99724
99135
  });
99725
99136
 
99726
99137
  // src/mcp-server/tools/teamsCreateTeam.ts
99727
- var args152, tool$teamsCreateTeam;
99138
+ var args149, tool$teamsCreateTeam;
99728
99139
  var init_teamsCreateTeam2 = __esm(() => {
99729
99140
  init_teamsCreateTeam();
99730
99141
  init_createteamop();
99731
99142
  init_tools();
99732
- args152 = {
99143
+ args149 = {
99733
99144
  request: CreateTeamRequestBody$inboundSchema
99734
99145
  };
99735
99146
  tool$teamsCreateTeam = {
@@ -99737,9 +99148,9 @@ var init_teamsCreateTeam2 = __esm(() => {
99737
99148
  description: `Create a Team
99738
99149
 
99739
99150
  Create a new Team under your account. You need to send a POST request with the desired Team slug, and optionally the Team name.`,
99740
- args: args152,
99741
- tool: async (client, args153, ctx) => {
99742
- const [result, apiCall] = await teamsCreateTeam(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
99151
+ args: args149,
99152
+ tool: async (client, args150, ctx) => {
99153
+ const [result, apiCall] = await teamsCreateTeam(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
99743
99154
  if (!result.ok) {
99744
99155
  return {
99745
99156
  content: [{ type: "text", text: result.error.message }],
@@ -99819,9 +99230,9 @@ var init_deleteteamop = __esm(() => {
99819
99230
 
99820
99231
  // src/funcs/teamsDeleteTeam.ts
99821
99232
  function teamsDeleteTeam(client, request, options) {
99822
- return new APIPromise($do154(client, request, options));
99233
+ return new APIPromise($do151(client, request, options));
99823
99234
  }
99824
- async function $do154(client, request, options) {
99235
+ async function $do151(client, request, options) {
99825
99236
  const parsed = safeParse(request, (value) => DeleteTeamRequest$outboundSchema.parse(value), "Input validation failed");
99826
99237
  if (!parsed.ok) {
99827
99238
  return [parsed, { status: "invalid" }];
@@ -99904,12 +99315,12 @@ var init_teamsDeleteTeam = __esm(() => {
99904
99315
  });
99905
99316
 
99906
99317
  // src/mcp-server/tools/teamsDeleteTeam.ts
99907
- var args153, tool$teamsDeleteTeam;
99318
+ var args150, tool$teamsDeleteTeam;
99908
99319
  var init_teamsDeleteTeam2 = __esm(() => {
99909
99320
  init_teamsDeleteTeam();
99910
99321
  init_deleteteamop();
99911
99322
  init_tools();
99912
- args153 = {
99323
+ args150 = {
99913
99324
  request: DeleteTeamRequest$inboundSchema
99914
99325
  };
99915
99326
  tool$teamsDeleteTeam = {
@@ -99917,9 +99328,9 @@ var init_teamsDeleteTeam2 = __esm(() => {
99917
99328
  description: `Delete a Team
99918
99329
 
99919
99330
  Delete a team under your account. You need to send a \`DELETE\` request with the desired team \`id\`. An optional array of reasons for deletion may also be sent.`,
99920
- args: args153,
99921
- tool: async (client, args154, ctx) => {
99922
- const [result, apiCall] = await teamsDeleteTeam(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
99331
+ args: args150,
99332
+ tool: async (client, args151, ctx) => {
99333
+ const [result, apiCall] = await teamsDeleteTeam(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
99923
99334
  if (!result.ok) {
99924
99335
  return {
99925
99336
  content: [{ type: "text", text: result.error.message }],
@@ -99962,9 +99373,9 @@ var init_deleteteaminvitecodeop = __esm(() => {
99962
99373
 
99963
99374
  // src/funcs/teamsDeleteTeamInviteCode.ts
99964
99375
  function teamsDeleteTeamInviteCode(client, request, options) {
99965
- return new APIPromise($do155(client, request, options));
99376
+ return new APIPromise($do152(client, request, options));
99966
99377
  }
99967
- async function $do155(client, request, options) {
99378
+ async function $do152(client, request, options) {
99968
99379
  const parsed = safeParse(request, (value) => DeleteTeamInviteCodeRequest$outboundSchema.parse(value), "Input validation failed");
99969
99380
  if (!parsed.ok) {
99970
99381
  return [parsed, { status: "invalid" }];
@@ -100046,12 +99457,12 @@ var init_teamsDeleteTeamInviteCode = __esm(() => {
100046
99457
  });
100047
99458
 
100048
99459
  // src/mcp-server/tools/teamsDeleteTeamInviteCode.ts
100049
- var args154, tool$teamsDeleteTeamInviteCode;
99460
+ var args151, tool$teamsDeleteTeamInviteCode;
100050
99461
  var init_teamsDeleteTeamInviteCode2 = __esm(() => {
100051
99462
  init_teamsDeleteTeamInviteCode();
100052
99463
  init_deleteteaminvitecodeop();
100053
99464
  init_tools();
100054
- args154 = {
99465
+ args151 = {
100055
99466
  request: DeleteTeamInviteCodeRequest$inboundSchema
100056
99467
  };
100057
99468
  tool$teamsDeleteTeamInviteCode = {
@@ -100059,9 +99470,9 @@ var init_teamsDeleteTeamInviteCode2 = __esm(() => {
100059
99470
  description: `Delete a Team invite code
100060
99471
 
100061
99472
  Delete an active Team invite code.`,
100062
- args: args154,
100063
- tool: async (client, args155, ctx) => {
100064
- const [result, apiCall] = await teamsDeleteTeamInviteCode(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
99473
+ args: args151,
99474
+ tool: async (client, args152, ctx) => {
99475
+ const [result, apiCall] = await teamsDeleteTeamInviteCode(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
100065
99476
  if (!result.ok) {
100066
99477
  return {
100067
99478
  content: [{ type: "text", text: result.error.message }],
@@ -100488,9 +99899,9 @@ var init_team = __esm(() => {
100488
99899
 
100489
99900
  // src/funcs/teamsGetTeam.ts
100490
99901
  function teamsGetTeam(client, request, options) {
100491
- return new APIPromise($do156(client, request, options));
99902
+ return new APIPromise($do153(client, request, options));
100492
99903
  }
100493
- async function $do156(client, request, options) {
99904
+ async function $do153(client, request, options) {
100494
99905
  const parsed = safeParse(request, (value) => GetTeamRequest$outboundSchema.parse(value), "Input validation failed");
100495
99906
  if (!parsed.ok) {
100496
99907
  return [parsed, { status: "invalid" }];
@@ -100573,12 +99984,12 @@ var init_teamsGetTeam = __esm(() => {
100573
99984
  });
100574
99985
 
100575
99986
  // src/mcp-server/tools/teamsGetTeam.ts
100576
- var args155, tool$teamsGetTeam;
99987
+ var args152, tool$teamsGetTeam;
100577
99988
  var init_teamsGetTeam2 = __esm(() => {
100578
99989
  init_teamsGetTeam();
100579
99990
  init_getteamop();
100580
99991
  init_tools();
100581
- args155 = {
99992
+ args152 = {
100582
99993
  request: GetTeamRequest$inboundSchema
100583
99994
  };
100584
99995
  tool$teamsGetTeam = {
@@ -100586,9 +99997,9 @@ var init_teamsGetTeam2 = __esm(() => {
100586
99997
  description: `Get a Team
100587
99998
 
100588
99999
  Get information for the Team specified by the \`teamId\` parameter.`,
100589
- args: args155,
100590
- tool: async (client, args156, ctx) => {
100591
- const [result, apiCall] = await teamsGetTeam(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
100000
+ args: args152,
100001
+ tool: async (client, args153, ctx) => {
100002
+ const [result, apiCall] = await teamsGetTeam(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
100592
100003
  if (!result.ok) {
100593
100004
  return {
100594
100005
  content: [{ type: "text", text: result.error.message }],
@@ -100730,9 +100141,9 @@ var init_getteamaccessrequestop = __esm(() => {
100730
100141
 
100731
100142
  // src/funcs/teamsGetTeamAccessRequest.ts
100732
100143
  function teamsGetTeamAccessRequest(client, request, options) {
100733
- return new APIPromise($do157(client, request, options));
100144
+ return new APIPromise($do154(client, request, options));
100734
100145
  }
100735
- async function $do157(client, request, options) {
100146
+ async function $do154(client, request, options) {
100736
100147
  const parsed = safeParse(request, (value) => GetTeamAccessRequestRequest$outboundSchema.parse(value), "Input validation failed");
100737
100148
  if (!parsed.ok) {
100738
100149
  return [parsed, { status: "invalid" }];
@@ -100814,12 +100225,12 @@ var init_teamsGetTeamAccessRequest = __esm(() => {
100814
100225
  });
100815
100226
 
100816
100227
  // src/mcp-server/tools/teamsGetTeamAccessRequest.ts
100817
- var args156, tool$teamsGetTeamAccessRequest;
100228
+ var args153, tool$teamsGetTeamAccessRequest;
100818
100229
  var init_teamsGetTeamAccessRequest2 = __esm(() => {
100819
100230
  init_teamsGetTeamAccessRequest();
100820
100231
  init_getteamaccessrequestop();
100821
100232
  init_tools();
100822
- args156 = {
100233
+ args153 = {
100823
100234
  request: GetTeamAccessRequestRequest$inboundSchema
100824
100235
  };
100825
100236
  tool$teamsGetTeamAccessRequest = {
@@ -100827,9 +100238,9 @@ var init_teamsGetTeamAccessRequest2 = __esm(() => {
100827
100238
  description: `Get access request status
100828
100239
 
100829
100240
  Check the status of a join request. It'll respond with a 404 if the request has been declined. If no \`userId\` path segment was provided, this endpoint will instead return the status of the authenticated user.`,
100830
- args: args156,
100831
- tool: async (client, args157, ctx) => {
100832
- const [result, apiCall] = await teamsGetTeamAccessRequest(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
100241
+ args: args153,
100242
+ tool: async (client, args154, ctx) => {
100243
+ const [result, apiCall] = await teamsGetTeamAccessRequest(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
100833
100244
  if (!result.ok) {
100834
100245
  return {
100835
100246
  content: [{ type: "text", text: result.error.message }],
@@ -101129,9 +100540,9 @@ var init_getteammembersop = __esm(() => {
101129
100540
 
101130
100541
  // src/funcs/teamsGetTeamMembers.ts
101131
100542
  function teamsGetTeamMembers(client, request, options) {
101132
- return new APIPromise($do158(client, request, options));
100543
+ return new APIPromise($do155(client, request, options));
101133
100544
  }
101134
- async function $do158(client, request, options) {
100545
+ async function $do155(client, request, options) {
101135
100546
  const parsed = safeParse(request, (value) => GetTeamMembersRequest$outboundSchema.parse(value), "Input validation failed");
101136
100547
  if (!parsed.ok) {
101137
100548
  return [parsed, { status: "invalid" }];
@@ -101213,12 +100624,12 @@ var init_teamsGetTeamMembers = __esm(() => {
101213
100624
  });
101214
100625
 
101215
100626
  // src/mcp-server/tools/teamsGetTeamMembers.ts
101216
- var args157, tool$teamsGetTeamMembers;
100627
+ var args154, tool$teamsGetTeamMembers;
101217
100628
  var init_teamsGetTeamMembers2 = __esm(() => {
101218
100629
  init_teamsGetTeamMembers();
101219
100630
  init_getteammembersop();
101220
100631
  init_tools();
101221
- args157 = {
100632
+ args154 = {
101222
100633
  request: GetTeamMembersRequest$inboundSchema
101223
100634
  };
101224
100635
  tool$teamsGetTeamMembers = {
@@ -101226,9 +100637,9 @@ var init_teamsGetTeamMembers2 = __esm(() => {
101226
100637
  description: `List team members
101227
100638
 
101228
100639
  Get a paginated list of team members for the provided team.`,
101229
- args: args157,
101230
- tool: async (client, args158, ctx) => {
101231
- const [result, apiCall] = await teamsGetTeamMembers(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
100640
+ args: args154,
100641
+ tool: async (client, args155, ctx) => {
100642
+ const [result, apiCall] = await teamsGetTeamMembers(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101232
100643
  if (!result.ok) {
101233
100644
  return {
101234
100645
  content: [{ type: "text", text: result.error.message }],
@@ -101514,9 +100925,9 @@ var init_getteamsop = __esm(() => {
101514
100925
 
101515
100926
  // src/funcs/teamsGetTeams.ts
101516
100927
  function teamsGetTeams(client, request, options) {
101517
- return new APIPromise($do159(client, request, options));
100928
+ return new APIPromise($do156(client, request, options));
101518
100929
  }
101519
- async function $do159(client, request, options) {
100930
+ async function $do156(client, request, options) {
101520
100931
  const parsed = safeParse(request, (value) => GetTeamsRequest$outboundSchema.parse(value), "Input validation failed");
101521
100932
  if (!parsed.ok) {
101522
100933
  return [parsed, { status: "invalid" }];
@@ -101593,12 +101004,12 @@ var init_teamsGetTeams = __esm(() => {
101593
101004
  });
101594
101005
 
101595
101006
  // src/mcp-server/tools/teamsGetTeams.ts
101596
- var args158, tool$teamsGetTeams;
101007
+ var args155, tool$teamsGetTeams;
101597
101008
  var init_teamsGetTeams2 = __esm(() => {
101598
101009
  init_teamsGetTeams();
101599
101010
  init_getteamsop();
101600
101011
  init_tools();
101601
- args158 = {
101012
+ args155 = {
101602
101013
  request: GetTeamsRequest$inboundSchema
101603
101014
  };
101604
101015
  tool$teamsGetTeams = {
@@ -101606,9 +101017,9 @@ var init_teamsGetTeams2 = __esm(() => {
101606
101017
  description: `List all teams
101607
101018
 
101608
101019
  Get a paginated list of all the Teams the authenticated User is a member of.`,
101609
- args: args158,
101610
- tool: async (client, args159, ctx) => {
101611
- const [result, apiCall] = await teamsGetTeams(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101020
+ args: args155,
101021
+ tool: async (client, args156, ctx) => {
101022
+ const [result, apiCall] = await teamsGetTeams(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101612
101023
  if (!result.ok) {
101613
101024
  return {
101614
101025
  content: [{ type: "text", text: result.error.message }],
@@ -101840,9 +101251,9 @@ var init_inviteusertoteamop = __esm(() => {
101840
101251
 
101841
101252
  // src/funcs/teamsInviteUserToTeam.ts
101842
101253
  function teamsInviteUserToTeam(client, request, options) {
101843
- return new APIPromise($do160(client, request, options));
101254
+ return new APIPromise($do157(client, request, options));
101844
101255
  }
101845
- async function $do160(client, request, options) {
101256
+ async function $do157(client, request, options) {
101846
101257
  const parsed = safeParse(request, (value) => InviteUserToTeamRequest$outboundSchema.parse(value), "Input validation failed");
101847
101258
  if (!parsed.ok) {
101848
101259
  return [parsed, { status: "invalid" }];
@@ -101920,12 +101331,12 @@ var init_teamsInviteUserToTeam = __esm(() => {
101920
101331
  });
101921
101332
 
101922
101333
  // src/mcp-server/tools/teamsInviteUserToTeam.ts
101923
- var args159, tool$teamsInviteUserToTeam;
101334
+ var args156, tool$teamsInviteUserToTeam;
101924
101335
  var init_teamsInviteUserToTeam2 = __esm(() => {
101925
101336
  init_teamsInviteUserToTeam();
101926
101337
  init_inviteusertoteamop();
101927
101338
  init_tools();
101928
- args159 = {
101339
+ args156 = {
101929
101340
  request: InviteUserToTeamRequest$inboundSchema
101930
101341
  };
101931
101342
  tool$teamsInviteUserToTeam = {
@@ -101933,9 +101344,9 @@ var init_teamsInviteUserToTeam2 = __esm(() => {
101933
101344
  description: `Invite a user
101934
101345
 
101935
101346
  Invite a user to join the team specified in the URL. The authenticated user needs to be an \`OWNER\` in order to successfully invoke this endpoint. The user can be specified with an email or an ID. If both email and ID are provided, ID will take priority.`,
101936
- args: args159,
101937
- tool: async (client, args160, ctx) => {
101938
- const [result, apiCall] = await teamsInviteUserToTeam(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101347
+ args: args156,
101348
+ tool: async (client, args157, ctx) => {
101349
+ const [result, apiCall] = await teamsInviteUserToTeam(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101939
101350
  if (!result.ok) {
101940
101351
  return {
101941
101352
  content: [{ type: "text", text: result.error.message }],
@@ -102003,9 +101414,9 @@ var init_jointeamop = __esm(() => {
102003
101414
 
102004
101415
  // src/funcs/teamsJoinTeam.ts
102005
101416
  function teamsJoinTeam(client, request, options) {
102006
- return new APIPromise($do161(client, request, options));
101417
+ return new APIPromise($do158(client, request, options));
102007
101418
  }
102008
- async function $do161(client, request, options) {
101419
+ async function $do158(client, request, options) {
102009
101420
  const parsed = safeParse(request, (value) => JoinTeamRequest$outboundSchema.parse(value), "Input validation failed");
102010
101421
  if (!parsed.ok) {
102011
101422
  return [parsed, { status: "invalid" }];
@@ -102084,12 +101495,12 @@ var init_teamsJoinTeam = __esm(() => {
102084
101495
  });
102085
101496
 
102086
101497
  // src/mcp-server/tools/teamsJoinTeam.ts
102087
- var args160, tool$teamsJoinTeam;
101498
+ var args157, tool$teamsJoinTeam;
102088
101499
  var init_teamsJoinTeam2 = __esm(() => {
102089
101500
  init_teamsJoinTeam();
102090
101501
  init_jointeamop();
102091
101502
  init_tools();
102092
- args160 = {
101503
+ args157 = {
102093
101504
  request: JoinTeamRequest$inboundSchema
102094
101505
  };
102095
101506
  tool$teamsJoinTeam = {
@@ -102097,9 +101508,9 @@ var init_teamsJoinTeam2 = __esm(() => {
102097
101508
  description: `Join a team
102098
101509
 
102099
101510
  Join a team with a provided invite code or team ID.`,
102100
- args: args160,
102101
- tool: async (client, args161, ctx) => {
102102
- const [result, apiCall] = await teamsJoinTeam(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101511
+ args: args157,
101512
+ tool: async (client, args158, ctx) => {
101513
+ const [result, apiCall] = await teamsJoinTeam(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102103
101514
  if (!result.ok) {
102104
101515
  return {
102105
101516
  content: [{ type: "text", text: result.error.message }],
@@ -102244,9 +101655,9 @@ var init_patchteamop = __esm(() => {
102244
101655
 
102245
101656
  // src/funcs/teamsPatchTeam.ts
102246
101657
  function teamsPatchTeam(client, request, options) {
102247
- return new APIPromise($do162(client, request, options));
101658
+ return new APIPromise($do159(client, request, options));
102248
101659
  }
102249
- async function $do162(client, request, options) {
101660
+ async function $do159(client, request, options) {
102250
101661
  const parsed = safeParse(request, (value) => PatchTeamRequest$outboundSchema.parse(value), "Input validation failed");
102251
101662
  if (!parsed.ok) {
102252
101663
  return [parsed, { status: "invalid" }];
@@ -102329,12 +101740,12 @@ var init_teamsPatchTeam = __esm(() => {
102329
101740
  });
102330
101741
 
102331
101742
  // src/mcp-server/tools/teamsPatchTeam.ts
102332
- var args161, tool$teamsPatchTeam;
101743
+ var args158, tool$teamsPatchTeam;
102333
101744
  var init_teamsPatchTeam2 = __esm(() => {
102334
101745
  init_teamsPatchTeam();
102335
101746
  init_patchteamop();
102336
101747
  init_tools();
102337
- args161 = {
101748
+ args158 = {
102338
101749
  request: PatchTeamRequest$inboundSchema
102339
101750
  };
102340
101751
  tool$teamsPatchTeam = {
@@ -102342,9 +101753,9 @@ var init_teamsPatchTeam2 = __esm(() => {
102342
101753
  description: `Update a Team
102343
101754
 
102344
101755
  Update the information of a Team specified by the \`teamId\` parameter. The request body should contain the information that will be updated on the Team.`,
102345
- args: args161,
102346
- tool: async (client, args162, ctx) => {
102347
- const [result, apiCall] = await teamsPatchTeam(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101756
+ args: args158,
101757
+ tool: async (client, args159, ctx) => {
101758
+ const [result, apiCall] = await teamsPatchTeam(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102348
101759
  if (!result.ok) {
102349
101760
  return {
102350
101761
  content: [{ type: "text", text: result.error.message }],
@@ -102389,9 +101800,9 @@ var init_removeteammemberop = __esm(() => {
102389
101800
 
102390
101801
  // src/funcs/teamsRemoveTeamMember.ts
102391
101802
  function teamsRemoveTeamMember(client, request, options) {
102392
- return new APIPromise($do163(client, request, options));
101803
+ return new APIPromise($do160(client, request, options));
102393
101804
  }
102394
- async function $do163(client, request, options) {
101805
+ async function $do160(client, request, options) {
102395
101806
  const parsed = safeParse(request, (value) => RemoveTeamMemberRequest$outboundSchema.parse(value), "Input validation failed");
102396
101807
  if (!parsed.ok) {
102397
101808
  return [parsed, { status: "invalid" }];
@@ -102477,12 +101888,12 @@ var init_teamsRemoveTeamMember = __esm(() => {
102477
101888
  });
102478
101889
 
102479
101890
  // src/mcp-server/tools/teamsRemoveTeamMember.ts
102480
- var args162, tool$teamsRemoveTeamMember;
101891
+ var args159, tool$teamsRemoveTeamMember;
102481
101892
  var init_teamsRemoveTeamMember2 = __esm(() => {
102482
101893
  init_teamsRemoveTeamMember();
102483
101894
  init_removeteammemberop();
102484
101895
  init_tools();
102485
- args162 = {
101896
+ args159 = {
102486
101897
  request: RemoveTeamMemberRequest$inboundSchema
102487
101898
  };
102488
101899
  tool$teamsRemoveTeamMember = {
@@ -102490,9 +101901,9 @@ var init_teamsRemoveTeamMember2 = __esm(() => {
102490
101901
  description: `Remove a Team Member
102491
101902
 
102492
101903
  Remove a Team Member from the Team, or dismiss a user that requested access, or leave a team.`,
102493
- args: args162,
102494
- tool: async (client, args163, ctx) => {
102495
- const [result, apiCall] = await teamsRemoveTeamMember(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
101904
+ args: args159,
101905
+ tool: async (client, args160, ctx) => {
101906
+ const [result, apiCall] = await teamsRemoveTeamMember(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102496
101907
  if (!result.ok) {
102497
101908
  return {
102498
101909
  content: [{ type: "text", text: result.error.message }],
@@ -102694,9 +102105,9 @@ var init_requestaccesstoteamop = __esm(() => {
102694
102105
 
102695
102106
  // src/funcs/teamsRequestAccessToTeam.ts
102696
102107
  function teamsRequestAccessToTeam(client, request, options) {
102697
- return new APIPromise($do164(client, request, options));
102108
+ return new APIPromise($do161(client, request, options));
102698
102109
  }
102699
- async function $do164(client, request, options) {
102110
+ async function $do161(client, request, options) {
102700
102111
  const parsed = safeParse(request, (value) => RequestAccessToTeamRequest$outboundSchema.parse(value), "Input validation failed");
102701
102112
  if (!parsed.ok) {
102702
102113
  return [parsed, { status: "invalid" }];
@@ -102775,12 +102186,12 @@ var init_teamsRequestAccessToTeam = __esm(() => {
102775
102186
  });
102776
102187
 
102777
102188
  // src/mcp-server/tools/teamsRequestAccessToTeam.ts
102778
- var args163, tool$teamsRequestAccessToTeam;
102189
+ var args160, tool$teamsRequestAccessToTeam;
102779
102190
  var init_teamsRequestAccessToTeam2 = __esm(() => {
102780
102191
  init_teamsRequestAccessToTeam();
102781
102192
  init_requestaccesstoteamop();
102782
102193
  init_tools();
102783
- args163 = {
102194
+ args160 = {
102784
102195
  request: RequestAccessToTeamRequest$inboundSchema
102785
102196
  };
102786
102197
  tool$teamsRequestAccessToTeam = {
@@ -102788,9 +102199,9 @@ var init_teamsRequestAccessToTeam2 = __esm(() => {
102788
102199
  description: `Request access to a team
102789
102200
 
102790
102201
  Request access to a team as a member. An owner has to approve the request. Only 10 users can request access to a team at the same time.`,
102791
- args: args163,
102792
- tool: async (client, args164, ctx) => {
102793
- const [result, apiCall] = await teamsRequestAccessToTeam(client, args164.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102202
+ args: args160,
102203
+ tool: async (client, args161, ctx) => {
102204
+ const [result, apiCall] = await teamsRequestAccessToTeam(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102794
102205
  if (!result.ok) {
102795
102206
  return {
102796
102207
  content: [{ type: "text", text: result.error.message }],
@@ -102893,9 +102304,9 @@ var init_updateteammemberop = __esm(() => {
102893
102304
 
102894
102305
  // src/funcs/teamsUpdateTeamMember.ts
102895
102306
  function teamsUpdateTeamMember(client, request, options) {
102896
- return new APIPromise($do165(client, request, options));
102307
+ return new APIPromise($do162(client, request, options));
102897
102308
  }
102898
- async function $do165(client, request, options) {
102309
+ async function $do162(client, request, options) {
102899
102310
  const parsed = safeParse(request, (value) => UpdateTeamMemberRequest$outboundSchema.parse(value), "Input validation failed");
102900
102311
  if (!parsed.ok) {
102901
102312
  return [parsed, { status: "invalid" }];
@@ -102978,12 +102389,12 @@ var init_teamsUpdateTeamMember = __esm(() => {
102978
102389
  });
102979
102390
 
102980
102391
  // src/mcp-server/tools/teamsUpdateTeamMember.ts
102981
- var args164, tool$teamsUpdateTeamMember;
102392
+ var args161, tool$teamsUpdateTeamMember;
102982
102393
  var init_teamsUpdateTeamMember2 = __esm(() => {
102983
102394
  init_teamsUpdateTeamMember();
102984
102395
  init_updateteammemberop();
102985
102396
  init_tools();
102986
- args164 = {
102397
+ args161 = {
102987
102398
  request: UpdateTeamMemberRequest$inboundSchema
102988
102399
  };
102989
102400
  tool$teamsUpdateTeamMember = {
@@ -102991,9 +102402,9 @@ var init_teamsUpdateTeamMember2 = __esm(() => {
102991
102402
  description: `Update a Team Member
102992
102403
 
102993
102404
  Update the membership of a Team Member on the Team specified by \`teamId\`, such as changing the _role_ of the member, or confirming a request to join the Team for an unconfirmed member. The authenticated user must be an \`OWNER\` of the Team.`,
102994
- args: args164,
102995
- tool: async (client, args165, ctx) => {
102996
- const [result, apiCall] = await teamsUpdateTeamMember(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102405
+ args: args161,
102406
+ tool: async (client, args162, ctx) => {
102407
+ const [result, apiCall] = await teamsUpdateTeamMember(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
102997
102408
  if (!result.ok) {
102998
102409
  return {
102999
102410
  content: [{ type: "text", text: result.error.message }],
@@ -103468,9 +102879,9 @@ var init_getauthuserop = __esm(() => {
103468
102879
 
103469
102880
  // src/funcs/userGetAuthUser.ts
103470
102881
  function userGetAuthUser(client, options) {
103471
- return new APIPromise($do166(client, options));
102882
+ return new APIPromise($do163(client, options));
103472
102883
  }
103473
- async function $do166(client, options) {
102884
+ async function $do163(client, options) {
103474
102885
  const path = pathToFunc("/v2/user")();
103475
102886
  const headers = new Headers(compactMap({
103476
102887
  Accept: "application/json"
@@ -111112,9 +110523,9 @@ var init_listusereventsop = __esm(() => {
111112
110523
 
111113
110524
  // src/funcs/userListUserEvents.ts
111114
110525
  function userListUserEvents(client, request, options) {
111115
- return new APIPromise($do167(client, request, options));
110526
+ return new APIPromise($do164(client, request, options));
111116
110527
  }
111117
- async function $do167(client, request, options) {
110528
+ async function $do164(client, request, options) {
111118
110529
  const parsed = safeParse(request, (value) => ListUserEventsRequest$outboundSchema.parse(value), "Input validation failed");
111119
110530
  if (!parsed.ok) {
111120
110531
  return [parsed, { status: "invalid" }];
@@ -111198,12 +110609,12 @@ var init_userListUserEvents = __esm(() => {
111198
110609
  });
111199
110610
 
111200
110611
  // src/mcp-server/tools/userListUserEvents.ts
111201
- var args165, tool$userListUserEvents;
110612
+ var args162, tool$userListUserEvents;
111202
110613
  var init_userListUserEvents2 = __esm(() => {
111203
110614
  init_userListUserEvents();
111204
110615
  init_listusereventsop();
111205
110616
  init_tools();
111206
- args165 = {
110617
+ args162 = {
111207
110618
  request: ListUserEventsRequest$inboundSchema
111208
110619
  };
111209
110620
  tool$userListUserEvents = {
@@ -111211,9 +110622,9 @@ var init_userListUserEvents2 = __esm(() => {
111211
110622
  description: `List User Events
111212
110623
 
111213
110624
  Retrieves a list of "events" generated by the User on Vercel. Events are generated when the User performs a particular action, such as logging in, creating a deployment, and joining a Team (just to name a few). When the \`teamId\` parameter is supplied, then the events that are returned will be in relation to the Team that was specified.`,
111214
- args: args165,
111215
- tool: async (client, args166, ctx) => {
111216
- const [result, apiCall] = await userListUserEvents(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
110625
+ args: args162,
110626
+ tool: async (client, args163, ctx) => {
110627
+ const [result, apiCall] = await userListUserEvents(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
111217
110628
  if (!result.ok) {
111218
110629
  return {
111219
110630
  content: [{ type: "text", text: result.error.message }],
@@ -111270,9 +110681,9 @@ var init_requestdeleteop = __esm(() => {
111270
110681
 
111271
110682
  // src/funcs/userRequestDelete.ts
111272
110683
  function userRequestDelete(client, request, options) {
111273
- return new APIPromise($do168(client, request, options));
110684
+ return new APIPromise($do165(client, request, options));
111274
110685
  }
111275
- async function $do168(client, request, options) {
110686
+ async function $do165(client, request, options) {
111276
110687
  const parsed = safeParse(request, (value) => RequestDeleteRequestBody$outboundSchema.parse(value), "Input validation failed");
111277
110688
  if (!parsed.ok) {
111278
110689
  return [parsed, { status: "invalid" }];
@@ -111344,12 +110755,12 @@ var init_userRequestDelete = __esm(() => {
111344
110755
  });
111345
110756
 
111346
110757
  // src/mcp-server/tools/userRequestDelete.ts
111347
- var args166, tool$userRequestDelete;
110758
+ var args163, tool$userRequestDelete;
111348
110759
  var init_userRequestDelete2 = __esm(() => {
111349
110760
  init_userRequestDelete();
111350
110761
  init_requestdeleteop();
111351
110762
  init_tools();
111352
- args166 = {
110763
+ args163 = {
111353
110764
  request: RequestDeleteRequestBody$inboundSchema
111354
110765
  };
111355
110766
  tool$userRequestDelete = {
@@ -111357,9 +110768,9 @@ var init_userRequestDelete2 = __esm(() => {
111357
110768
  description: `Delete User Account
111358
110769
 
111359
110770
  Initiates the deletion process for the currently authenticated User, by sending a deletion confirmation email. The email contains a link that the user needs to visit in order to proceed with the deletion process.`,
111360
- args: args166,
111361
- tool: async (client, args167, ctx) => {
111362
- const [result, apiCall] = await userRequestDelete(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
110771
+ args: args163,
110772
+ tool: async (client, args164, ctx) => {
110773
+ const [result, apiCall] = await userRequestDelete(client, args164.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
111363
110774
  if (!result.ok) {
111364
110775
  return {
111365
110776
  content: [{ type: "text", text: result.error.message }],
@@ -111589,9 +111000,9 @@ var init_createwebhookop = __esm(() => {
111589
111000
 
111590
111001
  // src/funcs/webhooksCreateWebhook.ts
111591
111002
  function webhooksCreateWebhook(client, request, options) {
111592
- return new APIPromise($do169(client, request, options));
111003
+ return new APIPromise($do166(client, request, options));
111593
111004
  }
111594
- async function $do169(client, request, options) {
111005
+ async function $do166(client, request, options) {
111595
111006
  const parsed = safeParse(request, (value) => CreateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
111596
111007
  if (!parsed.ok) {
111597
111008
  return [parsed, { status: "invalid" }];
@@ -111668,12 +111079,12 @@ var init_webhooksCreateWebhook = __esm(() => {
111668
111079
  });
111669
111080
 
111670
111081
  // src/mcp-server/tools/webhooksCreateWebhook.ts
111671
- var args167, tool$webhooksCreateWebhook;
111082
+ var args164, tool$webhooksCreateWebhook;
111672
111083
  var init_webhooksCreateWebhook2 = __esm(() => {
111673
111084
  init_webhooksCreateWebhook();
111674
111085
  init_createwebhookop();
111675
111086
  init_tools();
111676
- args167 = {
111087
+ args164 = {
111677
111088
  request: CreateWebhookRequest$inboundSchema
111678
111089
  };
111679
111090
  tool$webhooksCreateWebhook = {
@@ -111681,9 +111092,9 @@ var init_webhooksCreateWebhook2 = __esm(() => {
111681
111092
  description: `Creates a webhook
111682
111093
 
111683
111094
  Creates a webhook`,
111684
- args: args167,
111685
- tool: async (client, args168, ctx) => {
111686
- const [result, apiCall] = await webhooksCreateWebhook(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
111095
+ args: args164,
111096
+ tool: async (client, args165, ctx) => {
111097
+ const [result, apiCall] = await webhooksCreateWebhook(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
111687
111098
  if (!result.ok) {
111688
111099
  return {
111689
111100
  content: [{ type: "text", text: result.error.message }],
@@ -111718,9 +111129,9 @@ var init_deletewebhookop = __esm(() => {
111718
111129
 
111719
111130
  // src/funcs/webhooksDeleteWebhook.ts
111720
111131
  function webhooksDeleteWebhook(client, request, options) {
111721
- return new APIPromise($do170(client, request, options));
111132
+ return new APIPromise($do167(client, request, options));
111722
111133
  }
111723
- async function $do170(client, request, options) {
111134
+ async function $do167(client, request, options) {
111724
111135
  const parsed = safeParse(request, (value) => DeleteWebhookRequest$outboundSchema.parse(value), "Input validation failed");
111725
111136
  if (!parsed.ok) {
111726
111137
  return [parsed, { status: "invalid" }];
@@ -111803,12 +111214,12 @@ var init_webhooksDeleteWebhook = __esm(() => {
111803
111214
  });
111804
111215
 
111805
111216
  // src/mcp-server/tools/webhooksDeleteWebhook.ts
111806
- var args168, tool$webhooksDeleteWebhook;
111217
+ var args165, tool$webhooksDeleteWebhook;
111807
111218
  var init_webhooksDeleteWebhook2 = __esm(() => {
111808
111219
  init_webhooksDeleteWebhook();
111809
111220
  init_deletewebhookop();
111810
111221
  init_tools();
111811
- args168 = {
111222
+ args165 = {
111812
111223
  request: DeleteWebhookRequest$inboundSchema
111813
111224
  };
111814
111225
  tool$webhooksDeleteWebhook = {
@@ -111816,9 +111227,9 @@ var init_webhooksDeleteWebhook2 = __esm(() => {
111816
111227
  description: `Deletes a webhook
111817
111228
 
111818
111229
  Deletes a webhook`,
111819
- args: args168,
111820
- tool: async (client, args169, ctx) => {
111821
- const [result, apiCall] = await webhooksDeleteWebhook(client, args169.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
111230
+ args: args165,
111231
+ tool: async (client, args166, ctx) => {
111232
+ const [result, apiCall] = await webhooksDeleteWebhook(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
111822
111233
  if (!result.ok) {
111823
111234
  return {
111824
111235
  content: [{ type: "text", text: result.error.message }],
@@ -111948,9 +111359,9 @@ var init_getwebhookop = __esm(() => {
111948
111359
 
111949
111360
  // src/funcs/webhooksGetWebhook.ts
111950
111361
  function webhooksGetWebhook(client, request, options) {
111951
- return new APIPromise($do171(client, request, options));
111362
+ return new APIPromise($do168(client, request, options));
111952
111363
  }
111953
- async function $do171(client, request, options) {
111364
+ async function $do168(client, request, options) {
111954
111365
  const parsed = safeParse(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
111955
111366
  if (!parsed.ok) {
111956
111367
  return [parsed, { status: "invalid" }];
@@ -112032,12 +111443,12 @@ var init_webhooksGetWebhook = __esm(() => {
112032
111443
  });
112033
111444
 
112034
111445
  // src/mcp-server/tools/webhooksGetWebhook.ts
112035
- var args169, tool$webhooksGetWebhook;
111446
+ var args166, tool$webhooksGetWebhook;
112036
111447
  var init_webhooksGetWebhook2 = __esm(() => {
112037
111448
  init_webhooksGetWebhook();
112038
111449
  init_getwebhookop();
112039
111450
  init_tools();
112040
- args169 = {
111451
+ args166 = {
112041
111452
  request: GetWebhookRequest$inboundSchema
112042
111453
  };
112043
111454
  tool$webhooksGetWebhook = {
@@ -112045,9 +111456,9 @@ var init_webhooksGetWebhook2 = __esm(() => {
112045
111456
  description: `Get a webhook
112046
111457
 
112047
111458
  Get a webhook`,
112048
- args: args169,
112049
- tool: async (client, args170, ctx) => {
112050
- const [result, apiCall] = await webhooksGetWebhook(client, args170.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
111459
+ args: args166,
111460
+ tool: async (client, args167, ctx) => {
111461
+ const [result, apiCall] = await webhooksGetWebhook(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
112051
111462
  if (!result.ok) {
112052
111463
  return {
112053
111464
  content: [{ type: "text", text: result.error.message }],
@@ -112358,9 +111769,9 @@ var init_getwebhooksop = __esm(() => {
112358
111769
 
112359
111770
  // src/funcs/webhooksGetWebhooks.ts
112360
111771
  function webhooksGetWebhooks(client, request, options) {
112361
- return new APIPromise($do172(client, request, options));
111772
+ return new APIPromise($do169(client, request, options));
112362
111773
  }
112363
- async function $do172(client, request, options) {
111774
+ async function $do169(client, request, options) {
112364
111775
  const parsed = safeParse(request, (value) => GetWebhooksRequest$outboundSchema.parse(value), "Input validation failed");
112365
111776
  if (!parsed.ok) {
112366
111777
  return [parsed, { status: "invalid" }];
@@ -112437,12 +111848,12 @@ var init_webhooksGetWebhooks = __esm(() => {
112437
111848
  });
112438
111849
 
112439
111850
  // src/mcp-server/tools/webhooksGetWebhooks.ts
112440
- var args170, tool$webhooksGetWebhooks;
111851
+ var args167, tool$webhooksGetWebhooks;
112441
111852
  var init_webhooksGetWebhooks2 = __esm(() => {
112442
111853
  init_webhooksGetWebhooks();
112443
111854
  init_getwebhooksop();
112444
111855
  init_tools();
112445
- args170 = {
111856
+ args167 = {
112446
111857
  request: GetWebhooksRequest$inboundSchema
112447
111858
  };
112448
111859
  tool$webhooksGetWebhooks = {
@@ -112450,9 +111861,9 @@ var init_webhooksGetWebhooks2 = __esm(() => {
112450
111861
  description: `Get a list of webhooks
112451
111862
 
112452
111863
  Get a list of webhooks`,
112453
- args: args170,
112454
- tool: async (client, args171, ctx) => {
112455
- const [result, apiCall] = await webhooksGetWebhooks(client, args171.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
111864
+ args: args167,
111865
+ tool: async (client, args168, ctx) => {
111866
+ const [result, apiCall] = await webhooksGetWebhooks(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
112456
111867
  if (!result.ok) {
112457
111868
  return {
112458
111869
  content: [{ type: "text", text: result.error.message }],
@@ -112469,7 +111880,7 @@ Get a list of webhooks`,
112469
111880
  function createMCPServer(deps) {
112470
111881
  const server = new McpServer({
112471
111882
  name: "Vercel",
112472
- version: "1.8.6"
111883
+ version: "1.9.0"
112473
111884
  });
112474
111885
  const client = new VercelCore({
112475
111886
  bearerToken: deps.bearerToken,
@@ -112583,10 +111994,6 @@ function createMCPServer(deps) {
112583
111994
  tool(tool$marketplaceGetAccountInfo);
112584
111995
  tool(tool$marketplaceGetMember);
112585
111996
  tool(tool$marketplaceCreateEvent);
112586
- tool(tool$marketplaceGetResources);
112587
- tool(tool$marketplaceGetResource);
112588
- tool(tool$marketplaceDeleteResource);
112589
- tool(tool$marketplaceImportResource);
112590
111997
  tool(tool$marketplaceSubmitBillingData);
112591
111998
  tool(tool$marketplaceSubmitInvoice);
112592
111999
  tool(tool$marketplaceGetInvoice);
@@ -112594,6 +112001,7 @@ function createMCPServer(deps) {
112594
112001
  tool(tool$marketplaceSubmitPrepaymentBalances);
112595
112002
  tool(tool$marketplaceUpdateResourceSecrets);
112596
112003
  tool(tool$marketplaceUpdateResourceSecretsById);
112004
+ tool(tool$marketplaceImportResource);
112597
112005
  tool(tool$marketplaceExchangeSsoToken);
112598
112006
  tool(tool$marketplaceCreateInstallationIntegrationConfiguration);
112599
112007
  tool(tool$marketplaceUpdateInstallationIntegrationConfiguration);
@@ -112756,13 +112164,10 @@ var init_server2 = __esm(() => {
112756
112164
  init_marketplaceCreateInstallationIntegrationConfiguration2();
112757
112165
  init_marketplaceCreateInstallationIntegrationEdgeConfig2();
112758
112166
  init_marketplaceDeleteInstallationIntegrationConfiguration2();
112759
- init_marketplaceDeleteResource2();
112760
112167
  init_marketplaceExchangeSsoToken2();
112761
112168
  init_marketplaceGetAccountInfo2();
112762
112169
  init_marketplaceGetInvoice2();
112763
112170
  init_marketplaceGetMember2();
112764
- init_marketplaceGetResource2();
112765
- init_marketplaceGetResources2();
112766
112171
  init_marketplaceImportResource2();
112767
112172
  init_marketplaceSubmitBillingData2();
112768
112173
  init_marketplaceSubmitInvoice2();
@@ -114024,7 +113429,7 @@ var routes = an({
114024
113429
  var app = He(routes, {
114025
113430
  name: "mcp",
114026
113431
  versionInfo: {
114027
- currentVersion: "1.8.6"
113432
+ currentVersion: "1.9.0"
114028
113433
  }
114029
113434
  });
114030
113435
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -114032,5 +113437,5 @@ export {
114032
113437
  app
114033
113438
  };
114034
113439
 
114035
- //# debugId=8DD0A3C3125C278564756E2164756E21
113440
+ //# debugId=FB0F6D1B38AEB24264756E2164756E21
114036
113441
  //# sourceMappingURL=mcp-server.js.map