feat: Implement notifications feed (#8224)

Designs: https://www.figma.com/design/z3aUuOVWUKmdHH0ofmMpEV/Web-app-3.0?node-id=10-50&t=9k6K9k7oJh5tIi09-0

![Screenshot 2024-07-22 at 17 02 10](https://github.com/user-attachments/assets/bc7da39f-8ddb-4f93-bf4e-884f063bc1c6)


CLOSES CC-219
This commit is contained in:
Stevche Radevski
2024-07-25 09:37:01 +02:00
committed by GitHub
parent 0bd46c97b7
commit a26b7cf253
10 changed files with 343 additions and 24 deletions

View File

@@ -13,6 +13,22 @@ export class Product {
this.client = client
}
async export(
body: HttpTypes.AdminExportProductRequest,
query?: SelectParams,
headers?: ClientHeaders
) {
return await this.client.fetch<HttpTypes.AdminExportProductResponse>(
`/admin/products/export`,
{
method: "POST",
headers,
body,
query,
}
)
}
async batch(
body: HttpTypes.AdminBatchProductRequest,
query?: SelectParams,
@@ -28,6 +44,7 @@ export class Product {
}
)
}
async create(
body: HttpTypes.AdminCreateProduct,
query?: SelectParams,