node-autotask 0.60.1 → 0.62.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 (40) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/MCP_TOOL_CATALOG.json +298 -9
  3. package/README.md +3 -3
  4. package/capabilities.json +1047 -7
  5. package/dist/capabilities-data.js +1046 -6
  6. package/dist/capabilities.cjs +4 -4
  7. package/dist/capabilities.js +1 -1
  8. package/dist/{chunk-XYWSPKCN.cjs → chunk-LFEMZVOV.cjs} +33 -31
  9. package/dist/{chunk-2GPQ55O6.js → chunk-O6SYTORL.js} +4 -2
  10. package/dist/{chunk-XP43NERF.cjs → chunk-ODPM4YVG.cjs} +3 -3
  11. package/dist/{chunk-VN3OZHC7.cjs → chunk-QHM6ROAE.cjs} +174 -174
  12. package/dist/{chunk-XUPVX5MQ.js → chunk-S4YR3RLJ.js} +2 -2
  13. package/dist/{chunk-Y2SR6D2D.js → chunk-TGCFJCWN.js} +237 -8
  14. package/dist/{chunk-MYLSBOZI.cjs → chunk-VDYUG6RK.cjs} +242 -13
  15. package/dist/{chunk-K722F7EM.js → chunk-XJNNCMBS.js} +3 -3
  16. package/dist/{index-BmaFIj42.d.cts → index-BXJOPL7w.d.cts} +4 -2
  17. package/dist/{index-cAntv7_A.d.ts → index-C4wZRw9N.d.ts} +4 -2
  18. package/dist/{index-D6bAO4ZV.d.cts → index-COQEG55Q.d.cts} +90 -1
  19. package/dist/{index-D6bAO4ZV.d.ts → index-COQEG55Q.d.ts} +90 -1
  20. package/dist/index.cjs +84 -84
  21. package/dist/index.d.cts +3 -3
  22. package/dist/index.d.ts +3 -3
  23. package/dist/index.js +5 -5
  24. package/dist/operations/index.cjs +50 -50
  25. package/dist/operations/index.d.cts +4 -4
  26. package/dist/operations/index.d.ts +4 -4
  27. package/dist/operations/index.js +2 -2
  28. package/dist/pool.cjs +8 -8
  29. package/dist/pool.d.cts +1 -1
  30. package/dist/pool.d.ts +1 -1
  31. package/dist/pool.js +4 -4
  32. package/dist/resources/index.cjs +27 -27
  33. package/dist/resources/index.d.cts +2 -2
  34. package/dist/resources/index.d.ts +2 -2
  35. package/dist/resources/index.js +3 -3
  36. package/dist/types/index.d.cts +1 -1
  37. package/dist/types/index.d.ts +1 -1
  38. package/docs/API.md +4 -2
  39. package/docs/VENDOR-QUIRKS.md +18 -3
  40. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { GenericResource, parseIdentifier, AutotaskConfigError, StaleObjectError, buildDryRunResult, RELATIONSHIP_MAP, createNamePlan, resolveCompositeNames, addNameSibling, NotFoundError, unwrapItems, ConflictError, clientOf, compositePartLimit, invokeRead, compositePart, openTicketsOfPart, unwrapOperation, unwrapItem, ResolutionError, numericIds, IN_FILTER_CAP, runMove, resolveTicketStatusSemantics, openStatusFilter, isClosedStatus, vendorId, isAutotaskError, resolveLineOfBusinessChain, uiLinkFor, refuse, queryRows, mergePartialBody, AutotaskError, TICKET_LABEL_FIELDS, addLabelSibling, parseVendorErrors, cursorToPath } from './chunk-Y2SR6D2D.js';
2
- import { loadCapabilityRecords } from './chunk-K722F7EM.js';
1
+ import { GenericResource, parseIdentifier, AutotaskConfigError, StaleObjectError, buildDryRunResult, RELATIONSHIP_MAP, createNamePlan, resolveCompositeNames, addNameSibling, NotFoundError, unwrapItems, ConflictError, clientOf, compositePartLimit, invokeRead, compositePart, openTicketsOfPart, unwrapOperation, unwrapItem, ResolutionError, numericIds, IN_FILTER_CAP, runMove, resolveTicketStatusSemantics, openStatusFilter, isClosedStatus, vendorId, isAutotaskError, resolveLineOfBusinessChain, uiLinkFor, refuse, queryRows, mergePartialBody, AutotaskError, TICKET_LABEL_FIELDS, addLabelSibling, parseVendorErrors, cursorToPath } from './chunk-TGCFJCWN.js';
2
+ import { loadCapabilityRecords } from './chunk-XJNNCMBS.js';
3
3
 
4
4
  // src/resources/special/configuration_items.ts
5
5
  async function fetchRecord(http, path, label, readOpts) {
@@ -1,4 +1,4 @@
1
- import { loadCapabilityRecords } from './chunk-K722F7EM.js';
1
+ import { loadCapabilityRecords } from './chunk-XJNNCMBS.js';
2
2
  import { NoopLogger, REDACTED, deepMarkUntrusted, wrapUntrusted } from './chunk-7NKB4UXV.js';
3
3
  import { randomUUID } from 'crypto';
4
4
  import { AsyncLocalStorage } from 'async_hooks';
@@ -9129,6 +9129,143 @@ var RELATIONSHIP_MAP = {
9129
9129
  "deleteBoundary": null,
9130
9130
  "markerField": null
9131
9131
  },
9132
+ "user_defined_field_definitions": {
9133
+ "resource": "user_defined_field_definitions",
9134
+ "apiEntity": "UserDefinedFieldDefinition",
9135
+ "kind": "entity",
9136
+ "path": "UserDefinedFieldDefinitions",
9137
+ "parentScoped": false,
9138
+ "tier": "advanced",
9139
+ "workflowResource": false,
9140
+ "group": "B",
9141
+ "parent": null,
9142
+ "children": [
9143
+ {
9144
+ "resource": "user_defined_field_list_items",
9145
+ "apiEntity": "UserDefinedFieldListItem",
9146
+ "parentField": "udfFieldId",
9147
+ "parentSegment": "ListItems",
9148
+ "tier": "extended",
9149
+ "workflowResource": false,
9150
+ "specialOps": [],
9151
+ "searchCovers": null,
9152
+ "scopedOps": {
9153
+ "create": true,
9154
+ "query": true,
9155
+ "update": true,
9156
+ "delete": false
9157
+ }
9158
+ }
9159
+ ],
9160
+ "naturalKeys": {
9161
+ "hasSearch": false,
9162
+ "searchCovers": null,
9163
+ "findBy": []
9164
+ },
9165
+ "blindSurfaces": {
9166
+ "count": {
9167
+ "kind": "unfiltered-blind",
9168
+ "note": "the UNFILTERED user_defined_field_definitions count is blind in this zone: the unfiltered count answers 0 while a filtered count (a single `id gt 0` condition) returns the real total. The unfiltered query is NOT blind (it returns real rows), and a FILTERED count of 0 is a TRUE absence, never a sentinel. An unfiltered count of 0 proves nothing \u2014 count with a filter (e.g. `id gt 0`) or page the query; get(id) is the authority for a specific record."
9169
+ }
9170
+ },
9171
+ "zoneFacts": {
9172
+ "quirks": [
9173
+ {
9174
+ "kind": "blind-surface",
9175
+ "ops": [
9176
+ "count"
9177
+ ],
9178
+ "statement": "The UNFILTERED count is blind in this zone (0 even when data exists); a FILTERED count returns the real total and the unfiltered query returns rows, so count with a filter (e.g. id gt 0).",
9179
+ "evidence": "the UNFILTERED count answers 0 while a filtered count (a single `id gt 0` condition) returns the real total and the unfiltered query page returns real rows"
9180
+ }
9181
+ ],
9182
+ "createGuidance": {
9183
+ "createOp": "user_defined_field_definitions.create",
9184
+ "parentScoped": false,
9185
+ "liveProvenPrefix": [],
9186
+ "unproven": true,
9187
+ "blocker": {
9188
+ "kind": "unknown",
9189
+ "message": "No create has been attempted against a tenant, so acceptance of the model body is unverified. The vendor documents the model body and answers OperationResultModel.",
9190
+ "remedy": "Attempt one create in a non-production tenant (dry run first); a refusal arrives as a vendor 500 whose errors[] text names the failing field."
9191
+ },
9192
+ "vendorEvidence": [
9193
+ "api-docs.json: POST /V1.0/UserDefinedFieldDefinitions consumes definitions.UserDefinedFieldDefinitionModel and answers OperationResultModel \u2014 the entity defines no DELETE path."
9194
+ ],
9195
+ "deleteBoundary": {
9196
+ "available": false,
9197
+ "note": "the vendor defines no DELETE for user_defined_field_definitions (spec-derived) \u2014 a UDF definition cannot be removed or corrected through the API; deactivation is via isActive; hard cleanup is UI-only."
9198
+ }
9199
+ }
9200
+ },
9201
+ "deleteBoundary": {
9202
+ "note": "the vendor defines no DELETE for user_defined_field_definitions (spec-derived: the vendored api-docs.json defines no DELETE on the entity's paths) \u2014 a UDF definition cannot be deleted through the API; deactivation is via isActive (vendor soft-removal); hard cleanup is UI-only.",
9203
+ "proof": "spec-derived"
9204
+ },
9205
+ "markerField": null
9206
+ },
9207
+ "user_defined_field_list_items": {
9208
+ "resource": "user_defined_field_list_items",
9209
+ "apiEntity": "UserDefinedFieldListItem",
9210
+ "kind": "entity",
9211
+ "path": "UserDefinedFieldListItems",
9212
+ "parentScoped": true,
9213
+ "tier": "extended",
9214
+ "workflowResource": false,
9215
+ "group": "B",
9216
+ "parent": {
9217
+ "resource": "user_defined_field_definitions",
9218
+ "segment": "ListItems",
9219
+ "field": "udfFieldId"
9220
+ },
9221
+ "children": [],
9222
+ "naturalKeys": {
9223
+ "hasSearch": false,
9224
+ "searchCovers": null,
9225
+ "findBy": []
9226
+ },
9227
+ "blindSurfaces": {
9228
+ "count": {
9229
+ "kind": "unfiltered-blind",
9230
+ "note": "the UNFILTERED user_defined_field_list_items count is blind in this zone: the unfiltered count answers 0 while a filtered count (a single `id gt 0` condition) returns the real total. The unfiltered query is NOT blind (it returns real rows), and a FILTERED count of 0 is a TRUE absence, never a sentinel. An unfiltered count of 0 proves nothing \u2014 count with a filter (e.g. `id gt 0`) or page the query; get(id) is the authority for a specific record."
9231
+ }
9232
+ },
9233
+ "zoneFacts": {
9234
+ "quirks": [
9235
+ {
9236
+ "kind": "blind-surface",
9237
+ "ops": [
9238
+ "count"
9239
+ ],
9240
+ "statement": "The UNFILTERED count is blind in this zone (0 even when data exists); a FILTERED count returns the real total and the unfiltered query returns rows, so count with a filter (e.g. id gt 0).",
9241
+ "evidence": "the UNFILTERED count answers 0 while a filtered count (a single `id gt 0` condition) returns the real total and the unfiltered query page returns real rows"
9242
+ }
9243
+ ],
9244
+ "createGuidance": {
9245
+ "createOp": "user_defined_field_list_items.create",
9246
+ "parentScoped": true,
9247
+ "liveProvenPrefix": [],
9248
+ "unproven": true,
9249
+ "blocker": {
9250
+ "kind": "unknown",
9251
+ "message": "No create has been attempted against a tenant, so acceptance of the model body is unverified. The vendor documents the model body and answers OperationResultModel.",
9252
+ "remedy": "Attempt one create in a non-production tenant (dry run first); a refusal arrives as a vendor 500 whose errors[] text names the failing field."
9253
+ },
9254
+ "vendorEvidence": [
9255
+ "api-docs.json: POST /V1.0/UserDefinedFields/{parentId}/ListItems consumes definitions.UserDefinedFieldListItemModel and answers OperationResultModel \u2014 the standalone UserDefinedFieldListItems path is read-only and no ListItems path defines DELETE."
9256
+ ],
9257
+ "deleteBoundary": {
9258
+ "available": false,
9259
+ "note": "the vendor defines no DELETE for user_defined_field_list_items (spec-derived) \u2014 a picklist value cannot be removed or corrected through the API; deactivation is via isActive; hard cleanup is UI-only."
9260
+ }
9261
+ }
9262
+ },
9263
+ "deleteBoundary": {
9264
+ "note": "the vendor defines no DELETE for user_defined_field_list_items (spec-derived: the vendored api-docs.json defines no DELETE on the standalone or parent-scoped ListItems paths) \u2014 a picklist value cannot be deleted through the API; deactivation is via isActive (vendor soft-removal); hard cleanup is UI-only.",
9265
+ "proof": "spec-derived"
9266
+ },
9267
+ "markerField": null
9268
+ },
9132
9269
  "version": {
9133
9270
  "resource": "version",
9134
9271
  "apiEntity": null,
@@ -9298,6 +9435,22 @@ var BLIND_SURFACE_STAMPS = {
9298
9435
  "authority": "billing_codes.get",
9299
9436
  "note": "the UNFILTERED billing_codes count/query surface is blind in this zone. Query with `useType` (1 = general, 3 = internal) + `isActive` filters \u2014 filtered queries return real data; a raw caller must pass those filters (the allocation-code-aware createForResource node op was cut). get(id) is the authority."
9300
9437
  }
9438
+ },
9439
+ "user_defined_field_definitions": {
9440
+ "count": {
9441
+ "surface": "user_defined_field_definitions.count",
9442
+ "kind": "unfiltered-blind",
9443
+ "authority": "user_defined_field_definitions.get",
9444
+ "note": "the UNFILTERED user_defined_field_definitions count is blind in this zone: the unfiltered count answers 0 while a filtered count (a single `id gt 0` condition) returns the real total. The unfiltered query is NOT blind (it returns real rows), and a FILTERED count of 0 is a TRUE absence, never a sentinel. An unfiltered count of 0 proves nothing \u2014 count with a filter (e.g. `id gt 0`) or page the query; get(id) is the authority for a specific record."
9445
+ }
9446
+ },
9447
+ "user_defined_field_list_items": {
9448
+ "count": {
9449
+ "surface": "user_defined_field_list_items.count",
9450
+ "kind": "unfiltered-blind",
9451
+ "authority": "user_defined_field_list_items.get",
9452
+ "note": "the UNFILTERED user_defined_field_list_items count is blind in this zone: the unfiltered count answers 0 while a filtered count (a single `id gt 0` condition) returns the real total. The unfiltered query is NOT blind (it returns real rows), and a FILTERED count of 0 is a TRUE absence, never a sentinel. An unfiltered count of 0 proves nothing \u2014 count with a filter (e.g. `id gt 0`) or page the query; get(id) is the authority for a specific record."
9453
+ }
9301
9454
  }
9302
9455
  };
9303
9456
  var DELETE_BOUNDARY_NOTES = {
@@ -9345,7 +9498,9 @@ var DELETE_BOUNDARY_NOTES = {
9345
9498
  "tax_regions": "the vendor defines no DELETE for tax_regions (spec-derived: the vendored api-docs.json defines no DELETE on the entity's paths) \u2014 a create cannot be undone through the API; cleanup is UI-only.",
9346
9499
  "ticket_checklist_libraries": "the vendor defines no DELETE for ticket_checklist_libraries (spec-derived: the vendored api-docs.json defines no DELETE on the entity's paths) \u2014 a create cannot be undone through the API; cleanup is UI-only.",
9347
9500
  "ticket_notes": "the vendor defines no DELETE for ticket_notes (spec-derived: the vendored api-docs.json defines no DELETE on the entity's paths) \u2014 a create cannot be undone through the API; cleanup is UI-only.",
9348
- "tickets": "the vendor defines no DELETE for tickets (spec-derived: the vendored api-docs.json defines no DELETE on the entity's paths) \u2014 a create cannot be undone through the API; cleanup is UI-only."
9501
+ "tickets": "the vendor defines no DELETE for tickets (spec-derived: the vendored api-docs.json defines no DELETE on the entity's paths) \u2014 a create cannot be undone through the API; cleanup is UI-only.",
9502
+ "user_defined_field_definitions": "the vendor defines no DELETE for user_defined_field_definitions (spec-derived: the vendored api-docs.json defines no DELETE on the entity's paths) \u2014 a UDF definition cannot be deleted through the API; deactivation is via isActive (vendor soft-removal); hard cleanup is UI-only.",
9503
+ "user_defined_field_list_items": "the vendor defines no DELETE for user_defined_field_list_items (spec-derived: the vendored api-docs.json defines no DELETE on the standalone or parent-scoped ListItems paths) \u2014 a picklist value cannot be deleted through the API; deactivation is via isActive (vendor soft-removal); hard cleanup is UI-only."
9349
9504
  };
9350
9505
  var RESPONSE_DRIFT_MARKERS = {
9351
9506
  "ticket_checklist_libraries": {
@@ -13221,10 +13376,48 @@ var CREATE_GUIDANCE = {
13221
13376
  "available": true,
13222
13377
  "note": null
13223
13378
  }
13379
+ },
13380
+ {
13381
+ "resource": "user_defined_field_definitions",
13382
+ "createOp": "user_defined_field_definitions.create",
13383
+ "parentScoped": false,
13384
+ "liveProvenPrefix": [],
13385
+ "unproven": true,
13386
+ "blocker": {
13387
+ "kind": "unknown",
13388
+ "message": "No create has been attempted against a tenant, so acceptance of the model body is unverified. The vendor documents the model body and answers OperationResultModel.",
13389
+ "remedy": "Attempt one create in a non-production tenant (dry run first); a refusal arrives as a vendor 500 whose errors[] text names the failing field."
13390
+ },
13391
+ "vendorEvidence": [
13392
+ "api-docs.json: POST /V1.0/UserDefinedFieldDefinitions consumes definitions.UserDefinedFieldDefinitionModel and answers OperationResultModel \u2014 the entity defines no DELETE path."
13393
+ ],
13394
+ "deleteBoundary": {
13395
+ "available": false,
13396
+ "note": "the vendor defines no DELETE for user_defined_field_definitions (spec-derived) \u2014 a UDF definition cannot be removed or corrected through the API; deactivation is via isActive; hard cleanup is UI-only."
13397
+ }
13398
+ },
13399
+ {
13400
+ "resource": "user_defined_field_list_items",
13401
+ "createOp": "user_defined_field_list_items.create",
13402
+ "parentScoped": true,
13403
+ "liveProvenPrefix": [],
13404
+ "unproven": true,
13405
+ "blocker": {
13406
+ "kind": "unknown",
13407
+ "message": "No create has been attempted against a tenant, so acceptance of the model body is unverified. The vendor documents the model body and answers OperationResultModel.",
13408
+ "remedy": "Attempt one create in a non-production tenant (dry run first); a refusal arrives as a vendor 500 whose errors[] text names the failing field."
13409
+ },
13410
+ "vendorEvidence": [
13411
+ "api-docs.json: POST /V1.0/UserDefinedFields/{parentId}/ListItems consumes definitions.UserDefinedFieldListItemModel and answers OperationResultModel \u2014 the standalone UserDefinedFieldListItems path is read-only and no ListItems path defines DELETE."
13412
+ ],
13413
+ "deleteBoundary": {
13414
+ "available": false,
13415
+ "note": "the vendor defines no DELETE for user_defined_field_list_items (spec-derived) \u2014 a picklist value cannot be removed or corrected through the API; deactivation is via isActive; hard cleanup is UI-only."
13416
+ }
13224
13417
  }
13225
13418
  ],
13226
13419
  "counts": {
13227
- "total": 97,
13420
+ "total": 99,
13228
13421
  "byKind": {
13229
13422
  "ok": 39,
13230
13423
  "blind-reference": 16,
@@ -13234,7 +13427,7 @@ var CREATE_GUIDANCE = {
13234
13427
  "resource-role-pair": 2,
13235
13428
  "delete-absent": 0,
13236
13429
  "non-mutable": 0,
13237
- "unknown": 17
13430
+ "unknown": 19
13238
13431
  }
13239
13432
  }
13240
13433
  };
@@ -13942,6 +14135,15 @@ var UNTRUSTED_FIELDS_BY_RESOURCE = {
13942
14135
  ],
13943
14136
  "inventory_products": [
13944
14137
  "bin"
14138
+ ],
14139
+ "user_defined_field_definitions": [
14140
+ "description",
14141
+ "mergeVariableName",
14142
+ "name"
14143
+ ],
14144
+ "user_defined_field_list_items": [
14145
+ "valueForDisplay",
14146
+ "valueForExport"
13945
14147
  ]
13946
14148
  };
13947
14149
 
@@ -14881,8 +15083,7 @@ function attachEmptyReasonDetails(err) {
14881
15083
  if (stamp !== void 0) {
14882
15084
  err.details.emptyReason = stamp;
14883
15085
  } else if (isGetMiss) {
14884
- const blindOps = BLIND_SURFACE_STAMPS[resource];
14885
- const blind = blindOps !== void 0 ? Object.values(blindOps).find((v) => v !== void 0) : void 0;
15086
+ const blind = BLIND_SURFACE_STAMPS[resource]?.query;
14886
15087
  err.details.emptyReason = blind !== void 0 ? {
14887
15088
  surface,
14888
15089
  kind: "blind-surface",
@@ -15886,7 +16087,9 @@ var MODEL_FIELD_SETS = {
15886
16087
  "tickets": ["id", "apiVendorID", "assignedResourceID", "assignedResourceRoleID", "billingCodeID", "changeApprovalBoard", "changeApprovalStatus", "changeApprovalType", "changeInfoField1", "changeInfoField2", "changeInfoField3", "changeInfoField4", "changeInfoField5", "companyID", "companyLocationID", "completedByResourceID", "completedDate", "configurationItemID", "contactID", "contractID", "contractServiceBundleID", "contractServiceID", "createDate", "createdByContactID", "creatorResourceID", "creatorType", "currentServiceThermometerRating", "description", "dueDateTime", "estimatedHours", "externalID", "firstResponseAssignedResourceID", "firstResponseDateTime", "firstResponseDueDateTime", "firstResponseInitiatingResourceID", "hoursToBeScheduled", "impersonatorCreatorResourceID", "isAssignedToComanaged", "issueType", "isVisibleToComanaged", "lastActivityDate", "lastActivityPersonType", "lastActivityResourceID", "lastCustomerNotificationDateTime", "lastCustomerVisibleActivityDateTime", "lastTrackedModificationDateTime", "monitorID", "monitorTypeID", "opportunityID", "organizationalLevelAssociationID", "previousServiceThermometerRating", "priority", "problemTicketId", "projectID", "purchaseOrderNumber", "queueID", "resolution", "resolutionPlanDateTime", "resolutionPlanDueDateTime", "resolvedDateTime", "resolvedDueDateTime", "rmaStatus", "rmaType", "rmmAlertID", "serviceLevelAgreementHasBeenMet", "serviceLevelAgreementID", "serviceLevelAgreementPausedNextEventHours", "serviceThermometerTemperature", "source", "status", "subIssueType", "ticketCategory", "ticketNumber", "ticketType", "title", "userDefinedFields"],
15887
16088
  "time_entries": ["id", "billingApprovalDateTime", "billingApprovalLevelMostRecent", "billingApprovalResourceID", "billingCodeID", "contractID", "contractServiceBundleID", "contractServiceID", "createDateTime", "creatorUserID", "dateWorked", "endDateTime", "hoursToBill", "hoursWorked", "impersonatorCreatorResourceID", "impersonatorUpdaterResourceID", "internalBillingCodeID", "internalNotes", "isInternalNotesVisibleToComanaged", "isNonBillable", "lastModifiedDateTime", "lastModifiedUserID", "offsetHours", "resourceID", "roleID", "showOnInvoice", "startDateTime", "summaryNotes", "taskID", "ticketID", "timeEntryType"],
15888
16089
  "time_entry_attachments": ["id", "attachDate", "attachedByContactID", "attachedByResourceID", "attachmentType", "contentType", "creatorType", "fileSize", "fullPath", "impersonatorCreatorResourceID", "opportunityID", "parentID", "publish", "taskID", "ticketID", "timeEntryID", "title", "data", "parentType", "soapParentPropertyId", "isTaskAttachment"],
15889
- "time_off_requests": ["id", "approvedDateTime", "approveRejectResourceID", "createdByResourceID", "createDateTime", "endTime", "hours", "impersonatorApproveRejectResourceID", "lastModifiedByResourceID", "lastModifiedDateTime", "lastApprovedLevel", "reason", "rejectReason", "requestDate", "resourceID", "startTime", "status", "timeOffRequestType", "soapParentPropertyId"]
16090
+ "time_off_requests": ["id", "approvedDateTime", "approveRejectResourceID", "createdByResourceID", "createDateTime", "endTime", "hours", "impersonatorApproveRejectResourceID", "lastModifiedByResourceID", "lastModifiedDateTime", "lastApprovedLevel", "reason", "rejectReason", "requestDate", "resourceID", "startTime", "status", "timeOffRequestType", "soapParentPropertyId"],
16091
+ "user_defined_field_definitions": ["id", "createDate", "crmToProjectUdfId", "dataType", "defaultValue", "description", "displayFormat", "isActive", "isEncrypted", "isFieldMapping", "isPrivate", "isProtected", "isRequired", "isVisibleToClientPortal", "mergeVariableName", "name", "numberOfDecimalPlaces", "sortOrder", "udfType"],
16092
+ "user_defined_field_list_items": ["id", "createDate", "isActive", "udfFieldId", "valueForDisplay", "valueForExport", "soapParentPropertyId"]
15890
16093
  };
15891
16094
  var MODEL_DATE_FIELDS = {
15892
16095
  "appointments": ["createDateTime", "endDateTime", "startDateTime", "updateDateTime"],
@@ -15948,7 +16151,9 @@ var MODEL_DATE_FIELDS = {
15948
16151
  "tickets": ["completedDate", "createDate", "dueDateTime", "firstResponseDateTime", "firstResponseDueDateTime", "lastActivityDate", "lastCustomerNotificationDateTime", "lastCustomerVisibleActivityDateTime", "lastTrackedModificationDateTime", "resolutionPlanDateTime", "resolutionPlanDueDateTime", "resolvedDateTime", "resolvedDueDateTime"],
15949
16152
  "time_entries": ["billingApprovalDateTime", "createDateTime", "dateWorked", "endDateTime", "lastModifiedDateTime", "startDateTime"],
15950
16153
  "time_entry_attachments": ["attachDate"],
15951
- "time_off_requests": ["approvedDateTime", "createDateTime", "endTime", "lastModifiedDateTime", "requestDate", "startTime"]
16154
+ "time_off_requests": ["approvedDateTime", "createDateTime", "endTime", "lastModifiedDateTime", "requestDate", "startTime"],
16155
+ "user_defined_field_definitions": ["createDate"],
16156
+ "user_defined_field_list_items": ["createDate"]
15952
16157
  };
15953
16158
 
15954
16159
  // src/resources/special/_shared/bounded-part.ts
@@ -19419,6 +19624,30 @@ var SIMPLE_RESOURCES = [
19419
19624
  ops: { query: true, queryAll: false, count: true, get: true, create: true, update: false, delete: true, getEntityInfo: true, getFieldInfo: true, getUdfInfo: true },
19420
19625
  helpers: { search: false, resolve: true, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
19421
19626
  opForms: { get: "scoped", create: "scoped", delete: "scoped" }
19627
+ },
19628
+ {
19629
+ key: "user_defined_field_definitions",
19630
+ accessor: "userDefinedFieldDefinitions",
19631
+ resourcePath: "/V1.0/UserDefinedFieldDefinitions",
19632
+ deletable: false,
19633
+ udfCapable: false,
19634
+ collectionUpdate: true,
19635
+ ops: { query: true, queryAll: false, count: true, get: true, create: true, update: true, delete: false, getEntityInfo: true, getFieldInfo: true, getUdfInfo: true },
19636
+ helpers: { search: false, resolve: false, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
19637
+ opForms: { get: "global", create: "global", update: "global" }
19638
+ },
19639
+ {
19640
+ key: "user_defined_field_list_items",
19641
+ accessor: "userDefinedFieldListItems",
19642
+ resourcePath: "/V1.0/UserDefinedFieldListItems",
19643
+ parentScopedPath: "/V1.0/UserDefinedFields/{parentId}/ListItems",
19644
+ parentPath: "/V1.0/UserDefinedFieldDefinitions",
19645
+ parentField: "udfFieldId",
19646
+ deletable: false,
19647
+ udfCapable: false,
19648
+ ops: { query: true, queryAll: false, count: true, get: true, create: true, update: true, delete: false, getEntityInfo: true, getFieldInfo: true, getUdfInfo: true },
19649
+ helpers: { search: false, resolve: false, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
19650
+ opForms: { get: "scoped", create: "scoped", update: "scoped" }
19422
19651
  }
19423
19652
  ];
19424
19653
  var GenericResource = class extends BaseResource {