node-autotask 0.66.0 → 0.67.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-L5K2D2MZ.js → chunk-4GH73U2I.js} +3 -3
- package/dist/{chunk-XAJ7SBPE.cjs → chunk-54L7KKUD.cjs} +31 -31
- package/dist/{chunk-FLVMENXG.cjs → chunk-7GBOQ7YA.cjs} +3 -3
- package/dist/{chunk-QG3O5G4L.cjs → chunk-C7M7PXLW.cjs} +173 -173
- package/dist/{chunk-T5TI22K5.js → chunk-EXLJHU5W.js} +2 -2
- package/dist/{chunk-KO36QZXN.js → chunk-N7WB65IS.js} +2 -2
- package/dist/{chunk-4HJVHVPE.js → chunk-UCPSQ6GN.js} +2 -2
- package/dist/{chunk-TIFJFCCN.cjs → chunk-VO4ABDZA.cjs} +7 -7
- package/dist/{index-BZ11hF8H.d.ts → index-CYlKHo5N.d.ts} +1 -1
- package/dist/{index-DnisYPlj.d.cts → index-D_1wP3Je.d.cts} +1 -1
- package/dist/index.cjs +84 -84
- 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 +50 -50
- 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 +8 -8
- 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 { GenericResource, parseIdentifier, AutotaskConfigError, StaleObjectError, buildDryRunResult, 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, RELATIONSHIP_MAP, cursorToPath } from './chunk-
|
|
2
|
-
import { loadCapabilityRecords } from './chunk-
|
|
1
|
+
import { GenericResource, parseIdentifier, AutotaskConfigError, StaleObjectError, buildDryRunResult, 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, RELATIONSHIP_MAP, cursorToPath } from './chunk-N7WB65IS.js';
|
|
2
|
+
import { loadCapabilityRecords } from './chunk-4GH73U2I.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-
|
|
1
|
+
import { loadCapabilityRecords } from './chunk-4GH73U2I.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';
|
|
@@ -3475,7 +3475,7 @@ var RELATIONSHIP_MAP = {
|
|
|
3475
3475
|
"fields": [
|
|
3476
3476
|
"isActive"
|
|
3477
3477
|
],
|
|
3478
|
-
"statement": "isActive is a NUMBER (1/0)
|
|
3478
|
+
"statement": "isActive is a NUMBER (1/0) \u2014 a JSON boolean 500s at the vendor parse layer.",
|
|
3479
3479
|
"evidence": "isActive is a NUMBER (1/0) in this zone \u2014 a JSON boolean 500s at the vendor parse layer (LocationModel takes a boolean)"
|
|
3480
3480
|
},
|
|
3481
3481
|
{
|
|
@@ -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, AutotaskConfigError } from './chunk-
|
|
1
|
+
import { ConfigurationItemsResource, ContactsResource, InventoryProductsResource, QuotesResource, ResourceTimeOffAdditionalResource, ResourceTimeOffBalancesResource, ResourcesResource, ServiceCallsResource, TicketChargesResource, TicketsResource, TimeOffRequestsResource, AuthenticateResource, EntityInformationResource, ModulesResource, ThresholdInformationResource, VersionResource, VersionInformationResource, ZoneInformationResource } from './chunk-EXLJHU5W.js';
|
|
2
|
+
import { resolveConfig, HttpClient, SIMPLE_RESOURCES, GenericResource, CompaniesResource, ContractsResource, InvoicesResource, TimeEntriesResource, runWithSignal, AutotaskConfigError } from './chunk-N7WB65IS.js';
|
|
3
3
|
|
|
4
4
|
// src/client.ts
|
|
5
5
|
var AutotaskClient = class {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7GBOQ7YA_cjs = require('./chunk-7GBOQ7YA.cjs');
|
|
4
4
|
var chunkBD4AUGCJ_cjs = require('./chunk-BD4AUGCJ.cjs');
|
|
5
5
|
var crypto = require('crypto');
|
|
6
6
|
var async_hooks = require('async_hooks');
|
|
@@ -1422,7 +1422,7 @@ async function capabilitySets() {
|
|
|
1422
1422
|
const fieldOps = /* @__PURE__ */ new Map();
|
|
1423
1423
|
const udfCapable = /* @__PURE__ */ new Set();
|
|
1424
1424
|
const resources = /* @__PURE__ */ new Set();
|
|
1425
|
-
for (const rec of await
|
|
1425
|
+
for (const rec of await chunk7GBOQ7YA_cjs.loadCapabilityRecords()) {
|
|
1426
1426
|
if (rec.resource === "operations") continue;
|
|
1427
1427
|
resources.add(rec.resource);
|
|
1428
1428
|
if (rec.operation === "getFieldInfo") fieldOps.set(rec.resource, rec);
|
|
@@ -1433,7 +1433,7 @@ async function capabilitySets() {
|
|
|
1433
1433
|
var derivedIndexPromise = null;
|
|
1434
1434
|
function derivedIndexLoad() {
|
|
1435
1435
|
if (derivedIndexPromise === null) {
|
|
1436
|
-
derivedIndexPromise =
|
|
1436
|
+
derivedIndexPromise = chunk7GBOQ7YA_cjs.loadCapabilityRecords().then((records) => {
|
|
1437
1437
|
const index = /* @__PURE__ */ new Map();
|
|
1438
1438
|
for (const rec of records) {
|
|
1439
1439
|
const declared = rec.metadata?.derivedFields;
|
|
@@ -3477,7 +3477,7 @@ var RELATIONSHIP_MAP = {
|
|
|
3477
3477
|
"fields": [
|
|
3478
3478
|
"isActive"
|
|
3479
3479
|
],
|
|
3480
|
-
"statement": "isActive is a NUMBER (1/0)
|
|
3480
|
+
"statement": "isActive is a NUMBER (1/0) \u2014 a JSON boolean 500s at the vendor parse layer.",
|
|
3481
3481
|
"evidence": "isActive is a NUMBER (1/0) in this zone \u2014 a JSON boolean 500s at the vendor parse layer (LocationModel takes a boolean)"
|
|
3482
3482
|
},
|
|
3483
3483
|
{
|
|
@@ -21612,7 +21612,7 @@ function dateBucketLabel(value, bucket) {
|
|
|
21612
21612
|
var queryResourceKeysPromise = null;
|
|
21613
21613
|
function queryResourceKeys() {
|
|
21614
21614
|
if (queryResourceKeysPromise === null) {
|
|
21615
|
-
queryResourceKeysPromise =
|
|
21615
|
+
queryResourceKeysPromise = chunk7GBOQ7YA_cjs.loadCapabilityRecords().then((records) => {
|
|
21616
21616
|
const s = /* @__PURE__ */ new Set();
|
|
21617
21617
|
for (const rec of records) if (rec.operation === "query") s.add(rec.resource);
|
|
21618
21618
|
return s;
|
|
@@ -21734,7 +21734,7 @@ function parseTopAndLimit(opts, problems) {
|
|
|
21734
21734
|
return { top, limit };
|
|
21735
21735
|
}
|
|
21736
21736
|
async function checkFieldNames(resourceKey, conditions, opts, problems) {
|
|
21737
|
-
const records = resourceKey === void 0 ? [] : await
|
|
21737
|
+
const records = resourceKey === void 0 ? [] : await chunk7GBOQ7YA_cjs.loadCapabilityRecords();
|
|
21738
21738
|
const record = resourceKey === void 0 ? void 0 : records.find((r) => r.resource === resourceKey && r.operation === "query");
|
|
21739
21739
|
if (record === void 0) return void 0;
|
|
21740
21740
|
const strings = (v) => Array.isArray(v) ? v.filter((f) => typeof f === "string" && f.trim() !== "") : [];
|
|
@@ -22374,7 +22374,7 @@ async function uiLink(client, input) {
|
|
|
22374
22374
|
var indexPromise = null;
|
|
22375
22375
|
function operationIndex() {
|
|
22376
22376
|
if (indexPromise === null) {
|
|
22377
|
-
indexPromise =
|
|
22377
|
+
indexPromise = chunk7GBOQ7YA_cjs.loadCapabilityRecords().then((records) => new Map(records.map((r) => [r.id, r])));
|
|
22378
22378
|
}
|
|
22379
22379
|
return indexPromise;
|
|
22380
22380
|
}
|
|
@@ -32,7 +32,7 @@ import { L as Logger } from './logger-B1gYmFre.js';
|
|
|
32
32
|
* queryBounded noteChars free-text cap (issue #61 — response-side only);
|
|
33
33
|
* - docs/VENDOR-QUIRKS.md §11.7/§11.8/§11.9/§11.10/§11.11/§11.12 render the same facts.
|
|
34
34
|
*
|
|
35
|
-
* planHash:
|
|
35
|
+
* planHash: 448bad244d0dfa1f8af0f6dfa4bc1a080ca60a114dc10366660585ff2dbc3e55
|
|
36
36
|
*/
|
|
37
37
|
|
|
38
38
|
/** One pinned blind-surface stamp (the result-time sentinel object). */
|
|
@@ -32,7 +32,7 @@ import { L as Logger } from './logger-B1gYmFre.cjs';
|
|
|
32
32
|
* queryBounded noteChars free-text cap (issue #61 — response-side only);
|
|
33
33
|
* - docs/VENDOR-QUIRKS.md §11.7/§11.8/§11.9/§11.10/§11.11/§11.12 render the same facts.
|
|
34
34
|
*
|
|
35
|
-
* planHash:
|
|
35
|
+
* planHash: 448bad244d0dfa1f8af0f6dfa4bc1a080ca60a114dc10366660585ff2dbc3e55
|
|
36
36
|
*/
|
|
37
37
|
|
|
38
38
|
/** 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 chunk54L7KKUD_cjs = require('./chunk-54L7KKUD.cjs');
|
|
4
4
|
require('./chunk-S5CH4H6H.cjs');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
require('./chunk-
|
|
5
|
+
var chunkC7M7PXLW_cjs = require('./chunk-C7M7PXLW.cjs');
|
|
6
|
+
var chunkVO4ABDZA_cjs = require('./chunk-VO4ABDZA.cjs');
|
|
7
|
+
require('./chunk-7GBOQ7YA.cjs');
|
|
8
8
|
var chunkBD4AUGCJ_cjs = require('./chunk-BD4AUGCJ.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 chunkVO4ABDZA_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 chunkVO4ABDZA_cjs.AutotaskConfigError(
|
|
31
|
+
`${source}: ${name} ${chunkVO4ABDZA_cjs.CREDENTIAL_ENV_LOAD_ACTION} [${chunkVO4ABDZA_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 chunkVO4ABDZA_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 (chunkVO4ABDZA_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" && chunkVO4ABDZA_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 = chunkVO4ABDZA_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: chunkVO4ABDZA_cjs.DEFAULT_ZONE, baseUrlHost: new URL(chunkVO4ABDZA_cjs.zoneUrl(chunkVO4ABDZA_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 ${chunkVO4ABDZA_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 = chunkVO4ABDZA_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: chunkVO4ABDZA_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 chunkVO4ABDZA_cjs.RateLimitError && (err.code === "RATE_LIMITED_COOLDOWN" || err.notSent === true)) {
|
|
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)`,
|
|
@@ -245,7 +245,7 @@ function makeWire(run, timeoutMs) {
|
|
|
245
245
|
});
|
|
246
246
|
return { body };
|
|
247
247
|
} catch (err) {
|
|
248
|
-
if (
|
|
248
|
+
if (chunkVO4ABDZA_cjs.isAutotaskError(err)) return { error: err };
|
|
249
249
|
throw err;
|
|
250
250
|
}
|
|
251
251
|
};
|
|
@@ -304,7 +304,7 @@ async function checkReads(run, zoneUnavailable) {
|
|
|
304
304
|
const id = `read.${entity.key}`;
|
|
305
305
|
const result = await timeCheck(id, async () => {
|
|
306
306
|
if (zoneUnavailable) return skip(ZONE_UNAVAILABLE_SKIP);
|
|
307
|
-
const req =
|
|
307
|
+
const req = chunkVO4ABDZA_cjs.buildQueryRequest(cfg.baseUrl, entity.path, { maxRecords: 1 });
|
|
308
308
|
const out = await run.wire(req.method, req.path, `doctor.${id}`, { body: req.body, idempotent: req.idempotent });
|
|
309
309
|
if (out.error) {
|
|
310
310
|
const f = failFrom(out.error, `read access to ${entity.label}`);
|
|
@@ -388,11 +388,11 @@ function outcome(state, retryable, code, httpStatus) {
|
|
|
388
388
|
return httpStatus === void 0 ? { state, retryable, code } : { state, retryable, code, httpStatus };
|
|
389
389
|
}
|
|
390
390
|
function vendorErrorsNonEmpty(vendorError) {
|
|
391
|
-
const entries =
|
|
391
|
+
const entries = chunkVO4ABDZA_cjs.parseVendorErrors(vendorError);
|
|
392
392
|
return entries !== void 0 && entries.length > 0;
|
|
393
393
|
}
|
|
394
394
|
function classifyWriteOutcome(error) {
|
|
395
|
-
if (
|
|
395
|
+
if (chunkVO4ABDZA_cjs.isAutotaskError(error)) {
|
|
396
396
|
const rawStatus = error.httpStatus;
|
|
397
397
|
const httpStatus = typeof rawStatus === "number" ? rawStatus : void 0;
|
|
398
398
|
const statusMalformed = rawStatus !== void 0 && httpStatus === void 0;
|
|
@@ -418,7 +418,7 @@ function classifyWriteOutcome(error) {
|
|
|
418
418
|
return outcome("failed", error.retryable, error.code);
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
|
-
const typed =
|
|
421
|
+
const typed = chunkVO4ABDZA_cjs.isAutotaskError(error);
|
|
422
422
|
const status = typed && typeof error.httpStatus === "number" ? error.httpStatus : void 0;
|
|
423
423
|
const code = typed ? error.code : error instanceof Error ? error.name : "UNKNOWN";
|
|
424
424
|
return outcome("unknown", false, code, status);
|
|
@@ -426,255 +426,255 @@ function classifyWriteOutcome(error) {
|
|
|
426
426
|
|
|
427
427
|
Object.defineProperty(exports, "AutotaskClient", {
|
|
428
428
|
enumerable: true,
|
|
429
|
-
get: function () { return
|
|
429
|
+
get: function () { return chunk54L7KKUD_cjs.AutotaskClient; }
|
|
430
430
|
});
|
|
431
431
|
Object.defineProperty(exports, "AuthenticateResource", {
|
|
432
432
|
enumerable: true,
|
|
433
|
-
get: function () { return
|
|
433
|
+
get: function () { return chunkC7M7PXLW_cjs.AuthenticateResource; }
|
|
434
434
|
});
|
|
435
435
|
Object.defineProperty(exports, "ConfigurationItemsResource", {
|
|
436
436
|
enumerable: true,
|
|
437
|
-
get: function () { return
|
|
437
|
+
get: function () { return chunkC7M7PXLW_cjs.ConfigurationItemsResource; }
|
|
438
438
|
});
|
|
439
439
|
Object.defineProperty(exports, "ContactsResource", {
|
|
440
440
|
enumerable: true,
|
|
441
|
-
get: function () { return
|
|
441
|
+
get: function () { return chunkC7M7PXLW_cjs.ContactsResource; }
|
|
442
442
|
});
|
|
443
443
|
Object.defineProperty(exports, "EntityInformationResource", {
|
|
444
444
|
enumerable: true,
|
|
445
|
-
get: function () { return
|
|
445
|
+
get: function () { return chunkC7M7PXLW_cjs.EntityInformationResource; }
|
|
446
446
|
});
|
|
447
447
|
Object.defineProperty(exports, "InventoryProductsResource", {
|
|
448
448
|
enumerable: true,
|
|
449
|
-
get: function () { return
|
|
449
|
+
get: function () { return chunkC7M7PXLW_cjs.InventoryProductsResource; }
|
|
450
450
|
});
|
|
451
451
|
Object.defineProperty(exports, "ModulesResource", {
|
|
452
452
|
enumerable: true,
|
|
453
|
-
get: function () { return
|
|
453
|
+
get: function () { return chunkC7M7PXLW_cjs.ModulesResource; }
|
|
454
454
|
});
|
|
455
455
|
Object.defineProperty(exports, "QuotesResource", {
|
|
456
456
|
enumerable: true,
|
|
457
|
-
get: function () { return
|
|
457
|
+
get: function () { return chunkC7M7PXLW_cjs.QuotesResource; }
|
|
458
458
|
});
|
|
459
459
|
Object.defineProperty(exports, "ResourceTimeOffAdditionalResource", {
|
|
460
460
|
enumerable: true,
|
|
461
|
-
get: function () { return
|
|
461
|
+
get: function () { return chunkC7M7PXLW_cjs.ResourceTimeOffAdditionalResource; }
|
|
462
462
|
});
|
|
463
463
|
Object.defineProperty(exports, "ResourceTimeOffBalancesResource", {
|
|
464
464
|
enumerable: true,
|
|
465
|
-
get: function () { return
|
|
465
|
+
get: function () { return chunkC7M7PXLW_cjs.ResourceTimeOffBalancesResource; }
|
|
466
466
|
});
|
|
467
467
|
Object.defineProperty(exports, "ResourcesResource", {
|
|
468
468
|
enumerable: true,
|
|
469
|
-
get: function () { return
|
|
469
|
+
get: function () { return chunkC7M7PXLW_cjs.ResourcesResource; }
|
|
470
470
|
});
|
|
471
471
|
Object.defineProperty(exports, "ServiceCallsResource", {
|
|
472
472
|
enumerable: true,
|
|
473
|
-
get: function () { return
|
|
473
|
+
get: function () { return chunkC7M7PXLW_cjs.ServiceCallsResource; }
|
|
474
474
|
});
|
|
475
475
|
Object.defineProperty(exports, "ThresholdInformationResource", {
|
|
476
476
|
enumerable: true,
|
|
477
|
-
get: function () { return
|
|
477
|
+
get: function () { return chunkC7M7PXLW_cjs.ThresholdInformationResource; }
|
|
478
478
|
});
|
|
479
479
|
Object.defineProperty(exports, "TicketChargesResource", {
|
|
480
480
|
enumerable: true,
|
|
481
|
-
get: function () { return
|
|
481
|
+
get: function () { return chunkC7M7PXLW_cjs.TicketChargesResource; }
|
|
482
482
|
});
|
|
483
483
|
Object.defineProperty(exports, "TicketsResource", {
|
|
484
484
|
enumerable: true,
|
|
485
|
-
get: function () { return
|
|
485
|
+
get: function () { return chunkC7M7PXLW_cjs.TicketsResource; }
|
|
486
486
|
});
|
|
487
487
|
Object.defineProperty(exports, "TimeOffRequestsResource", {
|
|
488
488
|
enumerable: true,
|
|
489
|
-
get: function () { return
|
|
489
|
+
get: function () { return chunkC7M7PXLW_cjs.TimeOffRequestsResource; }
|
|
490
490
|
});
|
|
491
491
|
Object.defineProperty(exports, "VersionInformationResource", {
|
|
492
492
|
enumerable: true,
|
|
493
|
-
get: function () { return
|
|
493
|
+
get: function () { return chunkC7M7PXLW_cjs.VersionInformationResource; }
|
|
494
494
|
});
|
|
495
495
|
Object.defineProperty(exports, "VersionResource", {
|
|
496
496
|
enumerable: true,
|
|
497
|
-
get: function () { return
|
|
497
|
+
get: function () { return chunkC7M7PXLW_cjs.VersionResource; }
|
|
498
498
|
});
|
|
499
499
|
Object.defineProperty(exports, "ZoneInformationResource", {
|
|
500
500
|
enumerable: true,
|
|
501
|
-
get: function () { return
|
|
501
|
+
get: function () { return chunkC7M7PXLW_cjs.ZoneInformationResource; }
|
|
502
502
|
});
|
|
503
503
|
Object.defineProperty(exports, "AutotaskAbortError", {
|
|
504
504
|
enumerable: true,
|
|
505
|
-
get: function () { return
|
|
505
|
+
get: function () { return chunkVO4ABDZA_cjs.AutotaskAbortError; }
|
|
506
506
|
});
|
|
507
507
|
Object.defineProperty(exports, "AutotaskConfigError", {
|
|
508
508
|
enumerable: true,
|
|
509
|
-
get: function () { return
|
|
509
|
+
get: function () { return chunkVO4ABDZA_cjs.AutotaskConfigError; }
|
|
510
510
|
});
|
|
511
511
|
Object.defineProperty(exports, "AutotaskError", {
|
|
512
512
|
enumerable: true,
|
|
513
|
-
get: function () { return
|
|
513
|
+
get: function () { return chunkVO4ABDZA_cjs.AutotaskError; }
|
|
514
514
|
});
|
|
515
515
|
Object.defineProperty(exports, "AutotaskNetworkError", {
|
|
516
516
|
enumerable: true,
|
|
517
|
-
get: function () { return
|
|
517
|
+
get: function () { return chunkVO4ABDZA_cjs.AutotaskNetworkError; }
|
|
518
518
|
});
|
|
519
519
|
Object.defineProperty(exports, "AutotaskTimeoutError", {
|
|
520
520
|
enumerable: true,
|
|
521
|
-
get: function () { return
|
|
521
|
+
get: function () { return chunkVO4ABDZA_cjs.AutotaskTimeoutError; }
|
|
522
522
|
});
|
|
523
523
|
Object.defineProperty(exports, "CREDENTIAL_SHAPE_POINTER", {
|
|
524
524
|
enumerable: true,
|
|
525
|
-
get: function () { return
|
|
525
|
+
get: function () { return chunkVO4ABDZA_cjs.CREDENTIAL_SHAPE_POINTER; }
|
|
526
526
|
});
|
|
527
527
|
Object.defineProperty(exports, "CompaniesResource", {
|
|
528
528
|
enumerable: true,
|
|
529
|
-
get: function () { return
|
|
529
|
+
get: function () { return chunkVO4ABDZA_cjs.CompaniesResource; }
|
|
530
530
|
});
|
|
531
531
|
Object.defineProperty(exports, "ConfirmationRequiredError", {
|
|
532
532
|
enumerable: true,
|
|
533
|
-
get: function () { return
|
|
533
|
+
get: function () { return chunkVO4ABDZA_cjs.ConfirmationRequiredError; }
|
|
534
534
|
});
|
|
535
535
|
Object.defineProperty(exports, "ConflictError", {
|
|
536
536
|
enumerable: true,
|
|
537
|
-
get: function () { return
|
|
537
|
+
get: function () { return chunkVO4ABDZA_cjs.ConflictError; }
|
|
538
538
|
});
|
|
539
539
|
Object.defineProperty(exports, "ContractsResource", {
|
|
540
540
|
enumerable: true,
|
|
541
|
-
get: function () { return
|
|
541
|
+
get: function () { return chunkVO4ABDZA_cjs.ContractsResource; }
|
|
542
542
|
});
|
|
543
543
|
Object.defineProperty(exports, "DeleteBoundaryError", {
|
|
544
544
|
enumerable: true,
|
|
545
|
-
get: function () { return
|
|
545
|
+
get: function () { return chunkVO4ABDZA_cjs.DeleteBoundaryError; }
|
|
546
546
|
});
|
|
547
547
|
Object.defineProperty(exports, "EmptyResponseError", {
|
|
548
548
|
enumerable: true,
|
|
549
|
-
get: function () { return
|
|
549
|
+
get: function () { return chunkVO4ABDZA_cjs.EmptyResponseError; }
|
|
550
550
|
});
|
|
551
551
|
Object.defineProperty(exports, "GenericResource", {
|
|
552
552
|
enumerable: true,
|
|
553
|
-
get: function () { return
|
|
553
|
+
get: function () { return chunkVO4ABDZA_cjs.GenericResource; }
|
|
554
554
|
});
|
|
555
555
|
Object.defineProperty(exports, "HostPolicyDeniedError", {
|
|
556
556
|
enumerable: true,
|
|
557
|
-
get: function () { return
|
|
557
|
+
get: function () { return chunkVO4ABDZA_cjs.HostPolicyDeniedError; }
|
|
558
558
|
});
|
|
559
559
|
Object.defineProperty(exports, "InvoicesResource", {
|
|
560
560
|
enumerable: true,
|
|
561
|
-
get: function () { return
|
|
561
|
+
get: function () { return chunkVO4ABDZA_cjs.InvoicesResource; }
|
|
562
562
|
});
|
|
563
563
|
Object.defineProperty(exports, "MIN_PREFIX_SUMMARY_LENGTH", {
|
|
564
564
|
enumerable: true,
|
|
565
|
-
get: function () { return
|
|
565
|
+
get: function () { return chunkVO4ABDZA_cjs.MIN_PREFIX_SUMMARY_LENGTH; }
|
|
566
566
|
});
|
|
567
567
|
Object.defineProperty(exports, "MaintenanceError", {
|
|
568
568
|
enumerable: true,
|
|
569
|
-
get: function () { return
|
|
569
|
+
get: function () { return chunkVO4ABDZA_cjs.MaintenanceError; }
|
|
570
570
|
});
|
|
571
571
|
Object.defineProperty(exports, "MarkerUnsafeIdError", {
|
|
572
572
|
enumerable: true,
|
|
573
|
-
get: function () { return
|
|
573
|
+
get: function () { return chunkVO4ABDZA_cjs.MarkerUnsafeIdError; }
|
|
574
574
|
});
|
|
575
575
|
Object.defineProperty(exports, "MoveRefusedError", {
|
|
576
576
|
enumerable: true,
|
|
577
|
-
get: function () { return
|
|
577
|
+
get: function () { return chunkVO4ABDZA_cjs.MoveRefusedError; }
|
|
578
578
|
});
|
|
579
579
|
Object.defineProperty(exports, "NotFoundError", {
|
|
580
580
|
enumerable: true,
|
|
581
|
-
get: function () { return
|
|
581
|
+
get: function () { return chunkVO4ABDZA_cjs.NotFoundError; }
|
|
582
582
|
});
|
|
583
583
|
Object.defineProperty(exports, "OperationNotSupportedError", {
|
|
584
584
|
enumerable: true,
|
|
585
|
-
get: function () { return
|
|
585
|
+
get: function () { return chunkVO4ABDZA_cjs.OperationNotSupportedError; }
|
|
586
586
|
});
|
|
587
587
|
Object.defineProperty(exports, "PaginationLimitError", {
|
|
588
588
|
enumerable: true,
|
|
589
|
-
get: function () { return
|
|
589
|
+
get: function () { return chunkVO4ABDZA_cjs.PaginationLimitError; }
|
|
590
590
|
});
|
|
591
591
|
Object.defineProperty(exports, "QueryTooLongError", {
|
|
592
592
|
enumerable: true,
|
|
593
|
-
get: function () { return
|
|
593
|
+
get: function () { return chunkVO4ABDZA_cjs.QueryTooLongError; }
|
|
594
594
|
});
|
|
595
595
|
Object.defineProperty(exports, "RateLimitError", {
|
|
596
596
|
enumerable: true,
|
|
597
|
-
get: function () { return
|
|
597
|
+
get: function () { return chunkVO4ABDZA_cjs.RateLimitError; }
|
|
598
598
|
});
|
|
599
599
|
Object.defineProperty(exports, "RecoveryTruncatedError", {
|
|
600
600
|
enumerable: true,
|
|
601
|
-
get: function () { return
|
|
601
|
+
get: function () { return chunkVO4ABDZA_cjs.RecoveryTruncatedError; }
|
|
602
602
|
});
|
|
603
603
|
Object.defineProperty(exports, "ResolutionError", {
|
|
604
604
|
enumerable: true,
|
|
605
|
-
get: function () { return
|
|
605
|
+
get: function () { return chunkVO4ABDZA_cjs.ResolutionError; }
|
|
606
606
|
});
|
|
607
607
|
Object.defineProperty(exports, "ResponseRejectedError", {
|
|
608
608
|
enumerable: true,
|
|
609
|
-
get: function () { return
|
|
609
|
+
get: function () { return chunkVO4ABDZA_cjs.ResponseRejectedError; }
|
|
610
610
|
});
|
|
611
611
|
Object.defineProperty(exports, "SIMPLE_RESOURCES", {
|
|
612
612
|
enumerable: true,
|
|
613
|
-
get: function () { return
|
|
613
|
+
get: function () { return chunkVO4ABDZA_cjs.SIMPLE_RESOURCES; }
|
|
614
614
|
});
|
|
615
615
|
Object.defineProperty(exports, "ScopeRequiredError", {
|
|
616
616
|
enumerable: true,
|
|
617
|
-
get: function () { return
|
|
617
|
+
get: function () { return chunkVO4ABDZA_cjs.ScopeRequiredError; }
|
|
618
618
|
});
|
|
619
619
|
Object.defineProperty(exports, "StaleObjectError", {
|
|
620
620
|
enumerable: true,
|
|
621
|
-
get: function () { return
|
|
621
|
+
get: function () { return chunkVO4ABDZA_cjs.StaleObjectError; }
|
|
622
622
|
});
|
|
623
623
|
Object.defineProperty(exports, "TimeEntriesResource", {
|
|
624
624
|
enumerable: true,
|
|
625
|
-
get: function () { return
|
|
625
|
+
get: function () { return chunkVO4ABDZA_cjs.TimeEntriesResource; }
|
|
626
626
|
});
|
|
627
627
|
Object.defineProperty(exports, "TtlCache", {
|
|
628
628
|
enumerable: true,
|
|
629
|
-
get: function () { return
|
|
629
|
+
get: function () { return chunkVO4ABDZA_cjs.TtlCache; }
|
|
630
630
|
});
|
|
631
631
|
Object.defineProperty(exports, "UNSCOPED_WALK_THRESHOLD", {
|
|
632
632
|
enumerable: true,
|
|
633
|
-
get: function () { return
|
|
633
|
+
get: function () { return chunkVO4ABDZA_cjs.UNSCOPED_WALK_THRESHOLD; }
|
|
634
634
|
});
|
|
635
635
|
Object.defineProperty(exports, "UnexpectedContentTypeError", {
|
|
636
636
|
enumerable: true,
|
|
637
|
-
get: function () { return
|
|
637
|
+
get: function () { return chunkVO4ABDZA_cjs.UnexpectedContentTypeError; }
|
|
638
638
|
});
|
|
639
639
|
Object.defineProperty(exports, "ZONES", {
|
|
640
640
|
enumerable: true,
|
|
641
|
-
get: function () { return
|
|
641
|
+
get: function () { return chunkVO4ABDZA_cjs.ZONES; }
|
|
642
642
|
});
|
|
643
643
|
Object.defineProperty(exports, "credentialShapeProblem", {
|
|
644
644
|
enumerable: true,
|
|
645
|
-
get: function () { return
|
|
645
|
+
get: function () { return chunkVO4ABDZA_cjs.credentialShapeProblem; }
|
|
646
646
|
});
|
|
647
647
|
Object.defineProperty(exports, "credentialValueSummary", {
|
|
648
648
|
enumerable: true,
|
|
649
|
-
get: function () { return
|
|
649
|
+
get: function () { return chunkVO4ABDZA_cjs.credentialValueSummary; }
|
|
650
650
|
});
|
|
651
651
|
Object.defineProperty(exports, "errorFromStatus", {
|
|
652
652
|
enumerable: true,
|
|
653
|
-
get: function () { return
|
|
653
|
+
get: function () { return chunkVO4ABDZA_cjs.errorFromStatus; }
|
|
654
654
|
});
|
|
655
655
|
Object.defineProperty(exports, "formatVendorDetail", {
|
|
656
656
|
enumerable: true,
|
|
657
|
-
get: function () { return
|
|
657
|
+
get: function () { return chunkVO4ABDZA_cjs.formatVendorDetail; }
|
|
658
658
|
});
|
|
659
659
|
Object.defineProperty(exports, "isAutotaskError", {
|
|
660
660
|
enumerable: true,
|
|
661
|
-
get: function () { return
|
|
661
|
+
get: function () { return chunkVO4ABDZA_cjs.isAutotaskError; }
|
|
662
662
|
});
|
|
663
663
|
Object.defineProperty(exports, "isDeterministicVendor500", {
|
|
664
664
|
enumerable: true,
|
|
665
|
-
get: function () { return
|
|
665
|
+
get: function () { return chunkVO4ABDZA_cjs.isDeterministicVendor500; }
|
|
666
666
|
});
|
|
667
667
|
Object.defineProperty(exports, "mergeDetails", {
|
|
668
668
|
enumerable: true,
|
|
669
|
-
get: function () { return
|
|
669
|
+
get: function () { return chunkVO4ABDZA_cjs.mergeDetails; }
|
|
670
670
|
});
|
|
671
671
|
Object.defineProperty(exports, "nextActionFor", {
|
|
672
672
|
enumerable: true,
|
|
673
|
-
get: function () { return
|
|
673
|
+
get: function () { return chunkVO4ABDZA_cjs.nextActionFor; }
|
|
674
674
|
});
|
|
675
675
|
Object.defineProperty(exports, "parseVendorErrors", {
|
|
676
676
|
enumerable: true,
|
|
677
|
-
get: function () { return
|
|
677
|
+
get: function () { return chunkVO4ABDZA_cjs.parseVendorErrors; }
|
|
678
678
|
});
|
|
679
679
|
Object.defineProperty(exports, "NoopLogger", {
|
|
680
680
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as AutotaskClient, T as TicketChangeStatusResult, b as TicketChangeStatusNoChange } from './index-
|
|
2
|
-
export { c as AuthenticateResource, A as AutotaskConfig, C as CompaniesResource, d as ConfigurationItemsResource, e as ContactsResource, f as ContractsProfitabilityResult, g as ContractsResource, h as CostRateResolution, E as EntityInformationResource, G as GenericResource, i as GenericResourceConfig, H as HelperFlags, I as InventoryProductsResource, j as InvoicesResource, M as ModulesResource, O as OpsFlags, P as ProfitRateSource, k as ProfitabilityActivityCategory, l as ProfitabilityDataQualityWarning, m as ProfitabilityHighestCostTicket, n as ProfitabilityLabourCostMethod, o as ProfitabilityMiscoding, p as ProfitabilityMonthlyRow, q as ProfitabilityOpenRenewalItem, r as ProfitabilityOptions, s as ProfitabilityPart, t as ProfitabilityPartDigest, u as ProfitabilityRevenueByType, Q as QuotesResource, R as ResourceTimeOffAdditionalResource, v as ResourceTimeOffBalancesResource, w as ResourcesResource, S as SIMPLE_RESOURCES, x as ServiceCallsResource, y as SimpleResourceEntry, z as ThresholdInformationResource, B as TicketChargesResource, D as TicketsResource, F as TimeEntriesPostedCountResult, J as TimeEntriesPostedPagingOptions, K as TimeEntriesPostedWindowCountOptions, L as TimeEntriesPostedWindowListOptions, N as TimeEntriesPostedWindowOptions, U as TimeEntriesPostedWindowResult, V as TimeEntriesResource, W as TimeEntryReviewFields, X as TimeEntryReviewResult, Y as TimeOffRequestsResource, Z as TtlCache, _ as VersionInformationResource, $ as VersionResource, a0 as ZONES, a1 as ZoneInformationResource, a2 as ZoneName } from './index-
|
|
1
|
+
import { a as AutotaskClient, T as TicketChangeStatusResult, b as TicketChangeStatusNoChange } from './index-D_1wP3Je.cjs';
|
|
2
|
+
export { c as AuthenticateResource, A as AutotaskConfig, C as CompaniesResource, d as ConfigurationItemsResource, e as ContactsResource, f as ContractsProfitabilityResult, g as ContractsResource, h as CostRateResolution, E as EntityInformationResource, G as GenericResource, i as GenericResourceConfig, H as HelperFlags, I as InventoryProductsResource, j as InvoicesResource, M as ModulesResource, O as OpsFlags, P as ProfitRateSource, k as ProfitabilityActivityCategory, l as ProfitabilityDataQualityWarning, m as ProfitabilityHighestCostTicket, n as ProfitabilityLabourCostMethod, o as ProfitabilityMiscoding, p as ProfitabilityMonthlyRow, q as ProfitabilityOpenRenewalItem, r as ProfitabilityOptions, s as ProfitabilityPart, t as ProfitabilityPartDigest, u as ProfitabilityRevenueByType, Q as QuotesResource, R as ResourceTimeOffAdditionalResource, v as ResourceTimeOffBalancesResource, w as ResourcesResource, S as SIMPLE_RESOURCES, x as ServiceCallsResource, y as SimpleResourceEntry, z as ThresholdInformationResource, B as TicketChargesResource, D as TicketsResource, F as TimeEntriesPostedCountResult, J as TimeEntriesPostedPagingOptions, K as TimeEntriesPostedWindowCountOptions, L as TimeEntriesPostedWindowListOptions, N as TimeEntriesPostedWindowOptions, U as TimeEntriesPostedWindowResult, V as TimeEntriesResource, W as TimeEntryReviewFields, X as TimeEntryReviewResult, Y as TimeOffRequestsResource, Z as TtlCache, _ as VersionInformationResource, $ as VersionResource, a0 as ZONES, a1 as ZoneInformationResource, a2 as ZoneName } from './index-D_1wP3Je.cjs';
|
|
3
3
|
import { A as AutotaskError, a as AutotaskErrorOptions, b as AutotaskConfigError } from './base-CHMATPq0.cjs';
|
|
4
4
|
export { E as ErrorCategory, c as ErrorIdRef, N as NextAction, i as isAutotaskError, n as nextActionFor } from './base-CHMATPq0.cjs';
|
|
5
5
|
export { N as NoopLogger, R as REDACTED } from './logger-B1gYmFre.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as AutotaskClient, T as TicketChangeStatusResult, b as TicketChangeStatusNoChange } from './index-
|
|
2
|
-
export { c as AuthenticateResource, A as AutotaskConfig, C as CompaniesResource, d as ConfigurationItemsResource, e as ContactsResource, f as ContractsProfitabilityResult, g as ContractsResource, h as CostRateResolution, E as EntityInformationResource, G as GenericResource, i as GenericResourceConfig, H as HelperFlags, I as InventoryProductsResource, j as InvoicesResource, M as ModulesResource, O as OpsFlags, P as ProfitRateSource, k as ProfitabilityActivityCategory, l as ProfitabilityDataQualityWarning, m as ProfitabilityHighestCostTicket, n as ProfitabilityLabourCostMethod, o as ProfitabilityMiscoding, p as ProfitabilityMonthlyRow, q as ProfitabilityOpenRenewalItem, r as ProfitabilityOptions, s as ProfitabilityPart, t as ProfitabilityPartDigest, u as ProfitabilityRevenueByType, Q as QuotesResource, R as ResourceTimeOffAdditionalResource, v as ResourceTimeOffBalancesResource, w as ResourcesResource, S as SIMPLE_RESOURCES, x as ServiceCallsResource, y as SimpleResourceEntry, z as ThresholdInformationResource, B as TicketChargesResource, D as TicketsResource, F as TimeEntriesPostedCountResult, J as TimeEntriesPostedPagingOptions, K as TimeEntriesPostedWindowCountOptions, L as TimeEntriesPostedWindowListOptions, N as TimeEntriesPostedWindowOptions, U as TimeEntriesPostedWindowResult, V as TimeEntriesResource, W as TimeEntryReviewFields, X as TimeEntryReviewResult, Y as TimeOffRequestsResource, Z as TtlCache, _ as VersionInformationResource, $ as VersionResource, a0 as ZONES, a1 as ZoneInformationResource, a2 as ZoneName } from './index-
|
|
1
|
+
import { a as AutotaskClient, T as TicketChangeStatusResult, b as TicketChangeStatusNoChange } from './index-CYlKHo5N.js';
|
|
2
|
+
export { c as AuthenticateResource, A as AutotaskConfig, C as CompaniesResource, d as ConfigurationItemsResource, e as ContactsResource, f as ContractsProfitabilityResult, g as ContractsResource, h as CostRateResolution, E as EntityInformationResource, G as GenericResource, i as GenericResourceConfig, H as HelperFlags, I as InventoryProductsResource, j as InvoicesResource, M as ModulesResource, O as OpsFlags, P as ProfitRateSource, k as ProfitabilityActivityCategory, l as ProfitabilityDataQualityWarning, m as ProfitabilityHighestCostTicket, n as ProfitabilityLabourCostMethod, o as ProfitabilityMiscoding, p as ProfitabilityMonthlyRow, q as ProfitabilityOpenRenewalItem, r as ProfitabilityOptions, s as ProfitabilityPart, t as ProfitabilityPartDigest, u as ProfitabilityRevenueByType, Q as QuotesResource, R as ResourceTimeOffAdditionalResource, v as ResourceTimeOffBalancesResource, w as ResourcesResource, S as SIMPLE_RESOURCES, x as ServiceCallsResource, y as SimpleResourceEntry, z as ThresholdInformationResource, B as TicketChargesResource, D as TicketsResource, F as TimeEntriesPostedCountResult, J as TimeEntriesPostedPagingOptions, K as TimeEntriesPostedWindowCountOptions, L as TimeEntriesPostedWindowListOptions, N as TimeEntriesPostedWindowOptions, U as TimeEntriesPostedWindowResult, V as TimeEntriesResource, W as TimeEntryReviewFields, X as TimeEntryReviewResult, Y as TimeOffRequestsResource, Z as TtlCache, _ as VersionInformationResource, $ as VersionResource, a0 as ZONES, a1 as ZoneInformationResource, a2 as ZoneName } from './index-CYlKHo5N.js';
|
|
3
3
|
import { A as AutotaskError, a as AutotaskErrorOptions, b as AutotaskConfigError } from './base-CHMATPq0.js';
|
|
4
4
|
export { E as ErrorCategory, c as ErrorIdRef, N as NextAction, i as isAutotaskError, n as nextActionFor } from './base-CHMATPq0.js';
|
|
5
5
|
export { N as NoopLogger, R as REDACTED } from './logger-B1gYmFre.js';
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { AutotaskClient } from './chunk-
|
|
1
|
+
export { AutotaskClient } from './chunk-UCPSQ6GN.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-
|
|
6
|
-
import './chunk-
|
|
3
|
+
export { AuthenticateResource, ConfigurationItemsResource, ContactsResource, EntityInformationResource, InventoryProductsResource, ModulesResource, QuotesResource, ResourceTimeOffAdditionalResource, ResourceTimeOffBalancesResource, ResourcesResource, ServiceCallsResource, ThresholdInformationResource, TicketChargesResource, TicketsResource, TimeOffRequestsResource, VersionInformationResource, VersionResource, ZoneInformationResource } from './chunk-EXLJHU5W.js';
|
|
4
|
+
import { credentialShapeProblem, zoneUrl, DEFAULT_ZONE, ZONES, isAutotaskError, AutotaskConfigError, CREDENTIAL_ENV_LOAD_ACTION, credentialValueSummary, parseVendorErrors, buildQueryRequest, RateLimitError } from './chunk-N7WB65IS.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-N7WB65IS.js';
|
|
6
|
+
import './chunk-4GH73U2I.js';
|
|
7
7
|
export { NoopLogger, REDACTED } from './chunk-7NKB4UXV.js';
|
|
8
8
|
import { existsSync, readFileSync } from 'fs';
|
|
9
9
|
|