@dev-crew-berlin/enter-js-utils 0.60.0 → 0.60.2

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.
@@ -190,9 +190,36 @@ export declare type components = {
190
190
  * Alternatively you can set `is_edit` to trigger email that are sent on edit instead.
191
191
  */
192
192
  AttendeeRespondedEvent: {
193
+ /**
194
+ * Id
195
+ * Format: uuid
196
+ */
197
+ id?: string;
198
+ /**
199
+ * Event
200
+ * @default attendee-responded
201
+ * @constant
202
+ * @enum {string}
203
+ */
204
+ event?: "attendee-responded";
205
+ /** Group */
206
+ group?: components["schemas"]["EventGroup"] | components["schemas"]["NoGroup"];
207
+ preconditions?: components["schemas"]["Preconditions"] | null;
208
+ /** Instancename */
209
+ instanceName: string;
210
+ /** Attendeeid */
211
+ attendeeId: string;
212
+ /** Rsvp */
193
213
  rsvp: {
194
- [key: string]: unknown;
214
+ [key: string]: number | null;
195
215
  };
216
+ /**
217
+ * Responsetime
218
+ * Format: date-time
219
+ */
220
+ responseTime?: string;
221
+ /** Isedit */
222
+ isEdit: boolean;
196
223
  };
197
224
  /** AttendeeUpdate */
198
225
  AttendeeUpdate: {
@@ -224,9 +251,27 @@ export declare type components = {
224
251
  * @description Attendee was updated. This includes `userdata` but also other data such as `payment`, `rsvp` or `tags`
225
252
  */
226
253
  AttendeeUpdatedEvent: {
227
- rsvp?: {
228
- [key: string]: unknown;
229
- };
254
+ /**
255
+ * Id
256
+ * Format: uuid
257
+ */
258
+ id?: string;
259
+ /**
260
+ * Event
261
+ * @default attendee-updated
262
+ * @constant
263
+ * @enum {string}
264
+ */
265
+ event?: "attendee-updated";
266
+ /** Group */
267
+ group?: components["schemas"]["EventGroup"] | components["schemas"]["NoGroup"];
268
+ /** Preconditions */
269
+ preconditions?: [components["schemas"]["Filter"], components["schemas"]["FieldGroup-Input"][]] | null;
270
+ /** Instancename */
271
+ instanceName: string;
272
+ /** Attendeeid */
273
+ attendeeId: string;
274
+ updates: components["schemas"]["AttendeeUpdate"];
230
275
  };
231
276
  /** AuthCode */
232
277
  AuthCode: {
@@ -1269,20 +1314,20 @@ export declare type components = {
1269
1314
  /** Questions */
1270
1315
  questions: (components["schemas"]["TextField-Output"] | components["schemas"]["StaticField-Output"] | components["schemas"]["ImageUploadField-Output"] | components["schemas"]["FileUploadField-Output"] | components["schemas"]["LongtextField-Output"] | components["schemas"]["RadioButtonGroupField-Output"] | components["schemas"]["DropdownField-Output"] | components["schemas"]["DateField-Output"] | components["schemas"]["EmailField-Output"] | components["schemas"]["NumberField-Output"] | components["schemas"]["CheckboxField-Output"] | components["schemas"]["CheckboxGroupField-Output"] | components["schemas"]["CodeField-Output"])[];
1271
1316
  /** Info */
1272
- info?: string | {
1317
+ info: string | {
1273
1318
  [key: string]: string;
1274
1319
  } | null;
1275
1320
  /** Title */
1276
- title?: string | {
1321
+ title: string | {
1277
1322
  [key: string]: string;
1278
1323
  } | null;
1279
1324
  /** Class */
1280
- class?: string | null;
1325
+ class: string | null;
1281
1326
  /**
1282
1327
  * Ismetagroup
1283
1328
  * @default false
1284
1329
  */
1285
- isMetaGroup?: boolean;
1330
+ isMetaGroup: boolean;
1286
1331
  };
1287
1332
  /** FileReference */
1288
1333
  FileReference: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-crew-berlin/enter-js-utils",
3
- "version": "0.60.0",
3
+ "version": "0.60.2",
4
4
  "description": "utils such as vaildation and other helpers to work with data from the enter app",
5
5
  "files": [
6
6
  "dist",
@@ -43,6 +43,7 @@
43
43
  "@babel/preset-env": "^7.18.2",
44
44
  "@babel/preset-react": "^7.17.12",
45
45
  "@babel/preset-typescript": "^7.17.12",
46
+ "@liangskyli/openapi-typescript": "^5.4.1",
46
47
  "@storybook/addon-actions": "^6.5.15",
47
48
  "@storybook/addon-essentials": "^6.5.15",
48
49
  "@storybook/addon-interactions": "^6.5.15",
@@ -62,7 +63,6 @@
62
63
  "eslint": "^8.16.0",
63
64
  "eslint-config-prettier": "^8.5.0",
64
65
  "husky": "^7.0.1",
65
- "openapi-typescript": "^6.7.6",
66
66
  "prettier": "^2.6.2",
67
67
  "react": "^18.1.0",
68
68
  "react-dom": "^18.1.0",