@workbuddy/n8n-nodes-workbuddy-vnext 1.0.168 → 1.0.169

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.
@@ -33850,6 +33850,114 @@ class WorkBuddy {
33850
33850
  },
33851
33851
  },
33852
33852
  },
33853
+ {
33854
+ name: 'Register a job webhook',
33855
+ value: 'PublicApiWebhookV2Controller_registerJob',
33856
+ action: '',
33857
+ description: '',
33858
+ routing: {
33859
+ request: {
33860
+ method: 'POST',
33861
+ url: '/api/v2/public/webhooks/jobs',
33862
+ },
33863
+ },
33864
+ },
33865
+ {
33866
+ name: 'Register a stage webhook',
33867
+ value: 'PublicApiWebhookV2Controller_registerStage',
33868
+ action: '',
33869
+ description: '',
33870
+ routing: {
33871
+ request: {
33872
+ method: 'POST',
33873
+ url: '/api/v2/public/webhooks/stages',
33874
+ },
33875
+ },
33876
+ },
33877
+ {
33878
+ name: 'Register a activity webhook',
33879
+ value: 'PublicApiWebhookV2Controller_registerActivity',
33880
+ action: '',
33881
+ description: '',
33882
+ routing: {
33883
+ request: {
33884
+ method: 'POST',
33885
+ url: '/api/v2/public/webhooks/activities',
33886
+ },
33887
+ },
33888
+ },
33889
+ {
33890
+ name: 'Register a invoice webhook',
33891
+ value: 'PublicApiWebhookV2Controller_registerInvoice',
33892
+ action: '',
33893
+ description: '',
33894
+ routing: {
33895
+ request: {
33896
+ method: 'POST',
33897
+ url: '/api/v2/public/webhooks/invoices',
33898
+ },
33899
+ },
33900
+ },
33901
+ {
33902
+ name: 'Register a bill webhook',
33903
+ value: 'PublicApiWebhookV2Controller_registerBill',
33904
+ action: '',
33905
+ description: '',
33906
+ routing: {
33907
+ request: {
33908
+ method: 'POST',
33909
+ url: '/api/v2/public/webhooks/bills',
33910
+ },
33911
+ },
33912
+ },
33913
+ {
33914
+ name: 'Register a quote webhook',
33915
+ value: 'PublicApiWebhookV2Controller_registerQuote',
33916
+ action: '',
33917
+ description: '',
33918
+ routing: {
33919
+ request: {
33920
+ method: 'POST',
33921
+ url: '/api/v2/public/webhooks/quotes',
33922
+ },
33923
+ },
33924
+ },
33925
+ {
33926
+ name: 'Register a opportunity webhook',
33927
+ value: 'PublicApiWebhookV2Controller_registerOpportunity',
33928
+ action: '',
33929
+ description: '',
33930
+ routing: {
33931
+ request: {
33932
+ method: 'POST',
33933
+ url: '/api/v2/public/webhooks/opportunities',
33934
+ },
33935
+ },
33936
+ },
33937
+ {
33938
+ name: 'Register a lead webhook',
33939
+ value: 'PublicApiWebhookV2Controller_registerLead',
33940
+ action: '',
33941
+ description: '',
33942
+ routing: {
33943
+ request: {
33944
+ method: 'POST',
33945
+ url: '/api/v2/public/webhooks/leads',
33946
+ },
33947
+ },
33948
+ },
33949
+ {
33950
+ name: 'Register a task webhook',
33951
+ value: 'PublicApiWebhookV2Controller_registerTask',
33952
+ action: '',
33953
+ description: '',
33954
+ routing: {
33955
+ request: {
33956
+ method: 'POST',
33957
+ url: '/api/v2/public/webhooks/tasks',
33958
+ },
33959
+ },
33960
+ },
33853
33961
  {
33854
33962
  name: 'Regenerate the signing secret for a webhook subscription',
33855
33963
  value: 'PublicApiWebhookV2Controller_regenerateSecret',
@@ -33863,7 +33971,7 @@ class WorkBuddy {
33863
33971
  },
33864
33972
  },
33865
33973
  {
33866
- name: 'Send a test event to a webhook subscription',
33974
+ name: 'Queue a signed webhook.test event for this subscription',
33867
33975
  value: 'PublicApiWebhookV2Controller_test',
33868
33976
  action: '',
33869
33977
  description: '',
@@ -33959,6 +34067,1991 @@ class WorkBuddy {
33959
34067
  },
33960
34068
  },
33961
34069
  },
34070
+ {
34071
+ displayName: 'Name',
34072
+ name: 'name',
34073
+ type: 'string',
34074
+ default: '',
34075
+ description: 'Display name',
34076
+ required: true,
34077
+ displayOptions: {
34078
+ show: {
34079
+ resource: ['webhooks'],
34080
+ operation: ['PublicApiWebhookV2Controller_registerJob'],
34081
+ },
34082
+ },
34083
+ routing: {
34084
+ send: {
34085
+ type: 'body',
34086
+ property: 'name',
34087
+ },
34088
+ },
34089
+ },
34090
+ {
34091
+ displayName: 'Url',
34092
+ name: 'url',
34093
+ type: 'string',
34094
+ default: '',
34095
+ description: 'Webhook callback URL',
34096
+ required: true,
34097
+ displayOptions: {
34098
+ show: {
34099
+ resource: ['webhooks'],
34100
+ operation: ['PublicApiWebhookV2Controller_registerJob'],
34101
+ },
34102
+ },
34103
+ routing: {
34104
+ send: {
34105
+ type: 'body',
34106
+ property: 'url',
34107
+ },
34108
+ },
34109
+ },
34110
+ {
34111
+ displayName: 'Events',
34112
+ name: 'events',
34113
+ type: 'multiOptions',
34114
+ default: '',
34115
+ description: 'Event names to subscribe to',
34116
+ required: true,
34117
+ displayOptions: {
34118
+ show: {
34119
+ resource: ['webhooks'],
34120
+ operation: ['PublicApiWebhookV2Controller_registerJob'],
34121
+ },
34122
+ },
34123
+ options: [
34124
+ {
34125
+ name: 'Job Created',
34126
+ value: 'Job Created',
34127
+ },
34128
+ {
34129
+ name: 'Job Updated',
34130
+ value: 'Job Updated',
34131
+ },
34132
+ {
34133
+ name: 'Job Status Changed',
34134
+ value: 'Job Status Changed',
34135
+ },
34136
+ ],
34137
+ routing: {
34138
+ send: {
34139
+ type: 'body',
34140
+ property: 'events',
34141
+ },
34142
+ },
34143
+ },
34144
+ {
34145
+ displayName: 'Filters',
34146
+ name: 'filters',
34147
+ type: 'json',
34148
+ default: {},
34149
+ description: '',
34150
+ required: false,
34151
+ displayOptions: {
34152
+ show: {
34153
+ resource: ['webhooks'],
34154
+ operation: ['PublicApiWebhookV2Controller_registerJob'],
34155
+ },
34156
+ },
34157
+ routing: {
34158
+ send: {
34159
+ type: 'body',
34160
+ property: 'filters',
34161
+ },
34162
+ },
34163
+ },
34164
+ {
34165
+ displayName: 'Business Hours',
34166
+ name: 'businessHours',
34167
+ type: 'collection',
34168
+ default: {},
34169
+ placeholder: 'Add Business Hours',
34170
+ description: '',
34171
+ required: false,
34172
+ displayOptions: {
34173
+ show: {
34174
+ resource: ['webhooks'],
34175
+ operation: ['PublicApiWebhookV2Controller_registerJob'],
34176
+ },
34177
+ },
34178
+ options: [
34179
+ {
34180
+ displayName: 'Enabled',
34181
+ name: 'enabled',
34182
+ type: 'boolean',
34183
+ default: false,
34184
+ description: '',
34185
+ },
34186
+ {
34187
+ displayName: 'Timezone',
34188
+ name: 'timezone',
34189
+ type: 'string',
34190
+ default: '',
34191
+ description: '',
34192
+ },
34193
+ ],
34194
+ routing: {
34195
+ send: {
34196
+ type: 'body',
34197
+ property: 'businessHours',
34198
+ },
34199
+ },
34200
+ },
34201
+ {
34202
+ displayName: 'Workflow',
34203
+ name: 'workflow',
34204
+ type: 'collection',
34205
+ default: {},
34206
+ placeholder: 'Add Workflow',
34207
+ description: '',
34208
+ required: false,
34209
+ displayOptions: {
34210
+ show: {
34211
+ resource: ['webhooks'],
34212
+ operation: ['PublicApiWebhookV2Controller_registerJob'],
34213
+ },
34214
+ },
34215
+ options: [
34216
+ {
34217
+ displayName: 'Platform',
34218
+ name: 'platform',
34219
+ type: 'options',
34220
+ default: '',
34221
+ description: '',
34222
+ options: [
34223
+ {
34224
+ name: 'activepieces',
34225
+ value: 'activepieces',
34226
+ },
34227
+ {
34228
+ name: 'n8n',
34229
+ value: 'n8n',
34230
+ },
34231
+ {
34232
+ name: 'zapier',
34233
+ value: 'zapier',
34234
+ },
34235
+ {
34236
+ name: 'custom',
34237
+ value: 'custom',
34238
+ },
34239
+ ],
34240
+ },
34241
+ {
34242
+ displayName: 'Integration Id',
34243
+ name: 'integrationId',
34244
+ type: 'string',
34245
+ default: '',
34246
+ description: 'integration ID',
34247
+ },
34248
+ {
34249
+ displayName: 'Flow Id',
34250
+ name: 'flowId',
34251
+ type: 'string',
34252
+ default: '',
34253
+ description: 'flow ID',
34254
+ },
34255
+ ],
34256
+ routing: {
34257
+ send: {
34258
+ type: 'body',
34259
+ property: 'workflow',
34260
+ },
34261
+ },
34262
+ },
34263
+ {
34264
+ displayName: 'Name',
34265
+ name: 'name',
34266
+ type: 'string',
34267
+ default: '',
34268
+ description: 'Display name',
34269
+ required: true,
34270
+ displayOptions: {
34271
+ show: {
34272
+ resource: ['webhooks'],
34273
+ operation: ['PublicApiWebhookV2Controller_registerStage'],
34274
+ },
34275
+ },
34276
+ routing: {
34277
+ send: {
34278
+ type: 'body',
34279
+ property: 'name',
34280
+ },
34281
+ },
34282
+ },
34283
+ {
34284
+ displayName: 'Url',
34285
+ name: 'url',
34286
+ type: 'string',
34287
+ default: '',
34288
+ description: 'Webhook callback URL',
34289
+ required: true,
34290
+ displayOptions: {
34291
+ show: {
34292
+ resource: ['webhooks'],
34293
+ operation: ['PublicApiWebhookV2Controller_registerStage'],
34294
+ },
34295
+ },
34296
+ routing: {
34297
+ send: {
34298
+ type: 'body',
34299
+ property: 'url',
34300
+ },
34301
+ },
34302
+ },
34303
+ {
34304
+ displayName: 'Events',
34305
+ name: 'events',
34306
+ type: 'multiOptions',
34307
+ default: '',
34308
+ description: 'Event names to subscribe to',
34309
+ required: true,
34310
+ displayOptions: {
34311
+ show: {
34312
+ resource: ['webhooks'],
34313
+ operation: ['PublicApiWebhookV2Controller_registerStage'],
34314
+ },
34315
+ },
34316
+ options: [
34317
+ {
34318
+ name: 'Stage Created',
34319
+ value: 'Stage Created',
34320
+ },
34321
+ {
34322
+ name: 'Stage Updated',
34323
+ value: 'Stage Updated',
34324
+ },
34325
+ {
34326
+ name: 'Stage Status Changed',
34327
+ value: 'Stage Status Changed',
34328
+ },
34329
+ {
34330
+ name: 'Stage Deleted',
34331
+ value: 'Stage Deleted',
34332
+ },
34333
+ ],
34334
+ routing: {
34335
+ send: {
34336
+ type: 'body',
34337
+ property: 'events',
34338
+ },
34339
+ },
34340
+ },
34341
+ {
34342
+ displayName: 'Filters',
34343
+ name: 'filters',
34344
+ type: 'json',
34345
+ default: {},
34346
+ description: '',
34347
+ required: false,
34348
+ displayOptions: {
34349
+ show: {
34350
+ resource: ['webhooks'],
34351
+ operation: ['PublicApiWebhookV2Controller_registerStage'],
34352
+ },
34353
+ },
34354
+ routing: {
34355
+ send: {
34356
+ type: 'body',
34357
+ property: 'filters',
34358
+ },
34359
+ },
34360
+ },
34361
+ {
34362
+ displayName: 'Business Hours',
34363
+ name: 'businessHours',
34364
+ type: 'collection',
34365
+ default: {},
34366
+ placeholder: 'Add Business Hours',
34367
+ description: '',
34368
+ required: false,
34369
+ displayOptions: {
34370
+ show: {
34371
+ resource: ['webhooks'],
34372
+ operation: ['PublicApiWebhookV2Controller_registerStage'],
34373
+ },
34374
+ },
34375
+ options: [
34376
+ {
34377
+ displayName: 'Enabled',
34378
+ name: 'enabled',
34379
+ type: 'boolean',
34380
+ default: false,
34381
+ description: '',
34382
+ },
34383
+ {
34384
+ displayName: 'Timezone',
34385
+ name: 'timezone',
34386
+ type: 'string',
34387
+ default: '',
34388
+ description: '',
34389
+ },
34390
+ ],
34391
+ routing: {
34392
+ send: {
34393
+ type: 'body',
34394
+ property: 'businessHours',
34395
+ },
34396
+ },
34397
+ },
34398
+ {
34399
+ displayName: 'Workflow',
34400
+ name: 'workflow',
34401
+ type: 'collection',
34402
+ default: {},
34403
+ placeholder: 'Add Workflow',
34404
+ description: '',
34405
+ required: false,
34406
+ displayOptions: {
34407
+ show: {
34408
+ resource: ['webhooks'],
34409
+ operation: ['PublicApiWebhookV2Controller_registerStage'],
34410
+ },
34411
+ },
34412
+ options: [
34413
+ {
34414
+ displayName: 'Platform',
34415
+ name: 'platform',
34416
+ type: 'options',
34417
+ default: '',
34418
+ description: '',
34419
+ options: [
34420
+ {
34421
+ name: 'activepieces',
34422
+ value: 'activepieces',
34423
+ },
34424
+ {
34425
+ name: 'n8n',
34426
+ value: 'n8n',
34427
+ },
34428
+ {
34429
+ name: 'zapier',
34430
+ value: 'zapier',
34431
+ },
34432
+ {
34433
+ name: 'custom',
34434
+ value: 'custom',
34435
+ },
34436
+ ],
34437
+ },
34438
+ {
34439
+ displayName: 'Integration Id',
34440
+ name: 'integrationId',
34441
+ type: 'string',
34442
+ default: '',
34443
+ description: 'integration ID',
34444
+ },
34445
+ {
34446
+ displayName: 'Flow Id',
34447
+ name: 'flowId',
34448
+ type: 'string',
34449
+ default: '',
34450
+ description: 'flow ID',
34451
+ },
34452
+ ],
34453
+ routing: {
34454
+ send: {
34455
+ type: 'body',
34456
+ property: 'workflow',
34457
+ },
34458
+ },
34459
+ },
34460
+ {
34461
+ displayName: 'Name',
34462
+ name: 'name',
34463
+ type: 'string',
34464
+ default: '',
34465
+ description: 'Display name',
34466
+ required: true,
34467
+ displayOptions: {
34468
+ show: {
34469
+ resource: ['webhooks'],
34470
+ operation: ['PublicApiWebhookV2Controller_registerActivity'],
34471
+ },
34472
+ },
34473
+ routing: {
34474
+ send: {
34475
+ type: 'body',
34476
+ property: 'name',
34477
+ },
34478
+ },
34479
+ },
34480
+ {
34481
+ displayName: 'Url',
34482
+ name: 'url',
34483
+ type: 'string',
34484
+ default: '',
34485
+ description: 'Webhook callback URL',
34486
+ required: true,
34487
+ displayOptions: {
34488
+ show: {
34489
+ resource: ['webhooks'],
34490
+ operation: ['PublicApiWebhookV2Controller_registerActivity'],
34491
+ },
34492
+ },
34493
+ routing: {
34494
+ send: {
34495
+ type: 'body',
34496
+ property: 'url',
34497
+ },
34498
+ },
34499
+ },
34500
+ {
34501
+ displayName: 'Events',
34502
+ name: 'events',
34503
+ type: 'multiOptions',
34504
+ default: '',
34505
+ description: 'Event names to subscribe to',
34506
+ required: true,
34507
+ displayOptions: {
34508
+ show: {
34509
+ resource: ['webhooks'],
34510
+ operation: ['PublicApiWebhookV2Controller_registerActivity'],
34511
+ },
34512
+ },
34513
+ options: [
34514
+ {
34515
+ name: 'Activity Created',
34516
+ value: 'Activity Created',
34517
+ },
34518
+ {
34519
+ name: 'Activity Updated',
34520
+ value: 'Activity Updated',
34521
+ },
34522
+ {
34523
+ name: 'Activity Deleted',
34524
+ value: 'Activity Deleted',
34525
+ },
34526
+ ],
34527
+ routing: {
34528
+ send: {
34529
+ type: 'body',
34530
+ property: 'events',
34531
+ },
34532
+ },
34533
+ },
34534
+ {
34535
+ displayName: 'Filters',
34536
+ name: 'filters',
34537
+ type: 'collection',
34538
+ default: {},
34539
+ placeholder: 'Add Filters',
34540
+ description: '',
34541
+ required: false,
34542
+ displayOptions: {
34543
+ show: {
34544
+ resource: ['webhooks'],
34545
+ operation: ['PublicApiWebhookV2Controller_registerActivity'],
34546
+ },
34547
+ },
34548
+ options: [
34549
+ {
34550
+ displayName: 'Activity Entity',
34551
+ name: 'activityEntity',
34552
+ type: 'string',
34553
+ default: '',
34554
+ description: 'Entity Type',
34555
+ typeOptions: {
34556
+ multipleValues: true,
34557
+ },
34558
+ },
34559
+ {
34560
+ displayName: 'Activity Kind',
34561
+ name: 'activityKind',
34562
+ type: 'string',
34563
+ default: '',
34564
+ description: 'Activity Kind',
34565
+ typeOptions: {
34566
+ multipleValues: true,
34567
+ },
34568
+ },
34569
+ {
34570
+ displayName: 'Activity Type',
34571
+ name: 'activityType',
34572
+ type: 'string',
34573
+ default: '',
34574
+ description: 'Activity Kind (legacy key)',
34575
+ typeOptions: {
34576
+ multipleValues: true,
34577
+ },
34578
+ },
34579
+ ],
34580
+ routing: {
34581
+ send: {
34582
+ type: 'body',
34583
+ property: 'filters',
34584
+ },
34585
+ },
34586
+ },
34587
+ {
34588
+ displayName: 'Business Hours',
34589
+ name: 'businessHours',
34590
+ type: 'collection',
34591
+ default: {},
34592
+ placeholder: 'Add Business Hours',
34593
+ description: '',
34594
+ required: false,
34595
+ displayOptions: {
34596
+ show: {
34597
+ resource: ['webhooks'],
34598
+ operation: ['PublicApiWebhookV2Controller_registerActivity'],
34599
+ },
34600
+ },
34601
+ options: [
34602
+ {
34603
+ displayName: 'Enabled',
34604
+ name: 'enabled',
34605
+ type: 'boolean',
34606
+ default: false,
34607
+ description: '',
34608
+ },
34609
+ {
34610
+ displayName: 'Timezone',
34611
+ name: 'timezone',
34612
+ type: 'string',
34613
+ default: '',
34614
+ description: '',
34615
+ },
34616
+ ],
34617
+ routing: {
34618
+ send: {
34619
+ type: 'body',
34620
+ property: 'businessHours',
34621
+ },
34622
+ },
34623
+ },
34624
+ {
34625
+ displayName: 'Workflow',
34626
+ name: 'workflow',
34627
+ type: 'collection',
34628
+ default: {},
34629
+ placeholder: 'Add Workflow',
34630
+ description: '',
34631
+ required: false,
34632
+ displayOptions: {
34633
+ show: {
34634
+ resource: ['webhooks'],
34635
+ operation: ['PublicApiWebhookV2Controller_registerActivity'],
34636
+ },
34637
+ },
34638
+ options: [
34639
+ {
34640
+ displayName: 'Platform',
34641
+ name: 'platform',
34642
+ type: 'options',
34643
+ default: '',
34644
+ description: '',
34645
+ options: [
34646
+ {
34647
+ name: 'activepieces',
34648
+ value: 'activepieces',
34649
+ },
34650
+ {
34651
+ name: 'n8n',
34652
+ value: 'n8n',
34653
+ },
34654
+ {
34655
+ name: 'zapier',
34656
+ value: 'zapier',
34657
+ },
34658
+ {
34659
+ name: 'custom',
34660
+ value: 'custom',
34661
+ },
34662
+ ],
34663
+ },
34664
+ {
34665
+ displayName: 'Integration Id',
34666
+ name: 'integrationId',
34667
+ type: 'string',
34668
+ default: '',
34669
+ description: 'integration ID',
34670
+ },
34671
+ {
34672
+ displayName: 'Flow Id',
34673
+ name: 'flowId',
34674
+ type: 'string',
34675
+ default: '',
34676
+ description: 'flow ID',
34677
+ },
34678
+ ],
34679
+ routing: {
34680
+ send: {
34681
+ type: 'body',
34682
+ property: 'workflow',
34683
+ },
34684
+ },
34685
+ },
34686
+ {
34687
+ displayName: 'Name',
34688
+ name: 'name',
34689
+ type: 'string',
34690
+ default: '',
34691
+ description: 'Display name',
34692
+ required: true,
34693
+ displayOptions: {
34694
+ show: {
34695
+ resource: ['webhooks'],
34696
+ operation: ['PublicApiWebhookV2Controller_registerInvoice'],
34697
+ },
34698
+ },
34699
+ routing: {
34700
+ send: {
34701
+ type: 'body',
34702
+ property: 'name',
34703
+ },
34704
+ },
34705
+ },
34706
+ {
34707
+ displayName: 'Url',
34708
+ name: 'url',
34709
+ type: 'string',
34710
+ default: '',
34711
+ description: 'Webhook callback URL',
34712
+ required: true,
34713
+ displayOptions: {
34714
+ show: {
34715
+ resource: ['webhooks'],
34716
+ operation: ['PublicApiWebhookV2Controller_registerInvoice'],
34717
+ },
34718
+ },
34719
+ routing: {
34720
+ send: {
34721
+ type: 'body',
34722
+ property: 'url',
34723
+ },
34724
+ },
34725
+ },
34726
+ {
34727
+ displayName: 'Events',
34728
+ name: 'events',
34729
+ type: 'multiOptions',
34730
+ default: '',
34731
+ description: 'Event names to subscribe to',
34732
+ required: true,
34733
+ displayOptions: {
34734
+ show: {
34735
+ resource: ['webhooks'],
34736
+ operation: ['PublicApiWebhookV2Controller_registerInvoice'],
34737
+ },
34738
+ },
34739
+ options: [
34740
+ {
34741
+ name: 'Invoice Created',
34742
+ value: 'Invoice Created',
34743
+ },
34744
+ {
34745
+ name: 'Invoice Status Changed',
34746
+ value: 'Invoice Status Changed',
34747
+ },
34748
+ ],
34749
+ routing: {
34750
+ send: {
34751
+ type: 'body',
34752
+ property: 'events',
34753
+ },
34754
+ },
34755
+ },
34756
+ {
34757
+ displayName: 'Filters',
34758
+ name: 'filters',
34759
+ type: 'json',
34760
+ default: {},
34761
+ description: '',
34762
+ required: false,
34763
+ displayOptions: {
34764
+ show: {
34765
+ resource: ['webhooks'],
34766
+ operation: ['PublicApiWebhookV2Controller_registerInvoice'],
34767
+ },
34768
+ },
34769
+ routing: {
34770
+ send: {
34771
+ type: 'body',
34772
+ property: 'filters',
34773
+ },
34774
+ },
34775
+ },
34776
+ {
34777
+ displayName: 'Business Hours',
34778
+ name: 'businessHours',
34779
+ type: 'collection',
34780
+ default: {},
34781
+ placeholder: 'Add Business Hours',
34782
+ description: '',
34783
+ required: false,
34784
+ displayOptions: {
34785
+ show: {
34786
+ resource: ['webhooks'],
34787
+ operation: ['PublicApiWebhookV2Controller_registerInvoice'],
34788
+ },
34789
+ },
34790
+ options: [
34791
+ {
34792
+ displayName: 'Enabled',
34793
+ name: 'enabled',
34794
+ type: 'boolean',
34795
+ default: false,
34796
+ description: '',
34797
+ },
34798
+ {
34799
+ displayName: 'Timezone',
34800
+ name: 'timezone',
34801
+ type: 'string',
34802
+ default: '',
34803
+ description: '',
34804
+ },
34805
+ ],
34806
+ routing: {
34807
+ send: {
34808
+ type: 'body',
34809
+ property: 'businessHours',
34810
+ },
34811
+ },
34812
+ },
34813
+ {
34814
+ displayName: 'Workflow',
34815
+ name: 'workflow',
34816
+ type: 'collection',
34817
+ default: {},
34818
+ placeholder: 'Add Workflow',
34819
+ description: '',
34820
+ required: false,
34821
+ displayOptions: {
34822
+ show: {
34823
+ resource: ['webhooks'],
34824
+ operation: ['PublicApiWebhookV2Controller_registerInvoice'],
34825
+ },
34826
+ },
34827
+ options: [
34828
+ {
34829
+ displayName: 'Platform',
34830
+ name: 'platform',
34831
+ type: 'options',
34832
+ default: '',
34833
+ description: '',
34834
+ options: [
34835
+ {
34836
+ name: 'activepieces',
34837
+ value: 'activepieces',
34838
+ },
34839
+ {
34840
+ name: 'n8n',
34841
+ value: 'n8n',
34842
+ },
34843
+ {
34844
+ name: 'zapier',
34845
+ value: 'zapier',
34846
+ },
34847
+ {
34848
+ name: 'custom',
34849
+ value: 'custom',
34850
+ },
34851
+ ],
34852
+ },
34853
+ {
34854
+ displayName: 'Integration Id',
34855
+ name: 'integrationId',
34856
+ type: 'string',
34857
+ default: '',
34858
+ description: 'integration ID',
34859
+ },
34860
+ {
34861
+ displayName: 'Flow Id',
34862
+ name: 'flowId',
34863
+ type: 'string',
34864
+ default: '',
34865
+ description: 'flow ID',
34866
+ },
34867
+ ],
34868
+ routing: {
34869
+ send: {
34870
+ type: 'body',
34871
+ property: 'workflow',
34872
+ },
34873
+ },
34874
+ },
34875
+ {
34876
+ displayName: 'Name',
34877
+ name: 'name',
34878
+ type: 'string',
34879
+ default: '',
34880
+ description: 'Display name',
34881
+ required: true,
34882
+ displayOptions: {
34883
+ show: {
34884
+ resource: ['webhooks'],
34885
+ operation: ['PublicApiWebhookV2Controller_registerBill'],
34886
+ },
34887
+ },
34888
+ routing: {
34889
+ send: {
34890
+ type: 'body',
34891
+ property: 'name',
34892
+ },
34893
+ },
34894
+ },
34895
+ {
34896
+ displayName: 'Url',
34897
+ name: 'url',
34898
+ type: 'string',
34899
+ default: '',
34900
+ description: 'Webhook callback URL',
34901
+ required: true,
34902
+ displayOptions: {
34903
+ show: {
34904
+ resource: ['webhooks'],
34905
+ operation: ['PublicApiWebhookV2Controller_registerBill'],
34906
+ },
34907
+ },
34908
+ routing: {
34909
+ send: {
34910
+ type: 'body',
34911
+ property: 'url',
34912
+ },
34913
+ },
34914
+ },
34915
+ {
34916
+ displayName: 'Events',
34917
+ name: 'events',
34918
+ type: 'multiOptions',
34919
+ default: '',
34920
+ description: 'Event names to subscribe to',
34921
+ required: true,
34922
+ displayOptions: {
34923
+ show: {
34924
+ resource: ['webhooks'],
34925
+ operation: ['PublicApiWebhookV2Controller_registerBill'],
34926
+ },
34927
+ },
34928
+ options: [
34929
+ {
34930
+ name: 'Bill Created',
34931
+ value: 'Bill Created',
34932
+ },
34933
+ {
34934
+ name: 'Bill Status Changed',
34935
+ value: 'Bill Status Changed',
34936
+ },
34937
+ ],
34938
+ routing: {
34939
+ send: {
34940
+ type: 'body',
34941
+ property: 'events',
34942
+ },
34943
+ },
34944
+ },
34945
+ {
34946
+ displayName: 'Filters',
34947
+ name: 'filters',
34948
+ type: 'json',
34949
+ default: {},
34950
+ description: '',
34951
+ required: false,
34952
+ displayOptions: {
34953
+ show: {
34954
+ resource: ['webhooks'],
34955
+ operation: ['PublicApiWebhookV2Controller_registerBill'],
34956
+ },
34957
+ },
34958
+ routing: {
34959
+ send: {
34960
+ type: 'body',
34961
+ property: 'filters',
34962
+ },
34963
+ },
34964
+ },
34965
+ {
34966
+ displayName: 'Business Hours',
34967
+ name: 'businessHours',
34968
+ type: 'collection',
34969
+ default: {},
34970
+ placeholder: 'Add Business Hours',
34971
+ description: '',
34972
+ required: false,
34973
+ displayOptions: {
34974
+ show: {
34975
+ resource: ['webhooks'],
34976
+ operation: ['PublicApiWebhookV2Controller_registerBill'],
34977
+ },
34978
+ },
34979
+ options: [
34980
+ {
34981
+ displayName: 'Enabled',
34982
+ name: 'enabled',
34983
+ type: 'boolean',
34984
+ default: false,
34985
+ description: '',
34986
+ },
34987
+ {
34988
+ displayName: 'Timezone',
34989
+ name: 'timezone',
34990
+ type: 'string',
34991
+ default: '',
34992
+ description: '',
34993
+ },
34994
+ ],
34995
+ routing: {
34996
+ send: {
34997
+ type: 'body',
34998
+ property: 'businessHours',
34999
+ },
35000
+ },
35001
+ },
35002
+ {
35003
+ displayName: 'Workflow',
35004
+ name: 'workflow',
35005
+ type: 'collection',
35006
+ default: {},
35007
+ placeholder: 'Add Workflow',
35008
+ description: '',
35009
+ required: false,
35010
+ displayOptions: {
35011
+ show: {
35012
+ resource: ['webhooks'],
35013
+ operation: ['PublicApiWebhookV2Controller_registerBill'],
35014
+ },
35015
+ },
35016
+ options: [
35017
+ {
35018
+ displayName: 'Platform',
35019
+ name: 'platform',
35020
+ type: 'options',
35021
+ default: '',
35022
+ description: '',
35023
+ options: [
35024
+ {
35025
+ name: 'activepieces',
35026
+ value: 'activepieces',
35027
+ },
35028
+ {
35029
+ name: 'n8n',
35030
+ value: 'n8n',
35031
+ },
35032
+ {
35033
+ name: 'zapier',
35034
+ value: 'zapier',
35035
+ },
35036
+ {
35037
+ name: 'custom',
35038
+ value: 'custom',
35039
+ },
35040
+ ],
35041
+ },
35042
+ {
35043
+ displayName: 'Integration Id',
35044
+ name: 'integrationId',
35045
+ type: 'string',
35046
+ default: '',
35047
+ description: 'integration ID',
35048
+ },
35049
+ {
35050
+ displayName: 'Flow Id',
35051
+ name: 'flowId',
35052
+ type: 'string',
35053
+ default: '',
35054
+ description: 'flow ID',
35055
+ },
35056
+ ],
35057
+ routing: {
35058
+ send: {
35059
+ type: 'body',
35060
+ property: 'workflow',
35061
+ },
35062
+ },
35063
+ },
35064
+ {
35065
+ displayName: 'Name',
35066
+ name: 'name',
35067
+ type: 'string',
35068
+ default: '',
35069
+ description: 'Display name',
35070
+ required: true,
35071
+ displayOptions: {
35072
+ show: {
35073
+ resource: ['webhooks'],
35074
+ operation: ['PublicApiWebhookV2Controller_registerQuote'],
35075
+ },
35076
+ },
35077
+ routing: {
35078
+ send: {
35079
+ type: 'body',
35080
+ property: 'name',
35081
+ },
35082
+ },
35083
+ },
35084
+ {
35085
+ displayName: 'Url',
35086
+ name: 'url',
35087
+ type: 'string',
35088
+ default: '',
35089
+ description: 'Webhook callback URL',
35090
+ required: true,
35091
+ displayOptions: {
35092
+ show: {
35093
+ resource: ['webhooks'],
35094
+ operation: ['PublicApiWebhookV2Controller_registerQuote'],
35095
+ },
35096
+ },
35097
+ routing: {
35098
+ send: {
35099
+ type: 'body',
35100
+ property: 'url',
35101
+ },
35102
+ },
35103
+ },
35104
+ {
35105
+ displayName: 'Events',
35106
+ name: 'events',
35107
+ type: 'multiOptions',
35108
+ default: '',
35109
+ description: 'Event names to subscribe to',
35110
+ required: true,
35111
+ displayOptions: {
35112
+ show: {
35113
+ resource: ['webhooks'],
35114
+ operation: ['PublicApiWebhookV2Controller_registerQuote'],
35115
+ },
35116
+ },
35117
+ options: [
35118
+ {
35119
+ name: 'Quote Created',
35120
+ value: 'Quote Created',
35121
+ },
35122
+ {
35123
+ name: 'Quote Updated',
35124
+ value: 'Quote Updated',
35125
+ },
35126
+ {
35127
+ name: 'Quote Status Changed',
35128
+ value: 'Quote Status Changed',
35129
+ },
35130
+ {
35131
+ name: 'Quote Deleted',
35132
+ value: 'Quote Deleted',
35133
+ },
35134
+ ],
35135
+ routing: {
35136
+ send: {
35137
+ type: 'body',
35138
+ property: 'events',
35139
+ },
35140
+ },
35141
+ },
35142
+ {
35143
+ displayName: 'Filters',
35144
+ name: 'filters',
35145
+ type: 'json',
35146
+ default: {},
35147
+ description: '',
35148
+ required: false,
35149
+ displayOptions: {
35150
+ show: {
35151
+ resource: ['webhooks'],
35152
+ operation: ['PublicApiWebhookV2Controller_registerQuote'],
35153
+ },
35154
+ },
35155
+ routing: {
35156
+ send: {
35157
+ type: 'body',
35158
+ property: 'filters',
35159
+ },
35160
+ },
35161
+ },
35162
+ {
35163
+ displayName: 'Business Hours',
35164
+ name: 'businessHours',
35165
+ type: 'collection',
35166
+ default: {},
35167
+ placeholder: 'Add Business Hours',
35168
+ description: '',
35169
+ required: false,
35170
+ displayOptions: {
35171
+ show: {
35172
+ resource: ['webhooks'],
35173
+ operation: ['PublicApiWebhookV2Controller_registerQuote'],
35174
+ },
35175
+ },
35176
+ options: [
35177
+ {
35178
+ displayName: 'Enabled',
35179
+ name: 'enabled',
35180
+ type: 'boolean',
35181
+ default: false,
35182
+ description: '',
35183
+ },
35184
+ {
35185
+ displayName: 'Timezone',
35186
+ name: 'timezone',
35187
+ type: 'string',
35188
+ default: '',
35189
+ description: '',
35190
+ },
35191
+ ],
35192
+ routing: {
35193
+ send: {
35194
+ type: 'body',
35195
+ property: 'businessHours',
35196
+ },
35197
+ },
35198
+ },
35199
+ {
35200
+ displayName: 'Workflow',
35201
+ name: 'workflow',
35202
+ type: 'collection',
35203
+ default: {},
35204
+ placeholder: 'Add Workflow',
35205
+ description: '',
35206
+ required: false,
35207
+ displayOptions: {
35208
+ show: {
35209
+ resource: ['webhooks'],
35210
+ operation: ['PublicApiWebhookV2Controller_registerQuote'],
35211
+ },
35212
+ },
35213
+ options: [
35214
+ {
35215
+ displayName: 'Platform',
35216
+ name: 'platform',
35217
+ type: 'options',
35218
+ default: '',
35219
+ description: '',
35220
+ options: [
35221
+ {
35222
+ name: 'activepieces',
35223
+ value: 'activepieces',
35224
+ },
35225
+ {
35226
+ name: 'n8n',
35227
+ value: 'n8n',
35228
+ },
35229
+ {
35230
+ name: 'zapier',
35231
+ value: 'zapier',
35232
+ },
35233
+ {
35234
+ name: 'custom',
35235
+ value: 'custom',
35236
+ },
35237
+ ],
35238
+ },
35239
+ {
35240
+ displayName: 'Integration Id',
35241
+ name: 'integrationId',
35242
+ type: 'string',
35243
+ default: '',
35244
+ description: 'integration ID',
35245
+ },
35246
+ {
35247
+ displayName: 'Flow Id',
35248
+ name: 'flowId',
35249
+ type: 'string',
35250
+ default: '',
35251
+ description: 'flow ID',
35252
+ },
35253
+ ],
35254
+ routing: {
35255
+ send: {
35256
+ type: 'body',
35257
+ property: 'workflow',
35258
+ },
35259
+ },
35260
+ },
35261
+ {
35262
+ displayName: 'Name',
35263
+ name: 'name',
35264
+ type: 'string',
35265
+ default: '',
35266
+ description: 'Display name',
35267
+ required: true,
35268
+ displayOptions: {
35269
+ show: {
35270
+ resource: ['webhooks'],
35271
+ operation: ['PublicApiWebhookV2Controller_registerOpportunity'],
35272
+ },
35273
+ },
35274
+ routing: {
35275
+ send: {
35276
+ type: 'body',
35277
+ property: 'name',
35278
+ },
35279
+ },
35280
+ },
35281
+ {
35282
+ displayName: 'Url',
35283
+ name: 'url',
35284
+ type: 'string',
35285
+ default: '',
35286
+ description: 'Webhook callback URL',
35287
+ required: true,
35288
+ displayOptions: {
35289
+ show: {
35290
+ resource: ['webhooks'],
35291
+ operation: ['PublicApiWebhookV2Controller_registerOpportunity'],
35292
+ },
35293
+ },
35294
+ routing: {
35295
+ send: {
35296
+ type: 'body',
35297
+ property: 'url',
35298
+ },
35299
+ },
35300
+ },
35301
+ {
35302
+ displayName: 'Events',
35303
+ name: 'events',
35304
+ type: 'multiOptions',
35305
+ default: '',
35306
+ description: 'Event names to subscribe to',
35307
+ required: true,
35308
+ displayOptions: {
35309
+ show: {
35310
+ resource: ['webhooks'],
35311
+ operation: ['PublicApiWebhookV2Controller_registerOpportunity'],
35312
+ },
35313
+ },
35314
+ options: [
35315
+ {
35316
+ name: 'Opportunity Created',
35317
+ value: 'Opportunity Created',
35318
+ },
35319
+ {
35320
+ name: 'Opportunity Updated',
35321
+ value: 'Opportunity Updated',
35322
+ },
35323
+ {
35324
+ name: 'Opportunity Status Changed',
35325
+ value: 'Opportunity Status Changed',
35326
+ },
35327
+ {
35328
+ name: 'Opportunity Deleted',
35329
+ value: 'Opportunity Deleted',
35330
+ },
35331
+ ],
35332
+ routing: {
35333
+ send: {
35334
+ type: 'body',
35335
+ property: 'events',
35336
+ },
35337
+ },
35338
+ },
35339
+ {
35340
+ displayName: 'Filters',
35341
+ name: 'filters',
35342
+ type: 'collection',
35343
+ default: {},
35344
+ placeholder: 'Add Filters',
35345
+ description: '',
35346
+ required: false,
35347
+ displayOptions: {
35348
+ show: {
35349
+ resource: ['webhooks'],
35350
+ operation: ['PublicApiWebhookV2Controller_registerOpportunity'],
35351
+ },
35352
+ },
35353
+ options: [
35354
+ {
35355
+ displayName: 'Customer',
35356
+ name: 'customer',
35357
+ type: 'string',
35358
+ default: '',
35359
+ description: 'Customer',
35360
+ typeOptions: {
35361
+ multipleValues: true,
35362
+ },
35363
+ },
35364
+ {
35365
+ displayName: 'Billing Company',
35366
+ name: 'billingCompany',
35367
+ type: 'string',
35368
+ default: '',
35369
+ description: 'Billing Company',
35370
+ typeOptions: {
35371
+ multipleValues: true,
35372
+ },
35373
+ },
35374
+ {
35375
+ displayName: 'Tag',
35376
+ name: 'tag',
35377
+ type: 'string',
35378
+ default: '',
35379
+ description: 'Tags',
35380
+ typeOptions: {
35381
+ multipleValues: true,
35382
+ },
35383
+ },
35384
+ {
35385
+ displayName: 'Opportunity Stage',
35386
+ name: 'opportunityStage',
35387
+ type: 'string',
35388
+ default: '',
35389
+ description: 'Stage',
35390
+ typeOptions: {
35391
+ multipleValues: true,
35392
+ },
35393
+ },
35394
+ {
35395
+ displayName: 'Owner',
35396
+ name: 'owner',
35397
+ type: 'string',
35398
+ default: '',
35399
+ description: 'Owner',
35400
+ typeOptions: {
35401
+ multipleValues: true,
35402
+ },
35403
+ },
35404
+ {
35405
+ displayName: 'Zone',
35406
+ name: 'zone',
35407
+ type: 'string',
35408
+ default: '',
35409
+ description: 'Zone',
35410
+ typeOptions: {
35411
+ multipleValues: true,
35412
+ },
35413
+ },
35414
+ {
35415
+ displayName: 'Timezone',
35416
+ name: 'timezone',
35417
+ type: 'string',
35418
+ default: '',
35419
+ description: 'Timezone',
35420
+ typeOptions: {
35421
+ multipleValues: true,
35422
+ },
35423
+ },
35424
+ {
35425
+ displayName: 'State',
35426
+ name: 'state',
35427
+ type: 'string',
35428
+ default: '',
35429
+ description: 'State',
35430
+ typeOptions: {
35431
+ multipleValues: true,
35432
+ },
35433
+ },
35434
+ ],
35435
+ routing: {
35436
+ send: {
35437
+ type: 'body',
35438
+ property: 'filters',
35439
+ },
35440
+ },
35441
+ },
35442
+ {
35443
+ displayName: 'Business Hours',
35444
+ name: 'businessHours',
35445
+ type: 'collection',
35446
+ default: {},
35447
+ placeholder: 'Add Business Hours',
35448
+ description: '',
35449
+ required: false,
35450
+ displayOptions: {
35451
+ show: {
35452
+ resource: ['webhooks'],
35453
+ operation: ['PublicApiWebhookV2Controller_registerOpportunity'],
35454
+ },
35455
+ },
35456
+ options: [
35457
+ {
35458
+ displayName: 'Enabled',
35459
+ name: 'enabled',
35460
+ type: 'boolean',
35461
+ default: false,
35462
+ description: '',
35463
+ },
35464
+ {
35465
+ displayName: 'Timezone',
35466
+ name: 'timezone',
35467
+ type: 'string',
35468
+ default: '',
35469
+ description: '',
35470
+ },
35471
+ ],
35472
+ routing: {
35473
+ send: {
35474
+ type: 'body',
35475
+ property: 'businessHours',
35476
+ },
35477
+ },
35478
+ },
35479
+ {
35480
+ displayName: 'Workflow',
35481
+ name: 'workflow',
35482
+ type: 'collection',
35483
+ default: {},
35484
+ placeholder: 'Add Workflow',
35485
+ description: '',
35486
+ required: false,
35487
+ displayOptions: {
35488
+ show: {
35489
+ resource: ['webhooks'],
35490
+ operation: ['PublicApiWebhookV2Controller_registerOpportunity'],
35491
+ },
35492
+ },
35493
+ options: [
35494
+ {
35495
+ displayName: 'Platform',
35496
+ name: 'platform',
35497
+ type: 'options',
35498
+ default: '',
35499
+ description: '',
35500
+ options: [
35501
+ {
35502
+ name: 'activepieces',
35503
+ value: 'activepieces',
35504
+ },
35505
+ {
35506
+ name: 'n8n',
35507
+ value: 'n8n',
35508
+ },
35509
+ {
35510
+ name: 'zapier',
35511
+ value: 'zapier',
35512
+ },
35513
+ {
35514
+ name: 'custom',
35515
+ value: 'custom',
35516
+ },
35517
+ ],
35518
+ },
35519
+ {
35520
+ displayName: 'Integration Id',
35521
+ name: 'integrationId',
35522
+ type: 'string',
35523
+ default: '',
35524
+ description: 'integration ID',
35525
+ },
35526
+ {
35527
+ displayName: 'Flow Id',
35528
+ name: 'flowId',
35529
+ type: 'string',
35530
+ default: '',
35531
+ description: 'flow ID',
35532
+ },
35533
+ ],
35534
+ routing: {
35535
+ send: {
35536
+ type: 'body',
35537
+ property: 'workflow',
35538
+ },
35539
+ },
35540
+ },
35541
+ {
35542
+ displayName: 'Name',
35543
+ name: 'name',
35544
+ type: 'string',
35545
+ default: '',
35546
+ description: 'Display name',
35547
+ required: true,
35548
+ displayOptions: {
35549
+ show: {
35550
+ resource: ['webhooks'],
35551
+ operation: ['PublicApiWebhookV2Controller_registerLead'],
35552
+ },
35553
+ },
35554
+ routing: {
35555
+ send: {
35556
+ type: 'body',
35557
+ property: 'name',
35558
+ },
35559
+ },
35560
+ },
35561
+ {
35562
+ displayName: 'Url',
35563
+ name: 'url',
35564
+ type: 'string',
35565
+ default: '',
35566
+ description: 'Webhook callback URL',
35567
+ required: true,
35568
+ displayOptions: {
35569
+ show: {
35570
+ resource: ['webhooks'],
35571
+ operation: ['PublicApiWebhookV2Controller_registerLead'],
35572
+ },
35573
+ },
35574
+ routing: {
35575
+ send: {
35576
+ type: 'body',
35577
+ property: 'url',
35578
+ },
35579
+ },
35580
+ },
35581
+ {
35582
+ displayName: 'Events',
35583
+ name: 'events',
35584
+ type: 'multiOptions',
35585
+ default: '',
35586
+ description: 'Event names to subscribe to',
35587
+ required: true,
35588
+ displayOptions: {
35589
+ show: {
35590
+ resource: ['webhooks'],
35591
+ operation: ['PublicApiWebhookV2Controller_registerLead'],
35592
+ },
35593
+ },
35594
+ options: [
35595
+ {
35596
+ name: 'Lead Created',
35597
+ value: 'Lead Created',
35598
+ },
35599
+ {
35600
+ name: 'Lead Updated',
35601
+ value: 'Lead Updated',
35602
+ },
35603
+ {
35604
+ name: 'Lead Status Changed',
35605
+ value: 'Lead Status Changed',
35606
+ },
35607
+ {
35608
+ name: 'Lead Deleted',
35609
+ value: 'Lead Deleted',
35610
+ },
35611
+ {
35612
+ name: 'Lead Converted',
35613
+ value: 'Lead Converted',
35614
+ },
35615
+ ],
35616
+ routing: {
35617
+ send: {
35618
+ type: 'body',
35619
+ property: 'events',
35620
+ },
35621
+ },
35622
+ },
35623
+ {
35624
+ displayName: 'Filters',
35625
+ name: 'filters',
35626
+ type: 'collection',
35627
+ default: {},
35628
+ placeholder: 'Add Filters',
35629
+ description: '',
35630
+ required: false,
35631
+ displayOptions: {
35632
+ show: {
35633
+ resource: ['webhooks'],
35634
+ operation: ['PublicApiWebhookV2Controller_registerLead'],
35635
+ },
35636
+ },
35637
+ options: [
35638
+ {
35639
+ displayName: 'Customer',
35640
+ name: 'customer',
35641
+ type: 'string',
35642
+ default: '',
35643
+ description: 'Customer',
35644
+ typeOptions: {
35645
+ multipleValues: true,
35646
+ },
35647
+ },
35648
+ {
35649
+ displayName: 'Billing Company',
35650
+ name: 'billingCompany',
35651
+ type: 'string',
35652
+ default: '',
35653
+ description: 'Billing Company',
35654
+ typeOptions: {
35655
+ multipleValues: true,
35656
+ },
35657
+ },
35658
+ {
35659
+ displayName: 'Tag',
35660
+ name: 'tag',
35661
+ type: 'string',
35662
+ default: '',
35663
+ description: 'Tags',
35664
+ typeOptions: {
35665
+ multipleValues: true,
35666
+ },
35667
+ },
35668
+ {
35669
+ displayName: 'Lead Stage',
35670
+ name: 'leadStage',
35671
+ type: 'string',
35672
+ default: '',
35673
+ description: 'Stage',
35674
+ typeOptions: {
35675
+ multipleValues: true,
35676
+ },
35677
+ },
35678
+ {
35679
+ displayName: 'Lead Source',
35680
+ name: 'leadSource',
35681
+ type: 'string',
35682
+ default: '',
35683
+ description: 'Source',
35684
+ typeOptions: {
35685
+ multipleValues: true,
35686
+ },
35687
+ },
35688
+ {
35689
+ displayName: 'Owner',
35690
+ name: 'owner',
35691
+ type: 'string',
35692
+ default: '',
35693
+ description: 'Owner',
35694
+ typeOptions: {
35695
+ multipleValues: true,
35696
+ },
35697
+ },
35698
+ {
35699
+ displayName: 'Type',
35700
+ name: 'type',
35701
+ type: 'string',
35702
+ default: '',
35703
+ description: 'Job Type',
35704
+ typeOptions: {
35705
+ multipleValues: true,
35706
+ },
35707
+ },
35708
+ {
35709
+ displayName: 'Zone',
35710
+ name: 'zone',
35711
+ type: 'string',
35712
+ default: '',
35713
+ description: 'Zone',
35714
+ typeOptions: {
35715
+ multipleValues: true,
35716
+ },
35717
+ },
35718
+ {
35719
+ displayName: 'Timezone',
35720
+ name: 'timezone',
35721
+ type: 'string',
35722
+ default: '',
35723
+ description: 'Timezone',
35724
+ typeOptions: {
35725
+ multipleValues: true,
35726
+ },
35727
+ },
35728
+ {
35729
+ displayName: 'State',
35730
+ name: 'state',
35731
+ type: 'string',
35732
+ default: '',
35733
+ description: 'State',
35734
+ typeOptions: {
35735
+ multipleValues: true,
35736
+ },
35737
+ },
35738
+ ],
35739
+ routing: {
35740
+ send: {
35741
+ type: 'body',
35742
+ property: 'filters',
35743
+ },
35744
+ },
35745
+ },
35746
+ {
35747
+ displayName: 'Business Hours',
35748
+ name: 'businessHours',
35749
+ type: 'collection',
35750
+ default: {},
35751
+ placeholder: 'Add Business Hours',
35752
+ description: '',
35753
+ required: false,
35754
+ displayOptions: {
35755
+ show: {
35756
+ resource: ['webhooks'],
35757
+ operation: ['PublicApiWebhookV2Controller_registerLead'],
35758
+ },
35759
+ },
35760
+ options: [
35761
+ {
35762
+ displayName: 'Enabled',
35763
+ name: 'enabled',
35764
+ type: 'boolean',
35765
+ default: false,
35766
+ description: '',
35767
+ },
35768
+ {
35769
+ displayName: 'Timezone',
35770
+ name: 'timezone',
35771
+ type: 'string',
35772
+ default: '',
35773
+ description: '',
35774
+ },
35775
+ ],
35776
+ routing: {
35777
+ send: {
35778
+ type: 'body',
35779
+ property: 'businessHours',
35780
+ },
35781
+ },
35782
+ },
35783
+ {
35784
+ displayName: 'Workflow',
35785
+ name: 'workflow',
35786
+ type: 'collection',
35787
+ default: {},
35788
+ placeholder: 'Add Workflow',
35789
+ description: '',
35790
+ required: false,
35791
+ displayOptions: {
35792
+ show: {
35793
+ resource: ['webhooks'],
35794
+ operation: ['PublicApiWebhookV2Controller_registerLead'],
35795
+ },
35796
+ },
35797
+ options: [
35798
+ {
35799
+ displayName: 'Platform',
35800
+ name: 'platform',
35801
+ type: 'options',
35802
+ default: '',
35803
+ description: '',
35804
+ options: [
35805
+ {
35806
+ name: 'activepieces',
35807
+ value: 'activepieces',
35808
+ },
35809
+ {
35810
+ name: 'n8n',
35811
+ value: 'n8n',
35812
+ },
35813
+ {
35814
+ name: 'zapier',
35815
+ value: 'zapier',
35816
+ },
35817
+ {
35818
+ name: 'custom',
35819
+ value: 'custom',
35820
+ },
35821
+ ],
35822
+ },
35823
+ {
35824
+ displayName: 'Integration Id',
35825
+ name: 'integrationId',
35826
+ type: 'string',
35827
+ default: '',
35828
+ description: 'integration ID',
35829
+ },
35830
+ {
35831
+ displayName: 'Flow Id',
35832
+ name: 'flowId',
35833
+ type: 'string',
35834
+ default: '',
35835
+ description: 'flow ID',
35836
+ },
35837
+ ],
35838
+ routing: {
35839
+ send: {
35840
+ type: 'body',
35841
+ property: 'workflow',
35842
+ },
35843
+ },
35844
+ },
35845
+ {
35846
+ displayName: 'Name',
35847
+ name: 'name',
35848
+ type: 'string',
35849
+ default: '',
35850
+ description: 'Display name',
35851
+ required: true,
35852
+ displayOptions: {
35853
+ show: {
35854
+ resource: ['webhooks'],
35855
+ operation: ['PublicApiWebhookV2Controller_registerTask'],
35856
+ },
35857
+ },
35858
+ routing: {
35859
+ send: {
35860
+ type: 'body',
35861
+ property: 'name',
35862
+ },
35863
+ },
35864
+ },
35865
+ {
35866
+ displayName: 'Url',
35867
+ name: 'url',
35868
+ type: 'string',
35869
+ default: '',
35870
+ description: 'Webhook callback URL',
35871
+ required: true,
35872
+ displayOptions: {
35873
+ show: {
35874
+ resource: ['webhooks'],
35875
+ operation: ['PublicApiWebhookV2Controller_registerTask'],
35876
+ },
35877
+ },
35878
+ routing: {
35879
+ send: {
35880
+ type: 'body',
35881
+ property: 'url',
35882
+ },
35883
+ },
35884
+ },
35885
+ {
35886
+ displayName: 'Events',
35887
+ name: 'events',
35888
+ type: 'multiOptions',
35889
+ default: '',
35890
+ description: 'Event names to subscribe to',
35891
+ required: true,
35892
+ displayOptions: {
35893
+ show: {
35894
+ resource: ['webhooks'],
35895
+ operation: ['PublicApiWebhookV2Controller_registerTask'],
35896
+ },
35897
+ },
35898
+ options: [
35899
+ {
35900
+ name: 'Task Created',
35901
+ value: 'Task Created',
35902
+ },
35903
+ {
35904
+ name: 'Task Updated',
35905
+ value: 'Task Updated',
35906
+ },
35907
+ {
35908
+ name: 'Task Status Changed',
35909
+ value: 'Task Status Changed',
35910
+ },
35911
+ {
35912
+ name: 'Task Deleted',
35913
+ value: 'Task Deleted',
35914
+ },
35915
+ ],
35916
+ routing: {
35917
+ send: {
35918
+ type: 'body',
35919
+ property: 'events',
35920
+ },
35921
+ },
35922
+ },
35923
+ {
35924
+ displayName: 'Filters',
35925
+ name: 'filters',
35926
+ type: 'collection',
35927
+ default: {},
35928
+ placeholder: 'Add Filters',
35929
+ description: '',
35930
+ required: false,
35931
+ displayOptions: {
35932
+ show: {
35933
+ resource: ['webhooks'],
35934
+ operation: ['PublicApiWebhookV2Controller_registerTask'],
35935
+ },
35936
+ },
35937
+ options: [
35938
+ {
35939
+ displayName: 'Tag',
35940
+ name: 'tag',
35941
+ type: 'string',
35942
+ default: '',
35943
+ description: 'Tags',
35944
+ typeOptions: {
35945
+ multipleValues: true,
35946
+ },
35947
+ },
35948
+ ],
35949
+ routing: {
35950
+ send: {
35951
+ type: 'body',
35952
+ property: 'filters',
35953
+ },
35954
+ },
35955
+ },
35956
+ {
35957
+ displayName: 'Business Hours',
35958
+ name: 'businessHours',
35959
+ type: 'collection',
35960
+ default: {},
35961
+ placeholder: 'Add Business Hours',
35962
+ description: '',
35963
+ required: false,
35964
+ displayOptions: {
35965
+ show: {
35966
+ resource: ['webhooks'],
35967
+ operation: ['PublicApiWebhookV2Controller_registerTask'],
35968
+ },
35969
+ },
35970
+ options: [
35971
+ {
35972
+ displayName: 'Enabled',
35973
+ name: 'enabled',
35974
+ type: 'boolean',
35975
+ default: false,
35976
+ description: '',
35977
+ },
35978
+ {
35979
+ displayName: 'Timezone',
35980
+ name: 'timezone',
35981
+ type: 'string',
35982
+ default: '',
35983
+ description: '',
35984
+ },
35985
+ ],
35986
+ routing: {
35987
+ send: {
35988
+ type: 'body',
35989
+ property: 'businessHours',
35990
+ },
35991
+ },
35992
+ },
35993
+ {
35994
+ displayName: 'Workflow',
35995
+ name: 'workflow',
35996
+ type: 'collection',
35997
+ default: {},
35998
+ placeholder: 'Add Workflow',
35999
+ description: '',
36000
+ required: false,
36001
+ displayOptions: {
36002
+ show: {
36003
+ resource: ['webhooks'],
36004
+ operation: ['PublicApiWebhookV2Controller_registerTask'],
36005
+ },
36006
+ },
36007
+ options: [
36008
+ {
36009
+ displayName: 'Platform',
36010
+ name: 'platform',
36011
+ type: 'options',
36012
+ default: '',
36013
+ description: '',
36014
+ options: [
36015
+ {
36016
+ name: 'activepieces',
36017
+ value: 'activepieces',
36018
+ },
36019
+ {
36020
+ name: 'n8n',
36021
+ value: 'n8n',
36022
+ },
36023
+ {
36024
+ name: 'zapier',
36025
+ value: 'zapier',
36026
+ },
36027
+ {
36028
+ name: 'custom',
36029
+ value: 'custom',
36030
+ },
36031
+ ],
36032
+ },
36033
+ {
36034
+ displayName: 'Integration Id',
36035
+ name: 'integrationId',
36036
+ type: 'string',
36037
+ default: '',
36038
+ description: 'integration ID',
36039
+ },
36040
+ {
36041
+ displayName: 'Flow Id',
36042
+ name: 'flowId',
36043
+ type: 'string',
36044
+ default: '',
36045
+ description: 'flow ID',
36046
+ },
36047
+ ],
36048
+ routing: {
36049
+ send: {
36050
+ type: 'body',
36051
+ property: 'workflow',
36052
+ },
36053
+ },
36054
+ },
33962
36055
  {
33963
36056
  displayName: 'Id',
33964
36057
  name: 'id',