{
	"info": {
		"_postman_id": "vt-api-collection-v1",
		"name": "Viată la Tară API",
		"description": "Import this file into Postman. Login/Register automatically save tokens to collection variables. Set `baseUrl` if needed (default: http://localhost:3000).",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"variable": [
		{ "key": "baseUrl",         "value": "http://localhost:3838", "type": "string" },
		{ "key": "accessToken",     "value": "",                      "type": "string" },
		{ "key": "refreshToken",    "value": "",                      "type": "string" },
		{ "key": "productId",       "value": "PRODUCT_ID_HERE",       "type": "string" },
		{ "key": "producerId",      "value": "PRODUCER_ID_HERE",      "type": "string" },
		{ "key": "categoryId",      "value": "CATEGORY_ID_HERE",      "type": "string" },
		{ "key": "reviewId",        "value": "REVIEW_ID_HERE",        "type": "string" },
		{ "key": "favoriteId",      "value": "FAVORITE_ID_HERE",      "type": "string" },
		{ "key": "cartItemId",      "value": "CART_ITEM_ID_HERE",     "type": "string" },
		{ "key": "bookingPlaceId",  "value": "BOOKING_PLACE_ID_HERE", "type": "string" },
		{ "key": "locationId",      "value": "LOCATION_ID_HERE",      "type": "string" },
		{ "key": "threadId",        "value": "THREAD_ID_HERE",        "type": "string" },
		{ "key": "applicationId",   "value": "APPLICATION_ID_HERE",   "type": "string" },
		{ "key": "section",         "value": "photos",                "type": "string" }
	],
	"auth": {
		"type": "bearer",
		"bearer": [{ "key": "token", "value": "{{accessToken}}", "type": "string" }]
	},
	"item": [
		{
			"name": "Health",
			"item": [
				{
					"name": "Health Check",
					"request": {
						"auth": { "type": "noauth" },
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/health",
							"host": ["{{baseUrl}}"],
							"path": ["health"]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Auth",
			"item": [
				{
					"name": "Register",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"const json = pm.response.json();",
									"if (json.data && json.data.accessToken) {",
									"    pm.collectionVariables.set('accessToken', json.data.accessToken);",
									"    pm.collectionVariables.set('refreshToken', json.data.refreshToken);",
									"    console.log('Tokens saved.');",
									"}"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"auth": { "type": "noauth" },
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"email\": \"test@example.com\",\n  \"password\": \"SecurePass123!\",\n  \"name\": \"Test User\"\n}",
							"options": { "raw": { "language": "json" } }
						},
						"url": {
							"raw": "{{baseUrl}}/api/auth/register",
							"host": ["{{baseUrl}}"],
							"path": ["api", "auth", "register"]
						}
					},
					"response": []
				},
				{
					"name": "Login",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"const json = pm.response.json();",
									"if (json.data && json.data.accessToken) {",
									"    pm.collectionVariables.set('accessToken', json.data.accessToken);",
									"    pm.collectionVariables.set('refreshToken', json.data.refreshToken);",
									"    console.log('Tokens saved.');",
									"}"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"auth": { "type": "noauth" },
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"email\": \"test@example.com\",\n  \"password\": \"SecurePass123!\"\n}",
							"options": { "raw": { "language": "json" } }
						},
						"url": {
							"raw": "{{baseUrl}}/api/auth/login",
							"host": ["{{baseUrl}}"],
							"path": ["api", "auth", "login"]
						}
					},
					"response": []
				},
				{
					"name": "Refresh Token",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"const json = pm.response.json();",
									"if (json.data && json.data.accessToken) {",
									"    pm.collectionVariables.set('accessToken', json.data.accessToken);",
									"    pm.collectionVariables.set('refreshToken', json.data.refreshToken);",
									"    console.log('Tokens rotated.');",
									"}"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"auth": { "type": "noauth" },
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"refreshToken\": \"{{refreshToken}}\"\n}",
							"options": { "raw": { "language": "json" } }
						},
						"url": {
							"raw": "{{baseUrl}}/api/auth/refresh",
							"host": ["{{baseUrl}}"],
							"path": ["api", "auth", "refresh"]
						}
					},
					"response": []
				},
				{
					"name": "Logout",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"refreshToken\": \"{{refreshToken}}\"\n}",
							"options": { "raw": { "language": "json" } }
						},
						"url": {
							"raw": "{{baseUrl}}/api/auth/logout",
							"host": ["{{baseUrl}}"],
							"path": ["api", "auth", "logout"]
						}
					},
					"response": []
				},
				{
					"name": "Social Login (Google / Apple)",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"const json = pm.response.json();",
									"if (json.data && json.data.accessToken) {",
									"    pm.collectionVariables.set('accessToken', json.data.accessToken);",
									"    pm.collectionVariables.set('refreshToken', json.data.refreshToken);",
									"    console.log('Tokens saved from social login.');",
									"}"
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"auth": { "type": "noauth" },
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"idToken\": \"FIREBASE_ID_TOKEN_HERE\"\n}",
							"options": { "raw": { "language": "json" } }
						},
						"url": {
							"raw": "{{baseUrl}}/api/auth/social",
							"host": ["{{baseUrl}}"],
							"path": ["api", "auth", "social"]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Users",
			"item": [
				{
					"name": "Get Me",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/users/me",
							"host": ["{{baseUrl}}"],
							"path": ["api", "users", "me"]
						}
					},
					"response": []
				},
				{
					"name": "Update Me",
					"request": {
						"method": "PUT",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"name\": \"Updated Name\",\n  \"phone\": \"+40700000000\",\n  \"avatarUrl\": \"https://example.com/avatar.jpg\"\n}",
							"options": { "raw": { "language": "json" } }
						},
						"url": {
							"raw": "{{baseUrl}}/api/users/me",
							"host": ["{{baseUrl}}"],
							"path": ["api", "users", "me"]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Devices",
			"item": [
				{
					"name": "Register Push Token",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"token\": \"FCM_DEVICE_TOKEN_HERE\",\n  \"platform\": \"android\"\n}",
							"options": { "raw": { "language": "json" } }
						},
						"url": {
							"raw": "{{baseUrl}}/api/devices/push-token",
							"host": ["{{baseUrl}}"],
							"path": ["api", "devices", "push-token"]
						}
					},
					"response": []
				},
				{
					"name": "Unregister Push Token",
					"request": {
						"method": "DELETE",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"token\": \"FCM_DEVICE_TOKEN_HERE\"\n}",
							"options": { "raw": { "language": "json" } }
						},
						"url": {
							"raw": "{{baseUrl}}/api/devices/push-token",
							"host": ["{{baseUrl}}"],
							"path": ["api", "devices", "push-token"]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Categories",
			"item": [
				{
					"name": "List Categories",
					"request": {
						"auth": { "type": "noauth" },
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/categories",
							"host": ["{{baseUrl}}"],
							"path": ["api", "categories"]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Products",
			"item": [
				{
					"name": "List Products",
					"request": {
						"auth": { "type": "noauth" },
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/products?page=1&size=20",
							"host": ["{{baseUrl}}"],
							"path": ["api", "products"],
							"query": [
								{ "key": "page",       "value": "1" },
								{ "key": "size",       "value": "20" },
								{ "key": "categoryId", "value": "", "disabled": true },
								{ "key": "producerId", "value": "", "disabled": true },
								{ "key": "search",     "value": "", "disabled": true },
								{ "key": "minPrice",   "value": "", "disabled": true },
								{ "key": "maxPrice",   "value": "", "disabled": true }
							]
						}
					},
					"response": []
				},
				{
					"name": "Get Product",
					"request": {
						"auth": { "type": "noauth" },
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/products/{{productId}}",
							"host": ["{{baseUrl}}"],
							"path": ["api", "products", "{{productId}}"]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Producers",
			"item": [
				{
					"name": "List Producers",
					"request": {
						"auth": { "type": "noauth" },
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/producers?page=1&size=20",
							"host": ["{{baseUrl}}"],
							"path": ["api", "producers"],
							"query": [
								{ "key": "page",       "value": "1" },
								{ "key": "size",       "value": "20" },
								{ "key": "categoryId", "value": "", "disabled": true },
								{ "key": "search",     "value": "", "disabled": true },
								{ "key": "verified",   "value": "", "disabled": true }
							]
						}
					},
					"response": []
				},
				{
					"name": "Get Producer",
					"request": {
						"auth": { "type": "noauth" },
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/producers/{{producerId}}",
							"host": ["{{baseUrl}}"],
							"path": ["api", "producers", "{{producerId}}"]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Reviews",
			"item": [
				{
					"name": "List Reviews",
					"request": {
						"auth": { "type": "noauth" },
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/reviews?targetType=product&targetId={{productId}}&page=1&size=20",
							"host": ["{{baseUrl}}"],
							"path": ["api", "reviews"],
							"query": [
								{ "key": "targetType", "value": "product" },
								{ "key": "targetId",   "value": "{{productId}}" },
								{ "key": "page",       "value": "1" },
								{ "key": "size",       "value": "20" }
							]
						}
					},
					"response": []
				},
				{
					"name": "Create Review",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"targetType\": \"product\",\n  \"targetId\": \"{{productId}}\",\n  \"rating\": 5,\n  \"comment\": \"Produs excelent!\"\n}",
							"options": { "raw": { "language": "json" } }
						},
						"url": {
							"raw": "{{baseUrl}}/api/reviews",
							"host": ["{{baseUrl}}"],
							"path": ["api", "reviews"]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Favorites",
			"item": [
				{
					"name": "List Favorites",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/favorites?page=1&size=20",
							"host": ["{{baseUrl}}"],
							"path": ["api", "favorites"],
							"query": [
								{ "key": "page",       "value": "1" },
								{ "key": "size",       "value": "20" },
								{ "key": "targetType", "value": "product", "disabled": true }
							]
						}
					},
					"response": []
				},
				{
					"name": "Check Favorite",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/favorites/check?targetType=product&targetId={{productId}}",
							"host": ["{{baseUrl}}"],
							"path": ["api", "favorites", "check"],
							"query": [
								{ "key": "targetType", "value": "product" },
								{ "key": "targetId",   "value": "{{productId}}" }
							]
						}
					},
					"response": []
				},
				{
					"name": "Add Favorite",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"targetType\": \"product\",\n  \"targetId\": \"{{productId}}\"\n}",
							"options": { "raw": { "language": "json" } }
						},
						"url": {
							"raw": "{{baseUrl}}/api/favorites",
							"host": ["{{baseUrl}}"],
							"path": ["api", "favorites"]
						}
					},
					"response": []
				},
				{
					"name": "Remove Favorite",
					"request": {
						"method": "DELETE",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/favorites/{{favoriteId}}",
							"host": ["{{baseUrl}}"],
							"path": ["api", "favorites", "{{favoriteId}}"]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Cart",
			"item": [
				{
					"name": "Get Cart",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/cart",
							"host": ["{{baseUrl}}"],
							"path": ["api", "cart"]
						}
					},
					"response": []
				},
				{
					"name": "Add to Cart",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"productId\": \"{{productId}}\",\n  \"quantity\": 1\n}",
							"options": { "raw": { "language": "json" } }
						},
						"url": {
							"raw": "{{baseUrl}}/api/cart",
							"host": ["{{baseUrl}}"],
							"path": ["api", "cart"]
						}
					},
					"response": []
				},
				{
					"name": "Update Cart Item",
					"request": {
						"method": "PUT",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"quantity\": 3\n}",
							"options": { "raw": { "language": "json" } }
						},
						"url": {
							"raw": "{{baseUrl}}/api/cart/{{cartItemId}}",
							"host": ["{{baseUrl}}"],
							"path": ["api", "cart", "{{cartItemId}}"]
						}
					},
					"response": []
				},
				{
					"name": "Remove Cart Item",
					"request": {
						"method": "DELETE",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/cart/{{cartItemId}}",
							"host": ["{{baseUrl}}"],
							"path": ["api", "cart", "{{cartItemId}}"]
						}
					},
					"response": []
				},
				{
					"name": "Clear Cart",
					"request": {
						"method": "DELETE",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/cart",
							"host": ["{{baseUrl}}"],
							"path": ["api", "cart"]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Booking Places",
			"item": [
				{
					"name": "List Booking Places",
					"request": {
						"auth": { "type": "noauth" },
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/booking-places?page=1&size=20",
							"host": ["{{baseUrl}}"],
							"path": ["api", "booking-places"],
							"query": [
								{ "key": "page",   "value": "1" },
								{ "key": "size",   "value": "20" },
								{ "key": "search", "value": "", "disabled": true }
							]
						}
					},
					"response": []
				},
				{
					"name": "Get Booking Place",
					"request": {
						"auth": { "type": "noauth" },
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/booking-places/{{bookingPlaceId}}",
							"host": ["{{baseUrl}}"],
							"path": ["api", "booking-places", "{{bookingPlaceId}}"]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "My Locations (Business)",
			"item": [
				{
					"name": "List My Locations",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/my-locations",
							"host": ["{{baseUrl}}"],
							"path": ["api", "my-locations"]
						}
					},
					"response": []
				},
				{
					"name": "Create Location",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"name\": \"Cabana Mea\",\n  \"description\": \"O cabana frumoasa la munte\",\n  \"address\": \"Strada Principala 1, Sinaia\",\n  \"capacity\": 10,\n  \"pricePerNight\": 250,\n  \"photos\": [],\n  \"amenities\": [\"wifi\", \"parking\"]\n}",
							"options": { "raw": { "language": "json" } }
						},
						"url": {
							"raw": "{{baseUrl}}/api/my-locations",
							"host": ["{{baseUrl}}"],
							"path": ["api", "my-locations"]
						}
					},
					"response": []
				},
				{
					"name": "Update Location",
					"request": {
						"method": "PUT",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"name\": \"Cabana Mea Actualizata\",\n  \"pricePerNight\": 300\n}",
							"options": { "raw": { "language": "json" } }
						},
						"url": {
							"raw": "{{baseUrl}}/api/my-locations/{{locationId}}",
							"host": ["{{baseUrl}}"],
							"path": ["api", "my-locations", "{{locationId}}"]
						}
					},
					"response": []
				},
				{
					"name": "Delete Location",
					"request": {
						"method": "DELETE",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/my-locations/{{locationId}}",
							"host": ["{{baseUrl}}"],
							"path": ["api", "my-locations", "{{locationId}}"]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Partner",
			"item": [
				{
					"name": "Get My Application",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/partner/application",
							"host": ["{{baseUrl}}"],
							"path": ["api", "partner", "application"]
						}
					},
					"response": []
				},
				{
					"name": "Submit Application",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"businessName\": \"Ferma Mea\",\n  \"description\": \"Produse ecologice din ferma proprie\",\n  \"website\": \"https://fermamea.ro\",\n  \"phone\": \"+40700000000\",\n  \"address\": \"Sat Frumos, Jud. Cluj\",\n  \"categories\": [\"{{categoryId}}\"]\n}",
							"options": { "raw": { "language": "json" } }
						},
						"url": {
							"raw": "{{baseUrl}}/api/partner/application",
							"host": ["{{baseUrl}}"],
							"path": ["api", "partner", "application"]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Shop (Business)",
			"item": [
				{
					"name": "Get My Producer Profile",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/shop/producer",
							"host": ["{{baseUrl}}"],
							"path": ["api", "shop", "producer"]
						}
					},
					"response": []
				},
				{
					"name": "Update My Producer Profile",
					"request": {
						"method": "PUT",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"description\": \"Descriere actualizata\",\n  \"website\": \"https://fermamea.ro\",\n  \"photos\": []\n}",
							"options": { "raw": { "language": "json" } }
						},
						"url": {
							"raw": "{{baseUrl}}/api/shop/producer",
							"host": ["{{baseUrl}}"],
							"path": ["api", "shop", "producer"]
						}
					},
					"response": []
				},
				{
					"name": "List My Products",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/shop/products?page=1&size=20",
							"host": ["{{baseUrl}}"],
							"path": ["api", "shop", "products"],
							"query": [
								{ "key": "page", "value": "1" },
								{ "key": "size", "value": "20" }
							]
						}
					},
					"response": []
				},
				{
					"name": "Create Product",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"name\": \"Miere de salcam\",\n  \"description\": \"Miere naturala de salcam, 1kg\",\n  \"price\": 35,\n  \"unit\": \"kg\",\n  \"stock\": 50,\n  \"categoryId\": \"{{categoryId}}\",\n  \"photos\": []\n}",
							"options": { "raw": { "language": "json" } }
						},
						"url": {
							"raw": "{{baseUrl}}/api/shop/products",
							"host": ["{{baseUrl}}"],
							"path": ["api", "shop", "products"]
						}
					},
					"response": []
				},
				{
					"name": "Update Product",
					"request": {
						"method": "PUT",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"price\": 40,\n  \"stock\": 45\n}",
							"options": { "raw": { "language": "json" } }
						},
						"url": {
							"raw": "{{baseUrl}}/api/shop/products/{{productId}}",
							"host": ["{{baseUrl}}"],
							"path": ["api", "shop", "products", "{{productId}}"]
						}
					},
					"response": []
				},
				{
					"name": "Delete Product",
					"request": {
						"method": "DELETE",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/shop/products/{{productId}}",
							"host": ["{{baseUrl}}"],
							"path": ["api", "shop", "products", "{{productId}}"]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Chat",
			"item": [
				{
					"name": "List Threads",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/chat/threads?page=1&size=20",
							"host": ["{{baseUrl}}"],
							"path": ["api", "chat", "threads"],
							"query": [
								{ "key": "page", "value": "1" },
								{ "key": "size", "value": "20" }
							]
						}
					},
					"response": []
				},
				{
					"name": "Get or Create Thread",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"participantId\": \"OTHER_USER_ID_HERE\"\n}",
							"options": { "raw": { "language": "json" } }
						},
						"url": {
							"raw": "{{baseUrl}}/api/chat/threads",
							"host": ["{{baseUrl}}"],
							"path": ["api", "chat", "threads"]
						}
					},
					"response": []
				},
				{
					"name": "Get Thread",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/chat/threads/{{threadId}}",
							"host": ["{{baseUrl}}"],
							"path": ["api", "chat", "threads", "{{threadId}}"]
						}
					},
					"response": []
				},
				{
					"name": "List Messages",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{baseUrl}}/api/chat/threads/{{threadId}}/messages?page=1&size=30",
							"host": ["{{baseUrl}}"],
							"path": ["api", "chat", "threads", "{{threadId}}", "messages"],
							"query": [
								{ "key": "page", "value": "1" },
								{ "key": "size", "value": "30" }
							]
						}
					},
					"response": []
				},
				{
					"name": "Send Message",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"text\": \"Buna ziua! As dori mai multe informatii.\"\n}",
							"options": { "raw": { "language": "json" } }
						},
						"url": {
							"raw": "{{baseUrl}}/api/chat/threads/{{threadId}}/messages",
							"host": ["{{baseUrl}}"],
							"path": ["api", "chat", "threads", "{{threadId}}", "messages"]
						}
					},
					"response": []
				},
				{
					"name": "Mark Thread as Read",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{}",
							"options": { "raw": { "language": "json" } }
						},
						"url": {
							"raw": "{{baseUrl}}/api/chat/threads/{{threadId}}/read",
							"host": ["{{baseUrl}}"],
							"path": ["api", "chat", "threads", "{{threadId}}", "read"]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Admin",
			"item": [
				{
					"name": "Products",
					"item": [
						{
							"name": "List Products (pending)",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/api/admin/products?status=pending&page=1&size=20",
									"host": ["{{baseUrl}}"],
									"path": ["api", "admin", "products"],
									"query": [
										{ "key": "status", "value": "pending" },
										{ "key": "page",   "value": "1" },
										{ "key": "size",   "value": "20" }
									]
								}
							},
							"response": []
						},
						{
							"name": "Get Product",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/api/admin/products/{{productId}}",
									"host": ["{{baseUrl}}"],
									"path": ["api", "admin", "products", "{{productId}}"]
								}
							},
							"response": []
						},
						{
							"name": "Approve Product",
							"request": {
								"method": "PATCH",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "{}",
									"options": { "raw": { "language": "json" } }
								},
								"url": {
									"raw": "{{baseUrl}}/api/admin/products/{{productId}}/approve",
									"host": ["{{baseUrl}}"],
									"path": ["api", "admin", "products", "{{productId}}", "approve"]
								}
							},
							"response": []
						},
						{
							"name": "Reject Product",
							"request": {
								"method": "PATCH",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"reason\": \"Informatii insuficiente despre produs\"\n}",
									"options": { "raw": { "language": "json" } }
								},
								"url": {
									"raw": "{{baseUrl}}/api/admin/products/{{productId}}/reject",
									"host": ["{{baseUrl}}"],
									"path": ["api", "admin", "products", "{{productId}}", "reject"]
								}
							},
							"response": []
						},
						{
							"name": "Request Info",
							"request": {
								"method": "PATCH",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"note\": \"Va rugam sa adaugati mai multe fotografii\"\n}",
									"options": { "raw": { "language": "json" } }
								},
								"url": {
									"raw": "{{baseUrl}}/api/admin/products/{{productId}}/request-info",
									"host": ["{{baseUrl}}"],
									"path": ["api", "admin", "products", "{{productId}}", "request-info"]
								}
							},
							"response": []
						},
						{
							"name": "Update Section",
							"request": {
								"method": "PATCH",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"action\": \"approve\"\n}",
									"options": { "raw": { "language": "json" } }
								},
								"url": {
									"raw": "{{baseUrl}}/api/admin/products/{{productId}}/sections/{{section}}",
									"host": ["{{baseUrl}}"],
									"path": ["api", "admin", "products", "{{productId}}", "sections", "{{section}}"]
								}
							},
							"response": []
						}
					]
				},
				{
					"name": "Producers",
					"item": [
						{
							"name": "List Producers",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/api/admin/producers?page=1&size=20",
									"host": ["{{baseUrl}}"],
									"path": ["api", "admin", "producers"],
									"query": [
										{ "key": "page", "value": "1" },
										{ "key": "size", "value": "20" }
									]
								}
							},
							"response": []
						},
						{
							"name": "Get Producer",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/api/admin/producers/{{producerId}}",
									"host": ["{{baseUrl}}"],
									"path": ["api", "admin", "producers", "{{producerId}}"]
								}
							},
							"response": []
						},
						{
							"name": "Verify Producer",
							"request": {
								"method": "PATCH",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "{}",
									"options": { "raw": { "language": "json" } }
								},
								"url": {
									"raw": "{{baseUrl}}/api/admin/producers/{{producerId}}/verify",
									"host": ["{{baseUrl}}"],
									"path": ["api", "admin", "producers", "{{producerId}}", "verify"]
								}
							},
							"response": []
						}
					]
				},
				{
					"name": "Applications",
					"item": [
						{
							"name": "List Applications (pending)",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/api/admin/applications?status=pending&page=1&size=20",
									"host": ["{{baseUrl}}"],
									"path": ["api", "admin", "applications"],
									"query": [
										{ "key": "status", "value": "pending" },
										{ "key": "page",   "value": "1" },
										{ "key": "size",   "value": "20" }
									]
								}
							},
							"response": []
						},
						{
							"name": "Get Application",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/api/admin/applications/{{applicationId}}",
									"host": ["{{baseUrl}}"],
									"path": ["api", "admin", "applications", "{{applicationId}}"]
								}
							},
							"response": []
						},
						{
							"name": "Approve Application",
							"request": {
								"method": "PATCH",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "{}",
									"options": { "raw": { "language": "json" } }
								},
								"url": {
									"raw": "{{baseUrl}}/api/admin/applications/{{applicationId}}/approve",
									"host": ["{{baseUrl}}"],
									"path": ["api", "admin", "applications", "{{applicationId}}", "approve"]
								}
							},
							"response": []
						},
						{
							"name": "Reject Application",
							"request": {
								"method": "PATCH",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"reason\": \"Cererea nu indeplineste criteriile necesare\"\n}",
									"options": { "raw": { "language": "json" } }
								},
								"url": {
									"raw": "{{baseUrl}}/api/admin/applications/{{applicationId}}/reject",
									"host": ["{{baseUrl}}"],
									"path": ["api", "admin", "applications", "{{applicationId}}", "reject"]
								}
							},
							"response": []
						}
					]
				},
				{
					"name": "Booking Places",
					"item": [
						{
							"name": "List Booking Places (pending)",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/api/admin/booking-places?status=pending&page=1&size=20",
									"host": ["{{baseUrl}}"],
									"path": ["api", "admin", "booking-places"],
									"query": [
										{ "key": "status", "value": "pending" },
										{ "key": "page",   "value": "1" },
										{ "key": "size",   "value": "20" }
									]
								}
							},
							"response": []
						},
						{
							"name": "Get Booking Place",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{baseUrl}}/api/admin/booking-places/{{bookingPlaceId}}",
									"host": ["{{baseUrl}}"],
									"path": ["api", "admin", "booking-places", "{{bookingPlaceId}}"]
								}
							},
							"response": []
						},
						{
							"name": "Approve Booking Place",
							"request": {
								"method": "PATCH",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "{}",
									"options": { "raw": { "language": "json" } }
								},
								"url": {
									"raw": "{{baseUrl}}/api/admin/booking-places/{{bookingPlaceId}}/approve",
									"host": ["{{baseUrl}}"],
									"path": ["api", "admin", "booking-places", "{{bookingPlaceId}}", "approve"]
								}
							},
							"response": []
						},
						{
							"name": "Reject Booking Place",
							"request": {
								"method": "PATCH",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"reason\": \"Locatia nu indeplineste criteriile\"\n}",
									"options": { "raw": { "language": "json" } }
								},
								"url": {
									"raw": "{{baseUrl}}/api/admin/booking-places/{{bookingPlaceId}}/reject",
									"host": ["{{baseUrl}}"],
									"path": ["api", "admin", "booking-places", "{{bookingPlaceId}}", "reject"]
								}
							},
							"response": []
						}
					]
				}
			]
		}
	]
}
