node-autotask 0.10.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/MCP_TOOL_CATALOG.json +27 -9
  2. package/MCP_TOOL_MANIFEST.md +13 -12
  3. package/N8N_MCP_MANIFEST.json +3 -3
  4. package/N8N_MCP_MANIFEST.md +4 -4
  5. package/README.md +1 -1
  6. package/capabilities.json +1460 -1250
  7. package/dist/capabilities.cjs +2 -2
  8. package/dist/capabilities.js +1 -1
  9. package/dist/{chunk-NVJ2PTN3.js → chunk-3WIDDEHP.js} +2 -2
  10. package/dist/{chunk-6KFP5HV3.js → chunk-4A6XLQHE.js} +1459 -1249
  11. package/dist/{chunk-WTVLHMZA.cjs → chunk-5N6DYKXO.cjs} +519 -39
  12. package/dist/{chunk-HWC2WPX2.js → chunk-GD4JRPYF.js} +498 -18
  13. package/dist/{chunk-WTVD2JZN.cjs → chunk-JKZVCFRY.cjs} +1459 -1249
  14. package/dist/{chunk-3VB6N44U.js → chunk-MY7ZSXY3.js} +1075 -6
  15. package/dist/{chunk-QUM74WLQ.cjs → chunk-SRJI5XUZ.cjs} +135 -135
  16. package/dist/{chunk-S7VMY5KN.cjs → chunk-TELBX6HK.cjs} +1462 -393
  17. package/dist/{index-DGgMD8aq.d.ts → index-D8I6taEo.d.cts} +200 -2
  18. package/dist/{index-BOyh7S65.d.cts → index-uAxAcRol.d.ts} +200 -2
  19. package/dist/index.cjs +19 -19
  20. package/dist/index.d.cts +4 -4
  21. package/dist/index.d.ts +4 -4
  22. package/dist/index.js +4 -4
  23. package/dist/operations/index.cjs +213 -529
  24. package/dist/operations/index.d.cts +24 -6
  25. package/dist/operations/index.d.ts +24 -6
  26. package/dist/operations/index.js +102 -418
  27. package/dist/pool.cjs +8 -8
  28. package/dist/pool.d.cts +2 -2
  29. package/dist/pool.d.ts +2 -2
  30. package/dist/pool.js +4 -4
  31. package/dist/resources/index.cjs +4 -4
  32. package/dist/resources/index.d.cts +2 -2
  33. package/dist/resources/index.d.ts +2 -2
  34. package/dist/resources/index.js +3 -3
  35. package/dist/types/index.d.cts +1 -1
  36. package/dist/types/index.d.ts +1 -1
  37. package/docs/API.md +192 -2
  38. package/docs/N8N-ADAPTER.md +1 -1
  39. package/package.json +1 -1
  40. package/dist/{index-cQ6CRexR.d.cts → index-BXtKN1M5.d.cts} +201 -201
  41. package/dist/{index-cQ6CRexR.d.ts → index-BXtKN1M5.d.ts} +201 -201
@@ -3306,6 +3306,207 @@ type ContractServiceUnitUpdate = ContractServiceUnitCreate;
3306
3306
  */
3307
3307
  type ContractServiceUnitSummary = ContractServiceUnit;
3308
3308
 
3309
+ /**
3310
+ * Invoice — API model types (G4 batch A).
3311
+ * GENERATED by scripts/generate-batch.mjs from api-docs.json (InvoiceModel). Do not hand-edit.
3312
+ * Field names keep the exact API casing; returned fields are optional (the vendor
3313
+ * answers partial records) except the always-present id. Cross-model refs degrade to unknown.
3314
+ */
3315
+ /** Invoice record as returned by the API (swagger InvoiceModel). */
3316
+ interface Invoice {
3317
+ id: number;
3318
+ batchID?: number;
3319
+ comments?: string;
3320
+ companyID?: number;
3321
+ createDateTime?: string;
3322
+ creatorResourceID?: number;
3323
+ dueDate?: string;
3324
+ fromDate?: string;
3325
+ invoiceDateTime?: string;
3326
+ invoiceEditorTemplateID?: number;
3327
+ invoiceNumber?: string;
3328
+ invoiceTotal?: number;
3329
+ isVoided?: boolean;
3330
+ orderNumber?: string;
3331
+ paidDate?: string;
3332
+ paymentTerm?: number;
3333
+ taxGroup?: number;
3334
+ taxRegionName?: string;
3335
+ toDate?: string;
3336
+ totalTaxValue?: number;
3337
+ voidedByResourceID?: number;
3338
+ voidedDate?: string;
3339
+ webServiceDate?: string;
3340
+ }
3341
+ /** Create input for Invoice (writable fields; accepts id or itemId). */
3342
+ interface InvoiceCreate {
3343
+ id?: number;
3344
+ batchID?: number;
3345
+ comments?: string;
3346
+ companyID?: number;
3347
+ createDateTime?: string;
3348
+ creatorResourceID?: number;
3349
+ dueDate?: string;
3350
+ fromDate?: string;
3351
+ invoiceDateTime?: string;
3352
+ invoiceEditorTemplateID?: number;
3353
+ invoiceNumber?: string;
3354
+ invoiceTotal?: number;
3355
+ isVoided?: boolean;
3356
+ orderNumber?: string;
3357
+ paidDate?: string;
3358
+ paymentTerm?: number;
3359
+ taxGroup?: number;
3360
+ taxRegionName?: string;
3361
+ toDate?: string;
3362
+ totalTaxValue?: number;
3363
+ voidedByResourceID?: number;
3364
+ voidedDate?: string;
3365
+ webServiceDate?: string;
3366
+ }
3367
+ /** Update input (same writable surface; id identifies the record in the path). */
3368
+ type InvoiceUpdate = InvoiceCreate;
3369
+ /** Compact helper shape for Invoice (resolve/search/getContext): structural alias of the
3370
+ * full record — the registry outputSchema names the fields the MCP projection keeps.
3371
+ */
3372
+ type InvoiceSummary = Invoice;
3373
+
3374
+ /**
3375
+ * ExpenseItem — API model types (G5 batch B).
3376
+ * GENERATED by scripts/generate-batch.mjs from api-docs.json (ExpenseItemModel). Do not hand-edit.
3377
+ * Field names keep the exact API casing; returned fields are optional (the vendor
3378
+ * answers partial records) except the always-present id. Cross-model refs degrade to unknown.
3379
+ */
3380
+
3381
+ /** ExpenseItem record as returned by the API (swagger ExpenseItemModel). */
3382
+ interface ExpenseItem {
3383
+ id: number;
3384
+ companyID?: number;
3385
+ description?: string;
3386
+ destination?: string;
3387
+ entertainmentLocation?: string;
3388
+ expenseCategory?: number;
3389
+ expenseCurrencyExpenseAmount?: number;
3390
+ expenseCurrencyID?: number;
3391
+ expenseDate?: string;
3392
+ expenseReportID?: number;
3393
+ glCode?: string;
3394
+ haveReceipt?: boolean;
3395
+ internalCurrencyExpenseAmount?: number;
3396
+ internalCurrencyReimbursementAmount?: number;
3397
+ isBillableToCompany?: boolean;
3398
+ isReimbursable?: boolean;
3399
+ isRejected?: boolean;
3400
+ miles?: number;
3401
+ odometerEnd?: number;
3402
+ odometerStart?: number;
3403
+ origin?: string;
3404
+ paymentType?: number;
3405
+ projectID?: number;
3406
+ purchaseOrderNumber?: string;
3407
+ reimbursementCurrencyReimbursementAmount?: number;
3408
+ taskID?: number;
3409
+ ticketID?: number;
3410
+ workType?: number;
3411
+ soapParentPropertyId?: unknown;
3412
+ }
3413
+ /** Create input for ExpenseItem (writable fields; accepts id or itemId). */
3414
+ interface ExpenseItemCreate {
3415
+ id?: number;
3416
+ companyID?: number;
3417
+ description?: string;
3418
+ destination?: string;
3419
+ entertainmentLocation?: string;
3420
+ expenseCategory?: number;
3421
+ expenseCurrencyExpenseAmount?: number;
3422
+ expenseCurrencyID?: number;
3423
+ expenseDate?: string;
3424
+ expenseReportID?: number;
3425
+ glCode?: string;
3426
+ haveReceipt?: boolean;
3427
+ internalCurrencyExpenseAmount?: number;
3428
+ internalCurrencyReimbursementAmount?: number;
3429
+ isBillableToCompany?: boolean;
3430
+ isReimbursable?: boolean;
3431
+ isRejected?: boolean;
3432
+ miles?: number;
3433
+ odometerEnd?: number;
3434
+ odometerStart?: number;
3435
+ origin?: string;
3436
+ paymentType?: number;
3437
+ projectID?: number;
3438
+ purchaseOrderNumber?: string;
3439
+ reimbursementCurrencyReimbursementAmount?: number;
3440
+ taskID?: number;
3441
+ ticketID?: number;
3442
+ workType?: number;
3443
+ /** UDF map (name → value) or UdfField[] — normalised to the vendor array on the wire. */
3444
+ userDefinedFields?: UdfField[];
3445
+ }
3446
+ /** Update input (same writable surface; id identifies the record in the path). */
3447
+ type ExpenseItemUpdate = ExpenseItemCreate;
3448
+ /** Compact helper shape for ExpenseItem (resolve/search/getContext): structural alias of the
3449
+ * full record — the registry outputSchema names the fields the MCP projection keeps.
3450
+ */
3451
+ type ExpenseItemSummary = ExpenseItem;
3452
+
3453
+ /**
3454
+ * Subscription — API model types (G4 batch A).
3455
+ * GENERATED by scripts/generate-batch.mjs from api-docs.json (SubscriptionModel). Do not hand-edit.
3456
+ * Field names keep the exact API casing; returned fields are optional (the vendor
3457
+ * answers partial records) except the always-present id. Cross-model refs degrade to unknown.
3458
+ */
3459
+
3460
+ /** Subscription record as returned by the API (swagger SubscriptionModel). */
3461
+ interface Subscription {
3462
+ id: number;
3463
+ configurationItemID?: number;
3464
+ description?: string;
3465
+ effectiveDate?: string;
3466
+ expirationDate?: string;
3467
+ impersonatorCreatorResourceID?: number;
3468
+ materialCodeID?: number;
3469
+ organizationalLevelAssociationID?: number;
3470
+ periodCost?: number;
3471
+ periodPrice?: number;
3472
+ periodType?: number;
3473
+ purchaseOrderNumber?: string;
3474
+ status?: number;
3475
+ subscriptionName?: string;
3476
+ totalCost?: number;
3477
+ totalPrice?: number;
3478
+ vendorID?: number;
3479
+ userDefinedFields?: UdfField[];
3480
+ }
3481
+ /** Create input for Subscription (writable fields; accepts id or itemId). */
3482
+ interface SubscriptionCreate {
3483
+ id?: number;
3484
+ configurationItemID?: number;
3485
+ description?: string;
3486
+ effectiveDate?: string;
3487
+ expirationDate?: string;
3488
+ impersonatorCreatorResourceID?: number;
3489
+ materialCodeID?: number;
3490
+ organizationalLevelAssociationID?: number;
3491
+ periodCost?: number;
3492
+ periodPrice?: number;
3493
+ periodType?: number;
3494
+ purchaseOrderNumber?: string;
3495
+ status?: number;
3496
+ subscriptionName?: string;
3497
+ totalCost?: number;
3498
+ totalPrice?: number;
3499
+ vendorID?: number;
3500
+ /** UDF map (name → value) or UdfField[] — normalised to the vendor array on the wire. */
3501
+ userDefinedFields?: UdfField[];
3502
+ }
3503
+ /** Update input (same writable surface; id identifies the record in the path). */
3504
+ type SubscriptionUpdate = SubscriptionCreate;
3505
+ /** Compact helper shape for Subscription (resolve/search/getContext): structural alias of the
3506
+ * full record — the registry outputSchema names the fields the MCP projection keeps.
3507
+ */
3508
+ type SubscriptionSummary = Subscription;
3509
+
3309
3510
  /**
3310
3511
  * ContractTicketPurchases — API model types (G4 batch A).
3311
3512
  * GENERATED by scripts/generate-batch.mjs from api-docs.json (ContractTicketPurchaseModel). Do not hand-edit.
@@ -3517,85 +3718,6 @@ type ExpenseItemAttachmentUpdate = ExpenseItemAttachmentCreate;
3517
3718
  */
3518
3719
  type ExpenseItemAttachmentSummary = ExpenseItemAttachment;
3519
3720
 
3520
- /**
3521
- * ExpenseItem — API model types (G5 batch B).
3522
- * GENERATED by scripts/generate-batch.mjs from api-docs.json (ExpenseItemModel). Do not hand-edit.
3523
- * Field names keep the exact API casing; returned fields are optional (the vendor
3524
- * answers partial records) except the always-present id. Cross-model refs degrade to unknown.
3525
- */
3526
-
3527
- /** ExpenseItem record as returned by the API (swagger ExpenseItemModel). */
3528
- interface ExpenseItem {
3529
- id: number;
3530
- companyID?: number;
3531
- description?: string;
3532
- destination?: string;
3533
- entertainmentLocation?: string;
3534
- expenseCategory?: number;
3535
- expenseCurrencyExpenseAmount?: number;
3536
- expenseCurrencyID?: number;
3537
- expenseDate?: string;
3538
- expenseReportID?: number;
3539
- glCode?: string;
3540
- haveReceipt?: boolean;
3541
- internalCurrencyExpenseAmount?: number;
3542
- internalCurrencyReimbursementAmount?: number;
3543
- isBillableToCompany?: boolean;
3544
- isReimbursable?: boolean;
3545
- isRejected?: boolean;
3546
- miles?: number;
3547
- odometerEnd?: number;
3548
- odometerStart?: number;
3549
- origin?: string;
3550
- paymentType?: number;
3551
- projectID?: number;
3552
- purchaseOrderNumber?: string;
3553
- reimbursementCurrencyReimbursementAmount?: number;
3554
- taskID?: number;
3555
- ticketID?: number;
3556
- workType?: number;
3557
- soapParentPropertyId?: unknown;
3558
- }
3559
- /** Create input for ExpenseItem (writable fields; accepts id or itemId). */
3560
- interface ExpenseItemCreate {
3561
- id?: number;
3562
- companyID?: number;
3563
- description?: string;
3564
- destination?: string;
3565
- entertainmentLocation?: string;
3566
- expenseCategory?: number;
3567
- expenseCurrencyExpenseAmount?: number;
3568
- expenseCurrencyID?: number;
3569
- expenseDate?: string;
3570
- expenseReportID?: number;
3571
- glCode?: string;
3572
- haveReceipt?: boolean;
3573
- internalCurrencyExpenseAmount?: number;
3574
- internalCurrencyReimbursementAmount?: number;
3575
- isBillableToCompany?: boolean;
3576
- isReimbursable?: boolean;
3577
- isRejected?: boolean;
3578
- miles?: number;
3579
- odometerEnd?: number;
3580
- odometerStart?: number;
3581
- origin?: string;
3582
- paymentType?: number;
3583
- projectID?: number;
3584
- purchaseOrderNumber?: string;
3585
- reimbursementCurrencyReimbursementAmount?: number;
3586
- taskID?: number;
3587
- ticketID?: number;
3588
- workType?: number;
3589
- /** UDF map (name → value) or UdfField[] — normalised to the vendor array on the wire. */
3590
- userDefinedFields?: UdfField[];
3591
- }
3592
- /** Update input (same writable surface; id identifies the record in the path). */
3593
- type ExpenseItemUpdate = ExpenseItemCreate;
3594
- /** Compact helper shape for ExpenseItem (resolve/search/getContext): structural alias of the
3595
- * full record — the registry outputSchema names the fields the MCP projection keeps.
3596
- */
3597
- type ExpenseItemSummary = ExpenseItem;
3598
-
3599
3721
  /**
3600
3722
  * ExpenseReport — API model types (G5 batch B).
3601
3723
  * GENERATED by scripts/generate-batch.mjs from api-docs.json (ExpenseReportModel). Do not hand-edit.
@@ -3794,71 +3916,6 @@ interface InventoryStockedItemTransfer {
3794
3916
  soapParentPropertyId?: unknown;
3795
3917
  }
3796
3918
 
3797
- /**
3798
- * Invoice — API model types (G4 batch A).
3799
- * GENERATED by scripts/generate-batch.mjs from api-docs.json (InvoiceModel). Do not hand-edit.
3800
- * Field names keep the exact API casing; returned fields are optional (the vendor
3801
- * answers partial records) except the always-present id. Cross-model refs degrade to unknown.
3802
- */
3803
- /** Invoice record as returned by the API (swagger InvoiceModel). */
3804
- interface Invoice {
3805
- id: number;
3806
- batchID?: number;
3807
- comments?: string;
3808
- companyID?: number;
3809
- createDateTime?: string;
3810
- creatorResourceID?: number;
3811
- dueDate?: string;
3812
- fromDate?: string;
3813
- invoiceDateTime?: string;
3814
- invoiceEditorTemplateID?: number;
3815
- invoiceNumber?: string;
3816
- invoiceTotal?: number;
3817
- isVoided?: boolean;
3818
- orderNumber?: string;
3819
- paidDate?: string;
3820
- paymentTerm?: number;
3821
- taxGroup?: number;
3822
- taxRegionName?: string;
3823
- toDate?: string;
3824
- totalTaxValue?: number;
3825
- voidedByResourceID?: number;
3826
- voidedDate?: string;
3827
- webServiceDate?: string;
3828
- }
3829
- /** Create input for Invoice (writable fields; accepts id or itemId). */
3830
- interface InvoiceCreate {
3831
- id?: number;
3832
- batchID?: number;
3833
- comments?: string;
3834
- companyID?: number;
3835
- createDateTime?: string;
3836
- creatorResourceID?: number;
3837
- dueDate?: string;
3838
- fromDate?: string;
3839
- invoiceDateTime?: string;
3840
- invoiceEditorTemplateID?: number;
3841
- invoiceNumber?: string;
3842
- invoiceTotal?: number;
3843
- isVoided?: boolean;
3844
- orderNumber?: string;
3845
- paidDate?: string;
3846
- paymentTerm?: number;
3847
- taxGroup?: number;
3848
- taxRegionName?: string;
3849
- toDate?: string;
3850
- totalTaxValue?: number;
3851
- voidedByResourceID?: number;
3852
- voidedDate?: string;
3853
- webServiceDate?: string;
3854
- }
3855
- /** Update input (same writable surface; id identifies the record in the path). */
3856
- type InvoiceUpdate = InvoiceCreate;
3857
- /** Compact helper shape for Invoice (resolve/search/getContext): structural alias of the
3858
- * full record — the registry outputSchema names the fields the MCP projection keeps.
3859
- */
3860
- type InvoiceSummary = Invoice;
3861
-
3862
3919
  /**
3863
3920
  * modules integration endpoint — raw vendor model types (G5 batch B, plan key 'modules').
3864
3921
  * Hand-written thin integration surface (plan kind=integration): the model is
@@ -5387,63 +5444,6 @@ type SubscriptionPeriodUpdate = SubscriptionPeriodCreate;
5387
5444
  */
5388
5445
  type SubscriptionPeriodSummary = SubscriptionPeriod;
5389
5446
 
5390
- /**
5391
- * Subscription — API model types (G4 batch A).
5392
- * GENERATED by scripts/generate-batch.mjs from api-docs.json (SubscriptionModel). Do not hand-edit.
5393
- * Field names keep the exact API casing; returned fields are optional (the vendor
5394
- * answers partial records) except the always-present id. Cross-model refs degrade to unknown.
5395
- */
5396
-
5397
- /** Subscription record as returned by the API (swagger SubscriptionModel). */
5398
- interface Subscription {
5399
- id: number;
5400
- configurationItemID?: number;
5401
- description?: string;
5402
- effectiveDate?: string;
5403
- expirationDate?: string;
5404
- impersonatorCreatorResourceID?: number;
5405
- materialCodeID?: number;
5406
- organizationalLevelAssociationID?: number;
5407
- periodCost?: number;
5408
- periodPrice?: number;
5409
- periodType?: number;
5410
- purchaseOrderNumber?: string;
5411
- status?: number;
5412
- subscriptionName?: string;
5413
- totalCost?: number;
5414
- totalPrice?: number;
5415
- vendorID?: number;
5416
- userDefinedFields?: UdfField[];
5417
- }
5418
- /** Create input for Subscription (writable fields; accepts id or itemId). */
5419
- interface SubscriptionCreate {
5420
- id?: number;
5421
- configurationItemID?: number;
5422
- description?: string;
5423
- effectiveDate?: string;
5424
- expirationDate?: string;
5425
- impersonatorCreatorResourceID?: number;
5426
- materialCodeID?: number;
5427
- organizationalLevelAssociationID?: number;
5428
- periodCost?: number;
5429
- periodPrice?: number;
5430
- periodType?: number;
5431
- purchaseOrderNumber?: string;
5432
- status?: number;
5433
- subscriptionName?: string;
5434
- totalCost?: number;
5435
- totalPrice?: number;
5436
- vendorID?: number;
5437
- /** UDF map (name → value) or UdfField[] — normalised to the vendor array on the wire. */
5438
- userDefinedFields?: UdfField[];
5439
- }
5440
- /** Update input (same writable surface; id identifies the record in the path). */
5441
- type SubscriptionUpdate = SubscriptionCreate;
5442
- /** Compact helper shape for Subscription (resolve/search/getContext): structural alias of the
5443
- * full record — the registry outputSchema names the fields the MCP projection keeps.
5444
- */
5445
- type SubscriptionSummary = Subscription;
5446
-
5447
5447
  /**
5448
5448
  * SurveyResults — API model types (G5 batch B).
5449
5449
  * GENERATED by scripts/generate-batch.mjs from api-docs.json (SurveyResultsModel). Do not hand-edit.