@umbraco-cms/mcp-dev 18.1.8 → 18.1.9

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.
@@ -23637,36 +23637,22 @@ function buildSourceTypeSection(allowFilePath, otherSources) {
23637
23637
  // src/umbraco-api/tools/media/post/helpers/streaming-upload.ts
23638
23638
 
23639
23639
 
23640
- var _mcphosted = require('@umbraco-cms/mcp-hosted');
23641
23640
 
23642
23641
 
23643
23642
 
23644
23643
 
23645
23644
 
23646
23645
 
23647
- var authContext = null;
23648
- function isStreamingAuthContextConfigured() {
23649
- return authContext !== null;
23646
+ function isStreamingUploadAvailable() {
23647
+ return _optionalChain([_mcpserversdk.getActiveRequestContext.call(void 0, ), 'optionalAccess', _70 => _70.umbracoAuth]) !== void 0;
23650
23648
  }
23651
23649
  async function resolveAuth() {
23652
- if (!authContext) {
23653
- throw new Error(
23654
- "Streaming auth context not configured. setStreamingAuthContext() must be called in worker init()."
23655
- );
23656
- }
23657
- const entry = await _mcphosted.getStoredUmbracoToken.call(void 0, authContext.env.OAUTH_KV, authContext.tokenKey);
23658
- if (!_optionalChain([entry, 'optionalAccess', _70 => _70.tokens, 'optionalAccess', _71 => _71.access_token])) {
23659
- throw new Error("No Umbraco access token in KV. Reconnect the MCP connector.");
23660
- }
23661
- const baseUrl = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([entry, 'access', _72 => _72.site, 'optionalAccess', _73 => _73.serverUrl]), () => ( _optionalChain([entry, 'access', _74 => _74.site, 'optionalAccess', _75 => _75.baseUrl]))), () => ( authContext.env.UMBRACO_SERVER_URL)), () => ( authContext.env.UMBRACO_BASE_URL));
23662
- if (!baseUrl) {
23663
- throw new Error("No Umbraco base URL resolvable from site or env.");
23664
- }
23665
- return { accessToken: entry.tokens.access_token, baseUrl: _mcpserversdk.normalizeBaseUrl.call(void 0, baseUrl) };
23650
+ const { accessToken, baseUrl } = await _mcpserversdk.getSessionUmbracoAuth.call(void 0, );
23651
+ return { accessToken, baseUrl: _mcpserversdk.normalizeBaseUrl.call(void 0, baseUrl) };
23666
23652
  }
23667
23653
  function ensureExtension(name, contentType, urlPath) {
23668
23654
  if (name.includes(".")) return name;
23669
- const fromUrl = _optionalChain([urlPath, 'access', _76 => _76.match, 'call', _77 => _77(/\.([a-z0-9]{1,8})$/i), 'optionalAccess', _78 => _78[0]]);
23655
+ const fromUrl = _optionalChain([urlPath, 'access', _71 => _71.match, 'call', _72 => _72(/\.([a-z0-9]{1,8})$/i), 'optionalAccess', _73 => _73[0]]);
23670
23656
  if (fromUrl) return `${name}${fromUrl}`;
23671
23657
  if (contentType) {
23672
23658
  const subtype = contentType.split(";")[0].split("/")[1];
@@ -23686,10 +23672,7 @@ async function streamingUploadFromUrl(params) {
23686
23672
  );
23687
23673
  const [mediaTypeId, auth] = await Promise.all([
23688
23674
  fetchMediaTypeId(client, validatedMediaTypeName),
23689
- (async () => {
23690
- await client.getTemporaryFileConfiguration().catch(() => void 0);
23691
- return resolveAuth();
23692
- })()
23675
+ resolveAuth()
23693
23676
  ]);
23694
23677
  const { accessToken, baseUrl } = auth;
23695
23678
  const ctl = new AbortController();
@@ -23775,8 +23758,8 @@ Content-Type: ${sourceContentType}\r
23775
23758
  if (response.status < 200 || response.status >= 300) {
23776
23759
  throw new Error(`postMedia failed with status ${response.status}`);
23777
23760
  }
23778
- const locationHeader = _nullishCoalesce(_optionalChain([response, 'access', _79 => _79.headers, 'optionalAccess', _80 => _80.location]), () => ( _optionalChain([response, 'access', _81 => _81.headers, 'optionalAccess', _82 => _82.Location])));
23779
- const idMatch = _optionalChain([locationHeader, 'optionalAccess', _83 => _83.match, 'call', _84 => _84(/\/([a-f0-9-]{36})$/i)]);
23761
+ const locationHeader = _nullishCoalesce(_optionalChain([response, 'access', _74 => _74.headers, 'optionalAccess', _75 => _75.location]), () => ( _optionalChain([response, 'access', _76 => _76.headers, 'optionalAccess', _77 => _77.Location])));
23762
+ const idMatch = _optionalChain([locationHeader, 'optionalAccess', _78 => _78.match, 'call', _79 => _79(/\/([a-f0-9-]{36})$/i)]);
23780
23763
  if (!idMatch) {
23781
23764
  throw new Error(
23782
23765
  `Could not extract media id from Location header: ${_nullishCoalesce(locationHeader, () => ( "(missing)"))}`
@@ -23881,7 +23864,7 @@ ${filePathSection}
23881
23864
  let effectiveSourceType;
23882
23865
  let effectiveFileUrl = model.fileUrl;
23883
23866
  if (model.sourceType === "file") {
23884
- if (!_optionalChain([model, 'access', _85 => _85.file, 'optionalAccess', _86 => _86.download_url])) {
23867
+ if (!_optionalChain([model, 'access', _80 => _80.file, 'optionalAccess', _81 => _81.download_url])) {
23885
23868
  return _mcpserversdk.createToolResultError.call(void 0, {
23886
23869
  detail: "Error creating media: sourceType is 'file' but no file object was provided. ChatGPT's connector should inject this automatically when a file is attached \u2014 if it didn't, the user has nothing attached or your client doesn't support openai/fileParams."
23887
23870
  });
@@ -23891,7 +23874,7 @@ ${filePathSection}
23891
23874
  } else {
23892
23875
  effectiveSourceType = model.sourceType;
23893
23876
  }
23894
- if (effectiveSourceType === "url" && isStreamingAuthContextConfigured()) {
23877
+ if (effectiveSourceType === "url" && isStreamingUploadAvailable()) {
23895
23878
  if (!effectiveFileUrl) {
23896
23879
  return _mcpserversdk.createToolResultError.call(void 0, {
23897
23880
  detail: "Error creating media: fileUrl is required when sourceType is 'url'"
@@ -24020,7 +24003,7 @@ ${filePathSection}
24020
24003
  });
24021
24004
  }
24022
24005
  const client = UmbracoManagementClient3.getClient();
24023
- const streamingAvailable = isStreamingAuthContextConfigured();
24006
+ const streamingAvailable = isStreamingUploadAvailable();
24024
24007
  const results = await mapWithConcurrency(
24025
24008
  model.files,
24026
24009
  UPLOAD_CONCURRENCY,
@@ -24030,7 +24013,7 @@ ${filePathSection}
24030
24013
  let effectiveSourceType;
24031
24014
  let effectiveFileUrl = file.fileUrl;
24032
24015
  if (model.sourceType === "file") {
24033
- if (!_optionalChain([file, 'access', _87 => _87.file, 'optionalAccess', _88 => _88.download_url])) {
24016
+ if (!_optionalChain([file, 'access', _82 => _82.file, 'optionalAccess', _83 => _83.download_url])) {
24034
24017
  return {
24035
24018
  success: false,
24036
24019
  name: file.name,
@@ -24129,7 +24112,7 @@ var CreateMediaFolderTool = {
24129
24112
  if (response.status < 200 || response.status >= 300) {
24130
24113
  throw new Error(`Request failed with status code ${response.status}`);
24131
24114
  }
24132
- const locationHeader = _optionalChain([response, 'access', _89 => _89.headers, 'optionalAccess', _90 => _90.location]) || _optionalChain([response, 'access', _91 => _91.headers, 'optionalAccess', _92 => _92.Location]);
24115
+ const locationHeader = _optionalChain([response, 'access', _84 => _84.headers, 'optionalAccess', _85 => _85.location]) || _optionalChain([response, 'access', _86 => _86.headers, 'optionalAccess', _87 => _87.Location]);
24133
24116
  if (!locationHeader) {
24134
24117
  throw new Error("No Location header in response - cannot determine created folder ID");
24135
24118
  }
@@ -25415,7 +25398,7 @@ var CreateMediaTypeFolderTool = {
25415
25398
  validateStatus: () => true
25416
25399
  });
25417
25400
  if (response.status === 201) {
25418
- const locationHeader = _optionalChain([response, 'access', _93 => _93.headers, 'optionalAccess', _94 => _94["location"]]) || _optionalChain([response, 'access', _95 => _95.headers, 'optionalAccess', _96 => _96["Location"]]);
25401
+ const locationHeader = _optionalChain([response, 'access', _88 => _88.headers, 'optionalAccess', _89 => _89["location"]]) || _optionalChain([response, 'access', _90 => _90.headers, 'optionalAccess', _91 => _91["Location"]]);
25419
25402
  let createdId = model.id || "";
25420
25403
  if (locationHeader) {
25421
25404
  const idMatch = locationHeader.match(/([0-9a-f-]{36})$/i);
@@ -25550,7 +25533,7 @@ var CreateMediaTypeTool = {
25550
25533
  validateStatus: () => true
25551
25534
  });
25552
25535
  if (response.status === 201) {
25553
- const locationHeader = _optionalChain([response, 'access', _97 => _97.headers, 'optionalAccess', _98 => _98["location"]]) || _optionalChain([response, 'access', _99 => _99.headers, 'optionalAccess', _100 => _100["Location"]]);
25536
+ const locationHeader = _optionalChain([response, 'access', _92 => _92.headers, 'optionalAccess', _93 => _93["location"]]) || _optionalChain([response, 'access', _94 => _94.headers, 'optionalAccess', _95 => _95["Location"]]);
25554
25537
  let createdId = model.id || "";
25555
25538
  if (locationHeader) {
25556
25539
  const idMatch = locationHeader.match(/([0-9a-f-]{36})$/i);
@@ -25601,7 +25584,7 @@ var CopyMediaTypeTool = {
25601
25584
  validateStatus: () => true
25602
25585
  });
25603
25586
  if (response.status === 201) {
25604
- const locationHeader = _optionalChain([response, 'access', _101 => _101.headers, 'optionalAccess', _102 => _102["location"]]) || _optionalChain([response, 'access', _103 => _103.headers, 'optionalAccess', _104 => _104["Location"]]);
25587
+ const locationHeader = _optionalChain([response, 'access', _96 => _96.headers, 'optionalAccess', _97 => _97["location"]]) || _optionalChain([response, 'access', _98 => _98.headers, 'optionalAccess', _99 => _99["Location"]]);
25605
25588
  let createdId = "";
25606
25589
  if (locationHeader) {
25607
25590
  const idMatch = locationHeader.match(/([0-9a-f-]{36})$/i);
@@ -25811,7 +25794,7 @@ var CreateMemberTool = {
25811
25794
  validateStatus: () => true
25812
25795
  });
25813
25796
  if (response.status === 201) {
25814
- const locationHeader = _optionalChain([response, 'access', _105 => _105.headers, 'optionalAccess', _106 => _106["location"]]) || _optionalChain([response, 'access', _107 => _107.headers, 'optionalAccess', _108 => _108["Location"]]);
25797
+ const locationHeader = _optionalChain([response, 'access', _100 => _100.headers, 'optionalAccess', _101 => _101["location"]]) || _optionalChain([response, 'access', _102 => _102.headers, 'optionalAccess', _103 => _103["Location"]]);
25815
25798
  let createdId = model.id || "";
25816
25799
  if (locationHeader) {
25817
25800
  const idMatch = locationHeader.match(/([0-9a-f-]{36})$/i);
@@ -26360,7 +26343,7 @@ var CreateMemberTypeTool = {
26360
26343
  validateStatus: () => true
26361
26344
  });
26362
26345
  if (response.status === 201) {
26363
- const locationHeader = _optionalChain([response, 'access', _109 => _109.headers, 'optionalAccess', _110 => _110["location"]]) || _optionalChain([response, 'access', _111 => _111.headers, 'optionalAccess', _112 => _112["Location"]]);
26346
+ const locationHeader = _optionalChain([response, 'access', _104 => _104.headers, 'optionalAccess', _105 => _105["location"]]) || _optionalChain([response, 'access', _106 => _106.headers, 'optionalAccess', _107 => _107["Location"]]);
26364
26347
  let createdId = model.id || "";
26365
26348
  if (locationHeader) {
26366
26349
  const idMatch = locationHeader.match(/([0-9a-f-]{36})$/i);
@@ -26530,7 +26513,7 @@ var CopyMemberTypeTool = {
26530
26513
  validateStatus: () => true
26531
26514
  });
26532
26515
  if (response.status === 201) {
26533
- const locationHeader = _optionalChain([response, 'access', _113 => _113.headers, 'optionalAccess', _114 => _114["location"]]) || _optionalChain([response, 'access', _115 => _115.headers, 'optionalAccess', _116 => _116["Location"]]);
26516
+ const locationHeader = _optionalChain([response, 'access', _108 => _108.headers, 'optionalAccess', _109 => _109["location"]]) || _optionalChain([response, 'access', _110 => _110.headers, 'optionalAccess', _111 => _111["Location"]]);
26534
26517
  let createdId = "";
26535
26518
  if (locationHeader) {
26536
26519
  const idMatch = locationHeader.match(/([0-9a-f-]{36})$/i);
@@ -26890,7 +26873,7 @@ var CreatePartialViewTool = {
26890
26873
  validateStatus: () => true
26891
26874
  });
26892
26875
  if (response.status === 201) {
26893
- const locationHeader = _optionalChain([response, 'access', _117 => _117.headers, 'optionalAccess', _118 => _118["location"]]) || _optionalChain([response, 'access', _119 => _119.headers, 'optionalAccess', _120 => _120["Location"]]);
26876
+ const locationHeader = _optionalChain([response, 'access', _112 => _112.headers, 'optionalAccess', _113 => _113["location"]]) || _optionalChain([response, 'access', _114 => _114.headers, 'optionalAccess', _115 => _115["Location"]]);
26894
26877
  let createdPath = "";
26895
26878
  if (locationHeader) {
26896
26879
  const pathMatch = locationHeader.match(/partial-view\/(.+)$/);
@@ -26937,7 +26920,7 @@ var CreatePartialViewFolderTool = {
26937
26920
  validateStatus: () => true
26938
26921
  });
26939
26922
  if (response.status === 201) {
26940
- const locationHeader = _optionalChain([response, 'access', _121 => _121.headers, 'optionalAccess', _122 => _122["location"]]) || _optionalChain([response, 'access', _123 => _123.headers, 'optionalAccess', _124 => _124["Location"]]);
26923
+ const locationHeader = _optionalChain([response, 'access', _116 => _116.headers, 'optionalAccess', _117 => _117["location"]]) || _optionalChain([response, 'access', _118 => _118.headers, 'optionalAccess', _119 => _119["Location"]]);
26941
26924
  let createdPath = "";
26942
26925
  if (locationHeader) {
26943
26926
  const pathMatch = locationHeader.match(/partial-view\/folder\/(.+)$/);
@@ -27734,7 +27717,7 @@ var CreateScriptTool = {
27734
27717
  validateStatus: () => true
27735
27718
  });
27736
27719
  if (response.status === 201) {
27737
- const locationHeader = _optionalChain([response, 'access', _125 => _125.headers, 'optionalAccess', _126 => _126["location"]]) || _optionalChain([response, 'access', _127 => _127.headers, 'optionalAccess', _128 => _128["Location"]]);
27720
+ const locationHeader = _optionalChain([response, 'access', _120 => _120.headers, 'optionalAccess', _121 => _121["location"]]) || _optionalChain([response, 'access', _122 => _122.headers, 'optionalAccess', _123 => _123["Location"]]);
27738
27721
  let createdPath = "";
27739
27722
  if (locationHeader) {
27740
27723
  const pathMatch = locationHeader.match(/script\/(.+)$/);
@@ -27781,7 +27764,7 @@ var CreateScriptFolderTool = {
27781
27764
  validateStatus: () => true
27782
27765
  });
27783
27766
  if (response.status === 201) {
27784
- const locationHeader = _optionalChain([response, 'access', _129 => _129.headers, 'optionalAccess', _130 => _130["location"]]) || _optionalChain([response, 'access', _131 => _131.headers, 'optionalAccess', _132 => _132["Location"]]);
27767
+ const locationHeader = _optionalChain([response, 'access', _124 => _124.headers, 'optionalAccess', _125 => _125["location"]]) || _optionalChain([response, 'access', _126 => _126.headers, 'optionalAccess', _127 => _127["Location"]]);
27785
27768
  let createdPath = "";
27786
27769
  if (locationHeader) {
27787
27770
  const pathMatch = locationHeader.match(/script\/folder\/(.+)$/);
@@ -28378,7 +28361,7 @@ var CreateStylesheetTool = {
28378
28361
  validateStatus: () => true
28379
28362
  });
28380
28363
  if (response.status === 201) {
28381
- const locationHeader = _optionalChain([response, 'access', _133 => _133.headers, 'optionalAccess', _134 => _134["location"]]) || _optionalChain([response, 'access', _135 => _135.headers, 'optionalAccess', _136 => _136["Location"]]);
28364
+ const locationHeader = _optionalChain([response, 'access', _128 => _128.headers, 'optionalAccess', _129 => _129["location"]]) || _optionalChain([response, 'access', _130 => _130.headers, 'optionalAccess', _131 => _131["Location"]]);
28382
28365
  let createdPath = "";
28383
28366
  if (locationHeader) {
28384
28367
  const pathMatch = locationHeader.match(/stylesheet\/(.+)$/);
@@ -28425,7 +28408,7 @@ var CreateStylesheetFolderTool = {
28425
28408
  validateStatus: () => true
28426
28409
  });
28427
28410
  if (response.status === 201) {
28428
- const locationHeader = _optionalChain([response, 'access', _137 => _137.headers, 'optionalAccess', _138 => _138["location"]]) || _optionalChain([response, 'access', _139 => _139.headers, 'optionalAccess', _140 => _140["Location"]]);
28411
+ const locationHeader = _optionalChain([response, 'access', _132 => _132.headers, 'optionalAccess', _133 => _133["location"]]) || _optionalChain([response, 'access', _134 => _134.headers, 'optionalAccess', _135 => _135["Location"]]);
28429
28412
  let createdPath = "";
28430
28413
  if (locationHeader) {
28431
28414
  const pathMatch = locationHeader.match(/stylesheet\/folder\/(.+)$/);
@@ -28789,7 +28772,7 @@ var CreateTemplateTool = {
28789
28772
  validateStatus: () => true
28790
28773
  });
28791
28774
  if (response.status === 201) {
28792
- const locationHeader = _optionalChain([response, 'access', _141 => _141.headers, 'optionalAccess', _142 => _142["location"]]) || _optionalChain([response, 'access', _143 => _143.headers, 'optionalAccess', _144 => _144["Location"]]);
28775
+ const locationHeader = _optionalChain([response, 'access', _136 => _136.headers, 'optionalAccess', _137 => _137["location"]]) || _optionalChain([response, 'access', _138 => _138.headers, 'optionalAccess', _139 => _139["Location"]]);
28793
28776
  let createdId = "";
28794
28777
  if (locationHeader) {
28795
28778
  const idMatch = locationHeader.match(/template\/([a-f0-9-]+)$/i);
@@ -29518,15 +29501,11 @@ var get_user_current_permissions_default = _mcpserversdk.withStandardDecorators.
29518
29501
 
29519
29502
 
29520
29503
 
29521
-
29522
- var outputSchema66 = _zod.z.object({
29523
- items: getUserCurrentPermissionsDocumentResponse
29524
- });
29525
29504
  var GetUserCurrentPermissionsDocumentTool = {
29526
29505
  name: "get-user-current-permissions-document",
29527
29506
  description: "Gets the current user's document permissions for specific documents",
29528
29507
  inputSchema: getUserCurrentPermissionsDocumentQueryParams.shape,
29529
- outputSchema: outputSchema66.shape,
29508
+ outputSchema: getUserCurrentPermissionsDocumentResponse.shape,
29530
29509
  annotations: { readOnlyHint: true },
29531
29510
  slices: ["permissions"],
29532
29511
  handler: (async (params) => {
@@ -29721,7 +29700,7 @@ var CreateUserDataTool = {
29721
29700
  validateStatus: () => true
29722
29701
  });
29723
29702
  if (response.status === 201) {
29724
- const locationHeader = _optionalChain([response, 'access', _145 => _145.headers, 'optionalAccess', _146 => _146["location"]]) || _optionalChain([response, 'access', _147 => _147.headers, 'optionalAccess', _148 => _148["Location"]]);
29703
+ const locationHeader = _optionalChain([response, 'access', _140 => _140.headers, 'optionalAccess', _141 => _141["location"]]) || _optionalChain([response, 'access', _142 => _142.headers, 'optionalAccess', _143 => _143["Location"]]);
29725
29704
  let createdId = "";
29726
29705
  if (locationHeader) {
29727
29706
  const idMatch = locationHeader.match(/user-data\/([a-f0-9-]+)$/i);
@@ -29875,14 +29854,14 @@ var get_user_group_default = _mcpserversdk.withStandardDecorators.call(void 0, G
29875
29854
 
29876
29855
 
29877
29856
 
29878
- var outputSchema67 = _zod.z.object({
29857
+ var outputSchema66 = _zod.z.object({
29879
29858
  items: getItemUserGroupResponse
29880
29859
  });
29881
29860
  var GetUserGroupByIdArrayTool = {
29882
29861
  name: "get-user-group-by-id-array",
29883
29862
  description: "Gets user groups by an array of IDs",
29884
29863
  inputSchema: getItemUserGroupQueryParams.shape,
29885
- outputSchema: outputSchema67.shape,
29864
+ outputSchema: outputSchema66.shape,
29886
29865
  annotations: { readOnlyHint: true },
29887
29866
  slices: ["list"],
29888
29867
  handler: (async (params) => {
@@ -29959,7 +29938,7 @@ var CreateUserGroupTool = {
29959
29938
  validateStatus: () => true
29960
29939
  });
29961
29940
  if (response.status === 201) {
29962
- const locationHeader = _optionalChain([response, 'access', _149 => _149.headers, 'optionalAccess', _150 => _150["location"]]) || _optionalChain([response, 'access', _151 => _151.headers, 'optionalAccess', _152 => _152["Location"]]);
29941
+ const locationHeader = _optionalChain([response, 'access', _144 => _144.headers, 'optionalAccess', _145 => _145["location"]]) || _optionalChain([response, 'access', _146 => _146.headers, 'optionalAccess', _147 => _147["Location"]]);
29963
29942
  let createdId = "";
29964
29943
  if (locationHeader) {
29965
29944
  const idMatch = locationHeader.match(/user-group\/([a-f0-9-]+)$/i);
@@ -30103,14 +30082,14 @@ var get_webhook_by_id_default = _mcpserversdk.withStandardDecorators.call(void 0
30103
30082
 
30104
30083
 
30105
30084
 
30106
- var outputSchema68 = _zod.z.object({
30085
+ var outputSchema67 = _zod.z.object({
30107
30086
  items: getItemWebhookResponse
30108
30087
  });
30109
30088
  var GetWebhookItemTool = {
30110
30089
  name: "get-webhook-item",
30111
30090
  description: "Gets webhooks by IDs (or empty array if no IDs are provided)",
30112
30091
  inputSchema: getItemWebhookQueryParams.shape,
30113
- outputSchema: outputSchema68.shape,
30092
+ outputSchema: outputSchema67.shape,
30114
30093
  annotations: { readOnlyHint: true },
30115
30094
  slices: ["list"],
30116
30095
  handler: (async (params) => {
@@ -30257,7 +30236,7 @@ var CreateWebhookTool = {
30257
30236
  validateStatus: () => true
30258
30237
  });
30259
30238
  if (response.status === 201) {
30260
- const locationHeader = _optionalChain([response, 'access', _153 => _153.headers, 'optionalAccess', _154 => _154["location"]]) || _optionalChain([response, 'access', _155 => _155.headers, 'optionalAccess', _156 => _156["Location"]]);
30239
+ const locationHeader = _optionalChain([response, 'access', _148 => _148.headers, 'optionalAccess', _149 => _149["location"]]) || _optionalChain([response, 'access', _150 => _150.headers, 'optionalAccess', _151 => _151["Location"]]);
30261
30240
  let createdId = "";
30262
30241
  if (locationHeader) {
30263
30242
  const idMatch = locationHeader.match(/webhook\/([a-f0-9-]+)$/i);
@@ -30494,4 +30473,4 @@ var allSliceNames = [...toolSliceNames, "other"];
30494
30473
 
30495
30474
 
30496
30475
  exports.__commonJS = __commonJS; exports.__toESM = __toESM; exports.UmbracoManagementClient = UmbracoManagementClient3; exports.setAllowFilePathUploads = setAllowFilePathUploads; exports.setUmbracoVersion = setUmbracoVersion; exports.availableCollections = availableCollections; exports.allModes = allModes; exports.allModeNames = allModeNames; exports.allSliceNames = allSliceNames;
30497
- //# sourceMappingURL=chunk-GOS3TR7Z.cjs.map
30476
+ //# sourceMappingURL=chunk-R2HBS7YH.cjs.map