update open api
This commit is contained in:
parent
d85c096bd4
commit
a388c298f1
@ -268,48 +268,9 @@ components:
|
|||||||
properties:
|
properties:
|
||||||
promoCodeID:
|
promoCodeID:
|
||||||
type: string
|
type: string
|
||||||
description: Кодовое слово, которое должен ввести пользователь
|
required:
|
||||||
description:
|
- promoCodeID
|
||||||
type: string
|
PromoCodeStatsResp:
|
||||||
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:
|
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
@ -342,65 +303,9 @@ components:
|
|||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
description: ID промокода, который обновляем
|
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: Информация о бонусах
|
|
||||||
required:
|
required:
|
||||||
- id
|
- id
|
||||||
GetPromoCodesListReq:
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- page
|
|
||||||
- limit
|
|
||||||
properties:
|
|
||||||
page:
|
|
||||||
type: integer
|
|
||||||
description: Номер страницы выборки, начиная с 0
|
|
||||||
limit:
|
|
||||||
type: integer
|
|
||||||
description: Размер страницы выборки
|
|
||||||
filter:
|
|
||||||
$ref: '#/components/schemas/GetPromoCodesListReqFilter'
|
|
||||||
|
|
||||||
CreateFastLinkResp:
|
CreateFastLinkResp:
|
||||||
type: object
|
type: object
|
||||||
|
Loading…
Reference in New Issue
Block a user