node-autotask 0.65.0 → 0.66.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 (34) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/MCP_TOOL_CATALOG.json +34 -14
  3. package/README.md +1 -1
  4. package/capabilities.json +157 -96
  5. package/dist/capabilities-data.js +156 -95
  6. package/dist/capabilities.cjs +4 -4
  7. package/dist/capabilities.js +1 -1
  8. package/dist/{chunk-C73NILBZ.js → chunk-4HJVHVPE.js} +2 -2
  9. package/dist/{chunk-WKR5IJEC.cjs → chunk-FLVMENXG.cjs} +3 -3
  10. package/dist/{chunk-ULI4UUB3.js → chunk-KO36QZXN.js} +390 -405
  11. package/dist/{chunk-N4EO3KAY.js → chunk-L5K2D2MZ.js} +3 -3
  12. package/dist/{chunk-M63TK4ZH.cjs → chunk-QG3O5G4L.cjs} +175 -179
  13. package/dist/{chunk-MXLE2F5G.js → chunk-T5TI22K5.js} +4 -8
  14. package/dist/{chunk-NTHEFYA7.cjs → chunk-TIFJFCCN.cjs} +395 -410
  15. package/dist/{chunk-UHV7SAX6.cjs → chunk-XAJ7SBPE.cjs} +31 -31
  16. package/dist/{index-vcFKvZqm.d.ts → index-BZ11hF8H.d.ts} +10 -24
  17. package/dist/{index-CRVQBajX.d.cts → index-DnisYPlj.d.cts} +10 -24
  18. package/dist/index.cjs +84 -84
  19. package/dist/index.d.cts +2 -2
  20. package/dist/index.d.ts +2 -2
  21. package/dist/index.js +5 -5
  22. package/dist/operations/index.cjs +50 -50
  23. package/dist/operations/index.d.cts +3 -3
  24. package/dist/operations/index.d.ts +3 -3
  25. package/dist/operations/index.js +2 -2
  26. package/dist/pool.cjs +8 -8
  27. package/dist/pool.js +4 -4
  28. package/dist/resources/index.cjs +27 -27
  29. package/dist/resources/index.d.cts +1 -1
  30. package/dist/resources/index.d.ts +1 -1
  31. package/dist/resources/index.js +3 -3
  32. package/docs/API.md +2 -2
  33. package/docs/VENDOR-QUIRKS.md +50 -34
  34. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { GenericResource, parseIdentifier, AutotaskConfigError, StaleObjectError, buildDryRunResult, RELATIONSHIP_MAP, createNamePlan, resolveCompositeNames, addNameSibling, NotFoundError, unwrapItems, ConflictError, clientOf, compositePartLimit, invokeRead, compositePart, openTicketsOfPart, unwrapOperation, unwrapItem, ResolutionError, numericIds, IN_FILTER_CAP, runMove, resolveTicketStatusSemantics, openStatusFilter, isClosedStatus, vendorId, isAutotaskError, resolveLineOfBusinessChain, uiLinkFor, refuse, queryRows, mergePartialBody, AutotaskError, TICKET_LABEL_FIELDS, addLabelSibling, parseVendorErrors, cursorToPath } from './chunk-ULI4UUB3.js';
2
- import { loadCapabilityRecords } from './chunk-N4EO3KAY.js';
1
+ import { GenericResource, parseIdentifier, AutotaskConfigError, StaleObjectError, buildDryRunResult, createNamePlan, resolveCompositeNames, addNameSibling, NotFoundError, unwrapItems, ConflictError, clientOf, compositePartLimit, invokeRead, compositePart, openTicketsOfPart, unwrapOperation, unwrapItem, ResolutionError, numericIds, IN_FILTER_CAP, runMove, resolveTicketStatusSemantics, openStatusFilter, isClosedStatus, vendorId, isAutotaskError, resolveLineOfBusinessChain, uiLinkFor, refuse, queryRows, mergePartialBody, AutotaskError, TICKET_LABEL_FIELDS, addLabelSibling, parseVendorErrors, RELATIONSHIP_MAP, cursorToPath } from './chunk-KO36QZXN.js';
2
+ import { loadCapabilityRecords } from './chunk-L5K2D2MZ.js';
3
3
 
4
4
  // src/resources/special/configuration_items.ts
5
5
  async function fetchRecord(http, path, label, readOpts) {
@@ -131,15 +131,11 @@ async function profile(resource, id, opts = {}) {
131
131
  const notes = await ciScopedQuery(http, "/V1.0/ConfigurationItemNotes/query", id, noteLimit);
132
132
  const relatedItems = await ciScopedQuery(http, "/V1.0/ConfigurationItemRelatedItems/query", id, relatedLimit);
133
133
  const associations = await ciScopedQuery(http, "/V1.0/ConfigurationItemBillingProductAssociations/query", id, PROFILE_PART_LIMIT);
134
- const wallQuirk = RELATIONSHIP_MAP["configuration_items"]?.zoneFacts?.quirks?.find(
135
- (q) => q.kind === "field-constraint" && q.ops.includes("create") && (q.fields ?? []).includes("productID")
136
- );
137
134
  const productAssociations = {
138
135
  items: associations,
139
136
  capped: associations.length >= PROFILE_PART_LIMIT,
140
- blind: wallQuirk !== void 0
137
+ blind: false
141
138
  };
142
- if (wallQuirk !== void 0) productAssociations.note = wallQuirk.statement;
143
139
  const result = {
144
140
  ci,
145
141
  type,
@@ -153,7 +149,7 @@ async function profile(resource, id, opts = {}) {
153
149
  category: category !== null ? "ok" : "absent",
154
150
  notes: "ok",
155
151
  relatedItems: "ok",
156
- productAssociations: wallQuirk !== void 0 ? "blind" : "ok"
152
+ productAssociations: "ok"
157
153
  }
158
154
  };
159
155
  if (opts.names === true) {