@workbuddy/n8n-nodes-workbuddy-vnext 1.0.96 → 1.0.98

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,CA8muB/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,CAg0uB/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"}
@@ -7705,8 +7705,8 @@ class WorkBuddy {
7705
7705
  {
7706
7706
  name: 'List tags',
7707
7707
  value: 'PublicApiTagController_list',
7708
- action: 'Retrieve all active tags (labels) configured. Use the optional `type` query parameter to filter by label type. Defaults to `job` if not specified. Supported types: job, scheduling, quote, customer, user, overheads, form, finance, system, work-order-system, account, contact, zone, work-categories, lead-source, lead, opportunity, opportunity-lost, project, project-type, payment-type, file, asset, item-location, task, phase, site, service-type, subscriptions, agreement, work, integration-types, flag-category.',
7709
- description: 'Retrieve all active tags (labels) configured. Use the optional `type` query parameter to filter by label type. Defaults to `job` if not specified. Supported types: job, scheduling, quote, customer, user, overheads, form, finance, system, work-order-system, account, contact, zone, work-categories, lead-source, lead, opportunity, opportunity-lost, project, project-type, payment-type, file, asset, item-location, task, phase, site, service-type, subscriptions, agreement, work, integration-types, flag-category.',
7708
+ action: 'Retrieve all active tags (labels) configured. Use the optional `type` query parameter to filter by label type. Defaults to `job` if not specified. `colors` is the Settings label-picker palette used by PUT /settings/tags. Supported types: job, scheduling, quote, customer, user, overheads, form, finance, system, work-order-system, account, contact, zone, work-categories, lead-source, lead, opportunity, opportunity-lost, project, project-type, payment-type, file, asset, item-location, task, phase, site, service-type, service-scope, subscriptions, agreement, work, integration-types, flag-category.',
7709
+ description: 'Retrieve all active tags (labels) configured. Use the optional `type` query parameter to filter by label type. Defaults to `job` if not specified. `colors` is the Settings label-picker palette used by PUT /settings/tags. Supported types: job, scheduling, quote, customer, user, overheads, form, finance, system, work-order-system, account, contact, zone, work-categories, lead-source, lead, opportunity, opportunity-lost, project, project-type, payment-type, file, asset, item-location, task, phase, site, service-type, service-scope, subscriptions, agreement, work, integration-types, flag-category.',
7710
7710
  routing: {
7711
7711
  request: {
7712
7712
  method: 'GET',
@@ -7714,6 +7714,18 @@ class WorkBuddy {
7714
7714
  },
7715
7715
  },
7716
7716
  },
7717
+ {
7718
+ name: 'Upsert a tag',
7719
+ value: 'PublicApiTagController_upsert',
7720
+ action: 'Create a tag, or return the existing active tag with the same type and name (case-insensitive). Limited to service-type, service-scope, and work-categories. Optional color must be a Settings label-picker hex; omitted color is chosen from that palette. Does not change color on an existing tag. Requires settings:tags:write — not settings:write.',
7721
+ description: 'Create a tag, or return the existing active tag with the same type and name (case-insensitive). Limited to service-type, service-scope, and work-categories. Optional color must be a Settings label-picker hex; omitted color is chosen from that palette. Does not change color on an existing tag. Requires settings:tags:write — not settings:write.',
7722
+ routing: {
7723
+ request: {
7724
+ method: 'PUT',
7725
+ url: '/api/v2/public/settings/tags',
7726
+ },
7727
+ },
7728
+ },
7717
7729
  {
7718
7730
  name: 'List zones',
7719
7731
  value: 'PublicApiZoneController_list',
@@ -8064,6 +8076,182 @@ class WorkBuddy {
8064
8076
  },
8065
8077
  ],
8066
8078
  },
8079
+ {
8080
+ displayName: 'Type',
8081
+ name: 'type',
8082
+ type: 'options',
8083
+ default: '',
8084
+ description: '',
8085
+ required: true,
8086
+ displayOptions: {
8087
+ show: {
8088
+ resource: ['settings-reference-data'],
8089
+ operation: ['PublicApiTagController_upsert'],
8090
+ },
8091
+ },
8092
+ options: [
8093
+ {
8094
+ name: 'service-type',
8095
+ value: 'service-type',
8096
+ },
8097
+ {
8098
+ name: 'service-scope',
8099
+ value: 'service-scope',
8100
+ },
8101
+ {
8102
+ name: 'work-categories',
8103
+ value: 'work-categories',
8104
+ },
8105
+ ],
8106
+ routing: {
8107
+ send: {
8108
+ type: 'body',
8109
+ property: 'type',
8110
+ },
8111
+ },
8112
+ },
8113
+ {
8114
+ displayName: 'Name',
8115
+ name: 'name',
8116
+ type: 'string',
8117
+ default: '',
8118
+ description: 'Display name',
8119
+ required: true,
8120
+ displayOptions: {
8121
+ show: {
8122
+ resource: ['settings-reference-data'],
8123
+ operation: ['PublicApiTagController_upsert'],
8124
+ },
8125
+ },
8126
+ routing: {
8127
+ send: {
8128
+ type: 'body',
8129
+ property: 'name',
8130
+ },
8131
+ },
8132
+ },
8133
+ {
8134
+ displayName: 'Color',
8135
+ name: 'color',
8136
+ type: 'options',
8137
+ default: '',
8138
+ description: '',
8139
+ required: false,
8140
+ displayOptions: {
8141
+ show: {
8142
+ resource: ['settings-reference-data'],
8143
+ operation: ['PublicApiTagController_upsert'],
8144
+ },
8145
+ },
8146
+ options: [
8147
+ {
8148
+ name: '#1abc9c',
8149
+ value: '#1abc9c',
8150
+ },
8151
+ {
8152
+ name: '#16a085',
8153
+ value: '#16a085',
8154
+ },
8155
+ {
8156
+ name: '#f1c40f',
8157
+ value: '#f1c40f',
8158
+ },
8159
+ {
8160
+ name: '#f39c12',
8161
+ value: '#f39c12',
8162
+ },
8163
+ {
8164
+ name: '#2ecc71',
8165
+ value: '#2ecc71',
8166
+ },
8167
+ {
8168
+ name: '#27ae60',
8169
+ value: '#27ae60',
8170
+ },
8171
+ {
8172
+ name: '#e67e22',
8173
+ value: '#e67e22',
8174
+ },
8175
+ {
8176
+ name: '#d35400',
8177
+ value: '#d35400',
8178
+ },
8179
+ {
8180
+ name: '#3498db',
8181
+ value: '#3498db',
8182
+ },
8183
+ {
8184
+ name: '#2980b9',
8185
+ value: '#2980b9',
8186
+ },
8187
+ {
8188
+ name: '#e74c3c',
8189
+ value: '#e74c3c',
8190
+ },
8191
+ {
8192
+ name: '#c0392b',
8193
+ value: '#c0392b',
8194
+ },
8195
+ {
8196
+ name: '#9b59b6',
8197
+ value: '#9b59b6',
8198
+ },
8199
+ {
8200
+ name: '#8e44ad',
8201
+ value: '#8e44ad',
8202
+ },
8203
+ {
8204
+ name: '#bdc3c7',
8205
+ value: '#bdc3c7',
8206
+ },
8207
+ {
8208
+ name: '#34495e',
8209
+ value: '#34495e',
8210
+ },
8211
+ {
8212
+ name: '#2c3e50',
8213
+ value: '#2c3e50',
8214
+ },
8215
+ {
8216
+ name: '#95a5a6',
8217
+ value: '#95a5a6',
8218
+ },
8219
+ {
8220
+ name: '#7f8c8d',
8221
+ value: '#7f8c8d',
8222
+ },
8223
+ {
8224
+ name: '#ec87bf',
8225
+ value: '#ec87bf',
8226
+ },
8227
+ {
8228
+ name: '#d870ad',
8229
+ value: '#d870ad',
8230
+ },
8231
+ {
8232
+ name: '#f69785',
8233
+ value: '#f69785',
8234
+ },
8235
+ {
8236
+ name: '#9ba37e',
8237
+ value: '#9ba37e',
8238
+ },
8239
+ {
8240
+ name: '#b49255',
8241
+ value: '#b49255',
8242
+ },
8243
+ {
8244
+ name: '#a94136',
8245
+ value: '#a94136',
8246
+ },
8247
+ ],
8248
+ routing: {
8249
+ send: {
8250
+ type: 'body',
8251
+ property: 'color',
8252
+ },
8253
+ },
8254
+ },
8067
8255
  // Settings Templates Operations
8068
8256
  {
8069
8257
  displayName: 'Operation',
@@ -21324,10 +21512,10 @@ class WorkBuddy {
21324
21512
  },
21325
21513
  },
21326
21514
  {
21327
- name: 'Activate a Service Plan',
21515
+ name: 'Start a Service Plan',
21328
21516
  value: 'PublicServicePlanController_activate',
21329
- action: 'Validates and publishes a fully assembled Service Plan.',
21330
- description: 'Validates and publishes a fully assembled Service Plan.',
21517
+ action: 'Validates and starts a fully assembled Service Plan.',
21518
+ description: 'Validates and starts a fully assembled Service Plan.',
21331
21519
  routing: {
21332
21520
  request: {
21333
21521
  method: 'POST',
@@ -21336,7 +21524,7 @@ class WorkBuddy {
21336
21524
  },
21337
21525
  },
21338
21526
  {
21339
- name: 'Suspend a Service Plan',
21527
+ name: 'Pause a Service Plan',
21340
21528
  value: 'PublicServicePlanController_suspend',
21341
21529
  action: 'Stops future scheduled work while preserving history.',
21342
21530
  description: 'Stops future scheduled work while preserving history.',
@@ -21350,8 +21538,8 @@ class WorkBuddy {
21350
21538
  {
21351
21539
  name: 'Archive a Service Plan',
21352
21540
  value: 'PublicServicePlanController_archive',
21353
- action: 'Archives a suspended Service Plan and reconciles future scheduled work.',
21354
- description: 'Archives a suspended Service Plan and reconciles future scheduled work.',
21541
+ action: 'Archives a paused Service Plan and reconciles future scheduled work.',
21542
+ description: 'Archives a paused Service Plan and reconciles future scheduled work.',
21355
21543
  routing: {
21356
21544
  request: {
21357
21545
  method: 'POST',
@@ -22716,6 +22904,26 @@ class WorkBuddy {
22716
22904
  },
22717
22905
  },
22718
22906
  },
22907
+ {
22908
+ displayName: 'Last Serviced',
22909
+ name: 'lastServiced',
22910
+ type: 'string',
22911
+ default: '',
22912
+ description: '',
22913
+ required: false,
22914
+ displayOptions: {
22915
+ show: {
22916
+ resource: ['service-plans-lines-tasks'],
22917
+ operation: ['PublicServiceLineTaskController_patch'],
22918
+ },
22919
+ },
22920
+ routing: {
22921
+ send: {
22922
+ type: 'body',
22923
+ property: 'lastServiced',
22924
+ },
22925
+ },
22926
+ },
22719
22927
  {
22720
22928
  displayName: 'Schedule',
22721
22929
  name: 'schedule',