@workbuddy/n8n-nodes-workbuddy-vnext 1.0.79 → 1.0.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkBuddy.node.d.ts","sourceRoot":"","sources":["../../../nodes/WorkBuddy/WorkBuddy.node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AA6E5G,qBAAa,SAAU,YAAW,SAAS;IACzC,WAAW,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"WorkBuddy.node.d.ts","sourceRoot":"","sources":["../../../nodes/WorkBuddy/WorkBuddy.node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AA6E5G,qBAAa,SAAU,YAAW,SAAS;IACzC,WAAW,EAAE,oBAAoB,CAo2nB/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"}
|
|
@@ -5574,6 +5574,18 @@ class WorkBuddy {
|
|
|
5574
5574
|
},
|
|
5575
5575
|
},
|
|
5576
5576
|
},
|
|
5577
|
+
{
|
|
5578
|
+
name: 'Put a stage on hold',
|
|
5579
|
+
value: 'PublicJobStageController_onHold',
|
|
5580
|
+
action: 'Set the stage to an On Hold status. Pass statusId from GET /settings/stage-statuses with systemStatus On Hold (multiple peer statuses may share that systemStatus). Blocked from Completed, Closed, or Finalised.',
|
|
5581
|
+
description: 'Set the stage to an On Hold status. Pass statusId from GET /settings/stage-statuses with systemStatus On Hold (multiple peer statuses may share that systemStatus). Blocked from Completed, Closed, or Finalised.',
|
|
5582
|
+
routing: {
|
|
5583
|
+
request: {
|
|
5584
|
+
method: 'POST',
|
|
5585
|
+
url: '/api/v2/public/stages/={{ $parameter["id"] }}/on-hold',
|
|
5586
|
+
},
|
|
5587
|
+
},
|
|
5588
|
+
},
|
|
5577
5589
|
{
|
|
5578
5590
|
name: 'Reverse stage status',
|
|
5579
5591
|
value: 'PublicJobStageController_reverse',
|
|
@@ -6143,6 +6155,60 @@ class WorkBuddy {
|
|
|
6143
6155
|
},
|
|
6144
6156
|
},
|
|
6145
6157
|
},
|
|
6158
|
+
{
|
|
6159
|
+
displayName: 'Id',
|
|
6160
|
+
name: 'id',
|
|
6161
|
+
type: 'string',
|
|
6162
|
+
default: '',
|
|
6163
|
+
description: 'Stage ID',
|
|
6164
|
+
required: true,
|
|
6165
|
+
displayOptions: {
|
|
6166
|
+
show: {
|
|
6167
|
+
resource: ['stages'],
|
|
6168
|
+
operation: ['PublicJobStageController_onHold'],
|
|
6169
|
+
},
|
|
6170
|
+
},
|
|
6171
|
+
},
|
|
6172
|
+
{
|
|
6173
|
+
displayName: 'Status Id',
|
|
6174
|
+
name: 'statusId',
|
|
6175
|
+
type: 'string',
|
|
6176
|
+
default: '',
|
|
6177
|
+
description: 'status ID',
|
|
6178
|
+
required: true,
|
|
6179
|
+
displayOptions: {
|
|
6180
|
+
show: {
|
|
6181
|
+
resource: ['stages'],
|
|
6182
|
+
operation: ['PublicJobStageController_onHold'],
|
|
6183
|
+
},
|
|
6184
|
+
},
|
|
6185
|
+
routing: {
|
|
6186
|
+
send: {
|
|
6187
|
+
type: 'body',
|
|
6188
|
+
property: 'statusId',
|
|
6189
|
+
},
|
|
6190
|
+
},
|
|
6191
|
+
},
|
|
6192
|
+
{
|
|
6193
|
+
displayName: 'Note',
|
|
6194
|
+
name: 'note',
|
|
6195
|
+
type: 'string',
|
|
6196
|
+
default: '',
|
|
6197
|
+
description: '',
|
|
6198
|
+
required: false,
|
|
6199
|
+
displayOptions: {
|
|
6200
|
+
show: {
|
|
6201
|
+
resource: ['stages'],
|
|
6202
|
+
operation: ['PublicJobStageController_onHold'],
|
|
6203
|
+
},
|
|
6204
|
+
},
|
|
6205
|
+
routing: {
|
|
6206
|
+
send: {
|
|
6207
|
+
type: 'body',
|
|
6208
|
+
property: 'note',
|
|
6209
|
+
},
|
|
6210
|
+
},
|
|
6211
|
+
},
|
|
6146
6212
|
{
|
|
6147
6213
|
displayName: 'Id',
|
|
6148
6214
|
name: 'id',
|
|
@@ -6793,6 +6859,30 @@ class WorkBuddy {
|
|
|
6793
6859
|
},
|
|
6794
6860
|
},
|
|
6795
6861
|
},
|
|
6862
|
+
{
|
|
6863
|
+
name: 'List pricebooks',
|
|
6864
|
+
value: 'PublicApiPriceBookController_list',
|
|
6865
|
+
action: 'Discover tenant pricebooks for a category (customer / contractor / supplier). Use category=customer&status=current&assignableOnly=true for job-create candidates. Optional accountId scopes to a CRM account (includeGlobal defaults true).',
|
|
6866
|
+
description: 'Discover tenant pricebooks for a category (customer / contractor / supplier). Use category=customer&status=current&assignableOnly=true for job-create candidates. Optional accountId scopes to a CRM account (includeGlobal defaults true).',
|
|
6867
|
+
routing: {
|
|
6868
|
+
request: {
|
|
6869
|
+
method: 'GET',
|
|
6870
|
+
url: '/api/v2/public/settings/pricebooks',
|
|
6871
|
+
},
|
|
6872
|
+
},
|
|
6873
|
+
},
|
|
6874
|
+
{
|
|
6875
|
+
name: 'Get pricebook',
|
|
6876
|
+
value: 'PublicApiPriceBookController_getByIdOrName',
|
|
6877
|
+
action: 'Retrieve a pricebook by id (preferred) or exact name (case-insensitive). Pass category when the name may exist in more than one category.',
|
|
6878
|
+
description: 'Retrieve a pricebook by id (preferred) or exact name (case-insensitive). Pass category when the name may exist in more than one category.',
|
|
6879
|
+
routing: {
|
|
6880
|
+
request: {
|
|
6881
|
+
method: 'GET',
|
|
6882
|
+
url: '/api/v2/public/settings/pricebooks/={{ $parameter["idOrName"] }}',
|
|
6883
|
+
},
|
|
6884
|
+
},
|
|
6885
|
+
},
|
|
6796
6886
|
{
|
|
6797
6887
|
name: 'List stage statuses',
|
|
6798
6888
|
value: 'PublicApiStageStatusController_list',
|
|
@@ -6904,6 +6994,265 @@ class WorkBuddy {
|
|
|
6904
6994
|
},
|
|
6905
6995
|
],
|
|
6906
6996
|
},
|
|
6997
|
+
{
|
|
6998
|
+
displayName: 'Category',
|
|
6999
|
+
name: 'category',
|
|
7000
|
+
type: 'options',
|
|
7001
|
+
default: '',
|
|
7002
|
+
description: '',
|
|
7003
|
+
required: true,
|
|
7004
|
+
displayOptions: {
|
|
7005
|
+
show: {
|
|
7006
|
+
resource: ['settings-reference-data'],
|
|
7007
|
+
operation: ['PublicApiPriceBookController_list'],
|
|
7008
|
+
},
|
|
7009
|
+
},
|
|
7010
|
+
routing: {
|
|
7011
|
+
request: {
|
|
7012
|
+
qs: {
|
|
7013
|
+
category: '={{$value}}',
|
|
7014
|
+
},
|
|
7015
|
+
},
|
|
7016
|
+
},
|
|
7017
|
+
options: [
|
|
7018
|
+
{
|
|
7019
|
+
name: 'customer',
|
|
7020
|
+
value: 'customer',
|
|
7021
|
+
},
|
|
7022
|
+
{
|
|
7023
|
+
name: 'contractor',
|
|
7024
|
+
value: 'contractor',
|
|
7025
|
+
},
|
|
7026
|
+
{
|
|
7027
|
+
name: 'supplier',
|
|
7028
|
+
value: 'supplier',
|
|
7029
|
+
},
|
|
7030
|
+
],
|
|
7031
|
+
},
|
|
7032
|
+
{
|
|
7033
|
+
displayName: 'Limit',
|
|
7034
|
+
name: 'limit',
|
|
7035
|
+
type: 'number',
|
|
7036
|
+
default: '',
|
|
7037
|
+
description: '',
|
|
7038
|
+
required: false,
|
|
7039
|
+
displayOptions: {
|
|
7040
|
+
show: {
|
|
7041
|
+
resource: ['settings-reference-data'],
|
|
7042
|
+
operation: ['PublicApiPriceBookController_list'],
|
|
7043
|
+
},
|
|
7044
|
+
},
|
|
7045
|
+
routing: {
|
|
7046
|
+
request: {
|
|
7047
|
+
qs: {
|
|
7048
|
+
limit: '={{$value}}',
|
|
7049
|
+
},
|
|
7050
|
+
},
|
|
7051
|
+
},
|
|
7052
|
+
},
|
|
7053
|
+
{
|
|
7054
|
+
displayName: 'Assignable Only',
|
|
7055
|
+
name: 'assignableOnly',
|
|
7056
|
+
type: 'boolean',
|
|
7057
|
+
default: false,
|
|
7058
|
+
description: '',
|
|
7059
|
+
required: false,
|
|
7060
|
+
displayOptions: {
|
|
7061
|
+
show: {
|
|
7062
|
+
resource: ['settings-reference-data'],
|
|
7063
|
+
operation: ['PublicApiPriceBookController_list'],
|
|
7064
|
+
},
|
|
7065
|
+
},
|
|
7066
|
+
routing: {
|
|
7067
|
+
request: {
|
|
7068
|
+
qs: {
|
|
7069
|
+
assignableOnly: '={{$value}}',
|
|
7070
|
+
},
|
|
7071
|
+
},
|
|
7072
|
+
},
|
|
7073
|
+
},
|
|
7074
|
+
{
|
|
7075
|
+
displayName: 'Mode',
|
|
7076
|
+
name: 'mode',
|
|
7077
|
+
type: 'options',
|
|
7078
|
+
default: '',
|
|
7079
|
+
description: '',
|
|
7080
|
+
required: false,
|
|
7081
|
+
displayOptions: {
|
|
7082
|
+
show: {
|
|
7083
|
+
resource: ['settings-reference-data'],
|
|
7084
|
+
operation: ['PublicApiPriceBookController_list'],
|
|
7085
|
+
},
|
|
7086
|
+
},
|
|
7087
|
+
routing: {
|
|
7088
|
+
request: {
|
|
7089
|
+
qs: {
|
|
7090
|
+
mode: '={{$value}}',
|
|
7091
|
+
},
|
|
7092
|
+
},
|
|
7093
|
+
},
|
|
7094
|
+
options: [
|
|
7095
|
+
{
|
|
7096
|
+
name: 'static',
|
|
7097
|
+
value: 'static',
|
|
7098
|
+
},
|
|
7099
|
+
{
|
|
7100
|
+
name: 'dynamic',
|
|
7101
|
+
value: 'dynamic',
|
|
7102
|
+
},
|
|
7103
|
+
],
|
|
7104
|
+
},
|
|
7105
|
+
{
|
|
7106
|
+
displayName: 'Search',
|
|
7107
|
+
name: 'search',
|
|
7108
|
+
type: 'string',
|
|
7109
|
+
default: '',
|
|
7110
|
+
description: 'Name contains or exact id',
|
|
7111
|
+
required: false,
|
|
7112
|
+
displayOptions: {
|
|
7113
|
+
show: {
|
|
7114
|
+
resource: ['settings-reference-data'],
|
|
7115
|
+
operation: ['PublicApiPriceBookController_list'],
|
|
7116
|
+
},
|
|
7117
|
+
},
|
|
7118
|
+
routing: {
|
|
7119
|
+
request: {
|
|
7120
|
+
qs: {
|
|
7121
|
+
search: '={{$value}}',
|
|
7122
|
+
},
|
|
7123
|
+
},
|
|
7124
|
+
},
|
|
7125
|
+
},
|
|
7126
|
+
{
|
|
7127
|
+
displayName: 'Include Global',
|
|
7128
|
+
name: 'includeGlobal',
|
|
7129
|
+
type: 'boolean',
|
|
7130
|
+
default: false,
|
|
7131
|
+
description: '',
|
|
7132
|
+
required: false,
|
|
7133
|
+
displayOptions: {
|
|
7134
|
+
show: {
|
|
7135
|
+
resource: ['settings-reference-data'],
|
|
7136
|
+
operation: ['PublicApiPriceBookController_list'],
|
|
7137
|
+
},
|
|
7138
|
+
},
|
|
7139
|
+
routing: {
|
|
7140
|
+
request: {
|
|
7141
|
+
qs: {
|
|
7142
|
+
includeGlobal: '={{$value}}',
|
|
7143
|
+
},
|
|
7144
|
+
},
|
|
7145
|
+
},
|
|
7146
|
+
},
|
|
7147
|
+
{
|
|
7148
|
+
displayName: 'Account Id',
|
|
7149
|
+
name: 'accountId',
|
|
7150
|
+
type: 'string',
|
|
7151
|
+
default: '',
|
|
7152
|
+
description: 'account ID',
|
|
7153
|
+
required: false,
|
|
7154
|
+
displayOptions: {
|
|
7155
|
+
show: {
|
|
7156
|
+
resource: ['settings-reference-data'],
|
|
7157
|
+
operation: ['PublicApiPriceBookController_list'],
|
|
7158
|
+
},
|
|
7159
|
+
},
|
|
7160
|
+
routing: {
|
|
7161
|
+
request: {
|
|
7162
|
+
qs: {
|
|
7163
|
+
accountId: '={{$value}}',
|
|
7164
|
+
},
|
|
7165
|
+
},
|
|
7166
|
+
},
|
|
7167
|
+
},
|
|
7168
|
+
{
|
|
7169
|
+
displayName: 'Status',
|
|
7170
|
+
name: 'status',
|
|
7171
|
+
type: 'options',
|
|
7172
|
+
default: '',
|
|
7173
|
+
description: '',
|
|
7174
|
+
required: false,
|
|
7175
|
+
displayOptions: {
|
|
7176
|
+
show: {
|
|
7177
|
+
resource: ['settings-reference-data'],
|
|
7178
|
+
operation: ['PublicApiPriceBookController_list'],
|
|
7179
|
+
},
|
|
7180
|
+
},
|
|
7181
|
+
routing: {
|
|
7182
|
+
request: {
|
|
7183
|
+
qs: {
|
|
7184
|
+
status: '={{$value}}',
|
|
7185
|
+
},
|
|
7186
|
+
},
|
|
7187
|
+
},
|
|
7188
|
+
options: [
|
|
7189
|
+
{
|
|
7190
|
+
name: 'current',
|
|
7191
|
+
value: 'current',
|
|
7192
|
+
},
|
|
7193
|
+
{
|
|
7194
|
+
name: 'expired',
|
|
7195
|
+
value: 'expired',
|
|
7196
|
+
},
|
|
7197
|
+
{
|
|
7198
|
+
name: 'future',
|
|
7199
|
+
value: 'future',
|
|
7200
|
+
},
|
|
7201
|
+
{
|
|
7202
|
+
name: 'all',
|
|
7203
|
+
value: 'all',
|
|
7204
|
+
},
|
|
7205
|
+
],
|
|
7206
|
+
},
|
|
7207
|
+
{
|
|
7208
|
+
displayName: 'Id Or Name',
|
|
7209
|
+
name: 'idOrName',
|
|
7210
|
+
type: 'string',
|
|
7211
|
+
default: '',
|
|
7212
|
+
description: 'Pricebook id or exact name',
|
|
7213
|
+
required: true,
|
|
7214
|
+
displayOptions: {
|
|
7215
|
+
show: {
|
|
7216
|
+
resource: ['settings-reference-data'],
|
|
7217
|
+
operation: ['PublicApiPriceBookController_getByIdOrName'],
|
|
7218
|
+
},
|
|
7219
|
+
},
|
|
7220
|
+
},
|
|
7221
|
+
{
|
|
7222
|
+
displayName: 'Category',
|
|
7223
|
+
name: 'category',
|
|
7224
|
+
type: 'options',
|
|
7225
|
+
default: '',
|
|
7226
|
+
description: '',
|
|
7227
|
+
required: false,
|
|
7228
|
+
displayOptions: {
|
|
7229
|
+
show: {
|
|
7230
|
+
resource: ['settings-reference-data'],
|
|
7231
|
+
operation: ['PublicApiPriceBookController_getByIdOrName'],
|
|
7232
|
+
},
|
|
7233
|
+
},
|
|
7234
|
+
routing: {
|
|
7235
|
+
request: {
|
|
7236
|
+
qs: {
|
|
7237
|
+
category: '={{$value}}',
|
|
7238
|
+
},
|
|
7239
|
+
},
|
|
7240
|
+
},
|
|
7241
|
+
options: [
|
|
7242
|
+
{
|
|
7243
|
+
name: 'customer',
|
|
7244
|
+
value: 'customer',
|
|
7245
|
+
},
|
|
7246
|
+
{
|
|
7247
|
+
name: 'contractor',
|
|
7248
|
+
value: 'contractor',
|
|
7249
|
+
},
|
|
7250
|
+
{
|
|
7251
|
+
name: 'supplier',
|
|
7252
|
+
value: 'supplier',
|
|
7253
|
+
},
|
|
7254
|
+
],
|
|
7255
|
+
},
|
|
6907
7256
|
// Settings Templates Operations
|
|
6908
7257
|
{
|
|
6909
7258
|
displayName: 'Operation',
|