1.0.4 • Published 5 years ago

@edropin/events-svc v1.0.4

Weekly downloads
1
License
UNLICENSED
Repository
-
Last release
5 years ago

e_dropin_events

EDropinEvents - JavaScript client for e_dropin_events Events service for eDropin This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install e_dropin_events --save
Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing package.json (and this README). Let's call this JAVASCRIPT_CLIENT_DIR. Then run:

npm install

Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:

npm link

Finally, switch to the directory you want to use your e_dropin_events from, and run:

npm link /path/to/<JAVASCRIPT_CLIENT_DIR>

You should now be able to require('e_dropin_events') in javascript files from the directory you ran the last command above from.

git

If the library is hosted at a git repository, e.g. https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file, that's to say your javascript file where you actually use this library):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var EDropinEvents = require('e_dropin_events');

var defaultClient = EDropinEvents.ApiClient.instance;

// Configure API key authorization: Authorization
var Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix['Authorization'] = "Token"

// Configure API key authorization: ClientKey
var ClientKey = defaultClient.authentications['ClientKey'];
ClientKey.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ClientKey.apiKeyPrefix['X-Client-Key'] = "Token"

var api = new EDropinEvents.EeEventAttendeesApi()

var eventId = "eventId_example"; // {String} Event Id

var ticketId = "ticketId_example"; // {String} 

var attendeeProps = new EDropinEvents.EeEventAttendeeUpdate(); // {EeEventAttendeeUpdate} Attendee object to be created


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createAttendee(eventIdticketId, attendeeProps, callback);

Documentation for API Endpoints

All URIs are relative to https://events-dot-edropin-amalgam.appspot.com

ClassMethodHTTP requestDescription
EDropinEvents.EeEventAttendeesApicreateAttendeePOST /events/{eventId}/attendeesAdd an Attendee to an event
EDropinEvents.EeEventAttendeesApicreateEmailLookupPOST /attendees/email-lookupCreate and send a secret code to an email with all tickets linked to this email. This endpoint requires captcha verification to make sure only humans can make this request.
EDropinEvents.EeEventAttendeesApideleteAttendeeDELETE /attendees/{attendeeId}Delete an Event Attendee
EDropinEvents.EeEventAttendeesApiexportAttendeesGET /events/{eventId}/attendees/exportExport event attendee data
EDropinEvents.EeEventAttendeesApilistAttendeesGET /events/{eventId}/attendeesList all event attendees
EDropinEvents.EeEventAttendeesApilistEmailLookupAttendeesGET /attendees/email-lookup/{code}Search tickets that are associated with the lookup email provided in the encrypted code. This code is generated by making a POST request to /attendees/email-lookup
EDropinEvents.EeEventAttendeesApilistUserAttendeesGET /attendeesSearch user attendees
EDropinEvents.EeEventAttendeesApiretrieveAttendeeGET /attendees/{attendeeId}Retrieve an attendee
EDropinEvents.EeEventAttendeesApiretrieveAttendeesByCodeGET /attendees/code/{code}List all attendees linked to the code
EDropinEvents.EeEventAttendeesApisendAttendeeLinkPOST /attendees/{attendeeId}/linkSend attendee link
EDropinEvents.EeEventAttendeesApitransferAttendeesPOST /attendees/transferTransfer attendees from one ticket to another ticket (can also be two tickets from two separate events)
EDropinEvents.EeEventAttendeesApiupdateAccountTicketsPOST /attendees/account-importImport tickets into an account after they are created. This action is authorized by providing a list of attendee ids and an encrypted authorization code for the tickets
EDropinEvents.EeEventAttendeesApiupdateAttendeePUT /attendees/{attendeeId}Update an attendee
EDropinEvents.EeEventCertificatesApicreateAttendeeCertificatePUT /certificates/{certificateId}/attendeesCreate certificate for attendees
EDropinEvents.EeEventCertificatesApicreateCertificatePOST /events/{eventId}/certificatesCreate a certificate for an event
EDropinEvents.EeEventCertificatesApideleteAttendeeCertificateDELETE /certificates/{certificateId}/attendeesDelete certificate from attendees
EDropinEvents.EeEventCertificatesApideleteCertificateDELETE /certificates/{certificateId}Delete an existing certificate
EDropinEvents.EeEventCertificatesApidownloadCertificatePOST /certificates/download/{certificateCode}Download a certificate [certificateCode is eeEventAttendee.certificates[].code]
EDropinEvents.EeEventCertificatesApiinspectTemplateGET /certificates/inspectTemplateInspect a template for all the placeholders
EDropinEvents.EeEventCertificatesApilistCertificateTemplatesGET /certificate-templatesList all certificate templates
EDropinEvents.EeEventCertificatesApilistCertificatesGET /events/{eventId}/certificatesList all event certificates
EDropinEvents.EeEventCertificatesApilistCertificatesByProfileGET /profiles/{profileId}/certificatesList all profile certificates
EDropinEvents.EeEventCertificatesApipreviewCertificatePOST /certificates/{certificateId}/previewPreview a certificate
EDropinEvents.EeEventCertificatesApiretrieveCertificateGET /certificates/{certificateId}Retrieve a certificate
EDropinEvents.EeEventCertificatesApiretrieveUserCertificateGET /certificates/{certificateId}/attendees/{attendeeId}Retrieve a user certificate
EDropinEvents.EeEventCertificatesApiupdateCertificatePUT /certificates/{certificateId}Update certificate to event
EDropinEvents.EeEventCertificatesApiupdateUserCertificatePUT /certificates/{certificateId}/attendees/{attendeeId}Update user certificate to event
EDropinEvents.EeEventCertificatesApiupsertAssignmentRulePOST /certificates/{certificateId}/rulesUpdate certificate assignment rules
EDropinEvents.EeEventCreditsApicreateCreditPOST /events/{eventId}/creditsCreate a credit for an event
EDropinEvents.EeEventCreditsApideleteCreditDELETE /credits/{creditId}Delete an existing credit
EDropinEvents.EeEventCreditsApilistCreditsByEventGET /events/{eventId}/creditsList all event credits
EDropinEvents.EeEventCreditsApiretrieveCreditGET /credits/{creditId}Retrieve a credit
EDropinEvents.EeEventCreditsApiupdateCreditPUT /credits/{creditId}Update credit to event
EDropinEvents.EeEventDropinsApicreateAttendeeDropinPUT /dropins/{dropinId}/attendeesAssign dropins to attendees
EDropinEvents.EeEventDropinsApicreateDropinPOST /events/{eventId}/dropinsCreate a dropin to an event
EDropinEvents.EeEventDropinsApideleteAttendeeDropinDELETE /dropins/{dropinId}/attendeesRemove dropins from attendees
EDropinEvents.EeEventDropinsApideleteDropinDELETE /dropins/{dropinId}Delete an existing dropin
EDropinEvents.EeEventDropinsApilistDropinsGET /events/{eventId}/dropinsList all event dropins
EDropinEvents.EeEventDropinsApiretrieveDropinGET /dropins/{dropinId}Retrieve a dropin
EDropinEvents.EeEventDropinsApiupdateDropinPUT /dropins/{dropinId}Update dropin to event
EDropinEvents.EeEventsApicreateEventPOST /eventsCreate Event
EDropinEvents.EeEventsApideleteEventDELETE /events/{eventId}Delete an existing Event
EDropinEvents.EeEventsApigetAllEventsGET /eventsGet Events
EDropinEvents.EeEventsApigetEventGET /events/{eventId}Get a Event from the directory
EDropinEvents.EeEventsApigetMultipleEventsGET /events/get-multiGet Multiple Events
EDropinEvents.EeEventsApiremoveTicketDELETE /events/{eventId}/tickets/{ticketId}Remove ticket from event
EDropinEvents.EeEventsApisearchEvent2GET /events/search/2Search Events
EDropinEvents.EeEventsApisearchEventFacetsGET /events/facets/{facetName}Search for event facets
EDropinEvents.EeEventsApiupdateEventPUT /events/{eventId}Update an existing Event
EDropinEvents.EeEventsApiupsertTicketPOST /events/{eventId}/tickets/{ticketId}Add Ticket to event
EDropinEvents.EeKioskApiactivateKioskPOST /kiosksActivate a kiosk
EDropinEvents.EeKioskApideactivateKioskDELETE /kiosksDeactivate kiosk
EDropinEvents.EeKioskApigetKioskGET /kiosks/{kioskId}Get a kiosk
EDropinEvents.EeKioskApilinkKioskPUT /kiosks/{kioskId}Link a kiosk to my account
EDropinEvents.EeKioskApilistAllKiosksGET /kiosksList all user's kiosks
EDropinEvents.EeKioskApiunlinkKioskDELETE /kiosks/{kioskId}/unlinkUnlink a kiosk
EDropinEvents.EeMessagesApicreateMessagePOST /events/{eventId}/messagesCreate message for event attendees
EDropinEvents.EeMessagesApilistMessagesGET /events/{eventId}/messagesList messages for event attendees
EDropinEvents.EeMessagesApiremoveMessageDELETE /messages/{messageId}Delete message for event attendees
EDropinEvents.EeMessagesApiretrieveMessageGET /messages/{messageId}List messages for event attendees
EDropinEvents.EeMessagesApiupdateMessagePUT /messages/{messageId}Update message for event attendees
EDropinEvents.EePACEApideleteProviderDELETE /pace-providers/{profileId}Delete a provider
EDropinEvents.EePACEApilistProvidersGET /pace-providersPaginate all PACE providers
EDropinEvents.EePACEApiretrieveProviderGET /pace-providers/{profileId}Retrieve a provider
EDropinEvents.EePACEApiupsertPaceProviderPOST /pace-providers/{profileId}Create or update a pace provider
EDropinEvents.EePermissionsApiacceptPermissionInvitePOST /permissions/accept-invite/{inviteToken}Accept a permission invite
EDropinEvents.EePermissionsApihasPermissionGET /permissions/{entityType}/{entityId}/accounts/{accountId}Check account has permission
EDropinEvents.EePermissionsApipaginatePermissionsGET /permissions/{entityType}/{entityId}/accountsGet permissions for entity
EDropinEvents.EePermissionsApiremovePermissionsForAccountDELETE /permissions/{entityType}/{entityId}/accounts/{accountId}Remove all permissions for account
EDropinEvents.EePermissionsApisendPermissionInvitePOST /permissions/{entityType}/{entityId}/send-inviteSend a permission invite
EDropinEvents.EePermissionsApisetPermissionPUT /permissions/{entityType}/{entityId}/accounts/{accountId}Set account permission
EDropinEvents.EeQrCodeApigetQRCodeGET /qr-code/{data}Get a qr code
EDropinEvents.EeSurveysApibulkCreateResponsesPOST /surveys/{surveyId}/responsesCreate responses for a survey with the given id
EDropinEvents.EeSurveysApibulkDeleteResponsesDELETE /surveys-responses/bulkBulk delete responses
EDropinEvents.EeSurveysApibulkRetrieveAggregatesGET /surveys-aggregates/bulkRetrieve survey aggregate with the given surveyID
EDropinEvents.EeSurveysApibulkRetrieveResponsesGET /surveys-responses/bulkBulk Retrieve response for survey
EDropinEvents.EeSurveysApibulkRetrieveSurveysGET /surveys/bulkList all surveys by surveyIDs
EDropinEvents.EeSurveysApicreateResponsePOST /survey-responses/{surveyId}Create responses for a survey with the given id
EDropinEvents.EeSurveysApicreateSurveyPOST /events/{eventId}/surveysCreate a survey
EDropinEvents.EeSurveysApideleteSurveyDELETE /surveys/{surveyId}Delete a survey
EDropinEvents.EeSurveysApilistResponsesGET /organizers/{organizerId}/survey-responsesRetrieves all survey responses for the given organizerID
EDropinEvents.EeSurveysApilistSurveyResponsesGET /surveys/{surveyId}/responsesList responses for a survey
EDropinEvents.EeSurveysApilistSurveysGET /organizers/{organizerId}/surveysList all surveys for the organizers
EDropinEvents.EeSurveysApiretrieveAllSurveysGET /surveys/get-multiList all surveys by surveyIDs
EDropinEvents.EeSurveysApiretrieveResponseGET /surveys-responses/get-multiRetrieve response for survey
EDropinEvents.EeSurveysApiretrieveSurveyGET /surveys/{surveyId}Retrieve a survey with the given surveyID
EDropinEvents.EeSurveysApiretrieveSurveyAggregateGET /surveys-aggregate/get-multiRetrieve survey aggregate with the given surveyID
EDropinEvents.EeSurveysApiupdateSurveyPUT /surveys/{surveyId}Update a survey
EDropinEvents.EeUserEventsApilistUserEventsGET /user/eventsList all events for which a user has tickets. Each record contains the list of all tickets under the user account for the event
EDropinEvents.EeUserEventsApiretrieveUserEventGET /user/events/{eventId}Retrieve a record for event with a given id for the user if one exists. This record contains a list of all the tickets bought by the user for this event

Documentation for Models

Documentation for Authorization

Authorization

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

AuthorizationOptional

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

ClientKey

  • Type: API key
  • API key parameter name: X-Client-Key
  • Location: HTTP header
1.0.4

5 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago