node-autotask 0.75.0 → 0.76.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 (39) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/MCP_TOOL_CATALOG.json +137 -9
  3. package/README.md +1 -1
  4. package/capabilities.json +483 -7
  5. package/dist/capabilities-data.js +482 -6
  6. package/dist/capabilities.cjs +4 -4
  7. package/dist/capabilities.js +1 -1
  8. package/dist/{chunk-MCAGTC6R.js → chunk-3SFIKG2R.js} +189 -17
  9. package/dist/{chunk-YGJCTU7F.cjs → chunk-55BQEFBO.cjs} +31 -30
  10. package/dist/{chunk-VMFQ53HQ.cjs → chunk-C4S3EKIK.cjs} +3 -3
  11. package/dist/{chunk-OFYXDB5G.js → chunk-ECSE6B3U.js} +3 -3
  12. package/dist/{chunk-JEARDPBL.js → chunk-S7QPD6TR.js} +2 -2
  13. package/dist/{chunk-OTDNHBJJ.js → chunk-UFK7JYYC.js} +3 -2
  14. package/dist/{chunk-54CRUNXF.cjs → chunk-Y4BH5N6R.cjs} +194 -22
  15. package/dist/{chunk-52YS7NCR.cjs → chunk-YRTOAPWD.cjs} +199 -199
  16. package/dist/{index-BEuTtkQE.d.cts → index-BbAzrm2i.d.cts} +46 -1
  17. package/dist/{index-BEuTtkQE.d.ts → index-BbAzrm2i.d.ts} +46 -1
  18. package/dist/{index-CNuQgQ_Z.d.ts → index-CY7exGOe.d.ts} +3 -2
  19. package/dist/{index-BAu5alhB.d.cts → index-MY7qYY5d.d.cts} +3 -2
  20. package/dist/index.cjs +84 -84
  21. package/dist/index.d.cts +3 -3
  22. package/dist/index.d.ts +3 -3
  23. package/dist/index.js +5 -5
  24. package/dist/operations/index.cjs +51 -51
  25. package/dist/operations/index.d.cts +4 -4
  26. package/dist/operations/index.d.ts +4 -4
  27. package/dist/operations/index.js +2 -2
  28. package/dist/pool.cjs +12 -12
  29. package/dist/pool.d.cts +1 -1
  30. package/dist/pool.d.ts +1 -1
  31. package/dist/pool.js +4 -4
  32. package/dist/resources/index.cjs +27 -27
  33. package/dist/resources/index.d.cts +2 -2
  34. package/dist/resources/index.d.ts +2 -2
  35. package/dist/resources/index.js +3 -3
  36. package/dist/types/index.d.cts +1 -1
  37. package/dist/types/index.d.ts +1 -1
  38. package/docs/API.md +3 -2
  39. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkVMFQ53HQ_cjs = require('./chunk-VMFQ53HQ.cjs');
3
+ var chunkC4S3EKIK_cjs = require('./chunk-C4S3EKIK.cjs');
4
4
  var chunkBD4AUGCJ_cjs = require('./chunk-BD4AUGCJ.cjs');
5
5
  var crypto = require('crypto');
6
6
  var async_hooks = require('async_hooks');
@@ -9775,7 +9775,24 @@ var RELATIONSHIP_MAP = {
9775
9775
  "segment": "Notes",
9776
9776
  "field": "taskID"
9777
9777
  },
9778
- "children": [],
9778
+ "children": [
9779
+ {
9780
+ "resource": "task_note_attachments",
9781
+ "apiEntity": "TaskNoteAttachment",
9782
+ "parentField": "taskNoteID",
9783
+ "parentSegment": "Attachments",
9784
+ "tier": "extended",
9785
+ "workflowResource": false,
9786
+ "specialOps": [],
9787
+ "searchCovers": null,
9788
+ "scopedOps": {
9789
+ "create": true,
9790
+ "query": true,
9791
+ "update": false,
9792
+ "delete": true
9793
+ }
9794
+ }
9795
+ ],
9779
9796
  "naturalKeys": {
9780
9797
  "hasSearch": false,
9781
9798
  "searchCovers": null,
@@ -9906,6 +9923,72 @@ var RELATIONSHIP_MAP = {
9906
9923
  },
9907
9924
  "deleteBoundary": null,
9908
9925
  "markerField": null
9926
+ },
9927
+ "task_note_attachments": {
9928
+ "resource": "task_note_attachments",
9929
+ "apiEntity": "TaskNoteAttachment",
9930
+ "kind": "entity",
9931
+ "path": "TaskNoteAttachments",
9932
+ "parentScoped": true,
9933
+ "tier": "extended",
9934
+ "workflowResource": false,
9935
+ "group": "A",
9936
+ "parent": {
9937
+ "resource": "task_notes",
9938
+ "segment": "Attachments",
9939
+ "field": "taskNoteID"
9940
+ },
9941
+ "children": [],
9942
+ "naturalKeys": {
9943
+ "hasSearch": false,
9944
+ "searchCovers": null,
9945
+ "findBy": []
9946
+ },
9947
+ "blindSurfaces": null,
9948
+ "zoneFacts": {
9949
+ "createGuidance": {
9950
+ "createOp": "task_note_attachments.create",
9951
+ "parentScoped": true,
9952
+ "liveProvenPrefix": [],
9953
+ "unproven": true,
9954
+ "blocker": {
9955
+ "kind": "unknown",
9956
+ "message": "Attachment creation is documented; valid input remains subject to API-user permissions and vendor validation.",
9957
+ "remedy": "Read the current field and picklist metadata, supply the named parent id, and preview the attachment before applying.",
9958
+ "requires": {
9959
+ "allOf": [
9960
+ "attachmentType",
9961
+ "fullPath",
9962
+ "title",
9963
+ "publish",
9964
+ "data"
9965
+ ]
9966
+ }
9967
+ },
9968
+ "requiresByValue": [
9969
+ {
9970
+ "field": "attachmentType",
9971
+ "value": "FILE_ATTACHMENT",
9972
+ "requires": {
9973
+ "allOf": [
9974
+ "data"
9975
+ ]
9976
+ }
9977
+ }
9978
+ ],
9979
+ "vendorEvidence": [
9980
+ "https://www.autotask.net/help/developerhelp/Content/APIs/REST/Entities/TaskNoteAttachmentsEntity.htm",
9981
+ "https://www.autotask.net/help/developerhelp/content/apis/REST/API_Calls/REST_Attachments.htm",
9982
+ "Official entity URLs table repeats TaskNotes routes, while vendored TaskNoteAttachments controllers define the actual scoped attachment routes. No update, UDF metadata or data-download endpoint is implemented. Static contract only; no live create."
9983
+ ],
9984
+ "deleteBoundary": {
9985
+ "available": true,
9986
+ "note": null
9987
+ }
9988
+ }
9989
+ },
9990
+ "deleteBoundary": null,
9991
+ "markerField": null
9909
9992
  }
9910
9993
  };
9911
9994
  var BLIND_SURFACE_STAMPS = {
@@ -13493,6 +13576,47 @@ var CREATE_GUIDANCE = {
13493
13576
  }
13494
13577
  ]
13495
13578
  },
13579
+ {
13580
+ "resource": "task_note_attachments",
13581
+ "createOp": "task_note_attachments.create",
13582
+ "parentScoped": true,
13583
+ "liveProvenPrefix": [],
13584
+ "unproven": true,
13585
+ "blocker": {
13586
+ "kind": "unknown",
13587
+ "message": "Attachment creation is documented; valid input remains subject to API-user permissions and vendor validation.",
13588
+ "remedy": "Read the current field and picklist metadata, supply the named parent id, and preview the attachment before applying.",
13589
+ "requires": {
13590
+ "allOf": [
13591
+ "attachmentType",
13592
+ "fullPath",
13593
+ "title",
13594
+ "publish",
13595
+ "data"
13596
+ ]
13597
+ }
13598
+ },
13599
+ "vendorEvidence": [
13600
+ "https://www.autotask.net/help/developerhelp/Content/APIs/REST/Entities/TaskNoteAttachmentsEntity.htm",
13601
+ "https://www.autotask.net/help/developerhelp/content/apis/REST/API_Calls/REST_Attachments.htm",
13602
+ "Official entity URLs table repeats TaskNotes routes, while vendored TaskNoteAttachments controllers define the actual scoped attachment routes. No update, UDF metadata or data-download endpoint is implemented. Static contract only; no live create."
13603
+ ],
13604
+ "deleteBoundary": {
13605
+ "available": true,
13606
+ "note": null
13607
+ },
13608
+ "requiresByValue": [
13609
+ {
13610
+ "field": "attachmentType",
13611
+ "value": "FILE_ATTACHMENT",
13612
+ "requires": {
13613
+ "allOf": [
13614
+ "data"
13615
+ ]
13616
+ }
13617
+ }
13618
+ ]
13619
+ },
13496
13620
  {
13497
13621
  "resource": "task_notes",
13498
13622
  "createOp": "task_notes.create",
@@ -14086,7 +14210,7 @@ var CREATE_GUIDANCE = {
14086
14210
  }
14087
14211
  ],
14088
14212
  "counts": {
14089
- "total": 105,
14213
+ "total": 106,
14090
14214
  "byKind": {
14091
14215
  "ok": 41,
14092
14216
  "blind-reference": 16,
@@ -14096,7 +14220,7 @@ var CREATE_GUIDANCE = {
14096
14220
  "resource-role-pair": 2,
14097
14221
  "delete-absent": 0,
14098
14222
  "non-mutable": 0,
14099
- "unknown": 29
14223
+ "unknown": 30
14100
14224
  }
14101
14225
  }
14102
14226
  };
@@ -14829,6 +14953,9 @@ var UNTRUSTED_FIELDS_BY_RESOURCE = {
14829
14953
  ],
14830
14954
  "task_attachments": [
14831
14955
  "title"
14956
+ ],
14957
+ "task_note_attachments": [
14958
+ "title"
14832
14959
  ]
14833
14960
  };
14834
14961
 
@@ -16703,7 +16830,7 @@ async function capabilitySets() {
16703
16830
  const fieldOps = /* @__PURE__ */ new Map();
16704
16831
  const udfCapable = /* @__PURE__ */ new Set();
16705
16832
  const resources = /* @__PURE__ */ new Set();
16706
- for (const rec of await chunkVMFQ53HQ_cjs.loadCapabilityRecords()) {
16833
+ for (const rec of await chunkC4S3EKIK_cjs.loadCapabilityRecords()) {
16707
16834
  if (rec.resource === "operations") continue;
16708
16835
  resources.add(rec.resource);
16709
16836
  if (rec.operation === "getFieldInfo") fieldOps.set(rec.resource, rec);
@@ -16714,7 +16841,7 @@ async function capabilitySets() {
16714
16841
  var derivedIndexPromise = null;
16715
16842
  function derivedIndexLoad() {
16716
16843
  if (derivedIndexPromise === null) {
16717
- derivedIndexPromise = chunkVMFQ53HQ_cjs.loadCapabilityRecords().then((records) => {
16844
+ derivedIndexPromise = chunkC4S3EKIK_cjs.loadCapabilityRecords().then((records) => {
16718
16845
  const index = /* @__PURE__ */ new Map();
16719
16846
  for (const rec of records) {
16720
16847
  const declared = rec.metadata?.derivedFields;
@@ -17924,6 +18051,7 @@ var MODEL_FIELD_SETS = {
17924
18051
  "tag_groups": ["id", "displayColor", "isActive", "isSystem", "label"],
17925
18052
  "tags": ["id", "createDateTime", "isActive", "isExcludedFromAutomaticTagging", "isSystem", "label", "lastModifiedDateTime", "tagGroupID"],
17926
18053
  "task_attachments": ["id", "attachDate", "attachedByContactID", "attachedByResourceID", "attachmentType", "contentType", "creatorType", "fileSize", "fullPath", "impersonatorCreatorResourceID", "opportunityID", "parentAttachmentID", "parentID", "publish", "taskID", "taskNoteID", "timeEntryID", "title", "data", "isTaskAttachment", "parentType", "soapParentPropertyId"],
18054
+ "task_note_attachments": ["id", "isTaskAttachment", "attachDate", "attachedByContactID", "attachedByResourceID", "attachmentType", "contentType", "creatorType", "fileSize", "fullPath", "impersonatorCreatorResourceID", "opportunityID", "parentID", "publish", "taskID", "taskNoteID", "title", "data", "parentType", "soapParentPropertyId"],
17927
18055
  "task_notes": ["id", "createDateTime", "creatorResourceID", "createdByContactID", "description", "impersonatorCreatorResourceID", "impersonatorUpdaterResourceID", "lastActivityDate", "noteType", "publish", "taskID", "title", "soapParentPropertyId"],
17928
18056
  "task_predecessors": ["id", "lagDays", "predecessorTaskID", "successorTaskID", "soapParentPropertyId"],
17929
18057
  "task_secondary_resources": ["id", "resourceID", "roleID", "taskID", "soapParentPropertyId"],
@@ -18003,6 +18131,7 @@ var MODEL_DATE_FIELDS = {
18003
18131
  "survey_results": ["completeDate", "sendDate"],
18004
18132
  "tags": ["createDateTime", "lastModifiedDateTime"],
18005
18133
  "task_attachments": ["attachDate"],
18134
+ "task_note_attachments": ["attachDate"],
18006
18135
  "task_notes": ["createDateTime", "lastActivityDate"],
18007
18136
  "tasks": ["completedDateTime", "createDateTime", "endDateTime", "lastActivityDateTime", "startDateTime"],
18008
18137
  "ticket_attachments": ["attachDate"],
@@ -20358,7 +20487,11 @@ async function findUnknownFieldNames(record, holder, lists) {
20358
20487
 
20359
20488
  // src/resources/special/taskAttachments.ts
20360
20489
  var WRITABLE2 = /* @__PURE__ */ new Set(["attachmentType", "contentType", "data", "fullPath", "parentAttachmentID", "publish", "taskID", "title"]);
20490
+ var NOTE_WRITABLE = /* @__PURE__ */ new Set(["attachmentType", "data", "fullPath", "publish", "title", "attachedByContactID"]);
20361
20491
  var NON_QUERYABLE = /* @__PURE__ */ new Set(["creatortype", "data", "filesize"]);
20492
+ function isBase64(value) {
20493
+ return value.length % 4 === 0 && /^[A-Za-z0-9+/]+={0,2}$/.test(value);
20494
+ }
20362
20495
  function admitTaskAttachment(data, parentId) {
20363
20496
  const parent = parseIdentifier(parentId, "parentId");
20364
20497
  const fail2 = (message) => {
@@ -20376,7 +20509,7 @@ function admitTaskAttachment(data, parentId) {
20376
20509
  }
20377
20510
  if (body.attachmentType === "FILE_ATTACHMENT") {
20378
20511
  if (typeof body.data !== "string" || body.data === "") return fail2("FILE_ATTACHMENT requires non-empty base64 data");
20379
- if (body.data.length % 4 !== 0 || !/^[A-Za-z0-9+/]+={0,2}$/.test(body.data)) fail2("FILE_ATTACHMENT data must be base64 encoded");
20512
+ if (!isBase64(body.data)) fail2("FILE_ATTACHMENT data must be base64 encoded");
20380
20513
  }
20381
20514
  if (body.taskID !== void 0) {
20382
20515
  if (typeof body.taskID !== "number") fail2("taskID must be a numeric identifier");
@@ -20387,13 +20520,32 @@ function admitTaskAttachment(data, parentId) {
20387
20520
  parseIdentifier(body.parentAttachmentID, "parentAttachmentID");
20388
20521
  }
20389
20522
  }
20390
- function admitTaskAttachmentQuery(params) {
20391
- const fields = collectFilterFieldNames(normalizedConditions(params?.filter) ?? [], "task_attachments");
20523
+ function admitTaskNoteAttachment(data, parentId) {
20524
+ parseIdentifier(parentId, "parentId");
20525
+ const fail2 = (message) => {
20526
+ throw new AutotaskConfigError(`task_note_attachments: ${message}`);
20527
+ };
20528
+ if (data === null || typeof data !== "object" || ![Object.prototype, null].includes(Object.getPrototypeOf(data))) fail2("data must be a plain record");
20529
+ const body = data;
20530
+ for (const field of Object.keys(body)) if (!NOTE_WRITABLE.has(field)) fail2(`${field} is not a supported create field`);
20531
+ if (body.attachmentType !== "FILE_ATTACHMENT") fail2("attachmentType must explicitly be FILE_ATTACHMENT; other attachment types are unsupported");
20532
+ for (const field of ["fullPath", "title"]) {
20533
+ if (typeof body[field] !== "string" || body[field].trim() === "" || body[field].length > 255) fail2(`${field} is required and must be a nonblank string of at most 255 characters`);
20534
+ }
20535
+ if (typeof body.publish !== "number" || !Number.isSafeInteger(body.publish)) fail2("publish must be an integer from current field metadata");
20536
+ if (typeof body.data !== "string" || !isBase64(body.data)) fail2("FILE_ATTACHMENT requires nonempty base64 data");
20537
+ if (body.attachedByContactID !== void 0) {
20538
+ if (typeof body.attachedByContactID !== "number") fail2("attachedByContactID must be a numeric identifier");
20539
+ if (parseIdentifier(body.attachedByContactID, "attachedByContactID") === 0) fail2("attachedByContactID must be positive");
20540
+ }
20541
+ }
20542
+ function admitTaskAttachmentQuery(resource, params) {
20543
+ const fields = collectFilterFieldNames(normalizedConditions(params?.filter) ?? [], resource);
20392
20544
  for (const field of fields) {
20393
- if (NON_QUERYABLE.has(field.toLowerCase())) throw new AutotaskConfigError(`task_attachments: ${field} is not queryable`);
20545
+ if (NON_QUERYABLE.has(field.toLowerCase())) throw new AutotaskConfigError(`${resource}: ${field} is not queryable`);
20394
20546
  }
20395
20547
  }
20396
- function assertTaskAttachmentIdentity(model, parentId, id) {
20548
+ function assertTaskAttachmentIdentity(resource, model, parentId, id) {
20397
20549
  const matches = (value, expected) => {
20398
20550
  try {
20399
20551
  return parseIdentifier(value) === parseIdentifier(expected);
@@ -20401,11 +20553,13 @@ function assertTaskAttachmentIdentity(model, parentId, id) {
20401
20553
  return false;
20402
20554
  }
20403
20555
  };
20404
- if (!isRecord2(model) || !matches(model.id, id) || model.taskID != null && !matches(model.taskID, parentId)) {
20405
- throw new AutotaskError("Returned attachment identifiers contradict the requested task or attachment", {
20556
+ const parentField = resource === "task_attachments" ? "taskID" : "taskNoteID";
20557
+ if (!isRecord2(model) || !matches(model.id, id) || model[parentField] != null && !matches(model[parentField], parentId)) {
20558
+ const parentName = resource === "task_attachments" ? "task" : "task note";
20559
+ throw new AutotaskError(`Returned attachment identifiers contradict the requested ${parentName} or attachment`, {
20406
20560
  code: "INVALID_RESPONSE",
20407
20561
  category: "server",
20408
- operation: "task_attachments.get"
20562
+ operation: `${resource}.get`
20409
20563
  });
20410
20564
  }
20411
20565
  }
@@ -21655,6 +21809,20 @@ var SIMPLE_RESOURCES = [
21655
21809
  helpers: { search: false, resolve: false, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
21656
21810
  opForms: { get: "scoped", create: "scoped", delete: "scoped" }
21657
21811
  },
21812
+ {
21813
+ key: "task_note_attachments",
21814
+ accessor: "taskNoteAttachments",
21815
+ resourcePath: "/V1.0/TaskNoteAttachments",
21816
+ parentScopedPath: "/V1.0/TaskNotes/{parentId}/Attachments",
21817
+ parentPath: "/V1.0/TaskNotes",
21818
+ parentField: "taskNoteID",
21819
+ deletable: true,
21820
+ udfCapable: false,
21821
+ attachmentGet: true,
21822
+ ops: { query: true, queryAll: false, count: true, get: true, create: true, update: false, delete: true, getEntityInfo: true, getFieldInfo: true, getUdfInfo: false, download: false },
21823
+ helpers: { search: false, resolve: false, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
21824
+ opForms: { get: "scoped", create: "scoped", delete: "scoped" }
21825
+ },
21658
21826
  {
21659
21827
  key: "task_notes",
21660
21828
  accessor: "taskNotes",
@@ -21943,10 +22111,10 @@ var SIMPLE_RESOURCES = [
21943
22111
  var GenericResource = class extends BaseResource {
21944
22112
  constructor(http, config, pageSize) {
21945
22113
  super(http, config, pageSize);
21946
- if (["company_attachments", "company_note_attachments", "task_attachments"].includes(config.key)) this.getUdfInfo = async () => {
22114
+ if (["company_attachments", "company_note_attachments", "task_attachments", "task_note_attachments"].includes(config.key)) this.getUdfInfo = async () => {
21947
22115
  throw new OperationNotSupportedError(config.key, "getUdfInfo");
21948
22116
  };
21949
- if (config.ops?.create === false || ["company_attachments", "task_attachments", "task_predecessors"].includes(config.key)) this.createIfNotExists = async () => {
22117
+ if (config.ops?.create === false || ["company_attachments", "task_attachments", "task_note_attachments", "task_predecessors"].includes(config.key)) this.createIfNotExists = async () => {
21950
22118
  throw new OperationNotSupportedError(config.key, "createIfNotExists");
21951
22119
  };
21952
22120
  if (config.key === "task_notes") {
@@ -21978,15 +22146,18 @@ var GenericResource = class extends BaseResource {
21978
22146
  }
21979
22147
  async getScopedModel(parentId, id, fresh = false) {
21980
22148
  const model = await super.getScopedModel(parentId, id, fresh);
21981
- if (this.config.key === "task_attachments") assertTaskAttachmentIdentity(model, parentId, id);
22149
+ const key = this.config.key;
22150
+ if (key === "task_attachments" || key === "task_note_attachments") assertTaskAttachmentIdentity(key, model, parentId, id);
21982
22151
  return model;
21983
22152
  }
21984
22153
  async fetchPage(params, page, pageSize, state2) {
21985
- if (this.config.key === "task_attachments") admitTaskAttachmentQuery(params);
22154
+ const key = this.config.key;
22155
+ if (key === "task_attachments" || key === "task_note_attachments") admitTaskAttachmentQuery(key, params);
21986
22156
  return super.fetchPage(params, page, pageSize, state2);
21987
22157
  }
21988
22158
  async countGlobal(params) {
21989
- if (this.config.key === "task_attachments") admitTaskAttachmentQuery(params);
22159
+ const key = this.config.key;
22160
+ if (key === "task_attachments" || key === "task_note_attachments") admitTaskAttachmentQuery(key, params);
21990
22161
  return super.countGlobal(params);
21991
22162
  }
21992
22163
  /** Query records with the G3 filter surface (server-side JSON filter). */
@@ -22029,6 +22200,7 @@ var GenericResource = class extends BaseResource {
22029
22200
  const opts2 = this.config.key === "task_predecessors" ? { ...c } : c ?? {};
22030
22201
  if (this.config.key === "task_notes") admitTaskNote(data2, parentId, true);
22031
22202
  if (this.config.key === "task_attachments") admitTaskAttachment(data2, parentId);
22203
+ if (this.config.key === "task_note_attachments") admitTaskNoteAttachment(data2, parentId);
22032
22204
  if (this.config.key === "task_predecessors") await guardTaskPredecessor(this.http, parentId, void 0, data2);
22033
22205
  if (opts2.dryRun === true) return this.runCreateDryRun(data2, parentId);
22034
22206
  return this.createScopedRaw(parentId, data2, opts2);
@@ -23819,7 +23991,7 @@ function dateBucketLabel(value, bucket) {
23819
23991
  var queryResourceKeysPromise = null;
23820
23992
  function queryResourceKeys() {
23821
23993
  if (queryResourceKeysPromise === null) {
23822
- queryResourceKeysPromise = chunkVMFQ53HQ_cjs.loadCapabilityRecords().then((records) => {
23994
+ queryResourceKeysPromise = chunkC4S3EKIK_cjs.loadCapabilityRecords().then((records) => {
23823
23995
  const s = /* @__PURE__ */ new Set();
23824
23996
  for (const rec of records) if (rec.operation === "query") s.add(rec.resource);
23825
23997
  return s;
@@ -23941,7 +24113,7 @@ function parseTopAndLimit(opts, problems) {
23941
24113
  return { top, limit };
23942
24114
  }
23943
24115
  async function checkFieldNames(resourceKey, conditions, opts, problems) {
23944
- const records = resourceKey === void 0 ? [] : await chunkVMFQ53HQ_cjs.loadCapabilityRecords();
24116
+ const records = resourceKey === void 0 ? [] : await chunkC4S3EKIK_cjs.loadCapabilityRecords();
23945
24117
  const record = resourceKey === void 0 ? void 0 : records.find((r) => r.resource === resourceKey && r.operation === "query");
23946
24118
  if (record === void 0) return void 0;
23947
24119
  const strings = (v) => Array.isArray(v) ? v.filter((f) => typeof f === "string" && f.trim() !== "") : [];
@@ -24586,7 +24758,7 @@ async function uiLink(client, input) {
24586
24758
  var indexPromise = null;
24587
24759
  function operationIndex() {
24588
24760
  if (indexPromise === null) {
24589
- indexPromise = chunkVMFQ53HQ_cjs.loadCapabilityRecords().then((records) => new Map(records.map((r) => [r.id, r])));
24761
+ indexPromise = chunkC4S3EKIK_cjs.loadCapabilityRecords().then((records) => new Map(records.map((r) => [r.id, r])));
24590
24762
  }
24591
24763
  return indexPromise;
24592
24764
  }