node-autotask 0.79.0 → 0.81.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 +12 -0
  2. package/MCP_TOOL_CATALOG.json +265 -9
  3. package/README.md +1 -1
  4. package/capabilities.json +959 -7
  5. package/dist/capabilities-data.js +958 -6
  6. package/dist/capabilities.cjs +4 -4
  7. package/dist/capabilities.js +1 -1
  8. package/dist/{chunk-GJU4DJ6H.js → chunk-5MJZ554M.js} +3 -3
  9. package/dist/{chunk-75TQWC3M.cjs → chunk-6HMGV3MY.cjs} +32 -30
  10. package/dist/{chunk-YK32RN77.js → chunk-ACF32I5D.js} +296 -6
  11. package/dist/{chunk-EEGAMP4D.cjs → chunk-KKUBJRO3.cjs} +199 -199
  12. package/dist/{chunk-MQ2DXOZW.js → chunk-LCUUFTYD.js} +2 -2
  13. package/dist/{chunk-2YFX77XI.cjs → chunk-MR5TGVHR.cjs} +301 -11
  14. package/dist/{chunk-XJQS3FBA.cjs → chunk-PLERXELA.cjs} +3 -3
  15. package/dist/{chunk-XIPZDDZS.js → chunk-X7G4W5DF.js} +4 -2
  16. package/dist/{index-DBz-dqAY.d.cts → index-BxPqypDD.d.cts} +4 -2
  17. package/dist/{index-DS3jnPiq.d.ts → index-DswDMDNH.d.ts} +4 -2
  18. package/dist/{index-BGFWqM2_.d.cts → index-lj8ocwxy.d.cts} +91 -1
  19. package/dist/{index-BGFWqM2_.d.ts → index-lj8ocwxy.d.ts} +91 -1
  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 +4 -2
  39. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { GenericResource, readTasks, OperationNotSupportedError, parseIdentifier, AutotaskConfigError, isRecord, isDateYMD, isAutotaskError, RateLimitError, MaintenanceError, AutotaskError, StaleObjectError, buildDryRunResult, createNamePlan, resolveCompositeNames, addNameSibling, NotFoundError, unwrapItems, ConflictError, clientOf, compositePartLimit, invokeRead, compositePart, openTicketsOfPart, unwrapOperation, unwrapItem, ResolutionError, joinedCompositePart, runMove, resolveTicketStatusSemantics, openStatusFilter, isClosedStatus, vendorId, resolveLineOfBusinessChain, cachedRecordGet, uiLinkFor, refuse, queryRows, mergePartialBody, TICKET_LABEL_FIELDS, addLabelSibling, parseVendorErrors, RELATIONSHIP_MAP, cursorToPath } from './chunk-YK32RN77.js';
2
- import { loadCapabilityRecords } from './chunk-GJU4DJ6H.js';
1
+ import { GenericResource, readTasks, OperationNotSupportedError, parseIdentifier, AutotaskConfigError, isRecord, isDateYMD, isAutotaskError, RateLimitError, MaintenanceError, AutotaskError, StaleObjectError, buildDryRunResult, createNamePlan, resolveCompositeNames, addNameSibling, NotFoundError, unwrapItems, ConflictError, clientOf, compositePartLimit, invokeRead, compositePart, openTicketsOfPart, unwrapOperation, unwrapItem, ResolutionError, joinedCompositePart, runMove, resolveTicketStatusSemantics, openStatusFilter, isClosedStatus, vendorId, resolveLineOfBusinessChain, cachedRecordGet, uiLinkFor, refuse, queryRows, mergePartialBody, TICKET_LABEL_FIELDS, addLabelSibling, parseVendorErrors, RELATIONSHIP_MAP, cursorToPath } from './chunk-ACF32I5D.js';
2
+ import { loadCapabilityRecords } from './chunk-5MJZ554M.js';
3
3
 
4
4
  // src/resources/special/configuration_items.ts
5
5
  async function fetchRecord(http, path, label, readOpts) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkXJQS3FBA_cjs = require('./chunk-XJQS3FBA.cjs');
3
+ var chunkPLERXELA_cjs = require('./chunk-PLERXELA.cjs');
4
4
  var chunkBD4AUGCJ_cjs = require('./chunk-BD4AUGCJ.cjs');
5
5
  var crypto = require('crypto');
6
6
  var async_hooks = require('async_hooks');
@@ -4234,7 +4234,24 @@ var RELATIONSHIP_MAP = {
4234
4234
  "segment": "Notes",
4235
4235
  "field": "contractID"
4236
4236
  },
4237
- "children": [],
4237
+ "children": [
4238
+ {
4239
+ "resource": "contract_note_attachments",
4240
+ "apiEntity": "ContractNoteAttachment",
4241
+ "parentField": "contractNoteID",
4242
+ "parentSegment": "Attachments",
4243
+ "tier": "extended",
4244
+ "workflowResource": false,
4245
+ "specialOps": [],
4246
+ "searchCovers": null,
4247
+ "scopedOps": {
4248
+ "create": true,
4249
+ "query": true,
4250
+ "update": false,
4251
+ "delete": true
4252
+ }
4253
+ }
4254
+ ],
4238
4255
  "naturalKeys": {
4239
4256
  "hasSearch": false,
4240
4257
  "searchCovers": null,
@@ -6125,7 +6142,24 @@ var RELATIONSHIP_MAP = {
6125
6142
  "segment": "Notes",
6126
6143
  "field": "projectID"
6127
6144
  },
6128
- "children": [],
6145
+ "children": [
6146
+ {
6147
+ "resource": "project_note_attachments",
6148
+ "apiEntity": "ProjectNoteAttachment",
6149
+ "parentField": "projectNoteID",
6150
+ "parentSegment": "Attachments",
6151
+ "tier": "extended",
6152
+ "workflowResource": false,
6153
+ "specialOps": [],
6154
+ "searchCovers": null,
6155
+ "scopedOps": {
6156
+ "create": true,
6157
+ "query": true,
6158
+ "update": false,
6159
+ "delete": true
6160
+ }
6161
+ }
6162
+ ],
6129
6163
  "naturalKeys": {
6130
6164
  "hasSearch": false,
6131
6165
  "searchCovers": null,
@@ -10240,6 +10274,138 @@ var RELATIONSHIP_MAP = {
10240
10274
  },
10241
10275
  "deleteBoundary": null,
10242
10276
  "markerField": null
10277
+ },
10278
+ "project_note_attachments": {
10279
+ "resource": "project_note_attachments",
10280
+ "apiEntity": "ProjectNoteAttachment",
10281
+ "kind": "entity",
10282
+ "path": "ProjectNoteAttachments",
10283
+ "parentScoped": true,
10284
+ "tier": "extended",
10285
+ "workflowResource": false,
10286
+ "group": "A",
10287
+ "parent": {
10288
+ "resource": "project_notes",
10289
+ "segment": "Attachments",
10290
+ "field": "projectNoteID"
10291
+ },
10292
+ "children": [],
10293
+ "naturalKeys": {
10294
+ "hasSearch": false,
10295
+ "searchCovers": null,
10296
+ "findBy": []
10297
+ },
10298
+ "blindSurfaces": null,
10299
+ "zoneFacts": {
10300
+ "createGuidance": {
10301
+ "createOp": "project_note_attachments.create",
10302
+ "parentScoped": true,
10303
+ "liveProvenPrefix": [],
10304
+ "unproven": true,
10305
+ "blocker": {
10306
+ "kind": "unknown",
10307
+ "message": "Attachment creation is documented; valid input remains subject to API-user permissions and vendor validation.",
10308
+ "remedy": "Read the current field and picklist metadata, supply the named parent id, and preview the attachment before applying.",
10309
+ "requires": {
10310
+ "allOf": [
10311
+ "attachmentType",
10312
+ "fullPath",
10313
+ "title",
10314
+ "publish",
10315
+ "data"
10316
+ ]
10317
+ }
10318
+ },
10319
+ "requiresByValue": [
10320
+ {
10321
+ "field": "attachmentType",
10322
+ "value": "FILE_ATTACHMENT",
10323
+ "requires": {
10324
+ "allOf": [
10325
+ "data"
10326
+ ]
10327
+ }
10328
+ }
10329
+ ],
10330
+ "vendorEvidence": [
10331
+ "https://www.autotask.net/help/developerhelp/Content/APIs/REST/Entities/ProjectNoteAttachmentsEntity.htm",
10332
+ "https://www.autotask.net/help/developerhelp/content/apis/REST/API_Calls/REST_Attachments.htm",
10333
+ "Official ProjectNoteAttachments entity documentation and vendored ProjectNoteAttachments controllers define scoped ProjectNotes attachment routes. parentAttachmentID is read-only; project notes cannot have nested attachments. No update, UDF metadata or data-download endpoint is implemented. Static contract only; no live create."
10334
+ ],
10335
+ "deleteBoundary": {
10336
+ "available": true,
10337
+ "note": null
10338
+ }
10339
+ }
10340
+ },
10341
+ "deleteBoundary": null,
10342
+ "markerField": null
10343
+ },
10344
+ "contract_note_attachments": {
10345
+ "resource": "contract_note_attachments",
10346
+ "apiEntity": "ContractNoteAttachment",
10347
+ "kind": "entity",
10348
+ "path": "ContractNoteAttachments",
10349
+ "parentScoped": true,
10350
+ "tier": "extended",
10351
+ "workflowResource": false,
10352
+ "group": "A",
10353
+ "parent": {
10354
+ "resource": "contract_notes",
10355
+ "segment": "Attachments",
10356
+ "field": "contractNoteID"
10357
+ },
10358
+ "children": [],
10359
+ "naturalKeys": {
10360
+ "hasSearch": false,
10361
+ "searchCovers": null,
10362
+ "findBy": []
10363
+ },
10364
+ "blindSurfaces": null,
10365
+ "zoneFacts": {
10366
+ "createGuidance": {
10367
+ "createOp": "contract_note_attachments.create",
10368
+ "parentScoped": true,
10369
+ "liveProvenPrefix": [],
10370
+ "unproven": true,
10371
+ "blocker": {
10372
+ "kind": "unknown",
10373
+ "message": "Attachment creation is documented; valid input remains subject to API-user permissions and vendor validation.",
10374
+ "remedy": "Read the current field and picklist metadata, supply the named parent id, and preview the attachment before applying.",
10375
+ "requires": {
10376
+ "allOf": [
10377
+ "attachmentType",
10378
+ "fullPath",
10379
+ "title",
10380
+ "publish",
10381
+ "data"
10382
+ ]
10383
+ }
10384
+ },
10385
+ "requiresByValue": [
10386
+ {
10387
+ "field": "attachmentType",
10388
+ "value": "FILE_ATTACHMENT",
10389
+ "requires": {
10390
+ "allOf": [
10391
+ "data"
10392
+ ]
10393
+ }
10394
+ }
10395
+ ],
10396
+ "vendorEvidence": [
10397
+ "https://www.autotask.net/help/developerhelp/Content/APIs/REST/Entities/ContractNoteAttachmentsEntity.htm",
10398
+ "https://www.autotask.net/help/developerhelp/content/apis/REST/API_Calls/REST_Attachments.htm",
10399
+ "Official ContractNoteAttachments entity documentation and vendored controllers define scoped ContractNotes attachment routes. Contract notes cannot have nested attachments, and the documented contact-author exception does not include contract notes. No update, UDF metadata or data-download endpoint is implemented. Static contract only; no live create."
10400
+ ],
10401
+ "deleteBoundary": {
10402
+ "available": true,
10403
+ "note": null
10404
+ }
10405
+ }
10406
+ },
10407
+ "deleteBoundary": null,
10408
+ "markerField": null
10243
10409
  }
10244
10410
  };
10245
10411
  var BLIND_SURFACE_STAMPS = {
@@ -12702,6 +12868,47 @@ var CREATE_GUIDANCE = {
12702
12868
  "field": "companyID"
12703
12869
  }
12704
12870
  },
12871
+ {
12872
+ "resource": "contract_note_attachments",
12873
+ "createOp": "contract_note_attachments.create",
12874
+ "parentScoped": true,
12875
+ "liveProvenPrefix": [],
12876
+ "unproven": true,
12877
+ "blocker": {
12878
+ "kind": "unknown",
12879
+ "message": "Attachment creation is documented; valid input remains subject to API-user permissions and vendor validation.",
12880
+ "remedy": "Read the current field and picklist metadata, supply the named parent id, and preview the attachment before applying.",
12881
+ "requires": {
12882
+ "allOf": [
12883
+ "attachmentType",
12884
+ "fullPath",
12885
+ "title",
12886
+ "publish",
12887
+ "data"
12888
+ ]
12889
+ }
12890
+ },
12891
+ "vendorEvidence": [
12892
+ "https://www.autotask.net/help/developerhelp/Content/APIs/REST/Entities/ContractNoteAttachmentsEntity.htm",
12893
+ "https://www.autotask.net/help/developerhelp/content/apis/REST/API_Calls/REST_Attachments.htm",
12894
+ "Official ContractNoteAttachments entity documentation and vendored controllers define scoped ContractNotes attachment routes. Contract notes cannot have nested attachments, and the documented contact-author exception does not include contract notes. No update, UDF metadata or data-download endpoint is implemented. Static contract only; no live create."
12895
+ ],
12896
+ "deleteBoundary": {
12897
+ "available": true,
12898
+ "note": null
12899
+ },
12900
+ "requiresByValue": [
12901
+ {
12902
+ "field": "attachmentType",
12903
+ "value": "FILE_ATTACHMENT",
12904
+ "requires": {
12905
+ "allOf": [
12906
+ "data"
12907
+ ]
12908
+ }
12909
+ }
12910
+ ]
12911
+ },
12705
12912
  {
12706
12913
  "resource": "contract_notes",
12707
12914
  "createOp": "contract_notes.create",
@@ -13478,6 +13685,47 @@ var CREATE_GUIDANCE = {
13478
13685
  "field": "companyID"
13479
13686
  }
13480
13687
  },
13688
+ {
13689
+ "resource": "project_note_attachments",
13690
+ "createOp": "project_note_attachments.create",
13691
+ "parentScoped": true,
13692
+ "liveProvenPrefix": [],
13693
+ "unproven": true,
13694
+ "blocker": {
13695
+ "kind": "unknown",
13696
+ "message": "Attachment creation is documented; valid input remains subject to API-user permissions and vendor validation.",
13697
+ "remedy": "Read the current field and picklist metadata, supply the named parent id, and preview the attachment before applying.",
13698
+ "requires": {
13699
+ "allOf": [
13700
+ "attachmentType",
13701
+ "fullPath",
13702
+ "title",
13703
+ "publish",
13704
+ "data"
13705
+ ]
13706
+ }
13707
+ },
13708
+ "vendorEvidence": [
13709
+ "https://www.autotask.net/help/developerhelp/Content/APIs/REST/Entities/ProjectNoteAttachmentsEntity.htm",
13710
+ "https://www.autotask.net/help/developerhelp/content/apis/REST/API_Calls/REST_Attachments.htm",
13711
+ "Official ProjectNoteAttachments entity documentation and vendored ProjectNoteAttachments controllers define scoped ProjectNotes attachment routes. parentAttachmentID is read-only; project notes cannot have nested attachments. No update, UDF metadata or data-download endpoint is implemented. Static contract only; no live create."
13712
+ ],
13713
+ "deleteBoundary": {
13714
+ "available": true,
13715
+ "note": null
13716
+ },
13717
+ "requiresByValue": [
13718
+ {
13719
+ "field": "attachmentType",
13720
+ "value": "FILE_ATTACHMENT",
13721
+ "requires": {
13722
+ "allOf": [
13723
+ "data"
13724
+ ]
13725
+ }
13726
+ }
13727
+ ]
13728
+ },
13481
13729
  {
13482
13730
  "resource": "project_notes",
13483
13731
  "createOp": "project_notes.create",
@@ -14588,7 +14836,7 @@ var CREATE_GUIDANCE = {
14588
14836
  }
14589
14837
  ],
14590
14838
  "counts": {
14591
- "total": 109,
14839
+ "total": 111,
14592
14840
  "byKind": {
14593
14841
  "ok": 41,
14594
14842
  "blind-reference": 16,
@@ -14598,7 +14846,7 @@ var CREATE_GUIDANCE = {
14598
14846
  "resource-role-pair": 2,
14599
14847
  "delete-absent": 0,
14600
14848
  "non-mutable": 0,
14601
- "unknown": 33
14849
+ "unknown": 35
14602
14850
  }
14603
14851
  }
14604
14852
  };
@@ -15343,6 +15591,12 @@ var UNTRUSTED_FIELDS_BY_RESOURCE = {
15343
15591
  ],
15344
15592
  "project_attachments": [
15345
15593
  "title"
15594
+ ],
15595
+ "project_note_attachments": [
15596
+ "title"
15597
+ ],
15598
+ "contract_note_attachments": [
15599
+ "title"
15346
15600
  ]
15347
15601
  };
15348
15602
 
@@ -17217,7 +17471,7 @@ async function capabilitySets() {
17217
17471
  const fieldOps = /* @__PURE__ */ new Map();
17218
17472
  const udfCapable = /* @__PURE__ */ new Set();
17219
17473
  const resources = /* @__PURE__ */ new Set();
17220
- for (const rec of await chunkXJQS3FBA_cjs.loadCapabilityRecords()) {
17474
+ for (const rec of await chunkPLERXELA_cjs.loadCapabilityRecords()) {
17221
17475
  if (rec.resource === "operations") continue;
17222
17476
  resources.add(rec.resource);
17223
17477
  if (rec.operation === "getFieldInfo") fieldOps.set(rec.resource, rec);
@@ -17228,7 +17482,7 @@ async function capabilitySets() {
17228
17482
  var derivedIndexPromise = null;
17229
17483
  function derivedIndexLoad() {
17230
17484
  if (derivedIndexPromise === null) {
17231
- derivedIndexPromise = chunkXJQS3FBA_cjs.loadCapabilityRecords().then((records) => {
17485
+ derivedIndexPromise = chunkPLERXELA_cjs.loadCapabilityRecords().then((records) => {
17232
17486
  const index = /* @__PURE__ */ new Map();
17233
17487
  for (const rec of records) {
17234
17488
  const declared = rec.metadata?.derivedFields;
@@ -18373,6 +18627,7 @@ var MODEL_FIELD_SETS = {
18373
18627
  "contract_exclusion_set_excluded_work_types": ["id", "contractExclusionSetID", "excludedWorkTypeID", "soapParentPropertyId"],
18374
18628
  "contract_exclusion_sets": ["id", "description", "isActive", "name"],
18375
18629
  "contract_milestones": ["id", "amount", "billingCodeID", "contractID", "createDate", "creatorResourceID", "dateDue", "description", "internalCurrencyAmount", "isInitialPayment", "organizationalLevelAssociationID", "status", "title", "soapParentPropertyId"],
18630
+ "contract_note_attachments": ["id", "attachDate", "attachedByContactID", "attachedByResourceID", "attachmentType", "contentType", "contractID", "contractNoteID", "creatorType", "fileSize", "fullPath", "impersonatorCreatorResourceID", "opportunityID", "parentID", "publish", "title", "data", "parentType", "soapParentPropertyId", "isTaskAttachment"],
18376
18631
  "contract_notes": ["id", "contractID", "createDateTime", "creatorResourceID", "description", "impersonatorCreatorResourceID", "impersonatorUpdaterResourceID", "lastActivityDate", "title", "soapParentPropertyId"],
18377
18632
  "contract_rates": ["id", "contractHourlyRate", "contractID", "internalCurrencyContractHourlyRate", "roleID", "soapParentPropertyId"],
18378
18633
  "contract_retainers": ["id", "amount", "amountApproved", "contractID", "datePurchased", "endDate", "internalCurrencyAmount", "internalCurrencyAmountApproved", "invoiceNumber", "isPaid", "paymentID", "paymentNumber", "startDate", "status", "soapParentPropertyId"],
@@ -18407,6 +18662,7 @@ var MODEL_FIELD_SETS = {
18407
18662
  "products": ["id", "billingType", "chargeBillingCodeID", "createdByResourceID", "createdTime", "defaultVendorID", "description", "doesNotRequireProcurement", "externalProductID", "impersonatorCreatorResourceID", "internalProductID", "isActive", "isEligibleForRma", "isSerialized", "link", "manufacturerName", "manufacturerProductName", "markupRate", "msrp", "name", "periodType", "priceCostMethod", "productBillingCodeID", "productCategory", "sku", "unitCost", "unitPrice", "vendorProductNumber", "defaultInstalledProductCategoryID", "userDefinedFields"],
18408
18663
  "project_attachments": ["id", "attachDate", "attachedByContactID", "attachedByResourceID", "attachmentType", "contentType", "creatorType", "fileSize", "fullPath", "impersonatorCreatorResourceID", "opportunityID", "parentID", "projectID", "projectNoteID", "publish", "title", "data", "parentType", "soapParentPropertyId", "isTaskAttachment"],
18409
18664
  "project_charges": ["id", "billableAmount", "billingCodeID", "chargeType", "contractServiceBundleID", "contractServiceID", "createDate", "creatorResourceID", "datePurchased", "description", "estimatedCost", "extendedCost", "internalCurrencyBillableAmount", "internalCurrencyUnitPrice", "internalPurchaseOrderNumber", "isBillableToCompany", "isBilled", "name", "notes", "organizationalLevelAssociationID", "productID", "projectID", "purchaseOrderNumber", "status", "statusLastModifiedBy", "statusLastModifiedDate", "unitCost", "unitPrice", "unitQuantity", "soapParentPropertyId"],
18665
+ "project_note_attachments": ["id", "attachDate", "attachedByContactID", "attachedByResourceID", "attachmentType", "contentType", "creatorType", "fileSize", "fullPath", "impersonatorCreatorResourceID", "opportunityID", "parentAttachmentID", "parentID", "projectID", "projectNoteID", "publish", "title", "data", "parentType", "soapParentPropertyId", "isTaskAttachment"],
18410
18666
  "project_notes": ["id", "createDateTime", "createdByContactID", "creatorResourceID", "description", "impersonatorCreatorResourceID", "impersonatorUpdaterResourceID", "isAnnouncement", "lastActivityDate", "noteType", "projectID", "publish", "title", "soapParentPropertyId"],
18411
18667
  "projects": ["id", "actualBilledHours", "actualHours", "changeOrdersBudget", "changeOrdersRevenue", "companyID", "companyOwnerResourceID", "completedDateTime", "completedPercentage", "contractID", "createDateTime", "creatorResourceID", "department", "description", "duration", "endDateTime", "estimatedSalesCost", "estimatedTime", "extProjectNumber", "extProjectType", "impersonatorCreatorResourceID", "laborEstimatedCosts", "laborEstimatedMarginPercentage", "laborEstimatedRevenue", "lastActivityDateTime", "lastActivityPersonType", "lastActivityResourceID", "opportunityID", "organizationalLevelAssociationID", "originalEstimatedRevenue", "projectCostEstimatedMarginPercentage", "projectCostsBudget", "projectCostsRevenue", "projectLeadResourceID", "projectName", "projectNumber", "projectType", "purchaseOrderNumber", "sgda", "startDateTime", "status", "statusDateTime", "statusDetail", "userDefinedFields"],
18412
18668
  "purchase_approvals": ["id", "costType", "isApproved", "rejectNote"],
@@ -18488,6 +18744,7 @@ var MODEL_DATE_FIELDS = {
18488
18744
  "contract_blocks": ["datePurchased", "endDate", "startDate"],
18489
18745
  "contract_charges": ["createDate", "datePurchased", "statusLastModifiedDate"],
18490
18746
  "contract_milestones": ["createDate", "dateDue"],
18747
+ "contract_note_attachments": ["attachDate"],
18491
18748
  "contract_notes": ["createDateTime", "lastActivityDate"],
18492
18749
  "contract_retainers": ["datePurchased", "endDate", "startDate"],
18493
18750
  "contract_service_bundle_units": ["approveAndPostDate", "endDate", "startDate"],
@@ -18508,6 +18765,7 @@ var MODEL_DATE_FIELDS = {
18508
18765
  "products": ["createdTime"],
18509
18766
  "project_attachments": ["attachDate"],
18510
18767
  "project_charges": ["createDate", "datePurchased", "statusLastModifiedDate"],
18768
+ "project_note_attachments": ["attachDate"],
18511
18769
  "project_notes": ["createDateTime", "lastActivityDate"],
18512
18770
  "projects": ["completedDateTime", "createDateTime", "endDateTime", "lastActivityDateTime", "startDateTime", "statusDateTime"],
18513
18771
  "purchase_order_item_receiving": ["receiveDate"],
@@ -20884,6 +21142,8 @@ var FILE_WRITABLE = /* @__PURE__ */ new Set(["attachmentType", "data", "fullPath
20884
21142
  var NON_QUERYABLE = /* @__PURE__ */ new Set(["creatortype", "data", "filesize"]);
20885
21143
  var SCOPED_ATTACHMENT_PARENTS = {
20886
21144
  project_attachments: { field: "projectID", name: "project" },
21145
+ project_note_attachments: { field: "projectNoteID", name: "project note" },
21146
+ contract_note_attachments: { field: "contractNoteID", name: "contract note" },
20887
21147
  task_attachments: { field: "taskID", name: "task" },
20888
21148
  task_note_attachments: { field: "taskNoteID", name: "task note" },
20889
21149
  configuration_item_attachments: { field: "configurationItemID", name: "configuration item" },
@@ -20932,7 +21192,9 @@ function admitFileAttachment(resource, data, parentId) {
20932
21192
  const body = data;
20933
21193
  const reference = {
20934
21194
  project_attachments: void 0,
21195
+ contract_note_attachments: void 0,
20935
21196
  task_note_attachments: "attachedByContactID",
21197
+ project_note_attachments: "attachedByContactID",
20936
21198
  configuration_item_attachments: "parentAttachmentID",
20937
21199
  configuration_item_note_attachments: void 0
20938
21200
  }[resource];
@@ -21486,6 +21748,20 @@ var SIMPLE_RESOURCES = [
21486
21748
  helpers: { search: false, resolve: true, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
21487
21749
  opForms: { get: "scoped", create: "scoped", update: "scoped" }
21488
21750
  },
21751
+ {
21752
+ key: "contract_note_attachments",
21753
+ accessor: "contractNoteAttachments",
21754
+ resourcePath: "/V1.0/ContractNoteAttachments",
21755
+ parentScopedPath: "/V1.0/ContractNotes/{parentId}/Attachments",
21756
+ parentPath: "/V1.0/ContractNotes",
21757
+ parentField: "contractNoteID",
21758
+ deletable: true,
21759
+ udfCapable: false,
21760
+ attachmentGet: true,
21761
+ ops: { query: true, queryAll: false, count: true, get: true, create: true, update: false, delete: true, getEntityInfo: true, getFieldInfo: true, getUdfInfo: false, download: false },
21762
+ helpers: { search: false, resolve: false, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
21763
+ opForms: { get: "scoped", create: "scoped", delete: "scoped" }
21764
+ },
21489
21765
  {
21490
21766
  key: "contract_notes",
21491
21767
  accessor: "contractNotes",
@@ -21896,6 +22172,20 @@ var SIMPLE_RESOURCES = [
21896
22172
  helpers: { search: true, resolve: true, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
21897
22173
  opForms: { get: "scoped", create: "scoped", update: "scoped", delete: "scoped" }
21898
22174
  },
22175
+ {
22176
+ key: "project_note_attachments",
22177
+ accessor: "projectNoteAttachments",
22178
+ resourcePath: "/V1.0/ProjectNoteAttachments",
22179
+ parentScopedPath: "/V1.0/ProjectNotes/{parentId}/Attachments",
22180
+ parentPath: "/V1.0/ProjectNotes",
22181
+ parentField: "projectNoteID",
22182
+ deletable: true,
22183
+ udfCapable: false,
22184
+ attachmentGet: true,
22185
+ ops: { query: true, queryAll: false, count: true, get: true, create: true, update: false, delete: true, getEntityInfo: true, getFieldInfo: true, getUdfInfo: false, download: false },
22186
+ helpers: { search: false, resolve: false, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
22187
+ opForms: { get: "scoped", create: "scoped", delete: "scoped" }
22188
+ },
21899
22189
  {
21900
22190
  key: "project_notes",
21901
22191
  accessor: "projectNotes",
@@ -22565,7 +22855,7 @@ var SIMPLE_RESOURCES = [
22565
22855
  var GenericResource = class extends BaseResource {
22566
22856
  constructor(http, config, pageSize) {
22567
22857
  super(http, config, pageSize);
22568
- if (["company_attachments", "company_note_attachments", "configuration_item_attachments", "configuration_item_note_attachments", "project_attachments", "task_attachments", "task_note_attachments"].includes(config.key)) this.getUdfInfo = async () => {
22858
+ if (["company_attachments", "company_note_attachments", "configuration_item_attachments", "configuration_item_note_attachments", "contract_note_attachments", "project_attachments", "project_note_attachments", "task_attachments", "task_note_attachments"].includes(config.key)) this.getUdfInfo = async () => {
22569
22859
  throw new OperationNotSupportedError(config.key, "getUdfInfo");
22570
22860
  };
22571
22861
  if (config.ops?.create === false || isScopedAttachmentResource(config.key) || ["company_attachments", "task_predecessors"].includes(config.key)) this.createIfNotExists = async () => {
@@ -24448,7 +24738,7 @@ function dateBucketLabel(value, bucket) {
24448
24738
  var queryResourceKeysPromise = null;
24449
24739
  function queryResourceKeys() {
24450
24740
  if (queryResourceKeysPromise === null) {
24451
- queryResourceKeysPromise = chunkXJQS3FBA_cjs.loadCapabilityRecords().then((records) => {
24741
+ queryResourceKeysPromise = chunkPLERXELA_cjs.loadCapabilityRecords().then((records) => {
24452
24742
  const s = /* @__PURE__ */ new Set();
24453
24743
  for (const rec of records) if (rec.operation === "query") s.add(rec.resource);
24454
24744
  return s;
@@ -24570,7 +24860,7 @@ function parseTopAndLimit(opts, problems) {
24570
24860
  return { top, limit };
24571
24861
  }
24572
24862
  async function checkFieldNames(resourceKey, conditions, opts, problems) {
24573
- const records = resourceKey === void 0 ? [] : await chunkXJQS3FBA_cjs.loadCapabilityRecords();
24863
+ const records = resourceKey === void 0 ? [] : await chunkPLERXELA_cjs.loadCapabilityRecords();
24574
24864
  const record = resourceKey === void 0 ? void 0 : records.find((r) => r.resource === resourceKey && r.operation === "query");
24575
24865
  if (record === void 0) return void 0;
24576
24866
  const strings = (v) => Array.isArray(v) ? v.filter((f) => typeof f === "string" && f.trim() !== "") : [];
@@ -25215,7 +25505,7 @@ async function uiLink(client, input) {
25215
25505
  var indexPromise = null;
25216
25506
  function operationIndex() {
25217
25507
  if (indexPromise === null) {
25218
- indexPromise = chunkXJQS3FBA_cjs.loadCapabilityRecords().then((records) => new Map(records.map((r) => [r.id, r])));
25508
+ indexPromise = chunkPLERXELA_cjs.loadCapabilityRecords().then((records) => new Map(records.map((r) => [r.id, r])));
25219
25509
  }
25220
25510
  return indexPromise;
25221
25511
  }
@@ -2,9 +2,9 @@
2
2
 
3
3
  // src/capabilities.ts
4
4
  var CAPABILITY_PLAN_HASHES = {
5
- "B": "8adb69f6f40586db84dac8a8f2a3fe134183f3d47a804ee8d7fa50f88b973e83",
6
- "A": "8adb69f6f40586db84dac8a8f2a3fe134183f3d47a804ee8d7fa50f88b973e83",
7
- "operations": "8adb69f6f40586db84dac8a8f2a3fe134183f3d47a804ee8d7fa50f88b973e83"
5
+ "B": "3ad65c80be0b2edbfb3ea25f2f82f34e41fb1e047a0d2da526a34c5d28de6bad",
6
+ "A": "3ad65c80be0b2edbfb3ea25f2f82f34e41fb1e047a0d2da526a34c5d28de6bad",
7
+ "operations": "3ad65c80be0b2edbfb3ea25f2f82f34e41fb1e047a0d2da526a34c5d28de6bad"
8
8
  };
9
9
  var cached = null;
10
10
  function loadCapabilities() {
@@ -1,5 +1,5 @@
1
- import { ConfigurationItemsResource, ContactsResource, InventoryProductsResource, QuotesResource, ResourceTimeOffAdditionalResource, ResourceTimeOffBalancesResource, ResourcesResource, ServiceCallsResource, TicketChargesResource, TicketsResource, TimeOffRequestsResource, AuthenticateResource, EntityInformationResource, ModulesResource, ThresholdInformationResource, VersionResource, VersionInformationResource, ZoneInformationResource } from './chunk-MQ2DXOZW.js';
2
- import { resolveConfig, HttpClient, SIMPLE_RESOURCES, GenericResource, CompaniesResource, ContractsResource, InvoicesResource, TimeEntriesResource, runWithSignal, runBounded } from './chunk-YK32RN77.js';
1
+ import { ConfigurationItemsResource, ContactsResource, InventoryProductsResource, QuotesResource, ResourceTimeOffAdditionalResource, ResourceTimeOffBalancesResource, ResourcesResource, ServiceCallsResource, TicketChargesResource, TicketsResource, TimeOffRequestsResource, AuthenticateResource, EntityInformationResource, ModulesResource, ThresholdInformationResource, VersionResource, VersionInformationResource, ZoneInformationResource } from './chunk-LCUUFTYD.js';
2
+ import { resolveConfig, HttpClient, SIMPLE_RESOURCES, GenericResource, CompaniesResource, ContractsResource, InvoicesResource, TimeEntriesResource, runWithSignal, runBounded } from './chunk-ACF32I5D.js';
3
3
 
4
4
  // src/client.ts
5
5
  var AutotaskClient = class {
@@ -52,6 +52,7 @@ var AutotaskClient = class {
52
52
  contractExclusionSetExcludedWorkTypes;
53
53
  contractExclusionSets;
54
54
  contractMilestones;
55
+ contractNoteAttachments;
55
56
  contractNotes;
56
57
  contractRates;
57
58
  contractRetainers;
@@ -90,6 +91,7 @@ var AutotaskClient = class {
90
91
  productVendors;
91
92
  projectAttachments;
92
93
  projectCharges;
94
+ projectNoteAttachments;
93
95
  projectNotes;
94
96
  projects;
95
97
  purchaseApprovals;
@@ -1,4 +1,4 @@
1
- import { A as AuditEvent, R as ResolutionCaps, b as AuthTokenResultModel, C as Company, I as Identifier, O as OrganizationalLevelAssociation, c as OrganizationalLevel2, d as OrganizationalLevel1, e as CompanyLocation, f as Contact, g as CompanyNote, T as Ticket, h as Project, i as CompositeNamesSection, B as BillingItems, j as TimeEntry, k as CompanyCreate, l as CompanyUpdate, m as CompanyContext, n as ConfigurationItem, o as ConfigurationItemType, p as ConfigurationItemCategory, q as ConfigurationItemNote, r as ConfigurationItemRelatedItem, s as ConfigurationItemBillingProductAssociations, t as ConfigurationItemCreate, u as ConfigurationItemUpdate, v as ConfigurationItemContext, w as ConfigurationItemSummary, D as DryRunResult, x as ContactCreate, y as ContactUpdate, z as ContactContext, F as ContactSummary, G as Contract, H as ContractService, J as ContractBillingRule, K as ContractCharge, L as ContractServiceUnit, E as EmptyReasonInfo, M as ContractRoleCosts, N as ContractRate, S as ContractBlock, U as Invoice, V as Resource, W as ExpenseItem, X as Subscription, Y as ContractCreate, Z as ContractUpdate, _ as ContractSummary, $ as GlobalEntityInformationResultModel, a0 as InventoryProduct, a1 as InventoryProductCreate, a2 as InventoryProductUpdate, a3 as InventoryStockedItemAdd, a4 as OperationResult, a5 as InventoryStockedItemRemove, a6 as InventoryStockedItemTransfer, a7 as InvoiceCreate, a8 as InvoiceUpdate, a9 as ModuleAccessResultModel, aa as Quote, ab as QuoteItem, ac as QuoteCreate, ad as QuoteUpdate, ae as QuoteSummary, af as TicketCreate, ag as TicketUpdate, ah as TicketContext, ai as TicketSummary, aj as ServiceCallTaskResource, ak as ServiceCallTask, al as ResourceTimeOffBalance, am as TimeOffRequest, an as ResourceCreate, ao as ResourceUpdate, ap as ResourceSummary, aq as ResourceTimeOffAdditional, ar as ResourceTimeOffAdditionalCreate, as as ResourceTimeOffAdditionalUpdate, at as ResourceTimeOffBalanceCreate, au as ResourceTimeOffBalanceUpdate, av as ServiceCall, aw as ServiceCallTicket, ax as ServiceCallCreate, ay as ServiceCallUpdate, az as ThresholdStatusResultModel, aA as TicketCharge, aB as TicketChargeCreate, aC as TicketChargeUpdate, aD as TicketChargeSummary, aE as TimeEntryUpdate, aF as TimeEntryCreate, aG as TimeOffRequestCreate, aH as TimeOffRequestUpdate, aI as AutotaskVersionResultModel, aJ as ApiVersionResultModel, aK as ZoneInformationResultModel, aL as Appointment, aM as AppointmentCreate, aN as AppointmentUpdate, aO as AttachmentInfo, aP as AttachmentInfoCreate, aQ as AttachmentInfoUpdate, aR as BillingCode, aS as BillingCodeCreate, aT as BillingCodeUpdate, aU as BillingItemApprovalLevel, aV as BillingItemApprovalLevelCreate, aW as BillingItemApprovalLevelUpdate, aX as BillingItemsCreate, aY as BillingItemsUpdate, aZ as ChangeRequestLink, a_ as ChangeRequestLinkCreate, a$ as ChangeRequestLinkUpdate, b0 as ChecklistLibrary, b1 as ChecklistLibraryCreate, b2 as ChecklistLibraryUpdate, b3 as ChecklistLibraryChecklistItem, b4 as ChecklistLibraryChecklistItemCreate, b5 as ChecklistLibraryChecklistItemUpdate, b6 as ClassificationIcon, b7 as ClassificationIconCreate, b8 as ClassificationIconUpdate, b9 as CompanyAlert, ba as CompanyAlertCreate, bb as CompanyAlertUpdate, bc as CompanyAttachment, bd as CompanyAttachmentCreate, be as CompanyAttachmentUpdate, bf as CompanyLocationCreate, bg as CompanyLocationUpdate, bh as CompanyNoteAttachment, bi as CompanyNoteAttachmentCreate, bj as CompanyNoteAttachmentUpdate, bk as CompanyNoteCreate, bl as CompanyNoteUpdate, bm as CompanySiteConfigurations, bn as CompanySiteConfigurationsCreate, bo as CompanySiteConfigurationsUpdate, bp as CompanyWebhook, bq as CompanyWebhookCreate, br as CompanyWebhookUpdate, bs as ConfigurationItemAttachment, bt as ConfigurationItemAttachmentCreate, bu as ConfigurationItemAttachmentUpdate, bv as ConfigurationItemBillingProductAssociationsCreate, bw as ConfigurationItemBillingProductAssociationsUpdate, bx as ConfigurationItemCategoryCreate, by as ConfigurationItemCategoryUpdate, bz as ConfigurationItemCategoryUdfAssociation, bA as ConfigurationItemCategoryUdfAssociationCreate, bB as ConfigurationItemCategoryUdfAssociationUpdate, bC as ConfigurationItemDnsRecord, bD as ConfigurationItemDnsRecordCreate, bE as ConfigurationItemDnsRecordUpdate, bF as ConfigurationItemNoteAttachment, bG as ConfigurationItemNoteAttachmentCreate, bH as ConfigurationItemNoteAttachmentUpdate, bI as ConfigurationItemNoteCreate, bJ as ConfigurationItemNoteUpdate, bK as ConfigurationItemRelatedItemCreate, bL as ConfigurationItemRelatedItemUpdate, bM as ConfigurationItemSslSubjectAlternativeName, bN as ConfigurationItemSslSubjectAlternativeNameCreate, bO as ConfigurationItemSslSubjectAlternativeNameUpdate, bP as ConfigurationItemTypeCreate, bQ as ConfigurationItemTypeUpdate, bR as ConfigurationItemWebhook, bS as ConfigurationItemWebhookCreate, bT as ConfigurationItemWebhookUpdate, bU as ContactGroupContacts, bV as ContactGroupContactsCreate, bW as ContactGroupContactsUpdate, bX as ContactGroups, bY as ContactGroupsCreate, bZ as ContactGroupsUpdate, b_ as ContactWebhook, b$ as ContactWebhookCreate, c0 as ContactWebhookUpdate, c1 as ContractBillingRuleCreate, c2 as ContractBillingRuleUpdate, c3 as ContractBlockHourFactor, c4 as ContractBlockHourFactorCreate, c5 as ContractBlockHourFactorUpdate, c6 as ContractBlockCreate, c7 as ContractBlockUpdate, c8 as ContractChargeCreate, c9 as ContractChargeUpdate, ca as ContractExclusionBillingCode, cb as ContractExclusionBillingCodeCreate, cc as ContractExclusionBillingCodeUpdate, cd as ContractExclusionRoles, ce as ContractExclusionRolesCreate, cf as ContractExclusionRolesUpdate, cg as ContractExclusionSetExcludedRoles, ch as ContractExclusionSetExcludedRolesCreate, ci as ContractExclusionSetExcludedRolesUpdate, cj as ContractExclusionSetExcludedWorkTypes, ck as ContractExclusionSetExcludedWorkTypesCreate, cl as ContractExclusionSetExcludedWorkTypesUpdate, cm as ContractExclusionSets, cn as ContractExclusionSetsCreate, co as ContractExclusionSetsUpdate, cp as ContractMilestone, cq as ContractMilestoneCreate, cr as ContractMilestoneUpdate, cs as ContractNote, ct as ContractNoteCreate, cu as ContractNoteUpdate, cv as ContractRateCreate, cw as ContractRateUpdate, cx as ContractRetainers, cy as ContractRetainersCreate, cz as ContractRetainersUpdate, cA as ContractRoleCostsCreate, cB as ContractRoleCostsUpdate, cC as ContractServiceAdjustment, cD as ContractServiceAdjustmentCreate, cE as ContractServiceAdjustmentUpdate, cF as ContractServiceBundleAdjustment, cG as ContractServiceBundleAdjustmentCreate, cH as ContractServiceBundleAdjustmentUpdate, cI as ContractServiceBundle, cJ as ContractServiceBundleCreate, cK as ContractServiceBundleUpdate, cL as ContractServiceBundleUnit, cM as ContractServiceBundleUnitCreate, cN as ContractServiceBundleUnitUpdate, cO as ContractServiceCreate, cP as ContractServiceUpdate, cQ as ContractServiceUnitCreate, cR as ContractServiceUnitUpdate, cS as ContractTicketPurchases, cT as ContractTicketPurchasesCreate, cU as ContractTicketPurchasesUpdate, cV as Country, cW as CountryCreate, cX as CountryUpdate, cY as Currency, cZ as CurrencyCreate, c_ as CurrencyUpdate, c$ as Department, d0 as DepartmentCreate, d1 as DepartmentUpdate, d2 as DomainRegistrar, d3 as DomainRegistrarCreate, d4 as DomainRegistrarUpdate, d5 as ExpenseItemAttachment, d6 as ExpenseItemAttachmentCreate, d7 as ExpenseItemAttachmentUpdate, d8 as ExpenseItemCreate, d9 as ExpenseItemUpdate, da as ExpenseReport, db as ExpenseReportCreate, dc as ExpenseReportUpdate, dd as Holiday, de as HolidayCreate, df as HolidayUpdate, dg as HolidaySet, dh as HolidaySetCreate, di as HolidaySetUpdate, dj as InvoiceTemplate, dk as InvoiceTemplateCreate, dl as InvoiceTemplateUpdate, dm as NotificationHistory, dn as NotificationHistoryCreate, dp as NotificationHistoryUpdate, dq as Opportunity, dr as OpportunityCreate, ds as OpportunityUpdate, dt as OpportunityAttachment, du as OpportunityAttachmentCreate, dv as OpportunityAttachmentUpdate, dw as OpportunityCategory, dx as OpportunityCategoryCreate, dy as OpportunityCategoryUpdate, dz as OrganizationalLevel1Create, dA as OrganizationalLevel1Update, dB as OrganizationalLevel2Create, dC as OrganizationalLevel2Update, dD as OrganizationalLevelAssociationCreate, dE as OrganizationalLevelAssociationUpdate, dF as Phase, dG as PhaseCreate, dH as PhaseUpdate, dI as Product, dJ as ProductCreate, dK as ProductUpdate, dL as ProductVendors, dM as ProductVendorsCreate, dN as ProductVendorsUpdate, dO as ProjectAttachment, dP as ProjectAttachmentCreate, dQ as ProjectAttachmentUpdate, dR as ProjectCharge, dS as ProjectChargeCreate, dT as ProjectChargeUpdate, dU as ProjectNote, dV as ProjectNoteCreate, dW as ProjectNoteUpdate, dX as ProjectCreate, dY as ProjectUpdate, dZ as ProjectContext, d_ as PurchaseApprovals, d$ as PurchaseApprovalsCreate, e0 as PurchaseApprovalsUpdate, e1 as PurchaseOrderItemReceiving, e2 as PurchaseOrderItemReceivingCreate, e3 as PurchaseOrderItemReceivingUpdate, e4 as PurchaseOrderItems, e5 as PurchaseOrderItemsCreate, e6 as PurchaseOrderItemsUpdate, e7 as PurchaseOrders, e8 as PurchaseOrdersCreate, e9 as PurchaseOrdersUpdate, ea as QuoteItemCreate, eb as QuoteItemUpdate, ec as QuoteLocation, ed as QuoteLocationCreate, ee as QuoteLocationUpdate, ef as QuoteTemplate, eg as QuoteTemplateCreate, eh as QuoteTemplateUpdate, ei as ResourceRoleQueue, ej as ResourceRoleQueueCreate, ek as ResourceRoleQueueUpdate, el as ResourceRole, em as ResourceRoleCreate, en as ResourceRoleUpdate, eo as ResourceSkill, ep as ResourceSkillCreate, eq as ResourceSkillUpdate, er as ResourceTimeOffApprover, es as ResourceTimeOffApproverCreate, et as ResourceTimeOffApproverUpdate, eu as Role, ev as RoleCreate, ew as RoleUpdate, ex as SalesOrder, ey as SalesOrderCreate, ez as SalesOrderUpdate, eA as ServiceCallTaskResourceCreate, eB as ServiceCallTaskResourceUpdate, eC as ServiceCallTaskCreate, eD as ServiceCallTaskUpdate, eE as ServiceCallTicketResource, eF as ServiceCallTicketResourceCreate, eG as ServiceCallTicketResourceUpdate, eH as ServiceCallTicketCreate, eI as ServiceCallTicketUpdate, eJ as ServiceLevelAgreementResults, eK as ServiceLevelAgreementResultsCreate, eL as ServiceLevelAgreementResultsUpdate, eM as Service, eN as ServiceCreate, eO as ServiceUpdate, eP as Skill, eQ as SkillCreate, eR as SkillUpdate, eS as SubscriptionPeriod, eT as SubscriptionPeriodCreate, eU as SubscriptionPeriodUpdate, eV as SubscriptionCreate, eW as SubscriptionUpdate, eX as SurveyResults, eY as SurveyResultsCreate, eZ as SurveyResultsUpdate, e_ as Survey, e$ as SurveyCreate, f0 as SurveyUpdate, f1 as TagAlias, f2 as TagAliasCreate, f3 as TagAliasUpdate, f4 as TagGroup, f5 as TagGroupCreate, f6 as TagGroupUpdate, f7 as Tag, f8 as TagCreate, f9 as TagUpdate, fa as TaskAttachment, fb as TaskAttachmentCreate, fc as TaskAttachmentUpdate, fd as TaskNoteAttachment, fe as TaskNoteAttachmentCreate, ff as TaskNoteAttachmentUpdate, fg as TaskNote, fh as TaskNoteCreate, fi as TaskNoteUpdate, fj as TaskPredecessor, fk as TaskPredecessorCreate, fl as TaskPredecessorUpdate, fm as Task, fn as TaskCreate, fo as TaskUpdate, fp as TaskSecondaryResource, fq as TaskSecondaryResourceCreate, fr as TaskSecondaryResourceUpdate, fs as TaxRegion, ft as TaxRegionCreate, fu as TaxRegionUpdate, fv as TicketAdditionalConfigurationItem, fw as TicketAdditionalConfigurationItemCreate, fx as TicketAdditionalConfigurationItemUpdate, fy as TicketAdditionalContact, fz as TicketAdditionalContactCreate, fA as TicketAdditionalContactUpdate, fB as TicketAttachment, fC as TicketAttachmentCreate, fD as TicketAttachmentUpdate, fE as TicketCategory, fF as TicketCategoryCreate, fG as TicketCategoryUpdate, fH as TicketCategoryFieldDefault, fI as TicketCategoryFieldDefaultCreate, fJ as TicketCategoryFieldDefaultUpdate, fK as TicketChangeRequestApproval, fL as TicketChangeRequestApprovalCreate, fM as TicketChangeRequestApprovalUpdate, fN as TicketChecklistItem, fO as TicketChecklistItemCreate, fP as TicketChecklistItemUpdate, fQ as TicketChecklistLibrary, fR as TicketChecklistLibraryCreate, fS as TicketChecklistLibraryUpdate, fT as TicketHistory, fU as TicketHistoryCreate, fV as TicketHistoryUpdate, fW as TicketNoteAttachment, fX as TicketNoteAttachmentCreate, fY as TicketNoteAttachmentUpdate, fZ as TicketNote, f_ as TicketNoteCreate, f$ as TicketNoteUpdate, g0 as TicketNoteWebhook, g1 as TicketNoteWebhookCreate, g2 as TicketNoteWebhookUpdate, g3 as TicketSecondaryResource, g4 as TicketSecondaryResourceCreate, g5 as TicketSecondaryResourceUpdate, g6 as TicketWebhook, g7 as TicketWebhookCreate, g8 as TicketWebhookUpdate, g9 as TimeEntryAttachment, ga as TimeEntryAttachmentCreate, gb as TimeEntryAttachmentUpdate, gc as UserDefinedFieldDefinition, gd as UserDefinedFieldDefinitionCreate, ge as UserDefinedFieldDefinitionUpdate, gf as UserDefinedFieldListItem, gg as UserDefinedFieldListItemCreate, gh as UserDefinedFieldListItemUpdate, Q as QueryParams, gi as Resolution, gj as Page, gk as EntityInformationModel, gl as FieldInformationModel, gm as Field, gn as FilterCondition, go as CompositeNameTable, gp as CompositeContextOptions } from './index-BGFWqM2_.cjs';
1
+ import { A as AuditEvent, R as ResolutionCaps, b as AuthTokenResultModel, C as Company, I as Identifier, O as OrganizationalLevelAssociation, c as OrganizationalLevel2, d as OrganizationalLevel1, e as CompanyLocation, f as Contact, g as CompanyNote, T as Ticket, h as Project, i as CompositeNamesSection, B as BillingItems, j as TimeEntry, k as CompanyCreate, l as CompanyUpdate, m as CompanyContext, n as ConfigurationItem, o as ConfigurationItemType, p as ConfigurationItemCategory, q as ConfigurationItemNote, r as ConfigurationItemRelatedItem, s as ConfigurationItemBillingProductAssociations, t as ConfigurationItemCreate, u as ConfigurationItemUpdate, v as ConfigurationItemContext, w as ConfigurationItemSummary, D as DryRunResult, x as ContactCreate, y as ContactUpdate, z as ContactContext, F as ContactSummary, G as Contract, H as ContractService, J as ContractBillingRule, K as ContractCharge, L as ContractServiceUnit, E as EmptyReasonInfo, M as ContractRoleCosts, N as ContractRate, S as ContractBlock, U as Invoice, V as Resource, W as ExpenseItem, X as Subscription, Y as ContractCreate, Z as ContractUpdate, _ as ContractSummary, $ as GlobalEntityInformationResultModel, a0 as InventoryProduct, a1 as InventoryProductCreate, a2 as InventoryProductUpdate, a3 as InventoryStockedItemAdd, a4 as OperationResult, a5 as InventoryStockedItemRemove, a6 as InventoryStockedItemTransfer, a7 as InvoiceCreate, a8 as InvoiceUpdate, a9 as ModuleAccessResultModel, aa as Quote, ab as QuoteItem, ac as QuoteCreate, ad as QuoteUpdate, ae as QuoteSummary, af as TicketCreate, ag as TicketUpdate, ah as TicketContext, ai as TicketSummary, aj as ServiceCallTaskResource, ak as ServiceCallTask, al as ResourceTimeOffBalance, am as TimeOffRequest, an as ResourceCreate, ao as ResourceUpdate, ap as ResourceSummary, aq as ResourceTimeOffAdditional, ar as ResourceTimeOffAdditionalCreate, as as ResourceTimeOffAdditionalUpdate, at as ResourceTimeOffBalanceCreate, au as ResourceTimeOffBalanceUpdate, av as ServiceCall, aw as ServiceCallTicket, ax as ServiceCallCreate, ay as ServiceCallUpdate, az as ThresholdStatusResultModel, aA as TicketCharge, aB as TicketChargeCreate, aC as TicketChargeUpdate, aD as TicketChargeSummary, aE as TimeEntryUpdate, aF as TimeEntryCreate, aG as TimeOffRequestCreate, aH as TimeOffRequestUpdate, aI as AutotaskVersionResultModel, aJ as ApiVersionResultModel, aK as ZoneInformationResultModel, aL as Appointment, aM as AppointmentCreate, aN as AppointmentUpdate, aO as AttachmentInfo, aP as AttachmentInfoCreate, aQ as AttachmentInfoUpdate, aR as BillingCode, aS as BillingCodeCreate, aT as BillingCodeUpdate, aU as BillingItemApprovalLevel, aV as BillingItemApprovalLevelCreate, aW as BillingItemApprovalLevelUpdate, aX as BillingItemsCreate, aY as BillingItemsUpdate, aZ as ChangeRequestLink, a_ as ChangeRequestLinkCreate, a$ as ChangeRequestLinkUpdate, b0 as ChecklistLibrary, b1 as ChecklistLibraryCreate, b2 as ChecklistLibraryUpdate, b3 as ChecklistLibraryChecklistItem, b4 as ChecklistLibraryChecklistItemCreate, b5 as ChecklistLibraryChecklistItemUpdate, b6 as ClassificationIcon, b7 as ClassificationIconCreate, b8 as ClassificationIconUpdate, b9 as CompanyAlert, ba as CompanyAlertCreate, bb as CompanyAlertUpdate, bc as CompanyAttachment, bd as CompanyAttachmentCreate, be as CompanyAttachmentUpdate, bf as CompanyLocationCreate, bg as CompanyLocationUpdate, bh as CompanyNoteAttachment, bi as CompanyNoteAttachmentCreate, bj as CompanyNoteAttachmentUpdate, bk as CompanyNoteCreate, bl as CompanyNoteUpdate, bm as CompanySiteConfigurations, bn as CompanySiteConfigurationsCreate, bo as CompanySiteConfigurationsUpdate, bp as CompanyWebhook, bq as CompanyWebhookCreate, br as CompanyWebhookUpdate, bs as ConfigurationItemAttachment, bt as ConfigurationItemAttachmentCreate, bu as ConfigurationItemAttachmentUpdate, bv as ConfigurationItemBillingProductAssociationsCreate, bw as ConfigurationItemBillingProductAssociationsUpdate, bx as ConfigurationItemCategoryCreate, by as ConfigurationItemCategoryUpdate, bz as ConfigurationItemCategoryUdfAssociation, bA as ConfigurationItemCategoryUdfAssociationCreate, bB as ConfigurationItemCategoryUdfAssociationUpdate, bC as ConfigurationItemDnsRecord, bD as ConfigurationItemDnsRecordCreate, bE as ConfigurationItemDnsRecordUpdate, bF as ConfigurationItemNoteAttachment, bG as ConfigurationItemNoteAttachmentCreate, bH as ConfigurationItemNoteAttachmentUpdate, bI as ConfigurationItemNoteCreate, bJ as ConfigurationItemNoteUpdate, bK as ConfigurationItemRelatedItemCreate, bL as ConfigurationItemRelatedItemUpdate, bM as ConfigurationItemSslSubjectAlternativeName, bN as ConfigurationItemSslSubjectAlternativeNameCreate, bO as ConfigurationItemSslSubjectAlternativeNameUpdate, bP as ConfigurationItemTypeCreate, bQ as ConfigurationItemTypeUpdate, bR as ConfigurationItemWebhook, bS as ConfigurationItemWebhookCreate, bT as ConfigurationItemWebhookUpdate, bU as ContactGroupContacts, bV as ContactGroupContactsCreate, bW as ContactGroupContactsUpdate, bX as ContactGroups, bY as ContactGroupsCreate, bZ as ContactGroupsUpdate, b_ as ContactWebhook, b$ as ContactWebhookCreate, c0 as ContactWebhookUpdate, c1 as ContractBillingRuleCreate, c2 as ContractBillingRuleUpdate, c3 as ContractBlockHourFactor, c4 as ContractBlockHourFactorCreate, c5 as ContractBlockHourFactorUpdate, c6 as ContractBlockCreate, c7 as ContractBlockUpdate, c8 as ContractChargeCreate, c9 as ContractChargeUpdate, ca as ContractExclusionBillingCode, cb as ContractExclusionBillingCodeCreate, cc as ContractExclusionBillingCodeUpdate, cd as ContractExclusionRoles, ce as ContractExclusionRolesCreate, cf as ContractExclusionRolesUpdate, cg as ContractExclusionSetExcludedRoles, ch as ContractExclusionSetExcludedRolesCreate, ci as ContractExclusionSetExcludedRolesUpdate, cj as ContractExclusionSetExcludedWorkTypes, ck as ContractExclusionSetExcludedWorkTypesCreate, cl as ContractExclusionSetExcludedWorkTypesUpdate, cm as ContractExclusionSets, cn as ContractExclusionSetsCreate, co as ContractExclusionSetsUpdate, cp as ContractMilestone, cq as ContractMilestoneCreate, cr as ContractMilestoneUpdate, cs as ContractNoteAttachment, ct as ContractNoteAttachmentCreate, cu as ContractNoteAttachmentUpdate, cv as ContractNote, cw as ContractNoteCreate, cx as ContractNoteUpdate, cy as ContractRateCreate, cz as ContractRateUpdate, cA as ContractRetainers, cB as ContractRetainersCreate, cC as ContractRetainersUpdate, cD as ContractRoleCostsCreate, cE as ContractRoleCostsUpdate, cF as ContractServiceAdjustment, cG as ContractServiceAdjustmentCreate, cH as ContractServiceAdjustmentUpdate, cI as ContractServiceBundleAdjustment, cJ as ContractServiceBundleAdjustmentCreate, cK as ContractServiceBundleAdjustmentUpdate, cL as ContractServiceBundle, cM as ContractServiceBundleCreate, cN as ContractServiceBundleUpdate, cO as ContractServiceBundleUnit, cP as ContractServiceBundleUnitCreate, cQ as ContractServiceBundleUnitUpdate, cR as ContractServiceCreate, cS as ContractServiceUpdate, cT as ContractServiceUnitCreate, cU as ContractServiceUnitUpdate, cV as ContractTicketPurchases, cW as ContractTicketPurchasesCreate, cX as ContractTicketPurchasesUpdate, cY as Country, cZ as CountryCreate, c_ as CountryUpdate, c$ as Currency, d0 as CurrencyCreate, d1 as CurrencyUpdate, d2 as Department, d3 as DepartmentCreate, d4 as DepartmentUpdate, d5 as DomainRegistrar, d6 as DomainRegistrarCreate, d7 as DomainRegistrarUpdate, d8 as ExpenseItemAttachment, d9 as ExpenseItemAttachmentCreate, da as ExpenseItemAttachmentUpdate, db as ExpenseItemCreate, dc as ExpenseItemUpdate, dd as ExpenseReport, de as ExpenseReportCreate, df as ExpenseReportUpdate, dg as Holiday, dh as HolidayCreate, di as HolidayUpdate, dj as HolidaySet, dk as HolidaySetCreate, dl as HolidaySetUpdate, dm as InvoiceTemplate, dn as InvoiceTemplateCreate, dp as InvoiceTemplateUpdate, dq as NotificationHistory, dr as NotificationHistoryCreate, ds as NotificationHistoryUpdate, dt as Opportunity, du as OpportunityCreate, dv as OpportunityUpdate, dw as OpportunityAttachment, dx as OpportunityAttachmentCreate, dy as OpportunityAttachmentUpdate, dz as OpportunityCategory, dA as OpportunityCategoryCreate, dB as OpportunityCategoryUpdate, dC as OrganizationalLevel1Create, dD as OrganizationalLevel1Update, dE as OrganizationalLevel2Create, dF as OrganizationalLevel2Update, dG as OrganizationalLevelAssociationCreate, dH as OrganizationalLevelAssociationUpdate, dI as Phase, dJ as PhaseCreate, dK as PhaseUpdate, dL as Product, dM as ProductCreate, dN as ProductUpdate, dO as ProductVendors, dP as ProductVendorsCreate, dQ as ProductVendorsUpdate, dR as ProjectAttachment, dS as ProjectAttachmentCreate, dT as ProjectAttachmentUpdate, dU as ProjectCharge, dV as ProjectChargeCreate, dW as ProjectChargeUpdate, dX as ProjectNoteAttachment, dY as ProjectNoteAttachmentCreate, dZ as ProjectNoteAttachmentUpdate, d_ as ProjectNote, d$ as ProjectNoteCreate, e0 as ProjectNoteUpdate, e1 as ProjectCreate, e2 as ProjectUpdate, e3 as ProjectContext, e4 as PurchaseApprovals, e5 as PurchaseApprovalsCreate, e6 as PurchaseApprovalsUpdate, e7 as PurchaseOrderItemReceiving, e8 as PurchaseOrderItemReceivingCreate, e9 as PurchaseOrderItemReceivingUpdate, ea as PurchaseOrderItems, eb as PurchaseOrderItemsCreate, ec as PurchaseOrderItemsUpdate, ed as PurchaseOrders, ee as PurchaseOrdersCreate, ef as PurchaseOrdersUpdate, eg as QuoteItemCreate, eh as QuoteItemUpdate, ei as QuoteLocation, ej as QuoteLocationCreate, ek as QuoteLocationUpdate, el as QuoteTemplate, em as QuoteTemplateCreate, en as QuoteTemplateUpdate, eo as ResourceRoleQueue, ep as ResourceRoleQueueCreate, eq as ResourceRoleQueueUpdate, er as ResourceRole, es as ResourceRoleCreate, et as ResourceRoleUpdate, eu as ResourceSkill, ev as ResourceSkillCreate, ew as ResourceSkillUpdate, ex as ResourceTimeOffApprover, ey as ResourceTimeOffApproverCreate, ez as ResourceTimeOffApproverUpdate, eA as Role, eB as RoleCreate, eC as RoleUpdate, eD as SalesOrder, eE as SalesOrderCreate, eF as SalesOrderUpdate, eG as ServiceCallTaskResourceCreate, eH as ServiceCallTaskResourceUpdate, eI as ServiceCallTaskCreate, eJ as ServiceCallTaskUpdate, eK as ServiceCallTicketResource, eL as ServiceCallTicketResourceCreate, eM as ServiceCallTicketResourceUpdate, eN as ServiceCallTicketCreate, eO as ServiceCallTicketUpdate, eP as ServiceLevelAgreementResults, eQ as ServiceLevelAgreementResultsCreate, eR as ServiceLevelAgreementResultsUpdate, eS as Service, eT as ServiceCreate, eU as ServiceUpdate, eV as Skill, eW as SkillCreate, eX as SkillUpdate, eY as SubscriptionPeriod, eZ as SubscriptionPeriodCreate, e_ as SubscriptionPeriodUpdate, e$ as SubscriptionCreate, f0 as SubscriptionUpdate, f1 as SurveyResults, f2 as SurveyResultsCreate, f3 as SurveyResultsUpdate, f4 as Survey, f5 as SurveyCreate, f6 as SurveyUpdate, f7 as TagAlias, f8 as TagAliasCreate, f9 as TagAliasUpdate, fa as TagGroup, fb as TagGroupCreate, fc as TagGroupUpdate, fd as Tag, fe as TagCreate, ff as TagUpdate, fg as TaskAttachment, fh as TaskAttachmentCreate, fi as TaskAttachmentUpdate, fj as TaskNoteAttachment, fk as TaskNoteAttachmentCreate, fl as TaskNoteAttachmentUpdate, fm as TaskNote, fn as TaskNoteCreate, fo as TaskNoteUpdate, fp as TaskPredecessor, fq as TaskPredecessorCreate, fr as TaskPredecessorUpdate, fs as Task, ft as TaskCreate, fu as TaskUpdate, fv as TaskSecondaryResource, fw as TaskSecondaryResourceCreate, fx as TaskSecondaryResourceUpdate, fy as TaxRegion, fz as TaxRegionCreate, fA as TaxRegionUpdate, fB as TicketAdditionalConfigurationItem, fC as TicketAdditionalConfigurationItemCreate, fD as TicketAdditionalConfigurationItemUpdate, fE as TicketAdditionalContact, fF as TicketAdditionalContactCreate, fG as TicketAdditionalContactUpdate, fH as TicketAttachment, fI as TicketAttachmentCreate, fJ as TicketAttachmentUpdate, fK as TicketCategory, fL as TicketCategoryCreate, fM as TicketCategoryUpdate, fN as TicketCategoryFieldDefault, fO as TicketCategoryFieldDefaultCreate, fP as TicketCategoryFieldDefaultUpdate, fQ as TicketChangeRequestApproval, fR as TicketChangeRequestApprovalCreate, fS as TicketChangeRequestApprovalUpdate, fT as TicketChecklistItem, fU as TicketChecklistItemCreate, fV as TicketChecklistItemUpdate, fW as TicketChecklistLibrary, fX as TicketChecklistLibraryCreate, fY as TicketChecklistLibraryUpdate, fZ as TicketHistory, f_ as TicketHistoryCreate, f$ as TicketHistoryUpdate, g0 as TicketNoteAttachment, g1 as TicketNoteAttachmentCreate, g2 as TicketNoteAttachmentUpdate, g3 as TicketNote, g4 as TicketNoteCreate, g5 as TicketNoteUpdate, g6 as TicketNoteWebhook, g7 as TicketNoteWebhookCreate, g8 as TicketNoteWebhookUpdate, g9 as TicketSecondaryResource, ga as TicketSecondaryResourceCreate, gb as TicketSecondaryResourceUpdate, gc as TicketWebhook, gd as TicketWebhookCreate, ge as TicketWebhookUpdate, gf as TimeEntryAttachment, gg as TimeEntryAttachmentCreate, gh as TimeEntryAttachmentUpdate, gi as UserDefinedFieldDefinition, gj as UserDefinedFieldDefinitionCreate, gk as UserDefinedFieldDefinitionUpdate, gl as UserDefinedFieldListItem, gm as UserDefinedFieldListItemCreate, gn as UserDefinedFieldListItemUpdate, Q as QueryParams, go as Resolution, gp as Page, gq as EntityInformationModel, gr as FieldInformationModel, gs as Field, gt as FilterCondition, gu as CompositeNameTable, gv as CompositeContextOptions } from './index-lj8ocwxy.cjs';
2
2
  import { L as Logger } from './logger-B1gYmFre.cjs';
3
3
 
4
4
  /**
@@ -32,7 +32,7 @@ import { L as Logger } from './logger-B1gYmFre.cjs';
32
32
  * queryBounded noteChars free-text cap (issue #61 — response-side only);
33
33
  * - docs/VENDOR-QUIRKS.md §11.7/§11.8/§11.9/§11.10/§11.11/§11.12 render the same facts.
34
34
  *
35
- * planHash: 8adb69f6f40586db84dac8a8f2a3fe134183f3d47a804ee8d7fa50f88b973e83
35
+ * planHash: 3ad65c80be0b2edbfb3ea25f2f82f34e41fb1e047a0d2da526a34c5d28de6bad
36
36
  */
37
37
 
38
38
  /** One pinned blind-surface stamp (the result-time sentinel object). */
@@ -2975,6 +2975,7 @@ declare class AutotaskClient {
2975
2975
  readonly contractExclusionSetExcludedWorkTypes: GenericResource<ContractExclusionSetExcludedWorkTypes, ContractExclusionSetExcludedWorkTypesCreate, ContractExclusionSetExcludedWorkTypesUpdate>;
2976
2976
  readonly contractExclusionSets: GenericResource<ContractExclusionSets, ContractExclusionSetsCreate, ContractExclusionSetsUpdate>;
2977
2977
  readonly contractMilestones: GenericResource<ContractMilestone, ContractMilestoneCreate, ContractMilestoneUpdate>;
2978
+ readonly contractNoteAttachments: GenericResource<ContractNoteAttachment, ContractNoteAttachmentCreate, ContractNoteAttachmentUpdate>;
2978
2979
  readonly contractNotes: GenericResource<ContractNote, ContractNoteCreate, ContractNoteUpdate>;
2979
2980
  readonly contractRates: GenericResource<ContractRate, ContractRateCreate, ContractRateUpdate>;
2980
2981
  readonly contractRetainers: GenericResource<ContractRetainers, ContractRetainersCreate, ContractRetainersUpdate>;
@@ -3013,6 +3014,7 @@ declare class AutotaskClient {
3013
3014
  readonly productVendors: GenericResource<ProductVendors, ProductVendorsCreate, ProductVendorsUpdate>;
3014
3015
  readonly projectAttachments: GenericResource<ProjectAttachment, ProjectAttachmentCreate, ProjectAttachmentUpdate>;
3015
3016
  readonly projectCharges: GenericResource<ProjectCharge, ProjectChargeCreate, ProjectChargeUpdate>;
3017
+ readonly projectNoteAttachments: GenericResource<ProjectNoteAttachment, ProjectNoteAttachmentCreate, ProjectNoteAttachmentUpdate>;
3016
3018
  readonly projectNotes: GenericResource<ProjectNote, ProjectNoteCreate, ProjectNoteUpdate>;
3017
3019
  readonly projects: GenericResource<Project, ProjectCreate, ProjectUpdate, ProjectContext>;
3018
3020
  readonly purchaseApprovals: GenericResource<PurchaseApprovals, PurchaseApprovalsCreate, PurchaseApprovalsUpdate>;