{
	"info": {
		"_postman_id": "a62b3768-82b1-4a14-a9c6-20349e398a78",
		"name": "Shams",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "29107652",
		"_collection_link": "https://solar-spaceship-49281.postman.co/workspace/My-Workspace~9a724831-7375-43ef-8a76-bacd5e23717b/collection/29107652-a62b3768-82b1-4a14-a9c6-20349e398a78?action=share&source=collection_link&creator=29107652"
	},
	"item": [
		{
			"name": "Auth",
			"item": [
				{
					"name": "Prestataire",
					"item": [
						{
							"name": "Signup",
							"event": [
								{
									"listen": "test",
									"script": {
										"exec": [
											"var response = JSON.parse(responseBody);",
											"postman.setEnvironmentVariable(\"token\", response.token);"
										],
										"type": "text/javascript",
										"packages": {},
										"requests": {}
									}
								}
							],
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "name",
											"value": "John doe",
											"type": "text"
										},
										{
											"key": "email",
											"value": "john5@doe.com",
											"type": "text"
										},
										{
											"key": "phone",
											"value": "+213694702840",
											"type": "text"
										},
										{
											"key": "password",
											"value": "password",
											"type": "text"
										},
										{
											"key": "wilayas[]",
											"value": "4",
											"type": "text"
										},
										{
											"key": "wilayas[]",
											"value": "3",
											"type": "text"
										},
										{
											"key": "services[0][id]",
											"value": "2",
											"type": "text"
										},
										{
											"key": "services[0][options][weights][]",
											"value": "2.5",
											"type": "text"
										},
										{
											"key": "services[0][options][weights][]",
											"value": "3.5",
											"type": "text"
										},
										{
											"key": "registre_de_commerce",
											"type": "file",
											"src": [
												"/home/virtualstruct/Downloads/Images/ui-avatars.com.png",
												"/home/virtualstruct/Downloads/Images/ui-avatars.com.png"
											]
										},
										{
											"key": "cartes_grises[]",
											"type": "file",
											"src": "/home/virtualstruct/Downloads/Images/ui-avatars.com.png"
										},
										{
											"key": "cartes_grises[]",
											"type": "file",
											"src": "/home/virtualstruct/Downloads/Images/ui-avatars.com.png"
										},
										{
											"key": "wilayas[]",
											"value": "1",
											"type": "text"
										},
										{
											"key": "services[2][id]",
											"value": "5",
											"type": "text"
										},
										{
											"key": "wilayas[]",
											"value": "1",
											"type": "text",
											"disabled": true
										},
										{
											"key": "services[1][id]",
											"value": "6",
											"type": "text",
											"disabled": true
										},
										{
											"key": "driving_license",
											"type": "file",
											"src": "/home/virtualstruct/Downloads/Images/ui-avatars.com.png"
										},
										{
											"key": "insurances[]",
											"type": "file",
											"src": "/home/virtualstruct/Downloads/Images/ui-avatars.com.png"
										},
										{
											"key": "insurances[]",
											"type": "file",
											"src": "/home/virtualstruct/Downloads/Images/ui-avatars.com.png"
										}
									]
								},
								"url": {
									"raw": "{{host}}/api/prestataire/auth/full-register",
									"host": [
										"{{host}}"
									],
									"path": [
										"api",
										"prestataire",
										"auth",
										"full-register"
									]
								}
							},
							"response": []
						},
						{
							"name": "Login",
							"event": [
								{
									"listen": "test",
									"script": {
										"exec": [
											"var response = JSON.parse(responseBody);",
											"postman.setEnvironmentVariable(\"token\", response.token);"
										],
										"type": "text/javascript",
										"packages": {},
										"requests": {}
									}
								}
							],
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept-Language",
										"value": "ar",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "email",
											"value": "prestataire-2@shams.com",
											"type": "text"
										},
										{
											"key": "password",
											"value": "password",
											"type": "text"
										},
										{
											"key": "fcm_token",
											"value": "1234",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{host}}/api/prestataire/auth/login",
									"host": [
										"{{host}}"
									],
									"path": [
										"api",
										"prestataire",
										"auth",
										"login"
									]
								}
							},
							"response": []
						},
						{
							"name": "Verify OTP",
							"event": [
								{
									"listen": "test",
									"script": {
										"exec": [
											"var response = JSON.parse(responseBody);",
											"postman.setEnvironmentVariable(\"token\", response.token);"
										],
										"type": "text/javascript",
										"packages": {},
										"requests": {}
									}
								}
							],
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept-Language",
										"value": "ar",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "email",
											"value": "prestataire-2@shams.com",
											"type": "text"
										},
										{
											"key": "otp",
											"value": "111111",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{host}}/api/prestataire/auth/verify-otp",
									"host": [
										"{{host}}"
									],
									"path": [
										"api",
										"prestataire",
										"auth",
										"verify-otp"
									]
								}
							},
							"response": []
						},
						{
							"name": "Verify email",
							"event": [
								{
									"listen": "test",
									"script": {
										"exec": [
											""
										],
										"type": "text/javascript",
										"packages": {},
										"requests": {}
									}
								}
							],
							"request": {
								"auth": {
									"type": "bearer",
									"bearer": [
										{
											"key": "token",
											"value": "{{token}}",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept-Language",
										"value": "ar",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "otp",
											"value": "111111",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{host}}/api/prestataire/auth/verify-email",
									"host": [
										"{{host}}"
									],
									"path": [
										"api",
										"prestataire",
										"auth",
										"verify-email"
									]
								}
							},
							"response": []
						},
						{
							"name": "Send",
							"event": [
								{
									"listen": "test",
									"script": {
										"exec": [
											"var response = JSON.parse(responseBody);",
											"postman.setEnvironmentVariable(\"token\", response.token);"
										],
										"type": "text/javascript",
										"packages": {},
										"requests": {}
									}
								}
							],
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept-Language",
										"value": "ar",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "email",
											"value": "prestataire-1@shams.com",
											"type": "text"
										},
										{
											"key": "password",
											"value": "password",
											"type": "text",
											"disabled": true
										},
										{
											"key": "otp",
											"value": "975012",
											"type": "text",
											"disabled": true
										}
									]
								},
								"url": {
									"raw": "{{host}}/api/prestataire/auth/send-otp",
									"host": [
										"{{host}}"
									],
									"path": [
										"api",
										"prestataire",
										"auth",
										"send-otp"
									]
								}
							},
							"response": []
						},
						{
							"name": "Reset password",
							"event": [
								{
									"listen": "test",
									"script": {
										"exec": [
											""
										],
										"type": "text/javascript",
										"packages": {},
										"requests": {}
									}
								}
							],
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept-Language",
										"value": "ar",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "password",
											"value": "password",
											"type": "text"
										},
										{
											"key": "otp",
											"value": "111111",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{host}}/api/prestataire/auth/password-reset",
									"host": [
										"{{host}}"
									],
									"path": [
										"api",
										"prestataire",
										"auth",
										"password-reset"
									]
								}
							},
							"response": []
						}
					]
				},
				{
					"name": "Client",
					"item": [
						{
							"name": "Signup",
							"event": [
								{
									"listen": "test",
									"script": {
										"exec": [
											"var response = JSON.parse(responseBody);",
											"postman.setEnvironmentVariable(\"token\", response.token);"
										],
										"type": "text/javascript"
									}
								}
							],
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "name",
											"value": "John doe",
											"type": "text"
										},
										{
											"key": "email",
											"value": "john2@doe.com",
											"type": "text"
										},
										{
											"key": "phone",
											"value": "+213694702840",
											"type": "text"
										},
										{
											"key": "password",
											"value": "password",
											"type": "text"
										},
										{
											"key": "fcm_token",
											"value": "123456",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{host}}/api/client/auth/register",
									"host": [
										"{{host}}"
									],
									"path": [
										"api",
										"client",
										"auth",
										"register"
									]
								}
							},
							"response": []
						},
						{
							"name": "Login",
							"event": [
								{
									"listen": "test",
									"script": {
										"exec": [
											"var response = JSON.parse(responseBody);",
											"postman.setEnvironmentVariable(\"token\", response.token);"
										],
										"type": "text/javascript",
										"packages": {},
										"requests": {}
									}
								}
							],
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept-Language",
										"value": "ar",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "email",
											"value": "client-1@shams.com",
											"type": "text"
										},
										{
											"key": "password",
											"value": "password",
											"type": "text"
										},
										{
											"key": "fcm_token",
											"value": "123445",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{host}}/api/client/auth/login",
									"host": [
										"{{host}}"
									],
									"path": [
										"api",
										"client",
										"auth",
										"login"
									]
								}
							},
							"response": []
						},
						{
							"name": "Send otp",
							"event": [
								{
									"listen": "test",
									"script": {
										"exec": [
											"var response = JSON.parse(responseBody);",
											"postman.setEnvironmentVariable(\"token\", response.token);"
										],
										"type": "text/javascript",
										"packages": {},
										"requests": {}
									}
								}
							],
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept-Language",
										"value": "ar",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "email",
											"value": "client-1@shams.com",
											"type": "text"
										},
										{
											"key": "password",
											"value": "password",
											"type": "text",
											"disabled": true
										},
										{
											"key": "otp",
											"value": "975012",
											"type": "text",
											"disabled": true
										}
									]
								},
								"url": {
									"raw": "{{host}}/api/client/auth/send-otp",
									"host": [
										"{{host}}"
									],
									"path": [
										"api",
										"client",
										"auth",
										"send-otp"
									]
								}
							},
							"response": []
						},
						{
							"name": "Verify OTP",
							"event": [
								{
									"listen": "test",
									"script": {
										"exec": [
											"var response = JSON.parse(responseBody);",
											"postman.setEnvironmentVariable(\"token\", response.token);"
										],
										"type": "text/javascript",
										"packages": {},
										"requests": {}
									}
								}
							],
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept-Language",
										"value": "ar",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "email",
											"value": "client-1@shams.com",
											"type": "text"
										},
										{
											"key": "password",
											"value": "password",
											"type": "text",
											"disabled": true
										},
										{
											"key": "otp",
											"value": "111111",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{host}}/api/client/auth/verify-otp",
									"host": [
										"{{host}}"
									],
									"path": [
										"api",
										"client",
										"auth",
										"verify-otp"
									]
								}
							},
							"response": []
						},
						{
							"name": "Verify email",
							"event": [
								{
									"listen": "test",
									"script": {
										"exec": [
											""
										],
										"type": "text/javascript",
										"packages": {},
										"requests": {}
									}
								}
							],
							"request": {
								"auth": {
									"type": "bearer",
									"bearer": [
										{
											"key": "token",
											"value": "{{token}}",
											"type": "string"
										}
									]
								},
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept-Language",
										"value": "ar",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "otp",
											"value": "111111",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{host}}/api/client/auth/verify-email",
									"host": [
										"{{host}}"
									],
									"path": [
										"api",
										"client",
										"auth",
										"verify-email"
									]
								}
							},
							"response": []
						},
						{
							"name": "Reset password Copy",
							"event": [
								{
									"listen": "test",
									"script": {
										"exec": [
											""
										],
										"type": "text/javascript",
										"packages": {},
										"requests": {}
									}
								}
							],
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept-Language",
										"value": "ar",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "password",
											"value": "password",
											"type": "text"
										},
										{
											"key": "otp",
											"value": "111111",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{host}}/api/client/auth/password-reset",
									"host": [
										"{{host}}"
									],
									"path": [
										"api",
										"client",
										"auth",
										"password-reset"
									]
								}
							},
							"response": []
						}
					]
				}
			]
		},
		{
			"name": "Commons",
			"item": [
				{
					"name": "Commons",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Language",
								"value": "ar",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{host}}/api/common?filters=assistances",
							"host": [
								"{{host}}"
							],
							"path": [
								"api",
								"common"
							],
							"query": [
								{
									"key": "filters",
									"value": "assistances",
									"description": "wilayas,services,assistances"
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Prestataires",
			"item": [
				{
					"name": "Clients",
					"item": [
						{
							"name": "Clients",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept-Language",
										"value": "ar",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{host}}/api/prestataire/auth/clients",
									"host": [
										"{{host}}"
									],
									"path": [
										"api",
										"prestataire",
										"auth",
										"clients"
									]
								}
							},
							"response": []
						},
						{
							"name": "Destroy client",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept-Language",
										"value": "ar",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{host}}/api/prestataire/auth/clients/:client_id",
									"host": [
										"{{host}}"
									],
									"path": [
										"api",
										"prestataire",
										"auth",
										"clients",
										":client_id"
									],
									"variable": [
										{
											"key": "client_id",
											"value": "1"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "Create client",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept-Language",
										"value": "ar",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "name",
											"value": "Test client",
											"type": "text"
										},
										{
											"key": "email",
											"value": "test@client.com",
											"type": "text"
										},
										{
											"key": "phone",
											"value": "+213987687666",
											"type": "text"
										},
										{
											"key": "assistance_id",
											"value": "1",
											"type": "text"
										},
										{
											"key": "expiration_date",
											"value": "2025-11-03 08:40:43",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{host}}/api/prestataire/auth/clients",
									"host": [
										"{{host}}"
									],
									"path": [
										"api",
										"prestataire",
										"auth",
										"clients"
									]
								}
							},
							"response": []
						},
						{
							"name": "Dettach assistance",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept-Language",
										"value": "ar",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "client_id",
											"value": "1",
											"type": "text"
										},
										{
											"key": "assistance_id",
											"value": "1",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{host}}/api/prestataire/auth/clients/remove-assistance",
									"host": [
										"{{host}}"
									],
									"path": [
										"api",
										"prestataire",
										"auth",
										"clients",
										"remove-assistance"
									]
								}
							},
							"response": []
						},
						{
							"name": "Attach assistance",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept-Language",
										"value": "ar",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "client_id",
											"value": "1",
											"type": "text"
										},
										{
											"key": "assistance_id",
											"value": "1",
											"type": "text"
										},
										{
											"key": "expiration_date",
											"value": "12121212",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{host}}/api/prestataire/auth/clients/add-assistance",
									"host": [
										"{{host}}"
									],
									"path": [
										"api",
										"prestataire",
										"auth",
										"clients",
										"add-assistance"
									]
								}
							},
							"response": []
						}
					]
				},
				{
					"name": "Orders",
					"item": [
						{
							"name": "Update order status",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept-Language",
										"value": "ar",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "status",
											"value": "accepted",
											"type": "text"
										},
										{
											"key": "price",
											"value": "2000",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{host}}/api/prestataire/orders/ambulances/update/:order_id",
									"host": [
										"{{host}}"
									],
									"path": [
										"api",
										"prestataire",
										"orders",
										"ambulances",
										"update",
										":order_id"
									],
									"variable": [
										{
											"key": "order_id",
											"value": "1"
										}
									]
								}
							},
							"response": []
						}
					]
				},
				{
					"name": "Current user",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Language",
								"value": "ar",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{host}}/api/prestataire/auth/user",
							"host": [
								"{{host}}"
							],
							"path": [
								"api",
								"prestataire",
								"auth",
								"user"
							]
						}
					},
					"response": []
				},
				{
					"name": "Offers",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Language",
								"value": "fr",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": []
						},
						"url": {
							"raw": "{{host}}/api/prestataire/offers",
							"host": [
								"{{host}}"
							],
							"path": [
								"api",
								"prestataire",
								"offers"
							]
						}
					},
					"response": []
				},
				{
					"name": "Get availability",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Language",
								"value": "ar",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{host}}/api/prestataire/auth/user/availability",
							"host": [
								"{{host}}"
							],
							"path": [
								"api",
								"prestataire",
								"auth",
								"user",
								"availability"
							]
						}
					},
					"response": []
				},
				{
					"name": "Get Location",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Language",
								"value": "ar",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{host}}/api/prestataire/auth/user/location",
							"host": [
								"{{host}}"
							],
							"path": [
								"api",
								"prestataire",
								"auth",
								"user",
								"location"
							]
						}
					},
					"response": []
				},
				{
					"name": "Set availability",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Language",
								"value": "ar",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "status",
									"value": "available",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{host}}/api/prestataire/auth/user/availability",
							"host": [
								"{{host}}"
							],
							"path": [
								"api",
								"prestataire",
								"auth",
								"user",
								"availability"
							]
						}
					},
					"response": []
				},
				{
					"name": "Set Location",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Language",
								"value": "ar",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "longitude",
									"value": "22.2",
									"type": "text"
								},
								{
									"key": "latitude",
									"value": "3.2",
									"type": "text"
								},
								{
									"key": "heading",
									"value": "1",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{host}}/api/prestataire/auth/user/location",
							"host": [
								"{{host}}"
							],
							"path": [
								"api",
								"prestataire",
								"auth",
								"user",
								"location"
							]
						}
					},
					"response": []
				},
				{
					"name": "Update current user",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Language",
								"value": "ar",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "name",
									"value": "John doe",
									"type": "text",
									"disabled": true
								},
								{
									"key": "email",
									"value": "john@does.com",
									"type": "text",
									"disabled": true
								},
								{
									"key": "phone",
									"value": "+213694702840",
									"type": "text",
									"disabled": true
								},
								{
									"key": "wilayas[]",
									"value": "40",
									"type": "text",
									"disabled": true
								},
								{
									"key": "wilayas[]",
									"value": "3",
									"type": "text",
									"disabled": true
								},
								{
									"key": "services[0][id]",
									"value": "2",
									"contentType": "",
									"type": "text",
									"disabled": true
								},
								{
									"key": "services[0][options][weights][]",
									"value": "2.5",
									"type": "text",
									"disabled": true
								},
								{
									"key": "services[0][options][weights][]",
									"value": "3.5",
									"type": "text",
									"disabled": true
								},
								{
									"key": "deleted_cartes_grises[]",
									"value": "13",
									"type": "text",
									"disabled": true
								},
								{
									"key": "deleted_cartes_grises[]",
									"value": "7",
									"type": "text",
									"disabled": true
								},
								{
									"key": "avatar",
									"type": "file",
									"src": "/home/virtualstruct/Downloads/Images/qrcode.55214706.png",
									"disabled": true
								},
								{
									"key": "registre_de_commerce",
									"type": "file",
									"src": [],
									"disabled": true
								},
								{
									"key": "cartes_grises[]",
									"type": "file",
									"src": "/home/virtualstruct/Downloads/Images/qrcode.55214706.png",
									"disabled": true
								},
								{
									"key": "services[1][id]",
									"value": "6",
									"type": "text",
									"disabled": true
								},
								{
									"key": "wilayas[]",
									"value": "3",
									"type": "text",
									"disabled": true
								},
								{
									"key": "services[2][id]",
									"value": "3",
									"type": "text",
									"disabled": true
								},
								{
									"key": "services[2][options][weights][]",
									"value": "10",
									"type": "text",
									"disabled": true
								},
								{
									"key": "status",
									"value": "unavailable",
									"type": "text",
									"disabled": true
								},
								{
									"key": "password",
									"value": "12345678",
									"type": "text"
								},
								{
									"key": "current_password",
									"value": "password",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{host}}/api/prestataire/auth/user",
							"host": [
								"{{host}}"
							],
							"path": [
								"api",
								"prestataire",
								"auth",
								"user"
							]
						}
					},
					"response": []
				},
				{
					"name": "Destroy",
					"request": {
						"method": "DELETE",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Language",
								"value": "ar",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{host}}/api/prestataire/auth/user",
							"host": [
								"{{host}}"
							],
							"path": [
								"api",
								"prestataire",
								"auth",
								"user"
							]
						}
					},
					"response": []
				},
				{
					"name": "New Request",
					"request": {
						"method": "GET",
						"header": []
					},
					"response": []
				}
			]
		},
		{
			"name": "Client",
			"item": [
				{
					"name": "Orders",
					"item": [
						{
							"name": "Ambulance",
							"item": [
								{
									"name": "Create Ambulance",
									"request": {
										"method": "POST",
										"header": [
											{
												"key": "Accept",
												"value": "application/json",
												"type": "text"
											},
											{
												"key": "Accept-Language",
												"value": "ar",
												"type": "text"
											}
										],
										"body": {
											"mode": "urlencoded",
											"urlencoded": [
												{
													"key": "pickup_location[latitude]",
													"value": "36.717031",
													"type": "text"
												},
												{
													"key": "pickup_location[longitude]",
													"value": "3.140119",
													"type": "text"
												},
												{
													"key": "dropoff_location[latitude]",
													"value": "36.727031",
													"type": "text"
												},
												{
													"key": "dropoff_location[longitude]",
													"value": "3.145119",
													"type": "text"
												},
												{
													"key": "pickup_address_name",
													"value": "test pickup name",
													"type": "text"
												},
												{
													"key": "dropoff_address_name",
													"value": "test dropoff name",
													"type": "text"
												}
											]
										},
										"url": {
											"raw": "{{host}}/api/client/orders/ambulances/create",
											"host": [
												"{{host}}"
											],
											"path": [
												"api",
												"client",
												"orders",
												"ambulances",
												"create"
											]
										}
									},
									"response": []
								},
								{
									"name": "Update Ambulance",
									"request": {
										"method": "POST",
										"header": [
											{
												"key": "Accept",
												"value": "application/json",
												"type": "text"
											},
											{
												"key": "Accept-Language",
												"value": "ar",
												"type": "text"
											}
										],
										"body": {
											"mode": "urlencoded",
											"urlencoded": [
												{
													"key": "price",
													"value": "1500",
													"type": "text"
												}
											]
										},
										"url": {
											"raw": "{{host}}/api/client/orders/ambulances/update/:order_id",
											"host": [
												"{{host}}"
											],
											"path": [
												"api",
												"client",
												"orders",
												"ambulances",
												"update",
												":order_id"
											],
											"variable": [
												{
													"key": "order_id",
													"value": "1"
												}
											]
										}
									},
									"response": []
								},
								{
									"name": "Dispatch Ambulance",
									"request": {
										"method": "POST",
										"header": [
											{
												"key": "Accept",
												"value": "application/json",
												"type": "text"
											},
											{
												"key": "Accept-Language",
												"value": "ar",
												"type": "text"
											}
										],
										"body": {
											"mode": "urlencoded",
											"urlencoded": []
										},
										"url": {
											"raw": "{{host}}/api/client/orders/ambulances/dispatch/:order_id",
											"host": [
												"{{host}}"
											],
											"path": [
												"api",
												"client",
												"orders",
												"ambulances",
												"dispatch",
												":order_id"
											],
											"query": [
												{
													"key": "radius",
													"value": "50000",
													"disabled": true
												},
												{
													"key": "limit",
													"value": "2",
													"disabled": true
												}
											],
											"variable": [
												{
													"key": "order_id",
													"value": "1"
												}
											]
										}
									},
									"response": []
								},
								{
									"name": "Choose prestataire order",
									"request": {
										"method": "POST",
										"header": [
											{
												"key": "Accept",
												"value": "application/json",
												"type": "text"
											},
											{
												"key": "Accept-Language",
												"value": "ar",
												"type": "text"
											}
										],
										"body": {
											"mode": "urlencoded",
											"urlencoded": []
										},
										"url": {
											"raw": "{{host}}/api/client/orders/ambulances/choose/:order_id/:prestataire_id",
											"host": [
												"{{host}}"
											],
											"path": [
												"api",
												"client",
												"orders",
												"ambulances",
												"choose",
												":order_id",
												":prestataire_id"
											],
											"query": [
												{
													"key": "radius",
													"value": "50000",
													"disabled": true
												},
												{
													"key": "limit",
													"value": "2",
													"disabled": true
												}
											],
											"variable": [
												{
													"key": "order_id",
													"value": "1"
												},
												{
													"key": "prestataire_id",
													"value": "2"
												}
											]
										}
									},
									"response": []
								},
								{
									"name": "Show order",
									"protocolProfileBehavior": {
										"disableBodyPruning": true
									},
									"request": {
										"method": "GET",
										"header": [
											{
												"key": "Accept",
												"value": "application/json",
												"type": "text"
											},
											{
												"key": "Accept-Language",
												"value": "ar",
												"type": "text"
											}
										],
										"body": {
											"mode": "formdata",
											"formdata": [
												{
													"key": "email",
													"value": "client-1@shams.com",
													"type": "text"
												},
												{
													"key": "password",
													"value": "password",
													"type": "text"
												},
												{
													"key": "fcm_token",
													"value": "123445",
													"type": "text"
												}
											]
										},
										"url": {
											"raw": "{{host}}/api/client/orders/ambulances/show/:id",
											"host": [
												"{{host}}"
											],
											"path": [
												"api",
												"client",
												"orders",
												"ambulances",
												"show",
												":id"
											],
											"variable": [
												{
													"key": "id",
													"value": "1"
												}
											]
										}
									},
									"response": []
								},
								{
									"name": "Show orders",
									"protocolProfileBehavior": {
										"disableBodyPruning": true
									},
									"request": {
										"method": "GET",
										"header": [
											{
												"key": "Accept",
												"value": "application/json",
												"type": "text"
											},
											{
												"key": "Accept-Language",
												"value": "ar",
												"type": "text"
											}
										],
										"body": {
											"mode": "formdata",
											"formdata": [
												{
													"key": "email",
													"value": "client-1@shams.com",
													"type": "text"
												},
												{
													"key": "password",
													"value": "password",
													"type": "text"
												},
												{
													"key": "fcm_token",
													"value": "123445",
													"type": "text"
												}
											]
										},
										"url": {
											"raw": "{{host}}/api/client/orders/ambulances?status=accepted&limit=10",
											"host": [
												"{{host}}"
											],
											"path": [
												"api",
												"client",
												"orders",
												"ambulances"
											],
											"query": [
												{
													"key": "status",
													"value": "accepted"
												},
												{
													"key": "limit",
													"value": "10"
												}
											]
										}
									},
									"response": []
								}
							]
						}
					]
				},
				{
					"name": "Current user",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Language",
								"value": "ar",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{host}}/api/client/auth/user",
							"host": [
								"{{host}}"
							],
							"path": [
								"api",
								"client",
								"auth",
								"user"
							]
						}
					},
					"response": []
				},
				{
					"name": "Update current user",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Language",
								"value": "ar",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "name",
									"value": "John doe",
									"type": "text",
									"disabled": true
								},
								{
									"key": "email",
									"value": "john@does.com",
									"type": "text",
									"disabled": true
								},
								{
									"key": "phone",
									"value": "+21694702840",
									"type": "text",
									"disabled": true
								},
								{
									"key": "avatar",
									"type": "file",
									"src": "/home/virtualstruct/Downloads/Images/ui-avatars.com.png",
									"disabled": true
								},
								{
									"key": "password",
									"value": "1234567890",
									"type": "text"
								},
								{
									"key": "current_password",
									"value": "password",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{host}}/api/client/auth/user",
							"host": [
								"{{host}}"
							],
							"path": [
								"api",
								"client",
								"auth",
								"user"
							]
						}
					},
					"response": []
				},
				{
					"name": "Destroy",
					"request": {
						"method": "DELETE",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Language",
								"value": "ar",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{host}}/api/client/auth/user",
							"host": [
								"{{host}}"
							],
							"path": [
								"api",
								"client",
								"auth",
								"user"
							]
						}
					},
					"response": []
				},
				{
					"name": "Offers",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Language",
								"value": "ar",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": []
						},
						"url": {
							"raw": "{{host}}/api/client/offers",
							"host": [
								"{{host}}"
							],
							"path": [
								"api",
								"client",
								"offers"
							]
						}
					},
					"response": []
				}
			]
		}
	],
	"auth": {
		"type": "bearer",
		"bearer": [
			{
				"key": "token",
				"value": "{{token}}",
				"type": "string"
			}
		]
	},
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	]
}