This commit is contained in:
2026-01-31 13:49:56 +01:00
parent 7074c85672
commit ecfa2d3985
203 changed files with 11592 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
meta {
name: Change Password
type: http
seq: 4
}
post {
url: {{baseUrl}}/api/v1/companies/me/change-password
body: json
auth: inherit
}
body:json {
{
"current_password": "",
"new_password": "",
"confirm_password": ""
}
}

View File

@@ -0,0 +1,20 @@
meta {
name: Create Company Admin
type: http
seq: 1
}
post {
url: {{baseUrl}}/api/v1/companies/admin/create
body: json
auth: inherit
}
body:json {
{
"name": "",
"email": "",
"phone_number": "",
"address": ""
}
}

View File

@@ -0,0 +1,11 @@
meta {
name: Get All Companies
type: http
seq: 5
}
get {
url: {{baseUrl}}/api/v1/companies
body: none
auth: inherit
}

View File

@@ -0,0 +1,15 @@
meta {
name: Get Company By Login
type: http
seq: 6
}
get {
url: {{baseUrl}}/api/v1/companies/:login
body: none
auth: inherit
}
params:path {
login:
}

View File

@@ -0,0 +1,15 @@
meta {
name: Get Current Company
type: http
seq: 2
}
get {
url: {{baseUrl}}/api/v1/companies/me
body: none
auth: bearer
}
auth:bearer {
token: {{access_token}}
}

View File

@@ -0,0 +1,21 @@
meta {
name: Update Current Company
type: http
seq: 3
}
patch {
url: {{baseUrl}}/api/v1/companies/me
body: json
auth: inherit
}
body:json {
{
"name": "",
"email": "",
"phone_number": "",
"address": "",
"vat_number": ""
}
}

View File

@@ -0,0 +1,11 @@
meta {
name: Companies
}
auth {
mode: bearer
}
auth:bearer {
token: {{access_token}}
}