update open api
This commit is contained in:
parent
d85c096bd4
commit
a388c298f1
@ -268,48 +268,9 @@ components:
|
||||
properties:
|
||||
promoCodeID:
|
||||
type: string
|
||||
description: Кодовое слово, которое должен ввести пользователь
|
||||
description:
|
||||
type: string
|
||||
description: Описание, необходимое для администратора в панели управления
|
||||
greetings:
|
||||
type: string
|
||||
description: Текст, который будет отправлен пользователю в ответ на активацию кода
|
||||
dueTo:
|
||||
type: integer
|
||||
format: int64
|
||||
description: Временная метка окончания активации кода
|
||||
activationCount:
|
||||
type: integer
|
||||
format: int64
|
||||
description: Лимит активации кода
|
||||
bonus:
|
||||
type: object
|
||||
properties:
|
||||
privilege:
|
||||
type: object
|
||||
properties:
|
||||
privilegeID:
|
||||
type: string
|
||||
description: Идентификатор привилегии, которую необходимо предоставить
|
||||
amount:
|
||||
type: integer
|
||||
format: uint64
|
||||
description: Размер привилегии
|
||||
discount:
|
||||
type: object
|
||||
properties:
|
||||
layer:
|
||||
type: integer
|
||||
factor:
|
||||
type: number
|
||||
target:
|
||||
type: string
|
||||
threshold:
|
||||
type: integer
|
||||
description: Информация о бонусах
|
||||
|
||||
PromoCodeResponse:
|
||||
required:
|
||||
- promoCodeID
|
||||
PromoCodeStatsResp:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
@ -342,65 +303,9 @@ components:
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
description: ID промокода, который обновляем
|
||||
description:
|
||||
type: string
|
||||
description: Описание, необходимое менеджеру в админке
|
||||
greetings:
|
||||
type: string
|
||||
description: Текст, выдаваемый пользователю в ответ на активацию промокода
|
||||
dueTo:
|
||||
type: integer
|
||||
format: int64
|
||||
description: Временная метка окончания активации кода
|
||||
activationCount:
|
||||
type: integer
|
||||
format: int64
|
||||
description: Предел количества активаций промокода
|
||||
delete:
|
||||
type: boolean
|
||||
description: Флаг удаления промокода
|
||||
bonus:
|
||||
type: object
|
||||
properties:
|
||||
privilege:
|
||||
type: object
|
||||
properties:
|
||||
privilegeID:
|
||||
type: string
|
||||
description: Идентификатор привилегии, которую необходимо предоставить
|
||||
amount:
|
||||
type: integer
|
||||
format: uint64
|
||||
description: Размер привилегии
|
||||
discount:
|
||||
type: object
|
||||
properties:
|
||||
layer:
|
||||
type: integer
|
||||
factor:
|
||||
type: number
|
||||
target:
|
||||
type: string
|
||||
threshold:
|
||||
type: integer
|
||||
description: Информация о бонусах
|
||||
description: ID промокода, для которого нужно создать быструю ссылку
|
||||
required:
|
||||
- id
|
||||
GetPromoCodesListReq:
|
||||
type: object
|
||||
required:
|
||||
- page
|
||||
- limit
|
||||
properties:
|
||||
page:
|
||||
type: integer
|
||||
description: Номер страницы выборки, начиная с 0
|
||||
limit:
|
||||
type: integer
|
||||
description: Размер страницы выборки
|
||||
filter:
|
||||
$ref: '#/components/schemas/GetPromoCodesListReqFilter'
|
||||
|
||||
CreateFastLinkResp:
|
||||
type: object
|
||||
|
Loading…
Reference in New Issue
Block a user