@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,630 +0,0 @@
1
- {
2
- "$schema": "https://friggframework.org/schemas/capability-manifest/v0.1.json",
3
- "module": "stripe",
4
- "label": "Stripe",
5
- "package": "@friggframework/api-module-stripe",
6
- "version": "2.3.0",
7
- "auth": "oauth2",
8
- "objects": {
9
- "customer": {
10
- "label": "Customer",
11
- "fields": [
12
- {
13
- "name": "id",
14
- "type": "id",
15
- "readOnly": true
16
- },
17
- {
18
- "name": "email",
19
- "type": "email",
20
- "tag": "contact.email"
21
- },
22
- {
23
- "name": "name",
24
- "type": "string",
25
- "tag": "person.fullName"
26
- },
27
- {
28
- "name": "phone",
29
- "type": "phone",
30
- "tag": "contact.phone"
31
- },
32
- {
33
- "name": "description",
34
- "type": "text"
35
- },
36
- {
37
- "name": "address.line1",
38
- "type": "string",
39
- "tag": "address.line1"
40
- },
41
- {
42
- "name": "address.city",
43
- "type": "string",
44
- "tag": "address.locality"
45
- },
46
- {
47
- "name": "address.state",
48
- "type": "string",
49
- "tag": "address.region"
50
- },
51
- {
52
- "name": "address.postal_code",
53
- "type": "string",
54
- "tag": "address.postalCode"
55
- },
56
- {
57
- "name": "address.country",
58
- "type": "string",
59
- "tag": "address.country"
60
- },
61
- {
62
- "name": "currency",
63
- "type": "string"
64
- },
65
- {
66
- "name": "metadata.quickbooks_id",
67
- "type": "string",
68
- "tag": "record.externalId"
69
- },
70
- {
71
- "name": "created",
72
- "type": "timestamp",
73
- "tag": "record.createdAt",
74
- "readOnly": true
75
- }
76
- ],
77
- "sync": {
78
- "id": "id",
79
- "list": {
80
- "capability": "customer.list",
81
- "cursor": "starting_after",
82
- "limit": "limit",
83
- "items": "data",
84
- "next": "lastId"
85
- },
86
- "get": {
87
- "capability": "customer.get",
88
- "id": "id"
89
- },
90
- "create": {
91
- "capability": "customer.create",
92
- "body": "params"
93
- },
94
- "update": {
95
- "capability": "customer.update",
96
- "id": "id",
97
- "body": "params"
98
- }
99
- }
100
- },
101
- "paymentIntent": {
102
- "label": "Payment intent",
103
- "fields": [
104
- {
105
- "name": "id",
106
- "type": "id",
107
- "readOnly": true
108
- },
109
- {
110
- "name": "amount",
111
- "type": "integer",
112
- "tag": "payment.amountMinor"
113
- },
114
- {
115
- "name": "amount_received",
116
- "type": "integer",
117
- "readOnly": true
118
- },
119
- {
120
- "name": "currency",
121
- "type": "string",
122
- "tag": "payment.currency"
123
- },
124
- {
125
- "name": "customer",
126
- "type": "string"
127
- },
128
- {
129
- "name": "description",
130
- "type": "text"
131
- },
132
- {
133
- "name": "receipt_email",
134
- "type": "email",
135
- "tag": "contact.email"
136
- },
137
- {
138
- "name": "status",
139
- "type": "enum",
140
- "tag": "payment.status",
141
- "values": [
142
- "requires_payment_method",
143
- "requires_confirmation",
144
- "requires_action",
145
- "processing",
146
- "requires_capture",
147
- "canceled",
148
- "succeeded"
149
- ],
150
- "readOnly": true
151
- },
152
- {
153
- "name": "latest_charge",
154
- "type": "string",
155
- "readOnly": true
156
- },
157
- {
158
- "name": "metadata",
159
- "type": "json"
160
- },
161
- {
162
- "name": "created",
163
- "type": "timestamp",
164
- "tag": "record.createdAt",
165
- "readOnly": true
166
- }
167
- ]
168
- },
169
- "refund": {
170
- "label": "Refund",
171
- "fields": [
172
- {
173
- "name": "id",
174
- "type": "id",
175
- "readOnly": true
176
- },
177
- {
178
- "name": "amount",
179
- "type": "integer",
180
- "tag": "payment.amountMinor"
181
- },
182
- {
183
- "name": "currency",
184
- "type": "string",
185
- "tag": "payment.currency"
186
- },
187
- {
188
- "name": "charge",
189
- "type": "string"
190
- },
191
- {
192
- "name": "payment_intent",
193
- "type": "string"
194
- },
195
- {
196
- "name": "reason",
197
- "type": "enum",
198
- "values": [
199
- "duplicate",
200
- "fraudulent",
201
- "requested_by_customer",
202
- "expired_uncaptured_charge"
203
- ]
204
- },
205
- {
206
- "name": "status",
207
- "type": "enum",
208
- "values": [
209
- "pending",
210
- "requires_action",
211
- "succeeded",
212
- "failed",
213
- "canceled"
214
- ],
215
- "readOnly": true
216
- },
217
- {
218
- "name": "created",
219
- "type": "timestamp",
220
- "tag": "record.createdAt",
221
- "readOnly": true
222
- }
223
- ]
224
- },
225
- "payout": {
226
- "label": "Payout",
227
- "fields": [
228
- {
229
- "name": "id",
230
- "type": "id",
231
- "readOnly": true
232
- },
233
- {
234
- "name": "amount",
235
- "type": "integer",
236
- "tag": "payment.amountMinor"
237
- },
238
- {
239
- "name": "currency",
240
- "type": "string",
241
- "tag": "payment.currency"
242
- },
243
- {
244
- "name": "arrival_date",
245
- "type": "timestamp"
246
- },
247
- {
248
- "name": "status",
249
- "type": "enum",
250
- "values": [
251
- "paid",
252
- "pending",
253
- "in_transit",
254
- "canceled",
255
- "failed"
256
- ],
257
- "readOnly": true
258
- },
259
- {
260
- "name": "automatic",
261
- "type": "boolean"
262
- },
263
- {
264
- "name": "balance_transaction",
265
- "type": "string"
266
- },
267
- {
268
- "name": "statement_descriptor",
269
- "type": "string"
270
- }
271
- ]
272
- },
273
- "balanceTransaction": {
274
- "label": "Balance transaction",
275
- "fields": [
276
- {
277
- "name": "id",
278
- "type": "id",
279
- "readOnly": true
280
- },
281
- {
282
- "name": "amount",
283
- "type": "integer"
284
- },
285
- {
286
- "name": "fee",
287
- "type": "integer"
288
- },
289
- {
290
- "name": "net",
291
- "type": "integer"
292
- },
293
- {
294
- "name": "currency",
295
- "type": "string"
296
- },
297
- {
298
- "name": "type",
299
- "type": "enum",
300
- "values": [
301
- "charge",
302
- "payment",
303
- "refund",
304
- "adjustment",
305
- "stripe_fee",
306
- "payout",
307
- "application_fee"
308
- ]
309
- },
310
- {
311
- "name": "reporting_category",
312
- "type": "string"
313
- },
314
- {
315
- "name": "source",
316
- "type": "string"
317
- },
318
- {
319
- "name": "created",
320
- "type": "timestamp",
321
- "readOnly": true
322
- }
323
- ]
324
- }
325
- },
326
- "events": {
327
- "payment_intent.succeeded": {
328
- "delivery": "webhook",
329
- "object": "paymentIntent",
330
- "description": "Connect webhook: one app-level endpoint receives events for every connected account; Frigg routes by `account`. No per-install subscription.",
331
- "payload": {
332
- "id": "evt_1QBz8kLkdIwHu7ix3XyZ9aQe",
333
- "object": "event",
334
- "account": "acct_1Nv0FGQ9RKHgCVdK",
335
- "api_version": "2024-06-20",
336
- "created": 1760800000,
337
- "livemode": true,
338
- "type": "payment_intent.succeeded",
339
- "data": {
340
- "object": {
341
- "id": "pi_3QBz8jLkdIwHu7ix1Zt0nXyQ",
342
- "object": "payment_intent",
343
- "amount": 13970,
344
- "amount_received": 13970,
345
- "currency": "usd",
346
- "customer": "cus_QzX1fL0aB2cD3e",
347
- "description": "Invoice INV-2026-0142",
348
- "receipt_email": "dana.reyes@example.com",
349
- "status": "succeeded",
350
- "latest_charge": "ch_3QBz8jLkdIwHu7ix1Kk4mPqR",
351
- "metadata": {
352
- "order_id": "1042"
353
- },
354
- "created": 1760799990
355
- }
356
- }
357
- },
358
- "record": "data.object"
359
- },
360
- "refund.created": {
361
- "delivery": "webhook",
362
- "object": "refund",
363
- "payload": {
364
- "id": "evt_1QBz8kLkdIwHu7ix3XyZ9aQe",
365
- "object": "event",
366
- "account": "acct_1Nv0FGQ9RKHgCVdK",
367
- "api_version": "2024-06-20",
368
- "created": 1760800000,
369
- "livemode": true,
370
- "type": "refund.created",
371
- "data": {
372
- "object": {
373
- "id": "re_3QBz8jLkdIwHu7ix1aBcDeFg",
374
- "object": "refund",
375
- "amount": 3118,
376
- "currency": "usd",
377
- "charge": "ch_3QBz8jLkdIwHu7ix1Kk4mPqR",
378
- "payment_intent": "pi_3QBz8jLkdIwHu7ix1Zt0nXyQ",
379
- "reason": "requested_by_customer",
380
- "status": "succeeded",
381
- "created": 1760990000
382
- }
383
- }
384
- },
385
- "record": "data.object"
386
- },
387
- "customer.created": {
388
- "delivery": "webhook",
389
- "object": "customer",
390
- "payload": {
391
- "id": "evt_1QBz8kLkdIwHu7ix3XyZ9aQe",
392
- "object": "event",
393
- "account": "acct_1Nv0FGQ9RKHgCVdK",
394
- "api_version": "2024-06-20",
395
- "created": 1760800000,
396
- "livemode": true,
397
- "type": "customer.created",
398
- "data": {
399
- "object": {
400
- "id": "cus_QzX1fL0aB2cD3e",
401
- "object": "customer",
402
- "email": "dana.reyes@example.com",
403
- "name": "Dana Reyes",
404
- "phone": "+15125550142",
405
- "address": {
406
- "line1": "501 Congress Ave",
407
- "city": "Austin",
408
- "state": "TX",
409
- "postal_code": "78701",
410
- "country": "US"
411
- },
412
- "metadata": {},
413
- "created": 1760700000
414
- }
415
- }
416
- },
417
- "record": "data.object"
418
- },
419
- "customer.updated": {
420
- "delivery": "webhook",
421
- "object": "customer",
422
- "payload": {
423
- "id": "evt_1QBz8kLkdIwHu7ix3XyZ9aQe",
424
- "object": "event",
425
- "account": "acct_1Nv0FGQ9RKHgCVdK",
426
- "api_version": "2024-06-20",
427
- "created": 1760800000,
428
- "livemode": true,
429
- "type": "customer.updated",
430
- "data": {
431
- "object": {
432
- "id": "cus_QzX1fL0aB2cD3e",
433
- "object": "customer",
434
- "email": "dana@reyescoffee.com",
435
- "name": "Dana Reyes",
436
- "metadata": {}
437
- }
438
- }
439
- },
440
- "record": "data.object"
441
- },
442
- "payout.paid": {
443
- "delivery": "webhook",
444
- "object": "payout",
445
- "payload": {
446
- "id": "evt_1QBz8kLkdIwHu7ix3XyZ9aQe",
447
- "object": "event",
448
- "account": "acct_1Nv0FGQ9RKHgCVdK",
449
- "api_version": "2024-06-20",
450
- "created": 1760800000,
451
- "livemode": true,
452
- "type": "payout.paid",
453
- "data": {
454
- "object": {
455
- "id": "po_1QC1aBLkdIwHu7ixq2W3e4R5",
456
- "object": "payout",
457
- "amount": 482211,
458
- "currency": "usd",
459
- "arrival_date": 1760918400,
460
- "status": "paid",
461
- "automatic": true,
462
- "balance_transaction": "txn_1QC1aBLkdIwHu7ixAbCdEfGh"
463
- }
464
- }
465
- },
466
- "record": "data.object"
467
- }
468
- },
469
- "webhook": {
470
- "scope": "app",
471
- "topic": "{{body.type}}",
472
- "eventId": "{{body.id}}",
473
- "account": "{{body.account}}",
474
- "verify": "verifyWebhookSignature",
475
- "note": "Stripe-Signature t=…,v1=… over t.raw body, 300 s tolerance; rolling secrets accepted. Implemented in api-module-library 659b90d; needs the module release that includes it."
476
- },
477
- "capabilities": {
478
- "customer.get": {
479
- "kind": "read",
480
- "method": "retrieveCustomer",
481
- "input": {
482
- "id": {
483
- "type": "string",
484
- "required": true
485
- }
486
- },
487
- "output": "customer",
488
- "args": [
489
- "id"
490
- ]
491
- },
492
- "customer.list": {
493
- "kind": "read",
494
- "method": "listCustomers",
495
- "input": {
496
- "created_gte": {
497
- "type": "number"
498
- },
499
- "limit": {
500
- "type": "number"
501
- },
502
- "starting_after": {
503
- "type": "string"
504
- }
505
- },
506
- "output": "page<customer>",
507
- "args": [
508
- "$rest"
509
- ]
510
- },
511
- "customer.search": {
512
- "kind": "search",
513
- "method": "searchCustomers",
514
- "input": {
515
- "query": {
516
- "type": "string",
517
- "required": true
518
- }
519
- },
520
- "output": "customer[]",
521
- "args": [
522
- "query"
523
- ]
524
- },
525
- "customer.create": {
526
- "kind": "write",
527
- "method": "createCustomer",
528
- "input": {
529
- "params": {
530
- "type": "object",
531
- "required": true
532
- }
533
- },
534
- "output": "customer",
535
- "args": [
536
- "params"
537
- ]
538
- },
539
- "customer.update": {
540
- "kind": "write",
541
- "method": "updateCustomer",
542
- "input": {
543
- "id": {
544
- "type": "string",
545
- "required": true
546
- },
547
- "params": {
548
- "type": "object",
549
- "required": true
550
- }
551
- },
552
- "output": "customer",
553
- "args": [
554
- "id",
555
- "params"
556
- ]
557
- },
558
- "paymentIntent.get": {
559
- "kind": "read",
560
- "method": "retrievePaymentIntent",
561
- "input": {
562
- "id": {
563
- "type": "string",
564
- "required": true
565
- },
566
- "expand": {
567
- "type": "array"
568
- }
569
- },
570
- "output": "paymentIntent",
571
- "args": [
572
- "id",
573
- "$rest"
574
- ]
575
- },
576
- "refund.get": {
577
- "kind": "read",
578
- "method": "retrieveRefund",
579
- "input": {
580
- "id": {
581
- "type": "string",
582
- "required": true
583
- }
584
- },
585
- "output": "refund",
586
- "args": [
587
- "id"
588
- ]
589
- },
590
- "payout.list": {
591
- "kind": "read",
592
- "method": "listPayouts",
593
- "input": {
594
- "status": {
595
- "type": "string"
596
- },
597
- "arrivedAfter": {
598
- "type": "string"
599
- },
600
- "arrivedBefore": {
601
- "type": "string"
602
- },
603
- "limit": {
604
- "type": "number"
605
- }
606
- },
607
- "output": "payout[]",
608
- "args": [
609
- "$rest"
610
- ]
611
- },
612
- "balanceTransaction.list": {
613
- "kind": "read",
614
- "method": "getBalanceTransactions",
615
- "input": {
616
- "payout": {
617
- "type": "string",
618
- "required": true
619
- },
620
- "type": {
621
- "type": "string"
622
- },
623
- "limit": {
624
- "type": "number"
625
- }
626
- },
627
- "output": "balanceTransaction[]"
628
- }
629
- }
630
- }