Command Reference

Elarian - javascript | java | python

  1. connect()
  2. disconnect()
  3. on(event: String, handler: NotificationHandler)
  4. generateAuthToken(): Future
  5. addCustomerReminderByTag(tag: Tag, reminder: Reminder): Future
  6. cancelCustomerReminderByTag(tag: Tag, key: String): Future
  7. sendMessageByTag(tag: Tag, channel: MessagingChannel, message: Message): Future
  8. initiatePayment(debitParty: PaymentCounterParty, creditParty: PaymentCounterParty, value: Cash): Future

Customer - javascript | java | python

  1. getState(): Future
  2. adoptState(customer: Customer): Future
  3. sendMessage(channel: MessagingChannel, message: Message): Future
  4. replyToMessage(messageId: String, message: Message): Future
  5. updateActivity(source: String, activity: Activity): Future
  6. updateMessagingConsent(channel: MessagingChannel, action: ConsentAction): Future
  7. leaseAppData(): Future<Map<String, Any>>
  8. updateAppData(data: Map<String, Any>): Future
  9. deleteAppData(): Future
  10. getMetadata(): Future<Map<String, Any>>
  11. updateMetadata(data: Map<String, Any>): Future
  12. deleteMetadata(keys: String[]): Future
  13. updateSeconndaryIds(ids: SecondaryId[]): Future
  14. deleteSecondaryIds(ids: SecondaryId[]): Future
  15. getTags(): Future<Tag[]>
  16. updateTags(tags: Tag[]): Future
  17. deleteTags(keys: String[]): Future
  18. addReminder(reminder: Reminder): Future
  19. cancelReminder(key: String): Future