@pexip-engage-public/graphql 1.3.2 → 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'
@@ -464,6 +525,13 @@ export type AppointmentLatestPossibleEnterpriseSetting = {
464
525
  value: Scalars['Int']['output'];
465
526
  };
466
527
 
528
+ export type AppointmentMeetingTypeUpdateInput = {
529
+ location?: InputMaybe<LocationInput>;
530
+ meetingType: MeetingType;
531
+ messageForCustomer?: InputMaybe<Scalars['String']['input']>;
532
+ userCommunication?: InputMaybe<AppointmentUserCommunicationInput>;
533
+ };
534
+
467
535
  export type AppointmentParticipant = {
468
536
  appointment: Appointment;
469
537
  appointmentId: Scalars['ID']['output'];
@@ -568,6 +636,7 @@ export type AppointmentTemplateName =
568
636
  | 'CREATED_BY_EMPLOYEE'
569
637
  | 'EMPLOYEE_CREATED'
570
638
  | 'EXTERNAL_CALENDAR_ACCOUNT_BROKEN'
639
+ | 'MEETING_TYPE_UPDATED'
571
640
  | 'REMINDER'
572
641
  | 'REQUEST_CREATED_BY_CUSTOMER'
573
642
  | 'REQUEST_CREATED_BY_EMPLOYEE'
@@ -3289,11 +3358,13 @@ export type Mutation = {
3289
3358
  */
3290
3359
  revertUnavailability: Array<Unavailability>;
3291
3360
  scheduleAppointment: Appointment;
3361
+ sendAIMessage: AiMessage;
3292
3362
  syncFutureEventsToExternalCalendar: Scalars['Boolean']['output'];
3293
3363
  syncMeetingRooms: Scalars['Boolean']['output'];
3294
3364
  syncMicrosoftDynamicsIntegrationCustomAttributes: Scalars['Boolean']['output'];
3295
3365
  testWebhookConfiguration: WebhookDelivery;
3296
3366
  toggleRedirectToSaml: Scalars['Boolean']['output'];
3367
+ updateAppointmentMeetingType: Appointment;
3297
3368
  uploadSamlIdentityProviderMetadataByFile: SamlIntegration;
3298
3369
  uploadSamlIdentityProviderMetadataByUrl: SamlIntegration;
3299
3370
  upsertMicrosoftGraphAPIEmailConfiguration: MicrosoftGraphApiEmailProviderConfiguration;
@@ -4212,6 +4283,12 @@ export type MutationScheduleAppointmentArgs = {
4212
4283
  };
4213
4284
 
4214
4285
 
4286
+ export type MutationSendAiMessageArgs = {
4287
+ aiThreadId?: InputMaybe<Scalars['String']['input']>;
4288
+ input: AiMessageSendInput;
4289
+ };
4290
+
4291
+
4215
4292
  export type MutationSyncFutureEventsToExternalCalendarArgs = {
4216
4293
  externalCalendarId: Scalars['ID']['input'];
4217
4294
  };
@@ -4232,6 +4309,12 @@ export type MutationToggleRedirectToSamlArgs = {
4232
4309
  };
4233
4310
 
4234
4311
 
4312
+ export type MutationUpdateAppointmentMeetingTypeArgs = {
4313
+ id: Scalars['ID']['input'];
4314
+ input: AppointmentMeetingTypeUpdateInput;
4315
+ };
4316
+
4317
+
4235
4318
  export type MutationUploadSamlIdentityProviderMetadataByFileArgs = {
4236
4319
  metadataXml: Scalars['String']['input'];
4237
4320
  };
@@ -4531,6 +4614,9 @@ export type Query = {
4531
4614
  aggregatedEmployeeAvailabilityInsights: Array<AggregatedEmployeeAvailabilityInsight>;
4532
4615
  aggregatedOfficeAppointmentInsights: Array<AggregatedOfficeAppointmentInsight>;
4533
4616
  aggregatedOfficeAvailabilityInsights: Array<AggregatedOfficeAvailabilityInsight>;
4617
+ aiMessages: AiMessageConnection;
4618
+ aiThread: AiThread;
4619
+ aiThreads: AiThreadConnection;
4534
4620
  answerOption: AnswerOption;
4535
4621
  apiClients: Array<ApiClient>;
4536
4622
  appliedTemplates: AppliedTemplateConnection;
@@ -4541,6 +4627,7 @@ export type Query = {
4541
4627
  appointmentCountChart: Chart;
4542
4628
  appointmentCreatedByTypeChart: Chart;
4543
4629
  appointmentCustomerCountChart: Chart;
4630
+ appointmentEmployeeChart: Chart;
4544
4631
  appointmentMeetingTypeChart: Chart;
4545
4632
  appointmentOfficeChart: Chart;
4546
4633
  appointmentParticipant: AppointmentParticipant;
@@ -4703,6 +4790,32 @@ export type QueryAggregatedOfficeAvailabilityInsightsArgs = {
4703
4790
  };
4704
4791
 
4705
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
+
4706
4819
  export type QueryAnswerOptionArgs = {
4707
4820
  id: Scalars['ID']['input'];
4708
4821
  };
@@ -4764,6 +4877,11 @@ export type QueryAppointmentCustomerCountChartArgs = {
4764
4877
  };
4765
4878
 
4766
4879
 
4880
+ export type QueryAppointmentEmployeeChartArgs = {
4881
+ filters: AppointmentChartFilters;
4882
+ };
4883
+
4884
+
4767
4885
  export type QueryAppointmentMeetingTypeChartArgs = {
4768
4886
  filters: AppointmentChartFilters;
4769
4887
  };
@@ -6101,6 +6219,16 @@ export type SortDirection =
6101
6219
  | 'ASC'
6102
6220
  | 'DESC';
6103
6221
 
6222
+ export type SortableAiMessageFields =
6223
+ | 'createdAt'
6224
+ | 'id'
6225
+ | 'updatedAt';
6226
+
6227
+ export type SortableAiThreadFields =
6228
+ | 'createdAt'
6229
+ | 'id'
6230
+ | 'updatedAt';
6231
+
6104
6232
  export type SortableAppointmentFields =
6105
6233
  | 'createdAt'
6106
6234
  | 'externalId'