@dev-crew-berlin/enter-js-utils 0.30.2 → 0.30.3

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.
@@ -137,10 +137,6 @@ export declare type components = {
137
137
  userdata?: {
138
138
  [key: string]: unknown;
139
139
  };
140
- /** Metadata */
141
- metadata?: {
142
- [key: string]: unknown;
143
- };
144
140
  /** Tags */
145
141
  tags?: string[];
146
142
  /** Language */
@@ -152,7 +148,7 @@ export declare type components = {
152
148
  time?: string;
153
149
  /** Rsvp */
154
150
  rsvp?: {
155
- [key: string]: number;
151
+ [key: string]: number | null;
156
152
  };
157
153
  /** Companions */
158
154
  companions?: components["schemas"]["MainGuestJSON"] | components["schemas"]["CompanionJSON"];
@@ -922,8 +918,6 @@ export declare type components = {
922
918
  PublicAttendee: {
923
919
  /** Id */
924
920
  id: string;
925
- /** Auth */
926
- auth?: string;
927
921
  /**
928
922
  * Userdata
929
923
  * @default {}
@@ -948,7 +942,7 @@ export declare type components = {
948
942
  * @default {}
949
943
  */
950
944
  rsvp: {
951
- [key: string]: number;
945
+ [key: string]: number | null;
952
946
  };
953
947
  /**
954
948
  * Checkin
@@ -2,11 +2,7 @@ import { components } from '../generated/api-schema';
2
2
  import { Checkin } from './checkin';
3
3
  import { Checkins } from './checkins';
4
4
  import { FieldValue } from './field-value';
5
- export declare type AttendeeJSON = Omit<components['schemas']['PublicAttendee'], 'rsvp' | 'auth'> & {
6
- rsvp: {
7
- [key: string]: number | null;
8
- };
9
- };
5
+ export declare type AttendeeJSON = components['schemas']['PublicAttendee'];
10
6
  export declare class Attendee {
11
7
  id: string;
12
8
  userdata: Record<string, FieldValue>;
@@ -1,2 +1,9 @@
1
1
  import { components } from '../generated/api-schema';
2
+ export declare type AttendeeCreatedEvent = components['schemas']['AttendeeCreatedEvent'];
3
+ export declare type AttendeeUpdatedEvent = components['schemas']['AttendeeUpdatedEvent'];
4
+ export declare type AttendeeRespondedEvent = components['schemas']['AttendeeRespondedEvent'];
5
+ export declare type AttendeeDeletedEvent = components['schemas']['AttendeeDeletedEvent'];
6
+ export declare type CheckinCreatedEvent = components['schemas']['CheckinCreatedEvent'];
7
+ export declare type CheckinDeletedEvent = components['schemas']['CheckinDeletedEvent'];
8
+ export declare type PaymentPaidEvent = components['schemas']['PaymentPaidEvent'];
2
9
  export declare type Event = components['schemas']['EventList'][number];
@@ -3,7 +3,7 @@ export { Attendee } from './attendee';
3
3
  export type { CheckinCounts } from './checkin-counts';
4
4
  export type { Checkin, CheckinJSON } from './checkin';
5
5
  export type { CheckinsJSON, Checkins } from './checkins';
6
- export type { Event } from './event';
6
+ export type { Event, AttendeeUpdatedEvent, AttendeeCreatedEvent, AttendeeRespondedEvent, AttendeeDeletedEvent, CheckinCreatedEvent, CheckinDeletedEvent, PaymentPaidEvent, } from './event';
7
7
  export type { FieldGroup, FieldLabels } from './field-group';
8
8
  export { FieldGroups } from './field-group';
9
9
  export type { FieldValue } from './field-value';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-crew-berlin/enter-js-utils",
3
- "version": "0.30.2",
3
+ "version": "0.30.3",
4
4
  "description": "utils such as vaildation and other helpers to work with data from the enter app",
5
5
  "files": [
6
6
  "dist",