diff --git a/UPSTREAM_DIFF.md b/UPSTREAM_DIFF.md index 7e7d390..25c465d 100644 --- a/UPSTREAM_DIFF.md +++ b/UPSTREAM_DIFF.md @@ -1,44 +1,35 @@ # Upstream API Diff -> Old routes: 36 · New routes: 58 +> Old routes: 58 · New routes: 67 ## Added Routes | Route | Method | |-------|--------| -| `api.profile.spectrum-updates` | `PATCH` | -| `api.projects.:id.members` | `GET` | -| `api.projects.:id.members` | `POST` | -| `api.projects.:id.members.:memberUserId` | `DELETE` | -| `api.projects.:id.slack` | `DELETE` | -| `api.projects.:id.slack` | `GET` | -| `api.projects.:id.slack` | `PUT` | -| `api.projects.:id.slack.installations` | `GET` | -| `api.projects.:id.slack.installations.:teamId` | `DELETE` | -| `api.projects.:id.spectrum.avatar` | `DELETE` | -| `api.projects.:id.spectrum.avatar.commit` | `POST` | -| `api.projects.:id.spectrum.avatar.upload` | `POST` | -| `api.projects.:id.voice.imessage-enabled` | `PATCH` | -| `api.projects.:id.voice.settings` | `GET` | -| `api.projects.:id.voice.sip-inbound` | `DELETE` | -| `api.projects.:id.voice.sip-inbound` | `PATCH` | -| `api.projects.:id.webhooks` | `GET` | -| `api.projects.:id.webhooks` | `POST` | -| `api.projects.:id.webhooks.:webhookId` | `DELETE` | -| `api.projects.:id.whatsapp.templates` | `GET` | -| `api.projects.:id.whatsapp.templates` | `POST` | -| `api.projects.:id.whatsapp.templates.:templateId` | `DELETE` | -| `api.projects.:id.whatsapp.templates.:templateId` | `PATCH` | +| `.well-known.openid-configuration.api.auth` | `GET` | +| `api.account.set-password` | `POST` | +| `api.oauth-clients.:clientId.metadata` | `PATCH` | +| `api.oauth-clients.:clientId.scope-tiers` | `GET` | +| `api.oauth-clients.authorized` | `GET` | +| `api.oauth-clients.authorized.:clientId` | `DELETE` | +| `api.privacy-requests` | `POST` | +| `api.projects` | `GET` | +| `api.projects.:id.slack.setup` | `POST` | +| `api.signup.abandon` | `POST` | +| `api.slack.features` | `GET` | +| `schema.standaloneSchema.macro.macroFn.parser.response..well-known.oauth-authorization-server.api.auth` | `GET` | ## Removed Routes | Route | Method | |-------|--------| -| `api.projects.:id.spectrum.avatar-upload-url` | `GET` | +| `api.otp.email.send` | `POST` | +| `api.otp.email.verify` | `POST` | +| `schema.standaloneSchema.macro.macroFn.parser.response.api.projects` | `GET` | ## Summary -- **23** added -- **1** removed +- **12** added +- **3** removed - **0** changed -- **35** unchanged +- **55** unchanged diff --git a/types/api.d.ts b/types/api.d.ts index 9151b59..319fda8 100644 --- a/types/api.d.ts +++ b/types/api.d.ts @@ -42,6 +42,46 @@ declare const publicApp: Elysia<"", { parser: {}; response: {}; }, { + ".well-known": { + "oauth-authorization-server": { + api: { + auth: { + get: { + body: any; + params: any; + query: any; + headers: any; + response: { + [x: string]: any; + [x: number]: any; + [x: symbol]: any; + }; + }; + }; + }; + }; + }; +} & { + ".well-known": { + "openid-configuration": { + api: { + auth: { + get: { + body: any; + params: any; + query: any; + headers: any; + response: { + [x: string]: any; + [x: number]: any; + [x: symbol]: any; + }; + }; + }; + }; + }; + }; +} & { api: { projects: { get: { @@ -865,6 +905,30 @@ declare const publicApp: Elysia<"", { }; }; }; +} & { + api: { + projects: { + ":id": { + slack: { + setup: { + post: { + body: any; + params: { + id: string; + } & {}; + query: any; + headers: any; + response: { + [x: string]: any; + [x: number]: any; + [x: symbol]: any; + }; + }; + }; + }; + }; + }; + }; } & { api: { projects: { @@ -1163,10 +1227,28 @@ declare const publicApp: Elysia<"", { }; }; }; +} & { + api: { + slack: { + features: { + get: { + body: any; + params: any; + query: any; + headers: any; + response: { + [x: string]: any; + [x: number]: any; + [x: symbol]: any; + }; + }; + }; + }; + }; } & { api: { otp: { - email: { + phone: { send: { post: { body: any; @@ -1186,7 +1268,7 @@ declare const publicApp: Elysia<"", { } & { api: { otp: { - email: { + phone: { verify: { post: { body: any; @@ -1205,12 +1287,64 @@ declare const publicApp: Elysia<"", { }; } & { api: { - otp: { - phone: { - send: { - post: { - body: any; - params: {}; + account: { + "set-password": { + post: { + body: any; + params: {}; + query: any; + headers: any; + response: { + [x: string]: any; + [x: number]: any; + [x: symbol]: any; + }; + }; + }; + }; + }; +} & { + api: { + signup: { + abandon: { + post: { + body: any; + params: {}; + query: any; + headers: any; + response: { + [x: string]: any; + [x: number]: any; + [x: symbol]: any; + }; + }; + }; + }; + }; +} & { + api: { + "privacy-requests": { + post: { + body: any; + params: {}; + query: any; + headers: any; + response: { + [x: string]: any; + [x: number]: any; + [x: symbol]: any; + }; + }; + }; + }; +} & { + api: { + "oauth-clients": { + ":clientId": { + "scope-tiers": { + get: { + body: unknown; + params: any; query: any; headers: any; response: { @@ -1225,12 +1359,50 @@ declare const publicApp: Elysia<"", { }; } & { api: { - otp: { - phone: { - verify: { - post: { + "oauth-clients": { + ":clientId": { + metadata: { + patch: { body: any; - params: {}; + params: any; + query: any; + headers: any; + response: { + [x: string]: any; + [x: number]: any; + [x: symbol]: any; + }; + }; + }; + }; + }; + }; +} & { + api: { + "oauth-clients": { + authorized: { + get: { + body: any; + params: any; + query: any; + headers: any; + response: { + [x: string]: any; + [x: number]: any; + [x: symbol]: any; + }; + }; + }; + }; + }; +} & { + api: { + "oauth-clients": { + authorized: { + ":clientId": { + delete: { + body: unknown; + params: any; query: any; headers: any; response: {