node-autotask 0.69.0 → 0.69.1
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 +14 -0
- package/MCP_TOOL_CATALOG.json +1 -1
- package/capabilities.json +4 -4
- package/dist/capabilities-data.js +3 -3
- package/dist/{chunk-2BB7OASJ.js → chunk-64BMSXWT.js} +2 -2
- package/dist/{chunk-JLBSUZ5B.cjs → chunk-CLHDTYWO.cjs} +600 -258
- package/dist/{chunk-24GRFW55.cjs → chunk-EWXRFHPP.cjs} +175 -175
- package/dist/{chunk-QDBJCGQD.js → chunk-FK37JXSJ.js} +600 -258
- package/dist/{chunk-AH6WAGPS.js → chunk-MMGO3SFL.js} +1 -1
- package/dist/{chunk-DPRY3CUJ.cjs → chunk-WFVLF7EW.cjs} +30 -30
- package/dist/{index-WZ3A8nG6.d.cts → index-BT_0tTPS.d.cts} +3 -3
- package/dist/{index-CxBU31jT.d.ts → index-Coe7LFLY.d.ts} +3 -3
- package/dist/index.cjs +83 -83
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/operations/index.cjs +49 -49
- package/dist/operations/index.d.cts +2 -2
- package/dist/operations/index.d.ts +2 -2
- package/dist/operations/index.js +1 -1
- package/dist/pool.cjs +11 -11
- package/dist/pool.js +3 -3
- package/dist/resources/index.cjs +26 -26
- package/dist/resources/index.d.cts +1 -1
- package/dist/resources/index.d.ts +1 -1
- package/dist/resources/index.js +2 -2
- package/docs/API.md +8 -0
- package/docs/performance-reads.md +63 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { AutotaskClient } from './chunk-
|
|
1
|
+
export { AutotaskClient } from './chunk-64BMSXWT.js';
|
|
2
2
|
import './chunk-YL6HXU33.js';
|
|
3
|
-
export { AuthenticateResource, ConfigurationItemsResource, ContactsResource, EntityInformationResource, InventoryProductsResource, ModulesResource, QuotesResource, ResourceTimeOffAdditionalResource, ResourceTimeOffBalancesResource, ResourcesResource, ServiceCallsResource, ThresholdInformationResource, TicketChargesResource, TicketsResource, TimeOffRequestsResource, VersionInformationResource, VersionResource, ZoneInformationResource } from './chunk-
|
|
4
|
-
import { credentialShapeProblem, zoneUrl, DEFAULT_ZONE, ZONES, isAutotaskError, AutotaskConfigError, CREDENTIAL_ENV_LOAD_ACTION, credentialValueSummary, parseVendorErrors, buildQueryRequest, RateLimitError } from './chunk-
|
|
5
|
-
export { AutotaskAbortError, AutotaskConfigError, AutotaskError, AutotaskNetworkError, AutotaskTimeoutError, CREDENTIAL_SHAPE_POINTER, CompaniesResource, ConfirmationRequiredError, ConflictError, ContractsResource, DeleteBoundaryError, EmptyResponseError, GenericResource, HostPolicyDeniedError, InvoicesResource, MIN_PREFIX_SUMMARY_LENGTH, MaintenanceError, MarkerUnsafeIdError, MoveRefusedError, NotFoundError, OperationNotSupportedError, PaginationLimitError, QueryTooLongError, RateLimitError, RecoveryTruncatedError, ResolutionError, ResponseRejectedError, SIMPLE_RESOURCES, ScopeRequiredError, StaleObjectError, TimeEntriesResource, TtlCache, UNSCOPED_WALK_THRESHOLD, UnexpectedContentTypeError, ZONES, credentialShapeProblem, credentialValueSummary, errorFromStatus, formatVendorDetail, isAutotaskError, isDeterministicVendor500, mergeDetails, nextActionFor, parseVendorErrors } from './chunk-
|
|
3
|
+
export { AuthenticateResource, ConfigurationItemsResource, ContactsResource, EntityInformationResource, InventoryProductsResource, ModulesResource, QuotesResource, ResourceTimeOffAdditionalResource, ResourceTimeOffBalancesResource, ResourcesResource, ServiceCallsResource, ThresholdInformationResource, TicketChargesResource, TicketsResource, TimeOffRequestsResource, VersionInformationResource, VersionResource, ZoneInformationResource } from './chunk-MMGO3SFL.js';
|
|
4
|
+
import { credentialShapeProblem, zoneUrl, DEFAULT_ZONE, ZONES, isAutotaskError, AutotaskConfigError, CREDENTIAL_ENV_LOAD_ACTION, credentialValueSummary, parseVendorErrors, buildQueryRequest, RateLimitError } from './chunk-FK37JXSJ.js';
|
|
5
|
+
export { AutotaskAbortError, AutotaskConfigError, AutotaskError, AutotaskNetworkError, AutotaskTimeoutError, CREDENTIAL_SHAPE_POINTER, CompaniesResource, ConfirmationRequiredError, ConflictError, ContractsResource, DeleteBoundaryError, EmptyResponseError, GenericResource, HostPolicyDeniedError, InvoicesResource, MIN_PREFIX_SUMMARY_LENGTH, MaintenanceError, MarkerUnsafeIdError, MoveRefusedError, NotFoundError, OperationNotSupportedError, PaginationLimitError, QueryTooLongError, RateLimitError, RecoveryTruncatedError, ResolutionError, ResponseRejectedError, SIMPLE_RESOURCES, ScopeRequiredError, StaleObjectError, TimeEntriesResource, TtlCache, UNSCOPED_WALK_THRESHOLD, UnexpectedContentTypeError, ZONES, credentialShapeProblem, credentialValueSummary, errorFromStatus, formatVendorDetail, isAutotaskError, isDeterministicVendor500, mergeDetails, nextActionFor, parseVendorErrors } from './chunk-FK37JXSJ.js';
|
|
6
6
|
import './chunk-SCFB5MF3.js';
|
|
7
7
|
export { NoopLogger, REDACTED } from './chunk-7NKB4UXV.js';
|
|
8
8
|
import { existsSync, readFileSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkCLHDTYWO_cjs = require('../chunk-CLHDTYWO.cjs');
|
|
4
4
|
require('../chunk-KAZE4WC7.cjs');
|
|
5
5
|
var chunkBD4AUGCJ_cjs = require('../chunk-BD4AUGCJ.cjs');
|
|
6
6
|
|
|
@@ -78,194 +78,194 @@ function describeWrite(dry, record, opts) {
|
|
|
78
78
|
|
|
79
79
|
Object.defineProperty(exports, "AGGREGATE_DATE_BUCKETS", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkCLHDTYWO_cjs.AGGREGATE_DATE_BUCKETS; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "AGGREGATE_DEFAULT_LIMIT", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkCLHDTYWO_cjs.AGGREGATE_DEFAULT_LIMIT; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "AGGREGATE_DEFAULT_TOP", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkCLHDTYWO_cjs.AGGREGATE_DEFAULT_TOP; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "AGGREGATE_TOP_MAX", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkCLHDTYWO_cjs.AGGREGATE_TOP_MAX; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "CREATE_BLOCKER_KINDS", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkCLHDTYWO_cjs.CREATE_BLOCKER_KINDS; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "EXPAND_RESOURCE_NAMES_MAX_IDS", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkCLHDTYWO_cjs.EXPAND_RESOURCE_NAMES_MAX_IDS; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "FETCH_BY_IDS_CHUNK_SIZE", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkCLHDTYWO_cjs.FETCH_BY_IDS_CHUNK_SIZE; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "FETCH_BY_IDS_MAX_ITEMS", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkCLHDTYWO_cjs.FETCH_BY_IDS_MAX_ITEMS; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "FIELD_CACHE_KINDS", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkCLHDTYWO_cjs.FIELD_CACHE_KINDS; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "FIELD_CATALOG_HONESTY_NOTE", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkCLHDTYWO_cjs.FIELD_CATALOG_HONESTY_NOTE; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "INVOKE_OPTION_KEYS", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkCLHDTYWO_cjs.INVOKE_OPTION_KEYS; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "MAX_FIELD_CATALOG_WIRE", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkCLHDTYWO_cjs.MAX_FIELD_CATALOG_WIRE; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "MIN_FIELD_CATALOG_MAX_BYTES", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkCLHDTYWO_cjs.MIN_FIELD_CATALOG_MAX_BYTES; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "PARAMS_BAG_KEYS", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkCLHDTYWO_cjs.PARAMS_BAG_KEYS; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "PICKLIST_VALUE_NOT_SERVED_NOTE", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkCLHDTYWO_cjs.PICKLIST_VALUE_NOT_SERVED_NOTE; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "UI_LINK_ENTITIES", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkCLHDTYWO_cjs.UI_LINK_ENTITIES; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "WORKFLOW_RESOURCES", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkCLHDTYWO_cjs.WORKFLOW_RESOURCES; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "aggregate", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkCLHDTYWO_cjs.aggregate; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "arAging", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkCLHDTYWO_cjs.arAging; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "buildUiLink", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkCLHDTYWO_cjs.buildUiLink; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "createGuidance", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkCLHDTYWO_cjs.createGuidance; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "dateBucketLabel", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkCLHDTYWO_cjs.dateBucketLabel; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "effectiveRequiredFields", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkCLHDTYWO_cjs.effectiveRequiredFields; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "expandResourceNames", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkCLHDTYWO_cjs.expandResourceNames; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "fetchByIds", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkCLHDTYWO_cjs.fetchByIds; }
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "fieldCatalog", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkCLHDTYWO_cjs.fieldCatalog; }
|
|
182
182
|
});
|
|
183
183
|
Object.defineProperty(exports, "foldFlattenedOpts", {
|
|
184
184
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkCLHDTYWO_cjs.foldFlattenedOpts; }
|
|
186
186
|
});
|
|
187
187
|
Object.defineProperty(exports, "invoke", {
|
|
188
188
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkCLHDTYWO_cjs.invoke; }
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "invokeDelete", {
|
|
192
192
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkCLHDTYWO_cjs.invokeDelete; }
|
|
194
194
|
});
|
|
195
195
|
Object.defineProperty(exports, "invokeRead", {
|
|
196
196
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkCLHDTYWO_cjs.invokeRead; }
|
|
198
198
|
});
|
|
199
199
|
Object.defineProperty(exports, "invokeWrite", {
|
|
200
200
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkCLHDTYWO_cjs.invokeWrite; }
|
|
202
202
|
});
|
|
203
203
|
Object.defineProperty(exports, "needsConfirmation", {
|
|
204
204
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkCLHDTYWO_cjs.needsConfirmation; }
|
|
206
206
|
});
|
|
207
207
|
Object.defineProperty(exports, "nonChargeableWork", {
|
|
208
208
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkCLHDTYWO_cjs.nonChargeableWork; }
|
|
210
210
|
});
|
|
211
211
|
Object.defineProperty(exports, "notPersistedFields", {
|
|
212
212
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkCLHDTYWO_cjs.notPersistedFields; }
|
|
214
214
|
});
|
|
215
215
|
Object.defineProperty(exports, "portfolioMargin", {
|
|
216
216
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkCLHDTYWO_cjs.portfolioMargin; }
|
|
218
218
|
});
|
|
219
219
|
Object.defineProperty(exports, "recurringRevenue", {
|
|
220
220
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunkCLHDTYWO_cjs.recurringRevenue; }
|
|
222
222
|
});
|
|
223
223
|
Object.defineProperty(exports, "relationshipMap", {
|
|
224
224
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkCLHDTYWO_cjs.relationshipMap; }
|
|
226
226
|
});
|
|
227
227
|
Object.defineProperty(exports, "resolveAny", {
|
|
228
228
|
enumerable: true,
|
|
229
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunkCLHDTYWO_cjs.resolveAny; }
|
|
230
230
|
});
|
|
231
231
|
Object.defineProperty(exports, "resolveStaff", {
|
|
232
232
|
enumerable: true,
|
|
233
|
-
get: function () { return
|
|
233
|
+
get: function () { return chunkCLHDTYWO_cjs.resolveStaff; }
|
|
234
234
|
});
|
|
235
235
|
Object.defineProperty(exports, "revenueRollup", {
|
|
236
236
|
enumerable: true,
|
|
237
|
-
get: function () { return
|
|
237
|
+
get: function () { return chunkCLHDTYWO_cjs.revenueRollup; }
|
|
238
238
|
});
|
|
239
239
|
Object.defineProperty(exports, "sanitiseResult", {
|
|
240
240
|
enumerable: true,
|
|
241
|
-
get: function () { return
|
|
241
|
+
get: function () { return chunkCLHDTYWO_cjs.sanitiseResult; }
|
|
242
242
|
});
|
|
243
243
|
Object.defineProperty(exports, "searchAcrossResources", {
|
|
244
244
|
enumerable: true,
|
|
245
|
-
get: function () { return
|
|
245
|
+
get: function () { return chunkCLHDTYWO_cjs.searchAcrossResources; }
|
|
246
246
|
});
|
|
247
247
|
Object.defineProperty(exports, "uiLink", {
|
|
248
248
|
enumerable: true,
|
|
249
|
-
get: function () { return
|
|
249
|
+
get: function () { return chunkCLHDTYWO_cjs.uiLink; }
|
|
250
250
|
});
|
|
251
251
|
Object.defineProperty(exports, "unknownKeysRefusal", {
|
|
252
252
|
enumerable: true,
|
|
253
|
-
get: function () { return
|
|
253
|
+
get: function () { return chunkCLHDTYWO_cjs.unknownKeysRefusal; }
|
|
254
254
|
});
|
|
255
255
|
Object.defineProperty(exports, "validateDispatchArgs", {
|
|
256
256
|
enumerable: true,
|
|
257
|
-
get: function () { return
|
|
257
|
+
get: function () { return chunkCLHDTYWO_cjs.validateDispatchArgs; }
|
|
258
258
|
});
|
|
259
259
|
Object.defineProperty(exports, "validateInvokeOptions", {
|
|
260
260
|
enumerable: true,
|
|
261
|
-
get: function () { return
|
|
261
|
+
get: function () { return chunkCLHDTYWO_cjs.validateInvokeOptions; }
|
|
262
262
|
});
|
|
263
263
|
Object.defineProperty(exports, "validateParamsBag", {
|
|
264
264
|
enumerable: true,
|
|
265
|
-
get: function () { return
|
|
265
|
+
get: function () { return chunkCLHDTYWO_cjs.validateParamsBag; }
|
|
266
266
|
});
|
|
267
267
|
Object.defineProperty(exports, "wipHours", {
|
|
268
268
|
enumerable: true,
|
|
269
|
-
get: function () { return
|
|
269
|
+
get: function () { return chunkCLHDTYWO_cjs.wipHours; }
|
|
270
270
|
});
|
|
271
271
|
exports.describeWrite = describeWrite;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a6 as RowNamesSummary, a7 as BlindSurfaceInfo, a8 as RelationshipResource, a9 as CreateGuidanceValueRequirement, aa as CreateGuidanceRow, ab as CreateBlockerKind, ac as CreateGuidanceReport, ad as FieldCacheKind } from '../index-
|
|
1
|
+
import { a6 as RowNamesSummary, a7 as BlindSurfaceInfo, a8 as RelationshipResource, a9 as CreateGuidanceValueRequirement, aa as CreateGuidanceRow, ab as CreateBlockerKind, ac as CreateGuidanceReport, ad as FieldCacheKind } from '../index-BT_0tTPS.cjs';
|
|
2
2
|
import { AutotaskClient, ProfitabilityLabourCostMethod, ZoneName } from '../index.cjs';
|
|
3
|
-
export { ae as FIELD_CACHE_KINDS } from '../index-
|
|
3
|
+
export { ae as FIELD_CACHE_KINDS } from '../index-BT_0tTPS.cjs';
|
|
4
4
|
import { I as Identifier, E as EmptyReasonInfo, D as DryRunResult, P as PickListValue } from '../index-COQEG55Q.cjs';
|
|
5
5
|
export { a as PICKLIST_VALUE_NOT_SERVED_NOTE } from '../index-COQEG55Q.cjs';
|
|
6
6
|
import { CapabilityRecord } from '../capabilities.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a6 as RowNamesSummary, a7 as BlindSurfaceInfo, a8 as RelationshipResource, a9 as CreateGuidanceValueRequirement, aa as CreateGuidanceRow, ab as CreateBlockerKind, ac as CreateGuidanceReport, ad as FieldCacheKind } from '../index-
|
|
1
|
+
import { a6 as RowNamesSummary, a7 as BlindSurfaceInfo, a8 as RelationshipResource, a9 as CreateGuidanceValueRequirement, aa as CreateGuidanceRow, ab as CreateBlockerKind, ac as CreateGuidanceReport, ad as FieldCacheKind } from '../index-Coe7LFLY.js';
|
|
2
2
|
import { AutotaskClient, ProfitabilityLabourCostMethod, ZoneName } from '../index.js';
|
|
3
|
-
export { ae as FIELD_CACHE_KINDS } from '../index-
|
|
3
|
+
export { ae as FIELD_CACHE_KINDS } from '../index-Coe7LFLY.js';
|
|
4
4
|
import { I as Identifier, E as EmptyReasonInfo, D as DryRunResult, P as PickListValue } from '../index-COQEG55Q.js';
|
|
5
5
|
export { a as PICKLIST_VALUE_NOT_SERVED_NOTE } from '../index-COQEG55Q.js';
|
|
6
6
|
import { CapabilityRecord } from '../capabilities.js';
|
package/dist/operations/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AGGREGATE_DATE_BUCKETS, AGGREGATE_DEFAULT_LIMIT, AGGREGATE_DEFAULT_TOP, AGGREGATE_TOP_MAX, CREATE_BLOCKER_KINDS, EXPAND_RESOURCE_NAMES_MAX_IDS, FETCH_BY_IDS_CHUNK_SIZE, FETCH_BY_IDS_MAX_ITEMS, FIELD_CACHE_KINDS, FIELD_CATALOG_HONESTY_NOTE, INVOKE_OPTION_KEYS, MAX_FIELD_CATALOG_WIRE, MIN_FIELD_CATALOG_MAX_BYTES, PARAMS_BAG_KEYS, PICKLIST_VALUE_NOT_SERVED_NOTE, UI_LINK_ENTITIES, WORKFLOW_RESOURCES, aggregate, arAging, buildUiLink, createGuidance, dateBucketLabel, effectiveRequiredFields, expandResourceNames, fetchByIds, fieldCatalog, foldFlattenedOpts, invoke, invokeDelete, invokeRead, invokeWrite, needsConfirmation, nonChargeableWork, notPersistedFields, portfolioMargin, recurringRevenue, relationshipMap, resolveAny, resolveStaff, revenueRollup, sanitiseResult, searchAcrossResources, uiLink, unknownKeysRefusal, validateDispatchArgs, validateInvokeOptions, validateParamsBag, wipHours } from '../chunk-
|
|
1
|
+
export { AGGREGATE_DATE_BUCKETS, AGGREGATE_DEFAULT_LIMIT, AGGREGATE_DEFAULT_TOP, AGGREGATE_TOP_MAX, CREATE_BLOCKER_KINDS, EXPAND_RESOURCE_NAMES_MAX_IDS, FETCH_BY_IDS_CHUNK_SIZE, FETCH_BY_IDS_MAX_ITEMS, FIELD_CACHE_KINDS, FIELD_CATALOG_HONESTY_NOTE, INVOKE_OPTION_KEYS, MAX_FIELD_CATALOG_WIRE, MIN_FIELD_CATALOG_MAX_BYTES, PARAMS_BAG_KEYS, PICKLIST_VALUE_NOT_SERVED_NOTE, UI_LINK_ENTITIES, WORKFLOW_RESOURCES, aggregate, arAging, buildUiLink, createGuidance, dateBucketLabel, effectiveRequiredFields, expandResourceNames, fetchByIds, fieldCatalog, foldFlattenedOpts, invoke, invokeDelete, invokeRead, invokeWrite, needsConfirmation, nonChargeableWork, notPersistedFields, portfolioMargin, recurringRevenue, relationshipMap, resolveAny, resolveStaff, revenueRollup, sanitiseResult, searchAcrossResources, uiLink, unknownKeysRefusal, validateDispatchArgs, validateInvokeOptions, validateParamsBag, wipHours } from '../chunk-FK37JXSJ.js';
|
|
2
2
|
import '../chunk-SCFB5MF3.js';
|
|
3
3
|
import { REDACTED } from '../chunk-7NKB4UXV.js';
|
|
4
4
|
|
package/dist/pool.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
var
|
|
3
|
+
var chunkWFVLF7EW_cjs = require('./chunk-WFVLF7EW.cjs');
|
|
4
|
+
require('./chunk-EWXRFHPP.cjs');
|
|
5
|
+
var chunkCLHDTYWO_cjs = require('./chunk-CLHDTYWO.cjs');
|
|
6
6
|
require('./chunk-KAZE4WC7.cjs');
|
|
7
7
|
require('./chunk-BD4AUGCJ.cjs');
|
|
8
8
|
var crypto = require('crypto');
|
|
@@ -10,7 +10,7 @@ var crypto = require('crypto');
|
|
|
10
10
|
function createClientPool(options = {}) {
|
|
11
11
|
const maxSize = options.maxSize ?? 128;
|
|
12
12
|
if (!Number.isInteger(maxSize) || maxSize < 1) {
|
|
13
|
-
throw new
|
|
13
|
+
throw new chunkCLHDTYWO_cjs.AutotaskConfigError(
|
|
14
14
|
`ClientPool maxSize must be a positive integer (got ${String(options.maxSize)})`
|
|
15
15
|
);
|
|
16
16
|
}
|
|
@@ -25,13 +25,13 @@ function createClientPool(options = {}) {
|
|
|
25
25
|
readCaches.set(key, existing);
|
|
26
26
|
return existing;
|
|
27
27
|
}
|
|
28
|
-
const created =
|
|
28
|
+
const created = chunkCLHDTYWO_cjs.buildReadCache(config);
|
|
29
29
|
if (created === void 0) return void 0;
|
|
30
30
|
readCaches.set(key, created);
|
|
31
31
|
while (readCaches.size > maxSize) {
|
|
32
32
|
const oldest = [...readCaches.keys()].find((candidate) => candidate !== key && !entries.has(candidate));
|
|
33
33
|
if (oldest === void 0) break;
|
|
34
|
-
|
|
34
|
+
chunkCLHDTYWO_cjs.suspendCompanyIndex(readCaches.get(oldest));
|
|
35
35
|
readCaches.delete(oldest);
|
|
36
36
|
}
|
|
37
37
|
return created;
|
|
@@ -43,7 +43,7 @@ function createClientPool(options = {}) {
|
|
|
43
43
|
return { ...config, cache };
|
|
44
44
|
}
|
|
45
45
|
function keyFor(config) {
|
|
46
|
-
const resolved =
|
|
46
|
+
const resolved = chunkCLHDTYWO_cjs.resolveCredentials(config);
|
|
47
47
|
const tuple = [
|
|
48
48
|
resolved.userName,
|
|
49
49
|
resolved.apiIntegrationCode,
|
|
@@ -71,18 +71,18 @@ function createClientPool(options = {}) {
|
|
|
71
71
|
const oldest = entries.keys().next().value;
|
|
72
72
|
if (oldest !== void 0) {
|
|
73
73
|
const store = entries.get(oldest)?.http.readCache;
|
|
74
|
-
if (store !== void 0)
|
|
74
|
+
if (store !== void 0) chunkCLHDTYWO_cjs.suspendCompanyIndex(store);
|
|
75
75
|
entries.delete(oldest);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
const client = new
|
|
78
|
+
const client = new chunkWFVLF7EW_cjs.AutotaskClient(withSharedCache(config, sharedCacheFor(key, config)));
|
|
79
79
|
entries.set(key, client);
|
|
80
80
|
return client;
|
|
81
81
|
},
|
|
82
82
|
delete(config) {
|
|
83
83
|
const key = keyFor(config);
|
|
84
84
|
const store = entries.get(key)?.http.readCache ?? readCaches.get(key);
|
|
85
|
-
if (store !== void 0)
|
|
85
|
+
if (store !== void 0) chunkCLHDTYWO_cjs.suspendCompanyIndex(store);
|
|
86
86
|
return entries.delete(key);
|
|
87
87
|
},
|
|
88
88
|
clear() {
|
|
@@ -90,7 +90,7 @@ function createClientPool(options = {}) {
|
|
|
90
90
|
for (const client of entries.values()) {
|
|
91
91
|
if (client.http.readCache !== void 0) stores.add(client.http.readCache);
|
|
92
92
|
}
|
|
93
|
-
for (const store of stores)
|
|
93
|
+
for (const store of stores) chunkCLHDTYWO_cjs.suspendCompanyIndex(store);
|
|
94
94
|
entries.clear();
|
|
95
95
|
readCaches.clear();
|
|
96
96
|
},
|
package/dist/pool.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AutotaskClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import { AutotaskConfigError, suspendCompanyIndex, buildReadCache, resolveCredentials } from './chunk-
|
|
1
|
+
import { AutotaskClient } from './chunk-64BMSXWT.js';
|
|
2
|
+
import './chunk-MMGO3SFL.js';
|
|
3
|
+
import { AutotaskConfigError, suspendCompanyIndex, buildReadCache, resolveCredentials } from './chunk-FK37JXSJ.js';
|
|
4
4
|
import './chunk-SCFB5MF3.js';
|
|
5
5
|
import './chunk-7NKB4UXV.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
package/dist/resources/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-S5CH4H6H.cjs');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunkEWXRFHPP_cjs = require('../chunk-EWXRFHPP.cjs');
|
|
5
|
+
var chunkCLHDTYWO_cjs = require('../chunk-CLHDTYWO.cjs');
|
|
6
6
|
require('../chunk-KAZE4WC7.cjs');
|
|
7
7
|
require('../chunk-BD4AUGCJ.cjs');
|
|
8
8
|
|
|
@@ -10,97 +10,97 @@ require('../chunk-BD4AUGCJ.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "AuthenticateResource", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkEWXRFHPP_cjs.AuthenticateResource; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "ConfigurationItemsResource", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkEWXRFHPP_cjs.ConfigurationItemsResource; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "ContactsResource", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkEWXRFHPP_cjs.ContactsResource; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "EntityInformationResource", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkEWXRFHPP_cjs.EntityInformationResource; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "InventoryProductsResource", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkEWXRFHPP_cjs.InventoryProductsResource; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "ModulesResource", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkEWXRFHPP_cjs.ModulesResource; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "QuotesResource", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkEWXRFHPP_cjs.QuotesResource; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "ResourceTimeOffAdditionalResource", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkEWXRFHPP_cjs.ResourceTimeOffAdditionalResource; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "ResourceTimeOffBalancesResource", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkEWXRFHPP_cjs.ResourceTimeOffBalancesResource; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "ResourcesResource", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkEWXRFHPP_cjs.ResourcesResource; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "ServiceCallsResource", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkEWXRFHPP_cjs.ServiceCallsResource; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "ThresholdInformationResource", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkEWXRFHPP_cjs.ThresholdInformationResource; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "TicketChargesResource", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkEWXRFHPP_cjs.TicketChargesResource; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "TicketsResource", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkEWXRFHPP_cjs.TicketsResource; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "TimeOffRequestsResource", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkEWXRFHPP_cjs.TimeOffRequestsResource; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "VersionInformationResource", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkEWXRFHPP_cjs.VersionInformationResource; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "VersionResource", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkEWXRFHPP_cjs.VersionResource; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "ZoneInformationResource", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkEWXRFHPP_cjs.ZoneInformationResource; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "CompaniesResource", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkCLHDTYWO_cjs.CompaniesResource; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "ContractsResource", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkCLHDTYWO_cjs.ContractsResource; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "GenericResource", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkCLHDTYWO_cjs.GenericResource; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "InvoicesResource", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkCLHDTYWO_cjs.InvoicesResource; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "SIMPLE_RESOURCES", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkCLHDTYWO_cjs.SIMPLE_RESOURCES; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "TimeEntriesResource", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkCLHDTYWO_cjs.TimeEntriesResource; }
|
|
106
106
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { c as AuthenticateResource, C as CompaniesResource, d as CompanyFuzzySearchOptions, e as CompanyFuzzySearchResult, f as ConfigurationItemsResource, g as ContactsResource, i as ContractsResource, E as EntityInformationResource, F as FuzzyCompanyRow, G as GenericResource, k as GenericResourceConfig, H as HelperFlags, I as InventoryProductsResource, l as InvoicesResource, M as ModulesResource, O as OpsFlags, Q as QuotesResource, R as ResourceTimeOffAdditionalResource, x as ResourceTimeOffBalancesResource, y as ResourcesResource, S as SIMPLE_RESOURCES, z as ServiceCallsResource, B as SimpleResourceEntry, D as ThresholdInformationResource, J as TicketChargesResource, K as TicketsResource, Y as TimeEntriesResource, $ as TimeOffRequestsResource, a1 as VersionInformationResource, a2 as VersionResource, a4 as ZoneInformationResource } from '../index-
|
|
1
|
+
export { c as AuthenticateResource, C as CompaniesResource, d as CompanyFuzzySearchOptions, e as CompanyFuzzySearchResult, f as ConfigurationItemsResource, g as ContactsResource, i as ContractsResource, E as EntityInformationResource, F as FuzzyCompanyRow, G as GenericResource, k as GenericResourceConfig, H as HelperFlags, I as InventoryProductsResource, l as InvoicesResource, M as ModulesResource, O as OpsFlags, Q as QuotesResource, R as ResourceTimeOffAdditionalResource, x as ResourceTimeOffBalancesResource, y as ResourcesResource, S as SIMPLE_RESOURCES, z as ServiceCallsResource, B as SimpleResourceEntry, D as ThresholdInformationResource, J as TicketChargesResource, K as TicketsResource, Y as TimeEntriesResource, $ as TimeOffRequestsResource, a1 as VersionInformationResource, a2 as VersionResource, a4 as ZoneInformationResource } from '../index-BT_0tTPS.cjs';
|
|
2
2
|
import '../index-COQEG55Q.cjs';
|
|
3
3
|
import '../logger-B1gYmFre.cjs';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { c as AuthenticateResource, C as CompaniesResource, d as CompanyFuzzySearchOptions, e as CompanyFuzzySearchResult, f as ConfigurationItemsResource, g as ContactsResource, i as ContractsResource, E as EntityInformationResource, F as FuzzyCompanyRow, G as GenericResource, k as GenericResourceConfig, H as HelperFlags, I as InventoryProductsResource, l as InvoicesResource, M as ModulesResource, O as OpsFlags, Q as QuotesResource, R as ResourceTimeOffAdditionalResource, x as ResourceTimeOffBalancesResource, y as ResourcesResource, S as SIMPLE_RESOURCES, z as ServiceCallsResource, B as SimpleResourceEntry, D as ThresholdInformationResource, J as TicketChargesResource, K as TicketsResource, Y as TimeEntriesResource, $ as TimeOffRequestsResource, a1 as VersionInformationResource, a2 as VersionResource, a4 as ZoneInformationResource } from '../index-
|
|
1
|
+
export { c as AuthenticateResource, C as CompaniesResource, d as CompanyFuzzySearchOptions, e as CompanyFuzzySearchResult, f as ConfigurationItemsResource, g as ContactsResource, i as ContractsResource, E as EntityInformationResource, F as FuzzyCompanyRow, G as GenericResource, k as GenericResourceConfig, H as HelperFlags, I as InventoryProductsResource, l as InvoicesResource, M as ModulesResource, O as OpsFlags, Q as QuotesResource, R as ResourceTimeOffAdditionalResource, x as ResourceTimeOffBalancesResource, y as ResourcesResource, S as SIMPLE_RESOURCES, z as ServiceCallsResource, B as SimpleResourceEntry, D as ThresholdInformationResource, J as TicketChargesResource, K as TicketsResource, Y as TimeEntriesResource, $ as TimeOffRequestsResource, a1 as VersionInformationResource, a2 as VersionResource, a4 as ZoneInformationResource } from '../index-Coe7LFLY.js';
|
|
2
2
|
import '../index-COQEG55Q.js';
|
|
3
3
|
import '../logger-B1gYmFre.js';
|
package/dist/resources/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../chunk-YL6HXU33.js';
|
|
2
|
-
export { AuthenticateResource, ConfigurationItemsResource, ContactsResource, EntityInformationResource, InventoryProductsResource, ModulesResource, QuotesResource, ResourceTimeOffAdditionalResource, ResourceTimeOffBalancesResource, ResourcesResource, ServiceCallsResource, ThresholdInformationResource, TicketChargesResource, TicketsResource, TimeOffRequestsResource, VersionInformationResource, VersionResource, ZoneInformationResource } from '../chunk-
|
|
3
|
-
export { CompaniesResource, ContractsResource, GenericResource, InvoicesResource, SIMPLE_RESOURCES, TimeEntriesResource } from '../chunk-
|
|
2
|
+
export { AuthenticateResource, ConfigurationItemsResource, ContactsResource, EntityInformationResource, InventoryProductsResource, ModulesResource, QuotesResource, ResourceTimeOffAdditionalResource, ResourceTimeOffBalancesResource, ResourcesResource, ServiceCallsResource, ThresholdInformationResource, TicketChargesResource, TicketsResource, TimeOffRequestsResource, VersionInformationResource, VersionResource, ZoneInformationResource } from '../chunk-MMGO3SFL.js';
|
|
3
|
+
export { CompaniesResource, ContractsResource, GenericResource, InvoicesResource, SIMPLE_RESOURCES, TimeEntriesResource } from '../chunk-FK37JXSJ.js';
|
|
4
4
|
import '../chunk-SCFB5MF3.js';
|
|
5
5
|
import '../chunk-7NKB4UXV.js';
|
package/docs/API.md
CHANGED
|
@@ -104,6 +104,14 @@ worker realms do not share it. Entries are removed after active and queued work
|
|
|
104
104
|
The permit remains held through response-body consumption. `ZoneInformation`
|
|
105
105
|
is exempt. The SDK does not offer a higher-capacity override for older integrations.
|
|
106
106
|
|
|
107
|
+
Transport admission reserves client and object capacity together. A request
|
|
108
|
+
waiting for a busy object holds no client slot, and a request waiting for its
|
|
109
|
+
client holds no object slot. Among requests whose two capacities are available,
|
|
110
|
+
the oldest queued request is admitted first, including across clients.
|
|
111
|
+
Already-loaded SDK 0.69 copies keep their existing object permits and FIFO
|
|
112
|
+
waiters; those legacy waiters retain priority, so sustained legacy traffic can
|
|
113
|
+
delay newer callers. No second object pool is created to bypass that traffic.
|
|
114
|
+
|
|
107
115
|
Vendor thread limits are scoped to the object and tracking identifier within an
|
|
108
116
|
Autotask instance; integrations developed after the 2023.1 release have a limit
|
|
109
117
|
of 3, while integrations from before 2022.1 can retain higher measured limits.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Shared read scheduling
|
|
2
|
+
|
|
3
|
+
The transport owns wire admission. `mapReadTasks` and `readTasks` bound task starts,
|
|
4
|
+
inherit ambient cancellation, return results in input order, stop queued work after
|
|
5
|
+
a terminal failure and drain started tasks. Their consumers share these primitives:
|
|
6
|
+
|
|
7
|
+
| Consumer | Independent work | Required ordering |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| `resolveAny` | Exact lookups across resources | Every exact outcome precedes a clean-miss contains fallback |
|
|
10
|
+
| `searchAcrossResources` | Searches without `totalLimit` | A total limit retains request-order quota allocation and `notSearched` semantics |
|
|
11
|
+
| `fieldCatalog` | Resource/kind reads after validation and cap checks | Fresh invalidation precedes reads; row/error/counter reduction follows declared order |
|
|
12
|
+
| `fetchByIds` | Group query phases, then individual fallback GETs | Group query authority and chunks settle before fallback; final projections follow original inputs |
|
|
13
|
+
| `labelFetchResults` | Groups whose name targets are all disjoint | Any shared target retains serial traversal for warming budgets and fatal-error order; notes/reasons merge in resource order |
|
|
14
|
+
| Relation filters | Flat OR parent lookups | AND and nested short-circuit paths stay ordered; empty parents can suppress child wire |
|
|
15
|
+
|
|
16
|
+
Label groups use the same FK plan as label reads to identify dependencies. If any
|
|
17
|
+
target is shared, the call retains its original serial traversal: a name read by an
|
|
18
|
+
earlier group is free in a later group's budget, and a later disjoint failure cannot
|
|
19
|
+
hide an earlier dependent failure. Fully disjoint groups use the common bounded
|
|
20
|
+
executor. Relation-query reuse is local to
|
|
21
|
+
one rewrite and keyed by the normalized request; it is discarded at return and is
|
|
22
|
+
not a response cache.
|
|
23
|
+
|
|
24
|
+
`cachedRecordGet` and `cachedMetadataGet` share `cachedRead` and `TtlCache.load`.
|
|
25
|
+
Metadata subscribers receive separate values/errors and cancel independently;
|
|
26
|
+
invalidation detaches old flights, and empty metadata is returned without retention.
|
|
27
|
+
The base metadata readers and ticket-status field reads use the same keys. Cache-off
|
|
28
|
+
keeps direct reads, and report-specific failure observation and private quotas remain
|
|
29
|
+
attached to each subscriber.
|
|
30
|
+
|
|
31
|
+
`acquireTransport` grants a request only when both its client allowance and shared
|
|
32
|
+
object semaphore have capacity. Waiting requests hold neither. Every actual attempt
|
|
33
|
+
still passes hourly admission immediately before fetch, and leases last through body
|
|
34
|
+
consumption. Indexed client/object queues reconsider affected front waiters, without
|
|
35
|
+
scanning the whole backlog; shared signal listeners batch cancellation cleanup.
|
|
36
|
+
The authoritative v1 object registry is retained across SDK copies;
|
|
37
|
+
older queued callers keep their original FIFO priority and sustained legacy traffic
|
|
38
|
+
can delay newer callers. No second capacity pool is created to avoid that delay.
|
|
39
|
+
|
|
40
|
+
The static model-field membership helper indexes only immutable vendored schema
|
|
41
|
+
names. It exposes no mutable set and allocates nothing for unknown resources. Live
|
|
42
|
+
metadata, cache generations and current record exemptions are not stored in this
|
|
43
|
+
index. Tenant-derived projection caching remains a separate evaluation in #459.
|
|
44
|
+
|
|
45
|
+
## Measurement scope
|
|
46
|
+
|
|
47
|
+
Deferred tests prove overlap, ordering, draining, limits and output equality. Synthetic
|
|
48
|
+
routed-vendor comparisons use fixed latency and compare serial/parallel execution:
|
|
49
|
+
exact resolution and uncapped search overlap their independent resources; bulk reads
|
|
50
|
+
retain the query/fallback dependency. Cold/warm wire counts remain equal between
|
|
51
|
+
scheduling modes. These measurements demonstrate scheduling gains, not production
|
|
52
|
+
latency guarantees.
|
|
53
|
+
|
|
54
|
+
An offline admission backlog comparison reduced the time to grant and release 20,000
|
|
55
|
+
leases from about 79 seconds to 0.36 seconds after indexed scheduling. Work-count
|
|
56
|
+
regressions cover shared-object, shared-client and mixed backlogs without relying on
|
|
57
|
+
wall-clock thresholds. No vendor request is made by this benchmark.
|
|
58
|
+
|
|
59
|
+
A synthetic repeated field-authority workload reduced median CPU time from about
|
|
60
|
+
23 ms to 8 ms per 5,000 checks after static indexing, with identical results. Required
|
|
61
|
+
result cloning and live metadata authority remain intact. Real API validation uses
|
|
62
|
+
read-only bounded probes with separate timings and call counts; it does not increase
|
|
63
|
+
vendor limits to obtain overlap.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-autotask",
|
|
3
|
-
"version": "0.69.
|
|
3
|
+
"version": "0.69.1",
|
|
4
4
|
"description": "Fully-typed TypeScript SDK for the Autotask (Datto) PSA REST API. Zero runtime dependencies. Built for building MCP servers and integrations.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|