@dev-crew-berlin/enter-js-utils 0.52.0 → 0.53.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.
@@ -44,7 +44,7 @@ export default class API extends APIBase {
44
44
  }): Promise<APIResult<Attendee[]>>;
45
45
  generateRegistrationToken(args: {
46
46
  instanceName: string;
47
- auth: components['schemas']['SecurityQuestion'] | components['schemas']['AuthCode'];
47
+ check: components['schemas']['SecurityQuestion'] | components['schemas']['AuthCode'] | components['schemas']['AttendeeId'];
48
48
  }): Promise<APIResult<string>>;
49
49
  getVariableList(args: {
50
50
  instanceName: string;
@@ -71,7 +71,7 @@ export default class API extends APIBase {
71
71
  }
72
72
  async generateRegistrationToken(args) {
73
73
  const instanceName = args.instanceName;
74
- return this.post(`/instances/${instanceName}/registration/registration_token`, args.auth);
74
+ return this.post(`/instances/${instanceName}/registration/registration_token`, args.check);
75
75
  }
76
76
  async getVariableList(args) {
77
77
  const instanceName = args.instanceName;
@@ -134,6 +134,17 @@ export declare type components = {
134
134
  /** Final */
135
135
  final: boolean;
136
136
  };
137
+ /** AttendeeId */
138
+ AttendeeId: {
139
+ /** Attendeeid */
140
+ attendeeId: string;
141
+ /** Session Type */
142
+ session_type?: string;
143
+ /** Flags */
144
+ flags?: {
145
+ [key: string]: unknown;
146
+ };
147
+ };
137
148
  /**
138
149
  * AttendeeRespondedEvent
139
150
  * @description Attendee response status was changed. Meaning the rsvp value was updated.
@@ -1854,7 +1865,7 @@ export declare type operations = {
1854
1865
  };
1855
1866
  requestBody: {
1856
1867
  content: {
1857
- "application/json": components["schemas"]["SecurityQuestion"] | components["schemas"]["AuthCode"];
1868
+ "application/json": components["schemas"]["SecurityQuestion"] | components["schemas"]["AuthCode"] | components["schemas"]["AttendeeId"];
1858
1869
  };
1859
1870
  };
1860
1871
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-crew-berlin/enter-js-utils",
3
- "version": "0.52.0",
3
+ "version": "0.53.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",
@@ -22,7 +22,7 @@
22
22
  "test": "echo \"Error: no test specified\" && exit 1",
23
23
  "storybook": "start-storybook -p 6006",
24
24
  "build-storybook": "build-storybook",
25
- "generate-client": "openapi-typescript https://api.dev.enter.events/openapi.json --output src/generated/api-schema.ts --default-non-nullable --export-type"
25
+ "generate-client": "openapi-typescript https://api.enter.events/openapi.json --output src/generated/api-schema.ts --default-non-nullable --export-type"
26
26
  },
27
27
  "lint-staged": {
28
28
  "**/*": "prettier --write --ignore-unknown"