node-autotask 0.28.0 → 0.30.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 (41) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/MCP_TOOL_CATALOG.json +46 -8
  3. package/MCP_TOOL_MANIFEST.md +13 -11
  4. package/N8N_MCP_MANIFEST.json +34 -5
  5. package/N8N_MCP_MANIFEST.md +8 -7
  6. package/README.md +1 -2
  7. package/capabilities.json +1642 -1319
  8. package/dist/capabilities.cjs +2 -2
  9. package/dist/capabilities.js +1 -1
  10. package/dist/{chunk-O2D7KDDD.js → chunk-2ETR5GSO.js} +2 -2
  11. package/dist/{chunk-ZEGMVEF3.cjs → chunk-EDVSWL32.cjs} +1641 -1318
  12. package/dist/{chunk-GUY2KK7U.cjs → chunk-L4TDVUJM.cjs} +143 -143
  13. package/dist/{chunk-D5IVS6GY.cjs → chunk-LLIB4JGK.cjs} +140 -6
  14. package/dist/{chunk-SYX6EWMT.js → chunk-P4PC32RJ.js} +192 -70
  15. package/dist/{chunk-IRVZGW5K.js → chunk-QQPCJT2L.js} +136 -2
  16. package/dist/{chunk-WYKGD5UD.cjs → chunk-RS7QMPRO.cjs} +622 -500
  17. package/dist/{chunk-6EQSXYRW.js → chunk-TZC4ZAA6.js} +1641 -1318
  18. package/dist/{index-CORcZUNm.d.cts → index-B9VNv-EP.d.cts} +52 -2
  19. package/dist/{index-DQ9NgraW.d.cts → index-CJ36PwRG.d.cts} +110 -82
  20. package/dist/{index-DQ9NgraW.d.ts → index-CJ36PwRG.d.ts} +110 -82
  21. package/dist/{index-DXuV04zM.d.ts → index-DkpaFqyu.d.ts} +52 -2
  22. package/dist/index.cjs +22 -22
  23. package/dist/index.d.cts +4 -4
  24. package/dist/index.d.ts +4 -4
  25. package/dist/index.js +4 -4
  26. package/dist/operations/index.cjs +112 -112
  27. package/dist/operations/index.d.cts +4 -4
  28. package/dist/operations/index.d.ts +4 -4
  29. package/dist/operations/index.js +2 -2
  30. package/dist/pool.cjs +9 -9
  31. package/dist/pool.d.cts +2 -2
  32. package/dist/pool.d.ts +2 -2
  33. package/dist/pool.js +4 -4
  34. package/dist/resources/index.cjs +4 -4
  35. package/dist/resources/index.d.cts +2 -2
  36. package/dist/resources/index.d.ts +2 -2
  37. package/dist/resources/index.js +3 -3
  38. package/dist/types/index.d.cts +1 -1
  39. package/dist/types/index.d.ts +1 -1
  40. package/docs/API.md +1 -2
  41. package/package.json +1 -1
@@ -135,13 +135,13 @@
135
135
 
136
136
 
137
137
 
138
- var _chunkWYKGD5UDcjs = require('./chunk-WYKGD5UD.cjs');
138
+ var _chunkRS7QMPROcjs = require('./chunk-RS7QMPRO.cjs');
139
139
 
140
140
 
141
141
 
142
142
 
143
143
 
144
- var _chunkD5IVS6GYcjs = require('./chunk-D5IVS6GY.cjs');
144
+ var _chunkLLIB4JGKcjs = require('./chunk-LLIB4JGK.cjs');
145
145
 
146
146
  // src/client.ts
147
147
  var AutotaskClient = class {
@@ -292,145 +292,145 @@ var AutotaskClient = class {
292
292
  * anything is wired. Construction issues NO request.
293
293
  */
294
294
  constructor(options) {
295
- this.config = _chunkD5IVS6GYcjs.resolveConfig.call(void 0, options);
296
- this.http = new (0, _chunkD5IVS6GYcjs.HttpClient)(this.config);
295
+ this.config = _chunkLLIB4JGKcjs.resolveConfig.call(void 0, options);
296
+ this.http = new (0, _chunkLLIB4JGKcjs.HttpClient)(this.config);
297
297
  this.http.client = this;
298
- this.appointments = new (0, _chunkWYKGD5UDcjs.AppointmentsResource)(this.http, this.config.pageSize);
299
- this.authenticateResource = new (0, _chunkWYKGD5UDcjs.AuthenticateResource)(this.http);
300
- this.billingCodes = new (0, _chunkWYKGD5UDcjs.BillingCodesResource)(this.http, this.config.pageSize);
301
- this.billingItemApprovalLevels = new (0, _chunkWYKGD5UDcjs.BillingItemApprovalLevelsResource)(this.http, this.config.pageSize);
302
- this.billingItems = new (0, _chunkWYKGD5UDcjs.BillingItemsResource)(this.http, this.config.pageSize);
303
- this.changeRequestLinks = new (0, _chunkWYKGD5UDcjs.ChangeRequestLinksResource)(this.http, this.config.pageSize);
304
- this.checklistLibraries = new (0, _chunkWYKGD5UDcjs.ChecklistLibrariesResource)(this.http, this.config.pageSize);
305
- this.checklistLibraryChecklistItems = new (0, _chunkWYKGD5UDcjs.ChecklistLibraryChecklistItemsResource)(this.http, this.config.pageSize);
306
- this.classificationIcons = new (0, _chunkWYKGD5UDcjs.ClassificationIconsResource)(this.http, this.config.pageSize);
307
- this.companies = new (0, _chunkWYKGD5UDcjs.CompaniesResource)(this.http, this.config.pageSize);
308
- this.companyAlerts = new (0, _chunkWYKGD5UDcjs.CompanyAlertsResource)(this.http, this.config.pageSize);
309
- this.companyLocations = new (0, _chunkWYKGD5UDcjs.CompanyLocationsResource)(this.http, this.config.pageSize);
310
- this.companyNotes = new (0, _chunkWYKGD5UDcjs.CompanyNotesResource)(this.http, this.config.pageSize);
311
- this.companySiteConfigurations = new (0, _chunkWYKGD5UDcjs.CompanySiteConfigurationsResource)(this.http, this.config.pageSize);
312
- this.companyWebhooks = new (0, _chunkWYKGD5UDcjs.CompanyWebhooksResource)(this.http, this.config.pageSize);
313
- this.configurationItemBillingProductAssociations = new (0, _chunkWYKGD5UDcjs.ConfigurationItemBillingProductAssociationsResource)(this.http, this.config.pageSize);
314
- this.configurationItemCategories = new (0, _chunkWYKGD5UDcjs.ConfigurationItemCategoriesResource)(this.http, this.config.pageSize);
315
- this.configurationItemCategoryUdfAssociations = new (0, _chunkWYKGD5UDcjs.ConfigurationItemCategoryUdfAssociationsResource)(this.http, this.config.pageSize);
316
- this.configurationItemDnsRecords = new (0, _chunkWYKGD5UDcjs.ConfigurationItemDnsRecordsResource)(this.http, this.config.pageSize);
317
- this.configurationItemNotes = new (0, _chunkWYKGD5UDcjs.ConfigurationItemNotesResource)(this.http, this.config.pageSize);
318
- this.configurationItemRelatedItems = new (0, _chunkWYKGD5UDcjs.ConfigurationItemRelatedItemsResource)(this.http, this.config.pageSize);
319
- this.configurationItems = new (0, _chunkWYKGD5UDcjs.ConfigurationItemsResource)(this.http, this.config.pageSize);
320
- this.configurationItemSslSubjectAlternativeNames = new (0, _chunkWYKGD5UDcjs.ConfigurationItemSslSubjectAlternativeNamesResource)(this.http, this.config.pageSize);
321
- this.configurationItemTypes = new (0, _chunkWYKGD5UDcjs.ConfigurationItemTypesResource)(this.http, this.config.pageSize);
322
- this.configurationItemWebhooks = new (0, _chunkWYKGD5UDcjs.ConfigurationItemWebhooksResource)(this.http, this.config.pageSize);
323
- this.contactGroupContacts = new (0, _chunkWYKGD5UDcjs.ContactGroupContactsResource)(this.http, this.config.pageSize);
324
- this.contactGroups = new (0, _chunkWYKGD5UDcjs.ContactGroupsResource)(this.http, this.config.pageSize);
325
- this.contacts = new (0, _chunkWYKGD5UDcjs.ContactsResource)(this.http, this.config.pageSize);
326
- this.contactWebhooks = new (0, _chunkWYKGD5UDcjs.ContactWebhooksResource)(this.http, this.config.pageSize);
327
- this.contractBillingRules = new (0, _chunkWYKGD5UDcjs.ContractBillingRulesResource)(this.http, this.config.pageSize);
328
- this.contractBlockHourFactors = new (0, _chunkWYKGD5UDcjs.ContractBlockHourFactorsResource)(this.http, this.config.pageSize);
329
- this.contractBlocks = new (0, _chunkWYKGD5UDcjs.ContractBlocksResource)(this.http, this.config.pageSize);
330
- this.contractCharges = new (0, _chunkWYKGD5UDcjs.ContractChargesResource)(this.http, this.config.pageSize);
331
- this.contractExclusionBillingCodes = new (0, _chunkWYKGD5UDcjs.ContractExclusionBillingCodesResource)(this.http, this.config.pageSize);
332
- this.contractExclusionRoles = new (0, _chunkWYKGD5UDcjs.ContractExclusionRolesResource)(this.http, this.config.pageSize);
333
- this.contractExclusionSetExcludedRoles = new (0, _chunkWYKGD5UDcjs.ContractExclusionSetExcludedRolesResource)(this.http, this.config.pageSize);
334
- this.contractExclusionSetExcludedWorkTypes = new (0, _chunkWYKGD5UDcjs.ContractExclusionSetExcludedWorkTypesResource)(this.http, this.config.pageSize);
335
- this.contractExclusionSets = new (0, _chunkWYKGD5UDcjs.ContractExclusionSetsResource)(this.http, this.config.pageSize);
336
- this.contractMilestones = new (0, _chunkWYKGD5UDcjs.ContractMilestonesResource)(this.http, this.config.pageSize);
337
- this.contractNotes = new (0, _chunkWYKGD5UDcjs.ContractNotesResource)(this.http, this.config.pageSize);
338
- this.contractRates = new (0, _chunkWYKGD5UDcjs.ContractRatesResource)(this.http, this.config.pageSize);
339
- this.contractRetainers = new (0, _chunkWYKGD5UDcjs.ContractRetainersResource)(this.http, this.config.pageSize);
340
- this.contractRoleCosts = new (0, _chunkWYKGD5UDcjs.ContractRoleCostsResource)(this.http, this.config.pageSize);
341
- this.contractServiceAdjustments = new (0, _chunkWYKGD5UDcjs.ContractServiceAdjustmentsResource)(this.http, this.config.pageSize);
342
- this.contractServiceBundleAdjustments = new (0, _chunkWYKGD5UDcjs.ContractServiceBundleAdjustmentsResource)(this.http, this.config.pageSize);
343
- this.contractServiceBundles = new (0, _chunkWYKGD5UDcjs.ContractServiceBundlesResource)(this.http, this.config.pageSize);
344
- this.contractServiceBundleUnits = new (0, _chunkWYKGD5UDcjs.ContractServiceBundleUnitsResource)(this.http, this.config.pageSize);
345
- this.contractServices = new (0, _chunkWYKGD5UDcjs.ContractServicesResource)(this.http, this.config.pageSize);
346
- this.contractServiceUnits = new (0, _chunkWYKGD5UDcjs.ContractServiceUnitsResource)(this.http, this.config.pageSize);
347
- this.contracts = new (0, _chunkWYKGD5UDcjs.ContractsResource)(this.http, this.config.pageSize);
348
- this.contractTicketPurchases = new (0, _chunkWYKGD5UDcjs.ContractTicketPurchasesResource)(this.http, this.config.pageSize);
349
- this.countries = new (0, _chunkWYKGD5UDcjs.CountriesResource)(this.http, this.config.pageSize);
350
- this.currencies = new (0, _chunkWYKGD5UDcjs.CurrenciesResource)(this.http, this.config.pageSize);
351
- this.departments = new (0, _chunkWYKGD5UDcjs.DepartmentsResource)(this.http, this.config.pageSize);
352
- this.domainRegistrars = new (0, _chunkWYKGD5UDcjs.DomainRegistrarsResource)(this.http, this.config.pageSize);
353
- this.entityInformation = new (0, _chunkWYKGD5UDcjs.EntityInformationResource)(this.http);
354
- this.expenseItemAttachments = new (0, _chunkWYKGD5UDcjs.ExpenseItemAttachmentsResource)(this.http, this.config.pageSize);
355
- this.expenseItems = new (0, _chunkWYKGD5UDcjs.ExpenseItemsResource)(this.http, this.config.pageSize);
356
- this.expenseReports = new (0, _chunkWYKGD5UDcjs.ExpenseReportsResource)(this.http, this.config.pageSize);
357
- this.holidaySets = new (0, _chunkWYKGD5UDcjs.HolidaySetsResource)(this.http, this.config.pageSize);
358
- this.holidays = new (0, _chunkWYKGD5UDcjs.HolidaysResource)(this.http, this.config.pageSize);
359
- this.inventoryProducts = new (0, _chunkWYKGD5UDcjs.InventoryProductsResource)(this.http, this.config.pageSize);
360
- this.invoices = new (0, _chunkWYKGD5UDcjs.InvoicesResource)(this.http, this.config.pageSize);
361
- this.invoiceTemplates = new (0, _chunkWYKGD5UDcjs.InvoiceTemplatesResource)(this.http, this.config.pageSize);
362
- this.modules = new (0, _chunkWYKGD5UDcjs.ModulesResource)(this.http);
363
- this.notificationHistory = new (0, _chunkWYKGD5UDcjs.NotificationHistoryResource)(this.http, this.config.pageSize);
364
- this.opportunities = new (0, _chunkWYKGD5UDcjs.OpportunitiesResource)(this.http, this.config.pageSize);
365
- this.opportunityAttachments = new (0, _chunkWYKGD5UDcjs.OpportunityAttachmentsResource)(this.http, this.config.pageSize);
366
- this.opportunityCategories = new (0, _chunkWYKGD5UDcjs.OpportunityCategoriesResource)(this.http, this.config.pageSize);
367
- this.organizationalLevel1s = new (0, _chunkWYKGD5UDcjs.OrganizationalLevel1sResource)(this.http, this.config.pageSize);
368
- this.organizationalLevel2s = new (0, _chunkWYKGD5UDcjs.OrganizationalLevel2sResource)(this.http, this.config.pageSize);
369
- this.organizationalLevelAssociations = new (0, _chunkWYKGD5UDcjs.OrganizationalLevelAssociationsResource)(this.http, this.config.pageSize);
370
- this.phases = new (0, _chunkWYKGD5UDcjs.PhasesResource)(this.http, this.config.pageSize);
371
- this.products = new (0, _chunkWYKGD5UDcjs.ProductsResource)(this.http, this.config.pageSize);
372
- this.productVendors = new (0, _chunkWYKGD5UDcjs.ProductVendorsResource)(this.http, this.config.pageSize);
373
- this.projectCharges = new (0, _chunkWYKGD5UDcjs.ProjectChargesResource)(this.http, this.config.pageSize);
374
- this.projectNotes = new (0, _chunkWYKGD5UDcjs.ProjectNotesResource)(this.http, this.config.pageSize);
375
- this.projects = new (0, _chunkWYKGD5UDcjs.ProjectsResource)(this.http, this.config.pageSize);
376
- this.purchaseApprovals = new (0, _chunkWYKGD5UDcjs.PurchaseApprovalsResource)(this.http, this.config.pageSize);
377
- this.purchaseOrderItemReceiving = new (0, _chunkWYKGD5UDcjs.PurchaseOrderItemReceivingResource)(this.http, this.config.pageSize);
378
- this.purchaseOrderItems = new (0, _chunkWYKGD5UDcjs.PurchaseOrderItemsResource)(this.http, this.config.pageSize);
379
- this.purchaseOrders = new (0, _chunkWYKGD5UDcjs.PurchaseOrdersResource)(this.http, this.config.pageSize);
380
- this.quoteItems = new (0, _chunkWYKGD5UDcjs.QuoteItemsResource)(this.http, this.config.pageSize);
381
- this.quoteLocations = new (0, _chunkWYKGD5UDcjs.QuoteLocationsResource)(this.http, this.config.pageSize);
382
- this.quotes = new (0, _chunkWYKGD5UDcjs.QuotesResource)(this.http, this.config.pageSize);
383
- this.quoteTemplates = new (0, _chunkWYKGD5UDcjs.QuoteTemplatesResource)(this.http, this.config.pageSize);
384
- this.resourceRoleQueues = new (0, _chunkWYKGD5UDcjs.ResourceRoleQueuesResource)(this.http, this.config.pageSize);
385
- this.resourceRoles = new (0, _chunkWYKGD5UDcjs.ResourceRolesResource)(this.http, this.config.pageSize);
386
- this.resourceSkills = new (0, _chunkWYKGD5UDcjs.ResourceSkillsResource)(this.http, this.config.pageSize);
387
- this.resources = new (0, _chunkWYKGD5UDcjs.ResourcesResource)(this.http, this.config, this.config.pageSize);
388
- this.resourceTimeOffAdditional = new (0, _chunkWYKGD5UDcjs.ResourceTimeOffAdditionalResource)(this.http, this.config.pageSize);
389
- this.resourceTimeOffApprovers = new (0, _chunkWYKGD5UDcjs.ResourceTimeOffApproversResource)(this.http, this.config.pageSize);
390
- this.resourceTimeOffBalances = new (0, _chunkWYKGD5UDcjs.ResourceTimeOffBalancesResource)(this.http, this.config.pageSize);
391
- this.roles = new (0, _chunkWYKGD5UDcjs.RolesResource)(this.http, this.config.pageSize);
392
- this.salesOrders = new (0, _chunkWYKGD5UDcjs.SalesOrdersResource)(this.http, this.config.pageSize);
393
- this.serviceCalls = new (0, _chunkWYKGD5UDcjs.ServiceCallsResource)(this.http, this.config.pageSize);
394
- this.serviceCallTaskResources = new (0, _chunkWYKGD5UDcjs.ServiceCallTaskResourcesResource)(this.http, this.config.pageSize);
395
- this.serviceCallTasks = new (0, _chunkWYKGD5UDcjs.ServiceCallTasksResource)(this.http, this.config.pageSize);
396
- this.serviceCallTicketResources = new (0, _chunkWYKGD5UDcjs.ServiceCallTicketResourcesResource)(this.http, this.config.pageSize);
397
- this.serviceCallTickets = new (0, _chunkWYKGD5UDcjs.ServiceCallTicketsResource)(this.http, this.config.pageSize);
398
- this.serviceLevelAgreementResults = new (0, _chunkWYKGD5UDcjs.ServiceLevelAgreementResultsResource)(this.http, this.config.pageSize);
399
- this.services = new (0, _chunkWYKGD5UDcjs.ServicesResource)(this.http, this.config.pageSize);
400
- this.skills = new (0, _chunkWYKGD5UDcjs.SkillsResource)(this.http, this.config.pageSize);
401
- this.subscriptionPeriods = new (0, _chunkWYKGD5UDcjs.SubscriptionPeriodsResource)(this.http, this.config.pageSize);
402
- this.subscriptions = new (0, _chunkWYKGD5UDcjs.SubscriptionsResource)(this.http, this.config.pageSize);
403
- this.surveyResults = new (0, _chunkWYKGD5UDcjs.SurveyResultsResource)(this.http, this.config.pageSize);
404
- this.surveys = new (0, _chunkWYKGD5UDcjs.SurveysResource)(this.http, this.config.pageSize);
405
- this.tagAliases = new (0, _chunkWYKGD5UDcjs.TagAliasesResource)(this.http, this.config.pageSize);
406
- this.tagGroups = new (0, _chunkWYKGD5UDcjs.TagGroupsResource)(this.http, this.config.pageSize);
407
- this.tags = new (0, _chunkWYKGD5UDcjs.TagsResource)(this.http, this.config.pageSize);
408
- this.taskSecondaryResources = new (0, _chunkWYKGD5UDcjs.TaskSecondaryResourcesResource)(this.http, this.config.pageSize);
409
- this.tasks = new (0, _chunkWYKGD5UDcjs.TasksResource)(this.http, this.config.pageSize);
410
- this.taxRegions = new (0, _chunkWYKGD5UDcjs.TaxRegionsResource)(this.http, this.config.pageSize);
411
- this.thresholdInformation = new (0, _chunkWYKGD5UDcjs.ThresholdInformationResource)(this.http);
412
- this.ticketAdditionalConfigurationItems = new (0, _chunkWYKGD5UDcjs.TicketAdditionalConfigurationItemsResource)(this.http, this.config.pageSize);
413
- this.ticketAdditionalContacts = new (0, _chunkWYKGD5UDcjs.TicketAdditionalContactsResource)(this.http, this.config.pageSize);
414
- this.ticketAttachments = new (0, _chunkWYKGD5UDcjs.TicketAttachmentsResource)(this.http, this.config.pageSize);
415
- this.ticketCategories = new (0, _chunkWYKGD5UDcjs.TicketCategoriesResource)(this.http, this.config.pageSize);
416
- this.ticketCategoryFieldDefaults = new (0, _chunkWYKGD5UDcjs.TicketCategoryFieldDefaultsResource)(this.http, this.config.pageSize);
417
- this.ticketChangeRequestApprovals = new (0, _chunkWYKGD5UDcjs.TicketChangeRequestApprovalsResource)(this.http, this.config.pageSize);
418
- this.ticketCharges = new (0, _chunkWYKGD5UDcjs.TicketChargesResource)(this.http, this.config.pageSize);
419
- this.ticketChecklistItems = new (0, _chunkWYKGD5UDcjs.TicketChecklistItemsResource)(this.http, this.config.pageSize);
420
- this.ticketChecklistLibraries = new (0, _chunkWYKGD5UDcjs.TicketChecklistLibrariesResource)(this.http, this.config.pageSize);
421
- this.ticketHistory = new (0, _chunkWYKGD5UDcjs.TicketHistoryResource)(this.http, this.config.pageSize);
422
- this.ticketNoteAttachments = new (0, _chunkWYKGD5UDcjs.TicketNoteAttachmentsResource)(this.http, this.config.pageSize);
423
- this.ticketNotes = new (0, _chunkWYKGD5UDcjs.TicketNotesResource)(this.http, this.config.pageSize);
424
- this.ticketNoteWebhooks = new (0, _chunkWYKGD5UDcjs.TicketNoteWebhooksResource)(this.http, this.config.pageSize);
425
- this.ticketSecondaryResources = new (0, _chunkWYKGD5UDcjs.TicketSecondaryResourcesResource)(this.http, this.config.pageSize);
426
- this.tickets = new (0, _chunkWYKGD5UDcjs.TicketsResource)(this.http, this.config.pageSize);
427
- this.ticketWebhooks = new (0, _chunkWYKGD5UDcjs.TicketWebhooksResource)(this.http, this.config.pageSize);
428
- this.timeEntries = new (0, _chunkWYKGD5UDcjs.TimeEntriesResource)(this.http, this.config.pageSize);
429
- this.timeEntryAttachments = new (0, _chunkWYKGD5UDcjs.TimeEntryAttachmentsResource)(this.http, this.config.pageSize);
430
- this.timeOffRequests = new (0, _chunkWYKGD5UDcjs.TimeOffRequestsResource)(this.http, this.config.pageSize);
431
- this.versionInformation = new (0, _chunkWYKGD5UDcjs.VersionInformationResource)(this.http);
432
- this.version = new (0, _chunkWYKGD5UDcjs.VersionResource)(this.http);
433
- this.zoneInformation = new (0, _chunkWYKGD5UDcjs.ZoneInformationResource)(this.http);
298
+ this.appointments = new (0, _chunkRS7QMPROcjs.AppointmentsResource)(this.http, this.config.pageSize);
299
+ this.authenticateResource = new (0, _chunkRS7QMPROcjs.AuthenticateResource)(this.http);
300
+ this.billingCodes = new (0, _chunkRS7QMPROcjs.BillingCodesResource)(this.http, this.config.pageSize);
301
+ this.billingItemApprovalLevels = new (0, _chunkRS7QMPROcjs.BillingItemApprovalLevelsResource)(this.http, this.config.pageSize);
302
+ this.billingItems = new (0, _chunkRS7QMPROcjs.BillingItemsResource)(this.http, this.config.pageSize);
303
+ this.changeRequestLinks = new (0, _chunkRS7QMPROcjs.ChangeRequestLinksResource)(this.http, this.config.pageSize);
304
+ this.checklistLibraries = new (0, _chunkRS7QMPROcjs.ChecklistLibrariesResource)(this.http, this.config.pageSize);
305
+ this.checklistLibraryChecklistItems = new (0, _chunkRS7QMPROcjs.ChecklistLibraryChecklistItemsResource)(this.http, this.config.pageSize);
306
+ this.classificationIcons = new (0, _chunkRS7QMPROcjs.ClassificationIconsResource)(this.http, this.config.pageSize);
307
+ this.companies = new (0, _chunkRS7QMPROcjs.CompaniesResource)(this.http, this.config.pageSize);
308
+ this.companyAlerts = new (0, _chunkRS7QMPROcjs.CompanyAlertsResource)(this.http, this.config.pageSize);
309
+ this.companyLocations = new (0, _chunkRS7QMPROcjs.CompanyLocationsResource)(this.http, this.config.pageSize);
310
+ this.companyNotes = new (0, _chunkRS7QMPROcjs.CompanyNotesResource)(this.http, this.config.pageSize);
311
+ this.companySiteConfigurations = new (0, _chunkRS7QMPROcjs.CompanySiteConfigurationsResource)(this.http, this.config.pageSize);
312
+ this.companyWebhooks = new (0, _chunkRS7QMPROcjs.CompanyWebhooksResource)(this.http, this.config.pageSize);
313
+ this.configurationItemBillingProductAssociations = new (0, _chunkRS7QMPROcjs.ConfigurationItemBillingProductAssociationsResource)(this.http, this.config.pageSize);
314
+ this.configurationItemCategories = new (0, _chunkRS7QMPROcjs.ConfigurationItemCategoriesResource)(this.http, this.config.pageSize);
315
+ this.configurationItemCategoryUdfAssociations = new (0, _chunkRS7QMPROcjs.ConfigurationItemCategoryUdfAssociationsResource)(this.http, this.config.pageSize);
316
+ this.configurationItemDnsRecords = new (0, _chunkRS7QMPROcjs.ConfigurationItemDnsRecordsResource)(this.http, this.config.pageSize);
317
+ this.configurationItemNotes = new (0, _chunkRS7QMPROcjs.ConfigurationItemNotesResource)(this.http, this.config.pageSize);
318
+ this.configurationItemRelatedItems = new (0, _chunkRS7QMPROcjs.ConfigurationItemRelatedItemsResource)(this.http, this.config.pageSize);
319
+ this.configurationItems = new (0, _chunkRS7QMPROcjs.ConfigurationItemsResource)(this.http, this.config.pageSize);
320
+ this.configurationItemSslSubjectAlternativeNames = new (0, _chunkRS7QMPROcjs.ConfigurationItemSslSubjectAlternativeNamesResource)(this.http, this.config.pageSize);
321
+ this.configurationItemTypes = new (0, _chunkRS7QMPROcjs.ConfigurationItemTypesResource)(this.http, this.config.pageSize);
322
+ this.configurationItemWebhooks = new (0, _chunkRS7QMPROcjs.ConfigurationItemWebhooksResource)(this.http, this.config.pageSize);
323
+ this.contactGroupContacts = new (0, _chunkRS7QMPROcjs.ContactGroupContactsResource)(this.http, this.config.pageSize);
324
+ this.contactGroups = new (0, _chunkRS7QMPROcjs.ContactGroupsResource)(this.http, this.config.pageSize);
325
+ this.contacts = new (0, _chunkRS7QMPROcjs.ContactsResource)(this.http, this.config.pageSize);
326
+ this.contactWebhooks = new (0, _chunkRS7QMPROcjs.ContactWebhooksResource)(this.http, this.config.pageSize);
327
+ this.contractBillingRules = new (0, _chunkRS7QMPROcjs.ContractBillingRulesResource)(this.http, this.config.pageSize);
328
+ this.contractBlockHourFactors = new (0, _chunkRS7QMPROcjs.ContractBlockHourFactorsResource)(this.http, this.config.pageSize);
329
+ this.contractBlocks = new (0, _chunkRS7QMPROcjs.ContractBlocksResource)(this.http, this.config.pageSize);
330
+ this.contractCharges = new (0, _chunkRS7QMPROcjs.ContractChargesResource)(this.http, this.config.pageSize);
331
+ this.contractExclusionBillingCodes = new (0, _chunkRS7QMPROcjs.ContractExclusionBillingCodesResource)(this.http, this.config.pageSize);
332
+ this.contractExclusionRoles = new (0, _chunkRS7QMPROcjs.ContractExclusionRolesResource)(this.http, this.config.pageSize);
333
+ this.contractExclusionSetExcludedRoles = new (0, _chunkRS7QMPROcjs.ContractExclusionSetExcludedRolesResource)(this.http, this.config.pageSize);
334
+ this.contractExclusionSetExcludedWorkTypes = new (0, _chunkRS7QMPROcjs.ContractExclusionSetExcludedWorkTypesResource)(this.http, this.config.pageSize);
335
+ this.contractExclusionSets = new (0, _chunkRS7QMPROcjs.ContractExclusionSetsResource)(this.http, this.config.pageSize);
336
+ this.contractMilestones = new (0, _chunkRS7QMPROcjs.ContractMilestonesResource)(this.http, this.config.pageSize);
337
+ this.contractNotes = new (0, _chunkRS7QMPROcjs.ContractNotesResource)(this.http, this.config.pageSize);
338
+ this.contractRates = new (0, _chunkRS7QMPROcjs.ContractRatesResource)(this.http, this.config.pageSize);
339
+ this.contractRetainers = new (0, _chunkRS7QMPROcjs.ContractRetainersResource)(this.http, this.config.pageSize);
340
+ this.contractRoleCosts = new (0, _chunkRS7QMPROcjs.ContractRoleCostsResource)(this.http, this.config.pageSize);
341
+ this.contractServiceAdjustments = new (0, _chunkRS7QMPROcjs.ContractServiceAdjustmentsResource)(this.http, this.config.pageSize);
342
+ this.contractServiceBundleAdjustments = new (0, _chunkRS7QMPROcjs.ContractServiceBundleAdjustmentsResource)(this.http, this.config.pageSize);
343
+ this.contractServiceBundles = new (0, _chunkRS7QMPROcjs.ContractServiceBundlesResource)(this.http, this.config.pageSize);
344
+ this.contractServiceBundleUnits = new (0, _chunkRS7QMPROcjs.ContractServiceBundleUnitsResource)(this.http, this.config.pageSize);
345
+ this.contractServices = new (0, _chunkRS7QMPROcjs.ContractServicesResource)(this.http, this.config.pageSize);
346
+ this.contractServiceUnits = new (0, _chunkRS7QMPROcjs.ContractServiceUnitsResource)(this.http, this.config.pageSize);
347
+ this.contracts = new (0, _chunkRS7QMPROcjs.ContractsResource)(this.http, this.config.pageSize);
348
+ this.contractTicketPurchases = new (0, _chunkRS7QMPROcjs.ContractTicketPurchasesResource)(this.http, this.config.pageSize);
349
+ this.countries = new (0, _chunkRS7QMPROcjs.CountriesResource)(this.http, this.config.pageSize);
350
+ this.currencies = new (0, _chunkRS7QMPROcjs.CurrenciesResource)(this.http, this.config.pageSize);
351
+ this.departments = new (0, _chunkRS7QMPROcjs.DepartmentsResource)(this.http, this.config.pageSize);
352
+ this.domainRegistrars = new (0, _chunkRS7QMPROcjs.DomainRegistrarsResource)(this.http, this.config.pageSize);
353
+ this.entityInformation = new (0, _chunkRS7QMPROcjs.EntityInformationResource)(this.http);
354
+ this.expenseItemAttachments = new (0, _chunkRS7QMPROcjs.ExpenseItemAttachmentsResource)(this.http, this.config.pageSize);
355
+ this.expenseItems = new (0, _chunkRS7QMPROcjs.ExpenseItemsResource)(this.http, this.config.pageSize);
356
+ this.expenseReports = new (0, _chunkRS7QMPROcjs.ExpenseReportsResource)(this.http, this.config.pageSize);
357
+ this.holidaySets = new (0, _chunkRS7QMPROcjs.HolidaySetsResource)(this.http, this.config.pageSize);
358
+ this.holidays = new (0, _chunkRS7QMPROcjs.HolidaysResource)(this.http, this.config.pageSize);
359
+ this.inventoryProducts = new (0, _chunkRS7QMPROcjs.InventoryProductsResource)(this.http, this.config.pageSize);
360
+ this.invoices = new (0, _chunkRS7QMPROcjs.InvoicesResource)(this.http, this.config.pageSize);
361
+ this.invoiceTemplates = new (0, _chunkRS7QMPROcjs.InvoiceTemplatesResource)(this.http, this.config.pageSize);
362
+ this.modules = new (0, _chunkRS7QMPROcjs.ModulesResource)(this.http);
363
+ this.notificationHistory = new (0, _chunkRS7QMPROcjs.NotificationHistoryResource)(this.http, this.config.pageSize);
364
+ this.opportunities = new (0, _chunkRS7QMPROcjs.OpportunitiesResource)(this.http, this.config.pageSize);
365
+ this.opportunityAttachments = new (0, _chunkRS7QMPROcjs.OpportunityAttachmentsResource)(this.http, this.config.pageSize);
366
+ this.opportunityCategories = new (0, _chunkRS7QMPROcjs.OpportunityCategoriesResource)(this.http, this.config.pageSize);
367
+ this.organizationalLevel1s = new (0, _chunkRS7QMPROcjs.OrganizationalLevel1sResource)(this.http, this.config.pageSize);
368
+ this.organizationalLevel2s = new (0, _chunkRS7QMPROcjs.OrganizationalLevel2sResource)(this.http, this.config.pageSize);
369
+ this.organizationalLevelAssociations = new (0, _chunkRS7QMPROcjs.OrganizationalLevelAssociationsResource)(this.http, this.config.pageSize);
370
+ this.phases = new (0, _chunkRS7QMPROcjs.PhasesResource)(this.http, this.config.pageSize);
371
+ this.products = new (0, _chunkRS7QMPROcjs.ProductsResource)(this.http, this.config.pageSize);
372
+ this.productVendors = new (0, _chunkRS7QMPROcjs.ProductVendorsResource)(this.http, this.config.pageSize);
373
+ this.projectCharges = new (0, _chunkRS7QMPROcjs.ProjectChargesResource)(this.http, this.config.pageSize);
374
+ this.projectNotes = new (0, _chunkRS7QMPROcjs.ProjectNotesResource)(this.http, this.config.pageSize);
375
+ this.projects = new (0, _chunkRS7QMPROcjs.ProjectsResource)(this.http, this.config.pageSize);
376
+ this.purchaseApprovals = new (0, _chunkRS7QMPROcjs.PurchaseApprovalsResource)(this.http, this.config.pageSize);
377
+ this.purchaseOrderItemReceiving = new (0, _chunkRS7QMPROcjs.PurchaseOrderItemReceivingResource)(this.http, this.config.pageSize);
378
+ this.purchaseOrderItems = new (0, _chunkRS7QMPROcjs.PurchaseOrderItemsResource)(this.http, this.config.pageSize);
379
+ this.purchaseOrders = new (0, _chunkRS7QMPROcjs.PurchaseOrdersResource)(this.http, this.config.pageSize);
380
+ this.quoteItems = new (0, _chunkRS7QMPROcjs.QuoteItemsResource)(this.http, this.config.pageSize);
381
+ this.quoteLocations = new (0, _chunkRS7QMPROcjs.QuoteLocationsResource)(this.http, this.config.pageSize);
382
+ this.quotes = new (0, _chunkRS7QMPROcjs.QuotesResource)(this.http, this.config.pageSize);
383
+ this.quoteTemplates = new (0, _chunkRS7QMPROcjs.QuoteTemplatesResource)(this.http, this.config.pageSize);
384
+ this.resourceRoleQueues = new (0, _chunkRS7QMPROcjs.ResourceRoleQueuesResource)(this.http, this.config.pageSize);
385
+ this.resourceRoles = new (0, _chunkRS7QMPROcjs.ResourceRolesResource)(this.http, this.config.pageSize);
386
+ this.resourceSkills = new (0, _chunkRS7QMPROcjs.ResourceSkillsResource)(this.http, this.config.pageSize);
387
+ this.resources = new (0, _chunkRS7QMPROcjs.ResourcesResource)(this.http, this.config, this.config.pageSize);
388
+ this.resourceTimeOffAdditional = new (0, _chunkRS7QMPROcjs.ResourceTimeOffAdditionalResource)(this.http, this.config.pageSize);
389
+ this.resourceTimeOffApprovers = new (0, _chunkRS7QMPROcjs.ResourceTimeOffApproversResource)(this.http, this.config.pageSize);
390
+ this.resourceTimeOffBalances = new (0, _chunkRS7QMPROcjs.ResourceTimeOffBalancesResource)(this.http, this.config.pageSize);
391
+ this.roles = new (0, _chunkRS7QMPROcjs.RolesResource)(this.http, this.config.pageSize);
392
+ this.salesOrders = new (0, _chunkRS7QMPROcjs.SalesOrdersResource)(this.http, this.config.pageSize);
393
+ this.serviceCalls = new (0, _chunkRS7QMPROcjs.ServiceCallsResource)(this.http, this.config.pageSize);
394
+ this.serviceCallTaskResources = new (0, _chunkRS7QMPROcjs.ServiceCallTaskResourcesResource)(this.http, this.config.pageSize);
395
+ this.serviceCallTasks = new (0, _chunkRS7QMPROcjs.ServiceCallTasksResource)(this.http, this.config.pageSize);
396
+ this.serviceCallTicketResources = new (0, _chunkRS7QMPROcjs.ServiceCallTicketResourcesResource)(this.http, this.config.pageSize);
397
+ this.serviceCallTickets = new (0, _chunkRS7QMPROcjs.ServiceCallTicketsResource)(this.http, this.config.pageSize);
398
+ this.serviceLevelAgreementResults = new (0, _chunkRS7QMPROcjs.ServiceLevelAgreementResultsResource)(this.http, this.config.pageSize);
399
+ this.services = new (0, _chunkRS7QMPROcjs.ServicesResource)(this.http, this.config.pageSize);
400
+ this.skills = new (0, _chunkRS7QMPROcjs.SkillsResource)(this.http, this.config.pageSize);
401
+ this.subscriptionPeriods = new (0, _chunkRS7QMPROcjs.SubscriptionPeriodsResource)(this.http, this.config.pageSize);
402
+ this.subscriptions = new (0, _chunkRS7QMPROcjs.SubscriptionsResource)(this.http, this.config.pageSize);
403
+ this.surveyResults = new (0, _chunkRS7QMPROcjs.SurveyResultsResource)(this.http, this.config.pageSize);
404
+ this.surveys = new (0, _chunkRS7QMPROcjs.SurveysResource)(this.http, this.config.pageSize);
405
+ this.tagAliases = new (0, _chunkRS7QMPROcjs.TagAliasesResource)(this.http, this.config.pageSize);
406
+ this.tagGroups = new (0, _chunkRS7QMPROcjs.TagGroupsResource)(this.http, this.config.pageSize);
407
+ this.tags = new (0, _chunkRS7QMPROcjs.TagsResource)(this.http, this.config.pageSize);
408
+ this.taskSecondaryResources = new (0, _chunkRS7QMPROcjs.TaskSecondaryResourcesResource)(this.http, this.config.pageSize);
409
+ this.tasks = new (0, _chunkRS7QMPROcjs.TasksResource)(this.http, this.config.pageSize);
410
+ this.taxRegions = new (0, _chunkRS7QMPROcjs.TaxRegionsResource)(this.http, this.config.pageSize);
411
+ this.thresholdInformation = new (0, _chunkRS7QMPROcjs.ThresholdInformationResource)(this.http);
412
+ this.ticketAdditionalConfigurationItems = new (0, _chunkRS7QMPROcjs.TicketAdditionalConfigurationItemsResource)(this.http, this.config.pageSize);
413
+ this.ticketAdditionalContacts = new (0, _chunkRS7QMPROcjs.TicketAdditionalContactsResource)(this.http, this.config.pageSize);
414
+ this.ticketAttachments = new (0, _chunkRS7QMPROcjs.TicketAttachmentsResource)(this.http, this.config.pageSize);
415
+ this.ticketCategories = new (0, _chunkRS7QMPROcjs.TicketCategoriesResource)(this.http, this.config.pageSize);
416
+ this.ticketCategoryFieldDefaults = new (0, _chunkRS7QMPROcjs.TicketCategoryFieldDefaultsResource)(this.http, this.config.pageSize);
417
+ this.ticketChangeRequestApprovals = new (0, _chunkRS7QMPROcjs.TicketChangeRequestApprovalsResource)(this.http, this.config.pageSize);
418
+ this.ticketCharges = new (0, _chunkRS7QMPROcjs.TicketChargesResource)(this.http, this.config.pageSize);
419
+ this.ticketChecklistItems = new (0, _chunkRS7QMPROcjs.TicketChecklistItemsResource)(this.http, this.config.pageSize);
420
+ this.ticketChecklistLibraries = new (0, _chunkRS7QMPROcjs.TicketChecklistLibrariesResource)(this.http, this.config.pageSize);
421
+ this.ticketHistory = new (0, _chunkRS7QMPROcjs.TicketHistoryResource)(this.http, this.config.pageSize);
422
+ this.ticketNoteAttachments = new (0, _chunkRS7QMPROcjs.TicketNoteAttachmentsResource)(this.http, this.config.pageSize);
423
+ this.ticketNotes = new (0, _chunkRS7QMPROcjs.TicketNotesResource)(this.http, this.config.pageSize);
424
+ this.ticketNoteWebhooks = new (0, _chunkRS7QMPROcjs.TicketNoteWebhooksResource)(this.http, this.config.pageSize);
425
+ this.ticketSecondaryResources = new (0, _chunkRS7QMPROcjs.TicketSecondaryResourcesResource)(this.http, this.config.pageSize);
426
+ this.tickets = new (0, _chunkRS7QMPROcjs.TicketsResource)(this.http, this.config.pageSize);
427
+ this.ticketWebhooks = new (0, _chunkRS7QMPROcjs.TicketWebhooksResource)(this.http, this.config.pageSize);
428
+ this.timeEntries = new (0, _chunkRS7QMPROcjs.TimeEntriesResource)(this.http, this.config.pageSize);
429
+ this.timeEntryAttachments = new (0, _chunkRS7QMPROcjs.TimeEntryAttachmentsResource)(this.http, this.config.pageSize);
430
+ this.timeOffRequests = new (0, _chunkRS7QMPROcjs.TimeOffRequestsResource)(this.http, this.config.pageSize);
431
+ this.versionInformation = new (0, _chunkRS7QMPROcjs.VersionInformationResource)(this.http);
432
+ this.version = new (0, _chunkRS7QMPROcjs.VersionResource)(this.http);
433
+ this.zoneInformation = new (0, _chunkRS7QMPROcjs.ZoneInformationResource)(this.http);
434
434
  }
435
435
  /**
436
436
  * `GET /V1.0/Authenticate` → `AuthTokenResultModel` (as-is). The SDK does
@@ -464,12 +464,12 @@ var AutotaskClient = class {
464
464
  * parameter on each: `await client.withSignal(signal, () => invoke(client, ...))`.
465
465
  */
466
466
  withSignal(signal, fn) {
467
- return _chunkD5IVS6GYcjs.runWithSignal.call(void 0, signal, fn);
467
+ return _chunkLLIB4JGKcjs.runWithSignal.call(void 0, signal, fn);
468
468
  }
469
469
  async batch(fn, items, opts = {}) {
470
470
  const concurrency = _nullishCoalesce(opts.concurrency, () => ( this.config.maxConcurrent));
471
471
  if (!Number.isInteger(concurrency) || concurrency <= 0) {
472
- throw new (0, _chunkD5IVS6GYcjs.AutotaskConfigError)("batch concurrency must be a positive integer");
472
+ throw new (0, _chunkLLIB4JGKcjs.AutotaskConfigError)("batch concurrency must be a positive integer");
473
473
  }
474
474
  const { signal, settle } = opts;
475
475
  const results = new Array(items.length);
@@ -484,7 +484,7 @@ var AutotaskClient = class {
484
484
  const i = next++;
485
485
  try {
486
486
  const item = items[i];
487
- const value = await (signal === void 0 ? fn(item) : _chunkD5IVS6GYcjs.runWithSignal.call(void 0, signal, () => fn(item)));
487
+ const value = await (signal === void 0 ? fn(item) : _chunkLLIB4JGKcjs.runWithSignal.call(void 0, signal, () => fn(item)));
488
488
  results[i] = settle ? { status: "fulfilled", value } : value;
489
489
  } catch (error) {
490
490
  if (settle) results[i] = { status: "rejected", reason: error };
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2; var _class3; var _class4; var _class5; var _class6; var _class7; var _class8;
2
2
 
3
- var _chunkZEGMVEF3cjs = require('./chunk-ZEGMVEF3.cjs');
3
+ var _chunkEDVSWL32cjs = require('./chunk-EDVSWL32.cjs');
4
4
 
5
5
  // src/auth.ts
6
6
  var AUTH_HEADERS = {
@@ -17031,7 +17031,7 @@ function buildEntityTypeMap() {
17031
17031
  }
17032
17032
  var ENTITY_TYPE_TO_RESOURCE = buildEntityTypeMap();
17033
17033
  var ENUMERABLE_RESOURCES = new Set(
17034
- _chunkZEGMVEF3cjs.CAPABILITIES.filter((rec) => rec.resource !== "operations" && (rec.operation === "query" || rec.operation === "get")).map(
17034
+ _chunkEDVSWL32cjs.CAPABILITIES.filter((rec) => rec.resource !== "operations" && (rec.operation === "query" || rec.operation === "get")).map(
17035
17035
  (rec) => rec.resource
17036
17036
  )
17037
17037
  );
@@ -17108,7 +17108,7 @@ function capabilitySets() {
17108
17108
  const fieldOps = /* @__PURE__ */ new Map();
17109
17109
  const udfOps = /* @__PURE__ */ new Map();
17110
17110
  const resources = /* @__PURE__ */ new Set();
17111
- for (const rec of _chunkZEGMVEF3cjs.CAPABILITIES) {
17111
+ for (const rec of _chunkEDVSWL32cjs.CAPABILITIES) {
17112
17112
  if (rec.resource === "operations") continue;
17113
17113
  resources.add(rec.resource);
17114
17114
  if (rec.operation === "getFieldInfo") fieldOps.set(rec.resource, rec);
@@ -17120,7 +17120,7 @@ var derivedIndex = null;
17120
17120
  function derivedFieldsFor(resource) {
17121
17121
  if (derivedIndex === null) {
17122
17122
  derivedIndex = /* @__PURE__ */ new Map();
17123
- for (const rec of _chunkZEGMVEF3cjs.CAPABILITIES) {
17123
+ for (const rec of _chunkEDVSWL32cjs.CAPABILITIES) {
17124
17124
  const declared = _optionalChain([rec, 'access', _127 => _127.metadata, 'optionalAccess', _128 => _128.derivedFields]);
17125
17125
  if (!Array.isArray(declared) || derivedIndex.has(rec.resource)) continue;
17126
17126
  const rows = [];
@@ -17390,8 +17390,18 @@ function createNamePlan(labelFields = []) {
17390
17390
  const resSeen = /* @__PURE__ */ new Set();
17391
17391
  const recordFks = [];
17392
17392
  const fkSeen = /* @__PURE__ */ new Set();
17393
+ let lineOfBusinessId;
17394
+ let lineOfBusinessSource;
17395
+ let lineOfBusinessContractId;
17393
17396
  return {
17394
- plan: () => ({ resourceIds, recordFks, labelFields }),
17397
+ plan: () => ({
17398
+ resourceIds,
17399
+ recordFks,
17400
+ labelFields,
17401
+ ...lineOfBusinessId !== void 0 ? { lineOfBusinessId } : {},
17402
+ ...lineOfBusinessSource !== void 0 ? { lineOfBusinessSource } : {},
17403
+ ...lineOfBusinessContractId !== void 0 ? { lineOfBusinessContractId } : {}
17404
+ }),
17395
17405
  addResource: (value) => {
17396
17406
  if (!isVendorId(value)) return;
17397
17407
  const k = String(value);
@@ -17407,6 +17417,18 @@ function createNamePlan(labelFields = []) {
17407
17417
  fkSeen.add(k);
17408
17418
  recordFks.push({ table, id: value });
17409
17419
  }
17420
+ },
17421
+ addLineOfBusinessFromContract: (value) => {
17422
+ if (!isVendorId(value)) return;
17423
+ lineOfBusinessContractId = value;
17424
+ },
17425
+ addLineOfBusiness: (value, origin) => {
17426
+ if (!isVendorId(value)) return;
17427
+ lineOfBusinessId = value;
17428
+ if (origin !== void 0) {
17429
+ lineOfBusinessSource = origin.source;
17430
+ if (origin.contractId !== void 0) lineOfBusinessContractId = origin.contractId;
17431
+ }
17410
17432
  }
17411
17433
  };
17412
17434
  }
@@ -17438,6 +17460,82 @@ function faultRow(err) {
17438
17460
  const e = err;
17439
17461
  return e.httpStatus !== void 0 ? { code: e.code, message: e.message, httpStatus: e.httpStatus } : { code: e.code, message: e.message };
17440
17462
  }
17463
+ function vendorId(value) {
17464
+ if (typeof value === "number") return Number.isSafeInteger(value) && value >= 1 ? value : void 0;
17465
+ if (typeof value === "string" && /^[0-9]+$/.test(value.trim())) {
17466
+ const n = Number(value.trim());
17467
+ return Number.isSafeInteger(n) && n >= 1 ? n : void 0;
17468
+ }
17469
+ return void 0;
17470
+ }
17471
+ async function resolveLineOfBusinessChain(http, associationId, options) {
17472
+ const operation = _nullishCoalesce(options.operation, () => ( "compositeNames"));
17473
+ const degrade = options.onError === "degrade";
17474
+ const get = (path) => {
17475
+ const res = http.request({ method: "GET", path, operation }).then((body) => {
17476
+ const b = body;
17477
+ if (b === null || !("item" in b) || b.item === null || b.item === void 0) return null;
17478
+ return b.item;
17479
+ });
17480
+ if (!degrade) {
17481
+ return res.catch((e) => {
17482
+ if (e instanceof NotFoundError) return null;
17483
+ throw e;
17484
+ });
17485
+ }
17486
+ return res.catch((e) => {
17487
+ if (e instanceof NotFoundError || isAutotaskError(e) && e.code !== "ABORTED") return null;
17488
+ throw e;
17489
+ });
17490
+ };
17491
+ let remaining = options.budget;
17492
+ if (remaining < 1) {
17493
+ return {
17494
+ lineOfBusiness: { association: null, organizationalLevel2: null, organizationalLevel1: null, markers: { association: "capped", organizationalLevel2: "capped", organizationalLevel1: "capped" } },
17495
+ used: 0,
17496
+ truncated: true
17497
+ };
17498
+ }
17499
+ remaining -= 1;
17500
+ const association = await get(`/V1.0/OrganizationalLevelAssociations/${associationId}`);
17501
+ const associationMarker = association === null ? "unresolved" : "ok";
17502
+ if (association === null) {
17503
+ return {
17504
+ lineOfBusiness: { association: null, organizationalLevel2: null, organizationalLevel1: null, markers: { association: associationMarker, organizationalLevel2: "missing", organizationalLevel1: "missing" } },
17505
+ used: 1,
17506
+ truncated: false
17507
+ };
17508
+ }
17509
+ const l2Id = vendorId(association.organizationalLevel2ID);
17510
+ const l1Id = vendorId(association.organizationalLevel1ID);
17511
+ let l2Marker = l2Id !== void 0 ? "unresolved" : "missing";
17512
+ let l1Marker = l1Id !== void 0 ? "unresolved" : "missing";
17513
+ const need = (l2Id !== void 0 ? 1 : 0) + (l1Id !== void 0 ? 1 : 0);
17514
+ let l2 = null;
17515
+ let l1 = null;
17516
+ let used = 1;
17517
+ let truncated = false;
17518
+ if (need > 0 && remaining < need) {
17519
+ truncated = true;
17520
+ if (l2Id !== void 0) l2Marker = "capped";
17521
+ if (l1Id !== void 0) l1Marker = "capped";
17522
+ } else {
17523
+ used += need;
17524
+ const [r2, r1] = await Promise.all([
17525
+ l2Id !== void 0 ? get(`/V1.0/OrganizationalLevel2s/${l2Id}`) : Promise.resolve(null),
17526
+ l1Id !== void 0 ? get(`/V1.0/OrganizationalLevel1s/${l1Id}`) : Promise.resolve(null)
17527
+ ]);
17528
+ l2 = r2;
17529
+ l1 = r1;
17530
+ if (l2Id !== void 0) l2Marker = l2 === null ? "unresolved" : "ok";
17531
+ if (l1Id !== void 0) l1Marker = l1 === null ? "unresolved" : "ok";
17532
+ }
17533
+ return {
17534
+ lineOfBusiness: { association, organizationalLevel2: l2, organizationalLevel1: l1, markers: { association: associationMarker, organizationalLevel2: l2Marker, organizationalLevel1: l1Marker } },
17535
+ used,
17536
+ truncated
17537
+ };
17538
+ }
17441
17539
  async function resolveCompositeNames(http, plan, opts = {}) {
17442
17540
  if (opts.maxNameReads !== void 0 && (!Number.isInteger(opts.maxNameReads) || opts.maxNameReads < 1)) {
17443
17541
  throw new AutotaskConfigError(`composite names: maxNameReads must be an integer >= 1 (got ${String(opts.maxNameReads)})`);
@@ -17451,6 +17549,8 @@ async function resolveCompositeNames(http, plan, opts = {}) {
17451
17549
  const nameCache = http.resourceNameCache;
17452
17550
  const section = { truncated: false, rows: {}, reasons: {} };
17453
17551
  let remaining = budget;
17552
+ let contractLobPointer;
17553
+ let contractLobUnread;
17454
17554
  const coldResource = [];
17455
17555
  for (const id of plan.resourceIds) {
17456
17556
  if (nameCache !== void 0 && nameCache.get(id) !== void 0) continue;
@@ -17494,18 +17594,27 @@ async function resolveCompositeNames(http, plan, opts = {}) {
17494
17594
  if (remaining < 1) {
17495
17595
  section.rows[key] = { name: null, blind: false, capped: true };
17496
17596
  section.truncated = true;
17597
+ if (fk.table === "contract" && plan.lineOfBusinessContractId !== void 0 && String(fk.id) === String(plan.lineOfBusinessContractId)) {
17598
+ contractLobUnread = "capped";
17599
+ }
17497
17600
  continue;
17498
17601
  }
17499
17602
  remaining -= 1;
17500
17603
  }
17501
17604
  try {
17502
17605
  const record = await holders[fk.table].get(fk.id);
17606
+ if (fk.table === "contract" && plan.lineOfBusinessId === void 0 && plan.lineOfBusinessContractId !== void 0 && String(fk.id) === String(plan.lineOfBusinessContractId)) {
17607
+ contractLobPointer = vendorId(record["organizationalLevelAssociationID"]);
17608
+ }
17503
17609
  section.rows[key] = { name: fkName(record, fk.table), blind: false, capped: false };
17504
17610
  } catch (err) {
17505
17611
  if (err instanceof NotFoundError) {
17506
17612
  section.rows[key] = { name: null, blind: true, capped: false };
17507
17613
  } else if (isAutotaskError(err) && err.code !== "ABORTED") {
17508
17614
  section.rows[key] = { name: null, blind: false, capped: false, error: faultRow(err) };
17615
+ if (fk.table === "contract" && plan.lineOfBusinessContractId !== void 0 && String(fk.id) === String(plan.lineOfBusinessContractId)) {
17616
+ contractLobUnread = "unresolved";
17617
+ }
17509
17618
  } else {
17510
17619
  throw err;
17511
17620
  }
@@ -17531,8 +17640,31 @@ async function resolveCompositeNames(http, plan, opts = {}) {
17531
17640
  }
17532
17641
  if (!usable) for (const f of plan.labelFields) section.reasons[f] = FIELD_CATALOG_HONESTY_NOTE;
17533
17642
  }
17643
+ let lineOfBusiness = null;
17644
+ const lobId = _nullishCoalesce(plan.lineOfBusinessId, () => ( contractLobPointer));
17645
+ if (lobId !== void 0) {
17646
+ const chain = await resolveLineOfBusinessChain(http, lobId, { budget: remaining, onError: "degrade" });
17647
+ remaining -= chain.used;
17648
+ if (chain.truncated) section.truncated = true;
17649
+ const fromContract = plan.lineOfBusinessId === void 0;
17650
+ lineOfBusiness = {
17651
+ ...chain.lineOfBusiness,
17652
+ ...fromContract ? { source: "contract", contractId: plan.lineOfBusinessContractId } : plan.lineOfBusinessSource !== void 0 ? { source: plan.lineOfBusinessSource } : {},
17653
+ ...!fromContract && plan.lineOfBusinessContractId !== void 0 ? { contractId: plan.lineOfBusinessContractId } : {}
17654
+ };
17655
+ } else if (contractLobUnread !== void 0 && plan.lineOfBusinessContractId !== void 0) {
17656
+ lineOfBusiness = {
17657
+ source: "contract",
17658
+ contractId: plan.lineOfBusinessContractId,
17659
+ association: null,
17660
+ organizationalLevel2: null,
17661
+ organizationalLevel1: null,
17662
+ markers: { association: contractLobUnread, organizationalLevel2: "missing", organizationalLevel1: "missing" }
17663
+ };
17664
+ }
17534
17665
  return {
17535
17666
  section,
17667
+ lineOfBusiness,
17536
17668
  resourceName: (id) => _nullishCoalesce(_optionalChain([section, 'access', _145 => _145.rows, 'access', _146 => _146[`resource:${id}`], 'optionalAccess', _147 => _147.name]), () => ( null)),
17537
17669
  recordName: (table, id) => _nullishCoalesce(_optionalChain([section, 'access', _148 => _148.rows, 'access', _149 => _149[`${table}:${id}`], 'optionalAccess', _150 => _150.name]), () => ( null)),
17538
17670
  labelFor: (field, value) => {
@@ -20307,4 +20439,6 @@ async function validateQueryFieldNames(record, holder, args) {
20307
20439
 
20308
20440
 
20309
20441
 
20310
- exports.AUTH_HEADERS = AUTH_HEADERS; exports.buildAuthHeaders = buildAuthHeaders; exports.withAuthHeaders = withAuthHeaders; exports.AutotaskError = AutotaskError; exports.AutotaskConfigError = AutotaskConfigError; exports.isAutotaskError = isAutotaskError; exports.AutotaskNetworkError = AutotaskNetworkError; exports.AutotaskTimeoutError = AutotaskTimeoutError; exports.AutotaskAbortError = AutotaskAbortError; exports.ResponseRejectedError = ResponseRejectedError; exports.BadRequestError = BadRequestError; exports.UnauthorizedError = UnauthorizedError; exports.ForbiddenError = ForbiddenError; exports.NotFoundError = NotFoundError; exports.ConflictError = ConflictError; exports.UnprocessableEntityError = UnprocessableEntityError; exports.RateLimitError = RateLimitError; exports.ServerError = ServerError; exports.UnexpectedContentTypeError = UnexpectedContentTypeError; exports.EmptyResponseError = EmptyResponseError; exports.CircuitBreakerError = CircuitBreakerError; exports.HostPolicyDeniedError = HostPolicyDeniedError; exports.ResolutionError = ResolutionError; exports.PaginationLimitError = PaginationLimitError; exports.QueryTooLongError = QueryTooLongError; exports.parseVendorErrors = parseVendorErrors; exports.isDeterministicVendor500 = isDeterministicVendor500; exports.formatVendorDetail = formatVendorDetail; exports.NoopLogger = NoopLogger; exports.REDACTED = REDACTED; exports.CREDENTIAL_HEADER_NAMES = CREDENTIAL_HEADER_NAMES; exports.isCredentialHeaderName = isCredentialHeaderName; exports.redactRecord = redactRecord; exports.SECRET_RESPONSE_FIELDS = SECRET_RESPONSE_FIELDS; exports.PERSONAL_RESPONSE_FIELDS = PERSONAL_RESPONSE_FIELDS; exports.CONFIDENTIAL_RESPONSE_FIELDS = CONFIDENTIAL_RESPONSE_FIELDS; exports.isRedactedFieldName = isRedactedFieldName; exports.redactResponseBody = redactResponseBody; exports.CREDENTIAL_SHAPE_POINTER = CREDENTIAL_SHAPE_POINTER; exports.mergeDetails = mergeDetails; exports.errorFromStatus = errorFromStatus; exports.StaleObjectError = StaleObjectError; exports.ConfirmationRequiredError = ConfirmationRequiredError; exports.DeleteBoundaryError = DeleteBoundaryError; exports.MarkerUnsafeIdError = MarkerUnsafeIdError; exports.RecoveryTruncatedError = RecoveryTruncatedError; exports.MoveRefusedError = MoveRefusedError; exports.READ_CACHE_MAX_ENTRIES = READ_CACHE_MAX_ENTRIES; exports.ReadCache = ReadCache; exports.ZONE_CATALOG = ZONE_CATALOG; exports.ZONES = ZONES; exports.DEFAULT_ZONE = DEFAULT_ZONE; exports.zoneUrl = zoneUrl; exports.resolveBaseUrl = resolveBaseUrl; exports.AGENT_PROFILE = AGENT_PROFILE; exports.DEFAULT_PAGE_SIZE = DEFAULT_PAGE_SIZE; exports.MAX_PAGE_SIZE = MAX_PAGE_SIZE; exports.DEFAULT_TIMEOUT_MS = DEFAULT_TIMEOUT_MS; exports.DEFAULT_MAX_RETRIES = DEFAULT_MAX_RETRIES; exports.DEFAULT_MAINTENANCE_MAX_WAIT_MS = DEFAULT_MAINTENANCE_MAX_WAIT_MS; exports.DEFAULT_MAINTENANCE_POLL_MS = DEFAULT_MAINTENANCE_POLL_MS; exports.MAINTENANCE_WINDOW_MAX_MS = MAINTENANCE_WINDOW_MAX_MS; exports.DEFAULT_MAX_CONCURRENT = DEFAULT_MAX_CONCURRENT; exports.DEFAULT_MAX_RESPONSE_BYTES = DEFAULT_MAX_RESPONSE_BYTES; exports.DEFAULT_MAX_SCAN_RECORDS = DEFAULT_MAX_SCAN_RECORDS; exports.DEFAULT_MAX_SCAN_PAGES = DEFAULT_MAX_SCAN_PAGES; exports.DEFAULT_READ_CACHE_TTL_MS = DEFAULT_READ_CACHE_TTL_MS; exports.DEFAULT_FIELD_CACHE_TTL_MS = DEFAULT_FIELD_CACHE_TTL_MS; exports.DEFAULT_RESOURCE_NAME_CACHE_TTL_MS = DEFAULT_RESOURCE_NAME_CACHE_TTL_MS; exports.hasSurroundingQuotes = hasSurroundingQuotes; exports.credentialShapeProblem = credentialShapeProblem; exports.CREDENTIAL_ENV_LOAD_ACTION = CREDENTIAL_ENV_LOAD_ACTION; exports.MIN_PREFIX_SUMMARY_LENGTH = MIN_PREFIX_SUMMARY_LENGTH; exports.credentialValueSummary = credentialValueSummary; exports.FIELD_CACHE_KINDS = FIELD_CACHE_KINDS; exports.DEFAULT_CIRCUIT_BREAKER_WINDOW_MS = DEFAULT_CIRCUIT_BREAKER_WINDOW_MS; exports.DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD = DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD; exports.DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS = DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS; exports.DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE = DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE; exports.DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES = DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES; exports.InMemoryCircuitBreakerStore = InMemoryCircuitBreakerStore; exports.defaultCircuitBreakerStore = defaultCircuitBreakerStore; exports.resetDefaultCircuitBreakerStore = resetDefaultCircuitBreakerStore; exports.buildBreakerKey = buildBreakerKey; exports.isBreakerFailure = isBreakerFailure; exports.DEFAULT_COOLDOWN_MAX_MS = DEFAULT_COOLDOWN_MAX_MS; exports.DEFAULT_COOLDOWN_DEFAULT_MS = DEFAULT_COOLDOWN_DEFAULT_MS; exports.DEFAULT_COOLDOWN_MAX_ENTRIES = DEFAULT_COOLDOWN_MAX_ENTRIES; exports.InMemoryCooldownStore = InMemoryCooldownStore; exports.defaultCooldownStore = defaultCooldownStore; exports.resetDefaultCooldownStore = resetDefaultCooldownStore; exports.buildTenantKey = buildTenantKey; exports.cooldownDurationMs = cooldownDurationMs; exports.resolveCredentials = resolveCredentials; exports.buildReadCache = buildReadCache; exports.resolveConfig = resolveConfig; exports.IDEMPOTENT_METHODS = IDEMPOTENT_METHODS; exports.isRecord = isRecord2; exports.assertRecord = assertRecord; exports.deepMergeParams = deepMergeParams; exports.isIdentifierCandidate = isIdentifierCandidate; exports.parseIdentifier = parseIdentifier; exports.flattenUdfs = flattenUdfs; exports.newCorrelationId = newCorrelationId; exports.redactAuditBody = redactAuditBody; exports.camelKey = camelKey; exports.FILTER_OPERATORS = FILTER_OPERATORS; exports.GROUPING_OPERATORS = GROUPING_OPERATORS; exports.MAX_OR_CONDITIONS = MAX_OR_CONDITIONS; exports.MAX_UDF_PER_QUERY = MAX_UDF_PER_QUERY; exports.MAX_QUERY_LENGTH = MAX_QUERY_LENGTH; exports.MAX_GET_LENGTH = MAX_GET_LENGTH; exports.MAX_FIELD_LENGTH = MAX_FIELD_LENGTH; exports.isFilterOperator = isFilterOperator; exports.serializeFilter = serializeFilter; exports.validateFilter = validateFilter; exports.buildFilter = buildFilter; exports.normalizedConditions = normalizedConditions; exports.buildUrl = buildUrl; exports.cursorToPath = cursorToPath; exports.buildQueryBody = buildQueryBody; exports.buildQueryRequest = buildQueryRequest; exports.runWithSignal = runWithSignal; exports.RELATIONSHIP_ZONE = RELATIONSHIP_ZONE; exports.RELATIONSHIP_MAP = RELATIONSHIP_MAP; exports.BLIND_SURFACE_STAMPS = BLIND_SURFACE_STAMPS; exports.DELETE_BOUNDARY_NOTES = DELETE_BOUNDARY_NOTES; exports.MARKER_FIELDS = MARKER_FIELDS; exports.EMPTY_REASON_STAMPS = EMPTY_REASON_STAMPS; exports.BLIND_SURFACE_INVENTORY = BLIND_SURFACE_INVENTORY; exports.REACHABILITY_PROBE_DEFAULTS = REACHABILITY_PROBE_DEFAULTS; exports.CREATE_GUIDANCE = CREATE_GUIDANCE; exports.UNTRUSTED_FIELDS_BY_RESOURCE = UNTRUSTED_FIELDS_BY_RESOURCE; exports.unwrapItems = unwrapItems; exports.unwrapItem = unwrapItem; exports.unwrapQueryCount = unwrapQueryCount; exports.unwrapOperation = unwrapOperation; exports.passthrough = passthrough; exports.HttpClient = HttpClient; exports.BOUNDED_QUERY_MAX_LIMIT = BOUNDED_QUERY_MAX_LIMIT; exports.truncateNoteChars = truncateNoteChars; exports.buildDryRunResult = buildDryRunResult; exports.mergePartialBody = mergePartialBody; exports.blindStampFor = blindStampFor; exports.decodeFileData = decodeFileData; exports.MAX_PAGES = MAX_PAGES; exports.clampPageSize = clampPageSize; exports.totalPagesFor = totalPagesFor; exports.paginate = paginate; exports.paginateItems = paginateItems; exports.collectAll = collectAll; exports.toArray = toArray; exports.FIELD_PRESETS = FIELD_PRESETS; exports.FIELD_PRESET_NAMES = FIELD_PRESET_NAMES; exports.resolveFieldsPreset = resolveFieldsPreset; exports.BaseResource = BaseResource; exports.MODEL_FIELD_SETS = MODEL_FIELD_SETS; exports.MODEL_DATE_FIELDS = MODEL_DATE_FIELDS; exports.formatUnknownNameList = formatUnknownNameList; exports.validateQueryFieldNames = validateQueryFieldNames; exports.EXPAND_RESOURCE_NAMES_MAX_IDS = EXPAND_RESOURCE_NAMES_MAX_IDS; exports.expandResourceNames = expandResourceNames; exports.ENTITY_TYPE_TO_RESOURCE = ENTITY_TYPE_TO_RESOURCE; exports.resourceForEntityType = resourceForEntityType; exports.isEnumerableResource = isEnumerableResource; exports.WORKFLOW_RESOURCES = WORKFLOW_RESOURCES; exports.MAX_FIELD_CATALOG_WIRE = MAX_FIELD_CATALOG_WIRE; exports.FIELD_CATALOG_HONESTY_NOTE = FIELD_CATALOG_HONESTY_NOTE; exports.fieldCatalog = fieldCatalog; exports.PICKLIST_VALUE_NOT_SERVED_NOTE = PICKLIST_VALUE_NOT_SERVED_NOTE; exports.TICKET_LABEL_FIELDS = TICKET_LABEL_FIELDS; exports.createNamePlan = createNamePlan; exports.addNameSibling = addNameSibling; exports.addLabelSibling = addLabelSibling; exports.resolveCompositeNames = resolveCompositeNames; exports.FETCH_MANY_MAX_ITEMS = FETCH_MANY_MAX_ITEMS; exports.validateFetchManyItems = validateFetchManyItems; exports.fetchMany = fetchMany; exports.FETCH_BY_IDS_MAX_ITEMS = FETCH_BY_IDS_MAX_ITEMS; exports.FETCH_BY_IDS_CHUNK_SIZE = FETCH_BY_IDS_CHUNK_SIZE; exports.fetchByIds = fetchByIds; exports.UI_LINK_ENTITIES = UI_LINK_ENTITIES; exports.buildUiLink = buildUiLink; exports.uiLink = uiLink;
20442
+
20443
+
20444
+ exports.AUTH_HEADERS = AUTH_HEADERS; exports.buildAuthHeaders = buildAuthHeaders; exports.withAuthHeaders = withAuthHeaders; exports.AutotaskError = AutotaskError; exports.AutotaskConfigError = AutotaskConfigError; exports.isAutotaskError = isAutotaskError; exports.AutotaskNetworkError = AutotaskNetworkError; exports.AutotaskTimeoutError = AutotaskTimeoutError; exports.AutotaskAbortError = AutotaskAbortError; exports.ResponseRejectedError = ResponseRejectedError; exports.BadRequestError = BadRequestError; exports.UnauthorizedError = UnauthorizedError; exports.ForbiddenError = ForbiddenError; exports.NotFoundError = NotFoundError; exports.ConflictError = ConflictError; exports.UnprocessableEntityError = UnprocessableEntityError; exports.RateLimitError = RateLimitError; exports.ServerError = ServerError; exports.UnexpectedContentTypeError = UnexpectedContentTypeError; exports.EmptyResponseError = EmptyResponseError; exports.CircuitBreakerError = CircuitBreakerError; exports.HostPolicyDeniedError = HostPolicyDeniedError; exports.ResolutionError = ResolutionError; exports.PaginationLimitError = PaginationLimitError; exports.QueryTooLongError = QueryTooLongError; exports.parseVendorErrors = parseVendorErrors; exports.isDeterministicVendor500 = isDeterministicVendor500; exports.formatVendorDetail = formatVendorDetail; exports.NoopLogger = NoopLogger; exports.REDACTED = REDACTED; exports.CREDENTIAL_HEADER_NAMES = CREDENTIAL_HEADER_NAMES; exports.isCredentialHeaderName = isCredentialHeaderName; exports.redactRecord = redactRecord; exports.SECRET_RESPONSE_FIELDS = SECRET_RESPONSE_FIELDS; exports.PERSONAL_RESPONSE_FIELDS = PERSONAL_RESPONSE_FIELDS; exports.CONFIDENTIAL_RESPONSE_FIELDS = CONFIDENTIAL_RESPONSE_FIELDS; exports.isRedactedFieldName = isRedactedFieldName; exports.redactResponseBody = redactResponseBody; exports.CREDENTIAL_SHAPE_POINTER = CREDENTIAL_SHAPE_POINTER; exports.mergeDetails = mergeDetails; exports.errorFromStatus = errorFromStatus; exports.StaleObjectError = StaleObjectError; exports.ConfirmationRequiredError = ConfirmationRequiredError; exports.DeleteBoundaryError = DeleteBoundaryError; exports.MarkerUnsafeIdError = MarkerUnsafeIdError; exports.RecoveryTruncatedError = RecoveryTruncatedError; exports.MoveRefusedError = MoveRefusedError; exports.READ_CACHE_MAX_ENTRIES = READ_CACHE_MAX_ENTRIES; exports.ReadCache = ReadCache; exports.ZONE_CATALOG = ZONE_CATALOG; exports.ZONES = ZONES; exports.DEFAULT_ZONE = DEFAULT_ZONE; exports.zoneUrl = zoneUrl; exports.resolveBaseUrl = resolveBaseUrl; exports.AGENT_PROFILE = AGENT_PROFILE; exports.DEFAULT_PAGE_SIZE = DEFAULT_PAGE_SIZE; exports.MAX_PAGE_SIZE = MAX_PAGE_SIZE; exports.DEFAULT_TIMEOUT_MS = DEFAULT_TIMEOUT_MS; exports.DEFAULT_MAX_RETRIES = DEFAULT_MAX_RETRIES; exports.DEFAULT_MAINTENANCE_MAX_WAIT_MS = DEFAULT_MAINTENANCE_MAX_WAIT_MS; exports.DEFAULT_MAINTENANCE_POLL_MS = DEFAULT_MAINTENANCE_POLL_MS; exports.MAINTENANCE_WINDOW_MAX_MS = MAINTENANCE_WINDOW_MAX_MS; exports.DEFAULT_MAX_CONCURRENT = DEFAULT_MAX_CONCURRENT; exports.DEFAULT_MAX_RESPONSE_BYTES = DEFAULT_MAX_RESPONSE_BYTES; exports.DEFAULT_MAX_SCAN_RECORDS = DEFAULT_MAX_SCAN_RECORDS; exports.DEFAULT_MAX_SCAN_PAGES = DEFAULT_MAX_SCAN_PAGES; exports.DEFAULT_READ_CACHE_TTL_MS = DEFAULT_READ_CACHE_TTL_MS; exports.DEFAULT_FIELD_CACHE_TTL_MS = DEFAULT_FIELD_CACHE_TTL_MS; exports.DEFAULT_RESOURCE_NAME_CACHE_TTL_MS = DEFAULT_RESOURCE_NAME_CACHE_TTL_MS; exports.hasSurroundingQuotes = hasSurroundingQuotes; exports.credentialShapeProblem = credentialShapeProblem; exports.CREDENTIAL_ENV_LOAD_ACTION = CREDENTIAL_ENV_LOAD_ACTION; exports.MIN_PREFIX_SUMMARY_LENGTH = MIN_PREFIX_SUMMARY_LENGTH; exports.credentialValueSummary = credentialValueSummary; exports.FIELD_CACHE_KINDS = FIELD_CACHE_KINDS; exports.DEFAULT_CIRCUIT_BREAKER_WINDOW_MS = DEFAULT_CIRCUIT_BREAKER_WINDOW_MS; exports.DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD = DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD; exports.DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS = DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS; exports.DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE = DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE; exports.DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES = DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES; exports.InMemoryCircuitBreakerStore = InMemoryCircuitBreakerStore; exports.defaultCircuitBreakerStore = defaultCircuitBreakerStore; exports.resetDefaultCircuitBreakerStore = resetDefaultCircuitBreakerStore; exports.buildBreakerKey = buildBreakerKey; exports.isBreakerFailure = isBreakerFailure; exports.DEFAULT_COOLDOWN_MAX_MS = DEFAULT_COOLDOWN_MAX_MS; exports.DEFAULT_COOLDOWN_DEFAULT_MS = DEFAULT_COOLDOWN_DEFAULT_MS; exports.DEFAULT_COOLDOWN_MAX_ENTRIES = DEFAULT_COOLDOWN_MAX_ENTRIES; exports.InMemoryCooldownStore = InMemoryCooldownStore; exports.defaultCooldownStore = defaultCooldownStore; exports.resetDefaultCooldownStore = resetDefaultCooldownStore; exports.buildTenantKey = buildTenantKey; exports.cooldownDurationMs = cooldownDurationMs; exports.resolveCredentials = resolveCredentials; exports.buildReadCache = buildReadCache; exports.resolveConfig = resolveConfig; exports.IDEMPOTENT_METHODS = IDEMPOTENT_METHODS; exports.isRecord = isRecord2; exports.assertRecord = assertRecord; exports.deepMergeParams = deepMergeParams; exports.isIdentifierCandidate = isIdentifierCandidate; exports.parseIdentifier = parseIdentifier; exports.flattenUdfs = flattenUdfs; exports.newCorrelationId = newCorrelationId; exports.redactAuditBody = redactAuditBody; exports.camelKey = camelKey; exports.FILTER_OPERATORS = FILTER_OPERATORS; exports.GROUPING_OPERATORS = GROUPING_OPERATORS; exports.MAX_OR_CONDITIONS = MAX_OR_CONDITIONS; exports.MAX_UDF_PER_QUERY = MAX_UDF_PER_QUERY; exports.MAX_QUERY_LENGTH = MAX_QUERY_LENGTH; exports.MAX_GET_LENGTH = MAX_GET_LENGTH; exports.MAX_FIELD_LENGTH = MAX_FIELD_LENGTH; exports.isFilterOperator = isFilterOperator; exports.serializeFilter = serializeFilter; exports.validateFilter = validateFilter; exports.buildFilter = buildFilter; exports.normalizedConditions = normalizedConditions; exports.buildUrl = buildUrl; exports.cursorToPath = cursorToPath; exports.buildQueryBody = buildQueryBody; exports.buildQueryRequest = buildQueryRequest; exports.runWithSignal = runWithSignal; exports.RELATIONSHIP_ZONE = RELATIONSHIP_ZONE; exports.RELATIONSHIP_MAP = RELATIONSHIP_MAP; exports.BLIND_SURFACE_STAMPS = BLIND_SURFACE_STAMPS; exports.DELETE_BOUNDARY_NOTES = DELETE_BOUNDARY_NOTES; exports.MARKER_FIELDS = MARKER_FIELDS; exports.EMPTY_REASON_STAMPS = EMPTY_REASON_STAMPS; exports.BLIND_SURFACE_INVENTORY = BLIND_SURFACE_INVENTORY; exports.REACHABILITY_PROBE_DEFAULTS = REACHABILITY_PROBE_DEFAULTS; exports.CREATE_GUIDANCE = CREATE_GUIDANCE; exports.UNTRUSTED_FIELDS_BY_RESOURCE = UNTRUSTED_FIELDS_BY_RESOURCE; exports.unwrapItems = unwrapItems; exports.unwrapItem = unwrapItem; exports.unwrapQueryCount = unwrapQueryCount; exports.unwrapOperation = unwrapOperation; exports.passthrough = passthrough; exports.HttpClient = HttpClient; exports.BOUNDED_QUERY_MAX_LIMIT = BOUNDED_QUERY_MAX_LIMIT; exports.truncateNoteChars = truncateNoteChars; exports.buildDryRunResult = buildDryRunResult; exports.mergePartialBody = mergePartialBody; exports.blindStampFor = blindStampFor; exports.decodeFileData = decodeFileData; exports.MAX_PAGES = MAX_PAGES; exports.clampPageSize = clampPageSize; exports.totalPagesFor = totalPagesFor; exports.paginate = paginate; exports.paginateItems = paginateItems; exports.collectAll = collectAll; exports.toArray = toArray; exports.FIELD_PRESETS = FIELD_PRESETS; exports.FIELD_PRESET_NAMES = FIELD_PRESET_NAMES; exports.resolveFieldsPreset = resolveFieldsPreset; exports.BaseResource = BaseResource; exports.MODEL_FIELD_SETS = MODEL_FIELD_SETS; exports.MODEL_DATE_FIELDS = MODEL_DATE_FIELDS; exports.formatUnknownNameList = formatUnknownNameList; exports.validateQueryFieldNames = validateQueryFieldNames; exports.EXPAND_RESOURCE_NAMES_MAX_IDS = EXPAND_RESOURCE_NAMES_MAX_IDS; exports.expandResourceNames = expandResourceNames; exports.ENTITY_TYPE_TO_RESOURCE = ENTITY_TYPE_TO_RESOURCE; exports.resourceForEntityType = resourceForEntityType; exports.isEnumerableResource = isEnumerableResource; exports.WORKFLOW_RESOURCES = WORKFLOW_RESOURCES; exports.MAX_FIELD_CATALOG_WIRE = MAX_FIELD_CATALOG_WIRE; exports.FIELD_CATALOG_HONESTY_NOTE = FIELD_CATALOG_HONESTY_NOTE; exports.fieldCatalog = fieldCatalog; exports.PICKLIST_VALUE_NOT_SERVED_NOTE = PICKLIST_VALUE_NOT_SERVED_NOTE; exports.TICKET_LABEL_FIELDS = TICKET_LABEL_FIELDS; exports.createNamePlan = createNamePlan; exports.addNameSibling = addNameSibling; exports.addLabelSibling = addLabelSibling; exports.vendorId = vendorId; exports.resolveLineOfBusinessChain = resolveLineOfBusinessChain; exports.resolveCompositeNames = resolveCompositeNames; exports.FETCH_MANY_MAX_ITEMS = FETCH_MANY_MAX_ITEMS; exports.validateFetchManyItems = validateFetchManyItems; exports.fetchMany = fetchMany; exports.FETCH_BY_IDS_MAX_ITEMS = FETCH_BY_IDS_MAX_ITEMS; exports.FETCH_BY_IDS_CHUNK_SIZE = FETCH_BY_IDS_CHUNK_SIZE; exports.fetchByIds = fetchByIds; exports.UI_LINK_ENTITIES = UI_LINK_ENTITIES; exports.buildUiLink = buildUiLink; exports.uiLink = uiLink;