@friggframework/core 2.0.0--canary.700.80ec1cc.0 → 2.0.0--canary.702.047d3c4.0

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.
Files changed (130) hide show
  1. package/database/documentdb-utils.js +1 -6
  2. package/errors/index.js +0 -4
  3. package/generated/prisma-mongodb/edge.js +4 -52
  4. package/generated/prisma-mongodb/index-browser.js +1 -49
  5. package/generated/prisma-mongodb/index.d.ts +60 -3506
  6. package/generated/prisma-mongodb/index.js +4 -52
  7. package/generated/prisma-mongodb/package.json +1 -1
  8. package/generated/prisma-mongodb/schema.prisma +0 -65
  9. package/generated/prisma-mongodb/wasm.js +4 -52
  10. package/generated/prisma-postgresql/edge.js +4 -52
  11. package/generated/prisma-postgresql/index-browser.js +1 -49
  12. package/generated/prisma-postgresql/index.d.ts +94 -3824
  13. package/generated/prisma-postgresql/index.js +4 -52
  14. package/generated/prisma-postgresql/package.json +1 -1
  15. package/generated/prisma-postgresql/schema.prisma +0 -63
  16. package/generated/prisma-postgresql/wasm.js +4 -52
  17. package/handlers/WEBHOOKS.md +0 -29
  18. package/handlers/app-definition-loader.js +9 -2
  19. package/handlers/app-handler-helpers.js +2 -5
  20. package/handlers/integration-event-dispatcher.js +3 -7
  21. package/handlers/routers/integration-webhook-routers.js +38 -26
  22. package/index.js +0 -2
  23. package/integrations/integration-base.js +1 -162
  24. package/integrations/integration-router.js +1 -6
  25. package/integrations/repositories/integration-mapping-repository-documentdb.js +0 -50
  26. package/integrations/repositories/integration-mapping-repository-interface.js +0 -15
  27. package/integrations/repositories/integration-mapping-repository-mongo.js +0 -29
  28. package/integrations/repositories/integration-mapping-repository-postgres.js +0 -30
  29. package/integrations/repositories/integration-mapping-repository.js +0 -29
  30. package/integrations/repositories/integration-repository-documentdb.js +2 -6
  31. package/integrations/repositories/integration-repository-interface.js +0 -3
  32. package/integrations/repositories/integration-repository-mongo.js +5 -20
  33. package/integrations/repositories/integration-repository-postgres.js +1 -5
  34. package/integrations/repositories/process-repository-mongo.js +1 -1
  35. package/integrations/use-cases/create-integration.js +4 -14
  36. package/integrations/use-cases/delete-integration-for-user.js +4 -4
  37. package/integrations/use-cases/get-integration-for-user.js +2 -4
  38. package/integrations/use-cases/get-integration-instance.js +4 -4
  39. package/integrations/use-cases/get-integrations-for-user.js +4 -4
  40. package/integrations/use-cases/get-possible-integrations.js +2 -7
  41. package/integrations/use-cases/update-integration.js +4 -4
  42. package/package.json +6 -6
  43. package/prisma-mongodb/schema.prisma +0 -65
  44. package/prisma-postgresql/schema.prisma +0 -63
  45. package/queues/queuer-util.js +2 -9
  46. package/errors/mapping-already-exists-error.js +0 -14
  47. package/handlers/workers/integration-triggers.js +0 -25
  48. package/infrastructure/scheduler/recurrence.js +0 -204
  49. package/integrations/definitions/README.md +0 -278
  50. package/integrations/definitions/canonical.js +0 -11
  51. package/integrations/definitions/capabilities/AUDIT.md +0 -480
  52. package/integrations/definitions/capabilities/acmeerp.capabilities.json +0 -633
  53. package/integrations/definitions/capabilities/asana.capabilities.json +0 -279
  54. package/integrations/definitions/capabilities/calendly.capabilities.json +0 -385
  55. package/integrations/definitions/capabilities/docusign.capabilities.json +0 -314
  56. package/integrations/definitions/capabilities/fathom.capabilities.json +0 -238
  57. package/integrations/definitions/capabilities/github.capabilities.json +0 -585
  58. package/integrations/definitions/capabilities/hubspot.capabilities.json +0 -822
  59. package/integrations/definitions/capabilities/jira.capabilities.json +0 -391
  60. package/integrations/definitions/capabilities/klaviyo.capabilities.json +0 -503
  61. package/integrations/definitions/capabilities/linear.capabilities.json +0 -378
  62. package/integrations/definitions/capabilities/netsuite.capabilities.json +0 -535
  63. package/integrations/definitions/capabilities/notion.capabilities.json +0 -208
  64. package/integrations/definitions/capabilities/phone.capabilities.json +0 -511
  65. package/integrations/definitions/capabilities/pipedrive.capabilities.json +0 -430
  66. package/integrations/definitions/capabilities/quickbooks.capabilities.json +0 -635
  67. package/integrations/definitions/capabilities/salesforce.capabilities.json +0 -568
  68. package/integrations/definitions/capabilities/shopify.capabilities.json +0 -1128
  69. package/integrations/definitions/capabilities/slack.capabilities.json +0 -373
  70. package/integrations/definitions/capabilities/stripe.capabilities.json +0 -630
  71. package/integrations/definitions/capabilities/webflow.capabilities.json +0 -196
  72. package/integrations/definitions/capabilities/zendesk.capabilities.json +0 -422
  73. package/integrations/definitions/compile.js +0 -80
  74. package/integrations/definitions/config-form.js +0 -137
  75. package/integrations/definitions/examples/acme-erp-quickbooks.definition.json +0 -467
  76. package/integrations/definitions/examples/asana-slack.definition.json +0 -219
  77. package/integrations/definitions/examples/calendly-salesforce.definition.json +0 -459
  78. package/integrations/definitions/examples/docusign-salesforce.definition.json +0 -305
  79. package/integrations/definitions/examples/fathom-hubspot-notion.definition.json +0 -575
  80. package/integrations/definitions/examples/github-linear.definition.json +0 -322
  81. package/integrations/definitions/examples/hubspot-slack.definition.json +0 -427
  82. package/integrations/definitions/examples/klaviyo-hubspot.definition.json +0 -336
  83. package/integrations/definitions/examples/phone-hubspot.definition.json +0 -633
  84. package/integrations/definitions/examples/pipedrive-hubspot.definition.json +0 -136
  85. package/integrations/definitions/examples/pipedrive-phone.definition.json +0 -340
  86. package/integrations/definitions/examples/records/phone-hubspot.definition-version.json +0 -652
  87. package/integrations/definitions/examples/records/phone-hubspot.integration.json +0 -86
  88. package/integrations/definitions/examples/records/phone-hubspot.mappings.json +0 -39
  89. package/integrations/definitions/examples/records/phone-hubspot.workflow-run.json +0 -62
  90. package/integrations/definitions/examples/shopify-klaviyo.definition.json +0 -488
  91. package/integrations/definitions/examples/shopify-netsuite.definition.json +0 -622
  92. package/integrations/definitions/examples/stripe-quickbooks.definition.json +0 -476
  93. package/integrations/definitions/examples/webflow-hubspot-slack.definition.json +0 -262
  94. package/integrations/definitions/examples/zendesk-jira.definition.json +0 -604
  95. package/integrations/definitions/expressions.js +0 -229
  96. package/integrations/definitions/index.js +0 -45
  97. package/integrations/definitions/integration-runtime.js +0 -763
  98. package/integrations/definitions/interpreter.js +0 -104
  99. package/integrations/definitions/manifests.js +0 -177
  100. package/integrations/definitions/renderers/common.js +0 -67
  101. package/integrations/definitions/renderers/html.js +0 -129
  102. package/integrations/definitions/renderers/hubspot.js +0 -59
  103. package/integrations/definitions/renderers/preview.js +0 -154
  104. package/integrations/definitions/renderers/slack.js +0 -146
  105. package/integrations/definitions/repositories/definition-version-repository.js +0 -67
  106. package/integrations/definitions/repositories/workflow-run-repository.js +0 -80
  107. package/integrations/definitions/router.js +0 -170
  108. package/integrations/definitions/runtime.js +0 -268
  109. package/integrations/definitions/schema/capability-manifest.v0.1.schema.json +0 -549
  110. package/integrations/definitions/schema/installation.v0.1.schema.json +0 -130
  111. package/integrations/definitions/schema/integration-definition.v0.1.schema.json +0 -909
  112. package/integrations/definitions/schema/records.md +0 -105
  113. package/integrations/definitions/schema-check.js +0 -58
  114. package/integrations/definitions/scripts/check-manifests.js +0 -220
  115. package/integrations/definitions/scripts/validate.js +0 -66
  116. package/integrations/definitions/steps.js +0 -123
  117. package/integrations/definitions/sync-engine.js +0 -297
  118. package/integrations/definitions/tests/helpers-fake-crm.js +0 -49
  119. package/integrations/definitions/transforms.js +0 -91
  120. package/integrations/definitions/use-cases/definition-use-cases.js +0 -245
  121. package/integrations/definitions/validate.js +0 -436
  122. package/integrations/definitions/versioning.js +0 -176
  123. package/integrations/definitions/webhooks.js +0 -119
  124. package/integrations/integration-types.js +0 -64
  125. package/integrations/triggers.js +0 -244
  126. package/integrations/use-cases/run-trigger-tick.js +0 -155
  127. package/integrations/use-cases/run-trigger.js +0 -77
  128. package/prisma-postgresql/migrations/20261018000000_add_data_defined_integrations/migration.sql +0 -66
  129. package/prisma-postgresql/migrations/20261019000000_workflow_run_waits/migration.sql +0 -7
  130. package/prisma-postgresql/migrations/20261019120000_definition_workspace/migration.sql +0 -5
@@ -1,633 +0,0 @@
1
- {
2
- "$schema": "https://friggframework.org/schemas/capability-manifest/v0.1.json",
3
- "module": "acmeerp",
4
- "label": "Acme ERP",
5
- "package": "@acme/frigg-api-module",
6
- "version": "0.9.0",
7
- "auth": "api_key",
8
- "objects": {
9
- "customer": {
10
- "label": "Customer",
11
- "fields": [
12
- {
13
- "name": "id",
14
- "type": "id",
15
- "readOnly": true
16
- },
17
- {
18
- "name": "display_name",
19
- "type": "string",
20
- "tag": "record.displayName"
21
- },
22
- {
23
- "name": "first_name",
24
- "type": "string",
25
- "tag": "person.givenName"
26
- },
27
- {
28
- "name": "last_name",
29
- "type": "string",
30
- "tag": "person.familyName"
31
- },
32
- {
33
- "name": "company_name",
34
- "type": "string",
35
- "tag": "organization.name"
36
- },
37
- {
38
- "name": "email",
39
- "type": "email",
40
- "tag": "contact.email"
41
- },
42
- {
43
- "name": "mobile_number",
44
- "type": "phone",
45
- "tag": "contact.phone"
46
- },
47
- {
48
- "name": "address.street",
49
- "type": "string",
50
- "tag": "address.line1"
51
- },
52
- {
53
- "name": "address.city",
54
- "type": "string",
55
- "tag": "address.locality"
56
- },
57
- {
58
- "name": "address.state",
59
- "type": "string",
60
- "tag": "address.region"
61
- },
62
- {
63
- "name": "address.zip",
64
- "type": "string",
65
- "tag": "address.postalCode"
66
- },
67
- {
68
- "name": "tags",
69
- "type": "string[]",
70
- "tag": "record.tags"
71
- },
72
- {
73
- "name": "updated_at",
74
- "type": "datetime",
75
- "tag": "record.updatedAt",
76
- "readOnly": true
77
- }
78
- ],
79
- "sync": {
80
- "id": "id",
81
- "updatedAt": "updated_at",
82
- "list": {
83
- "capability": "customer.list",
84
- "cursor": "page",
85
- "limit": "page_size",
86
- "since": "updated_since",
87
- "items": "customers",
88
- "paging": "page"
89
- },
90
- "get": {
91
- "capability": "customer.get",
92
- "id": "id"
93
- },
94
- "create": {
95
- "capability": "customer.create",
96
- "body": "customer"
97
- },
98
- "update": {
99
- "capability": "customer.update",
100
- "id": "id",
101
- "body": "customer"
102
- }
103
- }
104
- },
105
- "job": {
106
- "label": "Job",
107
- "fields": [
108
- {
109
- "name": "id",
110
- "type": "id",
111
- "readOnly": true
112
- },
113
- {
114
- "name": "job_number",
115
- "type": "number",
116
- "tag": "record.displayId",
117
- "readOnly": true
118
- },
119
- {
120
- "name": "customer_id",
121
- "type": "string"
122
- },
123
- {
124
- "name": "status",
125
- "type": "enum",
126
- "tag": "job.status",
127
- "values": [
128
- "scheduled",
129
- "dispatched",
130
- "in_progress",
131
- "finished",
132
- "invoiced",
133
- "paid",
134
- "canceled"
135
- ]
136
- },
137
- {
138
- "name": "description",
139
- "type": "text"
140
- },
141
- {
142
- "name": "scheduled_start",
143
- "type": "datetime",
144
- "tag": "job.scheduledStart"
145
- },
146
- {
147
- "name": "scheduled_end",
148
- "type": "datetime",
149
- "tag": "job.scheduledEnd"
150
- },
151
- {
152
- "name": "finished_at",
153
- "type": "datetime",
154
- "tag": "job.completedAt"
155
- },
156
- {
157
- "name": "technician_ids",
158
- "type": "string[]",
159
- "tag": "record.owner"
160
- },
161
- {
162
- "name": "subtotal",
163
- "type": "integer",
164
- "tag": "order.subtotal",
165
- "readOnly": true
166
- },
167
- {
168
- "name": "tax_amount",
169
- "type": "integer",
170
- "tag": "order.tax",
171
- "readOnly": true
172
- },
173
- {
174
- "name": "total_amount",
175
- "type": "integer",
176
- "tag": "order.total",
177
- "readOnly": true
178
- },
179
- {
180
- "name": "payment_status",
181
- "type": "enum",
182
- "tag": "order.paymentStatus",
183
- "values": [
184
- "unpaid",
185
- "partially_paid",
186
- "paid"
187
- ]
188
- },
189
- {
190
- "name": "external_invoice_id",
191
- "type": "string",
192
- "tag": "record.externalId"
193
- }
194
- ]
195
- },
196
- "lineItem": {
197
- "label": "Line item",
198
- "fields": [
199
- {
200
- "name": "id",
201
- "type": "id",
202
- "readOnly": true
203
- },
204
- {
205
- "name": "job_id",
206
- "type": "string"
207
- },
208
- {
209
- "name": "kind",
210
- "type": "enum",
211
- "values": [
212
- "service",
213
- "labor",
214
- "material",
215
- "fee",
216
- "discount"
217
- ]
218
- },
219
- {
220
- "name": "name",
221
- "type": "string"
222
- },
223
- {
224
- "name": "description",
225
- "type": "text"
226
- },
227
- {
228
- "name": "sku",
229
- "type": "string"
230
- },
231
- {
232
- "name": "quantity",
233
- "type": "number"
234
- },
235
- {
236
- "name": "unit_price",
237
- "type": "integer"
238
- },
239
- {
240
- "name": "unit_cost",
241
- "type": "integer"
242
- },
243
- {
244
- "name": "taxable",
245
- "type": "boolean"
246
- }
247
- ]
248
- },
249
- "technician": {
250
- "label": "Technician",
251
- "fields": [
252
- {
253
- "name": "id",
254
- "type": "id",
255
- "readOnly": true
256
- },
257
- {
258
- "name": "name",
259
- "type": "string",
260
- "tag": "person.fullName"
261
- },
262
- {
263
- "name": "email",
264
- "type": "email",
265
- "tag": "contact.email"
266
- },
267
- {
268
- "name": "phone",
269
- "type": "phone",
270
- "tag": "contact.phone"
271
- },
272
- {
273
- "name": "role",
274
- "type": "string"
275
- }
276
- ]
277
- }
278
- },
279
- "events": {
280
- "job.finished": {
281
- "delivery": "webhook",
282
- "object": "job",
283
- "subscribe": "webhook.create",
284
- "payload": {
285
- "event_id": "evt_01JAF4T9ZQ",
286
- "event": "job.finished",
287
- "occurred_at": "2026-10-20T16:42:03Z",
288
- "company_id": "co_acme_plumbing",
289
- "data": {
290
- "job": {
291
- "id": "job_8Kq2Lm4N",
292
- "job_number": 1042,
293
- "customer_id": "cus_3Hx9Pq1R",
294
- "status": "finished",
295
- "description": "Replace water heater (50 gal) and haul away old unit",
296
- "scheduled_start": "2026-10-20T13:00:00Z",
297
- "scheduled_end": "2026-10-20T16:00:00Z",
298
- "finished_at": "2026-10-20T16:42:00Z",
299
- "technician_ids": [
300
- "tech_A1",
301
- "tech_B7"
302
- ],
303
- "subtotal": 184500,
304
- "tax_amount": 15221,
305
- "total_amount": 199721,
306
- "payment_status": "unpaid",
307
- "external_invoice_id": null,
308
- "address": {
309
- "street": "4410 Shoal Creek Blvd",
310
- "city": "Austin",
311
- "state": "TX",
312
- "zip": "78756"
313
- }
314
- }
315
- }
316
- },
317
- "record": "data.job",
318
- "idPath": "event_id"
319
- },
320
- "job.scheduled": {
321
- "delivery": "webhook",
322
- "object": "job",
323
- "subscribe": "webhook.create",
324
- "payload": {
325
- "event_id": "evt_01JAF4T9ZQ",
326
- "event": "job.scheduled",
327
- "occurred_at": "2026-10-20T16:42:03Z",
328
- "company_id": "co_acme_plumbing",
329
- "data": {
330
- "job": {
331
- "id": "job_8Kq2Lm4N",
332
- "job_number": 1042,
333
- "customer_id": "cus_3Hx9Pq1R",
334
- "status": "scheduled",
335
- "description": "Replace water heater (50 gal) and haul away old unit",
336
- "scheduled_start": "2026-10-20T13:00:00Z",
337
- "scheduled_end": "2026-10-20T16:00:00Z",
338
- "finished_at": null,
339
- "technician_ids": [
340
- "tech_A1",
341
- "tech_B7"
342
- ],
343
- "subtotal": 184500,
344
- "tax_amount": 15221,
345
- "total_amount": 199721,
346
- "payment_status": "unpaid",
347
- "external_invoice_id": null,
348
- "address": {
349
- "street": "4410 Shoal Creek Blvd",
350
- "city": "Austin",
351
- "state": "TX",
352
- "zip": "78756"
353
- }
354
- }
355
- }
356
- },
357
- "record": "data.job",
358
- "idPath": "event_id"
359
- },
360
- "customer.created": {
361
- "delivery": "webhook",
362
- "object": "customer",
363
- "subscribe": "webhook.create",
364
- "payload": {
365
- "event_id": "evt_01JAF4T9ZQ",
366
- "event": "customer.created",
367
- "occurred_at": "2026-10-20T16:42:03Z",
368
- "company_id": "co_acme_plumbing",
369
- "data": {
370
- "customer": {
371
- "id": "cus_3Hx9Pq1R",
372
- "display_name": "Marisol Ortega",
373
- "first_name": "Marisol",
374
- "last_name": "Ortega",
375
- "company_name": null,
376
- "email": "marisol.ortega@example.com",
377
- "mobile_number": "(512) 555-0188",
378
- "address": {
379
- "street": "4410 Shoal Creek Blvd",
380
- "city": "Austin",
381
- "state": "TX",
382
- "zip": "78756"
383
- },
384
- "tags": [
385
- "residential",
386
- "maintenance-plan"
387
- ],
388
- "updated_at": "2026-10-20T12:00:00Z"
389
- }
390
- }
391
- },
392
- "record": "data.customer",
393
- "idPath": "event_id"
394
- },
395
- "customer.updated": {
396
- "delivery": "webhook",
397
- "object": "customer",
398
- "subscribe": "webhook.create",
399
- "payload": {
400
- "event_id": "evt_01JAF4T9ZQ",
401
- "event": "customer.updated",
402
- "occurred_at": "2026-10-20T16:42:03Z",
403
- "company_id": "co_acme_plumbing",
404
- "data": {
405
- "customer": {
406
- "id": "cus_3Hx9Pq1R",
407
- "display_name": "Marisol Ortega",
408
- "first_name": "Marisol",
409
- "last_name": "Ortega",
410
- "company_name": null,
411
- "email": "marisol@ortega.family",
412
- "mobile_number": "(512) 555-0188",
413
- "address": {
414
- "street": "4410 Shoal Creek Blvd",
415
- "city": "Austin",
416
- "state": "TX",
417
- "zip": "78756"
418
- },
419
- "tags": [
420
- "residential",
421
- "maintenance-plan"
422
- ],
423
- "updated_at": "2026-10-20T12:00:00Z"
424
- }
425
- }
426
- },
427
- "record": "data.customer",
428
- "idPath": "event_id"
429
- }
430
- },
431
- "webhook": {
432
- "scope": "installation",
433
- "topic": "{{body.event}}",
434
- "eventId": "{{body.event_id}}",
435
- "verify": "verifyWebhookSignature"
436
- },
437
- "capabilities": {
438
- "customer.get": {
439
- "kind": "read",
440
- "method": "getCustomer",
441
- "input": {
442
- "id": {
443
- "type": "string",
444
- "required": true
445
- }
446
- },
447
- "output": "customer"
448
- },
449
- "customer.list": {
450
- "kind": "read",
451
- "method": "listCustomers",
452
- "input": {
453
- "updated_since": {
454
- "type": "string"
455
- },
456
- "page": {
457
- "type": "number"
458
- },
459
- "page_size": {
460
- "type": "number"
461
- }
462
- },
463
- "output": "page<customer>"
464
- },
465
- "customer.create": {
466
- "kind": "write",
467
- "method": "createCustomer",
468
- "input": {
469
- "customer": {
470
- "type": "object",
471
- "required": true
472
- }
473
- },
474
- "output": "customer"
475
- },
476
- "customer.update": {
477
- "kind": "write",
478
- "method": "updateCustomer",
479
- "input": {
480
- "id": {
481
- "type": "string",
482
- "required": true
483
- },
484
- "customer": {
485
- "type": "object",
486
- "required": true
487
- }
488
- },
489
- "output": "customer"
490
- },
491
- "job.get": {
492
- "kind": "read",
493
- "method": "getJob",
494
- "input": {
495
- "id": {
496
- "type": "string",
497
- "required": true
498
- },
499
- "expand": {
500
- "type": "array"
501
- }
502
- },
503
- "output": "job"
504
- },
505
- "job.search": {
506
- "kind": "search",
507
- "method": "searchJobs",
508
- "input": {
509
- "external_invoice_id": {
510
- "type": "string"
511
- },
512
- "job_number": {
513
- "type": "number"
514
- },
515
- "customer_id": {
516
- "type": "string"
517
- }
518
- },
519
- "output": "job[]"
520
- },
521
- "job.lineItems": {
522
- "kind": "read",
523
- "method": "listJobLineItems",
524
- "input": {
525
- "jobId": {
526
- "type": "string",
527
- "required": true
528
- }
529
- },
530
- "output": "lineItem[]"
531
- },
532
- "job.update": {
533
- "kind": "write",
534
- "method": "updateJob",
535
- "input": {
536
- "id": {
537
- "type": "string",
538
- "required": true
539
- },
540
- "job": {
541
- "type": "object",
542
- "required": true
543
- }
544
- },
545
- "output": "job"
546
- },
547
- "job.markPaid": {
548
- "kind": "write",
549
- "method": "recordJobPayment",
550
- "input": {
551
- "id": {
552
- "type": "string",
553
- "required": true
554
- },
555
- "amount": {
556
- "type": "integer",
557
- "required": true
558
- },
559
- "paid_at": {
560
- "type": "string"
561
- },
562
- "method": {
563
- "type": "string"
564
- },
565
- "reference": {
566
- "type": "string"
567
- }
568
- },
569
- "output": "job"
570
- },
571
- "job.addNote": {
572
- "kind": "write",
573
- "method": "createJobNote",
574
- "input": {
575
- "jobId": {
576
- "type": "string",
577
- "required": true
578
- },
579
- "body": {
580
- "type": "string",
581
- "required": true
582
- }
583
- },
584
- "output": "note"
585
- },
586
- "technician.list": {
587
- "kind": "read",
588
- "method": "listTechnicians",
589
- "input": {},
590
- "output": "technician[]"
591
- },
592
- "webhook.create": {
593
- "kind": "subscribe",
594
- "method": "createWebhookSubscription",
595
- "input": {
596
- "url": {
597
- "type": "string",
598
- "required": true
599
- },
600
- "events": {
601
- "type": "array",
602
- "required": true
603
- }
604
- },
605
- "output": "webhook"
606
- },
607
- "webhook.delete": {
608
- "kind": "delete",
609
- "method": "deleteWebhookSubscription",
610
- "input": {
611
- "id": {
612
- "type": "string",
613
- "required": true
614
- }
615
- },
616
- "output": "void"
617
- }
618
- },
619
- "options": {
620
- "technician": {
621
- "capability": "technician.list",
622
- "label": "{{item.name}}",
623
- "value": "$.item.id"
624
- }
625
- },
626
- "ui": {
627
- "placements": [
628
- "job.sidebar",
629
- "customer.sidebar"
630
- ],
631
- "renderer": "acme-erp-extension-panel"
632
- }
633
- }