@dev-crew-berlin/enter-js-utils 0.97.4 → 0.97.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import APIBase, { FetchOptions, RequestBody } from './api-base';
|
|
2
2
|
import { APIResult } from '../lib';
|
|
3
3
|
import { Attendee } from '../models/attendee';
|
|
4
|
-
import { Event } from '../models';
|
|
4
|
+
import { Event, EventInput } from '../models';
|
|
5
5
|
import { CheckinCounts } from '../models/checkin-counts';
|
|
6
6
|
import { FieldGroups } from '../models/field-group';
|
|
7
7
|
import { Instance } from '../models/instance';
|
|
@@ -160,7 +160,7 @@ declare class API extends APIBase {
|
|
|
160
160
|
/**
|
|
161
161
|
* @category Events
|
|
162
162
|
*/
|
|
163
|
-
createEvents(args:
|
|
163
|
+
createEvents(args: EventInput[], options?: FetchOptions): Promise<APIResult<null>>;
|
|
164
164
|
/**
|
|
165
165
|
* Subscribe to the SSE event stream. Yields events as they arrive.
|
|
166
166
|
* Use `for await` to consume events, and `break` or `return` to unsubscribe.
|
package/dist/models/event.d.ts
CHANGED
|
@@ -10,3 +10,12 @@ export type CheckinCreatedEvent = components['schemas']['CheckinCreatedEvent-Out
|
|
|
10
10
|
export type CheckinDeletedEvent = components['schemas']['CheckinDeletedEvent-Output'];
|
|
11
11
|
export type PaymentPaidEvent = components['schemas']['PaymentPaidEvent-Output'];
|
|
12
12
|
export type Event = AttendeeCreatedEvent | AttendeeUpdatedEvent | AttendeeRespondedEvent | AttendeeDeletedEvent | AttendeeAuthCodeRequestedEvent | EmailUnsubscribedEvent | EmailStatusUpdatedEvent | CheckinCreatedEvent | CheckinDeletedEvent | PaymentPaidEvent;
|
|
13
|
+
export type AttendeeCreatedEventInput = components['schemas']['AttendeeCreatedEvent-Input'];
|
|
14
|
+
export type AttendeeUpdatedEventInput = components['schemas']['AttendeeUpdatedEvent-Input'];
|
|
15
|
+
export type AttendeeRespondedEventInput = components['schemas']['AttendeeRespondedEvent-Input'];
|
|
16
|
+
export type AttendeeDeletedEventInput = components['schemas']['AttendeeDeletedEvent-Input'];
|
|
17
|
+
export type AttendeeAuthCodeRequestedEventInput = components['schemas']['AttendeeAuthCodeRequested-Input'];
|
|
18
|
+
export type CheckinCreatedEventInput = components['schemas']['CheckinCreatedEvent-Input'];
|
|
19
|
+
export type CheckinDeletedEventInput = components['schemas']['CheckinDeletedEvent-Input'];
|
|
20
|
+
export type PaymentPaidEventInput = components['schemas']['PaymentPaidEvent-Input'];
|
|
21
|
+
export type EventInput = AttendeeCreatedEventInput | AttendeeUpdatedEventInput | AttendeeRespondedEventInput | AttendeeDeletedEventInput | AttendeeAuthCodeRequestedEventInput | EmailUnsubscribedEvent | EmailStatusUpdatedEvent | CheckinCreatedEventInput | CheckinDeletedEventInput | PaymentPaidEventInput;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export { Rsvp } from './rsvp';
|
|
|
9
9
|
export type { CheckinJSON } from './checkin';
|
|
10
10
|
export { Checkins } from './checkins';
|
|
11
11
|
export type { CheckinsJSON } from './checkins';
|
|
12
|
-
export type { Event, AttendeeUpdatedEvent, AttendeeCreatedEvent, AttendeeRespondedEvent, AttendeeDeletedEvent, AttendeeAuthCodeRequestedEvent, EmailUnsubscribedEvent, CheckinCreatedEvent, CheckinDeletedEvent, PaymentPaidEvent, } from './event';
|
|
12
|
+
export type { Event, AttendeeUpdatedEvent, AttendeeCreatedEvent, AttendeeRespondedEvent, AttendeeDeletedEvent, AttendeeAuthCodeRequestedEvent, EmailUnsubscribedEvent, CheckinCreatedEvent, CheckinDeletedEvent, PaymentPaidEvent, EventInput, AttendeeCreatedEventInput, AttendeeUpdatedEventInput, AttendeeRespondedEventInput, AttendeeDeletedEventInput, AttendeeAuthCodeRequestedEventInput, CheckinCreatedEventInput, CheckinDeletedEventInput, PaymentPaidEventInput, } from './event';
|
|
13
13
|
export type { FieldGroup, FieldGroupJSON } from './field-group';
|
|
14
14
|
export { FieldGroups } from './field-group';
|
|
15
15
|
export type { FieldValue } from './field-value';
|