node-autotask 0.89.0 → 0.90.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 +6 -0
- package/MCP_TOOL_CATALOG.json +2 -2
- package/capabilities.json +7 -7
- package/dist/capabilities-data.js +6 -6
- package/dist/capabilities.cjs +4 -4
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-BRU7TZOD.cjs → chunk-4CI27SCM.cjs} +30 -30
- package/dist/{chunk-OVIYLMGB.js → chunk-CY6USWUY.js} +14 -1
- package/dist/{chunk-4MPQ5CDB.cjs → chunk-D7MJC7HA.cjs} +200 -200
- package/dist/{chunk-2PWAWWWM.js → chunk-HU6OGAPI.js} +2 -2
- package/dist/{chunk-ZADTVF6M.js → chunk-K5X4BPQC.js} +3 -3
- package/dist/{chunk-YAXEPESA.cjs → chunk-OI6E5XQA.cjs} +19 -6
- package/dist/{chunk-4EIN7AZJ.js → chunk-Q73VQSUP.js} +2 -2
- package/dist/{chunk-SHJ7EOBW.cjs → chunk-ZLMYYO7R.cjs} +3 -3
- package/dist/{index-CoTtEn8U.d.cts → index-BEqbDuMk.d.cts} +1 -1
- package/dist/{index-Wh6bLfv_.d.ts → index-DWyJAad_.d.ts} +1 -1
- package/dist/index.cjs +85 -85
- 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 +51 -51
- 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 +12 -12
- package/dist/pool.js +4 -4
- package/dist/resources/index.cjs +27 -27
- package/dist/resources/index.d.cts +1 -1
- package/dist/resources/index.d.ts +1 -1
- package/dist/resources/index.js +3 -3
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ConfigurationItemsResource, ContactsResource, InventoryProductsResource, QuotesResource, ResourceTimeOffAdditionalResource, ResourceTimeOffBalancesResource, ResourcesResource, ServiceCallsResource, TicketChargesResource, TicketsResource, TimeOffRequestsResource, AuthenticateResource, EntityInformationResource, ModulesResource, ThresholdInformationResource, VersionResource, VersionInformationResource, ZoneInformationResource } from './chunk-
|
|
2
|
-
import { resolveConfig, HttpClient, SIMPLE_RESOURCES, GenericResource, CompaniesResource, ContractsResource, InvoicesResource, TimeEntriesResource, runWithSignal, runBounded } from './chunk-
|
|
1
|
+
import { ConfigurationItemsResource, ContactsResource, InventoryProductsResource, QuotesResource, ResourceTimeOffAdditionalResource, ResourceTimeOffBalancesResource, ResourcesResource, ServiceCallsResource, TicketChargesResource, TicketsResource, TimeOffRequestsResource, AuthenticateResource, EntityInformationResource, ModulesResource, ThresholdInformationResource, VersionResource, VersionInformationResource, ZoneInformationResource } from './chunk-Q73VQSUP.js';
|
|
2
|
+
import { resolveConfig, HttpClient, SIMPLE_RESOURCES, GenericResource, CompaniesResource, ContractsResource, InvoicesResource, TimeEntriesResource, runWithSignal, runBounded } from './chunk-CY6USWUY.js';
|
|
3
3
|
|
|
4
4
|
// src/client.ts
|
|
5
5
|
var AutotaskClient = class {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// src/capabilities.ts
|
|
2
2
|
var CAPABILITY_PLAN_HASHES = {
|
|
3
|
-
"B": "
|
|
4
|
-
"A": "
|
|
5
|
-
"operations": "
|
|
3
|
+
"B": "2f78ad6e25fd96f024dfc749c3c9d1b8dbf52d8a23e097bd5046605a9975787c",
|
|
4
|
+
"A": "2f78ad6e25fd96f024dfc749c3c9d1b8dbf52d8a23e097bd5046605a9975787c",
|
|
5
|
+
"operations": "2f78ad6e25fd96f024dfc749c3c9d1b8dbf52d8a23e097bd5046605a9975787c"
|
|
6
6
|
};
|
|
7
7
|
var cached = null;
|
|
8
8
|
function loadCapabilities() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZLMYYO7R_cjs = require('./chunk-ZLMYYO7R.cjs');
|
|
4
4
|
var chunkCM5O672I_cjs = require('./chunk-CM5O672I.cjs');
|
|
5
5
|
var crypto = require('crypto');
|
|
6
6
|
var async_hooks = require('async_hooks');
|
|
@@ -9352,6 +9352,19 @@ var RELATIONSHIP_MAP = {
|
|
|
9352
9352
|
"blindSurfaces": null,
|
|
9353
9353
|
"zoneFacts": {
|
|
9354
9354
|
"quirks": [
|
|
9355
|
+
{
|
|
9356
|
+
"kind": "vendor-managed-side-effect",
|
|
9357
|
+
"ops": [
|
|
9358
|
+
"query"
|
|
9359
|
+
],
|
|
9360
|
+
"fields": [
|
|
9361
|
+
"billingApprovalDateTime",
|
|
9362
|
+
"billingApprovalResourceID",
|
|
9363
|
+
"billingApprovalLevelMostRecent"
|
|
9364
|
+
],
|
|
9365
|
+
"statement": "Approval fields cannot establish posted status. A billing item referencing the entry through timeEntryID indicates it is posted.",
|
|
9366
|
+
"evidence": "Autotask REST BillingItemApprovalLevels entity help (https://ww6.autotask.net/help/developerhelp/content/apis/rest/Entities/BillingItemApprovalLevelsEntity.htm): creating an approval-level record updates the most recent level, while the date and resource on the time entry are editable separately. See docs/VENDOR-QUIRKS.md sections 11.4 and 11.13 for observed field population and the billing-item join."
|
|
9367
|
+
},
|
|
9355
9368
|
{
|
|
9356
9369
|
"kind": "wire-type",
|
|
9357
9370
|
"ops": [
|
|
@@ -18525,7 +18538,7 @@ async function capabilitySets() {
|
|
|
18525
18538
|
const fieldOps = /* @__PURE__ */ new Map();
|
|
18526
18539
|
const udfCapable = /* @__PURE__ */ new Set();
|
|
18527
18540
|
const resources = /* @__PURE__ */ new Set();
|
|
18528
|
-
for (const rec of await
|
|
18541
|
+
for (const rec of await chunkZLMYYO7R_cjs.loadCapabilityRecords()) {
|
|
18529
18542
|
if (rec.resource === "operations") continue;
|
|
18530
18543
|
resources.add(rec.resource);
|
|
18531
18544
|
if (rec.operation === "getFieldInfo") fieldOps.set(rec.resource, rec);
|
|
@@ -18536,7 +18549,7 @@ async function capabilitySets() {
|
|
|
18536
18549
|
var derivedIndexPromise = null;
|
|
18537
18550
|
function derivedIndexLoad() {
|
|
18538
18551
|
if (derivedIndexPromise === null) {
|
|
18539
|
-
derivedIndexPromise =
|
|
18552
|
+
derivedIndexPromise = chunkZLMYYO7R_cjs.loadCapabilityRecords().then((records) => {
|
|
18540
18553
|
const index = /* @__PURE__ */ new Map();
|
|
18541
18554
|
for (const rec of records) {
|
|
18542
18555
|
const declared = rec.metadata?.derivedFields;
|
|
@@ -26606,7 +26619,7 @@ function dateBucketLabel(value, bucket) {
|
|
|
26606
26619
|
var queryResourceKeysPromise = null;
|
|
26607
26620
|
function queryResourceKeys() {
|
|
26608
26621
|
if (queryResourceKeysPromise === null) {
|
|
26609
|
-
queryResourceKeysPromise =
|
|
26622
|
+
queryResourceKeysPromise = chunkZLMYYO7R_cjs.loadCapabilityRecords().then((records) => {
|
|
26610
26623
|
const s = /* @__PURE__ */ new Set();
|
|
26611
26624
|
for (const rec of records) if (rec.operation === "query") s.add(rec.resource);
|
|
26612
26625
|
return s;
|
|
@@ -26728,7 +26741,7 @@ function parseTopAndLimit(opts, problems) {
|
|
|
26728
26741
|
return { top, limit };
|
|
26729
26742
|
}
|
|
26730
26743
|
async function checkFieldNames(resourceKey, conditions, opts, problems) {
|
|
26731
|
-
const records = resourceKey === void 0 ? [] : await
|
|
26744
|
+
const records = resourceKey === void 0 ? [] : await chunkZLMYYO7R_cjs.loadCapabilityRecords();
|
|
26732
26745
|
const record = resourceKey === void 0 ? void 0 : records.find((r) => r.resource === resourceKey && r.operation === "query");
|
|
26733
26746
|
if (record === void 0) return void 0;
|
|
26734
26747
|
const strings = (v) => Array.isArray(v) ? v.filter((f) => typeof f === "string" && f.trim() !== "") : [];
|
|
@@ -27223,7 +27236,7 @@ async function uiLink(client, input) {
|
|
|
27223
27236
|
var indexPromise = null;
|
|
27224
27237
|
function operationIndex() {
|
|
27225
27238
|
if (indexPromise === null) {
|
|
27226
|
-
indexPromise =
|
|
27239
|
+
indexPromise = chunkZLMYYO7R_cjs.loadCapabilityRecords().then((records) => new Map(records.map((r) => [r.id, r])));
|
|
27227
27240
|
}
|
|
27228
27241
|
return indexPromise;
|
|
27229
27242
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenericResource, readTasks, OperationNotSupportedError, parseIdentifier, AutotaskConfigError, isRecord, isDateYMD, isAutotaskError, RateLimitError, MaintenanceError, AutotaskError, StaleObjectError, buildDryRunResult, createNamePlan, resolveCompositeNames, addNameSibling, NotFoundError, unwrapItems, ConflictError, clientOf, compositePartLimit, invokeRead, compositePart, openTicketsOfPart, unwrapOperation, unwrapItem, ResolutionError, joinedCompositePart, runMove, resolveTicketStatusSemantics, openStatusFilter, isClosedStatus, vendorId, resolveLineOfBusinessChain, cachedRecordGet, uiLinkFor, refuse, queryRows, mergePartialBody, TICKET_LABEL_FIELDS, addLabelSibling, parseVendorErrors, RELATIONSHIP_MAP, cursorToPath } from './chunk-
|
|
2
|
-
import { loadCapabilityRecords } from './chunk-
|
|
1
|
+
import { GenericResource, readTasks, OperationNotSupportedError, parseIdentifier, AutotaskConfigError, isRecord, isDateYMD, isAutotaskError, RateLimitError, MaintenanceError, AutotaskError, StaleObjectError, buildDryRunResult, createNamePlan, resolveCompositeNames, addNameSibling, NotFoundError, unwrapItems, ConflictError, clientOf, compositePartLimit, invokeRead, compositePart, openTicketsOfPart, unwrapOperation, unwrapItem, ResolutionError, joinedCompositePart, runMove, resolveTicketStatusSemantics, openStatusFilter, isClosedStatus, vendorId, resolveLineOfBusinessChain, cachedRecordGet, uiLinkFor, refuse, queryRows, mergePartialBody, TICKET_LABEL_FIELDS, addLabelSibling, parseVendorErrors, RELATIONSHIP_MAP, cursorToPath } from './chunk-CY6USWUY.js';
|
|
2
|
+
import { loadCapabilityRecords } from './chunk-K5X4BPQC.js';
|
|
3
3
|
|
|
4
4
|
// src/resources/special/configuration_items.ts
|
|
5
5
|
async function fetchRecord(http, path, label, readOpts) {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
// src/capabilities.ts
|
|
4
4
|
var CAPABILITY_PLAN_HASHES = {
|
|
5
|
-
"B": "
|
|
6
|
-
"A": "
|
|
7
|
-
"operations": "
|
|
5
|
+
"B": "2f78ad6e25fd96f024dfc749c3c9d1b8dbf52d8a23e097bd5046605a9975787c",
|
|
6
|
+
"A": "2f78ad6e25fd96f024dfc749c3c9d1b8dbf52d8a23e097bd5046605a9975787c",
|
|
7
|
+
"operations": "2f78ad6e25fd96f024dfc749c3c9d1b8dbf52d8a23e097bd5046605a9975787c"
|
|
8
8
|
};
|
|
9
9
|
var cached = null;
|
|
10
10
|
function loadCapabilities() {
|
|
@@ -109,7 +109,7 @@ interface RequestOptions {
|
|
|
109
109
|
* queryBounded noteChars free-text cap (issue #61 — response-side only);
|
|
110
110
|
* - docs/VENDOR-QUIRKS.md §11.7/§11.8/§11.9/§11.10/§11.11/§11.12 render the same facts.
|
|
111
111
|
*
|
|
112
|
-
* planHash:
|
|
112
|
+
* planHash: 2f78ad6e25fd96f024dfc749c3c9d1b8dbf52d8a23e097bd5046605a9975787c
|
|
113
113
|
*/
|
|
114
114
|
|
|
115
115
|
/** One pinned blind-surface stamp (the result-time sentinel object). */
|
|
@@ -109,7 +109,7 @@ interface RequestOptions {
|
|
|
109
109
|
* queryBounded noteChars free-text cap (issue #61 — response-side only);
|
|
110
110
|
* - docs/VENDOR-QUIRKS.md §11.7/§11.8/§11.9/§11.10/§11.11/§11.12 render the same facts.
|
|
111
111
|
*
|
|
112
|
-
* planHash:
|
|
112
|
+
* planHash: 2f78ad6e25fd96f024dfc749c3c9d1b8dbf52d8a23e097bd5046605a9975787c
|
|
113
113
|
*/
|
|
114
114
|
|
|
115
115
|
/** One pinned blind-surface stamp (the result-time sentinel object). */
|
package/dist/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk4CI27SCM_cjs = require('./chunk-4CI27SCM.cjs');
|
|
4
4
|
require('./chunk-S5CH4H6H.cjs');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
require('./chunk-
|
|
5
|
+
var chunkD7MJC7HA_cjs = require('./chunk-D7MJC7HA.cjs');
|
|
6
|
+
var chunkOI6E5XQA_cjs = require('./chunk-OI6E5XQA.cjs');
|
|
7
|
+
require('./chunk-ZLMYYO7R.cjs');
|
|
8
8
|
var chunkCM5O672I_cjs = require('./chunk-CM5O672I.cjs');
|
|
9
9
|
var fs = require('fs');
|
|
10
10
|
|
|
@@ -19,7 +19,7 @@ var ALIASES = {
|
|
|
19
19
|
AUTOTASK_USERNAME: ["AUTOTASK_USER"]
|
|
20
20
|
};
|
|
21
21
|
function presenceError(name, source) {
|
|
22
|
-
return new
|
|
22
|
+
return new chunkOI6E5XQA_cjs.AutotaskConfigError(
|
|
23
23
|
`${source}: ${name} is not set (or is empty after shell-equivalent loading)`,
|
|
24
24
|
{
|
|
25
25
|
suggestedAction: `Set ${name} before running (see the "Credentials & env files" section of the README).`
|
|
@@ -27,8 +27,8 @@ function presenceError(name, source) {
|
|
|
27
27
|
);
|
|
28
28
|
}
|
|
29
29
|
function shapeError(name, value, source) {
|
|
30
|
-
return new
|
|
31
|
-
`${source}: ${name} ${
|
|
30
|
+
return new chunkOI6E5XQA_cjs.AutotaskConfigError(
|
|
31
|
+
`${source}: ${name} ${chunkOI6E5XQA_cjs.CREDENTIAL_ENV_LOAD_ACTION} [${chunkOI6E5XQA_cjs.credentialValueSummary(value)}]`,
|
|
32
32
|
{
|
|
33
33
|
code: "INVALID_CREDENTIAL_SHAPE",
|
|
34
34
|
suggestedAction: "Load the credential file with the shell (`set -a; . ./.env; set +a`), use loadAutotaskCredentialEnvFile(path), or fix the quoted/contaminated value; no request was sent."
|
|
@@ -52,7 +52,7 @@ function parseCredentialEnvText(text) {
|
|
|
52
52
|
}
|
|
53
53
|
function readCredentialEnvFile(path) {
|
|
54
54
|
if (!fs.existsSync(path)) {
|
|
55
|
-
throw new
|
|
55
|
+
throw new chunkOI6E5XQA_cjs.AutotaskConfigError(`credential env file not found: ${path}`, {
|
|
56
56
|
suggestedAction: "Check the path, or create the file with the credentials your host needs."
|
|
57
57
|
});
|
|
58
58
|
}
|
|
@@ -98,7 +98,7 @@ function pickCredentials(values, names, source, canonical) {
|
|
|
98
98
|
if (entry === void 0) continue;
|
|
99
99
|
const value = normalizeCredentialValue(entry.raw);
|
|
100
100
|
if (value.length === 0) throw presenceError(name, source);
|
|
101
|
-
if (
|
|
101
|
+
if (chunkOI6E5XQA_cjs.credentialShapeProblem(value, { skipEdgeWhitespace: true }) !== void 0) {
|
|
102
102
|
throw shapeError(name, value, source);
|
|
103
103
|
}
|
|
104
104
|
out[name] = value;
|
|
@@ -122,7 +122,7 @@ var DOCTOR_ENTITIES = [
|
|
|
122
122
|
{ key: "resources", label: "Resources", path: "/V1.0/Resources" }
|
|
123
123
|
];
|
|
124
124
|
var present = (v) => typeof v === "string" && v.trim().length > 0;
|
|
125
|
-
var knownZone = (z) => typeof z === "string" &&
|
|
125
|
+
var knownZone = (z) => typeof z === "string" && chunkOI6E5XQA_cjs.ZONES.includes(z);
|
|
126
126
|
function doctorConfigStep(source, origin = "config") {
|
|
127
127
|
const fields = ["apiIntegrationCode", "userName", "secret", "zone", "baseUrl", "impersonationResourceId"];
|
|
128
128
|
const sources = {};
|
|
@@ -150,7 +150,7 @@ function doctorConfigStep(source, origin = "config") {
|
|
|
150
150
|
} else if (knownZone(zone)) {
|
|
151
151
|
let url;
|
|
152
152
|
try {
|
|
153
|
-
url =
|
|
153
|
+
url = chunkOI6E5XQA_cjs.zoneUrl(zone);
|
|
154
154
|
zoneInfo = { provided: true, resolvable: true, zone, baseUrlHost: new URL(url).host };
|
|
155
155
|
} catch {
|
|
156
156
|
zoneInfo = { provided: true, resolvable: false, zone };
|
|
@@ -159,13 +159,13 @@ function doctorConfigStep(source, origin = "config") {
|
|
|
159
159
|
zoneInfo = { provided: true, resolvable: false, zone };
|
|
160
160
|
}
|
|
161
161
|
} else {
|
|
162
|
-
zoneInfo = { provided: false, resolvable: true, zone:
|
|
162
|
+
zoneInfo = { provided: false, resolvable: true, zone: chunkOI6E5XQA_cjs.DEFAULT_ZONE, baseUrlHost: new URL(chunkOI6E5XQA_cjs.zoneUrl(chunkOI6E5XQA_cjs.DEFAULT_ZONE)).host };
|
|
163
163
|
}
|
|
164
164
|
const problems = [];
|
|
165
165
|
if (missing.length > 0) problems.push(`missing credential(s): ${missing.join(", ")}`);
|
|
166
166
|
if (zoneInfo.provided && !zoneInfo.resolvable) {
|
|
167
167
|
problems.push(
|
|
168
|
-
source.baseUrl !== void 0 && present(source.baseUrl) ? "baseUrl is not a valid http(s) URL" : source.zone === "other" ? 'zone "other" requires a baseUrl' : `zone "${zone}" is not a known zone (the catalog has ${
|
|
168
|
+
source.baseUrl !== void 0 && present(source.baseUrl) ? "baseUrl is not a valid http(s) URL" : source.zone === "other" ? 'zone "other" requires a baseUrl' : `zone "${zone}" is not a known zone (the catalog has ${chunkOI6E5XQA_cjs.ZONES.length} zones)`
|
|
169
169
|
);
|
|
170
170
|
}
|
|
171
171
|
if (problems.length > 0) {
|
|
@@ -193,20 +193,20 @@ async function timeCheck(id, fn) {
|
|
|
193
193
|
const out = await fn();
|
|
194
194
|
return { check: { id, status: out.status, message: out.message, ...out.hint !== void 0 ? { hint: out.hint } : {}, durationMs: Date.now() - started }, value: out.value };
|
|
195
195
|
} catch (err) {
|
|
196
|
-
const code =
|
|
196
|
+
const code = chunkOI6E5XQA_cjs.isAutotaskError(err) ? err.code : "UNEXPECTED";
|
|
197
197
|
return {
|
|
198
198
|
check: {
|
|
199
199
|
id,
|
|
200
200
|
status: "fail",
|
|
201
201
|
message: `check failed unexpectedly (machine code ${code})`,
|
|
202
|
-
hint:
|
|
202
|
+
hint: chunkOI6E5XQA_cjs.isAutotaskError(err) ? err.suggestedAction : void 0,
|
|
203
203
|
durationMs: Date.now() - started
|
|
204
204
|
}
|
|
205
205
|
};
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
function failFrom(err, what) {
|
|
209
|
-
if (err instanceof
|
|
209
|
+
if (err instanceof chunkOI6E5XQA_cjs.RateLimitError && err.code === "RATE_LIMITED_COOLDOWN") {
|
|
210
210
|
return {
|
|
211
211
|
status: "fail",
|
|
212
212
|
message: `${what} \u2014 refused LOCALLY by the tenant 429 cooldown gate (the call was NOT sent)`,
|
|
@@ -252,7 +252,7 @@ function makeWire(run, timeoutMs) {
|
|
|
252
252
|
});
|
|
253
253
|
return { body };
|
|
254
254
|
} catch (err) {
|
|
255
|
-
if (
|
|
255
|
+
if (chunkOI6E5XQA_cjs.isAutotaskError(err)) return { error: err };
|
|
256
256
|
throw err;
|
|
257
257
|
}
|
|
258
258
|
};
|
|
@@ -311,7 +311,7 @@ async function checkReads(run, zoneUnavailable) {
|
|
|
311
311
|
const id = `read.${entity.key}`;
|
|
312
312
|
const result = await timeCheck(id, async () => {
|
|
313
313
|
if (zoneUnavailable) return skip(ZONE_UNAVAILABLE_SKIP);
|
|
314
|
-
const req =
|
|
314
|
+
const req = chunkOI6E5XQA_cjs.buildQueryRequest(cfg.baseUrl, entity.path, { maxRecords: 1 });
|
|
315
315
|
const out = await run.wire(req.method, req.path, `doctor.${id}`, { body: req.body, idempotent: req.idempotent });
|
|
316
316
|
if (out.error) {
|
|
317
317
|
const f = failFrom(out.error, `read access to ${entity.label}`);
|
|
@@ -395,18 +395,18 @@ function outcome(state, retryable, code, httpStatus) {
|
|
|
395
395
|
return httpStatus === void 0 ? { state, retryable, code } : { state, retryable, code, httpStatus };
|
|
396
396
|
}
|
|
397
397
|
function vendorErrorsNonEmpty(vendorError) {
|
|
398
|
-
const entries =
|
|
398
|
+
const entries = chunkOI6E5XQA_cjs.parseVendorErrors(vendorError);
|
|
399
399
|
return entries !== void 0 && entries.length > 0;
|
|
400
400
|
}
|
|
401
401
|
function classifyWriteOutcome(error) {
|
|
402
|
-
if (
|
|
402
|
+
if (chunkOI6E5XQA_cjs.isAutotaskError(error)) {
|
|
403
403
|
const rawStatus = error.httpStatus;
|
|
404
404
|
const httpStatus = typeof rawStatus === "number" ? rawStatus : void 0;
|
|
405
405
|
const statusMalformed = rawStatus !== void 0 && httpStatus === void 0;
|
|
406
406
|
if (error.notSent === true) {
|
|
407
407
|
return outcome("failed", error.retryable, error.code, httpStatus);
|
|
408
408
|
}
|
|
409
|
-
if (error instanceof
|
|
409
|
+
if (error instanceof chunkOI6E5XQA_cjs.MaintenanceError && httpStatus !== void 0 && !error.retryable) {
|
|
410
410
|
return outcome("unknown", false, error.code, httpStatus);
|
|
411
411
|
}
|
|
412
412
|
if (httpStatus !== void 0 && httpStatus >= 400 && httpStatus <= 499) {
|
|
@@ -428,7 +428,7 @@ function classifyWriteOutcome(error) {
|
|
|
428
428
|
return outcome("failed", error.retryable, error.code);
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
|
-
const typed =
|
|
431
|
+
const typed = chunkOI6E5XQA_cjs.isAutotaskError(error);
|
|
432
432
|
const status = typed && typeof error.httpStatus === "number" ? error.httpStatus : void 0;
|
|
433
433
|
const code = typed ? error.code : error instanceof Error ? error.name : "UNKNOWN";
|
|
434
434
|
return outcome("unknown", false, code, status);
|
|
@@ -436,255 +436,255 @@ function classifyWriteOutcome(error) {
|
|
|
436
436
|
|
|
437
437
|
Object.defineProperty(exports, "AutotaskClient", {
|
|
438
438
|
enumerable: true,
|
|
439
|
-
get: function () { return
|
|
439
|
+
get: function () { return chunk4CI27SCM_cjs.AutotaskClient; }
|
|
440
440
|
});
|
|
441
441
|
Object.defineProperty(exports, "AuthenticateResource", {
|
|
442
442
|
enumerable: true,
|
|
443
|
-
get: function () { return
|
|
443
|
+
get: function () { return chunkD7MJC7HA_cjs.AuthenticateResource; }
|
|
444
444
|
});
|
|
445
445
|
Object.defineProperty(exports, "ConfigurationItemsResource", {
|
|
446
446
|
enumerable: true,
|
|
447
|
-
get: function () { return
|
|
447
|
+
get: function () { return chunkD7MJC7HA_cjs.ConfigurationItemsResource; }
|
|
448
448
|
});
|
|
449
449
|
Object.defineProperty(exports, "ContactsResource", {
|
|
450
450
|
enumerable: true,
|
|
451
|
-
get: function () { return
|
|
451
|
+
get: function () { return chunkD7MJC7HA_cjs.ContactsResource; }
|
|
452
452
|
});
|
|
453
453
|
Object.defineProperty(exports, "EntityInformationResource", {
|
|
454
454
|
enumerable: true,
|
|
455
|
-
get: function () { return
|
|
455
|
+
get: function () { return chunkD7MJC7HA_cjs.EntityInformationResource; }
|
|
456
456
|
});
|
|
457
457
|
Object.defineProperty(exports, "InventoryProductsResource", {
|
|
458
458
|
enumerable: true,
|
|
459
|
-
get: function () { return
|
|
459
|
+
get: function () { return chunkD7MJC7HA_cjs.InventoryProductsResource; }
|
|
460
460
|
});
|
|
461
461
|
Object.defineProperty(exports, "ModulesResource", {
|
|
462
462
|
enumerable: true,
|
|
463
|
-
get: function () { return
|
|
463
|
+
get: function () { return chunkD7MJC7HA_cjs.ModulesResource; }
|
|
464
464
|
});
|
|
465
465
|
Object.defineProperty(exports, "QuotesResource", {
|
|
466
466
|
enumerable: true,
|
|
467
|
-
get: function () { return
|
|
467
|
+
get: function () { return chunkD7MJC7HA_cjs.QuotesResource; }
|
|
468
468
|
});
|
|
469
469
|
Object.defineProperty(exports, "ResourceTimeOffAdditionalResource", {
|
|
470
470
|
enumerable: true,
|
|
471
|
-
get: function () { return
|
|
471
|
+
get: function () { return chunkD7MJC7HA_cjs.ResourceTimeOffAdditionalResource; }
|
|
472
472
|
});
|
|
473
473
|
Object.defineProperty(exports, "ResourceTimeOffBalancesResource", {
|
|
474
474
|
enumerable: true,
|
|
475
|
-
get: function () { return
|
|
475
|
+
get: function () { return chunkD7MJC7HA_cjs.ResourceTimeOffBalancesResource; }
|
|
476
476
|
});
|
|
477
477
|
Object.defineProperty(exports, "ResourcesResource", {
|
|
478
478
|
enumerable: true,
|
|
479
|
-
get: function () { return
|
|
479
|
+
get: function () { return chunkD7MJC7HA_cjs.ResourcesResource; }
|
|
480
480
|
});
|
|
481
481
|
Object.defineProperty(exports, "ServiceCallsResource", {
|
|
482
482
|
enumerable: true,
|
|
483
|
-
get: function () { return
|
|
483
|
+
get: function () { return chunkD7MJC7HA_cjs.ServiceCallsResource; }
|
|
484
484
|
});
|
|
485
485
|
Object.defineProperty(exports, "ThresholdInformationResource", {
|
|
486
486
|
enumerable: true,
|
|
487
|
-
get: function () { return
|
|
487
|
+
get: function () { return chunkD7MJC7HA_cjs.ThresholdInformationResource; }
|
|
488
488
|
});
|
|
489
489
|
Object.defineProperty(exports, "TicketChargesResource", {
|
|
490
490
|
enumerable: true,
|
|
491
|
-
get: function () { return
|
|
491
|
+
get: function () { return chunkD7MJC7HA_cjs.TicketChargesResource; }
|
|
492
492
|
});
|
|
493
493
|
Object.defineProperty(exports, "TicketsResource", {
|
|
494
494
|
enumerable: true,
|
|
495
|
-
get: function () { return
|
|
495
|
+
get: function () { return chunkD7MJC7HA_cjs.TicketsResource; }
|
|
496
496
|
});
|
|
497
497
|
Object.defineProperty(exports, "TimeOffRequestsResource", {
|
|
498
498
|
enumerable: true,
|
|
499
|
-
get: function () { return
|
|
499
|
+
get: function () { return chunkD7MJC7HA_cjs.TimeOffRequestsResource; }
|
|
500
500
|
});
|
|
501
501
|
Object.defineProperty(exports, "VersionInformationResource", {
|
|
502
502
|
enumerable: true,
|
|
503
|
-
get: function () { return
|
|
503
|
+
get: function () { return chunkD7MJC7HA_cjs.VersionInformationResource; }
|
|
504
504
|
});
|
|
505
505
|
Object.defineProperty(exports, "VersionResource", {
|
|
506
506
|
enumerable: true,
|
|
507
|
-
get: function () { return
|
|
507
|
+
get: function () { return chunkD7MJC7HA_cjs.VersionResource; }
|
|
508
508
|
});
|
|
509
509
|
Object.defineProperty(exports, "ZoneInformationResource", {
|
|
510
510
|
enumerable: true,
|
|
511
|
-
get: function () { return
|
|
511
|
+
get: function () { return chunkD7MJC7HA_cjs.ZoneInformationResource; }
|
|
512
512
|
});
|
|
513
513
|
Object.defineProperty(exports, "AutotaskAbortError", {
|
|
514
514
|
enumerable: true,
|
|
515
|
-
get: function () { return
|
|
515
|
+
get: function () { return chunkOI6E5XQA_cjs.AutotaskAbortError; }
|
|
516
516
|
});
|
|
517
517
|
Object.defineProperty(exports, "AutotaskConfigError", {
|
|
518
518
|
enumerable: true,
|
|
519
|
-
get: function () { return
|
|
519
|
+
get: function () { return chunkOI6E5XQA_cjs.AutotaskConfigError; }
|
|
520
520
|
});
|
|
521
521
|
Object.defineProperty(exports, "AutotaskError", {
|
|
522
522
|
enumerable: true,
|
|
523
|
-
get: function () { return
|
|
523
|
+
get: function () { return chunkOI6E5XQA_cjs.AutotaskError; }
|
|
524
524
|
});
|
|
525
525
|
Object.defineProperty(exports, "AutotaskNetworkError", {
|
|
526
526
|
enumerable: true,
|
|
527
|
-
get: function () { return
|
|
527
|
+
get: function () { return chunkOI6E5XQA_cjs.AutotaskNetworkError; }
|
|
528
528
|
});
|
|
529
529
|
Object.defineProperty(exports, "AutotaskTimeoutError", {
|
|
530
530
|
enumerable: true,
|
|
531
|
-
get: function () { return
|
|
531
|
+
get: function () { return chunkOI6E5XQA_cjs.AutotaskTimeoutError; }
|
|
532
532
|
});
|
|
533
533
|
Object.defineProperty(exports, "CREDENTIAL_SHAPE_POINTER", {
|
|
534
534
|
enumerable: true,
|
|
535
|
-
get: function () { return
|
|
535
|
+
get: function () { return chunkOI6E5XQA_cjs.CREDENTIAL_SHAPE_POINTER; }
|
|
536
536
|
});
|
|
537
537
|
Object.defineProperty(exports, "CompaniesResource", {
|
|
538
538
|
enumerable: true,
|
|
539
|
-
get: function () { return
|
|
539
|
+
get: function () { return chunkOI6E5XQA_cjs.CompaniesResource; }
|
|
540
540
|
});
|
|
541
541
|
Object.defineProperty(exports, "ConfirmationRequiredError", {
|
|
542
542
|
enumerable: true,
|
|
543
|
-
get: function () { return
|
|
543
|
+
get: function () { return chunkOI6E5XQA_cjs.ConfirmationRequiredError; }
|
|
544
544
|
});
|
|
545
545
|
Object.defineProperty(exports, "ConflictError", {
|
|
546
546
|
enumerable: true,
|
|
547
|
-
get: function () { return
|
|
547
|
+
get: function () { return chunkOI6E5XQA_cjs.ConflictError; }
|
|
548
548
|
});
|
|
549
549
|
Object.defineProperty(exports, "ContractsResource", {
|
|
550
550
|
enumerable: true,
|
|
551
|
-
get: function () { return
|
|
551
|
+
get: function () { return chunkOI6E5XQA_cjs.ContractsResource; }
|
|
552
552
|
});
|
|
553
553
|
Object.defineProperty(exports, "DeleteBoundaryError", {
|
|
554
554
|
enumerable: true,
|
|
555
|
-
get: function () { return
|
|
555
|
+
get: function () { return chunkOI6E5XQA_cjs.DeleteBoundaryError; }
|
|
556
556
|
});
|
|
557
557
|
Object.defineProperty(exports, "EmptyResponseError", {
|
|
558
558
|
enumerable: true,
|
|
559
|
-
get: function () { return
|
|
559
|
+
get: function () { return chunkOI6E5XQA_cjs.EmptyResponseError; }
|
|
560
560
|
});
|
|
561
561
|
Object.defineProperty(exports, "GenericResource", {
|
|
562
562
|
enumerable: true,
|
|
563
|
-
get: function () { return
|
|
563
|
+
get: function () { return chunkOI6E5XQA_cjs.GenericResource; }
|
|
564
564
|
});
|
|
565
565
|
Object.defineProperty(exports, "HostPolicyDeniedError", {
|
|
566
566
|
enumerable: true,
|
|
567
|
-
get: function () { return
|
|
567
|
+
get: function () { return chunkOI6E5XQA_cjs.HostPolicyDeniedError; }
|
|
568
568
|
});
|
|
569
569
|
Object.defineProperty(exports, "InvoicesResource", {
|
|
570
570
|
enumerable: true,
|
|
571
|
-
get: function () { return
|
|
571
|
+
get: function () { return chunkOI6E5XQA_cjs.InvoicesResource; }
|
|
572
572
|
});
|
|
573
573
|
Object.defineProperty(exports, "MIN_PREFIX_SUMMARY_LENGTH", {
|
|
574
574
|
enumerable: true,
|
|
575
|
-
get: function () { return
|
|
575
|
+
get: function () { return chunkOI6E5XQA_cjs.MIN_PREFIX_SUMMARY_LENGTH; }
|
|
576
576
|
});
|
|
577
577
|
Object.defineProperty(exports, "MaintenanceError", {
|
|
578
578
|
enumerable: true,
|
|
579
|
-
get: function () { return
|
|
579
|
+
get: function () { return chunkOI6E5XQA_cjs.MaintenanceError; }
|
|
580
580
|
});
|
|
581
581
|
Object.defineProperty(exports, "MarkerUnsafeIdError", {
|
|
582
582
|
enumerable: true,
|
|
583
|
-
get: function () { return
|
|
583
|
+
get: function () { return chunkOI6E5XQA_cjs.MarkerUnsafeIdError; }
|
|
584
584
|
});
|
|
585
585
|
Object.defineProperty(exports, "MoveRefusedError", {
|
|
586
586
|
enumerable: true,
|
|
587
|
-
get: function () { return
|
|
587
|
+
get: function () { return chunkOI6E5XQA_cjs.MoveRefusedError; }
|
|
588
588
|
});
|
|
589
589
|
Object.defineProperty(exports, "NotFoundError", {
|
|
590
590
|
enumerable: true,
|
|
591
|
-
get: function () { return
|
|
591
|
+
get: function () { return chunkOI6E5XQA_cjs.NotFoundError; }
|
|
592
592
|
});
|
|
593
593
|
Object.defineProperty(exports, "OperationNotSupportedError", {
|
|
594
594
|
enumerable: true,
|
|
595
|
-
get: function () { return
|
|
595
|
+
get: function () { return chunkOI6E5XQA_cjs.OperationNotSupportedError; }
|
|
596
596
|
});
|
|
597
597
|
Object.defineProperty(exports, "PaginationLimitError", {
|
|
598
598
|
enumerable: true,
|
|
599
|
-
get: function () { return
|
|
599
|
+
get: function () { return chunkOI6E5XQA_cjs.PaginationLimitError; }
|
|
600
600
|
});
|
|
601
601
|
Object.defineProperty(exports, "QueryTooLongError", {
|
|
602
602
|
enumerable: true,
|
|
603
|
-
get: function () { return
|
|
603
|
+
get: function () { return chunkOI6E5XQA_cjs.QueryTooLongError; }
|
|
604
604
|
});
|
|
605
605
|
Object.defineProperty(exports, "RateLimitError", {
|
|
606
606
|
enumerable: true,
|
|
607
|
-
get: function () { return
|
|
607
|
+
get: function () { return chunkOI6E5XQA_cjs.RateLimitError; }
|
|
608
608
|
});
|
|
609
609
|
Object.defineProperty(exports, "RecoveryTruncatedError", {
|
|
610
610
|
enumerable: true,
|
|
611
|
-
get: function () { return
|
|
611
|
+
get: function () { return chunkOI6E5XQA_cjs.RecoveryTruncatedError; }
|
|
612
612
|
});
|
|
613
613
|
Object.defineProperty(exports, "ResolutionError", {
|
|
614
614
|
enumerable: true,
|
|
615
|
-
get: function () { return
|
|
615
|
+
get: function () { return chunkOI6E5XQA_cjs.ResolutionError; }
|
|
616
616
|
});
|
|
617
617
|
Object.defineProperty(exports, "ResponseRejectedError", {
|
|
618
618
|
enumerable: true,
|
|
619
|
-
get: function () { return
|
|
619
|
+
get: function () { return chunkOI6E5XQA_cjs.ResponseRejectedError; }
|
|
620
620
|
});
|
|
621
621
|
Object.defineProperty(exports, "SIMPLE_RESOURCES", {
|
|
622
622
|
enumerable: true,
|
|
623
|
-
get: function () { return
|
|
623
|
+
get: function () { return chunkOI6E5XQA_cjs.SIMPLE_RESOURCES; }
|
|
624
624
|
});
|
|
625
625
|
Object.defineProperty(exports, "ScopeRequiredError", {
|
|
626
626
|
enumerable: true,
|
|
627
|
-
get: function () { return
|
|
627
|
+
get: function () { return chunkOI6E5XQA_cjs.ScopeRequiredError; }
|
|
628
628
|
});
|
|
629
629
|
Object.defineProperty(exports, "StaleObjectError", {
|
|
630
630
|
enumerable: true,
|
|
631
|
-
get: function () { return
|
|
631
|
+
get: function () { return chunkOI6E5XQA_cjs.StaleObjectError; }
|
|
632
632
|
});
|
|
633
633
|
Object.defineProperty(exports, "TimeEntriesResource", {
|
|
634
634
|
enumerable: true,
|
|
635
|
-
get: function () { return
|
|
635
|
+
get: function () { return chunkOI6E5XQA_cjs.TimeEntriesResource; }
|
|
636
636
|
});
|
|
637
637
|
Object.defineProperty(exports, "TtlCache", {
|
|
638
638
|
enumerable: true,
|
|
639
|
-
get: function () { return
|
|
639
|
+
get: function () { return chunkOI6E5XQA_cjs.TtlCache; }
|
|
640
640
|
});
|
|
641
641
|
Object.defineProperty(exports, "UNSCOPED_WALK_THRESHOLD", {
|
|
642
642
|
enumerable: true,
|
|
643
|
-
get: function () { return
|
|
643
|
+
get: function () { return chunkOI6E5XQA_cjs.UNSCOPED_WALK_THRESHOLD; }
|
|
644
644
|
});
|
|
645
645
|
Object.defineProperty(exports, "UnexpectedContentTypeError", {
|
|
646
646
|
enumerable: true,
|
|
647
|
-
get: function () { return
|
|
647
|
+
get: function () { return chunkOI6E5XQA_cjs.UnexpectedContentTypeError; }
|
|
648
648
|
});
|
|
649
649
|
Object.defineProperty(exports, "ZONES", {
|
|
650
650
|
enumerable: true,
|
|
651
|
-
get: function () { return
|
|
651
|
+
get: function () { return chunkOI6E5XQA_cjs.ZONES; }
|
|
652
652
|
});
|
|
653
653
|
Object.defineProperty(exports, "credentialShapeProblem", {
|
|
654
654
|
enumerable: true,
|
|
655
|
-
get: function () { return
|
|
655
|
+
get: function () { return chunkOI6E5XQA_cjs.credentialShapeProblem; }
|
|
656
656
|
});
|
|
657
657
|
Object.defineProperty(exports, "credentialValueSummary", {
|
|
658
658
|
enumerable: true,
|
|
659
|
-
get: function () { return
|
|
659
|
+
get: function () { return chunkOI6E5XQA_cjs.credentialValueSummary; }
|
|
660
660
|
});
|
|
661
661
|
Object.defineProperty(exports, "errorFromStatus", {
|
|
662
662
|
enumerable: true,
|
|
663
|
-
get: function () { return
|
|
663
|
+
get: function () { return chunkOI6E5XQA_cjs.errorFromStatus; }
|
|
664
664
|
});
|
|
665
665
|
Object.defineProperty(exports, "formatVendorDetail", {
|
|
666
666
|
enumerable: true,
|
|
667
|
-
get: function () { return
|
|
667
|
+
get: function () { return chunkOI6E5XQA_cjs.formatVendorDetail; }
|
|
668
668
|
});
|
|
669
669
|
Object.defineProperty(exports, "isAutotaskError", {
|
|
670
670
|
enumerable: true,
|
|
671
|
-
get: function () { return
|
|
671
|
+
get: function () { return chunkOI6E5XQA_cjs.isAutotaskError; }
|
|
672
672
|
});
|
|
673
673
|
Object.defineProperty(exports, "isDeterministicVendor500", {
|
|
674
674
|
enumerable: true,
|
|
675
|
-
get: function () { return
|
|
675
|
+
get: function () { return chunkOI6E5XQA_cjs.isDeterministicVendor500; }
|
|
676
676
|
});
|
|
677
677
|
Object.defineProperty(exports, "mergeDetails", {
|
|
678
678
|
enumerable: true,
|
|
679
|
-
get: function () { return
|
|
679
|
+
get: function () { return chunkOI6E5XQA_cjs.mergeDetails; }
|
|
680
680
|
});
|
|
681
681
|
Object.defineProperty(exports, "nextActionFor", {
|
|
682
682
|
enumerable: true,
|
|
683
|
-
get: function () { return
|
|
683
|
+
get: function () { return chunkOI6E5XQA_cjs.nextActionFor; }
|
|
684
684
|
});
|
|
685
685
|
Object.defineProperty(exports, "parseVendorErrors", {
|
|
686
686
|
enumerable: true,
|
|
687
|
-
get: function () { return
|
|
687
|
+
get: function () { return chunkOI6E5XQA_cjs.parseVendorErrors; }
|
|
688
688
|
});
|
|
689
689
|
Object.defineProperty(exports, "NoopLogger", {
|
|
690
690
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as AutotaskError, c as AutotaskErrorOptions, d as AutotaskConfigError, a as AutotaskClient, T as TicketChangeStatusResult, e as TicketChangeStatusNoChange } from './index-
|
|
2
|
-
export { f as AuthenticateResource, A as AutotaskConfig, C as CompaniesResource, g as CompanyFuzzySearchOptions, h as CompanyFuzzySearchResult, i as ConfigurationItemsResource, j as ContactsResource, k as ContractsProfitabilityResult, l as ContractsResource, m as CostRateResolution, E as EntityInformationResource, n as ErrorCategory, o as ErrorIdRef, F as FuzzyCompanyRow, G as GenericResource, p as GenericResourceConfig, H as HelperFlags, I as InventoryProductsResource, q as InvoicesResource, M as ModulesResource, N as NextAction, O as OpsFlags, P as ProfitRateSource, r as ProfitabilityActivityCategory, s as ProfitabilityDataQualityWarning, t as ProfitabilityHighestCostTicket, u as ProfitabilityLabourCostMethod, v as ProfitabilityMiscoding, w as ProfitabilityMonthlyRow, x as ProfitabilityOpenRenewalItem, y as ProfitabilityOptions, z as ProfitabilityPart, B as ProfitabilityPartDigest, D as ProfitabilityRevenueByType, Q as QuotesResource, R as ResourceTimeOffAdditionalResource, J as ResourceTimeOffBalancesResource, K as ResourcesResource, S as SIMPLE_RESOURCES, L as ServiceCallsResource, U as SimpleResourceEntry, V as ThresholdInformationResource, W as TicketChargesResource, X as TicketsResource, Y as TimeEntriesPostedCountResult, Z as TimeEntriesPostedPagingOptions, _ as TimeEntriesPostedWindowCountOptions, $ as TimeEntriesPostedWindowListOptions, a0 as TimeEntriesPostedWindowOptions, a1 as TimeEntriesPostedWindowResult, a2 as TimeEntriesResource, a3 as TimeEntryReviewFields, a4 as TimeEntryReviewResult, a5 as TimeOffRequestsResource, a6 as TtlCache, a7 as VersionInformationResource, a8 as VersionResource, a9 as ZONES, aa as ZoneInformationResource, ab as ZoneName, ac as isAutotaskError, ad as nextActionFor } from './index-
|
|
1
|
+
import { b as AutotaskError, c as AutotaskErrorOptions, d as AutotaskConfigError, a as AutotaskClient, T as TicketChangeStatusResult, e as TicketChangeStatusNoChange } from './index-BEqbDuMk.cjs';
|
|
2
|
+
export { f as AuthenticateResource, A as AutotaskConfig, C as CompaniesResource, g as CompanyFuzzySearchOptions, h as CompanyFuzzySearchResult, i as ConfigurationItemsResource, j as ContactsResource, k as ContractsProfitabilityResult, l as ContractsResource, m as CostRateResolution, E as EntityInformationResource, n as ErrorCategory, o as ErrorIdRef, F as FuzzyCompanyRow, G as GenericResource, p as GenericResourceConfig, H as HelperFlags, I as InventoryProductsResource, q as InvoicesResource, M as ModulesResource, N as NextAction, O as OpsFlags, P as ProfitRateSource, r as ProfitabilityActivityCategory, s as ProfitabilityDataQualityWarning, t as ProfitabilityHighestCostTicket, u as ProfitabilityLabourCostMethod, v as ProfitabilityMiscoding, w as ProfitabilityMonthlyRow, x as ProfitabilityOpenRenewalItem, y as ProfitabilityOptions, z as ProfitabilityPart, B as ProfitabilityPartDigest, D as ProfitabilityRevenueByType, Q as QuotesResource, R as ResourceTimeOffAdditionalResource, J as ResourceTimeOffBalancesResource, K as ResourcesResource, S as SIMPLE_RESOURCES, L as ServiceCallsResource, U as SimpleResourceEntry, V as ThresholdInformationResource, W as TicketChargesResource, X as TicketsResource, Y as TimeEntriesPostedCountResult, Z as TimeEntriesPostedPagingOptions, _ as TimeEntriesPostedWindowCountOptions, $ as TimeEntriesPostedWindowListOptions, a0 as TimeEntriesPostedWindowOptions, a1 as TimeEntriesPostedWindowResult, a2 as TimeEntriesResource, a3 as TimeEntryReviewFields, a4 as TimeEntryReviewResult, a5 as TimeOffRequestsResource, a6 as TtlCache, a7 as VersionInformationResource, a8 as VersionResource, a9 as ZONES, aa as ZoneInformationResource, ab as ZoneName, ac as isAutotaskError, ad as nextActionFor } from './index-BEqbDuMk.cjs';
|
|
3
3
|
export { N as NoopLogger, R as REDACTED } from './logger-B1gYmFre.cjs';
|
|
4
4
|
export { A as AuditEvent, Q as QueryParams } from './index-4jmitXBs.cjs';
|
|
5
5
|
|