node-autotask 0.31.0 → 0.32.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.
- package/CHANGELOG.md +23 -0
- package/MCP_TOOL_CATALOG.json +6 -6
- package/MCP_TOOL_MANIFEST.md +8 -10
- package/MCP_TOOL_OVERRIDES.json +0 -12
- package/N8N_MCP_MANIFEST.json +8 -8
- package/N8N_MCP_MANIFEST.md +8 -8
- package/README.md +7 -5
- package/capabilities.json +1417 -1393
- package/dist/capabilities.cjs +2 -2
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-QXUN2VCJ.cjs → chunk-DCTHO7CQ.cjs} +1416 -1392
- package/dist/{chunk-DQLEVKZS.cjs → chunk-FTF2FEQ6.cjs} +526 -490
- package/dist/{chunk-6UA544OR.js → chunk-FVHPN7ZR.js} +61 -25
- package/dist/{chunk-PCLL536B.cjs → chunk-IKPFR6K2.cjs} +6 -6
- package/dist/{chunk-EPOHRNSX.js → chunk-M2EGFPGF.js} +1416 -1392
- package/dist/{chunk-3H3RJ4LA.cjs → chunk-QCB4LYKD.cjs} +143 -143
- package/dist/{chunk-INSFDXHP.js → chunk-R6HLJCI2.js} +3 -3
- package/dist/{chunk-RQZUV74N.js → chunk-T6EDJRLT.js} +2 -2
- package/dist/{index-Uqj987EE.d.ts → index-Cw4aNNMo.d.ts} +63 -12
- package/dist/{index--5jrRl4u.d.cts → index-OkbCWcef.d.cts} +63 -12
- package/dist/index.cjs +23 -23
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/operations/index.cjs +112 -112
- package/dist/operations/index.d.cts +2 -2
- package/dist/operations/index.d.ts +2 -2
- package/dist/operations/index.js +2 -2
- package/dist/pool.cjs +9 -9
- package/dist/pool.d.cts +1 -1
- package/dist/pool.d.ts +1 -1
- package/dist/pool.js +4 -4
- package/dist/resources/index.cjs +4 -4
- package/dist/resources/index.d.cts +1 -1
- package/dist/resources/index.d.ts +1 -1
- package/dist/resources/index.js +3 -3
- package/docs/API.md +61 -36
- package/package.json +1 -1
|
@@ -135,13 +135,13 @@
|
|
|
135
135
|
|
|
136
136
|
|
|
137
137
|
|
|
138
|
-
var
|
|
138
|
+
var _chunkFTF2FEQ6cjs = require('./chunk-FTF2FEQ6.cjs');
|
|
139
139
|
|
|
140
140
|
|
|
141
141
|
|
|
142
142
|
|
|
143
143
|
|
|
144
|
-
var
|
|
144
|
+
var _chunkIKPFR6K2cjs = require('./chunk-IKPFR6K2.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 =
|
|
296
|
-
this.http = new (0,
|
|
295
|
+
this.config = _chunkIKPFR6K2cjs.resolveConfig.call(void 0, options);
|
|
296
|
+
this.http = new (0, _chunkIKPFR6K2cjs.HttpClient)(this.config);
|
|
297
297
|
this.http.client = this;
|
|
298
|
-
this.appointments = new (0,
|
|
299
|
-
this.authenticateResource = new (0,
|
|
300
|
-
this.billingCodes = new (0,
|
|
301
|
-
this.billingItemApprovalLevels = new (0,
|
|
302
|
-
this.billingItems = new (0,
|
|
303
|
-
this.changeRequestLinks = new (0,
|
|
304
|
-
this.checklistLibraries = new (0,
|
|
305
|
-
this.checklistLibraryChecklistItems = new (0,
|
|
306
|
-
this.classificationIcons = new (0,
|
|
307
|
-
this.companies = new (0,
|
|
308
|
-
this.companyAlerts = new (0,
|
|
309
|
-
this.companyLocations = new (0,
|
|
310
|
-
this.companyNotes = new (0,
|
|
311
|
-
this.companySiteConfigurations = new (0,
|
|
312
|
-
this.companyWebhooks = new (0,
|
|
313
|
-
this.configurationItemBillingProductAssociations = new (0,
|
|
314
|
-
this.configurationItemCategories = new (0,
|
|
315
|
-
this.configurationItemCategoryUdfAssociations = new (0,
|
|
316
|
-
this.configurationItemDnsRecords = new (0,
|
|
317
|
-
this.configurationItemNotes = new (0,
|
|
318
|
-
this.configurationItemRelatedItems = new (0,
|
|
319
|
-
this.configurationItems = new (0,
|
|
320
|
-
this.configurationItemSslSubjectAlternativeNames = new (0,
|
|
321
|
-
this.configurationItemTypes = new (0,
|
|
322
|
-
this.configurationItemWebhooks = new (0,
|
|
323
|
-
this.contactGroupContacts = new (0,
|
|
324
|
-
this.contactGroups = new (0,
|
|
325
|
-
this.contacts = new (0,
|
|
326
|
-
this.contactWebhooks = new (0,
|
|
327
|
-
this.contractBillingRules = new (0,
|
|
328
|
-
this.contractBlockHourFactors = new (0,
|
|
329
|
-
this.contractBlocks = new (0,
|
|
330
|
-
this.contractCharges = new (0,
|
|
331
|
-
this.contractExclusionBillingCodes = new (0,
|
|
332
|
-
this.contractExclusionRoles = new (0,
|
|
333
|
-
this.contractExclusionSetExcludedRoles = new (0,
|
|
334
|
-
this.contractExclusionSetExcludedWorkTypes = new (0,
|
|
335
|
-
this.contractExclusionSets = new (0,
|
|
336
|
-
this.contractMilestones = new (0,
|
|
337
|
-
this.contractNotes = new (0,
|
|
338
|
-
this.contractRates = new (0,
|
|
339
|
-
this.contractRetainers = new (0,
|
|
340
|
-
this.contractRoleCosts = new (0,
|
|
341
|
-
this.contractServiceAdjustments = new (0,
|
|
342
|
-
this.contractServiceBundleAdjustments = new (0,
|
|
343
|
-
this.contractServiceBundles = new (0,
|
|
344
|
-
this.contractServiceBundleUnits = new (0,
|
|
345
|
-
this.contractServices = new (0,
|
|
346
|
-
this.contractServiceUnits = new (0,
|
|
347
|
-
this.contracts = new (0,
|
|
348
|
-
this.contractTicketPurchases = new (0,
|
|
349
|
-
this.countries = new (0,
|
|
350
|
-
this.currencies = new (0,
|
|
351
|
-
this.departments = new (0,
|
|
352
|
-
this.domainRegistrars = new (0,
|
|
353
|
-
this.entityInformation = new (0,
|
|
354
|
-
this.expenseItemAttachments = new (0,
|
|
355
|
-
this.expenseItems = new (0,
|
|
356
|
-
this.expenseReports = new (0,
|
|
357
|
-
this.holidaySets = new (0,
|
|
358
|
-
this.holidays = new (0,
|
|
359
|
-
this.inventoryProducts = new (0,
|
|
360
|
-
this.invoices = new (0,
|
|
361
|
-
this.invoiceTemplates = new (0,
|
|
362
|
-
this.modules = new (0,
|
|
363
|
-
this.notificationHistory = new (0,
|
|
364
|
-
this.opportunities = new (0,
|
|
365
|
-
this.opportunityAttachments = new (0,
|
|
366
|
-
this.opportunityCategories = new (0,
|
|
367
|
-
this.organizationalLevel1s = new (0,
|
|
368
|
-
this.organizationalLevel2s = new (0,
|
|
369
|
-
this.organizationalLevelAssociations = new (0,
|
|
370
|
-
this.phases = new (0,
|
|
371
|
-
this.products = new (0,
|
|
372
|
-
this.productVendors = new (0,
|
|
373
|
-
this.projectCharges = new (0,
|
|
374
|
-
this.projectNotes = new (0,
|
|
375
|
-
this.projects = new (0,
|
|
376
|
-
this.purchaseApprovals = new (0,
|
|
377
|
-
this.purchaseOrderItemReceiving = new (0,
|
|
378
|
-
this.purchaseOrderItems = new (0,
|
|
379
|
-
this.purchaseOrders = new (0,
|
|
380
|
-
this.quoteItems = new (0,
|
|
381
|
-
this.quoteLocations = new (0,
|
|
382
|
-
this.quotes = new (0,
|
|
383
|
-
this.quoteTemplates = new (0,
|
|
384
|
-
this.resourceRoleQueues = new (0,
|
|
385
|
-
this.resourceRoles = new (0,
|
|
386
|
-
this.resourceSkills = new (0,
|
|
387
|
-
this.resources = new (0,
|
|
388
|
-
this.resourceTimeOffAdditional = new (0,
|
|
389
|
-
this.resourceTimeOffApprovers = new (0,
|
|
390
|
-
this.resourceTimeOffBalances = new (0,
|
|
391
|
-
this.roles = new (0,
|
|
392
|
-
this.salesOrders = new (0,
|
|
393
|
-
this.serviceCalls = new (0,
|
|
394
|
-
this.serviceCallTaskResources = new (0,
|
|
395
|
-
this.serviceCallTasks = new (0,
|
|
396
|
-
this.serviceCallTicketResources = new (0,
|
|
397
|
-
this.serviceCallTickets = new (0,
|
|
398
|
-
this.serviceLevelAgreementResults = new (0,
|
|
399
|
-
this.services = new (0,
|
|
400
|
-
this.skills = new (0,
|
|
401
|
-
this.subscriptionPeriods = new (0,
|
|
402
|
-
this.subscriptions = new (0,
|
|
403
|
-
this.surveyResults = new (0,
|
|
404
|
-
this.surveys = new (0,
|
|
405
|
-
this.tagAliases = new (0,
|
|
406
|
-
this.tagGroups = new (0,
|
|
407
|
-
this.tags = new (0,
|
|
408
|
-
this.taskSecondaryResources = new (0,
|
|
409
|
-
this.tasks = new (0,
|
|
410
|
-
this.taxRegions = new (0,
|
|
411
|
-
this.thresholdInformation = new (0,
|
|
412
|
-
this.ticketAdditionalConfigurationItems = new (0,
|
|
413
|
-
this.ticketAdditionalContacts = new (0,
|
|
414
|
-
this.ticketAttachments = new (0,
|
|
415
|
-
this.ticketCategories = new (0,
|
|
416
|
-
this.ticketCategoryFieldDefaults = new (0,
|
|
417
|
-
this.ticketChangeRequestApprovals = new (0,
|
|
418
|
-
this.ticketCharges = new (0,
|
|
419
|
-
this.ticketChecklistItems = new (0,
|
|
420
|
-
this.ticketChecklistLibraries = new (0,
|
|
421
|
-
this.ticketHistory = new (0,
|
|
422
|
-
this.ticketNoteAttachments = new (0,
|
|
423
|
-
this.ticketNotes = new (0,
|
|
424
|
-
this.ticketNoteWebhooks = new (0,
|
|
425
|
-
this.ticketSecondaryResources = new (0,
|
|
426
|
-
this.tickets = new (0,
|
|
427
|
-
this.ticketWebhooks = new (0,
|
|
428
|
-
this.timeEntries = new (0,
|
|
429
|
-
this.timeEntryAttachments = new (0,
|
|
430
|
-
this.timeOffRequests = new (0,
|
|
431
|
-
this.versionInformation = new (0,
|
|
432
|
-
this.version = new (0,
|
|
433
|
-
this.zoneInformation = new (0,
|
|
298
|
+
this.appointments = new (0, _chunkFTF2FEQ6cjs.AppointmentsResource)(this.http, this.config.pageSize);
|
|
299
|
+
this.authenticateResource = new (0, _chunkFTF2FEQ6cjs.AuthenticateResource)(this.http);
|
|
300
|
+
this.billingCodes = new (0, _chunkFTF2FEQ6cjs.BillingCodesResource)(this.http, this.config.pageSize);
|
|
301
|
+
this.billingItemApprovalLevels = new (0, _chunkFTF2FEQ6cjs.BillingItemApprovalLevelsResource)(this.http, this.config.pageSize);
|
|
302
|
+
this.billingItems = new (0, _chunkFTF2FEQ6cjs.BillingItemsResource)(this.http, this.config.pageSize);
|
|
303
|
+
this.changeRequestLinks = new (0, _chunkFTF2FEQ6cjs.ChangeRequestLinksResource)(this.http, this.config.pageSize);
|
|
304
|
+
this.checklistLibraries = new (0, _chunkFTF2FEQ6cjs.ChecklistLibrariesResource)(this.http, this.config.pageSize);
|
|
305
|
+
this.checklistLibraryChecklistItems = new (0, _chunkFTF2FEQ6cjs.ChecklistLibraryChecklistItemsResource)(this.http, this.config.pageSize);
|
|
306
|
+
this.classificationIcons = new (0, _chunkFTF2FEQ6cjs.ClassificationIconsResource)(this.http, this.config.pageSize);
|
|
307
|
+
this.companies = new (0, _chunkFTF2FEQ6cjs.CompaniesResource)(this.http, this.config.pageSize);
|
|
308
|
+
this.companyAlerts = new (0, _chunkFTF2FEQ6cjs.CompanyAlertsResource)(this.http, this.config.pageSize);
|
|
309
|
+
this.companyLocations = new (0, _chunkFTF2FEQ6cjs.CompanyLocationsResource)(this.http, this.config.pageSize);
|
|
310
|
+
this.companyNotes = new (0, _chunkFTF2FEQ6cjs.CompanyNotesResource)(this.http, this.config.pageSize);
|
|
311
|
+
this.companySiteConfigurations = new (0, _chunkFTF2FEQ6cjs.CompanySiteConfigurationsResource)(this.http, this.config.pageSize);
|
|
312
|
+
this.companyWebhooks = new (0, _chunkFTF2FEQ6cjs.CompanyWebhooksResource)(this.http, this.config.pageSize);
|
|
313
|
+
this.configurationItemBillingProductAssociations = new (0, _chunkFTF2FEQ6cjs.ConfigurationItemBillingProductAssociationsResource)(this.http, this.config.pageSize);
|
|
314
|
+
this.configurationItemCategories = new (0, _chunkFTF2FEQ6cjs.ConfigurationItemCategoriesResource)(this.http, this.config.pageSize);
|
|
315
|
+
this.configurationItemCategoryUdfAssociations = new (0, _chunkFTF2FEQ6cjs.ConfigurationItemCategoryUdfAssociationsResource)(this.http, this.config.pageSize);
|
|
316
|
+
this.configurationItemDnsRecords = new (0, _chunkFTF2FEQ6cjs.ConfigurationItemDnsRecordsResource)(this.http, this.config.pageSize);
|
|
317
|
+
this.configurationItemNotes = new (0, _chunkFTF2FEQ6cjs.ConfigurationItemNotesResource)(this.http, this.config.pageSize);
|
|
318
|
+
this.configurationItemRelatedItems = new (0, _chunkFTF2FEQ6cjs.ConfigurationItemRelatedItemsResource)(this.http, this.config.pageSize);
|
|
319
|
+
this.configurationItems = new (0, _chunkFTF2FEQ6cjs.ConfigurationItemsResource)(this.http, this.config.pageSize);
|
|
320
|
+
this.configurationItemSslSubjectAlternativeNames = new (0, _chunkFTF2FEQ6cjs.ConfigurationItemSslSubjectAlternativeNamesResource)(this.http, this.config.pageSize);
|
|
321
|
+
this.configurationItemTypes = new (0, _chunkFTF2FEQ6cjs.ConfigurationItemTypesResource)(this.http, this.config.pageSize);
|
|
322
|
+
this.configurationItemWebhooks = new (0, _chunkFTF2FEQ6cjs.ConfigurationItemWebhooksResource)(this.http, this.config.pageSize);
|
|
323
|
+
this.contactGroupContacts = new (0, _chunkFTF2FEQ6cjs.ContactGroupContactsResource)(this.http, this.config.pageSize);
|
|
324
|
+
this.contactGroups = new (0, _chunkFTF2FEQ6cjs.ContactGroupsResource)(this.http, this.config.pageSize);
|
|
325
|
+
this.contacts = new (0, _chunkFTF2FEQ6cjs.ContactsResource)(this.http, this.config.pageSize);
|
|
326
|
+
this.contactWebhooks = new (0, _chunkFTF2FEQ6cjs.ContactWebhooksResource)(this.http, this.config.pageSize);
|
|
327
|
+
this.contractBillingRules = new (0, _chunkFTF2FEQ6cjs.ContractBillingRulesResource)(this.http, this.config.pageSize);
|
|
328
|
+
this.contractBlockHourFactors = new (0, _chunkFTF2FEQ6cjs.ContractBlockHourFactorsResource)(this.http, this.config.pageSize);
|
|
329
|
+
this.contractBlocks = new (0, _chunkFTF2FEQ6cjs.ContractBlocksResource)(this.http, this.config.pageSize);
|
|
330
|
+
this.contractCharges = new (0, _chunkFTF2FEQ6cjs.ContractChargesResource)(this.http, this.config.pageSize);
|
|
331
|
+
this.contractExclusionBillingCodes = new (0, _chunkFTF2FEQ6cjs.ContractExclusionBillingCodesResource)(this.http, this.config.pageSize);
|
|
332
|
+
this.contractExclusionRoles = new (0, _chunkFTF2FEQ6cjs.ContractExclusionRolesResource)(this.http, this.config.pageSize);
|
|
333
|
+
this.contractExclusionSetExcludedRoles = new (0, _chunkFTF2FEQ6cjs.ContractExclusionSetExcludedRolesResource)(this.http, this.config.pageSize);
|
|
334
|
+
this.contractExclusionSetExcludedWorkTypes = new (0, _chunkFTF2FEQ6cjs.ContractExclusionSetExcludedWorkTypesResource)(this.http, this.config.pageSize);
|
|
335
|
+
this.contractExclusionSets = new (0, _chunkFTF2FEQ6cjs.ContractExclusionSetsResource)(this.http, this.config.pageSize);
|
|
336
|
+
this.contractMilestones = new (0, _chunkFTF2FEQ6cjs.ContractMilestonesResource)(this.http, this.config.pageSize);
|
|
337
|
+
this.contractNotes = new (0, _chunkFTF2FEQ6cjs.ContractNotesResource)(this.http, this.config.pageSize);
|
|
338
|
+
this.contractRates = new (0, _chunkFTF2FEQ6cjs.ContractRatesResource)(this.http, this.config.pageSize);
|
|
339
|
+
this.contractRetainers = new (0, _chunkFTF2FEQ6cjs.ContractRetainersResource)(this.http, this.config.pageSize);
|
|
340
|
+
this.contractRoleCosts = new (0, _chunkFTF2FEQ6cjs.ContractRoleCostsResource)(this.http, this.config.pageSize);
|
|
341
|
+
this.contractServiceAdjustments = new (0, _chunkFTF2FEQ6cjs.ContractServiceAdjustmentsResource)(this.http, this.config.pageSize);
|
|
342
|
+
this.contractServiceBundleAdjustments = new (0, _chunkFTF2FEQ6cjs.ContractServiceBundleAdjustmentsResource)(this.http, this.config.pageSize);
|
|
343
|
+
this.contractServiceBundles = new (0, _chunkFTF2FEQ6cjs.ContractServiceBundlesResource)(this.http, this.config.pageSize);
|
|
344
|
+
this.contractServiceBundleUnits = new (0, _chunkFTF2FEQ6cjs.ContractServiceBundleUnitsResource)(this.http, this.config.pageSize);
|
|
345
|
+
this.contractServices = new (0, _chunkFTF2FEQ6cjs.ContractServicesResource)(this.http, this.config.pageSize);
|
|
346
|
+
this.contractServiceUnits = new (0, _chunkFTF2FEQ6cjs.ContractServiceUnitsResource)(this.http, this.config.pageSize);
|
|
347
|
+
this.contracts = new (0, _chunkFTF2FEQ6cjs.ContractsResource)(this.http, this.config.pageSize);
|
|
348
|
+
this.contractTicketPurchases = new (0, _chunkFTF2FEQ6cjs.ContractTicketPurchasesResource)(this.http, this.config.pageSize);
|
|
349
|
+
this.countries = new (0, _chunkFTF2FEQ6cjs.CountriesResource)(this.http, this.config.pageSize);
|
|
350
|
+
this.currencies = new (0, _chunkFTF2FEQ6cjs.CurrenciesResource)(this.http, this.config.pageSize);
|
|
351
|
+
this.departments = new (0, _chunkFTF2FEQ6cjs.DepartmentsResource)(this.http, this.config.pageSize);
|
|
352
|
+
this.domainRegistrars = new (0, _chunkFTF2FEQ6cjs.DomainRegistrarsResource)(this.http, this.config.pageSize);
|
|
353
|
+
this.entityInformation = new (0, _chunkFTF2FEQ6cjs.EntityInformationResource)(this.http);
|
|
354
|
+
this.expenseItemAttachments = new (0, _chunkFTF2FEQ6cjs.ExpenseItemAttachmentsResource)(this.http, this.config.pageSize);
|
|
355
|
+
this.expenseItems = new (0, _chunkFTF2FEQ6cjs.ExpenseItemsResource)(this.http, this.config.pageSize);
|
|
356
|
+
this.expenseReports = new (0, _chunkFTF2FEQ6cjs.ExpenseReportsResource)(this.http, this.config.pageSize);
|
|
357
|
+
this.holidaySets = new (0, _chunkFTF2FEQ6cjs.HolidaySetsResource)(this.http, this.config.pageSize);
|
|
358
|
+
this.holidays = new (0, _chunkFTF2FEQ6cjs.HolidaysResource)(this.http, this.config.pageSize);
|
|
359
|
+
this.inventoryProducts = new (0, _chunkFTF2FEQ6cjs.InventoryProductsResource)(this.http, this.config.pageSize);
|
|
360
|
+
this.invoices = new (0, _chunkFTF2FEQ6cjs.InvoicesResource)(this.http, this.config.pageSize);
|
|
361
|
+
this.invoiceTemplates = new (0, _chunkFTF2FEQ6cjs.InvoiceTemplatesResource)(this.http, this.config.pageSize);
|
|
362
|
+
this.modules = new (0, _chunkFTF2FEQ6cjs.ModulesResource)(this.http);
|
|
363
|
+
this.notificationHistory = new (0, _chunkFTF2FEQ6cjs.NotificationHistoryResource)(this.http, this.config.pageSize);
|
|
364
|
+
this.opportunities = new (0, _chunkFTF2FEQ6cjs.OpportunitiesResource)(this.http, this.config.pageSize);
|
|
365
|
+
this.opportunityAttachments = new (0, _chunkFTF2FEQ6cjs.OpportunityAttachmentsResource)(this.http, this.config.pageSize);
|
|
366
|
+
this.opportunityCategories = new (0, _chunkFTF2FEQ6cjs.OpportunityCategoriesResource)(this.http, this.config.pageSize);
|
|
367
|
+
this.organizationalLevel1s = new (0, _chunkFTF2FEQ6cjs.OrganizationalLevel1sResource)(this.http, this.config.pageSize);
|
|
368
|
+
this.organizationalLevel2s = new (0, _chunkFTF2FEQ6cjs.OrganizationalLevel2sResource)(this.http, this.config.pageSize);
|
|
369
|
+
this.organizationalLevelAssociations = new (0, _chunkFTF2FEQ6cjs.OrganizationalLevelAssociationsResource)(this.http, this.config.pageSize);
|
|
370
|
+
this.phases = new (0, _chunkFTF2FEQ6cjs.PhasesResource)(this.http, this.config.pageSize);
|
|
371
|
+
this.products = new (0, _chunkFTF2FEQ6cjs.ProductsResource)(this.http, this.config.pageSize);
|
|
372
|
+
this.productVendors = new (0, _chunkFTF2FEQ6cjs.ProductVendorsResource)(this.http, this.config.pageSize);
|
|
373
|
+
this.projectCharges = new (0, _chunkFTF2FEQ6cjs.ProjectChargesResource)(this.http, this.config.pageSize);
|
|
374
|
+
this.projectNotes = new (0, _chunkFTF2FEQ6cjs.ProjectNotesResource)(this.http, this.config.pageSize);
|
|
375
|
+
this.projects = new (0, _chunkFTF2FEQ6cjs.ProjectsResource)(this.http, this.config.pageSize);
|
|
376
|
+
this.purchaseApprovals = new (0, _chunkFTF2FEQ6cjs.PurchaseApprovalsResource)(this.http, this.config.pageSize);
|
|
377
|
+
this.purchaseOrderItemReceiving = new (0, _chunkFTF2FEQ6cjs.PurchaseOrderItemReceivingResource)(this.http, this.config.pageSize);
|
|
378
|
+
this.purchaseOrderItems = new (0, _chunkFTF2FEQ6cjs.PurchaseOrderItemsResource)(this.http, this.config.pageSize);
|
|
379
|
+
this.purchaseOrders = new (0, _chunkFTF2FEQ6cjs.PurchaseOrdersResource)(this.http, this.config.pageSize);
|
|
380
|
+
this.quoteItems = new (0, _chunkFTF2FEQ6cjs.QuoteItemsResource)(this.http, this.config.pageSize);
|
|
381
|
+
this.quoteLocations = new (0, _chunkFTF2FEQ6cjs.QuoteLocationsResource)(this.http, this.config.pageSize);
|
|
382
|
+
this.quotes = new (0, _chunkFTF2FEQ6cjs.QuotesResource)(this.http, this.config.pageSize);
|
|
383
|
+
this.quoteTemplates = new (0, _chunkFTF2FEQ6cjs.QuoteTemplatesResource)(this.http, this.config.pageSize);
|
|
384
|
+
this.resourceRoleQueues = new (0, _chunkFTF2FEQ6cjs.ResourceRoleQueuesResource)(this.http, this.config.pageSize);
|
|
385
|
+
this.resourceRoles = new (0, _chunkFTF2FEQ6cjs.ResourceRolesResource)(this.http, this.config.pageSize);
|
|
386
|
+
this.resourceSkills = new (0, _chunkFTF2FEQ6cjs.ResourceSkillsResource)(this.http, this.config.pageSize);
|
|
387
|
+
this.resources = new (0, _chunkFTF2FEQ6cjs.ResourcesResource)(this.http, this.config, this.config.pageSize);
|
|
388
|
+
this.resourceTimeOffAdditional = new (0, _chunkFTF2FEQ6cjs.ResourceTimeOffAdditionalResource)(this.http, this.config.pageSize);
|
|
389
|
+
this.resourceTimeOffApprovers = new (0, _chunkFTF2FEQ6cjs.ResourceTimeOffApproversResource)(this.http, this.config.pageSize);
|
|
390
|
+
this.resourceTimeOffBalances = new (0, _chunkFTF2FEQ6cjs.ResourceTimeOffBalancesResource)(this.http, this.config.pageSize);
|
|
391
|
+
this.roles = new (0, _chunkFTF2FEQ6cjs.RolesResource)(this.http, this.config.pageSize);
|
|
392
|
+
this.salesOrders = new (0, _chunkFTF2FEQ6cjs.SalesOrdersResource)(this.http, this.config.pageSize);
|
|
393
|
+
this.serviceCalls = new (0, _chunkFTF2FEQ6cjs.ServiceCallsResource)(this.http, this.config.pageSize);
|
|
394
|
+
this.serviceCallTaskResources = new (0, _chunkFTF2FEQ6cjs.ServiceCallTaskResourcesResource)(this.http, this.config.pageSize);
|
|
395
|
+
this.serviceCallTasks = new (0, _chunkFTF2FEQ6cjs.ServiceCallTasksResource)(this.http, this.config.pageSize);
|
|
396
|
+
this.serviceCallTicketResources = new (0, _chunkFTF2FEQ6cjs.ServiceCallTicketResourcesResource)(this.http, this.config.pageSize);
|
|
397
|
+
this.serviceCallTickets = new (0, _chunkFTF2FEQ6cjs.ServiceCallTicketsResource)(this.http, this.config.pageSize);
|
|
398
|
+
this.serviceLevelAgreementResults = new (0, _chunkFTF2FEQ6cjs.ServiceLevelAgreementResultsResource)(this.http, this.config.pageSize);
|
|
399
|
+
this.services = new (0, _chunkFTF2FEQ6cjs.ServicesResource)(this.http, this.config.pageSize);
|
|
400
|
+
this.skills = new (0, _chunkFTF2FEQ6cjs.SkillsResource)(this.http, this.config.pageSize);
|
|
401
|
+
this.subscriptionPeriods = new (0, _chunkFTF2FEQ6cjs.SubscriptionPeriodsResource)(this.http, this.config.pageSize);
|
|
402
|
+
this.subscriptions = new (0, _chunkFTF2FEQ6cjs.SubscriptionsResource)(this.http, this.config.pageSize);
|
|
403
|
+
this.surveyResults = new (0, _chunkFTF2FEQ6cjs.SurveyResultsResource)(this.http, this.config.pageSize);
|
|
404
|
+
this.surveys = new (0, _chunkFTF2FEQ6cjs.SurveysResource)(this.http, this.config.pageSize);
|
|
405
|
+
this.tagAliases = new (0, _chunkFTF2FEQ6cjs.TagAliasesResource)(this.http, this.config.pageSize);
|
|
406
|
+
this.tagGroups = new (0, _chunkFTF2FEQ6cjs.TagGroupsResource)(this.http, this.config.pageSize);
|
|
407
|
+
this.tags = new (0, _chunkFTF2FEQ6cjs.TagsResource)(this.http, this.config.pageSize);
|
|
408
|
+
this.taskSecondaryResources = new (0, _chunkFTF2FEQ6cjs.TaskSecondaryResourcesResource)(this.http, this.config.pageSize);
|
|
409
|
+
this.tasks = new (0, _chunkFTF2FEQ6cjs.TasksResource)(this.http, this.config.pageSize);
|
|
410
|
+
this.taxRegions = new (0, _chunkFTF2FEQ6cjs.TaxRegionsResource)(this.http, this.config.pageSize);
|
|
411
|
+
this.thresholdInformation = new (0, _chunkFTF2FEQ6cjs.ThresholdInformationResource)(this.http);
|
|
412
|
+
this.ticketAdditionalConfigurationItems = new (0, _chunkFTF2FEQ6cjs.TicketAdditionalConfigurationItemsResource)(this.http, this.config.pageSize);
|
|
413
|
+
this.ticketAdditionalContacts = new (0, _chunkFTF2FEQ6cjs.TicketAdditionalContactsResource)(this.http, this.config.pageSize);
|
|
414
|
+
this.ticketAttachments = new (0, _chunkFTF2FEQ6cjs.TicketAttachmentsResource)(this.http, this.config.pageSize);
|
|
415
|
+
this.ticketCategories = new (0, _chunkFTF2FEQ6cjs.TicketCategoriesResource)(this.http, this.config.pageSize);
|
|
416
|
+
this.ticketCategoryFieldDefaults = new (0, _chunkFTF2FEQ6cjs.TicketCategoryFieldDefaultsResource)(this.http, this.config.pageSize);
|
|
417
|
+
this.ticketChangeRequestApprovals = new (0, _chunkFTF2FEQ6cjs.TicketChangeRequestApprovalsResource)(this.http, this.config.pageSize);
|
|
418
|
+
this.ticketCharges = new (0, _chunkFTF2FEQ6cjs.TicketChargesResource)(this.http, this.config.pageSize);
|
|
419
|
+
this.ticketChecklistItems = new (0, _chunkFTF2FEQ6cjs.TicketChecklistItemsResource)(this.http, this.config.pageSize);
|
|
420
|
+
this.ticketChecklistLibraries = new (0, _chunkFTF2FEQ6cjs.TicketChecklistLibrariesResource)(this.http, this.config.pageSize);
|
|
421
|
+
this.ticketHistory = new (0, _chunkFTF2FEQ6cjs.TicketHistoryResource)(this.http, this.config.pageSize);
|
|
422
|
+
this.ticketNoteAttachments = new (0, _chunkFTF2FEQ6cjs.TicketNoteAttachmentsResource)(this.http, this.config.pageSize);
|
|
423
|
+
this.ticketNotes = new (0, _chunkFTF2FEQ6cjs.TicketNotesResource)(this.http, this.config.pageSize);
|
|
424
|
+
this.ticketNoteWebhooks = new (0, _chunkFTF2FEQ6cjs.TicketNoteWebhooksResource)(this.http, this.config.pageSize);
|
|
425
|
+
this.ticketSecondaryResources = new (0, _chunkFTF2FEQ6cjs.TicketSecondaryResourcesResource)(this.http, this.config.pageSize);
|
|
426
|
+
this.tickets = new (0, _chunkFTF2FEQ6cjs.TicketsResource)(this.http, this.config.pageSize);
|
|
427
|
+
this.ticketWebhooks = new (0, _chunkFTF2FEQ6cjs.TicketWebhooksResource)(this.http, this.config.pageSize);
|
|
428
|
+
this.timeEntries = new (0, _chunkFTF2FEQ6cjs.TimeEntriesResource)(this.http, this.config.pageSize);
|
|
429
|
+
this.timeEntryAttachments = new (0, _chunkFTF2FEQ6cjs.TimeEntryAttachmentsResource)(this.http, this.config.pageSize);
|
|
430
|
+
this.timeOffRequests = new (0, _chunkFTF2FEQ6cjs.TimeOffRequestsResource)(this.http, this.config.pageSize);
|
|
431
|
+
this.versionInformation = new (0, _chunkFTF2FEQ6cjs.VersionInformationResource)(this.http);
|
|
432
|
+
this.version = new (0, _chunkFTF2FEQ6cjs.VersionResource)(this.http);
|
|
433
|
+
this.zoneInformation = new (0, _chunkFTF2FEQ6cjs.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
|
|
467
|
+
return _chunkIKPFR6K2cjs.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,
|
|
472
|
+
throw new (0, _chunkIKPFR6K2cjs.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) :
|
|
487
|
+
const value = await (signal === void 0 ? fn(item) : _chunkIKPFR6K2cjs.runWithSignal.call(void 0, signal, () => fn(item)));
|
|
488
488
|
results[i] = settle ? { status: "fulfilled", value } : value;
|
|
489
489
|
} catch (error) {
|
|
490
490
|
if (settle) results[i] = { status: "rejected", reason: error };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CAPABILITIES
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-M2EGFPGF.js";
|
|
4
4
|
|
|
5
5
|
// src/auth.ts
|
|
6
6
|
var AUTH_HEADERS = {
|
|
@@ -10863,8 +10863,8 @@ var EMPTY_REASON_STAMPS = {
|
|
|
10863
10863
|
var POINTER_NOTES = {
|
|
10864
10864
|
"ticket_history.query": `W1 (ww29 (australia-nz) live 2026-10-04; vendor contract change live-verified 2026-10-06): the vendor requires ticket_history.query to be supplied with exactly ONE ticketID-equals filter \u2014 an unfiltered call 500s by contract (10-06 text: "When querying the TicketHistory entity you are required to supply one and only one ticketID equals filter"). WITH the filter the query WORKS (live 2026-10-06: rows returned, hasMore true \u2014 a single {op:'eq', field:'ticketID', value:<id>} condition; the filter vocabulary is eq/noteq/gt/gte/lt/lte/beginsWith/endsWith/contains/exist/notExist/in/notIn/and/or). tickets.timeline / tickets.fullContext remain the convenient composites; raw history rows come from the filtered query.`,
|
|
10865
10865
|
"time_entries.create": `W-A3 (ww29 (australia-nz) live 2026-10-04; re-walled 2026-10-06; scope re-stamped 2026-10-21): for a time_entries.create whose (resourceID, roleID) pair selects the API-only user's own resource, the vendor refused with "API-only user cannot be selected for this field" (10-04 text: "The specified AssignedResourceID and AssignedRoleID combination is not currently defined"). This is a (resource, role) pair wall, NOT a blanket refusal of time-entry writes: live time_entries.create calls succeeded on 2026-10-21 (pair not recorded; two entries created, read back, 1.0 h total). The authorised pair set has NOT been re-adjudicated by a live probe; if a create fails with the pair-validation text, check the resource's role authorisation (whoAmI / the resource record) and try another pair. createForResource's 10-06 wall is likewise unconfirmed for other pairs. Working reads remain postedWithin / the window helpers (W-D3 pointer note).`,
|
|
10866
|
-
"time_entries.getPosted":
|
|
10867
|
-
"time_entries.getUnposted":
|
|
10866
|
+
"time_entries.getPosted": `W-D3 (ww29 (australia-nz) live 2026-10-04, re-verified live 2026-10-27): this zone's TimeEntry entity exposes NO posted-state field \u2014 reads carry no postedDate/postedOnTime and a postedDate exist/notExist filter fails with SERVER_ERROR "Unable to find postedDate in the TimeEntry Entity". time_entries.getPosted therefore no longer sends any postedDate condition: posted state is derived from billing_items.timeEntryID (an entry is posted when a billing item references it, whether or not billingApprovalDateTime is set \u2014 ww29 never populates it). If a call still fails, the fault is NOT the old postedDate wall: it is a billing_items join/read fault (typed error \u2014 429 RATE_LIMITED included \u2014 propagates, no partial result). The dateWorked window reads time_entries.postedWithin / time_entries.dateWorkedWindow use the same derivation.`,
|
|
10867
|
+
"time_entries.getUnposted": `W-D3 (ww29 (australia-nz) live 2026-10-04, re-verified live 2026-10-27): this zone's TimeEntry entity exposes NO posted-state field \u2014 reads carry no postedDate/postedOnTime and a postedDate exist/notExist filter fails with SERVER_ERROR "Unable to find postedDate in the TimeEntry Entity". time_entries.getUnposted therefore no longer sends any postedDate condition: unposted state is derived from billing_items.timeEntryID (an entry is posted when a billing item references it, whether or not billingApprovalDateTime is set \u2014 ww29 never populates it). If a call still fails, the fault is NOT the old postedDate wall: it is a billing_items join/read fault (typed error \u2014 429 RATE_LIMITED included \u2014 propagates, no partial result). The dateWorked window reads time_entries.postedWithin / time_entries.dateWorkedWindow use the same derivation.`,
|
|
10868
10868
|
"authenticate.get": "W2: authenticate.get is DESIGNATOR-ONLY \u2014 it returns the designator identity, not a tenant data surface; a miss/empty here is not a data-empty signal (no emptyReason is attached by design \u2014 a false reason would be worse than none)"
|
|
10869
10869
|
};
|
|
10870
10870
|
var BLIND_SURFACE_INVENTORY = {
|
|
@@ -135,13 +135,13 @@ import {
|
|
|
135
135
|
VersionInformationResource,
|
|
136
136
|
VersionResource,
|
|
137
137
|
ZoneInformationResource
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-FVHPN7ZR.js";
|
|
139
139
|
import {
|
|
140
140
|
AutotaskConfigError,
|
|
141
141
|
HttpClient,
|
|
142
142
|
resolveConfig,
|
|
143
143
|
runWithSignal
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-R6HLJCI2.js";
|
|
145
145
|
|
|
146
146
|
// src/client.ts
|
|
147
147
|
var AutotaskClient = class {
|
|
@@ -1388,7 +1388,7 @@ declare class HttpClient {
|
|
|
1388
1388
|
* queryBounded noteChars free-text cap (issue #61 — response-side only);
|
|
1389
1389
|
* - docs/API.md §11.7/§11.8/§11.9/§11.10/§11.11/§11.12 render the same facts.
|
|
1390
1390
|
*
|
|
1391
|
-
* planHash:
|
|
1391
|
+
* planHash: eb91032d723d5b0ca909da740889a5e28cf606ab4ee9e749de3127c287ab0471
|
|
1392
1392
|
*/
|
|
1393
1393
|
|
|
1394
1394
|
/** One pinned blind-surface stamp (the result-time sentinel object). */
|
|
@@ -2713,7 +2713,7 @@ interface CompaniesUpsertByNameResult {
|
|
|
2713
2713
|
/** False when the dedup match short-circuited the create. */
|
|
2714
2714
|
created: boolean;
|
|
2715
2715
|
/** The matched record (present when created is false). */
|
|
2716
|
-
existing?:
|
|
2716
|
+
existing?: Company;
|
|
2717
2717
|
/** The dedup boundary carried IN the result (a query-miss is NOT proof of absence). */
|
|
2718
2718
|
blindSurface: CompaniesBlindSurfaceCaveat;
|
|
2719
2719
|
/** The vendor side effects reported on the created result (the V5 auto-location). */
|
|
@@ -8039,15 +8039,44 @@ interface MoveManualAction {
|
|
|
8039
8039
|
uiLink: string | null;
|
|
8040
8040
|
reason: string;
|
|
8041
8041
|
}
|
|
8042
|
+
/** The source record as read before the move (a vendor TimeEntry / TicketCharge row; fields vary by resource, so only the common ones are named). */
|
|
8043
|
+
interface MoveSnapshot {
|
|
8044
|
+
id?: number;
|
|
8045
|
+
ticketID?: number | null;
|
|
8046
|
+
taskID?: number | null;
|
|
8047
|
+
contractID?: number | null;
|
|
8048
|
+
resourceID?: number;
|
|
8049
|
+
lastModifiedDateTime?: string;
|
|
8050
|
+
lastModifiedDate?: string;
|
|
8051
|
+
/** Any other vendor field of the source record. */
|
|
8052
|
+
[field: string]: unknown;
|
|
8053
|
+
}
|
|
8054
|
+
/** The soft facts a move reports (not refusals). */
|
|
8055
|
+
interface MoveFacts {
|
|
8056
|
+
/** The tenant's closed-ticket-status read (or the disclosed fallback). */
|
|
8057
|
+
closedStatus: {
|
|
8058
|
+
closedIds: number[];
|
|
8059
|
+
source: 'picklist' | 'assumed';
|
|
8060
|
+
note: string;
|
|
8061
|
+
};
|
|
8062
|
+
sourceTicketId: number;
|
|
8063
|
+
sourceCompanyID: number | null;
|
|
8064
|
+
targetCompanyID: number | null;
|
|
8065
|
+
/** null when the source ticket could not be read. */
|
|
8066
|
+
companyChanged: boolean | null;
|
|
8067
|
+
contractChanged: boolean | null;
|
|
8068
|
+
/** Resource-specific soft facts added by a move spec's checkSource. */
|
|
8069
|
+
[fact: string]: unknown;
|
|
8070
|
+
}
|
|
8042
8071
|
interface MoveResult {
|
|
8043
8072
|
status: MoveStatus;
|
|
8044
8073
|
sourceId: number;
|
|
8045
8074
|
newId: number;
|
|
8046
8075
|
correlationId: string;
|
|
8047
8076
|
/** The full source record as read before the delete — the caller persists it (the SDK stores nothing). */
|
|
8048
|
-
snapshot:
|
|
8077
|
+
snapshot: MoveSnapshot;
|
|
8049
8078
|
/** Soft facts (not refusals): companyChanged, contractChanged, ... */
|
|
8050
|
-
facts:
|
|
8079
|
+
facts: MoveFacts;
|
|
8051
8080
|
manualAction?: MoveManualAction;
|
|
8052
8081
|
}
|
|
8053
8082
|
interface MoveToTicketOptions {
|
|
@@ -8876,14 +8905,36 @@ declare class TicketWebhooksResource extends BaseResource<TicketWebhook, TicketW
|
|
|
8876
8905
|
* behaviour bit-for-bit) under its historical name. */
|
|
8877
8906
|
type TimeEntriesWindowOptions = DateWindowOptions;
|
|
8878
8907
|
interface TimeEntriesStatusOptions {
|
|
8879
|
-
/** Max
|
|
8908
|
+
/** Max entries read (default 500 = the hard cap, issue #128); `hasMore` flags a capped read. */
|
|
8880
8909
|
limit?: number;
|
|
8881
8910
|
/** Optional ticketID eq narrowing (node parity). */
|
|
8882
8911
|
ticketID?: number;
|
|
8912
|
+
/** Inclusive `dateWorked` window start, 'YYYY-MM-DD' (a calendar day, no tz shift — dateWorked is date-only). */
|
|
8913
|
+
/** OPTIONAL, but pass it: a call without dates reads the tenant's first 500 time entries (effectively the oldest), a near-empty/misleading slice with `hasMore` true. */
|
|
8914
|
+
dateFrom?: string;
|
|
8915
|
+
/** Inclusive `dateWorked` window end, 'YYYY-MM-DD'. */
|
|
8916
|
+
/** OPTIONAL, but pass it together with `dateFrom` (see there). */
|
|
8917
|
+
dateTo?: string;
|
|
8918
|
+
}
|
|
8919
|
+
/** The getPosted / getUnposted result: the classified entries plus an honest truncation flag. */
|
|
8920
|
+
interface TimeEntriesPostedStateResult {
|
|
8921
|
+
/** getPosted: entries a billing item references. getUnposted: entries no billing item references. */
|
|
8922
|
+
items: TimeEntry[];
|
|
8923
|
+
/** True when the entry read or a billing-item join page had more rows than one bounded page: the result is partial (a window with more than 500 entries returns the first 500) — narrow the window. */
|
|
8924
|
+
hasMore: boolean;
|
|
8925
|
+
/** The inclusive dateWorked window queried (second-precision UTC); a side is null when that bound was not given. */
|
|
8926
|
+
window: {
|
|
8927
|
+
from: string | null;
|
|
8928
|
+
to: string | null;
|
|
8929
|
+
};
|
|
8930
|
+
/** INFORMATIONAL only, not posted state: items whose `billingApprovalDateTime` is set. Some tenants (ww29) never populate it. */
|
|
8931
|
+
approvedCount: number;
|
|
8932
|
+
/** INFORMATIONAL only, not posted state: items without `billingApprovalDateTime`. */
|
|
8933
|
+
unapprovedCount: number;
|
|
8883
8934
|
}
|
|
8884
8935
|
/** postedWithin options: the optional narrowing + the shared limit bound. */
|
|
8885
8936
|
interface TimeEntriesPostedWindowOptions {
|
|
8886
|
-
/** Posted narrowing: `true` = posted rows only
|
|
8937
|
+
/** Posted narrowing, applied CLIENT-side after the billing-item join: `true` = posted rows only, `false` = unposted rows only (entries no billing item references), omitted = both. No postedDate condition is ever sent. */
|
|
8887
8938
|
posted?: boolean;
|
|
8888
8939
|
/** Max records (default 500 = the hard cap — a window with more than 500 matching rows: the bounded query op (time_entries.query) with the same dateWorked filter, its 2500-row walk cap; issue #128). */
|
|
8889
8940
|
limit?: number;
|
|
@@ -8896,18 +8947,18 @@ interface TimeEntriesPostedWindowOptions {
|
|
|
8896
8947
|
}
|
|
8897
8948
|
/** The posted-window read result (issue #10): the window's items + the two-direction count in one pass. */
|
|
8898
8949
|
interface TimeEntriesPostedWindowResult {
|
|
8899
|
-
/** The window's entries (bounded by `limit`). */
|
|
8950
|
+
/** The window's entries read, narrowed by `posted` when set (bounded by `limit`). */
|
|
8900
8951
|
items: TimeEntry[];
|
|
8901
|
-
/**
|
|
8952
|
+
/** Of EVERY entry read (before the `posted` narrowing), those a billing item references (the join — never a `postedDate` read). With `posted` set, `items.length` can differ from postedCount + unpostedCount. */
|
|
8902
8953
|
postedCount: number;
|
|
8903
|
-
/**
|
|
8954
|
+
/** Of EVERY entry read (before the `posted` narrowing), those no billing item references — non-zero even with `posted: true` (entries whose join page was truncated are in neither count). */
|
|
8904
8955
|
unpostedCount: number;
|
|
8905
8956
|
/** The inclusive UTC window actually queried (wire bounds, second precision). */
|
|
8906
8957
|
window: {
|
|
8907
8958
|
from: string;
|
|
8908
8959
|
to: string;
|
|
8909
8960
|
};
|
|
8910
|
-
/** True when the
|
|
8961
|
+
/** True when the entry read has a live `pageDetails.nextPageUrl` cursor (more matching records than the bounded read returned) OR a billing-item join page was truncated (those entries are in neither count) — the posted/unposted counts then cover the returned rows ONLY (at most `limit`); re-query with a wider window or a narrowing filter to reconcile the totals. */
|
|
8911
8962
|
truncated: boolean;
|
|
8912
8963
|
}
|
|
8913
8964
|
|
|
@@ -9115,9 +9166,9 @@ declare class TimeEntriesResource extends BaseResource<TimeEntry, TimeEntryCreat
|
|
|
9115
9166
|
/** Node-parity special op (hand-written in src/resources/special/time_entries.ts). */
|
|
9116
9167
|
dateWorkedWindow(from: string, to: string, opts?: TimeEntriesPostedWindowOptions): Promise<TimeEntriesPostedWindowResult>;
|
|
9117
9168
|
/** Node-parity special op (hand-written in src/resources/special/time_entries.ts). */
|
|
9118
|
-
getPosted(opts?: TimeEntriesStatusOptions): Promise<
|
|
9169
|
+
getPosted(opts?: TimeEntriesStatusOptions): Promise<TimeEntriesPostedStateResult>;
|
|
9119
9170
|
/** Node-parity special op (hand-written in src/resources/special/time_entries.ts). */
|
|
9120
|
-
getUnposted(opts?: TimeEntriesStatusOptions): Promise<
|
|
9171
|
+
getUnposted(opts?: TimeEntriesStatusOptions): Promise<TimeEntriesPostedStateResult>;
|
|
9121
9172
|
/** Node-parity special op (hand-written in src/resources/special/time_entries.ts). */
|
|
9122
9173
|
last14(opts?: TimeEntriesWindowOptions): Promise<TimeEntry[]>;
|
|
9123
9174
|
/** Node-parity special op (hand-written in src/resources/special/time_entries.ts). */
|