뮤테이션 레퍼런스
전체 187개 뮤테이션을 도메인별로 정리했습니다. 인자, 반환 타입, 필수 여부를 인라인으로 확인할 수 있습니다.
숙소 관리 (6)
addOptionKeyToAllAccommodations
@roleGuard(role: ROOT, access: UPDATE): Only the user with the role of 'ROOT' and the access permission of 'UPDATE' can access this object (field).
반환: [Accommodation!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
key | String! | ✓ |
stringValue | String | — |
numberValue | Int | — |
booleanValue | Boolean | — |
createAccommodation
@roleGuard(role: USER, access: WRITE): Only the user with the role of 'USER' and the access permission of 'WRITE' can access this object (field).
반환: Accommodation!
| 인자 | 타입 | 필수 |
|---|---|---|
name | String! | ✓ |
address | AddressInput! | ✓ |
type | AccommodationTypes! | ✓ |
options | AccommodationOptionsInput! | ✓ |
integrationPeriod | Int | — |
deleteAccommodation
@roleGuard(role: ADMIN, access: DELETE): Only the user with the role of 'ADMIN' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
removeOptionKeyFromAllAccommodations
@roleGuard(role: ROOT, access: UPDATE): Only the user with the role of 'ROOT' and the access permission of 'UPDATE' can access this object (field).
반환: [Accommodation!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
key | String! | ✓ |
updateAccommodation
@roleGuard(role: ADMIN, access: UPDATE): Only the user with the role of 'ADMIN' and the access permission of 'UPDATE' can access this object (field).
반환: Accommodation!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
name | String | — |
address | AddressInput | — |
type | AccommodationTypes | — |
options | AccommodationOptionsInput | — |
isLaunched | Boolean | — |
integrationPeriod | Int | — |
autoCloseOnBan | Boolean | — |
upsertAccommodationTimeTable
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: AccommodationTimeTable!
| 인자 | 타입 | 필수 |
|---|---|---|
accommodationId | ULID! | ✓ |
stayType | StayType! | ✓ |
timeTable | AccommodationTimeTableInput! | ✓ |
감사 로그 (2)
createAudit
@roleGuard(role: ROOT, access: WRITE): Only the user with the role of 'ROOT' and the access permission of 'WRITE' can access this object (field).
반환: Audit!
| 인자 | 타입 | 필수 |
|---|---|---|
domain | ApiDomain! | ✓ |
event | ApiEvent! | ✓ |
method | AuditMethod! | ✓ |
ipAddress | String! | ✓ |
userAgent | String! | ✓ |
detail | AuditDetailInput! | ✓ |
status | AuditStatus! | ✓ |
duration | Float! | ✓ |
actorId | ULID | — |
accommodationId | ULID | — |
deleteAudit
@roleGuard(role: ROOT, access: DELETE): Only the user with the role of 'ROOT' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
빌링 및 결제 (15)
cancelBilling
@roleGuard(role: ADMIN, access: UPDATE): Only the user with the role of 'ADMIN' and the access permission of 'UPDATE' can access this object (field).
반환: Billing!
| 인자 | 타입 | 필수 |
|---|---|---|
billingId | ULID! | ✓ |
cancelBillingTransaction
@roleGuard(role: ROOT, access: UPDATE): Only the user with the role of 'ROOT' and the access permission of 'UPDATE' can access this object (field).
반환: BillingTransaction!
| 인자 | 타입 | 필수 |
|---|---|---|
transactionId | ULID! | ✓ |
cancelReason | String | — |
cancelAmount | Float | — |
createBillingDiscount
@roleGuard(role: ROOT, access: WRITE): Only the user with the role of 'ROOT' and the access permission of 'WRITE' can access this object (field).
반환: BillingDiscount!
| 인자 | 타입 | 필수 |
|---|---|---|
key | String! | ✓ |
type | BillingDiscountType! | ✓ |
value | Float! | ✓ |
currency | BillingCurrency | — |
serviceItemType | ServiceItemType | — |
isForced | Boolean | — |
conditions | [BillingDiscountConditionInput!] | — |
createBillingDiscountAllocation
@roleGuard(role: ROOT, access: WRITE): Only the user with the role of 'ROOT' and the access permission of 'WRITE' can access this object (field).
반환: BillingDiscountAllocation!
| 인자 | 타입 | 필수 |
|---|---|---|
billingDiscountId | ULID! | ✓ |
accommodationId | ULID! | ✓ |
quantity | Int | — |
createBillingPaymentMethodByTossPaymentsKeys
@roleGuard(role: MANAGER, access: WRITE): Only the user with the role of 'MANAGER' and the access permission of 'WRITE' can access this object (field).
반환: BillingPaymentMethod!
| 인자 | 타입 | 필수 |
|---|---|---|
customerKey | String! | ✓ |
authKey | String! | ✓ |
accommodationId | ULID | — |
createBillingTransaction
@roleGuard(role: ROOT, access: WRITE): Only the user with the role of 'ROOT' and the access permission of 'WRITE' can access this object (field).
반환: BillingTransaction!
| 인자 | 타입 | 필수 |
|---|---|---|
billingId | ULID! | ✓ |
chargeRate | Float | — |
paymentMethodId | ULID | — |
paymentAmountOverride | Float | — |
createSubscriptionBilling
@roleGuard(role: ADMIN, access: WRITE): Only the user with the role of 'ADMIN' and the access permission of 'WRITE' can access this object (field).
반환: Billing!
| 인자 | 타입 | 필수 |
|---|---|---|
billingQuotas | [BillingQuotaInput!]! | ✓ |
paymentCurrency | BillingCurrency! | ✓ |
accommodationId | ULID | — |
deleteBilling
@roleGuard(role: ADMIN, access: DELETE): Only the user with the role of 'ADMIN' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
deleteBillingDiscount
@roleGuard(role: ROOT, access: DELETE): Only the user with the role of 'ROOT' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
deleteBillingDiscountAllocation
@roleGuard(role: ROOT, access: DELETE): Only the user with the role of 'ROOT' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
deleteBillingPaymentMethod
@roleGuard(role: MANAGER, access: DELETE): Only the user with the role of 'MANAGER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
updateBilling
@roleGuard(role: ADMIN, access: UPDATE): Only the user with the role of 'ADMIN' and the access permission of 'UPDATE' can access this object (field).
반환: Billing!
| 인자 | 타입 | 필수 |
|---|---|---|
billingId | ULID! | ✓ |
billingQuotas | [BillingQuotaInput!]! | ✓ |
depositAmount | Float | — |
updateBillingDiscount
@roleGuard(role: ROOT, access: UPDATE): Only the user with the role of 'ROOT' and the access permission of 'UPDATE' can access this object (field).
반환: BillingDiscount!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
key | String | — |
type | BillingDiscountType | — |
value | Float | — |
currency | BillingCurrency | — |
serviceItemType | ServiceItemType | — |
isActive | Boolean | — |
isForced | Boolean | — |
conditions | [BillingDiscountConditionInput!] | — |
updateBillingDiscountAllocation
@roleGuard(role: ROOT, access: UPDATE): Only the user with the role of 'ROOT' and the access permission of 'UPDATE' can access this object (field).
반환: BillingDiscountAllocation!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
quantity | Int | — |
updateBillingPaymentMethod
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: BillingPaymentMethod!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
isDefault | Boolean | — |
name | String | — |
예약 관리 (9)
correctAllBookingsByChannelPackage
@roleGuard(role: ROOT, access: UPDATE): Only the user with the role of 'ROOT' and the access permission of 'UPDATE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
accommodationId | ULID! | ✓ |
createBooking
@roleGuard(role: USER, access: WRITE): Only the user with the role of 'USER' and the access permission of 'WRITE' can access this object (field).
반환: Booking!
| 인자 | 타입 | 필수 |
|---|---|---|
channelPackageId | ULID! | ✓ |
parentId | ULID | — |
identifier | String! | ✓ |
name | String! | ✓ |
contact | String! | ✓ |
status | BookingStatus! | ✓ |
checkInAt | DateTime! | ✓ |
checkOutAt | DateTime! | ✓ |
modeOfArrival | ModeOfArrival! | ✓ |
stayType | StayType! | ✓ |
companions | Int! | ✓ |
adults | Int! | ✓ |
children | Int! | ✓ |
infants | Int! | ✓ |
rawData | JSON! | ✓ |
salesAt | DateTime! | ✓ |
quantity | Int | — |
salesAmount | Float | — |
netAmount | Float | — |
dueAmount | Float | — |
guestRequest | String | — |
memo | String | — |
excludeIntegration | Boolean | — |
createBookingForIntegration
@roleGuard(role: USER, access: WRITE): Only the user with the role of 'USER' and the access permission of 'WRITE' can access this object (field).
반환: BookingForIntegration!
| 인자 | 타입 | 필수 |
|---|---|---|
channelPackageId | ULID! | ✓ |
parentId | ULID | — |
identifier | String! | ✓ |
name | String! | ✓ |
contact | String! | ✓ |
status | BookingStatus! | ✓ |
checkInAt | DateTime! | ✓ |
checkOutAt | DateTime! | ✓ |
modeOfArrival | ModeOfArrival! | ✓ |
stayType | StayType! | ✓ |
companions | Int! | ✓ |
adults | Int! | ✓ |
children | Int! | ✓ |
infants | Int! | ✓ |
rawData | JSON! | ✓ |
salesAt | DateTime! | ✓ |
quantity | Int | — |
salesAmount | Float | — |
netAmount | Float | — |
dueAmount | Float | — |
guestRequest | String | — |
memo | String | — |
deleteAllBookings
@roleGuard(role: ROOT, access: DELETE): Only the user with the role of 'ROOT' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
accommodationId | ULID! | ✓ |
excludeInventoryAdjustments | Boolean | — |
excludeRateAdjustments | Boolean | — |
deleteBooking
@roleGuard(role: USER, access: DELETE): Only the user with the role of 'USER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
deleteBookingForIntegration
@roleGuard(role: USER, access: DELETE): Only the user with the role of 'USER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
resetAllBookingsAndAdjustments
@roleGuard(role: ROOT, access: DELETE): Only the user with the role of 'ROOT' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
accommodationId | ULID! | ✓ |
updateBooking
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: Booking!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
identifier | String | — |
name | String | — |
contact | String | — |
status | BookingStatus | — |
modeOfArrival | ModeOfArrival | — |
stayType | StayType | — |
companions | Int | — |
adults | Int | — |
children | Int | — |
infants | Int | — |
rawData | JSON | — |
quantity | Int | — |
salesAmount | Float | — |
netAmount | Float | — |
dueAmount | Float | — |
isMarked | Boolean | — |
isFragmented | Boolean | — |
checkInAt | DateTime | — |
checkOutAt | DateTime | — |
cancelledAt | DateTime | — |
guestRequest | String | — |
memo | String | — |
excludeIntegration | Boolean | — |
channelPackageId | ULID | — |
updateBookingForIntegration
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: BookingForIntegration!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
identifier | String | — |
name | String | — |
contact | String | — |
status | BookingStatus | — |
modeOfArrival | ModeOfArrival | — |
stayType | StayType | — |
companions | Int | — |
adults | Int | — |
children | Int | — |
infants | Int | — |
rawData | JSON | — |
quantity | Int | — |
salesAmount | Float | — |
netAmount | Float | — |
dueAmount | Float | — |
isMarked | Boolean | — |
isFragmented | Boolean | — |
checkInAt | DateTime | — |
checkOutAt | DateTime | — |
cancelledAt | DateTime | — |
guestRequest | String | — |
memo | String | — |
channelPackageId | ULID | — |
채널 연동 (17)
assignPackageToChannelPackage
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: ChannelPackage!
| 인자 | 타입 | 필수 |
|---|---|---|
packageId | ULID! | ✓ |
channelPackageId | ULID! | ✓ |
createChannel
@roleGuard(role: ROOT, access: WRITE): Only the user with the role of 'ROOT' and the access permission of 'WRITE' can access this object (field).
반환: Channel!
| 인자 | 타입 | 필수 |
|---|---|---|
key | String! | ✓ |
icon | String! | ✓ |
credentialFigure | [FieldFigureInput!] | — |
createChannelAccount
@roleGuard(role: MANAGER, access: WRITE): Only the user with the role of 'MANAGER' and the access permission of 'WRITE' can access this object (field).
반환: ChannelAccount!
| 인자 | 타입 | 필수 |
|---|---|---|
channelId | ULID! | ✓ |
credential | JSON! | ✓ |
accommodationId | ULID | — |
isShared | Boolean | — |
createChannelPackage
@roleGuard(role: MANAGER, access: WRITE): Only the user with the role of 'MANAGER' and the access permission of 'WRITE' can access this object (field).
반환: ChannelPackage!
| 인자 | 타입 | 필수 |
|---|---|---|
name | String! | ✓ |
identifier | String! | ✓ |
channelPropertyId | ULID! | ✓ |
packageId | ULID | — |
stayType | StayType | — |
isPropagateQuantity | Boolean | — |
isPropagateCharge | Boolean | — |
isControllable | Boolean | — |
isSharedQuantity | Boolean | — |
baseQuantity | Int | — |
rateMultiplier | RateMultiplierInput | — |
accommodationId | ULID | — |
createChannelPackageForIntegration
@roleGuard(role: MANAGER, access: WRITE): Only the user with the role of 'MANAGER' and the access permission of 'WRITE' can access this object (field).
반환: ChannelPackageForIntegration!
| 인자 | 타입 | 필수 |
|---|---|---|
name | String! | ✓ |
identifier | String! | ✓ |
channelPropertyId | ULID! | ✓ |
packageId | ULID | — |
stayType | StayType | — |
isPropagateQuantity | Boolean | — |
isPropagateCharge | Boolean | — |
isControllable | Boolean | — |
isSharedQuantity | Boolean | — |
baseQuantity | Int | — |
rateMultiplier | RateMultiplierInput | — |
accommodationId | ULID | — |
createChannelProperty
@roleGuard(role: MANAGER, access: WRITE): Only the user with the role of 'MANAGER' and the access permission of 'WRITE' can access this object (field).
반환: ChannelProperty!
| 인자 | 타입 | 필수 |
|---|---|---|
channelAccountId | ULID! | ✓ |
name | String! | ✓ |
identifier | String! | ✓ |
isUsing | Boolean! | ✓ |
bookingCommissionPercentage | Float | — |
accommodationId | ULID | — |
rateMultiplier | RateMultiplierInput | — |
integrateBookingsBeforeInitialize | Boolean | — |
deleteChannel
@roleGuard(role: ROOT, access: DELETE): Only the user with the role of 'ROOT' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
deleteChannelAccount
@roleGuard(role: MANAGER, access: DELETE): Only the user with the role of 'MANAGER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
deleteChannelPackage
@roleGuard(role: MANAGER, access: DELETE): Only the user with the role of 'MANAGER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
deleteChannelPackageForIntegration
@roleGuard(role: MANAGER, access: DELETE): Only the user with the role of 'MANAGER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
deleteChannelProperty
@roleGuard(role: MANAGER, access: DELETE): Only the user with the role of 'MANAGER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
unassignPackageFromChannelPackage
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: ChannelPackage!
| 인자 | 타입 | 필수 |
|---|---|---|
channelPackageId | ULID! | ✓ |
updateChannel
@roleGuard(role: ROOT, access: UPDATE): Only the user with the role of 'ROOT' and the access permission of 'UPDATE' can access this object (field).
반환: Channel!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
key | String | — |
icon | String | — |
updateChannelAccount
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: ChannelAccount!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
credential | JSON | — |
status | ChannelAccountStatus | — |
isBanned | Boolean | — |
isShared | Boolean | — |
updateChannelPackage
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: ChannelPackage!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
name | String | — |
identifier | String | — |
isPropagateQuantity | Boolean | — |
isPropagateCharge | Boolean | — |
isControllable | Boolean | — |
isSharedQuantity | Boolean | — |
isHidden | Boolean | — |
baseQuantity | Int | — |
removeBaseQuantity | Boolean | — |
rateMultiplier | RateMultiplierInput | — |
removeRateMultiplier | Boolean | — |
updateChannelPackageForIntegration
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: ChannelPackageForIntegration!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
name | String | — |
identifier | String | — |
isPropagateQuantity | Boolean | — |
isPropagateCharge | Boolean | — |
isControllable | Boolean | — |
isSharedQuantity | Boolean | — |
isHidden | Boolean | — |
baseQuantity | Int | — |
removeBaseQuantity | Boolean | — |
rateMultiplier | RateMultiplierInput | — |
removeRateMultiplier | Boolean | — |
updateChannelProperty
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: ChannelProperty!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
name | String | — |
identifier | String | — |
isUsing | Boolean | — |
bookingCommissionPercentage | Float | — |
status | ChannelPropertyStatus | — |
rateMultiplier | RateMultiplierInput | — |
removeRateMultiplier | Boolean | — |
isInitialized | Boolean | — |
integrateBookingsBeforeInitialize | Boolean | — |
withBookingsUpdate | Boolean | — |
통화 관리 (1)
deleteCurrencyExchange
@roleGuard(role: ROOT, access: DELETE): Only the user with the role of 'ROOT' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
포함 항목 (4)
createInclusion
@roleGuard(role: MANAGER, access: WRITE): Only the user with the role of 'MANAGER' and the access permission of 'WRITE' can access this object (field).
반환: Inclusion!
| 인자 | 타입 | 필수 |
|---|---|---|
name | String! | ✓ |
description | String | — |
icon | String | — |
charge | Float | — |
currency | Currency | — |
isStatic | Boolean | — |
accommodationId | ULID | — |
deleteInclusion
@roleGuard(role: MANAGER, access: DELETE): Only the user with the role of 'MANAGER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
updateInclusion
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: Inclusion!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
name | String | — |
description | String | — |
icon | String | — |
charge | Float | — |
isStatic | Boolean | — |
updateInclusionOrders
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: [Inclusion!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
inclusionIds | [ULID!]! | ✓ |
외부 연동 (9)
createIntegration
@roleGuard(role: ROOT, access: WRITE): Only the user with the role of 'ROOT' and the access permission of 'WRITE' can access this object (field).
반환: Integration!
| 인자 | 타입 | 필수 |
|---|---|---|
secret | String! | ✓ |
aggregate | IntegrationAggregate! | ✓ |
icon | String! | ✓ |
key | String! | ✓ |
optionFigure | [FieldFigureInput!]! | ✓ |
allowedEvents | [ApiEventForIntegration!]! | ✓ |
subscribeEvents | [ApiEvent!]! | ✓ |
webhookUri | String! | ✓ |
onboardUri | String | — |
createIntegrationAdapter
@roleGuard(role: MANAGER, access: WRITE): Only the user with the role of 'MANAGER' and the access permission of 'WRITE' can access this object (field).
반환: IntegrationAdapter!
| 인자 | 타입 | 필수 |
|---|---|---|
option | JSON! | ✓ |
integrationId | ULID! | ✓ |
accommodationId | ULID | — |
createIntegrationAdapterOnboardUri
@roleGuard(role: MANAGER, access: WRITE): Only the user with the role of 'MANAGER' and the access permission of 'WRITE' can access this object (field).
반환: String!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
deleteIntegration
@roleGuard(role: ROOT, access: DELETE): Only the user with the role of 'ROOT' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
deleteIntegrationAdapter
@roleGuard(role: MANAGER, access: DELETE): Only the user with the role of 'MANAGER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
disableIntegrationAdapter
@roleGuard(role: ADMIN, access: UPDATE): Only the user with the role of 'ADMIN' and the access permission of 'UPDATE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID | — |
isFailed | Boolean | — |
failCode | String | — |
enableIntegrationAdapter
@roleGuard(role: ADMIN, access: UPDATE): Only the user with the role of 'ADMIN' and the access permission of 'UPDATE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID | — |
updateIntegration
@roleGuard(role: ROOT, access: UPDATE): Only the user with the role of 'ROOT' and the access permission of 'UPDATE' can access this object (field).
반환: Integration!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
secret | String | — |
aggregate | IntegrationAggregate | — |
icon | String | — |
key | String | — |
optionFigure | [FieldFigureInput!] | — |
allowedEvents | [ApiEventForIntegration!] | — |
subscribeEvents | [ApiEvent!] | — |
webhookUri | String | — |
onboardUri | String | — |
updateIntegrationAdapter
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: IntegrationAdapter!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
option | JSON! | ✓ |
재고 관리 (21)
copyInventoryAdjustmentToDates
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: [ULID!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
copyType | InventoryAdjustmentCopyType! | ✓ |
dates | [LocalDate!]! | ✓ |
copyInventoryChannelPackageAdjustmentToDates
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: [ULID!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
copyType | InventoryAdjustmentCopyType! | ✓ |
dates | [LocalDate!]! | ✓ |
copyInventoryPackageAdjustmentToDates
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: [ULID!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
copyType | InventoryAdjustmentCopyType! | ✓ |
dates | [LocalDate!]! | ✓ |
createInventory
@roleGuard(role: MANAGER, access: WRITE): Only the user with the role of 'MANAGER' and the access permission of 'WRITE' can access this object (field).
반환: Inventory!
| 인자 | 타입 | 필수 |
|---|---|---|
roomTypeId | ULID! | ✓ |
baseQuantity | Int | — |
accommodationId | ULID | — |
createInventoryAdjustment
@roleGuard(role: USER, access: WRITE): Only the user with the role of 'USER' and the access permission of 'WRITE' can access this object (field).
반환: InventoryAdjustment!
| 인자 | 타입 | 필수 |
|---|---|---|
inventoryId | ULID! | ✓ |
date | LocalDate! | ✓ |
quantity | Int | — |
isClosed | Boolean | — |
checkInTime | String | — |
checkOutTime | String | — |
createInventoryChannelPackageAdjustment
@roleGuard(role: USER, access: WRITE): Only the user with the role of 'USER' and the access permission of 'WRITE' can access this object (field).
반환: InventoryChannelPackageAdjustment!
| 인자 | 타입 | 필수 |
|---|---|---|
inventoryId | ULID! | ✓ |
channelPackageId | ULID! | ✓ |
date | LocalDate! | ✓ |
quantity | Int | — |
isClosed | Boolean | — |
checkInTime | String | — |
checkOutTime | String | — |
createInventoryPackageAdjustment
@roleGuard(role: USER, access: WRITE): Only the user with the role of 'USER' and the access permission of 'WRITE' can access this object (field).
반환: InventoryPackageAdjustment!
| 인자 | 타입 | 필수 |
|---|---|---|
inventoryId | ULID! | ✓ |
packageId | ULID! | ✓ |
date | LocalDate! | ✓ |
quantity | Int | — |
isClosed | Boolean | — |
checkInTime | String | — |
checkOutTime | String | — |
deleteInventory
@roleGuard(role: ROOT, access: DELETE): Only the user with the role of 'ROOT' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
deleteInventoryAdjustment
@roleGuard(role: USER, access: DELETE): Only the user with the role of 'USER' and the access permission of 'DELETE' can access this object (field).
반환: InventoryAdjustment!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
with | InventoryAdjustmentDeleteWith | — |
deleteInventoryAdjustments
@roleGuard(role: USER, access: DELETE): Only the user with the role of 'USER' and the access permission of 'DELETE' can access this object (field).
반환: [InventoryAdjustment!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
inventoryAdjustmentIds | [ULID!]! | ✓ |
with | InventoryAdjustmentDeleteWith | — |
deleteInventoryChannelPackageAdjustment
@roleGuard(role: USER, access: DELETE): Only the user with the role of 'USER' and the access permission of 'DELETE' can access this object (field).
반환: InventoryChannelPackageAdjustment!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
with | InventoryAdjustmentDeleteWith | — |
deleteInventoryChannelPackageAdjustments
@roleGuard(role: USER, access: DELETE): Only the user with the role of 'USER' and the access permission of 'DELETE' can access this object (field).
반환: [InventoryChannelPackageAdjustment!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
inventoryChannelPackageAdjustmentIds | [ULID!]! | ✓ |
with | InventoryAdjustmentDeleteWith | — |
deleteInventoryPackageAdjustment
@roleGuard(role: USER, access: DELETE): Only the user with the role of 'USER' and the access permission of 'DELETE' can access this object (field).
반환: InventoryPackageAdjustment!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
with | InventoryAdjustmentDeleteWith | — |
deleteInventoryPackageAdjustments
@roleGuard(role: USER, access: DELETE): Only the user with the role of 'USER' and the access permission of 'DELETE' can access this object (field).
반환: [InventoryPackageAdjustment!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
inventoryPackageAdjustmentIds | [ULID!]! | ✓ |
with | InventoryAdjustmentDeleteWith | — |
updateInventory
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: Inventory!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
baseQuantity | Int! | ✓ |
updateInventoryAdjustment
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: InventoryAdjustment!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
quantity | Int | — |
isClosed | Boolean | — |
checkInTime | String | — |
checkOutTime | String | — |
removeQuantity | Boolean | — |
removeIsClosed | Boolean | — |
removeCheckInTime | Boolean | — |
removeCheckOutTime | Boolean | — |
updateInventoryAdjustments
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: [InventoryAdjustment!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
inventoryAdjustmentIds | [ULID!]! | ✓ |
quantity | Int | — |
isClosed | Boolean | — |
checkInTime | String | — |
checkOutTime | String | — |
removeQuantity | Boolean | — |
removeIsClosed | Boolean | — |
removeCheckInTime | Boolean | — |
removeCheckOutTime | Boolean | — |
updateInventoryChannelPackageAdjustment
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: InventoryChannelPackageAdjustment!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
quantity | Int | — |
isClosed | Boolean | — |
checkInTime | String | — |
checkOutTime | String | — |
removeQuantity | Boolean | — |
removeIsClosed | Boolean | — |
removeCheckInTime | Boolean | — |
removeCheckOutTime | Boolean | — |
updateInventoryChannelPackageAdjustments
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: [InventoryChannelPackageAdjustment!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
inventoryChannelPackageAdjustmentIds | [ULID!]! | ✓ |
quantity | Int | — |
isClosed | Boolean | — |
checkInTime | String | — |
checkOutTime | String | — |
removeQuantity | Boolean | — |
removeIsClosed | Boolean | — |
removeCheckInTime | Boolean | — |
removeCheckOutTime | Boolean | — |
updateInventoryPackageAdjustment
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: InventoryPackageAdjustment!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
quantity | Int | — |
isClosed | Boolean | — |
checkInTime | String | — |
checkOutTime | String | — |
removeQuantity | Boolean | — |
removeIsClosed | Boolean | — |
removeCheckInTime | Boolean | — |
removeCheckOutTime | Boolean | — |
updateInventoryPackageAdjustments
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: [InventoryPackageAdjustment!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
inventoryPackageAdjustmentIds | [ULID!]! | ✓ |
quantity | Int | — |
isClosed | Boolean | — |
checkInTime | String | — |
checkOutTime | String | — |
removeQuantity | Boolean | — |
removeIsClosed | Boolean | — |
removeCheckInTime | Boolean | — |
removeCheckOutTime | Boolean | — |
알림 (7)
createNotification
@roleGuard(role: ADMIN, access: WRITE): Only the user with the role of 'ADMIN' and the access permission of 'WRITE' can access this object (field).
반환: Notification!
| 인자 | 타입 | 필수 |
|---|---|---|
key | String! | ✓ |
type | NotificationType! | ✓ |
url | String | — |
expiredAt | DateTime | — |
accommodationId | ULID | — |
alarmMessage | NotificationAlarmMessage | — |
createNotificationAlarm
@roleGuard(role: MANAGER, access: WRITE): Only the user with the role of 'MANAGER' and the access permission of 'WRITE' can access this object (field).
반환: NotificationAlarm!
| 인자 | 타입 | 필수 |
|---|---|---|
name | String! | ✓ |
contact | String! | ✓ |
language | Language | — |
accommodationId | ULID | — |
deleteNotification
@roleGuard(role: ADMIN, access: DELETE): Only the user with the role of 'ADMIN' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
deleteNotificationAlarm
@roleGuard(role: MANAGER, access: DELETE): Only the user with the role of 'MANAGER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
interactNotifications
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: [NotificationInteract!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
notificationIds | [ULID!]! | ✓ |
isRead | Boolean | — |
isVisited | Boolean | — |
isDeleted | Boolean | — |
isArchived | Boolean | — |
updateNotification
@roleGuard(role: ADMIN, access: UPDATE): Only the user with the role of 'ADMIN' and the access permission of 'UPDATE' can access this object (field).
반환: Notification!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
key | String | — |
url | String | — |
expiredAt | DateTime | — |
updateNotificationAlarm
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: NotificationAlarm!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
name | String | — |
contact | String | — |
language | Language | — |
패키지 관리 (14)
createPackage
@roleGuard(role: MANAGER, access: WRITE): Only the user with the role of 'MANAGER' and the access permission of 'WRITE' can access this object (field).
반환: Package!
| 인자 | 타입 | 필수 |
|---|---|---|
name | String! | ✓ |
roomTypeId | ULID! | ✓ |
timeTableId | ULID | — |
description | String | — |
isRefill | Boolean | — |
refillAmount | Int | — |
stayType | StayType | — |
baseQuantity | Int | — |
currency | Currency | — |
currencySymbol | String | — |
rateMultiplierMaps | [RateMultiplierMapInput!] | — |
inclusions | [PackageInclusionInput!] | — |
createPackageForIntegration
@roleGuard(role: MANAGER, access: WRITE): Only the user with the role of 'MANAGER' and the access permission of 'WRITE' can access this object (field).
반환: PackageForIntegration!
| 인자 | 타입 | 필수 |
|---|---|---|
name | String! | ✓ |
roomTypeId | ULID! | ✓ |
timeTableId | ULID | — |
description | String | — |
isRefill | Boolean | — |
refillAmount | Int | — |
stayType | StayType | — |
baseQuantity | Int | — |
currency | Currency | — |
currencySymbol | String | — |
rateMultiplierMaps | [RateMultiplierMapInput!] | — |
inclusions | [PackageInclusionInput!] | — |
createPackageTimeTable
@roleGuard(role: MANAGER, access: WRITE): Only the user with the role of 'MANAGER' and the access permission of 'WRITE' can access this object (field).
반환: PackageTimeTable!
| 인자 | 타입 | 필수 |
|---|---|---|
name | String! | ✓ |
monCheckInTime | LocalTime! | ✓ |
monCheckOutTime | LocalTime! | ✓ |
tueCheckInTime | LocalTime! | ✓ |
tueCheckOutTime | LocalTime! | ✓ |
wedCheckInTime | LocalTime! | ✓ |
wedCheckOutTime | LocalTime! | ✓ |
thuCheckInTime | LocalTime! | ✓ |
thuCheckOutTime | LocalTime! | ✓ |
friCheckInTime | LocalTime! | ✓ |
friCheckOutTime | LocalTime! | ✓ |
satCheckInTime | LocalTime! | ✓ |
satCheckOutTime | LocalTime! | ✓ |
sunCheckInTime | LocalTime! | ✓ |
sunCheckOutTime | LocalTime! | ✓ |
accommodationId | ULID | — |
createPackageTimeTableForIntegration
@roleGuard(role: MANAGER, access: WRITE): Only the user with the role of 'MANAGER' and the access permission of 'WRITE' can access this object (field).
반환: PackageTimeTable!
| 인자 | 타입 | 필수 |
|---|---|---|
name | String! | ✓ |
monCheckInTime | LocalTime! | ✓ |
monCheckOutTime | LocalTime! | ✓ |
tueCheckInTime | LocalTime! | ✓ |
tueCheckOutTime | LocalTime! | ✓ |
wedCheckInTime | LocalTime! | ✓ |
wedCheckOutTime | LocalTime! | ✓ |
thuCheckInTime | LocalTime! | ✓ |
thuCheckOutTime | LocalTime! | ✓ |
friCheckInTime | LocalTime! | ✓ |
friCheckOutTime | LocalTime! | ✓ |
satCheckInTime | LocalTime! | ✓ |
satCheckOutTime | LocalTime! | ✓ |
sunCheckInTime | LocalTime! | ✓ |
sunCheckOutTime | LocalTime! | ✓ |
accommodationId | ULID | — |
deletePackage
@roleGuard(role: MANAGER, access: DELETE): Only the user with the role of 'MANAGER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
deletePackageForIntegration
@roleGuard(role: MANAGER, access: DELETE): Only the user with the role of 'MANAGER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
deletePackageTimeTable
@roleGuard(role: MANAGER, access: DELETE): Only the user with the role of 'MANAGER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
deletePackageTimeTableForIntegration
@roleGuard(role: MANAGER, access: DELETE): Only the user with the role of 'MANAGER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
updatePackage
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: Package!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
name | String | — |
description | String | — |
isRefill | Boolean | — |
refillAmount | Int | — |
baseQuantity | Int | — |
removeBaseQuantity | Boolean | — |
rateMultiplierMaps | [RateMultiplierMapInput!] | — |
inclusions | [PackageInclusionInput!] | — |
timeTableId | ULID | — |
removeTimeTable | Boolean | — |
updatePackageForIntegration
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: PackageForIntegration!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
name | String | — |
description | String | — |
isRefill | Boolean | — |
refillAmount | Int | — |
baseQuantity | Int | — |
removeBaseQuantity | Boolean | — |
rateMultiplierMaps | [RateMultiplierMapInput!] | — |
inclusions | [PackageInclusionInput!] | — |
timeTableId | ULID | — |
removeTimeTable | Boolean | — |
updatePackageOrders
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: [Package!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
packageIds | [ULID!]! | ✓ |
updatePackageTimeTable
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: PackageTimeTable!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
name | String | — |
monCheckInTime | LocalTime | — |
monCheckOutTime | LocalTime | — |
tueCheckInTime | LocalTime | — |
tueCheckOutTime | LocalTime | — |
wedCheckInTime | LocalTime | — |
wedCheckOutTime | LocalTime | — |
thuCheckInTime | LocalTime | — |
thuCheckOutTime | LocalTime | — |
friCheckInTime | LocalTime | — |
friCheckOutTime | LocalTime | — |
satCheckInTime | LocalTime | — |
satCheckOutTime | LocalTime | — |
sunCheckInTime | LocalTime | — |
sunCheckOutTime | LocalTime | — |
updatePackageTimeTableForIntegration
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: PackageTimeTable!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
name | String | — |
monCheckInTime | LocalTime | — |
monCheckOutTime | LocalTime | — |
tueCheckInTime | LocalTime | — |
tueCheckOutTime | LocalTime | — |
wedCheckInTime | LocalTime | — |
wedCheckOutTime | LocalTime | — |
thuCheckInTime | LocalTime | — |
thuCheckOutTime | LocalTime | — |
friCheckInTime | LocalTime | — |
friCheckOutTime | LocalTime | — |
satCheckInTime | LocalTime | — |
satCheckOutTime | LocalTime | — |
sunCheckInTime | LocalTime | — |
sunCheckOutTime | LocalTime | — |
updatePackageTimeTableOrders
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: [PackageTimeTable!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
packageTimeTableIds | [ULID!]! | ✓ |
기간 설정 (4)
createPeriod
@roleGuard(role: MANAGER, access: WRITE): Only the user with the role of 'MANAGER' and the access permission of 'WRITE' can access this object (field).
반환: Period!
| 인자 | 타입 | 필수 |
|---|---|---|
name | String! | ✓ |
description | String | — |
daysOfWeek | DaysOfWeekInput! | ✓ |
daysOfMonth | [DayOfMonth!]! | ✓ |
monthsOfYear | MonthsOfYearInput! | ✓ |
startDate | DateTime | — |
endDate | DateTime | — |
accommodationId | ULID | — |
rateMultipliers | [PeriodRateMultiplierMapInput!] | — |
deletePeriod
@roleGuard(role: MANAGER, access: DELETE): Only the user with the role of 'MANAGER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
updatePeriod
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: Period!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
name | String | — |
description | String | — |
daysOfWeek | DaysOfWeekInput | — |
daysOfMonth | [DayOfMonth!] | — |
monthsOfYear | MonthsOfYearInput | — |
startDate | DateTime | — |
endDate | DateTime | — |
removeStartDate | Boolean | — |
removeEndDate | Boolean | — |
rateMultipliers | [PeriodRateMultiplierMapInput!] | — |
updatePeriodOrders
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: [Period!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
periodIds | [ULID!]! | ✓ |
정책 관리 (3)
createPolicy
@roleGuard(role: ADMIN, access: WRITE): Only the user with the role of 'ADMIN' and the access permission of 'WRITE' can access this object (field).
반환: Policy!
| 인자 | 타입 | 필수 |
|---|---|---|
aggregate | String! | ✓ |
accommodationId | ULID | — |
deletePolicy
@roleGuard(role: ADMIN, access: DELETE): Only the user with the role of 'ADMIN' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
updatePolicy
@roleGuard(role: ADMIN, access: UPDATE): Only the user with the role of 'ADMIN' and the access permission of 'UPDATE' can access this object (field).
반환: Policy!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
aggregate | String! | ✓ |
요금 관리 (27)
copyRateChannelPackageAdjustment
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: [ULID!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
to | [DateAndChannelPackageIdInput!]! | ✓ |
type | RateAdjustmentCopyType! | ✓ |
copyRatePackageAdjustment
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: [ULID!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
to | [DateAndPackageIdInput!]! | ✓ |
type | RateAdjustmentCopyType! | ✓ |
createRate
@roleGuard(role: MANAGER, access: WRITE): Only the user with the role of 'MANAGER' and the access permission of 'WRITE' can access this object (field).
반환: Rate!
| 인자 | 타입 | 필수 |
|---|---|---|
name | String! | ✓ |
description | String | — |
charge | Float! | ✓ |
currency | Currency | — |
isStatic | Boolean | — |
accommodationId | ULID | — |
inclusions | [RateInclusionInput!] | — |
createRateChannelPackageAdjustment
@roleGuard(role: USER, access: WRITE): Only the user with the role of 'USER' and the access permission of 'WRITE' can access this object (field).
반환: RateChannelPackageAdjustment!
| 인자 | 타입 | 필수 |
|---|---|---|
date | LocalDate! | ✓ |
fixedCharge | Float | — |
channelPackageId | ULID! | ✓ |
rateMultiplier | RateMultiplierInput! | ✓ |
createRatePackageAdjustment
@roleGuard(role: USER, access: WRITE): Only the user with the role of 'USER' and the access permission of 'WRITE' can access this object (field).
반환: RatePackageAdjustment!
| 인자 | 타입 | 필수 |
|---|---|---|
date | LocalDate! | ✓ |
fixedCharge | Float | — |
packageId | ULID! | ✓ |
rateMultiplier | RateMultiplierInput! | ✓ |
createRatePeriod
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: RatePeriod!
| 인자 | 타입 | 필수 |
|---|---|---|
ratePlanId | ULID! | ✓ |
rateId | ULID! | ✓ |
periodId | ULID! | ✓ |
rateMultiplier | RateMultiplierInput! | ✓ |
createRatePlan
@roleGuard(role: MANAGER, access: WRITE): Only the user with the role of 'MANAGER' and the access permission of 'WRITE' can access this object (field).
반환: RatePlan!
| 인자 | 타입 | 필수 |
|---|---|---|
baseRateId | ULID! | ✓ |
baseRateMultiplier | RateMultiplierInput! | ✓ |
packageId | ULID! | ✓ |
description | String | — |
isOccupancyBased | Boolean | — |
baseOccupancy | Int | — |
maxOccupancy | Int | — |
extraAdultCharge | Float | — |
maxCharge | Float | — |
minCharge | Float | — |
deleteRate
@roleGuard(role: MANAGER, access: DELETE): Only the user with the role of 'MANAGER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
deleteRateChannelPackageAdjustment
@roleGuard(role: USER, access: DELETE): Only the user with the role of 'USER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
deleteRateChannelPackageAdjustments
@roleGuard(role: USER, access: DELETE): Only the user with the role of 'USER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
rateChannelPackageAdjustmentIds | [ULID!]! | ✓ |
deleteRatePackageAdjustment
@roleGuard(role: USER, access: DELETE): Only the user with the role of 'USER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
deleteRatePackageAdjustments
@roleGuard(role: USER, access: DELETE): Only the user with the role of 'USER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
ratePackageAdjustmentIds | [ULID!]! | ✓ |
deleteRatePeriod
@roleGuard(role: MANAGER, access: DELETE): Only the user with the role of 'MANAGER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
deleteRatePlan
@roleGuard(role: MANAGER, access: DELETE): Only the user with the role of 'MANAGER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
fixRateChannelPackageAdjustments
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: [ULID!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
rateChannelPackageAdjustmentIds | [ULID!]! | ✓ |
fixRatePackageAdjustments
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: [ULID!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
ratePackageAdjustmentIds | [ULID!]! | ✓ |
unfixRateChannelPackageAdjustments
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: [ULID!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
rateChannelPackageAdjustmentIds | [ULID!]! | ✓ |
unfixRatePackageAdjustments
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: [ULID!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
ratePackageAdjustmentIds | [ULID!]! | ✓ |
updateRate
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: Rate!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
name | String | — |
description | String | — |
charge | Float | — |
isStatic | Boolean | — |
inclusions | [RateInclusionInput!] | — |
updateRateChannelPackageAdjustment
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: RateChannelPackageAdjustment!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
fixedCharge | Float | — |
rateMultiplier | RateMultiplierInput | — |
removeFixedCharge | Boolean | — |
updateRateChannelPackageAdjustments
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: [RateChannelPackageAdjustment!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
rateChannelPackageAdjustmentIds | [ULID!]! | ✓ |
fixedCharge | Float | — |
rateMultiplier | RateMultiplierInput | — |
removeFixedCharge | Boolean | — |
updateRateOrders
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: [Rate!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
rateIds | [ULID!]! | ✓ |
updateRatePackageAdjustment
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: RatePackageAdjustment!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
fixedCharge | Float | — |
rateMultiplier | RateMultiplierInput | — |
removeFixedCharge | Boolean | — |
updateRatePackageAdjustments
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: [RatePackageAdjustment!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
ratePackageAdjustmentIds | [ULID!]! | ✓ |
fixedCharge | Float | — |
rateMultiplier | RateMultiplierInput | — |
removeFixedCharge | Boolean | — |
updateRatePeriod
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: RatePeriod!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
rateId | ULID | — |
periodId | ULID | — |
rateMultiplier | RateMultiplierInput | — |
updateRatePeriodOrders
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: [RatePeriod!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
ratePeriodIds | [ULID!]! | ✓ |
updateRatePlan
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: RatePlan!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
baseRateId | ULID | — |
baseRateMultiplier | RateMultiplierInput | — |
packageId | ULID | — |
description | String | — |
isOccupancyBased | Boolean | — |
baseOccupancy | Int | — |
maxOccupancy | Int | — |
extraAdultCharge | Float | — |
maxCharge | Float | — |
minCharge | Float | — |
removeMaxCharge | Boolean | — |
removeMinCharge | Boolean | — |
역할 및 권한 (8)
assignAccommodationToRole
@roleGuard(role: ROOT, access: UPDATE): Only the user with the role of 'ROOT' and the access permission of 'UPDATE' can access this object (field).
반환: Role!
| 인자 | 타입 | 필수 |
|---|---|---|
roleId | ULID! | ✓ |
accommodationId | ULID! | ✓ |
assignPolicyToRole
@roleGuard(role: ADMIN, access: UPDATE): Only the user with the role of 'ADMIN' and the access permission of 'UPDATE' can access this object (field).
반환: Role!
| 인자 | 타입 | 필수 |
|---|---|---|
roleId | ULID! | ✓ |
policyId | ULID! | ✓ |
permission | Int! | ✓ |
createRole
@roleGuard(role: MANAGER, access: WRITE): Only the user with the role of 'MANAGER' and the access permission of 'WRITE' can access this object (field).
반환: Role!
| 인자 | 타입 | 필수 |
|---|---|---|
type | RoleTypes! | ✓ |
permission | Int | — |
accommodationId | ULID | — |
deleteRole
@roleGuard(role: MANAGER, access: DELETE): Only the user with the role of 'MANAGER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
unassignAccommodationFromRole
@roleGuard(role: ROOT, access: UPDATE): Only the user with the role of 'ROOT' and the access permission of 'UPDATE' can access this object (field).
반환: Role!
| 인자 | 타입 | 필수 |
|---|---|---|
roleId | ULID! | ✓ |
unassignPolicyFromRole
@roleGuard(role: ADMIN, access: UPDATE): Only the user with the role of 'ADMIN' and the access permission of 'UPDATE' can access this object (field).
반환: Role!
| 인자 | 타입 | 필수 |
|---|---|---|
roleId | ULID! | ✓ |
policyId | ULID! | ✓ |
updateRole
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: Role!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
type | RoleTypes | — |
permission | Int | — |
accommodationId | ULID | — |
updateRolePolicyPermission
@roleGuard(role: ADMIN, access: UPDATE): Only the user with the role of 'ADMIN' and the access permission of 'UPDATE' can access this object (field).
반환: Role!
| 인자 | 타입 | 필수 |
|---|---|---|
roleId | ULID! | ✓ |
policyId | ULID! | ✓ |
permission | Int! | ✓ |
객실 관리 (9)
createRoom
@roleGuard(role: ADMIN, access: WRITE): Only the user with the role of 'ADMIN' and the access permission of 'WRITE' can access this object (field).
반환: [Room!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
roomTypeId | ULID! | ✓ |
name | String | — |
count | Int | — |
createRoomType
@roleGuard(role: ADMIN, access: WRITE): Only the user with the role of 'ADMIN' and the access permission of 'WRITE' can access this object (field).
반환: RoomType!
| 인자 | 타입 | 필수 |
|---|---|---|
name | String! | ✓ |
isManaged | Boolean | — |
baseOccupancy | Int | — |
maxOccupancy | Int | — |
maxAdults | Int | — |
maxChildren | Int | — |
maxInfants | Int | — |
accommodationId | ULID | — |
createRoomTypeForIntegration
@roleGuard(role: ADMIN, access: WRITE): Only the user with the role of 'ADMIN' and the access permission of 'WRITE' can access this object (field).
반환: RoomTypeForIntegration!
| 인자 | 타입 | 필수 |
|---|---|---|
name | String! | ✓ |
isManaged | Boolean | — |
baseOccupancy | Int | — |
maxOccupancy | Int | — |
maxAdults | Int | — |
maxChildren | Int | — |
maxInfants | Int | — |
accommodationId | ULID | — |
deleteRoom
@roleGuard(role: ADMIN, access: DELETE): Only the user with the role of 'ADMIN' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
deleteRoomType
@roleGuard(role: ADMIN, access: DELETE): Only the user with the role of 'ADMIN' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
updateRoom
@roleGuard(role: ADMIN, access: UPDATE): Only the user with the role of 'ADMIN' and the access permission of 'UPDATE' can access this object (field).
반환: Room!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
name | String | — |
isAvailable | Boolean | — |
removeName | Boolean | — |
updateRoomOrders
@roleGuard(role: ADMIN, access: UPDATE): Only the user with the role of 'ADMIN' and the access permission of 'UPDATE' can access this object (field).
반환: [Room!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
roomIds | [ULID!]! | ✓ |
updateRoomType
@roleGuard(role: ADMIN, access: UPDATE): Only the user with the role of 'ADMIN' and the access permission of 'UPDATE' can access this object (field).
반환: RoomType!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
name | String | — |
isManaged | Boolean | — |
baseOccupancy | Int | — |
maxOccupancy | Int | — |
maxAdults | Int | — |
maxChildren | Int | — |
maxInfants | Int | — |
updateRoomTypeOrders
@roleGuard(role: ADMIN, access: UPDATE): Only the user with the role of 'ADMIN' and the access permission of 'UPDATE' can access this object (field).
반환: [RoomType!]!목록
| 인자 | 타입 | 필수 |
|---|---|---|
roomTypeIds | [ULID!]! | ✓ |
위성 숙소 (3)
requestGetPackagesToSatellite
@roleGuard(role: MANAGER, access: WRITE): Only the user with the role of 'MANAGER' and the access permission of 'WRITE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
channelPropertyId | ULID! | ✓ |
requestGetPropertiesToSatellite
@roleGuard(role: MANAGER, access: WRITE): Only the user with the role of 'MANAGER' and the access permission of 'WRITE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
channelAccountId | ULID! | ✓ |
requestSetInventoriesToSatellite
@roleGuard(role: ROOT, access: WRITE): Only the user with the role of 'ROOT' and the access permission of 'WRITE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
channelPropertyId | ULID! | ✓ |
startDate | String! | ✓ |
endDate | String! | ✓ |
부가 서비스 (6)
createServiceItemFigure
@roleGuard(role: ROOT, access: WRITE): Only the user with the role of 'ROOT' and the access permission of 'WRITE' can access this object (field).
반환: ServiceItemFigure!
| 인자 | 타입 | 필수 |
|---|---|---|
type | ServiceItemType! | ✓ |
restriction | ServiceItemRestriction! | ✓ |
yearlyDiscountRate | Float! | ✓ |
chargeKRW | Int! | ✓ |
chargeUSD | Float! | ✓ |
minQuantity | Int | — |
maxQuantity | Int | — |
minChargeRate | Float | — |
minChargeBaseQuantity | Int | — |
deleteServiceItemFigure
@roleGuard(role: ROOT, access: DELETE): Only the user with the role of 'ROOT' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
flushServiceCacheAll
@roleGuard(role: ROOT, access: DELETE): Only the user with the role of 'ROOT' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
invalidateServiceCacheById
@roleGuard(role: ROOT, access: DELETE): Only the user with the role of 'ROOT' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
invalidateServiceGlobalCache
@roleGuard(role: ROOT, access: DELETE): Only the user with the role of 'ROOT' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
updateServiceItemFigure
@roleGuard(role: ROOT, access: UPDATE): Only the user with the role of 'ROOT' and the access permission of 'UPDATE' can access this object (field).
반환: ServiceItemFigure!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
restriction | ServiceItemRestriction | — |
yearlyDiscountRate | Float | — |
chargeKRW | Int | — |
chargeUSD | Float | — |
minQuantity | Int | — |
maxQuantity | Int | — |
minChargeRate | Float | — |
minChargeBaseQuantity | Int | — |
태그 관리 (5)
assignTagToInclusion
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
inclusionId | ULID! | ✓ |
tagId | ULID! | ✓ |
createTag
@roleGuard(role: MANAGER, access: WRITE): Only the user with the role of 'MANAGER' and the access permission of 'WRITE' can access this object (field).
반환: Tag!
| 인자 | 타입 | 필수 |
|---|---|---|
name | String! | ✓ |
color | String! | ✓ |
accommodationId | ULID | — |
deleteTag
@roleGuard(role: MANAGER, access: DELETE): Only the user with the role of 'MANAGER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
unassignTagFromInclusion
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
inclusionId | ULID! | ✓ |
tagId | ULID! | ✓ |
updateTag
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: Tag!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
name | String | — |
color | String | — |
사용자 관리 (17)
activateUser
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: User!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
assignRoleToUser
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: User!
| 인자 | 타입 | 필수 |
|---|---|---|
userId | ULID! | ✓ |
roleId | ULID! | ✓ |
confirmInvitation
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: UserRole!
| 인자 | 타입 | 필수 |
|---|---|---|
userId | ULID! | ✓ |
roleId | ULID! | ✓ |
createUser
반환: User!
| 인자 | 타입 | 필수 |
|---|---|---|
email | String | — |
phone | String | — |
name | String | — |
password | String | — |
type | RoleTypes | — |
language | Language | — |
deactivateUser
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: User!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
deleteUser
@roleGuard(role: USER, access: DELETE): Only the user with the role of 'USER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
inviteUser
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
identity | String! | ✓ |
type | IdentityTypes! | ✓ |
roleId | ULID! | ✓ |
language | Language | — |
issueTokens
반환: TokenSet!
| 인자 | 타입 | 필수 |
|---|---|---|
identity | String! | ✓ |
type | IdentityTypes! | ✓ |
password | String! | ✓ |
accommodationId | ULID | — |
issueTokensByGoogleOAuth
반환: TokenSet!
| 인자 | 타입 | 필수 |
|---|---|---|
clientId | String! | ✓ |
code | String! | ✓ |
redirectUri | String! | ✓ |
issueTokensByTotp
반환: TokenSet!
| 인자 | 타입 | 필수 |
|---|---|---|
userId | ULID! | ✓ |
type | IdentityTypes! | ✓ |
code | String! | ✓ |
issueTokensForIntegration
반환: TokenSetForIntegration!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
secret | String! | ✓ |
accommodationId | ULID! | ✓ |
code | String! | ✓ |
refreshTokens
반환: TokenSet!
| 인자 | 타입 | 필수 |
|---|---|---|
refreshToken | JWT! | ✓ |
accommodationId | ULID | — |
refreshTokensForIntegration
반환: TokenSetForIntegration!
| 인자 | 타입 | 필수 |
|---|---|---|
refreshToken | JWT! | ✓ |
requestTotp
반환: RequestTotpResult!
| 인자 | 타입 | 필수 |
|---|---|---|
identity | String! | ✓ |
type | IdentityTypes! | ✓ |
revokeUserSession
@roleGuard(role: USER, access: DELETE): Only the user with the role of 'USER' and the access permission of 'DELETE' can access this object (field).
반환: Boolean!
| 인자 | 타입 | 필수 |
|---|---|---|
userId | ULID! | ✓ |
unassignRoleFromUser
@roleGuard(role: MANAGER, access: UPDATE): Only the user with the role of 'MANAGER' and the access permission of 'UPDATE' can access this object (field).
반환: User!
| 인자 | 타입 | 필수 |
|---|---|---|
userId | ULID! | ✓ |
roleId | ULID! | ✓ |
updateUser
@roleGuard(role: USER, access: UPDATE): Only the user with the role of 'USER' and the access permission of 'UPDATE' can access this object (field).
반환: User!
| 인자 | 타입 | 필수 |
|---|---|---|
id | ULID! | ✓ |
email | String | — |
phone | String | — |
name | String | — |
password | String | — |
language | Language | — |