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.
Files changed (39) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/MCP_TOOL_CATALOG.json +217 -9
  3. package/README.md +1 -1
  4. package/capabilities.json +873 -53
  5. package/dist/capabilities-data.js +872 -52
  6. package/dist/capabilities.cjs +4 -4
  7. package/dist/capabilities.js +1 -1
  8. package/dist/{chunk-OVIYLMGB.js → chunk-2GP7W6QB.js} +113 -12
  9. package/dist/{chunk-ZADTVF6M.js → chunk-43ADHLZJ.js} +3 -3
  10. package/dist/{chunk-4MPQ5CDB.cjs → chunk-5PUHGPKG.cjs} +200 -200
  11. package/dist/{chunk-SHJ7EOBW.cjs → chunk-KRYDLTY3.cjs} +3 -3
  12. package/dist/{chunk-YAXEPESA.cjs → chunk-RXXITZH4.cjs} +118 -17
  13. package/dist/{chunk-4EIN7AZJ.js → chunk-WAHRZDV4.js} +2 -2
  14. package/dist/{chunk-2PWAWWWM.js → chunk-Y2KXGSWM.js} +4 -2
  15. package/dist/{chunk-BRU7TZOD.cjs → chunk-YFC5VAKK.cjs} +32 -30
  16. package/dist/{index-CoTtEn8U.d.cts → index-BfGOllfY.d.cts} +4 -2
  17. package/dist/{index-Wh6bLfv_.d.ts → index-C3jXvpXZ.d.ts} +4 -2
  18. package/dist/{index-4jmitXBs.d.cts → index-Dy92Xbpv.d.cts} +75 -1
  19. package/dist/{index-4jmitXBs.d.ts → index-Dy92Xbpv.d.ts} +75 -1
  20. package/dist/index.cjs +85 -85
  21. package/dist/index.d.cts +3 -3
  22. package/dist/index.d.ts +3 -3
  23. package/dist/index.js +5 -5
  24. package/dist/operations/index.cjs +51 -51
  25. package/dist/operations/index.d.cts +4 -4
  26. package/dist/operations/index.d.ts +4 -4
  27. package/dist/operations/index.js +2 -2
  28. package/dist/pool.cjs +12 -12
  29. package/dist/pool.d.cts +1 -1
  30. package/dist/pool.d.ts +1 -1
  31. package/dist/pool.js +4 -4
  32. package/dist/resources/index.cjs +27 -27
  33. package/dist/resources/index.d.cts +2 -2
  34. package/dist/resources/index.d.ts +2 -2
  35. package/dist/resources/index.js +3 -3
  36. package/dist/types/index.d.cts +1 -1
  37. package/dist/types/index.d.ts +1 -1
  38. package/docs/API.md +4 -2
  39. package/package.json +1 -1
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var chunkSHJ7EOBW_cjs = require('./chunk-SHJ7EOBW.cjs');
3
+ var chunkKRYDLTY3_cjs = require('./chunk-KRYDLTY3.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "CAPABILITY_PLAN_HASHES", {
8
8
  enumerable: true,
9
- get: function () { return chunkSHJ7EOBW_cjs.CAPABILITY_PLAN_HASHES; }
9
+ get: function () { return chunkKRYDLTY3_cjs.CAPABILITY_PLAN_HASHES; }
10
10
  });
11
11
  Object.defineProperty(exports, "loadCapabilities", {
12
12
  enumerable: true,
13
- get: function () { return chunkSHJ7EOBW_cjs.loadCapabilities; }
13
+ get: function () { return chunkKRYDLTY3_cjs.loadCapabilities; }
14
14
  });
15
15
  Object.defineProperty(exports, "loadCapabilityRecords", {
16
16
  enumerable: true,
17
- get: function () { return chunkSHJ7EOBW_cjs.loadCapabilityRecords; }
17
+ get: function () { return chunkKRYDLTY3_cjs.loadCapabilityRecords; }
18
18
  });
@@ -1 +1 @@
1
- export { CAPABILITY_PLAN_HASHES, loadCapabilities, loadCapabilityRecords } from './chunk-ZADTVF6M.js';
1
+ export { CAPABILITY_PLAN_HASHES, loadCapabilities, loadCapabilityRecords } from './chunk-43ADHLZJ.js';
@@ -1,4 +1,4 @@
1
- import { loadCapabilityRecords } from './chunk-ZADTVF6M.js';
1
+ import { loadCapabilityRecords } from './chunk-43ADHLZJ.js';
2
2
  import { NoopLogger, REDACTED, deepMarkUntrusted, wrapUntrusted } from './chunk-X6VWD6WW.js';
3
3
  import { randomUUID, createHash } from 'crypto';
4
4
  import { AsyncLocalStorage } from 'async_hooks';
@@ -251,6 +251,7 @@ var SECRET_RESPONSE_FIELDS = [
251
251
  // IntegrationVendorInsightModel, IntegrationVendorWidgetModel
252
252
  ];
253
253
  var PERSONAL_RESPONSE_FIELDS = [
254
+ "additionalAddressInfo",
254
255
  "additionalAddressInformation",
255
256
  "additionalBillToAddressInformation",
256
257
  "additionalShipToAddressInformation",
@@ -9350,6 +9351,19 @@ var RELATIONSHIP_MAP = {
9350
9351
  "blindSurfaces": null,
9351
9352
  "zoneFacts": {
9352
9353
  "quirks": [
9354
+ {
9355
+ "kind": "vendor-managed-side-effect",
9356
+ "ops": [
9357
+ "query"
9358
+ ],
9359
+ "fields": [
9360
+ "billingApprovalDateTime",
9361
+ "billingApprovalResourceID",
9362
+ "billingApprovalLevelMostRecent"
9363
+ ],
9364
+ "statement": "Approval fields cannot establish posted status. A billing item referencing the entry through timeEntryID indicates it is posted.",
9365
+ "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."
9366
+ },
9353
9367
  {
9354
9368
  "kind": "wire-type",
9355
9369
  "ops": [
@@ -11003,6 +11017,48 @@ var RELATIONSHIP_MAP = {
11003
11017
  "proof": "spec-derived"
11004
11018
  },
11005
11019
  "markerField": null
11020
+ },
11021
+ "internal_locations": {
11022
+ "resource": "internal_locations",
11023
+ "apiEntity": "InternalLocation",
11024
+ "kind": "entity",
11025
+ "path": "InternalLocations",
11026
+ "parentScoped": false,
11027
+ "tier": "extended",
11028
+ "workflowResource": false,
11029
+ "group": "B",
11030
+ "parent": null,
11031
+ "children": [],
11032
+ "naturalKeys": {
11033
+ "hasSearch": false,
11034
+ "searchCovers": null,
11035
+ "findBy": []
11036
+ },
11037
+ "blindSurfaces": null,
11038
+ "zoneFacts": null,
11039
+ "deleteBoundary": null,
11040
+ "markerField": null
11041
+ },
11042
+ "shipping_types": {
11043
+ "resource": "shipping_types",
11044
+ "apiEntity": "ShippingType",
11045
+ "kind": "entity",
11046
+ "path": "ShippingTypes",
11047
+ "parentScoped": false,
11048
+ "tier": "extended",
11049
+ "workflowResource": false,
11050
+ "group": "B",
11051
+ "parent": null,
11052
+ "children": [],
11053
+ "naturalKeys": {
11054
+ "hasSearch": false,
11055
+ "searchCovers": null,
11056
+ "findBy": []
11057
+ },
11058
+ "blindSurfaces": null,
11059
+ "zoneFacts": null,
11060
+ "deleteBoundary": null,
11061
+ "markerField": null
11006
11062
  }
11007
11063
  };
11008
11064
  var BLIND_SURFACE_STAMPS = {
@@ -16439,6 +16495,16 @@ var UNTRUSTED_FIELDS_BY_RESOURCE = {
16439
16495
  ],
16440
16496
  "inventory_locations": [
16441
16497
  "locationName"
16498
+ ],
16499
+ "internal_locations": [
16500
+ "additionalAddressInfo",
16501
+ "country",
16502
+ "name",
16503
+ "timeZone"
16504
+ ],
16505
+ "shipping_types": [
16506
+ "description",
16507
+ "name"
16442
16508
  ]
16443
16509
  };
16444
16510
 
@@ -16898,9 +16964,9 @@ function isKnowledgeBaseRootResource(resource) {
16898
16964
  return resource === "knowledge_base_categories" || resource === "knowledge_base_articles";
16899
16965
  }
16900
16966
  function isExactRecordResource(resource) {
16901
- return resource === "inventory_locations" || isKnowledgeBaseRootResource(resource);
16967
+ return resource === "inventory_locations" || resource === "internal_locations" || resource === "shipping_types" || isKnowledgeBaseRootResource(resource);
16902
16968
  }
16903
- var EXACT_RECORD_PATH = /^\/v1\.0\/(?:InventoryLocations|KnowledgeBaseArticles|KnowledgeBaseCategories(?:\/\d+\/KnowledgeBaseArticles)?)(?:\/(query(?:\/(?:next|previous|count))?|\d+))?\/?$/i;
16969
+ var EXACT_RECORD_PATH = /^\/v1\.0\/(?:InventoryLocations|InternalLocations|ShippingTypes|KnowledgeBaseArticles|KnowledgeBaseCategories(?:\/\d+\/KnowledgeBaseArticles)?)(?:\/(query(?:\/(?:next|previous|count))?|\d+))?\/?$/i;
16904
16970
  function exactRecordResponseTarget(path, method, operation) {
16905
16971
  const match = EXACT_RECORD_PATH.exec(path);
16906
16972
  if (match === null) return void 0;
@@ -16922,6 +16988,9 @@ function receiptId(body) {
16922
16988
  function isNonNegativeInt64(id) {
16923
16989
  return typeof id === "number" ? Number.isSafeInteger(id) && id >= 0 : typeof id === "string" && isAuditDecimalId(id);
16924
16990
  }
16991
+ function isSignedInt64Token(token) {
16992
+ return token.startsWith("-") ? /^-[0-9]{1,19}$/.test(token) && BigInt(token) >= -9223372036854775808n : isAuditDecimalId(token);
16993
+ }
16925
16994
  function validateExactRecordResponse(body, target, path, method, requestBody, operation) {
16926
16995
  const invalid = (message) => {
16927
16996
  throw new AutotaskError(message, { code: "INVALID_RESPONSE", category: "server", operation, suggestedAction: INVALID_SHAPE_ACTION });
@@ -16962,7 +17031,7 @@ function validateExactRecordResponse(body, target, path, method, requestBody, op
16962
17031
  return invalid("Expected an item envelope with a valid record ID");
16963
17032
  }
16964
17033
  const entity = parts.at(-2)?.toLowerCase();
16965
- const resource = entity === "inventorylocations" ? "inventory location" : entity === "knowledgebasearticles" ? "article" : "category";
17034
+ const resource = entity === "inventorylocations" ? "inventory location" : entity === "knowledgebasearticles" ? "article" : entity === "knowledgebasecategories" ? "category" : "record";
16966
17035
  if (String(id) !== expectedId) {
16967
17036
  throw new AutotaskConfigError(`returned ${resource} id must match the requested id`, { operation });
16968
17037
  }
@@ -16984,7 +17053,7 @@ function serializeExactRecordUpdate(body, operation) {
16984
17053
  const { rawJSON } = JSON;
16985
17054
  return JSON.stringify({ ...body, id: rawJSON(body.id) });
16986
17055
  }
16987
- function decodeResponseJson(text, auditTarget, recordTarget) {
17056
+ function decodeResponseJson(text, auditTarget, recordTarget, path) {
16988
17057
  const target = auditTarget ?? recordTarget;
16989
17058
  if (target === void 0) return JSON.parse(text);
16990
17059
  if (target === "query/count") {
@@ -16992,10 +17061,13 @@ function decodeResponseJson(text, auditTarget, recordTarget) {
16992
17061
  }
16993
17062
  const idTokens = /* @__PURE__ */ new WeakMap();
16994
17063
  const receiptTokens = /* @__PURE__ */ new WeakMap();
17064
+ const holidaySetTokens = /* @__PURE__ */ new WeakMap();
17065
+ const internalLocations = path !== void 0 && /^\/v1\.0\/InternalLocations\//i.test(path);
16995
17066
  const body = JSON.parse(text, function(key, value, context) {
16996
17067
  if (typeof value === "number" && context?.source !== void 0) {
16997
17068
  if (key === "id") idTokens.set(this, context.source);
16998
17069
  if (key === "itemId" && target === "mutation") receiptTokens.set(this, context.source);
17070
+ if (internalLocations && key === "holidaySetId") holidaySetTokens.set(this, context.source);
16999
17071
  }
17000
17072
  return value;
17001
17073
  });
@@ -17003,6 +17075,10 @@ function decodeResponseJson(text, auditTarget, recordTarget) {
17003
17075
  if (Array.isArray(rows)) {
17004
17076
  for (const row of rows) {
17005
17077
  if (!isRecord2(row)) continue;
17078
+ const holidaySet = holidaySetTokens.get(row);
17079
+ if (holidaySet !== void 0 && !Number.isSafeInteger(row.holidaySetId) && isSignedInt64Token(holidaySet)) {
17080
+ row.holidaySetId = holidaySet;
17081
+ }
17006
17082
  const key = target === "mutation" && ownField(row, "itemId") !== void 0 ? "itemId" : "id";
17007
17083
  const value = ownField(row, key);
17008
17084
  if (typeof value !== "number") continue;
@@ -17062,7 +17138,7 @@ function attachEmptyReasonDetails(err) {
17062
17138
  } : {
17063
17139
  surface,
17064
17140
  kind: "not-found",
17065
- 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)`,
17141
+ 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)`,
17066
17142
  authority: `${resource}.query`,
17067
17143
  remedy: `query the ${resource} collection (a bounded queryBounded walk) or verify the id from the authority surface \u2014 do not retry the same get`
17068
17144
  };
@@ -17628,7 +17704,7 @@ var HttpClient = class {
17628
17704
  }
17629
17705
  let parsed;
17630
17706
  try {
17631
- parsed = decodeResponseJson(text, s.auditTarget, s.recordTarget);
17707
+ parsed = decodeResponseJson(text, s.auditTarget, s.recordTarget, decodeURIComponent(s.opts.path));
17632
17708
  } catch {
17633
17709
  return this.handleNonJson2xx(s, res, status, text);
17634
17710
  }
@@ -17853,7 +17929,7 @@ var HttpClient = class {
17853
17929
  if (queryRoute) {
17854
17930
  const audit = auditTarget === "query" || auditTarget === "query/count";
17855
17931
  const exactRecord = recordTarget === "query" || recordTarget === "query/count";
17856
- const recordLabel = /^\/v1\.0\/InventoryLocations\//i.test(route) ? "inventory location" : "Knowledge Base record";
17932
+ const recordLabel = /^\/v1\.0\/InventoryLocations\//i.test(route) ? "inventory location" : /^\/v1\.0\/KnowledgeBase/i.test(route) ? "Knowledge Base record" : "record";
17857
17933
  const exactIdLabel = audit ? "audit log" : exactRecord ? recordLabel : void 0;
17858
17934
  assertQueryFilters(opts, requestUrl, bodyText, exactIdLabel);
17859
17935
  }
@@ -18921,7 +18997,7 @@ function truncateNoteChars(items, cap, fields) {
18921
18997
  const copy = { ...item };
18922
18998
  for (const field of fields) {
18923
18999
  const v = copy[field];
18924
- if (typeof v === "string" && v.length > cap) {
19000
+ if (typeof v === "string" && v !== REDACTED && v.length > cap) {
18925
19001
  const end = cap > 0 && (v.charCodeAt(cap - 1) & 64512) === 55296 ? cap - 1 : cap;
18926
19002
  copy[field] = v.slice(0, end) + noteCharsTruncationMarker(v.length - end);
18927
19003
  truncated += 1;
@@ -20106,6 +20182,7 @@ var MODEL_FIELD_SETS = {
20106
20182
  "expense_reports": ["id", "amountDue", "approvedDate", "approverID", "departmentNumber", "internalCurrencyCashAdvanceAmount", "internalCurrencyExpenseTotal", "name", "organizationalLevelAssociationID", "quickBooksReferenceNumber", "reimbursementCurrencyAmountDue", "reimbursementCurrencyCashAdvanceAmount", "reimbursementCurrencyID", "rejectionReason", "status", "submit", "submitDate", "submitterID", "weekEnding"],
20107
20183
  "holiday_sets": ["id", "holidaySetDescription", "holidaySetName"],
20108
20184
  "holidays": ["id", "holidayDate", "holidayName", "holidaySetID", "soapParentPropertyId"],
20185
+ "internal_locations": ["id", "additionalAddressInfo", "address1", "address2", "city", "country", "holidaySetId", "isDefault", "name", "postalCode", "state", "timeZone"],
20109
20186
  "inventory_locations": ["id", "impersonatorCreatorResourceID", "isActive", "isDefault", "locationName", "resourceID"],
20110
20187
  "inventory_products": ["id", "availableUnits", "backOrderQuantity", "bin", "createDateTime", "createdByResourceID", "inventoryLocationID", "onHandUnits", "pickedUnits", "productID", "quantityMaximum", "quantityMinimum", "referenceNumber", "reservedUnits", "unitsOnOrder"],
20111
20188
  "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"],
@@ -20152,6 +20229,7 @@ var MODEL_FIELD_SETS = {
20152
20229
  "service_calls": ["id", "cancelationNoticeHours", "canceledByResourceID", "canceledDateTime", "companyID", "companyLocationID", "createDateTime", "creatorResourceID", "description", "duration", "endDateTime", "impersonatorCreatorResourceID", "isComplete", "lastModifiedDateTime", "startDateTime", "status"],
20153
20230
  "service_level_agreement_results": ["id", "firstResponseElapsedHours", "firstResponseInitiatingResourceID", "firstResponseResourceID", "isFirstResponseMet", "isResolutionMet", "isResolutionPlanMet", "resolutionElapsedHours", "resolutionPlanElapsedHours", "resolutionPlanResourceID", "resolutionResourceID", "serviceLevelAgreementName", "ticketID", "soapParentPropertyId"],
20154
20231
  "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"],
20232
+ "shipping_types": ["id", "billingCodeID", "description", "isActive", "name"],
20155
20233
  "skills": ["id", "categoryID", "description", "isActive", "name"],
20156
20234
  "subscription_periods": ["id", "periodCost", "periodDate", "periodPrice", "postedDate", "purchaseOrderNumber", "subscriptionID", "soapParentPropertyId"],
20157
20235
  "subscriptions": ["id", "configurationItemID", "description", "effectiveDate", "expirationDate", "impersonatorCreatorResourceID", "materialCodeID", "organizationalLevelAssociationID", "periodCost", "periodPrice", "periodType", "purchaseOrderNumber", "status", "subscriptionName", "totalCost", "totalPrice", "vendorID", "userDefinedFields"],
@@ -20455,11 +20533,14 @@ var ROW_FK_TABLES = {
20455
20533
  configurationItemCategoryID: "configurationItemCategory"
20456
20534
  };
20457
20535
  var isResourceFkField = (field) => field === "resourceID" || field.endsWith("ResourceID");
20536
+ function rowFkTable(resourceKey, field) {
20537
+ return resourceKey === "shipping_types" && field === "billingCodeID" ? void 0 : ROW_FK_TABLES[field];
20538
+ }
20458
20539
  function rowNamePlan(rows, resourceKey, picklistFields = []) {
20459
20540
  const builder = createNamePlan(picklistFields, resourceKey);
20460
20541
  for (const row of rows) {
20461
20542
  for (const [field, value] of Object.entries(row)) {
20462
- const table = ROW_FK_TABLES[field];
20543
+ const table = rowFkTable(resourceKey, field);
20463
20544
  if (table !== void 0) builder.addFk(table, value);
20464
20545
  else if (isResourceFkField(field)) builder.addResource(value);
20465
20546
  }
@@ -20497,7 +20578,7 @@ async function labelRows(client, resourceKey, rows) {
20497
20578
  if (!isAutotaskError(err) || err.code === "ABORTED") throw err;
20498
20579
  }
20499
20580
  }
20500
- const labelled = (field) => picklistFields.includes(field) || ROW_FK_TABLES[field] !== void 0 || isResourceFkField(field);
20581
+ const labelled = (field) => picklistFields.includes(field) || rowFkTable(resourceKey, field) !== void 0 || isResourceFkField(field);
20501
20582
  if (![...keys].some(labelled)) return { rows: [...rows] };
20502
20583
  const plan = rowNamePlan(rows, resourceKey, picklistFields);
20503
20584
  const names = plan.resourceIds.length === 0 && plan.recordFks.length === 0 && picklistFields.length === 0 ? void 0 : await resolveCompositeNames(client.http, plan);
@@ -20506,7 +20587,7 @@ async function labelRows(client, resourceKey, rows) {
20506
20587
  for (const [field, value] of Object.entries(row)) {
20507
20588
  const has2 = value !== null && value !== void 0 && names !== void 0;
20508
20589
  if (picklistFields.includes(field)) r[`${field}Label`] = has2 ? names.labelFor(field, value) : null;
20509
- const table = ROW_FK_TABLES[field];
20590
+ const table = rowFkTable(resourceKey, field);
20510
20591
  const set = has2 && (table === "company" || value !== 0 && value !== "0");
20511
20592
  if (table !== void 0) r[`${field}Name`] = set && isVendorId(value) ? untrustedName(names.recordName(table, value)) : null;
20512
20593
  else if (isResourceFkField(field)) r[`${field}Name`] = set && isVendorId(value) ? untrustedName(names.resourceName(value)) : null;
@@ -23845,6 +23926,16 @@ var SIMPLE_RESOURCES = [
23845
23926
  helpers: { search: false, resolve: true, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
23846
23927
  opForms: { get: "scoped", create: "scoped", update: "scoped", delete: "scoped" }
23847
23928
  },
23929
+ {
23930
+ key: "internal_locations",
23931
+ accessor: "internalLocations",
23932
+ resourcePath: "/V1.0/InternalLocations",
23933
+ deletable: false,
23934
+ udfCapable: false,
23935
+ ops: { query: true, queryAll: false, count: true, get: true, create: false, update: false, delete: false, getEntityInfo: true, getFieldInfo: true, getUdfInfo: true },
23936
+ helpers: { search: false, resolve: false, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
23937
+ opForms: { get: "global" }
23938
+ },
23848
23939
  {
23849
23940
  key: "inventory_locations",
23850
23941
  accessor: "inventoryLocations",
@@ -24343,6 +24434,16 @@ var SIMPLE_RESOURCES = [
24343
24434
  helpers: { search: true, resolve: true, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
24344
24435
  opForms: { get: "global", create: "global", update: "global" }
24345
24436
  },
24437
+ {
24438
+ key: "shipping_types",
24439
+ accessor: "shippingTypes",
24440
+ resourcePath: "/V1.0/ShippingTypes",
24441
+ deletable: false,
24442
+ udfCapable: false,
24443
+ ops: { query: true, queryAll: false, count: true, get: true, create: false, update: false, delete: false, getEntityInfo: true, getFieldInfo: true, getUdfInfo: true },
24444
+ helpers: { search: false, resolve: false, getContext: false, createIfNotExists: false, attachToDocument: false, findBy: [] },
24445
+ opForms: { get: "global" }
24446
+ },
24346
24447
  {
24347
24448
  key: "skills",
24348
24449
  accessor: "skills",
@@ -1,8 +1,8 @@
1
1
  // src/capabilities.ts
2
2
  var CAPABILITY_PLAN_HASHES = {
3
- "B": "911f1470a0ebbe66c39579e8d26d97253914f4fecfe3b8d69ee61bd1710be132",
4
- "A": "911f1470a0ebbe66c39579e8d26d97253914f4fecfe3b8d69ee61bd1710be132",
5
- "operations": "911f1470a0ebbe66c39579e8d26d97253914f4fecfe3b8d69ee61bd1710be132"
3
+ "B": "fe0c9ce6a957bb730c1bdb9fb46498e61e2d04cc1cdd861d796ac26f982ab505",
4
+ "A": "fe0c9ce6a957bb730c1bdb9fb46498e61e2d04cc1cdd861d796ac26f982ab505",
5
+ "operations": "fe0c9ce6a957bb730c1bdb9fb46498e61e2d04cc1cdd861d796ac26f982ab505"
6
6
  };
7
7
  var cached = null;
8
8
  function loadCapabilities() {