-
This commit is contained in:
parent
98e30b5051
commit
0d081e63ab
23
docs/docs.go
23
docs/docs.go
|
|
@ -2474,7 +2474,7 @@ const docTemplate = `{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"patch": {
|
"put": {
|
||||||
"description": "Updates the verified status of a transaction",
|
"description": "Updates the verified status of a transaction",
|
||||||
"consumes": [
|
"consumes": [
|
||||||
"application/json"
|
"application/json"
|
||||||
|
|
@ -3991,6 +3991,10 @@ const docTemplate = `{
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"example": 100
|
"example": 100
|
||||||
},
|
},
|
||||||
|
"branch_id": {
|
||||||
|
"type": "integer",
|
||||||
|
"example": 1
|
||||||
|
},
|
||||||
"full_name": {
|
"full_name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"example": "John"
|
"example": "John"
|
||||||
|
|
@ -4216,6 +4220,10 @@ const docTemplate = `{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"example": 1
|
"example": 1
|
||||||
},
|
},
|
||||||
|
"branch_id": {
|
||||||
|
"type": "integer",
|
||||||
|
"example": 1
|
||||||
|
},
|
||||||
"cashout_id": {
|
"cashout_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"example": "191212"
|
"example": "191212"
|
||||||
|
|
@ -4490,6 +4498,10 @@ const docTemplate = `{
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"example": 100
|
"example": 100
|
||||||
},
|
},
|
||||||
|
"approved_by": {
|
||||||
|
"type": "integer",
|
||||||
|
"example": 1
|
||||||
|
},
|
||||||
"bank_code": {
|
"bank_code": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
|
@ -4508,6 +4520,9 @@ const docTemplate = `{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"example": 1
|
"example": 1
|
||||||
},
|
},
|
||||||
|
"created_at": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"full_name": {
|
"full_name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"example": "John Smith"
|
"example": "John Smith"
|
||||||
|
|
@ -4539,6 +4554,9 @@ const docTemplate = `{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"example": 1
|
"example": 1
|
||||||
},
|
},
|
||||||
|
"updated_at": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"verified": {
|
"verified": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"example": true
|
"example": true
|
||||||
|
|
@ -4600,9 +4618,6 @@ const docTemplate = `{
|
||||||
},
|
},
|
||||||
"handlers.UpdateTransactionVerifiedReq": {
|
"handlers.UpdateTransactionVerifiedReq": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [
|
|
||||||
"verified"
|
|
||||||
],
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"verified": {
|
"verified": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|
|
||||||
|
|
@ -2466,7 +2466,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"patch": {
|
"put": {
|
||||||
"description": "Updates the verified status of a transaction",
|
"description": "Updates the verified status of a transaction",
|
||||||
"consumes": [
|
"consumes": [
|
||||||
"application/json"
|
"application/json"
|
||||||
|
|
@ -3983,6 +3983,10 @@
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"example": 100
|
"example": 100
|
||||||
},
|
},
|
||||||
|
"branch_id": {
|
||||||
|
"type": "integer",
|
||||||
|
"example": 1
|
||||||
|
},
|
||||||
"full_name": {
|
"full_name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"example": "John"
|
"example": "John"
|
||||||
|
|
@ -4208,6 +4212,10 @@
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"example": 1
|
"example": 1
|
||||||
},
|
},
|
||||||
|
"branch_id": {
|
||||||
|
"type": "integer",
|
||||||
|
"example": 1
|
||||||
|
},
|
||||||
"cashout_id": {
|
"cashout_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"example": "191212"
|
"example": "191212"
|
||||||
|
|
@ -4482,6 +4490,10 @@
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"example": 100
|
"example": 100
|
||||||
},
|
},
|
||||||
|
"approved_by": {
|
||||||
|
"type": "integer",
|
||||||
|
"example": 1
|
||||||
|
},
|
||||||
"bank_code": {
|
"bank_code": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
|
@ -4500,6 +4512,9 @@
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"example": 1
|
"example": 1
|
||||||
},
|
},
|
||||||
|
"created_at": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"full_name": {
|
"full_name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"example": "John Smith"
|
"example": "John Smith"
|
||||||
|
|
@ -4531,6 +4546,9 @@
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"example": 1
|
"example": 1
|
||||||
},
|
},
|
||||||
|
"updated_at": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"verified": {
|
"verified": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"example": true
|
"example": true
|
||||||
|
|
@ -4592,9 +4610,6 @@
|
||||||
},
|
},
|
||||||
"handlers.UpdateTransactionVerifiedReq": {
|
"handlers.UpdateTransactionVerifiedReq": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [
|
|
||||||
"verified"
|
|
||||||
],
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"verified": {
|
"verified": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|
|
||||||
|
|
@ -474,6 +474,9 @@ definitions:
|
||||||
amount:
|
amount:
|
||||||
example: 100
|
example: 100
|
||||||
type: number
|
type: number
|
||||||
|
branch_id:
|
||||||
|
example: 1
|
||||||
|
type: integer
|
||||||
full_name:
|
full_name:
|
||||||
example: John
|
example: John
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -631,6 +634,9 @@ definitions:
|
||||||
bet_id:
|
bet_id:
|
||||||
example: 1
|
example: 1
|
||||||
type: integer
|
type: integer
|
||||||
|
branch_id:
|
||||||
|
example: 1
|
||||||
|
type: integer
|
||||||
cashout_id:
|
cashout_id:
|
||||||
example: "191212"
|
example: "191212"
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -821,6 +827,9 @@ definitions:
|
||||||
amount:
|
amount:
|
||||||
example: 100
|
example: 100
|
||||||
type: number
|
type: number
|
||||||
|
approved_by:
|
||||||
|
example: 1
|
||||||
|
type: integer
|
||||||
bank_code:
|
bank_code:
|
||||||
type: string
|
type: string
|
||||||
beneficiary_name:
|
beneficiary_name:
|
||||||
|
|
@ -834,6 +843,8 @@ definitions:
|
||||||
cashier_id:
|
cashier_id:
|
||||||
example: 1
|
example: 1
|
||||||
type: integer
|
type: integer
|
||||||
|
created_at:
|
||||||
|
type: string
|
||||||
full_name:
|
full_name:
|
||||||
example: John Smith
|
example: John Smith
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -855,6 +866,8 @@ definitions:
|
||||||
type:
|
type:
|
||||||
example: 1
|
example: 1
|
||||||
type: integer
|
type: integer
|
||||||
|
updated_at:
|
||||||
|
type: string
|
||||||
verified:
|
verified:
|
||||||
example: true
|
example: true
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|
@ -902,8 +915,6 @@ definitions:
|
||||||
verified:
|
verified:
|
||||||
example: true
|
example: true
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
|
||||||
- verified
|
|
||||||
type: object
|
type: object
|
||||||
handlers.UpdateWalletActiveReq:
|
handlers.UpdateWalletActiveReq:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -2698,7 +2709,7 @@ paths:
|
||||||
summary: Gets transaction by id
|
summary: Gets transaction by id
|
||||||
tags:
|
tags:
|
||||||
- transaction
|
- transaction
|
||||||
patch:
|
put:
|
||||||
consumes:
|
consumes:
|
||||||
- application/json
|
- application/json
|
||||||
description: Updates the verified status of a transaction
|
description: Updates the verified status of a transaction
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user