@vendasta/meetings 1.6.1 → 1.6.4

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.
Files changed (36) hide show
  1. package/esm2020/lib/_internal/enums/index.mjs +2 -1
  2. package/esm2020/lib/_internal/enums/openapiv2.enum.mjs +55 -0
  3. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  4. package/esm2020/lib/_internal/interfaces/meeting-external.interface.mjs +1 -1
  5. package/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
  6. package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
  7. package/esm2020/lib/_internal/interfaces/openapiv2.interface.mjs +8 -0
  8. package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
  9. package/esm2020/lib/_internal/objects/index.mjs +2 -1
  10. package/esm2020/lib/_internal/objects/meeting-external.mjs +24 -71
  11. package/esm2020/lib/_internal/objects/meeting-guest.mjs +6 -2
  12. package/esm2020/lib/_internal/objects/meeting-host.mjs +39 -5
  13. package/esm2020/lib/_internal/objects/openapiv2.mjs +1191 -0
  14. package/esm2020/lib/_internal/objects/shared.mjs +4 -1
  15. package/esm2020/lib/guest/guest.service.mjs +1 -1
  16. package/esm2020/lib/shared/calendar.mjs +2 -1
  17. package/fesm2015/vendasta-meetings.mjs +1431 -194
  18. package/fesm2015/vendasta-meetings.mjs.map +1 -1
  19. package/fesm2020/vendasta-meetings.mjs +1431 -194
  20. package/fesm2020/vendasta-meetings.mjs.map +1 -1
  21. package/lib/_internal/enums/index.d.ts +1 -0
  22. package/lib/_internal/enums/openapiv2.enum.d.ts +42 -0
  23. package/lib/_internal/interfaces/index.d.ts +1 -0
  24. package/lib/_internal/interfaces/meeting-external.interface.d.ts +13 -24
  25. package/lib/_internal/interfaces/meeting-guest.interface.d.ts +3 -1
  26. package/lib/_internal/interfaces/meeting-host.interface.d.ts +10 -3
  27. package/lib/_internal/interfaces/openapiv2.interface.d.ts +246 -0
  28. package/lib/_internal/interfaces/shared.interface.d.ts +1 -0
  29. package/lib/_internal/objects/index.d.ts +1 -0
  30. package/lib/_internal/objects/meeting-external.d.ts +13 -24
  31. package/lib/_internal/objects/meeting-guest.d.ts +3 -1
  32. package/lib/_internal/objects/meeting-host.d.ts +10 -3
  33. package/lib/_internal/objects/openapiv2.d.ts +353 -0
  34. package/lib/_internal/objects/shared.d.ts +1 -0
  35. package/lib/guest/guest.service.d.ts +1 -0
  36. package/package.json +1 -1
@@ -234,6 +234,61 @@ var Weekday;
234
234
  Weekday[Weekday["WEEKDAY_SUNDAY"] = 7] = "WEEKDAY_SUNDAY";
235
235
  })(Weekday || (Weekday = {}));
236
236
 
237
+ // *********************************
238
+ // Code generated by sdkgen
239
+ // DO NOT EDIT!.
240
+ //
241
+ // Enums.
242
+ // *********************************
243
+ var SecuritySchemeFlow;
244
+ (function (SecuritySchemeFlow) {
245
+ SecuritySchemeFlow[SecuritySchemeFlow["FLOW_INVALID"] = 0] = "FLOW_INVALID";
246
+ SecuritySchemeFlow[SecuritySchemeFlow["FLOW_IMPLICIT"] = 1] = "FLOW_IMPLICIT";
247
+ SecuritySchemeFlow[SecuritySchemeFlow["FLOW_PASSWORD"] = 2] = "FLOW_PASSWORD";
248
+ SecuritySchemeFlow[SecuritySchemeFlow["FLOW_APPLICATION"] = 3] = "FLOW_APPLICATION";
249
+ SecuritySchemeFlow[SecuritySchemeFlow["FLOW_ACCESS_CODE"] = 4] = "FLOW_ACCESS_CODE";
250
+ })(SecuritySchemeFlow || (SecuritySchemeFlow = {}));
251
+ var SecuritySchemeIn;
252
+ (function (SecuritySchemeIn) {
253
+ SecuritySchemeIn[SecuritySchemeIn["IN_INVALID"] = 0] = "IN_INVALID";
254
+ SecuritySchemeIn[SecuritySchemeIn["IN_QUERY"] = 1] = "IN_QUERY";
255
+ SecuritySchemeIn[SecuritySchemeIn["IN_HEADER"] = 2] = "IN_HEADER";
256
+ })(SecuritySchemeIn || (SecuritySchemeIn = {}));
257
+ var JSONSchemaJSONSchemaSimpleTypes;
258
+ (function (JSONSchemaJSONSchemaSimpleTypes) {
259
+ JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["UNKNOWN"] = 0] = "UNKNOWN";
260
+ JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["ARRAY"] = 1] = "ARRAY";
261
+ JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["BOOLEAN"] = 2] = "BOOLEAN";
262
+ JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["INTEGER"] = 3] = "INTEGER";
263
+ JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["NULL"] = 4] = "NULL";
264
+ JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["NUMBER"] = 5] = "NUMBER";
265
+ JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["OBJECT"] = 6] = "OBJECT";
266
+ JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["STRING"] = 7] = "STRING";
267
+ })(JSONSchemaJSONSchemaSimpleTypes || (JSONSchemaJSONSchemaSimpleTypes = {}));
268
+ var Scheme;
269
+ (function (Scheme) {
270
+ Scheme[Scheme["UNKNOWN"] = 0] = "UNKNOWN";
271
+ Scheme[Scheme["HTTP"] = 1] = "HTTP";
272
+ Scheme[Scheme["HTTPS"] = 2] = "HTTPS";
273
+ Scheme[Scheme["WS"] = 3] = "WS";
274
+ Scheme[Scheme["WSS"] = 4] = "WSS";
275
+ })(Scheme || (Scheme = {}));
276
+ var HeaderParameterType;
277
+ (function (HeaderParameterType) {
278
+ HeaderParameterType[HeaderParameterType["UNKNOWN"] = 0] = "UNKNOWN";
279
+ HeaderParameterType[HeaderParameterType["STRING"] = 1] = "STRING";
280
+ HeaderParameterType[HeaderParameterType["NUMBER"] = 2] = "NUMBER";
281
+ HeaderParameterType[HeaderParameterType["INTEGER"] = 3] = "INTEGER";
282
+ HeaderParameterType[HeaderParameterType["BOOLEAN"] = 4] = "BOOLEAN";
283
+ })(HeaderParameterType || (HeaderParameterType = {}));
284
+ var SecuritySchemeType;
285
+ (function (SecuritySchemeType) {
286
+ SecuritySchemeType[SecuritySchemeType["TYPE_INVALID"] = 0] = "TYPE_INVALID";
287
+ SecuritySchemeType[SecuritySchemeType["TYPE_BASIC"] = 1] = "TYPE_BASIC";
288
+ SecuritySchemeType[SecuritySchemeType["TYPE_API_KEY"] = 2] = "TYPE_API_KEY";
289
+ SecuritySchemeType[SecuritySchemeType["TYPE_OAUTH2"] = 3] = "TYPE_OAUTH2";
290
+ })(SecuritySchemeType || (SecuritySchemeType = {}));
291
+
237
292
  // *********************************
238
293
  // Code generated by sdkgen
239
294
  // DO NOT EDIT!.
@@ -254,7 +309,7 @@ var DayOfWeek;
254
309
 
255
310
  // *********************************
256
311
 
257
- function enumStringToValue$d(enumRef, value) {
312
+ function enumStringToValue$e(enumRef, value) {
258
313
  if (typeof value === 'number') {
259
314
  return value;
260
315
  }
@@ -265,7 +320,7 @@ class CreateZoomMeetingRequest {
265
320
  let m = new CreateZoomMeetingRequest();
266
321
  m = Object.assign(m, proto);
267
322
  if (proto.type) {
268
- m.type = enumStringToValue$d(ZoomMeetingType, proto.type);
323
+ m.type = enumStringToValue$e(ZoomMeetingType, proto.type);
269
324
  }
270
325
  if (proto.duration) {
271
326
  m.duration = parseInt(proto.duration, 10);
@@ -333,7 +388,7 @@ class CreateZoomMeetingResponse {
333
388
  m.meetingId = parseInt(proto.meetingId, 10);
334
389
  }
335
390
  if (proto.type) {
336
- m.type = enumStringToValue$d(ZoomMeetingType, proto.type);
391
+ m.type = enumStringToValue$e(ZoomMeetingType, proto.type);
337
392
  }
338
393
  if (proto.duration) {
339
394
  m.duration = parseInt(proto.duration, 10);
@@ -425,7 +480,7 @@ class ZoomMeetingRecurrence {
425
480
  let m = new ZoomMeetingRecurrence();
426
481
  m = Object.assign(m, proto);
427
482
  if (proto.type) {
428
- m.type = enumStringToValue$d(ZoomMeetingRecurrenceType, proto.type);
483
+ m.type = enumStringToValue$e(ZoomMeetingRecurrenceType, proto.type);
429
484
  }
430
485
  if (proto.repeatInterval) {
431
486
  m.repeatInterval = parseInt(proto.repeatInterval, 10);
@@ -434,10 +489,10 @@ class ZoomMeetingRecurrence {
434
489
  m.monthlyDay = parseInt(proto.monthlyDay, 10);
435
490
  }
436
491
  if (proto.monthlyWeek) {
437
- m.monthlyWeek = enumStringToValue$d(ZoomMonthlyWeek, proto.monthlyWeek);
492
+ m.monthlyWeek = enumStringToValue$e(ZoomMonthlyWeek, proto.monthlyWeek);
438
493
  }
439
494
  if (proto.monthlyWeekDay) {
440
- m.monthlyWeekDay = enumStringToValue$d(ZoomMonthlyWeekDay, proto.monthlyWeekDay);
495
+ m.monthlyWeekDay = enumStringToValue$e(ZoomMonthlyWeekDay, proto.monthlyWeekDay);
441
496
  }
442
497
  if (proto.endTimes) {
443
498
  m.endTimes = parseInt(proto.endTimes, 10);
@@ -484,10 +539,10 @@ class ZoomMeetingSettings {
484
539
  let m = new ZoomMeetingSettings();
485
540
  m = Object.assign(m, proto);
486
541
  if (proto.approvalType) {
487
- m.approvalType = enumStringToValue$d(ZoomApprovalType, proto.approvalType);
542
+ m.approvalType = enumStringToValue$e(ZoomApprovalType, proto.approvalType);
488
543
  }
489
544
  if (proto.registrationType) {
490
- m.registrationType = enumStringToValue$d(ZoomRegistrationType, proto.registrationType);
545
+ m.registrationType = enumStringToValue$e(ZoomRegistrationType, proto.registrationType);
491
546
  }
492
547
  return m;
493
548
  }
@@ -630,7 +685,7 @@ class ZoomOccurrence {
630
685
  }
631
686
  }
632
687
 
633
- function enumStringToValue$c(enumRef, value) {
688
+ function enumStringToValue$d(enumRef, value) {
634
689
  if (typeof value === 'number') {
635
690
  return value;
636
691
  }
@@ -1280,7 +1335,7 @@ class GoogleMeetMeetingReminders {
1280
1335
  }
1281
1336
  }
1282
1337
 
1283
- function enumStringToValue$b(enumRef, value) {
1338
+ function enumStringToValue$c(enumRef, value) {
1284
1339
  if (typeof value === 'number') {
1285
1340
  return value;
1286
1341
  }
@@ -1291,10 +1346,10 @@ class MeetingSourceInfo {
1291
1346
  let m = new MeetingSourceInfo();
1292
1347
  m = Object.assign(m, proto);
1293
1348
  if (proto.source) {
1294
- m.source = enumStringToValue$b(MeetingSource, proto.source);
1349
+ m.source = enumStringToValue$c(MeetingSource, proto.source);
1295
1350
  }
1296
1351
  if (proto.status) {
1297
- m.status = enumStringToValue$b(MeetingSourceStatus, proto.status);
1352
+ m.status = enumStringToValue$c(MeetingSourceStatus, proto.status);
1298
1353
  }
1299
1354
  return m;
1300
1355
  }
@@ -1384,7 +1439,7 @@ class MeetingSourceQuery {
1384
1439
  let m = new MeetingSourceQuery();
1385
1440
  m = Object.assign(m, proto);
1386
1441
  if (proto.source) {
1387
- m.source = enumStringToValue$b(MeetingSource, proto.source);
1442
+ m.source = enumStringToValue$c(MeetingSource, proto.source);
1388
1443
  }
1389
1444
  return m;
1390
1445
  }
@@ -1409,7 +1464,7 @@ class MeetingSourceQuery {
1409
1464
  }
1410
1465
  }
1411
1466
 
1412
- function enumStringToValue$a(enumRef, value) {
1467
+ function enumStringToValue$b(enumRef, value) {
1413
1468
  if (typeof value === 'number') {
1414
1469
  return value;
1415
1470
  }
@@ -1420,7 +1475,7 @@ class Answer {
1420
1475
  let m = new Answer();
1421
1476
  m = Object.assign(m, proto);
1422
1477
  if (proto.type) {
1423
- m.type = enumStringToValue$a(FormFieldType, proto.type);
1478
+ m.type = enumStringToValue$b(FormFieldType, proto.type);
1424
1479
  }
1425
1480
  return m;
1426
1481
  }
@@ -1562,7 +1617,7 @@ class Calendar {
1562
1617
  m.applicationContext = Object.keys(proto.applicationContext).reduce((obj, k) => { obj[k] = proto.applicationContext[k]; return obj; }, {});
1563
1618
  }
1564
1619
  if (proto.calendarType) {
1565
- m.calendarType = enumStringToValue$a(CalendarType, proto.calendarType);
1620
+ m.calendarType = enumStringToValue$b(CalendarType, proto.calendarType);
1566
1621
  }
1567
1622
  return m;
1568
1623
  }
@@ -1610,10 +1665,13 @@ class Calendar {
1610
1665
  if (typeof this.encodedApplicationContext !== 'undefined') {
1611
1666
  toReturn['encodedApplicationContext'] = this.encodedApplicationContext;
1612
1667
  }
1668
+ if (typeof this.businessName !== 'undefined') {
1669
+ toReturn['businessName'] = this.businessName;
1670
+ }
1613
1671
  return toReturn;
1614
1672
  }
1615
1673
  }
1616
- class Contact {
1674
+ let Contact$1 = class Contact {
1617
1675
  static fromProto(proto) {
1618
1676
  let m = new Contact();
1619
1677
  m = Object.assign(m, proto);
@@ -1656,7 +1714,7 @@ class Contact {
1656
1714
  }
1657
1715
  return toReturn;
1658
1716
  }
1659
- }
1717
+ };
1660
1718
  class EmailsToDelete {
1661
1719
  static fromProto(proto) {
1662
1720
  let m = new EmailsToDelete();
@@ -1870,7 +1928,7 @@ class Preferences {
1870
1928
  m.timezone = TimeZone.fromProto(proto.timezone);
1871
1929
  }
1872
1930
  if (proto.meetingIntegration) {
1873
- m.meetingIntegration = enumStringToValue$a(MeetingSource, proto.meetingIntegration);
1931
+ m.meetingIntegration = enumStringToValue$b(MeetingSource, proto.meetingIntegration);
1874
1932
  }
1875
1933
  if (proto.availabilityIncrement) {
1876
1934
  m.availabilityIncrement = parseInt(proto.availabilityIncrement, 10);
@@ -1885,10 +1943,10 @@ class Preferences {
1885
1943
  m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
1886
1944
  }
1887
1945
  if (proto.calendarIntegration) {
1888
- m.calendarIntegration = enumStringToValue$a(CalendarSource, proto.calendarIntegration);
1946
+ m.calendarIntegration = enumStringToValue$b(CalendarSource, proto.calendarIntegration);
1889
1947
  }
1890
1948
  if (proto.onBoardingState) {
1891
- m.onBoardingState = enumStringToValue$a(OnBoardingState, proto.onBoardingState);
1949
+ m.onBoardingState = enumStringToValue$b(OnBoardingState, proto.onBoardingState);
1892
1950
  }
1893
1951
  return m;
1894
1952
  }
@@ -1960,7 +2018,7 @@ class TimeRange {
1960
2018
  }
1961
2019
  }
1962
2020
 
1963
- function enumStringToValue$9(enumRef, value) {
2021
+ function enumStringToValue$a(enumRef, value) {
1964
2022
  if (typeof value === 'number') {
1965
2023
  return value;
1966
2024
  }
@@ -1996,7 +2054,7 @@ class DateRange {
1996
2054
  }
1997
2055
  }
1998
2056
 
1999
- function enumStringToValue$8(enumRef, value) {
2057
+ function enumStringToValue$9(enumRef, value) {
2000
2058
  if (typeof value === 'number') {
2001
2059
  return value;
2002
2060
  }
@@ -2007,7 +2065,7 @@ class EventTypeDateRange {
2007
2065
  let m = new EventTypeDateRange();
2008
2066
  m = Object.assign(m, proto);
2009
2067
  if (proto.dateRangeType) {
2010
- m.dateRangeType = enumStringToValue$8(DateRangeType, proto.dateRangeType);
2068
+ m.dateRangeType = enumStringToValue$9(DateRangeType, proto.dateRangeType);
2011
2069
  }
2012
2070
  if (proto.customDateRange) {
2013
2071
  m.customDateRange = DateRange.fromProto(proto.customDateRange);
@@ -2042,7 +2100,7 @@ class Field {
2042
2100
  let m = new Field();
2043
2101
  m = Object.assign(m, proto);
2044
2102
  if (proto.type) {
2045
- m.type = enumStringToValue$8(FormFieldType, proto.type);
2103
+ m.type = enumStringToValue$9(FormFieldType, proto.type);
2046
2104
  }
2047
2105
  return m;
2048
2106
  }
@@ -2109,7 +2167,7 @@ class MeetingType {
2109
2167
  m.noticeTime = parseInt(proto.noticeTime, 10);
2110
2168
  }
2111
2169
  if (proto.locationType) {
2112
- m.locationType = enumStringToValue$8(MeetingLocationType, proto.locationType);
2170
+ m.locationType = enumStringToValue$9(MeetingLocationType, proto.locationType);
2113
2171
  }
2114
2172
  if (proto.hostUsers) {
2115
2173
  m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
@@ -2121,7 +2179,7 @@ class MeetingType {
2121
2179
  m.dateRange = EventTypeDateRange.fromProto(proto.dateRange);
2122
2180
  }
2123
2181
  if (proto.meetingType) {
2124
- m.meetingType = enumStringToValue$8(TeamEventMeetingType, proto.meetingType);
2182
+ m.meetingType = enumStringToValue$9(TeamEventMeetingType, proto.meetingType);
2125
2183
  }
2126
2184
  if (proto.attendeeCount) {
2127
2185
  m.attendeeCount = parseInt(proto.attendeeCount, 10);
@@ -2133,7 +2191,7 @@ class MeetingType {
2133
2191
  m.hostOrderDetails = proto.hostOrderDetails.map(HostOrderDetails.fromProto);
2134
2192
  }
2135
2193
  if (proto.notificationType) {
2136
- m.notificationType = enumStringToValue$8(NotificationType, proto.notificationType);
2194
+ m.notificationType = enumStringToValue$9(NotificationType, proto.notificationType);
2137
2195
  }
2138
2196
  return m;
2139
2197
  }
@@ -2244,24 +2302,1145 @@ class MeetingType {
2244
2302
  if (typeof this.isEmailRequired !== 'undefined') {
2245
2303
  toReturn['isEmailRequired'] = this.isEmailRequired;
2246
2304
  }
2247
- if (typeof this.isPhoneNumberRequired !== 'undefined') {
2248
- toReturn['isPhoneNumberRequired'] = this.isPhoneNumberRequired;
2305
+ if (typeof this.isPhoneNumberRequired !== 'undefined') {
2306
+ toReturn['isPhoneNumberRequired'] = this.isPhoneNumberRequired;
2307
+ }
2308
+ if (typeof this.notificationType !== 'undefined') {
2309
+ toReturn['notificationType'] = this.notificationType;
2310
+ }
2311
+ return toReturn;
2312
+ }
2313
+ }
2314
+ class RegistrationCutOff {
2315
+ static fromProto(proto) {
2316
+ let m = new RegistrationCutOff();
2317
+ m = Object.assign(m, proto);
2318
+ if (proto.unit) {
2319
+ m.unit = enumStringToValue$9(RegistrationCutOffUnit, proto.unit);
2320
+ }
2321
+ if (proto.value) {
2322
+ m.value = parseInt(proto.value, 10);
2323
+ }
2324
+ return m;
2325
+ }
2326
+ constructor(kwargs) {
2327
+ if (!kwargs) {
2328
+ return;
2329
+ }
2330
+ Object.assign(this, kwargs);
2331
+ }
2332
+ toApiJson() {
2333
+ const toReturn = {};
2334
+ if (typeof this.unit !== 'undefined') {
2335
+ toReturn['unit'] = this.unit;
2336
+ }
2337
+ if (typeof this.value !== 'undefined') {
2338
+ toReturn['value'] = this.value;
2339
+ }
2340
+ return toReturn;
2341
+ }
2342
+ }
2343
+ class RelativeDateRange {
2344
+ static fromProto(proto) {
2345
+ let m = new RelativeDateRange();
2346
+ m = Object.assign(m, proto);
2347
+ if (proto.unit) {
2348
+ m.unit = enumStringToValue$9(RelativeTimeUnit, proto.unit);
2349
+ }
2350
+ if (proto.value) {
2351
+ m.value = parseInt(proto.value, 10);
2352
+ }
2353
+ return m;
2354
+ }
2355
+ constructor(kwargs) {
2356
+ if (!kwargs) {
2357
+ return;
2358
+ }
2359
+ Object.assign(this, kwargs);
2360
+ }
2361
+ toApiJson() {
2362
+ const toReturn = {};
2363
+ if (typeof this.unit !== 'undefined') {
2364
+ toReturn['unit'] = this.unit;
2365
+ }
2366
+ if (typeof this.value !== 'undefined') {
2367
+ toReturn['value'] = this.value;
2368
+ }
2369
+ return toReturn;
2370
+ }
2371
+ }
2372
+
2373
+ function enumStringToValue$8(enumRef, value) {
2374
+ if (typeof value === 'number') {
2375
+ return value;
2376
+ }
2377
+ return enumRef[value];
2378
+ }
2379
+ class EventGroupAndServiceAssociations {
2380
+ static fromProto(proto) {
2381
+ let m = new EventGroupAndServiceAssociations();
2382
+ m = Object.assign(m, proto);
2383
+ return m;
2384
+ }
2385
+ constructor(kwargs) {
2386
+ if (!kwargs) {
2387
+ return;
2388
+ }
2389
+ Object.assign(this, kwargs);
2390
+ }
2391
+ toApiJson() {
2392
+ const toReturn = {};
2393
+ if (typeof this.id !== 'undefined') {
2394
+ toReturn['id'] = this.id;
2395
+ }
2396
+ if (typeof this.name !== 'undefined') {
2397
+ toReturn['name'] = this.name;
2398
+ }
2399
+ if (typeof this.eventType !== 'undefined') {
2400
+ toReturn['eventType'] = this.eventType;
2401
+ }
2402
+ if (typeof this.identifier !== 'undefined') {
2403
+ toReturn['identifier'] = this.identifier;
2404
+ }
2405
+ if (typeof this.isEditable !== 'undefined') {
2406
+ toReturn['isEditable'] = this.isEditable;
2407
+ }
2408
+ if (typeof this.creatorUserName !== 'undefined') {
2409
+ toReturn['creatorUserName'] = this.creatorUserName;
2410
+ }
2411
+ if (typeof this.calendarId !== 'undefined') {
2412
+ toReturn['calendarId'] = this.calendarId;
2413
+ }
2414
+ if (typeof this.hexColor !== 'undefined') {
2415
+ toReturn['hexColor'] = this.hexColor;
2416
+ }
2417
+ if (typeof this.duration !== 'undefined') {
2418
+ toReturn['duration'] = this.duration;
2419
+ }
2420
+ if (typeof this.description !== 'undefined') {
2421
+ toReturn['description'] = this.description;
2422
+ }
2423
+ if (typeof this.bookingUrl !== 'undefined') {
2424
+ toReturn['bookingUrl'] = this.bookingUrl;
2425
+ }
2426
+ return toReturn;
2427
+ }
2428
+ }
2429
+ class Group {
2430
+ static fromProto(proto) {
2431
+ let m = new Group();
2432
+ m = Object.assign(m, proto);
2433
+ if (proto.associations) {
2434
+ m.associations = proto.associations.map(EventGroupAndServiceAssociations.fromProto);
2435
+ }
2436
+ return m;
2437
+ }
2438
+ constructor(kwargs) {
2439
+ if (!kwargs) {
2440
+ return;
2441
+ }
2442
+ Object.assign(this, kwargs);
2443
+ }
2444
+ toApiJson() {
2445
+ const toReturn = {};
2446
+ if (typeof this.id !== 'undefined') {
2447
+ toReturn['id'] = this.id;
2448
+ }
2449
+ if (typeof this.name !== 'undefined') {
2450
+ toReturn['name'] = this.name;
2451
+ }
2452
+ if (typeof this.description !== 'undefined') {
2453
+ toReturn['description'] = this.description;
2454
+ }
2455
+ if (typeof this.slug !== 'undefined') {
2456
+ toReturn['slug'] = this.slug;
2457
+ }
2458
+ if (typeof this.isPinned !== 'undefined') {
2459
+ toReturn['isPinned'] = this.isPinned;
2460
+ }
2461
+ if (typeof this.associations !== 'undefined' && this.associations !== null) {
2462
+ toReturn['associations'] = 'toApiJson' in this.associations ? this.associations.toApiJson() : this.associations;
2463
+ }
2464
+ if (typeof this.hexColor !== 'undefined') {
2465
+ toReturn['hexColor'] = this.hexColor;
2466
+ }
2467
+ if (typeof this.bookingUrl !== 'undefined') {
2468
+ toReturn['bookingUrl'] = this.bookingUrl;
2469
+ }
2470
+ return toReturn;
2471
+ }
2472
+ }
2473
+ class Service {
2474
+ static fromProto(proto) {
2475
+ let m = new Service();
2476
+ m = Object.assign(m, proto);
2477
+ if (proto.associations) {
2478
+ m.associations = proto.associations.map(EventGroupAndServiceAssociations.fromProto);
2479
+ }
2480
+ return m;
2481
+ }
2482
+ constructor(kwargs) {
2483
+ if (!kwargs) {
2484
+ return;
2485
+ }
2486
+ Object.assign(this, kwargs);
2487
+ }
2488
+ toApiJson() {
2489
+ const toReturn = {};
2490
+ if (typeof this.id !== 'undefined') {
2491
+ toReturn['id'] = this.id;
2492
+ }
2493
+ if (typeof this.name !== 'undefined') {
2494
+ toReturn['name'] = this.name;
2495
+ }
2496
+ if (typeof this.description !== 'undefined') {
2497
+ toReturn['description'] = this.description;
2498
+ }
2499
+ if (typeof this.slug !== 'undefined') {
2500
+ toReturn['slug'] = this.slug;
2501
+ }
2502
+ if (typeof this.isPinned !== 'undefined') {
2503
+ toReturn['isPinned'] = this.isPinned;
2504
+ }
2505
+ if (typeof this.associations !== 'undefined' && this.associations !== null) {
2506
+ toReturn['associations'] = 'toApiJson' in this.associations ? this.associations.toApiJson() : this.associations;
2507
+ }
2508
+ if (typeof this.hexColor !== 'undefined') {
2509
+ toReturn['hexColor'] = this.hexColor;
2510
+ }
2511
+ if (typeof this.bookingUrl !== 'undefined') {
2512
+ toReturn['bookingUrl'] = this.bookingUrl;
2513
+ }
2514
+ return toReturn;
2515
+ }
2516
+ }
2517
+
2518
+ function enumStringToValue$7(enumRef, value) {
2519
+ if (typeof value === 'number') {
2520
+ return value;
2521
+ }
2522
+ return enumRef[value];
2523
+ }
2524
+ class Contact {
2525
+ static fromProto(proto) {
2526
+ let m = new Contact();
2527
+ m = Object.assign(m, proto);
2528
+ return m;
2529
+ }
2530
+ constructor(kwargs) {
2531
+ if (!kwargs) {
2532
+ return;
2533
+ }
2534
+ Object.assign(this, kwargs);
2535
+ }
2536
+ toApiJson() {
2537
+ const toReturn = {};
2538
+ if (typeof this.name !== 'undefined') {
2539
+ toReturn['name'] = this.name;
2540
+ }
2541
+ if (typeof this.url !== 'undefined') {
2542
+ toReturn['url'] = this.url;
2543
+ }
2544
+ if (typeof this.email !== 'undefined') {
2545
+ toReturn['email'] = this.email;
2546
+ }
2547
+ return toReturn;
2548
+ }
2549
+ }
2550
+ class EnumSchema {
2551
+ static fromProto(proto) {
2552
+ let m = new EnumSchema();
2553
+ m = Object.assign(m, proto);
2554
+ if (proto.externalDocs) {
2555
+ m.externalDocs = ExternalDocumentation.fromProto(proto.externalDocs);
2556
+ }
2557
+ if (proto.extensions) {
2558
+ m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
2559
+ }
2560
+ return m;
2561
+ }
2562
+ constructor(kwargs) {
2563
+ if (!kwargs) {
2564
+ return;
2565
+ }
2566
+ Object.assign(this, kwargs);
2567
+ }
2568
+ toApiJson() {
2569
+ const toReturn = {};
2570
+ if (typeof this.description !== 'undefined') {
2571
+ toReturn['description'] = this.description;
2572
+ }
2573
+ if (typeof this.default !== 'undefined') {
2574
+ toReturn['default'] = this.default;
2575
+ }
2576
+ if (typeof this.title !== 'undefined') {
2577
+ toReturn['title'] = this.title;
2578
+ }
2579
+ if (typeof this.required !== 'undefined') {
2580
+ toReturn['required'] = this.required;
2581
+ }
2582
+ if (typeof this.readOnly !== 'undefined') {
2583
+ toReturn['readOnly'] = this.readOnly;
2584
+ }
2585
+ if (typeof this.externalDocs !== 'undefined' && this.externalDocs !== null) {
2586
+ toReturn['externalDocs'] = 'toApiJson' in this.externalDocs ? this.externalDocs.toApiJson() : this.externalDocs;
2587
+ }
2588
+ if (typeof this.example !== 'undefined') {
2589
+ toReturn['example'] = this.example;
2590
+ }
2591
+ if (typeof this.ref !== 'undefined') {
2592
+ toReturn['ref'] = this.ref;
2593
+ }
2594
+ if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
2595
+ toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
2596
+ }
2597
+ return toReturn;
2598
+ }
2599
+ }
2600
+ class ResponseExamplesEntry {
2601
+ static fromProto(proto) {
2602
+ let m = new ResponseExamplesEntry();
2603
+ m = Object.assign(m, proto);
2604
+ return m;
2605
+ }
2606
+ constructor(kwargs) {
2607
+ if (!kwargs) {
2608
+ return;
2609
+ }
2610
+ Object.assign(this, kwargs);
2611
+ }
2612
+ toApiJson() {
2613
+ const toReturn = {};
2614
+ if (typeof this.key !== 'undefined') {
2615
+ toReturn['key'] = this.key;
2616
+ }
2617
+ if (typeof this.value !== 'undefined') {
2618
+ toReturn['value'] = this.value;
2619
+ }
2620
+ return toReturn;
2621
+ }
2622
+ }
2623
+ class ResponseExtensionsEntry {
2624
+ static fromProto(proto) {
2625
+ let m = new ResponseExtensionsEntry();
2626
+ m = Object.assign(m, proto);
2627
+ return m;
2628
+ }
2629
+ constructor(kwargs) {
2630
+ if (!kwargs) {
2631
+ return;
2632
+ }
2633
+ Object.assign(this, kwargs);
2634
+ }
2635
+ toApiJson() {
2636
+ const toReturn = {};
2637
+ if (typeof this.key !== 'undefined') {
2638
+ toReturn['key'] = this.key;
2639
+ }
2640
+ if (typeof this.value !== 'undefined') {
2641
+ toReturn['value'] = this.value;
2642
+ }
2643
+ return toReturn;
2644
+ }
2645
+ }
2646
+ class SwaggerExtensionsEntry {
2647
+ static fromProto(proto) {
2648
+ let m = new SwaggerExtensionsEntry();
2649
+ m = Object.assign(m, proto);
2650
+ return m;
2651
+ }
2652
+ constructor(kwargs) {
2653
+ if (!kwargs) {
2654
+ return;
2655
+ }
2656
+ Object.assign(this, kwargs);
2657
+ }
2658
+ toApiJson() {
2659
+ const toReturn = {};
2660
+ if (typeof this.key !== 'undefined') {
2661
+ toReturn['key'] = this.key;
2662
+ }
2663
+ if (typeof this.value !== 'undefined') {
2664
+ toReturn['value'] = this.value;
2665
+ }
2666
+ return toReturn;
2667
+ }
2668
+ }
2669
+ class SecuritySchemeExtensionsEntry {
2670
+ static fromProto(proto) {
2671
+ let m = new SecuritySchemeExtensionsEntry();
2672
+ m = Object.assign(m, proto);
2673
+ return m;
2674
+ }
2675
+ constructor(kwargs) {
2676
+ if (!kwargs) {
2677
+ return;
2678
+ }
2679
+ Object.assign(this, kwargs);
2680
+ }
2681
+ toApiJson() {
2682
+ const toReturn = {};
2683
+ if (typeof this.key !== 'undefined') {
2684
+ toReturn['key'] = this.key;
2685
+ }
2686
+ if (typeof this.value !== 'undefined') {
2687
+ toReturn['value'] = this.value;
2688
+ }
2689
+ return toReturn;
2690
+ }
2691
+ }
2692
+ class TagExtensionsEntry {
2693
+ static fromProto(proto) {
2694
+ let m = new TagExtensionsEntry();
2695
+ m = Object.assign(m, proto);
2696
+ return m;
2697
+ }
2698
+ constructor(kwargs) {
2699
+ if (!kwargs) {
2700
+ return;
2701
+ }
2702
+ Object.assign(this, kwargs);
2703
+ }
2704
+ toApiJson() {
2705
+ const toReturn = {};
2706
+ if (typeof this.key !== 'undefined') {
2707
+ toReturn['key'] = this.key;
2708
+ }
2709
+ if (typeof this.value !== 'undefined') {
2710
+ toReturn['value'] = this.value;
2711
+ }
2712
+ return toReturn;
2713
+ }
2714
+ }
2715
+ class OperationExtensionsEntry {
2716
+ static fromProto(proto) {
2717
+ let m = new OperationExtensionsEntry();
2718
+ m = Object.assign(m, proto);
2719
+ return m;
2720
+ }
2721
+ constructor(kwargs) {
2722
+ if (!kwargs) {
2723
+ return;
2724
+ }
2725
+ Object.assign(this, kwargs);
2726
+ }
2727
+ toApiJson() {
2728
+ const toReturn = {};
2729
+ if (typeof this.key !== 'undefined') {
2730
+ toReturn['key'] = this.key;
2731
+ }
2732
+ if (typeof this.value !== 'undefined') {
2733
+ toReturn['value'] = this.value;
2734
+ }
2735
+ return toReturn;
2736
+ }
2737
+ }
2738
+ class JSONSchemaExtensionsEntry {
2739
+ static fromProto(proto) {
2740
+ let m = new JSONSchemaExtensionsEntry();
2741
+ m = Object.assign(m, proto);
2742
+ return m;
2743
+ }
2744
+ constructor(kwargs) {
2745
+ if (!kwargs) {
2746
+ return;
2747
+ }
2748
+ Object.assign(this, kwargs);
2749
+ }
2750
+ toApiJson() {
2751
+ const toReturn = {};
2752
+ if (typeof this.key !== 'undefined') {
2753
+ toReturn['key'] = this.key;
2754
+ }
2755
+ if (typeof this.value !== 'undefined') {
2756
+ toReturn['value'] = this.value;
2757
+ }
2758
+ return toReturn;
2759
+ }
2760
+ }
2761
+ class EnumSchemaExtensionsEntry {
2762
+ static fromProto(proto) {
2763
+ let m = new EnumSchemaExtensionsEntry();
2764
+ m = Object.assign(m, proto);
2765
+ return m;
2766
+ }
2767
+ constructor(kwargs) {
2768
+ if (!kwargs) {
2769
+ return;
2770
+ }
2771
+ Object.assign(this, kwargs);
2772
+ }
2773
+ toApiJson() {
2774
+ const toReturn = {};
2775
+ if (typeof this.key !== 'undefined') {
2776
+ toReturn['key'] = this.key;
2777
+ }
2778
+ if (typeof this.value !== 'undefined') {
2779
+ toReturn['value'] = this.value;
2780
+ }
2781
+ return toReturn;
2782
+ }
2783
+ }
2784
+ class InfoExtensionsEntry {
2785
+ static fromProto(proto) {
2786
+ let m = new InfoExtensionsEntry();
2787
+ m = Object.assign(m, proto);
2788
+ return m;
2789
+ }
2790
+ constructor(kwargs) {
2791
+ if (!kwargs) {
2792
+ return;
2793
+ }
2794
+ Object.assign(this, kwargs);
2795
+ }
2796
+ toApiJson() {
2797
+ const toReturn = {};
2798
+ if (typeof this.key !== 'undefined') {
2799
+ toReturn['key'] = this.key;
2800
+ }
2801
+ if (typeof this.value !== 'undefined') {
2802
+ toReturn['value'] = this.value;
2803
+ }
2804
+ return toReturn;
2805
+ }
2806
+ }
2807
+ class ExternalDocumentation {
2808
+ static fromProto(proto) {
2809
+ let m = new ExternalDocumentation();
2810
+ m = Object.assign(m, proto);
2811
+ return m;
2812
+ }
2813
+ constructor(kwargs) {
2814
+ if (!kwargs) {
2815
+ return;
2816
+ }
2817
+ Object.assign(this, kwargs);
2818
+ }
2819
+ toApiJson() {
2820
+ const toReturn = {};
2821
+ if (typeof this.description !== 'undefined') {
2822
+ toReturn['description'] = this.description;
2823
+ }
2824
+ if (typeof this.url !== 'undefined') {
2825
+ toReturn['url'] = this.url;
2826
+ }
2827
+ return toReturn;
2828
+ }
2829
+ }
2830
+ class JSONSchemaFieldConfiguration {
2831
+ static fromProto(proto) {
2832
+ let m = new JSONSchemaFieldConfiguration();
2833
+ m = Object.assign(m, proto);
2834
+ return m;
2835
+ }
2836
+ constructor(kwargs) {
2837
+ if (!kwargs) {
2838
+ return;
2839
+ }
2840
+ Object.assign(this, kwargs);
2841
+ }
2842
+ toApiJson() {
2843
+ const toReturn = {};
2844
+ if (typeof this.pathParamName !== 'undefined') {
2845
+ toReturn['pathParamName'] = this.pathParamName;
2846
+ }
2847
+ if (typeof this.deprecated !== 'undefined') {
2848
+ toReturn['deprecated'] = this.deprecated;
2849
+ }
2850
+ return toReturn;
2851
+ }
2852
+ }
2853
+ class Header {
2854
+ static fromProto(proto) {
2855
+ let m = new Header();
2856
+ m = Object.assign(m, proto);
2857
+ return m;
2858
+ }
2859
+ constructor(kwargs) {
2860
+ if (!kwargs) {
2861
+ return;
2862
+ }
2863
+ Object.assign(this, kwargs);
2864
+ }
2865
+ toApiJson() {
2866
+ const toReturn = {};
2867
+ if (typeof this.description !== 'undefined') {
2868
+ toReturn['description'] = this.description;
2869
+ }
2870
+ if (typeof this.type !== 'undefined') {
2871
+ toReturn['type'] = this.type;
2872
+ }
2873
+ if (typeof this.format !== 'undefined') {
2874
+ toReturn['format'] = this.format;
2875
+ }
2876
+ if (typeof this.default !== 'undefined') {
2877
+ toReturn['default'] = this.default;
2878
+ }
2879
+ if (typeof this.pattern !== 'undefined') {
2880
+ toReturn['pattern'] = this.pattern;
2881
+ }
2882
+ return toReturn;
2883
+ }
2884
+ }
2885
+ class HeaderParameter {
2886
+ static fromProto(proto) {
2887
+ let m = new HeaderParameter();
2888
+ m = Object.assign(m, proto);
2889
+ if (proto.type) {
2890
+ m.type = enumStringToValue$7(HeaderParameterType, proto.type);
2891
+ }
2892
+ return m;
2893
+ }
2894
+ constructor(kwargs) {
2895
+ if (!kwargs) {
2896
+ return;
2897
+ }
2898
+ Object.assign(this, kwargs);
2899
+ }
2900
+ toApiJson() {
2901
+ const toReturn = {};
2902
+ if (typeof this.name !== 'undefined') {
2903
+ toReturn['name'] = this.name;
2904
+ }
2905
+ if (typeof this.description !== 'undefined') {
2906
+ toReturn['description'] = this.description;
2907
+ }
2908
+ if (typeof this.type !== 'undefined') {
2909
+ toReturn['type'] = this.type;
2910
+ }
2911
+ if (typeof this.format !== 'undefined') {
2912
+ toReturn['format'] = this.format;
2913
+ }
2914
+ if (typeof this.required !== 'undefined') {
2915
+ toReturn['required'] = this.required;
2916
+ }
2917
+ return toReturn;
2918
+ }
2919
+ }
2920
+ class ResponseHeadersEntry {
2921
+ static fromProto(proto) {
2922
+ let m = new ResponseHeadersEntry();
2923
+ m = Object.assign(m, proto);
2924
+ if (proto.value) {
2925
+ m.value = Header.fromProto(proto.value);
2926
+ }
2927
+ return m;
2928
+ }
2929
+ constructor(kwargs) {
2930
+ if (!kwargs) {
2931
+ return;
2932
+ }
2933
+ Object.assign(this, kwargs);
2934
+ }
2935
+ toApiJson() {
2936
+ const toReturn = {};
2937
+ if (typeof this.key !== 'undefined') {
2938
+ toReturn['key'] = this.key;
2939
+ }
2940
+ if (typeof this.value !== 'undefined' && this.value !== null) {
2941
+ toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;
2942
+ }
2943
+ return toReturn;
2944
+ }
2945
+ }
2946
+ class Info {
2947
+ static fromProto(proto) {
2948
+ let m = new Info();
2949
+ m = Object.assign(m, proto);
2950
+ if (proto.contact) {
2951
+ m.contact = Contact.fromProto(proto.contact);
2952
+ }
2953
+ if (proto.license) {
2954
+ m.license = License.fromProto(proto.license);
2955
+ }
2956
+ if (proto.extensions) {
2957
+ m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
2958
+ }
2959
+ return m;
2960
+ }
2961
+ constructor(kwargs) {
2962
+ if (!kwargs) {
2963
+ return;
2964
+ }
2965
+ Object.assign(this, kwargs);
2966
+ }
2967
+ toApiJson() {
2968
+ const toReturn = {};
2969
+ if (typeof this.title !== 'undefined') {
2970
+ toReturn['title'] = this.title;
2971
+ }
2972
+ if (typeof this.description !== 'undefined') {
2973
+ toReturn['description'] = this.description;
2974
+ }
2975
+ if (typeof this.termsOfService !== 'undefined') {
2976
+ toReturn['termsOfService'] = this.termsOfService;
2977
+ }
2978
+ if (typeof this.contact !== 'undefined' && this.contact !== null) {
2979
+ toReturn['contact'] = 'toApiJson' in this.contact ? this.contact.toApiJson() : this.contact;
2980
+ }
2981
+ if (typeof this.license !== 'undefined' && this.license !== null) {
2982
+ toReturn['license'] = 'toApiJson' in this.license ? this.license.toApiJson() : this.license;
2983
+ }
2984
+ if (typeof this.version !== 'undefined') {
2985
+ toReturn['version'] = this.version;
2986
+ }
2987
+ if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
2988
+ toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
2989
+ }
2990
+ return toReturn;
2991
+ }
2992
+ }
2993
+ class JSONSchema {
2994
+ static fromProto(proto) {
2995
+ let m = new JSONSchema();
2996
+ m = Object.assign(m, proto);
2997
+ if (proto.maxLength) {
2998
+ m.maxLength = parseInt(proto.maxLength, 10);
2999
+ }
3000
+ if (proto.minLength) {
3001
+ m.minLength = parseInt(proto.minLength, 10);
3002
+ }
3003
+ if (proto.maxItems) {
3004
+ m.maxItems = parseInt(proto.maxItems, 10);
3005
+ }
3006
+ if (proto.minItems) {
3007
+ m.minItems = parseInt(proto.minItems, 10);
3008
+ }
3009
+ if (proto.maxProperties) {
3010
+ m.maxProperties = parseInt(proto.maxProperties, 10);
3011
+ }
3012
+ if (proto.minProperties) {
3013
+ m.minProperties = parseInt(proto.minProperties, 10);
3014
+ }
3015
+ if (proto.type) {
3016
+ m.type = proto.type.map((v) => enumStringToValue$7(JSONSchemaJSONSchemaSimpleTypes, v));
3017
+ }
3018
+ if (proto.fieldConfiguration) {
3019
+ m.fieldConfiguration = JSONSchemaFieldConfiguration.fromProto(proto.fieldConfiguration);
3020
+ }
3021
+ if (proto.extensions) {
3022
+ m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
3023
+ }
3024
+ return m;
3025
+ }
3026
+ constructor(kwargs) {
3027
+ if (!kwargs) {
3028
+ return;
3029
+ }
3030
+ Object.assign(this, kwargs);
3031
+ }
3032
+ toApiJson() {
3033
+ const toReturn = {};
3034
+ if (typeof this.ref !== 'undefined') {
3035
+ toReturn['ref'] = this.ref;
3036
+ }
3037
+ if (typeof this.title !== 'undefined') {
3038
+ toReturn['title'] = this.title;
3039
+ }
3040
+ if (typeof this.description !== 'undefined') {
3041
+ toReturn['description'] = this.description;
3042
+ }
3043
+ if (typeof this.default !== 'undefined') {
3044
+ toReturn['default'] = this.default;
3045
+ }
3046
+ if (typeof this.readOnly !== 'undefined') {
3047
+ toReturn['readOnly'] = this.readOnly;
3048
+ }
3049
+ if (typeof this.example !== 'undefined') {
3050
+ toReturn['example'] = this.example;
3051
+ }
3052
+ if (typeof this.multipleOf !== 'undefined') {
3053
+ toReturn['multipleOf'] = this.multipleOf;
3054
+ }
3055
+ if (typeof this.maximum !== 'undefined') {
3056
+ toReturn['maximum'] = this.maximum;
3057
+ }
3058
+ if (typeof this.exclusiveMaximum !== 'undefined') {
3059
+ toReturn['exclusiveMaximum'] = this.exclusiveMaximum;
3060
+ }
3061
+ if (typeof this.minimum !== 'undefined') {
3062
+ toReturn['minimum'] = this.minimum;
3063
+ }
3064
+ if (typeof this.exclusiveMinimum !== 'undefined') {
3065
+ toReturn['exclusiveMinimum'] = this.exclusiveMinimum;
3066
+ }
3067
+ if (typeof this.maxLength !== 'undefined') {
3068
+ toReturn['maxLength'] = this.maxLength;
3069
+ }
3070
+ if (typeof this.minLength !== 'undefined') {
3071
+ toReturn['minLength'] = this.minLength;
3072
+ }
3073
+ if (typeof this.pattern !== 'undefined') {
3074
+ toReturn['pattern'] = this.pattern;
3075
+ }
3076
+ if (typeof this.maxItems !== 'undefined') {
3077
+ toReturn['maxItems'] = this.maxItems;
3078
+ }
3079
+ if (typeof this.minItems !== 'undefined') {
3080
+ toReturn['minItems'] = this.minItems;
3081
+ }
3082
+ if (typeof this.uniqueItems !== 'undefined') {
3083
+ toReturn['uniqueItems'] = this.uniqueItems;
3084
+ }
3085
+ if (typeof this.maxProperties !== 'undefined') {
3086
+ toReturn['maxProperties'] = this.maxProperties;
3087
+ }
3088
+ if (typeof this.minProperties !== 'undefined') {
3089
+ toReturn['minProperties'] = this.minProperties;
3090
+ }
3091
+ if (typeof this.required !== 'undefined') {
3092
+ toReturn['required'] = this.required;
3093
+ }
3094
+ if (typeof this.array !== 'undefined') {
3095
+ toReturn['array'] = this.array;
3096
+ }
3097
+ if (typeof this.type !== 'undefined') {
3098
+ toReturn['type'] = this.type;
3099
+ }
3100
+ if (typeof this.format !== 'undefined') {
3101
+ toReturn['format'] = this.format;
3102
+ }
3103
+ if (typeof this.enum !== 'undefined') {
3104
+ toReturn['enum'] = this.enum;
3105
+ }
3106
+ if (typeof this.fieldConfiguration !== 'undefined' && this.fieldConfiguration !== null) {
3107
+ toReturn['fieldConfiguration'] = 'toApiJson' in this.fieldConfiguration ? this.fieldConfiguration.toApiJson() : this.fieldConfiguration;
3108
+ }
3109
+ if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
3110
+ toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
3111
+ }
3112
+ return toReturn;
3113
+ }
3114
+ }
3115
+ class License {
3116
+ static fromProto(proto) {
3117
+ let m = new License();
3118
+ m = Object.assign(m, proto);
3119
+ return m;
3120
+ }
3121
+ constructor(kwargs) {
3122
+ if (!kwargs) {
3123
+ return;
3124
+ }
3125
+ Object.assign(this, kwargs);
3126
+ }
3127
+ toApiJson() {
3128
+ const toReturn = {};
3129
+ if (typeof this.name !== 'undefined') {
3130
+ toReturn['name'] = this.name;
3131
+ }
3132
+ if (typeof this.url !== 'undefined') {
3133
+ toReturn['url'] = this.url;
3134
+ }
3135
+ return toReturn;
3136
+ }
3137
+ }
3138
+ class Operation {
3139
+ static fromProto(proto) {
3140
+ let m = new Operation();
3141
+ m = Object.assign(m, proto);
3142
+ if (proto.externalDocs) {
3143
+ m.externalDocs = ExternalDocumentation.fromProto(proto.externalDocs);
3144
+ }
3145
+ if (proto.responses) {
3146
+ m.responses = Object.keys(proto.responses).reduce((obj, k) => { obj[k] = Response.fromProto(proto.responses[k]); return obj; }, {});
3147
+ }
3148
+ if (proto.schemes) {
3149
+ m.schemes = proto.schemes.map((v) => enumStringToValue$7(Scheme, v));
3150
+ }
3151
+ if (proto.security) {
3152
+ m.security = proto.security.map(SecurityRequirement.fromProto);
3153
+ }
3154
+ if (proto.extensions) {
3155
+ m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
3156
+ }
3157
+ if (proto.parameters) {
3158
+ m.parameters = Parameters.fromProto(proto.parameters);
3159
+ }
3160
+ return m;
3161
+ }
3162
+ constructor(kwargs) {
3163
+ if (!kwargs) {
3164
+ return;
3165
+ }
3166
+ Object.assign(this, kwargs);
3167
+ }
3168
+ toApiJson() {
3169
+ const toReturn = {};
3170
+ if (typeof this.tags !== 'undefined') {
3171
+ toReturn['tags'] = this.tags;
3172
+ }
3173
+ if (typeof this.summary !== 'undefined') {
3174
+ toReturn['summary'] = this.summary;
3175
+ }
3176
+ if (typeof this.description !== 'undefined') {
3177
+ toReturn['description'] = this.description;
3178
+ }
3179
+ if (typeof this.externalDocs !== 'undefined' && this.externalDocs !== null) {
3180
+ toReturn['externalDocs'] = 'toApiJson' in this.externalDocs ? this.externalDocs.toApiJson() : this.externalDocs;
3181
+ }
3182
+ if (typeof this.operationId !== 'undefined') {
3183
+ toReturn['operationId'] = this.operationId;
3184
+ }
3185
+ if (typeof this.consumes !== 'undefined') {
3186
+ toReturn['consumes'] = this.consumes;
3187
+ }
3188
+ if (typeof this.produces !== 'undefined') {
3189
+ toReturn['produces'] = this.produces;
3190
+ }
3191
+ if (typeof this.responses !== 'undefined' && this.responses !== null) {
3192
+ toReturn['responses'] = 'toApiJson' in this.responses ? this.responses.toApiJson() : this.responses;
3193
+ }
3194
+ if (typeof this.schemes !== 'undefined') {
3195
+ toReturn['schemes'] = this.schemes;
3196
+ }
3197
+ if (typeof this.deprecated !== 'undefined') {
3198
+ toReturn['deprecated'] = this.deprecated;
3199
+ }
3200
+ if (typeof this.security !== 'undefined' && this.security !== null) {
3201
+ toReturn['security'] = 'toApiJson' in this.security ? this.security.toApiJson() : this.security;
3202
+ }
3203
+ if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
3204
+ toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
3205
+ }
3206
+ if (typeof this.parameters !== 'undefined' && this.parameters !== null) {
3207
+ toReturn['parameters'] = 'toApiJson' in this.parameters ? this.parameters.toApiJson() : this.parameters;
3208
+ }
3209
+ return toReturn;
3210
+ }
3211
+ }
3212
+ class Parameters {
3213
+ static fromProto(proto) {
3214
+ let m = new Parameters();
3215
+ m = Object.assign(m, proto);
3216
+ if (proto.headers) {
3217
+ m.headers = proto.headers.map(HeaderParameter.fromProto);
3218
+ }
3219
+ return m;
3220
+ }
3221
+ constructor(kwargs) {
3222
+ if (!kwargs) {
3223
+ return;
3224
+ }
3225
+ Object.assign(this, kwargs);
3226
+ }
3227
+ toApiJson() {
3228
+ const toReturn = {};
3229
+ if (typeof this.headers !== 'undefined' && this.headers !== null) {
3230
+ toReturn['headers'] = 'toApiJson' in this.headers ? this.headers.toApiJson() : this.headers;
3231
+ }
3232
+ return toReturn;
3233
+ }
3234
+ }
3235
+ class Response {
3236
+ static fromProto(proto) {
3237
+ let m = new Response();
3238
+ m = Object.assign(m, proto);
3239
+ if (proto.schema) {
3240
+ m.schema = Schema.fromProto(proto.schema);
3241
+ }
3242
+ if (proto.headers) {
3243
+ m.headers = Object.keys(proto.headers).reduce((obj, k) => { obj[k] = Header.fromProto(proto.headers[k]); return obj; }, {});
3244
+ }
3245
+ if (proto.examples) {
3246
+ m.examples = Object.keys(proto.examples).reduce((obj, k) => { obj[k] = proto.examples[k]; return obj; }, {});
3247
+ }
3248
+ if (proto.extensions) {
3249
+ m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
3250
+ }
3251
+ return m;
3252
+ }
3253
+ constructor(kwargs) {
3254
+ if (!kwargs) {
3255
+ return;
3256
+ }
3257
+ Object.assign(this, kwargs);
3258
+ }
3259
+ toApiJson() {
3260
+ const toReturn = {};
3261
+ if (typeof this.description !== 'undefined') {
3262
+ toReturn['description'] = this.description;
3263
+ }
3264
+ if (typeof this.schema !== 'undefined' && this.schema !== null) {
3265
+ toReturn['schema'] = 'toApiJson' in this.schema ? this.schema.toApiJson() : this.schema;
3266
+ }
3267
+ if (typeof this.headers !== 'undefined' && this.headers !== null) {
3268
+ toReturn['headers'] = 'toApiJson' in this.headers ? this.headers.toApiJson() : this.headers;
3269
+ }
3270
+ if (typeof this.examples !== 'undefined' && this.examples !== null) {
3271
+ toReturn['examples'] = 'toApiJson' in this.examples ? this.examples.toApiJson() : this.examples;
3272
+ }
3273
+ if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
3274
+ toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
3275
+ }
3276
+ return toReturn;
3277
+ }
3278
+ }
3279
+ class OperationResponsesEntry {
3280
+ static fromProto(proto) {
3281
+ let m = new OperationResponsesEntry();
3282
+ m = Object.assign(m, proto);
3283
+ if (proto.value) {
3284
+ m.value = Response.fromProto(proto.value);
3285
+ }
3286
+ return m;
3287
+ }
3288
+ constructor(kwargs) {
3289
+ if (!kwargs) {
3290
+ return;
3291
+ }
3292
+ Object.assign(this, kwargs);
3293
+ }
3294
+ toApiJson() {
3295
+ const toReturn = {};
3296
+ if (typeof this.key !== 'undefined') {
3297
+ toReturn['key'] = this.key;
3298
+ }
3299
+ if (typeof this.value !== 'undefined' && this.value !== null) {
3300
+ toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;
3301
+ }
3302
+ return toReturn;
3303
+ }
3304
+ }
3305
+ class SwaggerResponsesEntry {
3306
+ static fromProto(proto) {
3307
+ let m = new SwaggerResponsesEntry();
3308
+ m = Object.assign(m, proto);
3309
+ if (proto.value) {
3310
+ m.value = Response.fromProto(proto.value);
3311
+ }
3312
+ return m;
3313
+ }
3314
+ constructor(kwargs) {
3315
+ if (!kwargs) {
3316
+ return;
3317
+ }
3318
+ Object.assign(this, kwargs);
3319
+ }
3320
+ toApiJson() {
3321
+ const toReturn = {};
3322
+ if (typeof this.key !== 'undefined') {
3323
+ toReturn['key'] = this.key;
3324
+ }
3325
+ if (typeof this.value !== 'undefined' && this.value !== null) {
3326
+ toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;
3327
+ }
3328
+ return toReturn;
3329
+ }
3330
+ }
3331
+ class Schema {
3332
+ static fromProto(proto) {
3333
+ let m = new Schema();
3334
+ m = Object.assign(m, proto);
3335
+ if (proto.jsonSchema) {
3336
+ m.jsonSchema = JSONSchema.fromProto(proto.jsonSchema);
3337
+ }
3338
+ if (proto.externalDocs) {
3339
+ m.externalDocs = ExternalDocumentation.fromProto(proto.externalDocs);
3340
+ }
3341
+ return m;
3342
+ }
3343
+ constructor(kwargs) {
3344
+ if (!kwargs) {
3345
+ return;
3346
+ }
3347
+ Object.assign(this, kwargs);
3348
+ }
3349
+ toApiJson() {
3350
+ const toReturn = {};
3351
+ if (typeof this.jsonSchema !== 'undefined' && this.jsonSchema !== null) {
3352
+ toReturn['jsonSchema'] = 'toApiJson' in this.jsonSchema ? this.jsonSchema.toApiJson() : this.jsonSchema;
3353
+ }
3354
+ if (typeof this.discriminator !== 'undefined') {
3355
+ toReturn['discriminator'] = this.discriminator;
3356
+ }
3357
+ if (typeof this.readOnly !== 'undefined') {
3358
+ toReturn['readOnly'] = this.readOnly;
3359
+ }
3360
+ if (typeof this.externalDocs !== 'undefined' && this.externalDocs !== null) {
3361
+ toReturn['externalDocs'] = 'toApiJson' in this.externalDocs ? this.externalDocs.toApiJson() : this.externalDocs;
3362
+ }
3363
+ if (typeof this.example !== 'undefined') {
3364
+ toReturn['example'] = this.example;
3365
+ }
3366
+ return toReturn;
3367
+ }
3368
+ }
3369
+ class ScopesScopeEntry {
3370
+ static fromProto(proto) {
3371
+ let m = new ScopesScopeEntry();
3372
+ m = Object.assign(m, proto);
3373
+ return m;
3374
+ }
3375
+ constructor(kwargs) {
3376
+ if (!kwargs) {
3377
+ return;
3378
+ }
3379
+ Object.assign(this, kwargs);
3380
+ }
3381
+ toApiJson() {
3382
+ const toReturn = {};
3383
+ if (typeof this.key !== 'undefined') {
3384
+ toReturn['key'] = this.key;
3385
+ }
3386
+ if (typeof this.value !== 'undefined') {
3387
+ toReturn['value'] = this.value;
3388
+ }
3389
+ return toReturn;
3390
+ }
3391
+ }
3392
+ class Scopes {
3393
+ static fromProto(proto) {
3394
+ let m = new Scopes();
3395
+ m = Object.assign(m, proto);
3396
+ if (proto.scope) {
3397
+ m.scope = Object.keys(proto.scope).reduce((obj, k) => { obj[k] = proto.scope[k]; return obj; }, {});
3398
+ }
3399
+ return m;
3400
+ }
3401
+ constructor(kwargs) {
3402
+ if (!kwargs) {
3403
+ return;
3404
+ }
3405
+ Object.assign(this, kwargs);
3406
+ }
3407
+ toApiJson() {
3408
+ const toReturn = {};
3409
+ if (typeof this.scope !== 'undefined' && this.scope !== null) {
3410
+ toReturn['scope'] = 'toApiJson' in this.scope ? this.scope.toApiJson() : this.scope;
3411
+ }
3412
+ return toReturn;
3413
+ }
3414
+ }
3415
+ class SecurityDefinitions {
3416
+ static fromProto(proto) {
3417
+ let m = new SecurityDefinitions();
3418
+ m = Object.assign(m, proto);
3419
+ if (proto.security) {
3420
+ m.security = Object.keys(proto.security).reduce((obj, k) => { obj[k] = SecurityScheme.fromProto(proto.security[k]); return obj; }, {});
3421
+ }
3422
+ return m;
3423
+ }
3424
+ constructor(kwargs) {
3425
+ if (!kwargs) {
3426
+ return;
2249
3427
  }
2250
- if (typeof this.notificationType !== 'undefined') {
2251
- toReturn['notificationType'] = this.notificationType;
3428
+ Object.assign(this, kwargs);
3429
+ }
3430
+ toApiJson() {
3431
+ const toReturn = {};
3432
+ if (typeof this.security !== 'undefined' && this.security !== null) {
3433
+ toReturn['security'] = 'toApiJson' in this.security ? this.security.toApiJson() : this.security;
2252
3434
  }
2253
3435
  return toReturn;
2254
3436
  }
2255
3437
  }
2256
- class RegistrationCutOff {
3438
+ class SecurityDefinitionsSecurityEntry {
2257
3439
  static fromProto(proto) {
2258
- let m = new RegistrationCutOff();
3440
+ let m = new SecurityDefinitionsSecurityEntry();
2259
3441
  m = Object.assign(m, proto);
2260
- if (proto.unit) {
2261
- m.unit = enumStringToValue$8(RegistrationCutOffUnit, proto.unit);
2262
- }
2263
3442
  if (proto.value) {
2264
- m.value = parseInt(proto.value, 10);
3443
+ m.value = SecurityScheme.fromProto(proto.value);
2265
3444
  }
2266
3445
  return m;
2267
3446
  }
@@ -2273,24 +3452,44 @@ class RegistrationCutOff {
2273
3452
  }
2274
3453
  toApiJson() {
2275
3454
  const toReturn = {};
2276
- if (typeof this.unit !== 'undefined') {
2277
- toReturn['unit'] = this.unit;
3455
+ if (typeof this.key !== 'undefined') {
3456
+ toReturn['key'] = this.key;
2278
3457
  }
2279
- if (typeof this.value !== 'undefined') {
2280
- toReturn['value'] = this.value;
3458
+ if (typeof this.value !== 'undefined' && this.value !== null) {
3459
+ toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;
2281
3460
  }
2282
3461
  return toReturn;
2283
3462
  }
2284
3463
  }
2285
- class RelativeDateRange {
3464
+ class SecurityRequirement {
2286
3465
  static fromProto(proto) {
2287
- let m = new RelativeDateRange();
3466
+ let m = new SecurityRequirement();
2288
3467
  m = Object.assign(m, proto);
2289
- if (proto.unit) {
2290
- m.unit = enumStringToValue$8(RelativeTimeUnit, proto.unit);
3468
+ if (proto.securityRequirement) {
3469
+ m.securityRequirement = Object.keys(proto.securityRequirement).reduce((obj, k) => { obj[k] = SecurityRequirementSecurityRequirementValue.fromProto(proto.securityRequirement[k]); return obj; }, {});
3470
+ }
3471
+ return m;
3472
+ }
3473
+ constructor(kwargs) {
3474
+ if (!kwargs) {
3475
+ return;
2291
3476
  }
3477
+ Object.assign(this, kwargs);
3478
+ }
3479
+ toApiJson() {
3480
+ const toReturn = {};
3481
+ if (typeof this.securityRequirement !== 'undefined' && this.securityRequirement !== null) {
3482
+ toReturn['securityRequirement'] = 'toApiJson' in this.securityRequirement ? this.securityRequirement.toApiJson() : this.securityRequirement;
3483
+ }
3484
+ return toReturn;
3485
+ }
3486
+ }
3487
+ class SecurityRequirementSecurityRequirementEntry {
3488
+ static fromProto(proto) {
3489
+ let m = new SecurityRequirementSecurityRequirementEntry();
3490
+ m = Object.assign(m, proto);
2292
3491
  if (proto.value) {
2293
- m.value = parseInt(proto.value, 10);
3492
+ m.value = SecurityRequirementSecurityRequirementValue.fromProto(proto.value);
2294
3493
  }
2295
3494
  return m;
2296
3495
  }
@@ -2302,25 +3501,18 @@ class RelativeDateRange {
2302
3501
  }
2303
3502
  toApiJson() {
2304
3503
  const toReturn = {};
2305
- if (typeof this.unit !== 'undefined') {
2306
- toReturn['unit'] = this.unit;
3504
+ if (typeof this.key !== 'undefined') {
3505
+ toReturn['key'] = this.key;
2307
3506
  }
2308
- if (typeof this.value !== 'undefined') {
2309
- toReturn['value'] = this.value;
3507
+ if (typeof this.value !== 'undefined' && this.value !== null) {
3508
+ toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;
2310
3509
  }
2311
3510
  return toReturn;
2312
3511
  }
2313
3512
  }
2314
-
2315
- function enumStringToValue$7(enumRef, value) {
2316
- if (typeof value === 'number') {
2317
- return value;
2318
- }
2319
- return enumRef[value];
2320
- }
2321
- class EventGroupAndServiceAssociations {
3513
+ class SecurityRequirementSecurityRequirementValue {
2322
3514
  static fromProto(proto) {
2323
- let m = new EventGroupAndServiceAssociations();
3515
+ let m = new SecurityRequirementSecurityRequirementValue();
2324
3516
  m = Object.assign(m, proto);
2325
3517
  return m;
2326
3518
  }
@@ -2332,48 +3524,98 @@ class EventGroupAndServiceAssociations {
2332
3524
  }
2333
3525
  toApiJson() {
2334
3526
  const toReturn = {};
2335
- if (typeof this.id !== 'undefined') {
2336
- toReturn['id'] = this.id;
2337
- }
2338
- if (typeof this.name !== 'undefined') {
2339
- toReturn['name'] = this.name;
3527
+ if (typeof this.scope !== 'undefined') {
3528
+ toReturn['scope'] = this.scope;
2340
3529
  }
2341
- if (typeof this.eventType !== 'undefined') {
2342
- toReturn['eventType'] = this.eventType;
3530
+ return toReturn;
3531
+ }
3532
+ }
3533
+ class SecurityScheme {
3534
+ static fromProto(proto) {
3535
+ let m = new SecurityScheme();
3536
+ m = Object.assign(m, proto);
3537
+ if (proto.type) {
3538
+ m.type = enumStringToValue$7(SecuritySchemeType, proto.type);
2343
3539
  }
2344
- if (typeof this.identifier !== 'undefined') {
2345
- toReturn['identifier'] = this.identifier;
3540
+ if (proto.in) {
3541
+ m.in = enumStringToValue$7(SecuritySchemeIn, proto.in);
2346
3542
  }
2347
- if (typeof this.isEditable !== 'undefined') {
2348
- toReturn['isEditable'] = this.isEditable;
3543
+ if (proto.flow) {
3544
+ m.flow = enumStringToValue$7(SecuritySchemeFlow, proto.flow);
2349
3545
  }
2350
- if (typeof this.creatorUserName !== 'undefined') {
2351
- toReturn['creatorUserName'] = this.creatorUserName;
3546
+ if (proto.scopes) {
3547
+ m.scopes = Scopes.fromProto(proto.scopes);
2352
3548
  }
2353
- if (typeof this.calendarId !== 'undefined') {
2354
- toReturn['calendarId'] = this.calendarId;
3549
+ if (proto.extensions) {
3550
+ m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
2355
3551
  }
2356
- if (typeof this.hexColor !== 'undefined') {
2357
- toReturn['hexColor'] = this.hexColor;
3552
+ return m;
3553
+ }
3554
+ constructor(kwargs) {
3555
+ if (!kwargs) {
3556
+ return;
2358
3557
  }
2359
- if (typeof this.duration !== 'undefined') {
2360
- toReturn['duration'] = this.duration;
3558
+ Object.assign(this, kwargs);
3559
+ }
3560
+ toApiJson() {
3561
+ const toReturn = {};
3562
+ if (typeof this.type !== 'undefined') {
3563
+ toReturn['type'] = this.type;
2361
3564
  }
2362
3565
  if (typeof this.description !== 'undefined') {
2363
3566
  toReturn['description'] = this.description;
2364
3567
  }
2365
- if (typeof this.bookingUrl !== 'undefined') {
2366
- toReturn['bookingUrl'] = this.bookingUrl;
3568
+ if (typeof this.name !== 'undefined') {
3569
+ toReturn['name'] = this.name;
3570
+ }
3571
+ if (typeof this.in !== 'undefined') {
3572
+ toReturn['in'] = this.in;
3573
+ }
3574
+ if (typeof this.flow !== 'undefined') {
3575
+ toReturn['flow'] = this.flow;
3576
+ }
3577
+ if (typeof this.authorizationUrl !== 'undefined') {
3578
+ toReturn['authorizationUrl'] = this.authorizationUrl;
3579
+ }
3580
+ if (typeof this.tokenUrl !== 'undefined') {
3581
+ toReturn['tokenUrl'] = this.tokenUrl;
3582
+ }
3583
+ if (typeof this.scopes !== 'undefined' && this.scopes !== null) {
3584
+ toReturn['scopes'] = 'toApiJson' in this.scopes ? this.scopes.toApiJson() : this.scopes;
3585
+ }
3586
+ if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
3587
+ toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
2367
3588
  }
2368
3589
  return toReturn;
2369
3590
  }
2370
3591
  }
2371
- class Group {
3592
+ class Swagger {
2372
3593
  static fromProto(proto) {
2373
- let m = new Group();
3594
+ let m = new Swagger();
2374
3595
  m = Object.assign(m, proto);
2375
- if (proto.associations) {
2376
- m.associations = proto.associations.map(EventGroupAndServiceAssociations.fromProto);
3596
+ if (proto.info) {
3597
+ m.info = Info.fromProto(proto.info);
3598
+ }
3599
+ if (proto.schemes) {
3600
+ m.schemes = proto.schemes.map((v) => enumStringToValue$7(Scheme, v));
3601
+ }
3602
+ if (proto.responses) {
3603
+ m.responses = Object.keys(proto.responses).reduce((obj, k) => { obj[k] = Response.fromProto(proto.responses[k]); return obj; }, {});
3604
+ }
3605
+ if (proto.securityDefinitions) {
3606
+ m.securityDefinitions = SecurityDefinitions.fromProto(proto.securityDefinitions);
3607
+ }
3608
+ if (proto.security) {
3609
+ m.security = proto.security.map(SecurityRequirement.fromProto);
3610
+ }
3611
+ if (proto.tags) {
3612
+ m.tags = proto.tags.map(Tag.fromProto);
3613
+ }
3614
+ if (proto.externalDocs) {
3615
+ m.externalDocs = ExternalDocumentation.fromProto(proto.externalDocs);
3616
+ }
3617
+ if (proto.extensions) {
3618
+ m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
2377
3619
  }
2378
3620
  return m;
2379
3621
  }
@@ -2385,39 +3627,57 @@ class Group {
2385
3627
  }
2386
3628
  toApiJson() {
2387
3629
  const toReturn = {};
2388
- if (typeof this.id !== 'undefined') {
2389
- toReturn['id'] = this.id;
3630
+ if (typeof this.swagger !== 'undefined') {
3631
+ toReturn['swagger'] = this.swagger;
2390
3632
  }
2391
- if (typeof this.name !== 'undefined') {
2392
- toReturn['name'] = this.name;
3633
+ if (typeof this.info !== 'undefined' && this.info !== null) {
3634
+ toReturn['info'] = 'toApiJson' in this.info ? this.info.toApiJson() : this.info;
2393
3635
  }
2394
- if (typeof this.description !== 'undefined') {
2395
- toReturn['description'] = this.description;
3636
+ if (typeof this.host !== 'undefined') {
3637
+ toReturn['host'] = this.host;
2396
3638
  }
2397
- if (typeof this.slug !== 'undefined') {
2398
- toReturn['slug'] = this.slug;
3639
+ if (typeof this.basePath !== 'undefined') {
3640
+ toReturn['basePath'] = this.basePath;
2399
3641
  }
2400
- if (typeof this.isPinned !== 'undefined') {
2401
- toReturn['isPinned'] = this.isPinned;
3642
+ if (typeof this.schemes !== 'undefined') {
3643
+ toReturn['schemes'] = this.schemes;
2402
3644
  }
2403
- if (typeof this.associations !== 'undefined' && this.associations !== null) {
2404
- toReturn['associations'] = 'toApiJson' in this.associations ? this.associations.toApiJson() : this.associations;
3645
+ if (typeof this.consumes !== 'undefined') {
3646
+ toReturn['consumes'] = this.consumes;
2405
3647
  }
2406
- if (typeof this.hexColor !== 'undefined') {
2407
- toReturn['hexColor'] = this.hexColor;
3648
+ if (typeof this.produces !== 'undefined') {
3649
+ toReturn['produces'] = this.produces;
2408
3650
  }
2409
- if (typeof this.bookingUrl !== 'undefined') {
2410
- toReturn['bookingUrl'] = this.bookingUrl;
3651
+ if (typeof this.responses !== 'undefined' && this.responses !== null) {
3652
+ toReturn['responses'] = 'toApiJson' in this.responses ? this.responses.toApiJson() : this.responses;
3653
+ }
3654
+ if (typeof this.securityDefinitions !== 'undefined' && this.securityDefinitions !== null) {
3655
+ toReturn['securityDefinitions'] = 'toApiJson' in this.securityDefinitions ? this.securityDefinitions.toApiJson() : this.securityDefinitions;
3656
+ }
3657
+ if (typeof this.security !== 'undefined' && this.security !== null) {
3658
+ toReturn['security'] = 'toApiJson' in this.security ? this.security.toApiJson() : this.security;
3659
+ }
3660
+ if (typeof this.tags !== 'undefined' && this.tags !== null) {
3661
+ toReturn['tags'] = 'toApiJson' in this.tags ? this.tags.toApiJson() : this.tags;
3662
+ }
3663
+ if (typeof this.externalDocs !== 'undefined' && this.externalDocs !== null) {
3664
+ toReturn['externalDocs'] = 'toApiJson' in this.externalDocs ? this.externalDocs.toApiJson() : this.externalDocs;
3665
+ }
3666
+ if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
3667
+ toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
2411
3668
  }
2412
3669
  return toReturn;
2413
3670
  }
2414
3671
  }
2415
- class Service {
3672
+ class Tag {
2416
3673
  static fromProto(proto) {
2417
- let m = new Service();
3674
+ let m = new Tag();
2418
3675
  m = Object.assign(m, proto);
2419
- if (proto.associations) {
2420
- m.associations = proto.associations.map(EventGroupAndServiceAssociations.fromProto);
3676
+ if (proto.externalDocs) {
3677
+ m.externalDocs = ExternalDocumentation.fromProto(proto.externalDocs);
3678
+ }
3679
+ if (proto.extensions) {
3680
+ m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
2421
3681
  }
2422
3682
  return m;
2423
3683
  }
@@ -2429,29 +3689,17 @@ class Service {
2429
3689
  }
2430
3690
  toApiJson() {
2431
3691
  const toReturn = {};
2432
- if (typeof this.id !== 'undefined') {
2433
- toReturn['id'] = this.id;
2434
- }
2435
3692
  if (typeof this.name !== 'undefined') {
2436
3693
  toReturn['name'] = this.name;
2437
3694
  }
2438
3695
  if (typeof this.description !== 'undefined') {
2439
3696
  toReturn['description'] = this.description;
2440
3697
  }
2441
- if (typeof this.slug !== 'undefined') {
2442
- toReturn['slug'] = this.slug;
2443
- }
2444
- if (typeof this.isPinned !== 'undefined') {
2445
- toReturn['isPinned'] = this.isPinned;
2446
- }
2447
- if (typeof this.associations !== 'undefined' && this.associations !== null) {
2448
- toReturn['associations'] = 'toApiJson' in this.associations ? this.associations.toApiJson() : this.associations;
2449
- }
2450
- if (typeof this.hexColor !== 'undefined') {
2451
- toReturn['hexColor'] = this.hexColor;
3698
+ if (typeof this.externalDocs !== 'undefined' && this.externalDocs !== null) {
3699
+ toReturn['externalDocs'] = 'toApiJson' in this.externalDocs ? this.externalDocs.toApiJson() : this.externalDocs;
2452
3700
  }
2453
- if (typeof this.bookingUrl !== 'undefined') {
2454
- toReturn['bookingUrl'] = this.bookingUrl;
3701
+ if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
3702
+ toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
2455
3703
  }
2456
3704
  return toReturn;
2457
3705
  }
@@ -2531,6 +3779,9 @@ class BookMeetingRequest {
2531
3779
  if (typeof this.bookingSource !== 'undefined') {
2532
3780
  toReturn['bookingSource'] = this.bookingSource;
2533
3781
  }
3782
+ if (typeof this.hasSmsConsent !== 'undefined') {
3783
+ toReturn['hasSmsConsent'] = this.hasSmsConsent;
3784
+ }
2534
3785
  return toReturn;
2535
3786
  }
2536
3787
  }
@@ -3600,8 +4851,8 @@ class AvailableTimeSlotsRequest {
3600
4851
  }
3601
4852
  toApiJson() {
3602
4853
  const toReturn = {};
3603
- if (typeof this.namespace !== 'undefined') {
3604
- toReturn['namespace'] = this.namespace;
4854
+ if (typeof this.businessId !== 'undefined') {
4855
+ toReturn['businessId'] = this.businessId;
3605
4856
  }
3606
4857
  if (typeof this.eventTypeId !== 'undefined') {
3607
4858
  toReturn['eventTypeId'] = this.eventTypeId;
@@ -3664,8 +4915,8 @@ class BookMeetingExternalRequest {
3664
4915
  }
3665
4916
  toApiJson() {
3666
4917
  const toReturn = {};
3667
- if (typeof this.namespace !== 'undefined') {
3668
- toReturn['namespace'] = this.namespace;
4918
+ if (typeof this.businessId !== 'undefined') {
4919
+ toReturn['businessId'] = this.businessId;
3669
4920
  }
3670
4921
  if (typeof this.eventTypeId !== 'undefined') {
3671
4922
  toReturn['eventTypeId'] = this.eventTypeId;
@@ -3701,9 +4952,6 @@ class BookMeetingExternalResponse {
3701
4952
  if (proto.meetingEndTime) {
3702
4953
  m.meetingEndTime = new Date(proto.meetingEndTime);
3703
4954
  }
3704
- if (proto.hostDetails) {
3705
- m.hostDetails = proto.hostDetails.map(HostUserDetails.fromProto);
3706
- }
3707
4955
  return m;
3708
4956
  }
3709
4957
  constructor(kwargs) {
@@ -3735,21 +4983,6 @@ class BookMeetingExternalResponse {
3735
4983
  if (typeof this.location !== 'undefined') {
3736
4984
  toReturn['location'] = this.location;
3737
4985
  }
3738
- if (typeof this.hostDetails !== 'undefined' && this.hostDetails !== null) {
3739
- toReturn['hostDetails'] = 'toApiJson' in this.hostDetails ? this.hostDetails.toApiJson() : this.hostDetails;
3740
- }
3741
- if (typeof this.bookingUrl !== 'undefined') {
3742
- toReturn['bookingUrl'] = this.bookingUrl;
3743
- }
3744
- if (typeof this.cancelUrl !== 'undefined') {
3745
- toReturn['cancelUrl'] = this.cancelUrl;
3746
- }
3747
- if (typeof this.rescheduleUrl !== 'undefined') {
3748
- toReturn['rescheduleUrl'] = this.rescheduleUrl;
3749
- }
3750
- if (typeof this.meetingLink !== 'undefined') {
3751
- toReturn['meetingLink'] = this.meetingLink;
3752
- }
3753
4986
  if (typeof this.attendeeEmails !== 'undefined') {
3754
4987
  toReturn['attendeeEmails'] = this.attendeeEmails;
3755
4988
  }
@@ -3764,7 +4997,7 @@ class EventType {
3764
4997
  m.locationType = enumStringToValue$5(MeetingLocationType, proto.locationType);
3765
4998
  }
3766
4999
  if (proto.hostUsers) {
3767
- m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
5000
+ m.hostUsers = proto.hostUsers.map(UserResponse.fromProto);
3768
5001
  }
3769
5002
  if (proto.bookingWindow) {
3770
5003
  m.bookingWindow = EventTypeDateRange.fromProto(proto.bookingWindow);
@@ -3850,8 +5083,8 @@ class ExternalCancelMeetingRequest {
3850
5083
  }
3851
5084
  toApiJson() {
3852
5085
  const toReturn = {};
3853
- if (typeof this.namespace !== 'undefined') {
3854
- toReturn['namespace'] = this.namespace;
5086
+ if (typeof this.businessId !== 'undefined') {
5087
+ toReturn['businessId'] = this.businessId;
3855
5088
  }
3856
5089
  if (typeof this.meetingId !== 'undefined') {
3857
5090
  toReturn['meetingId'] = this.meetingId;
@@ -3882,8 +5115,8 @@ class ExternalRescheduleMeetingRequest {
3882
5115
  }
3883
5116
  toApiJson() {
3884
5117
  const toReturn = {};
3885
- if (typeof this.namespace !== 'undefined') {
3886
- toReturn['namespace'] = this.namespace;
5118
+ if (typeof this.businessId !== 'undefined') {
5119
+ toReturn['businessId'] = this.businessId;
3887
5120
  }
3888
5121
  if (typeof this.meetingId !== 'undefined') {
3889
5122
  toReturn['meetingId'] = this.meetingId;
@@ -3910,9 +5143,6 @@ class ExternalRescheduleMeetingResponse {
3910
5143
  if (proto.endTime) {
3911
5144
  m.endTime = new Date(proto.endTime);
3912
5145
  }
3913
- if (proto.hostDetails) {
3914
- m.hostDetails = proto.hostDetails.map(HostUserDetails.fromProto);
3915
- }
3916
5146
  return m;
3917
5147
  }
3918
5148
  constructor(kwargs) {
@@ -3932,9 +5162,6 @@ class ExternalRescheduleMeetingResponse {
3932
5162
  if (typeof this.endTime !== 'undefined' && this.endTime !== null) {
3933
5163
  toReturn['endTime'] = 'toApiJson' in this.endTime ? this.endTime.toApiJson() : this.endTime;
3934
5164
  }
3935
- if (typeof this.hostDetails !== 'undefined' && this.hostDetails !== null) {
3936
- toReturn['hostDetails'] = 'toApiJson' in this.hostDetails ? this.hostDetails.toApiJson() : this.hostDetails;
3937
- }
3938
5165
  if (typeof this.eventTypeId !== 'undefined') {
3939
5166
  toReturn['eventTypeId'] = this.eventTypeId;
3940
5167
  }
@@ -3944,18 +5171,6 @@ class ExternalRescheduleMeetingResponse {
3944
5171
  if (typeof this.location !== 'undefined') {
3945
5172
  toReturn['location'] = this.location;
3946
5173
  }
3947
- if (typeof this.meetingUrl !== 'undefined') {
3948
- toReturn['meetingUrl'] = this.meetingUrl;
3949
- }
3950
- if (typeof this.bookingUrl !== 'undefined') {
3951
- toReturn['bookingUrl'] = this.bookingUrl;
3952
- }
3953
- if (typeof this.rescheduleUrl !== 'undefined') {
3954
- toReturn['rescheduleUrl'] = this.rescheduleUrl;
3955
- }
3956
- if (typeof this.cancelUrl !== 'undefined') {
3957
- toReturn['cancelUrl'] = this.cancelUrl;
3958
- }
3959
5174
  return toReturn;
3960
5175
  }
3961
5176
  }
@@ -3963,9 +5178,6 @@ class GetUsersRequest {
3963
5178
  static fromProto(proto) {
3964
5179
  let m = new GetUsersRequest();
3965
5180
  m = Object.assign(m, proto);
3966
- if (proto.pagedRequestOptions) {
3967
- m.pagedRequestOptions = PagedRequestOptions.fromProto(proto.pagedRequestOptions);
3968
- }
3969
5181
  return m;
3970
5182
  }
3971
5183
  constructor(kwargs) {
@@ -3976,11 +5188,8 @@ class GetUsersRequest {
3976
5188
  }
3977
5189
  toApiJson() {
3978
5190
  const toReturn = {};
3979
- if (typeof this.namespace !== 'undefined') {
3980
- toReturn['namespace'] = this.namespace;
3981
- }
3982
- if (typeof this.pagedRequestOptions !== 'undefined' && this.pagedRequestOptions !== null) {
3983
- toReturn['pagedRequestOptions'] = 'toApiJson' in this.pagedRequestOptions ? this.pagedRequestOptions.toApiJson() : this.pagedRequestOptions;
5191
+ if (typeof this.businessId !== 'undefined') {
5192
+ toReturn['businessId'] = this.businessId;
3984
5193
  }
3985
5194
  return toReturn;
3986
5195
  }
@@ -3992,9 +5201,6 @@ class GetUsersResponse {
3992
5201
  if (proto.users) {
3993
5202
  m.users = proto.users.map(UserResponse.fromProto);
3994
5203
  }
3995
- if (proto.pagedResponseMetadata) {
3996
- m.pagedResponseMetadata = PagedResponseMetadata.fromProto(proto.pagedResponseMetadata);
3997
- }
3998
5204
  return m;
3999
5205
  }
4000
5206
  constructor(kwargs) {
@@ -4008,9 +5214,6 @@ class GetUsersResponse {
4008
5214
  if (typeof this.users !== 'undefined' && this.users !== null) {
4009
5215
  toReturn['users'] = 'toApiJson' in this.users ? this.users.toApiJson() : this.users;
4010
5216
  }
4011
- if (typeof this.pagedResponseMetadata !== 'undefined' && this.pagedResponseMetadata !== null) {
4012
- toReturn['pagedResponseMetadata'] = 'toApiJson' in this.pagedResponseMetadata ? this.pagedResponseMetadata.toApiJson() : this.pagedResponseMetadata;
4013
- }
4014
5217
  return toReturn;
4015
5218
  }
4016
5219
  }
@@ -4060,8 +5263,8 @@ class GroupsRequest {
4060
5263
  }
4061
5264
  toApiJson() {
4062
5265
  const toReturn = {};
4063
- if (typeof this.namespace !== 'undefined') {
4064
- toReturn['namespace'] = this.namespace;
5266
+ if (typeof this.businessId !== 'undefined') {
5267
+ toReturn['businessId'] = this.businessId;
4065
5268
  }
4066
5269
  return toReturn;
4067
5270
  }
@@ -4129,8 +5332,8 @@ class ListTeamEventTypesRequest {
4129
5332
  }
4130
5333
  toApiJson() {
4131
5334
  const toReturn = {};
4132
- if (typeof this.namespace !== 'undefined') {
4133
- toReturn['namespace'] = this.namespace;
5335
+ if (typeof this.businessId !== 'undefined') {
5336
+ toReturn['businessId'] = this.businessId;
4134
5337
  }
4135
5338
  if (typeof this.cursor !== 'undefined') {
4136
5339
  toReturn['cursor'] = this.cursor;
@@ -4184,8 +5387,8 @@ class ListUserEventTypesRequest {
4184
5387
  }
4185
5388
  toApiJson() {
4186
5389
  const toReturn = {};
4187
- if (typeof this.namespace !== 'undefined') {
4188
- toReturn['namespace'] = this.namespace;
5390
+ if (typeof this.businessId !== 'undefined') {
5391
+ toReturn['businessId'] = this.businessId;
4189
5392
  }
4190
5393
  if (typeof this.userId !== 'undefined') {
4191
5394
  toReturn['userId'] = this.userId;
@@ -4262,8 +5465,8 @@ class ServicesRequest {
4262
5465
  }
4263
5466
  toApiJson() {
4264
5467
  const toReturn = {};
4265
- if (typeof this.namespace !== 'undefined') {
4266
- toReturn['namespace'] = this.namespace;
5468
+ if (typeof this.businessId !== 'undefined') {
5469
+ toReturn['businessId'] = this.businessId;
4267
5470
  }
4268
5471
  return toReturn;
4269
5472
  }
@@ -4311,8 +5514,8 @@ class UserResponse {
4311
5514
  if (typeof this.displayName !== 'undefined') {
4312
5515
  toReturn['displayName'] = this.displayName;
4313
5516
  }
4314
- if (typeof this.isConfigured !== 'undefined') {
4315
- toReturn['isConfigured'] = this.isConfigured;
5517
+ if (typeof this.isConnected !== 'undefined') {
5518
+ toReturn['isConnected'] = this.isConnected;
4316
5519
  }
4317
5520
  return toReturn;
4318
5521
  }
@@ -5206,6 +6409,21 @@ class EventTypeSummary {
5206
6409
  if (proto.duration) {
5207
6410
  m.duration = parseInt(proto.duration, 10);
5208
6411
  }
6412
+ if (proto.calendarType) {
6413
+ m.calendarType = enumStringToValue$3(CalendarType, proto.calendarType);
6414
+ }
6415
+ if (proto.locationType) {
6416
+ m.locationType = enumStringToValue$3(MeetingLocationType, proto.locationType);
6417
+ }
6418
+ if (proto.meetingType) {
6419
+ m.meetingType = enumStringToValue$3(TeamEventMeetingType, proto.meetingType);
6420
+ }
6421
+ if (proto.hostUsers) {
6422
+ m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
6423
+ }
6424
+ if (proto.dateRange) {
6425
+ m.dateRange = EventTypeDateRange.fromProto(proto.dateRange);
6426
+ }
5209
6427
  return m;
5210
6428
  }
5211
6429
  constructor(kwargs) {
@@ -5237,8 +6455,8 @@ class EventTypeSummary {
5237
6455
  if (typeof this.location !== 'undefined') {
5238
6456
  toReturn['location'] = this.location;
5239
6457
  }
5240
- if (typeof this.category !== 'undefined') {
5241
- toReturn['category'] = this.category;
6458
+ if (typeof this.calendarType !== 'undefined') {
6459
+ toReturn['calendarType'] = this.calendarType;
5242
6460
  }
5243
6461
  if (typeof this.teamName !== 'undefined') {
5244
6462
  toReturn['teamName'] = this.teamName;
@@ -5246,6 +6464,24 @@ class EventTypeSummary {
5246
6464
  if (typeof this.calendarId !== 'undefined') {
5247
6465
  toReturn['calendarId'] = this.calendarId;
5248
6466
  }
6467
+ if (typeof this.locationType !== 'undefined') {
6468
+ toReturn['locationType'] = this.locationType;
6469
+ }
6470
+ if (typeof this.meetingType !== 'undefined') {
6471
+ toReturn['meetingType'] = this.meetingType;
6472
+ }
6473
+ if (typeof this.hostUsers !== 'undefined' && this.hostUsers !== null) {
6474
+ toReturn['hostUsers'] = 'toApiJson' in this.hostUsers ? this.hostUsers.toApiJson() : this.hostUsers;
6475
+ }
6476
+ if (typeof this.dateRange !== 'undefined' && this.dateRange !== null) {
6477
+ toReturn['dateRange'] = 'toApiJson' in this.dateRange ? this.dateRange.toApiJson() : this.dateRange;
6478
+ }
6479
+ if (typeof this.locationGuidelines !== 'undefined') {
6480
+ toReturn['locationGuidelines'] = this.locationGuidelines;
6481
+ }
6482
+ if (typeof this.description !== 'undefined') {
6483
+ toReturn['description'] = this.description;
6484
+ }
5249
6485
  return toReturn;
5250
6486
  }
5251
6487
  }
@@ -5582,7 +6818,7 @@ class HostBookMeetingRequest {
5582
6818
  m.timeSlot = DateRange.fromProto(proto.timeSlot);
5583
6819
  }
5584
6820
  if (proto.attendees) {
5585
- m.attendees = proto.attendees.map(Contact.fromProto);
6821
+ m.attendees = proto.attendees.map(Contact$1.fromProto);
5586
6822
  }
5587
6823
  if (proto.bookingSource) {
5588
6824
  m.bookingSource = enumStringToValue$3(BookingSource, proto.bookingSource);
@@ -8390,6 +9626,7 @@ function CalendarFromApi(calendarAPI) {
8390
9626
  hostUserIds: calendarAPI.hostUserIds || [],
8391
9627
  applicationContext: calendarAPI.applicationContext || {},
8392
9628
  encodedApplicationContext: '',
9629
+ businessName: calendarAPI.businessName || '',
8393
9630
  };
8394
9631
  }
8395
9632
  // From meetings/internal/meetingscheduler/calendar/model.go
@@ -9258,5 +10495,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
9258
10495
  * Generated bundle index. Do not edit.
9259
10496
  */
9260
10497
 
9261
- export { BookingSource, CalendarSource, CalendarType, CheckFeatureFlagRequest, CheckFeatureFlagResponse, Contact, CreateCalendarRequest, CreateCalendarResponse, DateRangeType, DayOfWeek, FeatureFlagFieldType, FormFieldType, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, MeetingLocation, MeetingLocationType, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceOrigin, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, NotificationType, OnBoardingState, PagedResponse, RegistrationCutOffUnit, RelativeTimeUnit, TeamEventMeetingType, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
10498
+ export { BookingSource, CalendarSource, CalendarType, CheckFeatureFlagRequest, CheckFeatureFlagResponse, Contact$1 as Contact, CreateCalendarRequest, CreateCalendarResponse, DateRangeType, DayOfWeek, FeatureFlagFieldType, FormFieldType, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, MeetingLocation, MeetingLocationType, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceOrigin, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, NotificationType, OnBoardingState, PagedResponse, RegistrationCutOffUnit, RelativeTimeUnit, TeamEventMeetingType, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
9262
10499
  //# sourceMappingURL=vendasta-meetings.mjs.map