node-autotask 0.89.0 → 0.91.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 +10 -0
- package/MCP_TOOL_CATALOG.json +217 -9
- package/README.md +1 -1
- package/capabilities.json +873 -53
- package/dist/capabilities-data.js +872 -52
- package/dist/capabilities.cjs +4 -4
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-OVIYLMGB.js → chunk-2GP7W6QB.js} +113 -12
- package/dist/{chunk-ZADTVF6M.js → chunk-43ADHLZJ.js} +3 -3
- package/dist/{chunk-4MPQ5CDB.cjs → chunk-5PUHGPKG.cjs} +200 -200
- package/dist/{chunk-SHJ7EOBW.cjs → chunk-KRYDLTY3.cjs} +3 -3
- package/dist/{chunk-YAXEPESA.cjs → chunk-RXXITZH4.cjs} +118 -17
- package/dist/{chunk-4EIN7AZJ.js → chunk-WAHRZDV4.js} +2 -2
- package/dist/{chunk-2PWAWWWM.js → chunk-Y2KXGSWM.js} +4 -2
- package/dist/{chunk-BRU7TZOD.cjs → chunk-YFC5VAKK.cjs} +32 -30
- package/dist/{index-CoTtEn8U.d.cts → index-BfGOllfY.d.cts} +4 -2
- package/dist/{index-Wh6bLfv_.d.ts → index-C3jXvpXZ.d.ts} +4 -2
- package/dist/{index-4jmitXBs.d.cts → index-Dy92Xbpv.d.cts} +75 -1
- package/dist/{index-4jmitXBs.d.ts → index-Dy92Xbpv.d.ts} +75 -1
- package/dist/index.cjs +85 -85
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +5 -5
- package/dist/operations/index.cjs +51 -51
- package/dist/operations/index.d.cts +4 -4
- package/dist/operations/index.d.ts +4 -4
- package/dist/operations/index.js +2 -2
- package/dist/pool.cjs +12 -12
- package/dist/pool.d.cts +1 -1
- package/dist/pool.d.ts +1 -1
- package/dist/pool.js +4 -4
- package/dist/resources/index.cjs +27 -27
- package/dist/resources/index.d.cts +2 -2
- package/dist/resources/index.d.ts +2 -2
- package/dist/resources/index.js +3 -3
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/docs/API.md +4 -2
- package/package.json +1 -1
|
@@ -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": "fe0c9ce6a957bb730c1bdb9fb46498e61e2d04cc1cdd861d796ac26f982ab505",
|
|
6
|
+
"A": "fe0c9ce6a957bb730c1bdb9fb46498e61e2d04cc1cdd861d796ac26f982ab505",
|
|
7
|
+
"operations": "fe0c9ce6a957bb730c1bdb9fb46498e61e2d04cc1cdd861d796ac26f982ab505"
|
|
8
8
|
};
|
|
9
9
|
var cached = null;
|
|
10
10
|
function loadCapabilities() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKRYDLTY3_cjs = require('./chunk-KRYDLTY3.cjs');
|
|
4
4
|
var chunkCM5O672I_cjs = require('./chunk-CM5O672I.cjs');
|
|
5
5
|
var crypto = require('crypto');
|
|
6
6
|
var async_hooks = require('async_hooks');
|
|
@@ -253,6 +253,7 @@ var SECRET_RESPONSE_FIELDS = [
|
|
|
253
253
|
// IntegrationVendorInsightModel, IntegrationVendorWidgetModel
|
|
254
254
|
];
|
|
255
255
|
var PERSONAL_RESPONSE_FIELDS = [
|
|
256
|
+
"additionalAddressInfo",
|
|
256
257
|
"additionalAddressInformation",
|
|
257
258
|
"additionalBillToAddressInformation",
|
|
258
259
|
"additionalShipToAddressInformation",
|
|
@@ -9352,6 +9353,19 @@ var RELATIONSHIP_MAP = {
|
|
|
9352
9353
|
"blindSurfaces": null,
|
|
9353
9354
|
"zoneFacts": {
|
|
9354
9355
|
"quirks": [
|
|
9356
|
+
{
|
|
9357
|
+
"kind": "vendor-managed-side-effect",
|
|
9358
|
+
"ops": [
|
|
9359
|
+
"query"
|
|
9360
|
+
],
|
|
9361
|
+
"fields": [
|
|
9362
|
+
"billingApprovalDateTime",
|
|
9363
|
+
"billingApprovalResourceID",
|
|
9364
|
+
"billingApprovalLevelMostRecent"
|
|
9365
|
+
],
|
|
9366
|
+
"statement": "Approval fields cannot establish posted status. A billing item referencing the entry through timeEntryID indicates it is posted.",
|
|
9367
|
+
"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."
|
|
9368
|
+
},
|
|
9355
9369
|
{
|
|
9356
9370
|
"kind": "wire-type",
|
|
9357
9371
|
"ops": [
|
|
@@ -11005,6 +11019,48 @@ var RELATIONSHIP_MAP = {
|
|
|
11005
11019
|
"proof": "spec-derived"
|
|
11006
11020
|
},
|
|
11007
11021
|
"markerField": null
|
|
11022
|
+
},
|
|
11023
|
+
"internal_locations": {
|
|
11024
|
+
"resource": "internal_locations",
|
|
11025
|
+
"apiEntity": "InternalLocation",
|
|
11026
|
+
"kind": "entity",
|
|
11027
|
+
"path": "InternalLocations",
|
|
11028
|
+
"parentScoped": false,
|
|
11029
|
+
"tier": "extended",
|
|
11030
|
+
"workflowResource": false,
|
|
11031
|
+
"group": "B",
|
|
11032
|
+
"parent": null,
|
|
11033
|
+
"children": [],
|
|
11034
|
+
"naturalKeys": {
|
|
11035
|
+
"hasSearch": false,
|
|
11036
|
+
"searchCovers": null,
|
|
11037
|
+
"findBy": []
|
|
11038
|
+
},
|
|
11039
|
+
"blindSurfaces": null,
|
|
11040
|
+
"zoneFacts": null,
|
|
11041
|
+
"deleteBoundary": null,
|
|
11042
|
+
"markerField": null
|
|
11043
|
+
},
|
|
11044
|
+
"shipping_types": {
|
|
11045
|
+
"resource": "shipping_types",
|
|
11046
|
+
"apiEntity": "ShippingType",
|
|
11047
|
+
"kind": "entity",
|
|
11048
|
+
"path": "ShippingTypes",
|
|
11049
|
+
"parentScoped": false,
|
|
11050
|
+
"tier": "extended",
|
|
11051
|
+
"workflowResource": false,
|
|
11052
|
+
"group": "B",
|
|
11053
|
+
"parent": null,
|
|
11054
|
+
"children": [],
|
|
11055
|
+
"naturalKeys": {
|
|
11056
|
+
"hasSearch": false,
|
|
11057
|
+
"searchCovers": null,
|
|
11058
|
+
"findBy": []
|
|
11059
|
+
},
|
|
11060
|
+
"blindSurfaces": null,
|
|
11061
|
+
"zoneFacts": null,
|
|
11062
|
+
"deleteBoundary": null,
|
|
11063
|
+
"markerField": null
|
|
11008
11064
|
}
|
|
11009
11065
|
};
|
|
11010
11066
|
var BLIND_SURFACE_STAMPS = {
|
|
@@ -16441,6 +16497,16 @@ var UNTRUSTED_FIELDS_BY_RESOURCE = {
|
|
|
16441
16497
|
],
|
|
16442
16498
|
"inventory_locations": [
|
|
16443
16499
|
"locationName"
|
|
16500
|
+
],
|
|
16501
|
+
"internal_locations": [
|
|
16502
|
+
"additionalAddressInfo",
|
|
16503
|
+
"country",
|
|
16504
|
+
"name",
|
|
16505
|
+
"timeZone"
|
|
16506
|
+
],
|
|
16507
|
+
"shipping_types": [
|
|
16508
|
+
"description",
|
|
16509
|
+
"name"
|
|
16444
16510
|
]
|
|
16445
16511
|
};
|
|
16446
16512
|
|
|
@@ -16900,9 +16966,9 @@ function isKnowledgeBaseRootResource(resource) {
|
|
|
16900
16966
|
return resource === "knowledge_base_categories" || resource === "knowledge_base_articles";
|
|
16901
16967
|
}
|
|
16902
16968
|
function isExactRecordResource(resource) {
|
|
16903
|
-
return resource === "inventory_locations" || isKnowledgeBaseRootResource(resource);
|
|
16969
|
+
return resource === "inventory_locations" || resource === "internal_locations" || resource === "shipping_types" || isKnowledgeBaseRootResource(resource);
|
|
16904
16970
|
}
|
|
16905
|
-
var EXACT_RECORD_PATH = /^\/v1\.0\/(?:InventoryLocations|KnowledgeBaseArticles|KnowledgeBaseCategories(?:\/\d+\/KnowledgeBaseArticles)?)(?:\/(query(?:\/(?:next|previous|count))?|\d+))?\/?$/i;
|
|
16971
|
+
var EXACT_RECORD_PATH = /^\/v1\.0\/(?:InventoryLocations|InternalLocations|ShippingTypes|KnowledgeBaseArticles|KnowledgeBaseCategories(?:\/\d+\/KnowledgeBaseArticles)?)(?:\/(query(?:\/(?:next|previous|count))?|\d+))?\/?$/i;
|
|
16906
16972
|
function exactRecordResponseTarget(path, method, operation) {
|
|
16907
16973
|
const match = EXACT_RECORD_PATH.exec(path);
|
|
16908
16974
|
if (match === null) return void 0;
|
|
@@ -16924,6 +16990,9 @@ function receiptId(body) {
|
|
|
16924
16990
|
function isNonNegativeInt64(id) {
|
|
16925
16991
|
return typeof id === "number" ? Number.isSafeInteger(id) && id >= 0 : typeof id === "string" && isAuditDecimalId(id);
|
|
16926
16992
|
}
|
|
16993
|
+
function isSignedInt64Token(token) {
|
|
16994
|
+
return token.startsWith("-") ? /^-[0-9]{1,19}$/.test(token) && BigInt(token) >= -9223372036854775808n : isAuditDecimalId(token);
|
|
16995
|
+
}
|
|
16927
16996
|
function validateExactRecordResponse(body, target, path, method, requestBody, operation) {
|
|
16928
16997
|
const invalid = (message) => {
|
|
16929
16998
|
throw new AutotaskError(message, { code: "INVALID_RESPONSE", category: "server", operation, suggestedAction: INVALID_SHAPE_ACTION });
|
|
@@ -16964,7 +17033,7 @@ function validateExactRecordResponse(body, target, path, method, requestBody, op
|
|
|
16964
17033
|
return invalid("Expected an item envelope with a valid record ID");
|
|
16965
17034
|
}
|
|
16966
17035
|
const entity = parts.at(-2)?.toLowerCase();
|
|
16967
|
-
const resource = entity === "inventorylocations" ? "inventory location" : entity === "knowledgebasearticles" ? "article" : "category";
|
|
17036
|
+
const resource = entity === "inventorylocations" ? "inventory location" : entity === "knowledgebasearticles" ? "article" : entity === "knowledgebasecategories" ? "category" : "record";
|
|
16968
17037
|
if (String(id) !== expectedId) {
|
|
16969
17038
|
throw new AutotaskConfigError(`returned ${resource} id must match the requested id`, { operation });
|
|
16970
17039
|
}
|
|
@@ -16986,7 +17055,7 @@ function serializeExactRecordUpdate(body, operation) {
|
|
|
16986
17055
|
const { rawJSON } = JSON;
|
|
16987
17056
|
return JSON.stringify({ ...body, id: rawJSON(body.id) });
|
|
16988
17057
|
}
|
|
16989
|
-
function decodeResponseJson(text, auditTarget, recordTarget) {
|
|
17058
|
+
function decodeResponseJson(text, auditTarget, recordTarget, path) {
|
|
16990
17059
|
const target = auditTarget ?? recordTarget;
|
|
16991
17060
|
if (target === void 0) return JSON.parse(text);
|
|
16992
17061
|
if (target === "query/count") {
|
|
@@ -16994,10 +17063,13 @@ function decodeResponseJson(text, auditTarget, recordTarget) {
|
|
|
16994
17063
|
}
|
|
16995
17064
|
const idTokens = /* @__PURE__ */ new WeakMap();
|
|
16996
17065
|
const receiptTokens = /* @__PURE__ */ new WeakMap();
|
|
17066
|
+
const holidaySetTokens = /* @__PURE__ */ new WeakMap();
|
|
17067
|
+
const internalLocations = path !== void 0 && /^\/v1\.0\/InternalLocations\//i.test(path);
|
|
16997
17068
|
const body = JSON.parse(text, function(key, value, context) {
|
|
16998
17069
|
if (typeof value === "number" && context?.source !== void 0) {
|
|
16999
17070
|
if (key === "id") idTokens.set(this, context.source);
|
|
17000
17071
|
if (key === "itemId" && target === "mutation") receiptTokens.set(this, context.source);
|
|
17072
|
+
if (internalLocations && key === "holidaySetId") holidaySetTokens.set(this, context.source);
|
|
17001
17073
|
}
|
|
17002
17074
|
return value;
|
|
17003
17075
|
});
|
|
@@ -17005,6 +17077,10 @@ function decodeResponseJson(text, auditTarget, recordTarget) {
|
|
|
17005
17077
|
if (Array.isArray(rows)) {
|
|
17006
17078
|
for (const row of rows) {
|
|
17007
17079
|
if (!isRecord2(row)) continue;
|
|
17080
|
+
const holidaySet = holidaySetTokens.get(row);
|
|
17081
|
+
if (holidaySet !== void 0 && !Number.isSafeInteger(row.holidaySetId) && isSignedInt64Token(holidaySet)) {
|
|
17082
|
+
row.holidaySetId = holidaySet;
|
|
17083
|
+
}
|
|
17008
17084
|
const key = target === "mutation" && ownField(row, "itemId") !== void 0 ? "itemId" : "id";
|
|
17009
17085
|
const value = ownField(row, key);
|
|
17010
17086
|
if (typeof value !== "number") continue;
|
|
@@ -17064,7 +17140,7 @@ function attachEmptyReasonDetails(err) {
|
|
|
17064
17140
|
} : {
|
|
17065
17141
|
surface,
|
|
17066
17142
|
kind: "not-found",
|
|
17067
|
-
note: isDeletedAuditRead(surface) ? "No audit log entry at this ID was visible to this API user." : resource === "knowledge_base_articles" ? "No published article at this ID was visible to this API user." : `no ${resource} record exists at this id (a miss is the data, not an error condition)`,
|
|
17143
|
+
note: isDeletedAuditRead(surface) ? "No audit log entry at this ID was visible to this API user." : resource === "internal_locations" || resource === "shipping_types" ? "No record at this ID was visible to this API user." : resource === "knowledge_base_articles" ? "No published article at this ID was visible to this API user." : `no ${resource} record exists at this id (a miss is the data, not an error condition)`,
|
|
17068
17144
|
authority: `${resource}.query`,
|
|
17069
17145
|
remedy: `query the ${resource} collection (a bounded queryBounded walk) or verify the id from the authority surface \u2014 do not retry the same get`
|
|
17070
17146
|
};
|
|
@@ -17630,7 +17706,7 @@ var HttpClient = class {
|
|
|
17630
17706
|
}
|
|
17631
17707
|
let parsed;
|
|
17632
17708
|
try {
|
|
17633
|
-
parsed = decodeResponseJson(text, s.auditTarget, s.recordTarget);
|
|
17709
|
+
parsed = decodeResponseJson(text, s.auditTarget, s.recordTarget, decodeURIComponent(s.opts.path));
|
|
17634
17710
|
} catch {
|
|
17635
17711
|
return this.handleNonJson2xx(s, res, status, text);
|
|
17636
17712
|
}
|
|
@@ -17855,7 +17931,7 @@ var HttpClient = class {
|
|
|
17855
17931
|
if (queryRoute) {
|
|
17856
17932
|
const audit = auditTarget === "query" || auditTarget === "query/count";
|
|
17857
17933
|
const exactRecord = recordTarget === "query" || recordTarget === "query/count";
|
|
17858
|
-
const recordLabel = /^\/v1\.0\/InventoryLocations\//i.test(route) ? "inventory location" : "Knowledge Base record";
|
|
17934
|
+
const recordLabel = /^\/v1\.0\/InventoryLocations\//i.test(route) ? "inventory location" : /^\/v1\.0\/KnowledgeBase/i.test(route) ? "Knowledge Base record" : "record";
|
|
17859
17935
|
const exactIdLabel = audit ? "audit log" : exactRecord ? recordLabel : void 0;
|
|
17860
17936
|
assertQueryFilters(opts, requestUrl, bodyText, exactIdLabel);
|
|
17861
17937
|
}
|
|
@@ -18525,7 +18601,7 @@ async function capabilitySets() {
|
|
|
18525
18601
|
const fieldOps = /* @__PURE__ */ new Map();
|
|
18526
18602
|
const udfCapable = /* @__PURE__ */ new Set();
|
|
18527
18603
|
const resources = /* @__PURE__ */ new Set();
|
|
18528
|
-
for (const rec of await
|
|
18604
|
+
for (const rec of await chunkKRYDLTY3_cjs.loadCapabilityRecords()) {
|
|
18529
18605
|
if (rec.resource === "operations") continue;
|
|
18530
18606
|
resources.add(rec.resource);
|
|
18531
18607
|
if (rec.operation === "getFieldInfo") fieldOps.set(rec.resource, rec);
|
|
@@ -18536,7 +18612,7 @@ async function capabilitySets() {
|
|
|
18536
18612
|
var derivedIndexPromise = null;
|
|
18537
18613
|
function derivedIndexLoad() {
|
|
18538
18614
|
if (derivedIndexPromise === null) {
|
|
18539
|
-
derivedIndexPromise =
|
|
18615
|
+
derivedIndexPromise = chunkKRYDLTY3_cjs.loadCapabilityRecords().then((records) => {
|
|
18540
18616
|
const index = /* @__PURE__ */ new Map();
|
|
18541
18617
|
for (const rec of records) {
|
|
18542
18618
|
const declared = rec.metadata?.derivedFields;
|
|
@@ -18923,7 +18999,7 @@ function truncateNoteChars(items, cap, fields) {
|
|
|
18923
18999
|
const copy = { ...item };
|
|
18924
19000
|
for (const field of fields) {
|
|
18925
19001
|
const v = copy[field];
|
|
18926
|
-
if (typeof v === "string" && v.length > cap) {
|
|
19002
|
+
if (typeof v === "string" && v !== chunkCM5O672I_cjs.REDACTED && v.length > cap) {
|
|
18927
19003
|
const end = cap > 0 && (v.charCodeAt(cap - 1) & 64512) === 55296 ? cap - 1 : cap;
|
|
18928
19004
|
copy[field] = v.slice(0, end) + noteCharsTruncationMarker(v.length - end);
|
|
18929
19005
|
truncated += 1;
|
|
@@ -20108,6 +20184,7 @@ var MODEL_FIELD_SETS = {
|
|
|
20108
20184
|
"expense_reports": ["id", "amountDue", "approvedDate", "approverID", "departmentNumber", "internalCurrencyCashAdvanceAmount", "internalCurrencyExpenseTotal", "name", "organizationalLevelAssociationID", "quickBooksReferenceNumber", "reimbursementCurrencyAmountDue", "reimbursementCurrencyCashAdvanceAmount", "reimbursementCurrencyID", "rejectionReason", "status", "submit", "submitDate", "submitterID", "weekEnding"],
|
|
20109
20185
|
"holiday_sets": ["id", "holidaySetDescription", "holidaySetName"],
|
|
20110
20186
|
"holidays": ["id", "holidayDate", "holidayName", "holidaySetID", "soapParentPropertyId"],
|
|
20187
|
+
"internal_locations": ["id", "additionalAddressInfo", "address1", "address2", "city", "country", "holidaySetId", "isDefault", "name", "postalCode", "state", "timeZone"],
|
|
20111
20188
|
"inventory_locations": ["id", "impersonatorCreatorResourceID", "isActive", "isDefault", "locationName", "resourceID"],
|
|
20112
20189
|
"inventory_products": ["id", "availableUnits", "backOrderQuantity", "bin", "createDateTime", "createdByResourceID", "inventoryLocationID", "onHandUnits", "pickedUnits", "productID", "quantityMaximum", "quantityMinimum", "referenceNumber", "reservedUnits", "unitsOnOrder"],
|
|
20113
20190
|
"invoice_templates": ["id", "coveredByBlockRetainerContractLabel", "coveredByRecurringServiceFixedPricePerTicketContractLabel", "currencyNegativeFormat", "currencyPositiveFormat", "dateFormat", "displayFixedPriceContractLabor", "displayRecurringServiceContractLabor", "displaySeparateLineItemForEachTax", "displayTaxCategory", "displayTaxCategorySuperscripts", "displayZeroAmountRecurringServicesAndBundles", "groupBy", "itemizeItemsInEachGroup", "itemizeServicesAndBundles", "name", "nonBillableLaborLabel", "numberFormat", "pageLayout", "pageNumberFormat", "paymentTerms", "rateCostExpression", "showGridHeader", "showVerticalGridLines", "sortBy", "timeFormat"],
|
|
@@ -20154,6 +20231,7 @@ var MODEL_FIELD_SETS = {
|
|
|
20154
20231
|
"service_calls": ["id", "cancelationNoticeHours", "canceledByResourceID", "canceledDateTime", "companyID", "companyLocationID", "createDateTime", "creatorResourceID", "description", "duration", "endDateTime", "impersonatorCreatorResourceID", "isComplete", "lastModifiedDateTime", "startDateTime", "status"],
|
|
20155
20232
|
"service_level_agreement_results": ["id", "firstResponseElapsedHours", "firstResponseInitiatingResourceID", "firstResponseResourceID", "isFirstResponseMet", "isResolutionMet", "isResolutionPlanMet", "resolutionElapsedHours", "resolutionPlanElapsedHours", "resolutionPlanResourceID", "resolutionResourceID", "serviceLevelAgreementName", "ticketID", "soapParentPropertyId"],
|
|
20156
20233
|
"services": ["id", "billingCodeID", "createDate", "creatorResourceID", "description", "invoiceDescription", "isActive", "lastModifiedDate", "markupRate", "name", "periodType", "serviceLevelAgreementID", "unitCost", "unitPrice", "updateResourceID", "vendorCompanyID", "manufacturerServiceProvider", "manufacturerServiceProviderProductNumber", "catalogNumberPartNumber", "sku", "internalID", "externalID", "url", "userDefinedFields"],
|
|
20234
|
+
"shipping_types": ["id", "billingCodeID", "description", "isActive", "name"],
|
|
20157
20235
|
"skills": ["id", "categoryID", "description", "isActive", "name"],
|
|
20158
20236
|
"subscription_periods": ["id", "periodCost", "periodDate", "periodPrice", "postedDate", "purchaseOrderNumber", "subscriptionID", "soapParentPropertyId"],
|
|
20159
20237
|
"subscriptions": ["id", "configurationItemID", "description", "effectiveDate", "expirationDate", "impersonatorCreatorResourceID", "materialCodeID", "organizationalLevelAssociationID", "periodCost", "periodPrice", "periodType", "purchaseOrderNumber", "status", "subscriptionName", "totalCost", "totalPrice", "vendorID", "userDefinedFields"],
|
|
@@ -20457,11 +20535,14 @@ var ROW_FK_TABLES = {
|
|
|
20457
20535
|
configurationItemCategoryID: "configurationItemCategory"
|
|
20458
20536
|
};
|
|
20459
20537
|
var isResourceFkField = (field) => field === "resourceID" || field.endsWith("ResourceID");
|
|
20538
|
+
function rowFkTable(resourceKey, field) {
|
|
20539
|
+
return resourceKey === "shipping_types" && field === "billingCodeID" ? void 0 : ROW_FK_TABLES[field];
|
|
20540
|
+
}
|
|
20460
20541
|
function rowNamePlan(rows, resourceKey, picklistFields = []) {
|
|
20461
20542
|
const builder = createNamePlan(picklistFields, resourceKey);
|
|
20462
20543
|
for (const row of rows) {
|
|
20463
20544
|
for (const [field, value] of Object.entries(row)) {
|
|
20464
|
-
const table =
|
|
20545
|
+
const table = rowFkTable(resourceKey, field);
|
|
20465
20546
|
if (table !== void 0) builder.addFk(table, value);
|
|
20466
20547
|
else if (isResourceFkField(field)) builder.addResource(value);
|
|
20467
20548
|
}
|
|
@@ -20499,7 +20580,7 @@ async function labelRows(client, resourceKey, rows) {
|
|
|
20499
20580
|
if (!isAutotaskError(err) || err.code === "ABORTED") throw err;
|
|
20500
20581
|
}
|
|
20501
20582
|
}
|
|
20502
|
-
const labelled = (field) => picklistFields.includes(field) ||
|
|
20583
|
+
const labelled = (field) => picklistFields.includes(field) || rowFkTable(resourceKey, field) !== void 0 || isResourceFkField(field);
|
|
20503
20584
|
if (![...keys].some(labelled)) return { rows: [...rows] };
|
|
20504
20585
|
const plan = rowNamePlan(rows, resourceKey, picklistFields);
|
|
20505
20586
|
const names = plan.resourceIds.length === 0 && plan.recordFks.length === 0 && picklistFields.length === 0 ? void 0 : await resolveCompositeNames(client.http, plan);
|
|
@@ -20508,7 +20589,7 @@ async function labelRows(client, resourceKey, rows) {
|
|
|
20508
20589
|
for (const [field, value] of Object.entries(row)) {
|
|
20509
20590
|
const has2 = value !== null && value !== void 0 && names !== void 0;
|
|
20510
20591
|
if (picklistFields.includes(field)) r[`${field}Label`] = has2 ? names.labelFor(field, value) : null;
|
|
20511
|
-
const table =
|
|
20592
|
+
const table = rowFkTable(resourceKey, field);
|
|
20512
20593
|
const set = has2 && (table === "company" || value !== 0 && value !== "0");
|
|
20513
20594
|
if (table !== void 0) r[`${field}Name`] = set && isVendorId(value) ? untrustedName(names.recordName(table, value)) : null;
|
|
20514
20595
|
else if (isResourceFkField(field)) r[`${field}Name`] = set && isVendorId(value) ? untrustedName(names.resourceName(value)) : null;
|
|
@@ -23847,6 +23928,16 @@ var SIMPLE_RESOURCES = [
|
|
|
23847
23928
|
helpers: { search: false, resolve: true, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
|
|
23848
23929
|
opForms: { get: "scoped", create: "scoped", update: "scoped", delete: "scoped" }
|
|
23849
23930
|
},
|
|
23931
|
+
{
|
|
23932
|
+
key: "internal_locations",
|
|
23933
|
+
accessor: "internalLocations",
|
|
23934
|
+
resourcePath: "/V1.0/InternalLocations",
|
|
23935
|
+
deletable: false,
|
|
23936
|
+
udfCapable: false,
|
|
23937
|
+
ops: { query: true, queryAll: false, count: true, get: true, create: false, update: false, delete: false, getEntityInfo: true, getFieldInfo: true, getUdfInfo: true },
|
|
23938
|
+
helpers: { search: false, resolve: false, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
|
|
23939
|
+
opForms: { get: "global" }
|
|
23940
|
+
},
|
|
23850
23941
|
{
|
|
23851
23942
|
key: "inventory_locations",
|
|
23852
23943
|
accessor: "inventoryLocations",
|
|
@@ -24345,6 +24436,16 @@ var SIMPLE_RESOURCES = [
|
|
|
24345
24436
|
helpers: { search: true, resolve: true, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
|
|
24346
24437
|
opForms: { get: "global", create: "global", update: "global" }
|
|
24347
24438
|
},
|
|
24439
|
+
{
|
|
24440
|
+
key: "shipping_types",
|
|
24441
|
+
accessor: "shippingTypes",
|
|
24442
|
+
resourcePath: "/V1.0/ShippingTypes",
|
|
24443
|
+
deletable: false,
|
|
24444
|
+
udfCapable: false,
|
|
24445
|
+
ops: { query: true, queryAll: false, count: true, get: true, create: false, update: false, delete: false, getEntityInfo: true, getFieldInfo: true, getUdfInfo: true },
|
|
24446
|
+
helpers: { search: false, resolve: false, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
|
|
24447
|
+
opForms: { get: "global" }
|
|
24448
|
+
},
|
|
24348
24449
|
{
|
|
24349
24450
|
key: "skills",
|
|
24350
24451
|
accessor: "skills",
|
|
@@ -26606,7 +26707,7 @@ function dateBucketLabel(value, bucket) {
|
|
|
26606
26707
|
var queryResourceKeysPromise = null;
|
|
26607
26708
|
function queryResourceKeys() {
|
|
26608
26709
|
if (queryResourceKeysPromise === null) {
|
|
26609
|
-
queryResourceKeysPromise =
|
|
26710
|
+
queryResourceKeysPromise = chunkKRYDLTY3_cjs.loadCapabilityRecords().then((records) => {
|
|
26610
26711
|
const s = /* @__PURE__ */ new Set();
|
|
26611
26712
|
for (const rec of records) if (rec.operation === "query") s.add(rec.resource);
|
|
26612
26713
|
return s;
|
|
@@ -26728,7 +26829,7 @@ function parseTopAndLimit(opts, problems) {
|
|
|
26728
26829
|
return { top, limit };
|
|
26729
26830
|
}
|
|
26730
26831
|
async function checkFieldNames(resourceKey, conditions, opts, problems) {
|
|
26731
|
-
const records = resourceKey === void 0 ? [] : await
|
|
26832
|
+
const records = resourceKey === void 0 ? [] : await chunkKRYDLTY3_cjs.loadCapabilityRecords();
|
|
26732
26833
|
const record = resourceKey === void 0 ? void 0 : records.find((r) => r.resource === resourceKey && r.operation === "query");
|
|
26733
26834
|
if (record === void 0) return void 0;
|
|
26734
26835
|
const strings = (v) => Array.isArray(v) ? v.filter((f) => typeof f === "string" && f.trim() !== "") : [];
|
|
@@ -27223,7 +27324,7 @@ async function uiLink(client, input) {
|
|
|
27223
27324
|
var indexPromise = null;
|
|
27224
27325
|
function operationIndex() {
|
|
27225
27326
|
if (indexPromise === null) {
|
|
27226
|
-
indexPromise =
|
|
27327
|
+
indexPromise = chunkKRYDLTY3_cjs.loadCapabilityRecords().then((records) => new Map(records.map((r) => [r.id, r])));
|
|
27227
27328
|
}
|
|
27228
27329
|
return indexPromise;
|
|
27229
27330
|
}
|
|
@@ -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-2GP7W6QB.js';
|
|
2
|
+
import { loadCapabilityRecords } from './chunk-43ADHLZJ.js';
|
|
3
3
|
|
|
4
4
|
// src/resources/special/configuration_items.ts
|
|
5
5
|
async function fetchRecord(http, path, label, readOpts) {
|
|
@@ -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-WAHRZDV4.js';
|
|
2
|
+
import { resolveConfig, HttpClient, SIMPLE_RESOURCES, GenericResource, CompaniesResource, ContractsResource, InvoicesResource, TimeEntriesResource, runWithSignal, runBounded } from './chunk-2GP7W6QB.js';
|
|
3
3
|
|
|
4
4
|
// src/client.ts
|
|
5
5
|
var AutotaskClient = class {
|
|
@@ -79,6 +79,7 @@ var AutotaskClient = class {
|
|
|
79
79
|
expenseReports;
|
|
80
80
|
holidays;
|
|
81
81
|
holidaySets;
|
|
82
|
+
internalLocations;
|
|
82
83
|
inventoryLocations;
|
|
83
84
|
inventoryProducts;
|
|
84
85
|
invoices;
|
|
@@ -127,6 +128,7 @@ var AutotaskClient = class {
|
|
|
127
128
|
serviceCallTickets;
|
|
128
129
|
serviceLevelAgreementResults;
|
|
129
130
|
services;
|
|
131
|
+
shippingTypes;
|
|
130
132
|
skills;
|
|
131
133
|
subscriptionPeriods;
|
|
132
134
|
subscriptions;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk5PUHGPKG_cjs = require('./chunk-5PUHGPKG.cjs');
|
|
4
|
+
var chunkRXXITZH4_cjs = require('./chunk-RXXITZH4.cjs');
|
|
5
5
|
|
|
6
6
|
// src/client.ts
|
|
7
7
|
var AutotaskClient = class {
|
|
@@ -81,6 +81,7 @@ var AutotaskClient = class {
|
|
|
81
81
|
expenseReports;
|
|
82
82
|
holidays;
|
|
83
83
|
holidaySets;
|
|
84
|
+
internalLocations;
|
|
84
85
|
inventoryLocations;
|
|
85
86
|
inventoryProducts;
|
|
86
87
|
invoices;
|
|
@@ -129,6 +130,7 @@ var AutotaskClient = class {
|
|
|
129
130
|
serviceCallTickets;
|
|
130
131
|
serviceLevelAgreementResults;
|
|
131
132
|
services;
|
|
133
|
+
shippingTypes;
|
|
132
134
|
skills;
|
|
133
135
|
subscriptionPeriods;
|
|
134
136
|
subscriptions;
|
|
@@ -175,34 +177,34 @@ var AutotaskClient = class {
|
|
|
175
177
|
* anything is wired. Construction issues NO request.
|
|
176
178
|
*/
|
|
177
179
|
constructor(options) {
|
|
178
|
-
this.config =
|
|
179
|
-
this.http = new
|
|
180
|
+
this.config = chunkRXXITZH4_cjs.resolveConfig(options);
|
|
181
|
+
this.http = new chunkRXXITZH4_cjs.HttpClient(this.config);
|
|
180
182
|
this.http.client = this;
|
|
181
|
-
for (const entry of
|
|
182
|
-
this[entry.accessor] = new
|
|
183
|
+
for (const entry of chunkRXXITZH4_cjs.SIMPLE_RESOURCES) {
|
|
184
|
+
this[entry.accessor] = new chunkRXXITZH4_cjs.GenericResource(this.http, entry, this.config.pageSize);
|
|
183
185
|
}
|
|
184
|
-
this.companies = new
|
|
185
|
-
this.configurationItems = new
|
|
186
|
-
this.contacts = new
|
|
187
|
-
this.contracts = new
|
|
188
|
-
this.inventoryProducts = new
|
|
189
|
-
this.invoices = new
|
|
190
|
-
this.quotes = new
|
|
191
|
-
this.resourceTimeOffAdditional = new
|
|
192
|
-
this.resourceTimeOffBalances = new
|
|
193
|
-
this.resources = new
|
|
194
|
-
this.serviceCalls = new
|
|
195
|
-
this.ticketCharges = new
|
|
196
|
-
this.tickets = new
|
|
197
|
-
this.timeEntries = new
|
|
198
|
-
this.timeOffRequests = new
|
|
199
|
-
this.authenticateResource = new
|
|
200
|
-
this.entityInformation = new
|
|
201
|
-
this.modules = new
|
|
202
|
-
this.thresholdInformation = new
|
|
203
|
-
this.version = new
|
|
204
|
-
this.versionInformation = new
|
|
205
|
-
this.zoneInformation = new
|
|
186
|
+
this.companies = new chunkRXXITZH4_cjs.CompaniesResource(this.http, this.config.pageSize);
|
|
187
|
+
this.configurationItems = new chunk5PUHGPKG_cjs.ConfigurationItemsResource(this.http, this.config.pageSize);
|
|
188
|
+
this.contacts = new chunk5PUHGPKG_cjs.ContactsResource(this.http, this.config.pageSize);
|
|
189
|
+
this.contracts = new chunkRXXITZH4_cjs.ContractsResource(this.http, this.config.pageSize);
|
|
190
|
+
this.inventoryProducts = new chunk5PUHGPKG_cjs.InventoryProductsResource(this.http, this.config.pageSize);
|
|
191
|
+
this.invoices = new chunkRXXITZH4_cjs.InvoicesResource(this.http, this.config.pageSize);
|
|
192
|
+
this.quotes = new chunk5PUHGPKG_cjs.QuotesResource(this.http, this.config.pageSize);
|
|
193
|
+
this.resourceTimeOffAdditional = new chunk5PUHGPKG_cjs.ResourceTimeOffAdditionalResource(this.http, this.config.pageSize);
|
|
194
|
+
this.resourceTimeOffBalances = new chunk5PUHGPKG_cjs.ResourceTimeOffBalancesResource(this.http, this.config.pageSize);
|
|
195
|
+
this.resources = new chunk5PUHGPKG_cjs.ResourcesResource(this.http, this.config, this.config.pageSize);
|
|
196
|
+
this.serviceCalls = new chunk5PUHGPKG_cjs.ServiceCallsResource(this.http, this.config.pageSize);
|
|
197
|
+
this.ticketCharges = new chunk5PUHGPKG_cjs.TicketChargesResource(this.http, this.config.pageSize);
|
|
198
|
+
this.tickets = new chunk5PUHGPKG_cjs.TicketsResource(this.http, this.config.pageSize);
|
|
199
|
+
this.timeEntries = new chunkRXXITZH4_cjs.TimeEntriesResource(this.http, this.config.pageSize);
|
|
200
|
+
this.timeOffRequests = new chunk5PUHGPKG_cjs.TimeOffRequestsResource(this.http, this.config.pageSize);
|
|
201
|
+
this.authenticateResource = new chunk5PUHGPKG_cjs.AuthenticateResource(this.http);
|
|
202
|
+
this.entityInformation = new chunk5PUHGPKG_cjs.EntityInformationResource(this.http);
|
|
203
|
+
this.modules = new chunk5PUHGPKG_cjs.ModulesResource(this.http);
|
|
204
|
+
this.thresholdInformation = new chunk5PUHGPKG_cjs.ThresholdInformationResource(this.http);
|
|
205
|
+
this.version = new chunk5PUHGPKG_cjs.VersionResource(this.http);
|
|
206
|
+
this.versionInformation = new chunk5PUHGPKG_cjs.VersionInformationResource(this.http);
|
|
207
|
+
this.zoneInformation = new chunk5PUHGPKG_cjs.ZoneInformationResource(this.http);
|
|
206
208
|
}
|
|
207
209
|
/**
|
|
208
210
|
* `GET /V1.0/Authenticate` → `AuthTokenResultModel` (as-is). The SDK does
|
|
@@ -236,10 +238,10 @@ var AutotaskClient = class {
|
|
|
236
238
|
* parameter on each: `await client.withSignal(signal, () => invoke(client, ...))`.
|
|
237
239
|
*/
|
|
238
240
|
withSignal(signal, fn) {
|
|
239
|
-
return
|
|
241
|
+
return chunkRXXITZH4_cjs.runWithSignal(signal, fn);
|
|
240
242
|
}
|
|
241
243
|
async batch(fn, items, opts = {}) {
|
|
242
|
-
return
|
|
244
|
+
return chunkRXXITZH4_cjs.runBounded(fn, items, { ...opts, concurrency: opts.concurrency ?? this.config.maxConcurrent });
|
|
243
245
|
}
|
|
244
246
|
};
|
|
245
247
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AuditEvent, R as ResolutionCaps, b as AuthTokenResultModel, C as Company, I as Identifier, O as OrganizationalLevelAssociation, c as OrganizationalLevel2, d as OrganizationalLevel1, e as CompanyLocation, f as Contact, g as CompanyNote, T as Ticket, h as Project, i as CompositeNamesSection, B as BillingItems, j as TimeEntry, k as CompanyCreate, l as CompanyUpdate, m as CompanyContext, n as ConfigurationItem, o as ConfigurationItemType, p as ConfigurationItemCategory, q as Product, r as ConfigurationItemNote, s as ConfigurationItemRelatedItem, t as ConfigurationItemBillingProductAssociations, S as Subscription, u as ConfigurationItemCreate, v as ConfigurationItemUpdate, w as ConfigurationItemContext, x as ConfigurationItemSummary, D as DryRunResult, y as ContactCreate, z as ContactUpdate, F as ContactContext, G as ContactSummary, H as Contract, J as ContractService, K as ContractBillingRule, L as ContractCharge, M as ContractServiceUnit, E as EmptyReasonInfo, N as ContractRoleCosts, U as ContractRate, V as ContractBlock, W as Invoice, X as Resource, Y as ExpenseItem, Z as ContractCreate, _ as ContractUpdate, $ as ContractSummary, a0 as GlobalEntityInformationResultModel, a1 as InventoryProduct, a2 as InventoryProductCreate, a3 as InventoryProductUpdate, a4 as InventoryStockedItemAdd, a5 as OperationResult, a6 as InventoryStockedItemRemove, a7 as InventoryStockedItemTransfer, a8 as InvoiceCreate, a9 as InvoiceUpdate, aa as ModuleAccessResultModel, ab as Quote, ac as QuoteItem, ad as QuoteCreate, ae as QuoteUpdate, af as QuoteSummary, ag as TicketCreate, ah as TicketUpdate, ai as TicketContext, aj as TicketSummary, ak as ServiceCallTaskResource, al as ServiceCallTask, am as ResourceTimeOffBalance, an as TimeOffRequest, ao as ResourceCreate, ap as ResourceUpdate, aq as ResourceSummary, ar as ResourceTimeOffAdditional, as as ResourceTimeOffAdditionalCreate, at as ResourceTimeOffAdditionalUpdate, au as ResourceTimeOffBalanceCreate, av as ResourceTimeOffBalanceUpdate, aw as ServiceCall, ax as ServiceCallTicket, ay as ServiceCallCreate, az as ServiceCallUpdate, aA as ThresholdStatusResultModel, aB as TicketCharge, aC as TicketChargeCreate, aD as TicketChargeUpdate, aE as TicketChargeSummary, aF as TimeEntryUpdate, aG as TimeEntryCreate, aH as TimeOffRequestCreate, aI as TimeOffRequestUpdate, aJ as AutotaskVersionResultModel, aK as ApiVersionResultModel, aL as ZoneInformationResultModel, aM as Appointment, aN as AppointmentCreate, aO as AppointmentUpdate, aP as AttachmentInfo, aQ as AttachmentInfoCreate, aR as AttachmentInfoUpdate, aS as BillingCode, aT as BillingCodeCreate, aU as BillingCodeUpdate, aV as BillingItemApprovalLevel, aW as BillingItemApprovalLevelCreate, aX as BillingItemApprovalLevelUpdate, aY as BillingItemsCreate, aZ as BillingItemsUpdate, a_ as ChangeRequestLink, a$ as ChangeRequestLinkCreate, b0 as ChangeRequestLinkUpdate, b1 as ChecklistLibrary, b2 as ChecklistLibraryCreate, b3 as ChecklistLibraryUpdate, b4 as ChecklistLibraryChecklistItem, b5 as ChecklistLibraryChecklistItemCreate, b6 as ChecklistLibraryChecklistItemUpdate, b7 as ClassificationIcon, b8 as ClassificationIconCreate, b9 as ClassificationIconUpdate, ba as CompanyAlert, bb as CompanyAlertCreate, bc as CompanyAlertUpdate, bd as CompanyAttachment, be as CompanyAttachmentCreate, bf as CompanyAttachmentUpdate, bg as CompanyLocationCreate, bh as CompanyLocationUpdate, bi as CompanyNoteAttachment, bj as CompanyNoteAttachmentCreate, bk as CompanyNoteAttachmentUpdate, bl as CompanyNoteCreate, bm as CompanyNoteUpdate, bn as CompanySiteConfigurations, bo as CompanySiteConfigurationsCreate, bp as CompanySiteConfigurationsUpdate, bq as CompanyWebhook, br as CompanyWebhookCreate, bs as CompanyWebhookUpdate, bt as ConfigurationItemAttachment, bu as ConfigurationItemAttachmentCreate, bv as ConfigurationItemAttachmentUpdate, bw as ConfigurationItemBillingProductAssociationsCreate, bx as ConfigurationItemBillingProductAssociationsUpdate, by as ConfigurationItemCategoryCreate, bz as ConfigurationItemCategoryUpdate, bA as ConfigurationItemCategoryUdfAssociation, bB as ConfigurationItemCategoryUdfAssociationCreate, bC as ConfigurationItemCategoryUdfAssociationUpdate, bD as ConfigurationItemDnsRecord, bE as ConfigurationItemDnsRecordCreate, bF as ConfigurationItemDnsRecordUpdate, bG as ConfigurationItemNoteAttachment, bH as ConfigurationItemNoteAttachmentCreate, bI as ConfigurationItemNoteAttachmentUpdate, bJ as ConfigurationItemNoteCreate, bK as ConfigurationItemNoteUpdate, bL as ConfigurationItemRelatedItemCreate, bM as ConfigurationItemRelatedItemUpdate, bN as ConfigurationItemSslSubjectAlternativeName, bO as ConfigurationItemSslSubjectAlternativeNameCreate, bP as ConfigurationItemSslSubjectAlternativeNameUpdate, bQ as ConfigurationItemTypeCreate, bR as ConfigurationItemTypeUpdate, bS as ConfigurationItemWebhook, bT as ConfigurationItemWebhookCreate, bU as ConfigurationItemWebhookUpdate, bV as ContactGroupContacts, bW as ContactGroupContactsCreate, bX as ContactGroupContactsUpdate, bY as ContactGroups, bZ as ContactGroupsCreate, b_ as ContactGroupsUpdate, b$ as ContactWebhook, c0 as ContactWebhookCreate, c1 as ContactWebhookUpdate, c2 as ContractBillingRuleCreate, c3 as ContractBillingRuleUpdate, c4 as ContractBlockHourFactor, c5 as ContractBlockHourFactorCreate, c6 as ContractBlockHourFactorUpdate, c7 as ContractBlockCreate, c8 as ContractBlockUpdate, c9 as ContractChargeCreate, ca as ContractChargeUpdate, cb as ContractExclusionBillingCode, cc as ContractExclusionBillingCodeCreate, cd as ContractExclusionBillingCodeUpdate, ce as ContractExclusionRoles, cf as ContractExclusionRolesCreate, cg as ContractExclusionRolesUpdate, ch as ContractExclusionSetExcludedRoles, ci as ContractExclusionSetExcludedRolesCreate, cj as ContractExclusionSetExcludedRolesUpdate, ck as ContractExclusionSetExcludedWorkTypes, cl as ContractExclusionSetExcludedWorkTypesCreate, cm as ContractExclusionSetExcludedWorkTypesUpdate, cn as ContractExclusionSets, co as ContractExclusionSetsCreate, cp as ContractExclusionSetsUpdate, cq as ContractMilestone, cr as ContractMilestoneCreate, cs as ContractMilestoneUpdate, ct as ContractNoteAttachment, cu as ContractNoteAttachmentCreate, cv as ContractNoteAttachmentUpdate, cw as ContractNote, cx as ContractNoteCreate, cy as ContractNoteUpdate, cz as ContractRateCreate, cA as ContractRateUpdate, cB as ContractRetainers, cC as ContractRetainersCreate, cD as ContractRetainersUpdate, cE as ContractRoleCostsCreate, cF as ContractRoleCostsUpdate, cG as ContractServiceAdjustment, cH as ContractServiceAdjustmentCreate, cI as ContractServiceAdjustmentUpdate, cJ as ContractServiceBundleAdjustment, cK as ContractServiceBundleAdjustmentCreate, cL as ContractServiceBundleAdjustmentUpdate, cM as ContractServiceBundle, cN as ContractServiceBundleCreate, cO as ContractServiceBundleUpdate, cP as ContractServiceBundleUnit, cQ as ContractServiceBundleUnitCreate, cR as ContractServiceBundleUnitUpdate, cS as ContractServiceCreate, cT as ContractServiceUpdate, cU as ContractServiceUnitCreate, cV as ContractServiceUnitUpdate, cW as ContractTicketPurchases, cX as ContractTicketPurchasesCreate, cY as ContractTicketPurchasesUpdate, cZ as Country, c_ as CountryCreate, c$ as CountryUpdate, d0 as Currency, d1 as CurrencyCreate, d2 as CurrencyUpdate, Q as QueryParams, d3 as DeletedTaskActivityLog, d4 as DeletedTicketActivityLog, d5 as DeletedTicketLog, d6 as Department, d7 as DepartmentCreate, d8 as DepartmentUpdate, d9 as DomainRegistrar, da as DomainRegistrarCreate, db as DomainRegistrarUpdate, dc as ExpenseItemAttachment, dd as ExpenseItemAttachmentCreate, de as ExpenseItemAttachmentUpdate, df as ExpenseItemCreate, dg as ExpenseItemUpdate, dh as ExpenseReportAttachment, di as ExpenseReportAttachmentCreate, dj as ExpenseReportAttachmentUpdate, dk as ExpenseReport, dl as ExpenseReportCreate, dm as ExpenseReportUpdate, dn as Holiday, dp as HolidayCreate, dq as HolidayUpdate, dr as HolidaySet, ds as HolidaySetCreate, dt as HolidaySetUpdate, du as InventoryLocation, dv as InventoryLocationCreate, dw as InventoryLocationUpdate, dx as InvoiceTemplate, dy as InvoiceTemplateCreate, dz as InvoiceTemplateUpdate, dA as KnowledgeBaseArticle, dB as KnowledgeBaseArticleCreate, dC as KnowledgeBaseArticleUpdate, dD as KnowledgeBaseCategory, dE as KnowledgeBaseCategoryCreate, dF as KnowledgeBaseCategoryUpdate, dG as NotificationHistory, dH as NotificationHistoryCreate, dI as NotificationHistoryUpdate, dJ as Opportunity, dK as OpportunityCreate, dL as OpportunityUpdate, dM as OpportunityAttachment, dN as OpportunityAttachmentCreate, dO as OpportunityAttachmentUpdate, dP as OpportunityCategory, dQ as OpportunityCategoryCreate, dR as OpportunityCategoryUpdate, dS as OrganizationalLevel1Create, dT as OrganizationalLevel1Update, dU as OrganizationalLevel2Create, dV as OrganizationalLevel2Update, dW as OrganizationalLevelAssociationCreate, dX as OrganizationalLevelAssociationUpdate, dY as Phase, dZ as PhaseCreate, d_ as PhaseUpdate, d$ as ProductCreate, e0 as ProductUpdate, e1 as ProductVendors, e2 as ProductVendorsCreate, e3 as ProductVendorsUpdate, e4 as ProjectAttachment, e5 as ProjectAttachmentCreate, e6 as ProjectAttachmentUpdate, e7 as ProjectCharge, e8 as ProjectChargeCreate, e9 as ProjectChargeUpdate, ea as ProjectNoteAttachment, eb as ProjectNoteAttachmentCreate, ec as ProjectNoteAttachmentUpdate, ed as ProjectNote, ee as ProjectNoteCreate, ef as ProjectNoteUpdate, eg as ProjectCreate, eh as ProjectUpdate, ei as ProjectContext, ej as PurchaseApprovals, ek as PurchaseApprovalsCreate, el as PurchaseApprovalsUpdate, em as PurchaseOrderItemReceiving, en as PurchaseOrderItemReceivingCreate, eo as PurchaseOrderItemReceivingUpdate, ep as PurchaseOrderItems, eq as PurchaseOrderItemsCreate, er as PurchaseOrderItemsUpdate, es as PurchaseOrders, et as PurchaseOrdersCreate, eu as PurchaseOrdersUpdate, ev as QuoteItemCreate, ew as QuoteItemUpdate, ex as QuoteLocation, ey as QuoteLocationCreate, ez as QuoteLocationUpdate, eA as QuoteTemplate, eB as QuoteTemplateCreate, eC as QuoteTemplateUpdate, eD as ResourceAttachment, eE as ResourceAttachmentCreate, eF as ResourceAttachmentUpdate, eG as ResourceRoleQueue, eH as ResourceRoleQueueCreate, eI as ResourceRoleQueueUpdate, eJ as ResourceRole, eK as ResourceRoleCreate, eL as ResourceRoleUpdate, eM as ResourceSkill, eN as ResourceSkillCreate, eO as ResourceSkillUpdate, eP as ResourceTimeOffApprover, eQ as ResourceTimeOffApproverCreate, eR as ResourceTimeOffApproverUpdate, eS as Role, eT as RoleCreate, eU as RoleUpdate, eV as SalesOrderAttachment, eW as SalesOrderAttachmentCreate, eX as SalesOrderAttachmentUpdate, eY as SalesOrder, eZ as SalesOrderCreate, e_ as SalesOrderUpdate, e$ as ServiceCallTaskResourceCreate, f0 as ServiceCallTaskResourceUpdate, f1 as ServiceCallTaskCreate, f2 as ServiceCallTaskUpdate, f3 as ServiceCallTicketResource, f4 as ServiceCallTicketResourceCreate, f5 as ServiceCallTicketResourceUpdate, f6 as ServiceCallTicketCreate, f7 as ServiceCallTicketUpdate, f8 as ServiceLevelAgreementResults, f9 as ServiceLevelAgreementResultsCreate, fa as ServiceLevelAgreementResultsUpdate, fb as Service, fc as ServiceCreate, fd as ServiceUpdate, fe as Skill, ff as SkillCreate, fg as SkillUpdate, fh as SubscriptionPeriod, fi as SubscriptionPeriodCreate, fj as SubscriptionPeriodUpdate, fk as SubscriptionCreate, fl as SubscriptionUpdate, fm as SurveyResults, fn as SurveyResultsCreate, fo as SurveyResultsUpdate, fp as Survey, fq as SurveyCreate, fr as SurveyUpdate, fs as TagAlias, ft as TagAliasCreate, fu as TagAliasUpdate, fv as TagGroup, fw as TagGroupCreate, fx as TagGroupUpdate, fy as Tag, fz as TagCreate, fA as TagUpdate, fB as TaskAttachment, fC as TaskAttachmentCreate, fD as TaskAttachmentUpdate, fE as TaskNoteAttachment, fF as TaskNoteAttachmentCreate, fG as TaskNoteAttachmentUpdate, fH as TaskNote, fI as TaskNoteCreate, fJ as TaskNoteUpdate, fK as TaskPredecessor, fL as TaskPredecessorCreate, fM as TaskPredecessorUpdate, fN as Task, fO as TaskCreate, fP as TaskUpdate, fQ as TaskSecondaryResource, fR as TaskSecondaryResourceCreate, fS as TaskSecondaryResourceUpdate, fT as TaxRegion, fU as TaxRegionCreate, fV as TaxRegionUpdate, fW as TicketAdditionalConfigurationItem, fX as TicketAdditionalConfigurationItemCreate, fY as TicketAdditionalConfigurationItemUpdate, fZ as TicketAdditionalContact, f_ as TicketAdditionalContactCreate, f$ as TicketAdditionalContactUpdate, g0 as TicketAttachment, g1 as TicketAttachmentCreate, g2 as TicketAttachmentUpdate, g3 as TicketCategory, g4 as TicketCategoryCreate, g5 as TicketCategoryUpdate, g6 as TicketCategoryFieldDefault, g7 as TicketCategoryFieldDefaultCreate, g8 as TicketCategoryFieldDefaultUpdate, g9 as TicketChangeRequestApproval, ga as TicketChangeRequestApprovalCreate, gb as TicketChangeRequestApprovalUpdate, gc as TicketChecklistItem, gd as TicketChecklistItemCreate, ge as TicketChecklistItemUpdate, gf as TicketChecklistLibrary, gg as TicketChecklistLibraryCreate, gh as TicketChecklistLibraryUpdate, gi as TicketHistory, gj as TicketHistoryCreate, gk as TicketHistoryUpdate, gl as TicketNoteAttachment, gm as TicketNoteAttachmentCreate, gn as TicketNoteAttachmentUpdate, go as TicketNote, gp as TicketNoteCreate, gq as TicketNoteUpdate, gr as TicketNoteWebhook, gs as TicketNoteWebhookCreate, gt as TicketNoteWebhookUpdate, gu as TicketSecondaryResource, gv as TicketSecondaryResourceCreate, gw as TicketSecondaryResourceUpdate, gx as TicketWebhook, gy as TicketWebhookCreate, gz as TicketWebhookUpdate, gA as TimeEntryAttachment, gB as TimeEntryAttachmentCreate, gC as TimeEntryAttachmentUpdate, gD as UserDefinedFieldDefinition, gE as UserDefinedFieldDefinitionCreate, gF as UserDefinedFieldDefinitionUpdate, gG as UserDefinedFieldListItem, gH as UserDefinedFieldListItemCreate, gI as UserDefinedFieldListItemUpdate, gJ as Resolution, gK as Page, gL as EntityInformationModel, gM as FieldInformationModel, gN as Field, gO as FilterCondition, gP as CompositeNameTable, gQ as CompositeContextOptions } from './index-4jmitXBs.cjs';
|
|
1
|
+
import { A as AuditEvent, R as ResolutionCaps, b as AuthTokenResultModel, C as Company, I as Identifier, O as OrganizationalLevelAssociation, c as OrganizationalLevel2, d as OrganizationalLevel1, e as CompanyLocation, f as Contact, g as CompanyNote, T as Ticket, h as Project, i as CompositeNamesSection, B as BillingItems, j as TimeEntry, k as CompanyCreate, l as CompanyUpdate, m as CompanyContext, n as ConfigurationItem, o as ConfigurationItemType, p as ConfigurationItemCategory, q as Product, r as ConfigurationItemNote, s as ConfigurationItemRelatedItem, t as ConfigurationItemBillingProductAssociations, S as Subscription, u as ConfigurationItemCreate, v as ConfigurationItemUpdate, w as ConfigurationItemContext, x as ConfigurationItemSummary, D as DryRunResult, y as ContactCreate, z as ContactUpdate, F as ContactContext, G as ContactSummary, H as Contract, J as ContractService, K as ContractBillingRule, L as ContractCharge, M as ContractServiceUnit, E as EmptyReasonInfo, N as ContractRoleCosts, U as ContractRate, V as ContractBlock, W as Invoice, X as Resource, Y as ExpenseItem, Z as ContractCreate, _ as ContractUpdate, $ as ContractSummary, a0 as GlobalEntityInformationResultModel, a1 as InventoryProduct, a2 as InventoryProductCreate, a3 as InventoryProductUpdate, a4 as InventoryStockedItemAdd, a5 as OperationResult, a6 as InventoryStockedItemRemove, a7 as InventoryStockedItemTransfer, a8 as InvoiceCreate, a9 as InvoiceUpdate, aa as ModuleAccessResultModel, ab as Quote, ac as QuoteItem, ad as QuoteCreate, ae as QuoteUpdate, af as QuoteSummary, ag as TicketCreate, ah as TicketUpdate, ai as TicketContext, aj as TicketSummary, ak as ServiceCallTaskResource, al as ServiceCallTask, am as ResourceTimeOffBalance, an as TimeOffRequest, ao as ResourceCreate, ap as ResourceUpdate, aq as ResourceSummary, ar as ResourceTimeOffAdditional, as as ResourceTimeOffAdditionalCreate, at as ResourceTimeOffAdditionalUpdate, au as ResourceTimeOffBalanceCreate, av as ResourceTimeOffBalanceUpdate, aw as ServiceCall, ax as ServiceCallTicket, ay as ServiceCallCreate, az as ServiceCallUpdate, aA as ThresholdStatusResultModel, aB as TicketCharge, aC as TicketChargeCreate, aD as TicketChargeUpdate, aE as TicketChargeSummary, aF as TimeEntryUpdate, aG as TimeEntryCreate, aH as TimeOffRequestCreate, aI as TimeOffRequestUpdate, aJ as AutotaskVersionResultModel, aK as ApiVersionResultModel, aL as ZoneInformationResultModel, aM as Appointment, aN as AppointmentCreate, aO as AppointmentUpdate, aP as AttachmentInfo, aQ as AttachmentInfoCreate, aR as AttachmentInfoUpdate, aS as BillingCode, aT as BillingCodeCreate, aU as BillingCodeUpdate, aV as BillingItemApprovalLevel, aW as BillingItemApprovalLevelCreate, aX as BillingItemApprovalLevelUpdate, aY as BillingItemsCreate, aZ as BillingItemsUpdate, a_ as ChangeRequestLink, a$ as ChangeRequestLinkCreate, b0 as ChangeRequestLinkUpdate, b1 as ChecklistLibrary, b2 as ChecklistLibraryCreate, b3 as ChecklistLibraryUpdate, b4 as ChecklistLibraryChecklistItem, b5 as ChecklistLibraryChecklistItemCreate, b6 as ChecklistLibraryChecklistItemUpdate, b7 as ClassificationIcon, b8 as ClassificationIconCreate, b9 as ClassificationIconUpdate, ba as CompanyAlert, bb as CompanyAlertCreate, bc as CompanyAlertUpdate, bd as CompanyAttachment, be as CompanyAttachmentCreate, bf as CompanyAttachmentUpdate, bg as CompanyLocationCreate, bh as CompanyLocationUpdate, bi as CompanyNoteAttachment, bj as CompanyNoteAttachmentCreate, bk as CompanyNoteAttachmentUpdate, bl as CompanyNoteCreate, bm as CompanyNoteUpdate, bn as CompanySiteConfigurations, bo as CompanySiteConfigurationsCreate, bp as CompanySiteConfigurationsUpdate, bq as CompanyWebhook, br as CompanyWebhookCreate, bs as CompanyWebhookUpdate, bt as ConfigurationItemAttachment, bu as ConfigurationItemAttachmentCreate, bv as ConfigurationItemAttachmentUpdate, bw as ConfigurationItemBillingProductAssociationsCreate, bx as ConfigurationItemBillingProductAssociationsUpdate, by as ConfigurationItemCategoryCreate, bz as ConfigurationItemCategoryUpdate, bA as ConfigurationItemCategoryUdfAssociation, bB as ConfigurationItemCategoryUdfAssociationCreate, bC as ConfigurationItemCategoryUdfAssociationUpdate, bD as ConfigurationItemDnsRecord, bE as ConfigurationItemDnsRecordCreate, bF as ConfigurationItemDnsRecordUpdate, bG as ConfigurationItemNoteAttachment, bH as ConfigurationItemNoteAttachmentCreate, bI as ConfigurationItemNoteAttachmentUpdate, bJ as ConfigurationItemNoteCreate, bK as ConfigurationItemNoteUpdate, bL as ConfigurationItemRelatedItemCreate, bM as ConfigurationItemRelatedItemUpdate, bN as ConfigurationItemSslSubjectAlternativeName, bO as ConfigurationItemSslSubjectAlternativeNameCreate, bP as ConfigurationItemSslSubjectAlternativeNameUpdate, bQ as ConfigurationItemTypeCreate, bR as ConfigurationItemTypeUpdate, bS as ConfigurationItemWebhook, bT as ConfigurationItemWebhookCreate, bU as ConfigurationItemWebhookUpdate, bV as ContactGroupContacts, bW as ContactGroupContactsCreate, bX as ContactGroupContactsUpdate, bY as ContactGroups, bZ as ContactGroupsCreate, b_ as ContactGroupsUpdate, b$ as ContactWebhook, c0 as ContactWebhookCreate, c1 as ContactWebhookUpdate, c2 as ContractBillingRuleCreate, c3 as ContractBillingRuleUpdate, c4 as ContractBlockHourFactor, c5 as ContractBlockHourFactorCreate, c6 as ContractBlockHourFactorUpdate, c7 as ContractBlockCreate, c8 as ContractBlockUpdate, c9 as ContractChargeCreate, ca as ContractChargeUpdate, cb as ContractExclusionBillingCode, cc as ContractExclusionBillingCodeCreate, cd as ContractExclusionBillingCodeUpdate, ce as ContractExclusionRoles, cf as ContractExclusionRolesCreate, cg as ContractExclusionRolesUpdate, ch as ContractExclusionSetExcludedRoles, ci as ContractExclusionSetExcludedRolesCreate, cj as ContractExclusionSetExcludedRolesUpdate, ck as ContractExclusionSetExcludedWorkTypes, cl as ContractExclusionSetExcludedWorkTypesCreate, cm as ContractExclusionSetExcludedWorkTypesUpdate, cn as ContractExclusionSets, co as ContractExclusionSetsCreate, cp as ContractExclusionSetsUpdate, cq as ContractMilestone, cr as ContractMilestoneCreate, cs as ContractMilestoneUpdate, ct as ContractNoteAttachment, cu as ContractNoteAttachmentCreate, cv as ContractNoteAttachmentUpdate, cw as ContractNote, cx as ContractNoteCreate, cy as ContractNoteUpdate, cz as ContractRateCreate, cA as ContractRateUpdate, cB as ContractRetainers, cC as ContractRetainersCreate, cD as ContractRetainersUpdate, cE as ContractRoleCostsCreate, cF as ContractRoleCostsUpdate, cG as ContractServiceAdjustment, cH as ContractServiceAdjustmentCreate, cI as ContractServiceAdjustmentUpdate, cJ as ContractServiceBundleAdjustment, cK as ContractServiceBundleAdjustmentCreate, cL as ContractServiceBundleAdjustmentUpdate, cM as ContractServiceBundle, cN as ContractServiceBundleCreate, cO as ContractServiceBundleUpdate, cP as ContractServiceBundleUnit, cQ as ContractServiceBundleUnitCreate, cR as ContractServiceBundleUnitUpdate, cS as ContractServiceCreate, cT as ContractServiceUpdate, cU as ContractServiceUnitCreate, cV as ContractServiceUnitUpdate, cW as ContractTicketPurchases, cX as ContractTicketPurchasesCreate, cY as ContractTicketPurchasesUpdate, cZ as Country, c_ as CountryCreate, c$ as CountryUpdate, d0 as Currency, d1 as CurrencyCreate, d2 as CurrencyUpdate, Q as QueryParams, d3 as DeletedTaskActivityLog, d4 as DeletedTicketActivityLog, d5 as DeletedTicketLog, d6 as Department, d7 as DepartmentCreate, d8 as DepartmentUpdate, d9 as DomainRegistrar, da as DomainRegistrarCreate, db as DomainRegistrarUpdate, dc as ExpenseItemAttachment, dd as ExpenseItemAttachmentCreate, de as ExpenseItemAttachmentUpdate, df as ExpenseItemCreate, dg as ExpenseItemUpdate, dh as ExpenseReportAttachment, di as ExpenseReportAttachmentCreate, dj as ExpenseReportAttachmentUpdate, dk as ExpenseReport, dl as ExpenseReportCreate, dm as ExpenseReportUpdate, dn as Holiday, dp as HolidayCreate, dq as HolidayUpdate, dr as HolidaySet, ds as HolidaySetCreate, dt as HolidaySetUpdate, du as InternalLocation, dv as InternalLocationCreate, dw as InternalLocationUpdate, dx as InventoryLocation, dy as InventoryLocationCreate, dz as InventoryLocationUpdate, dA as InvoiceTemplate, dB as InvoiceTemplateCreate, dC as InvoiceTemplateUpdate, dD as KnowledgeBaseArticle, dE as KnowledgeBaseArticleCreate, dF as KnowledgeBaseArticleUpdate, dG as KnowledgeBaseCategory, dH as KnowledgeBaseCategoryCreate, dI as KnowledgeBaseCategoryUpdate, dJ as NotificationHistory, dK as NotificationHistoryCreate, dL as NotificationHistoryUpdate, dM as Opportunity, dN as OpportunityCreate, dO as OpportunityUpdate, dP as OpportunityAttachment, dQ as OpportunityAttachmentCreate, dR as OpportunityAttachmentUpdate, dS as OpportunityCategory, dT as OpportunityCategoryCreate, dU as OpportunityCategoryUpdate, dV as OrganizationalLevel1Create, dW as OrganizationalLevel1Update, dX as OrganizationalLevel2Create, dY as OrganizationalLevel2Update, dZ as OrganizationalLevelAssociationCreate, d_ as OrganizationalLevelAssociationUpdate, d$ as Phase, e0 as PhaseCreate, e1 as PhaseUpdate, e2 as ProductCreate, e3 as ProductUpdate, e4 as ProductVendors, e5 as ProductVendorsCreate, e6 as ProductVendorsUpdate, e7 as ProjectAttachment, e8 as ProjectAttachmentCreate, e9 as ProjectAttachmentUpdate, ea as ProjectCharge, eb as ProjectChargeCreate, ec as ProjectChargeUpdate, ed as ProjectNoteAttachment, ee as ProjectNoteAttachmentCreate, ef as ProjectNoteAttachmentUpdate, eg as ProjectNote, eh as ProjectNoteCreate, ei as ProjectNoteUpdate, ej as ProjectCreate, ek as ProjectUpdate, el as ProjectContext, em as PurchaseApprovals, en as PurchaseApprovalsCreate, eo as PurchaseApprovalsUpdate, ep as PurchaseOrderItemReceiving, eq as PurchaseOrderItemReceivingCreate, er as PurchaseOrderItemReceivingUpdate, es as PurchaseOrderItems, et as PurchaseOrderItemsCreate, eu as PurchaseOrderItemsUpdate, ev as PurchaseOrders, ew as PurchaseOrdersCreate, ex as PurchaseOrdersUpdate, ey as QuoteItemCreate, ez as QuoteItemUpdate, eA as QuoteLocation, eB as QuoteLocationCreate, eC as QuoteLocationUpdate, eD as QuoteTemplate, eE as QuoteTemplateCreate, eF as QuoteTemplateUpdate, eG as ResourceAttachment, eH as ResourceAttachmentCreate, eI as ResourceAttachmentUpdate, eJ as ResourceRoleQueue, eK as ResourceRoleQueueCreate, eL as ResourceRoleQueueUpdate, eM as ResourceRole, eN as ResourceRoleCreate, eO as ResourceRoleUpdate, eP as ResourceSkill, eQ as ResourceSkillCreate, eR as ResourceSkillUpdate, eS as ResourceTimeOffApprover, eT as ResourceTimeOffApproverCreate, eU as ResourceTimeOffApproverUpdate, eV as Role, eW as RoleCreate, eX as RoleUpdate, eY as SalesOrderAttachment, eZ as SalesOrderAttachmentCreate, e_ as SalesOrderAttachmentUpdate, e$ as SalesOrder, f0 as SalesOrderCreate, f1 as SalesOrderUpdate, f2 as ServiceCallTaskResourceCreate, f3 as ServiceCallTaskResourceUpdate, f4 as ServiceCallTaskCreate, f5 as ServiceCallTaskUpdate, f6 as ServiceCallTicketResource, f7 as ServiceCallTicketResourceCreate, f8 as ServiceCallTicketResourceUpdate, f9 as ServiceCallTicketCreate, fa as ServiceCallTicketUpdate, fb as ServiceLevelAgreementResults, fc as ServiceLevelAgreementResultsCreate, fd as ServiceLevelAgreementResultsUpdate, fe as Service, ff as ServiceCreate, fg as ServiceUpdate, fh as ShippingType, fi as ShippingTypeCreate, fj as ShippingTypeUpdate, fk as Skill, fl as SkillCreate, fm as SkillUpdate, fn as SubscriptionPeriod, fo as SubscriptionPeriodCreate, fp as SubscriptionPeriodUpdate, fq as SubscriptionCreate, fr as SubscriptionUpdate, fs as SurveyResults, ft as SurveyResultsCreate, fu as SurveyResultsUpdate, fv as Survey, fw as SurveyCreate, fx as SurveyUpdate, fy as TagAlias, fz as TagAliasCreate, fA as TagAliasUpdate, fB as TagGroup, fC as TagGroupCreate, fD as TagGroupUpdate, fE as Tag, fF as TagCreate, fG as TagUpdate, fH as TaskAttachment, fI as TaskAttachmentCreate, fJ as TaskAttachmentUpdate, fK as TaskNoteAttachment, fL as TaskNoteAttachmentCreate, fM as TaskNoteAttachmentUpdate, fN as TaskNote, fO as TaskNoteCreate, fP as TaskNoteUpdate, fQ as TaskPredecessor, fR as TaskPredecessorCreate, fS as TaskPredecessorUpdate, fT as Task, fU as TaskCreate, fV as TaskUpdate, fW as TaskSecondaryResource, fX as TaskSecondaryResourceCreate, fY as TaskSecondaryResourceUpdate, fZ as TaxRegion, f_ as TaxRegionCreate, f$ as TaxRegionUpdate, g0 as TicketAdditionalConfigurationItem, g1 as TicketAdditionalConfigurationItemCreate, g2 as TicketAdditionalConfigurationItemUpdate, g3 as TicketAdditionalContact, g4 as TicketAdditionalContactCreate, g5 as TicketAdditionalContactUpdate, g6 as TicketAttachment, g7 as TicketAttachmentCreate, g8 as TicketAttachmentUpdate, g9 as TicketCategory, ga as TicketCategoryCreate, gb as TicketCategoryUpdate, gc as TicketCategoryFieldDefault, gd as TicketCategoryFieldDefaultCreate, ge as TicketCategoryFieldDefaultUpdate, gf as TicketChangeRequestApproval, gg as TicketChangeRequestApprovalCreate, gh as TicketChangeRequestApprovalUpdate, gi as TicketChecklistItem, gj as TicketChecklistItemCreate, gk as TicketChecklistItemUpdate, gl as TicketChecklistLibrary, gm as TicketChecklistLibraryCreate, gn as TicketChecklistLibraryUpdate, go as TicketHistory, gp as TicketHistoryCreate, gq as TicketHistoryUpdate, gr as TicketNoteAttachment, gs as TicketNoteAttachmentCreate, gt as TicketNoteAttachmentUpdate, gu as TicketNote, gv as TicketNoteCreate, gw as TicketNoteUpdate, gx as TicketNoteWebhook, gy as TicketNoteWebhookCreate, gz as TicketNoteWebhookUpdate, gA as TicketSecondaryResource, gB as TicketSecondaryResourceCreate, gC as TicketSecondaryResourceUpdate, gD as TicketWebhook, gE as TicketWebhookCreate, gF as TicketWebhookUpdate, gG as TimeEntryAttachment, gH as TimeEntryAttachmentCreate, gI as TimeEntryAttachmentUpdate, gJ as UserDefinedFieldDefinition, gK as UserDefinedFieldDefinitionCreate, gL as UserDefinedFieldDefinitionUpdate, gM as UserDefinedFieldListItem, gN as UserDefinedFieldListItemCreate, gO as UserDefinedFieldListItemUpdate, gP as Resolution, gQ as Page, gR as EntityInformationModel, gS as FieldInformationModel, gT as Field, gU as FilterCondition, gV as CompositeNameTable, gW as CompositeContextOptions } from './index-Dy92Xbpv.cjs';
|
|
2
2
|
import { L as Logger } from './logger-B1gYmFre.cjs';
|
|
3
3
|
|
|
4
4
|
/** Request shape + retriable-method set (split from http.ts, issue #166). */
|
|
@@ -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: fe0c9ce6a957bb730c1bdb9fb46498e61e2d04cc1cdd861d796ac26f982ab505
|
|
113
113
|
*/
|
|
114
114
|
|
|
115
115
|
/** One pinned blind-surface stamp (the result-time sentinel object). */
|
|
@@ -3033,6 +3033,7 @@ declare class AutotaskClient {
|
|
|
3033
3033
|
readonly expenseReports: GenericResource<ExpenseReport, ExpenseReportCreate, ExpenseReportUpdate>;
|
|
3034
3034
|
readonly holidays: GenericResource<Holiday, HolidayCreate, HolidayUpdate>;
|
|
3035
3035
|
readonly holidaySets: GenericResource<HolidaySet, HolidaySetCreate, HolidaySetUpdate>;
|
|
3036
|
+
readonly internalLocations: GenericResource<InternalLocation, InternalLocationCreate, InternalLocationUpdate>;
|
|
3036
3037
|
readonly inventoryLocations: GenericResource<InventoryLocation, InventoryLocationCreate, InventoryLocationUpdate>;
|
|
3037
3038
|
readonly inventoryProducts: InventoryProductsResource;
|
|
3038
3039
|
readonly invoices: InvoicesResource;
|
|
@@ -3081,6 +3082,7 @@ declare class AutotaskClient {
|
|
|
3081
3082
|
readonly serviceCallTickets: GenericResource<ServiceCallTicket, ServiceCallTicketCreate, ServiceCallTicketUpdate>;
|
|
3082
3083
|
readonly serviceLevelAgreementResults: GenericResource<ServiceLevelAgreementResults, ServiceLevelAgreementResultsCreate, ServiceLevelAgreementResultsUpdate>;
|
|
3083
3084
|
readonly services: GenericResource<Service, ServiceCreate, ServiceUpdate>;
|
|
3085
|
+
readonly shippingTypes: GenericResource<ShippingType, ShippingTypeCreate, ShippingTypeUpdate>;
|
|
3084
3086
|
readonly skills: GenericResource<Skill, SkillCreate, SkillUpdate>;
|
|
3085
3087
|
readonly subscriptionPeriods: GenericResource<SubscriptionPeriod, SubscriptionPeriodCreate, SubscriptionPeriodUpdate>;
|
|
3086
3088
|
readonly subscriptions: GenericResource<Subscription, SubscriptionCreate, SubscriptionUpdate>;
|