@vendasta/meetings 1.11.1 → 1.12.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.
@@ -215,42 +215,6 @@ var FeatureFlagFieldType;
215
215
  FeatureFlagFieldType[FeatureFlagFieldType["FEATURE_FLAG_FIELD_TYPE_GROUP_ID"] = 2] = "FEATURE_FLAG_FIELD_TYPE_GROUP_ID";
216
216
  })(FeatureFlagFieldType || (FeatureFlagFieldType = {}));
217
217
 
218
- // *********************************
219
- // Code generated by sdkgen
220
- // DO NOT EDIT!.
221
- //
222
- // Enums.
223
- // *********************************
224
- var BookingFailureReason;
225
- (function (BookingFailureReason) {
226
- BookingFailureReason[BookingFailureReason["BOOKING_FAILURE_REASON_REGISTRATION_CUTOFF_EXCEEDED"] = 0] = "BOOKING_FAILURE_REASON_REGISTRATION_CUTOFF_EXCEEDED";
227
- BookingFailureReason[BookingFailureReason["BOOKING_FAILURE_REASON_MAX_INVITEE_COUNT_EXCEEDED"] = 1] = "BOOKING_FAILURE_REASON_MAX_INVITEE_COUNT_EXCEEDED";
228
- })(BookingFailureReason || (BookingFailureReason = {}));
229
- var Recurrence;
230
- (function (Recurrence) {
231
- Recurrence[Recurrence["RECURRENCE_DAILY"] = 0] = "RECURRENCE_DAILY";
232
- Recurrence[Recurrence["RECURRENCE_WEEKLY"] = 1] = "RECURRENCE_WEEKLY";
233
- Recurrence[Recurrence["RECURRENCE_WORKING_WEEK"] = 2] = "RECURRENCE_WORKING_WEEK";
234
- Recurrence[Recurrence["RECURRENCE_MONTHLY"] = 3] = "RECURRENCE_MONTHLY";
235
- Recurrence[Recurrence["RECURRENCE_QUARTERLY"] = 4] = "RECURRENCE_QUARTERLY";
236
- })(Recurrence || (Recurrence = {}));
237
- var RegistrationMode;
238
- (function (RegistrationMode) {
239
- RegistrationMode[RegistrationMode["REGISTRATION_MODE_ALL"] = 0] = "REGISTRATION_MODE_ALL";
240
- RegistrationMode[RegistrationMode["REGISTRATION_MODE_ANY"] = 1] = "REGISTRATION_MODE_ANY";
241
- })(RegistrationMode || (RegistrationMode = {}));
242
- var Weekday;
243
- (function (Weekday) {
244
- Weekday[Weekday["WEEKDAY_UNSPECIFIED"] = 0] = "WEEKDAY_UNSPECIFIED";
245
- Weekday[Weekday["WEEKDAY_MONDAY"] = 1] = "WEEKDAY_MONDAY";
246
- Weekday[Weekday["WEEKDAY_TUESDAY"] = 2] = "WEEKDAY_TUESDAY";
247
- Weekday[Weekday["WEEKDAY_WEDNESDAY"] = 3] = "WEEKDAY_WEDNESDAY";
248
- Weekday[Weekday["WEEKDAY_THURSDAY"] = 4] = "WEEKDAY_THURSDAY";
249
- Weekday[Weekday["WEEKDAY_FRIDAY"] = 5] = "WEEKDAY_FRIDAY";
250
- Weekday[Weekday["WEEKDAY_SATURDAY"] = 6] = "WEEKDAY_SATURDAY";
251
- Weekday[Weekday["WEEKDAY_SUNDAY"] = 7] = "WEEKDAY_SUNDAY";
252
- })(Weekday || (Weekday = {}));
253
-
254
218
  // *********************************
255
219
  // Code generated by sdkgen
256
220
  // DO NOT EDIT!.
@@ -306,6 +270,42 @@ var SecuritySchemeType;
306
270
  SecuritySchemeType[SecuritySchemeType["TYPE_OAUTH2"] = 3] = "TYPE_OAUTH2";
307
271
  })(SecuritySchemeType || (SecuritySchemeType = {}));
308
272
 
273
+ // *********************************
274
+ // Code generated by sdkgen
275
+ // DO NOT EDIT!.
276
+ //
277
+ // Enums.
278
+ // *********************************
279
+ var BookingFailureReason;
280
+ (function (BookingFailureReason) {
281
+ BookingFailureReason[BookingFailureReason["BOOKING_FAILURE_REASON_REGISTRATION_CUTOFF_EXCEEDED"] = 0] = "BOOKING_FAILURE_REASON_REGISTRATION_CUTOFF_EXCEEDED";
282
+ BookingFailureReason[BookingFailureReason["BOOKING_FAILURE_REASON_MAX_INVITEE_COUNT_EXCEEDED"] = 1] = "BOOKING_FAILURE_REASON_MAX_INVITEE_COUNT_EXCEEDED";
283
+ })(BookingFailureReason || (BookingFailureReason = {}));
284
+ var Recurrence;
285
+ (function (Recurrence) {
286
+ Recurrence[Recurrence["RECURRENCE_DAILY"] = 0] = "RECURRENCE_DAILY";
287
+ Recurrence[Recurrence["RECURRENCE_WEEKLY"] = 1] = "RECURRENCE_WEEKLY";
288
+ Recurrence[Recurrence["RECURRENCE_WORKING_WEEK"] = 2] = "RECURRENCE_WORKING_WEEK";
289
+ Recurrence[Recurrence["RECURRENCE_MONTHLY"] = 3] = "RECURRENCE_MONTHLY";
290
+ Recurrence[Recurrence["RECURRENCE_QUARTERLY"] = 4] = "RECURRENCE_QUARTERLY";
291
+ })(Recurrence || (Recurrence = {}));
292
+ var RegistrationMode;
293
+ (function (RegistrationMode) {
294
+ RegistrationMode[RegistrationMode["REGISTRATION_MODE_ALL"] = 0] = "REGISTRATION_MODE_ALL";
295
+ RegistrationMode[RegistrationMode["REGISTRATION_MODE_ANY"] = 1] = "REGISTRATION_MODE_ANY";
296
+ })(RegistrationMode || (RegistrationMode = {}));
297
+ var Weekday;
298
+ (function (Weekday) {
299
+ Weekday[Weekday["WEEKDAY_UNSPECIFIED"] = 0] = "WEEKDAY_UNSPECIFIED";
300
+ Weekday[Weekday["WEEKDAY_MONDAY"] = 1] = "WEEKDAY_MONDAY";
301
+ Weekday[Weekday["WEEKDAY_TUESDAY"] = 2] = "WEEKDAY_TUESDAY";
302
+ Weekday[Weekday["WEEKDAY_WEDNESDAY"] = 3] = "WEEKDAY_WEDNESDAY";
303
+ Weekday[Weekday["WEEKDAY_THURSDAY"] = 4] = "WEEKDAY_THURSDAY";
304
+ Weekday[Weekday["WEEKDAY_FRIDAY"] = 5] = "WEEKDAY_FRIDAY";
305
+ Weekday[Weekday["WEEKDAY_SATURDAY"] = 6] = "WEEKDAY_SATURDAY";
306
+ Weekday[Weekday["WEEKDAY_SUNDAY"] = 7] = "WEEKDAY_SUNDAY";
307
+ })(Weekday || (Weekday = {}));
308
+
309
309
  // *********************************
310
310
  // Code generated by sdkgen
311
311
  // DO NOT EDIT!.
@@ -9136,6 +9136,12 @@ class Meeting {
9136
9136
  if (proto.registeredAttendeeCount) {
9137
9137
  m.registeredAttendeeCount = parseInt(proto.registeredAttendeeCount, 10);
9138
9138
  }
9139
+ if (proto.bufferDurationBeforeMeeting) {
9140
+ m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
9141
+ }
9142
+ if (proto.bufferDurationAfterMeeting) {
9143
+ m.bufferDurationAfterMeeting = parseInt(proto.bufferDurationAfterMeeting, 10);
9144
+ }
9139
9145
  return m;
9140
9146
  }
9141
9147
  constructor(kwargs) {
@@ -9215,6 +9221,15 @@ class Meeting {
9215
9221
  if (typeof this.registrationCutoff !== 'undefined') {
9216
9222
  toReturn['registrationCutoff'] = this.registrationCutoff;
9217
9223
  }
9224
+ if (typeof this.bufferDurationBeforeMeeting !== 'undefined') {
9225
+ toReturn['bufferDurationBeforeMeeting'] = this.bufferDurationBeforeMeeting;
9226
+ }
9227
+ if (typeof this.bufferDurationAfterMeeting !== 'undefined') {
9228
+ toReturn['bufferDurationAfterMeeting'] = this.bufferDurationAfterMeeting;
9229
+ }
9230
+ if (typeof this.userId !== 'undefined') {
9231
+ toReturn['userId'] = this.userId;
9232
+ }
9218
9233
  return toReturn;
9219
9234
  }
9220
9235
  }
@@ -11075,6 +11090,9 @@ function meetingFromApi(meetingApi) {
11075
11090
  maxAttendeeCount: meetingApi.maxAttendeeCount || 0,
11076
11091
  registeredAttendeeCount: meetingApi.registeredAttendeeCount || 0,
11077
11092
  registrationCutoff: meetingApi.registrationCutoff || "",
11093
+ bufferDurationBeforeMeeting: meetingApi.bufferDurationBeforeMeeting || 0,
11094
+ bufferDurationAfterMeeting: meetingApi.bufferDurationAfterMeeting || 0,
11095
+ userId: meetingApi.userId || "",
11078
11096
  };
11079
11097
  }
11080
11098
  function answersFromAPI(formAnswers) {