@workbuddy/sdk-js-vnext 1.0.14 → 1.0.16
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/index.d.ts +16 -0
- package/index.js +20 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1480,6 +1480,8 @@ export interface WorkBuddySettingsJobStatusesListParams extends WorkBuddyRequest
|
|
|
1480
1480
|
|
|
1481
1481
|
export interface WorkBuddySettingsJobTypesListParams extends WorkBuddyRequestParams {}
|
|
1482
1482
|
|
|
1483
|
+
export interface WorkBuddySettingsJobTemplatesListParams extends WorkBuddyRequestParams {}
|
|
1484
|
+
|
|
1483
1485
|
export interface WorkBuddySettingsPrioritiesListParams extends WorkBuddyRequestParams {}
|
|
1484
1486
|
|
|
1485
1487
|
export interface WorkBuddySettingsStageStatusesListParams extends WorkBuddyRequestParams {}
|
|
@@ -4533,6 +4535,7 @@ export type WorkBuddySettingsJobStatusesListResponse = { items: { id: string; na
|
|
|
4533
4535
|
export type WorkBuddySettingsJobTypesListResponse = {
|
|
4534
4536
|
items: { id: string; name: string; sortOrder?: number; isDefault?: boolean }[];
|
|
4535
4537
|
};
|
|
4538
|
+
export type WorkBuddySettingsJobTemplatesListResponse = { items: { id: string; name: string }[] };
|
|
4536
4539
|
export type WorkBuddySettingsPrioritiesListResponse = {
|
|
4537
4540
|
items: { id: string; name: string; sortOrder?: number; color?: string }[];
|
|
4538
4541
|
};
|
|
@@ -6313,6 +6316,8 @@ export interface WorkBuddySettingsResource {
|
|
|
6313
6316
|
jobStatuses: WorkBuddySettingsJobStatusesResource;
|
|
6314
6317
|
/** Job Types API operations. */
|
|
6315
6318
|
jobTypes: WorkBuddySettingsJobTypesResource;
|
|
6319
|
+
/** Job Templates API operations. */
|
|
6320
|
+
jobTemplates: WorkBuddySettingsJobTemplatesResource;
|
|
6316
6321
|
/** Priorities API operations. */
|
|
6317
6322
|
priorities: WorkBuddySettingsPrioritiesResource;
|
|
6318
6323
|
/** Stage Statuses API operations. */
|
|
@@ -6368,6 +6373,17 @@ export interface WorkBuddySettingsJobTypesResource {
|
|
|
6368
6373
|
): Promise<TResponse>;
|
|
6369
6374
|
}
|
|
6370
6375
|
|
|
6376
|
+
export interface WorkBuddySettingsJobTemplatesResource {
|
|
6377
|
+
/**
|
|
6378
|
+
* Retrieve all active, public job templates configured for the tenant. Use the returned id as the templateId for POST /jobs/template/:templateId.
|
|
6379
|
+
* Operation: PublicApiJobTemplateController_list
|
|
6380
|
+
*/
|
|
6381
|
+
list<TResponse = WorkBuddySettingsJobTemplatesListResponse>(
|
|
6382
|
+
params?: WorkBuddySettingsJobTemplatesListParams,
|
|
6383
|
+
options?: WorkBuddyRequestOptions
|
|
6384
|
+
): Promise<TResponse>;
|
|
6385
|
+
}
|
|
6386
|
+
|
|
6371
6387
|
export interface WorkBuddySettingsPrioritiesResource {
|
|
6372
6388
|
/**
|
|
6373
6389
|
* Retrieve all active priority levels configured for the tenant. Priorities indicate the urgency of jobs (e.g., Critical, High, Medium, Low).
|
package/index.js
CHANGED
|
@@ -539,6 +539,13 @@ export class WorkBuddyClient {
|
|
|
539
539
|
*/
|
|
540
540
|
list: (params = {}, options = {}) => this.request('PublicApiJobTypeController_list', params, options),
|
|
541
541
|
},
|
|
542
|
+
jobTemplates: {
|
|
543
|
+
/**
|
|
544
|
+
* Retrieve all active, public job templates configured for the tenant. Use the returned id as the templateId for POST /jobs/template/:templateId.
|
|
545
|
+
* Operation: PublicApiJobTemplateController_list
|
|
546
|
+
*/
|
|
547
|
+
list: (params = {}, options = {}) => this.request('PublicApiJobTemplateController_list', params, options),
|
|
548
|
+
},
|
|
542
549
|
priorities: {
|
|
543
550
|
/**
|
|
544
551
|
* Retrieve all active priority levels configured for the tenant. Priorities indicate the urgency of jobs (e.g., Critical, High, Medium, Low).
|
|
@@ -1707,6 +1714,19 @@ export const operations = [
|
|
|
1707
1714
|
queryParams: [],
|
|
1708
1715
|
hasRequestBody: false,
|
|
1709
1716
|
},
|
|
1717
|
+
{
|
|
1718
|
+
operationId: 'PublicApiJobTemplateController_list',
|
|
1719
|
+
resourcePath: ['settings', 'jobTemplates'],
|
|
1720
|
+
actionName: 'list',
|
|
1721
|
+
displayName: 'List job templates',
|
|
1722
|
+
description:
|
|
1723
|
+
'Retrieve all active, public job templates configured for the tenant. Use the returned id as the templateId for POST /jobs/template/:templateId.',
|
|
1724
|
+
method: 'GET',
|
|
1725
|
+
path: '/settings/job-templates',
|
|
1726
|
+
pathParams: [],
|
|
1727
|
+
queryParams: [],
|
|
1728
|
+
hasRequestBody: false,
|
|
1729
|
+
},
|
|
1710
1730
|
{
|
|
1711
1731
|
operationId: 'PublicApiPriorityController_list',
|
|
1712
1732
|
resourcePath: ['settings', 'priorities'],
|