@workbuddy/n8n-nodes-workbuddy-vnext 1.0.110 → 1.0.112
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,
|
|
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,CAk75B/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"}
|
|
@@ -323,6 +323,18 @@ class WorkBuddy {
|
|
|
323
323
|
},
|
|
324
324
|
},
|
|
325
325
|
},
|
|
326
|
+
{
|
|
327
|
+
name: 'Set job finance marks',
|
|
328
|
+
value: 'PublicApiJobController_updateFinance',
|
|
329
|
+
action: 'Mark or unmark a job Non-Billable and/or Non-Payable. Dispatches the domain finance-lock command once per changed side. Same value is a no-op. Requires jobs:financial.',
|
|
330
|
+
description: 'Mark or unmark a job Non-Billable and/or Non-Payable. Dispatches the domain finance-lock command once per changed side. Same value is a no-op. Requires jobs:financial.',
|
|
331
|
+
routing: {
|
|
332
|
+
request: {
|
|
333
|
+
method: 'PATCH',
|
|
334
|
+
url: '/api/v2/public/jobs/={{ $parameter["id"] }}/finance',
|
|
335
|
+
},
|
|
336
|
+
},
|
|
337
|
+
},
|
|
326
338
|
{
|
|
327
339
|
name: 'Update job status',
|
|
328
340
|
value: 'PublicApiJobController_updateStatus',
|
|
@@ -3707,6 +3719,43 @@ class WorkBuddy {
|
|
|
3707
3719
|
},
|
|
3708
3720
|
},
|
|
3709
3721
|
},
|
|
3722
|
+
{
|
|
3723
|
+
displayName: 'Finance',
|
|
3724
|
+
name: 'finance',
|
|
3725
|
+
type: 'collection',
|
|
3726
|
+
default: {},
|
|
3727
|
+
placeholder: 'Add Finance',
|
|
3728
|
+
description: '',
|
|
3729
|
+
required: false,
|
|
3730
|
+
displayOptions: {
|
|
3731
|
+
show: {
|
|
3732
|
+
resource: ['jobs'],
|
|
3733
|
+
operation: ['PublicApiJobController_create'],
|
|
3734
|
+
},
|
|
3735
|
+
},
|
|
3736
|
+
options: [
|
|
3737
|
+
{
|
|
3738
|
+
displayName: 'Non Billable',
|
|
3739
|
+
name: 'nonBillable',
|
|
3740
|
+
type: 'boolean',
|
|
3741
|
+
default: false,
|
|
3742
|
+
description: '',
|
|
3743
|
+
},
|
|
3744
|
+
{
|
|
3745
|
+
displayName: 'Non Payable',
|
|
3746
|
+
name: 'nonPayable',
|
|
3747
|
+
type: 'boolean',
|
|
3748
|
+
default: false,
|
|
3749
|
+
description: '',
|
|
3750
|
+
},
|
|
3751
|
+
],
|
|
3752
|
+
routing: {
|
|
3753
|
+
send: {
|
|
3754
|
+
type: 'body',
|
|
3755
|
+
property: 'finance',
|
|
3756
|
+
},
|
|
3757
|
+
},
|
|
3758
|
+
},
|
|
3710
3759
|
{
|
|
3711
3760
|
displayName: 'Template Id',
|
|
3712
3761
|
name: 'templateId',
|
|
@@ -4266,6 +4315,117 @@ class WorkBuddy {
|
|
|
4266
4315
|
},
|
|
4267
4316
|
},
|
|
4268
4317
|
},
|
|
4318
|
+
{
|
|
4319
|
+
displayName: 'Finance',
|
|
4320
|
+
name: 'finance',
|
|
4321
|
+
type: 'collection',
|
|
4322
|
+
default: {},
|
|
4323
|
+
placeholder: 'Add Finance',
|
|
4324
|
+
description: '',
|
|
4325
|
+
required: false,
|
|
4326
|
+
displayOptions: {
|
|
4327
|
+
show: {
|
|
4328
|
+
resource: ['jobs'],
|
|
4329
|
+
operation: ['PublicApiJobController_createFromTemplate'],
|
|
4330
|
+
},
|
|
4331
|
+
},
|
|
4332
|
+
options: [
|
|
4333
|
+
{
|
|
4334
|
+
displayName: 'Non Billable',
|
|
4335
|
+
name: 'nonBillable',
|
|
4336
|
+
type: 'boolean',
|
|
4337
|
+
default: false,
|
|
4338
|
+
description: '',
|
|
4339
|
+
},
|
|
4340
|
+
{
|
|
4341
|
+
displayName: 'Non Payable',
|
|
4342
|
+
name: 'nonPayable',
|
|
4343
|
+
type: 'boolean',
|
|
4344
|
+
default: false,
|
|
4345
|
+
description: '',
|
|
4346
|
+
},
|
|
4347
|
+
],
|
|
4348
|
+
routing: {
|
|
4349
|
+
send: {
|
|
4350
|
+
type: 'body',
|
|
4351
|
+
property: 'finance',
|
|
4352
|
+
},
|
|
4353
|
+
},
|
|
4354
|
+
},
|
|
4355
|
+
{
|
|
4356
|
+
displayName: 'Id',
|
|
4357
|
+
name: 'id',
|
|
4358
|
+
type: 'string',
|
|
4359
|
+
default: '',
|
|
4360
|
+
description: 'Job ID',
|
|
4361
|
+
required: true,
|
|
4362
|
+
displayOptions: {
|
|
4363
|
+
show: {
|
|
4364
|
+
resource: ['jobs'],
|
|
4365
|
+
operation: ['PublicApiJobController_updateFinance'],
|
|
4366
|
+
},
|
|
4367
|
+
},
|
|
4368
|
+
},
|
|
4369
|
+
{
|
|
4370
|
+
displayName: 'Non Billable',
|
|
4371
|
+
name: 'nonBillable',
|
|
4372
|
+
type: 'boolean',
|
|
4373
|
+
default: false,
|
|
4374
|
+
description: '',
|
|
4375
|
+
required: false,
|
|
4376
|
+
displayOptions: {
|
|
4377
|
+
show: {
|
|
4378
|
+
resource: ['jobs'],
|
|
4379
|
+
operation: ['PublicApiJobController_updateFinance'],
|
|
4380
|
+
},
|
|
4381
|
+
},
|
|
4382
|
+
routing: {
|
|
4383
|
+
send: {
|
|
4384
|
+
type: 'body',
|
|
4385
|
+
property: 'nonBillable',
|
|
4386
|
+
},
|
|
4387
|
+
},
|
|
4388
|
+
},
|
|
4389
|
+
{
|
|
4390
|
+
displayName: 'Non Payable',
|
|
4391
|
+
name: 'nonPayable',
|
|
4392
|
+
type: 'boolean',
|
|
4393
|
+
default: false,
|
|
4394
|
+
description: '',
|
|
4395
|
+
required: false,
|
|
4396
|
+
displayOptions: {
|
|
4397
|
+
show: {
|
|
4398
|
+
resource: ['jobs'],
|
|
4399
|
+
operation: ['PublicApiJobController_updateFinance'],
|
|
4400
|
+
},
|
|
4401
|
+
},
|
|
4402
|
+
routing: {
|
|
4403
|
+
send: {
|
|
4404
|
+
type: 'body',
|
|
4405
|
+
property: 'nonPayable',
|
|
4406
|
+
},
|
|
4407
|
+
},
|
|
4408
|
+
},
|
|
4409
|
+
{
|
|
4410
|
+
displayName: 'Note',
|
|
4411
|
+
name: 'note',
|
|
4412
|
+
type: 'string',
|
|
4413
|
+
default: '',
|
|
4414
|
+
description: '',
|
|
4415
|
+
required: false,
|
|
4416
|
+
displayOptions: {
|
|
4417
|
+
show: {
|
|
4418
|
+
resource: ['jobs'],
|
|
4419
|
+
operation: ['PublicApiJobController_updateFinance'],
|
|
4420
|
+
},
|
|
4421
|
+
},
|
|
4422
|
+
routing: {
|
|
4423
|
+
send: {
|
|
4424
|
+
type: 'body',
|
|
4425
|
+
property: 'note',
|
|
4426
|
+
},
|
|
4427
|
+
},
|
|
4428
|
+
},
|
|
4269
4429
|
{
|
|
4270
4430
|
displayName: 'Id',
|
|
4271
4431
|
name: 'id',
|
|
@@ -5400,6 +5560,26 @@ class WorkBuddy {
|
|
|
5400
5560
|
},
|
|
5401
5561
|
},
|
|
5402
5562
|
},
|
|
5563
|
+
{
|
|
5564
|
+
displayName: 'Payable',
|
|
5565
|
+
name: 'payable',
|
|
5566
|
+
type: 'boolean',
|
|
5567
|
+
default: false,
|
|
5568
|
+
description: '',
|
|
5569
|
+
required: false,
|
|
5570
|
+
displayOptions: {
|
|
5571
|
+
show: {
|
|
5572
|
+
resource: ['jobs'],
|
|
5573
|
+
operation: ['PublicApiJobController_updateStageItem'],
|
|
5574
|
+
},
|
|
5575
|
+
},
|
|
5576
|
+
routing: {
|
|
5577
|
+
send: {
|
|
5578
|
+
type: 'body',
|
|
5579
|
+
property: 'payable',
|
|
5580
|
+
},
|
|
5581
|
+
},
|
|
5582
|
+
},
|
|
5403
5583
|
{
|
|
5404
5584
|
displayName: 'Supplied By Subcontractor',
|
|
5405
5585
|
name: 'suppliedBySubcontractor',
|
|
@@ -6223,6 +6403,18 @@ class WorkBuddy {
|
|
|
6223
6403
|
},
|
|
6224
6404
|
},
|
|
6225
6405
|
},
|
|
6406
|
+
{
|
|
6407
|
+
name: 'Set stage finance marks',
|
|
6408
|
+
value: 'PublicJobStageController_updateFinance',
|
|
6409
|
+
action: 'Mark or unmark a stage Non-Billable and/or Non-Payable. Dispatches the domain finance-lock command once per changed side. Same value is a no-op. Unmarking a stage while the job holds that mark is refused. Requires jobs:financial.',
|
|
6410
|
+
description: 'Mark or unmark a stage Non-Billable and/or Non-Payable. Dispatches the domain finance-lock command once per changed side. Same value is a no-op. Unmarking a stage while the job holds that mark is refused. Requires jobs:financial.',
|
|
6411
|
+
routing: {
|
|
6412
|
+
request: {
|
|
6413
|
+
method: 'PATCH',
|
|
6414
|
+
url: '/api/v2/public/stages/={{ $parameter["id"] }}/finance',
|
|
6415
|
+
},
|
|
6416
|
+
},
|
|
6417
|
+
},
|
|
6226
6418
|
{
|
|
6227
6419
|
name: 'Update a stage',
|
|
6228
6420
|
value: 'PublicJobStageController_update',
|
|
@@ -6469,6 +6661,117 @@ class WorkBuddy {
|
|
|
6469
6661
|
},
|
|
6470
6662
|
},
|
|
6471
6663
|
},
|
|
6664
|
+
{
|
|
6665
|
+
displayName: 'Finance',
|
|
6666
|
+
name: 'finance',
|
|
6667
|
+
type: 'collection',
|
|
6668
|
+
default: {},
|
|
6669
|
+
placeholder: 'Add Finance',
|
|
6670
|
+
description: '',
|
|
6671
|
+
required: false,
|
|
6672
|
+
displayOptions: {
|
|
6673
|
+
show: {
|
|
6674
|
+
resource: ['stages'],
|
|
6675
|
+
operation: ['PublicJobStageController_create'],
|
|
6676
|
+
},
|
|
6677
|
+
},
|
|
6678
|
+
options: [
|
|
6679
|
+
{
|
|
6680
|
+
displayName: 'Non Billable',
|
|
6681
|
+
name: 'nonBillable',
|
|
6682
|
+
type: 'boolean',
|
|
6683
|
+
default: false,
|
|
6684
|
+
description: '',
|
|
6685
|
+
},
|
|
6686
|
+
{
|
|
6687
|
+
displayName: 'Non Payable',
|
|
6688
|
+
name: 'nonPayable',
|
|
6689
|
+
type: 'boolean',
|
|
6690
|
+
default: false,
|
|
6691
|
+
description: '',
|
|
6692
|
+
},
|
|
6693
|
+
],
|
|
6694
|
+
routing: {
|
|
6695
|
+
send: {
|
|
6696
|
+
type: 'body',
|
|
6697
|
+
property: 'finance',
|
|
6698
|
+
},
|
|
6699
|
+
},
|
|
6700
|
+
},
|
|
6701
|
+
{
|
|
6702
|
+
displayName: 'Id',
|
|
6703
|
+
name: 'id',
|
|
6704
|
+
type: 'string',
|
|
6705
|
+
default: '',
|
|
6706
|
+
description: 'Stage ID',
|
|
6707
|
+
required: true,
|
|
6708
|
+
displayOptions: {
|
|
6709
|
+
show: {
|
|
6710
|
+
resource: ['stages'],
|
|
6711
|
+
operation: ['PublicJobStageController_updateFinance'],
|
|
6712
|
+
},
|
|
6713
|
+
},
|
|
6714
|
+
},
|
|
6715
|
+
{
|
|
6716
|
+
displayName: 'Non Billable',
|
|
6717
|
+
name: 'nonBillable',
|
|
6718
|
+
type: 'boolean',
|
|
6719
|
+
default: false,
|
|
6720
|
+
description: '',
|
|
6721
|
+
required: false,
|
|
6722
|
+
displayOptions: {
|
|
6723
|
+
show: {
|
|
6724
|
+
resource: ['stages'],
|
|
6725
|
+
operation: ['PublicJobStageController_updateFinance'],
|
|
6726
|
+
},
|
|
6727
|
+
},
|
|
6728
|
+
routing: {
|
|
6729
|
+
send: {
|
|
6730
|
+
type: 'body',
|
|
6731
|
+
property: 'nonBillable',
|
|
6732
|
+
},
|
|
6733
|
+
},
|
|
6734
|
+
},
|
|
6735
|
+
{
|
|
6736
|
+
displayName: 'Non Payable',
|
|
6737
|
+
name: 'nonPayable',
|
|
6738
|
+
type: 'boolean',
|
|
6739
|
+
default: false,
|
|
6740
|
+
description: '',
|
|
6741
|
+
required: false,
|
|
6742
|
+
displayOptions: {
|
|
6743
|
+
show: {
|
|
6744
|
+
resource: ['stages'],
|
|
6745
|
+
operation: ['PublicJobStageController_updateFinance'],
|
|
6746
|
+
},
|
|
6747
|
+
},
|
|
6748
|
+
routing: {
|
|
6749
|
+
send: {
|
|
6750
|
+
type: 'body',
|
|
6751
|
+
property: 'nonPayable',
|
|
6752
|
+
},
|
|
6753
|
+
},
|
|
6754
|
+
},
|
|
6755
|
+
{
|
|
6756
|
+
displayName: 'Note',
|
|
6757
|
+
name: 'note',
|
|
6758
|
+
type: 'string',
|
|
6759
|
+
default: '',
|
|
6760
|
+
description: '',
|
|
6761
|
+
required: false,
|
|
6762
|
+
displayOptions: {
|
|
6763
|
+
show: {
|
|
6764
|
+
resource: ['stages'],
|
|
6765
|
+
operation: ['PublicJobStageController_updateFinance'],
|
|
6766
|
+
},
|
|
6767
|
+
},
|
|
6768
|
+
routing: {
|
|
6769
|
+
send: {
|
|
6770
|
+
type: 'body',
|
|
6771
|
+
property: 'note',
|
|
6772
|
+
},
|
|
6773
|
+
},
|
|
6774
|
+
},
|
|
6472
6775
|
{
|
|
6473
6776
|
displayName: 'Id',
|
|
6474
6777
|
name: 'id',
|