node-autotask 0.70.0 → 0.71.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 (40) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/MCP_TOOL_CATALOG.json +369 -9
  3. package/README.md +1 -1
  4. package/capabilities.json +1697 -392
  5. package/dist/capabilities-data.js +1696 -391
  6. package/dist/capabilities.cjs +4 -4
  7. package/dist/capabilities.js +1 -1
  8. package/dist/{chunk-YQX45JBG.cjs → chunk-4DSLRDIF.cjs} +33 -30
  9. package/dist/{chunk-3RANR2RY.js → chunk-4OR3XBIP.js} +291 -7
  10. package/dist/{chunk-MN5VLBCI.js → chunk-5COLIVBE.js} +2 -2
  11. package/dist/{chunk-KAZE4WC7.cjs → chunk-JLCHKCEB.cjs} +3 -3
  12. package/dist/{chunk-SCFB5MF3.js → chunk-LKJA57CH.js} +3 -3
  13. package/dist/{chunk-GVP2WW47.cjs → chunk-QJ327YI6.cjs} +177 -177
  14. package/dist/{chunk-YRRTE2NF.cjs → chunk-QQFF7X67.cjs} +296 -12
  15. package/dist/{chunk-TYUTIZWB.js → chunk-YKQ2KNQO.js} +5 -2
  16. package/dist/{index-CGW80Uzc.d.cts → index-CAXT5ZKT.d.cts} +6 -2
  17. package/dist/{index-COQEG55Q.d.cts → index-CM_SRgtH.d.cts} +209 -1
  18. package/dist/{index-COQEG55Q.d.ts → index-CM_SRgtH.d.ts} +209 -1
  19. package/dist/{index-By9Zw2Oc.d.ts → index-lGpxr4gY.d.ts} +6 -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 +5 -5
  26. package/dist/operations/index.d.ts +5 -5
  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 +63 -2
  39. package/docs/RELEASING.md +11 -3
  40. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkKAZE4WC7_cjs = require('./chunk-KAZE4WC7.cjs');
3
+ var chunkJLCHKCEB_cjs = require('./chunk-JLCHKCEB.cjs');
4
4
  var chunkBD4AUGCJ_cjs = require('./chunk-BD4AUGCJ.cjs');
5
5
  var crypto = require('crypto');
6
6
  var async_hooks = require('async_hooks');
@@ -2397,6 +2397,22 @@ var RELATIONSHIP_MAP = {
2397
2397
  "delete": true
2398
2398
  }
2399
2399
  },
2400
+ {
2401
+ "resource": "company_attachments",
2402
+ "apiEntity": "CompanyAttachment",
2403
+ "parentField": "companyID",
2404
+ "parentSegment": "Attachments",
2405
+ "tier": "extended",
2406
+ "workflowResource": false,
2407
+ "specialOps": [],
2408
+ "searchCovers": null,
2409
+ "scopedOps": {
2410
+ "create": true,
2411
+ "query": true,
2412
+ "update": false,
2413
+ "delete": true
2414
+ }
2415
+ },
2400
2416
  {
2401
2417
  "resource": "company_locations",
2402
2418
  "apiEntity": "CompanyLocation",
@@ -2678,7 +2694,24 @@ var RELATIONSHIP_MAP = {
2678
2694
  "segment": "Notes",
2679
2695
  "field": "companyID"
2680
2696
  },
2681
- "children": [],
2697
+ "children": [
2698
+ {
2699
+ "resource": "company_note_attachments",
2700
+ "apiEntity": "CompanyNoteAttachment",
2701
+ "parentField": "companyNoteID",
2702
+ "parentSegment": "Attachments",
2703
+ "tier": "extended",
2704
+ "workflowResource": false,
2705
+ "specialOps": [],
2706
+ "searchCovers": null,
2707
+ "scopedOps": {
2708
+ "create": true,
2709
+ "query": true,
2710
+ "update": false,
2711
+ "delete": true
2712
+ }
2713
+ }
2714
+ ],
2682
2715
  "naturalKeys": {
2683
2716
  "hasSearch": true,
2684
2717
  "searchCovers": "name only (contains)",
@@ -2965,7 +2998,7 @@ var RELATIONSHIP_MAP = {
2965
2998
  "parent": {
2966
2999
  "resource": "configuration_items",
2967
3000
  "segment": "DnsRecords",
2968
- "field": "configurationItemID"
3001
+ "field": "installedProductID"
2969
3002
  },
2970
3003
  "children": [],
2971
3004
  "naturalKeys": {
@@ -3235,7 +3268,7 @@ var RELATIONSHIP_MAP = {
3235
3268
  {
3236
3269
  "resource": "configuration_item_dns_records",
3237
3270
  "apiEntity": "ConfigurationItemDnsRecord",
3238
- "parentField": "configurationItemID",
3271
+ "parentField": "installedProductID",
3239
3272
  "parentSegment": "DnsRecords",
3240
3273
  "tier": "extended",
3241
3274
  "workflowResource": false,
@@ -9502,6 +9535,137 @@ var RELATIONSHIP_MAP = {
9502
9535
  "zoneFacts": null,
9503
9536
  "deleteBoundary": null,
9504
9537
  "markerField": null
9538
+ },
9539
+ "attachment_info": {
9540
+ "resource": "attachment_info",
9541
+ "apiEntity": "AttachmentInfo",
9542
+ "kind": "entity",
9543
+ "path": "AttachmentInfo",
9544
+ "parentScoped": false,
9545
+ "tier": "extended",
9546
+ "workflowResource": false,
9547
+ "group": "A",
9548
+ "parent": null,
9549
+ "children": [],
9550
+ "naturalKeys": {
9551
+ "hasSearch": false,
9552
+ "searchCovers": null,
9553
+ "findBy": []
9554
+ },
9555
+ "blindSurfaces": null,
9556
+ "zoneFacts": null,
9557
+ "deleteBoundary": null,
9558
+ "markerField": null
9559
+ },
9560
+ "company_attachments": {
9561
+ "resource": "company_attachments",
9562
+ "apiEntity": "CompanyAttachment",
9563
+ "kind": "entity",
9564
+ "path": "CompanyAttachments",
9565
+ "parentScoped": true,
9566
+ "tier": "extended",
9567
+ "workflowResource": false,
9568
+ "group": "A",
9569
+ "parent": {
9570
+ "resource": "companies",
9571
+ "segment": "Attachments",
9572
+ "field": "companyID"
9573
+ },
9574
+ "children": [],
9575
+ "naturalKeys": {
9576
+ "hasSearch": false,
9577
+ "searchCovers": null,
9578
+ "findBy": []
9579
+ },
9580
+ "blindSurfaces": null,
9581
+ "zoneFacts": {
9582
+ "createGuidance": {
9583
+ "createOp": "company_attachments.create",
9584
+ "parentScoped": true,
9585
+ "liveProvenPrefix": [],
9586
+ "unproven": true,
9587
+ "blocker": {
9588
+ "kind": "unknown",
9589
+ "message": "Attachment creation is documented; valid input remains subject to API-user permissions and vendor validation.",
9590
+ "remedy": "Read the current field and picklist metadata, supply the named parent id, and preview the attachment before applying."
9591
+ },
9592
+ "requiresByValue": [
9593
+ {
9594
+ "field": "attachmentType",
9595
+ "value": "FILE_ATTACHMENT",
9596
+ "requires": {
9597
+ "allOf": [
9598
+ "data"
9599
+ ]
9600
+ }
9601
+ }
9602
+ ],
9603
+ "vendorEvidence": [
9604
+ "Specification: POST /V1.0/Companies/{parentId}/Attachments returns OperationResultModel. Official attachment guidance requires base64 data for FILE_ATTACHMENT. No live create was performed."
9605
+ ],
9606
+ "deleteBoundary": {
9607
+ "available": true,
9608
+ "note": null
9609
+ }
9610
+ }
9611
+ },
9612
+ "deleteBoundary": null,
9613
+ "markerField": null
9614
+ },
9615
+ "company_note_attachments": {
9616
+ "resource": "company_note_attachments",
9617
+ "apiEntity": "CompanyNoteAttachment",
9618
+ "kind": "entity",
9619
+ "path": "CompanyNoteAttachments",
9620
+ "parentScoped": true,
9621
+ "tier": "extended",
9622
+ "workflowResource": false,
9623
+ "group": "A",
9624
+ "parent": {
9625
+ "resource": "company_notes",
9626
+ "segment": "Attachments",
9627
+ "field": "companyNoteID"
9628
+ },
9629
+ "children": [],
9630
+ "naturalKeys": {
9631
+ "hasSearch": false,
9632
+ "searchCovers": null,
9633
+ "findBy": []
9634
+ },
9635
+ "blindSurfaces": null,
9636
+ "zoneFacts": {
9637
+ "createGuidance": {
9638
+ "createOp": "company_note_attachments.create",
9639
+ "parentScoped": true,
9640
+ "liveProvenPrefix": [],
9641
+ "unproven": true,
9642
+ "blocker": {
9643
+ "kind": "unknown",
9644
+ "message": "Attachment creation is documented; valid input remains subject to API-user permissions and vendor validation.",
9645
+ "remedy": "Read the current field and picklist metadata, supply the named parent id, and preview the attachment before applying."
9646
+ },
9647
+ "requiresByValue": [
9648
+ {
9649
+ "field": "attachmentType",
9650
+ "value": "FILE_ATTACHMENT",
9651
+ "requires": {
9652
+ "allOf": [
9653
+ "data"
9654
+ ]
9655
+ }
9656
+ }
9657
+ ],
9658
+ "vendorEvidence": [
9659
+ "Specification: POST /V1.0/CompanyNotes/{parentId}/Attachments returns OperationResultModel. Official attachment guidance requires base64 data for FILE_ATTACHMENT. No live create was performed."
9660
+ ],
9661
+ "deleteBoundary": {
9662
+ "available": true,
9663
+ "note": null
9664
+ }
9665
+ }
9666
+ },
9667
+ "deleteBoundary": null,
9668
+ "markerField": null
9505
9669
  }
9506
9670
  };
9507
9671
  var BLIND_SURFACE_STAMPS = {
@@ -11209,6 +11373,36 @@ var CREATE_GUIDANCE = {
11209
11373
  "note": null
11210
11374
  }
11211
11375
  },
11376
+ {
11377
+ "resource": "company_attachments",
11378
+ "createOp": "company_attachments.create",
11379
+ "parentScoped": true,
11380
+ "liveProvenPrefix": [],
11381
+ "unproven": true,
11382
+ "blocker": {
11383
+ "kind": "unknown",
11384
+ "message": "Attachment creation is documented; valid input remains subject to API-user permissions and vendor validation.",
11385
+ "remedy": "Read the current field and picklist metadata, supply the named parent id, and preview the attachment before applying."
11386
+ },
11387
+ "vendorEvidence": [
11388
+ "Specification: POST /V1.0/Companies/{parentId}/Attachments returns OperationResultModel. Official attachment guidance requires base64 data for FILE_ATTACHMENT. No live create was performed."
11389
+ ],
11390
+ "deleteBoundary": {
11391
+ "available": true,
11392
+ "note": null
11393
+ },
11394
+ "requiresByValue": [
11395
+ {
11396
+ "field": "attachmentType",
11397
+ "value": "FILE_ATTACHMENT",
11398
+ "requires": {
11399
+ "allOf": [
11400
+ "data"
11401
+ ]
11402
+ }
11403
+ }
11404
+ ]
11405
+ },
11212
11406
  {
11213
11407
  "resource": "company_locations",
11214
11408
  "createOp": "company_locations.create",
@@ -11226,6 +11420,36 @@ var CREATE_GUIDANCE = {
11226
11420
  "note": null
11227
11421
  }
11228
11422
  },
11423
+ {
11424
+ "resource": "company_note_attachments",
11425
+ "createOp": "company_note_attachments.create",
11426
+ "parentScoped": true,
11427
+ "liveProvenPrefix": [],
11428
+ "unproven": true,
11429
+ "blocker": {
11430
+ "kind": "unknown",
11431
+ "message": "Attachment creation is documented; valid input remains subject to API-user permissions and vendor validation.",
11432
+ "remedy": "Read the current field and picklist metadata, supply the named parent id, and preview the attachment before applying."
11433
+ },
11434
+ "vendorEvidence": [
11435
+ "Specification: POST /V1.0/CompanyNotes/{parentId}/Attachments returns OperationResultModel. Official attachment guidance requires base64 data for FILE_ATTACHMENT. No live create was performed."
11436
+ ],
11437
+ "deleteBoundary": {
11438
+ "available": true,
11439
+ "note": null
11440
+ },
11441
+ "requiresByValue": [
11442
+ {
11443
+ "field": "attachmentType",
11444
+ "value": "FILE_ATTACHMENT",
11445
+ "requires": {
11446
+ "allOf": [
11447
+ "data"
11448
+ ]
11449
+ }
11450
+ }
11451
+ ]
11452
+ },
11229
11453
  {
11230
11454
  "resource": "company_notes",
11231
11455
  "createOp": "company_notes.create",
@@ -13532,7 +13756,7 @@ var CREATE_GUIDANCE = {
13532
13756
  }
13533
13757
  ],
13534
13758
  "counts": {
13535
- "total": 99,
13759
+ "total": 101,
13536
13760
  "byKind": {
13537
13761
  "ok": 41,
13538
13762
  "blind-reference": 16,
@@ -13542,7 +13766,7 @@ var CREATE_GUIDANCE = {
13542
13766
  "resource-role-pair": 2,
13543
13767
  "delete-absent": 0,
13544
13768
  "non-mutable": 0,
13545
- "unknown": 23
13769
+ "unknown": 25
13546
13770
  }
13547
13771
  }
13548
13772
  };
@@ -14259,6 +14483,15 @@ var UNTRUSTED_FIELDS_BY_RESOURCE = {
14259
14483
  "user_defined_field_list_items": [
14260
14484
  "valueForDisplay",
14261
14485
  "valueForExport"
14486
+ ],
14487
+ "attachment_info": [
14488
+ "title"
14489
+ ],
14490
+ "company_attachments": [
14491
+ "title"
14492
+ ],
14493
+ "company_note_attachments": [
14494
+ "title"
14262
14495
  ]
14263
14496
  };
14264
14497
 
@@ -16133,7 +16366,7 @@ async function capabilitySets() {
16133
16366
  const fieldOps = /* @__PURE__ */ new Map();
16134
16367
  const udfCapable = /* @__PURE__ */ new Set();
16135
16368
  const resources = /* @__PURE__ */ new Set();
16136
- for (const rec of await chunkKAZE4WC7_cjs.loadCapabilityRecords()) {
16369
+ for (const rec of await chunkJLCHKCEB_cjs.loadCapabilityRecords()) {
16137
16370
  if (rec.resource === "operations") continue;
16138
16371
  resources.add(rec.resource);
16139
16372
  if (rec.operation === "getFieldInfo") fieldOps.set(rec.resource, rec);
@@ -16144,7 +16377,7 @@ async function capabilitySets() {
16144
16377
  var derivedIndexPromise = null;
16145
16378
  function derivedIndexLoad() {
16146
16379
  if (derivedIndexPromise === null) {
16147
- derivedIndexPromise = chunkKAZE4WC7_cjs.loadCapabilityRecords().then((records) => {
16380
+ derivedIndexPromise = chunkJLCHKCEB_cjs.loadCapabilityRecords().then((records) => {
16148
16381
  const index = /* @__PURE__ */ new Map();
16149
16382
  for (const rec of records) {
16150
16383
  const declared = rec.metadata?.derivedFields;
@@ -17247,6 +17480,7 @@ function cachedMetadataGet(http, resource, kind, path, operation, unwrap, fresh
17247
17480
  // src/field-sets.ts
17248
17481
  var MODEL_FIELD_SETS = {
17249
17482
  "appointments": ["id", "createDateTime", "creatorResourceID", "description", "endDateTime", "resourceID", "startDateTime", "title", "updateDateTime"],
17483
+ "attachment_info": ["id", "articleID", "attachDate", "attachedByContactID", "attachedByResourceID", "attachmentType", "companyID", "companyNoteID", "configurationItemID", "configurationItemNoteID", "contentType", "contractID", "contractNoteID", "creatorType", "documentID", "expenseItemID", "expenseReportID", "fileSize", "fullPath", "impersonatorCreatorResourceID", "opportunityID", "parentAttachmentID", "parentID", "parentType", "projectID", "projectNoteID", "publish", "resourceID", "salesOrderID", "taskID", "taskNoteID", "ticketID", "ticketNoteID", "timeEntryID", "title", "soapParentPropertyId"],
17250
17484
  "billing_codes": ["id", "afterHoursWorkType", "billingCodeType", "department", "description", "externalNumber", "generalLedgerAccount", "isActive", "isExcludedFromNewContracts", "markupRate", "name", "taxCategoryID", "unitCost", "unitPrice", "useType"],
17251
17485
  "billing_item_approval_levels": ["id", "approvalDateTime", "approvalLevel", "approvalResourceID", "timeEntryID"],
17252
17486
  "billing_items": ["id", "accountManagerWhenApprovedID", "billingCodeID", "billingItemType", "companyID", "configurationItemID", "contractBlockID", "contractChargeID", "contractID", "contractServiceAdjustmentID", "contractServiceBundleAdjustmentID", "contractServiceBundleID", "contractServiceBundlePeriodID", "contractServiceID", "contractServicePeriodID", "description", "expenseItemID", "extendedPrice", "internalCurrencyExtendedPrice", "internalCurrencyRate", "internalCurrencyTaxDollars", "internalCurrencyTotalAmount", "invoiceID", "itemApproverID", "itemDate", "itemName", "lineItemFullDescription", "lineItemGroupDescription", "milestoneID", "nonBillable", "organizationalLevelAssociationID", "ourCost", "postedDate", "postedOnTime", "projectChargeID", "projectID", "purchaseOrderNumber", "quantity", "rate", "roleID", "serviceBundleID", "serviceID", "sortOrderID", "subType", "taskID", "taxDollars", "ticketChargeID", "ticketID", "timeEntryID", "totalAmount", "vendorID", "webServiceDate"],
@@ -17256,7 +17490,9 @@ var MODEL_FIELD_SETS = {
17256
17490
  "classification_icons": ["id", "description", "isActive", "isSystem", "name", "relativeUrl"],
17257
17491
  "companies": ["id", "additionalAddressInformation", "address1", "address2", "alternatePhone1", "alternatePhone2", "apiVendorID", "assetValue", "billToCompanyLocationID", "billToAdditionalAddressInformation", "billingAddress1", "billingAddress2", "billToAddressToUse", "billToAttention", "billToCity", "billToCountryID", "billToState", "billToZipCode", "city", "classification", "companyCategoryID", "companyName", "companyNumber", "companyType", "competitorID", "countryID", "createDate", "createdByResourceID", "currencyID", "fax", "impersonatorCreatorResourceID", "invoiceEmailMessageID", "invoiceMethod", "invoiceNonContractItemsToParentCompany", "invoiceTemplateID", "isActive", "isClientPortalActive", "isEnabledForComanaged", "isSample", "isTaskFireActive", "isTaxExempt", "lastActivityDate", "lastTrackedModifiedDateTime", "marketSegmentID", "ownerResourceID", "parentCompanyID", "phone", "postalCode", "purchaseOrderTemplateID", "quoteEmailMessageID", "quoteTemplateID", "sicCode", "state", "stockMarket", "stockSymbol", "surveyCompanyRating", "taxID", "taxRegionID", "territoryID", "webAddress", "userDefinedFields"],
17258
17492
  "company_alerts": ["id", "alertText", "alertTypeID", "companyID", "soapParentPropertyId"],
17493
+ "company_attachments": ["id", "attachDate", "attachedByContactID", "attachedByResourceID", "attachmentType", "companyID", "companyNoteID", "contentType", "creatorType", "fileSize", "fullPath", "impersonatorCreatorResourceID", "opportunityID", "parentAttachmentID", "parentID", "publish", "salesOrderID", "title", "data", "parentType", "soapParentPropertyId", "isTaskAttachment"],
17259
17494
  "company_locations": ["id", "address1", "address2", "alternatePhone1", "alternatePhone2", "city", "companyID", "countryID", "description", "fax", "isActive", "isPrimary", "isTaxExempt", "overrideCompanyTaxSettings", "name", "phone", "postalCode", "roundtripDistance", "state", "taxRegionID", "soapParentPropertyId"],
17495
+ "company_note_attachments": ["id", "attachDate", "attachedByContactID", "attachedByResourceID", "attachmentType", "companyID", "companyNoteID", "contentType", "creatorType", "fileSize", "fullPath", "impersonatorCreatorResourceID", "opportunityID", "parentID", "publish", "salesOrderID", "title", "data", "parentType", "soapParentPropertyId", "isTaskAttachment"],
17260
17496
  "company_notes": ["id", "actionType", "assignedResourceID", "companyID", "completedDateTime", "contactID", "createDateTime", "endDateTime", "impersonatorCreatorResourceID", "impersonatorUpdaterResourceID", "lastModifiedDate", "name", "note", "opportunityID", "startDateTime", "soapParentPropertyId"],
17261
17497
  "company_site_configurations": ["id", "companyID", "locationName", "soapParentPropertyId", "userDefinedFields"],
17262
17498
  "company_webhooks": ["id", "deactivationUrl", "isActive", "isReady", "isSubscribedToCreateEvents", "isSubscribedToDeleteEvents", "isSubscribedToUpdateEvents", "name", "notificationEmailAddress", "ownerResourceID", "secretKey", "sendThresholdExceededNotification", "webhookGUID", "webhookUrl"],
@@ -17376,9 +17612,12 @@ var MODEL_FIELD_SETS = {
17376
17612
  };
17377
17613
  var MODEL_DATE_FIELDS = {
17378
17614
  "appointments": ["createDateTime", "endDateTime", "startDateTime", "updateDateTime"],
17615
+ "attachment_info": ["attachDate"],
17379
17616
  "billing_item_approval_levels": ["approvalDateTime"],
17380
17617
  "billing_items": ["itemDate", "postedDate", "postedOnTime", "webServiceDate"],
17381
17618
  "companies": ["createDate", "lastActivityDate", "lastTrackedModifiedDateTime"],
17619
+ "company_attachments": ["attachDate"],
17620
+ "company_note_attachments": ["attachDate"],
17382
17621
  "company_notes": ["completedDateTime", "createDateTime", "endDateTime", "lastModifiedDate", "startDateTime"],
17383
17622
  "configuration_item_billing_product_associations": ["effectiveDate", "expirationDate"],
17384
17623
  "configuration_item_dns_records": ["createDateTime"],
@@ -19561,6 +19800,16 @@ var SIMPLE_RESOURCES = [
19561
19800
  helpers: { search: false, resolve: true, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
19562
19801
  opForms: { get: "global", create: "global", update: "global", delete: "global" }
19563
19802
  },
19803
+ {
19804
+ key: "attachment_info",
19805
+ accessor: "attachmentInfo",
19806
+ resourcePath: "/V1.0/AttachmentInfo",
19807
+ deletable: false,
19808
+ udfCapable: false,
19809
+ ops: { query: true, queryAll: false, count: true, get: true, create: false, update: false, delete: false, getEntityInfo: true, getFieldInfo: true, getUdfInfo: true },
19810
+ helpers: { search: false, resolve: false, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
19811
+ opForms: { get: "global" }
19812
+ },
19564
19813
  {
19565
19814
  key: "billing_codes",
19566
19815
  accessor: "billingCodes",
@@ -19652,6 +19901,20 @@ var SIMPLE_RESOURCES = [
19652
19901
  helpers: { search: false, resolve: true, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
19653
19902
  opForms: { get: "scoped", create: "scoped", update: "scoped", delete: "scoped" }
19654
19903
  },
19904
+ {
19905
+ key: "company_attachments",
19906
+ accessor: "companyAttachments",
19907
+ resourcePath: "/V1.0/CompanyAttachments",
19908
+ parentScopedPath: "/V1.0/Companies/{parentId}/Attachments",
19909
+ parentPath: "/V1.0/Companies",
19910
+ parentField: "companyID",
19911
+ deletable: true,
19912
+ udfCapable: false,
19913
+ attachmentGet: true,
19914
+ ops: { query: true, queryAll: false, count: true, get: true, create: true, update: false, delete: true, getEntityInfo: true, getFieldInfo: true, getUdfInfo: false, download: false },
19915
+ helpers: { search: false, resolve: false, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
19916
+ opForms: { get: "scoped", create: "scoped", delete: "scoped" }
19917
+ },
19655
19918
  {
19656
19919
  key: "company_locations",
19657
19920
  accessor: "companyLocations",
@@ -19666,6 +19929,20 @@ var SIMPLE_RESOURCES = [
19666
19929
  helpers: { search: true, resolve: true, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
19667
19930
  opForms: { get: "scoped", create: "scoped", update: "scoped", delete: "scoped" }
19668
19931
  },
19932
+ {
19933
+ key: "company_note_attachments",
19934
+ accessor: "companyNoteAttachments",
19935
+ resourcePath: "/V1.0/CompanyNoteAttachments",
19936
+ parentScopedPath: "/V1.0/CompanyNotes/{parentId}/Attachments",
19937
+ parentPath: "/V1.0/CompanyNotes",
19938
+ parentField: "companyNoteID",
19939
+ deletable: true,
19940
+ udfCapable: false,
19941
+ attachmentGet: true,
19942
+ ops: { query: true, queryAll: false, count: true, get: true, create: true, update: false, delete: true, getEntityInfo: true, getFieldInfo: true, getUdfInfo: false, download: false },
19943
+ helpers: { search: false, resolve: false, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
19944
+ opForms: { get: "scoped", create: "scoped", delete: "scoped" }
19945
+ },
19669
19946
  {
19670
19947
  key: "company_notes",
19671
19948
  accessor: "companyNotes",
@@ -19752,7 +20029,7 @@ var SIMPLE_RESOURCES = [
19752
20029
  resourcePath: "/V1.0/ConfigurationItemDnsRecords",
19753
20030
  parentScopedPath: "/V1.0/ConfigurationItems/{parentId}/DnsRecords",
19754
20031
  parentPath: "/V1.0/ConfigurationItems",
19755
- parentField: "configurationItemID",
20032
+ parentField: "installedProductID",
19756
20033
  deletable: true,
19757
20034
  udfCapable: false,
19758
20035
  ops: { query: true, queryAll: false, count: true, get: true, create: false, update: false, delete: true, getEntityInfo: true, getFieldInfo: true, getUdfInfo: true },
@@ -21002,6 +21279,12 @@ var SIMPLE_RESOURCES = [
21002
21279
  var GenericResource = class extends BaseResource {
21003
21280
  constructor(http, config, pageSize) {
21004
21281
  super(http, config, pageSize);
21282
+ if (["company_attachments", "company_note_attachments"].includes(config.key)) this.getUdfInfo = async () => {
21283
+ throw new OperationNotSupportedError(config.key, "getUdfInfo");
21284
+ };
21285
+ if (config.ops?.create === false || config.key === "company_attachments") this.createIfNotExists = async () => {
21286
+ throw new OperationNotSupportedError(config.key, "createIfNotExists");
21287
+ };
21005
21288
  }
21006
21289
  /** #293 QA F2: the superset exposes every generic method, but a row whose ops/helpers
21007
21290
  * flags mark an op absent (the plain entities) refuses it client-side, pre-wire — the
@@ -21190,6 +21473,7 @@ var GenericResource = class extends BaseResource {
21190
21473
  }
21191
21474
  /** Download the attachment bytes (GET .../{id}/data; node-proven path, quirk #9) → Buffer. */
21192
21475
  async download(parentId, id) {
21476
+ this.requireOp("download");
21193
21477
  if (this.config.attachmentGet !== true) throw new OperationNotSupportedError(this.config.key, "download");
21194
21478
  return this.downloadScoped(parentId, id);
21195
21479
  }
@@ -22978,7 +23262,7 @@ function dateBucketLabel(value, bucket) {
22978
23262
  var queryResourceKeysPromise = null;
22979
23263
  function queryResourceKeys() {
22980
23264
  if (queryResourceKeysPromise === null) {
22981
- queryResourceKeysPromise = chunkKAZE4WC7_cjs.loadCapabilityRecords().then((records) => {
23265
+ queryResourceKeysPromise = chunkJLCHKCEB_cjs.loadCapabilityRecords().then((records) => {
22982
23266
  const s = /* @__PURE__ */ new Set();
22983
23267
  for (const rec of records) if (rec.operation === "query") s.add(rec.resource);
22984
23268
  return s;
@@ -23100,7 +23384,7 @@ function parseTopAndLimit(opts, problems) {
23100
23384
  return { top, limit };
23101
23385
  }
23102
23386
  async function checkFieldNames(resourceKey, conditions, opts, problems) {
23103
- const records = resourceKey === void 0 ? [] : await chunkKAZE4WC7_cjs.loadCapabilityRecords();
23387
+ const records = resourceKey === void 0 ? [] : await chunkJLCHKCEB_cjs.loadCapabilityRecords();
23104
23388
  const record = resourceKey === void 0 ? void 0 : records.find((r) => r.resource === resourceKey && r.operation === "query");
23105
23389
  if (record === void 0) return void 0;
23106
23390
  const strings = (v) => Array.isArray(v) ? v.filter((f) => typeof f === "string" && f.trim() !== "") : [];
@@ -23745,7 +24029,7 @@ async function uiLink(client, input) {
23745
24029
  var indexPromise = null;
23746
24030
  function operationIndex() {
23747
24031
  if (indexPromise === null) {
23748
- indexPromise = chunkKAZE4WC7_cjs.loadCapabilityRecords().then((records) => new Map(records.map((r) => [r.id, r])));
24032
+ indexPromise = chunkJLCHKCEB_cjs.loadCapabilityRecords().then((records) => new Map(records.map((r) => [r.id, r])));
23749
24033
  }
23750
24034
  return indexPromise;
23751
24035
  }
@@ -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-MN5VLBCI.js';
2
- import { resolveConfig, HttpClient, SIMPLE_RESOURCES, GenericResource, CompaniesResource, ContractsResource, InvoicesResource, TimeEntriesResource, runWithSignal, runBounded } from './chunk-3RANR2RY.js';
1
+ import { ConfigurationItemsResource, ContactsResource, InventoryProductsResource, QuotesResource, ResourceTimeOffAdditionalResource, ResourceTimeOffBalancesResource, ResourcesResource, ServiceCallsResource, TicketChargesResource, TicketsResource, TimeOffRequestsResource, AuthenticateResource, EntityInformationResource, ModulesResource, ThresholdInformationResource, VersionResource, VersionInformationResource, ZoneInformationResource } from './chunk-5COLIVBE.js';
2
+ import { resolveConfig, HttpClient, SIMPLE_RESOURCES, GenericResource, CompaniesResource, ContractsResource, InvoicesResource, TimeEntriesResource, runWithSignal, runBounded } from './chunk-4OR3XBIP.js';
3
3
 
4
4
  // src/client.ts
5
5
  var AutotaskClient = class {
@@ -9,6 +9,7 @@ var AutotaskClient = class {
9
9
  http;
10
10
  // [GENERATED:RESOURCE_ACCESSORS:START]
11
11
  appointments;
12
+ attachmentInfo;
12
13
  authenticateResource;
13
14
  billingCodes;
14
15
  billingItemApprovalLevels;
@@ -19,7 +20,9 @@ var AutotaskClient = class {
19
20
  classificationIcons;
20
21
  companies;
21
22
  companyAlerts;
23
+ companyAttachments;
22
24
  companyLocations;
25
+ companyNoteAttachments;
23
26
  companyNotes;
24
27
  companySiteConfigurations;
25
28
  companyWebhooks;
@@ -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 BillingCode, aP as BillingCodeCreate, aQ as BillingCodeUpdate, aR as BillingItemApprovalLevel, aS as BillingItemApprovalLevelCreate, aT as BillingItemApprovalLevelUpdate, aU as BillingItemsCreate, aV as BillingItemsUpdate, aW as ChangeRequestLink, aX as ChangeRequestLinkCreate, aY as ChangeRequestLinkUpdate, aZ as ChecklistLibrary, a_ as ChecklistLibraryCreate, a$ as ChecklistLibraryUpdate, b0 as ChecklistLibraryChecklistItem, b1 as ChecklistLibraryChecklistItemCreate, b2 as ChecklistLibraryChecklistItemUpdate, b3 as ClassificationIcon, b4 as ClassificationIconCreate, b5 as ClassificationIconUpdate, b6 as CompanyAlert, b7 as CompanyAlertCreate, b8 as CompanyAlertUpdate, b9 as CompanyLocationCreate, ba as CompanyLocationUpdate, bb as CompanyNoteCreate, bc as CompanyNoteUpdate, bd as CompanySiteConfigurations, be as CompanySiteConfigurationsCreate, bf as CompanySiteConfigurationsUpdate, bg as CompanyWebhook, bh as CompanyWebhookCreate, bi as CompanyWebhookUpdate, bj as ConfigurationItemBillingProductAssociationsCreate, bk as ConfigurationItemBillingProductAssociationsUpdate, bl as ConfigurationItemCategoryCreate, bm as ConfigurationItemCategoryUpdate, bn as ConfigurationItemCategoryUdfAssociation, bo as ConfigurationItemCategoryUdfAssociationCreate, bp as ConfigurationItemCategoryUdfAssociationUpdate, bq as ConfigurationItemDnsRecord, br as ConfigurationItemDnsRecordCreate, bs as ConfigurationItemDnsRecordUpdate, bt as ConfigurationItemNoteCreate, bu as ConfigurationItemNoteUpdate, bv as ConfigurationItemRelatedItemCreate, bw as ConfigurationItemRelatedItemUpdate, bx as ConfigurationItemSslSubjectAlternativeName, by as ConfigurationItemSslSubjectAlternativeNameCreate, bz as ConfigurationItemSslSubjectAlternativeNameUpdate, bA as ConfigurationItemTypeCreate, bB as ConfigurationItemTypeUpdate, bC as ConfigurationItemWebhook, bD as ConfigurationItemWebhookCreate, bE as ConfigurationItemWebhookUpdate, bF as ContactGroupContacts, bG as ContactGroupContactsCreate, bH as ContactGroupContactsUpdate, bI as ContactGroups, bJ as ContactGroupsCreate, bK as ContactGroupsUpdate, bL as ContactWebhook, bM as ContactWebhookCreate, bN as ContactWebhookUpdate, bO as ContractBillingRuleCreate, bP as ContractBillingRuleUpdate, bQ as ContractBlockHourFactor, bR as ContractBlockHourFactorCreate, bS as ContractBlockHourFactorUpdate, bT as ContractBlockCreate, bU as ContractBlockUpdate, bV as ContractChargeCreate, bW as ContractChargeUpdate, bX as ContractExclusionBillingCode, bY as ContractExclusionBillingCodeCreate, bZ as ContractExclusionBillingCodeUpdate, b_ as ContractExclusionRoles, b$ as ContractExclusionRolesCreate, c0 as ContractExclusionRolesUpdate, c1 as ContractExclusionSetExcludedRoles, c2 as ContractExclusionSetExcludedRolesCreate, c3 as ContractExclusionSetExcludedRolesUpdate, c4 as ContractExclusionSetExcludedWorkTypes, c5 as ContractExclusionSetExcludedWorkTypesCreate, c6 as ContractExclusionSetExcludedWorkTypesUpdate, c7 as ContractExclusionSets, c8 as ContractExclusionSetsCreate, c9 as ContractExclusionSetsUpdate, ca as ContractMilestone, cb as ContractMilestoneCreate, cc as ContractMilestoneUpdate, cd as ContractNote, ce as ContractNoteCreate, cf as ContractNoteUpdate, cg as ContractRateCreate, ch as ContractRateUpdate, ci as ContractRetainers, cj as ContractRetainersCreate, ck as ContractRetainersUpdate, cl as ContractRoleCostsCreate, cm as ContractRoleCostsUpdate, cn as ContractServiceAdjustment, co as ContractServiceAdjustmentCreate, cp as ContractServiceAdjustmentUpdate, cq as ContractServiceBundleAdjustment, cr as ContractServiceBundleAdjustmentCreate, cs as ContractServiceBundleAdjustmentUpdate, ct as ContractServiceBundle, cu as ContractServiceBundleCreate, cv as ContractServiceBundleUpdate, cw as ContractServiceBundleUnit, cx as ContractServiceBundleUnitCreate, cy as ContractServiceBundleUnitUpdate, cz as ContractServiceCreate, cA as ContractServiceUpdate, cB as ContractServiceUnitCreate, cC as ContractServiceUnitUpdate, cD as ContractTicketPurchases, cE as ContractTicketPurchasesCreate, cF as ContractTicketPurchasesUpdate, cG as Country, cH as CountryCreate, cI as CountryUpdate, cJ as Currency, cK as CurrencyCreate, cL as CurrencyUpdate, cM as Department, cN as DepartmentCreate, cO as DepartmentUpdate, cP as DomainRegistrar, cQ as DomainRegistrarCreate, cR as DomainRegistrarUpdate, cS as ExpenseItemAttachment, cT as ExpenseItemAttachmentCreate, cU as ExpenseItemAttachmentUpdate, cV as ExpenseItemCreate, cW as ExpenseItemUpdate, cX as ExpenseReport, cY as ExpenseReportCreate, cZ as ExpenseReportUpdate, c_ as Holiday, c$ as HolidayCreate, d0 as HolidayUpdate, d1 as HolidaySet, d2 as HolidaySetCreate, d3 as HolidaySetUpdate, d4 as InvoiceTemplate, d5 as InvoiceTemplateCreate, d6 as InvoiceTemplateUpdate, d7 as NotificationHistory, d8 as NotificationHistoryCreate, d9 as NotificationHistoryUpdate, da as Opportunity, db as OpportunityCreate, dc as OpportunityUpdate, dd as OpportunityAttachment, de as OpportunityAttachmentCreate, df as OpportunityAttachmentUpdate, dg as OpportunityCategory, dh as OpportunityCategoryCreate, di as OpportunityCategoryUpdate, dj as OrganizationalLevel1Create, dk as OrganizationalLevel1Update, dl as OrganizationalLevel2Create, dm as OrganizationalLevel2Update, dn as OrganizationalLevelAssociationCreate, dp as OrganizationalLevelAssociationUpdate, dq as Phase, dr as PhaseCreate, ds as PhaseUpdate, dt as Product, du as ProductCreate, dv as ProductUpdate, dw as ProductVendors, dx as ProductVendorsCreate, dy as ProductVendorsUpdate, dz as ProjectCharge, dA as ProjectChargeCreate, dB as ProjectChargeUpdate, dC as ProjectNote, dD as ProjectNoteCreate, dE as ProjectNoteUpdate, dF as ProjectCreate, dG as ProjectUpdate, dH as ProjectContext, dI as PurchaseApprovals, dJ as PurchaseApprovalsCreate, dK as PurchaseApprovalsUpdate, dL as PurchaseOrderItemReceiving, dM as PurchaseOrderItemReceivingCreate, dN as PurchaseOrderItemReceivingUpdate, dO as PurchaseOrderItems, dP as PurchaseOrderItemsCreate, dQ as PurchaseOrderItemsUpdate, dR as PurchaseOrders, dS as PurchaseOrdersCreate, dT as PurchaseOrdersUpdate, dU as QuoteItemCreate, dV as QuoteItemUpdate, dW as QuoteLocation, dX as QuoteLocationCreate, dY as QuoteLocationUpdate, dZ as QuoteTemplate, d_ as QuoteTemplateCreate, d$ as QuoteTemplateUpdate, e0 as ResourceRoleQueue, e1 as ResourceRoleQueueCreate, e2 as ResourceRoleQueueUpdate, e3 as ResourceRole, e4 as ResourceRoleCreate, e5 as ResourceRoleUpdate, e6 as ResourceSkill, e7 as ResourceSkillCreate, e8 as ResourceSkillUpdate, e9 as ResourceTimeOffApprover, ea as ResourceTimeOffApproverCreate, eb as ResourceTimeOffApproverUpdate, ec as Role, ed as RoleCreate, ee as RoleUpdate, ef as SalesOrder, eg as SalesOrderCreate, eh as SalesOrderUpdate, ei as ServiceCallTaskResourceCreate, ej as ServiceCallTaskResourceUpdate, ek as ServiceCallTaskCreate, el as ServiceCallTaskUpdate, em as ServiceCallTicketResource, en as ServiceCallTicketResourceCreate, eo as ServiceCallTicketResourceUpdate, ep as ServiceCallTicketCreate, eq as ServiceCallTicketUpdate, er as ServiceLevelAgreementResults, es as ServiceLevelAgreementResultsCreate, et as ServiceLevelAgreementResultsUpdate, eu as Service, ev as ServiceCreate, ew as ServiceUpdate, ex as Skill, ey as SkillCreate, ez as SkillUpdate, eA as SubscriptionPeriod, eB as SubscriptionPeriodCreate, eC as SubscriptionPeriodUpdate, eD as SubscriptionCreate, eE as SubscriptionUpdate, eF as SurveyResults, eG as SurveyResultsCreate, eH as SurveyResultsUpdate, eI as Survey, eJ as SurveyCreate, eK as SurveyUpdate, eL as TagAlias, eM as TagAliasCreate, eN as TagAliasUpdate, eO as TagGroup, eP as TagGroupCreate, eQ as TagGroupUpdate, eR as Tag, eS as TagCreate, eT as TagUpdate, eU as Task, eV as TaskCreate, eW as TaskUpdate, eX as TaskSecondaryResource, eY as TaskSecondaryResourceCreate, eZ as TaskSecondaryResourceUpdate, e_ as TaxRegion, e$ as TaxRegionCreate, f0 as TaxRegionUpdate, f1 as TicketAdditionalConfigurationItem, f2 as TicketAdditionalConfigurationItemCreate, f3 as TicketAdditionalConfigurationItemUpdate, f4 as TicketAdditionalContact, f5 as TicketAdditionalContactCreate, f6 as TicketAdditionalContactUpdate, f7 as TicketAttachment, f8 as TicketAttachmentCreate, f9 as TicketAttachmentUpdate, fa as TicketCategory, fb as TicketCategoryCreate, fc as TicketCategoryUpdate, fd as TicketCategoryFieldDefault, fe as TicketCategoryFieldDefaultCreate, ff as TicketCategoryFieldDefaultUpdate, fg as TicketChangeRequestApproval, fh as TicketChangeRequestApprovalCreate, fi as TicketChangeRequestApprovalUpdate, fj as TicketChecklistItem, fk as TicketChecklistItemCreate, fl as TicketChecklistItemUpdate, fm as TicketChecklistLibrary, fn as TicketChecklistLibraryCreate, fo as TicketChecklistLibraryUpdate, fp as TicketHistory, fq as TicketHistoryCreate, fr as TicketHistoryUpdate, fs as TicketNoteAttachment, ft as TicketNoteAttachmentCreate, fu as TicketNoteAttachmentUpdate, fv as TicketNote, fw as TicketNoteCreate, fx as TicketNoteUpdate, fy as TicketNoteWebhook, fz as TicketNoteWebhookCreate, fA as TicketNoteWebhookUpdate, fB as TicketSecondaryResource, fC as TicketSecondaryResourceCreate, fD as TicketSecondaryResourceUpdate, fE as TicketWebhook, fF as TicketWebhookCreate, fG as TicketWebhookUpdate, fH as TimeEntryAttachment, fI as TimeEntryAttachmentCreate, fJ as TimeEntryAttachmentUpdate, fK as UserDefinedFieldDefinition, fL as UserDefinedFieldDefinitionCreate, fM as UserDefinedFieldDefinitionUpdate, fN as UserDefinedFieldListItem, fO as UserDefinedFieldListItemCreate, fP as UserDefinedFieldListItemUpdate, Q as QueryParams, fQ as Resolution, fR as Page, fS as EntityInformationModel, fT as FieldInformationModel, fU as Field, fV as FilterCondition, fW as CompositeNameTable, fX as CompositeContextOptions } from './index-COQEG55Q.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 ConfigurationItemBillingProductAssociationsCreate, bt as ConfigurationItemBillingProductAssociationsUpdate, bu as ConfigurationItemCategoryCreate, bv as ConfigurationItemCategoryUpdate, bw as ConfigurationItemCategoryUdfAssociation, bx as ConfigurationItemCategoryUdfAssociationCreate, by as ConfigurationItemCategoryUdfAssociationUpdate, bz as ConfigurationItemDnsRecord, bA as ConfigurationItemDnsRecordCreate, bB as ConfigurationItemDnsRecordUpdate, bC as ConfigurationItemNoteCreate, bD as ConfigurationItemNoteUpdate, bE as ConfigurationItemRelatedItemCreate, bF as ConfigurationItemRelatedItemUpdate, bG as ConfigurationItemSslSubjectAlternativeName, bH as ConfigurationItemSslSubjectAlternativeNameCreate, bI as ConfigurationItemSslSubjectAlternativeNameUpdate, bJ as ConfigurationItemTypeCreate, bK as ConfigurationItemTypeUpdate, bL as ConfigurationItemWebhook, bM as ConfigurationItemWebhookCreate, bN as ConfigurationItemWebhookUpdate, bO as ContactGroupContacts, bP as ContactGroupContactsCreate, bQ as ContactGroupContactsUpdate, bR as ContactGroups, bS as ContactGroupsCreate, bT as ContactGroupsUpdate, bU as ContactWebhook, bV as ContactWebhookCreate, bW as ContactWebhookUpdate, bX as ContractBillingRuleCreate, bY as ContractBillingRuleUpdate, bZ as ContractBlockHourFactor, b_ as ContractBlockHourFactorCreate, b$ as ContractBlockHourFactorUpdate, c0 as ContractBlockCreate, c1 as ContractBlockUpdate, c2 as ContractChargeCreate, c3 as ContractChargeUpdate, c4 as ContractExclusionBillingCode, c5 as ContractExclusionBillingCodeCreate, c6 as ContractExclusionBillingCodeUpdate, c7 as ContractExclusionRoles, c8 as ContractExclusionRolesCreate, c9 as ContractExclusionRolesUpdate, ca as ContractExclusionSetExcludedRoles, cb as ContractExclusionSetExcludedRolesCreate, cc as ContractExclusionSetExcludedRolesUpdate, cd as ContractExclusionSetExcludedWorkTypes, ce as ContractExclusionSetExcludedWorkTypesCreate, cf as ContractExclusionSetExcludedWorkTypesUpdate, cg as ContractExclusionSets, ch as ContractExclusionSetsCreate, ci as ContractExclusionSetsUpdate, cj as ContractMilestone, ck as ContractMilestoneCreate, cl as ContractMilestoneUpdate, cm as ContractNote, cn as ContractNoteCreate, co as ContractNoteUpdate, cp as ContractRateCreate, cq as ContractRateUpdate, cr as ContractRetainers, cs as ContractRetainersCreate, ct as ContractRetainersUpdate, cu as ContractRoleCostsCreate, cv as ContractRoleCostsUpdate, cw as ContractServiceAdjustment, cx as ContractServiceAdjustmentCreate, cy as ContractServiceAdjustmentUpdate, cz as ContractServiceBundleAdjustment, cA as ContractServiceBundleAdjustmentCreate, cB as ContractServiceBundleAdjustmentUpdate, cC as ContractServiceBundle, cD as ContractServiceBundleCreate, cE as ContractServiceBundleUpdate, cF as ContractServiceBundleUnit, cG as ContractServiceBundleUnitCreate, cH as ContractServiceBundleUnitUpdate, cI as ContractServiceCreate, cJ as ContractServiceUpdate, cK as ContractServiceUnitCreate, cL as ContractServiceUnitUpdate, cM as ContractTicketPurchases, cN as ContractTicketPurchasesCreate, cO as ContractTicketPurchasesUpdate, cP as Country, cQ as CountryCreate, cR as CountryUpdate, cS as Currency, cT as CurrencyCreate, cU as CurrencyUpdate, cV as Department, cW as DepartmentCreate, cX as DepartmentUpdate, cY as DomainRegistrar, cZ as DomainRegistrarCreate, c_ as DomainRegistrarUpdate, c$ as ExpenseItemAttachment, d0 as ExpenseItemAttachmentCreate, d1 as ExpenseItemAttachmentUpdate, d2 as ExpenseItemCreate, d3 as ExpenseItemUpdate, d4 as ExpenseReport, d5 as ExpenseReportCreate, d6 as ExpenseReportUpdate, d7 as Holiday, d8 as HolidayCreate, d9 as HolidayUpdate, da as HolidaySet, db as HolidaySetCreate, dc as HolidaySetUpdate, dd as InvoiceTemplate, de as InvoiceTemplateCreate, df as InvoiceTemplateUpdate, dg as NotificationHistory, dh as NotificationHistoryCreate, di as NotificationHistoryUpdate, dj as Opportunity, dk as OpportunityCreate, dl as OpportunityUpdate, dm as OpportunityAttachment, dn as OpportunityAttachmentCreate, dp as OpportunityAttachmentUpdate, dq as OpportunityCategory, dr as OpportunityCategoryCreate, ds as OpportunityCategoryUpdate, dt as OrganizationalLevel1Create, du as OrganizationalLevel1Update, dv as OrganizationalLevel2Create, dw as OrganizationalLevel2Update, dx as OrganizationalLevelAssociationCreate, dy as OrganizationalLevelAssociationUpdate, dz as Phase, dA as PhaseCreate, dB as PhaseUpdate, dC as Product, dD as ProductCreate, dE as ProductUpdate, dF as ProductVendors, dG as ProductVendorsCreate, dH as ProductVendorsUpdate, dI as ProjectCharge, dJ as ProjectChargeCreate, dK as ProjectChargeUpdate, dL as ProjectNote, dM as ProjectNoteCreate, dN as ProjectNoteUpdate, dO as ProjectCreate, dP as ProjectUpdate, dQ as ProjectContext, dR as PurchaseApprovals, dS as PurchaseApprovalsCreate, dT as PurchaseApprovalsUpdate, dU as PurchaseOrderItemReceiving, dV as PurchaseOrderItemReceivingCreate, dW as PurchaseOrderItemReceivingUpdate, dX as PurchaseOrderItems, dY as PurchaseOrderItemsCreate, dZ as PurchaseOrderItemsUpdate, d_ as PurchaseOrders, d$ as PurchaseOrdersCreate, e0 as PurchaseOrdersUpdate, e1 as QuoteItemCreate, e2 as QuoteItemUpdate, e3 as QuoteLocation, e4 as QuoteLocationCreate, e5 as QuoteLocationUpdate, e6 as QuoteTemplate, e7 as QuoteTemplateCreate, e8 as QuoteTemplateUpdate, e9 as ResourceRoleQueue, ea as ResourceRoleQueueCreate, eb as ResourceRoleQueueUpdate, ec as ResourceRole, ed as ResourceRoleCreate, ee as ResourceRoleUpdate, ef as ResourceSkill, eg as ResourceSkillCreate, eh as ResourceSkillUpdate, ei as ResourceTimeOffApprover, ej as ResourceTimeOffApproverCreate, ek as ResourceTimeOffApproverUpdate, el as Role, em as RoleCreate, en as RoleUpdate, eo as SalesOrder, ep as SalesOrderCreate, eq as SalesOrderUpdate, er as ServiceCallTaskResourceCreate, es as ServiceCallTaskResourceUpdate, et as ServiceCallTaskCreate, eu as ServiceCallTaskUpdate, ev as ServiceCallTicketResource, ew as ServiceCallTicketResourceCreate, ex as ServiceCallTicketResourceUpdate, ey as ServiceCallTicketCreate, ez as ServiceCallTicketUpdate, eA as ServiceLevelAgreementResults, eB as ServiceLevelAgreementResultsCreate, eC as ServiceLevelAgreementResultsUpdate, eD as Service, eE as ServiceCreate, eF as ServiceUpdate, eG as Skill, eH as SkillCreate, eI as SkillUpdate, eJ as SubscriptionPeriod, eK as SubscriptionPeriodCreate, eL as SubscriptionPeriodUpdate, eM as SubscriptionCreate, eN as SubscriptionUpdate, eO as SurveyResults, eP as SurveyResultsCreate, eQ as SurveyResultsUpdate, eR as Survey, eS as SurveyCreate, eT as SurveyUpdate, eU as TagAlias, eV as TagAliasCreate, eW as TagAliasUpdate, eX as TagGroup, eY as TagGroupCreate, eZ as TagGroupUpdate, e_ as Tag, e$ as TagCreate, f0 as TagUpdate, f1 as Task, f2 as TaskCreate, f3 as TaskUpdate, f4 as TaskSecondaryResource, f5 as TaskSecondaryResourceCreate, f6 as TaskSecondaryResourceUpdate, f7 as TaxRegion, f8 as TaxRegionCreate, f9 as TaxRegionUpdate, fa as TicketAdditionalConfigurationItem, fb as TicketAdditionalConfigurationItemCreate, fc as TicketAdditionalConfigurationItemUpdate, fd as TicketAdditionalContact, fe as TicketAdditionalContactCreate, ff as TicketAdditionalContactUpdate, fg as TicketAttachment, fh as TicketAttachmentCreate, fi as TicketAttachmentUpdate, fj as TicketCategory, fk as TicketCategoryCreate, fl as TicketCategoryUpdate, fm as TicketCategoryFieldDefault, fn as TicketCategoryFieldDefaultCreate, fo as TicketCategoryFieldDefaultUpdate, fp as TicketChangeRequestApproval, fq as TicketChangeRequestApprovalCreate, fr as TicketChangeRequestApprovalUpdate, fs as TicketChecklistItem, ft as TicketChecklistItemCreate, fu as TicketChecklistItemUpdate, fv as TicketChecklistLibrary, fw as TicketChecklistLibraryCreate, fx as TicketChecklistLibraryUpdate, fy as TicketHistory, fz as TicketHistoryCreate, fA as TicketHistoryUpdate, fB as TicketNoteAttachment, fC as TicketNoteAttachmentCreate, fD as TicketNoteAttachmentUpdate, fE as TicketNote, fF as TicketNoteCreate, fG as TicketNoteUpdate, fH as TicketNoteWebhook, fI as TicketNoteWebhookCreate, fJ as TicketNoteWebhookUpdate, fK as TicketSecondaryResource, fL as TicketSecondaryResourceCreate, fM as TicketSecondaryResourceUpdate, fN as TicketWebhook, fO as TicketWebhookCreate, fP as TicketWebhookUpdate, fQ as TimeEntryAttachment, fR as TimeEntryAttachmentCreate, fS as TimeEntryAttachmentUpdate, fT as UserDefinedFieldDefinition, fU as UserDefinedFieldDefinitionCreate, fV as UserDefinedFieldDefinitionUpdate, fW as UserDefinedFieldListItem, fX as UserDefinedFieldListItemCreate, fY as UserDefinedFieldListItemUpdate, Q as QueryParams, fZ as Resolution, f_ as Page, f$ as EntityInformationModel, g0 as FieldInformationModel, g1 as Field, g2 as FilterCondition, g3 as CompositeNameTable, g4 as CompositeContextOptions } from './index-CM_SRgtH.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: 959981d335cfd184d8b4e58074d1ab6997b2db87a62683ed13e99c149f8cd4fa
35
+ * planHash: 275fdf2fd6712f9384c1a65f98c5faf1fda9695475ffbdf35c08e574c18b4157
36
36
  */
37
37
 
38
38
  /** One pinned blind-surface stamp (the result-time sentinel object). */
@@ -2772,6 +2772,7 @@ declare class AutotaskClient {
2772
2772
  /** The transport (shared by every resource; the only fetch site). */
2773
2773
  readonly http: HttpClient;
2774
2774
  readonly appointments: GenericResource<Appointment, AppointmentCreate, AppointmentUpdate>;
2775
+ readonly attachmentInfo: GenericResource<AttachmentInfo, AttachmentInfoCreate, AttachmentInfoUpdate>;
2775
2776
  readonly authenticateResource: AuthenticateResource;
2776
2777
  readonly billingCodes: GenericResource<BillingCode, BillingCodeCreate, BillingCodeUpdate>;
2777
2778
  readonly billingItemApprovalLevels: GenericResource<BillingItemApprovalLevel, BillingItemApprovalLevelCreate, BillingItemApprovalLevelUpdate>;
@@ -2782,7 +2783,9 @@ declare class AutotaskClient {
2782
2783
  readonly classificationIcons: GenericResource<ClassificationIcon, ClassificationIconCreate, ClassificationIconUpdate>;
2783
2784
  readonly companies: CompaniesResource;
2784
2785
  readonly companyAlerts: GenericResource<CompanyAlert, CompanyAlertCreate, CompanyAlertUpdate>;
2786
+ readonly companyAttachments: GenericResource<CompanyAttachment, CompanyAttachmentCreate, CompanyAttachmentUpdate>;
2785
2787
  readonly companyLocations: GenericResource<CompanyLocation, CompanyLocationCreate, CompanyLocationUpdate>;
2788
+ readonly companyNoteAttachments: GenericResource<CompanyNoteAttachment, CompanyNoteAttachmentCreate, CompanyNoteAttachmentUpdate>;
2786
2789
  readonly companyNotes: GenericResource<CompanyNote, CompanyNoteCreate, CompanyNoteUpdate>;
2787
2790
  readonly companySiteConfigurations: GenericResource<CompanySiteConfigurations, CompanySiteConfigurationsCreate, CompanySiteConfigurationsUpdate>;
2788
2791
  readonly companyWebhooks: GenericResource<CompanyWebhook, CompanyWebhookCreate, CompanyWebhookUpdate>;
@@ -3699,6 +3702,7 @@ interface OpsFlags {
3699
3702
  getEntityInfo: boolean;
3700
3703
  getFieldInfo: boolean;
3701
3704
  getUdfInfo: boolean;
3705
+ download?: boolean;
3702
3706
  }
3703
3707
  /** The per-key helper flags (metadata). */
3704
3708
  interface HelperFlags {