node-autotask 0.39.1 → 0.39.2

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.
@@ -125,7 +125,7 @@ import {
125
125
  VersionInformationResource,
126
126
  VersionResource,
127
127
  ZoneInformationResource
128
- } from "./chunk-LDTJNLX7.js";
128
+ } from "./chunk-GSGP2B4I.js";
129
129
  import {
130
130
  AutotaskConfigError,
131
131
  BillingCodesResource,
@@ -141,7 +141,7 @@ import {
141
141
  TimeEntriesResource,
142
142
  resolveConfig,
143
143
  runWithSignal
144
- } from "./chunk-LN3HQQBR.js";
144
+ } from "./chunk-UNOQESFU.js";
145
145
 
146
146
  // src/client.ts
147
147
  var AutotaskClient = class {
@@ -125,7 +125,7 @@
125
125
 
126
126
 
127
127
 
128
- var _chunkGIVYTQ6Rcjs = require('./chunk-GIVYTQ6R.cjs');
128
+ var _chunkHSBIVZGJcjs = require('./chunk-HSBIVZGJ.cjs');
129
129
 
130
130
 
131
131
 
@@ -141,7 +141,7 @@ var _chunkGIVYTQ6Rcjs = require('./chunk-GIVYTQ6R.cjs');
141
141
 
142
142
 
143
143
 
144
- var _chunkLB34VFQYcjs = require('./chunk-LB34VFQY.cjs');
144
+ var _chunk5QS3VT34cjs = require('./chunk-5QS3VT34.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 = _chunkLB34VFQYcjs.resolveConfig.call(void 0, options);
296
- this.http = new (0, _chunkLB34VFQYcjs.HttpClient)(this.config);
295
+ this.config = _chunk5QS3VT34cjs.resolveConfig.call(void 0, options);
296
+ this.http = new (0, _chunk5QS3VT34cjs.HttpClient)(this.config);
297
297
  this.http.client = this;
298
- this.appointments = new (0, _chunkGIVYTQ6Rcjs.AppointmentsResource)(this.http, this.config.pageSize);
299
- this.authenticateResource = new (0, _chunkGIVYTQ6Rcjs.AuthenticateResource)(this.http);
300
- this.billingCodes = new (0, _chunkLB34VFQYcjs.BillingCodesResource)(this.http, this.config.pageSize);
301
- this.billingItemApprovalLevels = new (0, _chunkGIVYTQ6Rcjs.BillingItemApprovalLevelsResource)(this.http, this.config.pageSize);
302
- this.billingItems = new (0, _chunkLB34VFQYcjs.BillingItemsResource)(this.http, this.config.pageSize);
303
- this.changeRequestLinks = new (0, _chunkGIVYTQ6Rcjs.ChangeRequestLinksResource)(this.http, this.config.pageSize);
304
- this.checklistLibraries = new (0, _chunkGIVYTQ6Rcjs.ChecklistLibrariesResource)(this.http, this.config.pageSize);
305
- this.checklistLibraryChecklistItems = new (0, _chunkGIVYTQ6Rcjs.ChecklistLibraryChecklistItemsResource)(this.http, this.config.pageSize);
306
- this.classificationIcons = new (0, _chunkGIVYTQ6Rcjs.ClassificationIconsResource)(this.http, this.config.pageSize);
307
- this.companies = new (0, _chunkLB34VFQYcjs.CompaniesResource)(this.http, this.config.pageSize);
308
- this.companyAlerts = new (0, _chunkGIVYTQ6Rcjs.CompanyAlertsResource)(this.http, this.config.pageSize);
309
- this.companyLocations = new (0, _chunkGIVYTQ6Rcjs.CompanyLocationsResource)(this.http, this.config.pageSize);
310
- this.companyNotes = new (0, _chunkGIVYTQ6Rcjs.CompanyNotesResource)(this.http, this.config.pageSize);
311
- this.companySiteConfigurations = new (0, _chunkGIVYTQ6Rcjs.CompanySiteConfigurationsResource)(this.http, this.config.pageSize);
312
- this.companyWebhooks = new (0, _chunkGIVYTQ6Rcjs.CompanyWebhooksResource)(this.http, this.config.pageSize);
313
- this.configurationItemBillingProductAssociations = new (0, _chunkGIVYTQ6Rcjs.ConfigurationItemBillingProductAssociationsResource)(this.http, this.config.pageSize);
314
- this.configurationItemCategories = new (0, _chunkGIVYTQ6Rcjs.ConfigurationItemCategoriesResource)(this.http, this.config.pageSize);
315
- this.configurationItemCategoryUdfAssociations = new (0, _chunkGIVYTQ6Rcjs.ConfigurationItemCategoryUdfAssociationsResource)(this.http, this.config.pageSize);
316
- this.configurationItemDnsRecords = new (0, _chunkGIVYTQ6Rcjs.ConfigurationItemDnsRecordsResource)(this.http, this.config.pageSize);
317
- this.configurationItemNotes = new (0, _chunkGIVYTQ6Rcjs.ConfigurationItemNotesResource)(this.http, this.config.pageSize);
318
- this.configurationItemRelatedItems = new (0, _chunkGIVYTQ6Rcjs.ConfigurationItemRelatedItemsResource)(this.http, this.config.pageSize);
319
- this.configurationItems = new (0, _chunkGIVYTQ6Rcjs.ConfigurationItemsResource)(this.http, this.config.pageSize);
320
- this.configurationItemSslSubjectAlternativeNames = new (0, _chunkGIVYTQ6Rcjs.ConfigurationItemSslSubjectAlternativeNamesResource)(this.http, this.config.pageSize);
321
- this.configurationItemTypes = new (0, _chunkGIVYTQ6Rcjs.ConfigurationItemTypesResource)(this.http, this.config.pageSize);
322
- this.configurationItemWebhooks = new (0, _chunkGIVYTQ6Rcjs.ConfigurationItemWebhooksResource)(this.http, this.config.pageSize);
323
- this.contactGroupContacts = new (0, _chunkGIVYTQ6Rcjs.ContactGroupContactsResource)(this.http, this.config.pageSize);
324
- this.contactGroups = new (0, _chunkGIVYTQ6Rcjs.ContactGroupsResource)(this.http, this.config.pageSize);
325
- this.contacts = new (0, _chunkGIVYTQ6Rcjs.ContactsResource)(this.http, this.config.pageSize);
326
- this.contactWebhooks = new (0, _chunkGIVYTQ6Rcjs.ContactWebhooksResource)(this.http, this.config.pageSize);
327
- this.contractBillingRules = new (0, _chunkGIVYTQ6Rcjs.ContractBillingRulesResource)(this.http, this.config.pageSize);
328
- this.contractBlockHourFactors = new (0, _chunkGIVYTQ6Rcjs.ContractBlockHourFactorsResource)(this.http, this.config.pageSize);
329
- this.contractBlocks = new (0, _chunkGIVYTQ6Rcjs.ContractBlocksResource)(this.http, this.config.pageSize);
330
- this.contractCharges = new (0, _chunkGIVYTQ6Rcjs.ContractChargesResource)(this.http, this.config.pageSize);
331
- this.contractExclusionBillingCodes = new (0, _chunkGIVYTQ6Rcjs.ContractExclusionBillingCodesResource)(this.http, this.config.pageSize);
332
- this.contractExclusionRoles = new (0, _chunkGIVYTQ6Rcjs.ContractExclusionRolesResource)(this.http, this.config.pageSize);
333
- this.contractExclusionSetExcludedRoles = new (0, _chunkGIVYTQ6Rcjs.ContractExclusionSetExcludedRolesResource)(this.http, this.config.pageSize);
334
- this.contractExclusionSetExcludedWorkTypes = new (0, _chunkGIVYTQ6Rcjs.ContractExclusionSetExcludedWorkTypesResource)(this.http, this.config.pageSize);
335
- this.contractExclusionSets = new (0, _chunkGIVYTQ6Rcjs.ContractExclusionSetsResource)(this.http, this.config.pageSize);
336
- this.contractMilestones = new (0, _chunkGIVYTQ6Rcjs.ContractMilestonesResource)(this.http, this.config.pageSize);
337
- this.contractNotes = new (0, _chunkGIVYTQ6Rcjs.ContractNotesResource)(this.http, this.config.pageSize);
338
- this.contractRates = new (0, _chunkGIVYTQ6Rcjs.ContractRatesResource)(this.http, this.config.pageSize);
339
- this.contractRetainers = new (0, _chunkGIVYTQ6Rcjs.ContractRetainersResource)(this.http, this.config.pageSize);
340
- this.contractRoleCosts = new (0, _chunkGIVYTQ6Rcjs.ContractRoleCostsResource)(this.http, this.config.pageSize);
341
- this.contractServiceAdjustments = new (0, _chunkGIVYTQ6Rcjs.ContractServiceAdjustmentsResource)(this.http, this.config.pageSize);
342
- this.contractServiceBundleAdjustments = new (0, _chunkGIVYTQ6Rcjs.ContractServiceBundleAdjustmentsResource)(this.http, this.config.pageSize);
343
- this.contractServiceBundles = new (0, _chunkGIVYTQ6Rcjs.ContractServiceBundlesResource)(this.http, this.config.pageSize);
344
- this.contractServiceBundleUnits = new (0, _chunkGIVYTQ6Rcjs.ContractServiceBundleUnitsResource)(this.http, this.config.pageSize);
345
- this.contractServices = new (0, _chunkGIVYTQ6Rcjs.ContractServicesResource)(this.http, this.config.pageSize);
346
- this.contractServiceUnits = new (0, _chunkGIVYTQ6Rcjs.ContractServiceUnitsResource)(this.http, this.config.pageSize);
347
- this.contracts = new (0, _chunkLB34VFQYcjs.ContractsResource)(this.http, this.config.pageSize);
348
- this.contractTicketPurchases = new (0, _chunkGIVYTQ6Rcjs.ContractTicketPurchasesResource)(this.http, this.config.pageSize);
349
- this.countries = new (0, _chunkGIVYTQ6Rcjs.CountriesResource)(this.http, this.config.pageSize);
350
- this.currencies = new (0, _chunkGIVYTQ6Rcjs.CurrenciesResource)(this.http, this.config.pageSize);
351
- this.departments = new (0, _chunkGIVYTQ6Rcjs.DepartmentsResource)(this.http, this.config.pageSize);
352
- this.domainRegistrars = new (0, _chunkGIVYTQ6Rcjs.DomainRegistrarsResource)(this.http, this.config.pageSize);
353
- this.entityInformation = new (0, _chunkGIVYTQ6Rcjs.EntityInformationResource)(this.http);
354
- this.expenseItemAttachments = new (0, _chunkGIVYTQ6Rcjs.ExpenseItemAttachmentsResource)(this.http, this.config.pageSize);
355
- this.expenseItems = new (0, _chunkGIVYTQ6Rcjs.ExpenseItemsResource)(this.http, this.config.pageSize);
356
- this.expenseReports = new (0, _chunkGIVYTQ6Rcjs.ExpenseReportsResource)(this.http, this.config.pageSize);
357
- this.holidaySets = new (0, _chunkGIVYTQ6Rcjs.HolidaySetsResource)(this.http, this.config.pageSize);
358
- this.holidays = new (0, _chunkGIVYTQ6Rcjs.HolidaysResource)(this.http, this.config.pageSize);
359
- this.inventoryProducts = new (0, _chunkGIVYTQ6Rcjs.InventoryProductsResource)(this.http, this.config.pageSize);
360
- this.invoices = new (0, _chunkLB34VFQYcjs.InvoicesResource)(this.http, this.config.pageSize);
361
- this.invoiceTemplates = new (0, _chunkGIVYTQ6Rcjs.InvoiceTemplatesResource)(this.http, this.config.pageSize);
362
- this.modules = new (0, _chunkGIVYTQ6Rcjs.ModulesResource)(this.http);
363
- this.notificationHistory = new (0, _chunkGIVYTQ6Rcjs.NotificationHistoryResource)(this.http, this.config.pageSize);
364
- this.opportunities = new (0, _chunkGIVYTQ6Rcjs.OpportunitiesResource)(this.http, this.config.pageSize);
365
- this.opportunityAttachments = new (0, _chunkGIVYTQ6Rcjs.OpportunityAttachmentsResource)(this.http, this.config.pageSize);
366
- this.opportunityCategories = new (0, _chunkGIVYTQ6Rcjs.OpportunityCategoriesResource)(this.http, this.config.pageSize);
367
- this.organizationalLevel1s = new (0, _chunkLB34VFQYcjs.OrganizationalLevel1sResource)(this.http, this.config.pageSize);
368
- this.organizationalLevel2s = new (0, _chunkLB34VFQYcjs.OrganizationalLevel2sResource)(this.http, this.config.pageSize);
369
- this.organizationalLevelAssociations = new (0, _chunkLB34VFQYcjs.OrganizationalLevelAssociationsResource)(this.http, this.config.pageSize);
370
- this.phases = new (0, _chunkGIVYTQ6Rcjs.PhasesResource)(this.http, this.config.pageSize);
371
- this.products = new (0, _chunkGIVYTQ6Rcjs.ProductsResource)(this.http, this.config.pageSize);
372
- this.productVendors = new (0, _chunkGIVYTQ6Rcjs.ProductVendorsResource)(this.http, this.config.pageSize);
373
- this.projectCharges = new (0, _chunkGIVYTQ6Rcjs.ProjectChargesResource)(this.http, this.config.pageSize);
374
- this.projectNotes = new (0, _chunkGIVYTQ6Rcjs.ProjectNotesResource)(this.http, this.config.pageSize);
375
- this.projects = new (0, _chunkGIVYTQ6Rcjs.ProjectsResource)(this.http, this.config.pageSize);
376
- this.purchaseApprovals = new (0, _chunkGIVYTQ6Rcjs.PurchaseApprovalsResource)(this.http, this.config.pageSize);
377
- this.purchaseOrderItemReceiving = new (0, _chunkGIVYTQ6Rcjs.PurchaseOrderItemReceivingResource)(this.http, this.config.pageSize);
378
- this.purchaseOrderItems = new (0, _chunkGIVYTQ6Rcjs.PurchaseOrderItemsResource)(this.http, this.config.pageSize);
379
- this.purchaseOrders = new (0, _chunkGIVYTQ6Rcjs.PurchaseOrdersResource)(this.http, this.config.pageSize);
380
- this.quoteItems = new (0, _chunkGIVYTQ6Rcjs.QuoteItemsResource)(this.http, this.config.pageSize);
381
- this.quoteLocations = new (0, _chunkGIVYTQ6Rcjs.QuoteLocationsResource)(this.http, this.config.pageSize);
382
- this.quotes = new (0, _chunkGIVYTQ6Rcjs.QuotesResource)(this.http, this.config.pageSize);
383
- this.quoteTemplates = new (0, _chunkGIVYTQ6Rcjs.QuoteTemplatesResource)(this.http, this.config.pageSize);
384
- this.resourceRoleQueues = new (0, _chunkGIVYTQ6Rcjs.ResourceRoleQueuesResource)(this.http, this.config.pageSize);
385
- this.resourceRoles = new (0, _chunkGIVYTQ6Rcjs.ResourceRolesResource)(this.http, this.config.pageSize);
386
- this.resourceSkills = new (0, _chunkGIVYTQ6Rcjs.ResourceSkillsResource)(this.http, this.config.pageSize);
387
- this.resources = new (0, _chunkLB34VFQYcjs.ResourcesResource)(this.http, this.config, this.config.pageSize);
388
- this.resourceTimeOffAdditional = new (0, _chunkGIVYTQ6Rcjs.ResourceTimeOffAdditionalResource)(this.http, this.config.pageSize);
389
- this.resourceTimeOffApprovers = new (0, _chunkGIVYTQ6Rcjs.ResourceTimeOffApproversResource)(this.http, this.config.pageSize);
390
- this.resourceTimeOffBalances = new (0, _chunkGIVYTQ6Rcjs.ResourceTimeOffBalancesResource)(this.http, this.config.pageSize);
391
- this.roles = new (0, _chunkGIVYTQ6Rcjs.RolesResource)(this.http, this.config.pageSize);
392
- this.salesOrders = new (0, _chunkGIVYTQ6Rcjs.SalesOrdersResource)(this.http, this.config.pageSize);
393
- this.serviceCalls = new (0, _chunkGIVYTQ6Rcjs.ServiceCallsResource)(this.http, this.config.pageSize);
394
- this.serviceCallTaskResources = new (0, _chunkGIVYTQ6Rcjs.ServiceCallTaskResourcesResource)(this.http, this.config.pageSize);
395
- this.serviceCallTasks = new (0, _chunkGIVYTQ6Rcjs.ServiceCallTasksResource)(this.http, this.config.pageSize);
396
- this.serviceCallTicketResources = new (0, _chunkGIVYTQ6Rcjs.ServiceCallTicketResourcesResource)(this.http, this.config.pageSize);
397
- this.serviceCallTickets = new (0, _chunkGIVYTQ6Rcjs.ServiceCallTicketsResource)(this.http, this.config.pageSize);
398
- this.serviceLevelAgreementResults = new (0, _chunkGIVYTQ6Rcjs.ServiceLevelAgreementResultsResource)(this.http, this.config.pageSize);
399
- this.services = new (0, _chunkGIVYTQ6Rcjs.ServicesResource)(this.http, this.config.pageSize);
400
- this.skills = new (0, _chunkGIVYTQ6Rcjs.SkillsResource)(this.http, this.config.pageSize);
401
- this.subscriptionPeriods = new (0, _chunkGIVYTQ6Rcjs.SubscriptionPeriodsResource)(this.http, this.config.pageSize);
402
- this.subscriptions = new (0, _chunkGIVYTQ6Rcjs.SubscriptionsResource)(this.http, this.config.pageSize);
403
- this.surveyResults = new (0, _chunkGIVYTQ6Rcjs.SurveyResultsResource)(this.http, this.config.pageSize);
404
- this.surveys = new (0, _chunkGIVYTQ6Rcjs.SurveysResource)(this.http, this.config.pageSize);
405
- this.tagAliases = new (0, _chunkGIVYTQ6Rcjs.TagAliasesResource)(this.http, this.config.pageSize);
406
- this.tagGroups = new (0, _chunkGIVYTQ6Rcjs.TagGroupsResource)(this.http, this.config.pageSize);
407
- this.tags = new (0, _chunkGIVYTQ6Rcjs.TagsResource)(this.http, this.config.pageSize);
408
- this.taskSecondaryResources = new (0, _chunkGIVYTQ6Rcjs.TaskSecondaryResourcesResource)(this.http, this.config.pageSize);
409
- this.tasks = new (0, _chunkGIVYTQ6Rcjs.TasksResource)(this.http, this.config.pageSize);
410
- this.taxRegions = new (0, _chunkGIVYTQ6Rcjs.TaxRegionsResource)(this.http, this.config.pageSize);
411
- this.thresholdInformation = new (0, _chunkGIVYTQ6Rcjs.ThresholdInformationResource)(this.http);
412
- this.ticketAdditionalConfigurationItems = new (0, _chunkGIVYTQ6Rcjs.TicketAdditionalConfigurationItemsResource)(this.http, this.config.pageSize);
413
- this.ticketAdditionalContacts = new (0, _chunkGIVYTQ6Rcjs.TicketAdditionalContactsResource)(this.http, this.config.pageSize);
414
- this.ticketAttachments = new (0, _chunkGIVYTQ6Rcjs.TicketAttachmentsResource)(this.http, this.config.pageSize);
415
- this.ticketCategories = new (0, _chunkGIVYTQ6Rcjs.TicketCategoriesResource)(this.http, this.config.pageSize);
416
- this.ticketCategoryFieldDefaults = new (0, _chunkGIVYTQ6Rcjs.TicketCategoryFieldDefaultsResource)(this.http, this.config.pageSize);
417
- this.ticketChangeRequestApprovals = new (0, _chunkGIVYTQ6Rcjs.TicketChangeRequestApprovalsResource)(this.http, this.config.pageSize);
418
- this.ticketCharges = new (0, _chunkGIVYTQ6Rcjs.TicketChargesResource)(this.http, this.config.pageSize);
419
- this.ticketChecklistItems = new (0, _chunkGIVYTQ6Rcjs.TicketChecklistItemsResource)(this.http, this.config.pageSize);
420
- this.ticketChecklistLibraries = new (0, _chunkGIVYTQ6Rcjs.TicketChecklistLibrariesResource)(this.http, this.config.pageSize);
421
- this.ticketHistory = new (0, _chunkGIVYTQ6Rcjs.TicketHistoryResource)(this.http, this.config.pageSize);
422
- this.ticketNoteAttachments = new (0, _chunkGIVYTQ6Rcjs.TicketNoteAttachmentsResource)(this.http, this.config.pageSize);
423
- this.ticketNotes = new (0, _chunkGIVYTQ6Rcjs.TicketNotesResource)(this.http, this.config.pageSize);
424
- this.ticketNoteWebhooks = new (0, _chunkGIVYTQ6Rcjs.TicketNoteWebhooksResource)(this.http, this.config.pageSize);
425
- this.ticketSecondaryResources = new (0, _chunkGIVYTQ6Rcjs.TicketSecondaryResourcesResource)(this.http, this.config.pageSize);
426
- this.tickets = new (0, _chunkGIVYTQ6Rcjs.TicketsResource)(this.http, this.config.pageSize);
427
- this.ticketWebhooks = new (0, _chunkGIVYTQ6Rcjs.TicketWebhooksResource)(this.http, this.config.pageSize);
428
- this.timeEntries = new (0, _chunkLB34VFQYcjs.TimeEntriesResource)(this.http, this.config.pageSize);
429
- this.timeEntryAttachments = new (0, _chunkGIVYTQ6Rcjs.TimeEntryAttachmentsResource)(this.http, this.config.pageSize);
430
- this.timeOffRequests = new (0, _chunkGIVYTQ6Rcjs.TimeOffRequestsResource)(this.http, this.config.pageSize);
431
- this.versionInformation = new (0, _chunkGIVYTQ6Rcjs.VersionInformationResource)(this.http);
432
- this.version = new (0, _chunkGIVYTQ6Rcjs.VersionResource)(this.http);
433
- this.zoneInformation = new (0, _chunkGIVYTQ6Rcjs.ZoneInformationResource)(this.http);
298
+ this.appointments = new (0, _chunkHSBIVZGJcjs.AppointmentsResource)(this.http, this.config.pageSize);
299
+ this.authenticateResource = new (0, _chunkHSBIVZGJcjs.AuthenticateResource)(this.http);
300
+ this.billingCodes = new (0, _chunk5QS3VT34cjs.BillingCodesResource)(this.http, this.config.pageSize);
301
+ this.billingItemApprovalLevels = new (0, _chunkHSBIVZGJcjs.BillingItemApprovalLevelsResource)(this.http, this.config.pageSize);
302
+ this.billingItems = new (0, _chunk5QS3VT34cjs.BillingItemsResource)(this.http, this.config.pageSize);
303
+ this.changeRequestLinks = new (0, _chunkHSBIVZGJcjs.ChangeRequestLinksResource)(this.http, this.config.pageSize);
304
+ this.checklistLibraries = new (0, _chunkHSBIVZGJcjs.ChecklistLibrariesResource)(this.http, this.config.pageSize);
305
+ this.checklistLibraryChecklistItems = new (0, _chunkHSBIVZGJcjs.ChecklistLibraryChecklistItemsResource)(this.http, this.config.pageSize);
306
+ this.classificationIcons = new (0, _chunkHSBIVZGJcjs.ClassificationIconsResource)(this.http, this.config.pageSize);
307
+ this.companies = new (0, _chunk5QS3VT34cjs.CompaniesResource)(this.http, this.config.pageSize);
308
+ this.companyAlerts = new (0, _chunkHSBIVZGJcjs.CompanyAlertsResource)(this.http, this.config.pageSize);
309
+ this.companyLocations = new (0, _chunkHSBIVZGJcjs.CompanyLocationsResource)(this.http, this.config.pageSize);
310
+ this.companyNotes = new (0, _chunkHSBIVZGJcjs.CompanyNotesResource)(this.http, this.config.pageSize);
311
+ this.companySiteConfigurations = new (0, _chunkHSBIVZGJcjs.CompanySiteConfigurationsResource)(this.http, this.config.pageSize);
312
+ this.companyWebhooks = new (0, _chunkHSBIVZGJcjs.CompanyWebhooksResource)(this.http, this.config.pageSize);
313
+ this.configurationItemBillingProductAssociations = new (0, _chunkHSBIVZGJcjs.ConfigurationItemBillingProductAssociationsResource)(this.http, this.config.pageSize);
314
+ this.configurationItemCategories = new (0, _chunkHSBIVZGJcjs.ConfigurationItemCategoriesResource)(this.http, this.config.pageSize);
315
+ this.configurationItemCategoryUdfAssociations = new (0, _chunkHSBIVZGJcjs.ConfigurationItemCategoryUdfAssociationsResource)(this.http, this.config.pageSize);
316
+ this.configurationItemDnsRecords = new (0, _chunkHSBIVZGJcjs.ConfigurationItemDnsRecordsResource)(this.http, this.config.pageSize);
317
+ this.configurationItemNotes = new (0, _chunkHSBIVZGJcjs.ConfigurationItemNotesResource)(this.http, this.config.pageSize);
318
+ this.configurationItemRelatedItems = new (0, _chunkHSBIVZGJcjs.ConfigurationItemRelatedItemsResource)(this.http, this.config.pageSize);
319
+ this.configurationItems = new (0, _chunkHSBIVZGJcjs.ConfigurationItemsResource)(this.http, this.config.pageSize);
320
+ this.configurationItemSslSubjectAlternativeNames = new (0, _chunkHSBIVZGJcjs.ConfigurationItemSslSubjectAlternativeNamesResource)(this.http, this.config.pageSize);
321
+ this.configurationItemTypes = new (0, _chunkHSBIVZGJcjs.ConfigurationItemTypesResource)(this.http, this.config.pageSize);
322
+ this.configurationItemWebhooks = new (0, _chunkHSBIVZGJcjs.ConfigurationItemWebhooksResource)(this.http, this.config.pageSize);
323
+ this.contactGroupContacts = new (0, _chunkHSBIVZGJcjs.ContactGroupContactsResource)(this.http, this.config.pageSize);
324
+ this.contactGroups = new (0, _chunkHSBIVZGJcjs.ContactGroupsResource)(this.http, this.config.pageSize);
325
+ this.contacts = new (0, _chunkHSBIVZGJcjs.ContactsResource)(this.http, this.config.pageSize);
326
+ this.contactWebhooks = new (0, _chunkHSBIVZGJcjs.ContactWebhooksResource)(this.http, this.config.pageSize);
327
+ this.contractBillingRules = new (0, _chunkHSBIVZGJcjs.ContractBillingRulesResource)(this.http, this.config.pageSize);
328
+ this.contractBlockHourFactors = new (0, _chunkHSBIVZGJcjs.ContractBlockHourFactorsResource)(this.http, this.config.pageSize);
329
+ this.contractBlocks = new (0, _chunkHSBIVZGJcjs.ContractBlocksResource)(this.http, this.config.pageSize);
330
+ this.contractCharges = new (0, _chunkHSBIVZGJcjs.ContractChargesResource)(this.http, this.config.pageSize);
331
+ this.contractExclusionBillingCodes = new (0, _chunkHSBIVZGJcjs.ContractExclusionBillingCodesResource)(this.http, this.config.pageSize);
332
+ this.contractExclusionRoles = new (0, _chunkHSBIVZGJcjs.ContractExclusionRolesResource)(this.http, this.config.pageSize);
333
+ this.contractExclusionSetExcludedRoles = new (0, _chunkHSBIVZGJcjs.ContractExclusionSetExcludedRolesResource)(this.http, this.config.pageSize);
334
+ this.contractExclusionSetExcludedWorkTypes = new (0, _chunkHSBIVZGJcjs.ContractExclusionSetExcludedWorkTypesResource)(this.http, this.config.pageSize);
335
+ this.contractExclusionSets = new (0, _chunkHSBIVZGJcjs.ContractExclusionSetsResource)(this.http, this.config.pageSize);
336
+ this.contractMilestones = new (0, _chunkHSBIVZGJcjs.ContractMilestonesResource)(this.http, this.config.pageSize);
337
+ this.contractNotes = new (0, _chunkHSBIVZGJcjs.ContractNotesResource)(this.http, this.config.pageSize);
338
+ this.contractRates = new (0, _chunkHSBIVZGJcjs.ContractRatesResource)(this.http, this.config.pageSize);
339
+ this.contractRetainers = new (0, _chunkHSBIVZGJcjs.ContractRetainersResource)(this.http, this.config.pageSize);
340
+ this.contractRoleCosts = new (0, _chunkHSBIVZGJcjs.ContractRoleCostsResource)(this.http, this.config.pageSize);
341
+ this.contractServiceAdjustments = new (0, _chunkHSBIVZGJcjs.ContractServiceAdjustmentsResource)(this.http, this.config.pageSize);
342
+ this.contractServiceBundleAdjustments = new (0, _chunkHSBIVZGJcjs.ContractServiceBundleAdjustmentsResource)(this.http, this.config.pageSize);
343
+ this.contractServiceBundles = new (0, _chunkHSBIVZGJcjs.ContractServiceBundlesResource)(this.http, this.config.pageSize);
344
+ this.contractServiceBundleUnits = new (0, _chunkHSBIVZGJcjs.ContractServiceBundleUnitsResource)(this.http, this.config.pageSize);
345
+ this.contractServices = new (0, _chunkHSBIVZGJcjs.ContractServicesResource)(this.http, this.config.pageSize);
346
+ this.contractServiceUnits = new (0, _chunkHSBIVZGJcjs.ContractServiceUnitsResource)(this.http, this.config.pageSize);
347
+ this.contracts = new (0, _chunk5QS3VT34cjs.ContractsResource)(this.http, this.config.pageSize);
348
+ this.contractTicketPurchases = new (0, _chunkHSBIVZGJcjs.ContractTicketPurchasesResource)(this.http, this.config.pageSize);
349
+ this.countries = new (0, _chunkHSBIVZGJcjs.CountriesResource)(this.http, this.config.pageSize);
350
+ this.currencies = new (0, _chunkHSBIVZGJcjs.CurrenciesResource)(this.http, this.config.pageSize);
351
+ this.departments = new (0, _chunkHSBIVZGJcjs.DepartmentsResource)(this.http, this.config.pageSize);
352
+ this.domainRegistrars = new (0, _chunkHSBIVZGJcjs.DomainRegistrarsResource)(this.http, this.config.pageSize);
353
+ this.entityInformation = new (0, _chunkHSBIVZGJcjs.EntityInformationResource)(this.http);
354
+ this.expenseItemAttachments = new (0, _chunkHSBIVZGJcjs.ExpenseItemAttachmentsResource)(this.http, this.config.pageSize);
355
+ this.expenseItems = new (0, _chunkHSBIVZGJcjs.ExpenseItemsResource)(this.http, this.config.pageSize);
356
+ this.expenseReports = new (0, _chunkHSBIVZGJcjs.ExpenseReportsResource)(this.http, this.config.pageSize);
357
+ this.holidaySets = new (0, _chunkHSBIVZGJcjs.HolidaySetsResource)(this.http, this.config.pageSize);
358
+ this.holidays = new (0, _chunkHSBIVZGJcjs.HolidaysResource)(this.http, this.config.pageSize);
359
+ this.inventoryProducts = new (0, _chunkHSBIVZGJcjs.InventoryProductsResource)(this.http, this.config.pageSize);
360
+ this.invoices = new (0, _chunk5QS3VT34cjs.InvoicesResource)(this.http, this.config.pageSize);
361
+ this.invoiceTemplates = new (0, _chunkHSBIVZGJcjs.InvoiceTemplatesResource)(this.http, this.config.pageSize);
362
+ this.modules = new (0, _chunkHSBIVZGJcjs.ModulesResource)(this.http);
363
+ this.notificationHistory = new (0, _chunkHSBIVZGJcjs.NotificationHistoryResource)(this.http, this.config.pageSize);
364
+ this.opportunities = new (0, _chunkHSBIVZGJcjs.OpportunitiesResource)(this.http, this.config.pageSize);
365
+ this.opportunityAttachments = new (0, _chunkHSBIVZGJcjs.OpportunityAttachmentsResource)(this.http, this.config.pageSize);
366
+ this.opportunityCategories = new (0, _chunkHSBIVZGJcjs.OpportunityCategoriesResource)(this.http, this.config.pageSize);
367
+ this.organizationalLevel1s = new (0, _chunk5QS3VT34cjs.OrganizationalLevel1sResource)(this.http, this.config.pageSize);
368
+ this.organizationalLevel2s = new (0, _chunk5QS3VT34cjs.OrganizationalLevel2sResource)(this.http, this.config.pageSize);
369
+ this.organizationalLevelAssociations = new (0, _chunk5QS3VT34cjs.OrganizationalLevelAssociationsResource)(this.http, this.config.pageSize);
370
+ this.phases = new (0, _chunkHSBIVZGJcjs.PhasesResource)(this.http, this.config.pageSize);
371
+ this.products = new (0, _chunkHSBIVZGJcjs.ProductsResource)(this.http, this.config.pageSize);
372
+ this.productVendors = new (0, _chunkHSBIVZGJcjs.ProductVendorsResource)(this.http, this.config.pageSize);
373
+ this.projectCharges = new (0, _chunkHSBIVZGJcjs.ProjectChargesResource)(this.http, this.config.pageSize);
374
+ this.projectNotes = new (0, _chunkHSBIVZGJcjs.ProjectNotesResource)(this.http, this.config.pageSize);
375
+ this.projects = new (0, _chunkHSBIVZGJcjs.ProjectsResource)(this.http, this.config.pageSize);
376
+ this.purchaseApprovals = new (0, _chunkHSBIVZGJcjs.PurchaseApprovalsResource)(this.http, this.config.pageSize);
377
+ this.purchaseOrderItemReceiving = new (0, _chunkHSBIVZGJcjs.PurchaseOrderItemReceivingResource)(this.http, this.config.pageSize);
378
+ this.purchaseOrderItems = new (0, _chunkHSBIVZGJcjs.PurchaseOrderItemsResource)(this.http, this.config.pageSize);
379
+ this.purchaseOrders = new (0, _chunkHSBIVZGJcjs.PurchaseOrdersResource)(this.http, this.config.pageSize);
380
+ this.quoteItems = new (0, _chunkHSBIVZGJcjs.QuoteItemsResource)(this.http, this.config.pageSize);
381
+ this.quoteLocations = new (0, _chunkHSBIVZGJcjs.QuoteLocationsResource)(this.http, this.config.pageSize);
382
+ this.quotes = new (0, _chunkHSBIVZGJcjs.QuotesResource)(this.http, this.config.pageSize);
383
+ this.quoteTemplates = new (0, _chunkHSBIVZGJcjs.QuoteTemplatesResource)(this.http, this.config.pageSize);
384
+ this.resourceRoleQueues = new (0, _chunkHSBIVZGJcjs.ResourceRoleQueuesResource)(this.http, this.config.pageSize);
385
+ this.resourceRoles = new (0, _chunkHSBIVZGJcjs.ResourceRolesResource)(this.http, this.config.pageSize);
386
+ this.resourceSkills = new (0, _chunkHSBIVZGJcjs.ResourceSkillsResource)(this.http, this.config.pageSize);
387
+ this.resources = new (0, _chunk5QS3VT34cjs.ResourcesResource)(this.http, this.config, this.config.pageSize);
388
+ this.resourceTimeOffAdditional = new (0, _chunkHSBIVZGJcjs.ResourceTimeOffAdditionalResource)(this.http, this.config.pageSize);
389
+ this.resourceTimeOffApprovers = new (0, _chunkHSBIVZGJcjs.ResourceTimeOffApproversResource)(this.http, this.config.pageSize);
390
+ this.resourceTimeOffBalances = new (0, _chunkHSBIVZGJcjs.ResourceTimeOffBalancesResource)(this.http, this.config.pageSize);
391
+ this.roles = new (0, _chunkHSBIVZGJcjs.RolesResource)(this.http, this.config.pageSize);
392
+ this.salesOrders = new (0, _chunkHSBIVZGJcjs.SalesOrdersResource)(this.http, this.config.pageSize);
393
+ this.serviceCalls = new (0, _chunkHSBIVZGJcjs.ServiceCallsResource)(this.http, this.config.pageSize);
394
+ this.serviceCallTaskResources = new (0, _chunkHSBIVZGJcjs.ServiceCallTaskResourcesResource)(this.http, this.config.pageSize);
395
+ this.serviceCallTasks = new (0, _chunkHSBIVZGJcjs.ServiceCallTasksResource)(this.http, this.config.pageSize);
396
+ this.serviceCallTicketResources = new (0, _chunkHSBIVZGJcjs.ServiceCallTicketResourcesResource)(this.http, this.config.pageSize);
397
+ this.serviceCallTickets = new (0, _chunkHSBIVZGJcjs.ServiceCallTicketsResource)(this.http, this.config.pageSize);
398
+ this.serviceLevelAgreementResults = new (0, _chunkHSBIVZGJcjs.ServiceLevelAgreementResultsResource)(this.http, this.config.pageSize);
399
+ this.services = new (0, _chunkHSBIVZGJcjs.ServicesResource)(this.http, this.config.pageSize);
400
+ this.skills = new (0, _chunkHSBIVZGJcjs.SkillsResource)(this.http, this.config.pageSize);
401
+ this.subscriptionPeriods = new (0, _chunkHSBIVZGJcjs.SubscriptionPeriodsResource)(this.http, this.config.pageSize);
402
+ this.subscriptions = new (0, _chunkHSBIVZGJcjs.SubscriptionsResource)(this.http, this.config.pageSize);
403
+ this.surveyResults = new (0, _chunkHSBIVZGJcjs.SurveyResultsResource)(this.http, this.config.pageSize);
404
+ this.surveys = new (0, _chunkHSBIVZGJcjs.SurveysResource)(this.http, this.config.pageSize);
405
+ this.tagAliases = new (0, _chunkHSBIVZGJcjs.TagAliasesResource)(this.http, this.config.pageSize);
406
+ this.tagGroups = new (0, _chunkHSBIVZGJcjs.TagGroupsResource)(this.http, this.config.pageSize);
407
+ this.tags = new (0, _chunkHSBIVZGJcjs.TagsResource)(this.http, this.config.pageSize);
408
+ this.taskSecondaryResources = new (0, _chunkHSBIVZGJcjs.TaskSecondaryResourcesResource)(this.http, this.config.pageSize);
409
+ this.tasks = new (0, _chunkHSBIVZGJcjs.TasksResource)(this.http, this.config.pageSize);
410
+ this.taxRegions = new (0, _chunkHSBIVZGJcjs.TaxRegionsResource)(this.http, this.config.pageSize);
411
+ this.thresholdInformation = new (0, _chunkHSBIVZGJcjs.ThresholdInformationResource)(this.http);
412
+ this.ticketAdditionalConfigurationItems = new (0, _chunkHSBIVZGJcjs.TicketAdditionalConfigurationItemsResource)(this.http, this.config.pageSize);
413
+ this.ticketAdditionalContacts = new (0, _chunkHSBIVZGJcjs.TicketAdditionalContactsResource)(this.http, this.config.pageSize);
414
+ this.ticketAttachments = new (0, _chunkHSBIVZGJcjs.TicketAttachmentsResource)(this.http, this.config.pageSize);
415
+ this.ticketCategories = new (0, _chunkHSBIVZGJcjs.TicketCategoriesResource)(this.http, this.config.pageSize);
416
+ this.ticketCategoryFieldDefaults = new (0, _chunkHSBIVZGJcjs.TicketCategoryFieldDefaultsResource)(this.http, this.config.pageSize);
417
+ this.ticketChangeRequestApprovals = new (0, _chunkHSBIVZGJcjs.TicketChangeRequestApprovalsResource)(this.http, this.config.pageSize);
418
+ this.ticketCharges = new (0, _chunkHSBIVZGJcjs.TicketChargesResource)(this.http, this.config.pageSize);
419
+ this.ticketChecklistItems = new (0, _chunkHSBIVZGJcjs.TicketChecklistItemsResource)(this.http, this.config.pageSize);
420
+ this.ticketChecklistLibraries = new (0, _chunkHSBIVZGJcjs.TicketChecklistLibrariesResource)(this.http, this.config.pageSize);
421
+ this.ticketHistory = new (0, _chunkHSBIVZGJcjs.TicketHistoryResource)(this.http, this.config.pageSize);
422
+ this.ticketNoteAttachments = new (0, _chunkHSBIVZGJcjs.TicketNoteAttachmentsResource)(this.http, this.config.pageSize);
423
+ this.ticketNotes = new (0, _chunkHSBIVZGJcjs.TicketNotesResource)(this.http, this.config.pageSize);
424
+ this.ticketNoteWebhooks = new (0, _chunkHSBIVZGJcjs.TicketNoteWebhooksResource)(this.http, this.config.pageSize);
425
+ this.ticketSecondaryResources = new (0, _chunkHSBIVZGJcjs.TicketSecondaryResourcesResource)(this.http, this.config.pageSize);
426
+ this.tickets = new (0, _chunkHSBIVZGJcjs.TicketsResource)(this.http, this.config.pageSize);
427
+ this.ticketWebhooks = new (0, _chunkHSBIVZGJcjs.TicketWebhooksResource)(this.http, this.config.pageSize);
428
+ this.timeEntries = new (0, _chunk5QS3VT34cjs.TimeEntriesResource)(this.http, this.config.pageSize);
429
+ this.timeEntryAttachments = new (0, _chunkHSBIVZGJcjs.TimeEntryAttachmentsResource)(this.http, this.config.pageSize);
430
+ this.timeOffRequests = new (0, _chunkHSBIVZGJcjs.TimeOffRequestsResource)(this.http, this.config.pageSize);
431
+ this.versionInformation = new (0, _chunkHSBIVZGJcjs.VersionInformationResource)(this.http);
432
+ this.version = new (0, _chunkHSBIVZGJcjs.VersionResource)(this.http);
433
+ this.zoneInformation = new (0, _chunkHSBIVZGJcjs.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 _chunkLB34VFQYcjs.runWithSignal.call(void 0, signal, fn);
467
+ return _chunk5QS3VT34cjs.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, _chunkLB34VFQYcjs.AutotaskConfigError)("batch concurrency must be a positive integer");
472
+ throw new (0, _chunk5QS3VT34cjs.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) : _chunkLB34VFQYcjs.runWithSignal.call(void 0, signal, () => fn(item)));
487
+ const value = await (signal === void 0 ? fn(item) : _chunk5QS3VT34cjs.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 };
@@ -20557,7 +20557,7 @@ function createNamePlan(labelFields = [], labelResource) {
20557
20557
  ...lineOfBusinessContractId !== void 0 ? { lineOfBusinessContractId } : {}
20558
20558
  }),
20559
20559
  addResource: (value) => {
20560
- if (!isVendorId(value)) return;
20560
+ if (!isVendorId(value) || Number(value) === 0) return;
20561
20561
  const k = String(value);
20562
20562
  if (!resSeen.has(k)) {
20563
20563
  resSeen.add(k);
@@ -20565,7 +20565,7 @@ function createNamePlan(labelFields = [], labelResource) {
20565
20565
  }
20566
20566
  },
20567
20567
  addFk: (table, value) => {
20568
- if (!isVendorId(value)) return;
20568
+ if (!isVendorId(value) || Number(value) === 0) return;
20569
20569
  const k = `${table}:${String(value)}`;
20570
20570
  if (!fkSeen.has(k)) {
20571
20571
  fkSeen.add(k);
@@ -20787,12 +20787,14 @@ async function resolveCompositeNames(http, plan, opts = {}) {
20787
20787
  const picklists = {};
20788
20788
  if (plan.labelFields.length > 0) {
20789
20789
  let usable = true;
20790
+ let failure;
20790
20791
  try {
20791
20792
  const labelResource = plan.labelResource ?? "tickets";
20792
20793
  const catalog = await fieldCatalog(client, { resources: [labelResource], labels: true, fields: [...plan.labelFields] });
20793
20794
  const row = catalog.rows.find((r) => r.resource === labelResource);
20794
20795
  if (row === void 0 || row.error !== null || row.fields === void 0) {
20795
20796
  usable = false;
20797
+ failure = row?.error ?? { code: "INVALID_RESPONSE", message: `fieldCatalog: no ${labelResource} row` };
20796
20798
  } else {
20797
20799
  for (const f of plan.labelFields) {
20798
20800
  const frow = row.fields.find((x) => x.name === f);
@@ -20800,10 +20802,15 @@ async function resolveCompositeNames(http, plan, opts = {}) {
20800
20802
  }
20801
20803
  }
20802
20804
  } catch (err) {
20803
- if (isAutotaskError(err) && err.code !== "ABORTED") usable = false;
20804
- else throw err;
20805
+ if (isAutotaskError(err) && err.code !== "ABORTED") {
20806
+ usable = false;
20807
+ failure = { code: err.code, message: err.message };
20808
+ } else throw err;
20809
+ }
20810
+ if (!usable) {
20811
+ section.catalogError = failure;
20812
+ for (const f of plan.labelFields) section.reasons[f] = PICKLIST_CATALOG_UNAVAILABLE_NOTE;
20805
20813
  }
20806
- if (!usable) for (const f of plan.labelFields) section.reasons[f] = FIELD_CATALOG_HONESTY_NOTE;
20807
20814
  }
20808
20815
  let lineOfBusiness2 = null;
20809
20816
  const lobId = plan.lineOfBusinessId ?? contractLobPointer;
@@ -20836,7 +20843,7 @@ async function resolveCompositeNames(http, plan, opts = {}) {
20836
20843
  if (value === null || value === void 0) return null;
20837
20844
  const values = picklists[field];
20838
20845
  if (values === void 0) {
20839
- section.reasons[field] = FIELD_CATALOG_HONESTY_NOTE;
20846
+ section.reasons[field] = section.catalogError !== void 0 ? PICKLIST_CATALOG_UNAVAILABLE_NOTE : FIELD_CATALOG_HONESTY_NOTE;
20840
20847
  return null;
20841
20848
  }
20842
20849
  const hit = values.find((v) => String(v.value) === String(value));
@@ -20911,6 +20918,11 @@ async function labelRows(client, resourceKey, rows) {
20911
20918
  }
20912
20919
  const plan = builder.plan();
20913
20920
  const names = plan.resourceIds.length === 0 && plan.recordFks.length === 0 && picklistFields.length === 0 ? void 0 : await resolveCompositeNames(client.http, plan);
20921
+ const secondReadFailed = names?.section.catalogError;
20922
+ if (secondReadFailed !== void 0) {
20923
+ catalogError ??= secondReadFailed;
20924
+ unavailable = [.../* @__PURE__ */ new Set([...unavailable, ...picklistFields])];
20925
+ }
20914
20926
  const out = rows.map((row) => {
20915
20927
  const r = { ...row };
20916
20928
  for (const [field, value] of Object.entries(row)) {
@@ -20956,22 +20968,27 @@ async function labelFetchResults(client, result) {
20956
20968
  });
20957
20969
  const results = [...result.results];
20958
20970
  const summaries = [];
20971
+ const reasons = {};
20972
+ const catalogErrors = {};
20959
20973
  for (const [resource, indices] of byResource) {
20960
20974
  const labelled = await labelRows(client, resource, indices.map((i) => results[i].value));
20961
20975
  indices.forEach((idx, j) => {
20962
20976
  results[idx] = { ...results[idx], value: labelled.rows[j] };
20963
20977
  });
20964
- if (labelled.names !== void 0) summaries.push(labelled.names);
20978
+ if (labelled.names !== void 0) {
20979
+ summaries.push(labelled.names);
20980
+ for (const [field, why] of Object.entries(labelled.names.reasons ?? {})) reasons[`${resource}.${field}`] = why;
20981
+ if (labelled.names.catalogError !== void 0) catalogErrors[resource] = labelled.names.catalogError;
20982
+ }
20965
20983
  }
20966
20984
  if (summaries.length === 0) return { ...result, results };
20967
- const reasons = Object.assign({}, ...summaries.map((s) => s.reasons ?? {}));
20968
- const catalogError = summaries.find((s) => s.catalogError !== void 0)?.catalogError;
20985
+ const catalogError = Object.values(catalogErrors)[0];
20969
20986
  const names = {
20970
20987
  truncated: summaries.some((s) => s.truncated),
20971
20988
  capped: summaries.reduce((n, s) => n + s.capped, 0),
20972
20989
  note: summaries.map((s) => s.note).join("; "),
20973
20990
  ...Object.keys(reasons).length > 0 ? { reasons } : {},
20974
- ...catalogError !== void 0 ? { catalogError } : {}
20991
+ ...catalogError !== void 0 ? { catalogError, catalogErrors } : {}
20975
20992
  };
20976
20993
  return { ...result, results, names };
20977
20994
  }
@@ -4457,8 +4457,15 @@ interface CompositeNamesSection {
4457
4457
  /** One reason row per picklist field whose label could not be resolved
4458
4458
  * (the vendor does not expose the picklist values to this API user — the
4459
4459
  * W-A4 wall): field key -> the fieldCatalog honesty note (the same reason
4460
- * row the op serves). */
4460
+ * row the op serves); {@link PICKLIST_CATALOG_UNAVAILABLE_NOTE} instead when
4461
+ * the catalog read failed (see `catalogError`). */
4461
4462
  reasons: Record<string, string>;
4463
+ /** Issue #304: set when the field-catalog read that serves the picklist
4464
+ * labels FAILED (a transient fault, retryable) — distinct from a picklist the
4465
+ * vendor does not serve. The affected fields carry
4466
+ * {@link PICKLIST_CATALOG_UNAVAILABLE_NOTE}, not the "retrying will not help"
4467
+ * honesty note. */
4468
+ catalogError?: FieldCatalogRowError;
4462
4469
  }
4463
4470
  /** The additive options bag for the getContext-style composite (issue #77;
4464
4471
  * no-arg calls are unchanged). */
@@ -4480,7 +4487,7 @@ interface RowNamesSummary {
4480
4487
  capped: number;
4481
4488
  /** One line a reader can act on. */
4482
4489
  note: string;
4483
- /** Picklist field -> why its `*Label` is null (the fieldCatalog honesty notes). */
4490
+ /** Picklist field -> why its `*Label` is null (the fieldCatalog honesty notes; `<resource>.<field>` in a fetch merge). */
4484
4491
  reasons?: Record<string, string>;
4485
4492
  /** Present when the field-catalog read that serves picklist labels failed
4486
4493
  * and that cost the rows a label (issue #284): picklist labels are
@@ -4491,6 +4498,10 @@ interface RowNamesSummary {
4491
4498
  * in the rows, the failure cost nothing and is not reported. `*Name`
4492
4499
  * siblings do not depend on the catalog and are unaffected. */
4493
4500
  catalogError?: FieldCatalogRowError;
4501
+ /** `fetchMany` / `fetchByIds` only (issue #302): every resource whose
4502
+ * catalog read failed, keyed by resource (`catalogError` is the first of
4503
+ * them). In that merge `reasons` is keyed `<resource>.<field>`. */
4504
+ catalogErrors?: Record<string, FieldCatalogRowError>;
4494
4505
  }
4495
4506
 
4496
4507
  /**
@@ -4457,8 +4457,15 @@ interface CompositeNamesSection {
4457
4457
  /** One reason row per picklist field whose label could not be resolved
4458
4458
  * (the vendor does not expose the picklist values to this API user — the
4459
4459
  * W-A4 wall): field key -> the fieldCatalog honesty note (the same reason
4460
- * row the op serves). */
4460
+ * row the op serves); {@link PICKLIST_CATALOG_UNAVAILABLE_NOTE} instead when
4461
+ * the catalog read failed (see `catalogError`). */
4461
4462
  reasons: Record<string, string>;
4463
+ /** Issue #304: set when the field-catalog read that serves the picklist
4464
+ * labels FAILED (a transient fault, retryable) — distinct from a picklist the
4465
+ * vendor does not serve. The affected fields carry
4466
+ * {@link PICKLIST_CATALOG_UNAVAILABLE_NOTE}, not the "retrying will not help"
4467
+ * honesty note. */
4468
+ catalogError?: FieldCatalogRowError;
4462
4469
  }
4463
4470
  /** The additive options bag for the getContext-style composite (issue #77;
4464
4471
  * no-arg calls are unchanged). */
@@ -4480,7 +4487,7 @@ interface RowNamesSummary {
4480
4487
  capped: number;
4481
4488
  /** One line a reader can act on. */
4482
4489
  note: string;
4483
- /** Picklist field -> why its `*Label` is null (the fieldCatalog honesty notes). */
4490
+ /** Picklist field -> why its `*Label` is null (the fieldCatalog honesty notes; `<resource>.<field>` in a fetch merge). */
4484
4491
  reasons?: Record<string, string>;
4485
4492
  /** Present when the field-catalog read that serves picklist labels failed
4486
4493
  * and that cost the rows a label (issue #284): picklist labels are
@@ -4491,6 +4498,10 @@ interface RowNamesSummary {
4491
4498
  * in the rows, the failure cost nothing and is not reported. `*Name`
4492
4499
  * siblings do not depend on the catalog and are unaffected. */
4493
4500
  catalogError?: FieldCatalogRowError;
4501
+ /** `fetchMany` / `fetchByIds` only (issue #302): every resource whose
4502
+ * catalog read failed, keyed by resource (`catalogError` is the first of
4503
+ * them). In that merge `reasons` is keyed `<resource>.<field>`. */
4504
+ catalogErrors?: Record<string, FieldCatalogRowError>;
4494
4505
  }
4495
4506
 
4496
4507
  /**