@workbuddy/n8n-nodes-workbuddy-vnext 1.0.173 → 1.0.175

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,CA+skD/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,CA2qlD/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"}
@@ -304,6 +304,10 @@ class WorkBuddy {
304
304
  name: 'Finance Purchase Orders',
305
305
  value: 'finance-purchase-orders',
306
306
  },
307
+ {
308
+ name: 'Reports',
309
+ value: 'reports',
310
+ },
307
311
  {
308
312
  name: 'Mcp',
309
313
  value: 'mcp',
@@ -33978,6 +33982,18 @@ class WorkBuddy {
33978
33982
  },
33979
33983
  },
33980
33984
  },
33985
+ {
33986
+ name: 'Register a form webhook',
33987
+ value: 'PublicApiWebhookV2Controller_registerForm',
33988
+ action: '',
33989
+ description: '',
33990
+ routing: {
33991
+ request: {
33992
+ method: 'POST',
33993
+ url: '/api/v2/public/webhooks/forms',
33994
+ },
33995
+ },
33996
+ },
33981
33997
  {
33982
33998
  name: 'Regenerate the signing secret for a webhook subscription',
33983
33999
  value: 'PublicApiWebhookV2Controller_regenerateSecret',
@@ -36072,6 +36088,208 @@ class WorkBuddy {
36072
36088
  },
36073
36089
  },
36074
36090
  },
36091
+ {
36092
+ displayName: 'Name',
36093
+ name: 'name',
36094
+ type: 'string',
36095
+ default: '',
36096
+ description: 'Display name',
36097
+ required: true,
36098
+ displayOptions: {
36099
+ show: {
36100
+ resource: ['webhooks'],
36101
+ operation: ['PublicApiWebhookV2Controller_registerForm'],
36102
+ },
36103
+ },
36104
+ routing: {
36105
+ send: {
36106
+ type: 'body',
36107
+ property: 'name',
36108
+ },
36109
+ },
36110
+ },
36111
+ {
36112
+ displayName: 'Url',
36113
+ name: 'url',
36114
+ type: 'string',
36115
+ default: '',
36116
+ description: 'Webhook callback URL',
36117
+ required: true,
36118
+ displayOptions: {
36119
+ show: {
36120
+ resource: ['webhooks'],
36121
+ operation: ['PublicApiWebhookV2Controller_registerForm'],
36122
+ },
36123
+ },
36124
+ routing: {
36125
+ send: {
36126
+ type: 'body',
36127
+ property: 'url',
36128
+ },
36129
+ },
36130
+ },
36131
+ {
36132
+ displayName: 'Events',
36133
+ name: 'events',
36134
+ type: 'multiOptions',
36135
+ default: '',
36136
+ description: 'Event names to subscribe to',
36137
+ required: true,
36138
+ displayOptions: {
36139
+ show: {
36140
+ resource: ['webhooks'],
36141
+ operation: ['PublicApiWebhookV2Controller_registerForm'],
36142
+ },
36143
+ },
36144
+ options: [
36145
+ {
36146
+ name: 'Form Submitted',
36147
+ value: 'Form Submitted',
36148
+ },
36149
+ {
36150
+ name: 'Form Updated',
36151
+ value: 'Form Updated',
36152
+ },
36153
+ ],
36154
+ routing: {
36155
+ send: {
36156
+ type: 'body',
36157
+ property: 'events',
36158
+ },
36159
+ },
36160
+ },
36161
+ {
36162
+ displayName: 'Filters',
36163
+ name: 'filters',
36164
+ type: 'collection',
36165
+ default: {},
36166
+ placeholder: 'Add Filters',
36167
+ description: '',
36168
+ required: false,
36169
+ displayOptions: {
36170
+ show: {
36171
+ resource: ['webhooks'],
36172
+ operation: ['PublicApiWebhookV2Controller_registerForm'],
36173
+ },
36174
+ },
36175
+ options: [
36176
+ {
36177
+ displayName: 'Form',
36178
+ name: 'form',
36179
+ type: 'string',
36180
+ default: '',
36181
+ description: 'Form',
36182
+ typeOptions: {
36183
+ multipleValues: true,
36184
+ },
36185
+ },
36186
+ ],
36187
+ routing: {
36188
+ send: {
36189
+ type: 'body',
36190
+ property: 'filters',
36191
+ },
36192
+ },
36193
+ },
36194
+ {
36195
+ displayName: 'Business Hours',
36196
+ name: 'businessHours',
36197
+ type: 'collection',
36198
+ default: {},
36199
+ placeholder: 'Add Business Hours',
36200
+ description: '',
36201
+ required: false,
36202
+ displayOptions: {
36203
+ show: {
36204
+ resource: ['webhooks'],
36205
+ operation: ['PublicApiWebhookV2Controller_registerForm'],
36206
+ },
36207
+ },
36208
+ options: [
36209
+ {
36210
+ displayName: 'Enabled',
36211
+ name: 'enabled',
36212
+ type: 'boolean',
36213
+ default: false,
36214
+ description: '',
36215
+ },
36216
+ {
36217
+ displayName: 'Timezone',
36218
+ name: 'timezone',
36219
+ type: 'string',
36220
+ default: '',
36221
+ description: '',
36222
+ },
36223
+ ],
36224
+ routing: {
36225
+ send: {
36226
+ type: 'body',
36227
+ property: 'businessHours',
36228
+ },
36229
+ },
36230
+ },
36231
+ {
36232
+ displayName: 'Workflow',
36233
+ name: 'workflow',
36234
+ type: 'collection',
36235
+ default: {},
36236
+ placeholder: 'Add Workflow',
36237
+ description: '',
36238
+ required: false,
36239
+ displayOptions: {
36240
+ show: {
36241
+ resource: ['webhooks'],
36242
+ operation: ['PublicApiWebhookV2Controller_registerForm'],
36243
+ },
36244
+ },
36245
+ options: [
36246
+ {
36247
+ displayName: 'Platform',
36248
+ name: 'platform',
36249
+ type: 'options',
36250
+ default: '',
36251
+ description: '',
36252
+ options: [
36253
+ {
36254
+ name: 'activepieces',
36255
+ value: 'activepieces',
36256
+ },
36257
+ {
36258
+ name: 'n8n',
36259
+ value: 'n8n',
36260
+ },
36261
+ {
36262
+ name: 'zapier',
36263
+ value: 'zapier',
36264
+ },
36265
+ {
36266
+ name: 'custom',
36267
+ value: 'custom',
36268
+ },
36269
+ ],
36270
+ },
36271
+ {
36272
+ displayName: 'Integration Id',
36273
+ name: 'integrationId',
36274
+ type: 'string',
36275
+ default: '',
36276
+ description: 'integration ID',
36277
+ },
36278
+ {
36279
+ displayName: 'Flow Id',
36280
+ name: 'flowId',
36281
+ type: 'string',
36282
+ default: '',
36283
+ description: 'flow ID',
36284
+ },
36285
+ ],
36286
+ routing: {
36287
+ send: {
36288
+ type: 'body',
36289
+ property: 'workflow',
36290
+ },
36291
+ },
36292
+ },
36075
36293
  {
36076
36294
  displayName: 'Id',
36077
36295
  name: 'id',
@@ -51014,6 +51232,255 @@ class WorkBuddy {
51014
51232
  },
51015
51233
  },
51016
51234
  },
51235
+ // Reports Operations
51236
+ {
51237
+ displayName: 'Operation',
51238
+ name: 'operation',
51239
+ type: 'options',
51240
+ noDataExpression: true,
51241
+ displayOptions: {
51242
+ show: {
51243
+ resource: ['reports'],
51244
+ },
51245
+ },
51246
+ options: [
51247
+ {
51248
+ name: 'List reports',
51249
+ value: 'PublicApiReportController_list',
51250
+ action: "Saved reports the token may see: every report for an application token; for a user token, public reports, the person's own and those shared with them (every report for a System Administrator).",
51251
+ description: "Saved reports the token may see: every report for an application token; for a user token, public reports, the person's own and those shared with them (every report for a System Administrator).",
51252
+ routing: {
51253
+ request: {
51254
+ method: 'GET',
51255
+ url: '/api/v2/public/reports',
51256
+ },
51257
+ },
51258
+ },
51259
+ {
51260
+ name: 'Run a report',
51261
+ value: 'PublicApiReportController_execute',
51262
+ action: "Streams the saved report's rows as NDJSON (application/x-ndjson): one JSON object per line holding the report's columns. At most the tenant report row limit is returned. A report the token may not see answers 404, as a missing one does.",
51263
+ description: "Streams the saved report's rows as NDJSON (application/x-ndjson): one JSON object per line holding the report's columns. At most the tenant report row limit is returned. A report the token may not see answers 404, as a missing one does.",
51264
+ routing: {
51265
+ request: {
51266
+ method: 'POST',
51267
+ url: '/api/v2/public/reports/={{ $parameter["id"] }}/execute',
51268
+ },
51269
+ },
51270
+ },
51271
+ {
51272
+ name: 'Export a report',
51273
+ value: 'PublicApiReportController_export',
51274
+ action: "Writes the saved report's rows to an NDJSON file and returns the row count, the first rows as a preview and a download link. GET download.url without an Authorization header to fetch the file; the link expires after 30 minutes. At most the tenant report row limit is exported. A report the token may not see answers 404, as a missing one does.",
51275
+ description: "Writes the saved report's rows to an NDJSON file and returns the row count, the first rows as a preview and a download link. GET download.url without an Authorization header to fetch the file; the link expires after 30 minutes. At most the tenant report row limit is exported. A report the token may not see answers 404, as a missing one does.",
51276
+ routing: {
51277
+ request: {
51278
+ method: 'POST',
51279
+ url: '/api/v2/public/reports/={{ $parameter["id"] }}/export',
51280
+ },
51281
+ },
51282
+ },
51283
+ {
51284
+ name: 'Download a report export',
51285
+ value: 'PublicApiReportDownloadController_download',
51286
+ action: 'Streams a report export file as NDJSON (application/x-ndjson). The link comes from POST /reports/{id}/export and is its own credential: send no Authorization header. It expires 30 minutes after the export.',
51287
+ description: 'Streams a report export file as NDJSON (application/x-ndjson). The link comes from POST /reports/{id}/export and is its own credential: send no Authorization header. It expires 30 minutes after the export.',
51288
+ routing: {
51289
+ request: {
51290
+ method: 'GET',
51291
+ url: '/api/v2/public/reports/exports/={{ $parameter["token"] }}',
51292
+ },
51293
+ },
51294
+ },
51295
+ ],
51296
+ default: 'PublicApiReportController_list',
51297
+ },
51298
+ {
51299
+ displayName: 'Category Id',
51300
+ name: 'categoryId',
51301
+ type: 'string',
51302
+ default: '',
51303
+ description: 'Only reports in this report category.',
51304
+ required: false,
51305
+ displayOptions: {
51306
+ show: {
51307
+ resource: ['reports'],
51308
+ operation: ['PublicApiReportController_list'],
51309
+ },
51310
+ },
51311
+ routing: {
51312
+ request: {
51313
+ qs: {
51314
+ categoryId: '={{$value}}',
51315
+ },
51316
+ },
51317
+ },
51318
+ },
51319
+ {
51320
+ displayName: 'Search',
51321
+ name: 'search',
51322
+ type: 'string',
51323
+ default: '',
51324
+ description: 'Text matched anywhere in the report name, ignoring case.',
51325
+ required: false,
51326
+ displayOptions: {
51327
+ show: {
51328
+ resource: ['reports'],
51329
+ operation: ['PublicApiReportController_list'],
51330
+ },
51331
+ },
51332
+ routing: {
51333
+ request: {
51334
+ qs: {
51335
+ search: '={{$value}}',
51336
+ },
51337
+ },
51338
+ },
51339
+ },
51340
+ {
51341
+ displayName: 'Cursor',
51342
+ name: 'cursor',
51343
+ type: 'string',
51344
+ default: '',
51345
+ description: '',
51346
+ required: false,
51347
+ displayOptions: {
51348
+ show: {
51349
+ resource: ['reports'],
51350
+ operation: ['PublicApiReportController_list'],
51351
+ },
51352
+ },
51353
+ routing: {
51354
+ request: {
51355
+ qs: {
51356
+ cursor: '={{$value}}',
51357
+ },
51358
+ },
51359
+ },
51360
+ },
51361
+ {
51362
+ displayName: 'Limit',
51363
+ name: 'limit',
51364
+ type: 'number',
51365
+ default: 50,
51366
+ description: 'Page size, from 1 to 200. Defaults to 50.',
51367
+ required: false,
51368
+ displayOptions: {
51369
+ show: {
51370
+ resource: ['reports'],
51371
+ operation: ['PublicApiReportController_list'],
51372
+ },
51373
+ },
51374
+ routing: {
51375
+ request: {
51376
+ qs: {
51377
+ limit: '={{$value}}',
51378
+ },
51379
+ },
51380
+ },
51381
+ },
51382
+ {
51383
+ displayName: 'Id',
51384
+ name: 'id',
51385
+ type: 'string',
51386
+ default: '',
51387
+ description: 'Report ID',
51388
+ required: true,
51389
+ displayOptions: {
51390
+ show: {
51391
+ resource: ['reports'],
51392
+ operation: ['PublicApiReportController_execute'],
51393
+ },
51394
+ },
51395
+ },
51396
+ {
51397
+ displayName: 'Limit',
51398
+ name: 'limit',
51399
+ type: 'number',
51400
+ default: 0,
51401
+ description: 'Most rows to return. The tenant report row limit applies when absent or larger.',
51402
+ required: false,
51403
+ displayOptions: {
51404
+ show: {
51405
+ resource: ['reports'],
51406
+ operation: ['PublicApiReportController_execute'],
51407
+ },
51408
+ },
51409
+ routing: {
51410
+ send: {
51411
+ type: 'body',
51412
+ property: 'limit',
51413
+ },
51414
+ },
51415
+ },
51416
+ {
51417
+ displayName: 'Id',
51418
+ name: 'id',
51419
+ type: 'string',
51420
+ default: '',
51421
+ description: 'Report ID',
51422
+ required: true,
51423
+ displayOptions: {
51424
+ show: {
51425
+ resource: ['reports'],
51426
+ operation: ['PublicApiReportController_export'],
51427
+ },
51428
+ },
51429
+ },
51430
+ {
51431
+ displayName: 'Limit',
51432
+ name: 'limit',
51433
+ type: 'number',
51434
+ default: 0,
51435
+ description: 'Most rows to export. The tenant report row limit applies when absent or larger.',
51436
+ required: false,
51437
+ displayOptions: {
51438
+ show: {
51439
+ resource: ['reports'],
51440
+ operation: ['PublicApiReportController_export'],
51441
+ },
51442
+ },
51443
+ routing: {
51444
+ send: {
51445
+ type: 'body',
51446
+ property: 'limit',
51447
+ },
51448
+ },
51449
+ },
51450
+ {
51451
+ displayName: 'Preview Rows',
51452
+ name: 'previewRows',
51453
+ type: 'number',
51454
+ default: 20,
51455
+ description: 'How many of the first rows to return inline as a preview, from 0 to 100. Defaults to 20.',
51456
+ required: false,
51457
+ displayOptions: {
51458
+ show: {
51459
+ resource: ['reports'],
51460
+ operation: ['PublicApiReportController_export'],
51461
+ },
51462
+ },
51463
+ routing: {
51464
+ send: {
51465
+ type: 'body',
51466
+ property: 'previewRows',
51467
+ },
51468
+ },
51469
+ },
51470
+ {
51471
+ displayName: 'Token',
51472
+ name: 'token',
51473
+ type: 'string',
51474
+ default: '',
51475
+ description: 'The signed token from download.url',
51476
+ required: true,
51477
+ displayOptions: {
51478
+ show: {
51479
+ resource: ['reports'],
51480
+ operation: ['PublicApiReportDownloadController_download'],
51481
+ },
51482
+ },
51483
+ },
51017
51484
  // Mcp Operations
51018
51485
  {
51019
51486
  displayName: 'Operation',