change table column name

This commit is contained in:
2026-07-07 15:16:40 +05:00
parent ef56625321
commit 41471694d5
11 changed files with 318 additions and 334 deletions

View File

@@ -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"