node-autotask 0.24.0 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/MCP_TOOL_CATALOG.json +151 -9
  3. package/MCP_TOOL_MANIFEST.md +26 -21
  4. package/N8N_MCP_MANIFEST.json +3 -3
  5. package/N8N_MCP_MANIFEST.md +4 -4
  6. package/README.md +1 -1
  7. package/capabilities.json +2451 -1674
  8. package/dist/capabilities.cjs +2 -2
  9. package/dist/capabilities.d.cts +4 -1
  10. package/dist/capabilities.d.ts +4 -1
  11. package/dist/capabilities.js +1 -1
  12. package/dist/{chunk-SOHQ6SDI.cjs → chunk-5OGJTS2E.cjs} +138 -135
  13. package/dist/{chunk-ICCU2S62.js → chunk-7DOSJS6S.js} +5 -2
  14. package/dist/{chunk-LVBFLSPL.cjs → chunk-HQGE4WAV.cjs} +45 -3
  15. package/dist/{chunk-WJD26CPN.js → chunk-QXWIQ67O.js} +2450 -1673
  16. package/dist/{chunk-SW66OWM5.cjs → chunk-SG4LIVMG.cjs} +523 -478
  17. package/dist/{chunk-BBQBWVBE.js → chunk-SSUECUVN.js} +44 -2
  18. package/dist/{chunk-IOVFTIW6.js → chunk-VVQ6NJYZ.js} +47 -2
  19. package/dist/{chunk-4VAC2Z55.cjs → chunk-WM6E5O55.cjs} +2450 -1673
  20. package/dist/{index-BVtycq-6.d.cts → index-1zBdJIEy.d.cts} +42 -1
  21. package/dist/{index-BVtycq-6.d.ts → index-1zBdJIEy.d.ts} +42 -1
  22. package/dist/{index-C0OwQhon.d.cts → index-C8QH3BkP.d.ts} +38 -3
  23. package/dist/{index-CZ94y401.d.ts → index-CKYr0unq.d.cts} +38 -3
  24. package/dist/index.cjs +26 -24
  25. package/dist/index.d.cts +4 -4
  26. package/dist/index.d.ts +4 -4
  27. package/dist/index.js +8 -6
  28. package/dist/operations/index.cjs +147 -108
  29. package/dist/operations/index.d.cts +19 -9
  30. package/dist/operations/index.d.ts +19 -9
  31. package/dist/operations/index.js +42 -3
  32. package/dist/pool.cjs +8 -8
  33. package/dist/pool.d.cts +2 -2
  34. package/dist/pool.d.ts +2 -2
  35. package/dist/pool.js +4 -4
  36. package/dist/resources/index.cjs +7 -5
  37. package/dist/resources/index.d.cts +2 -2
  38. package/dist/resources/index.d.ts +2 -2
  39. package/dist/resources/index.js +6 -4
  40. package/dist/types/index.cjs +1 -1
  41. package/dist/types/index.d.cts +1 -1
  42. package/dist/types/index.d.ts +1 -1
  43. package/dist/types/index.js +1 -1
  44. package/docs/API.md +10 -1
  45. package/package.json +3 -3
  46. /package/dist/{chunk-DMMMWO6A.js → chunk-2TWKEB2L.js} +0 -0
  47. /package/dist/{chunk-UPQIUWOS.js → chunk-EBCHCNPK.js} +0 -0
  48. /package/dist/{chunk-FLB2X6O5.cjs → chunk-S643FDOR.cjs} +0 -0
  49. /package/dist/{chunk-IDPB4N2Q.cjs → chunk-W3K5BEVY.cjs} +0 -0
@@ -2,9 +2,9 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk4VAC2Z55cjs = require('./chunk-4VAC2Z55.cjs');
5
+ var _chunkWM6E5O55cjs = require('./chunk-WM6E5O55.cjs');
6
6
 
7
7
 
8
8
 
9
9
 
10
- exports.CAPABILITIES = _chunk4VAC2Z55cjs.CAPABILITIES; exports.CAPABILITY_GROUPS = _chunk4VAC2Z55cjs.CAPABILITY_GROUPS; exports.CAPABILITY_PLAN_HASHES = _chunk4VAC2Z55cjs.CAPABILITY_PLAN_HASHES;
10
+ exports.CAPABILITIES = _chunkWM6E5O55cjs.CAPABILITIES; exports.CAPABILITY_GROUPS = _chunkWM6E5O55cjs.CAPABILITY_GROUPS; exports.CAPABILITY_PLAN_HASHES = _chunkWM6E5O55cjs.CAPABILITY_PLAN_HASHES;
@@ -41,7 +41,10 @@ interface CapabilityRecord {
41
41
  flags: string[];
42
42
  dryRun: boolean;
43
43
  envelope: string | null;
44
- /** The per-arg positional shape (§4.1) — derived from the signature-audited
44
+ /** The per-arg positional shape (§4.1). KEY ORDER IS THE POSITIONAL ORDER:
45
+ * the Nth key is the Nth positional argument of the typed method (invoke
46
+ * maps a named-object call onto the array by it) — never reorder keys.
47
+ * Derived from the signature-audited
45
48
  * classifier (scripts/lib/args-derive.mjs 'deriveArgSchemas'): the trailing
46
49
  * governed write bag is excluded (invoke appends it); read helpers'
47
50
  * optional bags are declared. The invoke dispatch validates against it. */
@@ -41,7 +41,10 @@ interface CapabilityRecord {
41
41
  flags: string[];
42
42
  dryRun: boolean;
43
43
  envelope: string | null;
44
- /** The per-arg positional shape (§4.1) — derived from the signature-audited
44
+ /** The per-arg positional shape (§4.1). KEY ORDER IS THE POSITIONAL ORDER:
45
+ * the Nth key is the Nth positional argument of the typed method (invoke
46
+ * maps a named-object call onto the array by it) — never reorder keys.
47
+ * Derived from the signature-audited
45
48
  * classifier (scripts/lib/args-derive.mjs 'deriveArgSchemas'): the trailing
46
49
  * governed write bag is excluded (invoke appends it); read helpers'
47
50
  * optional bags are declared. The invoke dispatch validates against it. */
@@ -2,7 +2,7 @@ import {
2
2
  CAPABILITIES,
3
3
  CAPABILITY_GROUPS,
4
4
  CAPABILITY_PLAN_HASHES
5
- } from "./chunk-WJD26CPN.js";
5
+ } from "./chunk-QXWIQ67O.js";
6
6
  export {
7
7
  CAPABILITIES,
8
8
  CAPABILITY_GROUPS,
@@ -127,13 +127,14 @@
127
127
 
128
128
 
129
129
 
130
- var _chunkSW66OWM5cjs = require('./chunk-SW66OWM5.cjs');
131
130
 
131
+ var _chunkSG4LIVMGcjs = require('./chunk-SG4LIVMG.cjs');
132
132
 
133
133
 
134
134
 
135
135
 
136
- var _chunkLVBFLSPLcjs = require('./chunk-LVBFLSPL.cjs');
136
+
137
+ var _chunkHQGE4WAVcjs = require('./chunk-HQGE4WAV.cjs');
137
138
 
138
139
  // src/client.ts
139
140
  var AutotaskClient = class {
@@ -268,6 +269,7 @@ var AutotaskClient = class {
268
269
 
269
270
 
270
271
 
272
+
271
273
 
272
274
 
273
275
  // [GENERATED:RESOURCE_ACCESSORS:END]
@@ -276,137 +278,138 @@ var AutotaskClient = class {
276
278
  * anything is wired. Construction issues NO request.
277
279
  */
278
280
  constructor(options) {
279
- this.config = _chunkLVBFLSPLcjs.resolveConfig.call(void 0, options);
280
- this.http = new (0, _chunkLVBFLSPLcjs.HttpClient)(this.config);
281
+ this.config = _chunkHQGE4WAVcjs.resolveConfig.call(void 0, options);
282
+ this.http = new (0, _chunkHQGE4WAVcjs.HttpClient)(this.config);
281
283
  this.http.client = this;
282
- this.appointments = new (0, _chunkSW66OWM5cjs.AppointmentsResource)(this.http, this.config.pageSize);
283
- this.authenticateResource = new (0, _chunkSW66OWM5cjs.AuthenticateResource)(this.http);
284
- this.billingCodes = new (0, _chunkSW66OWM5cjs.BillingCodesResource)(this.http, this.config.pageSize);
285
- this.billingItems = new (0, _chunkSW66OWM5cjs.BillingItemsResource)(this.http, this.config.pageSize);
286
- this.changeRequestLinks = new (0, _chunkSW66OWM5cjs.ChangeRequestLinksResource)(this.http, this.config.pageSize);
287
- this.checklistLibraries = new (0, _chunkSW66OWM5cjs.ChecklistLibrariesResource)(this.http, this.config.pageSize);
288
- this.checklistLibraryChecklistItems = new (0, _chunkSW66OWM5cjs.ChecklistLibraryChecklistItemsResource)(this.http, this.config.pageSize);
289
- this.classificationIcons = new (0, _chunkSW66OWM5cjs.ClassificationIconsResource)(this.http, this.config.pageSize);
290
- this.companies = new (0, _chunkSW66OWM5cjs.CompaniesResource)(this.http, this.config.pageSize);
291
- this.companyAlerts = new (0, _chunkSW66OWM5cjs.CompanyAlertsResource)(this.http, this.config.pageSize);
292
- this.companyLocations = new (0, _chunkSW66OWM5cjs.CompanyLocationsResource)(this.http, this.config.pageSize);
293
- this.companyNotes = new (0, _chunkSW66OWM5cjs.CompanyNotesResource)(this.http, this.config.pageSize);
294
- this.companySiteConfigurations = new (0, _chunkSW66OWM5cjs.CompanySiteConfigurationsResource)(this.http, this.config.pageSize);
295
- this.companyWebhooks = new (0, _chunkSW66OWM5cjs.CompanyWebhooksResource)(this.http, this.config.pageSize);
296
- this.configurationItemBillingProductAssociations = new (0, _chunkSW66OWM5cjs.ConfigurationItemBillingProductAssociationsResource)(this.http, this.config.pageSize);
297
- this.configurationItemCategories = new (0, _chunkSW66OWM5cjs.ConfigurationItemCategoriesResource)(this.http, this.config.pageSize);
298
- this.configurationItemCategoryUdfAssociations = new (0, _chunkSW66OWM5cjs.ConfigurationItemCategoryUdfAssociationsResource)(this.http, this.config.pageSize);
299
- this.configurationItemDnsRecords = new (0, _chunkSW66OWM5cjs.ConfigurationItemDnsRecordsResource)(this.http, this.config.pageSize);
300
- this.configurationItemNotes = new (0, _chunkSW66OWM5cjs.ConfigurationItemNotesResource)(this.http, this.config.pageSize);
301
- this.configurationItemRelatedItems = new (0, _chunkSW66OWM5cjs.ConfigurationItemRelatedItemsResource)(this.http, this.config.pageSize);
302
- this.configurationItems = new (0, _chunkSW66OWM5cjs.ConfigurationItemsResource)(this.http, this.config.pageSize);
303
- this.configurationItemSslSubjectAlternativeNames = new (0, _chunkSW66OWM5cjs.ConfigurationItemSslSubjectAlternativeNamesResource)(this.http, this.config.pageSize);
304
- this.configurationItemTypes = new (0, _chunkSW66OWM5cjs.ConfigurationItemTypesResource)(this.http, this.config.pageSize);
305
- this.configurationItemWebhooks = new (0, _chunkSW66OWM5cjs.ConfigurationItemWebhooksResource)(this.http, this.config.pageSize);
306
- this.contactGroupContacts = new (0, _chunkSW66OWM5cjs.ContactGroupContactsResource)(this.http, this.config.pageSize);
307
- this.contactGroups = new (0, _chunkSW66OWM5cjs.ContactGroupsResource)(this.http, this.config.pageSize);
308
- this.contacts = new (0, _chunkSW66OWM5cjs.ContactsResource)(this.http, this.config.pageSize);
309
- this.contactWebhooks = new (0, _chunkSW66OWM5cjs.ContactWebhooksResource)(this.http, this.config.pageSize);
310
- this.contractBillingRules = new (0, _chunkSW66OWM5cjs.ContractBillingRulesResource)(this.http, this.config.pageSize);
311
- this.contractBlockHourFactors = new (0, _chunkSW66OWM5cjs.ContractBlockHourFactorsResource)(this.http, this.config.pageSize);
312
- this.contractBlocks = new (0, _chunkSW66OWM5cjs.ContractBlocksResource)(this.http, this.config.pageSize);
313
- this.contractCharges = new (0, _chunkSW66OWM5cjs.ContractChargesResource)(this.http, this.config.pageSize);
314
- this.contractExclusionBillingCodes = new (0, _chunkSW66OWM5cjs.ContractExclusionBillingCodesResource)(this.http, this.config.pageSize);
315
- this.contractExclusionRoles = new (0, _chunkSW66OWM5cjs.ContractExclusionRolesResource)(this.http, this.config.pageSize);
316
- this.contractExclusionSetExcludedRoles = new (0, _chunkSW66OWM5cjs.ContractExclusionSetExcludedRolesResource)(this.http, this.config.pageSize);
317
- this.contractExclusionSetExcludedWorkTypes = new (0, _chunkSW66OWM5cjs.ContractExclusionSetExcludedWorkTypesResource)(this.http, this.config.pageSize);
318
- this.contractExclusionSets = new (0, _chunkSW66OWM5cjs.ContractExclusionSetsResource)(this.http, this.config.pageSize);
319
- this.contractMilestones = new (0, _chunkSW66OWM5cjs.ContractMilestonesResource)(this.http, this.config.pageSize);
320
- this.contractNotes = new (0, _chunkSW66OWM5cjs.ContractNotesResource)(this.http, this.config.pageSize);
321
- this.contractRates = new (0, _chunkSW66OWM5cjs.ContractRatesResource)(this.http, this.config.pageSize);
322
- this.contractRetainers = new (0, _chunkSW66OWM5cjs.ContractRetainersResource)(this.http, this.config.pageSize);
323
- this.contractRoleCosts = new (0, _chunkSW66OWM5cjs.ContractRoleCostsResource)(this.http, this.config.pageSize);
324
- this.contractServiceAdjustments = new (0, _chunkSW66OWM5cjs.ContractServiceAdjustmentsResource)(this.http, this.config.pageSize);
325
- this.contractServiceBundleAdjustments = new (0, _chunkSW66OWM5cjs.ContractServiceBundleAdjustmentsResource)(this.http, this.config.pageSize);
326
- this.contractServiceBundles = new (0, _chunkSW66OWM5cjs.ContractServiceBundlesResource)(this.http, this.config.pageSize);
327
- this.contractServiceBundleUnits = new (0, _chunkSW66OWM5cjs.ContractServiceBundleUnitsResource)(this.http, this.config.pageSize);
328
- this.contractServices = new (0, _chunkSW66OWM5cjs.ContractServicesResource)(this.http, this.config.pageSize);
329
- this.contractServiceUnits = new (0, _chunkSW66OWM5cjs.ContractServiceUnitsResource)(this.http, this.config.pageSize);
330
- this.contracts = new (0, _chunkSW66OWM5cjs.ContractsResource)(this.http, this.config.pageSize);
331
- this.contractTicketPurchases = new (0, _chunkSW66OWM5cjs.ContractTicketPurchasesResource)(this.http, this.config.pageSize);
332
- this.countries = new (0, _chunkSW66OWM5cjs.CountriesResource)(this.http, this.config.pageSize);
333
- this.departments = new (0, _chunkSW66OWM5cjs.DepartmentsResource)(this.http, this.config.pageSize);
334
- this.domainRegistrars = new (0, _chunkSW66OWM5cjs.DomainRegistrarsResource)(this.http, this.config.pageSize);
335
- this.entityInformation = new (0, _chunkSW66OWM5cjs.EntityInformationResource)(this.http);
336
- this.expenseItemAttachments = new (0, _chunkSW66OWM5cjs.ExpenseItemAttachmentsResource)(this.http, this.config.pageSize);
337
- this.expenseItems = new (0, _chunkSW66OWM5cjs.ExpenseItemsResource)(this.http, this.config.pageSize);
338
- this.expenseReports = new (0, _chunkSW66OWM5cjs.ExpenseReportsResource)(this.http, this.config.pageSize);
339
- this.holidaySets = new (0, _chunkSW66OWM5cjs.HolidaySetsResource)(this.http, this.config.pageSize);
340
- this.holidays = new (0, _chunkSW66OWM5cjs.HolidaysResource)(this.http, this.config.pageSize);
341
- this.inventoryProducts = new (0, _chunkSW66OWM5cjs.InventoryProductsResource)(this.http, this.config.pageSize);
342
- this.invoices = new (0, _chunkSW66OWM5cjs.InvoicesResource)(this.http, this.config.pageSize);
343
- this.modules = new (0, _chunkSW66OWM5cjs.ModulesResource)(this.http);
344
- this.notificationHistory = new (0, _chunkSW66OWM5cjs.NotificationHistoryResource)(this.http, this.config.pageSize);
345
- this.opportunities = new (0, _chunkSW66OWM5cjs.OpportunitiesResource)(this.http, this.config.pageSize);
346
- this.opportunityAttachments = new (0, _chunkSW66OWM5cjs.OpportunityAttachmentsResource)(this.http, this.config.pageSize);
347
- this.opportunityCategories = new (0, _chunkSW66OWM5cjs.OpportunityCategoriesResource)(this.http, this.config.pageSize);
348
- this.phases = new (0, _chunkSW66OWM5cjs.PhasesResource)(this.http, this.config.pageSize);
349
- this.products = new (0, _chunkSW66OWM5cjs.ProductsResource)(this.http, this.config.pageSize);
350
- this.productVendors = new (0, _chunkSW66OWM5cjs.ProductVendorsResource)(this.http, this.config.pageSize);
351
- this.projectCharges = new (0, _chunkSW66OWM5cjs.ProjectChargesResource)(this.http, this.config.pageSize);
352
- this.projectNotes = new (0, _chunkSW66OWM5cjs.ProjectNotesResource)(this.http, this.config.pageSize);
353
- this.projects = new (0, _chunkSW66OWM5cjs.ProjectsResource)(this.http, this.config.pageSize);
354
- this.purchaseApprovals = new (0, _chunkSW66OWM5cjs.PurchaseApprovalsResource)(this.http, this.config.pageSize);
355
- this.purchaseOrderItemReceiving = new (0, _chunkSW66OWM5cjs.PurchaseOrderItemReceivingResource)(this.http, this.config.pageSize);
356
- this.purchaseOrderItems = new (0, _chunkSW66OWM5cjs.PurchaseOrderItemsResource)(this.http, this.config.pageSize);
357
- this.purchaseOrders = new (0, _chunkSW66OWM5cjs.PurchaseOrdersResource)(this.http, this.config.pageSize);
358
- this.quoteItems = new (0, _chunkSW66OWM5cjs.QuoteItemsResource)(this.http, this.config.pageSize);
359
- this.quoteLocations = new (0, _chunkSW66OWM5cjs.QuoteLocationsResource)(this.http, this.config.pageSize);
360
- this.quotes = new (0, _chunkSW66OWM5cjs.QuotesResource)(this.http, this.config.pageSize);
361
- this.quoteTemplates = new (0, _chunkSW66OWM5cjs.QuoteTemplatesResource)(this.http, this.config.pageSize);
362
- this.resourceRoleQueues = new (0, _chunkSW66OWM5cjs.ResourceRoleQueuesResource)(this.http, this.config.pageSize);
363
- this.resourceRoles = new (0, _chunkSW66OWM5cjs.ResourceRolesResource)(this.http, this.config.pageSize);
364
- this.resourceSkills = new (0, _chunkSW66OWM5cjs.ResourceSkillsResource)(this.http, this.config.pageSize);
365
- this.resources = new (0, _chunkSW66OWM5cjs.ResourcesResource)(this.http, this.config, this.config.pageSize);
366
- this.resourceTimeOffAdditional = new (0, _chunkSW66OWM5cjs.ResourceTimeOffAdditionalResource)(this.http, this.config.pageSize);
367
- this.resourceTimeOffApprovers = new (0, _chunkSW66OWM5cjs.ResourceTimeOffApproversResource)(this.http, this.config.pageSize);
368
- this.resourceTimeOffBalances = new (0, _chunkSW66OWM5cjs.ResourceTimeOffBalancesResource)(this.http, this.config.pageSize);
369
- this.roles = new (0, _chunkSW66OWM5cjs.RolesResource)(this.http, this.config.pageSize);
370
- this.serviceCalls = new (0, _chunkSW66OWM5cjs.ServiceCallsResource)(this.http, this.config.pageSize);
371
- this.serviceCallTaskResources = new (0, _chunkSW66OWM5cjs.ServiceCallTaskResourcesResource)(this.http, this.config.pageSize);
372
- this.serviceCallTasks = new (0, _chunkSW66OWM5cjs.ServiceCallTasksResource)(this.http, this.config.pageSize);
373
- this.serviceCallTicketResources = new (0, _chunkSW66OWM5cjs.ServiceCallTicketResourcesResource)(this.http, this.config.pageSize);
374
- this.serviceCallTickets = new (0, _chunkSW66OWM5cjs.ServiceCallTicketsResource)(this.http, this.config.pageSize);
375
- this.serviceLevelAgreementResults = new (0, _chunkSW66OWM5cjs.ServiceLevelAgreementResultsResource)(this.http, this.config.pageSize);
376
- this.services = new (0, _chunkSW66OWM5cjs.ServicesResource)(this.http, this.config.pageSize);
377
- this.skills = new (0, _chunkSW66OWM5cjs.SkillsResource)(this.http, this.config.pageSize);
378
- this.subscriptionPeriods = new (0, _chunkSW66OWM5cjs.SubscriptionPeriodsResource)(this.http, this.config.pageSize);
379
- this.subscriptions = new (0, _chunkSW66OWM5cjs.SubscriptionsResource)(this.http, this.config.pageSize);
380
- this.surveyResults = new (0, _chunkSW66OWM5cjs.SurveyResultsResource)(this.http, this.config.pageSize);
381
- this.surveys = new (0, _chunkSW66OWM5cjs.SurveysResource)(this.http, this.config.pageSize);
382
- this.tagAliases = new (0, _chunkSW66OWM5cjs.TagAliasesResource)(this.http, this.config.pageSize);
383
- this.tagGroups = new (0, _chunkSW66OWM5cjs.TagGroupsResource)(this.http, this.config.pageSize);
384
- this.tags = new (0, _chunkSW66OWM5cjs.TagsResource)(this.http, this.config.pageSize);
385
- this.taskSecondaryResources = new (0, _chunkSW66OWM5cjs.TaskSecondaryResourcesResource)(this.http, this.config.pageSize);
386
- this.tasks = new (0, _chunkSW66OWM5cjs.TasksResource)(this.http, this.config.pageSize);
387
- this.thresholdInformation = new (0, _chunkSW66OWM5cjs.ThresholdInformationResource)(this.http);
388
- this.ticketAdditionalConfigurationItems = new (0, _chunkSW66OWM5cjs.TicketAdditionalConfigurationItemsResource)(this.http, this.config.pageSize);
389
- this.ticketAdditionalContacts = new (0, _chunkSW66OWM5cjs.TicketAdditionalContactsResource)(this.http, this.config.pageSize);
390
- this.ticketAttachments = new (0, _chunkSW66OWM5cjs.TicketAttachmentsResource)(this.http, this.config.pageSize);
391
- this.ticketCategories = new (0, _chunkSW66OWM5cjs.TicketCategoriesResource)(this.http, this.config.pageSize);
392
- this.ticketCategoryFieldDefaults = new (0, _chunkSW66OWM5cjs.TicketCategoryFieldDefaultsResource)(this.http, this.config.pageSize);
393
- this.ticketChangeRequestApprovals = new (0, _chunkSW66OWM5cjs.TicketChangeRequestApprovalsResource)(this.http, this.config.pageSize);
394
- this.ticketCharges = new (0, _chunkSW66OWM5cjs.TicketChargesResource)(this.http, this.config.pageSize);
395
- this.ticketChecklistItems = new (0, _chunkSW66OWM5cjs.TicketChecklistItemsResource)(this.http, this.config.pageSize);
396
- this.ticketChecklistLibraries = new (0, _chunkSW66OWM5cjs.TicketChecklistLibrariesResource)(this.http, this.config.pageSize);
397
- this.ticketHistory = new (0, _chunkSW66OWM5cjs.TicketHistoryResource)(this.http, this.config.pageSize);
398
- this.ticketNoteAttachments = new (0, _chunkSW66OWM5cjs.TicketNoteAttachmentsResource)(this.http, this.config.pageSize);
399
- this.ticketNotes = new (0, _chunkSW66OWM5cjs.TicketNotesResource)(this.http, this.config.pageSize);
400
- this.ticketNoteWebhooks = new (0, _chunkSW66OWM5cjs.TicketNoteWebhooksResource)(this.http, this.config.pageSize);
401
- this.ticketSecondaryResources = new (0, _chunkSW66OWM5cjs.TicketSecondaryResourcesResource)(this.http, this.config.pageSize);
402
- this.tickets = new (0, _chunkSW66OWM5cjs.TicketsResource)(this.http, this.config.pageSize);
403
- this.ticketWebhooks = new (0, _chunkSW66OWM5cjs.TicketWebhooksResource)(this.http, this.config.pageSize);
404
- this.timeEntries = new (0, _chunkSW66OWM5cjs.TimeEntriesResource)(this.http, this.config.pageSize);
405
- this.timeEntryAttachments = new (0, _chunkSW66OWM5cjs.TimeEntryAttachmentsResource)(this.http, this.config.pageSize);
406
- this.timeOffRequests = new (0, _chunkSW66OWM5cjs.TimeOffRequestsResource)(this.http, this.config.pageSize);
407
- this.versionInformation = new (0, _chunkSW66OWM5cjs.VersionInformationResource)(this.http);
408
- this.version = new (0, _chunkSW66OWM5cjs.VersionResource)(this.http);
409
- this.zoneInformation = new (0, _chunkSW66OWM5cjs.ZoneInformationResource)(this.http);
284
+ this.appointments = new (0, _chunkSG4LIVMGcjs.AppointmentsResource)(this.http, this.config.pageSize);
285
+ this.authenticateResource = new (0, _chunkSG4LIVMGcjs.AuthenticateResource)(this.http);
286
+ this.billingCodes = new (0, _chunkSG4LIVMGcjs.BillingCodesResource)(this.http, this.config.pageSize);
287
+ this.billingItems = new (0, _chunkSG4LIVMGcjs.BillingItemsResource)(this.http, this.config.pageSize);
288
+ this.changeRequestLinks = new (0, _chunkSG4LIVMGcjs.ChangeRequestLinksResource)(this.http, this.config.pageSize);
289
+ this.checklistLibraries = new (0, _chunkSG4LIVMGcjs.ChecklistLibrariesResource)(this.http, this.config.pageSize);
290
+ this.checklistLibraryChecklistItems = new (0, _chunkSG4LIVMGcjs.ChecklistLibraryChecklistItemsResource)(this.http, this.config.pageSize);
291
+ this.classificationIcons = new (0, _chunkSG4LIVMGcjs.ClassificationIconsResource)(this.http, this.config.pageSize);
292
+ this.companies = new (0, _chunkSG4LIVMGcjs.CompaniesResource)(this.http, this.config.pageSize);
293
+ this.companyAlerts = new (0, _chunkSG4LIVMGcjs.CompanyAlertsResource)(this.http, this.config.pageSize);
294
+ this.companyLocations = new (0, _chunkSG4LIVMGcjs.CompanyLocationsResource)(this.http, this.config.pageSize);
295
+ this.companyNotes = new (0, _chunkSG4LIVMGcjs.CompanyNotesResource)(this.http, this.config.pageSize);
296
+ this.companySiteConfigurations = new (0, _chunkSG4LIVMGcjs.CompanySiteConfigurationsResource)(this.http, this.config.pageSize);
297
+ this.companyWebhooks = new (0, _chunkSG4LIVMGcjs.CompanyWebhooksResource)(this.http, this.config.pageSize);
298
+ this.configurationItemBillingProductAssociations = new (0, _chunkSG4LIVMGcjs.ConfigurationItemBillingProductAssociationsResource)(this.http, this.config.pageSize);
299
+ this.configurationItemCategories = new (0, _chunkSG4LIVMGcjs.ConfigurationItemCategoriesResource)(this.http, this.config.pageSize);
300
+ this.configurationItemCategoryUdfAssociations = new (0, _chunkSG4LIVMGcjs.ConfigurationItemCategoryUdfAssociationsResource)(this.http, this.config.pageSize);
301
+ this.configurationItemDnsRecords = new (0, _chunkSG4LIVMGcjs.ConfigurationItemDnsRecordsResource)(this.http, this.config.pageSize);
302
+ this.configurationItemNotes = new (0, _chunkSG4LIVMGcjs.ConfigurationItemNotesResource)(this.http, this.config.pageSize);
303
+ this.configurationItemRelatedItems = new (0, _chunkSG4LIVMGcjs.ConfigurationItemRelatedItemsResource)(this.http, this.config.pageSize);
304
+ this.configurationItems = new (0, _chunkSG4LIVMGcjs.ConfigurationItemsResource)(this.http, this.config.pageSize);
305
+ this.configurationItemSslSubjectAlternativeNames = new (0, _chunkSG4LIVMGcjs.ConfigurationItemSslSubjectAlternativeNamesResource)(this.http, this.config.pageSize);
306
+ this.configurationItemTypes = new (0, _chunkSG4LIVMGcjs.ConfigurationItemTypesResource)(this.http, this.config.pageSize);
307
+ this.configurationItemWebhooks = new (0, _chunkSG4LIVMGcjs.ConfigurationItemWebhooksResource)(this.http, this.config.pageSize);
308
+ this.contactGroupContacts = new (0, _chunkSG4LIVMGcjs.ContactGroupContactsResource)(this.http, this.config.pageSize);
309
+ this.contactGroups = new (0, _chunkSG4LIVMGcjs.ContactGroupsResource)(this.http, this.config.pageSize);
310
+ this.contacts = new (0, _chunkSG4LIVMGcjs.ContactsResource)(this.http, this.config.pageSize);
311
+ this.contactWebhooks = new (0, _chunkSG4LIVMGcjs.ContactWebhooksResource)(this.http, this.config.pageSize);
312
+ this.contractBillingRules = new (0, _chunkSG4LIVMGcjs.ContractBillingRulesResource)(this.http, this.config.pageSize);
313
+ this.contractBlockHourFactors = new (0, _chunkSG4LIVMGcjs.ContractBlockHourFactorsResource)(this.http, this.config.pageSize);
314
+ this.contractBlocks = new (0, _chunkSG4LIVMGcjs.ContractBlocksResource)(this.http, this.config.pageSize);
315
+ this.contractCharges = new (0, _chunkSG4LIVMGcjs.ContractChargesResource)(this.http, this.config.pageSize);
316
+ this.contractExclusionBillingCodes = new (0, _chunkSG4LIVMGcjs.ContractExclusionBillingCodesResource)(this.http, this.config.pageSize);
317
+ this.contractExclusionRoles = new (0, _chunkSG4LIVMGcjs.ContractExclusionRolesResource)(this.http, this.config.pageSize);
318
+ this.contractExclusionSetExcludedRoles = new (0, _chunkSG4LIVMGcjs.ContractExclusionSetExcludedRolesResource)(this.http, this.config.pageSize);
319
+ this.contractExclusionSetExcludedWorkTypes = new (0, _chunkSG4LIVMGcjs.ContractExclusionSetExcludedWorkTypesResource)(this.http, this.config.pageSize);
320
+ this.contractExclusionSets = new (0, _chunkSG4LIVMGcjs.ContractExclusionSetsResource)(this.http, this.config.pageSize);
321
+ this.contractMilestones = new (0, _chunkSG4LIVMGcjs.ContractMilestonesResource)(this.http, this.config.pageSize);
322
+ this.contractNotes = new (0, _chunkSG4LIVMGcjs.ContractNotesResource)(this.http, this.config.pageSize);
323
+ this.contractRates = new (0, _chunkSG4LIVMGcjs.ContractRatesResource)(this.http, this.config.pageSize);
324
+ this.contractRetainers = new (0, _chunkSG4LIVMGcjs.ContractRetainersResource)(this.http, this.config.pageSize);
325
+ this.contractRoleCosts = new (0, _chunkSG4LIVMGcjs.ContractRoleCostsResource)(this.http, this.config.pageSize);
326
+ this.contractServiceAdjustments = new (0, _chunkSG4LIVMGcjs.ContractServiceAdjustmentsResource)(this.http, this.config.pageSize);
327
+ this.contractServiceBundleAdjustments = new (0, _chunkSG4LIVMGcjs.ContractServiceBundleAdjustmentsResource)(this.http, this.config.pageSize);
328
+ this.contractServiceBundles = new (0, _chunkSG4LIVMGcjs.ContractServiceBundlesResource)(this.http, this.config.pageSize);
329
+ this.contractServiceBundleUnits = new (0, _chunkSG4LIVMGcjs.ContractServiceBundleUnitsResource)(this.http, this.config.pageSize);
330
+ this.contractServices = new (0, _chunkSG4LIVMGcjs.ContractServicesResource)(this.http, this.config.pageSize);
331
+ this.contractServiceUnits = new (0, _chunkSG4LIVMGcjs.ContractServiceUnitsResource)(this.http, this.config.pageSize);
332
+ this.contracts = new (0, _chunkSG4LIVMGcjs.ContractsResource)(this.http, this.config.pageSize);
333
+ this.contractTicketPurchases = new (0, _chunkSG4LIVMGcjs.ContractTicketPurchasesResource)(this.http, this.config.pageSize);
334
+ this.countries = new (0, _chunkSG4LIVMGcjs.CountriesResource)(this.http, this.config.pageSize);
335
+ this.currencies = new (0, _chunkSG4LIVMGcjs.CurrenciesResource)(this.http, this.config.pageSize);
336
+ this.departments = new (0, _chunkSG4LIVMGcjs.DepartmentsResource)(this.http, this.config.pageSize);
337
+ this.domainRegistrars = new (0, _chunkSG4LIVMGcjs.DomainRegistrarsResource)(this.http, this.config.pageSize);
338
+ this.entityInformation = new (0, _chunkSG4LIVMGcjs.EntityInformationResource)(this.http);
339
+ this.expenseItemAttachments = new (0, _chunkSG4LIVMGcjs.ExpenseItemAttachmentsResource)(this.http, this.config.pageSize);
340
+ this.expenseItems = new (0, _chunkSG4LIVMGcjs.ExpenseItemsResource)(this.http, this.config.pageSize);
341
+ this.expenseReports = new (0, _chunkSG4LIVMGcjs.ExpenseReportsResource)(this.http, this.config.pageSize);
342
+ this.holidaySets = new (0, _chunkSG4LIVMGcjs.HolidaySetsResource)(this.http, this.config.pageSize);
343
+ this.holidays = new (0, _chunkSG4LIVMGcjs.HolidaysResource)(this.http, this.config.pageSize);
344
+ this.inventoryProducts = new (0, _chunkSG4LIVMGcjs.InventoryProductsResource)(this.http, this.config.pageSize);
345
+ this.invoices = new (0, _chunkSG4LIVMGcjs.InvoicesResource)(this.http, this.config.pageSize);
346
+ this.modules = new (0, _chunkSG4LIVMGcjs.ModulesResource)(this.http);
347
+ this.notificationHistory = new (0, _chunkSG4LIVMGcjs.NotificationHistoryResource)(this.http, this.config.pageSize);
348
+ this.opportunities = new (0, _chunkSG4LIVMGcjs.OpportunitiesResource)(this.http, this.config.pageSize);
349
+ this.opportunityAttachments = new (0, _chunkSG4LIVMGcjs.OpportunityAttachmentsResource)(this.http, this.config.pageSize);
350
+ this.opportunityCategories = new (0, _chunkSG4LIVMGcjs.OpportunityCategoriesResource)(this.http, this.config.pageSize);
351
+ this.phases = new (0, _chunkSG4LIVMGcjs.PhasesResource)(this.http, this.config.pageSize);
352
+ this.products = new (0, _chunkSG4LIVMGcjs.ProductsResource)(this.http, this.config.pageSize);
353
+ this.productVendors = new (0, _chunkSG4LIVMGcjs.ProductVendorsResource)(this.http, this.config.pageSize);
354
+ this.projectCharges = new (0, _chunkSG4LIVMGcjs.ProjectChargesResource)(this.http, this.config.pageSize);
355
+ this.projectNotes = new (0, _chunkSG4LIVMGcjs.ProjectNotesResource)(this.http, this.config.pageSize);
356
+ this.projects = new (0, _chunkSG4LIVMGcjs.ProjectsResource)(this.http, this.config.pageSize);
357
+ this.purchaseApprovals = new (0, _chunkSG4LIVMGcjs.PurchaseApprovalsResource)(this.http, this.config.pageSize);
358
+ this.purchaseOrderItemReceiving = new (0, _chunkSG4LIVMGcjs.PurchaseOrderItemReceivingResource)(this.http, this.config.pageSize);
359
+ this.purchaseOrderItems = new (0, _chunkSG4LIVMGcjs.PurchaseOrderItemsResource)(this.http, this.config.pageSize);
360
+ this.purchaseOrders = new (0, _chunkSG4LIVMGcjs.PurchaseOrdersResource)(this.http, this.config.pageSize);
361
+ this.quoteItems = new (0, _chunkSG4LIVMGcjs.QuoteItemsResource)(this.http, this.config.pageSize);
362
+ this.quoteLocations = new (0, _chunkSG4LIVMGcjs.QuoteLocationsResource)(this.http, this.config.pageSize);
363
+ this.quotes = new (0, _chunkSG4LIVMGcjs.QuotesResource)(this.http, this.config.pageSize);
364
+ this.quoteTemplates = new (0, _chunkSG4LIVMGcjs.QuoteTemplatesResource)(this.http, this.config.pageSize);
365
+ this.resourceRoleQueues = new (0, _chunkSG4LIVMGcjs.ResourceRoleQueuesResource)(this.http, this.config.pageSize);
366
+ this.resourceRoles = new (0, _chunkSG4LIVMGcjs.ResourceRolesResource)(this.http, this.config.pageSize);
367
+ this.resourceSkills = new (0, _chunkSG4LIVMGcjs.ResourceSkillsResource)(this.http, this.config.pageSize);
368
+ this.resources = new (0, _chunkSG4LIVMGcjs.ResourcesResource)(this.http, this.config, this.config.pageSize);
369
+ this.resourceTimeOffAdditional = new (0, _chunkSG4LIVMGcjs.ResourceTimeOffAdditionalResource)(this.http, this.config.pageSize);
370
+ this.resourceTimeOffApprovers = new (0, _chunkSG4LIVMGcjs.ResourceTimeOffApproversResource)(this.http, this.config.pageSize);
371
+ this.resourceTimeOffBalances = new (0, _chunkSG4LIVMGcjs.ResourceTimeOffBalancesResource)(this.http, this.config.pageSize);
372
+ this.roles = new (0, _chunkSG4LIVMGcjs.RolesResource)(this.http, this.config.pageSize);
373
+ this.serviceCalls = new (0, _chunkSG4LIVMGcjs.ServiceCallsResource)(this.http, this.config.pageSize);
374
+ this.serviceCallTaskResources = new (0, _chunkSG4LIVMGcjs.ServiceCallTaskResourcesResource)(this.http, this.config.pageSize);
375
+ this.serviceCallTasks = new (0, _chunkSG4LIVMGcjs.ServiceCallTasksResource)(this.http, this.config.pageSize);
376
+ this.serviceCallTicketResources = new (0, _chunkSG4LIVMGcjs.ServiceCallTicketResourcesResource)(this.http, this.config.pageSize);
377
+ this.serviceCallTickets = new (0, _chunkSG4LIVMGcjs.ServiceCallTicketsResource)(this.http, this.config.pageSize);
378
+ this.serviceLevelAgreementResults = new (0, _chunkSG4LIVMGcjs.ServiceLevelAgreementResultsResource)(this.http, this.config.pageSize);
379
+ this.services = new (0, _chunkSG4LIVMGcjs.ServicesResource)(this.http, this.config.pageSize);
380
+ this.skills = new (0, _chunkSG4LIVMGcjs.SkillsResource)(this.http, this.config.pageSize);
381
+ this.subscriptionPeriods = new (0, _chunkSG4LIVMGcjs.SubscriptionPeriodsResource)(this.http, this.config.pageSize);
382
+ this.subscriptions = new (0, _chunkSG4LIVMGcjs.SubscriptionsResource)(this.http, this.config.pageSize);
383
+ this.surveyResults = new (0, _chunkSG4LIVMGcjs.SurveyResultsResource)(this.http, this.config.pageSize);
384
+ this.surveys = new (0, _chunkSG4LIVMGcjs.SurveysResource)(this.http, this.config.pageSize);
385
+ this.tagAliases = new (0, _chunkSG4LIVMGcjs.TagAliasesResource)(this.http, this.config.pageSize);
386
+ this.tagGroups = new (0, _chunkSG4LIVMGcjs.TagGroupsResource)(this.http, this.config.pageSize);
387
+ this.tags = new (0, _chunkSG4LIVMGcjs.TagsResource)(this.http, this.config.pageSize);
388
+ this.taskSecondaryResources = new (0, _chunkSG4LIVMGcjs.TaskSecondaryResourcesResource)(this.http, this.config.pageSize);
389
+ this.tasks = new (0, _chunkSG4LIVMGcjs.TasksResource)(this.http, this.config.pageSize);
390
+ this.thresholdInformation = new (0, _chunkSG4LIVMGcjs.ThresholdInformationResource)(this.http);
391
+ this.ticketAdditionalConfigurationItems = new (0, _chunkSG4LIVMGcjs.TicketAdditionalConfigurationItemsResource)(this.http, this.config.pageSize);
392
+ this.ticketAdditionalContacts = new (0, _chunkSG4LIVMGcjs.TicketAdditionalContactsResource)(this.http, this.config.pageSize);
393
+ this.ticketAttachments = new (0, _chunkSG4LIVMGcjs.TicketAttachmentsResource)(this.http, this.config.pageSize);
394
+ this.ticketCategories = new (0, _chunkSG4LIVMGcjs.TicketCategoriesResource)(this.http, this.config.pageSize);
395
+ this.ticketCategoryFieldDefaults = new (0, _chunkSG4LIVMGcjs.TicketCategoryFieldDefaultsResource)(this.http, this.config.pageSize);
396
+ this.ticketChangeRequestApprovals = new (0, _chunkSG4LIVMGcjs.TicketChangeRequestApprovalsResource)(this.http, this.config.pageSize);
397
+ this.ticketCharges = new (0, _chunkSG4LIVMGcjs.TicketChargesResource)(this.http, this.config.pageSize);
398
+ this.ticketChecklistItems = new (0, _chunkSG4LIVMGcjs.TicketChecklistItemsResource)(this.http, this.config.pageSize);
399
+ this.ticketChecklistLibraries = new (0, _chunkSG4LIVMGcjs.TicketChecklistLibrariesResource)(this.http, this.config.pageSize);
400
+ this.ticketHistory = new (0, _chunkSG4LIVMGcjs.TicketHistoryResource)(this.http, this.config.pageSize);
401
+ this.ticketNoteAttachments = new (0, _chunkSG4LIVMGcjs.TicketNoteAttachmentsResource)(this.http, this.config.pageSize);
402
+ this.ticketNotes = new (0, _chunkSG4LIVMGcjs.TicketNotesResource)(this.http, this.config.pageSize);
403
+ this.ticketNoteWebhooks = new (0, _chunkSG4LIVMGcjs.TicketNoteWebhooksResource)(this.http, this.config.pageSize);
404
+ this.ticketSecondaryResources = new (0, _chunkSG4LIVMGcjs.TicketSecondaryResourcesResource)(this.http, this.config.pageSize);
405
+ this.tickets = new (0, _chunkSG4LIVMGcjs.TicketsResource)(this.http, this.config.pageSize);
406
+ this.ticketWebhooks = new (0, _chunkSG4LIVMGcjs.TicketWebhooksResource)(this.http, this.config.pageSize);
407
+ this.timeEntries = new (0, _chunkSG4LIVMGcjs.TimeEntriesResource)(this.http, this.config.pageSize);
408
+ this.timeEntryAttachments = new (0, _chunkSG4LIVMGcjs.TimeEntryAttachmentsResource)(this.http, this.config.pageSize);
409
+ this.timeOffRequests = new (0, _chunkSG4LIVMGcjs.TimeOffRequestsResource)(this.http, this.config.pageSize);
410
+ this.versionInformation = new (0, _chunkSG4LIVMGcjs.VersionInformationResource)(this.http);
411
+ this.version = new (0, _chunkSG4LIVMGcjs.VersionResource)(this.http);
412
+ this.zoneInformation = new (0, _chunkSG4LIVMGcjs.ZoneInformationResource)(this.http);
410
413
  }
411
414
  /**
412
415
  * `GET /V1.0/Authenticate` → `AuthTokenResultModel` (as-is). The SDK does
@@ -440,12 +443,12 @@ var AutotaskClient = class {
440
443
  * parameter on each: `await client.withSignal(signal, () => invoke(client, ...))`.
441
444
  */
442
445
  withSignal(signal, fn) {
443
- return _chunkLVBFLSPLcjs.runWithSignal.call(void 0, signal, fn);
446
+ return _chunkHQGE4WAVcjs.runWithSignal.call(void 0, signal, fn);
444
447
  }
445
448
  async batch(fn, items, opts = {}) {
446
449
  const concurrency = _nullishCoalesce(opts.concurrency, () => ( this.config.maxConcurrent));
447
450
  if (!Number.isInteger(concurrency) || concurrency <= 0) {
448
- throw new (0, _chunkLVBFLSPLcjs.AutotaskConfigError)("batch concurrency must be a positive integer");
451
+ throw new (0, _chunkHQGE4WAVcjs.AutotaskConfigError)("batch concurrency must be a positive integer");
449
452
  }
450
453
  const { signal, settle } = opts;
451
454
  const results = new Array(items.length);
@@ -460,7 +463,7 @@ var AutotaskClient = class {
460
463
  const i = next++;
461
464
  try {
462
465
  const item = items[i];
463
- const value = await (signal === void 0 ? fn(item) : _chunkLVBFLSPLcjs.runWithSignal.call(void 0, signal, () => fn(item)));
466
+ const value = await (signal === void 0 ? fn(item) : _chunkHQGE4WAVcjs.runWithSignal.call(void 0, signal, () => fn(item)));
464
467
  results[i] = settle ? { status: "fulfilled", value } : value;
465
468
  } catch (error) {
466
469
  if (settle) results[i] = { status: "rejected", reason: error };
@@ -50,6 +50,7 @@ import {
50
50
  ContractTicketPurchasesResource,
51
51
  ContractsResource,
52
52
  CountriesResource,
53
+ CurrenciesResource,
53
54
  DepartmentsResource,
54
55
  DomainRegistrarsResource,
55
56
  EntityInformationResource,
@@ -127,13 +128,13 @@ import {
127
128
  VersionInformationResource,
128
129
  VersionResource,
129
130
  ZoneInformationResource
130
- } from "./chunk-IOVFTIW6.js";
131
+ } from "./chunk-VVQ6NJYZ.js";
131
132
  import {
132
133
  AutotaskConfigError,
133
134
  HttpClient,
134
135
  resolveConfig,
135
136
  runWithSignal
136
- } from "./chunk-BBQBWVBE.js";
137
+ } from "./chunk-SSUECUVN.js";
137
138
 
138
139
  // src/client.ts
139
140
  var AutotaskClient = class {
@@ -193,6 +194,7 @@ var AutotaskClient = class {
193
194
  contracts;
194
195
  contractTicketPurchases;
195
196
  countries;
197
+ currencies;
196
198
  departments;
197
199
  domainRegistrars;
198
200
  entityInformation;
@@ -330,6 +332,7 @@ var AutotaskClient = class {
330
332
  this.contracts = new ContractsResource(this.http, this.config.pageSize);
331
333
  this.contractTicketPurchases = new ContractTicketPurchasesResource(this.http, this.config.pageSize);
332
334
  this.countries = new CountriesResource(this.http, this.config.pageSize);
335
+ this.currencies = new CurrenciesResource(this.http, this.config.pageSize);
333
336
  this.departments = new DepartmentsResource(this.http, this.config.pageSize);
334
337
  this.domainRegistrars = new DomainRegistrarsResource(this.http, this.config.pageSize);
335
338
  this.entityInformation = new EntityInformationResource(this.http);
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2; var _class3; var _class4; var _class5; var _class6; var _class7; var _class8;
2
2
 
3
- var _chunk4VAC2Z55cjs = require('./chunk-4VAC2Z55.cjs');
3
+ var _chunkWM6E5O55cjs = require('./chunk-WM6E5O55.cjs');
4
4
 
5
5
  // src/auth.ts
6
6
  var AUTH_HEADERS = {
@@ -737,6 +737,7 @@ var DEFAULT_PER_RESOURCE_TTL_MS = {
737
737
  "contract_ticket_purchases": 3e5,
738
738
  "contracts": 3e5,
739
739
  "countries": 36e5,
740
+ "currencies": 3e5,
740
741
  "departments": 36e5,
741
742
  "domain_registrars": 3e5,
742
743
  "entity_information": 3e5,
@@ -866,6 +867,7 @@ var RESOURCE_KEY_BY_PATH = {
866
867
  "/V1.0/ContractTicketPurchases": "contract_ticket_purchases",
867
868
  "/V1.0/Contracts": "contracts",
868
869
  "/V1.0/Countries": "countries",
870
+ "/V1.0/Currencies": "currencies",
869
871
  "/V1.0/Departments": "departments",
870
872
  "/V1.0/DomainRegistrars": "domain_registrars",
871
873
  "/V1.0/ExpenseItemAttachments": "expense_item_attachments",
@@ -5117,6 +5119,27 @@ var RELATIONSHIP_MAP = {
5117
5119
  "deleteBoundary": null,
5118
5120
  "markerField": null
5119
5121
  },
5122
+ "currencies": {
5123
+ "resource": "currencies",
5124
+ "apiEntity": "Currency",
5125
+ "kind": "entity",
5126
+ "path": "Currencies",
5127
+ "parentScoped": false,
5128
+ "tier": "advanced",
5129
+ "workflowResource": false,
5130
+ "group": "B",
5131
+ "parent": null,
5132
+ "children": [],
5133
+ "naturalKeys": {
5134
+ "hasSearch": true,
5135
+ "searchCovers": "name only (contains)",
5136
+ "findBy": []
5137
+ },
5138
+ "blindSurfaces": null,
5139
+ "zoneFacts": null,
5140
+ "deleteBoundary": null,
5141
+ "markerField": null
5142
+ },
5120
5143
  "departments": {
5121
5144
  "resource": "departments",
5122
5145
  "apiEntity": "Department",
@@ -11044,6 +11067,18 @@ var BLIND_SURFACE_INVENTORY = {
11044
11067
  "note": "ww29 discovery sweep (marker FULL100-SEED-1791096521, 2026-10-04): the unfiltered limit-2 read returned 0 rows \u2014 INCONCLUSIVE (tenant-empty-for-user vs blind for this API user; a 0/empty result here proves nothing). countries.get is the authority for a specific record.",
11045
11068
  "proof": "discovery-sweep"
11046
11069
  },
11070
+ {
11071
+ "resource": "currencies",
11072
+ "ops": [
11073
+ "count",
11074
+ "query"
11075
+ ],
11076
+ "kind": "unknown",
11077
+ "unfilteredRows": null,
11078
+ "authority": "currencies.get",
11079
+ "note": "Not swept: currencies was added after the ww29 discovery sweep, so no unfiltered read has been made for any tenant. Whether this API user sees currency rows through count/query is unknown; currencies.get is the authority for a specific record.",
11080
+ "proof": "spec-derived"
11081
+ },
11047
11082
  {
11048
11083
  "resource": "departments",
11049
11084
  "ops": [
@@ -11862,7 +11897,7 @@ var BLIND_SURFACE_INVENTORY = {
11862
11897
  }
11863
11898
  ],
11864
11899
  "counts": {
11865
- "total": 116,
11900
+ "total": 117,
11866
11901
  "dataFull": 46,
11867
11902
  "blind": 69,
11868
11903
  "pinned": 6
@@ -11964,6 +11999,7 @@ var REACHABILITY_PROBE_DEFAULTS = {
11964
11999
  "contract_ticket_purchases",
11965
12000
  "contracts",
11966
12001
  "countries",
12002
+ "currencies",
11967
12003
  "expense_items",
11968
12004
  "expense_reports",
11969
12005
  "invoices",
@@ -14400,6 +14436,10 @@ var UNTRUSTED_FIELDS_BY_RESOURCE = {
14400
14436
  "displayName",
14401
14437
  "name"
14402
14438
  ],
14439
+ "currencies": [
14440
+ "description",
14441
+ "name"
14442
+ ],
14403
14443
  "departments": [
14404
14444
  "description",
14405
14445
  "name"
@@ -16300,7 +16340,7 @@ function capabilitySets() {
16300
16340
  const fieldOps = /* @__PURE__ */ new Map();
16301
16341
  const udfOps = /* @__PURE__ */ new Map();
16302
16342
  const resources = /* @__PURE__ */ new Set();
16303
- for (const rec of _chunk4VAC2Z55cjs.CAPABILITIES) {
16343
+ for (const rec of _chunkWM6E5O55cjs.CAPABILITIES) {
16304
16344
  if (rec.resource === "operations") continue;
16305
16345
  resources.add(rec.resource);
16306
16346
  if (rec.operation === "getFieldInfo") fieldOps.set(rec.resource, rec);
@@ -16758,6 +16798,7 @@ var MODEL_FIELD_SETS = {
16758
16798
  "contract_ticket_purchases": ["id", "contractID", "datePurchased", "endDate", "invoiceNumber", "isPaid", "paymentNumber", "paymentType", "perTicketRate", "startDate", "status", "ticketsPurchased", "ticketsUsed", "soapParentPropertyId"],
16759
16799
  "contracts": ["id", "billingPreference", "billToCompanyContactID", "billToCompanyID", "companyID", "contactID", "contactName", "contractCategory", "contractExclusionSetID", "contractName", "contractNumber", "contractPeriodType", "contractType", "description", "endDate", "estimatedCost", "estimatedHours", "estimatedRevenue", "exclusionContractID", "internalCurrencyOverageBillingRate", "internalCurrencySetupFee", "isCompliant", "isDefaultContract", "lastModifiedDateTime", "opportunityID", "organizationalLevelAssociationID", "overageBillingRate", "purchaseOrderNumber", "renewedContractID", "serviceLevelAgreementID", "setupFee", "setupFeeBillingCodeID", "startDate", "status", "timeReportingRequiresStartAndStopTimes", "userDefinedFields"],
16760
16800
  "countries": ["id", "addressFormatID", "countryCode", "displayName", "invoiceTemplateID", "isActive", "isDefaultCountry", "name", "purchaseOrderTemplateID", "quoteTemplateID"],
16801
+ "currencies": ["id", "currencyNegativeFormat", "currencyPositiveFormat", "description", "displaySymbol", "exchangeRate", "isActive", "isInternalCurrency", "lastModifiedDateTime", "name", "updateResourceId"],
16761
16802
  "departments": ["id", "description", "name", "number", "primaryLocationID"],
16762
16803
  "domain_registrars": ["id", "name", "url"],
16763
16804
  "expense_item_attachments": ["id", "attachDate", "attachedByContactID", "attachedByResourceID", "attachmentType", "contentType", "creatorType", "expenseItemID", "expenseReportID", "fileSize", "fullPath", "impersonatorCreatorResourceID", "opportunityID", "parentID", "publish", "title", "data", "parentType", "soapParentPropertyId", "isTaskAttachment"],
@@ -16848,6 +16889,7 @@ var MODEL_DATE_FIELDS = {
16848
16889
  "contract_service_units": ["approveAndPostDate", "endDate", "startDate"],
16849
16890
  "contract_ticket_purchases": ["datePurchased", "endDate", "startDate"],
16850
16891
  "contracts": ["endDate", "lastModifiedDateTime", "startDate"],
16892
+ "currencies": ["lastModifiedDateTime"],
16851
16893
  "expense_item_attachments": ["attachDate"],
16852
16894
  "expense_items": ["expenseDate"],
16853
16895
  "expense_reports": ["approvedDate", "submitDate", "weekEnding"],