@executor-js/plugin-openapi 1.4.29 → 1.4.31

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 (45) hide show
  1. package/dist/{AddOpenApiSource-FLMNI742.js → AddOpenApiSource-KSOMPQ2R.js} +4 -4
  2. package/dist/{EditOpenApiSource-I4NIGIIJ.js → EditOpenApiSource-AOA7APR2.js} +301 -192
  3. package/dist/EditOpenApiSource-AOA7APR2.js.map +1 -0
  4. package/dist/{OpenApiSourceSummary-CM46DB4L.js → OpenApiSourceSummary-Y3S6ZBOZ.js} +4 -4
  5. package/dist/OpenApiSourceSummary-Y3S6ZBOZ.js.map +1 -0
  6. package/dist/api/group.d.ts +124 -118
  7. package/dist/api/index.d.ts +148 -369
  8. package/dist/chunk-BB5IAKRG.js +136 -0
  9. package/dist/chunk-BB5IAKRG.js.map +1 -0
  10. package/dist/{chunk-E7PZ2QGD.js → chunk-EOXXE5DG.js} +17 -455
  11. package/dist/chunk-EOXXE5DG.js.map +1 -0
  12. package/dist/{chunk-OZ67JNID.js → chunk-NIKLYJ3X.js} +830 -319
  13. package/dist/chunk-NIKLYJ3X.js.map +1 -0
  14. package/dist/{chunk-TGDT6QCH.js → chunk-YJMXYKYX.js} +178 -117
  15. package/dist/chunk-YJMXYKYX.js.map +1 -0
  16. package/dist/{chunk-GFQUEZUW.js → chunk-ZZBTLFTA.js} +78 -93
  17. package/dist/chunk-ZZBTLFTA.js.map +1 -0
  18. package/dist/client.js +7 -137
  19. package/dist/client.js.map +1 -1
  20. package/dist/core.js +5 -10
  21. package/dist/index.js +3 -2
  22. package/dist/react/atoms.d.ts +83 -223
  23. package/dist/react/client.d.ts +123 -117
  24. package/dist/sdk/credential-status.d.ts +3 -3
  25. package/dist/sdk/extract.d.ts +19 -19
  26. package/dist/sdk/index.d.ts +2 -2
  27. package/dist/sdk/invoke.d.ts +7 -7
  28. package/dist/sdk/parse.d.ts +2 -3
  29. package/dist/sdk/plugin.d.ts +181 -275
  30. package/dist/sdk/preview.d.ts +12 -12
  31. package/dist/sdk/source-contracts.d.ts +55 -0
  32. package/dist/sdk/store.d.ts +6 -269
  33. package/dist/sdk/types.d.ts +16 -65
  34. package/dist/testing/index.d.ts +149 -11
  35. package/dist/testing.js +419 -33
  36. package/dist/testing.js.map +1 -1
  37. package/dist/testing.test.d.ts +1 -0
  38. package/package.json +3 -4
  39. package/dist/EditOpenApiSource-I4NIGIIJ.js.map +0 -1
  40. package/dist/OpenApiSourceSummary-CM46DB4L.js.map +0 -1
  41. package/dist/chunk-E7PZ2QGD.js.map +0 -1
  42. package/dist/chunk-GFQUEZUW.js.map +0 -1
  43. package/dist/chunk-OZ67JNID.js.map +0 -1
  44. package/dist/chunk-TGDT6QCH.js.map +0 -1
  45. /package/dist/{AddOpenApiSource-FLMNI742.js.map → AddOpenApiSource-KSOMPQ2R.js.map} +0 -0
@@ -0,0 +1,136 @@
1
+ // src/sdk/presets.ts
2
+ var openApiPresets = [
3
+ {
4
+ id: "stripe",
5
+ name: "Stripe",
6
+ summary: "Payments, subscriptions, customers, and invoices.",
7
+ url: "https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.json",
8
+ icon: "https://stripe.com/favicon.ico",
9
+ featured: true
10
+ },
11
+ {
12
+ id: "github-rest",
13
+ name: "GitHub REST",
14
+ summary: "Repos, issues, pull requests, actions, and users.",
15
+ url: "https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.json",
16
+ icon: "https://github.com/favicon.ico",
17
+ featured: true
18
+ },
19
+ {
20
+ id: "vercel",
21
+ name: "Vercel",
22
+ summary: "Deployments, domains, projects, and edge config.",
23
+ url: "https://openapi.vercel.sh",
24
+ icon: "https://vercel.com/favicon.ico",
25
+ featured: true
26
+ },
27
+ {
28
+ id: "cloudflare",
29
+ name: "Cloudflare",
30
+ summary: "DNS, workers, pages, R2, and security rules.",
31
+ url: "https://raw.githubusercontent.com/cloudflare/api-schemas/main/openapi.json",
32
+ icon: "https://cloudflare.com/favicon.ico",
33
+ featured: true
34
+ },
35
+ {
36
+ id: "neon",
37
+ name: "Neon",
38
+ summary: "Serverless Postgres \u2014 projects, branches, and endpoints.",
39
+ url: "https://neon.tech/api_spec/release/v2.json",
40
+ icon: "https://neon.tech/favicon/favicon.ico",
41
+ featured: true
42
+ },
43
+ {
44
+ id: "openai",
45
+ name: "OpenAI",
46
+ summary: "Models, files, responses, and fine-tuning.",
47
+ url: "https://app.stainless.com/api/spec/documented/openai/openapi.documented.yml",
48
+ icon: "https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/openai.svg",
49
+ featured: true
50
+ },
51
+ {
52
+ id: "sentry",
53
+ name: "Sentry",
54
+ summary: "Error tracking, performance monitoring, and releases.",
55
+ url: "https://raw.githubusercontent.com/getsentry/sentry-api-schema/main/openapi-derefed.json",
56
+ icon: "https://sentry-brand.storage.googleapis.com/sentry-glyph-black.png",
57
+ featured: true
58
+ },
59
+ {
60
+ id: "exa",
61
+ name: "Exa",
62
+ summary: "Web search, similar links, content retrieval, and answers.",
63
+ url: "https://raw.githubusercontent.com/exa-labs/openapi-spec/refs/heads/master/exa-openapi-spec.yaml",
64
+ icon: "https://exa.ai/images/favicon-32x32.png",
65
+ featured: true
66
+ },
67
+ {
68
+ id: "exa-websets",
69
+ name: "Exa Websets",
70
+ summary: "Websets, enrichments, webhooks, and monitors.",
71
+ url: "https://raw.githubusercontent.com/exa-labs/openapi-spec/refs/heads/master/exa-websets-spec.yaml",
72
+ icon: "https://exa.ai/images/favicon-32x32.png",
73
+ featured: true
74
+ },
75
+ {
76
+ id: "axiom",
77
+ name: "Axiom",
78
+ summary: "Log ingestion, querying, datasets, and monitors.",
79
+ url: "https://axiom.co/docs/restapi/versions/v2.json",
80
+ icon: "https://axiom.co/favicon.ico"
81
+ },
82
+ {
83
+ id: "asana",
84
+ name: "Asana",
85
+ summary: "Tasks, projects, teams, and workspace management.",
86
+ url: "https://raw.githubusercontent.com/APIs-guru/openapi-directory/main/APIs/asana.com/1.0/openapi.yaml",
87
+ icon: "https://asana.com/favicon.ico"
88
+ },
89
+ {
90
+ id: "twilio",
91
+ name: "Twilio",
92
+ summary: "SMS, voice, video, and messaging APIs.",
93
+ url: "https://raw.githubusercontent.com/twilio/twilio-oai/main/spec/json/twilio_api_v2010.json",
94
+ icon: "https://twilio.com/favicon.ico"
95
+ },
96
+ {
97
+ id: "digitalocean",
98
+ name: "DigitalOcean",
99
+ summary: "Droplets, Kubernetes, databases, and networking.",
100
+ url: "https://raw.githubusercontent.com/digitalocean/openapi/main/specification/DigitalOcean-public.v2.yaml",
101
+ icon: "https://assets.digitalocean.com/favicon.ico"
102
+ },
103
+ {
104
+ id: "petstore",
105
+ name: "Petstore",
106
+ summary: "Classic OpenAPI demo \u2014 no auth required.",
107
+ url: "https://petstore3.swagger.io/api/v3/openapi.json",
108
+ icon: "https://petstore3.swagger.io/favicon-32x32.png"
109
+ },
110
+ {
111
+ id: "val-town",
112
+ name: "Val Town",
113
+ summary: "Vals, runs, blobs, and email/web endpoints.",
114
+ url: "https://api.val.town/openapi.json",
115
+ icon: "https://www.val.town/favicon.svg"
116
+ },
117
+ {
118
+ id: "resend",
119
+ name: "Resend",
120
+ summary: "Transactional email sending and domain management.",
121
+ url: "https://raw.githubusercontent.com/resend/resend-openapi/main/resend.yaml",
122
+ icon: "https://resend.com/static/favicons/favicon.ico"
123
+ },
124
+ {
125
+ id: "spotify",
126
+ name: "Spotify",
127
+ summary: "Tracks, albums, playlists, library, and playback.",
128
+ url: "https://raw.githubusercontent.com/sonallux/spotify-web-api/refs/heads/main/official-spotify-open-api.yml",
129
+ icon: "https://spotify.com/favicon.ico"
130
+ }
131
+ ];
132
+
133
+ export {
134
+ openApiPresets
135
+ };
136
+ //# sourceMappingURL=chunk-BB5IAKRG.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/sdk/presets.ts"],"sourcesContent":["export interface OpenApiPreset {\n readonly id: string;\n readonly name: string;\n readonly summary: string;\n readonly url: string;\n readonly icon?: string;\n readonly featured?: boolean;\n}\n\nexport const openApiPresets: readonly OpenApiPreset[] = [\n {\n id: \"stripe\",\n name: \"Stripe\",\n summary: \"Payments, subscriptions, customers, and invoices.\",\n url: \"https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.json\",\n icon: \"https://stripe.com/favicon.ico\",\n featured: true,\n },\n {\n id: \"github-rest\",\n name: \"GitHub REST\",\n summary: \"Repos, issues, pull requests, actions, and users.\",\n url: \"https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.json\",\n icon: \"https://github.com/favicon.ico\",\n featured: true,\n },\n {\n id: \"vercel\",\n name: \"Vercel\",\n summary: \"Deployments, domains, projects, and edge config.\",\n url: \"https://openapi.vercel.sh\",\n icon: \"https://vercel.com/favicon.ico\",\n featured: true,\n },\n {\n id: \"cloudflare\",\n name: \"Cloudflare\",\n summary: \"DNS, workers, pages, R2, and security rules.\",\n url: \"https://raw.githubusercontent.com/cloudflare/api-schemas/main/openapi.json\",\n icon: \"https://cloudflare.com/favicon.ico\",\n featured: true,\n },\n {\n id: \"neon\",\n name: \"Neon\",\n summary: \"Serverless Postgres — projects, branches, and endpoints.\",\n url: \"https://neon.tech/api_spec/release/v2.json\",\n icon: \"https://neon.tech/favicon/favicon.ico\",\n featured: true,\n },\n {\n id: \"openai\",\n name: \"OpenAI\",\n summary: \"Models, files, responses, and fine-tuning.\",\n url: \"https://app.stainless.com/api/spec/documented/openai/openapi.documented.yml\",\n icon: \"https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/openai.svg\",\n featured: true,\n },\n {\n id: \"sentry\",\n name: \"Sentry\",\n summary: \"Error tracking, performance monitoring, and releases.\",\n url: \"https://raw.githubusercontent.com/getsentry/sentry-api-schema/main/openapi-derefed.json\",\n icon: \"https://sentry-brand.storage.googleapis.com/sentry-glyph-black.png\",\n featured: true,\n },\n {\n id: \"exa\",\n name: \"Exa\",\n summary: \"Web search, similar links, content retrieval, and answers.\",\n url: \"https://raw.githubusercontent.com/exa-labs/openapi-spec/refs/heads/master/exa-openapi-spec.yaml\",\n icon: \"https://exa.ai/images/favicon-32x32.png\",\n featured: true,\n },\n {\n id: \"exa-websets\",\n name: \"Exa Websets\",\n summary: \"Websets, enrichments, webhooks, and monitors.\",\n url: \"https://raw.githubusercontent.com/exa-labs/openapi-spec/refs/heads/master/exa-websets-spec.yaml\",\n icon: \"https://exa.ai/images/favicon-32x32.png\",\n featured: true,\n },\n {\n id: \"axiom\",\n name: \"Axiom\",\n summary: \"Log ingestion, querying, datasets, and monitors.\",\n url: \"https://axiom.co/docs/restapi/versions/v2.json\",\n icon: \"https://axiom.co/favicon.ico\",\n },\n {\n id: \"asana\",\n name: \"Asana\",\n summary: \"Tasks, projects, teams, and workspace management.\",\n url: \"https://raw.githubusercontent.com/APIs-guru/openapi-directory/main/APIs/asana.com/1.0/openapi.yaml\",\n icon: \"https://asana.com/favicon.ico\",\n },\n {\n id: \"twilio\",\n name: \"Twilio\",\n summary: \"SMS, voice, video, and messaging APIs.\",\n url: \"https://raw.githubusercontent.com/twilio/twilio-oai/main/spec/json/twilio_api_v2010.json\",\n icon: \"https://twilio.com/favicon.ico\",\n },\n {\n id: \"digitalocean\",\n name: \"DigitalOcean\",\n summary: \"Droplets, Kubernetes, databases, and networking.\",\n url: \"https://raw.githubusercontent.com/digitalocean/openapi/main/specification/DigitalOcean-public.v2.yaml\",\n icon: \"https://assets.digitalocean.com/favicon.ico\",\n },\n {\n id: \"petstore\",\n name: \"Petstore\",\n summary: \"Classic OpenAPI demo — no auth required.\",\n url: \"https://petstore3.swagger.io/api/v3/openapi.json\",\n icon: \"https://petstore3.swagger.io/favicon-32x32.png\",\n },\n {\n id: \"val-town\",\n name: \"Val Town\",\n summary: \"Vals, runs, blobs, and email/web endpoints.\",\n url: \"https://api.val.town/openapi.json\",\n icon: \"https://www.val.town/favicon.svg\",\n },\n {\n id: \"resend\",\n name: \"Resend\",\n summary: \"Transactional email sending and domain management.\",\n url: \"https://raw.githubusercontent.com/resend/resend-openapi/main/resend.yaml\",\n icon: \"https://resend.com/static/favicons/favicon.ico\",\n },\n {\n id: \"spotify\",\n name: \"Spotify\",\n summary: \"Tracks, albums, playlists, library, and playback.\",\n url: \"https://raw.githubusercontent.com/sonallux/spotify-web-api/refs/heads/main/official-spotify-open-api.yml\",\n icon: \"https://spotify.com/favicon.ico\",\n },\n];\n"],"mappings":";AASO,IAAM,iBAA2C;AAAA,EACtD;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,KAAK;AAAA,IACL,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,KAAK;AAAA,IACL,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,KAAK;AAAA,IACL,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,KAAK;AAAA,IACL,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,KAAK;AAAA,IACL,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,KAAK;AAAA,IACL,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,KAAK;AAAA,IACL,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAA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