@workbuddy/n8n-nodes-workbuddy-vnext 1.0.149 → 1.0.151

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,CAk+/B/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,CA0jgC/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"}
@@ -5704,6 +5704,26 @@ class WorkBuddy {
5704
5704
  },
5705
5705
  },
5706
5706
  },
5707
+ {
5708
+ displayName: 'Reason',
5709
+ name: 'reason',
5710
+ type: 'string',
5711
+ default: '',
5712
+ description: 'Reason for the action (e.g. cancellation reason)',
5713
+ required: false,
5714
+ displayOptions: {
5715
+ show: {
5716
+ resource: ['jobs'],
5717
+ operation: ['PublicApiJobController_updateStageItem'],
5718
+ },
5719
+ },
5720
+ routing: {
5721
+ send: {
5722
+ type: 'body',
5723
+ property: 'reason',
5724
+ },
5725
+ },
5726
+ },
5707
5727
  {
5708
5728
  displayName: 'Invoicing Status',
5709
5729
  name: 'invoicingStatus',
@@ -5722,10 +5742,6 @@ class WorkBuddy {
5722
5742
  name: 'Billable',
5723
5743
  value: 'Billable',
5724
5744
  },
5725
- {
5726
- name: 'No Charge',
5727
- value: 'No Charge',
5728
- },
5729
5745
  {
5730
5746
  name: 'Not Billable',
5731
5747
  value: 'Not Billable',
@@ -6375,10 +6391,6 @@ class WorkBuddy {
6375
6391
  name: 'Billable',
6376
6392
  value: 'Billable',
6377
6393
  },
6378
- {
6379
- name: 'No Charge',
6380
- value: 'No Charge',
6381
- },
6382
6394
  {
6383
6395
  name: 'Not Billable',
6384
6396
  value: 'Not Billable',
@@ -6391,6 +6403,26 @@ class WorkBuddy {
6391
6403
  },
6392
6404
  },
6393
6405
  },
6406
+ {
6407
+ displayName: 'Payable',
6408
+ name: 'payable',
6409
+ type: 'boolean',
6410
+ default: false,
6411
+ description: '',
6412
+ required: false,
6413
+ displayOptions: {
6414
+ show: {
6415
+ resource: ['stages-pending-items'],
6416
+ operation: ['PublicJobStagePendingItemController_update'],
6417
+ },
6418
+ },
6419
+ routing: {
6420
+ send: {
6421
+ type: 'body',
6422
+ property: 'payable',
6423
+ },
6424
+ },
6425
+ },
6394
6426
  {
6395
6427
  displayName: 'Supplied By Subcontractor',
6396
6428
  name: 'suppliedBySubcontractor',
@@ -6535,6 +6567,26 @@ class WorkBuddy {
6535
6567
  },
6536
6568
  },
6537
6569
  },
6570
+ {
6571
+ displayName: 'Reason',
6572
+ name: 'reason',
6573
+ type: 'string',
6574
+ default: '',
6575
+ description: 'Reason for the action (e.g. cancellation reason)',
6576
+ required: false,
6577
+ displayOptions: {
6578
+ show: {
6579
+ resource: ['stages-pending-items'],
6580
+ operation: ['PublicJobStagePendingItemController_updateStatus'],
6581
+ },
6582
+ },
6583
+ routing: {
6584
+ send: {
6585
+ type: 'body',
6586
+ property: 'reason',
6587
+ },
6588
+ },
6589
+ },
6538
6590
  {
6539
6591
  displayName: 'Id',
6540
6592
  name: 'id',
@@ -8545,8 +8597,8 @@ class WorkBuddy {
8545
8597
  {
8546
8598
  name: 'List entity statuses',
8547
8599
  value: 'PublicApiEntityStatusController_list',
8548
- action: 'Retrieve all active statuses for a given entity type. Supported entities: customer, contractor, supplier, contact, external-user, pending-item',
8549
- description: 'Retrieve all active statuses for a given entity type. Supported entities: customer, contractor, supplier, contact, external-user, pending-item',
8600
+ action: 'Retrieve all active statuses for a given entity type. Supported entities: customer, contractor, supplier, contact, external-user, pending-item, item',
8601
+ description: 'Retrieve all active statuses for a given entity type. Supported entities: customer, contractor, supplier, contact, external-user, pending-item, item',
8550
8602
  routing: {
8551
8603
  request: {
8552
8604
  method: 'GET',
@@ -8718,7 +8770,7 @@ class WorkBuddy {
8718
8770
  name: 'entity',
8719
8771
  type: 'options',
8720
8772
  default: '',
8721
- description: 'Entity type (customer, contractor, supplier, contact, external-user, pending-item)',
8773
+ description: 'Entity type (customer, contractor, supplier, contact, external-user, pending-item, item)',
8722
8774
  required: true,
8723
8775
  displayOptions: {
8724
8776
  show: {
@@ -8751,6 +8803,10 @@ class WorkBuddy {
8751
8803
  name: 'pending-item',
8752
8804
  value: 'pending-item',
8753
8805
  },
8806
+ {
8807
+ name: 'item',
8808
+ value: 'item',
8809
+ },
8754
8810
  ],
8755
8811
  },
8756
8812
  {
@@ -15564,10 +15620,6 @@ class WorkBuddy {
15564
15620
  name: 'Billable',
15565
15621
  value: 'Billable',
15566
15622
  },
15567
- {
15568
- name: 'No Charge',
15569
- value: 'No Charge',
15570
- },
15571
15623
  {
15572
15624
  name: 'Not Billable',
15573
15625
  value: 'Not Billable',
@@ -15720,6 +15772,26 @@ class WorkBuddy {
15720
15772
  },
15721
15773
  },
15722
15774
  },
15775
+ {
15776
+ displayName: 'Child Codes',
15777
+ name: 'childCodes',
15778
+ type: 'json',
15779
+ default: {},
15780
+ description: '',
15781
+ required: false,
15782
+ displayOptions: {
15783
+ show: {
15784
+ resource: ['settings-items'],
15785
+ operation: ['PublicApiItemController_upsert'],
15786
+ },
15787
+ },
15788
+ routing: {
15789
+ send: {
15790
+ type: 'body',
15791
+ property: 'childCodes',
15792
+ },
15793
+ },
15794
+ },
15723
15795
  {
15724
15796
  displayName: 'Id',
15725
15797
  name: 'id',
@@ -16320,10 +16392,6 @@ class WorkBuddy {
16320
16392
  name: 'Billable',
16321
16393
  value: 'Billable',
16322
16394
  },
16323
- {
16324
- name: 'No Charge',
16325
- value: 'No Charge',
16326
- },
16327
16395
  {
16328
16396
  name: 'Not Billable',
16329
16397
  value: 'Not Billable',
@@ -16476,6 +16544,26 @@ class WorkBuddy {
16476
16544
  },
16477
16545
  },
16478
16546
  },
16547
+ {
16548
+ displayName: 'Child Codes',
16549
+ name: 'childCodes',
16550
+ type: 'json',
16551
+ default: {},
16552
+ description: '',
16553
+ required: false,
16554
+ displayOptions: {
16555
+ show: {
16556
+ resource: ['settings-items'],
16557
+ operation: ['PublicApiItemController_update'],
16558
+ },
16559
+ },
16560
+ routing: {
16561
+ send: {
16562
+ type: 'body',
16563
+ property: 'childCodes',
16564
+ },
16565
+ },
16566
+ },
16479
16567
  {
16480
16568
  displayName: 'Id',
16481
16569
  name: 'id',