@dev-crew-berlin/enter-js-utils 0.87.1 → 0.88.0

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.
@@ -1256,7 +1256,7 @@ export type components = {
1256
1256
  * Provider
1257
1257
  * @enum {string}
1258
1258
  */
1259
- provider: "manual" | "sepa" | "sofort" | "credit" | "prepay" | "call2pay" | "handypay" | "paypal";
1259
+ provider: "manual" | "sepa" | "sofort" | "credit" | "prepay" | "call2pay" | "handypay" | "paypal" | "stripe";
1260
1260
  /** Reference */
1261
1261
  reference?: string | null;
1262
1262
  /** Amount */
@@ -4,6 +4,7 @@ import { Checkins } from './checkins';
4
4
  import { FieldValue } from './field-value';
5
5
  import { Rsvp } from './rsvp';
6
6
  import { AttendeeUpdatedEvent } from './event';
7
+ import { Payment } from './payment';
7
8
  type AttendeeJSONInput = components['schemas']['PublicAttendee-Input'];
8
9
  export type AttendeeJSON = Omit<components['schemas']['PublicAttendee-Output'], 'companions'> & {
9
10
  companions: AttendeeJSONInput['companions'];
@@ -26,12 +27,7 @@ export declare class Attendee {
26
27
  isCompanion: true;
27
28
  mainGuestId: string;
28
29
  };
29
- payment: {
30
- paid: boolean;
31
- provider: components['schemas']['Payment']['provider'];
32
- amount: number;
33
- testmode: boolean;
34
- } | null;
30
+ payment: Payment | null;
35
31
  deleted: boolean;
36
32
  constructor(args: AttendeeJSONInput | string);
37
33
  /**
@@ -19,3 +19,4 @@ export type { InstanceJSON } from './instance';
19
19
  export type { Permission } from './permission';
20
20
  export type { User } from './user';
21
21
  export type { Variable } from './variable';
22
+ export type { Payment } from './payment';
@@ -0,0 +1,2 @@
1
+ import { components } from '../generated/api-schema';
2
+ export type Payment = components['schemas']['Payment'];
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-crew-berlin/enter-js-utils",
3
- "version": "0.87.1",
3
+ "version": "0.88.0",
4
4
  "description": "utils such as vaildation and other helpers to work with data from the enter app",
5
5
  "files": [
6
6
  "dist",