Skip to content

Commit 71ecfbf

Browse files
authored
Merge pull request #18403 from Budibase/feature/dodo-payments
Add Dodo Payments REST template
2 parents 7af936c + 3b4d007 commit 71ecfbf

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed
Lines changed: 10 additions & 0 deletions
Loading

packages/builder/src/stores/builder/restTemplates.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ import CleverLogo from "assets/rest-template-icons/clever.svg"
3434
import ClickupLogo from "assets/rest-template-icons/clickup.svg"
3535
import DeelLogo from "assets/rest-template-icons/deel.svg"
3636
import DixaLogo from "assets/rest-template-icons/dixa.svg"
37+
import DodoPaymentsLogo from "assets/rest-template-icons/dodo-payments.svg"
3738
import DotsLogo from "assets/rest-template-icons/dots.svg"
3839
import FactorialLogo from "assets/rest-template-icons/factorial.svg"
3940
import FastspringLogo from "assets/rest-template-icons/fastspring.svg"
@@ -2306,6 +2307,20 @@ const INITIAL_REST_TEMPLATES_STATE: RestTemplatesState = {
23062307
operationsCount: 84,
23072308
icon: DixaLogo,
23082309
},
2310+
{
2311+
id: "dodo-payments",
2312+
name: "Dodo Payments",
2313+
description:
2314+
"Payments API for products, customers, subscriptions, invoices, and billing workflows.",
2315+
specs: [
2316+
{
2317+
version: "1.92.3",
2318+
url: "https://raw.githubusercontent.com/Budibase/openapi-rest-templates/main/dodo-payments/openapi.yaml",
2319+
},
2320+
],
2321+
operationsCount: 116,
2322+
icon: DodoPaymentsLogo,
2323+
},
23092324
{
23102325
id: "dots",
23112326
name: "Dots",

packages/types/src/ui/rest.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export type RestTemplateId =
4444
| "clickup"
4545
| "deel"
4646
| "dixa"
47+
| "dodo-payments"
4748
| "dots"
4849
| "factorial"
4950
| "fastspring"
@@ -284,6 +285,7 @@ export type RestTemplateName =
284285
| "Clickup"
285286
| "Deel"
286287
| "Dixa"
288+
| "Dodo Payments"
287289
| "Dots"
288290
| "Factorial"
289291
| "Fastspring"

0 commit comments

Comments
 (0)