@vendasta/meetings 1.11.0 → 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!.
@@ -1917,6 +1917,9 @@ class HostUser {
1917
1917
  if (typeof this.isConnected !== 'undefined') {
1918
1918
  toReturn['isConnected'] = this.isConnected;
1919
1919
  }
1920
+ if (typeof this.isDeleted !== 'undefined') {
1921
+ toReturn['isDeleted'] = this.isDeleted;
1922
+ }
1920
1923
  return toReturn;
1921
1924
  }
1922
1925
  }
@@ -7342,12 +7345,12 @@ class EventTypeSummary {
7342
7345
  if (proto.dateRange) {
7343
7346
  m.dateRange = EventTypeDateRange.fromProto(proto.dateRange);
7344
7347
  }
7345
- if (proto.bufferDurationBeforeMeeting) {
7346
- m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
7347
- }
7348
7348
  if (proto.bufferDurationAfterMeeting) {
7349
7349
  m.bufferDurationAfterMeeting = parseInt(proto.bufferDurationAfterMeeting, 10);
7350
7350
  }
7351
+ if (proto.bufferDurationBeforeMeeting) {
7352
+ m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
7353
+ }
7351
7354
  return m;
7352
7355
  }
7353
7356
  constructor(kwargs) {
@@ -7406,12 +7409,12 @@ class EventTypeSummary {
7406
7409
  if (typeof this.description !== 'undefined') {
7407
7410
  toReturn['description'] = this.description;
7408
7411
  }
7409
- if (typeof this.bufferDurationBeforeMeeting !== 'undefined') {
7410
- toReturn['bufferDurationBeforeMeeting'] = this.bufferDurationBeforeMeeting;
7411
- }
7412
7412
  if (typeof this.bufferDurationAfterMeeting !== 'undefined') {
7413
7413
  toReturn['bufferDurationAfterMeeting'] = this.bufferDurationAfterMeeting;
7414
7414
  }
7415
+ if (typeof this.bufferDurationBeforeMeeting !== 'undefined') {
7416
+ toReturn['bufferDurationBeforeMeeting'] = this.bufferDurationBeforeMeeting;
7417
+ }
7415
7418
  return toReturn;
7416
7419
  }
7417
7420
  }
@@ -9133,6 +9136,12 @@ class Meeting {
9133
9136
  if (proto.registeredAttendeeCount) {
9134
9137
  m.registeredAttendeeCount = parseInt(proto.registeredAttendeeCount, 10);
9135
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
+ }
9136
9145
  return m;
9137
9146
  }
9138
9147
  constructor(kwargs) {
@@ -9212,6 +9221,15 @@ class Meeting {
9212
9221
  if (typeof this.registrationCutoff !== 'undefined') {
9213
9222
  toReturn['registrationCutoff'] = this.registrationCutoff;
9214
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
+ }
9215
9233
  return toReturn;
9216
9234
  }
9217
9235
  }
@@ -11072,6 +11090,9 @@ function meetingFromApi(meetingApi) {
11072
11090
  maxAttendeeCount: meetingApi.maxAttendeeCount || 0,
11073
11091
  registeredAttendeeCount: meetingApi.registeredAttendeeCount || 0,
11074
11092
  registrationCutoff: meetingApi.registrationCutoff || "",
11093
+ bufferDurationBeforeMeeting: meetingApi.bufferDurationBeforeMeeting || 0,
11094
+ bufferDurationAfterMeeting: meetingApi.bufferDurationAfterMeeting || 0,
11095
+ userId: meetingApi.userId || "",
11075
11096
  };
11076
11097
  }
11077
11098
  function answersFromAPI(formAnswers) {
@@ -11231,6 +11252,7 @@ function hostUserFromApi(hostUser) {
11231
11252
  displayName: hostUser.displayName || '',
11232
11253
  isConfigured: hostUser.isConfigured || false,
11233
11254
  isConnected: hostUser.isConnected || false,
11255
+ isDeleted: hostUser.isDeleted || false,
11234
11256
  };
11235
11257
  }
11236
11258