@workbuddy/sdk-js-vnext 1.0.113 → 1.0.114

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 (3) hide show
  1. package/index.d.ts +133 -2
  2. package/index.js +5 -4
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1310,6 +1310,7 @@ export interface WorkBuddyJobsStagesPendingItemsCreateParams extends WorkBuddyRe
1310
1310
  sellPrice?: number;
1311
1311
  invoicingStatus?: 'Billable' | 'No Charge' | 'Not Billable';
1312
1312
  suppliedBySubcontractor?: boolean;
1313
+ workAlreadyCompleted?: boolean;
1313
1314
  }[];
1314
1315
  }
1315
1316
 
@@ -1361,6 +1362,8 @@ export interface WorkBuddyJobsStagesPendingItemsUpdateParams extends WorkBuddyRe
1361
1362
  invoicingStatus?: 'Billable' | 'No Charge' | 'Not Billable';
1362
1363
 
1363
1364
  suppliedBySubcontractor?: boolean;
1365
+
1366
+ workAlreadyCompleted?: boolean;
1364
1367
  }
1365
1368
 
1366
1369
  export interface WorkBuddyJobsStagesPendingItemsDeleteParams extends WorkBuddyRequestParams {
@@ -3985,6 +3988,15 @@ export interface WorkBuddyJobsTasksCreateParams extends WorkBuddyRequestParams {
3985
3988
  commentEnabled?: boolean;
3986
3989
  fileEnabled?: boolean;
3987
3990
  formEnabled?: boolean;
3991
+ evidenceEnforcement?: {
3992
+ beforePhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
3993
+ duringPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
3994
+ afterPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
3995
+ form?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
3996
+ file?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
3997
+ signature?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
3998
+ comment?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
3999
+ };
3988
4000
  };
3989
4001
  /**
3990
4002
  * Sharing options — control visibility to customer portal and field app
@@ -4152,6 +4164,15 @@ export interface WorkBuddyJobsStagesTasksCreateParams extends WorkBuddyRequestPa
4152
4164
  commentEnabled?: boolean;
4153
4165
  fileEnabled?: boolean;
4154
4166
  formEnabled?: boolean;
4167
+ evidenceEnforcement?: {
4168
+ beforePhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
4169
+ duringPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
4170
+ afterPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
4171
+ form?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
4172
+ file?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
4173
+ signature?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
4174
+ comment?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
4175
+ };
4155
4176
  };
4156
4177
  /**
4157
4178
  * Sharing options — control visibility to customer portal and field app
@@ -5666,6 +5687,8 @@ export interface WorkBuddyServicePlansLinesTasksPatchParams extends WorkBuddyReq
5666
5687
 
5667
5688
  mandatory?: boolean;
5668
5689
 
5690
+ mandatoryForClaiming?: boolean;
5691
+
5669
5692
  signatureEnabled?: boolean;
5670
5693
 
5671
5694
  commentEnabled?: boolean;
@@ -5687,6 +5710,16 @@ export interface WorkBuddyServicePlansLinesTasksPatchParams extends WorkBuddyReq
5687
5710
  * form template ID
5688
5711
  */
5689
5712
  formTemplateId?: string;
5713
+
5714
+ evidenceEnforcement?: {
5715
+ beforePhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
5716
+ duringPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
5717
+ afterPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
5718
+ form?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
5719
+ file?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
5720
+ signature?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
5721
+ comment?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
5722
+ };
5690
5723
  }
5691
5724
 
5692
5725
  export interface WorkBuddyServicePlansLinesTasksSubtasksListParams extends WorkBuddyRequestParams {
@@ -5768,6 +5801,8 @@ export interface WorkBuddyServicePlansLinesTasksSubtasksPatchParams extends Work
5768
5801
 
5769
5802
  mandatory?: boolean;
5770
5803
 
5804
+ mandatoryForClaiming?: boolean;
5805
+
5771
5806
  signatureEnabled?: boolean;
5772
5807
 
5773
5808
  commentEnabled?: boolean;
@@ -5789,6 +5824,16 @@ export interface WorkBuddyServicePlansLinesTasksSubtasksPatchParams extends Work
5789
5824
  * form template ID
5790
5825
  */
5791
5826
  formTemplateId?: string;
5827
+
5828
+ evidenceEnforcement?: {
5829
+ beforePhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
5830
+ duringPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
5831
+ afterPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
5832
+ form?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
5833
+ file?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
5834
+ signature?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
5835
+ comment?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
5836
+ };
5792
5837
  }
5793
5838
 
5794
5839
  export interface WorkBuddyMcpListParams extends WorkBuddyRequestParams {}
@@ -6673,6 +6718,7 @@ export type WorkBuddyPendingItemsListResponse = {
6673
6718
  sellPrice?: number;
6674
6719
  invoicingStatus?: string;
6675
6720
  suppliedBySubcontractor: boolean;
6721
+ workAlreadyCompleted: boolean;
6676
6722
  createdAt: string;
6677
6723
  updatedAt: string;
6678
6724
  }[];
@@ -6696,6 +6742,7 @@ export type WorkBuddyJobsStagesPendingItemsListResponse = {
6696
6742
  sellPrice?: number;
6697
6743
  invoicingStatus?: string;
6698
6744
  suppliedBySubcontractor: boolean;
6745
+ workAlreadyCompleted: boolean;
6699
6746
  createdAt: string;
6700
6747
  updatedAt: string;
6701
6748
  }[];
@@ -6719,6 +6766,7 @@ export type WorkBuddyJobsStagesPendingItemsCreateResponse = {
6719
6766
  sellPrice?: number;
6720
6767
  invoicingStatus?: string;
6721
6768
  suppliedBySubcontractor: boolean;
6769
+ workAlreadyCompleted: boolean;
6722
6770
  createdAt: string;
6723
6771
  updatedAt: string;
6724
6772
  }[];
@@ -6740,6 +6788,7 @@ export type WorkBuddyJobsStagesPendingItemsGetResponse = {
6740
6788
  sellPrice?: number;
6741
6789
  invoicingStatus?: string;
6742
6790
  suppliedBySubcontractor: boolean;
6791
+ workAlreadyCompleted: boolean;
6743
6792
  createdAt: string;
6744
6793
  updatedAt: string;
6745
6794
  };
@@ -6760,6 +6809,7 @@ export type WorkBuddyJobsStagesPendingItemsUpdateResponse = {
6760
6809
  sellPrice?: number;
6761
6810
  invoicingStatus?: string;
6762
6811
  suppliedBySubcontractor: boolean;
6812
+ workAlreadyCompleted: boolean;
6763
6813
  createdAt: string;
6764
6814
  updatedAt: string;
6765
6815
  };
@@ -6781,6 +6831,7 @@ export type WorkBuddyJobsStagesPendingItemsStatusUpdateStatusResponse = {
6781
6831
  sellPrice?: number;
6782
6832
  invoicingStatus?: string;
6783
6833
  suppliedBySubcontractor: boolean;
6834
+ workAlreadyCompleted: boolean;
6784
6835
  createdAt: string;
6785
6836
  updatedAt: string;
6786
6837
  };
@@ -13161,6 +13212,7 @@ export type WorkBuddyServicePlansLinesTasksListResponse = {
13161
13212
  schedule: string;
13162
13213
  exceptions: string;
13163
13214
  mandatory: boolean;
13215
+ mandatoryForClaiming: boolean;
13164
13216
  signatureEnabled: boolean;
13165
13217
  commentEnabled: boolean;
13166
13218
  beforePhotoEnabled: boolean;
@@ -13170,6 +13222,15 @@ export type WorkBuddyServicePlansLinesTasksListResponse = {
13170
13222
  fileTemplate: string;
13171
13223
  formEnabled: boolean;
13172
13224
  formTemplate: string;
13225
+ evidenceEnforcement?: {
13226
+ beforePhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13227
+ duringPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13228
+ afterPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13229
+ form?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13230
+ file?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13231
+ signature?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13232
+ comment?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13233
+ };
13173
13234
  active: boolean;
13174
13235
  createdAt?: string;
13175
13236
  updatedAt?: string;
@@ -13193,6 +13254,7 @@ export type WorkBuddyServicePlansLinesTasksCreateResponse = {
13193
13254
  schedule: string;
13194
13255
  exceptions: string;
13195
13256
  mandatory: boolean;
13257
+ mandatoryForClaiming: boolean;
13196
13258
  signatureEnabled: boolean;
13197
13259
  commentEnabled: boolean;
13198
13260
  beforePhotoEnabled: boolean;
@@ -13202,6 +13264,15 @@ export type WorkBuddyServicePlansLinesTasksCreateResponse = {
13202
13264
  fileTemplate: string;
13203
13265
  formEnabled: boolean;
13204
13266
  formTemplate: string;
13267
+ evidenceEnforcement?: {
13268
+ beforePhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13269
+ duringPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13270
+ afterPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13271
+ form?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13272
+ file?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13273
+ signature?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13274
+ comment?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13275
+ };
13205
13276
  active: boolean;
13206
13277
  createdAt?: string;
13207
13278
  updatedAt?: string;
@@ -13225,6 +13296,7 @@ export type WorkBuddyServicePlansLinesTasksGetResponse = {
13225
13296
  schedule: string;
13226
13297
  exceptions: string;
13227
13298
  mandatory: boolean;
13299
+ mandatoryForClaiming: boolean;
13228
13300
  signatureEnabled: boolean;
13229
13301
  commentEnabled: boolean;
13230
13302
  beforePhotoEnabled: boolean;
@@ -13234,6 +13306,15 @@ export type WorkBuddyServicePlansLinesTasksGetResponse = {
13234
13306
  fileTemplate: string;
13235
13307
  formEnabled: boolean;
13236
13308
  formTemplate: string;
13309
+ evidenceEnforcement?: {
13310
+ beforePhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13311
+ duringPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13312
+ afterPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13313
+ form?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13314
+ file?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13315
+ signature?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13316
+ comment?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13317
+ };
13237
13318
  active: boolean;
13238
13319
  createdAt?: string;
13239
13320
  updatedAt?: string;
@@ -13252,6 +13333,7 @@ export type WorkBuddyServicePlansLinesTasksPatchResponse = {
13252
13333
  schedule: string;
13253
13334
  exceptions: string;
13254
13335
  mandatory: boolean;
13336
+ mandatoryForClaiming: boolean;
13255
13337
  signatureEnabled: boolean;
13256
13338
  commentEnabled: boolean;
13257
13339
  beforePhotoEnabled: boolean;
@@ -13261,6 +13343,15 @@ export type WorkBuddyServicePlansLinesTasksPatchResponse = {
13261
13343
  fileTemplate: string;
13262
13344
  formEnabled: boolean;
13263
13345
  formTemplate: string;
13346
+ evidenceEnforcement?: {
13347
+ beforePhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13348
+ duringPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13349
+ afterPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13350
+ form?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13351
+ file?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13352
+ signature?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13353
+ comment?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13354
+ };
13264
13355
  active: boolean;
13265
13356
  createdAt?: string;
13266
13357
  updatedAt?: string;
@@ -13275,6 +13366,7 @@ export type WorkBuddyServicePlansLinesTasksSubtasksListResponse = {
13275
13366
  name: string;
13276
13367
  description: string;
13277
13368
  mandatory: boolean;
13369
+ mandatoryForClaiming: boolean;
13278
13370
  signatureEnabled: boolean;
13279
13371
  commentEnabled: boolean;
13280
13372
  beforePhotoEnabled: boolean;
@@ -13284,6 +13376,15 @@ export type WorkBuddyServicePlansLinesTasksSubtasksListResponse = {
13284
13376
  fileTemplate: string;
13285
13377
  formEnabled: boolean;
13286
13378
  formTemplate: string;
13379
+ evidenceEnforcement?: {
13380
+ beforePhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13381
+ duringPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13382
+ afterPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13383
+ form?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13384
+ file?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13385
+ signature?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13386
+ comment?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13387
+ };
13287
13388
  active: boolean;
13288
13389
  createdAt?: string;
13289
13390
  updatedAt?: string;
@@ -13303,6 +13404,7 @@ export type WorkBuddyServicePlansLinesTasksSubtasksCreateResponse = {
13303
13404
  name: string;
13304
13405
  description: string;
13305
13406
  mandatory: boolean;
13407
+ mandatoryForClaiming: boolean;
13306
13408
  signatureEnabled: boolean;
13307
13409
  commentEnabled: boolean;
13308
13410
  beforePhotoEnabled: boolean;
@@ -13312,6 +13414,15 @@ export type WorkBuddyServicePlansLinesTasksSubtasksCreateResponse = {
13312
13414
  fileTemplate: string;
13313
13415
  formEnabled: boolean;
13314
13416
  formTemplate: string;
13417
+ evidenceEnforcement?: {
13418
+ beforePhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13419
+ duringPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13420
+ afterPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13421
+ form?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13422
+ file?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13423
+ signature?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13424
+ comment?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13425
+ };
13315
13426
  active: boolean;
13316
13427
  createdAt?: string;
13317
13428
  updatedAt?: string;
@@ -13331,6 +13442,7 @@ export type WorkBuddyServicePlansLinesTasksSubtasksGetResponse = {
13331
13442
  name: string;
13332
13443
  description: string;
13333
13444
  mandatory: boolean;
13445
+ mandatoryForClaiming: boolean;
13334
13446
  signatureEnabled: boolean;
13335
13447
  commentEnabled: boolean;
13336
13448
  beforePhotoEnabled: boolean;
@@ -13340,6 +13452,15 @@ export type WorkBuddyServicePlansLinesTasksSubtasksGetResponse = {
13340
13452
  fileTemplate: string;
13341
13453
  formEnabled: boolean;
13342
13454
  formTemplate: string;
13455
+ evidenceEnforcement?: {
13456
+ beforePhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13457
+ duringPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13458
+ afterPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13459
+ form?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13460
+ file?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13461
+ signature?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13462
+ comment?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13463
+ };
13343
13464
  active: boolean;
13344
13465
  createdAt?: string;
13345
13466
  updatedAt?: string;
@@ -13354,6 +13475,7 @@ export type WorkBuddyServicePlansLinesTasksSubtasksPatchResponse = {
13354
13475
  name: string;
13355
13476
  description: string;
13356
13477
  mandatory: boolean;
13478
+ mandatoryForClaiming: boolean;
13357
13479
  signatureEnabled: boolean;
13358
13480
  commentEnabled: boolean;
13359
13481
  beforePhotoEnabled: boolean;
@@ -13363,6 +13485,15 @@ export type WorkBuddyServicePlansLinesTasksSubtasksPatchResponse = {
13363
13485
  fileTemplate: string;
13364
13486
  formEnabled: boolean;
13365
13487
  formTemplate: string;
13488
+ evidenceEnforcement?: {
13489
+ beforePhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13490
+ duringPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13491
+ afterPhoto?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13492
+ form?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13493
+ file?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13494
+ signature?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13495
+ comment?: 'Optional' | 'RequiredExceptionAllowed' | 'RequiredNoExceptions';
13496
+ };
13366
13497
  active: boolean;
13367
13498
  createdAt?: string;
13368
13499
  updatedAt?: string;
@@ -13574,7 +13705,7 @@ export interface WorkBuddyJobsStagesItemsResource {
13574
13705
  ): Promise<TResponse>;
13575
13706
 
13576
13707
  /**
13577
- * Remove or cancel a stage item depending on tenant deletion settings.
13708
+ * Permanently remove a stage item. Refused with 409 when the tenant prevents deletion of stages and items; cancel the item instead.
13578
13709
  * Operation: PublicApiJobController_deleteStageItem
13579
13710
  */
13580
13711
  deleteStageItem<TResponse = WorkBuddyJobsStagesItemsDeleteStageItemResponse>(
@@ -14253,7 +14384,7 @@ export interface WorkBuddyStagesResource {
14253
14384
  ): Promise<TResponse>;
14254
14385
 
14255
14386
  /**
14256
- * Delete a stage. If tenant settings are configured to mark stages and items as cancelled on deletion, the stage is cancelled instead of permanently removed.
14387
+ * Permanently remove a stage. Refused with 409 when the tenant prevents deletion of stages and items; cancel the stage through its status instead.
14257
14388
  * Operation: PublicJobStageController_delete
14258
14389
  */
14259
14390
  delete<TResponse = WorkBuddyStagesDeleteResponse>(
package/index.js CHANGED
@@ -89,7 +89,7 @@ export class WorkBuddyClient {
89
89
  updateStageItem: (params = {}, options = {}) =>
90
90
  this.request('PublicApiJobController_updateStageItem', params, options),
91
91
  /**
92
- * Remove or cancel a stage item depending on tenant deletion settings.
92
+ * Permanently remove a stage item. Refused with 409 when the tenant prevents deletion of stages and items; cancel the item instead.
93
93
  * Operation: PublicApiJobController_deleteStageItem
94
94
  */
95
95
  deleteStageItem: (params = {}, options = {}) =>
@@ -601,7 +601,7 @@ export class WorkBuddyClient {
601
601
  */
602
602
  update: (params = {}, options = {}) => this.request('PublicJobStageController_update', params, options),
603
603
  /**
604
- * Delete a stage. If tenant settings are configured to mark stages and items as cancelled on deletion, the stage is cancelled instead of permanently removed.
604
+ * Permanently remove a stage. Refused with 409 when the tenant prevents deletion of stages and items; cancel the stage through its status instead.
605
605
  * Operation: PublicJobStageController_delete
606
606
  */
607
607
  delete: (params = {}, options = {}) => this.request('PublicJobStageController_delete', params, options),
@@ -1829,7 +1829,8 @@ export const operations = [
1829
1829
  resourcePath: ['jobs', 'stages', 'items'],
1830
1830
  actionName: 'deleteStageItem',
1831
1831
  displayName: 'Delete stage item',
1832
- description: 'Remove or cancel a stage item depending on tenant deletion settings.',
1832
+ description:
1833
+ 'Permanently remove a stage item. Refused with 409 when the tenant prevents deletion of stages and items; cancel the item instead.',
1833
1834
  method: 'DELETE',
1834
1835
  path: '/jobs/{id}/stages/{stageId}/items/{itemId}',
1835
1836
  pathParams: ['id', 'stageId', 'itemId'],
@@ -1989,7 +1990,7 @@ export const operations = [
1989
1990
  actionName: 'delete',
1990
1991
  displayName: 'Delete a stage',
1991
1992
  description:
1992
- 'Delete a stage. If tenant settings are configured to mark stages and items as cancelled on deletion, the stage is cancelled instead of permanently removed.',
1993
+ 'Permanently remove a stage. Refused with 409 when the tenant prevents deletion of stages and items; cancel the stage through its status instead.',
1993
1994
  method: 'DELETE',
1994
1995
  path: '/stages/{id}',
1995
1996
  pathParams: ['id'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workbuddy/sdk-js-vnext",
3
- "version": "1.0.113",
3
+ "version": "1.0.114",
4
4
  "description": "WorkBuddy Public API JavaScript client",
5
5
  "license": "MIT",
6
6
  "type": "module",