@workbuddy/n8n-nodes-workbuddy-vnext 1.0.123 → 1.0.124

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.
@@ -1 +1 @@
1
- {"version":3,"file":"WorkBuddy.node.d.ts","sourceRoot":"","sources":["../../../nodes/WorkBuddy/WorkBuddy.node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AA6E5G,qBAAa,SAAU,YAAW,SAAS;IACzC,WAAW,EAAE,oBAAoB,CAs86B/B;IAEF,OAAO;;0CAEiC,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;sCAG3D,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;kCAG3D,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;qCAGpD,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;sCAGtD,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;sCAGvD,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;kCAG3D,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;sCAGnD,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;qCAGxD,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;;MAIxF;CACH"}
1
+ {"version":3,"file":"WorkBuddy.node.d.ts","sourceRoot":"","sources":["../../../nodes/WorkBuddy/WorkBuddy.node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AA6E5G,qBAAa,SAAU,YAAW,SAAS;IACzC,WAAW,EAAE,oBAAoB,CAku7B/B;IAEF,OAAO;;0CAEiC,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;sCAG3D,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;kCAG3D,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;qCAGpD,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;sCAGtD,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;sCAGvD,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;kCAG3D,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;sCAGnD,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;qCAGxD,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;;MAIxF;CACH"}
@@ -446,8 +446,8 @@ class WorkBuddy {
446
446
  {
447
447
  name: 'Delete stage item',
448
448
  value: 'PublicApiJobController_deleteStageItem',
449
- action: 'Remove or cancel a stage item depending on tenant deletion settings.',
450
- description: 'Remove or cancel a stage item depending on tenant deletion settings.',
449
+ action: 'Permanently remove a stage item. Refused with 409 when the tenant prevents deletion of stages and items; cancel the item instead.',
450
+ description: 'Permanently remove a stage item. Refused with 409 when the tenant prevents deletion of stages and items; cancel the item instead.',
451
451
  routing: {
452
452
  request: {
453
453
  method: 'DELETE',
@@ -6335,6 +6335,26 @@ class WorkBuddy {
6335
6335
  },
6336
6336
  },
6337
6337
  },
6338
+ {
6339
+ displayName: 'Work Already Completed',
6340
+ name: 'workAlreadyCompleted',
6341
+ type: 'boolean',
6342
+ default: false,
6343
+ description: '',
6344
+ required: false,
6345
+ displayOptions: {
6346
+ show: {
6347
+ resource: ['stages-pending-items'],
6348
+ operation: ['PublicJobStagePendingItemController_update'],
6349
+ },
6350
+ },
6351
+ routing: {
6352
+ send: {
6353
+ type: 'body',
6354
+ property: 'workAlreadyCompleted',
6355
+ },
6356
+ },
6357
+ },
6338
6358
  {
6339
6359
  displayName: 'Id',
6340
6360
  name: 'id',
@@ -6532,8 +6552,8 @@ class WorkBuddy {
6532
6552
  {
6533
6553
  name: 'Delete a stage',
6534
6554
  value: 'PublicJobStageController_delete',
6535
- action: '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.',
6536
- description: '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.',
6555
+ action: 'Permanently remove a stage. Refused with 409 when the tenant prevents deletion of stages and items; cancel the stage through its status instead.',
6556
+ description: 'Permanently remove a stage. Refused with 409 when the tenant prevents deletion of stages and items; cancel the stage through its status instead.',
6537
6557
  routing: {
6538
6558
  request: {
6539
6559
  method: 'DELETE',
@@ -19195,9 +19215,8 @@ class WorkBuddy {
19195
19215
  {
19196
19216
  displayName: 'Evidence Options',
19197
19217
  name: 'evidenceOptions',
19198
- type: 'collection',
19218
+ type: 'json',
19199
19219
  default: {},
19200
- placeholder: 'Add Evidence Options',
19201
19220
  description: '',
19202
19221
  required: false,
19203
19222
  displayOptions: {
@@ -19206,64 +19225,6 @@ class WorkBuddy {
19206
19225
  operation: ['PublicJobTasksController_create'],
19207
19226
  },
19208
19227
  },
19209
- options: [
19210
- {
19211
- displayName: 'Mandatory',
19212
- name: 'mandatory',
19213
- type: 'boolean',
19214
- default: false,
19215
- description: '',
19216
- },
19217
- {
19218
- displayName: 'Signature Enabled',
19219
- name: 'signatureEnabled',
19220
- type: 'boolean',
19221
- default: false,
19222
- description: '',
19223
- },
19224
- {
19225
- displayName: 'Before Photo Enabled',
19226
- name: 'beforePhotoEnabled',
19227
- type: 'boolean',
19228
- default: false,
19229
- description: '',
19230
- },
19231
- {
19232
- displayName: 'During Photo Enabled',
19233
- name: 'duringPhotoEnabled',
19234
- type: 'boolean',
19235
- default: false,
19236
- description: '',
19237
- },
19238
- {
19239
- displayName: 'After Photo Enabled',
19240
- name: 'afterPhotoEnabled',
19241
- type: 'boolean',
19242
- default: false,
19243
- description: '',
19244
- },
19245
- {
19246
- displayName: 'Comment Enabled',
19247
- name: 'commentEnabled',
19248
- type: 'boolean',
19249
- default: false,
19250
- description: '',
19251
- },
19252
- {
19253
- displayName: 'File Enabled',
19254
- name: 'fileEnabled',
19255
- type: 'boolean',
19256
- default: false,
19257
- description: '',
19258
- },
19259
- {
19260
- displayName: 'Form Enabled',
19261
- name: 'formEnabled',
19262
- type: 'boolean',
19263
- default: false,
19264
- description: '',
19265
- },
19266
- ],
19267
19228
  routing: {
19268
19229
  send: {
19269
19230
  type: 'body',
@@ -20156,9 +20117,8 @@ class WorkBuddy {
20156
20117
  {
20157
20118
  displayName: 'Evidence Options',
20158
20119
  name: 'evidenceOptions',
20159
- type: 'collection',
20120
+ type: 'json',
20160
20121
  default: {},
20161
- placeholder: 'Add Evidence Options',
20162
20122
  description: '',
20163
20123
  required: false,
20164
20124
  displayOptions: {
@@ -20167,64 +20127,6 @@ class WorkBuddy {
20167
20127
  operation: ['PublicStageTasksController_create'],
20168
20128
  },
20169
20129
  },
20170
- options: [
20171
- {
20172
- displayName: 'Mandatory',
20173
- name: 'mandatory',
20174
- type: 'boolean',
20175
- default: false,
20176
- description: '',
20177
- },
20178
- {
20179
- displayName: 'Signature Enabled',
20180
- name: 'signatureEnabled',
20181
- type: 'boolean',
20182
- default: false,
20183
- description: '',
20184
- },
20185
- {
20186
- displayName: 'Before Photo Enabled',
20187
- name: 'beforePhotoEnabled',
20188
- type: 'boolean',
20189
- default: false,
20190
- description: '',
20191
- },
20192
- {
20193
- displayName: 'During Photo Enabled',
20194
- name: 'duringPhotoEnabled',
20195
- type: 'boolean',
20196
- default: false,
20197
- description: '',
20198
- },
20199
- {
20200
- displayName: 'After Photo Enabled',
20201
- name: 'afterPhotoEnabled',
20202
- type: 'boolean',
20203
- default: false,
20204
- description: '',
20205
- },
20206
- {
20207
- displayName: 'Comment Enabled',
20208
- name: 'commentEnabled',
20209
- type: 'boolean',
20210
- default: false,
20211
- description: '',
20212
- },
20213
- {
20214
- displayName: 'File Enabled',
20215
- name: 'fileEnabled',
20216
- type: 'boolean',
20217
- default: false,
20218
- description: '',
20219
- },
20220
- {
20221
- displayName: 'Form Enabled',
20222
- name: 'formEnabled',
20223
- type: 'boolean',
20224
- default: false,
20225
- description: '',
20226
- },
20227
- ],
20228
20130
  routing: {
20229
20131
  send: {
20230
20132
  type: 'body',
@@ -29256,6 +29158,26 @@ class WorkBuddy {
29256
29158
  },
29257
29159
  },
29258
29160
  },
29161
+ {
29162
+ displayName: 'Mandatory For Claiming',
29163
+ name: 'mandatoryForClaiming',
29164
+ type: 'boolean',
29165
+ default: false,
29166
+ description: '',
29167
+ required: false,
29168
+ displayOptions: {
29169
+ show: {
29170
+ resource: ['service-plans-lines-tasks'],
29171
+ operation: ['PublicServiceLineTaskController_patch'],
29172
+ },
29173
+ },
29174
+ routing: {
29175
+ send: {
29176
+ type: 'body',
29177
+ property: 'mandatoryForClaiming',
29178
+ },
29179
+ },
29180
+ },
29259
29181
  {
29260
29182
  displayName: 'Signature Enabled',
29261
29183
  name: 'signatureEnabled',
@@ -29436,6 +29358,176 @@ class WorkBuddy {
29436
29358
  },
29437
29359
  },
29438
29360
  },
29361
+ {
29362
+ displayName: 'Evidence Enforcement',
29363
+ name: 'evidenceEnforcement',
29364
+ type: 'collection',
29365
+ default: {},
29366
+ placeholder: 'Add Evidence Enforcement',
29367
+ description: '',
29368
+ required: false,
29369
+ displayOptions: {
29370
+ show: {
29371
+ resource: ['service-plans-lines-tasks'],
29372
+ operation: ['PublicServiceLineTaskController_patch'],
29373
+ },
29374
+ },
29375
+ options: [
29376
+ {
29377
+ displayName: 'Before Photo',
29378
+ name: 'beforePhoto',
29379
+ type: 'options',
29380
+ default: '',
29381
+ description: '',
29382
+ options: [
29383
+ {
29384
+ name: 'Optional',
29385
+ value: 'Optional',
29386
+ },
29387
+ {
29388
+ name: 'RequiredExceptionAllowed',
29389
+ value: 'RequiredExceptionAllowed',
29390
+ },
29391
+ {
29392
+ name: 'RequiredNoExceptions',
29393
+ value: 'RequiredNoExceptions',
29394
+ },
29395
+ ],
29396
+ },
29397
+ {
29398
+ displayName: 'During Photo',
29399
+ name: 'duringPhoto',
29400
+ type: 'options',
29401
+ default: '',
29402
+ description: '',
29403
+ options: [
29404
+ {
29405
+ name: 'Optional',
29406
+ value: 'Optional',
29407
+ },
29408
+ {
29409
+ name: 'RequiredExceptionAllowed',
29410
+ value: 'RequiredExceptionAllowed',
29411
+ },
29412
+ {
29413
+ name: 'RequiredNoExceptions',
29414
+ value: 'RequiredNoExceptions',
29415
+ },
29416
+ ],
29417
+ },
29418
+ {
29419
+ displayName: 'After Photo',
29420
+ name: 'afterPhoto',
29421
+ type: 'options',
29422
+ default: '',
29423
+ description: '',
29424
+ options: [
29425
+ {
29426
+ name: 'Optional',
29427
+ value: 'Optional',
29428
+ },
29429
+ {
29430
+ name: 'RequiredExceptionAllowed',
29431
+ value: 'RequiredExceptionAllowed',
29432
+ },
29433
+ {
29434
+ name: 'RequiredNoExceptions',
29435
+ value: 'RequiredNoExceptions',
29436
+ },
29437
+ ],
29438
+ },
29439
+ {
29440
+ displayName: 'Form',
29441
+ name: 'form',
29442
+ type: 'options',
29443
+ default: '',
29444
+ description: '',
29445
+ options: [
29446
+ {
29447
+ name: 'Optional',
29448
+ value: 'Optional',
29449
+ },
29450
+ {
29451
+ name: 'RequiredExceptionAllowed',
29452
+ value: 'RequiredExceptionAllowed',
29453
+ },
29454
+ {
29455
+ name: 'RequiredNoExceptions',
29456
+ value: 'RequiredNoExceptions',
29457
+ },
29458
+ ],
29459
+ },
29460
+ {
29461
+ displayName: 'File',
29462
+ name: 'file',
29463
+ type: 'options',
29464
+ default: '',
29465
+ description: '',
29466
+ options: [
29467
+ {
29468
+ name: 'Optional',
29469
+ value: 'Optional',
29470
+ },
29471
+ {
29472
+ name: 'RequiredExceptionAllowed',
29473
+ value: 'RequiredExceptionAllowed',
29474
+ },
29475
+ {
29476
+ name: 'RequiredNoExceptions',
29477
+ value: 'RequiredNoExceptions',
29478
+ },
29479
+ ],
29480
+ },
29481
+ {
29482
+ displayName: 'Signature',
29483
+ name: 'signature',
29484
+ type: 'options',
29485
+ default: '',
29486
+ description: '',
29487
+ options: [
29488
+ {
29489
+ name: 'Optional',
29490
+ value: 'Optional',
29491
+ },
29492
+ {
29493
+ name: 'RequiredExceptionAllowed',
29494
+ value: 'RequiredExceptionAllowed',
29495
+ },
29496
+ {
29497
+ name: 'RequiredNoExceptions',
29498
+ value: 'RequiredNoExceptions',
29499
+ },
29500
+ ],
29501
+ },
29502
+ {
29503
+ displayName: 'Comment',
29504
+ name: 'comment',
29505
+ type: 'options',
29506
+ default: '',
29507
+ description: '',
29508
+ options: [
29509
+ {
29510
+ name: 'Optional',
29511
+ value: 'Optional',
29512
+ },
29513
+ {
29514
+ name: 'RequiredExceptionAllowed',
29515
+ value: 'RequiredExceptionAllowed',
29516
+ },
29517
+ {
29518
+ name: 'RequiredNoExceptions',
29519
+ value: 'RequiredNoExceptions',
29520
+ },
29521
+ ],
29522
+ },
29523
+ ],
29524
+ routing: {
29525
+ send: {
29526
+ type: 'body',
29527
+ property: 'evidenceEnforcement',
29528
+ },
29529
+ },
29530
+ },
29439
29531
  // Service Plans Lines Tasks Subtasks Operations
29440
29532
  {
29441
29533
  displayName: 'Operation',
@@ -29775,6 +29867,26 @@ class WorkBuddy {
29775
29867
  },
29776
29868
  },
29777
29869
  },
29870
+ {
29871
+ displayName: 'Mandatory For Claiming',
29872
+ name: 'mandatoryForClaiming',
29873
+ type: 'boolean',
29874
+ default: false,
29875
+ description: '',
29876
+ required: false,
29877
+ displayOptions: {
29878
+ show: {
29879
+ resource: ['service-plans-lines-tasks-subtasks'],
29880
+ operation: ['PublicServiceLineSubtaskController_patch'],
29881
+ },
29882
+ },
29883
+ routing: {
29884
+ send: {
29885
+ type: 'body',
29886
+ property: 'mandatoryForClaiming',
29887
+ },
29888
+ },
29889
+ },
29778
29890
  {
29779
29891
  displayName: 'Signature Enabled',
29780
29892
  name: 'signatureEnabled',
@@ -29955,6 +30067,176 @@ class WorkBuddy {
29955
30067
  },
29956
30068
  },
29957
30069
  },
30070
+ {
30071
+ displayName: 'Evidence Enforcement',
30072
+ name: 'evidenceEnforcement',
30073
+ type: 'collection',
30074
+ default: {},
30075
+ placeholder: 'Add Evidence Enforcement',
30076
+ description: '',
30077
+ required: false,
30078
+ displayOptions: {
30079
+ show: {
30080
+ resource: ['service-plans-lines-tasks-subtasks'],
30081
+ operation: ['PublicServiceLineSubtaskController_patch'],
30082
+ },
30083
+ },
30084
+ options: [
30085
+ {
30086
+ displayName: 'Before Photo',
30087
+ name: 'beforePhoto',
30088
+ type: 'options',
30089
+ default: '',
30090
+ description: '',
30091
+ options: [
30092
+ {
30093
+ name: 'Optional',
30094
+ value: 'Optional',
30095
+ },
30096
+ {
30097
+ name: 'RequiredExceptionAllowed',
30098
+ value: 'RequiredExceptionAllowed',
30099
+ },
30100
+ {
30101
+ name: 'RequiredNoExceptions',
30102
+ value: 'RequiredNoExceptions',
30103
+ },
30104
+ ],
30105
+ },
30106
+ {
30107
+ displayName: 'During Photo',
30108
+ name: 'duringPhoto',
30109
+ type: 'options',
30110
+ default: '',
30111
+ description: '',
30112
+ options: [
30113
+ {
30114
+ name: 'Optional',
30115
+ value: 'Optional',
30116
+ },
30117
+ {
30118
+ name: 'RequiredExceptionAllowed',
30119
+ value: 'RequiredExceptionAllowed',
30120
+ },
30121
+ {
30122
+ name: 'RequiredNoExceptions',
30123
+ value: 'RequiredNoExceptions',
30124
+ },
30125
+ ],
30126
+ },
30127
+ {
30128
+ displayName: 'After Photo',
30129
+ name: 'afterPhoto',
30130
+ type: 'options',
30131
+ default: '',
30132
+ description: '',
30133
+ options: [
30134
+ {
30135
+ name: 'Optional',
30136
+ value: 'Optional',
30137
+ },
30138
+ {
30139
+ name: 'RequiredExceptionAllowed',
30140
+ value: 'RequiredExceptionAllowed',
30141
+ },
30142
+ {
30143
+ name: 'RequiredNoExceptions',
30144
+ value: 'RequiredNoExceptions',
30145
+ },
30146
+ ],
30147
+ },
30148
+ {
30149
+ displayName: 'Form',
30150
+ name: 'form',
30151
+ type: 'options',
30152
+ default: '',
30153
+ description: '',
30154
+ options: [
30155
+ {
30156
+ name: 'Optional',
30157
+ value: 'Optional',
30158
+ },
30159
+ {
30160
+ name: 'RequiredExceptionAllowed',
30161
+ value: 'RequiredExceptionAllowed',
30162
+ },
30163
+ {
30164
+ name: 'RequiredNoExceptions',
30165
+ value: 'RequiredNoExceptions',
30166
+ },
30167
+ ],
30168
+ },
30169
+ {
30170
+ displayName: 'File',
30171
+ name: 'file',
30172
+ type: 'options',
30173
+ default: '',
30174
+ description: '',
30175
+ options: [
30176
+ {
30177
+ name: 'Optional',
30178
+ value: 'Optional',
30179
+ },
30180
+ {
30181
+ name: 'RequiredExceptionAllowed',
30182
+ value: 'RequiredExceptionAllowed',
30183
+ },
30184
+ {
30185
+ name: 'RequiredNoExceptions',
30186
+ value: 'RequiredNoExceptions',
30187
+ },
30188
+ ],
30189
+ },
30190
+ {
30191
+ displayName: 'Signature',
30192
+ name: 'signature',
30193
+ type: 'options',
30194
+ default: '',
30195
+ description: '',
30196
+ options: [
30197
+ {
30198
+ name: 'Optional',
30199
+ value: 'Optional',
30200
+ },
30201
+ {
30202
+ name: 'RequiredExceptionAllowed',
30203
+ value: 'RequiredExceptionAllowed',
30204
+ },
30205
+ {
30206
+ name: 'RequiredNoExceptions',
30207
+ value: 'RequiredNoExceptions',
30208
+ },
30209
+ ],
30210
+ },
30211
+ {
30212
+ displayName: 'Comment',
30213
+ name: 'comment',
30214
+ type: 'options',
30215
+ default: '',
30216
+ description: '',
30217
+ options: [
30218
+ {
30219
+ name: 'Optional',
30220
+ value: 'Optional',
30221
+ },
30222
+ {
30223
+ name: 'RequiredExceptionAllowed',
30224
+ value: 'RequiredExceptionAllowed',
30225
+ },
30226
+ {
30227
+ name: 'RequiredNoExceptions',
30228
+ value: 'RequiredNoExceptions',
30229
+ },
30230
+ ],
30231
+ },
30232
+ ],
30233
+ routing: {
30234
+ send: {
30235
+ type: 'body',
30236
+ property: 'evidenceEnforcement',
30237
+ },
30238
+ },
30239
+ },
29958
30240
  // Mcp Operations
29959
30241
  {
29960
30242
  displayName: 'Operation',