@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.
- package/database/documentdb-utils.js +1 -6
- package/errors/index.js +0 -4
- package/generated/prisma-mongodb/edge.js +4 -52
- package/generated/prisma-mongodb/index-browser.js +1 -49
- package/generated/prisma-mongodb/index.d.ts +60 -3506
- package/generated/prisma-mongodb/index.js +4 -52
- package/generated/prisma-mongodb/package.json +1 -1
- package/generated/prisma-mongodb/schema.prisma +0 -65
- package/generated/prisma-mongodb/wasm.js +4 -52
- package/generated/prisma-postgresql/edge.js +4 -52
- package/generated/prisma-postgresql/index-browser.js +1 -49
- package/generated/prisma-postgresql/index.d.ts +94 -3824
- package/generated/prisma-postgresql/index.js +4 -52
- package/generated/prisma-postgresql/package.json +1 -1
- package/generated/prisma-postgresql/schema.prisma +0 -63
- package/generated/prisma-postgresql/wasm.js +4 -52
- package/handlers/WEBHOOKS.md +0 -29
- package/handlers/app-definition-loader.js +9 -2
- package/handlers/app-handler-helpers.js +2 -5
- package/handlers/integration-event-dispatcher.js +3 -7
- package/handlers/routers/integration-webhook-routers.js +38 -26
- package/index.js +0 -2
- package/integrations/integration-base.js +1 -162
- package/integrations/integration-router.js +1 -6
- package/integrations/repositories/integration-mapping-repository-documentdb.js +0 -50
- package/integrations/repositories/integration-mapping-repository-interface.js +0 -15
- package/integrations/repositories/integration-mapping-repository-mongo.js +0 -29
- package/integrations/repositories/integration-mapping-repository-postgres.js +0 -30
- package/integrations/repositories/integration-mapping-repository.js +0 -29
- package/integrations/repositories/integration-repository-documentdb.js +2 -6
- package/integrations/repositories/integration-repository-interface.js +0 -3
- package/integrations/repositories/integration-repository-mongo.js +5 -20
- package/integrations/repositories/integration-repository-postgres.js +1 -5
- package/integrations/repositories/process-repository-mongo.js +1 -1
- package/integrations/use-cases/create-integration.js +4 -14
- package/integrations/use-cases/delete-integration-for-user.js +4 -4
- package/integrations/use-cases/get-integration-for-user.js +2 -4
- package/integrations/use-cases/get-integration-instance.js +4 -4
- package/integrations/use-cases/get-integrations-for-user.js +4 -4
- package/integrations/use-cases/get-possible-integrations.js +2 -7
- package/integrations/use-cases/update-integration.js +4 -4
- package/package.json +6 -6
- package/prisma-mongodb/schema.prisma +0 -65
- package/prisma-postgresql/schema.prisma +0 -63
- package/queues/queuer-util.js +2 -9
- package/errors/mapping-already-exists-error.js +0 -14
- package/handlers/workers/integration-triggers.js +0 -25
- package/infrastructure/scheduler/recurrence.js +0 -204
- package/integrations/definitions/README.md +0 -278
- package/integrations/definitions/canonical.js +0 -11
- package/integrations/definitions/capabilities/AUDIT.md +0 -480
- package/integrations/definitions/capabilities/acmeerp.capabilities.json +0 -633
- package/integrations/definitions/capabilities/asana.capabilities.json +0 -279
- package/integrations/definitions/capabilities/calendly.capabilities.json +0 -385
- package/integrations/definitions/capabilities/docusign.capabilities.json +0 -314
- package/integrations/definitions/capabilities/fathom.capabilities.json +0 -238
- package/integrations/definitions/capabilities/github.capabilities.json +0 -585
- package/integrations/definitions/capabilities/hubspot.capabilities.json +0 -822
- package/integrations/definitions/capabilities/jira.capabilities.json +0 -391
- package/integrations/definitions/capabilities/klaviyo.capabilities.json +0 -503
- package/integrations/definitions/capabilities/linear.capabilities.json +0 -378
- package/integrations/definitions/capabilities/netsuite.capabilities.json +0 -535
- package/integrations/definitions/capabilities/notion.capabilities.json +0 -208
- package/integrations/definitions/capabilities/phone.capabilities.json +0 -511
- package/integrations/definitions/capabilities/pipedrive.capabilities.json +0 -430
- package/integrations/definitions/capabilities/quickbooks.capabilities.json +0 -635
- package/integrations/definitions/capabilities/salesforce.capabilities.json +0 -568
- package/integrations/definitions/capabilities/shopify.capabilities.json +0 -1128
- package/integrations/definitions/capabilities/slack.capabilities.json +0 -373
- package/integrations/definitions/capabilities/stripe.capabilities.json +0 -630
- package/integrations/definitions/capabilities/webflow.capabilities.json +0 -196
- package/integrations/definitions/capabilities/zendesk.capabilities.json +0 -422
- package/integrations/definitions/compile.js +0 -80
- package/integrations/definitions/config-form.js +0 -137
- package/integrations/definitions/examples/acme-erp-quickbooks.definition.json +0 -467
- package/integrations/definitions/examples/asana-slack.definition.json +0 -219
- package/integrations/definitions/examples/calendly-salesforce.definition.json +0 -459
- package/integrations/definitions/examples/docusign-salesforce.definition.json +0 -305
- package/integrations/definitions/examples/fathom-hubspot-notion.definition.json +0 -575
- package/integrations/definitions/examples/github-linear.definition.json +0 -322
- package/integrations/definitions/examples/hubspot-slack.definition.json +0 -427
- package/integrations/definitions/examples/klaviyo-hubspot.definition.json +0 -336
- package/integrations/definitions/examples/phone-hubspot.definition.json +0 -633
- package/integrations/definitions/examples/pipedrive-hubspot.definition.json +0 -136
- package/integrations/definitions/examples/pipedrive-phone.definition.json +0 -340
- package/integrations/definitions/examples/records/phone-hubspot.definition-version.json +0 -652
- package/integrations/definitions/examples/records/phone-hubspot.integration.json +0 -86
- package/integrations/definitions/examples/records/phone-hubspot.mappings.json +0 -39
- package/integrations/definitions/examples/records/phone-hubspot.workflow-run.json +0 -62
- package/integrations/definitions/examples/shopify-klaviyo.definition.json +0 -488
- package/integrations/definitions/examples/shopify-netsuite.definition.json +0 -622
- package/integrations/definitions/examples/stripe-quickbooks.definition.json +0 -476
- package/integrations/definitions/examples/webflow-hubspot-slack.definition.json +0 -262
- package/integrations/definitions/examples/zendesk-jira.definition.json +0 -604
- package/integrations/definitions/expressions.js +0 -229
- package/integrations/definitions/index.js +0 -45
- package/integrations/definitions/integration-runtime.js +0 -763
- package/integrations/definitions/interpreter.js +0 -104
- package/integrations/definitions/manifests.js +0 -177
- package/integrations/definitions/renderers/common.js +0 -67
- package/integrations/definitions/renderers/html.js +0 -129
- package/integrations/definitions/renderers/hubspot.js +0 -59
- package/integrations/definitions/renderers/preview.js +0 -154
- package/integrations/definitions/renderers/slack.js +0 -146
- package/integrations/definitions/repositories/definition-version-repository.js +0 -67
- package/integrations/definitions/repositories/workflow-run-repository.js +0 -80
- package/integrations/definitions/router.js +0 -170
- package/integrations/definitions/runtime.js +0 -268
- package/integrations/definitions/schema/capability-manifest.v0.1.schema.json +0 -549
- package/integrations/definitions/schema/installation.v0.1.schema.json +0 -130
- package/integrations/definitions/schema/integration-definition.v0.1.schema.json +0 -909
- package/integrations/definitions/schema/records.md +0 -105
- package/integrations/definitions/schema-check.js +0 -58
- package/integrations/definitions/scripts/check-manifests.js +0 -220
- package/integrations/definitions/scripts/validate.js +0 -66
- package/integrations/definitions/steps.js +0 -123
- package/integrations/definitions/sync-engine.js +0 -297
- package/integrations/definitions/tests/helpers-fake-crm.js +0 -49
- package/integrations/definitions/transforms.js +0 -91
- package/integrations/definitions/use-cases/definition-use-cases.js +0 -245
- package/integrations/definitions/validate.js +0 -436
- package/integrations/definitions/versioning.js +0 -176
- package/integrations/definitions/webhooks.js +0 -119
- package/integrations/integration-types.js +0 -64
- package/integrations/triggers.js +0 -244
- package/integrations/use-cases/run-trigger-tick.js +0 -155
- package/integrations/use-cases/run-trigger.js +0 -77
- package/prisma-postgresql/migrations/20261018000000_add_data_defined_integrations/migration.sql +0 -66
- package/prisma-postgresql/migrations/20261019000000_workflow_run_waits/migration.sql +0 -7
- package/prisma-postgresql/migrations/20261019120000_definition_workspace/migration.sql +0 -5
|
@@ -1,635 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://friggframework.org/schemas/capability-manifest/v0.1.json",
|
|
3
|
-
"module": "quickbooks",
|
|
4
|
-
"label": "QuickBooks Online",
|
|
5
|
-
"package": "@friggframework/api-module-quickbooks",
|
|
6
|
-
"version": "2.0.1",
|
|
7
|
-
"auth": "oauth2",
|
|
8
|
-
"account": {
|
|
9
|
-
"description": "Values about the connected account, persisted by the module (apiPropertiesToPersist). Definitions read them as $.install.accounts.<module key>.<name>.",
|
|
10
|
-
"fields": [
|
|
11
|
-
{
|
|
12
|
-
"name": "realmId",
|
|
13
|
-
"type": "string",
|
|
14
|
-
"description": "QuickBooks company id the connection was authorized for"
|
|
15
|
-
}
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
"objects": {
|
|
19
|
-
"customer": {
|
|
20
|
-
"label": "Customer",
|
|
21
|
-
"fields": [
|
|
22
|
-
{
|
|
23
|
-
"name": "Id",
|
|
24
|
-
"type": "id",
|
|
25
|
-
"readOnly": true
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "SyncToken",
|
|
29
|
-
"type": "string",
|
|
30
|
-
"readOnly": true
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"name": "DisplayName",
|
|
34
|
-
"type": "string",
|
|
35
|
-
"tag": "record.displayName",
|
|
36
|
-
"required": true
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"name": "GivenName",
|
|
40
|
-
"type": "string",
|
|
41
|
-
"tag": "person.givenName"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "FamilyName",
|
|
45
|
-
"type": "string",
|
|
46
|
-
"tag": "person.familyName"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"name": "CompanyName",
|
|
50
|
-
"type": "string",
|
|
51
|
-
"tag": "organization.name"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"name": "PrimaryEmailAddr.Address",
|
|
55
|
-
"type": "email",
|
|
56
|
-
"tag": "contact.email"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"name": "PrimaryPhone.FreeFormNumber",
|
|
60
|
-
"type": "phone",
|
|
61
|
-
"tag": "contact.phone"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"name": "Mobile.FreeFormNumber",
|
|
65
|
-
"type": "phone",
|
|
66
|
-
"tag": "contact.phone"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"name": "BillAddr.Line1",
|
|
70
|
-
"type": "string",
|
|
71
|
-
"tag": "address.line1"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"name": "BillAddr.City",
|
|
75
|
-
"type": "string",
|
|
76
|
-
"tag": "address.locality"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"name": "BillAddr.CountrySubDivisionCode",
|
|
80
|
-
"type": "string",
|
|
81
|
-
"tag": "address.region"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"name": "BillAddr.PostalCode",
|
|
85
|
-
"type": "string",
|
|
86
|
-
"tag": "address.postalCode"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"name": "BillAddr.Country",
|
|
90
|
-
"type": "string",
|
|
91
|
-
"tag": "address.country"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"name": "Notes",
|
|
95
|
-
"type": "text"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"name": "Active",
|
|
99
|
-
"type": "boolean"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"name": "Balance",
|
|
103
|
-
"type": "number",
|
|
104
|
-
"tag": "customer.balance",
|
|
105
|
-
"readOnly": true
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"name": "MetaData.LastUpdatedTime",
|
|
109
|
-
"type": "datetime",
|
|
110
|
-
"tag": "record.updatedAt",
|
|
111
|
-
"readOnly": true
|
|
112
|
-
}
|
|
113
|
-
],
|
|
114
|
-
"sync": {
|
|
115
|
-
"id": "Id",
|
|
116
|
-
"updatedAt": "MetaData.LastUpdatedTime",
|
|
117
|
-
"list": {
|
|
118
|
-
"capability": "customer.list",
|
|
119
|
-
"cursor": "startPosition",
|
|
120
|
-
"limit": "maxResults",
|
|
121
|
-
"since": "changedSince",
|
|
122
|
-
"items": "QueryResponse.Customer",
|
|
123
|
-
"paging": "offset"
|
|
124
|
-
},
|
|
125
|
-
"get": {
|
|
126
|
-
"capability": "customer.get",
|
|
127
|
-
"id": "id"
|
|
128
|
-
},
|
|
129
|
-
"create": {
|
|
130
|
-
"capability": "customer.create",
|
|
131
|
-
"body": "customer"
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
"salesReceipt": {
|
|
136
|
-
"label": "Sales receipt",
|
|
137
|
-
"fields": [
|
|
138
|
-
{
|
|
139
|
-
"name": "Id",
|
|
140
|
-
"type": "id",
|
|
141
|
-
"readOnly": true
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"name": "DocNumber",
|
|
145
|
-
"type": "string",
|
|
146
|
-
"tag": "record.displayId"
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"name": "TxnDate",
|
|
150
|
-
"type": "date"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"name": "CustomerRef.value",
|
|
154
|
-
"type": "string"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"name": "DepositToAccountRef.value",
|
|
158
|
-
"type": "string"
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
"name": "PaymentRefNum",
|
|
162
|
-
"type": "string",
|
|
163
|
-
"tag": "record.externalId"
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"name": "PrivateNote",
|
|
167
|
-
"type": "text"
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"name": "BillEmail.Address",
|
|
171
|
-
"type": "email",
|
|
172
|
-
"tag": "contact.email"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"name": "CurrencyRef.value",
|
|
176
|
-
"type": "string"
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"name": "Line",
|
|
180
|
-
"type": "lineItem[]"
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"name": "Line[0].Amount",
|
|
184
|
-
"type": "number"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"name": "Line[0].Description",
|
|
188
|
-
"type": "string"
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"name": "Line[0].DetailType",
|
|
192
|
-
"type": "string"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"name": "Line[0].SalesItemLineDetail.ItemRef.value",
|
|
196
|
-
"type": "string"
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"name": "TotalAmt",
|
|
200
|
-
"type": "number",
|
|
201
|
-
"readOnly": true
|
|
202
|
-
}
|
|
203
|
-
]
|
|
204
|
-
},
|
|
205
|
-
"refundReceipt": {
|
|
206
|
-
"label": "Refund receipt",
|
|
207
|
-
"fields": [
|
|
208
|
-
{
|
|
209
|
-
"name": "Id",
|
|
210
|
-
"type": "id",
|
|
211
|
-
"readOnly": true
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"name": "DocNumber",
|
|
215
|
-
"type": "string"
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
"name": "TxnDate",
|
|
219
|
-
"type": "date"
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
"name": "CustomerRef.value",
|
|
223
|
-
"type": "string"
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
"name": "DepositToAccountRef.value",
|
|
227
|
-
"type": "string"
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"name": "PaymentRefNum",
|
|
231
|
-
"type": "string"
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
"name": "PrivateNote",
|
|
235
|
-
"type": "text"
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
"name": "Line",
|
|
239
|
-
"type": "lineItem[]"
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
"name": "TotalAmt",
|
|
243
|
-
"type": "number",
|
|
244
|
-
"readOnly": true
|
|
245
|
-
}
|
|
246
|
-
]
|
|
247
|
-
},
|
|
248
|
-
"invoice": {
|
|
249
|
-
"label": "Invoice",
|
|
250
|
-
"fields": [
|
|
251
|
-
{
|
|
252
|
-
"name": "Id",
|
|
253
|
-
"type": "id",
|
|
254
|
-
"readOnly": true
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
"name": "DocNumber",
|
|
258
|
-
"type": "string",
|
|
259
|
-
"tag": "record.displayId"
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
"name": "TxnDate",
|
|
263
|
-
"type": "date"
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
"name": "DueDate",
|
|
267
|
-
"type": "date"
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"name": "CustomerRef.value",
|
|
271
|
-
"type": "string"
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
"name": "BillEmail.Address",
|
|
275
|
-
"type": "email",
|
|
276
|
-
"tag": "contact.email"
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"name": "CustomerMemo.value",
|
|
280
|
-
"type": "text"
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
"name": "PrivateNote",
|
|
284
|
-
"type": "text"
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
"name": "Line",
|
|
288
|
-
"type": "lineItem[]"
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
"name": "TotalAmt",
|
|
292
|
-
"type": "number",
|
|
293
|
-
"tag": "invoice.total",
|
|
294
|
-
"readOnly": true
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
"name": "Balance",
|
|
298
|
-
"type": "number",
|
|
299
|
-
"tag": "invoice.balance",
|
|
300
|
-
"readOnly": true
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"name": "EmailStatus",
|
|
304
|
-
"type": "enum",
|
|
305
|
-
"values": [
|
|
306
|
-
"NotSet",
|
|
307
|
-
"NeedToSend",
|
|
308
|
-
"EmailSent"
|
|
309
|
-
]
|
|
310
|
-
}
|
|
311
|
-
]
|
|
312
|
-
},
|
|
313
|
-
"payment": {
|
|
314
|
-
"label": "Payment",
|
|
315
|
-
"fields": [
|
|
316
|
-
{
|
|
317
|
-
"name": "Id",
|
|
318
|
-
"type": "id",
|
|
319
|
-
"readOnly": true
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
"name": "TxnDate",
|
|
323
|
-
"type": "date"
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
"name": "TotalAmt",
|
|
327
|
-
"type": "number"
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
"name": "CustomerRef.value",
|
|
331
|
-
"type": "string"
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
"name": "PaymentRefNum",
|
|
335
|
-
"type": "string"
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
"name": "Line",
|
|
339
|
-
"type": "json"
|
|
340
|
-
}
|
|
341
|
-
]
|
|
342
|
-
},
|
|
343
|
-
"deposit": {
|
|
344
|
-
"label": "Deposit",
|
|
345
|
-
"fields": [
|
|
346
|
-
{
|
|
347
|
-
"name": "Id",
|
|
348
|
-
"type": "id",
|
|
349
|
-
"readOnly": true
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
"name": "TxnDate",
|
|
353
|
-
"type": "date"
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
"name": "DepositToAccountRef.value",
|
|
357
|
-
"type": "string"
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"name": "PrivateNote",
|
|
361
|
-
"type": "text"
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
"name": "Line",
|
|
365
|
-
"type": "json"
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
"name": "TotalAmt",
|
|
369
|
-
"type": "number",
|
|
370
|
-
"readOnly": true
|
|
371
|
-
}
|
|
372
|
-
]
|
|
373
|
-
}
|
|
374
|
-
},
|
|
375
|
-
"events": {
|
|
376
|
-
"payment.created": {
|
|
377
|
-
"delivery": "webhook",
|
|
378
|
-
"object": "payment",
|
|
379
|
-
"description": "Intuit webhooks are app-level and carry only entity references (name, id, operation); Frigg routes by realmId. Fetch the entity to read it.",
|
|
380
|
-
"payload": {
|
|
381
|
-
"eventNotifications": [
|
|
382
|
-
{
|
|
383
|
-
"realmId": "9130354628571476",
|
|
384
|
-
"dataChangeEvent": {
|
|
385
|
-
"entities": [
|
|
386
|
-
{
|
|
387
|
-
"name": "Payment",
|
|
388
|
-
"id": "1871",
|
|
389
|
-
"operation": "Create",
|
|
390
|
-
"lastUpdated": "2026-10-20T18:22:41.000Z"
|
|
391
|
-
}
|
|
392
|
-
]
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
]
|
|
396
|
-
},
|
|
397
|
-
"match": "Payment.Create"
|
|
398
|
-
},
|
|
399
|
-
"customer.updated": {
|
|
400
|
-
"delivery": "webhook",
|
|
401
|
-
"object": "customer",
|
|
402
|
-
"payload": {
|
|
403
|
-
"eventNotifications": [
|
|
404
|
-
{
|
|
405
|
-
"realmId": "9130354628571476",
|
|
406
|
-
"dataChangeEvent": {
|
|
407
|
-
"entities": [
|
|
408
|
-
{
|
|
409
|
-
"name": "Customer",
|
|
410
|
-
"id": "58",
|
|
411
|
-
"operation": "Update",
|
|
412
|
-
"lastUpdated": "2026-10-20T18:22:41.000Z"
|
|
413
|
-
}
|
|
414
|
-
]
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
]
|
|
418
|
-
},
|
|
419
|
-
"match": "Customer.Update"
|
|
420
|
-
},
|
|
421
|
-
"customer.created": {
|
|
422
|
-
"delivery": "webhook",
|
|
423
|
-
"object": "customer",
|
|
424
|
-
"payload": {
|
|
425
|
-
"eventNotifications": [
|
|
426
|
-
{
|
|
427
|
-
"realmId": "9130354628571476",
|
|
428
|
-
"dataChangeEvent": {
|
|
429
|
-
"entities": [
|
|
430
|
-
{
|
|
431
|
-
"name": "Customer",
|
|
432
|
-
"id": "59",
|
|
433
|
-
"operation": "Create",
|
|
434
|
-
"lastUpdated": "2026-10-20T18:22:41.000Z"
|
|
435
|
-
}
|
|
436
|
-
]
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
]
|
|
440
|
-
},
|
|
441
|
-
"match": "Customer.Create"
|
|
442
|
-
}
|
|
443
|
-
},
|
|
444
|
-
"webhook": {
|
|
445
|
-
"scope": "app",
|
|
446
|
-
"batch": [
|
|
447
|
-
"body.eventNotifications",
|
|
448
|
-
"dataChangeEvent.entities"
|
|
449
|
-
],
|
|
450
|
-
"topic": "{{item.name}}.{{item.operation}}",
|
|
451
|
-
"eventId": "{{parent.realmId}}:{{item.name}}:{{item.id}}:{{item.lastUpdated}}",
|
|
452
|
-
"account": "{{parent.realmId}}",
|
|
453
|
-
"verify": "verifyWebhookSignature"
|
|
454
|
-
},
|
|
455
|
-
"capabilities": {
|
|
456
|
-
"customer.get": {
|
|
457
|
-
"kind": "read",
|
|
458
|
-
"method": "getCustomer",
|
|
459
|
-
"input": {
|
|
460
|
-
"id": {
|
|
461
|
-
"type": "string",
|
|
462
|
-
"required": true
|
|
463
|
-
}
|
|
464
|
-
},
|
|
465
|
-
"output": "customer"
|
|
466
|
-
},
|
|
467
|
-
"customer.query": {
|
|
468
|
-
"kind": "search",
|
|
469
|
-
"method": "queryCustomers",
|
|
470
|
-
"input": {
|
|
471
|
-
"where": {
|
|
472
|
-
"type": "string",
|
|
473
|
-
"required": true
|
|
474
|
-
}
|
|
475
|
-
},
|
|
476
|
-
"output": "customer[]"
|
|
477
|
-
},
|
|
478
|
-
"customer.list": {
|
|
479
|
-
"kind": "read",
|
|
480
|
-
"method": "listCustomers",
|
|
481
|
-
"input": {
|
|
482
|
-
"changedSince": {
|
|
483
|
-
"type": "string"
|
|
484
|
-
},
|
|
485
|
-
"startPosition": {
|
|
486
|
-
"type": "number"
|
|
487
|
-
},
|
|
488
|
-
"maxResults": {
|
|
489
|
-
"type": "number"
|
|
490
|
-
}
|
|
491
|
-
},
|
|
492
|
-
"output": "page<customer>"
|
|
493
|
-
},
|
|
494
|
-
"customer.create": {
|
|
495
|
-
"kind": "write",
|
|
496
|
-
"method": "createCustomer",
|
|
497
|
-
"input": {
|
|
498
|
-
"customer": {
|
|
499
|
-
"type": "object",
|
|
500
|
-
"required": true
|
|
501
|
-
}
|
|
502
|
-
},
|
|
503
|
-
"output": "customer"
|
|
504
|
-
},
|
|
505
|
-
"customer.update": {
|
|
506
|
-
"kind": "write",
|
|
507
|
-
"method": "updateCustomer",
|
|
508
|
-
"label": "Sparse update; needs Id and SyncToken",
|
|
509
|
-
"input": {
|
|
510
|
-
"customer": {
|
|
511
|
-
"type": "object",
|
|
512
|
-
"required": true
|
|
513
|
-
}
|
|
514
|
-
},
|
|
515
|
-
"output": "customer"
|
|
516
|
-
},
|
|
517
|
-
"salesReceipt.create": {
|
|
518
|
-
"kind": "write",
|
|
519
|
-
"method": "createSalesReceipt",
|
|
520
|
-
"input": {
|
|
521
|
-
"salesReceipt": {
|
|
522
|
-
"type": "object",
|
|
523
|
-
"required": true
|
|
524
|
-
}
|
|
525
|
-
},
|
|
526
|
-
"output": "salesReceipt"
|
|
527
|
-
},
|
|
528
|
-
"refundReceipt.create": {
|
|
529
|
-
"kind": "write",
|
|
530
|
-
"method": "createRefundReceipt",
|
|
531
|
-
"input": {
|
|
532
|
-
"refundReceipt": {
|
|
533
|
-
"type": "object",
|
|
534
|
-
"required": true
|
|
535
|
-
}
|
|
536
|
-
},
|
|
537
|
-
"output": "refundReceipt"
|
|
538
|
-
},
|
|
539
|
-
"invoice.create": {
|
|
540
|
-
"kind": "write",
|
|
541
|
-
"method": "createInvoice",
|
|
542
|
-
"input": {
|
|
543
|
-
"invoice": {
|
|
544
|
-
"type": "object",
|
|
545
|
-
"required": true
|
|
546
|
-
}
|
|
547
|
-
},
|
|
548
|
-
"output": "invoice"
|
|
549
|
-
},
|
|
550
|
-
"invoice.get": {
|
|
551
|
-
"kind": "read",
|
|
552
|
-
"method": "getInvoice",
|
|
553
|
-
"input": {
|
|
554
|
-
"id": {
|
|
555
|
-
"type": "string",
|
|
556
|
-
"required": true
|
|
557
|
-
}
|
|
558
|
-
},
|
|
559
|
-
"output": "invoice"
|
|
560
|
-
},
|
|
561
|
-
"invoice.send": {
|
|
562
|
-
"kind": "write",
|
|
563
|
-
"method": "sendInvoice",
|
|
564
|
-
"input": {
|
|
565
|
-
"id": {
|
|
566
|
-
"type": "string",
|
|
567
|
-
"required": true
|
|
568
|
-
},
|
|
569
|
-
"sendTo": {
|
|
570
|
-
"type": "string"
|
|
571
|
-
}
|
|
572
|
-
},
|
|
573
|
-
"output": "invoice"
|
|
574
|
-
},
|
|
575
|
-
"payment.get": {
|
|
576
|
-
"kind": "read",
|
|
577
|
-
"method": "getPayment",
|
|
578
|
-
"input": {
|
|
579
|
-
"id": {
|
|
580
|
-
"type": "string",
|
|
581
|
-
"required": true
|
|
582
|
-
}
|
|
583
|
-
},
|
|
584
|
-
"output": "payment"
|
|
585
|
-
},
|
|
586
|
-
"deposit.create": {
|
|
587
|
-
"kind": "write",
|
|
588
|
-
"method": "createDeposit",
|
|
589
|
-
"input": {
|
|
590
|
-
"deposit": {
|
|
591
|
-
"type": "object",
|
|
592
|
-
"required": true
|
|
593
|
-
}
|
|
594
|
-
},
|
|
595
|
-
"output": "deposit"
|
|
596
|
-
},
|
|
597
|
-
"item.list": {
|
|
598
|
-
"kind": "read",
|
|
599
|
-
"method": "listItems",
|
|
600
|
-
"input": {
|
|
601
|
-
"type": {
|
|
602
|
-
"type": "string"
|
|
603
|
-
}
|
|
604
|
-
},
|
|
605
|
-
"output": "item[]"
|
|
606
|
-
},
|
|
607
|
-
"account.list": {
|
|
608
|
-
"kind": "read",
|
|
609
|
-
"method": "listAccounts",
|
|
610
|
-
"input": {
|
|
611
|
-
"accountType": {
|
|
612
|
-
"type": "string"
|
|
613
|
-
}
|
|
614
|
-
},
|
|
615
|
-
"output": "account[]"
|
|
616
|
-
}
|
|
617
|
-
},
|
|
618
|
-
"options": {
|
|
619
|
-
"item": {
|
|
620
|
-
"capability": "item.list",
|
|
621
|
-
"label": "{{item.Name}}",
|
|
622
|
-
"value": "$.item.Id"
|
|
623
|
-
},
|
|
624
|
-
"account": {
|
|
625
|
-
"capability": "account.list",
|
|
626
|
-
"label": "{{item.Name}} ({{item.AccountType}})",
|
|
627
|
-
"value": "$.item.Id"
|
|
628
|
-
},
|
|
629
|
-
"customer": {
|
|
630
|
-
"capability": "customer.list",
|
|
631
|
-
"label": "{{item.DisplayName}}",
|
|
632
|
-
"value": "$.item.Id"
|
|
633
|
-
}
|
|
634
|
-
}
|
|
635
|
-
}
|