node-autotask 0.39.1 → 0.39.3

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.
@@ -1095,6 +1095,7 @@ function credentialShapeProblem(value, options = {}) {
1095
1095
  return "single- or double-quote surrounding the value";
1096
1096
  }
1097
1097
  if (value.includes("\r")) return "carriage return";
1098
+ if (value.includes("\n")) return "line feed";
1098
1099
  return void 0;
1099
1100
  }
1100
1101
  var CREDENTIAL_ENV_LOAD_ACTION = "value appears shell-quoted or line-break contaminated \u2014 check how your env file was loaded (single-quoted values must be shell-sourced, not parsed by a quote-preserving loader)";
@@ -17469,7 +17470,7 @@ var HttpClient = class {
17469
17470
  }
17470
17471
  /** A real write (even a failed one — it may have partly applied) voids cached reads. */
17471
17472
  invalidateAfterWrite(opts) {
17472
- if (opts.method === "GET" || opts.idempotent === true) return;
17473
+ if (opts.method === "GET" || opts.idempotent === true && /\/query(\/|\?|$)/.test(opts.path)) return;
17473
17474
  this.readCache?.clear();
17474
17475
  this.latestCountCache.clear();
17475
17476
  const nameOp = typeof opts.operation === "string" ? opts.operation : void 0;
@@ -20281,9 +20282,9 @@ var MutationBase = class extends MetaBase {
20281
20282
  const first = matches[0];
20282
20283
  if (first !== void 0) {
20283
20284
  const firstId = first.id;
20284
- if (typeof firstId === "number") {
20285
+ if (isIdentifierCandidate(firstId)) {
20285
20286
  existing = first;
20286
- existingId = firstId;
20287
+ existingId = parseIdentifier(firstId, "id");
20287
20288
  }
20288
20289
  }
20289
20290
  }
@@ -20382,9 +20383,13 @@ var MutationBase = class extends MetaBase {
20382
20383
  );
20383
20384
  }
20384
20385
  let parent = null;
20385
- if (typeof parentId === "number" && Number.isInteger(parentId) && parentId >= 0) {
20386
+ if (isIdentifierCandidate(parentId)) {
20386
20387
  try {
20387
- parent = await this.fetchRecordRaw(parentPath, parentId, true);
20388
+ parent = await this.fetchRecordRaw(
20389
+ parentPath,
20390
+ parseIdentifier(parentId, "parentId"),
20391
+ true
20392
+ );
20388
20393
  } catch (err) {
20389
20394
  if (!(err instanceof NotFoundError)) throw err;
20390
20395
  }
@@ -20557,7 +20562,7 @@ function createNamePlan(labelFields = [], labelResource) {
20557
20562
  ...lineOfBusinessContractId !== void 0 ? { lineOfBusinessContractId } : {}
20558
20563
  }),
20559
20564
  addResource: (value) => {
20560
- if (!isVendorId(value)) return;
20565
+ if (!isVendorId(value) || Number(value) === 0) return;
20561
20566
  const k = String(value);
20562
20567
  if (!resSeen.has(k)) {
20563
20568
  resSeen.add(k);
@@ -20565,7 +20570,7 @@ function createNamePlan(labelFields = [], labelResource) {
20565
20570
  }
20566
20571
  },
20567
20572
  addFk: (table, value) => {
20568
- if (!isVendorId(value)) return;
20573
+ if (!isVendorId(value) || Number(value) === 0) return;
20569
20574
  const k = `${table}:${String(value)}`;
20570
20575
  if (!fkSeen.has(k)) {
20571
20576
  fkSeen.add(k);
@@ -20787,12 +20792,14 @@ async function resolveCompositeNames(http, plan, opts = {}) {
20787
20792
  const picklists = {};
20788
20793
  if (plan.labelFields.length > 0) {
20789
20794
  let usable = true;
20795
+ let failure;
20790
20796
  try {
20791
20797
  const labelResource = plan.labelResource ?? "tickets";
20792
20798
  const catalog = await fieldCatalog(client, { resources: [labelResource], labels: true, fields: [...plan.labelFields] });
20793
20799
  const row = catalog.rows.find((r) => r.resource === labelResource);
20794
20800
  if (row === void 0 || row.error !== null || row.fields === void 0) {
20795
20801
  usable = false;
20802
+ failure = row?.error ?? { code: "INVALID_RESPONSE", message: `fieldCatalog: no ${labelResource} row` };
20796
20803
  } else {
20797
20804
  for (const f of plan.labelFields) {
20798
20805
  const frow = row.fields.find((x) => x.name === f);
@@ -20800,10 +20807,15 @@ async function resolveCompositeNames(http, plan, opts = {}) {
20800
20807
  }
20801
20808
  }
20802
20809
  } catch (err) {
20803
- if (isAutotaskError(err) && err.code !== "ABORTED") usable = false;
20804
- else throw err;
20810
+ if (isAutotaskError(err) && err.code !== "ABORTED") {
20811
+ usable = false;
20812
+ failure = { code: err.code, message: err.message };
20813
+ } else throw err;
20814
+ }
20815
+ if (!usable) {
20816
+ section.catalogError = failure;
20817
+ for (const f of plan.labelFields) section.reasons[f] = PICKLIST_CATALOG_UNAVAILABLE_NOTE;
20805
20818
  }
20806
- if (!usable) for (const f of plan.labelFields) section.reasons[f] = FIELD_CATALOG_HONESTY_NOTE;
20807
20819
  }
20808
20820
  let lineOfBusiness2 = null;
20809
20821
  const lobId = plan.lineOfBusinessId ?? contractLobPointer;
@@ -20836,7 +20848,7 @@ async function resolveCompositeNames(http, plan, opts = {}) {
20836
20848
  if (value === null || value === void 0) return null;
20837
20849
  const values = picklists[field];
20838
20850
  if (values === void 0) {
20839
- section.reasons[field] = FIELD_CATALOG_HONESTY_NOTE;
20851
+ section.reasons[field] = section.catalogError !== void 0 ? PICKLIST_CATALOG_UNAVAILABLE_NOTE : FIELD_CATALOG_HONESTY_NOTE;
20840
20852
  return null;
20841
20853
  }
20842
20854
  const hit = values.find((v) => String(v.value) === String(value));
@@ -20870,7 +20882,7 @@ function readNamesOpt(value, where) {
20870
20882
  }
20871
20883
  return value;
20872
20884
  }
20873
- async function labelRows(client, resourceKey, rows) {
20885
+ async function labelRows(client, resourceKey, rows, resourceKeyedReasons = false) {
20874
20886
  const keys = /* @__PURE__ */ new Set();
20875
20887
  for (const row of rows) for (const k of Object.keys(row)) keys.add(k);
20876
20888
  if (keys.size === 0) return { rows: [...rows] };
@@ -20911,6 +20923,11 @@ async function labelRows(client, resourceKey, rows) {
20911
20923
  }
20912
20924
  const plan = builder.plan();
20913
20925
  const names = plan.resourceIds.length === 0 && plan.recordFks.length === 0 && picklistFields.length === 0 ? void 0 : await resolveCompositeNames(client.http, plan);
20926
+ const secondReadFailed = names?.section.catalogError;
20927
+ if (secondReadFailed !== void 0) {
20928
+ catalogError ??= secondReadFailed;
20929
+ unavailable = [.../* @__PURE__ */ new Set([...unavailable, ...picklistFields])];
20930
+ }
20914
20931
  const out = rows.map((row) => {
20915
20932
  const r = { ...row };
20916
20933
  for (const [field, value] of Object.entries(row)) {
@@ -20932,7 +20949,7 @@ async function labelRows(client, resourceKey, rows) {
20932
20949
  if (capped === 0 && unresolved.length === 0 && catalogError === void 0) return { rows: out };
20933
20950
  const parts = [];
20934
20951
  if (capped > 0) parts.push(`${capped} id(s) left unlabelled (their *Name is null): the per-call cap of ${DEFAULT_MAX_NAME_READS} uncached name reads was hit \u2014 names already read are cached, so repeating or narrowing the call labels more`);
20935
- if (unresolved.length > 0) parts.push(`picklist label(s) unavailable for ${unresolved.join(", ")} (see reasons)`);
20952
+ if (unresolved.length > 0) parts.push(`picklist label(s) unavailable for ${unresolved.map((f) => resourceKeyedReasons ? `${resourceKey}.${f}` : f).join(", ")} (see reasons)`);
20936
20953
  if (catalogError !== void 0) {
20937
20954
  parts.push(
20938
20955
  `the ${resourceKey} field catalog read failed (${catalogError.code}), so picklist labels are unavailable for this call, not absent: ` + (unavailable.length > 0 ? `the *Label is null for ${unavailable.join(", ")}` : "no *Label sibling was added (the picklist fields are unknown until a catalog read succeeds)") + " \u2014 retry the call to label them"
@@ -20956,22 +20973,27 @@ async function labelFetchResults(client, result) {
20956
20973
  });
20957
20974
  const results = [...result.results];
20958
20975
  const summaries = [];
20976
+ const reasons = {};
20977
+ const catalogErrors = {};
20959
20978
  for (const [resource, indices] of byResource) {
20960
- const labelled = await labelRows(client, resource, indices.map((i) => results[i].value));
20979
+ const labelled = await labelRows(client, resource, indices.map((i) => results[i].value), true);
20961
20980
  indices.forEach((idx, j) => {
20962
20981
  results[idx] = { ...results[idx], value: labelled.rows[j] };
20963
20982
  });
20964
- if (labelled.names !== void 0) summaries.push(labelled.names);
20983
+ if (labelled.names !== void 0) {
20984
+ summaries.push(labelled.names);
20985
+ for (const [field, why] of Object.entries(labelled.names.reasons ?? {})) reasons[`${resource}.${field}`] = why;
20986
+ if (labelled.names.catalogError !== void 0) catalogErrors[resource] = labelled.names.catalogError;
20987
+ }
20965
20988
  }
20966
20989
  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;
20990
+ const catalogError = Object.values(catalogErrors)[0];
20969
20991
  const names = {
20970
20992
  truncated: summaries.some((s) => s.truncated),
20971
20993
  capped: summaries.reduce((n, s) => n + s.capped, 0),
20972
20994
  note: summaries.map((s) => s.note).join("; "),
20973
20995
  ...Object.keys(reasons).length > 0 ? { reasons } : {},
20974
- ...catalogError !== void 0 ? { catalogError } : {}
20996
+ ...catalogError !== void 0 ? { catalogError, catalogErrors } : {}
20975
20997
  };
20976
20998
  return { ...result, results, names };
20977
20999
  }
@@ -30,7 +30,7 @@ import {
30
30
  unwrapItems,
31
31
  unwrapOperation,
32
32
  vendorId
33
- } from "./chunk-LN3HQQBR.js";
33
+ } from "./chunk-GSMFRPYB.js";
34
34
  import {
35
35
  CAPABILITIES
36
36
  } from "./chunk-GDSCYY2G.js";
@@ -125,7 +125,7 @@
125
125
 
126
126
 
127
127
 
128
- var _chunkGIVYTQ6Rcjs = require('./chunk-GIVYTQ6R.cjs');
128
+ var _chunkF4YDKUGYcjs = require('./chunk-F4YDKUGY.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 _chunkBPRDYT5Lcjs = require('./chunk-BPRDYT5L.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 = _chunkBPRDYT5Lcjs.resolveConfig.call(void 0, options);
296
+ this.http = new (0, _chunkBPRDYT5Lcjs.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, _chunkF4YDKUGYcjs.AppointmentsResource)(this.http, this.config.pageSize);
299
+ this.authenticateResource = new (0, _chunkF4YDKUGYcjs.AuthenticateResource)(this.http);
300
+ this.billingCodes = new (0, _chunkBPRDYT5Lcjs.BillingCodesResource)(this.http, this.config.pageSize);
301
+ this.billingItemApprovalLevels = new (0, _chunkF4YDKUGYcjs.BillingItemApprovalLevelsResource)(this.http, this.config.pageSize);
302
+ this.billingItems = new (0, _chunkBPRDYT5Lcjs.BillingItemsResource)(this.http, this.config.pageSize);
303
+ this.changeRequestLinks = new (0, _chunkF4YDKUGYcjs.ChangeRequestLinksResource)(this.http, this.config.pageSize);
304
+ this.checklistLibraries = new (0, _chunkF4YDKUGYcjs.ChecklistLibrariesResource)(this.http, this.config.pageSize);
305
+ this.checklistLibraryChecklistItems = new (0, _chunkF4YDKUGYcjs.ChecklistLibraryChecklistItemsResource)(this.http, this.config.pageSize);
306
+ this.classificationIcons = new (0, _chunkF4YDKUGYcjs.ClassificationIconsResource)(this.http, this.config.pageSize);
307
+ this.companies = new (0, _chunkBPRDYT5Lcjs.CompaniesResource)(this.http, this.config.pageSize);
308
+ this.companyAlerts = new (0, _chunkF4YDKUGYcjs.CompanyAlertsResource)(this.http, this.config.pageSize);
309
+ this.companyLocations = new (0, _chunkF4YDKUGYcjs.CompanyLocationsResource)(this.http, this.config.pageSize);
310
+ this.companyNotes = new (0, _chunkF4YDKUGYcjs.CompanyNotesResource)(this.http, this.config.pageSize);
311
+ this.companySiteConfigurations = new (0, _chunkF4YDKUGYcjs.CompanySiteConfigurationsResource)(this.http, this.config.pageSize);
312
+ this.companyWebhooks = new (0, _chunkF4YDKUGYcjs.CompanyWebhooksResource)(this.http, this.config.pageSize);
313
+ this.configurationItemBillingProductAssociations = new (0, _chunkF4YDKUGYcjs.ConfigurationItemBillingProductAssociationsResource)(this.http, this.config.pageSize);
314
+ this.configurationItemCategories = new (0, _chunkF4YDKUGYcjs.ConfigurationItemCategoriesResource)(this.http, this.config.pageSize);
315
+ this.configurationItemCategoryUdfAssociations = new (0, _chunkF4YDKUGYcjs.ConfigurationItemCategoryUdfAssociationsResource)(this.http, this.config.pageSize);
316
+ this.configurationItemDnsRecords = new (0, _chunkF4YDKUGYcjs.ConfigurationItemDnsRecordsResource)(this.http, this.config.pageSize);
317
+ this.configurationItemNotes = new (0, _chunkF4YDKUGYcjs.ConfigurationItemNotesResource)(this.http, this.config.pageSize);
318
+ this.configurationItemRelatedItems = new (0, _chunkF4YDKUGYcjs.ConfigurationItemRelatedItemsResource)(this.http, this.config.pageSize);
319
+ this.configurationItems = new (0, _chunkF4YDKUGYcjs.ConfigurationItemsResource)(this.http, this.config.pageSize);
320
+ this.configurationItemSslSubjectAlternativeNames = new (0, _chunkF4YDKUGYcjs.ConfigurationItemSslSubjectAlternativeNamesResource)(this.http, this.config.pageSize);
321
+ this.configurationItemTypes = new (0, _chunkF4YDKUGYcjs.ConfigurationItemTypesResource)(this.http, this.config.pageSize);
322
+ this.configurationItemWebhooks = new (0, _chunkF4YDKUGYcjs.ConfigurationItemWebhooksResource)(this.http, this.config.pageSize);
323
+ this.contactGroupContacts = new (0, _chunkF4YDKUGYcjs.ContactGroupContactsResource)(this.http, this.config.pageSize);
324
+ this.contactGroups = new (0, _chunkF4YDKUGYcjs.ContactGroupsResource)(this.http, this.config.pageSize);
325
+ this.contacts = new (0, _chunkF4YDKUGYcjs.ContactsResource)(this.http, this.config.pageSize);
326
+ this.contactWebhooks = new (0, _chunkF4YDKUGYcjs.ContactWebhooksResource)(this.http, this.config.pageSize);
327
+ this.contractBillingRules = new (0, _chunkF4YDKUGYcjs.ContractBillingRulesResource)(this.http, this.config.pageSize);
328
+ this.contractBlockHourFactors = new (0, _chunkF4YDKUGYcjs.ContractBlockHourFactorsResource)(this.http, this.config.pageSize);
329
+ this.contractBlocks = new (0, _chunkF4YDKUGYcjs.ContractBlocksResource)(this.http, this.config.pageSize);
330
+ this.contractCharges = new (0, _chunkF4YDKUGYcjs.ContractChargesResource)(this.http, this.config.pageSize);
331
+ this.contractExclusionBillingCodes = new (0, _chunkF4YDKUGYcjs.ContractExclusionBillingCodesResource)(this.http, this.config.pageSize);
332
+ this.contractExclusionRoles = new (0, _chunkF4YDKUGYcjs.ContractExclusionRolesResource)(this.http, this.config.pageSize);
333
+ this.contractExclusionSetExcludedRoles = new (0, _chunkF4YDKUGYcjs.ContractExclusionSetExcludedRolesResource)(this.http, this.config.pageSize);
334
+ this.contractExclusionSetExcludedWorkTypes = new (0, _chunkF4YDKUGYcjs.ContractExclusionSetExcludedWorkTypesResource)(this.http, this.config.pageSize);
335
+ this.contractExclusionSets = new (0, _chunkF4YDKUGYcjs.ContractExclusionSetsResource)(this.http, this.config.pageSize);
336
+ this.contractMilestones = new (0, _chunkF4YDKUGYcjs.ContractMilestonesResource)(this.http, this.config.pageSize);
337
+ this.contractNotes = new (0, _chunkF4YDKUGYcjs.ContractNotesResource)(this.http, this.config.pageSize);
338
+ this.contractRates = new (0, _chunkF4YDKUGYcjs.ContractRatesResource)(this.http, this.config.pageSize);
339
+ this.contractRetainers = new (0, _chunkF4YDKUGYcjs.ContractRetainersResource)(this.http, this.config.pageSize);
340
+ this.contractRoleCosts = new (0, _chunkF4YDKUGYcjs.ContractRoleCostsResource)(this.http, this.config.pageSize);
341
+ this.contractServiceAdjustments = new (0, _chunkF4YDKUGYcjs.ContractServiceAdjustmentsResource)(this.http, this.config.pageSize);
342
+ this.contractServiceBundleAdjustments = new (0, _chunkF4YDKUGYcjs.ContractServiceBundleAdjustmentsResource)(this.http, this.config.pageSize);
343
+ this.contractServiceBundles = new (0, _chunkF4YDKUGYcjs.ContractServiceBundlesResource)(this.http, this.config.pageSize);
344
+ this.contractServiceBundleUnits = new (0, _chunkF4YDKUGYcjs.ContractServiceBundleUnitsResource)(this.http, this.config.pageSize);
345
+ this.contractServices = new (0, _chunkF4YDKUGYcjs.ContractServicesResource)(this.http, this.config.pageSize);
346
+ this.contractServiceUnits = new (0, _chunkF4YDKUGYcjs.ContractServiceUnitsResource)(this.http, this.config.pageSize);
347
+ this.contracts = new (0, _chunkBPRDYT5Lcjs.ContractsResource)(this.http, this.config.pageSize);
348
+ this.contractTicketPurchases = new (0, _chunkF4YDKUGYcjs.ContractTicketPurchasesResource)(this.http, this.config.pageSize);
349
+ this.countries = new (0, _chunkF4YDKUGYcjs.CountriesResource)(this.http, this.config.pageSize);
350
+ this.currencies = new (0, _chunkF4YDKUGYcjs.CurrenciesResource)(this.http, this.config.pageSize);
351
+ this.departments = new (0, _chunkF4YDKUGYcjs.DepartmentsResource)(this.http, this.config.pageSize);
352
+ this.domainRegistrars = new (0, _chunkF4YDKUGYcjs.DomainRegistrarsResource)(this.http, this.config.pageSize);
353
+ this.entityInformation = new (0, _chunkF4YDKUGYcjs.EntityInformationResource)(this.http);
354
+ this.expenseItemAttachments = new (0, _chunkF4YDKUGYcjs.ExpenseItemAttachmentsResource)(this.http, this.config.pageSize);
355
+ this.expenseItems = new (0, _chunkF4YDKUGYcjs.ExpenseItemsResource)(this.http, this.config.pageSize);
356
+ this.expenseReports = new (0, _chunkF4YDKUGYcjs.ExpenseReportsResource)(this.http, this.config.pageSize);
357
+ this.holidaySets = new (0, _chunkF4YDKUGYcjs.HolidaySetsResource)(this.http, this.config.pageSize);
358
+ this.holidays = new (0, _chunkF4YDKUGYcjs.HolidaysResource)(this.http, this.config.pageSize);
359
+ this.inventoryProducts = new (0, _chunkF4YDKUGYcjs.InventoryProductsResource)(this.http, this.config.pageSize);
360
+ this.invoices = new (0, _chunkBPRDYT5Lcjs.InvoicesResource)(this.http, this.config.pageSize);
361
+ this.invoiceTemplates = new (0, _chunkF4YDKUGYcjs.InvoiceTemplatesResource)(this.http, this.config.pageSize);
362
+ this.modules = new (0, _chunkF4YDKUGYcjs.ModulesResource)(this.http);
363
+ this.notificationHistory = new (0, _chunkF4YDKUGYcjs.NotificationHistoryResource)(this.http, this.config.pageSize);
364
+ this.opportunities = new (0, _chunkF4YDKUGYcjs.OpportunitiesResource)(this.http, this.config.pageSize);
365
+ this.opportunityAttachments = new (0, _chunkF4YDKUGYcjs.OpportunityAttachmentsResource)(this.http, this.config.pageSize);
366
+ this.opportunityCategories = new (0, _chunkF4YDKUGYcjs.OpportunityCategoriesResource)(this.http, this.config.pageSize);
367
+ this.organizationalLevel1s = new (0, _chunkBPRDYT5Lcjs.OrganizationalLevel1sResource)(this.http, this.config.pageSize);
368
+ this.organizationalLevel2s = new (0, _chunkBPRDYT5Lcjs.OrganizationalLevel2sResource)(this.http, this.config.pageSize);
369
+ this.organizationalLevelAssociations = new (0, _chunkBPRDYT5Lcjs.OrganizationalLevelAssociationsResource)(this.http, this.config.pageSize);
370
+ this.phases = new (0, _chunkF4YDKUGYcjs.PhasesResource)(this.http, this.config.pageSize);
371
+ this.products = new (0, _chunkF4YDKUGYcjs.ProductsResource)(this.http, this.config.pageSize);
372
+ this.productVendors = new (0, _chunkF4YDKUGYcjs.ProductVendorsResource)(this.http, this.config.pageSize);
373
+ this.projectCharges = new (0, _chunkF4YDKUGYcjs.ProjectChargesResource)(this.http, this.config.pageSize);
374
+ this.projectNotes = new (0, _chunkF4YDKUGYcjs.ProjectNotesResource)(this.http, this.config.pageSize);
375
+ this.projects = new (0, _chunkF4YDKUGYcjs.ProjectsResource)(this.http, this.config.pageSize);
376
+ this.purchaseApprovals = new (0, _chunkF4YDKUGYcjs.PurchaseApprovalsResource)(this.http, this.config.pageSize);
377
+ this.purchaseOrderItemReceiving = new (0, _chunkF4YDKUGYcjs.PurchaseOrderItemReceivingResource)(this.http, this.config.pageSize);
378
+ this.purchaseOrderItems = new (0, _chunkF4YDKUGYcjs.PurchaseOrderItemsResource)(this.http, this.config.pageSize);
379
+ this.purchaseOrders = new (0, _chunkF4YDKUGYcjs.PurchaseOrdersResource)(this.http, this.config.pageSize);
380
+ this.quoteItems = new (0, _chunkF4YDKUGYcjs.QuoteItemsResource)(this.http, this.config.pageSize);
381
+ this.quoteLocations = new (0, _chunkF4YDKUGYcjs.QuoteLocationsResource)(this.http, this.config.pageSize);
382
+ this.quotes = new (0, _chunkF4YDKUGYcjs.QuotesResource)(this.http, this.config.pageSize);
383
+ this.quoteTemplates = new (0, _chunkF4YDKUGYcjs.QuoteTemplatesResource)(this.http, this.config.pageSize);
384
+ this.resourceRoleQueues = new (0, _chunkF4YDKUGYcjs.ResourceRoleQueuesResource)(this.http, this.config.pageSize);
385
+ this.resourceRoles = new (0, _chunkF4YDKUGYcjs.ResourceRolesResource)(this.http, this.config.pageSize);
386
+ this.resourceSkills = new (0, _chunkF4YDKUGYcjs.ResourceSkillsResource)(this.http, this.config.pageSize);
387
+ this.resources = new (0, _chunkBPRDYT5Lcjs.ResourcesResource)(this.http, this.config, this.config.pageSize);
388
+ this.resourceTimeOffAdditional = new (0, _chunkF4YDKUGYcjs.ResourceTimeOffAdditionalResource)(this.http, this.config.pageSize);
389
+ this.resourceTimeOffApprovers = new (0, _chunkF4YDKUGYcjs.ResourceTimeOffApproversResource)(this.http, this.config.pageSize);
390
+ this.resourceTimeOffBalances = new (0, _chunkF4YDKUGYcjs.ResourceTimeOffBalancesResource)(this.http, this.config.pageSize);
391
+ this.roles = new (0, _chunkF4YDKUGYcjs.RolesResource)(this.http, this.config.pageSize);
392
+ this.salesOrders = new (0, _chunkF4YDKUGYcjs.SalesOrdersResource)(this.http, this.config.pageSize);
393
+ this.serviceCalls = new (0, _chunkF4YDKUGYcjs.ServiceCallsResource)(this.http, this.config.pageSize);
394
+ this.serviceCallTaskResources = new (0, _chunkF4YDKUGYcjs.ServiceCallTaskResourcesResource)(this.http, this.config.pageSize);
395
+ this.serviceCallTasks = new (0, _chunkF4YDKUGYcjs.ServiceCallTasksResource)(this.http, this.config.pageSize);
396
+ this.serviceCallTicketResources = new (0, _chunkF4YDKUGYcjs.ServiceCallTicketResourcesResource)(this.http, this.config.pageSize);
397
+ this.serviceCallTickets = new (0, _chunkF4YDKUGYcjs.ServiceCallTicketsResource)(this.http, this.config.pageSize);
398
+ this.serviceLevelAgreementResults = new (0, _chunkF4YDKUGYcjs.ServiceLevelAgreementResultsResource)(this.http, this.config.pageSize);
399
+ this.services = new (0, _chunkF4YDKUGYcjs.ServicesResource)(this.http, this.config.pageSize);
400
+ this.skills = new (0, _chunkF4YDKUGYcjs.SkillsResource)(this.http, this.config.pageSize);
401
+ this.subscriptionPeriods = new (0, _chunkF4YDKUGYcjs.SubscriptionPeriodsResource)(this.http, this.config.pageSize);
402
+ this.subscriptions = new (0, _chunkF4YDKUGYcjs.SubscriptionsResource)(this.http, this.config.pageSize);
403
+ this.surveyResults = new (0, _chunkF4YDKUGYcjs.SurveyResultsResource)(this.http, this.config.pageSize);
404
+ this.surveys = new (0, _chunkF4YDKUGYcjs.SurveysResource)(this.http, this.config.pageSize);
405
+ this.tagAliases = new (0, _chunkF4YDKUGYcjs.TagAliasesResource)(this.http, this.config.pageSize);
406
+ this.tagGroups = new (0, _chunkF4YDKUGYcjs.TagGroupsResource)(this.http, this.config.pageSize);
407
+ this.tags = new (0, _chunkF4YDKUGYcjs.TagsResource)(this.http, this.config.pageSize);
408
+ this.taskSecondaryResources = new (0, _chunkF4YDKUGYcjs.TaskSecondaryResourcesResource)(this.http, this.config.pageSize);
409
+ this.tasks = new (0, _chunkF4YDKUGYcjs.TasksResource)(this.http, this.config.pageSize);
410
+ this.taxRegions = new (0, _chunkF4YDKUGYcjs.TaxRegionsResource)(this.http, this.config.pageSize);
411
+ this.thresholdInformation = new (0, _chunkF4YDKUGYcjs.ThresholdInformationResource)(this.http);
412
+ this.ticketAdditionalConfigurationItems = new (0, _chunkF4YDKUGYcjs.TicketAdditionalConfigurationItemsResource)(this.http, this.config.pageSize);
413
+ this.ticketAdditionalContacts = new (0, _chunkF4YDKUGYcjs.TicketAdditionalContactsResource)(this.http, this.config.pageSize);
414
+ this.ticketAttachments = new (0, _chunkF4YDKUGYcjs.TicketAttachmentsResource)(this.http, this.config.pageSize);
415
+ this.ticketCategories = new (0, _chunkF4YDKUGYcjs.TicketCategoriesResource)(this.http, this.config.pageSize);
416
+ this.ticketCategoryFieldDefaults = new (0, _chunkF4YDKUGYcjs.TicketCategoryFieldDefaultsResource)(this.http, this.config.pageSize);
417
+ this.ticketChangeRequestApprovals = new (0, _chunkF4YDKUGYcjs.TicketChangeRequestApprovalsResource)(this.http, this.config.pageSize);
418
+ this.ticketCharges = new (0, _chunkF4YDKUGYcjs.TicketChargesResource)(this.http, this.config.pageSize);
419
+ this.ticketChecklistItems = new (0, _chunkF4YDKUGYcjs.TicketChecklistItemsResource)(this.http, this.config.pageSize);
420
+ this.ticketChecklistLibraries = new (0, _chunkF4YDKUGYcjs.TicketChecklistLibrariesResource)(this.http, this.config.pageSize);
421
+ this.ticketHistory = new (0, _chunkF4YDKUGYcjs.TicketHistoryResource)(this.http, this.config.pageSize);
422
+ this.ticketNoteAttachments = new (0, _chunkF4YDKUGYcjs.TicketNoteAttachmentsResource)(this.http, this.config.pageSize);
423
+ this.ticketNotes = new (0, _chunkF4YDKUGYcjs.TicketNotesResource)(this.http, this.config.pageSize);
424
+ this.ticketNoteWebhooks = new (0, _chunkF4YDKUGYcjs.TicketNoteWebhooksResource)(this.http, this.config.pageSize);
425
+ this.ticketSecondaryResources = new (0, _chunkF4YDKUGYcjs.TicketSecondaryResourcesResource)(this.http, this.config.pageSize);
426
+ this.tickets = new (0, _chunkF4YDKUGYcjs.TicketsResource)(this.http, this.config.pageSize);
427
+ this.ticketWebhooks = new (0, _chunkF4YDKUGYcjs.TicketWebhooksResource)(this.http, this.config.pageSize);
428
+ this.timeEntries = new (0, _chunkBPRDYT5Lcjs.TimeEntriesResource)(this.http, this.config.pageSize);
429
+ this.timeEntryAttachments = new (0, _chunkF4YDKUGYcjs.TimeEntryAttachmentsResource)(this.http, this.config.pageSize);
430
+ this.timeOffRequests = new (0, _chunkF4YDKUGYcjs.TimeOffRequestsResource)(this.http, this.config.pageSize);
431
+ this.versionInformation = new (0, _chunkF4YDKUGYcjs.VersionInformationResource)(this.http);
432
+ this.version = new (0, _chunkF4YDKUGYcjs.VersionResource)(this.http);
433
+ this.zoneInformation = new (0, _chunkF4YDKUGYcjs.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 _chunkBPRDYT5Lcjs.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, _chunkBPRDYT5Lcjs.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) : _chunkBPRDYT5Lcjs.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 };
@@ -1399,7 +1399,9 @@ interface RequestOptions {
1399
1399
  * the 429 leg retries GET/PUT/DELETE (the pre-#105 rule, unchanged); the
1400
1400
  * 5xx/network leg retries GET only (issue #105 — an unflagged mutation
1401
1401
  * makes exactly one send there; a 429 on an unflagged POST/PATCH still
1402
- * surfaces at once, as before #105).
1402
+ * surfaces at once, as before #105). Retry only: a flagged mutation still
1403
+ * voids cached reads like any other write (only GET and `/query`
1404
+ * reads skip the invalidation).
1403
1405
  */
1404
1406
  idempotent?: boolean;
1405
1407
  /**
@@ -2668,8 +2670,8 @@ declare abstract class MutationBase<T = Record<string, unknown>, TCreate = Recor
2668
2670
  * - subsequent pages: the vendor returns an ABSOLUTE `pageDetails.nextPageUrl`
2669
2671
  * cursor; the walk POSTs the SAME body (`buildQueryBody` — MaxRecords,
2670
2672
  * IncludeFields, the preserved filter) to the cursor
2671
- * (same-origin: stripped of the client base; cross-origin: re-based onto the
2672
- * client base URL, mirroring the node's custom-zone behaviour) until
2673
+ * (same-origin: stripped to the client base and used; cross-origin: refused
2674
+ * with ResponseRejectedError, zero wire — issue #54) until
2673
2675
  * `nextPageUrl` is null. The 1000-page guard (`MAX_PAGES`) is enforced by
2674
2676
  * the G3 walker (`PaginationLimitError` before the 1001st fetch).
2675
2677
  * - `item: null` on a single GET is the vendor not-found signal →
@@ -4457,8 +4459,15 @@ interface CompositeNamesSection {
4457
4459
  /** One reason row per picklist field whose label could not be resolved
4458
4460
  * (the vendor does not expose the picklist values to this API user — the
4459
4461
  * W-A4 wall): field key -> the fieldCatalog honesty note (the same reason
4460
- * row the op serves). */
4462
+ * row the op serves); {@link PICKLIST_CATALOG_UNAVAILABLE_NOTE} instead when
4463
+ * the catalog read failed (see `catalogError`). */
4461
4464
  reasons: Record<string, string>;
4465
+ /** Issue #304: set when the field-catalog read that serves the picklist
4466
+ * labels FAILED (a transient fault, retryable) — distinct from a picklist the
4467
+ * vendor does not serve. The affected fields carry
4468
+ * {@link PICKLIST_CATALOG_UNAVAILABLE_NOTE}, not the "retrying will not help"
4469
+ * honesty note. */
4470
+ catalogError?: FieldCatalogRowError;
4462
4471
  }
4463
4472
  /** The additive options bag for the getContext-style composite (issue #77;
4464
4473
  * no-arg calls are unchanged). */
@@ -4480,7 +4489,7 @@ interface RowNamesSummary {
4480
4489
  capped: number;
4481
4490
  /** One line a reader can act on. */
4482
4491
  note: string;
4483
- /** Picklist field -> why its `*Label` is null (the fieldCatalog honesty notes). */
4492
+ /** Picklist field -> why its `*Label` is null (the fieldCatalog honesty notes; `<resource>.<field>` in a fetch merge). */
4484
4493
  reasons?: Record<string, string>;
4485
4494
  /** Present when the field-catalog read that serves picklist labels failed
4486
4495
  * and that cost the rows a label (issue #284): picklist labels are
@@ -4491,6 +4500,10 @@ interface RowNamesSummary {
4491
4500
  * in the rows, the failure cost nothing and is not reported. `*Name`
4492
4501
  * siblings do not depend on the catalog and are unaffected. */
4493
4502
  catalogError?: FieldCatalogRowError;
4503
+ /** `fetchMany` / `fetchByIds` only (issue #302): every resource whose
4504
+ * catalog read failed, keyed by resource (`catalogError` is the first of
4505
+ * them). In that merge `reasons` is keyed `<resource>.<field>`. */
4506
+ catalogErrors?: Record<string, FieldCatalogRowError>;
4494
4507
  }
4495
4508
 
4496
4509
  /**