node-autotask 0.39.3 → 0.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ARCHITECTURE.md +6 -2
- package/CHANGELOG.md +32 -0
- package/MCP_TOOL_CATALOG.json +3 -3
- package/MCP_TOOL_MANIFEST.md +5 -5
- package/N8N_MCP_MANIFEST.json +2 -2
- package/N8N_MCP_MANIFEST.md +3 -3
- package/README.md +28 -36
- package/capabilities.json +1315 -1320
- package/dist/base-CVx2VMSj.d.cts +103 -0
- package/dist/base-CVx2VMSj.d.ts +103 -0
- package/dist/capabilities.cjs +2 -2
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-MBI24PEF.cjs → chunk-E5W24BZB.cjs} +143 -143
- package/dist/{chunk-F4YDKUGY.cjs → chunk-EUGSF3U4.cjs} +287 -292
- package/dist/{chunk-VR6RYXTD.cjs → chunk-EVDVESQM.cjs} +1314 -1319
- package/dist/{chunk-BPRDYT5L.cjs → chunk-FEYVLIHD.cjs} +738 -1699
- package/dist/{chunk-5JAS6CAN.js → chunk-MTFRSD7P.js} +2 -2
- package/dist/{chunk-K6RZDRWX.js → chunk-O32L6GS5.js} +4 -9
- package/dist/{chunk-GSMFRPYB.js → chunk-VDVBXXJW.js} +570 -1531
- package/dist/{chunk-GDSCYY2G.js → chunk-Y6YJYKBZ.js} +1314 -1319
- package/dist/{index-DkZVRMeW.d.ts → index-BKp8_P2L.d.cts} +125 -806
- package/dist/{index-DkZVRMeW.d.cts → index-BKp8_P2L.d.ts} +125 -806
- package/dist/index.cjs +22 -50
- package/dist/index.d.cts +103 -102
- package/dist/index.d.ts +103 -102
- package/dist/index.js +18 -46
- package/dist/operations/index.cjs +178 -178
- package/dist/operations/index.d.cts +5 -4
- package/dist/operations/index.d.ts +5 -4
- package/dist/operations/index.js +3 -3
- package/dist/pool.cjs +17 -60
- package/dist/pool.d.cts +5 -13
- package/dist/pool.d.ts +5 -13
- package/dist/pool.js +13 -56
- package/dist/resources/index.cjs +4 -4
- package/dist/resources/index.d.cts +1 -1
- package/dist/resources/index.d.ts +1 -1
- package/dist/resources/index.js +3 -3
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/docs/API.md +131 -320
- package/docs/N8N-ADAPTER.md +7 -7
- package/examples/mcp-server-http.ts +18 -18
- package/package.json +1 -1
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AutotaskError hierarchy (ARCHITECTURE section 10).
|
|
3
|
+
*
|
|
4
|
+
* Every error carries the structured contract: `code` (stable SCREAMING_SNAKE
|
|
5
|
+
* machine code), `category`, `retryable`, plus `operation`, `httpStatus`,
|
|
6
|
+
* `vendorError` (the vendor payload under a documented key, deep-redacted —
|
|
7
|
+
* the INV-A1 hotfix), `resourceIds` (the LEGACY unlabeled id list — the
|
|
8
|
+
* stamp sites name records of several vendor entities and say nothing about
|
|
9
|
+
* which; every SDK stamp site that sets it also sets `details.idRefs`, the
|
|
10
|
+
* labeled `{ entity, id }` companion — issue #116),
|
|
11
|
+
* `suggestedAction` (deterministic next step only), `correlationId` and `url`.
|
|
12
|
+
*
|
|
13
|
+
* `item: null` on a single GET (HTTP 200) is a NOT FOUND, not a success — the
|
|
14
|
+
* vendor's not-found signal (G1 envelope.md). The vendor documents no error
|
|
15
|
+
* bodies; the shape `{ errors: [{ message, field?, code? }] }` is pinned from
|
|
16
|
+
* the node's errorHandler and parsed defensively here.
|
|
17
|
+
*/
|
|
18
|
+
type ErrorCategory = 'auth' | 'not_found' | 'validation' | 'conflict' | 'rate_limit' | 'server' | 'network' | 'timeout' | 'resolution' | 'policy';
|
|
19
|
+
/**
|
|
20
|
+
* A labeled id reference (issue #116). The legacy `resourceIds` field reads
|
|
21
|
+
* as Autotask **Resource** (staff) ids, but the special ops stamp ids of
|
|
22
|
+
* many other entities into it (ticket / company / contact / billing-code /
|
|
23
|
+
* the failed record's own id on a generic `get`), unlabeled — so feeding an
|
|
24
|
+
* error's `resourceIds` to `operations.expandResourceNames` (whose only wire
|
|
25
|
+
* verb is `GET /V1.0/Resources/{id}`) resolves a colliding non-staff id to
|
|
26
|
+
* an unrelated person's name. Every SDK stamp site that sets `resourceIds`
|
|
27
|
+
* now also sets `details.idRefs` — the same ids, each labeled with the vendor entity
|
|
28
|
+
* it identifies — so consumers can resolve against the entity the error
|
|
29
|
+
* actually names instead of parsing the message.
|
|
30
|
+
*
|
|
31
|
+
* `entity` is the vendor entity name (singular snake_case — `company`,
|
|
32
|
+
* `ticket`, `contact`, `billing_code`, `resource`, ...; the de-pluralized
|
|
33
|
+
* vendor table name — the same word the error message uses; the SDK
|
|
34
|
+
* resource key is the same word plural). `resource` (staff) is the ONLY
|
|
35
|
+
* entity `operations.expandResourceNames` resolves — a ref of any other
|
|
36
|
+
* entity must NOT be fed to it.
|
|
37
|
+
*/
|
|
38
|
+
interface ErrorIdRef {
|
|
39
|
+
/** The vendor entity the id identifies (singular snake_case, e.g. `company`, `ticket`, `resource` = staff). */
|
|
40
|
+
entity: string;
|
|
41
|
+
/** The value that addresses the record at that entity's endpoint: the
|
|
42
|
+
* vendor id (a safe integer, or the canonical integer-string form) —
|
|
43
|
+
* except `resource_time_off_balances.getByYear`, where the endpoint's
|
|
44
|
+
* path key is the YEAR (the vendor defines no record-id read for this
|
|
45
|
+
* entity). */
|
|
46
|
+
id: number | string;
|
|
47
|
+
}
|
|
48
|
+
interface AutotaskErrorOptions {
|
|
49
|
+
code?: string;
|
|
50
|
+
category?: ErrorCategory;
|
|
51
|
+
operation?: string;
|
|
52
|
+
httpStatus?: number;
|
|
53
|
+
vendorError?: unknown;
|
|
54
|
+
/**
|
|
55
|
+
* The ids the error is about. LEGACY, unlabeled: reads as Resource
|
|
56
|
+
* (staff) ids but the stamp sites name records of several entities
|
|
57
|
+
* (issue #116). Kept for compatibility; the labeled form rides on
|
|
58
|
+
* `details.idRefs` (`ErrorIdRef[]`) and is what consumers should use.
|
|
59
|
+
* The pairing above is a guarantee of the SDK stamp sites — an error you
|
|
60
|
+
* construct yourself may set `resourceIds` without `details.idRefs`.
|
|
61
|
+
*/
|
|
62
|
+
resourceIds?: (number | string)[];
|
|
63
|
+
suggestedAction?: string;
|
|
64
|
+
correlationId?: string;
|
|
65
|
+
retryable?: boolean;
|
|
66
|
+
url?: string;
|
|
67
|
+
/**
|
|
68
|
+
* The structured, deterministic extras that ride on the error WITHOUT
|
|
69
|
+
* changing its contract: issue #9 — the recovery refusals' payload
|
|
70
|
+
* (`{ resource, reason/note, ... }` on DELETE_BOUNDARY /
|
|
71
|
+
* MARKER_UNSAFE_ID / RECOVERY_TRUNCATED); issue #14 — `emptyReason`
|
|
72
|
+
* (the typed reason a miss / drift carries — { kind, note, authority,
|
|
73
|
+
* remedy }) and `pointerNote` (the known-unusable-op pointer sentence);
|
|
74
|
+
* issue #116 — `idRefs` (`ErrorIdRef[]`, the labeled `{ entity, id }`
|
|
75
|
+
* companion of the legacy `resourceIds` — every SDK stamp site that sets
|
|
76
|
+
* `resourceIds` also sets it). Additive only — the status, code, message
|
|
77
|
+
* and retryability are never derived from it.
|
|
78
|
+
*/
|
|
79
|
+
details?: Record<string, unknown>;
|
|
80
|
+
}
|
|
81
|
+
declare class AutotaskError extends Error {
|
|
82
|
+
code: string;
|
|
83
|
+
category: ErrorCategory;
|
|
84
|
+
operation?: string;
|
|
85
|
+
httpStatus?: number;
|
|
86
|
+
vendorError?: unknown;
|
|
87
|
+
/** Legacy unlabeled id list (issue #116) — see `AutotaskErrorOptions.resourceIds`; the labeled companion rides on `details.idRefs`. */
|
|
88
|
+
resourceIds?: (number | string)[];
|
|
89
|
+
suggestedAction?: string;
|
|
90
|
+
correlationId?: string;
|
|
91
|
+
retryable: boolean;
|
|
92
|
+
url?: string;
|
|
93
|
+
/** Issue #9/#14: the additive structured extras (recovery refusal payload; emptyReason / pointerNote) — never changes the error contract. */
|
|
94
|
+
details?: Record<string, unknown>;
|
|
95
|
+
constructor(message: string, options?: AutotaskErrorOptions);
|
|
96
|
+
}
|
|
97
|
+
declare class AutotaskConfigError extends AutotaskError {
|
|
98
|
+
constructor(message: string, options?: AutotaskErrorOptions);
|
|
99
|
+
}
|
|
100
|
+
/** Type guard for the hierarchy. */
|
|
101
|
+
declare function isAutotaskError(err: unknown): err is AutotaskError;
|
|
102
|
+
|
|
103
|
+
export { AutotaskError as A, type ErrorCategory as E, type AutotaskErrorOptions as a, AutotaskConfigError as b, type ErrorIdRef as c, isAutotaskError as i };
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AutotaskError hierarchy (ARCHITECTURE section 10).
|
|
3
|
+
*
|
|
4
|
+
* Every error carries the structured contract: `code` (stable SCREAMING_SNAKE
|
|
5
|
+
* machine code), `category`, `retryable`, plus `operation`, `httpStatus`,
|
|
6
|
+
* `vendorError` (the vendor payload under a documented key, deep-redacted —
|
|
7
|
+
* the INV-A1 hotfix), `resourceIds` (the LEGACY unlabeled id list — the
|
|
8
|
+
* stamp sites name records of several vendor entities and say nothing about
|
|
9
|
+
* which; every SDK stamp site that sets it also sets `details.idRefs`, the
|
|
10
|
+
* labeled `{ entity, id }` companion — issue #116),
|
|
11
|
+
* `suggestedAction` (deterministic next step only), `correlationId` and `url`.
|
|
12
|
+
*
|
|
13
|
+
* `item: null` on a single GET (HTTP 200) is a NOT FOUND, not a success — the
|
|
14
|
+
* vendor's not-found signal (G1 envelope.md). The vendor documents no error
|
|
15
|
+
* bodies; the shape `{ errors: [{ message, field?, code? }] }` is pinned from
|
|
16
|
+
* the node's errorHandler and parsed defensively here.
|
|
17
|
+
*/
|
|
18
|
+
type ErrorCategory = 'auth' | 'not_found' | 'validation' | 'conflict' | 'rate_limit' | 'server' | 'network' | 'timeout' | 'resolution' | 'policy';
|
|
19
|
+
/**
|
|
20
|
+
* A labeled id reference (issue #116). The legacy `resourceIds` field reads
|
|
21
|
+
* as Autotask **Resource** (staff) ids, but the special ops stamp ids of
|
|
22
|
+
* many other entities into it (ticket / company / contact / billing-code /
|
|
23
|
+
* the failed record's own id on a generic `get`), unlabeled — so feeding an
|
|
24
|
+
* error's `resourceIds` to `operations.expandResourceNames` (whose only wire
|
|
25
|
+
* verb is `GET /V1.0/Resources/{id}`) resolves a colliding non-staff id to
|
|
26
|
+
* an unrelated person's name. Every SDK stamp site that sets `resourceIds`
|
|
27
|
+
* now also sets `details.idRefs` — the same ids, each labeled with the vendor entity
|
|
28
|
+
* it identifies — so consumers can resolve against the entity the error
|
|
29
|
+
* actually names instead of parsing the message.
|
|
30
|
+
*
|
|
31
|
+
* `entity` is the vendor entity name (singular snake_case — `company`,
|
|
32
|
+
* `ticket`, `contact`, `billing_code`, `resource`, ...; the de-pluralized
|
|
33
|
+
* vendor table name — the same word the error message uses; the SDK
|
|
34
|
+
* resource key is the same word plural). `resource` (staff) is the ONLY
|
|
35
|
+
* entity `operations.expandResourceNames` resolves — a ref of any other
|
|
36
|
+
* entity must NOT be fed to it.
|
|
37
|
+
*/
|
|
38
|
+
interface ErrorIdRef {
|
|
39
|
+
/** The vendor entity the id identifies (singular snake_case, e.g. `company`, `ticket`, `resource` = staff). */
|
|
40
|
+
entity: string;
|
|
41
|
+
/** The value that addresses the record at that entity's endpoint: the
|
|
42
|
+
* vendor id (a safe integer, or the canonical integer-string form) —
|
|
43
|
+
* except `resource_time_off_balances.getByYear`, where the endpoint's
|
|
44
|
+
* path key is the YEAR (the vendor defines no record-id read for this
|
|
45
|
+
* entity). */
|
|
46
|
+
id: number | string;
|
|
47
|
+
}
|
|
48
|
+
interface AutotaskErrorOptions {
|
|
49
|
+
code?: string;
|
|
50
|
+
category?: ErrorCategory;
|
|
51
|
+
operation?: string;
|
|
52
|
+
httpStatus?: number;
|
|
53
|
+
vendorError?: unknown;
|
|
54
|
+
/**
|
|
55
|
+
* The ids the error is about. LEGACY, unlabeled: reads as Resource
|
|
56
|
+
* (staff) ids but the stamp sites name records of several entities
|
|
57
|
+
* (issue #116). Kept for compatibility; the labeled form rides on
|
|
58
|
+
* `details.idRefs` (`ErrorIdRef[]`) and is what consumers should use.
|
|
59
|
+
* The pairing above is a guarantee of the SDK stamp sites — an error you
|
|
60
|
+
* construct yourself may set `resourceIds` without `details.idRefs`.
|
|
61
|
+
*/
|
|
62
|
+
resourceIds?: (number | string)[];
|
|
63
|
+
suggestedAction?: string;
|
|
64
|
+
correlationId?: string;
|
|
65
|
+
retryable?: boolean;
|
|
66
|
+
url?: string;
|
|
67
|
+
/**
|
|
68
|
+
* The structured, deterministic extras that ride on the error WITHOUT
|
|
69
|
+
* changing its contract: issue #9 — the recovery refusals' payload
|
|
70
|
+
* (`{ resource, reason/note, ... }` on DELETE_BOUNDARY /
|
|
71
|
+
* MARKER_UNSAFE_ID / RECOVERY_TRUNCATED); issue #14 — `emptyReason`
|
|
72
|
+
* (the typed reason a miss / drift carries — { kind, note, authority,
|
|
73
|
+
* remedy }) and `pointerNote` (the known-unusable-op pointer sentence);
|
|
74
|
+
* issue #116 — `idRefs` (`ErrorIdRef[]`, the labeled `{ entity, id }`
|
|
75
|
+
* companion of the legacy `resourceIds` — every SDK stamp site that sets
|
|
76
|
+
* `resourceIds` also sets it). Additive only — the status, code, message
|
|
77
|
+
* and retryability are never derived from it.
|
|
78
|
+
*/
|
|
79
|
+
details?: Record<string, unknown>;
|
|
80
|
+
}
|
|
81
|
+
declare class AutotaskError extends Error {
|
|
82
|
+
code: string;
|
|
83
|
+
category: ErrorCategory;
|
|
84
|
+
operation?: string;
|
|
85
|
+
httpStatus?: number;
|
|
86
|
+
vendorError?: unknown;
|
|
87
|
+
/** Legacy unlabeled id list (issue #116) — see `AutotaskErrorOptions.resourceIds`; the labeled companion rides on `details.idRefs`. */
|
|
88
|
+
resourceIds?: (number | string)[];
|
|
89
|
+
suggestedAction?: string;
|
|
90
|
+
correlationId?: string;
|
|
91
|
+
retryable: boolean;
|
|
92
|
+
url?: string;
|
|
93
|
+
/** Issue #9/#14: the additive structured extras (recovery refusal payload; emptyReason / pointerNote) — never changes the error contract. */
|
|
94
|
+
details?: Record<string, unknown>;
|
|
95
|
+
constructor(message: string, options?: AutotaskErrorOptions);
|
|
96
|
+
}
|
|
97
|
+
declare class AutotaskConfigError extends AutotaskError {
|
|
98
|
+
constructor(message: string, options?: AutotaskErrorOptions);
|
|
99
|
+
}
|
|
100
|
+
/** Type guard for the hierarchy. */
|
|
101
|
+
declare function isAutotaskError(err: unknown): err is AutotaskError;
|
|
102
|
+
|
|
103
|
+
export { AutotaskError as A, type ErrorCategory as E, type AutotaskErrorOptions as a, AutotaskConfigError as b, type ErrorIdRef as c, isAutotaskError as i };
|
package/dist/capabilities.cjs
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkEVDVESQMcjs = require('./chunk-EVDVESQM.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.CAPABILITIES =
|
|
10
|
+
exports.CAPABILITIES = _chunkEVDVESQMcjs.CAPABILITIES; exports.CAPABILITY_GROUPS = _chunkEVDVESQMcjs.CAPABILITY_GROUPS; exports.CAPABILITY_PLAN_HASHES = _chunkEVDVESQMcjs.CAPABILITY_PLAN_HASHES;
|
package/dist/capabilities.js
CHANGED
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
|
|
126
126
|
|
|
127
127
|
|
|
128
|
-
var
|
|
128
|
+
var _chunkEUGSF3U4cjs = require('./chunk-EUGSF3U4.cjs');
|
|
129
129
|
|
|
130
130
|
|
|
131
131
|
|
|
@@ -141,7 +141,7 @@ var _chunkF4YDKUGYcjs = require('./chunk-F4YDKUGY.cjs');
|
|
|
141
141
|
|
|
142
142
|
|
|
143
143
|
|
|
144
|
-
var
|
|
144
|
+
var _chunkFEYVLIHDcjs = require('./chunk-FEYVLIHD.cjs');
|
|
145
145
|
|
|
146
146
|
// src/client.ts
|
|
147
147
|
var AutotaskClient = class {
|
|
@@ -292,145 +292,145 @@ var AutotaskClient = class {
|
|
|
292
292
|
* anything is wired. Construction issues NO request.
|
|
293
293
|
*/
|
|
294
294
|
constructor(options) {
|
|
295
|
-
this.config =
|
|
296
|
-
this.http = new (0,
|
|
295
|
+
this.config = _chunkFEYVLIHDcjs.resolveConfig.call(void 0, options);
|
|
296
|
+
this.http = new (0, _chunkFEYVLIHDcjs.HttpClient)(this.config);
|
|
297
297
|
this.http.client = this;
|
|
298
|
-
this.appointments = new (0,
|
|
299
|
-
this.authenticateResource = new (0,
|
|
300
|
-
this.billingCodes = new (0,
|
|
301
|
-
this.billingItemApprovalLevels = new (0,
|
|
302
|
-
this.billingItems = new (0,
|
|
303
|
-
this.changeRequestLinks = new (0,
|
|
304
|
-
this.checklistLibraries = new (0,
|
|
305
|
-
this.checklistLibraryChecklistItems = new (0,
|
|
306
|
-
this.classificationIcons = new (0,
|
|
307
|
-
this.companies = new (0,
|
|
308
|
-
this.companyAlerts = new (0,
|
|
309
|
-
this.companyLocations = new (0,
|
|
310
|
-
this.companyNotes = new (0,
|
|
311
|
-
this.companySiteConfigurations = new (0,
|
|
312
|
-
this.companyWebhooks = new (0,
|
|
313
|
-
this.configurationItemBillingProductAssociations = new (0,
|
|
314
|
-
this.configurationItemCategories = new (0,
|
|
315
|
-
this.configurationItemCategoryUdfAssociations = new (0,
|
|
316
|
-
this.configurationItemDnsRecords = new (0,
|
|
317
|
-
this.configurationItemNotes = new (0,
|
|
318
|
-
this.configurationItemRelatedItems = new (0,
|
|
319
|
-
this.configurationItems = new (0,
|
|
320
|
-
this.configurationItemSslSubjectAlternativeNames = new (0,
|
|
321
|
-
this.configurationItemTypes = new (0,
|
|
322
|
-
this.configurationItemWebhooks = new (0,
|
|
323
|
-
this.contactGroupContacts = new (0,
|
|
324
|
-
this.contactGroups = new (0,
|
|
325
|
-
this.contacts = new (0,
|
|
326
|
-
this.contactWebhooks = new (0,
|
|
327
|
-
this.contractBillingRules = new (0,
|
|
328
|
-
this.contractBlockHourFactors = new (0,
|
|
329
|
-
this.contractBlocks = new (0,
|
|
330
|
-
this.contractCharges = new (0,
|
|
331
|
-
this.contractExclusionBillingCodes = new (0,
|
|
332
|
-
this.contractExclusionRoles = new (0,
|
|
333
|
-
this.contractExclusionSetExcludedRoles = new (0,
|
|
334
|
-
this.contractExclusionSetExcludedWorkTypes = new (0,
|
|
335
|
-
this.contractExclusionSets = new (0,
|
|
336
|
-
this.contractMilestones = new (0,
|
|
337
|
-
this.contractNotes = new (0,
|
|
338
|
-
this.contractRates = new (0,
|
|
339
|
-
this.contractRetainers = new (0,
|
|
340
|
-
this.contractRoleCosts = new (0,
|
|
341
|
-
this.contractServiceAdjustments = new (0,
|
|
342
|
-
this.contractServiceBundleAdjustments = new (0,
|
|
343
|
-
this.contractServiceBundles = new (0,
|
|
344
|
-
this.contractServiceBundleUnits = new (0,
|
|
345
|
-
this.contractServices = new (0,
|
|
346
|
-
this.contractServiceUnits = new (0,
|
|
347
|
-
this.contracts = new (0,
|
|
348
|
-
this.contractTicketPurchases = new (0,
|
|
349
|
-
this.countries = new (0,
|
|
350
|
-
this.currencies = new (0,
|
|
351
|
-
this.departments = new (0,
|
|
352
|
-
this.domainRegistrars = new (0,
|
|
353
|
-
this.entityInformation = new (0,
|
|
354
|
-
this.expenseItemAttachments = new (0,
|
|
355
|
-
this.expenseItems = new (0,
|
|
356
|
-
this.expenseReports = new (0,
|
|
357
|
-
this.holidaySets = new (0,
|
|
358
|
-
this.holidays = new (0,
|
|
359
|
-
this.inventoryProducts = new (0,
|
|
360
|
-
this.invoices = new (0,
|
|
361
|
-
this.invoiceTemplates = new (0,
|
|
362
|
-
this.modules = new (0,
|
|
363
|
-
this.notificationHistory = new (0,
|
|
364
|
-
this.opportunities = new (0,
|
|
365
|
-
this.opportunityAttachments = new (0,
|
|
366
|
-
this.opportunityCategories = new (0,
|
|
367
|
-
this.organizationalLevel1s = new (0,
|
|
368
|
-
this.organizationalLevel2s = new (0,
|
|
369
|
-
this.organizationalLevelAssociations = new (0,
|
|
370
|
-
this.phases = new (0,
|
|
371
|
-
this.products = new (0,
|
|
372
|
-
this.productVendors = new (0,
|
|
373
|
-
this.projectCharges = new (0,
|
|
374
|
-
this.projectNotes = new (0,
|
|
375
|
-
this.projects = new (0,
|
|
376
|
-
this.purchaseApprovals = new (0,
|
|
377
|
-
this.purchaseOrderItemReceiving = new (0,
|
|
378
|
-
this.purchaseOrderItems = new (0,
|
|
379
|
-
this.purchaseOrders = new (0,
|
|
380
|
-
this.quoteItems = new (0,
|
|
381
|
-
this.quoteLocations = new (0,
|
|
382
|
-
this.quotes = new (0,
|
|
383
|
-
this.quoteTemplates = new (0,
|
|
384
|
-
this.resourceRoleQueues = new (0,
|
|
385
|
-
this.resourceRoles = new (0,
|
|
386
|
-
this.resourceSkills = new (0,
|
|
387
|
-
this.resources = new (0,
|
|
388
|
-
this.resourceTimeOffAdditional = new (0,
|
|
389
|
-
this.resourceTimeOffApprovers = new (0,
|
|
390
|
-
this.resourceTimeOffBalances = new (0,
|
|
391
|
-
this.roles = new (0,
|
|
392
|
-
this.salesOrders = new (0,
|
|
393
|
-
this.serviceCalls = new (0,
|
|
394
|
-
this.serviceCallTaskResources = new (0,
|
|
395
|
-
this.serviceCallTasks = new (0,
|
|
396
|
-
this.serviceCallTicketResources = new (0,
|
|
397
|
-
this.serviceCallTickets = new (0,
|
|
398
|
-
this.serviceLevelAgreementResults = new (0,
|
|
399
|
-
this.services = new (0,
|
|
400
|
-
this.skills = new (0,
|
|
401
|
-
this.subscriptionPeriods = new (0,
|
|
402
|
-
this.subscriptions = new (0,
|
|
403
|
-
this.surveyResults = new (0,
|
|
404
|
-
this.surveys = new (0,
|
|
405
|
-
this.tagAliases = new (0,
|
|
406
|
-
this.tagGroups = new (0,
|
|
407
|
-
this.tags = new (0,
|
|
408
|
-
this.taskSecondaryResources = new (0,
|
|
409
|
-
this.tasks = new (0,
|
|
410
|
-
this.taxRegions = new (0,
|
|
411
|
-
this.thresholdInformation = new (0,
|
|
412
|
-
this.ticketAdditionalConfigurationItems = new (0,
|
|
413
|
-
this.ticketAdditionalContacts = new (0,
|
|
414
|
-
this.ticketAttachments = new (0,
|
|
415
|
-
this.ticketCategories = new (0,
|
|
416
|
-
this.ticketCategoryFieldDefaults = new (0,
|
|
417
|
-
this.ticketChangeRequestApprovals = new (0,
|
|
418
|
-
this.ticketCharges = new (0,
|
|
419
|
-
this.ticketChecklistItems = new (0,
|
|
420
|
-
this.ticketChecklistLibraries = new (0,
|
|
421
|
-
this.ticketHistory = new (0,
|
|
422
|
-
this.ticketNoteAttachments = new (0,
|
|
423
|
-
this.ticketNotes = new (0,
|
|
424
|
-
this.ticketNoteWebhooks = new (0,
|
|
425
|
-
this.ticketSecondaryResources = new (0,
|
|
426
|
-
this.tickets = new (0,
|
|
427
|
-
this.ticketWebhooks = new (0,
|
|
428
|
-
this.timeEntries = new (0,
|
|
429
|
-
this.timeEntryAttachments = new (0,
|
|
430
|
-
this.timeOffRequests = new (0,
|
|
431
|
-
this.versionInformation = new (0,
|
|
432
|
-
this.version = new (0,
|
|
433
|
-
this.zoneInformation = new (0,
|
|
298
|
+
this.appointments = new (0, _chunkEUGSF3U4cjs.AppointmentsResource)(this.http, this.config.pageSize);
|
|
299
|
+
this.authenticateResource = new (0, _chunkEUGSF3U4cjs.AuthenticateResource)(this.http);
|
|
300
|
+
this.billingCodes = new (0, _chunkFEYVLIHDcjs.BillingCodesResource)(this.http, this.config.pageSize);
|
|
301
|
+
this.billingItemApprovalLevels = new (0, _chunkEUGSF3U4cjs.BillingItemApprovalLevelsResource)(this.http, this.config.pageSize);
|
|
302
|
+
this.billingItems = new (0, _chunkFEYVLIHDcjs.BillingItemsResource)(this.http, this.config.pageSize);
|
|
303
|
+
this.changeRequestLinks = new (0, _chunkEUGSF3U4cjs.ChangeRequestLinksResource)(this.http, this.config.pageSize);
|
|
304
|
+
this.checklistLibraries = new (0, _chunkEUGSF3U4cjs.ChecklistLibrariesResource)(this.http, this.config.pageSize);
|
|
305
|
+
this.checklistLibraryChecklistItems = new (0, _chunkEUGSF3U4cjs.ChecklistLibraryChecklistItemsResource)(this.http, this.config.pageSize);
|
|
306
|
+
this.classificationIcons = new (0, _chunkEUGSF3U4cjs.ClassificationIconsResource)(this.http, this.config.pageSize);
|
|
307
|
+
this.companies = new (0, _chunkFEYVLIHDcjs.CompaniesResource)(this.http, this.config.pageSize);
|
|
308
|
+
this.companyAlerts = new (0, _chunkEUGSF3U4cjs.CompanyAlertsResource)(this.http, this.config.pageSize);
|
|
309
|
+
this.companyLocations = new (0, _chunkEUGSF3U4cjs.CompanyLocationsResource)(this.http, this.config.pageSize);
|
|
310
|
+
this.companyNotes = new (0, _chunkEUGSF3U4cjs.CompanyNotesResource)(this.http, this.config.pageSize);
|
|
311
|
+
this.companySiteConfigurations = new (0, _chunkEUGSF3U4cjs.CompanySiteConfigurationsResource)(this.http, this.config.pageSize);
|
|
312
|
+
this.companyWebhooks = new (0, _chunkEUGSF3U4cjs.CompanyWebhooksResource)(this.http, this.config.pageSize);
|
|
313
|
+
this.configurationItemBillingProductAssociations = new (0, _chunkEUGSF3U4cjs.ConfigurationItemBillingProductAssociationsResource)(this.http, this.config.pageSize);
|
|
314
|
+
this.configurationItemCategories = new (0, _chunkEUGSF3U4cjs.ConfigurationItemCategoriesResource)(this.http, this.config.pageSize);
|
|
315
|
+
this.configurationItemCategoryUdfAssociations = new (0, _chunkEUGSF3U4cjs.ConfigurationItemCategoryUdfAssociationsResource)(this.http, this.config.pageSize);
|
|
316
|
+
this.configurationItemDnsRecords = new (0, _chunkEUGSF3U4cjs.ConfigurationItemDnsRecordsResource)(this.http, this.config.pageSize);
|
|
317
|
+
this.configurationItemNotes = new (0, _chunkEUGSF3U4cjs.ConfigurationItemNotesResource)(this.http, this.config.pageSize);
|
|
318
|
+
this.configurationItemRelatedItems = new (0, _chunkEUGSF3U4cjs.ConfigurationItemRelatedItemsResource)(this.http, this.config.pageSize);
|
|
319
|
+
this.configurationItems = new (0, _chunkEUGSF3U4cjs.ConfigurationItemsResource)(this.http, this.config.pageSize);
|
|
320
|
+
this.configurationItemSslSubjectAlternativeNames = new (0, _chunkEUGSF3U4cjs.ConfigurationItemSslSubjectAlternativeNamesResource)(this.http, this.config.pageSize);
|
|
321
|
+
this.configurationItemTypes = new (0, _chunkEUGSF3U4cjs.ConfigurationItemTypesResource)(this.http, this.config.pageSize);
|
|
322
|
+
this.configurationItemWebhooks = new (0, _chunkEUGSF3U4cjs.ConfigurationItemWebhooksResource)(this.http, this.config.pageSize);
|
|
323
|
+
this.contactGroupContacts = new (0, _chunkEUGSF3U4cjs.ContactGroupContactsResource)(this.http, this.config.pageSize);
|
|
324
|
+
this.contactGroups = new (0, _chunkEUGSF3U4cjs.ContactGroupsResource)(this.http, this.config.pageSize);
|
|
325
|
+
this.contacts = new (0, _chunkEUGSF3U4cjs.ContactsResource)(this.http, this.config.pageSize);
|
|
326
|
+
this.contactWebhooks = new (0, _chunkEUGSF3U4cjs.ContactWebhooksResource)(this.http, this.config.pageSize);
|
|
327
|
+
this.contractBillingRules = new (0, _chunkEUGSF3U4cjs.ContractBillingRulesResource)(this.http, this.config.pageSize);
|
|
328
|
+
this.contractBlockHourFactors = new (0, _chunkEUGSF3U4cjs.ContractBlockHourFactorsResource)(this.http, this.config.pageSize);
|
|
329
|
+
this.contractBlocks = new (0, _chunkEUGSF3U4cjs.ContractBlocksResource)(this.http, this.config.pageSize);
|
|
330
|
+
this.contractCharges = new (0, _chunkEUGSF3U4cjs.ContractChargesResource)(this.http, this.config.pageSize);
|
|
331
|
+
this.contractExclusionBillingCodes = new (0, _chunkEUGSF3U4cjs.ContractExclusionBillingCodesResource)(this.http, this.config.pageSize);
|
|
332
|
+
this.contractExclusionRoles = new (0, _chunkEUGSF3U4cjs.ContractExclusionRolesResource)(this.http, this.config.pageSize);
|
|
333
|
+
this.contractExclusionSetExcludedRoles = new (0, _chunkEUGSF3U4cjs.ContractExclusionSetExcludedRolesResource)(this.http, this.config.pageSize);
|
|
334
|
+
this.contractExclusionSetExcludedWorkTypes = new (0, _chunkEUGSF3U4cjs.ContractExclusionSetExcludedWorkTypesResource)(this.http, this.config.pageSize);
|
|
335
|
+
this.contractExclusionSets = new (0, _chunkEUGSF3U4cjs.ContractExclusionSetsResource)(this.http, this.config.pageSize);
|
|
336
|
+
this.contractMilestones = new (0, _chunkEUGSF3U4cjs.ContractMilestonesResource)(this.http, this.config.pageSize);
|
|
337
|
+
this.contractNotes = new (0, _chunkEUGSF3U4cjs.ContractNotesResource)(this.http, this.config.pageSize);
|
|
338
|
+
this.contractRates = new (0, _chunkEUGSF3U4cjs.ContractRatesResource)(this.http, this.config.pageSize);
|
|
339
|
+
this.contractRetainers = new (0, _chunkEUGSF3U4cjs.ContractRetainersResource)(this.http, this.config.pageSize);
|
|
340
|
+
this.contractRoleCosts = new (0, _chunkEUGSF3U4cjs.ContractRoleCostsResource)(this.http, this.config.pageSize);
|
|
341
|
+
this.contractServiceAdjustments = new (0, _chunkEUGSF3U4cjs.ContractServiceAdjustmentsResource)(this.http, this.config.pageSize);
|
|
342
|
+
this.contractServiceBundleAdjustments = new (0, _chunkEUGSF3U4cjs.ContractServiceBundleAdjustmentsResource)(this.http, this.config.pageSize);
|
|
343
|
+
this.contractServiceBundles = new (0, _chunkEUGSF3U4cjs.ContractServiceBundlesResource)(this.http, this.config.pageSize);
|
|
344
|
+
this.contractServiceBundleUnits = new (0, _chunkEUGSF3U4cjs.ContractServiceBundleUnitsResource)(this.http, this.config.pageSize);
|
|
345
|
+
this.contractServices = new (0, _chunkEUGSF3U4cjs.ContractServicesResource)(this.http, this.config.pageSize);
|
|
346
|
+
this.contractServiceUnits = new (0, _chunkEUGSF3U4cjs.ContractServiceUnitsResource)(this.http, this.config.pageSize);
|
|
347
|
+
this.contracts = new (0, _chunkFEYVLIHDcjs.ContractsResource)(this.http, this.config.pageSize);
|
|
348
|
+
this.contractTicketPurchases = new (0, _chunkEUGSF3U4cjs.ContractTicketPurchasesResource)(this.http, this.config.pageSize);
|
|
349
|
+
this.countries = new (0, _chunkEUGSF3U4cjs.CountriesResource)(this.http, this.config.pageSize);
|
|
350
|
+
this.currencies = new (0, _chunkEUGSF3U4cjs.CurrenciesResource)(this.http, this.config.pageSize);
|
|
351
|
+
this.departments = new (0, _chunkEUGSF3U4cjs.DepartmentsResource)(this.http, this.config.pageSize);
|
|
352
|
+
this.domainRegistrars = new (0, _chunkEUGSF3U4cjs.DomainRegistrarsResource)(this.http, this.config.pageSize);
|
|
353
|
+
this.entityInformation = new (0, _chunkEUGSF3U4cjs.EntityInformationResource)(this.http);
|
|
354
|
+
this.expenseItemAttachments = new (0, _chunkEUGSF3U4cjs.ExpenseItemAttachmentsResource)(this.http, this.config.pageSize);
|
|
355
|
+
this.expenseItems = new (0, _chunkEUGSF3U4cjs.ExpenseItemsResource)(this.http, this.config.pageSize);
|
|
356
|
+
this.expenseReports = new (0, _chunkEUGSF3U4cjs.ExpenseReportsResource)(this.http, this.config.pageSize);
|
|
357
|
+
this.holidaySets = new (0, _chunkEUGSF3U4cjs.HolidaySetsResource)(this.http, this.config.pageSize);
|
|
358
|
+
this.holidays = new (0, _chunkEUGSF3U4cjs.HolidaysResource)(this.http, this.config.pageSize);
|
|
359
|
+
this.inventoryProducts = new (0, _chunkEUGSF3U4cjs.InventoryProductsResource)(this.http, this.config.pageSize);
|
|
360
|
+
this.invoices = new (0, _chunkFEYVLIHDcjs.InvoicesResource)(this.http, this.config.pageSize);
|
|
361
|
+
this.invoiceTemplates = new (0, _chunkEUGSF3U4cjs.InvoiceTemplatesResource)(this.http, this.config.pageSize);
|
|
362
|
+
this.modules = new (0, _chunkEUGSF3U4cjs.ModulesResource)(this.http);
|
|
363
|
+
this.notificationHistory = new (0, _chunkEUGSF3U4cjs.NotificationHistoryResource)(this.http, this.config.pageSize);
|
|
364
|
+
this.opportunities = new (0, _chunkEUGSF3U4cjs.OpportunitiesResource)(this.http, this.config.pageSize);
|
|
365
|
+
this.opportunityAttachments = new (0, _chunkEUGSF3U4cjs.OpportunityAttachmentsResource)(this.http, this.config.pageSize);
|
|
366
|
+
this.opportunityCategories = new (0, _chunkEUGSF3U4cjs.OpportunityCategoriesResource)(this.http, this.config.pageSize);
|
|
367
|
+
this.organizationalLevel1s = new (0, _chunkFEYVLIHDcjs.OrganizationalLevel1sResource)(this.http, this.config.pageSize);
|
|
368
|
+
this.organizationalLevel2s = new (0, _chunkFEYVLIHDcjs.OrganizationalLevel2sResource)(this.http, this.config.pageSize);
|
|
369
|
+
this.organizationalLevelAssociations = new (0, _chunkFEYVLIHDcjs.OrganizationalLevelAssociationsResource)(this.http, this.config.pageSize);
|
|
370
|
+
this.phases = new (0, _chunkEUGSF3U4cjs.PhasesResource)(this.http, this.config.pageSize);
|
|
371
|
+
this.products = new (0, _chunkEUGSF3U4cjs.ProductsResource)(this.http, this.config.pageSize);
|
|
372
|
+
this.productVendors = new (0, _chunkEUGSF3U4cjs.ProductVendorsResource)(this.http, this.config.pageSize);
|
|
373
|
+
this.projectCharges = new (0, _chunkEUGSF3U4cjs.ProjectChargesResource)(this.http, this.config.pageSize);
|
|
374
|
+
this.projectNotes = new (0, _chunkEUGSF3U4cjs.ProjectNotesResource)(this.http, this.config.pageSize);
|
|
375
|
+
this.projects = new (0, _chunkEUGSF3U4cjs.ProjectsResource)(this.http, this.config.pageSize);
|
|
376
|
+
this.purchaseApprovals = new (0, _chunkEUGSF3U4cjs.PurchaseApprovalsResource)(this.http, this.config.pageSize);
|
|
377
|
+
this.purchaseOrderItemReceiving = new (0, _chunkEUGSF3U4cjs.PurchaseOrderItemReceivingResource)(this.http, this.config.pageSize);
|
|
378
|
+
this.purchaseOrderItems = new (0, _chunkEUGSF3U4cjs.PurchaseOrderItemsResource)(this.http, this.config.pageSize);
|
|
379
|
+
this.purchaseOrders = new (0, _chunkEUGSF3U4cjs.PurchaseOrdersResource)(this.http, this.config.pageSize);
|
|
380
|
+
this.quoteItems = new (0, _chunkEUGSF3U4cjs.QuoteItemsResource)(this.http, this.config.pageSize);
|
|
381
|
+
this.quoteLocations = new (0, _chunkEUGSF3U4cjs.QuoteLocationsResource)(this.http, this.config.pageSize);
|
|
382
|
+
this.quotes = new (0, _chunkEUGSF3U4cjs.QuotesResource)(this.http, this.config.pageSize);
|
|
383
|
+
this.quoteTemplates = new (0, _chunkEUGSF3U4cjs.QuoteTemplatesResource)(this.http, this.config.pageSize);
|
|
384
|
+
this.resourceRoleQueues = new (0, _chunkEUGSF3U4cjs.ResourceRoleQueuesResource)(this.http, this.config.pageSize);
|
|
385
|
+
this.resourceRoles = new (0, _chunkEUGSF3U4cjs.ResourceRolesResource)(this.http, this.config.pageSize);
|
|
386
|
+
this.resourceSkills = new (0, _chunkEUGSF3U4cjs.ResourceSkillsResource)(this.http, this.config.pageSize);
|
|
387
|
+
this.resources = new (0, _chunkFEYVLIHDcjs.ResourcesResource)(this.http, this.config, this.config.pageSize);
|
|
388
|
+
this.resourceTimeOffAdditional = new (0, _chunkEUGSF3U4cjs.ResourceTimeOffAdditionalResource)(this.http, this.config.pageSize);
|
|
389
|
+
this.resourceTimeOffApprovers = new (0, _chunkEUGSF3U4cjs.ResourceTimeOffApproversResource)(this.http, this.config.pageSize);
|
|
390
|
+
this.resourceTimeOffBalances = new (0, _chunkEUGSF3U4cjs.ResourceTimeOffBalancesResource)(this.http, this.config.pageSize);
|
|
391
|
+
this.roles = new (0, _chunkEUGSF3U4cjs.RolesResource)(this.http, this.config.pageSize);
|
|
392
|
+
this.salesOrders = new (0, _chunkEUGSF3U4cjs.SalesOrdersResource)(this.http, this.config.pageSize);
|
|
393
|
+
this.serviceCalls = new (0, _chunkEUGSF3U4cjs.ServiceCallsResource)(this.http, this.config.pageSize);
|
|
394
|
+
this.serviceCallTaskResources = new (0, _chunkEUGSF3U4cjs.ServiceCallTaskResourcesResource)(this.http, this.config.pageSize);
|
|
395
|
+
this.serviceCallTasks = new (0, _chunkEUGSF3U4cjs.ServiceCallTasksResource)(this.http, this.config.pageSize);
|
|
396
|
+
this.serviceCallTicketResources = new (0, _chunkEUGSF3U4cjs.ServiceCallTicketResourcesResource)(this.http, this.config.pageSize);
|
|
397
|
+
this.serviceCallTickets = new (0, _chunkEUGSF3U4cjs.ServiceCallTicketsResource)(this.http, this.config.pageSize);
|
|
398
|
+
this.serviceLevelAgreementResults = new (0, _chunkEUGSF3U4cjs.ServiceLevelAgreementResultsResource)(this.http, this.config.pageSize);
|
|
399
|
+
this.services = new (0, _chunkEUGSF3U4cjs.ServicesResource)(this.http, this.config.pageSize);
|
|
400
|
+
this.skills = new (0, _chunkEUGSF3U4cjs.SkillsResource)(this.http, this.config.pageSize);
|
|
401
|
+
this.subscriptionPeriods = new (0, _chunkEUGSF3U4cjs.SubscriptionPeriodsResource)(this.http, this.config.pageSize);
|
|
402
|
+
this.subscriptions = new (0, _chunkEUGSF3U4cjs.SubscriptionsResource)(this.http, this.config.pageSize);
|
|
403
|
+
this.surveyResults = new (0, _chunkEUGSF3U4cjs.SurveyResultsResource)(this.http, this.config.pageSize);
|
|
404
|
+
this.surveys = new (0, _chunkEUGSF3U4cjs.SurveysResource)(this.http, this.config.pageSize);
|
|
405
|
+
this.tagAliases = new (0, _chunkEUGSF3U4cjs.TagAliasesResource)(this.http, this.config.pageSize);
|
|
406
|
+
this.tagGroups = new (0, _chunkEUGSF3U4cjs.TagGroupsResource)(this.http, this.config.pageSize);
|
|
407
|
+
this.tags = new (0, _chunkEUGSF3U4cjs.TagsResource)(this.http, this.config.pageSize);
|
|
408
|
+
this.taskSecondaryResources = new (0, _chunkEUGSF3U4cjs.TaskSecondaryResourcesResource)(this.http, this.config.pageSize);
|
|
409
|
+
this.tasks = new (0, _chunkEUGSF3U4cjs.TasksResource)(this.http, this.config.pageSize);
|
|
410
|
+
this.taxRegions = new (0, _chunkEUGSF3U4cjs.TaxRegionsResource)(this.http, this.config.pageSize);
|
|
411
|
+
this.thresholdInformation = new (0, _chunkEUGSF3U4cjs.ThresholdInformationResource)(this.http);
|
|
412
|
+
this.ticketAdditionalConfigurationItems = new (0, _chunkEUGSF3U4cjs.TicketAdditionalConfigurationItemsResource)(this.http, this.config.pageSize);
|
|
413
|
+
this.ticketAdditionalContacts = new (0, _chunkEUGSF3U4cjs.TicketAdditionalContactsResource)(this.http, this.config.pageSize);
|
|
414
|
+
this.ticketAttachments = new (0, _chunkEUGSF3U4cjs.TicketAttachmentsResource)(this.http, this.config.pageSize);
|
|
415
|
+
this.ticketCategories = new (0, _chunkEUGSF3U4cjs.TicketCategoriesResource)(this.http, this.config.pageSize);
|
|
416
|
+
this.ticketCategoryFieldDefaults = new (0, _chunkEUGSF3U4cjs.TicketCategoryFieldDefaultsResource)(this.http, this.config.pageSize);
|
|
417
|
+
this.ticketChangeRequestApprovals = new (0, _chunkEUGSF3U4cjs.TicketChangeRequestApprovalsResource)(this.http, this.config.pageSize);
|
|
418
|
+
this.ticketCharges = new (0, _chunkEUGSF3U4cjs.TicketChargesResource)(this.http, this.config.pageSize);
|
|
419
|
+
this.ticketChecklistItems = new (0, _chunkEUGSF3U4cjs.TicketChecklistItemsResource)(this.http, this.config.pageSize);
|
|
420
|
+
this.ticketChecklistLibraries = new (0, _chunkEUGSF3U4cjs.TicketChecklistLibrariesResource)(this.http, this.config.pageSize);
|
|
421
|
+
this.ticketHistory = new (0, _chunkEUGSF3U4cjs.TicketHistoryResource)(this.http, this.config.pageSize);
|
|
422
|
+
this.ticketNoteAttachments = new (0, _chunkEUGSF3U4cjs.TicketNoteAttachmentsResource)(this.http, this.config.pageSize);
|
|
423
|
+
this.ticketNotes = new (0, _chunkEUGSF3U4cjs.TicketNotesResource)(this.http, this.config.pageSize);
|
|
424
|
+
this.ticketNoteWebhooks = new (0, _chunkEUGSF3U4cjs.TicketNoteWebhooksResource)(this.http, this.config.pageSize);
|
|
425
|
+
this.ticketSecondaryResources = new (0, _chunkEUGSF3U4cjs.TicketSecondaryResourcesResource)(this.http, this.config.pageSize);
|
|
426
|
+
this.tickets = new (0, _chunkEUGSF3U4cjs.TicketsResource)(this.http, this.config.pageSize);
|
|
427
|
+
this.ticketWebhooks = new (0, _chunkEUGSF3U4cjs.TicketWebhooksResource)(this.http, this.config.pageSize);
|
|
428
|
+
this.timeEntries = new (0, _chunkFEYVLIHDcjs.TimeEntriesResource)(this.http, this.config.pageSize);
|
|
429
|
+
this.timeEntryAttachments = new (0, _chunkEUGSF3U4cjs.TimeEntryAttachmentsResource)(this.http, this.config.pageSize);
|
|
430
|
+
this.timeOffRequests = new (0, _chunkEUGSF3U4cjs.TimeOffRequestsResource)(this.http, this.config.pageSize);
|
|
431
|
+
this.versionInformation = new (0, _chunkEUGSF3U4cjs.VersionInformationResource)(this.http);
|
|
432
|
+
this.version = new (0, _chunkEUGSF3U4cjs.VersionResource)(this.http);
|
|
433
|
+
this.zoneInformation = new (0, _chunkEUGSF3U4cjs.ZoneInformationResource)(this.http);
|
|
434
434
|
}
|
|
435
435
|
/**
|
|
436
436
|
* `GET /V1.0/Authenticate` → `AuthTokenResultModel` (as-is). The SDK does
|
|
@@ -464,12 +464,12 @@ var AutotaskClient = class {
|
|
|
464
464
|
* parameter on each: `await client.withSignal(signal, () => invoke(client, ...))`.
|
|
465
465
|
*/
|
|
466
466
|
withSignal(signal, fn) {
|
|
467
|
-
return
|
|
467
|
+
return _chunkFEYVLIHDcjs.runWithSignal.call(void 0, signal, fn);
|
|
468
468
|
}
|
|
469
469
|
async batch(fn, items, opts = {}) {
|
|
470
470
|
const concurrency = _nullishCoalesce(opts.concurrency, () => ( this.config.maxConcurrent));
|
|
471
471
|
if (!Number.isInteger(concurrency) || concurrency <= 0) {
|
|
472
|
-
throw new (0,
|
|
472
|
+
throw new (0, _chunkFEYVLIHDcjs.AutotaskConfigError)("batch concurrency must be a positive integer");
|
|
473
473
|
}
|
|
474
474
|
const { signal, settle } = opts;
|
|
475
475
|
const results = new Array(items.length);
|
|
@@ -484,7 +484,7 @@ var AutotaskClient = class {
|
|
|
484
484
|
const i = next++;
|
|
485
485
|
try {
|
|
486
486
|
const item = items[i];
|
|
487
|
-
const value = await (signal === void 0 ? fn(item) :
|
|
487
|
+
const value = await (signal === void 0 ? fn(item) : _chunkFEYVLIHDcjs.runWithSignal.call(void 0, signal, () => fn(item)));
|
|
488
488
|
results[i] = settle ? { status: "fulfilled", value } : value;
|
|
489
489
|
} catch (error) {
|
|
490
490
|
if (settle) results[i] = { status: "rejected", reason: error };
|