@workbuddy/sdk-js-vnext 1.0.111 → 1.0.113

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 (2) hide show
  1. package/index.d.ts +22 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -779,6 +779,8 @@ export interface WorkBuddyJobsCreateParams extends WorkBuddyRequestParams {
779
779
  * Job type ID — use /settings/job-types to look up
780
780
  */
781
781
  typeId?: string;
782
+
783
+ structure?: 'basic' | 'advanced' | 'project';
782
784
  /**
783
785
  * Priority ID — use /settings/priorities to look up
784
786
  */
@@ -901,6 +903,8 @@ export interface WorkBuddyJobsTemplateCreateFromTemplateParams extends WorkBuddy
901
903
  * Job type ID — use /settings/job-types to look up
902
904
  */
903
905
  typeId?: string;
906
+
907
+ structure?: 'basic' | 'advanced' | 'project';
904
908
  /**
905
909
  * Priority ID — use /settings/priorities to look up
906
910
  */
@@ -1040,6 +1044,8 @@ export interface WorkBuddyJobsUpdateParams extends WorkBuddyRequestParams {
1040
1044
  * Job type ID — use /settings/job-types to look up
1041
1045
  */
1042
1046
  typeId?: string;
1047
+
1048
+ structure?: 'basic' | 'advanced' | 'project';
1043
1049
  /**
1044
1050
  * Priority ID — use /settings/priorities to look up
1045
1051
  */
@@ -5814,6 +5820,7 @@ export type WorkBuddyJobsSearchResponse = {
5814
5820
  contact?: string;
5815
5821
  customerSupervisor?: string;
5816
5822
  type?: string;
5823
+ structure: 'basic' | 'advanced' | 'project';
5817
5824
  priority?: string;
5818
5825
  owner?: string;
5819
5826
  fieldSupervisor?: string;
@@ -5898,6 +5905,7 @@ export type WorkBuddyJobsGetResponse = {
5898
5905
  contact?: string;
5899
5906
  customerSupervisor?: string;
5900
5907
  type?: string;
5908
+ structure: 'basic' | 'advanced' | 'project';
5901
5909
  priority?: string;
5902
5910
  owner?: string;
5903
5911
  fieldSupervisor?: string;
@@ -5981,6 +5989,7 @@ export type WorkBuddyJobsCreateResponse = {
5981
5989
  contact?: string;
5982
5990
  customerSupervisor?: string;
5983
5991
  type?: string;
5992
+ structure: 'basic' | 'advanced' | 'project';
5984
5993
  priority?: string;
5985
5994
  owner?: string;
5986
5995
  fieldSupervisor?: string;
@@ -6063,6 +6072,7 @@ export type WorkBuddyJobsTemplateCreateFromTemplateResponse = {
6063
6072
  contact?: string;
6064
6073
  customerSupervisor?: string;
6065
6074
  type?: string;
6075
+ structure: 'basic' | 'advanced' | 'project';
6066
6076
  priority?: string;
6067
6077
  owner?: string;
6068
6078
  fieldSupervisor?: string;
@@ -6145,6 +6155,7 @@ export type WorkBuddyJobsFinanceUpdateFinanceResponse = {
6145
6155
  contact?: string;
6146
6156
  customerSupervisor?: string;
6147
6157
  type?: string;
6158
+ structure: 'basic' | 'advanced' | 'project';
6148
6159
  priority?: string;
6149
6160
  owner?: string;
6150
6161
  fieldSupervisor?: string;
@@ -6228,6 +6239,7 @@ export type WorkBuddyJobsStatusUpdateStatusResponse = {
6228
6239
  contact?: string;
6229
6240
  customerSupervisor?: string;
6230
6241
  type?: string;
6242
+ structure: 'basic' | 'advanced' | 'project';
6231
6243
  priority?: string;
6232
6244
  owner?: string;
6233
6245
  fieldSupervisor?: string;
@@ -6310,6 +6322,7 @@ export type WorkBuddyJobsUpdateResponse = {
6310
6322
  contact?: string;
6311
6323
  customerSupervisor?: string;
6312
6324
  type?: string;
6325
+ structure: 'basic' | 'advanced' | 'project';
6313
6326
  priority?: string;
6314
6327
  owner?: string;
6315
6328
  fieldSupervisor?: string;
@@ -6392,6 +6405,7 @@ export type WorkBuddyJobsDispatchResponse = {
6392
6405
  contact?: string;
6393
6406
  customerSupervisor?: string;
6394
6407
  type?: string;
6408
+ structure: 'basic' | 'advanced' | 'project';
6395
6409
  priority?: string;
6396
6410
  owner?: string;
6397
6411
  fieldSupervisor?: string;
@@ -7307,7 +7321,14 @@ export type WorkBuddyJobsStagesResourcesStatusUpdateStatusResponse = unknown;
7307
7321
  export type WorkBuddySettingsEntityStatusesListResponse = { items: { id: string; name: string; statusType: string }[] };
7308
7322
  export type WorkBuddySettingsJobStatusesListResponse = { items: { id: string; name: string }[] };
7309
7323
  export type WorkBuddySettingsJobTypesListResponse = {
7310
- items: { id: string; name: string; sortOrder?: number; isDefault?: boolean; keywords?: string[] }[];
7324
+ items: {
7325
+ id: string;
7326
+ name: string;
7327
+ sortOrder?: number;
7328
+ isDefault?: boolean;
7329
+ keywords?: string[];
7330
+ defaultStructure?: 'basic' | 'advanced' | 'project';
7331
+ }[];
7311
7332
  };
7312
7333
  export type WorkBuddySettingsJobTemplatesListResponse = { items: { id: string; name: string }[] };
7313
7334
  export type WorkBuddySettingsPrioritiesListResponse = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workbuddy/sdk-js-vnext",
3
- "version": "1.0.111",
3
+ "version": "1.0.113",
4
4
  "description": "WorkBuddy Public API JavaScript client",
5
5
  "license": "MIT",
6
6
  "type": "module",