class Vecos::API::Lockers

Defined in:

vecos/api/lockers.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(session : Session) #

[View source]

Instance Method Detail

def allocate(locker_bank_id : String, locker_group_id : String, external_user_id : String) #

[View source]
def allocate(locker_id : String, external_user_id : String) #

[View source]
def allocate_dynamically(locker_id : String, external_user_id : String) #

[View source]
def allocated(external_user_id : String, page_number : Int32 = 1, page_size : Int32 = 10) : Models::Responses::LockerCollectionResponse #

[View source]
def attach_pincode(locker_id : String, code : String) #

[View source]
def block(locker_id : String) #

[View source]
def canallocate?(locker_id : String, external_user_id : String) #

[View source]
def canallocate?(external_user_id : String) #

[View source]
def delete_pincode(locker_id : String) #

[View source]
def release(locker_id : String, external_user_id : String, ignore_self_release_allowed : Bool) #

[View source]
def share_by_path(locker_id : String, external_user_id : String, shared_user_id : String) : Models::Responses::NoResponse #

[View source]
def share_by_query(locker_id : String, external_user_id : String, shared_user_id : String) #

[View source]
def shareable_locker_users(locker_id : String, external_user_id : String, search_string : String) #

[View source]
def shared_locker_users(locker_id : String, external_user_id : String) #

[View source]
def unblock(locker_id : String) #

[View source]
def unlock(locker_id : String, external_user_id : String, open_time : Int8) #

[View source]
def unlock_pincode(locker_id : String) #

[View source]
def unlock_without_pincode(locker_id : String) #

[View source]
def unshare(locker_id : String, external_user_id : String) #

[View source]
def unshare_by_path(locker_id : String, external_user_id : String, shared_user_id : String) #

[View source]