fix bugs phase 2 (excel ) , download sample feature

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-05-01 11:04:38 +03:00
co-authored by Copilot
parent e1ef6fa2ea
commit 97364f4734
24 changed files with 597 additions and 85 deletions
+176 -3
View File
@@ -1,6 +1,6 @@
{
"info": {
"_postman_id": "6ef9e473-ce87-4b4b-9e48-89d153d50fca",
"_postman_id": "559bc27f-b656-4554-a080-73c56d317ce5",
"name": "Reparee Collection",
"description": "Auto-generated from OpenAPI spec. Import storage/app/openapi-default.json for the full schema.",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
@@ -1343,6 +1343,48 @@
}
]
},
{
"name": "Download customers import sample (xlsx/csv)",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{auth_token}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "*/*"
}
],
"url": {
"raw": "{{base_url}}/api/customers/import/sample?format=xlsx",
"host": [
"{{base_url}}"
],
"path": [
"api",
"customers",
"import",
"sample"
],
"query": [
{
"key": "format",
"value": "xlsx",
"description": "xlsx | csv"
}
]
}
},
"response": []
},
{
"name": "Import customers from Excel file.",
"request": {
@@ -4917,6 +4959,48 @@
}
]
},
{
"name": "Download vehicles import sample (xlsx/csv)",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{auth_token}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "*/*"
}
],
"url": {
"raw": "{{base_url}}/api/vehicles/import/sample?format=xlsx",
"host": [
"{{base_url}}"
],
"path": [
"api",
"vehicles",
"import",
"sample"
],
"query": [
{
"key": "format",
"value": "xlsx",
"description": "xlsx | csv"
}
]
}
},
"response": []
},
{
"name": "Import vehicles from Excel file.",
"request": {
@@ -24371,6 +24455,48 @@
{
"name": "Import Parts",
"item": [
{
"name": "Download parts import sample (xlsx/csv)",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{auth_token}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "*/*"
}
],
"url": {
"raw": "{{base_url}}/api/parts/import/sample?format=xlsx",
"host": [
"{{base_url}}"
],
"path": [
"api",
"parts",
"import",
"sample"
],
"query": [
{
"key": "format",
"value": "xlsx",
"description": "xlsx | csv"
}
]
}
},
"response": []
},
{
"name": "Import parts from Excel file.",
"request": {
@@ -26187,6 +26313,48 @@
{
"name": "Import Services",
"item": [
{
"name": "Download services import sample (xlsx/csv)",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{auth_token}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "*/*"
}
],
"url": {
"raw": "{{base_url}}/api/services/import/sample?format=xlsx",
"host": [
"{{base_url}}"
],
"path": [
"api",
"services",
"import",
"sample"
],
"query": [
{
"key": "format",
"value": "xlsx",
"description": "xlsx | csv"
}
]
}
},
"response": []
},
{
"name": "Import services from Excel file.",
"request": {
@@ -43393,7 +43561,7 @@
{
"key": "type",
"value": "invoice",
"description": "inspection | estimate | job_card | invoice | payment_received | expense | purchase_order | bill | payment_made"
"description": "Allowed values: inspection | estimate | job_card | invoice | payment_received | expense | purchase_order | bill | payment_made"
},
{
"key": "id",
@@ -43435,7 +43603,12 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"type\": \"job_card\",\n \"id\": 1,\n \"mode\": \"print\"\n}"
"raw": "{\n \"type\": \"job_card\",\n \"id\": 1,\n \"mode\": \"print\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/api/document-print",