@pexip-engage-public/graphql 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/schema.d.ts CHANGED
@@ -299,6 +299,19 @@ export type AppointmentCancelInput = {
299
299
  token?: InputMaybe<Scalars['String']['input']>;
300
300
  userCommunication?: InputMaybe<AppointmentUserCommunicationInput>;
301
301
  };
302
+ export type AppointmentChartFilters = {
303
+ appointmentStatus?: InputMaybe<Array<AppointmentStatus>>;
304
+ createdByType?: InputMaybe<Array<UserType>>;
305
+ createdFrom?: InputMaybe<Scalars['ISO8601']['input']>;
306
+ createdTo?: InputMaybe<Scalars['ISO8601']['input']>;
307
+ employeeId?: InputMaybe<Array<Scalars['ID']['input']>>;
308
+ from?: InputMaybe<Scalars['ISO8601']['input']>;
309
+ meetingType?: InputMaybe<Array<MeetingType>>;
310
+ officeId?: InputMaybe<Array<Scalars['ID']['input']>>;
311
+ subjectGroupId?: InputMaybe<Array<Scalars['ID']['input']>>;
312
+ subjectId?: InputMaybe<Array<Scalars['ID']['input']>>;
313
+ to?: InputMaybe<Scalars['ISO8601']['input']>;
314
+ };
302
315
  export type AppointmentCompleteInput = {
303
316
  answers?: InputMaybe<Array<AppointmentAnswerInput>>;
304
317
  end?: InputMaybe<Scalars['ISO8601']['input']>;
@@ -415,6 +428,7 @@ export type AppointmentLatestPossibleEnterpriseSetting = {
415
428
  };
416
429
  export type AppointmentParticipant = {
417
430
  appointment: Appointment;
431
+ appointmentId: Scalars['ID']['output'];
418
432
  cancelUrl: Scalars['String']['output'];
419
433
  declineUrl: Scalars['String']['output'];
420
434
  destinationVideoUrl?: Maybe<Scalars['String']['output']>;
@@ -804,6 +818,16 @@ export type CallbackRequestsEnabledEnterpriseSetting = {
804
818
  /** This setting determines whether customers can request a callback. */
805
819
  value: Scalars['Boolean']['output'];
806
820
  };
821
+ export type Chart = {
822
+ chartConfig: Scalars['JSONObject']['output'];
823
+ chartData: Array<ChartDataItem>;
824
+ };
825
+ export type ChartConfigGroupByDatePart = 'DAY' | 'DAY_OF_WEEK_NUMBER' | 'HOUR_NUMBER' | 'MONTH' | 'MONTH_NUMBER' | 'QUARTER_NUMBER' | 'WEEK' | 'WEEK_NUMBER' | 'YEAR';
826
+ export type ChartConfigWeekStartsOn = 'MONDAY' | 'SUNDAY';
827
+ export type ChartDataItem = {
828
+ count: Scalars['Int']['output'];
829
+ id: Scalars['String']['output'];
830
+ };
807
831
  export type Communication = {
808
832
  channel: CommunicationChannel;
809
833
  communicationReceiver: CommunicationReceiver;
@@ -3568,7 +3592,17 @@ export type Query = {
3568
3592
  appliedTemplates: AppliedTemplateConnection;
3569
3593
  appointment: Appointment;
3570
3594
  appointmentCommunications: Array<Communication>;
3595
+ appointmentCountByCreatedAtChart: Chart;
3596
+ appointmentCountByStartChart: Chart;
3597
+ appointmentCountChart: Chart;
3598
+ appointmentCreatedByTypeChart: Chart;
3599
+ appointmentCustomerCountChart: Chart;
3600
+ appointmentMeetingTypeChart: Chart;
3601
+ appointmentOfficeChart: Chart;
3571
3602
  appointmentParticipant: AppointmentParticipant;
3603
+ appointmentStatusChart: Chart;
3604
+ appointmentSubjectChart: Chart;
3605
+ appointmentSubjectGroupChart: Chart;
3572
3606
  appointmentUnavailabilityForEmployee: Array<Unavailability>;
3573
3607
  appointments: AppointmentConnection;
3574
3608
  auditLogs: AuditLogConnection;
@@ -3739,9 +3773,43 @@ export type QueryAppointmentCommunicationsArgs = {
3739
3773
  appointmentId: Scalars['ID']['input'];
3740
3774
  sort?: InputMaybe<Array<CommunicationSort>>;
3741
3775
  };
3776
+ export type QueryAppointmentCountByCreatedAtChartArgs = {
3777
+ filters: AppointmentChartFilters;
3778
+ interval: ChartConfigGroupByDatePart;
3779
+ weekStartsOn: ChartConfigWeekStartsOn;
3780
+ };
3781
+ export type QueryAppointmentCountByStartChartArgs = {
3782
+ filters: AppointmentChartFilters;
3783
+ interval: ChartConfigGroupByDatePart;
3784
+ weekStartsOn: ChartConfigWeekStartsOn;
3785
+ };
3786
+ export type QueryAppointmentCountChartArgs = {
3787
+ filters: AppointmentChartFilters;
3788
+ };
3789
+ export type QueryAppointmentCreatedByTypeChartArgs = {
3790
+ filters: AppointmentChartFilters;
3791
+ };
3792
+ export type QueryAppointmentCustomerCountChartArgs = {
3793
+ filters: AppointmentChartFilters;
3794
+ };
3795
+ export type QueryAppointmentMeetingTypeChartArgs = {
3796
+ filters: AppointmentChartFilters;
3797
+ };
3798
+ export type QueryAppointmentOfficeChartArgs = {
3799
+ filters: AppointmentChartFilters;
3800
+ };
3742
3801
  export type QueryAppointmentParticipantArgs = {
3743
3802
  token: Scalars['String']['input'];
3744
3803
  };
3804
+ export type QueryAppointmentStatusChartArgs = {
3805
+ filters: AppointmentChartFilters;
3806
+ };
3807
+ export type QueryAppointmentSubjectChartArgs = {
3808
+ filters: AppointmentChartFilters;
3809
+ };
3810
+ export type QueryAppointmentSubjectGroupChartArgs = {
3811
+ filters: AppointmentChartFilters;
3812
+ };
3745
3813
  export type QueryAppointmentUnavailabilityForEmployeeArgs = {
3746
3814
  employeeId: Scalars['ID']['input'];
3747
3815
  excludeAppointmentIds?: InputMaybe<Array<Scalars['ID']['input']>>;