mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-28 04:28:11 +01:00
Add CEO company branding endpoint
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
87b17de0bd
commit
7b4a4f45ed
8 files changed
+264
-2
No files matched your search
@@ -5,6 +5,7 @@ import type {
|
||||
CompanyPortabilityImportResult,
|
||||
CompanyPortabilityPreviewRequest,
|
||||
CompanyPortabilityPreviewResult,
|
||||
UpdateCompanyBranding,
|
||||
} from "@paperclipai/shared";
|
||||
import { api } from "./client";
|
||||
|
||||
@@ -29,6 +30,8 @@ export const companiesApi = {
|
||||
>
|
||||
>,
|
||||
) => api.patch<Company>(`/companies/${companyId}`, data),
|
||||
updateBranding: (companyId: string, data: UpdateCompanyBranding) =>
|
||||
api.patch<Company>(`/companies/${companyId}/branding`, data),
|
||||
archive: (companyId: string) => api.post<Company>(`/companies/${companyId}/archive`, {}),
|
||||
remove: (companyId: string) => api.delete<{ ok: true }>(`/companies/${companyId}`),
|
||||
exportBundle: (
|
||||
|
||||
Reference in new issue
Block a user