@workbuddy/n8n-nodes-workbuddy-vnext 1.0.42 → 1.0.44

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.
@@ -5497,8 +5497,8 @@ class WorkBuddy {
5497
5497
  {
5498
5498
  name: 'Delete a stage',
5499
5499
  value: 'PublicJobStageController_delete',
5500
- action: 'Permanently delete a stage and all associated items/resources. This action cannot be undone.',
5501
- description: 'Permanently delete a stage and all associated items/resources. This action cannot be undone.',
5500
+ 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.',
5501
+ 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.',
5502
5502
  routing: {
5503
5503
  request: {
5504
5504
  method: 'DELETE',
@@ -5704,26 +5704,6 @@ class WorkBuddy {
5704
5704
  },
5705
5705
  },
5706
5706
  },
5707
- {
5708
- displayName: 'Notes',
5709
- name: 'notes',
5710
- type: 'string',
5711
- default: '',
5712
- description: 'Additional notes or comments',
5713
- required: false,
5714
- displayOptions: {
5715
- show: {
5716
- resource: ['stages'],
5717
- operation: ['PublicJobStageController_create'],
5718
- },
5719
- },
5720
- routing: {
5721
- send: {
5722
- type: 'body',
5723
- property: 'notes',
5724
- },
5725
- },
5726
- },
5727
5707
  {
5728
5708
  displayName: 'Custom Fields',
5729
5709
  name: 'customFields',
@@ -5841,26 +5821,6 @@ class WorkBuddy {
5841
5821
  },
5842
5822
  },
5843
5823
  },
5844
- {
5845
- displayName: 'Notes',
5846
- name: 'notes',
5847
- type: 'string',
5848
- default: '',
5849
- description: 'Additional notes or comments',
5850
- required: false,
5851
- displayOptions: {
5852
- show: {
5853
- resource: ['stages'],
5854
- operation: ['PublicJobStageController_update'],
5855
- },
5856
- },
5857
- routing: {
5858
- send: {
5859
- type: 'body',
5860
- property: 'notes',
5861
- },
5862
- },
5863
- },
5864
5824
  {
5865
5825
  displayName: 'Tags Set',
5866
5826
  name: 'tagsSet',
@@ -6887,7 +6847,7 @@ class WorkBuddy {
6887
6847
  {
6888
6848
  displayName: 'Entity',
6889
6849
  name: 'entity',
6890
- type: 'string',
6850
+ type: 'options',
6891
6851
  default: '',
6892
6852
  description: 'Entity type (customer, contractor, supplier)',
6893
6853
  required: true,
@@ -6897,6 +6857,20 @@ class WorkBuddy {
6897
6857
  operation: ['PublicApiEntityStatusController_list'],
6898
6858
  },
6899
6859
  },
6860
+ options: [
6861
+ {
6862
+ name: 'customer',
6863
+ value: 'customer',
6864
+ },
6865
+ {
6866
+ name: 'contractor',
6867
+ value: 'contractor',
6868
+ },
6869
+ {
6870
+ name: 'supplier',
6871
+ value: 'supplier',
6872
+ },
6873
+ ],
6900
6874
  },
6901
6875
  // Settings Templates Operations
6902
6876
  {
@@ -7072,8 +7046,8 @@ class WorkBuddy {
7072
7046
  {
7073
7047
  name: 'List item categories',
7074
7048
  value: 'PublicApiItemCategoryController_list',
7075
- action: 'Retrieve active item categories and sub-categories.',
7076
- description: 'Retrieve active item categories and sub-categories.',
7049
+ action: 'Retrieve active item categories and sub-categories. Use search, name, or id to filter by category/sub-category name or id.',
7050
+ description: 'Retrieve active item categories and sub-categories. Use search, name, or id to filter by category/sub-category name or id.',
7077
7051
  routing: {
7078
7052
  request: {
7079
7053
  method: 'GET',
@@ -7108,17 +7082,37 @@ class WorkBuddy {
7108
7082
  ],
7109
7083
  default: 'PublicApiItemController_list',
7110
7084
  },
7085
+ {
7086
+ displayName: 'Name',
7087
+ name: 'name',
7088
+ type: 'string',
7089
+ default: '',
7090
+ description: 'Display name',
7091
+ required: true,
7092
+ displayOptions: {
7093
+ show: {
7094
+ resource: ['settings-items'],
7095
+ operation: ['PublicApiItemController_upsert'],
7096
+ },
7097
+ },
7098
+ routing: {
7099
+ send: {
7100
+ type: 'body',
7101
+ property: 'name',
7102
+ },
7103
+ },
7104
+ },
7111
7105
  {
7112
7106
  displayName: 'Type',
7113
7107
  name: 'type',
7114
7108
  type: 'options',
7115
7109
  default: '',
7116
7110
  description: '',
7117
- required: true,
7111
+ required: false,
7118
7112
  displayOptions: {
7119
7113
  show: {
7120
7114
  resource: ['settings-items'],
7121
- operation: ['PublicApiItemController_create'],
7115
+ operation: ['PublicApiItemController_upsert'],
7122
7116
  },
7123
7117
  },
7124
7118
  options: [
@@ -7134,14 +7128,18 @@ class WorkBuddy {
7134
7128
  name: 'NON-INVENTORY',
7135
7129
  value: 'NON-INVENTORY',
7136
7130
  },
7137
- {
7138
- name: 'LABOUR',
7139
- value: 'LABOUR',
7140
- },
7141
7131
  {
7142
7132
  name: 'INCENTIVE',
7143
7133
  value: 'INCENTIVE',
7144
7134
  },
7135
+ {
7136
+ name: 'KIT',
7137
+ value: 'KIT',
7138
+ },
7139
+ {
7140
+ name: 'BUNDLE',
7141
+ value: 'BUNDLE',
7142
+ },
7145
7143
  ],
7146
7144
  routing: {
7147
7145
  send: {
@@ -7151,106 +7149,86 @@ class WorkBuddy {
7151
7149
  },
7152
7150
  },
7153
7151
  {
7154
- displayName: 'Name',
7155
- name: 'name',
7152
+ displayName: 'Base Uom Id',
7153
+ name: 'baseUomId',
7156
7154
  type: 'string',
7157
7155
  default: '',
7158
- description: 'Display name',
7159
- required: true,
7156
+ description: 'base uom ID',
7157
+ required: false,
7160
7158
  displayOptions: {
7161
7159
  show: {
7162
7160
  resource: ['settings-items'],
7163
- operation: ['PublicApiItemController_create'],
7161
+ operation: ['PublicApiItemController_upsert'],
7164
7162
  },
7165
7163
  },
7166
7164
  routing: {
7167
7165
  send: {
7168
7166
  type: 'body',
7169
- property: 'name',
7167
+ property: 'baseUomId',
7170
7168
  },
7171
7169
  },
7172
7170
  },
7173
7171
  {
7174
- displayName: 'Description',
7175
- name: 'description',
7172
+ displayName: 'Base Uom Name',
7173
+ name: 'baseUomName',
7176
7174
  type: 'string',
7177
7175
  default: '',
7178
- description: 'Detailed description',
7179
- required: true,
7180
- displayOptions: {
7181
- show: {
7182
- resource: ['settings-items'],
7183
- operation: ['PublicApiItemController_create'],
7184
- },
7185
- },
7186
- routing: {
7187
- send: {
7188
- type: 'body',
7189
- property: 'description',
7190
- },
7191
- },
7192
- },
7193
- {
7194
- displayName: 'Flag Category',
7195
- name: 'category',
7196
- type: 'options',
7197
- default: '',
7198
- description: 'Select a flag category',
7199
- required: true,
7200
- typeOptions: {
7201
- loadOptionsMethod: 'loadFlagCategoryOptions',
7202
- },
7176
+ description: '',
7177
+ required: false,
7203
7178
  displayOptions: {
7204
7179
  show: {
7205
7180
  resource: ['settings-items'],
7206
- operation: ['PublicApiItemController_create'],
7181
+ operation: ['PublicApiItemController_upsert'],
7207
7182
  },
7208
7183
  },
7209
7184
  routing: {
7210
7185
  send: {
7211
7186
  type: 'body',
7212
- property: 'category',
7213
- value: '={{ JSON.parse($value) }}',
7187
+ property: 'baseUomName',
7214
7188
  },
7215
7189
  },
7216
7190
  },
7217
7191
  {
7218
- displayName: 'Base Uom Id',
7219
- name: 'baseUomId',
7192
+ displayName: 'Description',
7193
+ name: 'description',
7220
7194
  type: 'string',
7221
7195
  default: '',
7222
- description: 'base uom ID',
7196
+ description: 'Detailed description',
7223
7197
  required: false,
7224
7198
  displayOptions: {
7225
7199
  show: {
7226
7200
  resource: ['settings-items'],
7227
- operation: ['PublicApiItemController_create'],
7201
+ operation: ['PublicApiItemController_upsert'],
7228
7202
  },
7229
7203
  },
7230
7204
  routing: {
7231
7205
  send: {
7232
7206
  type: 'body',
7233
- property: 'baseUomId',
7207
+ property: 'description',
7234
7208
  },
7235
7209
  },
7236
7210
  },
7237
7211
  {
7238
- displayName: 'Base Uom Name',
7239
- name: 'baseUomName',
7240
- type: 'string',
7212
+ displayName: 'Flag Category',
7213
+ name: 'category',
7214
+ type: 'options',
7241
7215
  default: '',
7242
- description: '',
7216
+ description: 'Select a flag category',
7243
7217
  required: false,
7218
+ typeOptions: {
7219
+ loadOptionsMethod: 'loadFlagCategoryOptions',
7220
+ },
7244
7221
  displayOptions: {
7245
7222
  show: {
7246
7223
  resource: ['settings-items'],
7247
- operation: ['PublicApiItemController_create'],
7224
+ operation: ['PublicApiItemController_upsert'],
7248
7225
  },
7249
7226
  },
7250
7227
  routing: {
7251
7228
  send: {
7252
7229
  type: 'body',
7253
- property: 'baseUomName',
7230
+ property: 'category',
7231
+ value: '={{ JSON.parse($value) }}',
7254
7232
  },
7255
7233
  },
7256
7234
  },
@@ -7264,7 +7242,7 @@ class WorkBuddy {
7264
7242
  displayOptions: {
7265
7243
  show: {
7266
7244
  resource: ['settings-items'],
7267
- operation: ['PublicApiItemController_create'],
7245
+ operation: ['PublicApiItemController_upsert'],
7268
7246
  },
7269
7247
  },
7270
7248
  routing: {
@@ -7284,7 +7262,7 @@ class WorkBuddy {
7284
7262
  displayOptions: {
7285
7263
  show: {
7286
7264
  resource: ['settings-items'],
7287
- operation: ['PublicApiItemController_create'],
7265
+ operation: ['PublicApiItemController_upsert'],
7288
7266
  },
7289
7267
  },
7290
7268
  routing: {
@@ -7304,7 +7282,7 @@ class WorkBuddy {
7304
7282
  displayOptions: {
7305
7283
  show: {
7306
7284
  resource: ['settings-items'],
7307
- operation: ['PublicApiItemController_create'],
7285
+ operation: ['PublicApiItemController_upsert'],
7308
7286
  },
7309
7287
  },
7310
7288
  routing: {
@@ -7324,7 +7302,7 @@ class WorkBuddy {
7324
7302
  displayOptions: {
7325
7303
  show: {
7326
7304
  resource: ['settings-items'],
7327
- operation: ['PublicApiItemController_create'],
7305
+ operation: ['PublicApiItemController_upsert'],
7328
7306
  },
7329
7307
  },
7330
7308
  routing: {
@@ -7344,7 +7322,7 @@ class WorkBuddy {
7344
7322
  displayOptions: {
7345
7323
  show: {
7346
7324
  resource: ['settings-items'],
7347
- operation: ['PublicApiItemController_create'],
7325
+ operation: ['PublicApiItemController_upsert'],
7348
7326
  },
7349
7327
  },
7350
7328
  routing: {
@@ -7364,7 +7342,7 @@ class WorkBuddy {
7364
7342
  displayOptions: {
7365
7343
  show: {
7366
7344
  resource: ['settings-items'],
7367
- operation: ['PublicApiItemController_create'],
7345
+ operation: ['PublicApiItemController_upsert'],
7368
7346
  },
7369
7347
  },
7370
7348
  routing: {
@@ -7384,7 +7362,7 @@ class WorkBuddy {
7384
7362
  displayOptions: {
7385
7363
  show: {
7386
7364
  resource: ['settings-items'],
7387
- operation: ['PublicApiItemController_create'],
7365
+ operation: ['PublicApiItemController_upsert'],
7388
7366
  },
7389
7367
  },
7390
7368
  routing: {
@@ -7404,7 +7382,7 @@ class WorkBuddy {
7404
7382
  displayOptions: {
7405
7383
  show: {
7406
7384
  resource: ['settings-items'],
7407
- operation: ['PublicApiItemController_create'],
7385
+ operation: ['PublicApiItemController_upsert'],
7408
7386
  },
7409
7387
  },
7410
7388
  routing: {
@@ -7424,7 +7402,7 @@ class WorkBuddy {
7424
7402
  displayOptions: {
7425
7403
  show: {
7426
7404
  resource: ['settings-items'],
7427
- operation: ['PublicApiItemController_create'],
7405
+ operation: ['PublicApiItemController_upsert'],
7428
7406
  },
7429
7407
  },
7430
7408
  routing: {
@@ -7444,7 +7422,7 @@ class WorkBuddy {
7444
7422
  displayOptions: {
7445
7423
  show: {
7446
7424
  resource: ['settings-items'],
7447
- operation: ['PublicApiItemController_create'],
7425
+ operation: ['PublicApiItemController_upsert'],
7448
7426
  },
7449
7427
  },
7450
7428
  routing: {
@@ -7464,7 +7442,7 @@ class WorkBuddy {
7464
7442
  displayOptions: {
7465
7443
  show: {
7466
7444
  resource: ['settings-items'],
7467
- operation: ['PublicApiItemController_create'],
7445
+ operation: ['PublicApiItemController_upsert'],
7468
7446
  },
7469
7447
  },
7470
7448
  routing: {
@@ -7484,7 +7462,7 @@ class WorkBuddy {
7484
7462
  displayOptions: {
7485
7463
  show: {
7486
7464
  resource: ['settings-items'],
7487
- operation: ['PublicApiItemController_create'],
7465
+ operation: ['PublicApiItemController_upsert'],
7488
7466
  },
7489
7467
  },
7490
7468
  routing: {
@@ -7504,7 +7482,7 @@ class WorkBuddy {
7504
7482
  displayOptions: {
7505
7483
  show: {
7506
7484
  resource: ['settings-items'],
7507
- operation: ['PublicApiItemController_create'],
7485
+ operation: ['PublicApiItemController_upsert'],
7508
7486
  },
7509
7487
  },
7510
7488
  routing: {
@@ -7524,7 +7502,7 @@ class WorkBuddy {
7524
7502
  displayOptions: {
7525
7503
  show: {
7526
7504
  resource: ['settings-items'],
7527
- operation: ['PublicApiItemController_create'],
7505
+ operation: ['PublicApiItemController_upsert'],
7528
7506
  },
7529
7507
  },
7530
7508
  routing: {
@@ -7544,7 +7522,7 @@ class WorkBuddy {
7544
7522
  displayOptions: {
7545
7523
  show: {
7546
7524
  resource: ['settings-items'],
7547
- operation: ['PublicApiItemController_create'],
7525
+ operation: ['PublicApiItemController_upsert'],
7548
7526
  },
7549
7527
  },
7550
7528
  routing: {
@@ -7564,7 +7542,7 @@ class WorkBuddy {
7564
7542
  displayOptions: {
7565
7543
  show: {
7566
7544
  resource: ['settings-items'],
7567
- operation: ['PublicApiItemController_create'],
7545
+ operation: ['PublicApiItemController_upsert'],
7568
7546
  },
7569
7547
  },
7570
7548
  routing: {
@@ -7584,7 +7562,7 @@ class WorkBuddy {
7584
7562
  displayOptions: {
7585
7563
  show: {
7586
7564
  resource: ['settings-items'],
7587
- operation: ['PublicApiItemController_create'],
7565
+ operation: ['PublicApiItemController_upsert'],
7588
7566
  },
7589
7567
  },
7590
7568
  routing: {
@@ -7604,7 +7582,7 @@ class WorkBuddy {
7604
7582
  displayOptions: {
7605
7583
  show: {
7606
7584
  resource: ['settings-items'],
7607
- operation: ['PublicApiItemController_create'],
7585
+ operation: ['PublicApiItemController_upsert'],
7608
7586
  },
7609
7587
  },
7610
7588
  routing: {
@@ -7624,7 +7602,7 @@ class WorkBuddy {
7624
7602
  displayOptions: {
7625
7603
  show: {
7626
7604
  resource: ['settings-items'],
7627
- operation: ['PublicApiItemController_create'],
7605
+ operation: ['PublicApiItemController_upsert'],
7628
7606
  },
7629
7607
  },
7630
7608
  routing: {
@@ -7644,7 +7622,7 @@ class WorkBuddy {
7644
7622
  displayOptions: {
7645
7623
  show: {
7646
7624
  resource: ['settings-items'],
7647
- operation: ['PublicApiItemController_create'],
7625
+ operation: ['PublicApiItemController_upsert'],
7648
7626
  },
7649
7627
  },
7650
7628
  routing: {
@@ -7664,7 +7642,7 @@ class WorkBuddy {
7664
7642
  displayOptions: {
7665
7643
  show: {
7666
7644
  resource: ['settings-items'],
7667
- operation: ['PublicApiItemController_create'],
7645
+ operation: ['PublicApiItemController_upsert'],
7668
7646
  },
7669
7647
  },
7670
7648
  options: [
@@ -7698,7 +7676,7 @@ class WorkBuddy {
7698
7676
  displayOptions: {
7699
7677
  show: {
7700
7678
  resource: ['settings-items'],
7701
- operation: ['PublicApiItemController_create'],
7679
+ operation: ['PublicApiItemController_upsert'],
7702
7680
  },
7703
7681
  },
7704
7682
  routing: {
@@ -7718,7 +7696,7 @@ class WorkBuddy {
7718
7696
  displayOptions: {
7719
7697
  show: {
7720
7698
  resource: ['settings-items'],
7721
- operation: ['PublicApiItemController_create'],
7699
+ operation: ['PublicApiItemController_upsert'],
7722
7700
  },
7723
7701
  },
7724
7702
  routing: {
@@ -7738,7 +7716,7 @@ class WorkBuddy {
7738
7716
  displayOptions: {
7739
7717
  show: {
7740
7718
  resource: ['settings-items'],
7741
- operation: ['PublicApiItemController_create'],
7719
+ operation: ['PublicApiItemController_upsert'],
7742
7720
  },
7743
7721
  },
7744
7722
  routing: {
@@ -7758,7 +7736,7 @@ class WorkBuddy {
7758
7736
  displayOptions: {
7759
7737
  show: {
7760
7738
  resource: ['settings-items'],
7761
- operation: ['PublicApiItemController_create'],
7739
+ operation: ['PublicApiItemController_upsert'],
7762
7740
  },
7763
7741
  },
7764
7742
  routing: {
@@ -7778,7 +7756,7 @@ class WorkBuddy {
7778
7756
  displayOptions: {
7779
7757
  show: {
7780
7758
  resource: ['settings-items'],
7781
- operation: ['PublicApiItemController_create'],
7759
+ operation: ['PublicApiItemController_upsert'],
7782
7760
  },
7783
7761
  },
7784
7762
  routing: {
@@ -7798,7 +7776,7 @@ class WorkBuddy {
7798
7776
  displayOptions: {
7799
7777
  show: {
7800
7778
  resource: ['settings-items'],
7801
- operation: ['PublicApiItemController_create'],
7779
+ operation: ['PublicApiItemController_upsert'],
7802
7780
  },
7803
7781
  },
7804
7782
  routing: {
@@ -7809,22 +7787,30 @@ class WorkBuddy {
7809
7787
  },
7810
7788
  },
7811
7789
  {
7812
- displayName: 'Name',
7813
- name: 'name',
7790
+ displayName: 'Id',
7791
+ name: 'id',
7814
7792
  type: 'string',
7815
7793
  default: '',
7816
- description: 'Display name',
7794
+ description: 'Entity ID',
7817
7795
  required: true,
7818
7796
  displayOptions: {
7819
7797
  show: {
7820
7798
  resource: ['settings-items'],
7821
- operation: ['PublicApiItemController_upsert'],
7799
+ operation: ['PublicApiItemController_getById'],
7822
7800
  },
7823
7801
  },
7824
- routing: {
7825
- send: {
7826
- type: 'body',
7827
- property: 'name',
7802
+ },
7803
+ {
7804
+ displayName: 'Id',
7805
+ name: 'id',
7806
+ type: 'string',
7807
+ default: '',
7808
+ description: 'Entity ID',
7809
+ required: true,
7810
+ displayOptions: {
7811
+ show: {
7812
+ resource: ['settings-items'],
7813
+ operation: ['PublicApiItemController_update'],
7828
7814
  },
7829
7815
  },
7830
7816
  },
@@ -7838,7 +7824,7 @@ class WorkBuddy {
7838
7824
  displayOptions: {
7839
7825
  show: {
7840
7826
  resource: ['settings-items'],
7841
- operation: ['PublicApiItemController_upsert'],
7827
+ operation: ['PublicApiItemController_update'],
7842
7828
  },
7843
7829
  },
7844
7830
  options: [
@@ -7854,14 +7840,18 @@ class WorkBuddy {
7854
7840
  name: 'NON-INVENTORY',
7855
7841
  value: 'NON-INVENTORY',
7856
7842
  },
7857
- {
7858
- name: 'LABOUR',
7859
- value: 'LABOUR',
7860
- },
7861
7843
  {
7862
7844
  name: 'INCENTIVE',
7863
7845
  value: 'INCENTIVE',
7864
7846
  },
7847
+ {
7848
+ name: 'KIT',
7849
+ value: 'KIT',
7850
+ },
7851
+ {
7852
+ name: 'BUNDLE',
7853
+ value: 'BUNDLE',
7854
+ },
7865
7855
  ],
7866
7856
  routing: {
7867
7857
  send: {
@@ -7870,6 +7860,26 @@ class WorkBuddy {
7870
7860
  },
7871
7861
  },
7872
7862
  },
7863
+ {
7864
+ displayName: 'Name',
7865
+ name: 'name',
7866
+ type: 'string',
7867
+ default: '',
7868
+ description: 'Display name',
7869
+ required: false,
7870
+ displayOptions: {
7871
+ show: {
7872
+ resource: ['settings-items'],
7873
+ operation: ['PublicApiItemController_update'],
7874
+ },
7875
+ },
7876
+ routing: {
7877
+ send: {
7878
+ type: 'body',
7879
+ property: 'name',
7880
+ },
7881
+ },
7882
+ },
7873
7883
  {
7874
7884
  displayName: 'Base Uom Id',
7875
7885
  name: 'baseUomId',
@@ -7880,7 +7890,7 @@ class WorkBuddy {
7880
7890
  displayOptions: {
7881
7891
  show: {
7882
7892
  resource: ['settings-items'],
7883
- operation: ['PublicApiItemController_upsert'],
7893
+ operation: ['PublicApiItemController_update'],
7884
7894
  },
7885
7895
  },
7886
7896
  routing: {
@@ -7900,7 +7910,7 @@ class WorkBuddy {
7900
7910
  displayOptions: {
7901
7911
  show: {
7902
7912
  resource: ['settings-items'],
7903
- operation: ['PublicApiItemController_upsert'],
7913
+ operation: ['PublicApiItemController_update'],
7904
7914
  },
7905
7915
  },
7906
7916
  routing: {
@@ -7920,7 +7930,7 @@ class WorkBuddy {
7920
7930
  displayOptions: {
7921
7931
  show: {
7922
7932
  resource: ['settings-items'],
7923
- operation: ['PublicApiItemController_upsert'],
7933
+ operation: ['PublicApiItemController_update'],
7924
7934
  },
7925
7935
  },
7926
7936
  routing: {
@@ -7943,7 +7953,7 @@ class WorkBuddy {
7943
7953
  displayOptions: {
7944
7954
  show: {
7945
7955
  resource: ['settings-items'],
7946
- operation: ['PublicApiItemController_upsert'],
7956
+ operation: ['PublicApiItemController_update'],
7947
7957
  },
7948
7958
  },
7949
7959
  routing: {
@@ -7964,7 +7974,7 @@ class WorkBuddy {
7964
7974
  displayOptions: {
7965
7975
  show: {
7966
7976
  resource: ['settings-items'],
7967
- operation: ['PublicApiItemController_upsert'],
7977
+ operation: ['PublicApiItemController_update'],
7968
7978
  },
7969
7979
  },
7970
7980
  routing: {
@@ -7984,7 +7994,7 @@ class WorkBuddy {
7984
7994
  displayOptions: {
7985
7995
  show: {
7986
7996
  resource: ['settings-items'],
7987
- operation: ['PublicApiItemController_upsert'],
7997
+ operation: ['PublicApiItemController_update'],
7988
7998
  },
7989
7999
  },
7990
8000
  routing: {
@@ -8004,7 +8014,7 @@ class WorkBuddy {
8004
8014
  displayOptions: {
8005
8015
  show: {
8006
8016
  resource: ['settings-items'],
8007
- operation: ['PublicApiItemController_upsert'],
8017
+ operation: ['PublicApiItemController_update'],
8008
8018
  },
8009
8019
  },
8010
8020
  routing: {
@@ -8024,7 +8034,7 @@ class WorkBuddy {
8024
8034
  displayOptions: {
8025
8035
  show: {
8026
8036
  resource: ['settings-items'],
8027
- operation: ['PublicApiItemController_upsert'],
8037
+ operation: ['PublicApiItemController_update'],
8028
8038
  },
8029
8039
  },
8030
8040
  routing: {
@@ -8044,7 +8054,7 @@ class WorkBuddy {
8044
8054
  displayOptions: {
8045
8055
  show: {
8046
8056
  resource: ['settings-items'],
8047
- operation: ['PublicApiItemController_upsert'],
8057
+ operation: ['PublicApiItemController_update'],
8048
8058
  },
8049
8059
  },
8050
8060
  routing: {
@@ -8064,7 +8074,7 @@ class WorkBuddy {
8064
8074
  displayOptions: {
8065
8075
  show: {
8066
8076
  resource: ['settings-items'],
8067
- operation: ['PublicApiItemController_upsert'],
8077
+ operation: ['PublicApiItemController_update'],
8068
8078
  },
8069
8079
  },
8070
8080
  routing: {
@@ -8084,7 +8094,7 @@ class WorkBuddy {
8084
8094
  displayOptions: {
8085
8095
  show: {
8086
8096
  resource: ['settings-items'],
8087
- operation: ['PublicApiItemController_upsert'],
8097
+ operation: ['PublicApiItemController_update'],
8088
8098
  },
8089
8099
  },
8090
8100
  routing: {
@@ -8104,7 +8114,7 @@ class WorkBuddy {
8104
8114
  displayOptions: {
8105
8115
  show: {
8106
8116
  resource: ['settings-items'],
8107
- operation: ['PublicApiItemController_upsert'],
8117
+ operation: ['PublicApiItemController_update'],
8108
8118
  },
8109
8119
  },
8110
8120
  routing: {
@@ -8124,7 +8134,7 @@ class WorkBuddy {
8124
8134
  displayOptions: {
8125
8135
  show: {
8126
8136
  resource: ['settings-items'],
8127
- operation: ['PublicApiItemController_upsert'],
8137
+ operation: ['PublicApiItemController_update'],
8128
8138
  },
8129
8139
  },
8130
8140
  routing: {
@@ -8144,735 +8154,7 @@ class WorkBuddy {
8144
8154
  displayOptions: {
8145
8155
  show: {
8146
8156
  resource: ['settings-items'],
8147
- operation: ['PublicApiItemController_upsert'],
8148
- },
8149
- },
8150
- routing: {
8151
- send: {
8152
- type: 'body',
8153
- property: 'safetyStockQty',
8154
- },
8155
- },
8156
- },
8157
- {
8158
- displayName: 'Lead Time Days',
8159
- name: 'leadTimeDays',
8160
- type: 'number',
8161
- default: 0,
8162
- description: '',
8163
- required: false,
8164
- displayOptions: {
8165
- show: {
8166
- resource: ['settings-items'],
8167
- operation: ['PublicApiItemController_upsert'],
8168
- },
8169
- },
8170
- routing: {
8171
- send: {
8172
- type: 'body',
8173
- property: 'leadTimeDays',
8174
- },
8175
- },
8176
- },
8177
- {
8178
- displayName: 'Upc',
8179
- name: 'upc',
8180
- type: 'string',
8181
- default: '',
8182
- description: '',
8183
- required: false,
8184
- displayOptions: {
8185
- show: {
8186
- resource: ['settings-items'],
8187
- operation: ['PublicApiItemController_upsert'],
8188
- },
8189
- },
8190
- routing: {
8191
- send: {
8192
- type: 'body',
8193
- property: 'upc',
8194
- },
8195
- },
8196
- },
8197
- {
8198
- displayName: 'Item Sold',
8199
- name: 'itemSold',
8200
- type: 'boolean',
8201
- default: false,
8202
- description: '',
8203
- required: false,
8204
- displayOptions: {
8205
- show: {
8206
- resource: ['settings-items'],
8207
- operation: ['PublicApiItemController_upsert'],
8208
- },
8209
- },
8210
- routing: {
8211
- send: {
8212
- type: 'body',
8213
- property: 'itemSold',
8214
- },
8215
- },
8216
- },
8217
- {
8218
- displayName: 'Sale Gl Code',
8219
- name: 'saleGlCode',
8220
- type: 'string',
8221
- default: '',
8222
- description: '',
8223
- required: false,
8224
- displayOptions: {
8225
- show: {
8226
- resource: ['settings-items'],
8227
- operation: ['PublicApiItemController_upsert'],
8228
- },
8229
- },
8230
- routing: {
8231
- send: {
8232
- type: 'body',
8233
- property: 'saleGlCode',
8234
- },
8235
- },
8236
- },
8237
- {
8238
- displayName: 'Sale Tax Rate Id',
8239
- name: 'saleTaxRateId',
8240
- type: 'string',
8241
- default: '',
8242
- description: 'sale tax rate ID',
8243
- required: false,
8244
- displayOptions: {
8245
- show: {
8246
- resource: ['settings-items'],
8247
- operation: ['PublicApiItemController_upsert'],
8248
- },
8249
- },
8250
- routing: {
8251
- send: {
8252
- type: 'body',
8253
- property: 'saleTaxRateId',
8254
- },
8255
- },
8256
- },
8257
- {
8258
- displayName: 'Sale Tax Rate Name',
8259
- name: 'saleTaxRateName',
8260
- type: 'string',
8261
- default: '',
8262
- description: '',
8263
- required: false,
8264
- displayOptions: {
8265
- show: {
8266
- resource: ['settings-items'],
8267
- operation: ['PublicApiItemController_upsert'],
8268
- },
8269
- },
8270
- routing: {
8271
- send: {
8272
- type: 'body',
8273
- property: 'saleTaxRateName',
8274
- },
8275
- },
8276
- },
8277
- {
8278
- displayName: 'Item Purchased',
8279
- name: 'itemPurchased',
8280
- type: 'boolean',
8281
- default: false,
8282
- description: '',
8283
- required: false,
8284
- displayOptions: {
8285
- show: {
8286
- resource: ['settings-items'],
8287
- operation: ['PublicApiItemController_upsert'],
8288
- },
8289
- },
8290
- routing: {
8291
- send: {
8292
- type: 'body',
8293
- property: 'itemPurchased',
8294
- },
8295
- },
8296
- },
8297
- {
8298
- displayName: 'Purchase Gl Code',
8299
- name: 'purchaseGlCode',
8300
- type: 'string',
8301
- default: '',
8302
- description: '',
8303
- required: false,
8304
- displayOptions: {
8305
- show: {
8306
- resource: ['settings-items'],
8307
- operation: ['PublicApiItemController_upsert'],
8308
- },
8309
- },
8310
- routing: {
8311
- send: {
8312
- type: 'body',
8313
- property: 'purchaseGlCode',
8314
- },
8315
- },
8316
- },
8317
- {
8318
- displayName: 'Purchase Tax Rate Id',
8319
- name: 'purchaseTaxRateId',
8320
- type: 'string',
8321
- default: '',
8322
- description: 'purchase tax rate ID',
8323
- required: false,
8324
- displayOptions: {
8325
- show: {
8326
- resource: ['settings-items'],
8327
- operation: ['PublicApiItemController_upsert'],
8328
- },
8329
- },
8330
- routing: {
8331
- send: {
8332
- type: 'body',
8333
- property: 'purchaseTaxRateId',
8334
- },
8335
- },
8336
- },
8337
- {
8338
- displayName: 'Purchase Tax Rate Name',
8339
- name: 'purchaseTaxRateName',
8340
- type: 'string',
8341
- default: '',
8342
- description: '',
8343
- required: false,
8344
- displayOptions: {
8345
- show: {
8346
- resource: ['settings-items'],
8347
- operation: ['PublicApiItemController_upsert'],
8348
- },
8349
- },
8350
- routing: {
8351
- send: {
8352
- type: 'body',
8353
- property: 'purchaseTaxRateName',
8354
- },
8355
- },
8356
- },
8357
- {
8358
- displayName: 'Code Invoicing Status',
8359
- name: 'codeInvoicingStatus',
8360
- type: 'options',
8361
- default: '',
8362
- description: '',
8363
- required: false,
8364
- displayOptions: {
8365
- show: {
8366
- resource: ['settings-items'],
8367
- operation: ['PublicApiItemController_upsert'],
8368
- },
8369
- },
8370
- options: [
8371
- {
8372
- name: 'Billable',
8373
- value: 'Billable',
8374
- },
8375
- {
8376
- name: 'No Charge',
8377
- value: 'No Charge',
8378
- },
8379
- {
8380
- name: 'Not Billable',
8381
- value: 'Not Billable',
8382
- },
8383
- ],
8384
- routing: {
8385
- send: {
8386
- type: 'body',
8387
- property: 'codeInvoicingStatus',
8388
- },
8389
- },
8390
- },
8391
- {
8392
- displayName: 'Supplied By Subcontractor',
8393
- name: 'suppliedBySubcontractor',
8394
- type: 'boolean',
8395
- default: false,
8396
- description: '',
8397
- required: false,
8398
- displayOptions: {
8399
- show: {
8400
- resource: ['settings-items'],
8401
- operation: ['PublicApiItemController_upsert'],
8402
- },
8403
- },
8404
- routing: {
8405
- send: {
8406
- type: 'body',
8407
- property: 'suppliedBySubcontractor',
8408
- },
8409
- },
8410
- },
8411
- {
8412
- displayName: 'Auto Create Task',
8413
- name: 'autoCreateTask',
8414
- type: 'boolean',
8415
- default: false,
8416
- description: '',
8417
- required: false,
8418
- displayOptions: {
8419
- show: {
8420
- resource: ['settings-items'],
8421
- operation: ['PublicApiItemController_upsert'],
8422
- },
8423
- },
8424
- routing: {
8425
- send: {
8426
- type: 'body',
8427
- property: 'autoCreateTask',
8428
- },
8429
- },
8430
- },
8431
- {
8432
- displayName: 'Custom Fields',
8433
- name: 'customFields',
8434
- type: 'string',
8435
- default: '',
8436
- description: 'Custom fields as key-value pairs — validated against tenant field definitions',
8437
- required: false,
8438
- displayOptions: {
8439
- show: {
8440
- resource: ['settings-items'],
8441
- operation: ['PublicApiItemController_upsert'],
8442
- },
8443
- },
8444
- routing: {
8445
- send: {
8446
- type: 'body',
8447
- property: 'customFields',
8448
- },
8449
- },
8450
- },
8451
- {
8452
- displayName: 'Tracking Category1',
8453
- name: 'trackingCategory1',
8454
- type: 'string',
8455
- default: '',
8456
- description: '',
8457
- required: false,
8458
- displayOptions: {
8459
- show: {
8460
- resource: ['settings-items'],
8461
- operation: ['PublicApiItemController_upsert'],
8462
- },
8463
- },
8464
- routing: {
8465
- send: {
8466
- type: 'body',
8467
- property: 'trackingCategory1',
8468
- },
8469
- },
8470
- },
8471
- {
8472
- displayName: 'Tracking Category2',
8473
- name: 'trackingCategory2',
8474
- type: 'string',
8475
- default: '',
8476
- description: '',
8477
- required: false,
8478
- displayOptions: {
8479
- show: {
8480
- resource: ['settings-items'],
8481
- operation: ['PublicApiItemController_upsert'],
8482
- },
8483
- },
8484
- routing: {
8485
- send: {
8486
- type: 'body',
8487
- property: 'trackingCategory2',
8488
- },
8489
- },
8490
- },
8491
- {
8492
- displayName: 'Uoms',
8493
- name: 'uoms',
8494
- type: 'json',
8495
- default: {},
8496
- description: '',
8497
- required: false,
8498
- displayOptions: {
8499
- show: {
8500
- resource: ['settings-items'],
8501
- operation: ['PublicApiItemController_upsert'],
8502
- },
8503
- },
8504
- routing: {
8505
- send: {
8506
- type: 'body',
8507
- property: 'uoms',
8508
- },
8509
- },
8510
- },
8511
- {
8512
- displayName: 'Id',
8513
- name: 'id',
8514
- type: 'string',
8515
- default: '',
8516
- description: 'Entity ID',
8517
- required: true,
8518
- displayOptions: {
8519
- show: {
8520
- resource: ['settings-items'],
8521
- operation: ['PublicApiItemController_getById'],
8522
- },
8523
- },
8524
- },
8525
- {
8526
- displayName: 'Id',
8527
- name: 'id',
8528
- type: 'string',
8529
- default: '',
8530
- description: 'Entity ID',
8531
- required: true,
8532
- displayOptions: {
8533
- show: {
8534
- resource: ['settings-items'],
8535
- operation: ['PublicApiItemController_update'],
8536
- },
8537
- },
8538
- },
8539
- {
8540
- displayName: 'Type',
8541
- name: 'type',
8542
- type: 'options',
8543
- default: '',
8544
- description: '',
8545
- required: false,
8546
- displayOptions: {
8547
- show: {
8548
- resource: ['settings-items'],
8549
- operation: ['PublicApiItemController_update'],
8550
- },
8551
- },
8552
- options: [
8553
- {
8554
- name: 'SERVICE',
8555
- value: 'SERVICE',
8556
- },
8557
- {
8558
- name: 'INVENTORY',
8559
- value: 'INVENTORY',
8560
- },
8561
- {
8562
- name: 'NON-INVENTORY',
8563
- value: 'NON-INVENTORY',
8564
- },
8565
- {
8566
- name: 'LABOUR',
8567
- value: 'LABOUR',
8568
- },
8569
- {
8570
- name: 'INCENTIVE',
8571
- value: 'INCENTIVE',
8572
- },
8573
- ],
8574
- routing: {
8575
- send: {
8576
- type: 'body',
8577
- property: 'type',
8578
- },
8579
- },
8580
- },
8581
- {
8582
- displayName: 'Name',
8583
- name: 'name',
8584
- type: 'string',
8585
- default: '',
8586
- description: 'Display name',
8587
- required: false,
8588
- displayOptions: {
8589
- show: {
8590
- resource: ['settings-items'],
8591
- operation: ['PublicApiItemController_update'],
8592
- },
8593
- },
8594
- routing: {
8595
- send: {
8596
- type: 'body',
8597
- property: 'name',
8598
- },
8599
- },
8600
- },
8601
- {
8602
- displayName: 'Base Uom Id',
8603
- name: 'baseUomId',
8604
- type: 'string',
8605
- default: '',
8606
- description: 'base uom ID',
8607
- required: false,
8608
- displayOptions: {
8609
- show: {
8610
- resource: ['settings-items'],
8611
- operation: ['PublicApiItemController_update'],
8612
- },
8613
- },
8614
- routing: {
8615
- send: {
8616
- type: 'body',
8617
- property: 'baseUomId',
8618
- },
8619
- },
8620
- },
8621
- {
8622
- displayName: 'Base Uom Name',
8623
- name: 'baseUomName',
8624
- type: 'string',
8625
- default: '',
8626
- description: '',
8627
- required: false,
8628
- displayOptions: {
8629
- show: {
8630
- resource: ['settings-items'],
8631
- operation: ['PublicApiItemController_update'],
8632
- },
8633
- },
8634
- routing: {
8635
- send: {
8636
- type: 'body',
8637
- property: 'baseUomName',
8638
- },
8639
- },
8640
- },
8641
- {
8642
- displayName: 'Description',
8643
- name: 'description',
8644
- type: 'string',
8645
- default: '',
8646
- description: 'Detailed description',
8647
- required: false,
8648
- displayOptions: {
8649
- show: {
8650
- resource: ['settings-items'],
8651
- operation: ['PublicApiItemController_update'],
8652
- },
8653
- },
8654
- routing: {
8655
- send: {
8656
- type: 'body',
8657
- property: 'description',
8658
- },
8659
- },
8660
- },
8661
- {
8662
- displayName: 'Flag Category',
8663
- name: 'category',
8664
- type: 'options',
8665
- default: '',
8666
- description: 'Select a flag category',
8667
- required: false,
8668
- typeOptions: {
8669
- loadOptionsMethod: 'loadFlagCategoryOptions',
8670
- },
8671
- displayOptions: {
8672
- show: {
8673
- resource: ['settings-items'],
8674
- operation: ['PublicApiItemController_update'],
8675
- },
8676
- },
8677
- routing: {
8678
- send: {
8679
- type: 'body',
8680
- property: 'category',
8681
- value: '={{ JSON.parse($value) }}',
8682
- },
8683
- },
8684
- },
8685
- {
8686
- displayName: 'Active',
8687
- name: 'active',
8688
- type: 'boolean',
8689
- default: false,
8690
- description: 'Whether the entity is active',
8691
- required: false,
8692
- displayOptions: {
8693
- show: {
8694
- resource: ['settings-items'],
8695
- operation: ['PublicApiItemController_update'],
8696
- },
8697
- },
8698
- routing: {
8699
- send: {
8700
- type: 'body',
8701
- property: 'active',
8702
- },
8703
- },
8704
- },
8705
- {
8706
- displayName: 'Integration Id',
8707
- name: 'integrationId',
8708
- type: 'string',
8709
- default: '',
8710
- description: 'integration ID',
8711
- required: false,
8712
- displayOptions: {
8713
- show: {
8714
- resource: ['settings-items'],
8715
- operation: ['PublicApiItemController_update'],
8716
- },
8717
- },
8718
- routing: {
8719
- send: {
8720
- type: 'body',
8721
- property: 'integrationId',
8722
- },
8723
- },
8724
- },
8725
- {
8726
- displayName: 'Can Override Desc',
8727
- name: 'canOverrideDesc',
8728
- type: 'boolean',
8729
- default: false,
8730
- description: '',
8731
- required: false,
8732
- displayOptions: {
8733
- show: {
8734
- resource: ['settings-items'],
8735
- operation: ['PublicApiItemController_update'],
8736
- },
8737
- },
8738
- routing: {
8739
- send: {
8740
- type: 'body',
8741
- property: 'canOverrideDesc',
8742
- },
8743
- },
8744
- },
8745
- {
8746
- displayName: 'Long Description',
8747
- name: 'longDescription',
8748
- type: 'string',
8749
- default: '',
8750
- description: '',
8751
- required: false,
8752
- displayOptions: {
8753
- show: {
8754
- resource: ['settings-items'],
8755
- operation: ['PublicApiItemController_update'],
8756
- },
8757
- },
8758
- routing: {
8759
- send: {
8760
- type: 'body',
8761
- property: 'longDescription',
8762
- },
8763
- },
8764
- },
8765
- {
8766
- displayName: 'Manufacturer',
8767
- name: 'manufacturer',
8768
- type: 'string',
8769
- default: '',
8770
- description: '',
8771
- required: false,
8772
- displayOptions: {
8773
- show: {
8774
- resource: ['settings-items'],
8775
- operation: ['PublicApiItemController_update'],
8776
- },
8777
- },
8778
- routing: {
8779
- send: {
8780
- type: 'body',
8781
- property: 'manufacturer',
8782
- },
8783
- },
8784
- },
8785
- {
8786
- displayName: 'Retail Price',
8787
- name: 'retailPrice',
8788
- type: 'number',
8789
- default: 0,
8790
- description: '',
8791
- required: false,
8792
- displayOptions: {
8793
- show: {
8794
- resource: ['settings-items'],
8795
- operation: ['PublicApiItemController_update'],
8796
- },
8797
- },
8798
- routing: {
8799
- send: {
8800
- type: 'body',
8801
- property: 'retailPrice',
8802
- },
8803
- },
8804
- },
8805
- {
8806
- displayName: 'Trade Price',
8807
- name: 'tradePrice',
8808
- type: 'number',
8809
- default: 0,
8810
- description: '',
8811
- required: false,
8812
- displayOptions: {
8813
- show: {
8814
- resource: ['settings-items'],
8815
- operation: ['PublicApiItemController_update'],
8816
- },
8817
- },
8818
- routing: {
8819
- send: {
8820
- type: 'body',
8821
- property: 'tradePrice',
8822
- },
8823
- },
8824
- },
8825
- {
8826
- displayName: 'Standard Cost',
8827
- name: 'standardCost',
8828
- type: 'number',
8829
- default: 0,
8830
- description: '',
8831
- required: false,
8832
- displayOptions: {
8833
- show: {
8834
- resource: ['settings-items'],
8835
- operation: ['PublicApiItemController_update'],
8836
- },
8837
- },
8838
- routing: {
8839
- send: {
8840
- type: 'body',
8841
- property: 'standardCost',
8842
- },
8843
- },
8844
- },
8845
- {
8846
- displayName: 'Economic Order Qty',
8847
- name: 'economicOrderQty',
8848
- type: 'number',
8849
- default: 0,
8850
- description: '',
8851
- required: false,
8852
- displayOptions: {
8853
- show: {
8854
- resource: ['settings-items'],
8855
- operation: ['PublicApiItemController_update'],
8856
- },
8857
- },
8858
- routing: {
8859
- send: {
8860
- type: 'body',
8861
- property: 'economicOrderQty',
8862
- },
8863
- },
8864
- },
8865
- {
8866
- displayName: 'Safety Stock Qty',
8867
- name: 'safetyStockQty',
8868
- type: 'number',
8869
- default: 0,
8870
- description: '',
8871
- required: false,
8872
- displayOptions: {
8873
- show: {
8874
- resource: ['settings-items'],
8875
- operation: ['PublicApiItemController_update'],
8157
+ operation: ['PublicApiItemController_update'],
8876
8158
  },
8877
8159
  },
8878
8160
  routing: {
@@ -9250,6 +8532,69 @@ class WorkBuddy {
9250
8532
  },
9251
8533
  },
9252
8534
  },
8535
+ {
8536
+ displayName: 'Id',
8537
+ name: 'id',
8538
+ type: 'string',
8539
+ default: '',
8540
+ description: 'Alias for search',
8541
+ required: false,
8542
+ displayOptions: {
8543
+ show: {
8544
+ resource: ['settings-items'],
8545
+ operation: ['PublicApiItemCategoryController_list'],
8546
+ },
8547
+ },
8548
+ routing: {
8549
+ request: {
8550
+ qs: {
8551
+ id: '={{$value}}',
8552
+ },
8553
+ },
8554
+ },
8555
+ },
8556
+ {
8557
+ displayName: 'Name',
8558
+ name: 'name',
8559
+ type: 'string',
8560
+ default: '',
8561
+ description: 'Alias for search',
8562
+ required: false,
8563
+ displayOptions: {
8564
+ show: {
8565
+ resource: ['settings-items'],
8566
+ operation: ['PublicApiItemCategoryController_list'],
8567
+ },
8568
+ },
8569
+ routing: {
8570
+ request: {
8571
+ qs: {
8572
+ name: '={{$value}}',
8573
+ },
8574
+ },
8575
+ },
8576
+ },
8577
+ {
8578
+ displayName: 'Search',
8579
+ name: 'search',
8580
+ type: 'string',
8581
+ default: '',
8582
+ description: 'Filter by category/sub-category name or id',
8583
+ required: false,
8584
+ displayOptions: {
8585
+ show: {
8586
+ resource: ['settings-items'],
8587
+ operation: ['PublicApiItemCategoryController_list'],
8588
+ },
8589
+ },
8590
+ routing: {
8591
+ request: {
8592
+ qs: {
8593
+ search: '={{$value}}',
8594
+ },
8595
+ },
8596
+ },
8597
+ },
9253
8598
  {
9254
8599
  displayName: 'Category Id',
9255
8600
  name: 'categoryId',
@@ -9676,7 +9021,7 @@ class WorkBuddy {
9676
9021
  name: 'jobId',
9677
9022
  type: 'string',
9678
9023
  default: '',
9679
- description: 'Job ID or job number (e.g. J12345)',
9024
+ description: 'Job ID',
9680
9025
  required: true,
9681
9026
  displayOptions: {
9682
9027
  show: {
@@ -10249,6 +9594,26 @@ class WorkBuddy {
10249
9594
  },
10250
9595
  },
10251
9596
  },
9597
+ {
9598
+ displayName: 'Call Date',
9599
+ name: 'callDate',
9600
+ type: 'dateTime',
9601
+ default: '',
9602
+ description: 'call date (ISO 8601 datetime)',
9603
+ required: true,
9604
+ displayOptions: {
9605
+ show: {
9606
+ resource: ['jobs-activities'],
9607
+ operation: ['PublicJobActivitiesController_createPhone'],
9608
+ },
9609
+ },
9610
+ routing: {
9611
+ send: {
9612
+ type: 'body',
9613
+ property: 'callDate',
9614
+ },
9615
+ },
9616
+ },
10252
9617
  {
10253
9618
  displayName: 'Outcome',
10254
9619
  name: 'outcome',
@@ -10319,26 +9684,6 @@ class WorkBuddy {
10319
9684
  },
10320
9685
  },
10321
9686
  },
10322
- {
10323
- displayName: 'Call Date',
10324
- name: 'callDate',
10325
- type: 'dateTime',
10326
- default: '',
10327
- description: 'call date (ISO 8601 datetime)',
10328
- required: false,
10329
- displayOptions: {
10330
- show: {
10331
- resource: ['jobs-activities'],
10332
- operation: ['PublicJobActivitiesController_createPhone'],
10333
- },
10334
- },
10335
- routing: {
10336
- send: {
10337
- type: 'body',
10338
- property: 'callDate',
10339
- },
10340
- },
10341
- },
10342
9687
  {
10343
9688
  displayName: 'Body',
10344
9689
  name: 'body',
@@ -10845,7 +10190,7 @@ class WorkBuddy {
10845
10190
  name: 'jobId',
10846
10191
  type: 'string',
10847
10192
  default: '',
10848
- description: '',
10193
+ description: 'Job ID',
10849
10194
  required: true,
10850
10195
  displayOptions: {
10851
10196
  show: {
@@ -11460,6 +10805,26 @@ class WorkBuddy {
11460
10805
  },
11461
10806
  },
11462
10807
  },
10808
+ {
10809
+ displayName: 'Call Date',
10810
+ name: 'callDate',
10811
+ type: 'dateTime',
10812
+ default: '',
10813
+ description: 'call date (ISO 8601 datetime)',
10814
+ required: true,
10815
+ displayOptions: {
10816
+ show: {
10817
+ resource: ['stages-activities'],
10818
+ operation: ['PublicStageActivitiesController_createPhone'],
10819
+ },
10820
+ },
10821
+ routing: {
10822
+ send: {
10823
+ type: 'body',
10824
+ property: 'callDate',
10825
+ },
10826
+ },
10827
+ },
11463
10828
  {
11464
10829
  displayName: 'Outcome',
11465
10830
  name: 'outcome',
@@ -11530,26 +10895,6 @@ class WorkBuddy {
11530
10895
  },
11531
10896
  },
11532
10897
  },
11533
- {
11534
- displayName: 'Call Date',
11535
- name: 'callDate',
11536
- type: 'dateTime',
11537
- default: '',
11538
- description: 'call date (ISO 8601 datetime)',
11539
- required: false,
11540
- displayOptions: {
11541
- show: {
11542
- resource: ['stages-activities'],
11543
- operation: ['PublicStageActivitiesController_createPhone'],
11544
- },
11545
- },
11546
- routing: {
11547
- send: {
11548
- type: 'body',
11549
- property: 'callDate',
11550
- },
11551
- },
11552
- },
11553
10898
  {
11554
10899
  displayName: 'Body',
11555
10900
  name: 'body',
@@ -14586,13 +13931,6 @@ class WorkBuddy {
14586
13931
  default: '',
14587
13932
  description: '',
14588
13933
  },
14589
- {
14590
- displayName: 'Postcode',
14591
- name: 'postcode',
14592
- type: 'string',
14593
- default: '',
14594
- description: '',
14595
- },
14596
13934
  {
14597
13935
  displayName: 'Country',
14598
13936
  name: 'country',
@@ -14828,6 +14166,26 @@ class WorkBuddy {
14828
14166
  },
14829
14167
  },
14830
14168
  },
14169
+ {
14170
+ displayName: 'Notes',
14171
+ name: 'notes',
14172
+ type: 'string',
14173
+ default: '',
14174
+ description: 'Additional notes or comments',
14175
+ required: false,
14176
+ displayOptions: {
14177
+ show: {
14178
+ resource: ['crm-customers'],
14179
+ operation: ['PublicCrmCustomerController_create'],
14180
+ },
14181
+ },
14182
+ routing: {
14183
+ send: {
14184
+ type: 'body',
14185
+ property: 'notes',
14186
+ },
14187
+ },
14188
+ },
14831
14189
  {
14832
14190
  displayName: 'Custom Fields',
14833
14191
  name: 'customFields',
@@ -14851,8 +14209,9 @@ class WorkBuddy {
14851
14209
  {
14852
14210
  displayName: 'Social Network',
14853
14211
  name: 'socialNetwork',
14854
- type: 'json',
14212
+ type: 'collection',
14855
14213
  default: {},
14214
+ placeholder: 'Add Social Network',
14856
14215
  description: '',
14857
14216
  required: false,
14858
14217
  displayOptions: {
@@ -14861,6 +14220,36 @@ class WorkBuddy {
14861
14220
  operation: ['PublicCrmCustomerController_create'],
14862
14221
  },
14863
14222
  },
14223
+ options: [
14224
+ {
14225
+ displayName: 'Facebook',
14226
+ name: 'facebook',
14227
+ type: 'string',
14228
+ default: '',
14229
+ description: '',
14230
+ },
14231
+ {
14232
+ displayName: 'Twitter',
14233
+ name: 'twitter',
14234
+ type: 'string',
14235
+ default: '',
14236
+ description: '',
14237
+ },
14238
+ {
14239
+ displayName: 'Linkedin',
14240
+ name: 'linkedin',
14241
+ type: 'string',
14242
+ default: '',
14243
+ description: '',
14244
+ },
14245
+ {
14246
+ displayName: 'Instagram',
14247
+ name: 'instagram',
14248
+ type: 'string',
14249
+ default: '',
14250
+ description: '',
14251
+ },
14252
+ ],
14864
14253
  routing: {
14865
14254
  send: {
14866
14255
  type: 'body',
@@ -15073,13 +14462,6 @@ class WorkBuddy {
15073
14462
  default: '',
15074
14463
  description: '',
15075
14464
  },
15076
- {
15077
- displayName: 'Postcode',
15078
- name: 'postcode',
15079
- type: 'string',
15080
- default: '',
15081
- description: '',
15082
- },
15083
14465
  {
15084
14466
  displayName: 'Country',
15085
14467
  name: 'country',
@@ -15177,11 +14559,11 @@ class WorkBuddy {
15177
14559
  },
15178
14560
  },
15179
14561
  {
15180
- displayName: 'Description',
15181
- name: 'description',
14562
+ displayName: 'Notes',
14563
+ name: 'notes',
15182
14564
  type: 'string',
15183
14565
  default: '',
15184
- description: 'Detailed description',
14566
+ description: 'Additional notes or comments',
15185
14567
  required: false,
15186
14568
  displayOptions: {
15187
14569
  show: {
@@ -15192,7 +14574,7 @@ class WorkBuddy {
15192
14574
  routing: {
15193
14575
  send: {
15194
14576
  type: 'body',
15195
- property: 'description',
14577
+ property: 'notes',
15196
14578
  },
15197
14579
  },
15198
14580
  },
@@ -15219,8 +14601,9 @@ class WorkBuddy {
15219
14601
  {
15220
14602
  displayName: 'Social Network',
15221
14603
  name: 'socialNetwork',
15222
- type: 'json',
14604
+ type: 'collection',
15223
14605
  default: {},
14606
+ placeholder: 'Add Social Network',
15224
14607
  description: '',
15225
14608
  required: false,
15226
14609
  displayOptions: {
@@ -15228,7 +14611,37 @@ class WorkBuddy {
15228
14611
  resource: ['crm-customers'],
15229
14612
  operation: ['PublicCrmCustomerController_update'],
15230
14613
  },
15231
- },
14614
+ },
14615
+ options: [
14616
+ {
14617
+ displayName: 'Facebook',
14618
+ name: 'facebook',
14619
+ type: 'string',
14620
+ default: '',
14621
+ description: '',
14622
+ },
14623
+ {
14624
+ displayName: 'Twitter',
14625
+ name: 'twitter',
14626
+ type: 'string',
14627
+ default: '',
14628
+ description: '',
14629
+ },
14630
+ {
14631
+ displayName: 'Linkedin',
14632
+ name: 'linkedin',
14633
+ type: 'string',
14634
+ default: '',
14635
+ description: '',
14636
+ },
14637
+ {
14638
+ displayName: 'Instagram',
14639
+ name: 'instagram',
14640
+ type: 'string',
14641
+ default: '',
14642
+ description: '',
14643
+ },
14644
+ ],
15232
14645
  routing: {
15233
14646
  send: {
15234
14647
  type: 'body',
@@ -15712,13 +15125,6 @@ class WorkBuddy {
15712
15125
  default: '',
15713
15126
  description: '',
15714
15127
  },
15715
- {
15716
- displayName: 'Postcode',
15717
- name: 'postcode',
15718
- type: 'string',
15719
- default: '',
15720
- description: '',
15721
- },
15722
15128
  {
15723
15129
  displayName: 'Country',
15724
15130
  name: 'country',
@@ -15920,6 +15326,26 @@ class WorkBuddy {
15920
15326
  },
15921
15327
  },
15922
15328
  },
15329
+ {
15330
+ displayName: 'Notes',
15331
+ name: 'notes',
15332
+ type: 'string',
15333
+ default: '',
15334
+ description: 'Additional notes or comments',
15335
+ required: false,
15336
+ displayOptions: {
15337
+ show: {
15338
+ resource: ['crm-contractors'],
15339
+ operation: ['PublicCrmContractorController_create'],
15340
+ },
15341
+ },
15342
+ routing: {
15343
+ send: {
15344
+ type: 'body',
15345
+ property: 'notes',
15346
+ },
15347
+ },
15348
+ },
15923
15349
  {
15924
15350
  displayName: 'Custom Fields',
15925
15351
  name: 'customFields',
@@ -15940,6 +15366,57 @@ class WorkBuddy {
15940
15366
  },
15941
15367
  },
15942
15368
  },
15369
+ {
15370
+ displayName: 'Social Network',
15371
+ name: 'socialNetwork',
15372
+ type: 'collection',
15373
+ default: {},
15374
+ placeholder: 'Add Social Network',
15375
+ description: '',
15376
+ required: false,
15377
+ displayOptions: {
15378
+ show: {
15379
+ resource: ['crm-contractors'],
15380
+ operation: ['PublicCrmContractorController_create'],
15381
+ },
15382
+ },
15383
+ options: [
15384
+ {
15385
+ displayName: 'Facebook',
15386
+ name: 'facebook',
15387
+ type: 'string',
15388
+ default: '',
15389
+ description: '',
15390
+ },
15391
+ {
15392
+ displayName: 'Twitter',
15393
+ name: 'twitter',
15394
+ type: 'string',
15395
+ default: '',
15396
+ description: '',
15397
+ },
15398
+ {
15399
+ displayName: 'Linkedin',
15400
+ name: 'linkedin',
15401
+ type: 'string',
15402
+ default: '',
15403
+ description: '',
15404
+ },
15405
+ {
15406
+ displayName: 'Instagram',
15407
+ name: 'instagram',
15408
+ type: 'string',
15409
+ default: '',
15410
+ description: '',
15411
+ },
15412
+ ],
15413
+ routing: {
15414
+ send: {
15415
+ type: 'body',
15416
+ property: 'socialNetwork',
15417
+ },
15418
+ },
15419
+ },
15943
15420
  {
15944
15421
  displayName: 'Hide Prices',
15945
15422
  name: 'hidePrices',
@@ -16165,13 +15642,6 @@ class WorkBuddy {
16165
15642
  default: '',
16166
15643
  description: '',
16167
15644
  },
16168
- {
16169
- displayName: 'Postcode',
16170
- name: 'postcode',
16171
- type: 'string',
16172
- default: '',
16173
- description: '',
16174
- },
16175
15645
  {
16176
15646
  displayName: 'Country',
16177
15647
  name: 'country',
@@ -16269,11 +15739,11 @@ class WorkBuddy {
16269
15739
  },
16270
15740
  },
16271
15741
  {
16272
- displayName: 'Description',
16273
- name: 'description',
15742
+ displayName: 'Notes',
15743
+ name: 'notes',
16274
15744
  type: 'string',
16275
15745
  default: '',
16276
- description: 'Detailed description',
15746
+ description: 'Additional notes or comments',
16277
15747
  required: false,
16278
15748
  displayOptions: {
16279
15749
  show: {
@@ -16284,7 +15754,7 @@ class WorkBuddy {
16284
15754
  routing: {
16285
15755
  send: {
16286
15756
  type: 'body',
16287
- property: 'description',
15757
+ property: 'notes',
16288
15758
  },
16289
15759
  },
16290
15760
  },
@@ -16308,6 +15778,57 @@ class WorkBuddy {
16308
15778
  },
16309
15779
  },
16310
15780
  },
15781
+ {
15782
+ displayName: 'Social Network',
15783
+ name: 'socialNetwork',
15784
+ type: 'collection',
15785
+ default: {},
15786
+ placeholder: 'Add Social Network',
15787
+ description: '',
15788
+ required: false,
15789
+ displayOptions: {
15790
+ show: {
15791
+ resource: ['crm-contractors'],
15792
+ operation: ['PublicCrmContractorController_update'],
15793
+ },
15794
+ },
15795
+ options: [
15796
+ {
15797
+ displayName: 'Facebook',
15798
+ name: 'facebook',
15799
+ type: 'string',
15800
+ default: '',
15801
+ description: '',
15802
+ },
15803
+ {
15804
+ displayName: 'Twitter',
15805
+ name: 'twitter',
15806
+ type: 'string',
15807
+ default: '',
15808
+ description: '',
15809
+ },
15810
+ {
15811
+ displayName: 'Linkedin',
15812
+ name: 'linkedin',
15813
+ type: 'string',
15814
+ default: '',
15815
+ description: '',
15816
+ },
15817
+ {
15818
+ displayName: 'Instagram',
15819
+ name: 'instagram',
15820
+ type: 'string',
15821
+ default: '',
15822
+ description: '',
15823
+ },
15824
+ ],
15825
+ routing: {
15826
+ send: {
15827
+ type: 'body',
15828
+ property: 'socialNetwork',
15829
+ },
15830
+ },
15831
+ },
16311
15832
  {
16312
15833
  displayName: 'Zones',
16313
15834
  name: 'zones',
@@ -16737,13 +16258,6 @@ class WorkBuddy {
16737
16258
  default: '',
16738
16259
  description: '',
16739
16260
  },
16740
- {
16741
- displayName: 'Postcode',
16742
- name: 'postcode',
16743
- type: 'string',
16744
- default: '',
16745
- description: '',
16746
- },
16747
16261
  {
16748
16262
  displayName: 'Country',
16749
16263
  name: 'country',
@@ -16945,6 +16459,26 @@ class WorkBuddy {
16945
16459
  },
16946
16460
  },
16947
16461
  },
16462
+ {
16463
+ displayName: 'Notes',
16464
+ name: 'notes',
16465
+ type: 'string',
16466
+ default: '',
16467
+ description: 'Additional notes or comments',
16468
+ required: false,
16469
+ displayOptions: {
16470
+ show: {
16471
+ resource: ['crm-suppliers'],
16472
+ operation: ['PublicCrmSupplierController_create'],
16473
+ },
16474
+ },
16475
+ routing: {
16476
+ send: {
16477
+ type: 'body',
16478
+ property: 'notes',
16479
+ },
16480
+ },
16481
+ },
16948
16482
  {
16949
16483
  displayName: 'Custom Fields',
16950
16484
  name: 'customFields',
@@ -16965,6 +16499,57 @@ class WorkBuddy {
16965
16499
  },
16966
16500
  },
16967
16501
  },
16502
+ {
16503
+ displayName: 'Social Network',
16504
+ name: 'socialNetwork',
16505
+ type: 'collection',
16506
+ default: {},
16507
+ placeholder: 'Add Social Network',
16508
+ description: '',
16509
+ required: false,
16510
+ displayOptions: {
16511
+ show: {
16512
+ resource: ['crm-suppliers'],
16513
+ operation: ['PublicCrmSupplierController_create'],
16514
+ },
16515
+ },
16516
+ options: [
16517
+ {
16518
+ displayName: 'Facebook',
16519
+ name: 'facebook',
16520
+ type: 'string',
16521
+ default: '',
16522
+ description: '',
16523
+ },
16524
+ {
16525
+ displayName: 'Twitter',
16526
+ name: 'twitter',
16527
+ type: 'string',
16528
+ default: '',
16529
+ description: '',
16530
+ },
16531
+ {
16532
+ displayName: 'Linkedin',
16533
+ name: 'linkedin',
16534
+ type: 'string',
16535
+ default: '',
16536
+ description: '',
16537
+ },
16538
+ {
16539
+ displayName: 'Instagram',
16540
+ name: 'instagram',
16541
+ type: 'string',
16542
+ default: '',
16543
+ description: '',
16544
+ },
16545
+ ],
16546
+ routing: {
16547
+ send: {
16548
+ type: 'body',
16549
+ property: 'socialNetwork',
16550
+ },
16551
+ },
16552
+ },
16968
16553
  {
16969
16554
  displayName: 'Tax Id',
16970
16555
  name: 'taxId',
@@ -17190,13 +16775,6 @@ class WorkBuddy {
17190
16775
  default: '',
17191
16776
  description: '',
17192
16777
  },
17193
- {
17194
- displayName: 'Postcode',
17195
- name: 'postcode',
17196
- type: 'string',
17197
- default: '',
17198
- description: '',
17199
- },
17200
16778
  {
17201
16779
  displayName: 'Country',
17202
16780
  name: 'country',
@@ -17294,11 +16872,11 @@ class WorkBuddy {
17294
16872
  },
17295
16873
  },
17296
16874
  {
17297
- displayName: 'Description',
17298
- name: 'description',
16875
+ displayName: 'Notes',
16876
+ name: 'notes',
17299
16877
  type: 'string',
17300
16878
  default: '',
17301
- description: 'Detailed description',
16879
+ description: 'Additional notes or comments',
17302
16880
  required: false,
17303
16881
  displayOptions: {
17304
16882
  show: {
@@ -17309,7 +16887,7 @@ class WorkBuddy {
17309
16887
  routing: {
17310
16888
  send: {
17311
16889
  type: 'body',
17312
- property: 'description',
16890
+ property: 'notes',
17313
16891
  },
17314
16892
  },
17315
16893
  },
@@ -17333,6 +16911,57 @@ class WorkBuddy {
17333
16911
  },
17334
16912
  },
17335
16913
  },
16914
+ {
16915
+ displayName: 'Social Network',
16916
+ name: 'socialNetwork',
16917
+ type: 'collection',
16918
+ default: {},
16919
+ placeholder: 'Add Social Network',
16920
+ description: '',
16921
+ required: false,
16922
+ displayOptions: {
16923
+ show: {
16924
+ resource: ['crm-suppliers'],
16925
+ operation: ['PublicCrmSupplierController_update'],
16926
+ },
16927
+ },
16928
+ options: [
16929
+ {
16930
+ displayName: 'Facebook',
16931
+ name: 'facebook',
16932
+ type: 'string',
16933
+ default: '',
16934
+ description: '',
16935
+ },
16936
+ {
16937
+ displayName: 'Twitter',
16938
+ name: 'twitter',
16939
+ type: 'string',
16940
+ default: '',
16941
+ description: '',
16942
+ },
16943
+ {
16944
+ displayName: 'Linkedin',
16945
+ name: 'linkedin',
16946
+ type: 'string',
16947
+ default: '',
16948
+ description: '',
16949
+ },
16950
+ {
16951
+ displayName: 'Instagram',
16952
+ name: 'instagram',
16953
+ type: 'string',
16954
+ default: '',
16955
+ description: '',
16956
+ },
16957
+ ],
16958
+ routing: {
16959
+ send: {
16960
+ type: 'body',
16961
+ property: 'socialNetwork',
16962
+ },
16963
+ },
16964
+ },
17336
16965
  {
17337
16966
  displayName: 'Zones',
17338
16967
  name: 'zones',