@voyant-travel/apps 0.5.0 → 0.6.1

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.
@@ -0,0 +1,72 @@
1
+ {
2
+ "openapi": "3.1.0",
3
+ "info": {
4
+ "title": "Voyant Apps API",
5
+ "version": "1.0.0",
6
+ "description": "Operator app registration, release, installation, consent, token, and webhook governance routes."
7
+ },
8
+ "paths": {
9
+ "/v1/admin/apps": {
10
+ "get": { "summary": "List app registrations" },
11
+ "post": { "summary": "Create a custom app registration" }
12
+ },
13
+ "/v1/admin/apps/oauth/authorize": {
14
+ "post": { "summary": "Approve app OAuth consent" }
15
+ },
16
+ "/v1/admin/apps/oauth/token": {
17
+ "post": { "summary": "Issue an app OAuth token" }
18
+ },
19
+ "/v1/admin/apps/oauth/revoke-installation": {
20
+ "post": { "summary": "Revoke installation credentials" }
21
+ },
22
+ "/v1/admin/apps/oauth/session-token/exchange": {
23
+ "post": { "summary": "Exchange an app session token" }
24
+ },
25
+ "/v1/admin/apps/install": {
26
+ "post": { "summary": "Install an app release" }
27
+ },
28
+ "/v1/admin/apps/installations": {
29
+ "get": { "summary": "List app installations" }
30
+ },
31
+ "/v1/admin/apps/installations/{installationId}": {
32
+ "get": { "summary": "Get app installation detail" }
33
+ },
34
+ "/v1/admin/apps/installations/{installationId}/audit": {
35
+ "get": { "summary": "List app installation audit events" }
36
+ },
37
+ "/v1/admin/apps/installations/{installationId}/pause": {
38
+ "post": { "summary": "Pause an app installation" }
39
+ },
40
+ "/v1/admin/apps/installations/{installationId}/resume": {
41
+ "post": { "summary": "Resume an app installation" }
42
+ },
43
+ "/v1/admin/apps/installations/{installationId}/uninstall": {
44
+ "post": { "summary": "Uninstall an app installation" }
45
+ },
46
+ "/v1/admin/apps/installations/{installationId}/activate": {
47
+ "post": { "summary": "Activate an app installation release" }
48
+ },
49
+ "/v1/admin/apps/installations/{installationId}/purge-preview": {
50
+ "post": { "summary": "Preview app installation purge impact" }
51
+ },
52
+ "/v1/admin/apps/installations/{installationId}/session-token": {
53
+ "post": { "summary": "Issue an app extension session token" }
54
+ },
55
+ "/v1/admin/apps/installations/{installationId}/webhooks": {
56
+ "get": { "summary": "List app webhook delivery health" }
57
+ },
58
+ "/v1/admin/apps/installations/{installationId}/webhooks/replay": {
59
+ "post": { "summary": "Replay an app webhook delivery" }
60
+ },
61
+ "/v1/admin/apps/{appId}": {
62
+ "get": { "summary": "Get an app registration" }
63
+ },
64
+ "/v1/admin/apps/{appId}/releases": {
65
+ "get": { "summary": "List app releases" },
66
+ "post": { "summary": "Create an app release from an uploaded manifest" }
67
+ },
68
+ "/v1/admin/apps/{appId}/releases/fetch": {
69
+ "post": { "summary": "Create an app release from a fetched manifest" }
70
+ }
71
+ }
72
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyant-travel/apps",
3
- "version": "0.5.0",
3
+ "version": "0.6.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -84,6 +84,11 @@
84
84
  "import": "./dist/routes.js",
85
85
  "default": "./dist/routes.js"
86
86
  },
87
+ "./runtime-contributor": {
88
+ "types": "./dist/runtime-contributor.d.ts",
89
+ "import": "./dist/runtime-contributor.js",
90
+ "default": "./dist/runtime-contributor.js"
91
+ },
87
92
  "./schema": {
88
93
  "types": "./dist/schema.d.ts",
89
94
  "import": "./dist/schema.js",
@@ -108,7 +113,8 @@
108
113
  "types": "./dist/voyant.d.ts",
109
114
  "import": "./dist/voyant.js",
110
115
  "default": "./dist/voyant.js"
111
- }
116
+ },
117
+ "./openapi/admin": "./openapi/admin/apps.json"
112
118
  },
113
119
  "dependencies": {
114
120
  "@hono/zod-openapi": "^1.4.0",
@@ -118,8 +124,8 @@
118
124
  "@voyant-travel/admin": "^0.127.0",
119
125
  "@voyant-travel/admin-extension-sdk": "^0.2.0",
120
126
  "@voyant-travel/core": "^0.125.2",
121
- "@voyant-travel/custom-fields": "^0.2.1",
122
127
  "@voyant-travel/db": "^0.114.10",
128
+ "@voyant-travel/custom-fields": "^0.2.1",
123
129
  "@voyant-travel/hono": "^0.128.3",
124
130
  "@voyant-travel/types": "^0.109.4",
125
131
  "@voyant-travel/webhook-delivery": "^0.4.0"
@@ -133,6 +139,7 @@
133
139
  },
134
140
  "files": [
135
141
  "dist",
142
+ "openapi",
136
143
  "migrations/*.sql",
137
144
  "migrations/meta/_journal.json"
138
145
  ],
@@ -149,8 +156,8 @@
149
156
  "kind": "module",
150
157
  "manifest": "./voyant",
151
158
  "runtime": {
152
- "entry": "./api-runtime",
153
- "export": "createAppsApiModule"
159
+ "entry": "./runtime-contributor",
160
+ "export": "createAppsRuntimePortContribution"
154
161
  },
155
162
  "compatibleWith": {
156
163
  "framework": ">=0.44.0",