@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/src/schema.ts CHANGED
@@ -22,6 +22,66 @@ export type Scalars = {
22
22
  Time: { input: TimeString; output: TimeString; }
23
23
  };
24
24
 
25
+ export type AiMessage = {
26
+ aiThreadId: Scalars['String']['output'];
27
+ content: Scalars['String']['output'];
28
+ createdAt: Scalars['ISO8601']['output'];
29
+ deletedAt?: Maybe<Scalars['ISO8601']['output']>;
30
+ id: Scalars['String']['output'];
31
+ role: AiMessageRole;
32
+ updatedAt: Scalars['ISO8601']['output'];
33
+ };
34
+
35
+ export type AiMessageConnection = {
36
+ edges: Array<AiMessageEdge>;
37
+ pageInfo: PageInfo;
38
+ totalCount: Scalars['Int']['output'];
39
+ };
40
+
41
+ export type AiMessageEdge = {
42
+ cursor: Scalars['String']['output'];
43
+ node: AiMessage;
44
+ };
45
+
46
+ export type AiMessageRole =
47
+ | 'ASSISTANT'
48
+ | 'DEVELOPER'
49
+ | 'SYSTEM'
50
+ | 'USER';
51
+
52
+ export type AiMessageSendInput = {
53
+ content: Scalars['String']['input'];
54
+ };
55
+
56
+ export type AiMessageSort = {
57
+ direction: SortDirection;
58
+ field: SortableAiMessageFields;
59
+ };
60
+
61
+ export type AiThread = {
62
+ createdAt: Scalars['ISO8601']['output'];
63
+ deletedAt?: Maybe<Scalars['ISO8601']['output']>;
64
+ id: Scalars['String']['output'];
65
+ title?: Maybe<Scalars['String']['output']>;
66
+ updatedAt: Scalars['ISO8601']['output'];
67
+ };
68
+
69
+ export type AiThreadConnection = {
70
+ edges: Array<AiThreadEdge>;
71
+ pageInfo: PageInfo;
72
+ totalCount: Scalars['Int']['output'];
73
+ };
74
+
75
+ export type AiThreadEdge = {
76
+ cursor: Scalars['String']['output'];
77
+ node: AiThread;
78
+ };
79
+
80
+ export type AiThreadSort = {
81
+ direction: SortDirection;
82
+ field: SortableAiThreadFields;
83
+ };
84
+
25
85
  export type ActiveLanguagesEnterpriseSetting = {
26
86
  createdAt: Scalars['ISO8601']['output'];
27
87
  /** 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. */
@@ -417,6 +477,7 @@ export type AppointmentEventType =
417
477
  | 'COMPLETED_BY_EMPLOYEE'
418
478
  | 'CREATED_BY_CUSTOMER'
419
479
  | 'CREATED_BY_EMPLOYEE'
480
+ | 'MEETING_TYPE_UPDATED'
420
481
  | 'REQUEST_CREATED_BY_CUSTOMER'
421
482
  | 'REQUEST_CREATED_BY_EMPLOYEE'
422
483
  | 'REQUEST_RESCHEDULED_BY_CUSTOMER'
@@ -575,6 +636,7 @@ export type AppointmentTemplateName =
575
636
  | 'CREATED_BY_EMPLOYEE'
576
637
  | 'EMPLOYEE_CREATED'
577
638
  | 'EXTERNAL_CALENDAR_ACCOUNT_BROKEN'
639
+ | 'MEETING_TYPE_UPDATED'
578
640
  | 'REMINDER'
579
641
  | 'REQUEST_CREATED_BY_CUSTOMER'
580
642
  | 'REQUEST_CREATED_BY_EMPLOYEE'
@@ -3296,6 +3358,7 @@ export type Mutation = {
3296
3358
  */
3297
3359
  revertUnavailability: Array<Unavailability>;
3298
3360
  scheduleAppointment: Appointment;
3361
+ sendAIMessage: AiMessage;
3299
3362
  syncFutureEventsToExternalCalendar: Scalars['Boolean']['output'];
3300
3363
  syncMeetingRooms: Scalars['Boolean']['output'];
3301
3364
  syncMicrosoftDynamicsIntegrationCustomAttributes: Scalars['Boolean']['output'];
@@ -4220,6 +4283,12 @@ export type MutationScheduleAppointmentArgs = {
4220
4283
  };
4221
4284
 
4222
4285
 
4286
+ export type MutationSendAiMessageArgs = {
4287
+ aiThreadId?: InputMaybe<Scalars['String']['input']>;
4288
+ input: AiMessageSendInput;
4289
+ };
4290
+
4291
+
4223
4292
  export type MutationSyncFutureEventsToExternalCalendarArgs = {
4224
4293
  externalCalendarId: Scalars['ID']['input'];
4225
4294
  };
@@ -4545,6 +4614,9 @@ export type Query = {
4545
4614
  aggregatedEmployeeAvailabilityInsights: Array<AggregatedEmployeeAvailabilityInsight>;
4546
4615
  aggregatedOfficeAppointmentInsights: Array<AggregatedOfficeAppointmentInsight>;
4547
4616
  aggregatedOfficeAvailabilityInsights: Array<AggregatedOfficeAvailabilityInsight>;
4617
+ aiMessages: AiMessageConnection;
4618
+ aiThread: AiThread;
4619
+ aiThreads: AiThreadConnection;
4548
4620
  answerOption: AnswerOption;
4549
4621
  apiClients: Array<ApiClient>;
4550
4622
  appliedTemplates: AppliedTemplateConnection;
@@ -4555,6 +4627,7 @@ export type Query = {
4555
4627
  appointmentCountChart: Chart;
4556
4628
  appointmentCreatedByTypeChart: Chart;
4557
4629
  appointmentCustomerCountChart: Chart;
4630
+ appointmentEmployeeChart: Chart;
4558
4631
  appointmentMeetingTypeChart: Chart;
4559
4632
  appointmentOfficeChart: Chart;
4560
4633
  appointmentParticipant: AppointmentParticipant;
@@ -4717,6 +4790,32 @@ export type QueryAggregatedOfficeAvailabilityInsightsArgs = {
4717
4790
  };
4718
4791
 
4719
4792
 
4793
+ export type QueryAiMessagesArgs = {
4794
+ after?: InputMaybe<Scalars['String']['input']>;
4795
+ aiThreadId?: InputMaybe<Array<Scalars['String']['input']>>;
4796
+ before?: InputMaybe<Scalars['String']['input']>;
4797
+ first?: InputMaybe<Scalars['Int']['input']>;
4798
+ id?: InputMaybe<Array<Scalars['String']['input']>>;
4799
+ last?: InputMaybe<Scalars['Int']['input']>;
4800
+ sort?: InputMaybe<Array<AiMessageSort>>;
4801
+ };
4802
+
4803
+
4804
+ export type QueryAiThreadArgs = {
4805
+ id: Scalars['String']['input'];
4806
+ };
4807
+
4808
+
4809
+ export type QueryAiThreadsArgs = {
4810
+ after?: InputMaybe<Scalars['String']['input']>;
4811
+ before?: InputMaybe<Scalars['String']['input']>;
4812
+ first?: InputMaybe<Scalars['Int']['input']>;
4813
+ id?: InputMaybe<Array<Scalars['String']['input']>>;
4814
+ last?: InputMaybe<Scalars['Int']['input']>;
4815
+ sort?: InputMaybe<Array<AiThreadSort>>;
4816
+ };
4817
+
4818
+
4720
4819
  export type QueryAnswerOptionArgs = {
4721
4820
  id: Scalars['ID']['input'];
4722
4821
  };
@@ -4778,6 +4877,11 @@ export type QueryAppointmentCustomerCountChartArgs = {
4778
4877
  };
4779
4878
 
4780
4879
 
4880
+ export type QueryAppointmentEmployeeChartArgs = {
4881
+ filters: AppointmentChartFilters;
4882
+ };
4883
+
4884
+
4781
4885
  export type QueryAppointmentMeetingTypeChartArgs = {
4782
4886
  filters: AppointmentChartFilters;
4783
4887
  };
@@ -6115,6 +6219,16 @@ export type SortDirection =
6115
6219
  | 'ASC'
6116
6220
  | 'DESC';
6117
6221
 
6222
+ export type SortableAiMessageFields =
6223
+ | 'createdAt'
6224
+ | 'id'
6225
+ | 'updatedAt';
6226
+
6227
+ export type SortableAiThreadFields =
6228
+ | 'createdAt'
6229
+ | 'id'
6230
+ | 'updatedAt';
6231
+
6118
6232
  export type SortableAppointmentFields =
6119
6233
  | 'createdAt'
6120
6234
  | 'externalId'