change table column name
This commit is contained in:
166
docs/docs.go
166
docs/docs.go
@@ -51,8 +51,8 @@ const docTemplate = `{
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Filter by unique number",
|
||||
"name": "unikal_nomer",
|
||||
"description": "Filter by unique code",
|
||||
"name": "unique_code",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
@@ -595,7 +595,7 @@ const docTemplate = `{
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Filter by title (en, ru, tm)",
|
||||
"description": "Filter by name",
|
||||
"name": "document_name",
|
||||
"in": "query"
|
||||
},
|
||||
@@ -1979,45 +1979,56 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"address",
|
||||
"provinceId",
|
||||
"title",
|
||||
"unikalNomer"
|
||||
"name",
|
||||
"region"
|
||||
],
|
||||
"properties": {
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"address": {
|
||||
"$ref": "#/definitions/branches.LocalizedText"
|
||||
},
|
||||
"billingPassword": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingPasswordSber": {
|
||||
"billingSberPassword": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingPasswordSwift": {
|
||||
"billingSberUsername": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingPasswordVisa": {
|
||||
"billingSwiftPassword": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingSwiftUsername": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingUsername": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingUsernameSber": {
|
||||
"billingVisaMasterPassword": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingUsernameSwift": {
|
||||
"billingVisaMasterUsername": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingUsernameVisa": {
|
||||
"type": "string"
|
||||
"name": {
|
||||
"$ref": "#/definitions/branches.LocalizedText"
|
||||
},
|
||||
"phoneNumbers": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"provinceId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"title": {
|
||||
"$ref": "#/definitions/branches.LocalizedText"
|
||||
"region": {
|
||||
"type": "string"
|
||||
},
|
||||
"unikalNomer": {
|
||||
"uniqueCode": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -2040,45 +2051,56 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"address",
|
||||
"provinceId",
|
||||
"title",
|
||||
"unikalNomer"
|
||||
"name",
|
||||
"region"
|
||||
],
|
||||
"properties": {
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"address": {
|
||||
"$ref": "#/definitions/branches.LocalizedText"
|
||||
},
|
||||
"billingPassword": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingPasswordSber": {
|
||||
"billingSberPassword": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingPasswordSwift": {
|
||||
"billingSberUsername": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingPasswordVisa": {
|
||||
"billingSwiftPassword": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingSwiftUsername": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingUsername": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingUsernameSber": {
|
||||
"billingVisaMasterPassword": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingUsernameSwift": {
|
||||
"billingVisaMasterUsername": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingUsernameVisa": {
|
||||
"type": "string"
|
||||
"name": {
|
||||
"$ref": "#/definitions/branches.LocalizedText"
|
||||
},
|
||||
"phoneNumbers": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"provinceId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"title": {
|
||||
"$ref": "#/definitions/branches.LocalizedText"
|
||||
"region": {
|
||||
"type": "string"
|
||||
},
|
||||
"unikalNomer": {
|
||||
"uniqueCode": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -2086,39 +2108,17 @@ const docTemplate = `{
|
||||
"loansdocument.CreateLoanDocumentDTO": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"contentEn",
|
||||
"contentRu",
|
||||
"contentTm",
|
||||
"title"
|
||||
"name",
|
||||
"value"
|
||||
],
|
||||
"properties": {
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"contentEn": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"contentRu": {
|
||||
"type": "string"
|
||||
},
|
||||
"contentTm": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"$ref": "#/definitions/loansdocument.LocalizedTitle"
|
||||
}
|
||||
}
|
||||
},
|
||||
"loansdocument.LocalizedTitle": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"en": {
|
||||
"type": "string"
|
||||
},
|
||||
"ru": {
|
||||
"type": "string"
|
||||
},
|
||||
"tm": {
|
||||
"value": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -2134,26 +2134,18 @@ const docTemplate = `{
|
||||
"loansdocument.UpdateLoanDocumentDTO": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"contentEn",
|
||||
"contentRu",
|
||||
"contentTm",
|
||||
"title"
|
||||
"name",
|
||||
"value"
|
||||
],
|
||||
"properties": {
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"contentEn": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"contentRu": {
|
||||
"value": {
|
||||
"type": "string"
|
||||
},
|
||||
"contentTm": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"$ref": "#/definitions/loansdocument.LocalizedTitle"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2166,6 +2158,9 @@ const docTemplate = `{
|
||||
"title"
|
||||
],
|
||||
"properties": {
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"content": {
|
||||
"$ref": "#/definitions/loantype.LocalizedTitle"
|
||||
},
|
||||
@@ -2203,6 +2198,9 @@ const docTemplate = `{
|
||||
"title"
|
||||
],
|
||||
"properties": {
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"content": {
|
||||
"$ref": "#/definitions/loantype.LocalizedTitle"
|
||||
},
|
||||
@@ -2220,7 +2218,6 @@ const docTemplate = `{
|
||||
"paymentcard.CreatePaymentCardDTO": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"content",
|
||||
"price",
|
||||
"title"
|
||||
],
|
||||
@@ -2228,11 +2225,11 @@ const docTemplate = `{
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"content": {
|
||||
"$ref": "#/definitions/paymentcard.LocalizedText"
|
||||
"notes": {
|
||||
"type": "string"
|
||||
},
|
||||
"price": {
|
||||
"type": "number"
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"$ref": "#/definitions/paymentcard.LocalizedText"
|
||||
@@ -2264,7 +2261,6 @@ const docTemplate = `{
|
||||
"paymentcard.UpdatePaymentCardDTO": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"content",
|
||||
"price",
|
||||
"title"
|
||||
],
|
||||
@@ -2272,11 +2268,11 @@ const docTemplate = `{
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"content": {
|
||||
"$ref": "#/definitions/paymentcard.LocalizedText"
|
||||
"notes": {
|
||||
"type": "string"
|
||||
},
|
||||
"price": {
|
||||
"type": "number"
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"$ref": "#/definitions/paymentcard.LocalizedText"
|
||||
@@ -2336,16 +2332,18 @@ const docTemplate = `{
|
||||
"reasonscard.CreateReasonCardDTO": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"content",
|
||||
"price",
|
||||
"title"
|
||||
],
|
||||
"properties": {
|
||||
"content": {
|
||||
"$ref": "#/definitions/reasonscard.LocalizedText"
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"notes": {
|
||||
"type": "string"
|
||||
},
|
||||
"price": {
|
||||
"type": "number"
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"$ref": "#/definitions/reasonscard.LocalizedText"
|
||||
@@ -2369,16 +2367,18 @@ const docTemplate = `{
|
||||
"reasonscard.UpdateReasonCardDTO": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"content",
|
||||
"price",
|
||||
"title"
|
||||
],
|
||||
"properties": {
|
||||
"content": {
|
||||
"$ref": "#/definitions/reasonscard.LocalizedText"
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"notes": {
|
||||
"type": "string"
|
||||
},
|
||||
"price": {
|
||||
"type": "number"
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"$ref": "#/definitions/reasonscard.LocalizedText"
|
||||
|
||||
@@ -45,8 +45,8 @@
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Filter by unique number",
|
||||
"name": "unikal_nomer",
|
||||
"description": "Filter by unique code",
|
||||
"name": "unique_code",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
@@ -589,7 +589,7 @@
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Filter by title (en, ru, tm)",
|
||||
"description": "Filter by name",
|
||||
"name": "document_name",
|
||||
"in": "query"
|
||||
},
|
||||
@@ -1973,45 +1973,56 @@
|
||||
"type": "object",
|
||||
"required": [
|
||||
"address",
|
||||
"provinceId",
|
||||
"title",
|
||||
"unikalNomer"
|
||||
"name",
|
||||
"region"
|
||||
],
|
||||
"properties": {
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"address": {
|
||||
"$ref": "#/definitions/branches.LocalizedText"
|
||||
},
|
||||
"billingPassword": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingPasswordSber": {
|
||||
"billingSberPassword": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingPasswordSwift": {
|
||||
"billingSberUsername": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingPasswordVisa": {
|
||||
"billingSwiftPassword": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingSwiftUsername": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingUsername": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingUsernameSber": {
|
||||
"billingVisaMasterPassword": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingUsernameSwift": {
|
||||
"billingVisaMasterUsername": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingUsernameVisa": {
|
||||
"type": "string"
|
||||
"name": {
|
||||
"$ref": "#/definitions/branches.LocalizedText"
|
||||
},
|
||||
"phoneNumbers": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"provinceId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"title": {
|
||||
"$ref": "#/definitions/branches.LocalizedText"
|
||||
"region": {
|
||||
"type": "string"
|
||||
},
|
||||
"unikalNomer": {
|
||||
"uniqueCode": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -2034,45 +2045,56 @@
|
||||
"type": "object",
|
||||
"required": [
|
||||
"address",
|
||||
"provinceId",
|
||||
"title",
|
||||
"unikalNomer"
|
||||
"name",
|
||||
"region"
|
||||
],
|
||||
"properties": {
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"address": {
|
||||
"$ref": "#/definitions/branches.LocalizedText"
|
||||
},
|
||||
"billingPassword": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingPasswordSber": {
|
||||
"billingSberPassword": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingPasswordSwift": {
|
||||
"billingSberUsername": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingPasswordVisa": {
|
||||
"billingSwiftPassword": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingSwiftUsername": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingUsername": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingUsernameSber": {
|
||||
"billingVisaMasterPassword": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingUsernameSwift": {
|
||||
"billingVisaMasterUsername": {
|
||||
"type": "string"
|
||||
},
|
||||
"billingUsernameVisa": {
|
||||
"type": "string"
|
||||
"name": {
|
||||
"$ref": "#/definitions/branches.LocalizedText"
|
||||
},
|
||||
"phoneNumbers": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"provinceId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"title": {
|
||||
"$ref": "#/definitions/branches.LocalizedText"
|
||||
"region": {
|
||||
"type": "string"
|
||||
},
|
||||
"unikalNomer": {
|
||||
"uniqueCode": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -2080,39 +2102,17 @@
|
||||
"loansdocument.CreateLoanDocumentDTO": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"contentEn",
|
||||
"contentRu",
|
||||
"contentTm",
|
||||
"title"
|
||||
"name",
|
||||
"value"
|
||||
],
|
||||
"properties": {
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"contentEn": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"contentRu": {
|
||||
"type": "string"
|
||||
},
|
||||
"contentTm": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"$ref": "#/definitions/loansdocument.LocalizedTitle"
|
||||
}
|
||||
}
|
||||
},
|
||||
"loansdocument.LocalizedTitle": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"en": {
|
||||
"type": "string"
|
||||
},
|
||||
"ru": {
|
||||
"type": "string"
|
||||
},
|
||||
"tm": {
|
||||
"value": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -2128,26 +2128,18 @@
|
||||
"loansdocument.UpdateLoanDocumentDTO": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"contentEn",
|
||||
"contentRu",
|
||||
"contentTm",
|
||||
"title"
|
||||
"name",
|
||||
"value"
|
||||
],
|
||||
"properties": {
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"contentEn": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"contentRu": {
|
||||
"value": {
|
||||
"type": "string"
|
||||
},
|
||||
"contentTm": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"$ref": "#/definitions/loansdocument.LocalizedTitle"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2160,6 +2152,9 @@
|
||||
"title"
|
||||
],
|
||||
"properties": {
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"content": {
|
||||
"$ref": "#/definitions/loantype.LocalizedTitle"
|
||||
},
|
||||
@@ -2197,6 +2192,9 @@
|
||||
"title"
|
||||
],
|
||||
"properties": {
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"content": {
|
||||
"$ref": "#/definitions/loantype.LocalizedTitle"
|
||||
},
|
||||
@@ -2214,7 +2212,6 @@
|
||||
"paymentcard.CreatePaymentCardDTO": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"content",
|
||||
"price",
|
||||
"title"
|
||||
],
|
||||
@@ -2222,11 +2219,11 @@
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"content": {
|
||||
"$ref": "#/definitions/paymentcard.LocalizedText"
|
||||
"notes": {
|
||||
"type": "string"
|
||||
},
|
||||
"price": {
|
||||
"type": "number"
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"$ref": "#/definitions/paymentcard.LocalizedText"
|
||||
@@ -2258,7 +2255,6 @@
|
||||
"paymentcard.UpdatePaymentCardDTO": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"content",
|
||||
"price",
|
||||
"title"
|
||||
],
|
||||
@@ -2266,11 +2262,11 @@
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"content": {
|
||||
"$ref": "#/definitions/paymentcard.LocalizedText"
|
||||
"notes": {
|
||||
"type": "string"
|
||||
},
|
||||
"price": {
|
||||
"type": "number"
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"$ref": "#/definitions/paymentcard.LocalizedText"
|
||||
@@ -2330,16 +2326,18 @@
|
||||
"reasonscard.CreateReasonCardDTO": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"content",
|
||||
"price",
|
||||
"title"
|
||||
],
|
||||
"properties": {
|
||||
"content": {
|
||||
"$ref": "#/definitions/reasonscard.LocalizedText"
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"notes": {
|
||||
"type": "string"
|
||||
},
|
||||
"price": {
|
||||
"type": "number"
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"$ref": "#/definitions/reasonscard.LocalizedText"
|
||||
@@ -2363,16 +2361,18 @@
|
||||
"reasonscard.UpdateReasonCardDTO": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"content",
|
||||
"price",
|
||||
"title"
|
||||
],
|
||||
"properties": {
|
||||
"content": {
|
||||
"$ref": "#/definitions/reasonscard.LocalizedText"
|
||||
"active": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"notes": {
|
||||
"type": "string"
|
||||
},
|
||||
"price": {
|
||||
"type": "number"
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"$ref": "#/definitions/reasonscard.LocalizedText"
|
||||
|
||||
@@ -38,35 +38,42 @@ definitions:
|
||||
type: object
|
||||
branches.CreateBranchDTO:
|
||||
properties:
|
||||
active:
|
||||
type: boolean
|
||||
address:
|
||||
$ref: '#/definitions/branches.LocalizedText'
|
||||
billingPassword:
|
||||
type: string
|
||||
billingPasswordSber:
|
||||
billingSberPassword:
|
||||
type: string
|
||||
billingPasswordSwift:
|
||||
billingSberUsername:
|
||||
type: string
|
||||
billingPasswordVisa:
|
||||
billingSwiftPassword:
|
||||
type: string
|
||||
billingSwiftUsername:
|
||||
type: string
|
||||
billingUsername:
|
||||
type: string
|
||||
billingUsernameSber:
|
||||
billingVisaMasterPassword:
|
||||
type: string
|
||||
billingUsernameSwift:
|
||||
type: string
|
||||
billingUsernameVisa:
|
||||
billingVisaMasterUsername:
|
||||
type: string
|
||||
name:
|
||||
$ref: '#/definitions/branches.LocalizedText'
|
||||
phoneNumbers:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
provinceId:
|
||||
type: integer
|
||||
title:
|
||||
$ref: '#/definitions/branches.LocalizedText'
|
||||
unikalNomer:
|
||||
region:
|
||||
type: string
|
||||
uniqueCode:
|
||||
type: string
|
||||
required:
|
||||
- address
|
||||
- provinceId
|
||||
- title
|
||||
- unikalNomer
|
||||
- name
|
||||
- region
|
||||
type: object
|
||||
branches.LocalizedText:
|
||||
properties:
|
||||
@@ -79,62 +86,54 @@ definitions:
|
||||
type: object
|
||||
branches.UpdateBranchDTO:
|
||||
properties:
|
||||
active:
|
||||
type: boolean
|
||||
address:
|
||||
$ref: '#/definitions/branches.LocalizedText'
|
||||
billingPassword:
|
||||
type: string
|
||||
billingPasswordSber:
|
||||
billingSberPassword:
|
||||
type: string
|
||||
billingPasswordSwift:
|
||||
billingSberUsername:
|
||||
type: string
|
||||
billingPasswordVisa:
|
||||
billingSwiftPassword:
|
||||
type: string
|
||||
billingSwiftUsername:
|
||||
type: string
|
||||
billingUsername:
|
||||
type: string
|
||||
billingUsernameSber:
|
||||
billingVisaMasterPassword:
|
||||
type: string
|
||||
billingUsernameSwift:
|
||||
type: string
|
||||
billingUsernameVisa:
|
||||
billingVisaMasterUsername:
|
||||
type: string
|
||||
name:
|
||||
$ref: '#/definitions/branches.LocalizedText'
|
||||
phoneNumbers:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
provinceId:
|
||||
type: integer
|
||||
title:
|
||||
$ref: '#/definitions/branches.LocalizedText'
|
||||
unikalNomer:
|
||||
region:
|
||||
type: string
|
||||
uniqueCode:
|
||||
type: string
|
||||
required:
|
||||
- address
|
||||
- provinceId
|
||||
- title
|
||||
- unikalNomer
|
||||
- name
|
||||
- region
|
||||
type: object
|
||||
loansdocument.CreateLoanDocumentDTO:
|
||||
properties:
|
||||
active:
|
||||
type: boolean
|
||||
contentEn:
|
||||
name:
|
||||
type: string
|
||||
contentRu:
|
||||
value:
|
||||
type: string
|
||||
contentTm:
|
||||
type: string
|
||||
title:
|
||||
$ref: '#/definitions/loansdocument.LocalizedTitle'
|
||||
required:
|
||||
- contentEn
|
||||
- contentRu
|
||||
- contentTm
|
||||
- title
|
||||
type: object
|
||||
loansdocument.LocalizedTitle:
|
||||
properties:
|
||||
en:
|
||||
type: string
|
||||
ru:
|
||||
type: string
|
||||
tm:
|
||||
type: string
|
||||
- name
|
||||
- value
|
||||
type: object
|
||||
loansdocument.UpdateLoanDocumentActiveDTO:
|
||||
properties:
|
||||
@@ -145,22 +144,18 @@ definitions:
|
||||
properties:
|
||||
active:
|
||||
type: boolean
|
||||
contentEn:
|
||||
name:
|
||||
type: string
|
||||
contentRu:
|
||||
value:
|
||||
type: string
|
||||
contentTm:
|
||||
type: string
|
||||
title:
|
||||
$ref: '#/definitions/loansdocument.LocalizedTitle'
|
||||
required:
|
||||
- contentEn
|
||||
- contentRu
|
||||
- contentTm
|
||||
- title
|
||||
- name
|
||||
- value
|
||||
type: object
|
||||
loantype.CreateLoanTypeDTO:
|
||||
properties:
|
||||
active:
|
||||
type: boolean
|
||||
content:
|
||||
$ref: '#/definitions/loantype.LocalizedTitle'
|
||||
loanTerm:
|
||||
@@ -186,6 +181,8 @@ definitions:
|
||||
type: object
|
||||
loantype.UpdateLoanTypeDTO:
|
||||
properties:
|
||||
active:
|
||||
type: boolean
|
||||
content:
|
||||
$ref: '#/definitions/loantype.LocalizedTitle'
|
||||
loanTerm:
|
||||
@@ -204,14 +201,13 @@ definitions:
|
||||
properties:
|
||||
active:
|
||||
type: boolean
|
||||
content:
|
||||
$ref: '#/definitions/paymentcard.LocalizedText'
|
||||
notes:
|
||||
type: string
|
||||
price:
|
||||
type: number
|
||||
type: string
|
||||
title:
|
||||
$ref: '#/definitions/paymentcard.LocalizedText'
|
||||
required:
|
||||
- content
|
||||
- price
|
||||
- title
|
||||
type: object
|
||||
@@ -233,14 +229,13 @@ definitions:
|
||||
properties:
|
||||
active:
|
||||
type: boolean
|
||||
content:
|
||||
$ref: '#/definitions/paymentcard.LocalizedText'
|
||||
notes:
|
||||
type: string
|
||||
price:
|
||||
type: number
|
||||
type: string
|
||||
title:
|
||||
$ref: '#/definitions/paymentcard.LocalizedText'
|
||||
required:
|
||||
- content
|
||||
- price
|
||||
- title
|
||||
type: object
|
||||
@@ -279,14 +274,15 @@ definitions:
|
||||
type: object
|
||||
reasonscard.CreateReasonCardDTO:
|
||||
properties:
|
||||
content:
|
||||
$ref: '#/definitions/reasonscard.LocalizedText'
|
||||
active:
|
||||
type: boolean
|
||||
notes:
|
||||
type: string
|
||||
price:
|
||||
type: number
|
||||
type: string
|
||||
title:
|
||||
$ref: '#/definitions/reasonscard.LocalizedText'
|
||||
required:
|
||||
- content
|
||||
- price
|
||||
- title
|
||||
type: object
|
||||
@@ -301,14 +297,15 @@ definitions:
|
||||
type: object
|
||||
reasonscard.UpdateReasonCardDTO:
|
||||
properties:
|
||||
content:
|
||||
$ref: '#/definitions/reasonscard.LocalizedText'
|
||||
active:
|
||||
type: boolean
|
||||
notes:
|
||||
type: string
|
||||
price:
|
||||
type: number
|
||||
type: string
|
||||
title:
|
||||
$ref: '#/definitions/reasonscard.LocalizedText'
|
||||
required:
|
||||
- content
|
||||
- price
|
||||
- title
|
||||
type: object
|
||||
@@ -335,9 +332,9 @@ paths:
|
||||
in: query
|
||||
name: branch_name
|
||||
type: string
|
||||
- description: Filter by unique number
|
||||
- description: Filter by unique code
|
||||
in: query
|
||||
name: unikal_nomer
|
||||
name: unique_code
|
||||
type: string
|
||||
- default: 1
|
||||
description: Page number
|
||||
@@ -683,7 +680,7 @@ paths:
|
||||
get:
|
||||
description: Returns paginated loan documents with optional filters
|
||||
parameters:
|
||||
- description: Filter by title (en, ru, tm)
|
||||
- description: Filter by name
|
||||
in: query
|
||||
name: document_name
|
||||
type: string
|
||||
|
||||
Reference in New Issue
Block a user