@workbuddy/n8n-nodes-workbuddy-vnext 1.0.11 → 1.0.13

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.
@@ -108,6 +108,10 @@ class WorkBuddy {
108
108
  name: 'Jobs',
109
109
  value: 'jobs',
110
110
  },
111
+ {
112
+ name: 'Items',
113
+ value: 'items',
114
+ },
111
115
  {
112
116
  name: 'Stages',
113
117
  value: 'stages',
@@ -128,6 +132,10 @@ class WorkBuddy {
128
132
  name: 'Settings Items',
129
133
  value: 'settings-items',
130
134
  },
135
+ {
136
+ name: 'Settings Custom Fields',
137
+ value: 'settings-custom-fields',
138
+ },
131
139
  {
132
140
  name: 'Attachments',
133
141
  value: 'attachments',
@@ -279,6 +287,18 @@ class WorkBuddy {
279
287
  },
280
288
  },
281
289
  },
290
+ {
291
+ name: 'Update job status',
292
+ value: 'PublicApiJobController_updateStatus',
293
+ action: 'Change an existing job status and cascade the change to stages through the job domain command.',
294
+ description: 'Change an existing job status and cascade the change to stages through the job domain command.',
295
+ routing: {
296
+ request: {
297
+ method: 'PATCH',
298
+ url: '/api/v2/public/jobs/={{ $parameter["id"] }}/status',
299
+ },
300
+ },
301
+ },
282
302
  {
283
303
  name: 'Update a job',
284
304
  value: 'PublicApiJobController_update',
@@ -339,6 +359,18 @@ class WorkBuddy {
339
359
  },
340
360
  },
341
361
  },
362
+ {
363
+ name: 'Create stage items',
364
+ value: 'PublicApiJobController_createStageItems',
365
+ action: 'Add one or more catalogue-backed line items to a stage.',
366
+ description: 'Add one or more catalogue-backed line items to a stage.',
367
+ routing: {
368
+ request: {
369
+ method: 'POST',
370
+ url: '/api/v2/public/jobs/={{ $parameter["id"] }}/stages/={{ $parameter["stageId"] }}/items',
371
+ },
372
+ },
373
+ },
342
374
  {
343
375
  name: 'Get stage item',
344
376
  value: 'PublicApiJobController_getStageItem',
@@ -351,6 +383,30 @@ class WorkBuddy {
351
383
  },
352
384
  },
353
385
  },
386
+ {
387
+ name: 'Update stage item',
388
+ value: 'PublicApiJobController_updateStageItem',
389
+ action: 'Update mutable fields on a stage line item.',
390
+ description: 'Update mutable fields on a stage line item.',
391
+ routing: {
392
+ request: {
393
+ method: 'PATCH',
394
+ url: '/api/v2/public/jobs/={{ $parameter["id"] }}/stages/={{ $parameter["stageId"] }}/items/={{ $parameter["itemId"] }}',
395
+ },
396
+ },
397
+ },
398
+ {
399
+ name: 'Delete stage item',
400
+ value: 'PublicApiJobController_deleteStageItem',
401
+ action: 'Remove or cancel a stage item depending on tenant deletion settings.',
402
+ description: 'Remove or cancel a stage item depending on tenant deletion settings.',
403
+ routing: {
404
+ request: {
405
+ method: 'DELETE',
406
+ url: '/api/v2/public/jobs/={{ $parameter["id"] }}/stages/={{ $parameter["stageId"] }}/items/={{ $parameter["itemId"] }}',
407
+ },
408
+ },
409
+ },
354
410
  ],
355
411
  default: 'PublicApiJobController_search',
356
412
  },
@@ -3575,6 +3631,130 @@ class WorkBuddy {
3575
3631
  },
3576
3632
  },
3577
3633
  },
3634
+ {
3635
+ displayName: 'Items',
3636
+ name: 'items',
3637
+ type: 'json',
3638
+ default: {},
3639
+ description: '',
3640
+ required: false,
3641
+ displayOptions: {
3642
+ show: {
3643
+ resource: ['jobs'],
3644
+ operation: ['PublicApiJobController_create'],
3645
+ },
3646
+ },
3647
+ routing: {
3648
+ send: {
3649
+ type: 'body',
3650
+ property: 'items',
3651
+ },
3652
+ },
3653
+ },
3654
+ {
3655
+ displayName: 'Id',
3656
+ name: 'id',
3657
+ type: 'string',
3658
+ default: '',
3659
+ description: 'Job ID',
3660
+ required: true,
3661
+ displayOptions: {
3662
+ show: {
3663
+ resource: ['jobs'],
3664
+ operation: ['PublicApiJobController_updateStatus'],
3665
+ },
3666
+ },
3667
+ },
3668
+ {
3669
+ displayName: 'Status',
3670
+ name: 'status',
3671
+ type: 'options',
3672
+ default: '',
3673
+ description: 'Status filter',
3674
+ required: true,
3675
+ displayOptions: {
3676
+ show: {
3677
+ resource: ['jobs'],
3678
+ operation: ['PublicApiJobController_updateStatus'],
3679
+ },
3680
+ },
3681
+ options: [
3682
+ {
3683
+ name: 'open',
3684
+ value: 'open',
3685
+ },
3686
+ {
3687
+ name: 'in_progress',
3688
+ value: 'in_progress',
3689
+ },
3690
+ {
3691
+ name: 'on_hold',
3692
+ value: 'on_hold',
3693
+ },
3694
+ {
3695
+ name: 'completed',
3696
+ value: 'completed',
3697
+ },
3698
+ {
3699
+ name: 'finalised',
3700
+ value: 'finalised',
3701
+ },
3702
+ {
3703
+ name: 'closed',
3704
+ value: 'closed',
3705
+ },
3706
+ {
3707
+ name: 'cancelled',
3708
+ value: 'cancelled',
3709
+ },
3710
+ ],
3711
+ routing: {
3712
+ send: {
3713
+ type: 'body',
3714
+ property: 'status',
3715
+ },
3716
+ },
3717
+ },
3718
+ {
3719
+ displayName: 'Updated At',
3720
+ name: 'updatedAt',
3721
+ type: 'dateTime',
3722
+ default: '',
3723
+ description: 'For optimistic concurrency — update fails if entity was modified after this timestamp',
3724
+ required: false,
3725
+ displayOptions: {
3726
+ show: {
3727
+ resource: ['jobs'],
3728
+ operation: ['PublicApiJobController_updateStatus'],
3729
+ },
3730
+ },
3731
+ routing: {
3732
+ send: {
3733
+ type: 'body',
3734
+ property: 'updatedAt',
3735
+ },
3736
+ },
3737
+ },
3738
+ {
3739
+ displayName: 'Note',
3740
+ name: 'note',
3741
+ type: 'string',
3742
+ default: '',
3743
+ description: '',
3744
+ required: false,
3745
+ displayOptions: {
3746
+ show: {
3747
+ resource: ['jobs'],
3748
+ operation: ['PublicApiJobController_updateStatus'],
3749
+ },
3750
+ },
3751
+ routing: {
3752
+ send: {
3753
+ type: 'body',
3754
+ property: 'note',
3755
+ },
3756
+ },
3757
+ },
3578
3758
  {
3579
3759
  displayName: 'Id',
3580
3760
  name: 'id',
@@ -4095,9 +4275,10 @@ class WorkBuddy {
4095
4275
  },
4096
4276
  },
4097
4277
  routing: {
4098
- send: {
4099
- type: 'body',
4100
- property: 'cursor',
4278
+ request: {
4279
+ qs: {
4280
+ cursor: '={{$value}}',
4281
+ },
4101
4282
  },
4102
4283
  },
4103
4284
  },
@@ -4115,9 +4296,10 @@ class WorkBuddy {
4115
4296
  },
4116
4297
  },
4117
4298
  routing: {
4118
- send: {
4119
- type: 'body',
4120
- property: 'limit',
4299
+ request: {
4300
+ qs: {
4301
+ limit: '={{$value}}',
4302
+ },
4121
4303
  },
4122
4304
  },
4123
4305
  },
@@ -4191,9 +4373,10 @@ class WorkBuddy {
4191
4373
  },
4192
4374
  },
4193
4375
  routing: {
4194
- send: {
4195
- type: 'body',
4196
- property: 'cursor',
4376
+ request: {
4377
+ qs: {
4378
+ cursor: '={{$value}}',
4379
+ },
4197
4380
  },
4198
4381
  },
4199
4382
  },
@@ -4210,10 +4393,59 @@ class WorkBuddy {
4210
4393
  operation: ['PublicApiJobController_getStageItems'],
4211
4394
  },
4212
4395
  },
4396
+ routing: {
4397
+ request: {
4398
+ qs: {
4399
+ limit: '={{$value}}',
4400
+ },
4401
+ },
4402
+ },
4403
+ },
4404
+ {
4405
+ displayName: 'Id',
4406
+ name: 'id',
4407
+ type: 'string',
4408
+ default: '',
4409
+ description: 'Job ID',
4410
+ required: true,
4411
+ displayOptions: {
4412
+ show: {
4413
+ resource: ['jobs'],
4414
+ operation: ['PublicApiJobController_createStageItems'],
4415
+ },
4416
+ },
4417
+ },
4418
+ {
4419
+ displayName: 'Stage Id',
4420
+ name: 'stageId',
4421
+ type: 'string',
4422
+ default: '',
4423
+ description: 'Stage ID',
4424
+ required: true,
4425
+ displayOptions: {
4426
+ show: {
4427
+ resource: ['jobs'],
4428
+ operation: ['PublicApiJobController_createStageItems'],
4429
+ },
4430
+ },
4431
+ },
4432
+ {
4433
+ displayName: 'Items',
4434
+ name: 'items',
4435
+ type: 'json',
4436
+ default: {},
4437
+ description: '',
4438
+ required: true,
4439
+ displayOptions: {
4440
+ show: {
4441
+ resource: ['jobs'],
4442
+ operation: ['PublicApiJobController_createStageItems'],
4443
+ },
4444
+ },
4213
4445
  routing: {
4214
4446
  send: {
4215
4447
  type: 'body',
4216
- property: 'limit',
4448
+ property: 'items',
4217
4449
  },
4218
4450
  },
4219
4451
  },
@@ -4246,16 +4478,392 @@ class WorkBuddy {
4246
4478
  },
4247
4479
  },
4248
4480
  {
4249
- displayName: 'Item Id',
4250
- name: 'itemId',
4481
+ displayName: 'Item Id',
4482
+ name: 'itemId',
4483
+ type: 'string',
4484
+ default: '',
4485
+ description: 'Item ID',
4486
+ required: true,
4487
+ displayOptions: {
4488
+ show: {
4489
+ resource: ['jobs'],
4490
+ operation: ['PublicApiJobController_getStageItem'],
4491
+ },
4492
+ },
4493
+ },
4494
+ {
4495
+ displayName: 'Id',
4496
+ name: 'id',
4497
+ type: 'string',
4498
+ default: '',
4499
+ description: 'Job ID',
4500
+ required: true,
4501
+ displayOptions: {
4502
+ show: {
4503
+ resource: ['jobs'],
4504
+ operation: ['PublicApiJobController_updateStageItem'],
4505
+ },
4506
+ },
4507
+ },
4508
+ {
4509
+ displayName: 'Stage Id',
4510
+ name: 'stageId',
4511
+ type: 'string',
4512
+ default: '',
4513
+ description: 'Stage ID',
4514
+ required: true,
4515
+ displayOptions: {
4516
+ show: {
4517
+ resource: ['jobs'],
4518
+ operation: ['PublicApiJobController_updateStageItem'],
4519
+ },
4520
+ },
4521
+ },
4522
+ {
4523
+ displayName: 'Item Id',
4524
+ name: 'itemId',
4525
+ type: 'string',
4526
+ default: '',
4527
+ description: 'Item ID',
4528
+ required: true,
4529
+ displayOptions: {
4530
+ show: {
4531
+ resource: ['jobs'],
4532
+ operation: ['PublicApiJobController_updateStageItem'],
4533
+ },
4534
+ },
4535
+ },
4536
+ {
4537
+ displayName: 'Updated At',
4538
+ name: 'updatedAt',
4539
+ type: 'dateTime',
4540
+ default: '',
4541
+ description: 'For optimistic concurrency — update fails if entity was modified after this timestamp',
4542
+ required: true,
4543
+ displayOptions: {
4544
+ show: {
4545
+ resource: ['jobs'],
4546
+ operation: ['PublicApiJobController_updateStageItem'],
4547
+ },
4548
+ },
4549
+ routing: {
4550
+ send: {
4551
+ type: 'body',
4552
+ property: 'updatedAt',
4553
+ },
4554
+ },
4555
+ },
4556
+ {
4557
+ displayName: 'Quantity',
4558
+ name: 'quantity',
4559
+ type: 'number',
4560
+ default: 0,
4561
+ description: '',
4562
+ required: false,
4563
+ displayOptions: {
4564
+ show: {
4565
+ resource: ['jobs'],
4566
+ operation: ['PublicApiJobController_updateStageItem'],
4567
+ },
4568
+ },
4569
+ routing: {
4570
+ send: {
4571
+ type: 'body',
4572
+ property: 'quantity',
4573
+ },
4574
+ },
4575
+ },
4576
+ {
4577
+ displayName: 'Unit',
4578
+ name: 'unit',
4579
+ type: 'string',
4580
+ default: '',
4581
+ description: '',
4582
+ required: false,
4583
+ displayOptions: {
4584
+ show: {
4585
+ resource: ['jobs'],
4586
+ operation: ['PublicApiJobController_updateStageItem'],
4587
+ },
4588
+ },
4589
+ routing: {
4590
+ send: {
4591
+ type: 'body',
4592
+ property: 'unit',
4593
+ },
4594
+ },
4595
+ },
4596
+ {
4597
+ displayName: 'Location',
4598
+ name: 'location',
4599
+ type: 'string',
4600
+ default: '',
4601
+ description: '',
4602
+ required: false,
4603
+ displayOptions: {
4604
+ show: {
4605
+ resource: ['jobs'],
4606
+ operation: ['PublicApiJobController_updateStageItem'],
4607
+ },
4608
+ },
4609
+ routing: {
4610
+ send: {
4611
+ type: 'body',
4612
+ property: 'location',
4613
+ },
4614
+ },
4615
+ },
4616
+ {
4617
+ displayName: 'Note',
4618
+ name: 'note',
4619
+ type: 'string',
4620
+ default: '',
4621
+ description: '',
4622
+ required: false,
4623
+ displayOptions: {
4624
+ show: {
4625
+ resource: ['jobs'],
4626
+ operation: ['PublicApiJobController_updateStageItem'],
4627
+ },
4628
+ },
4629
+ routing: {
4630
+ send: {
4631
+ type: 'body',
4632
+ property: 'note',
4633
+ },
4634
+ },
4635
+ },
4636
+ {
4637
+ displayName: 'Buy Price',
4638
+ name: 'buyPrice',
4639
+ type: 'number',
4640
+ default: 0,
4641
+ description: '',
4642
+ required: false,
4643
+ displayOptions: {
4644
+ show: {
4645
+ resource: ['jobs'],
4646
+ operation: ['PublicApiJobController_updateStageItem'],
4647
+ },
4648
+ },
4649
+ routing: {
4650
+ send: {
4651
+ type: 'body',
4652
+ property: 'buyPrice',
4653
+ },
4654
+ },
4655
+ },
4656
+ {
4657
+ displayName: 'Sell Price',
4658
+ name: 'sellPrice',
4659
+ type: 'number',
4660
+ default: 0,
4661
+ description: '',
4662
+ required: false,
4663
+ displayOptions: {
4664
+ show: {
4665
+ resource: ['jobs'],
4666
+ operation: ['PublicApiJobController_updateStageItem'],
4667
+ },
4668
+ },
4669
+ routing: {
4670
+ send: {
4671
+ type: 'body',
4672
+ property: 'sellPrice',
4673
+ },
4674
+ },
4675
+ },
4676
+ {
4677
+ displayName: 'Status',
4678
+ name: 'status',
4679
+ type: 'options',
4680
+ default: '',
4681
+ description: 'Status filter',
4682
+ required: false,
4683
+ displayOptions: {
4684
+ show: {
4685
+ resource: ['jobs'],
4686
+ operation: ['PublicApiJobController_updateStageItem'],
4687
+ },
4688
+ },
4689
+ options: [
4690
+ {
4691
+ name: 'Normal',
4692
+ value: 'Normal',
4693
+ },
4694
+ {
4695
+ name: 'Variation',
4696
+ value: 'Variation',
4697
+ },
4698
+ {
4699
+ name: 'Cancelled',
4700
+ value: 'Cancelled',
4701
+ },
4702
+ {
4703
+ name: 'Requested',
4704
+ value: 'Requested',
4705
+ },
4706
+ {
4707
+ name: 'Pending Review',
4708
+ value: 'Pending Review',
4709
+ },
4710
+ {
4711
+ name: 'Declined',
4712
+ value: 'Declined',
4713
+ },
4714
+ {
4715
+ name: 'Deleted',
4716
+ value: 'Deleted',
4717
+ },
4718
+ ],
4719
+ routing: {
4720
+ send: {
4721
+ type: 'body',
4722
+ property: 'status',
4723
+ },
4724
+ },
4725
+ },
4726
+ {
4727
+ displayName: 'Invoicing Status',
4728
+ name: 'invoicingStatus',
4729
+ type: 'options',
4730
+ default: '',
4731
+ description: '',
4732
+ required: false,
4733
+ displayOptions: {
4734
+ show: {
4735
+ resource: ['jobs'],
4736
+ operation: ['PublicApiJobController_updateStageItem'],
4737
+ },
4738
+ },
4739
+ options: [
4740
+ {
4741
+ name: 'Billable',
4742
+ value: 'Billable',
4743
+ },
4744
+ {
4745
+ name: 'No Charge',
4746
+ value: 'No Charge',
4747
+ },
4748
+ {
4749
+ name: 'Not Billable',
4750
+ value: 'Not Billable',
4751
+ },
4752
+ ],
4753
+ routing: {
4754
+ send: {
4755
+ type: 'body',
4756
+ property: 'invoicingStatus',
4757
+ },
4758
+ },
4759
+ },
4760
+ {
4761
+ displayName: 'Supplied By Subcontractor',
4762
+ name: 'suppliedBySubcontractor',
4763
+ type: 'boolean',
4764
+ default: false,
4765
+ description: '',
4766
+ required: false,
4767
+ displayOptions: {
4768
+ show: {
4769
+ resource: ['jobs'],
4770
+ operation: ['PublicApiJobController_updateStageItem'],
4771
+ },
4772
+ },
4773
+ routing: {
4774
+ send: {
4775
+ type: 'body',
4776
+ property: 'suppliedBySubcontractor',
4777
+ },
4778
+ },
4779
+ },
4780
+ {
4781
+ displayName: 'Id',
4782
+ name: 'id',
4783
+ type: 'string',
4784
+ default: '',
4785
+ description: 'Job ID',
4786
+ required: true,
4787
+ displayOptions: {
4788
+ show: {
4789
+ resource: ['jobs'],
4790
+ operation: ['PublicApiJobController_deleteStageItem'],
4791
+ },
4792
+ },
4793
+ },
4794
+ {
4795
+ displayName: 'Stage Id',
4796
+ name: 'stageId',
4797
+ type: 'string',
4798
+ default: '',
4799
+ description: 'Stage ID',
4800
+ required: true,
4801
+ displayOptions: {
4802
+ show: {
4803
+ resource: ['jobs'],
4804
+ operation: ['PublicApiJobController_deleteStageItem'],
4805
+ },
4806
+ },
4807
+ },
4808
+ {
4809
+ displayName: 'Item Id',
4810
+ name: 'itemId',
4811
+ type: 'string',
4812
+ default: '',
4813
+ description: 'Item ID',
4814
+ required: true,
4815
+ displayOptions: {
4816
+ show: {
4817
+ resource: ['jobs'],
4818
+ operation: ['PublicApiJobController_deleteStageItem'],
4819
+ },
4820
+ },
4821
+ },
4822
+ // Items Operations
4823
+ {
4824
+ displayName: 'Operation',
4825
+ name: 'operation',
4826
+ type: 'options',
4827
+ noDataExpression: true,
4828
+ displayOptions: {
4829
+ show: {
4830
+ resource: ['items'],
4831
+ },
4832
+ },
4833
+ options: [
4834
+ {
4835
+ name: 'Find job line items',
4836
+ value: 'PublicApiJobLineItemController_list',
4837
+ action: 'Find a job line item by external integration ID.',
4838
+ description: 'Find a job line item by external integration ID.',
4839
+ routing: {
4840
+ request: {
4841
+ method: 'GET',
4842
+ url: '/api/v2/public/items',
4843
+ },
4844
+ },
4845
+ },
4846
+ ],
4847
+ default: 'PublicApiJobLineItemController_list',
4848
+ },
4849
+ {
4850
+ displayName: 'Integration Id',
4851
+ name: 'integrationId',
4251
4852
  type: 'string',
4252
4853
  default: '',
4253
- description: 'Item ID',
4854
+ description: 'External integration ID for the line item',
4254
4855
  required: true,
4255
4856
  displayOptions: {
4256
4857
  show: {
4257
- resource: ['jobs'],
4258
- operation: ['PublicApiJobController_getStageItem'],
4858
+ resource: ['items'],
4859
+ operation: ['PublicApiJobLineItemController_list'],
4860
+ },
4861
+ },
4862
+ routing: {
4863
+ request: {
4864
+ qs: {
4865
+ integrationId: '={{$value}}',
4866
+ },
4259
4867
  },
4260
4868
  },
4261
4869
  },
@@ -4930,6 +5538,26 @@ class WorkBuddy {
4930
5538
  },
4931
5539
  },
4932
5540
  },
5541
+ {
5542
+ displayName: 'Note',
5543
+ name: 'note',
5544
+ type: 'string',
5545
+ default: '',
5546
+ description: '',
5547
+ required: false,
5548
+ displayOptions: {
5549
+ show: {
5550
+ resource: ['stages'],
5551
+ operation: ['PublicJobStageController_finalise'],
5552
+ },
5553
+ },
5554
+ routing: {
5555
+ send: {
5556
+ type: 'body',
5557
+ property: 'note',
5558
+ },
5559
+ },
5560
+ },
4933
5561
  {
4934
5562
  displayName: 'Id',
4935
5563
  name: 'id',
@@ -5191,9 +5819,10 @@ class WorkBuddy {
5191
5819
  },
5192
5820
  },
5193
5821
  routing: {
5194
- send: {
5195
- type: 'body',
5196
- property: 'cursor',
5822
+ request: {
5823
+ qs: {
5824
+ cursor: '={{$value}}',
5825
+ },
5197
5826
  },
5198
5827
  },
5199
5828
  },
@@ -5211,9 +5840,10 @@ class WorkBuddy {
5211
5840
  },
5212
5841
  },
5213
5842
  routing: {
5214
- send: {
5215
- type: 'body',
5216
- property: 'limit',
5843
+ request: {
5844
+ qs: {
5845
+ limit: '={{$value}}',
5846
+ },
5217
5847
  },
5218
5848
  },
5219
5849
  },
@@ -8109,6 +8739,69 @@ class WorkBuddy {
8109
8739
  },
8110
8740
  },
8111
8741
  },
8742
+ // Settings Custom Fields Operations
8743
+ {
8744
+ displayName: 'Operation',
8745
+ name: 'operation',
8746
+ type: 'options',
8747
+ noDataExpression: true,
8748
+ displayOptions: {
8749
+ show: {
8750
+ resource: ['settings-custom-fields'],
8751
+ },
8752
+ },
8753
+ options: [
8754
+ {
8755
+ name: 'List job custom fields',
8756
+ value: 'PublicApiCustomFieldController_listJobCustomFields',
8757
+ action: 'Retrieve configured custom fields that may be used in Job customFields payloads.',
8758
+ description: 'Retrieve configured custom fields that may be used in Job customFields payloads.',
8759
+ routing: {
8760
+ request: {
8761
+ method: 'GET',
8762
+ url: '/api/v2/public/settings/custom-fields/jobs',
8763
+ },
8764
+ },
8765
+ },
8766
+ {
8767
+ name: 'List stage custom fields',
8768
+ value: 'PublicApiCustomFieldController_listStageCustomFields',
8769
+ action: 'Retrieve configured custom fields that may be used in Stage customFields payloads.',
8770
+ description: 'Retrieve configured custom fields that may be used in Stage customFields payloads.',
8771
+ routing: {
8772
+ request: {
8773
+ method: 'GET',
8774
+ url: '/api/v2/public/settings/custom-fields/stages',
8775
+ },
8776
+ },
8777
+ },
8778
+ {
8779
+ name: 'List account custom fields',
8780
+ value: 'PublicApiCustomFieldController_listAccountCustomFields',
8781
+ action: 'Retrieve configured custom fields that may be used in CRM account customFields payloads.',
8782
+ description: 'Retrieve configured custom fields that may be used in CRM account customFields payloads.',
8783
+ routing: {
8784
+ request: {
8785
+ method: 'GET',
8786
+ url: '/api/v2/public/settings/custom-fields/accounts',
8787
+ },
8788
+ },
8789
+ },
8790
+ {
8791
+ name: 'List item custom fields',
8792
+ value: 'PublicApiCustomFieldController_listItemCustomFields',
8793
+ action: 'Retrieve configured custom fields that may be used in settings item customFields payloads.',
8794
+ description: 'Retrieve configured custom fields that may be used in settings item customFields payloads.',
8795
+ routing: {
8796
+ request: {
8797
+ method: 'GET',
8798
+ url: '/api/v2/public/settings/custom-fields/items',
8799
+ },
8800
+ },
8801
+ },
8802
+ ],
8803
+ default: 'PublicApiCustomFieldController_listJobCustomFields',
8804
+ },
8112
8805
  // Attachments Operations
8113
8806
  {
8114
8807
  displayName: 'Operation',
@@ -13142,6 +13835,27 @@ class WorkBuddy {
13142
13835
  ],
13143
13836
  default: 'PublicCrmCustomerController_list',
13144
13837
  },
13838
+ {
13839
+ displayName: 'Integration Id',
13840
+ name: 'integrationId',
13841
+ type: 'string',
13842
+ default: '',
13843
+ description: 'Filter by external integration identifier',
13844
+ required: false,
13845
+ displayOptions: {
13846
+ show: {
13847
+ resource: ['crm-customers'],
13848
+ operation: ['PublicCrmCustomerController_list'],
13849
+ },
13850
+ },
13851
+ routing: {
13852
+ request: {
13853
+ qs: {
13854
+ integrationId: '={{$value}}',
13855
+ },
13856
+ },
13857
+ },
13858
+ },
13145
13859
  {
13146
13860
  displayName: 'Status',
13147
13861
  name: 'status',
@@ -13156,9 +13870,10 @@ class WorkBuddy {
13156
13870
  },
13157
13871
  },
13158
13872
  routing: {
13159
- send: {
13160
- type: 'body',
13161
- property: 'status',
13873
+ request: {
13874
+ qs: {
13875
+ status: '={{$value}}',
13876
+ },
13162
13877
  },
13163
13878
  },
13164
13879
  },
@@ -13176,9 +13891,10 @@ class WorkBuddy {
13176
13891
  },
13177
13892
  },
13178
13893
  routing: {
13179
- send: {
13180
- type: 'body',
13181
- property: 'cursor',
13894
+ request: {
13895
+ qs: {
13896
+ cursor: '={{$value}}',
13897
+ },
13182
13898
  },
13183
13899
  },
13184
13900
  },
@@ -13196,9 +13912,10 @@ class WorkBuddy {
13196
13912
  },
13197
13913
  },
13198
13914
  routing: {
13199
- send: {
13200
- type: 'body',
13201
- property: 'limit',
13915
+ request: {
13916
+ qs: {
13917
+ limit: '={{$value}}',
13918
+ },
13202
13919
  },
13203
13920
  },
13204
13921
  },
@@ -13809,6 +14526,26 @@ class WorkBuddy {
13809
14526
  },
13810
14527
  },
13811
14528
  },
14529
+ {
14530
+ displayName: 'Primary Site',
14531
+ name: 'primarySite',
14532
+ type: 'json',
14533
+ default: {},
14534
+ description: '',
14535
+ required: false,
14536
+ displayOptions: {
14537
+ show: {
14538
+ resource: ['crm-customers'],
14539
+ operation: ['PublicCrmCustomerController_update'],
14540
+ },
14541
+ },
14542
+ routing: {
14543
+ send: {
14544
+ type: 'body',
14545
+ property: 'primarySite',
14546
+ },
14547
+ },
14548
+ },
13812
14549
  {
13813
14550
  displayName: 'Owner',
13814
14551
  name: 'owner',
@@ -13937,9 +14674,10 @@ class WorkBuddy {
13937
14674
  },
13938
14675
  },
13939
14676
  routing: {
13940
- send: {
13941
- type: 'body',
13942
- property: 'cursor',
14677
+ request: {
14678
+ qs: {
14679
+ cursor: '={{$value}}',
14680
+ },
13943
14681
  },
13944
14682
  },
13945
14683
  },
@@ -13957,9 +14695,10 @@ class WorkBuddy {
13957
14695
  },
13958
14696
  },
13959
14697
  routing: {
13960
- send: {
13961
- type: 'body',
13962
- property: 'limit',
14698
+ request: {
14699
+ qs: {
14700
+ limit: '={{$value}}',
14701
+ },
13963
14702
  },
13964
14703
  },
13965
14704
  },
@@ -13991,9 +14730,10 @@ class WorkBuddy {
13991
14730
  },
13992
14731
  },
13993
14732
  routing: {
13994
- send: {
13995
- type: 'body',
13996
- property: 'cursor',
14733
+ request: {
14734
+ qs: {
14735
+ cursor: '={{$value}}',
14736
+ },
13997
14737
  },
13998
14738
  },
13999
14739
  },
@@ -14011,9 +14751,10 @@ class WorkBuddy {
14011
14751
  },
14012
14752
  },
14013
14753
  routing: {
14014
- send: {
14015
- type: 'body',
14016
- property: 'limit',
14754
+ request: {
14755
+ qs: {
14756
+ limit: '={{$value}}',
14757
+ },
14017
14758
  },
14018
14759
  },
14019
14760
  },
@@ -14070,9 +14811,10 @@ class WorkBuddy {
14070
14811
  },
14071
14812
  },
14072
14813
  routing: {
14073
- send: {
14074
- type: 'body',
14075
- property: 'cursor',
14814
+ request: {
14815
+ qs: {
14816
+ cursor: '={{$value}}',
14817
+ },
14076
14818
  },
14077
14819
  },
14078
14820
  },
@@ -14090,9 +14832,10 @@ class WorkBuddy {
14090
14832
  },
14091
14833
  },
14092
14834
  routing: {
14093
- send: {
14094
- type: 'body',
14095
- property: 'limit',
14835
+ request: {
14836
+ qs: {
14837
+ limit: '={{$value}}',
14838
+ },
14096
14839
  },
14097
14840
  },
14098
14841
  },
@@ -14187,9 +14930,10 @@ class WorkBuddy {
14187
14930
  },
14188
14931
  },
14189
14932
  routing: {
14190
- send: {
14191
- type: 'body',
14192
- property: 'cursor',
14933
+ request: {
14934
+ qs: {
14935
+ cursor: '={{$value}}',
14936
+ },
14193
14937
  },
14194
14938
  },
14195
14939
  },
@@ -14207,9 +14951,10 @@ class WorkBuddy {
14207
14951
  },
14208
14952
  },
14209
14953
  routing: {
14210
- send: {
14211
- type: 'body',
14212
- property: 'limit',
14954
+ request: {
14955
+ qs: {
14956
+ limit: '={{$value}}',
14957
+ },
14213
14958
  },
14214
14959
  },
14215
14960
  },
@@ -14786,6 +15531,26 @@ class WorkBuddy {
14786
15531
  },
14787
15532
  },
14788
15533
  },
15534
+ {
15535
+ displayName: 'Primary Site',
15536
+ name: 'primarySite',
15537
+ type: 'json',
15538
+ default: {},
15539
+ description: '',
15540
+ required: false,
15541
+ displayOptions: {
15542
+ show: {
15543
+ resource: ['crm-contractors'],
15544
+ operation: ['PublicCrmContractorController_update'],
15545
+ },
15546
+ },
15547
+ routing: {
15548
+ send: {
15549
+ type: 'body',
15550
+ property: 'primarySite',
15551
+ },
15552
+ },
15553
+ },
14789
15554
  {
14790
15555
  displayName: 'Owner',
14791
15556
  name: 'owner',
@@ -15103,9 +15868,10 @@ class WorkBuddy {
15103
15868
  },
15104
15869
  },
15105
15870
  routing: {
15106
- send: {
15107
- type: 'body',
15108
- property: 'cursor',
15871
+ request: {
15872
+ qs: {
15873
+ cursor: '={{$value}}',
15874
+ },
15109
15875
  },
15110
15876
  },
15111
15877
  },
@@ -15123,9 +15889,10 @@ class WorkBuddy {
15123
15889
  },
15124
15890
  },
15125
15891
  routing: {
15126
- send: {
15127
- type: 'body',
15128
- property: 'limit',
15892
+ request: {
15893
+ qs: {
15894
+ limit: '={{$value}}',
15895
+ },
15129
15896
  },
15130
15897
  },
15131
15898
  },
@@ -15702,6 +16469,26 @@ class WorkBuddy {
15702
16469
  },
15703
16470
  },
15704
16471
  },
16472
+ {
16473
+ displayName: 'Primary Site',
16474
+ name: 'primarySite',
16475
+ type: 'json',
16476
+ default: {},
16477
+ description: '',
16478
+ required: false,
16479
+ displayOptions: {
16480
+ show: {
16481
+ resource: ['crm-suppliers'],
16482
+ operation: ['PublicCrmSupplierController_update'],
16483
+ },
16484
+ },
16485
+ routing: {
16486
+ send: {
16487
+ type: 'body',
16488
+ property: 'primarySite',
16489
+ },
16490
+ },
16491
+ },
15705
16492
  {
15706
16493
  displayName: 'Owner',
15707
16494
  name: 'owner',
@@ -16015,9 +16802,10 @@ class WorkBuddy {
16015
16802
  },
16016
16803
  },
16017
16804
  routing: {
16018
- send: {
16019
- type: 'body',
16020
- property: 'cursor',
16805
+ request: {
16806
+ qs: {
16807
+ cursor: '={{$value}}',
16808
+ },
16021
16809
  },
16022
16810
  },
16023
16811
  },
@@ -16035,9 +16823,10 @@ class WorkBuddy {
16035
16823
  },
16036
16824
  },
16037
16825
  routing: {
16038
- send: {
16039
- type: 'body',
16040
- property: 'limit',
16826
+ request: {
16827
+ qs: {
16828
+ limit: '={{$value}}',
16829
+ },
16041
16830
  },
16042
16831
  },
16043
16832
  },
@@ -16108,9 +16897,10 @@ class WorkBuddy {
16108
16897
  },
16109
16898
  },
16110
16899
  routing: {
16111
- send: {
16112
- type: 'body',
16113
- property: 'cursor',
16900
+ request: {
16901
+ qs: {
16902
+ cursor: '={{$value}}',
16903
+ },
16114
16904
  },
16115
16905
  },
16116
16906
  },
@@ -16128,9 +16918,10 @@ class WorkBuddy {
16128
16918
  },
16129
16919
  },
16130
16920
  routing: {
16131
- send: {
16132
- type: 'body',
16133
- property: 'limit',
16921
+ request: {
16922
+ qs: {
16923
+ limit: '={{$value}}',
16924
+ },
16134
16925
  },
16135
16926
  },
16136
16927
  },
@@ -16201,9 +16992,10 @@ class WorkBuddy {
16201
16992
  },
16202
16993
  },
16203
16994
  routing: {
16204
- send: {
16205
- type: 'body',
16206
- property: 'cursor',
16995
+ request: {
16996
+ qs: {
16997
+ cursor: '={{$value}}',
16998
+ },
16207
16999
  },
16208
17000
  },
16209
17001
  },
@@ -16221,9 +17013,10 @@ class WorkBuddy {
16221
17013
  },
16222
17014
  },
16223
17015
  routing: {
16224
- send: {
16225
- type: 'body',
16226
- property: 'limit',
17016
+ request: {
17017
+ qs: {
17018
+ limit: '={{$value}}',
17019
+ },
16227
17020
  },
16228
17021
  },
16229
17022
  },
@@ -16294,9 +17087,10 @@ class WorkBuddy {
16294
17087
  },
16295
17088
  },
16296
17089
  routing: {
16297
- send: {
16298
- type: 'body',
16299
- property: 'cursor',
17090
+ request: {
17091
+ qs: {
17092
+ cursor: '={{$value}}',
17093
+ },
16300
17094
  },
16301
17095
  },
16302
17096
  },
@@ -16314,9 +17108,10 @@ class WorkBuddy {
16314
17108
  },
16315
17109
  },
16316
17110
  routing: {
16317
- send: {
16318
- type: 'body',
16319
- property: 'limit',
17111
+ request: {
17112
+ qs: {
17113
+ limit: '={{$value}}',
17114
+ },
16320
17115
  },
16321
17116
  },
16322
17117
  },
@@ -16387,9 +17182,10 @@ class WorkBuddy {
16387
17182
  },
16388
17183
  },
16389
17184
  routing: {
16390
- send: {
16391
- type: 'body',
16392
- property: 'status',
17185
+ request: {
17186
+ qs: {
17187
+ status: '={{$value}}',
17188
+ },
16393
17189
  },
16394
17190
  },
16395
17191
  },
@@ -16407,9 +17203,10 @@ class WorkBuddy {
16407
17203
  },
16408
17204
  },
16409
17205
  routing: {
16410
- send: {
16411
- type: 'body',
16412
- property: 'cursor',
17206
+ request: {
17207
+ qs: {
17208
+ cursor: '={{$value}}',
17209
+ },
16413
17210
  },
16414
17211
  },
16415
17212
  },
@@ -16427,9 +17224,10 @@ class WorkBuddy {
16427
17224
  },
16428
17225
  },
16429
17226
  routing: {
16430
- send: {
16431
- type: 'body',
16432
- property: 'limit',
17227
+ request: {
17228
+ qs: {
17229
+ limit: '={{$value}}',
17230
+ },
16433
17231
  },
16434
17232
  },
16435
17233
  },
@@ -16815,9 +17613,10 @@ class WorkBuddy {
16815
17613
  },
16816
17614
  },
16817
17615
  routing: {
16818
- send: {
16819
- type: 'body',
16820
- property: 'lastModifiedOn',
17616
+ request: {
17617
+ qs: {
17618
+ lastModifiedOn: '={{$value}}',
17619
+ },
16821
17620
  },
16822
17621
  },
16823
17622
  },
@@ -16835,9 +17634,10 @@ class WorkBuddy {
16835
17634
  },
16836
17635
  },
16837
17636
  routing: {
16838
- send: {
16839
- type: 'body',
16840
- property: 'pageSize',
17637
+ request: {
17638
+ qs: {
17639
+ pageSize: '={{$value}}',
17640
+ },
16841
17641
  },
16842
17642
  },
16843
17643
  },
@@ -16855,9 +17655,10 @@ class WorkBuddy {
16855
17655
  },
16856
17656
  },
16857
17657
  routing: {
16858
- send: {
16859
- type: 'body',
16860
- property: 'page',
17658
+ request: {
17659
+ qs: {
17660
+ page: '={{$value}}',
17661
+ },
16861
17662
  },
16862
17663
  },
16863
17664
  },
@@ -17329,9 +18130,10 @@ class WorkBuddy {
17329
18130
  },
17330
18131
  },
17331
18132
  routing: {
17332
- send: {
17333
- type: 'body',
17334
- property: 'status',
18133
+ request: {
18134
+ qs: {
18135
+ status: '={{$value}}',
18136
+ },
17335
18137
  },
17336
18138
  },
17337
18139
  options: [