node-autotask 0.38.0 → 0.39.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/MCP_TOOL_CATALOG.json +2 -2
  3. package/MCP_TOOL_MANIFEST.md +7 -7
  4. package/N8N_MCP_MANIFEST.json +2 -2
  5. package/N8N_MCP_MANIFEST.md +3 -3
  6. package/capabilities.json +1460 -1429
  7. package/capabilities.schema.json +2 -1
  8. package/dist/capabilities.cjs +2 -2
  9. package/dist/capabilities.d.cts +4 -4
  10. package/dist/capabilities.d.ts +4 -4
  11. package/dist/capabilities.js +1 -1
  12. package/dist/{chunk-DCTUBUIZ.cjs → chunk-73QNAEAF.cjs} +143 -143
  13. package/dist/{chunk-IY3WCPCK.js → chunk-CQXB7KAO.js} +2 -2
  14. package/dist/{chunk-U3K6IDKB.js → chunk-GDSCYY2G.js} +1459 -1428
  15. package/dist/{chunk-7FNKFNIJ.cjs → chunk-GIVYTQ6R.cjs} +285 -285
  16. package/dist/{chunk-IY5QZZVF.cjs → chunk-LB34VFQY.cjs} +254 -143
  17. package/dist/{chunk-KPYXO7F5.js → chunk-LDTJNLX7.js} +2 -2
  18. package/dist/{chunk-4QHGCYEI.js → chunk-LN3HQQBR.js} +136 -25
  19. package/dist/{chunk-73JMTV4O.cjs → chunk-VR6RYXTD.cjs} +1459 -1428
  20. package/dist/{index-Q-4HQEEb.d.ts → index-C-Oqef4y.d.cts} +7170 -52
  21. package/dist/{index-BFbUB5YD.d.cts → index-C-Oqef4y.d.ts} +7170 -52
  22. package/dist/index.cjs +22 -22
  23. package/dist/index.d.cts +2 -4
  24. package/dist/index.d.ts +2 -4
  25. package/dist/index.js +4 -4
  26. package/dist/operations/index.cjs +181 -177
  27. package/dist/operations/index.d.cts +3 -172
  28. package/dist/operations/index.d.ts +3 -172
  29. package/dist/operations/index.js +6 -2
  30. package/dist/pool.cjs +9 -9
  31. package/dist/pool.d.cts +1 -2
  32. package/dist/pool.d.ts +1 -2
  33. package/dist/pool.js +4 -4
  34. package/dist/resources/index.cjs +4 -4
  35. package/dist/resources/index.d.cts +1 -2
  36. package/dist/resources/index.d.ts +1 -2
  37. package/dist/resources/index.js +3 -3
  38. package/dist/types/index.d.cts +1 -1
  39. package/dist/types/index.d.ts +1 -1
  40. package/docs/API.md +63 -8
  41. package/package.json +1 -1
  42. package/dist/index-BQVStxwi.d.cts +0 -6893
  43. package/dist/index-BQVStxwi.d.ts +0 -6893
@@ -1,7 +1,5 @@
1
- import { a as AutotaskClient, eF as BlindSurfaceInfo, eG as RelationshipResource, eH as BlindSurfaceInventory, eI as BlindSurfaceRow, eJ as CreateGuidanceValueRequirement, eK as CreateGuidanceRow, eL as CreateBlockerKind, eM as CreateGuidanceReport, Z as ZoneName, eN as FieldCacheKind, k as AutotaskConfigError } from '../index-BFbUB5YD.cjs';
2
- export { eO as FIELD_CACHE_KINDS } from '../index-BFbUB5YD.cjs';
3
- import { I as Identifier, hV as RowNamesSummary, cX as EmptyReasonInfo, e9 as PickListValue, a as FilterCondition } from '../index-BQVStxwi.cjs';
4
- export { hW as PICKLIST_VALUE_NOT_SERVED_NOTE } from '../index-BQVStxwi.cjs';
1
+ import { I as Identifier, np as RowNamesSummary, a as AutotaskClient, nq as BlindSurfaceInfo, f6 as EmptyReasonInfo, nr as RelationshipResource, ns as BlindSurfaceInventory, nt as BlindSurfaceRow, nu as CreateGuidanceValueRequirement, nv as CreateGuidanceRow, nw as CreateBlockerKind, nx as CreateGuidanceReport, Z as ZoneName, f as FilterCondition, L as AutotaskConfigError } from '../index-C-Oqef4y.cjs';
2
+ export { ny as DerivationRule, nz as FIELD_CACHE_KINDS, nA as FIELD_CATALOG_HONESTY_NOTE, nB as FieldCacheKind, nC as FieldCatalogCompactFieldRow, nD as FieldCatalogFieldRow, nE as FieldCatalogOptions, nF as FieldCatalogResult, nG as FieldCatalogRow, nH as FieldCatalogRowError, nI as FieldCatalogTrimKind, nJ as FieldCatalogTruncation, nK as FieldDerivation, nL as MAX_FIELD_CATALOG_WIRE, nM as MIN_FIELD_CATALOG_MAX_BYTES, nN as PICKLIST_CATALOG_UNAVAILABLE_NOTE, nO as PICKLIST_VALUE_NOT_SERVED_NOTE, nP as fieldCatalog } from '../index-C-Oqef4y.cjs';
5
3
  import { CapabilityRecord } from '../capabilities.cjs';
6
4
 
7
5
  /**
@@ -783,173 +781,6 @@ declare function resourceForEntityType(entityType: string | null | undefined): s
783
781
  */
784
782
  declare function isEnumerableResource(resource: string | null | undefined): boolean;
785
783
 
786
- /** The pinned wire cap: `resources × include` above it is refused
787
- * pre-request (CONFIG_ERROR naming the computed cost and the cap) —
788
- * refused, never truncated. */
789
- declare const MAX_FIELD_CATALOG_WIRE = 60;
790
- /** The stable honesty sentence served in the result (the live catalog
791
- * reports field SHAPE as FLAGS and NAMES; with the opt-in `labels: true`
792
- * the projected picklist rows carry the vendor's exposed picklist
793
- * VALUES; it cannot resolve a picklist VALUE the vendor does not expose
794
- * to this API user — the W-A4 wall). */
795
- declare const FIELD_CATALOG_HONESTY_NOTE: string;
796
- /** One projected field row (the stable, small served shape — not the raw
797
- * vendor blob; the raw one stays available through the resource's own
798
- * `getFieldInfo` / `getUdfInfo` op). */
799
- interface FieldCatalogFieldRow {
800
- /** The vendor field name. */
801
- name: string;
802
- /** The display label (UDF catalog rows only; vendor standard fields carry none). */
803
- label?: string;
804
- /** The vendor field type (`dataType` on standard fields, `type` on UDFs). */
805
- type: string;
806
- isRequired: boolean;
807
- isReadOnly: boolean;
808
- /** The vendor `isQueryable` flag — ABSENT on a UDF row: the vendor reports UDFs as queryable, but a filter on a UDF name is accepted only with the `udf: true` marker, so the row states the mechanism in `filterable` instead of a boolean the vendor contradicts (issue #219 N7). */
809
- isQueryable?: boolean;
810
- isPickList: boolean;
811
- /** Present exactly on a UDF row: the filter mechanism a consumer must send to filter on this name (`udf: true` in the filter condition) — never infer plain filterability from the vendor's `isQueryable` (issue #219 N7). */
812
- filterable?: 'udf-marker';
813
- /** The write shape for an object/array field: `merge` (a sent subset is merged — `userDefinedFields` is the proven case) or `replace-all` (the vendor's full-model PUT replaces the collection). Absent on scalar fields (issue #219 N7). */
814
- writeShape?: 'merge' | 'replace-all';
815
- /** The vendor `length` bound (null when the catalog names none). */
816
- maxLength: number | null;
817
- /** The referenced entity type for reference fields ('' when none). */
818
- referenceEntityType: string;
819
- /** The plan resource key the referenced entity names (`resourceForEntityType`), or `null` when the plan carries no such resource — the key a caller enumerates valid ids with (issue #219 N1). Never a remedy or an enumeration hint. */
820
- targetResource: string | null;
821
- /** True exactly when `targetResource` is a plan resource with a `query`/`get` read path (issue #219 N1) — always served, so a reference the vendor names but the plan cannot enumerate reads `false`, never `undefined`. */
822
- targetEnumerable: boolean;
823
- /** Present exactly when the plan declares this field DERIVED for the resource (issue #219 N8): the vendor overwrites or inherits the value, so a submitted one is not authoritative. Distinct from `isReadOnly` (never write at all) — a derived field can be absent from that list and still be recomputed. */
824
- derived?: DerivationRule;
825
- /** The vendor's exposed picklist VALUES, verbatim (present exactly when the `labels` opt is `true` and the vendor exposed values for this picklist field — the vendor-walled and non-picklist rows carry none). */
826
- picklistValues?: PickListValue[];
827
- }
828
- /** The derivation rule of one field (issue #219 N8) — a closed plan token, served without the field name it decorates. */
829
- interface DerivationRule {
830
- /** elapsed(<start>,<end>) (recomputed from those timestamps) | parent (inherited from the parent record) | mirror(<field>) (the vendor copies that field) | external (written by another entity's op — writableRoute names it). */
831
- rule: string;
832
- /** The op that actually writes the value (the external rule names it — billing_item_approval_levels.create for a time entry's approval level). */
833
- writableRoute?: string;
834
- }
835
- /** One declared derived field of a resource (issue #219 N8) — the declaration the plan pins. */
836
- interface FieldDerivation extends DerivationRule {
837
- /** The vendor field name. */
838
- field: string;
839
- }
840
- /** One per-resource fault (partial failures are typed PER ROW — never all-or-nothing). */
841
- interface FieldCatalogRowError {
842
- code: string;
843
- message: string;
844
- }
845
- /** One resource's catalog row. */
846
- interface FieldCatalogRow {
847
- /** The plan resource key. */
848
- resource: string;
849
- /** The vendor entity name (the path segment; plan-derived). */
850
- apiEntity: string;
851
- /** The plan resource's `udfCapable` flag, read from the registry record (`CapabilityRecord.udfCapable`, issue #254): true for the resources whose records carry `userDefinedFields`. Every vendor entity has a `getUdfInfo` catalog endpoint, so the `udf` include works on any row; that endpoint's presence does not make a resource UDF-capable. */
852
- udfCapable: boolean;
853
- /** The filter mechanism for a UDF name — present exactly when `udfCapable`: a filter on a UDF name is accepted only with the vendor's `udf: true` marker (a plain filter is refused), so the row states the marker rather than leaving a consumer to read the UDF rows' `isQueryable` (issue #219 N7). */
854
- udfFilter?: 'udf-marker';
855
- /** The write shape of a record's `userDefinedFields` collection — present exactly when `udfCapable`: the vendor MERGES a sent list, so a subset is correct (issue #219 N7). */
856
- udfWriteShape?: 'merge';
857
- /** The entity information model (present exactly when `info` was included and fetched). */
858
- info?: Record<string, unknown> | null;
859
- /** The plan's derived-field declaration for this resource (issue #219 N8) — present exactly when the plan declares any, in plan order; the same list the create guidance row and the describe channel serve. Read it before treating a submitted field value as authoritative. */
860
- derivedFields?: FieldDerivation[];
861
- /** The projected standard-field catalog (present exactly when `fields` was included and fetched; when the `fields` opt is given, only the matching rows — the requested names absent here land in `unmatchedFields`). */
862
- fields?: FieldCatalogFieldRow[];
863
- /** The requested `fields`-filter names absent from this resource's fields catalog (in request order); `[]` when no filter is given, when the row carries no fields catalog (an `info`/`udf`-only include or a row error), or when nothing was missing. Reported, never an error. */
864
- unmatchedFields: string[];
865
- /** The projected UDF catalog (present exactly when `udf` was included and fetched). */
866
- udf?: FieldCatalogFieldRow[] | null;
867
- /** Present exactly when a `fields` projection was applied (the `fields` opt was given): the four derived lists below then describe the PROJECTED set only. A full row omits the key (it never carries `false`). */
868
- projected?: true;
869
- /** `isRequired === true` names, in catalog order (the `fields` catalog). */
870
- required: string[];
871
- /** `isReadOnly === true` names, in catalog order. */
872
- readOnly: string[];
873
- /** `isQueryable === true` names, in catalog order. */
874
- queryable: string[];
875
- /** `isPickList === true` names, in catalog order — NAMES only (see `honesty`: the VALUES may be vendor-walled). */
876
- picklistFields: string[];
877
- /** The FieldCache state for this row: `hit` = every included kind was served from the cache (no wire for the row); `age` = the oldest entry's age in ms (null when `hit` is false). */
878
- cache: {
879
- hit: boolean;
880
- age: number | null;
881
- };
882
- /** The metadata reads this row issued (0 = fully cached; one per included kind otherwise — in-flight de-dup may make the actual wire smaller than this). */
883
- wire: number;
884
- /** The first per-kind failure (code + message); the sweep keeps going. */
885
- error: FieldCatalogRowError | null;
886
- }
887
- /** The sweep result. */
888
- interface FieldCatalogResult {
889
- /** The resolved client zone ('unknown' for a bare explicit baseUrl). */
890
- zone: string;
891
- /** The zone label (a live op has no plan-pinned tenant label — it mirrors `zone`). */
892
- label: string;
893
- /** Whether a FieldCache was configured at all. */
894
- cached: boolean;
895
- /** The resolved `labels` opt (the served payload names what it carries: `true` = the picklist rows may carry `picklistValues`). */
896
- labels: boolean;
897
- /** The configured TTL (null when no cache). */
898
- ttlMs: number | null;
899
- /** The call instant (ISO). */
900
- fetchedAt: string;
901
- /** One row per requested resource, in request order. */
902
- rows: FieldCatalogRow[];
903
- /** The metadata reads actually issued across the call (≤ `cap` by construction). */
904
- wireUsed: number;
905
- /** The wire cap the call ran under. */
906
- cap: number;
907
- /** Always false: over-cap requests REFUSE (CONFIG_ERROR) — they are never silently truncated. */
908
- truncated: false;
909
- counts: {
910
- /** The requested (deduplicated) resource count. */
911
- resources: number;
912
- /** The plan's `getFieldInfo`-bearing resource count (the field-capable set). */
913
- fieldCapableResources: number;
914
- /** The plan's `udfCapable` resource count (issue #254: the resources whose records carry `userDefinedFields` — not the wider set with a `getUdfInfo` catalog endpoint). */
915
- udfCapableResources: number;
916
- /** The rows served fully from the cache. */
917
- cached: number;
918
- };
919
- /** The honest scope: what the live catalog can and cannot report. */
920
- honesty: {
921
- /** The vendor's WIRE exposure of picklist values, informational only (orthogonal to the `labels` opt — it reports what the vendor exposed on the wire, not what the caller opted into): 'partial' when any row's raw vendor response carried picklist VALUES on the wire — computed over the full raw list, not the filtered subset; 'unexposed' otherwise. */
922
- picklistValues: 'unexposed' | 'partial';
923
- note: string;
924
- };
925
- }
926
- /** The optional call bag for `operations.fieldCatalog` (closed: unknown keys refuse). */
927
- interface FieldCatalogOptions {
928
- /** The plan resource keys to read. Omitted → the five workflow resources (never the full set — an on-demand op must not fan out 121 wire calls by default). */
929
- resources?: string[];
930
- /** What to fetch per resource (closed set `info` | `fields` | `udf`; default `['fields']`). */
931
- include?: FieldCacheKind[];
932
- /** Bypass the fieldCache for this call (fetch live, refresh the entries). Default false. */
933
- fresh?: boolean;
934
- /** The optional post-projection filter on the `fields`-kind rows only: keep the named fields (vendor names, trimmed, de-duplicated). Report-not-error: names absent from a resource's fields catalog land on that row's `unmatchedFields`, never an error; the `info` and `udf` rows are unaffected (the filter is a no-op on them). Applied after projection, on cache hits and wire reads alike — the cache entries stay the full raw list (zero extra wire, no invalidation). */
935
- fields?: string[];
936
- /** Opt-in: when `true`, the projected `fields`-kind and `udf`-kind picklist rows carry the vendor's exposed `picklistValues` (the raw vendor shape as-is — `{ value, label, parentValue?, isActive?, ... }`, `value` a string, zero transform) for the picklist fields. The W-A4 wall still applies (a value the vendor does not expose to this API user is not resolvable — retrying will not surface it). Default `false`: the rows carry no VALUES (today's exact output). Zero extra wire: the values ride the same cached raw rows. */
937
- labels?: boolean;
938
- }
939
- /**
940
- * Run the bounded live field-metadata sweep.
941
- *
942
- * ```ts
943
- * import { fieldCatalog } from 'node-autotask/operations';
944
- * const res = await fieldCatalog(client); // the 5 workflow resources, fields only
945
- * const fresh = await fieldCatalog(client, { resources: ['tickets'], include: ['fields', 'udf'], fresh: true });
946
- * ```
947
- *
948
- * @param client The wired client (the reads issue entityInformation GETs).
949
- * @param opts The call bag ({ resources?, include?, fresh?, fields?, labels? }).
950
- */
951
- declare function fieldCatalog(client: AutotaskClient, opts?: FieldCatalogOptions): Promise<FieldCatalogResult>;
952
-
953
784
  /** The pinned per-call id cap (mirrors `FETCH_BY_IDS_MAX_ITEMS` — the house bulk cap; over → pre-request refusal, zero wire). */
954
785
  declare const EXPAND_RESOURCE_NAMES_MAX_IDS = 500;
955
786
  interface ExpandResourceNamesOptions {
@@ -1233,4 +1064,4 @@ declare function invokeWrite(client: AutotaskClient, operation: string, args?: r
1233
1064
  */
1234
1065
  declare function invokeDelete(client: AutotaskClient, operation: string, args?: readonly unknown[] | Record<string, unknown>, opts?: InvokeOptions): Promise<unknown>;
1235
1066
 
1236
- export { AGGREGATE_DATE_BUCKETS, AGGREGATE_DEFAULT_LIMIT, AGGREGATE_DEFAULT_TOP, AGGREGATE_TOP_MAX, type AggregateGroup, type AggregateOptions, type AggregateResult, BLIND_SURFACE_KINDS, type BlindSurfaceKind, type BlindSurfaceOptions, BlindSurfaceRow, CREATE_BLOCKER_KINDS, type CreateGuidanceOptions, type DateBucket, type DerivationRule, ENTITY_TYPE_TO_RESOURCE, EXPAND_RESOURCE_NAMES_MAX_IDS, type EffectiveRequiredFields, type ExpandResourceNameRow, type ExpandResourceNamesOptions, type ExpandResourceNamesResult, FETCH_BY_IDS_CHUNK_SIZE, FETCH_BY_IDS_MAX_ITEMS, FETCH_MANY_MAX_ITEMS, FIELD_CATALOG_HONESTY_NOTE, type FetchByIdsOptions, type FetchManyItem, type FetchManyItemError, type FetchManyItemResult, type FetchManyOptions, type FetchManyResult, FieldCacheKind, type FieldCatalogFieldRow, type FieldCatalogOptions, type FieldCatalogResult, type FieldCatalogRow, type FieldCatalogRowError, type FieldDerivation, INVOKE_OPTION_KEYS, type InvokeMode, type InvokeOptions, MAX_FIELD_CATALOG_WIRE, PARAMS_BAG_KEYS, type ProbeReachabilityOptions, type ProbeReachabilityResult, type ProbeSurfaceRow, RECOVERY_CONFIRM, RECOVERY_DEFAULT_LIMIT, RECOVERY_MAX_LIMIT, type RecoveryDeleteBoundary, type RecoveryInput, type RecoveryMatch, type RecoveryOptions, type RecoveryResult, type RequiredFieldsRecord, type RequiredFieldsSource, type RequiredFieldsZoneFacts, type ResolveAnyOptions, type ResolveAnyResourceOutcome, type ResolveAnyResult, type RevenueRollupAmount, type RevenueRollupDimension, type RevenueRollupKey, type RevenueRollupNonChargeable, type RevenueRollupNonChargeableAmount, type RevenueRollupOptions, type RevenueRollupResult, type RevenueRollupRow, type SearchAcrossResourcesOptions, type SearchAcrossResourcesResult, type SearchAcrossResourcesRow, type ServedCreateGuidanceReport, type ServedCreateGuidanceRow, UI_LINK_ENTITIES, type UiLinkEntity, type UiLinkInput, type UiLinkResult, WORKFLOW_RESOURCES, aggregate, blindSurfaces, buildUiLink, createGuidance, dateBucketLabel, effectiveRequiredFields, expandResourceNames, fetchByIds, fetchMany, fieldCatalog, foldFlattenedOpts, invoke, invokeDelete, invokeRead, invokeWrite, isEnumerableResource, needsConfirmation, probeReachability, recovery, relationshipMap, resolveAny, resourceForEntityType, revenueRollup, searchAcrossResources, uiLink, unknownKeysRefusal, validateDispatchArgs, validateFetchManyItems, validateInvokeOptions, validateParamsBag };
1067
+ export { AGGREGATE_DATE_BUCKETS, AGGREGATE_DEFAULT_LIMIT, AGGREGATE_DEFAULT_TOP, AGGREGATE_TOP_MAX, type AggregateGroup, type AggregateOptions, type AggregateResult, BLIND_SURFACE_KINDS, type BlindSurfaceKind, type BlindSurfaceOptions, BlindSurfaceRow, CREATE_BLOCKER_KINDS, type CreateGuidanceOptions, type DateBucket, ENTITY_TYPE_TO_RESOURCE, EXPAND_RESOURCE_NAMES_MAX_IDS, type EffectiveRequiredFields, type ExpandResourceNameRow, type ExpandResourceNamesOptions, type ExpandResourceNamesResult, FETCH_BY_IDS_CHUNK_SIZE, FETCH_BY_IDS_MAX_ITEMS, FETCH_MANY_MAX_ITEMS, type FetchByIdsOptions, type FetchManyItem, type FetchManyItemError, type FetchManyItemResult, type FetchManyOptions, type FetchManyResult, INVOKE_OPTION_KEYS, type InvokeMode, type InvokeOptions, PARAMS_BAG_KEYS, type ProbeReachabilityOptions, type ProbeReachabilityResult, type ProbeSurfaceRow, RECOVERY_CONFIRM, RECOVERY_DEFAULT_LIMIT, RECOVERY_MAX_LIMIT, type RecoveryDeleteBoundary, type RecoveryInput, type RecoveryMatch, type RecoveryOptions, type RecoveryResult, type RequiredFieldsRecord, type RequiredFieldsSource, type RequiredFieldsZoneFacts, type ResolveAnyOptions, type ResolveAnyResourceOutcome, type ResolveAnyResult, type RevenueRollupAmount, type RevenueRollupDimension, type RevenueRollupKey, type RevenueRollupNonChargeable, type RevenueRollupNonChargeableAmount, type RevenueRollupOptions, type RevenueRollupResult, type RevenueRollupRow, RowNamesSummary, type SearchAcrossResourcesOptions, type SearchAcrossResourcesResult, type SearchAcrossResourcesRow, type ServedCreateGuidanceReport, type ServedCreateGuidanceRow, UI_LINK_ENTITIES, type UiLinkEntity, type UiLinkInput, type UiLinkResult, WORKFLOW_RESOURCES, aggregate, blindSurfaces, buildUiLink, createGuidance, dateBucketLabel, effectiveRequiredFields, expandResourceNames, fetchByIds, fetchMany, foldFlattenedOpts, invoke, invokeDelete, invokeRead, invokeWrite, isEnumerableResource, needsConfirmation, probeReachability, recovery, relationshipMap, resolveAny, resourceForEntityType, revenueRollup, searchAcrossResources, uiLink, unknownKeysRefusal, validateDispatchArgs, validateFetchManyItems, validateInvokeOptions, validateParamsBag };
@@ -1,7 +1,5 @@
1
- import { a as AutotaskClient, eF as BlindSurfaceInfo, eG as RelationshipResource, eH as BlindSurfaceInventory, eI as BlindSurfaceRow, eJ as CreateGuidanceValueRequirement, eK as CreateGuidanceRow, eL as CreateBlockerKind, eM as CreateGuidanceReport, Z as ZoneName, eN as FieldCacheKind, k as AutotaskConfigError } from '../index-Q-4HQEEb.js';
2
- export { eO as FIELD_CACHE_KINDS } from '../index-Q-4HQEEb.js';
3
- import { I as Identifier, hV as RowNamesSummary, cX as EmptyReasonInfo, e9 as PickListValue, a as FilterCondition } from '../index-BQVStxwi.js';
4
- export { hW as PICKLIST_VALUE_NOT_SERVED_NOTE } from '../index-BQVStxwi.js';
1
+ import { I as Identifier, np as RowNamesSummary, a as AutotaskClient, nq as BlindSurfaceInfo, f6 as EmptyReasonInfo, nr as RelationshipResource, ns as BlindSurfaceInventory, nt as BlindSurfaceRow, nu as CreateGuidanceValueRequirement, nv as CreateGuidanceRow, nw as CreateBlockerKind, nx as CreateGuidanceReport, Z as ZoneName, f as FilterCondition, L as AutotaskConfigError } from '../index-C-Oqef4y.js';
2
+ export { ny as DerivationRule, nz as FIELD_CACHE_KINDS, nA as FIELD_CATALOG_HONESTY_NOTE, nB as FieldCacheKind, nC as FieldCatalogCompactFieldRow, nD as FieldCatalogFieldRow, nE as FieldCatalogOptions, nF as FieldCatalogResult, nG as FieldCatalogRow, nH as FieldCatalogRowError, nI as FieldCatalogTrimKind, nJ as FieldCatalogTruncation, nK as FieldDerivation, nL as MAX_FIELD_CATALOG_WIRE, nM as MIN_FIELD_CATALOG_MAX_BYTES, nN as PICKLIST_CATALOG_UNAVAILABLE_NOTE, nO as PICKLIST_VALUE_NOT_SERVED_NOTE, nP as fieldCatalog } from '../index-C-Oqef4y.js';
5
3
  import { CapabilityRecord } from '../capabilities.js';
6
4
 
7
5
  /**
@@ -783,173 +781,6 @@ declare function resourceForEntityType(entityType: string | null | undefined): s
783
781
  */
784
782
  declare function isEnumerableResource(resource: string | null | undefined): boolean;
785
783
 
786
- /** The pinned wire cap: `resources × include` above it is refused
787
- * pre-request (CONFIG_ERROR naming the computed cost and the cap) —
788
- * refused, never truncated. */
789
- declare const MAX_FIELD_CATALOG_WIRE = 60;
790
- /** The stable honesty sentence served in the result (the live catalog
791
- * reports field SHAPE as FLAGS and NAMES; with the opt-in `labels: true`
792
- * the projected picklist rows carry the vendor's exposed picklist
793
- * VALUES; it cannot resolve a picklist VALUE the vendor does not expose
794
- * to this API user — the W-A4 wall). */
795
- declare const FIELD_CATALOG_HONESTY_NOTE: string;
796
- /** One projected field row (the stable, small served shape — not the raw
797
- * vendor blob; the raw one stays available through the resource's own
798
- * `getFieldInfo` / `getUdfInfo` op). */
799
- interface FieldCatalogFieldRow {
800
- /** The vendor field name. */
801
- name: string;
802
- /** The display label (UDF catalog rows only; vendor standard fields carry none). */
803
- label?: string;
804
- /** The vendor field type (`dataType` on standard fields, `type` on UDFs). */
805
- type: string;
806
- isRequired: boolean;
807
- isReadOnly: boolean;
808
- /** The vendor `isQueryable` flag — ABSENT on a UDF row: the vendor reports UDFs as queryable, but a filter on a UDF name is accepted only with the `udf: true` marker, so the row states the mechanism in `filterable` instead of a boolean the vendor contradicts (issue #219 N7). */
809
- isQueryable?: boolean;
810
- isPickList: boolean;
811
- /** Present exactly on a UDF row: the filter mechanism a consumer must send to filter on this name (`udf: true` in the filter condition) — never infer plain filterability from the vendor's `isQueryable` (issue #219 N7). */
812
- filterable?: 'udf-marker';
813
- /** The write shape for an object/array field: `merge` (a sent subset is merged — `userDefinedFields` is the proven case) or `replace-all` (the vendor's full-model PUT replaces the collection). Absent on scalar fields (issue #219 N7). */
814
- writeShape?: 'merge' | 'replace-all';
815
- /** The vendor `length` bound (null when the catalog names none). */
816
- maxLength: number | null;
817
- /** The referenced entity type for reference fields ('' when none). */
818
- referenceEntityType: string;
819
- /** The plan resource key the referenced entity names (`resourceForEntityType`), or `null` when the plan carries no such resource — the key a caller enumerates valid ids with (issue #219 N1). Never a remedy or an enumeration hint. */
820
- targetResource: string | null;
821
- /** True exactly when `targetResource` is a plan resource with a `query`/`get` read path (issue #219 N1) — always served, so a reference the vendor names but the plan cannot enumerate reads `false`, never `undefined`. */
822
- targetEnumerable: boolean;
823
- /** Present exactly when the plan declares this field DERIVED for the resource (issue #219 N8): the vendor overwrites or inherits the value, so a submitted one is not authoritative. Distinct from `isReadOnly` (never write at all) — a derived field can be absent from that list and still be recomputed. */
824
- derived?: DerivationRule;
825
- /** The vendor's exposed picklist VALUES, verbatim (present exactly when the `labels` opt is `true` and the vendor exposed values for this picklist field — the vendor-walled and non-picklist rows carry none). */
826
- picklistValues?: PickListValue[];
827
- }
828
- /** The derivation rule of one field (issue #219 N8) — a closed plan token, served without the field name it decorates. */
829
- interface DerivationRule {
830
- /** elapsed(<start>,<end>) (recomputed from those timestamps) | parent (inherited from the parent record) | mirror(<field>) (the vendor copies that field) | external (written by another entity's op — writableRoute names it). */
831
- rule: string;
832
- /** The op that actually writes the value (the external rule names it — billing_item_approval_levels.create for a time entry's approval level). */
833
- writableRoute?: string;
834
- }
835
- /** One declared derived field of a resource (issue #219 N8) — the declaration the plan pins. */
836
- interface FieldDerivation extends DerivationRule {
837
- /** The vendor field name. */
838
- field: string;
839
- }
840
- /** One per-resource fault (partial failures are typed PER ROW — never all-or-nothing). */
841
- interface FieldCatalogRowError {
842
- code: string;
843
- message: string;
844
- }
845
- /** One resource's catalog row. */
846
- interface FieldCatalogRow {
847
- /** The plan resource key. */
848
- resource: string;
849
- /** The vendor entity name (the path segment; plan-derived). */
850
- apiEntity: string;
851
- /** The plan resource's `udfCapable` flag, read from the registry record (`CapabilityRecord.udfCapable`, issue #254): true for the resources whose records carry `userDefinedFields`. Every vendor entity has a `getUdfInfo` catalog endpoint, so the `udf` include works on any row; that endpoint's presence does not make a resource UDF-capable. */
852
- udfCapable: boolean;
853
- /** The filter mechanism for a UDF name — present exactly when `udfCapable`: a filter on a UDF name is accepted only with the vendor's `udf: true` marker (a plain filter is refused), so the row states the marker rather than leaving a consumer to read the UDF rows' `isQueryable` (issue #219 N7). */
854
- udfFilter?: 'udf-marker';
855
- /** The write shape of a record's `userDefinedFields` collection — present exactly when `udfCapable`: the vendor MERGES a sent list, so a subset is correct (issue #219 N7). */
856
- udfWriteShape?: 'merge';
857
- /** The entity information model (present exactly when `info` was included and fetched). */
858
- info?: Record<string, unknown> | null;
859
- /** The plan's derived-field declaration for this resource (issue #219 N8) — present exactly when the plan declares any, in plan order; the same list the create guidance row and the describe channel serve. Read it before treating a submitted field value as authoritative. */
860
- derivedFields?: FieldDerivation[];
861
- /** The projected standard-field catalog (present exactly when `fields` was included and fetched; when the `fields` opt is given, only the matching rows — the requested names absent here land in `unmatchedFields`). */
862
- fields?: FieldCatalogFieldRow[];
863
- /** The requested `fields`-filter names absent from this resource's fields catalog (in request order); `[]` when no filter is given, when the row carries no fields catalog (an `info`/`udf`-only include or a row error), or when nothing was missing. Reported, never an error. */
864
- unmatchedFields: string[];
865
- /** The projected UDF catalog (present exactly when `udf` was included and fetched). */
866
- udf?: FieldCatalogFieldRow[] | null;
867
- /** Present exactly when a `fields` projection was applied (the `fields` opt was given): the four derived lists below then describe the PROJECTED set only. A full row omits the key (it never carries `false`). */
868
- projected?: true;
869
- /** `isRequired === true` names, in catalog order (the `fields` catalog). */
870
- required: string[];
871
- /** `isReadOnly === true` names, in catalog order. */
872
- readOnly: string[];
873
- /** `isQueryable === true` names, in catalog order. */
874
- queryable: string[];
875
- /** `isPickList === true` names, in catalog order — NAMES only (see `honesty`: the VALUES may be vendor-walled). */
876
- picklistFields: string[];
877
- /** The FieldCache state for this row: `hit` = every included kind was served from the cache (no wire for the row); `age` = the oldest entry's age in ms (null when `hit` is false). */
878
- cache: {
879
- hit: boolean;
880
- age: number | null;
881
- };
882
- /** The metadata reads this row issued (0 = fully cached; one per included kind otherwise — in-flight de-dup may make the actual wire smaller than this). */
883
- wire: number;
884
- /** The first per-kind failure (code + message); the sweep keeps going. */
885
- error: FieldCatalogRowError | null;
886
- }
887
- /** The sweep result. */
888
- interface FieldCatalogResult {
889
- /** The resolved client zone ('unknown' for a bare explicit baseUrl). */
890
- zone: string;
891
- /** The zone label (a live op has no plan-pinned tenant label — it mirrors `zone`). */
892
- label: string;
893
- /** Whether a FieldCache was configured at all. */
894
- cached: boolean;
895
- /** The resolved `labels` opt (the served payload names what it carries: `true` = the picklist rows may carry `picklistValues`). */
896
- labels: boolean;
897
- /** The configured TTL (null when no cache). */
898
- ttlMs: number | null;
899
- /** The call instant (ISO). */
900
- fetchedAt: string;
901
- /** One row per requested resource, in request order. */
902
- rows: FieldCatalogRow[];
903
- /** The metadata reads actually issued across the call (≤ `cap` by construction). */
904
- wireUsed: number;
905
- /** The wire cap the call ran under. */
906
- cap: number;
907
- /** Always false: over-cap requests REFUSE (CONFIG_ERROR) — they are never silently truncated. */
908
- truncated: false;
909
- counts: {
910
- /** The requested (deduplicated) resource count. */
911
- resources: number;
912
- /** The plan's `getFieldInfo`-bearing resource count (the field-capable set). */
913
- fieldCapableResources: number;
914
- /** The plan's `udfCapable` resource count (issue #254: the resources whose records carry `userDefinedFields` — not the wider set with a `getUdfInfo` catalog endpoint). */
915
- udfCapableResources: number;
916
- /** The rows served fully from the cache. */
917
- cached: number;
918
- };
919
- /** The honest scope: what the live catalog can and cannot report. */
920
- honesty: {
921
- /** The vendor's WIRE exposure of picklist values, informational only (orthogonal to the `labels` opt — it reports what the vendor exposed on the wire, not what the caller opted into): 'partial' when any row's raw vendor response carried picklist VALUES on the wire — computed over the full raw list, not the filtered subset; 'unexposed' otherwise. */
922
- picklistValues: 'unexposed' | 'partial';
923
- note: string;
924
- };
925
- }
926
- /** The optional call bag for `operations.fieldCatalog` (closed: unknown keys refuse). */
927
- interface FieldCatalogOptions {
928
- /** The plan resource keys to read. Omitted → the five workflow resources (never the full set — an on-demand op must not fan out 121 wire calls by default). */
929
- resources?: string[];
930
- /** What to fetch per resource (closed set `info` | `fields` | `udf`; default `['fields']`). */
931
- include?: FieldCacheKind[];
932
- /** Bypass the fieldCache for this call (fetch live, refresh the entries). Default false. */
933
- fresh?: boolean;
934
- /** The optional post-projection filter on the `fields`-kind rows only: keep the named fields (vendor names, trimmed, de-duplicated). Report-not-error: names absent from a resource's fields catalog land on that row's `unmatchedFields`, never an error; the `info` and `udf` rows are unaffected (the filter is a no-op on them). Applied after projection, on cache hits and wire reads alike — the cache entries stay the full raw list (zero extra wire, no invalidation). */
935
- fields?: string[];
936
- /** Opt-in: when `true`, the projected `fields`-kind and `udf`-kind picklist rows carry the vendor's exposed `picklistValues` (the raw vendor shape as-is — `{ value, label, parentValue?, isActive?, ... }`, `value` a string, zero transform) for the picklist fields. The W-A4 wall still applies (a value the vendor does not expose to this API user is not resolvable — retrying will not surface it). Default `false`: the rows carry no VALUES (today's exact output). Zero extra wire: the values ride the same cached raw rows. */
937
- labels?: boolean;
938
- }
939
- /**
940
- * Run the bounded live field-metadata sweep.
941
- *
942
- * ```ts
943
- * import { fieldCatalog } from 'node-autotask/operations';
944
- * const res = await fieldCatalog(client); // the 5 workflow resources, fields only
945
- * const fresh = await fieldCatalog(client, { resources: ['tickets'], include: ['fields', 'udf'], fresh: true });
946
- * ```
947
- *
948
- * @param client The wired client (the reads issue entityInformation GETs).
949
- * @param opts The call bag ({ resources?, include?, fresh?, fields?, labels? }).
950
- */
951
- declare function fieldCatalog(client: AutotaskClient, opts?: FieldCatalogOptions): Promise<FieldCatalogResult>;
952
-
953
784
  /** The pinned per-call id cap (mirrors `FETCH_BY_IDS_MAX_ITEMS` — the house bulk cap; over → pre-request refusal, zero wire). */
954
785
  declare const EXPAND_RESOURCE_NAMES_MAX_IDS = 500;
955
786
  interface ExpandResourceNamesOptions {
@@ -1233,4 +1064,4 @@ declare function invokeWrite(client: AutotaskClient, operation: string, args?: r
1233
1064
  */
1234
1065
  declare function invokeDelete(client: AutotaskClient, operation: string, args?: readonly unknown[] | Record<string, unknown>, opts?: InvokeOptions): Promise<unknown>;
1235
1066
 
1236
- export { AGGREGATE_DATE_BUCKETS, AGGREGATE_DEFAULT_LIMIT, AGGREGATE_DEFAULT_TOP, AGGREGATE_TOP_MAX, type AggregateGroup, type AggregateOptions, type AggregateResult, BLIND_SURFACE_KINDS, type BlindSurfaceKind, type BlindSurfaceOptions, BlindSurfaceRow, CREATE_BLOCKER_KINDS, type CreateGuidanceOptions, type DateBucket, type DerivationRule, ENTITY_TYPE_TO_RESOURCE, EXPAND_RESOURCE_NAMES_MAX_IDS, type EffectiveRequiredFields, type ExpandResourceNameRow, type ExpandResourceNamesOptions, type ExpandResourceNamesResult, FETCH_BY_IDS_CHUNK_SIZE, FETCH_BY_IDS_MAX_ITEMS, FETCH_MANY_MAX_ITEMS, FIELD_CATALOG_HONESTY_NOTE, type FetchByIdsOptions, type FetchManyItem, type FetchManyItemError, type FetchManyItemResult, type FetchManyOptions, type FetchManyResult, FieldCacheKind, type FieldCatalogFieldRow, type FieldCatalogOptions, type FieldCatalogResult, type FieldCatalogRow, type FieldCatalogRowError, type FieldDerivation, INVOKE_OPTION_KEYS, type InvokeMode, type InvokeOptions, MAX_FIELD_CATALOG_WIRE, PARAMS_BAG_KEYS, type ProbeReachabilityOptions, type ProbeReachabilityResult, type ProbeSurfaceRow, RECOVERY_CONFIRM, RECOVERY_DEFAULT_LIMIT, RECOVERY_MAX_LIMIT, type RecoveryDeleteBoundary, type RecoveryInput, type RecoveryMatch, type RecoveryOptions, type RecoveryResult, type RequiredFieldsRecord, type RequiredFieldsSource, type RequiredFieldsZoneFacts, type ResolveAnyOptions, type ResolveAnyResourceOutcome, type ResolveAnyResult, type RevenueRollupAmount, type RevenueRollupDimension, type RevenueRollupKey, type RevenueRollupNonChargeable, type RevenueRollupNonChargeableAmount, type RevenueRollupOptions, type RevenueRollupResult, type RevenueRollupRow, type SearchAcrossResourcesOptions, type SearchAcrossResourcesResult, type SearchAcrossResourcesRow, type ServedCreateGuidanceReport, type ServedCreateGuidanceRow, UI_LINK_ENTITIES, type UiLinkEntity, type UiLinkInput, type UiLinkResult, WORKFLOW_RESOURCES, aggregate, blindSurfaces, buildUiLink, createGuidance, dateBucketLabel, effectiveRequiredFields, expandResourceNames, fetchByIds, fetchMany, fieldCatalog, foldFlattenedOpts, invoke, invokeDelete, invokeRead, invokeWrite, isEnumerableResource, needsConfirmation, probeReachability, recovery, relationshipMap, resolveAny, resourceForEntityType, revenueRollup, searchAcrossResources, uiLink, unknownKeysRefusal, validateDispatchArgs, validateFetchManyItems, validateInvokeOptions, validateParamsBag };
1067
+ export { AGGREGATE_DATE_BUCKETS, AGGREGATE_DEFAULT_LIMIT, AGGREGATE_DEFAULT_TOP, AGGREGATE_TOP_MAX, type AggregateGroup, type AggregateOptions, type AggregateResult, BLIND_SURFACE_KINDS, type BlindSurfaceKind, type BlindSurfaceOptions, BlindSurfaceRow, CREATE_BLOCKER_KINDS, type CreateGuidanceOptions, type DateBucket, ENTITY_TYPE_TO_RESOURCE, EXPAND_RESOURCE_NAMES_MAX_IDS, type EffectiveRequiredFields, type ExpandResourceNameRow, type ExpandResourceNamesOptions, type ExpandResourceNamesResult, FETCH_BY_IDS_CHUNK_SIZE, FETCH_BY_IDS_MAX_ITEMS, FETCH_MANY_MAX_ITEMS, type FetchByIdsOptions, type FetchManyItem, type FetchManyItemError, type FetchManyItemResult, type FetchManyOptions, type FetchManyResult, INVOKE_OPTION_KEYS, type InvokeMode, type InvokeOptions, PARAMS_BAG_KEYS, type ProbeReachabilityOptions, type ProbeReachabilityResult, type ProbeSurfaceRow, RECOVERY_CONFIRM, RECOVERY_DEFAULT_LIMIT, RECOVERY_MAX_LIMIT, type RecoveryDeleteBoundary, type RecoveryInput, type RecoveryMatch, type RecoveryOptions, type RecoveryResult, type RequiredFieldsRecord, type RequiredFieldsSource, type RequiredFieldsZoneFacts, type ResolveAnyOptions, type ResolveAnyResourceOutcome, type ResolveAnyResult, type RevenueRollupAmount, type RevenueRollupDimension, type RevenueRollupKey, type RevenueRollupNonChargeable, type RevenueRollupNonChargeableAmount, type RevenueRollupOptions, type RevenueRollupResult, type RevenueRollupRow, RowNamesSummary, type SearchAcrossResourcesOptions, type SearchAcrossResourcesResult, type SearchAcrossResourcesRow, type ServedCreateGuidanceReport, type ServedCreateGuidanceRow, UI_LINK_ENTITIES, type UiLinkEntity, type UiLinkInput, type UiLinkResult, WORKFLOW_RESOURCES, aggregate, blindSurfaces, buildUiLink, createGuidance, dateBucketLabel, effectiveRequiredFields, expandResourceNames, fetchByIds, fetchMany, foldFlattenedOpts, invoke, invokeDelete, invokeRead, invokeWrite, isEnumerableResource, needsConfirmation, probeReachability, recovery, relationshipMap, resolveAny, resourceForEntityType, revenueRollup, searchAcrossResources, uiLink, unknownKeysRefusal, validateDispatchArgs, validateFetchManyItems, validateInvokeOptions, validateParamsBag };
@@ -22,12 +22,14 @@ import {
22
22
  InvoicesResource,
23
23
  MARKER_FIELDS,
24
24
  MAX_FIELD_CATALOG_WIRE,
25
+ MIN_FIELD_CATALOG_MAX_BYTES,
25
26
  MODEL_DATE_FIELDS,
26
27
  MarkerUnsafeIdError,
27
28
  NotFoundError,
28
29
  OrganizationalLevel1sResource,
29
30
  OrganizationalLevel2sResource,
30
31
  OrganizationalLevelAssociationsResource,
32
+ PICKLIST_CATALOG_UNAVAILABLE_NOTE,
31
33
  PICKLIST_VALUE_NOT_SERVED_NOTE,
32
34
  PROFITABILITY_MAX_WINDOW_MONTHS,
33
35
  REACHABILITY_PROBE_DEFAULTS,
@@ -67,10 +69,10 @@ import {
67
69
  uiLink,
68
70
  validateFetchManyItems,
69
71
  validateQueryFieldNames
70
- } from "../chunk-4QHGCYEI.js";
72
+ } from "../chunk-LN3HQQBR.js";
71
73
  import {
72
74
  CAPABILITIES
73
- } from "../chunk-U3K6IDKB.js";
75
+ } from "../chunk-GDSCYY2G.js";
74
76
  import "../chunk-5VHSLJMR.js";
75
77
 
76
78
  // src/operations/searchAcrossResources.ts
@@ -2154,7 +2156,9 @@ export {
2154
2156
  FIELD_CATALOG_HONESTY_NOTE,
2155
2157
  INVOKE_OPTION_KEYS,
2156
2158
  MAX_FIELD_CATALOG_WIRE,
2159
+ MIN_FIELD_CATALOG_MAX_BYTES,
2157
2160
  PARAMS_BAG_KEYS,
2161
+ PICKLIST_CATALOG_UNAVAILABLE_NOTE,
2158
2162
  PICKLIST_VALUE_NOT_SERVED_NOTE,
2159
2163
  RECOVERY_CONFIRM,
2160
2164
  RECOVERY_DEFAULT_LIMIT,
package/dist/pool.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkDCTUBUIZcjs = require('./chunk-DCTUBUIZ.cjs');
4
- require('./chunk-7FNKFNIJ.cjs');
3
+ var _chunk73QNAEAFcjs = require('./chunk-73QNAEAF.cjs');
4
+ require('./chunk-GIVYTQ6R.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunkIY5QZZVFcjs = require('./chunk-IY5QZZVF.cjs');
10
- require('./chunk-73JMTV4O.cjs');
9
+ var _chunkLB34VFQYcjs = require('./chunk-LB34VFQY.cjs');
10
+ require('./chunk-VR6RYXTD.cjs');
11
11
  require('./chunk-MJTKK3QG.cjs');
12
12
 
13
13
  // src/pool.ts
@@ -33,17 +33,17 @@ function cacheSignature(config) {
33
33
  function createClientPool(options = {}) {
34
34
  const maxSize = _nullishCoalesce(options.maxSize, () => ( 128));
35
35
  if (!Number.isInteger(maxSize) || maxSize < 1) {
36
- throw new (0, _chunkIY5QZZVFcjs.AutotaskConfigError)(
36
+ throw new (0, _chunkLB34VFQYcjs.AutotaskConfigError)(
37
37
  `ClientPool maxSize must be a positive integer (got ${String(options.maxSize)})`
38
38
  );
39
39
  }
40
40
  const idleTtlMs = options.idleTtlMs;
41
41
  if (idleTtlMs !== void 0 && (!Number.isInteger(idleTtlMs) || idleTtlMs < 1)) {
42
- throw new (0, _chunkIY5QZZVFcjs.AutotaskConfigError)(
42
+ throw new (0, _chunkLB34VFQYcjs.AutotaskConfigError)(
43
43
  `ClientPool idleTtlMs must be a positive integer (got ${String(idleTtlMs)})`
44
44
  );
45
45
  }
46
- const factory = _nullishCoalesce(options.factory, () => ( ((config) => new (0, _chunkDCTUBUIZcjs.AutotaskClient)(config))));
46
+ const factory = _nullishCoalesce(options.factory, () => ( ((config) => new (0, _chunk73QNAEAFcjs.AutotaskClient)(config))));
47
47
  const sharedReadCache = options.sharedReadCache !== false;
48
48
  const entries = /* @__PURE__ */ new Map();
49
49
  const readCaches = /* @__PURE__ */ new Map();
@@ -55,7 +55,7 @@ function createClientPool(options = {}) {
55
55
  readCaches.set(key, existing);
56
56
  return existing;
57
57
  }
58
- const created = _chunkIY5QZZVFcjs.buildReadCache.call(void 0, config);
58
+ const created = _chunkLB34VFQYcjs.buildReadCache.call(void 0, config);
59
59
  if (created === void 0) return void 0;
60
60
  readCaches.set(key, created);
61
61
  while (readCaches.size > maxSize) {
@@ -70,7 +70,7 @@ function createClientPool(options = {}) {
70
70
  return { ...config, cache: { ..._nullishCoalesce(config.cache, () => ( {})), store } };
71
71
  }
72
72
  function keyFor(config) {
73
- const resolved = _chunkIY5QZZVFcjs.resolveCredentials.call(void 0, config);
73
+ const resolved = _chunkLB34VFQYcjs.resolveCredentials.call(void 0, config);
74
74
  const tuple = [
75
75
  resolved.userName,
76
76
  resolved.apiIntegrationCode,
package/dist/pool.d.cts CHANGED
@@ -1,5 +1,4 @@
1
- import { A as AutotaskConfig, a as AutotaskClient } from './index-BFbUB5YD.cjs';
2
- import './index-BQVStxwi.cjs';
1
+ import { A as AutotaskConfig, a as AutotaskClient } from './index-C-Oqef4y.cjs';
3
2
 
4
3
  interface ClientPoolOptions {
5
4
  /** Bounded LRU capacity (positive integer). Default 128. */
package/dist/pool.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- import { A as AutotaskConfig, a as AutotaskClient } from './index-Q-4HQEEb.js';
2
- import './index-BQVStxwi.js';
1
+ import { A as AutotaskConfig, a as AutotaskClient } from './index-C-Oqef4y.js';
3
2
 
4
3
  interface ClientPoolOptions {
5
4
  /** Bounded LRU capacity (positive integer). Default 128. */
package/dist/pool.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  AutotaskClient
3
- } from "./chunk-IY3WCPCK.js";
4
- import "./chunk-KPYXO7F5.js";
3
+ } from "./chunk-CQXB7KAO.js";
4
+ import "./chunk-LDTJNLX7.js";
5
5
  import {
6
6
  AutotaskConfigError,
7
7
  buildReadCache,
8
8
  resolveCredentials
9
- } from "./chunk-4QHGCYEI.js";
10
- import "./chunk-U3K6IDKB.js";
9
+ } from "./chunk-LN3HQQBR.js";
10
+ import "./chunk-GDSCYY2G.js";
11
11
  import "./chunk-5VHSLJMR.js";
12
12
 
13
13
  // src/pool.ts
@@ -126,7 +126,7 @@
126
126
 
127
127
 
128
128
 
129
- var _chunk7FNKFNIJcjs = require('../chunk-7FNKFNIJ.cjs');
129
+ var _chunkGIVYTQ6Rcjs = require('../chunk-GIVYTQ6R.cjs');
130
130
 
131
131
 
132
132
 
@@ -138,8 +138,8 @@ var _chunk7FNKFNIJcjs = require('../chunk-7FNKFNIJ.cjs');
138
138
 
139
139
 
140
140
 
141
- var _chunkIY5QZZVFcjs = require('../chunk-IY5QZZVF.cjs');
142
- require('../chunk-73JMTV4O.cjs');
141
+ var _chunkLB34VFQYcjs = require('../chunk-LB34VFQY.cjs');
142
+ require('../chunk-VR6RYXTD.cjs');
143
143
  require('../chunk-MJTKK3QG.cjs');
144
144
 
145
145
 
@@ -278,4 +278,4 @@ require('../chunk-MJTKK3QG.cjs');
278
278
 
279
279
 
280
280
 
281
- exports.AppointmentsResource = _chunk7FNKFNIJcjs.AppointmentsResource; exports.AuthenticateResource = _chunk7FNKFNIJcjs.AuthenticateResource; exports.BillingCodesResource = _chunkIY5QZZVFcjs.BillingCodesResource; exports.BillingItemApprovalLevelsResource = _chunk7FNKFNIJcjs.BillingItemApprovalLevelsResource; exports.BillingItemsResource = _chunkIY5QZZVFcjs.BillingItemsResource; exports.ChangeRequestLinksResource = _chunk7FNKFNIJcjs.ChangeRequestLinksResource; exports.ChecklistLibrariesResource = _chunk7FNKFNIJcjs.ChecklistLibrariesResource; exports.ChecklistLibraryChecklistItemsResource = _chunk7FNKFNIJcjs.ChecklistLibraryChecklistItemsResource; exports.ClassificationIconsResource = _chunk7FNKFNIJcjs.ClassificationIconsResource; exports.CompaniesResource = _chunkIY5QZZVFcjs.CompaniesResource; exports.CompanyAlertsResource = _chunk7FNKFNIJcjs.CompanyAlertsResource; exports.CompanyLocationsResource = _chunk7FNKFNIJcjs.CompanyLocationsResource; exports.CompanyNotesResource = _chunk7FNKFNIJcjs.CompanyNotesResource; exports.CompanySiteConfigurationsResource = _chunk7FNKFNIJcjs.CompanySiteConfigurationsResource; exports.CompanyWebhooksResource = _chunk7FNKFNIJcjs.CompanyWebhooksResource; exports.ConfigurationItemBillingProductAssociationsResource = _chunk7FNKFNIJcjs.ConfigurationItemBillingProductAssociationsResource; exports.ConfigurationItemCategoriesResource = _chunk7FNKFNIJcjs.ConfigurationItemCategoriesResource; exports.ConfigurationItemCategoryUdfAssociationsResource = _chunk7FNKFNIJcjs.ConfigurationItemCategoryUdfAssociationsResource; exports.ConfigurationItemDnsRecordsResource = _chunk7FNKFNIJcjs.ConfigurationItemDnsRecordsResource; exports.ConfigurationItemNotesResource = _chunk7FNKFNIJcjs.ConfigurationItemNotesResource; exports.ConfigurationItemRelatedItemsResource = _chunk7FNKFNIJcjs.ConfigurationItemRelatedItemsResource; exports.ConfigurationItemSslSubjectAlternativeNamesResource = _chunk7FNKFNIJcjs.ConfigurationItemSslSubjectAlternativeNamesResource; exports.ConfigurationItemTypesResource = _chunk7FNKFNIJcjs.ConfigurationItemTypesResource; exports.ConfigurationItemWebhooksResource = _chunk7FNKFNIJcjs.ConfigurationItemWebhooksResource; exports.ConfigurationItemsResource = _chunk7FNKFNIJcjs.ConfigurationItemsResource; exports.ContactGroupContactsResource = _chunk7FNKFNIJcjs.ContactGroupContactsResource; exports.ContactGroupsResource = _chunk7FNKFNIJcjs.ContactGroupsResource; exports.ContactWebhooksResource = _chunk7FNKFNIJcjs.ContactWebhooksResource; exports.ContactsResource = _chunk7FNKFNIJcjs.ContactsResource; exports.ContractBillingRulesResource = _chunk7FNKFNIJcjs.ContractBillingRulesResource; exports.ContractBlockHourFactorsResource = _chunk7FNKFNIJcjs.ContractBlockHourFactorsResource; exports.ContractBlocksResource = _chunk7FNKFNIJcjs.ContractBlocksResource; exports.ContractChargesResource = _chunk7FNKFNIJcjs.ContractChargesResource; exports.ContractExclusionBillingCodesResource = _chunk7FNKFNIJcjs.ContractExclusionBillingCodesResource; exports.ContractExclusionRolesResource = _chunk7FNKFNIJcjs.ContractExclusionRolesResource; exports.ContractExclusionSetExcludedRolesResource = _chunk7FNKFNIJcjs.ContractExclusionSetExcludedRolesResource; exports.ContractExclusionSetExcludedWorkTypesResource = _chunk7FNKFNIJcjs.ContractExclusionSetExcludedWorkTypesResource; exports.ContractExclusionSetsResource = _chunk7FNKFNIJcjs.ContractExclusionSetsResource; exports.ContractMilestonesResource = _chunk7FNKFNIJcjs.ContractMilestonesResource; exports.ContractNotesResource = _chunk7FNKFNIJcjs.ContractNotesResource; exports.ContractRatesResource = _chunk7FNKFNIJcjs.ContractRatesResource; exports.ContractRetainersResource = _chunk7FNKFNIJcjs.ContractRetainersResource; exports.ContractRoleCostsResource = _chunk7FNKFNIJcjs.ContractRoleCostsResource; exports.ContractServiceAdjustmentsResource = _chunk7FNKFNIJcjs.ContractServiceAdjustmentsResource; exports.ContractServiceBundleAdjustmentsResource = _chunk7FNKFNIJcjs.ContractServiceBundleAdjustmentsResource; exports.ContractServiceBundleUnitsResource = _chunk7FNKFNIJcjs.ContractServiceBundleUnitsResource; exports.ContractServiceBundlesResource = _chunk7FNKFNIJcjs.ContractServiceBundlesResource; exports.ContractServiceUnitsResource = _chunk7FNKFNIJcjs.ContractServiceUnitsResource; exports.ContractServicesResource = _chunk7FNKFNIJcjs.ContractServicesResource; exports.ContractTicketPurchasesResource = _chunk7FNKFNIJcjs.ContractTicketPurchasesResource; exports.ContractsResource = _chunkIY5QZZVFcjs.ContractsResource; exports.CountriesResource = _chunk7FNKFNIJcjs.CountriesResource; exports.CurrenciesResource = _chunk7FNKFNIJcjs.CurrenciesResource; exports.DepartmentsResource = _chunk7FNKFNIJcjs.DepartmentsResource; exports.DomainRegistrarsResource = _chunk7FNKFNIJcjs.DomainRegistrarsResource; exports.EntityInformationResource = _chunk7FNKFNIJcjs.EntityInformationResource; exports.ExpenseItemAttachmentsResource = _chunk7FNKFNIJcjs.ExpenseItemAttachmentsResource; exports.ExpenseItemsResource = _chunk7FNKFNIJcjs.ExpenseItemsResource; exports.ExpenseReportsResource = _chunk7FNKFNIJcjs.ExpenseReportsResource; exports.HolidaySetsResource = _chunk7FNKFNIJcjs.HolidaySetsResource; exports.HolidaysResource = _chunk7FNKFNIJcjs.HolidaysResource; exports.InventoryProductsResource = _chunk7FNKFNIJcjs.InventoryProductsResource; exports.InvoiceTemplatesResource = _chunk7FNKFNIJcjs.InvoiceTemplatesResource; exports.InvoicesResource = _chunkIY5QZZVFcjs.InvoicesResource; exports.ModulesResource = _chunk7FNKFNIJcjs.ModulesResource; exports.NotificationHistoryResource = _chunk7FNKFNIJcjs.NotificationHistoryResource; exports.OpportunitiesResource = _chunk7FNKFNIJcjs.OpportunitiesResource; exports.OpportunityAttachmentsResource = _chunk7FNKFNIJcjs.OpportunityAttachmentsResource; exports.OpportunityCategoriesResource = _chunk7FNKFNIJcjs.OpportunityCategoriesResource; exports.OrganizationalLevel1sResource = _chunkIY5QZZVFcjs.OrganizationalLevel1sResource; exports.OrganizationalLevel2sResource = _chunkIY5QZZVFcjs.OrganizationalLevel2sResource; exports.OrganizationalLevelAssociationsResource = _chunkIY5QZZVFcjs.OrganizationalLevelAssociationsResource; exports.PhasesResource = _chunk7FNKFNIJcjs.PhasesResource; exports.ProductVendorsResource = _chunk7FNKFNIJcjs.ProductVendorsResource; exports.ProductsResource = _chunk7FNKFNIJcjs.ProductsResource; exports.ProjectChargesResource = _chunk7FNKFNIJcjs.ProjectChargesResource; exports.ProjectNotesResource = _chunk7FNKFNIJcjs.ProjectNotesResource; exports.ProjectsResource = _chunk7FNKFNIJcjs.ProjectsResource; exports.PurchaseApprovalsResource = _chunk7FNKFNIJcjs.PurchaseApprovalsResource; exports.PurchaseOrderItemReceivingResource = _chunk7FNKFNIJcjs.PurchaseOrderItemReceivingResource; exports.PurchaseOrderItemsResource = _chunk7FNKFNIJcjs.PurchaseOrderItemsResource; exports.PurchaseOrdersResource = _chunk7FNKFNIJcjs.PurchaseOrdersResource; exports.QuoteItemsResource = _chunk7FNKFNIJcjs.QuoteItemsResource; exports.QuoteLocationsResource = _chunk7FNKFNIJcjs.QuoteLocationsResource; exports.QuoteTemplatesResource = _chunk7FNKFNIJcjs.QuoteTemplatesResource; exports.QuotesResource = _chunk7FNKFNIJcjs.QuotesResource; exports.ResourceRoleQueuesResource = _chunk7FNKFNIJcjs.ResourceRoleQueuesResource; exports.ResourceRolesResource = _chunk7FNKFNIJcjs.ResourceRolesResource; exports.ResourceSkillsResource = _chunk7FNKFNIJcjs.ResourceSkillsResource; exports.ResourceTimeOffAdditionalResource = _chunk7FNKFNIJcjs.ResourceTimeOffAdditionalResource; exports.ResourceTimeOffApproversResource = _chunk7FNKFNIJcjs.ResourceTimeOffApproversResource; exports.ResourceTimeOffBalancesResource = _chunk7FNKFNIJcjs.ResourceTimeOffBalancesResource; exports.ResourcesResource = _chunkIY5QZZVFcjs.ResourcesResource; exports.RolesResource = _chunk7FNKFNIJcjs.RolesResource; exports.SalesOrdersResource = _chunk7FNKFNIJcjs.SalesOrdersResource; exports.ServiceCallTaskResourcesResource = _chunk7FNKFNIJcjs.ServiceCallTaskResourcesResource; exports.ServiceCallTasksResource = _chunk7FNKFNIJcjs.ServiceCallTasksResource; exports.ServiceCallTicketResourcesResource = _chunk7FNKFNIJcjs.ServiceCallTicketResourcesResource; exports.ServiceCallTicketsResource = _chunk7FNKFNIJcjs.ServiceCallTicketsResource; exports.ServiceCallsResource = _chunk7FNKFNIJcjs.ServiceCallsResource; exports.ServiceLevelAgreementResultsResource = _chunk7FNKFNIJcjs.ServiceLevelAgreementResultsResource; exports.ServicesResource = _chunk7FNKFNIJcjs.ServicesResource; exports.SkillsResource = _chunk7FNKFNIJcjs.SkillsResource; exports.SubscriptionPeriodsResource = _chunk7FNKFNIJcjs.SubscriptionPeriodsResource; exports.SubscriptionsResource = _chunk7FNKFNIJcjs.SubscriptionsResource; exports.SurveyResultsResource = _chunk7FNKFNIJcjs.SurveyResultsResource; exports.SurveysResource = _chunk7FNKFNIJcjs.SurveysResource; exports.TagAliasesResource = _chunk7FNKFNIJcjs.TagAliasesResource; exports.TagGroupsResource = _chunk7FNKFNIJcjs.TagGroupsResource; exports.TagsResource = _chunk7FNKFNIJcjs.TagsResource; exports.TaskSecondaryResourcesResource = _chunk7FNKFNIJcjs.TaskSecondaryResourcesResource; exports.TasksResource = _chunk7FNKFNIJcjs.TasksResource; exports.TaxRegionsResource = _chunk7FNKFNIJcjs.TaxRegionsResource; exports.ThresholdInformationResource = _chunk7FNKFNIJcjs.ThresholdInformationResource; exports.TicketAdditionalConfigurationItemsResource = _chunk7FNKFNIJcjs.TicketAdditionalConfigurationItemsResource; exports.TicketAdditionalContactsResource = _chunk7FNKFNIJcjs.TicketAdditionalContactsResource; exports.TicketAttachmentsResource = _chunk7FNKFNIJcjs.TicketAttachmentsResource; exports.TicketCategoriesResource = _chunk7FNKFNIJcjs.TicketCategoriesResource; exports.TicketCategoryFieldDefaultsResource = _chunk7FNKFNIJcjs.TicketCategoryFieldDefaultsResource; exports.TicketChangeRequestApprovalsResource = _chunk7FNKFNIJcjs.TicketChangeRequestApprovalsResource; exports.TicketChargesResource = _chunk7FNKFNIJcjs.TicketChargesResource; exports.TicketChecklistItemsResource = _chunk7FNKFNIJcjs.TicketChecklistItemsResource; exports.TicketChecklistLibrariesResource = _chunk7FNKFNIJcjs.TicketChecklistLibrariesResource; exports.TicketHistoryResource = _chunk7FNKFNIJcjs.TicketHistoryResource; exports.TicketNoteAttachmentsResource = _chunk7FNKFNIJcjs.TicketNoteAttachmentsResource; exports.TicketNoteWebhooksResource = _chunk7FNKFNIJcjs.TicketNoteWebhooksResource; exports.TicketNotesResource = _chunk7FNKFNIJcjs.TicketNotesResource; exports.TicketSecondaryResourcesResource = _chunk7FNKFNIJcjs.TicketSecondaryResourcesResource; exports.TicketWebhooksResource = _chunk7FNKFNIJcjs.TicketWebhooksResource; exports.TicketsResource = _chunk7FNKFNIJcjs.TicketsResource; exports.TimeEntriesResource = _chunkIY5QZZVFcjs.TimeEntriesResource; exports.TimeEntryAttachmentsResource = _chunk7FNKFNIJcjs.TimeEntryAttachmentsResource; exports.TimeOffRequestsResource = _chunk7FNKFNIJcjs.TimeOffRequestsResource; exports.VersionInformationResource = _chunk7FNKFNIJcjs.VersionInformationResource; exports.VersionResource = _chunk7FNKFNIJcjs.VersionResource; exports.ZoneInformationResource = _chunk7FNKFNIJcjs.ZoneInformationResource;
281
+ exports.AppointmentsResource = _chunkGIVYTQ6Rcjs.AppointmentsResource; exports.AuthenticateResource = _chunkGIVYTQ6Rcjs.AuthenticateResource; exports.BillingCodesResource = _chunkLB34VFQYcjs.BillingCodesResource; exports.BillingItemApprovalLevelsResource = _chunkGIVYTQ6Rcjs.BillingItemApprovalLevelsResource; exports.BillingItemsResource = _chunkLB34VFQYcjs.BillingItemsResource; exports.ChangeRequestLinksResource = _chunkGIVYTQ6Rcjs.ChangeRequestLinksResource; exports.ChecklistLibrariesResource = _chunkGIVYTQ6Rcjs.ChecklistLibrariesResource; exports.ChecklistLibraryChecklistItemsResource = _chunkGIVYTQ6Rcjs.ChecklistLibraryChecklistItemsResource; exports.ClassificationIconsResource = _chunkGIVYTQ6Rcjs.ClassificationIconsResource; exports.CompaniesResource = _chunkLB34VFQYcjs.CompaniesResource; exports.CompanyAlertsResource = _chunkGIVYTQ6Rcjs.CompanyAlertsResource; exports.CompanyLocationsResource = _chunkGIVYTQ6Rcjs.CompanyLocationsResource; exports.CompanyNotesResource = _chunkGIVYTQ6Rcjs.CompanyNotesResource; exports.CompanySiteConfigurationsResource = _chunkGIVYTQ6Rcjs.CompanySiteConfigurationsResource; exports.CompanyWebhooksResource = _chunkGIVYTQ6Rcjs.CompanyWebhooksResource; exports.ConfigurationItemBillingProductAssociationsResource = _chunkGIVYTQ6Rcjs.ConfigurationItemBillingProductAssociationsResource; exports.ConfigurationItemCategoriesResource = _chunkGIVYTQ6Rcjs.ConfigurationItemCategoriesResource; exports.ConfigurationItemCategoryUdfAssociationsResource = _chunkGIVYTQ6Rcjs.ConfigurationItemCategoryUdfAssociationsResource; exports.ConfigurationItemDnsRecordsResource = _chunkGIVYTQ6Rcjs.ConfigurationItemDnsRecordsResource; exports.ConfigurationItemNotesResource = _chunkGIVYTQ6Rcjs.ConfigurationItemNotesResource; exports.ConfigurationItemRelatedItemsResource = _chunkGIVYTQ6Rcjs.ConfigurationItemRelatedItemsResource; exports.ConfigurationItemSslSubjectAlternativeNamesResource = _chunkGIVYTQ6Rcjs.ConfigurationItemSslSubjectAlternativeNamesResource; exports.ConfigurationItemTypesResource = _chunkGIVYTQ6Rcjs.ConfigurationItemTypesResource; exports.ConfigurationItemWebhooksResource = _chunkGIVYTQ6Rcjs.ConfigurationItemWebhooksResource; exports.ConfigurationItemsResource = _chunkGIVYTQ6Rcjs.ConfigurationItemsResource; exports.ContactGroupContactsResource = _chunkGIVYTQ6Rcjs.ContactGroupContactsResource; exports.ContactGroupsResource = _chunkGIVYTQ6Rcjs.ContactGroupsResource; exports.ContactWebhooksResource = _chunkGIVYTQ6Rcjs.ContactWebhooksResource; exports.ContactsResource = _chunkGIVYTQ6Rcjs.ContactsResource; exports.ContractBillingRulesResource = _chunkGIVYTQ6Rcjs.ContractBillingRulesResource; exports.ContractBlockHourFactorsResource = _chunkGIVYTQ6Rcjs.ContractBlockHourFactorsResource; exports.ContractBlocksResource = _chunkGIVYTQ6Rcjs.ContractBlocksResource; exports.ContractChargesResource = _chunkGIVYTQ6Rcjs.ContractChargesResource; exports.ContractExclusionBillingCodesResource = _chunkGIVYTQ6Rcjs.ContractExclusionBillingCodesResource; exports.ContractExclusionRolesResource = _chunkGIVYTQ6Rcjs.ContractExclusionRolesResource; exports.ContractExclusionSetExcludedRolesResource = _chunkGIVYTQ6Rcjs.ContractExclusionSetExcludedRolesResource; exports.ContractExclusionSetExcludedWorkTypesResource = _chunkGIVYTQ6Rcjs.ContractExclusionSetExcludedWorkTypesResource; exports.ContractExclusionSetsResource = _chunkGIVYTQ6Rcjs.ContractExclusionSetsResource; exports.ContractMilestonesResource = _chunkGIVYTQ6Rcjs.ContractMilestonesResource; exports.ContractNotesResource = _chunkGIVYTQ6Rcjs.ContractNotesResource; exports.ContractRatesResource = _chunkGIVYTQ6Rcjs.ContractRatesResource; exports.ContractRetainersResource = _chunkGIVYTQ6Rcjs.ContractRetainersResource; exports.ContractRoleCostsResource = _chunkGIVYTQ6Rcjs.ContractRoleCostsResource; exports.ContractServiceAdjustmentsResource = _chunkGIVYTQ6Rcjs.ContractServiceAdjustmentsResource; exports.ContractServiceBundleAdjustmentsResource = _chunkGIVYTQ6Rcjs.ContractServiceBundleAdjustmentsResource; exports.ContractServiceBundleUnitsResource = _chunkGIVYTQ6Rcjs.ContractServiceBundleUnitsResource; exports.ContractServiceBundlesResource = _chunkGIVYTQ6Rcjs.ContractServiceBundlesResource; exports.ContractServiceUnitsResource = _chunkGIVYTQ6Rcjs.ContractServiceUnitsResource; exports.ContractServicesResource = _chunkGIVYTQ6Rcjs.ContractServicesResource; exports.ContractTicketPurchasesResource = _chunkGIVYTQ6Rcjs.ContractTicketPurchasesResource; exports.ContractsResource = _chunkLB34VFQYcjs.ContractsResource; exports.CountriesResource = _chunkGIVYTQ6Rcjs.CountriesResource; exports.CurrenciesResource = _chunkGIVYTQ6Rcjs.CurrenciesResource; exports.DepartmentsResource = _chunkGIVYTQ6Rcjs.DepartmentsResource; exports.DomainRegistrarsResource = _chunkGIVYTQ6Rcjs.DomainRegistrarsResource; exports.EntityInformationResource = _chunkGIVYTQ6Rcjs.EntityInformationResource; exports.ExpenseItemAttachmentsResource = _chunkGIVYTQ6Rcjs.ExpenseItemAttachmentsResource; exports.ExpenseItemsResource = _chunkGIVYTQ6Rcjs.ExpenseItemsResource; exports.ExpenseReportsResource = _chunkGIVYTQ6Rcjs.ExpenseReportsResource; exports.HolidaySetsResource = _chunkGIVYTQ6Rcjs.HolidaySetsResource; exports.HolidaysResource = _chunkGIVYTQ6Rcjs.HolidaysResource; exports.InventoryProductsResource = _chunkGIVYTQ6Rcjs.InventoryProductsResource; exports.InvoiceTemplatesResource = _chunkGIVYTQ6Rcjs.InvoiceTemplatesResource; exports.InvoicesResource = _chunkLB34VFQYcjs.InvoicesResource; exports.ModulesResource = _chunkGIVYTQ6Rcjs.ModulesResource; exports.NotificationHistoryResource = _chunkGIVYTQ6Rcjs.NotificationHistoryResource; exports.OpportunitiesResource = _chunkGIVYTQ6Rcjs.OpportunitiesResource; exports.OpportunityAttachmentsResource = _chunkGIVYTQ6Rcjs.OpportunityAttachmentsResource; exports.OpportunityCategoriesResource = _chunkGIVYTQ6Rcjs.OpportunityCategoriesResource; exports.OrganizationalLevel1sResource = _chunkLB34VFQYcjs.OrganizationalLevel1sResource; exports.OrganizationalLevel2sResource = _chunkLB34VFQYcjs.OrganizationalLevel2sResource; exports.OrganizationalLevelAssociationsResource = _chunkLB34VFQYcjs.OrganizationalLevelAssociationsResource; exports.PhasesResource = _chunkGIVYTQ6Rcjs.PhasesResource; exports.ProductVendorsResource = _chunkGIVYTQ6Rcjs.ProductVendorsResource; exports.ProductsResource = _chunkGIVYTQ6Rcjs.ProductsResource; exports.ProjectChargesResource = _chunkGIVYTQ6Rcjs.ProjectChargesResource; exports.ProjectNotesResource = _chunkGIVYTQ6Rcjs.ProjectNotesResource; exports.ProjectsResource = _chunkGIVYTQ6Rcjs.ProjectsResource; exports.PurchaseApprovalsResource = _chunkGIVYTQ6Rcjs.PurchaseApprovalsResource; exports.PurchaseOrderItemReceivingResource = _chunkGIVYTQ6Rcjs.PurchaseOrderItemReceivingResource; exports.PurchaseOrderItemsResource = _chunkGIVYTQ6Rcjs.PurchaseOrderItemsResource; exports.PurchaseOrdersResource = _chunkGIVYTQ6Rcjs.PurchaseOrdersResource; exports.QuoteItemsResource = _chunkGIVYTQ6Rcjs.QuoteItemsResource; exports.QuoteLocationsResource = _chunkGIVYTQ6Rcjs.QuoteLocationsResource; exports.QuoteTemplatesResource = _chunkGIVYTQ6Rcjs.QuoteTemplatesResource; exports.QuotesResource = _chunkGIVYTQ6Rcjs.QuotesResource; exports.ResourceRoleQueuesResource = _chunkGIVYTQ6Rcjs.ResourceRoleQueuesResource; exports.ResourceRolesResource = _chunkGIVYTQ6Rcjs.ResourceRolesResource; exports.ResourceSkillsResource = _chunkGIVYTQ6Rcjs.ResourceSkillsResource; exports.ResourceTimeOffAdditionalResource = _chunkGIVYTQ6Rcjs.ResourceTimeOffAdditionalResource; exports.ResourceTimeOffApproversResource = _chunkGIVYTQ6Rcjs.ResourceTimeOffApproversResource; exports.ResourceTimeOffBalancesResource = _chunkGIVYTQ6Rcjs.ResourceTimeOffBalancesResource; exports.ResourcesResource = _chunkLB34VFQYcjs.ResourcesResource; exports.RolesResource = _chunkGIVYTQ6Rcjs.RolesResource; exports.SalesOrdersResource = _chunkGIVYTQ6Rcjs.SalesOrdersResource; exports.ServiceCallTaskResourcesResource = _chunkGIVYTQ6Rcjs.ServiceCallTaskResourcesResource; exports.ServiceCallTasksResource = _chunkGIVYTQ6Rcjs.ServiceCallTasksResource; exports.ServiceCallTicketResourcesResource = _chunkGIVYTQ6Rcjs.ServiceCallTicketResourcesResource; exports.ServiceCallTicketsResource = _chunkGIVYTQ6Rcjs.ServiceCallTicketsResource; exports.ServiceCallsResource = _chunkGIVYTQ6Rcjs.ServiceCallsResource; exports.ServiceLevelAgreementResultsResource = _chunkGIVYTQ6Rcjs.ServiceLevelAgreementResultsResource; exports.ServicesResource = _chunkGIVYTQ6Rcjs.ServicesResource; exports.SkillsResource = _chunkGIVYTQ6Rcjs.SkillsResource; exports.SubscriptionPeriodsResource = _chunkGIVYTQ6Rcjs.SubscriptionPeriodsResource; exports.SubscriptionsResource = _chunkGIVYTQ6Rcjs.SubscriptionsResource; exports.SurveyResultsResource = _chunkGIVYTQ6Rcjs.SurveyResultsResource; exports.SurveysResource = _chunkGIVYTQ6Rcjs.SurveysResource; exports.TagAliasesResource = _chunkGIVYTQ6Rcjs.TagAliasesResource; exports.TagGroupsResource = _chunkGIVYTQ6Rcjs.TagGroupsResource; exports.TagsResource = _chunkGIVYTQ6Rcjs.TagsResource; exports.TaskSecondaryResourcesResource = _chunkGIVYTQ6Rcjs.TaskSecondaryResourcesResource; exports.TasksResource = _chunkGIVYTQ6Rcjs.TasksResource; exports.TaxRegionsResource = _chunkGIVYTQ6Rcjs.TaxRegionsResource; exports.ThresholdInformationResource = _chunkGIVYTQ6Rcjs.ThresholdInformationResource; exports.TicketAdditionalConfigurationItemsResource = _chunkGIVYTQ6Rcjs.TicketAdditionalConfigurationItemsResource; exports.TicketAdditionalContactsResource = _chunkGIVYTQ6Rcjs.TicketAdditionalContactsResource; exports.TicketAttachmentsResource = _chunkGIVYTQ6Rcjs.TicketAttachmentsResource; exports.TicketCategoriesResource = _chunkGIVYTQ6Rcjs.TicketCategoriesResource; exports.TicketCategoryFieldDefaultsResource = _chunkGIVYTQ6Rcjs.TicketCategoryFieldDefaultsResource; exports.TicketChangeRequestApprovalsResource = _chunkGIVYTQ6Rcjs.TicketChangeRequestApprovalsResource; exports.TicketChargesResource = _chunkGIVYTQ6Rcjs.TicketChargesResource; exports.TicketChecklistItemsResource = _chunkGIVYTQ6Rcjs.TicketChecklistItemsResource; exports.TicketChecklistLibrariesResource = _chunkGIVYTQ6Rcjs.TicketChecklistLibrariesResource; exports.TicketHistoryResource = _chunkGIVYTQ6Rcjs.TicketHistoryResource; exports.TicketNoteAttachmentsResource = _chunkGIVYTQ6Rcjs.TicketNoteAttachmentsResource; exports.TicketNoteWebhooksResource = _chunkGIVYTQ6Rcjs.TicketNoteWebhooksResource; exports.TicketNotesResource = _chunkGIVYTQ6Rcjs.TicketNotesResource; exports.TicketSecondaryResourcesResource = _chunkGIVYTQ6Rcjs.TicketSecondaryResourcesResource; exports.TicketWebhooksResource = _chunkGIVYTQ6Rcjs.TicketWebhooksResource; exports.TicketsResource = _chunkGIVYTQ6Rcjs.TicketsResource; exports.TimeEntriesResource = _chunkLB34VFQYcjs.TimeEntriesResource; exports.TimeEntryAttachmentsResource = _chunkGIVYTQ6Rcjs.TimeEntryAttachmentsResource; exports.TimeOffRequestsResource = _chunkGIVYTQ6Rcjs.TimeOffRequestsResource; exports.VersionInformationResource = _chunkGIVYTQ6Rcjs.VersionInformationResource; exports.VersionResource = _chunkGIVYTQ6Rcjs.VersionResource; exports.ZoneInformationResource = _chunkGIVYTQ6Rcjs.ZoneInformationResource;