Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InvitatationsClient

Client to call mutation for invitations

Hierarchy

  • InvitatationsClient

Index

Properties

Methods

Properties

Private client

Methods

send

  • Send an invitatoin.

    client.invitatoins.send(['id'], {
      data: {
        contactFullName: 'joe',
        contactType: ContactType.Email,
        contactInfo: 'example@gmail.com',
        organizationMemberRoleId: 'xxxxxxxxxxxxxxxxxx',
        roomId: 'xxxxxxxxxxxxxxxxxx',
        locale: Enum.Locale.En
      }
    }).then(v => {
      console.log(v)
    })

    If you don't want to send a notificatoin message from classdo, you can use withoutNotificattion flag.

     client.invitatoins.send(['id'], {
      data: {
        contactFullName: 'joe',
        contactType: ContactType.Email,
        contactInfo: 'example@gmail.com',
        organizationMemberRoleId: 'xxxxxxxxxxxxxxxxxx',
        roomId: 'xxxxxxxxxxxxxxxxxx',
        locale: Enum.Locale.En,
        withoutNotification: true
      }
    }).then(v => {
      console.log(v)
    })

    Type parameters

    Parameters

    Returns Promise<Result<InvitationResult<I, R, R_O, R_RM, R_RM_U, R_RM_U_UP, R_RM_U_UP_E, O>>>

Generated using TypeDoc