This commit is contained in:
Samuel Tariku 2025-04-29 21:11:43 +03:00
parent 98e30b5051
commit 0d081e63ab
3 changed files with 52 additions and 11 deletions

View File

@ -2474,7 +2474,7 @@ const docTemplate = `{
}
}
},
"patch": {
"put": {
"description": "Updates the verified status of a transaction",
"consumes": [
"application/json"
@ -3991,6 +3991,10 @@ const docTemplate = `{
"type": "number",
"example": 100
},
"branch_id": {
"type": "integer",
"example": 1
},
"full_name": {
"type": "string",
"example": "John"
@ -4216,6 +4220,10 @@ const docTemplate = `{
"type": "integer",
"example": 1
},
"branch_id": {
"type": "integer",
"example": 1
},
"cashout_id": {
"type": "string",
"example": "191212"
@ -4490,6 +4498,10 @@ const docTemplate = `{
"type": "number",
"example": 100
},
"approved_by": {
"type": "integer",
"example": 1
},
"bank_code": {
"type": "string"
},
@ -4508,6 +4520,9 @@ const docTemplate = `{
"type": "integer",
"example": 1
},
"created_at": {
"type": "string"
},
"full_name": {
"type": "string",
"example": "John Smith"
@ -4539,6 +4554,9 @@ const docTemplate = `{
"type": "integer",
"example": 1
},
"updated_at": {
"type": "string"
},
"verified": {
"type": "boolean",
"example": true
@ -4600,9 +4618,6 @@ const docTemplate = `{
},
"handlers.UpdateTransactionVerifiedReq": {
"type": "object",
"required": [
"verified"
],
"properties": {
"verified": {
"type": "boolean",

View File

@ -2466,7 +2466,7 @@
}
}
},
"patch": {
"put": {
"description": "Updates the verified status of a transaction",
"consumes": [
"application/json"
@ -3983,6 +3983,10 @@
"type": "number",
"example": 100
},
"branch_id": {
"type": "integer",
"example": 1
},
"full_name": {
"type": "string",
"example": "John"
@ -4208,6 +4212,10 @@
"type": "integer",
"example": 1
},
"branch_id": {
"type": "integer",
"example": 1
},
"cashout_id": {
"type": "string",
"example": "191212"
@ -4482,6 +4490,10 @@
"type": "number",
"example": 100
},
"approved_by": {
"type": "integer",
"example": 1
},
"bank_code": {
"type": "string"
},
@ -4500,6 +4512,9 @@
"type": "integer",
"example": 1
},
"created_at": {
"type": "string"
},
"full_name": {
"type": "string",
"example": "John Smith"
@ -4531,6 +4546,9 @@
"type": "integer",
"example": 1
},
"updated_at": {
"type": "string"
},
"verified": {
"type": "boolean",
"example": true
@ -4592,9 +4610,6 @@
},
"handlers.UpdateTransactionVerifiedReq": {
"type": "object",
"required": [
"verified"
],
"properties": {
"verified": {
"type": "boolean",

View File

@ -474,6 +474,9 @@ definitions:
amount:
example: 100
type: number
branch_id:
example: 1
type: integer
full_name:
example: John
type: string
@ -631,6 +634,9 @@ definitions:
bet_id:
example: 1
type: integer
branch_id:
example: 1
type: integer
cashout_id:
example: "191212"
type: string
@ -821,6 +827,9 @@ definitions:
amount:
example: 100
type: number
approved_by:
example: 1
type: integer
bank_code:
type: string
beneficiary_name:
@ -834,6 +843,8 @@ definitions:
cashier_id:
example: 1
type: integer
created_at:
type: string
full_name:
example: John Smith
type: string
@ -855,6 +866,8 @@ definitions:
type:
example: 1
type: integer
updated_at:
type: string
verified:
example: true
type: boolean
@ -902,8 +915,6 @@ definitions:
verified:
example: true
type: boolean
required:
- verified
type: object
handlers.UpdateWalletActiveReq:
properties:
@ -2698,7 +2709,7 @@ paths:
summary: Gets transaction by id
tags:
- transaction
patch:
put:
consumes:
- application/json
description: Updates the verified status of a transaction