@pexip-engage-public/graphql 1.5.0 → 1.5.2

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/src/schema.ts CHANGED
@@ -147,9 +147,11 @@ export type AggregatedEmployeeAvailabilityInsight = {
147
147
  appointmentUnavailabilityMinutes: Scalars['Int']['output'];
148
148
  bookableMinutes: Scalars['Int']['output'];
149
149
  definedAvailabilityMinutes: Scalars['Int']['output'];
150
+ earliestTimeSlotStart?: Maybe<Scalars['ISO8601']['output']>;
150
151
  employeeId: Scalars['ID']['output'];
151
- externalCalendarUnavailabilityMinutes: Scalars['Int']['output'];
152
152
  gapTime: Scalars['Int']['output'];
153
+ generatedAt: Scalars['ISO8601']['output'];
154
+ nonAppointmentUnavailabilityMinutes: Scalars['Int']['output'];
153
155
  officeId: Scalars['ID']['output'];
154
156
  startDateOfInterval: Scalars['CalendarDate']['output'];
155
157
  unavailabilityMinutes: Scalars['Int']['output'];
@@ -169,8 +171,10 @@ export type AggregatedOfficeAvailabilityInsight = {
169
171
  appointmentUnavailabilityMinutes: Scalars['Int']['output'];
170
172
  bookableMinutes: Scalars['Int']['output'];
171
173
  definedAvailabilityMinutes: Scalars['Int']['output'];
172
- externalCalendarUnavailabilityMinutes: Scalars['Int']['output'];
174
+ earliestTimeSlotStart?: Maybe<Scalars['ISO8601']['output']>;
173
175
  gapTime: Scalars['Int']['output'];
176
+ generatedAt: Scalars['ISO8601']['output'];
177
+ nonAppointmentUnavailabilityMinutes: Scalars['Int']['output'];
174
178
  officeId: Scalars['ID']['output'];
175
179
  startDateOfInterval: Scalars['CalendarDate']['output'];
176
180
  unavailabilityMinutes: Scalars['Int']['output'];
@@ -277,6 +281,7 @@ export type AppliedTemplateRevertInput = {
277
281
  };
278
282
 
279
283
  export type Appointment = {
284
+ anonymizedAt?: Maybe<Scalars['ISO8601']['output']>;
280
285
  answers: Array<AppointmentAnswer>;
281
286
  appointmentParticipants: Array<AppointmentParticipant>;
282
287
  call?: Maybe<Call>;
@@ -285,6 +290,7 @@ export type Appointment = {
285
290
  createdBy?: Maybe<AppointmentActor>;
286
291
  createdByType: UserType;
287
292
  createdFrom: AppointmentSource;
293
+ createdUsingPlanningRules?: Maybe<Scalars['Boolean']['output']>;
288
294
  customers: Array<Customer>;
289
295
  duration?: Maybe<Scalars['Int']['output']>;
290
296
  employees: Array<Employee>;
@@ -315,6 +321,7 @@ export type Appointment = {
315
321
  updatedBy?: Maybe<AppointmentActor>;
316
322
  updatedByType: UserType;
317
323
  updatedFrom: AppointmentSource;
324
+ updatedUsingPlanningRules?: Maybe<Scalars['Boolean']['output']>;
318
325
  /** Indicates if the appointment will sent out notifications and reminders to participants. */
319
326
  userCommunication: AppointmentUserCommunication;
320
327
  uuid: Scalars['String']['output'];
@@ -750,6 +757,15 @@ export type AutoAcceptSetting =
750
757
  | 'DEFAULT_TRUE'
751
758
  | 'MANDATORY';
752
759
 
760
+ export type AvailabilityInsightsEnabledEnterpriseSetting = {
761
+ createdAt: Scalars['ISO8601']['output'];
762
+ /** 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. */
763
+ manageable: Scalars['Boolean']['output'];
764
+ updatedAt: Scalars['ISO8601']['output'];
765
+ /** Whether availability insights are enabled. */
766
+ value: Scalars['Boolean']['output'];
767
+ };
768
+
753
769
  export type AvailabilitySetting = {
754
770
  autoAccept: BooleanAvailabilitySetting;
755
771
  estimatedDuration: IntegerAvailabilitySetting;
@@ -1857,6 +1873,8 @@ export type EnterpriseSettings = {
1857
1873
  appointmentTrailingBufferTime: AppointmentTrailingBufferTimeEnterpriseSetting;
1858
1874
  /** The default travel buffer time after an appointment. */
1859
1875
  appointmentTravelBufferTime: AppointmentTravelBufferTimeEnterpriseSetting;
1876
+ /** Whether availability insights are enabled. */
1877
+ availabilityInsightsEnabled: AvailabilityInsightsEnabledEnterpriseSetting;
1860
1878
  /** This setting determines whether customers can request a callback. */
1861
1879
  callbackRequestsEnabled: CallbackRequestsEnabledEnterpriseSetting;
1862
1880
  /** The default (non-localized) email address that receives callback requests when there is no office or employee email address. */
@@ -1973,6 +1991,8 @@ export type EnterpriseSettingsPatchInput = {
1973
1991
  appointmentTrailingBufferTime?: InputMaybe<AppointmentTrailingBufferTimeInput>;
1974
1992
  /** The default travel buffer time after an appointment. */
1975
1993
  appointmentTravelBufferTime?: InputMaybe<AppointmentTravelBufferTimeInput>;
1994
+ /** Whether availability insights are enabled. */
1995
+ availabilityInsightsEnabled?: InputMaybe<AvailabilityInsightsEnabledInput>;
1976
1996
  /** This setting determines whether customers can request a callback. */
1977
1997
  callbackRequestsEnabled?: InputMaybe<CallbackRequestsEnabledInput>;
1978
1998
  /** The default (non-localized) email address that receives callback requests when there is no office or employee email address. */
@@ -2139,6 +2159,11 @@ export type ExternalCalendarAccountPatchInput = {
2139
2159
  createOnlineMeetings?: InputMaybe<Scalars['Boolean']['input']>;
2140
2160
  };
2141
2161
 
2162
+ export type ExternalCalendarAccountSort = {
2163
+ direction: SortDirection;
2164
+ field: SortableExternalCalendarAccountFields;
2165
+ };
2166
+
2142
2167
  export type ExternalCalendarConnection = {
2143
2168
  edges: Array<ExternalCalendarEdge>;
2144
2169
  pageInfo: PageInfo;
@@ -2498,20 +2523,6 @@ export type InputType =
2498
2523
  | 'TIME_ZONE'
2499
2524
  | 'URL';
2500
2525
 
2501
- export type InsightsAccessToken = {
2502
- apiHost: Scalars['String']['output'];
2503
- appServer: Scalars['String']['output'];
2504
- authKey: Scalars['String']['output'];
2505
- authToken: Scalars['String']['output'];
2506
- dashboardId: Scalars['String']['output'];
2507
- };
2508
-
2509
- export type InsightsDashboardType =
2510
- | 'ADMIN_APPOINTMENT_INSIGHTS'
2511
- | 'AVAILABILITY_INSIGHTS'
2512
- | 'CONVERSION_ANALYTICS'
2513
- | 'OFFICE_MANAGER_APPOINTMENT_INSIGHTS';
2514
-
2515
2526
  export type IntegerAvailabilitySetting = {
2516
2527
  default: Scalars['Int']['output'];
2517
2528
  isOverridden: Scalars['Boolean']['output'];
@@ -3245,6 +3256,7 @@ export type Mutation = {
3245
3256
  acceptAppointment: Appointment;
3246
3257
  activateEmployee: Employee;
3247
3258
  addSecondaryParticipantsToAppointment: Array<AppointmentParticipant>;
3259
+ anonymizeAppointment: Appointment;
3248
3260
  anonymizeCustomer: Customer;
3249
3261
  cancelAppointment: Appointment;
3250
3262
  completeAppointment: Appointment;
@@ -3428,6 +3440,7 @@ export type Mutation = {
3428
3440
  revertUnavailability: Array<Unavailability>;
3429
3441
  scheduleAppointment: Appointment;
3430
3442
  sendAIMessage: AiMessage;
3443
+ startAvailabilityInsights: Scalars['Boolean']['output'];
3431
3444
  syncFutureEventsToExternalCalendar: Scalars['Boolean']['output'];
3432
3445
  syncMeetingRooms: Scalars['Boolean']['output'];
3433
3446
  syncMicrosoftDynamicsIntegrationCustomAttributes: Scalars['Boolean']['output'];
@@ -3462,6 +3475,11 @@ export type MutationAddSecondaryParticipantsToAppointmentArgs = {
3462
3475
  };
3463
3476
 
3464
3477
 
3478
+ export type MutationAnonymizeAppointmentArgs = {
3479
+ id: Scalars['ID']['input'];
3480
+ };
3481
+
3482
+
3465
3483
  export type MutationAnonymizeCustomerArgs = {
3466
3484
  id: Scalars['ID']['input'];
3467
3485
  };
@@ -4775,7 +4793,6 @@ export type Query = {
4775
4793
  form: Form;
4776
4794
  forms: FormConnection;
4777
4795
  getAuthorizedProfilePictureUrl: FileMetadata;
4778
- getInsightsAccessToken: InsightsAccessToken;
4779
4796
  identifyAppointment: AppointmentIdentity;
4780
4797
  integration: BaseIntegration;
4781
4798
  integrations: BaseIntegrationConnection;
@@ -4847,44 +4864,40 @@ export type Query = {
4847
4864
 
4848
4865
 
4849
4866
  export type QueryAggregatedEmployeeAppointmentInsightsArgs = {
4850
- employeeId?: InputMaybe<Scalars['ID']['input']>;
4867
+ employeeId?: InputMaybe<Array<Scalars['ID']['input']>>;
4851
4868
  from: Scalars['ISO8601']['input'];
4852
4869
  interval: AggregatedAppointmentInsightsInterval;
4853
4870
  officeId: Scalars['ID']['input'];
4854
- timeZone: Scalars['String']['input'];
4855
4871
  to: Scalars['ISO8601']['input'];
4856
4872
  weekStartsOn?: InputMaybe<AggregatedAppointmentInsightsWeekStartsOn>;
4857
4873
  };
4858
4874
 
4859
4875
 
4860
4876
  export type QueryAggregatedEmployeeAvailabilityInsightsArgs = {
4861
- employeeId?: InputMaybe<Scalars['ID']['input']>;
4877
+ employeeId?: InputMaybe<Array<Scalars['ID']['input']>>;
4862
4878
  from: Scalars['ISO8601']['input'];
4863
4879
  interval: AggregatedAvailabilityInsightsInterval;
4864
4880
  officeId: Scalars['ID']['input'];
4865
- timeZone: Scalars['String']['input'];
4866
4881
  to: Scalars['ISO8601']['input'];
4867
4882
  weekStartsOn?: InputMaybe<AggregatedAvailabilityInsightsWeekStartsOn>;
4868
4883
  };
4869
4884
 
4870
4885
 
4871
4886
  export type QueryAggregatedOfficeAppointmentInsightsArgs = {
4872
- employeeId?: InputMaybe<Scalars['ID']['input']>;
4887
+ employeeId?: InputMaybe<Array<Scalars['ID']['input']>>;
4873
4888
  from: Scalars['ISO8601']['input'];
4874
4889
  interval: AggregatedAppointmentInsightsInterval;
4875
4890
  officeId: Scalars['ID']['input'];
4876
- timeZone: Scalars['String']['input'];
4877
4891
  to: Scalars['ISO8601']['input'];
4878
4892
  weekStartsOn?: InputMaybe<AggregatedAppointmentInsightsWeekStartsOn>;
4879
4893
  };
4880
4894
 
4881
4895
 
4882
4896
  export type QueryAggregatedOfficeAvailabilityInsightsArgs = {
4883
- employeeId?: InputMaybe<Scalars['ID']['input']>;
4897
+ employeeId?: InputMaybe<Array<Scalars['ID']['input']>>;
4884
4898
  from: Scalars['ISO8601']['input'];
4885
4899
  interval: AggregatedAvailabilityInsightsInterval;
4886
4900
  officeId: Scalars['ID']['input'];
4887
- timeZone: Scalars['String']['input'];
4888
4901
  to: Scalars['ISO8601']['input'];
4889
4902
  weekStartsOn?: InputMaybe<AggregatedAvailabilityInsightsWeekStartsOn>;
4890
4903
  };
@@ -5318,11 +5331,14 @@ export type QueryExternalCalendarAccountArgs = {
5318
5331
  export type QueryExternalCalendarAccountsArgs = {
5319
5332
  after?: InputMaybe<Scalars['String']['input']>;
5320
5333
  before?: InputMaybe<Scalars['String']['input']>;
5334
+ createOnlineMeetings?: InputMaybe<Scalars['Boolean']['input']>;
5321
5335
  employeeId?: InputMaybe<Array<Scalars['ID']['input']>>;
5322
5336
  first?: InputMaybe<Scalars['Int']['input']>;
5323
5337
  id?: InputMaybe<Array<Scalars['ID']['input']>>;
5324
5338
  last?: InputMaybe<Scalars['Int']['input']>;
5325
5339
  provider?: InputMaybe<Array<ExternalCalendarProvider>>;
5340
+ search?: InputMaybe<Scalars['String']['input']>;
5341
+ sort?: InputMaybe<Array<ExternalCalendarAccountSort>>;
5326
5342
  withDeleted?: InputMaybe<Scalars['Boolean']['input']>;
5327
5343
  };
5328
5344
 
@@ -5434,12 +5450,6 @@ export type QueryGetAuthorizedProfilePictureUrlArgs = {
5434
5450
  };
5435
5451
 
5436
5452
 
5437
- export type QueryGetInsightsAccessTokenArgs = {
5438
- dashboard: InsightsDashboardType;
5439
- officeId?: InputMaybe<Scalars['ID']['input']>;
5440
- };
5441
-
5442
-
5443
5453
  export type QueryIdentifyAppointmentArgs = {
5444
5454
  intent: Intent;
5445
5455
  token: Scalars['String']['input'];
@@ -6440,6 +6450,11 @@ export type SortableEmployeeFields =
6440
6450
  | 'updatedAt'
6441
6451
  | 'username';
6442
6452
 
6453
+ export type SortableExternalCalendarAccountFields =
6454
+ | 'email'
6455
+ | 'id'
6456
+ | 'updatedAt';
6457
+
6443
6458
  export type SortableFileFields =
6444
6459
  | 'blobName'
6445
6460
  | 'createdAt'
@@ -7474,6 +7489,12 @@ export type AppointmentTravelBufferTimeInput = {
7474
7489
  value?: InputMaybe<Scalars['Int']['input']>;
7475
7490
  };
7476
7491
 
7492
+ export type AvailabilityInsightsEnabledInput = {
7493
+ manageable?: InputMaybe<Scalars['Boolean']['input']>;
7494
+ /** Whether availability insights are enabled. */
7495
+ value?: InputMaybe<Scalars['Boolean']['input']>;
7496
+ };
7497
+
7477
7498
  export type CallbackRequestsEnabledInput = {
7478
7499
  manageable?: InputMaybe<Scalars['Boolean']['input']>;
7479
7500
  /** This setting determines whether customers can request a callback. */