@pexip-engage-public/graphql 1.3.3-canary-20251127171339 → 1.3.3

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
@@ -62,6 +62,52 @@ export type Scalars = {
62
62
  output: TimeString;
63
63
  };
64
64
  };
65
+ export type AiMessage = {
66
+ aiThreadId: Scalars['String']['output'];
67
+ content: Scalars['String']['output'];
68
+ createdAt: Scalars['ISO8601']['output'];
69
+ deletedAt?: Maybe<Scalars['ISO8601']['output']>;
70
+ id: Scalars['String']['output'];
71
+ role: AiMessageRole;
72
+ updatedAt: Scalars['ISO8601']['output'];
73
+ };
74
+ export type AiMessageConnection = {
75
+ edges: Array<AiMessageEdge>;
76
+ pageInfo: PageInfo;
77
+ totalCount: Scalars['Int']['output'];
78
+ };
79
+ export type AiMessageEdge = {
80
+ cursor: Scalars['String']['output'];
81
+ node: AiMessage;
82
+ };
83
+ export type AiMessageRole = 'ASSISTANT' | 'DEVELOPER' | 'SYSTEM' | 'USER';
84
+ export type AiMessageSendInput = {
85
+ content: Scalars['String']['input'];
86
+ };
87
+ export type AiMessageSort = {
88
+ direction: SortDirection;
89
+ field: SortableAiMessageFields;
90
+ };
91
+ export type AiThread = {
92
+ createdAt: Scalars['ISO8601']['output'];
93
+ deletedAt?: Maybe<Scalars['ISO8601']['output']>;
94
+ id: Scalars['String']['output'];
95
+ title?: Maybe<Scalars['String']['output']>;
96
+ updatedAt: Scalars['ISO8601']['output'];
97
+ };
98
+ export type AiThreadConnection = {
99
+ edges: Array<AiThreadEdge>;
100
+ pageInfo: PageInfo;
101
+ totalCount: Scalars['Int']['output'];
102
+ };
103
+ export type AiThreadEdge = {
104
+ cursor: Scalars['String']['output'];
105
+ node: AiThread;
106
+ };
107
+ export type AiThreadSort = {
108
+ direction: SortDirection;
109
+ field: SortableAiThreadFields;
110
+ };
65
111
  export type ActiveLanguagesEnterpriseSetting = {
66
112
  createdAt: Scalars['ISO8601']['output'];
67
113
  /** 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. */
@@ -390,7 +436,7 @@ export type AppointmentEdge = {
390
436
  export type AppointmentEmailMeta = {
391
437
  eventType: AppointmentTemplateName;
392
438
  };
393
- export type AppointmentEventType = 'ACCEPTED_BY_EMPLOYEE' | 'ALTERNATIVE_DATE_REQUESTED_BY_EMPLOYEE' | 'ASSIGNED_BY_EMPLOYEE' | 'CANCELLED_BY_CUSTOMER' | 'CANCELLED_BY_EMPLOYEE' | 'COMPLETED_BY_EMPLOYEE' | 'CREATED_BY_CUSTOMER' | 'CREATED_BY_EMPLOYEE' | 'REQUEST_CREATED_BY_CUSTOMER' | 'REQUEST_CREATED_BY_EMPLOYEE' | 'REQUEST_RESCHEDULED_BY_CUSTOMER' | 'RESCHEDULED_BY_CUSTOMER' | 'RESCHEDULED_BY_EMPLOYEE' | 'SECONDARY_PARTICIPANTS_UPDATED' | 'SECONDARY_PARTICIPANT_ADDED' | 'SECONDARY_PARTICIPANT_REMOVED';
439
+ export type AppointmentEventType = 'ACCEPTED_BY_EMPLOYEE' | 'ALTERNATIVE_DATE_REQUESTED_BY_EMPLOYEE' | 'ASSIGNED_BY_EMPLOYEE' | 'CANCELLED_BY_CUSTOMER' | 'CANCELLED_BY_EMPLOYEE' | 'COMPLETED_BY_EMPLOYEE' | 'CREATED_BY_CUSTOMER' | 'CREATED_BY_EMPLOYEE' | 'MEETING_TYPE_UPDATED' | 'REQUEST_CREATED_BY_CUSTOMER' | 'REQUEST_CREATED_BY_EMPLOYEE' | 'REQUEST_RESCHEDULED_BY_CUSTOMER' | 'RESCHEDULED_BY_CUSTOMER' | 'RESCHEDULED_BY_EMPLOYEE' | 'SECONDARY_PARTICIPANTS_UPDATED' | 'SECONDARY_PARTICIPANT_ADDED' | 'SECONDARY_PARTICIPANT_REMOVED';
394
440
  export type AppointmentIdentity = {
395
441
  backofficeUrl: Scalars['String']['output'];
396
442
  id: Scalars['Int']['output'];
@@ -503,7 +549,7 @@ export type AppointmentSort = {
503
549
  };
504
550
  export type AppointmentSource = 'BACKOFFICE_APP' | 'OTHER' | 'PARTNER_BOOKING_APP' | 'PLUGIN';
505
551
  export type AppointmentStatus = 'ACCEPTED' | 'ALTERNATIVE_DATE_REQUESTED' | 'CANCELLED' | 'COMPLETED' | 'INCOMING_REQUEST' | 'NO_SHOW' | 'OUTGOING_INVITE';
506
- export type AppointmentTemplateName = 'ACCEPTED_BY_EMPLOYEE' | 'ALTERNATIVE_DATE_REQUESTED_BY_EMPLOYEE' | 'ASSIGNED_BY_EMPLOYEE' | 'CANCELLED_BY_CUSTOMER' | 'CANCELLED_BY_EMPLOYEE' | 'COMPLETED_BY_EMPLOYEE' | 'CREATED_BY_CUSTOMER' | 'CREATED_BY_EMPLOYEE' | 'EMPLOYEE_CREATED' | 'EXTERNAL_CALENDAR_ACCOUNT_BROKEN' | 'REMINDER' | 'REQUEST_CREATED_BY_CUSTOMER' | 'REQUEST_CREATED_BY_EMPLOYEE' | 'REQUEST_RESCHEDULED_BY_CUSTOMER' | 'RESCHEDULED_BY_CUSTOMER' | 'RESCHEDULED_BY_EMPLOYEE' | 'SECONDARY_PARTICIPANTS_UPDATED' | 'SECONDARY_PARTICIPANT_ADDED' | 'SECONDARY_PARTICIPANT_REMOVED';
552
+ export type AppointmentTemplateName = 'ACCEPTED_BY_EMPLOYEE' | 'ALTERNATIVE_DATE_REQUESTED_BY_EMPLOYEE' | 'ASSIGNED_BY_EMPLOYEE' | 'CANCELLED_BY_CUSTOMER' | 'CANCELLED_BY_EMPLOYEE' | 'COMPLETED_BY_EMPLOYEE' | 'CREATED_BY_CUSTOMER' | 'CREATED_BY_EMPLOYEE' | 'EMPLOYEE_CREATED' | 'EXTERNAL_CALENDAR_ACCOUNT_BROKEN' | 'MEETING_TYPE_UPDATED' | 'REMINDER' | 'REQUEST_CREATED_BY_CUSTOMER' | 'REQUEST_CREATED_BY_EMPLOYEE' | 'REQUEST_RESCHEDULED_BY_CUSTOMER' | 'RESCHEDULED_BY_CUSTOMER' | 'RESCHEDULED_BY_EMPLOYEE' | 'SECONDARY_PARTICIPANTS_UPDATED' | 'SECONDARY_PARTICIPANT_ADDED' | 'SECONDARY_PARTICIPANT_REMOVED';
507
553
  export type AppointmentTextMessageMeta = {
508
554
  eventType: Scalars['String']['input'];
509
555
  };
@@ -2739,6 +2785,7 @@ export type Mutation = {
2739
2785
  */
2740
2786
  revertUnavailability: Array<Unavailability>;
2741
2787
  scheduleAppointment: Appointment;
2788
+ sendAIMessage: AiMessage;
2742
2789
  syncFutureEventsToExternalCalendar: Scalars['Boolean']['output'];
2743
2790
  syncMeetingRooms: Scalars['Boolean']['output'];
2744
2791
  syncMicrosoftDynamicsIntegrationCustomAttributes: Scalars['Boolean']['output'];
@@ -3337,6 +3384,10 @@ export type MutationRevertUnavailabilityArgs = {
3337
3384
  export type MutationScheduleAppointmentArgs = {
3338
3385
  appointmentCreateInput: AppointmentCreateInput;
3339
3386
  };
3387
+ export type MutationSendAiMessageArgs = {
3388
+ aiThreadId?: InputMaybe<Scalars['String']['input']>;
3389
+ input: AiMessageSendInput;
3390
+ };
3340
3391
  export type MutationSyncFutureEventsToExternalCalendarArgs = {
3341
3392
  externalCalendarId: Scalars['ID']['input'];
3342
3393
  };
@@ -3598,6 +3649,9 @@ export type Query = {
3598
3649
  aggregatedEmployeeAvailabilityInsights: Array<AggregatedEmployeeAvailabilityInsight>;
3599
3650
  aggregatedOfficeAppointmentInsights: Array<AggregatedOfficeAppointmentInsight>;
3600
3651
  aggregatedOfficeAvailabilityInsights: Array<AggregatedOfficeAvailabilityInsight>;
3652
+ aiMessages: AiMessageConnection;
3653
+ aiThread: AiThread;
3654
+ aiThreads: AiThreadConnection;
3601
3655
  answerOption: AnswerOption;
3602
3656
  apiClients: Array<ApiClient>;
3603
3657
  appliedTemplates: AppliedTemplateConnection;
@@ -3608,6 +3662,7 @@ export type Query = {
3608
3662
  appointmentCountChart: Chart;
3609
3663
  appointmentCreatedByTypeChart: Chart;
3610
3664
  appointmentCustomerCountChart: Chart;
3665
+ appointmentEmployeeChart: Chart;
3611
3666
  appointmentMeetingTypeChart: Chart;
3612
3667
  appointmentOfficeChart: Chart;
3613
3668
  appointmentParticipant: AppointmentParticipant;
@@ -3760,6 +3815,26 @@ export type QueryAggregatedOfficeAvailabilityInsightsArgs = {
3760
3815
  to: Scalars['ISO8601']['input'];
3761
3816
  weekStartsOn?: InputMaybe<AggregatedAvailabilityInsightsWeekStartsOn>;
3762
3817
  };
3818
+ export type QueryAiMessagesArgs = {
3819
+ after?: InputMaybe<Scalars['String']['input']>;
3820
+ aiThreadId?: InputMaybe<Array<Scalars['String']['input']>>;
3821
+ before?: InputMaybe<Scalars['String']['input']>;
3822
+ first?: InputMaybe<Scalars['Int']['input']>;
3823
+ id?: InputMaybe<Array<Scalars['String']['input']>>;
3824
+ last?: InputMaybe<Scalars['Int']['input']>;
3825
+ sort?: InputMaybe<Array<AiMessageSort>>;
3826
+ };
3827
+ export type QueryAiThreadArgs = {
3828
+ id: Scalars['String']['input'];
3829
+ };
3830
+ export type QueryAiThreadsArgs = {
3831
+ after?: InputMaybe<Scalars['String']['input']>;
3832
+ before?: InputMaybe<Scalars['String']['input']>;
3833
+ first?: InputMaybe<Scalars['Int']['input']>;
3834
+ id?: InputMaybe<Array<Scalars['String']['input']>>;
3835
+ last?: InputMaybe<Scalars['Int']['input']>;
3836
+ sort?: InputMaybe<Array<AiThreadSort>>;
3837
+ };
3763
3838
  export type QueryAnswerOptionArgs = {
3764
3839
  id: Scalars['ID']['input'];
3765
3840
  };
@@ -3803,6 +3878,9 @@ export type QueryAppointmentCreatedByTypeChartArgs = {
3803
3878
  export type QueryAppointmentCustomerCountChartArgs = {
3804
3879
  filters: AppointmentChartFilters;
3805
3880
  };
3881
+ export type QueryAppointmentEmployeeChartArgs = {
3882
+ filters: AppointmentChartFilters;
3883
+ };
3806
3884
  export type QueryAppointmentMeetingTypeChartArgs = {
3807
3885
  filters: AppointmentChartFilters;
3808
3886
  };
@@ -4853,6 +4931,8 @@ export type SessionEventLeadSegmentIdType = 'code' | 'id';
4853
4931
  export type SessionIntent = 'CANCEL' | 'COMPLETE' | 'EDIT' | 'INVITE' | 'RESCHEDULE' | 'SCHEDULE' | 'SECONDARY_CUSTOMER_DECLINE';
4854
4932
  export type ShowAs = 'BUSY' | 'FREE' | 'TENTATIVE';
4855
4933
  export type SortDirection = 'ASC' | 'DESC';
4934
+ export type SortableAiMessageFields = 'createdAt' | 'id' | 'updatedAt';
4935
+ export type SortableAiThreadFields = 'createdAt' | 'id' | 'updatedAt';
4856
4936
  export type SortableAppointmentFields = 'createdAt' | 'externalId' | 'id' | 'start' | 'updatedAt';
4857
4937
  export type SortableAuditLogFields = 'event' | 'id' | 'modifiedAt' | 'resourceId' | 'resourceType';
4858
4938
  export type SortableAvailabilityTemplateFields = 'id' | 'name' | 'order' | 'type';