@pexip-engage-public/graphql 1.0.55 → 1.0.56

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.
package/dist/schema.d.ts CHANGED
@@ -103,6 +103,7 @@ export type AllowedPluginDomainsEnterpriseSetting = {
103
103
  /** The domains on which the plugin can be integrated. */
104
104
  value: Array<Scalars['String']['output']>;
105
105
  };
106
+ export type AnonymizableEntity = 'CUSTOMER';
106
107
  export type AnswerOption = {
107
108
  createdAt: Scalars['ISO8601']['output'];
108
109
  deletedAt?: Maybe<Scalars['ISO8601']['output']>;
@@ -115,16 +116,11 @@ export type AnswerOption = {
115
116
  updatedAt: Scalars['ISO8601']['output'];
116
117
  value?: Maybe<Scalars['String']['output']>;
117
118
  };
118
- export type AnswerOptionCreateInput = {
119
- externalId?: InputMaybe<Scalars['String']['input']>;
120
- order?: InputMaybe<Scalars['Int']['input']>;
121
- translations: AnswerOptionTranslationsCreateInput;
122
- value?: InputMaybe<Scalars['String']['input']>;
123
- };
124
119
  export type AnswerOptionPatchInput = {
125
120
  externalId?: InputMaybe<Scalars['String']['input']>;
121
+ id?: InputMaybe<Scalars['ID']['input']>;
126
122
  order?: InputMaybe<Scalars['Int']['input']>;
127
- translations?: InputMaybe<AnswerOptionTranslationsPatchInput>;
123
+ translations: AnswerOptionTranslationsCreateInput;
128
124
  value?: InputMaybe<Scalars['String']['input']>;
129
125
  };
130
126
  export type AnswerOptionTranslations = {
@@ -133,9 +129,6 @@ export type AnswerOptionTranslations = {
133
129
  export type AnswerOptionTranslationsCreateInput = {
134
130
  label: Array<TranslationObjectInput>;
135
131
  };
136
- export type AnswerOptionTranslationsPatchInput = {
137
- label?: InputMaybe<Array<TranslationObjectInput>>;
138
- };
139
132
  export type ApiClient = {
140
133
  clientId: Scalars['String']['output'];
141
134
  };
@@ -210,11 +203,16 @@ export type Appointment = {
210
203
  updatedBy?: Maybe<AppointmentActor>;
211
204
  updatedByType: UserType;
212
205
  updatedFrom: AppointmentSource;
206
+ /** Indicates if the appointment will sent out notifications and reminders to participants. */
207
+ userCommunication: AppointmentUserCommunication;
213
208
  };
214
209
  export type AppointmentAppointmentParticipantsArgs = {
215
210
  role?: InputMaybe<ParticipantRole>;
216
211
  type?: InputMaybe<ParticipantType>;
217
212
  };
213
+ export type AppointmentAcceptInput = {
214
+ userCommunication?: InputMaybe<AppointmentUserCommunicationInput>;
215
+ };
218
216
  export type AppointmentActor = Customer | Employee | {
219
217
  __typename?: "%other";
220
218
  };
@@ -246,12 +244,14 @@ export type AppointmentAutoAcceptEnterpriseSetting = {
246
244
  export type AppointmentCancelInput = {
247
245
  answers?: InputMaybe<Array<AppointmentAnswerInput>>;
248
246
  messageForCustomer?: InputMaybe<Scalars['String']['input']>;
247
+ userCommunication?: InputMaybe<AppointmentUserCommunicationInput>;
249
248
  };
250
249
  export type AppointmentCompleteInput = {
251
250
  answers?: InputMaybe<Array<AppointmentAnswerInput>>;
252
251
  end?: InputMaybe<Scalars['ISO8601']['input']>;
253
252
  noShow?: InputMaybe<Scalars['Boolean']['input']>;
254
253
  start?: InputMaybe<Scalars['ISO8601']['input']>;
254
+ userCommunication?: InputMaybe<AppointmentUserCommunicationInput>;
255
255
  };
256
256
  export type AppointmentCompletionAllowedDaysBeforeStartEnterpriseSetting = {
257
257
  createdAt: Scalars['ISO8601']['output'];
@@ -289,6 +289,7 @@ export type AppointmentCreateInput = {
289
289
  listingId?: InputMaybe<Scalars['ID']['input']>;
290
290
  location?: InputMaybe<LocationInput>;
291
291
  meetingRoomId?: InputMaybe<Scalars['ID']['input']>;
292
+ meetingRoomMinimumCapacity?: InputMaybe<Scalars['Int']['input']>;
292
293
  meetingType: MeetingType;
293
294
  messageForCustomer?: InputMaybe<Scalars['String']['input']>;
294
295
  metadata?: InputMaybe<Scalars['JSONObject']['input']>;
@@ -296,6 +297,7 @@ export type AppointmentCreateInput = {
296
297
  start: Scalars['ISO8601']['input'];
297
298
  subjectId: Scalars['ID']['input'];
298
299
  trailingBufferTime?: InputMaybe<Scalars['Int']['input']>;
300
+ userCommunication?: InputMaybe<AppointmentUserCommunicationInput>;
299
301
  };
300
302
  export type AppointmentCrossOfficeParticipantSelectionEnabledEnterpriseSetting = {
301
303
  createdAt: Scalars['ISO8601']['output'];
@@ -347,6 +349,7 @@ export type AppointmentInviteInput = {
347
349
  officeId: Scalars['ID']['input'];
348
350
  subjectId: Scalars['ID']['input'];
349
351
  trailingBufferTime?: InputMaybe<Scalars['Int']['input']>;
352
+ userCommunication?: InputMaybe<AppointmentUserCommunicationInput>;
350
353
  };
351
354
  export type AppointmentLatestPossibleEnterpriseSetting = {
352
355
  createdAt: Scalars['ISO8601']['output'];
@@ -396,20 +399,27 @@ export type AppointmentPatchInput = {
396
399
  location?: InputMaybe<LocationInput>;
397
400
  meetingRoomId?: InputMaybe<Scalars['ID']['input']>;
398
401
  metadata?: InputMaybe<Scalars['JSONObject']['input']>;
402
+ userCommunication?: InputMaybe<AppointmentUserCommunicationInput>;
399
403
  };
400
404
  export type AppointmentReassignInput = {
401
405
  messageForCustomer?: InputMaybe<Scalars['String']['input']>;
402
406
  officeId: Scalars['ID']['input'];
403
407
  primaryEmployeeId: Scalars['ID']['input'];
408
+ userCommunication?: InputMaybe<AppointmentUserCommunicationInput>;
409
+ };
410
+ export type AppointmentReopenInput = {
411
+ userCommunication?: InputMaybe<AppointmentUserCommunicationInput>;
404
412
  };
405
413
  export type AppointmentRequestRescheduleInput = {
406
414
  messageForCustomer?: InputMaybe<Scalars['String']['input']>;
415
+ userCommunication?: InputMaybe<AppointmentUserCommunicationInput>;
407
416
  };
408
417
  export type AppointmentRescheduleInput = {
409
418
  answers?: InputMaybe<Array<AppointmentAnswerInput>>;
410
419
  end: Scalars['ISO8601']['input'];
411
420
  messageForCustomer?: InputMaybe<Scalars['String']['input']>;
412
421
  start: Scalars['ISO8601']['input'];
422
+ userCommunication?: InputMaybe<AppointmentUserCommunicationInput>;
413
423
  };
414
424
  export type AppointmentSort = {
415
425
  direction: SortDirection;
@@ -437,6 +447,16 @@ export type AppointmentTravelBufferTimeEnterpriseSetting = {
437
447
  /** The default travel buffer time after an appointment. */
438
448
  value: Scalars['Int']['output'];
439
449
  };
450
+ export type AppointmentUserCommunication = {
451
+ notifications: AppointmentUserCommunicationSettingValue;
452
+ reminders: AppointmentUserCommunicationSettingValue;
453
+ };
454
+ export type AppointmentUserCommunicationInput = {
455
+ notifications?: InputMaybe<AppointmentUserCommunicationSettingValue>;
456
+ notificationsOverrideCurrentAction?: InputMaybe<AppointmentUserCommunicationSettingValue>;
457
+ reminders?: InputMaybe<AppointmentUserCommunicationSettingValue>;
458
+ };
459
+ export type AppointmentUserCommunicationSettingValue = 'DEFAULT' | 'DISABLED';
440
460
  export type AuditLog = {
441
461
  action: Scalars['String']['output'];
442
462
  actorEmployeeId?: Maybe<Scalars['ID']['output']>;
@@ -832,6 +852,14 @@ export type DailyAvailabilityInsight = {
832
852
  externalCalendarUnavailabilityMinutes: Scalars['Int']['output'];
833
853
  officeId: Scalars['ID']['output'];
834
854
  };
855
+ export type DataRetentionDurationEnterpriseSetting = {
856
+ createdAt: Scalars['ISO8601']['output'];
857
+ /** Indicates if the enterprise setting can be managed by an administrator of the enterprise. Non-manageable settings can only be modified by Pexip Engage Support. */
858
+ manageable: Scalars['Boolean']['output'];
859
+ updatedAt: Scalars['ISO8601']['output'];
860
+ /** The duration in minutes stale data is retained before it is anonymized. */
861
+ value: Scalars['Int']['output'];
862
+ };
835
863
  export type DataSelectedSessionEvent = {
836
864
  application: SessionEventApplication;
837
865
  payload: DataSelectedSessionEventPayload;
@@ -862,6 +890,14 @@ export type DataShownSessionEventPayload = {
862
890
  subjectGroup?: InputMaybe<SubjectGroupDataShownSessionEventPayload>;
863
891
  timetable?: InputMaybe<TimetableDataShownSessionEventPayload>;
864
892
  };
893
+ export type DataToAnonymizeEnterpriseSetting = {
894
+ createdAt: Scalars['ISO8601']['output'];
895
+ /** Indicates if the enterprise setting can be managed by an administrator of the enterprise. Non-manageable settings can only be modified by Pexip Engage Support. */
896
+ manageable: Scalars['Boolean']['output'];
897
+ updatedAt: Scalars['ISO8601']['output'];
898
+ /** List of entities that should be considered for anonymization. */
899
+ value: Array<AnonymizableEntity>;
900
+ };
865
901
  export type DayOfWeek = 'FRIDAY' | 'MONDAY' | 'SATURDAY' | 'SUNDAY' | 'THURSDAY' | 'TUESDAY' | 'WEDNESDAY';
866
902
  export type DefaultCallbackRequestFormIdEnterpriseSetting = {
867
903
  createdAt: Scalars['ISO8601']['output'];
@@ -1107,7 +1143,7 @@ export type EmployeeCreateInput = {
1107
1143
  communicationEmail?: InputMaybe<Scalars['String']['input']>;
1108
1144
  email: Scalars['String']['input'];
1109
1145
  externalId?: InputMaybe<Scalars['String']['input']>;
1110
- firstName?: InputMaybe<Scalars['String']['input']>;
1146
+ firstName: Scalars['String']['input'];
1111
1147
  language?: InputMaybe<Language>;
1112
1148
  languageExpertise?: InputMaybe<Array<Language>>;
1113
1149
  lastName: Scalars['String']['input'];
@@ -1234,6 +1270,10 @@ export type EnterpriseSettings = {
1234
1270
  customerNotificationSettings: CustomerNotificationSettingsEnterpriseSetting;
1235
1271
  /** The settings used to calculate which reminders should be sent to the customer. */
1236
1272
  customerReminderSettings: CustomerReminderSettingsEnterpriseSetting;
1273
+ /** The duration in minutes stale data is retained before it is anonymized. */
1274
+ dataRetentionDuration: DataRetentionDurationEnterpriseSetting;
1275
+ /** List of entities that should be considered for anonymization. */
1276
+ dataToAnonymize: DataToAnonymizeEnterpriseSetting;
1237
1277
  defaultCallbackRequestForm?: Maybe<Form>;
1238
1278
  /** The default form to be used when creating a callback request. */
1239
1279
  defaultCallbackRequestFormId: DefaultCallbackRequestFormIdEnterpriseSetting;
@@ -1342,6 +1382,10 @@ export type EnterpriseSettingsPatchInput = {
1342
1382
  customerNotificationSettings?: InputMaybe<CustomerNotificationSettingsInput>;
1343
1383
  /** The settings used to calculate which reminders should be sent to the customer. */
1344
1384
  customerReminderSettings?: InputMaybe<CustomerReminderSettingsInput>;
1385
+ /** The duration in minutes stale data is retained before it is anonymized. */
1386
+ dataRetentionDuration?: InputMaybe<DataRetentionDurationInput>;
1387
+ /** List of entities that should be considered for anonymization. */
1388
+ dataToAnonymize?: InputMaybe<DataToAnonymizeInput>;
1345
1389
  /** The default form to be used when creating a callback request. */
1346
1390
  defaultCallbackRequestFormId?: InputMaybe<DefaultCallbackRequestFormIdInput>;
1347
1391
  /** The default country used wherever no country is provided. */
@@ -2169,7 +2213,7 @@ export type MaxConcurrentAppointmentsEnterpriseSetting = {
2169
2213
  };
2170
2214
  export type MeetingRoom = {
2171
2215
  active: Scalars['Boolean']['output'];
2172
- capacity?: Maybe<Scalars['Int']['output']>;
2216
+ capacity: Scalars['Int']['output'];
2173
2217
  createdAt: Scalars['ISO8601']['output'];
2174
2218
  deletedAt?: Maybe<Scalars['ISO8601']['output']>;
2175
2219
  email: Scalars['String']['output'];
@@ -2181,6 +2225,7 @@ export type MeetingRoom = {
2181
2225
  name: Scalars['String']['output'];
2182
2226
  offices: Array<Office>;
2183
2227
  provider: ExternalCalendarProvider;
2228
+ schedulingSettings: Array<MeetingRoomSchedulingSetting>;
2184
2229
  timeZone: Scalars['String']['output'];
2185
2230
  updatedAt: Scalars['ISO8601']['output'];
2186
2231
  };
@@ -2235,6 +2280,14 @@ export type MeetingRoomEventEdge = {
2235
2280
  export type MeetingRoomPatchInput = {
2236
2281
  active?: InputMaybe<Scalars['Boolean']['input']>;
2237
2282
  };
2283
+ export type MeetingRoomSchedulingSetting = {
2284
+ meetingRoom: MeetingRoom;
2285
+ meetingType: MeetingType;
2286
+ };
2287
+ export type MeetingRoomSchedulingSettingInput = {
2288
+ meetingType: MeetingType;
2289
+ };
2290
+ export type MeetingRoomSelection = 'IF_AVAILABLE' | 'NO_MEETING_ROOM' | 'REQUIRED';
2238
2291
  export type MeetingRoomSort = {
2239
2292
  direction: SortDirection;
2240
2293
  field: SortableMeetingRoomFields;
@@ -2294,7 +2347,6 @@ export type Mutation = {
2294
2347
  anonymizeCustomer: Customer;
2295
2348
  cancelAppointment: Appointment;
2296
2349
  completeAppointment: Appointment;
2297
- createAnswerOption: AnswerOption;
2298
2350
  createAppliedTemplate: AppliedTemplate;
2299
2351
  createAppointment: Appointment;
2300
2352
  createAppointmentConfirmedSessionEvent: Scalars['Boolean']['output'];
@@ -2339,10 +2391,8 @@ export type Mutation = {
2339
2391
  createUnavailability: Unavailability;
2340
2392
  createUploadFileLink: FileCreateUploadLinkResult;
2341
2393
  createVPaaSMeeting: PexipVPaaSParticipant;
2342
- createValidator: Validator;
2343
2394
  createWebhookConfiguration: WebhookConfiguration;
2344
2395
  createWebhookConfigurationHeaders: Array<WebhookConfigurationHeader>;
2345
- deleteAnswerOption: AnswerOption;
2346
2396
  deleteAppliedTemplate: AppliedTemplate;
2347
2397
  deleteAvailabilityTemplate: AvailabilityTemplate;
2348
2398
  deleteAvailabilityTimeRange: AvailabilityTimeRange;
@@ -2364,7 +2414,6 @@ export type Mutation = {
2364
2414
  deleteSubject: Subject;
2365
2415
  deleteSubjectGroup: SubjectGroup;
2366
2416
  deleteUnavailability: Unavailability;
2367
- deleteValidator: Validator;
2368
2417
  deleteWebhookConfiguration: WebhookConfiguration;
2369
2418
  deleteWebhookConfigurationHeaders: Array<WebhookConfigurationHeader>;
2370
2419
  disconnectExternalCalendarAccount: ExternalCalendarAccount;
@@ -2373,7 +2422,6 @@ export type Mutation = {
2373
2422
  generateAppointmentOffice365CalendarUrl: Scalars['String']['output'];
2374
2423
  generateLocalizedPluginUrl: Scalars['String']['output'];
2375
2424
  generateVideoUrl: Scalars['String']['output'];
2376
- patchAnswerOption: AnswerOption;
2377
2425
  patchAppointment: Appointment;
2378
2426
  patchAvailabilityTemplate: AvailabilityTemplate;
2379
2427
  patchAvailabilityTimeRange: AvailabilityTimeRange;
@@ -2404,7 +2452,6 @@ export type Mutation = {
2404
2452
  patchSubject: Subject;
2405
2453
  patchSubjectGroup: SubjectGroup;
2406
2454
  patchTextMessageTemplate: TextMessageTemplate;
2407
- patchValidator: Validator;
2408
2455
  patchVideoURLTemplate: VideoUrlTemplate;
2409
2456
  patchWebhookConfiguration: WebhookConfiguration;
2410
2457
  patchWebhookConfigurationHeaders: Array<WebhookConfigurationHeader>;
@@ -2415,6 +2462,7 @@ export type Mutation = {
2415
2462
  putLeadSegmentSchedulingSettings: Array<LeadSegmentSchedulingSetting>;
2416
2463
  putListingSchedulingSettings: ListingSchedulingSetting;
2417
2464
  putListingTimeSlot: ListingTimeSlot;
2465
+ putMeetingRoomSchedulingSettings: Array<MeetingRoomSchedulingSetting>;
2418
2466
  putOfficeEmployeeCoverageRegionSchedulingSettings: Array<OfficeEmployeeCoverageRegionSchedulingSetting>;
2419
2467
  putOfficeEmployeeSubjectCoverageRegionSchedulingSettings: Array<OfficeEmployeeSubjectCoverageRegionSchedulingSetting>;
2420
2468
  putOfficeRelationsForOffice: Array<GroupedOfficeRelation>;
@@ -2442,6 +2490,7 @@ export type Mutation = {
2442
2490
  renderExampleListingTimeSlotCalendarEventTemplate: CalendarEventTemplateRender;
2443
2491
  renderExternalCalendarAccountBrokenEmailTemplate: EmailTemplateRender;
2444
2492
  renderListingTimeSlotCalendarEventTemplate: CalendarEventTemplateRender;
2493
+ renderWebhookDeliveryFailEmailTemplate: EmailTemplateRender;
2445
2494
  reopenAppointment: Appointment;
2446
2495
  replayFailedWebhooks: Scalars['Int']['output'];
2447
2496
  replayWebhook: Scalars['Boolean']['output'];
@@ -2471,6 +2520,7 @@ export type Mutation = {
2471
2520
  upsertOfficeRelation: GroupedOfficeRelation;
2472
2521
  };
2473
2522
  export type MutationAcceptAppointmentArgs = {
2523
+ appointmentAcceptInput: AppointmentAcceptInput;
2474
2524
  id: Scalars['ID']['input'];
2475
2525
  };
2476
2526
  export type MutationActivateEmployeeArgs = {
@@ -2492,10 +2542,6 @@ export type MutationCompleteAppointmentArgs = {
2492
2542
  appointmentCompleteInput: AppointmentCompleteInput;
2493
2543
  id: Scalars['ID']['input'];
2494
2544
  };
2495
- export type MutationCreateAnswerOptionArgs = {
2496
- answerOptionCreateInput: AnswerOptionCreateInput;
2497
- questionId: Scalars['ID']['input'];
2498
- };
2499
2545
  export type MutationCreateAppliedTemplateArgs = {
2500
2546
  availabilityTemplateId: Scalars['ID']['input'];
2501
2547
  input: AppliedTemplateCreateInput;
@@ -2630,10 +2676,6 @@ export type MutationCreateUploadFileLinkArgs = {
2630
2676
  export type MutationCreateVPaaSMeetingArgs = {
2631
2677
  token: Scalars['String']['input'];
2632
2678
  };
2633
- export type MutationCreateValidatorArgs = {
2634
- questionId: Scalars['ID']['input'];
2635
- validatorCreateInput: ValidatorCreateInput;
2636
- };
2637
2679
  export type MutationCreateWebhookConfigurationArgs = {
2638
2680
  input: WebhookConfigurationCreateInput;
2639
2681
  };
@@ -2641,9 +2683,6 @@ export type MutationCreateWebhookConfigurationHeadersArgs = {
2641
2683
  input: Array<WebhookConfigurationHeaderCreateInput>;
2642
2684
  webhookConfigurationId: Scalars['ID']['input'];
2643
2685
  };
2644
- export type MutationDeleteAnswerOptionArgs = {
2645
- id: Scalars['ID']['input'];
2646
- };
2647
2686
  export type MutationDeleteAppliedTemplateArgs = {
2648
2687
  id: Scalars['ID']['input'];
2649
2688
  };
@@ -2706,9 +2745,6 @@ export type MutationDeleteSubjectGroupArgs = {
2706
2745
  export type MutationDeleteUnavailabilityArgs = {
2707
2746
  id: Scalars['ID']['input'];
2708
2747
  };
2709
- export type MutationDeleteValidatorArgs = {
2710
- id: Scalars['ID']['input'];
2711
- };
2712
2748
  export type MutationDeleteWebhookConfigurationArgs = {
2713
2749
  id: Scalars['ID']['input'];
2714
2750
  };
@@ -2735,10 +2771,6 @@ export type MutationGenerateVideoUrlArgs = {
2735
2771
  testUrl?: InputMaybe<Scalars['Boolean']['input']>;
2736
2772
  token: Scalars['String']['input'];
2737
2773
  };
2738
- export type MutationPatchAnswerOptionArgs = {
2739
- answerOptionPatchInput: AnswerOptionPatchInput;
2740
- id: Scalars['ID']['input'];
2741
- };
2742
2774
  export type MutationPatchAppointmentArgs = {
2743
2775
  appointmentPatchInput: AppointmentPatchInput;
2744
2776
  id: Scalars['ID']['input'];
@@ -2855,10 +2887,6 @@ export type MutationPatchTextMessageTemplateArgs = {
2855
2887
  id: Scalars['ID']['input'];
2856
2888
  input: TextMessageTemplatePatchInput;
2857
2889
  };
2858
- export type MutationPatchValidatorArgs = {
2859
- id: Scalars['ID']['input'];
2860
- validatorPatchInput: ValidatorPatchInput;
2861
- };
2862
2890
  export type MutationPatchVideoUrlTemplateArgs = {
2863
2891
  id: Scalars['ID']['input'];
2864
2892
  input: VideoUrlTemplatePatchInput;
@@ -2899,6 +2927,10 @@ export type MutationPutListingTimeSlotArgs = {
2899
2927
  id: Scalars['ID']['input'];
2900
2928
  listingTimeSlotPutInput: ListingTimeSlotPutInput;
2901
2929
  };
2930
+ export type MutationPutMeetingRoomSchedulingSettingsArgs = {
2931
+ meetingRoomId: Scalars['ID']['input'];
2932
+ meetingRoomSchedulingSettingInput: Array<MeetingRoomSchedulingSettingInput>;
2933
+ };
2902
2934
  export type MutationPutOfficeEmployeeCoverageRegionSchedulingSettingsArgs = {
2903
2935
  employeeId: Scalars['ID']['input'];
2904
2936
  officeId: Scalars['ID']['input'];
@@ -3008,7 +3040,11 @@ export type MutationRenderListingTimeSlotCalendarEventTemplateArgs = {
3008
3040
  employeeId: Scalars['ID']['input'];
3009
3041
  listingTimeSlotId: Scalars['ID']['input'];
3010
3042
  };
3043
+ export type MutationRenderWebhookDeliveryFailEmailTemplateArgs = {
3044
+ webhookDeliveryId: Scalars['String']['input'];
3045
+ };
3011
3046
  export type MutationReopenAppointmentArgs = {
3047
+ appointmentReopenInput: AppointmentReopenInput;
3012
3048
  id: Scalars['ID']['input'];
3013
3049
  };
3014
3050
  export type MutationReplayFailedWebhooksArgs = {
@@ -3346,6 +3382,7 @@ export type Query = {
3346
3382
  questions: Array<Question>;
3347
3383
  regions: RegionConnection;
3348
3384
  schedulableEmployees: Array<Employee>;
3385
+ schedulableMeetingRooms: Array<MeetingRoom>;
3349
3386
  schedulableMeetingTypes: Array<MeetingType>;
3350
3387
  schedulableOffices: Array<Office>;
3351
3388
  schedulableSubjects: Array<Subject>;
@@ -3366,8 +3403,8 @@ export type Query = {
3366
3403
  timetable: Timetable;
3367
3404
  treeListRegions: Array<Region>;
3368
3405
  unavailability: UnavailabilityConnection;
3406
+ validateTimetableSlot: ValidatedTimetableSlot;
3369
3407
  validator: Validator;
3370
- validators: Array<Validator>;
3371
3408
  videoURLTemplate: VideoUrlTemplate;
3372
3409
  videoURLTemplates: Array<VideoUrlTemplate>;
3373
3410
  webhookConfiguration: WebhookConfiguration;
@@ -3785,7 +3822,7 @@ export type QueryMeetingRoomAvailabilityArgs = {
3785
3822
  end: Scalars['ISO8601']['input'];
3786
3823
  exclude?: InputMaybe<Array<Scalars['ID']['input']>>;
3787
3824
  first?: InputMaybe<Scalars['Int']['input']>;
3788
- id: Array<Scalars['ID']['input']>;
3825
+ id?: InputMaybe<Array<Scalars['ID']['input']>>;
3789
3826
  last?: InputMaybe<Scalars['Int']['input']>;
3790
3827
  search?: InputMaybe<Scalars['String']['input']>;
3791
3828
  start: Scalars['ISO8601']['input'];
@@ -3881,6 +3918,28 @@ export type QuerySchedulableEmployeesArgs = {
3881
3918
  listingExternalId?: InputMaybe<Scalars['String']['input']>;
3882
3919
  listingId?: InputMaybe<Scalars['ID']['input']>;
3883
3920
  location?: InputMaybe<GeolocationInput>;
3921
+ meetingRoomIds?: InputMaybe<Array<Scalars['ID']['input']>>;
3922
+ meetingRoomMinimumCapacity?: InputMaybe<Scalars['Int']['input']>;
3923
+ meetingTypes?: InputMaybe<Array<MeetingType>>;
3924
+ officeExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
3925
+ officeIds?: InputMaybe<Array<Scalars['ID']['input']>>;
3926
+ orderByDistanceTo?: InputMaybe<GeolocationInput>;
3927
+ subjectExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
3928
+ subjectGroupExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
3929
+ subjectGroupIds?: InputMaybe<Array<Scalars['ID']['input']>>;
3930
+ subjectIds?: InputMaybe<Array<Scalars['ID']['input']>>;
3931
+ };
3932
+ export type QuerySchedulableMeetingRoomsArgs = {
3933
+ employeeExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
3934
+ employeeIds?: InputMaybe<Array<Scalars['ID']['input']>>;
3935
+ employeeLanguages?: InputMaybe<Array<Language>>;
3936
+ leadSegmentCode?: InputMaybe<Scalars['String']['input']>;
3937
+ leadSegmentId?: InputMaybe<Scalars['ID']['input']>;
3938
+ listingExternalId?: InputMaybe<Scalars['String']['input']>;
3939
+ listingId?: InputMaybe<Scalars['ID']['input']>;
3940
+ location?: InputMaybe<GeolocationInput>;
3941
+ meetingRoomIds?: InputMaybe<Array<Scalars['ID']['input']>>;
3942
+ meetingRoomMinimumCapacity?: InputMaybe<Scalars['Int']['input']>;
3884
3943
  meetingTypes?: InputMaybe<Array<MeetingType>>;
3885
3944
  officeExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
3886
3945
  officeIds?: InputMaybe<Array<Scalars['ID']['input']>>;
@@ -3899,6 +3958,8 @@ export type QuerySchedulableMeetingTypesArgs = {
3899
3958
  listingExternalId?: InputMaybe<Scalars['String']['input']>;
3900
3959
  listingId?: InputMaybe<Scalars['ID']['input']>;
3901
3960
  location?: InputMaybe<GeolocationInput>;
3961
+ meetingRoomIds?: InputMaybe<Array<Scalars['ID']['input']>>;
3962
+ meetingRoomMinimumCapacity?: InputMaybe<Scalars['Int']['input']>;
3902
3963
  meetingTypes?: InputMaybe<Array<MeetingType>>;
3903
3964
  officeExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
3904
3965
  officeIds?: InputMaybe<Array<Scalars['ID']['input']>>;
@@ -3917,6 +3978,8 @@ export type QuerySchedulableOfficesArgs = {
3917
3978
  listingExternalId?: InputMaybe<Scalars['String']['input']>;
3918
3979
  listingId?: InputMaybe<Scalars['ID']['input']>;
3919
3980
  location?: InputMaybe<GeolocationInput>;
3981
+ meetingRoomIds?: InputMaybe<Array<Scalars['ID']['input']>>;
3982
+ meetingRoomMinimumCapacity?: InputMaybe<Scalars['Int']['input']>;
3920
3983
  meetingTypes?: InputMaybe<Array<MeetingType>>;
3921
3984
  officeExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
3922
3985
  officeIds?: InputMaybe<Array<Scalars['ID']['input']>>;
@@ -3935,6 +3998,8 @@ export type QuerySchedulableSubjectsArgs = {
3935
3998
  listingExternalId?: InputMaybe<Scalars['String']['input']>;
3936
3999
  listingId?: InputMaybe<Scalars['ID']['input']>;
3937
4000
  location?: InputMaybe<GeolocationInput>;
4001
+ meetingRoomIds?: InputMaybe<Array<Scalars['ID']['input']>>;
4002
+ meetingRoomMinimumCapacity?: InputMaybe<Scalars['Int']['input']>;
3938
4003
  meetingTypes?: InputMaybe<Array<MeetingType>>;
3939
4004
  officeExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
3940
4005
  officeIds?: InputMaybe<Array<Scalars['ID']['input']>>;
@@ -4012,6 +4077,8 @@ export type QueryTimetableArgs = {
4012
4077
  leadSegmentId?: InputMaybe<Scalars['ID']['input']>;
4013
4078
  listingId?: InputMaybe<Scalars['ID']['input']>;
4014
4079
  location?: InputMaybe<GeolocationInput>;
4080
+ meetingRoomId?: InputMaybe<Array<Scalars['ID']['input']>>;
4081
+ meetingRoomMinimumCapacity?: InputMaybe<Scalars['Int']['input']>;
4015
4082
  meetingType: MeetingType;
4016
4083
  officeId: Scalars['ID']['input'];
4017
4084
  subjectId: Scalars['ID']['input'];
@@ -4035,14 +4102,23 @@ export type QueryUnavailabilityArgs = {
4035
4102
  start?: InputMaybe<Scalars['ISO8601']['input']>;
4036
4103
  type?: InputMaybe<Array<UnavailabilityType>>;
4037
4104
  };
4105
+ export type QueryValidateTimetableSlotArgs = {
4106
+ employeeId?: InputMaybe<Array<Scalars['ID']['input']>>;
4107
+ employeeLanguages?: InputMaybe<Array<Language>>;
4108
+ from: Scalars['ISO8601']['input'];
4109
+ leadSegmentId?: InputMaybe<Scalars['ID']['input']>;
4110
+ listingId?: InputMaybe<Scalars['ID']['input']>;
4111
+ location?: InputMaybe<GeolocationInput>;
4112
+ meetingRoomId?: InputMaybe<Array<Scalars['ID']['input']>>;
4113
+ meetingRoomMinimumCapacity?: InputMaybe<Scalars['Int']['input']>;
4114
+ meetingType: MeetingType;
4115
+ officeId: Scalars['ID']['input'];
4116
+ subjectId: Scalars['ID']['input'];
4117
+ to: Scalars['ISO8601']['input'];
4118
+ };
4038
4119
  export type QueryValidatorArgs = {
4039
4120
  id: Scalars['ID']['input'];
4040
4121
  };
4041
- export type QueryValidatorsArgs = {
4042
- id?: InputMaybe<Array<Scalars['ID']['input']>>;
4043
- questionId: Array<Scalars['ID']['input']>;
4044
- withDeleted?: InputMaybe<Scalars['Boolean']['input']>;
4045
- };
4046
4122
  export type QueryVideoUrlTemplateArgs = {
4047
4123
  id: Scalars['ID']['input'];
4048
4124
  };
@@ -4103,7 +4179,7 @@ export type QuestionDataShownSessionEventPayload = {
4103
4179
  ids: Array<Scalars['ID']['input']>;
4104
4180
  };
4105
4181
  export type QuestionPatchInput = {
4106
- answerOptions?: InputMaybe<Array<AnswerOptionCreateInput>>;
4182
+ answerOptions?: InputMaybe<Array<AnswerOptionPatchInput>>;
4107
4183
  defaultValue?: InputMaybe<Scalars['String']['input']>;
4108
4184
  externalId?: InputMaybe<Scalars['String']['input']>;
4109
4185
  fetchConfigurationId?: InputMaybe<Scalars['ID']['input']>;
@@ -4116,7 +4192,7 @@ export type QuestionPatchInput = {
4116
4192
  validator?: InputMaybe<ValidatorPatchInput>;
4117
4193
  };
4118
4194
  export type QuestionPutInput = {
4119
- answerOptions?: InputMaybe<Array<AnswerOptionCreateInput>>;
4195
+ answerOptions?: InputMaybe<Array<AnswerOptionPatchInput>>;
4120
4196
  defaultValue?: InputMaybe<Scalars['String']['input']>;
4121
4197
  externalId?: InputMaybe<Scalars['String']['input']>;
4122
4198
  fetchConfigurationId?: InputMaybe<Scalars['ID']['input']>;
@@ -4301,7 +4377,7 @@ export type SortableFormFields = 'createdAt' | 'id' | 'name' | 'updatedAt';
4301
4377
  export type SortableLeadSegmentFields = 'code' | 'createdAt' | 'description' | 'id' | 'updatedAt';
4302
4378
  export type SortableListingFields = 'active' | 'createdAt' | 'externalId' | 'id' | 'name' | 'updatedAt';
4303
4379
  export type SortableManagedExternalCalendarEventFields = 'createdAt' | 'updatedAt';
4304
- export type SortableMeetingRoomFields = 'createdAt' | 'email' | 'externalId' | 'id' | 'name' | 'updatedAt';
4380
+ export type SortableMeetingRoomFields = 'active' | 'capacity' | 'createdAt' | 'email' | 'externalId' | 'id' | 'name' | 'updatedAt';
4305
4381
  export type SortableOfficeFields = 'active' | 'createdAt' | 'externalId' | 'id' | 'name' | 'updatedAt';
4306
4382
  export type SortableRegionFields = 'code' | 'countryCode' | 'id' | 'level' | 'name' | 'parentId';
4307
4383
  export type SortableSubjectFields = 'createdAt' | 'externalId' | 'id' | 'name' | 'order' | 'subjectGroupId' | 'subjectGroupName' | 'updatedAt';
@@ -4550,11 +4626,13 @@ export type SubjectOfficeMeetingTypeAvailabilitySettingPutInput = {
4550
4626
  trailingBufferTime?: InputMaybe<Scalars['Int']['input']>;
4551
4627
  };
4552
4628
  export type SubjectOfficeSchedulingSetting = {
4629
+ meetingRoomSelection: MeetingRoomSelection;
4553
4630
  meetingType: MeetingType;
4554
4631
  office: Office;
4555
4632
  subject: Subject;
4556
4633
  };
4557
4634
  export type SubjectOfficeSchedulingSettingInput = {
4635
+ meetingRoomSelection?: InputMaybe<MeetingRoomSelection>;
4558
4636
  meetingType: MeetingType;
4559
4637
  subjectId: Scalars['ID']['input'];
4560
4638
  };
@@ -4596,7 +4674,7 @@ export type SubjectTranslationsPatchInput = {
4596
4674
  instructions?: InputMaybe<Array<TranslationObjectInput>>;
4597
4675
  name?: InputMaybe<Array<TranslationObjectInput>>;
4598
4676
  };
4599
- export type TemplateContext = 'APPOINTMENT' | 'AVAILABILITY' | 'CALLBACK_REQUEST' | 'EMPLOYEE' | 'EXTERNAL_CALENDAR_ACCOUNT' | 'LISTING_TIME_SLOT';
4677
+ export type TemplateContext = 'APPOINTMENT' | 'AVAILABILITY' | 'CALLBACK_REQUEST' | 'EMPLOYEE' | 'EXTERNAL_CALENDAR_ACCOUNT' | 'LISTING_TIME_SLOT' | 'WEBHOOK_DELIVERY';
4600
4678
  export type TemplateReceiverType = 'CUSTOMER' | 'EMPLOYEE' | 'ENTERPRISE' | 'OFFICE';
4601
4679
  export type TextMessageProvider = 'DEFAULT' | 'PRETEND' | 'SPRYNG' | 'TWILIO';
4602
4680
  export type TextMessageProviderEnterpriseSetting = {
@@ -4717,7 +4795,7 @@ export type TranslationObjectInput = {
4717
4795
  language: Language;
4718
4796
  value: Scalars['String']['input'];
4719
4797
  };
4720
- export type UiFeature = 'APPOINTMENT_CREATION' | 'APPOINTMENT_CREATION_MESSAGE_FOR_CUSTOMER' | 'APPOINTMENT_CUSTOMER_SELECTION' | 'APPOINTMENT_SUBJECT_SELECTION' | 'CUSTOMER_CREATION' | 'CUSTOMER_DETAILS' | 'CUSTOMER_OVERVIEW' | 'DEFAULT_AVAILABILITY_SETTINGS_OVERRIDE' | 'DEFINED_AVAILABILITY_SYNCHRONIZATION' | 'FORMS' | 'INDEPENDENT_AGENTS' | 'INVITE_CREATION' | 'LEAD_SEGMENTS' | 'LISTINGS' | 'MEETING_LINK_CREATION' | 'MY_APPOINTMENTS' | 'MY_APPOINTMENT_HOURS' | 'MY_AUTHENTICATION' | 'MY_PROFILE' | 'MY_SYNCHRONIZED_CALENDARS' | 'RESCHEDULE_REQUEST' | 'TEAM_APPOINTMENTS_OVERVIEW' | 'TEAM_APPOINTMENT_INSIGHTS' | 'TEAM_COVERAGE_REGIONS_ON_LOCATION' | 'TEAM_COVERAGE_REGIONS_PHONE' | 'TEAM_COVERAGE_REGIONS_VIDEO' | 'TEAM_MEMBERS_OVERVIEW' | 'TEAM_MEMBER_APPOINTMENT_HOURS' | 'TEAM_MEMBER_EXPERTISE' | 'TEAM_MEMBER_PROFILE' | 'TEAM_MEMBER_REMOVAL' | 'TEAM_MEMBER_SYNCHRONIZED_CALENDARS' | 'TEAM_OFFICE_DETAILS' | 'TEAM_OFFICE_EXPERTISE' | 'TEAM_OFFICE_PLANNING_RULES' | 'VIRTUAL_OFFICES';
4798
+ export type UiFeature = 'APPOINTMENT_COMPLETION' | 'APPOINTMENT_CREATION' | 'APPOINTMENT_CREATION_MESSAGE_FOR_CUSTOMER' | 'APPOINTMENT_CUSTOMER_SELECTION' | 'APPOINTMENT_SUBJECT_SELECTION' | 'CUSTOMER_CREATION' | 'CUSTOMER_DETAILS' | 'CUSTOMER_OVERVIEW' | 'DEFAULT_AVAILABILITY_SETTINGS_OVERRIDE' | 'DEFINED_AVAILABILITY_SYNCHRONIZATION' | 'FORMS' | 'INDEPENDENT_AGENTS' | 'INVITE_CREATION' | 'LEAD_SEGMENTS' | 'LISTINGS' | 'MEETING_LINK_CREATION' | 'MULTI_PARTICIPANTS' | 'MY_APPOINTMENTS' | 'MY_APPOINTMENT_HOURS' | 'MY_AUTHENTICATION' | 'MY_PROFILE' | 'MY_SYNCHRONIZED_CALENDARS' | 'RESCHEDULE_REQUEST' | 'TEAM_APPOINTMENTS_OVERVIEW' | 'TEAM_APPOINTMENT_INSIGHTS' | 'TEAM_COVERAGE_REGIONS_ON_LOCATION' | 'TEAM_COVERAGE_REGIONS_PHONE' | 'TEAM_COVERAGE_REGIONS_VIDEO' | 'TEAM_MEMBERS_OVERVIEW' | 'TEAM_MEMBER_APPOINTMENT_HOURS' | 'TEAM_MEMBER_EXPERTISE' | 'TEAM_MEMBER_PROFILE' | 'TEAM_MEMBER_REMOVAL' | 'TEAM_MEMBER_SYNCHRONIZED_CALENDARS' | 'TEAM_OFFICE_DETAILS' | 'TEAM_OFFICE_EXPERTISE' | 'TEAM_OFFICE_PLANNING_RULES' | 'VIRTUAL_OFFICES';
4721
4799
  export type UiFeatureToggleEnterpriseSettingInput = {
4722
4800
  enabled: Scalars['Boolean']['input'];
4723
4801
  feature: UiFeature;
@@ -4775,6 +4853,12 @@ export type UnavailabilityRevertInput = {
4775
4853
  };
4776
4854
  export type UnavailabilityType = 'APPOINTMENT' | 'EXTERNAL_CALENDAR' | 'LISTING_EXCLUSIVITY' | 'USER_DEFINED';
4777
4855
  export type UserType = 'CUSTOMER' | 'EMPLOYEE' | 'OTHER';
4856
+ export type ValidatedTimetableSlot = {
4857
+ availableMeetingRooms: Array<MeetingRoom>;
4858
+ slot: TimetableSlot;
4859
+ /** Expressed in minutes. */
4860
+ trailingBufferTime: Scalars['Int']['output'];
4861
+ };
4778
4862
  export type Validator = {
4779
4863
  createdAt: Scalars['ISO8601']['output'];
4780
4864
  deletedAt?: Maybe<Scalars['ISO8601']['output']>;
@@ -4840,6 +4924,7 @@ export type WebhookConfiguration = {
4840
4924
  headers: Array<WebhookConfigurationHeader>;
4841
4925
  id: Scalars['ID']['output'];
4842
4926
  method: HttpMethod;
4927
+ notificationEmailAddresses: Array<Scalars['String']['output']>;
4843
4928
  token: Scalars['String']['output'];
4844
4929
  updatedAt: Scalars['ISO8601']['output'];
4845
4930
  url: Scalars['String']['output'];
@@ -4851,6 +4936,7 @@ export type WebhookConfigurationCreateInput = {
4851
4936
  active: Scalars['Boolean']['input'];
4852
4937
  eventTypes: Array<WebhookEventType>;
4853
4938
  method: HttpMethod;
4939
+ notificationEmailAddresses?: InputMaybe<Array<Scalars['String']['input']>>;
4854
4940
  token: Scalars['String']['input'];
4855
4941
  url: Scalars['String']['input'];
4856
4942
  };
@@ -4872,6 +4958,7 @@ export type WebhookConfigurationPatchInput = {
4872
4958
  active?: InputMaybe<Scalars['Boolean']['input']>;
4873
4959
  eventTypes?: InputMaybe<Array<WebhookEventType>>;
4874
4960
  method?: InputMaybe<HttpMethod>;
4961
+ notificationEmailAddresses?: InputMaybe<Array<Scalars['String']['input']>>;
4875
4962
  token?: InputMaybe<Scalars['String']['input']>;
4876
4963
  url?: InputMaybe<Scalars['String']['input']>;
4877
4964
  };
@@ -4988,6 +5075,16 @@ export type CustomerReminderSettingsInput = {
4988
5075
  /** The settings used to calculate which reminders should be sent to the customer. */
4989
5076
  value?: InputMaybe<Array<CustomerReminderSettingsEnterpriseSettingInput>>;
4990
5077
  };
5078
+ export type DataRetentionDurationInput = {
5079
+ manageable?: InputMaybe<Scalars['Boolean']['input']>;
5080
+ /** The duration in minutes stale data is retained before it is anonymized. */
5081
+ value?: InputMaybe<Scalars['Int']['input']>;
5082
+ };
5083
+ export type DataToAnonymizeInput = {
5084
+ manageable?: InputMaybe<Scalars['Boolean']['input']>;
5085
+ /** List of entities that should be considered for anonymization. */
5086
+ value?: InputMaybe<Array<AnonymizableEntity>>;
5087
+ };
4991
5088
  export type DefaultCallbackRequestFormIdInput = {
4992
5089
  manageable?: InputMaybe<Scalars['Boolean']['input']>;
4993
5090
  /** The default form to be used when creating a callback request. */