@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/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'];
@@ -426,6 +472,12 @@ export type AppointmentLatestPossibleEnterpriseSetting = {
426
472
  /** The latest possible time from now an appointment can be booked. */
427
473
  value: Scalars['Int']['output'];
428
474
  };
475
+ export type AppointmentMeetingTypeUpdateInput = {
476
+ location?: InputMaybe<LocationInput>;
477
+ meetingType: MeetingType;
478
+ messageForCustomer?: InputMaybe<Scalars['String']['input']>;
479
+ userCommunication?: InputMaybe<AppointmentUserCommunicationInput>;
480
+ };
429
481
  export type AppointmentParticipant = {
430
482
  appointment: Appointment;
431
483
  appointmentId: Scalars['ID']['output'];
@@ -497,7 +549,7 @@ export type AppointmentSort = {
497
549
  };
498
550
  export type AppointmentSource = 'BACKOFFICE_APP' | 'OTHER' | 'PARTNER_BOOKING_APP' | 'PLUGIN';
499
551
  export type AppointmentStatus = 'ACCEPTED' | 'ALTERNATIVE_DATE_REQUESTED' | 'CANCELLED' | 'COMPLETED' | 'INCOMING_REQUEST' | 'NO_SHOW' | 'OUTGOING_INVITE';
500
- 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';
501
553
  export type AppointmentTextMessageMeta = {
502
554
  eventType: Scalars['String']['input'];
503
555
  };
@@ -2733,11 +2785,13 @@ export type Mutation = {
2733
2785
  */
2734
2786
  revertUnavailability: Array<Unavailability>;
2735
2787
  scheduleAppointment: Appointment;
2788
+ sendAIMessage: AiMessage;
2736
2789
  syncFutureEventsToExternalCalendar: Scalars['Boolean']['output'];
2737
2790
  syncMeetingRooms: Scalars['Boolean']['output'];
2738
2791
  syncMicrosoftDynamicsIntegrationCustomAttributes: Scalars['Boolean']['output'];
2739
2792
  testWebhookConfiguration: WebhookDelivery;
2740
2793
  toggleRedirectToSaml: Scalars['Boolean']['output'];
2794
+ updateAppointmentMeetingType: Appointment;
2741
2795
  uploadSamlIdentityProviderMetadataByFile: SamlIntegration;
2742
2796
  uploadSamlIdentityProviderMetadataByUrl: SamlIntegration;
2743
2797
  upsertMicrosoftGraphAPIEmailConfiguration: MicrosoftGraphApiEmailProviderConfiguration;
@@ -3330,6 +3384,10 @@ export type MutationRevertUnavailabilityArgs = {
3330
3384
  export type MutationScheduleAppointmentArgs = {
3331
3385
  appointmentCreateInput: AppointmentCreateInput;
3332
3386
  };
3387
+ export type MutationSendAiMessageArgs = {
3388
+ aiThreadId?: InputMaybe<Scalars['String']['input']>;
3389
+ input: AiMessageSendInput;
3390
+ };
3333
3391
  export type MutationSyncFutureEventsToExternalCalendarArgs = {
3334
3392
  externalCalendarId: Scalars['ID']['input'];
3335
3393
  };
@@ -3342,6 +3400,10 @@ export type MutationTestWebhookConfigurationArgs = {
3342
3400
  export type MutationToggleRedirectToSamlArgs = {
3343
3401
  shouldRedirectToSaml: Scalars['Boolean']['input'];
3344
3402
  };
3403
+ export type MutationUpdateAppointmentMeetingTypeArgs = {
3404
+ id: Scalars['ID']['input'];
3405
+ input: AppointmentMeetingTypeUpdateInput;
3406
+ };
3345
3407
  export type MutationUploadSamlIdentityProviderMetadataByFileArgs = {
3346
3408
  metadataXml: Scalars['String']['input'];
3347
3409
  };
@@ -3587,6 +3649,9 @@ export type Query = {
3587
3649
  aggregatedEmployeeAvailabilityInsights: Array<AggregatedEmployeeAvailabilityInsight>;
3588
3650
  aggregatedOfficeAppointmentInsights: Array<AggregatedOfficeAppointmentInsight>;
3589
3651
  aggregatedOfficeAvailabilityInsights: Array<AggregatedOfficeAvailabilityInsight>;
3652
+ aiMessages: AiMessageConnection;
3653
+ aiThread: AiThread;
3654
+ aiThreads: AiThreadConnection;
3590
3655
  answerOption: AnswerOption;
3591
3656
  apiClients: Array<ApiClient>;
3592
3657
  appliedTemplates: AppliedTemplateConnection;
@@ -3597,6 +3662,7 @@ export type Query = {
3597
3662
  appointmentCountChart: Chart;
3598
3663
  appointmentCreatedByTypeChart: Chart;
3599
3664
  appointmentCustomerCountChart: Chart;
3665
+ appointmentEmployeeChart: Chart;
3600
3666
  appointmentMeetingTypeChart: Chart;
3601
3667
  appointmentOfficeChart: Chart;
3602
3668
  appointmentParticipant: AppointmentParticipant;
@@ -3749,6 +3815,26 @@ export type QueryAggregatedOfficeAvailabilityInsightsArgs = {
3749
3815
  to: Scalars['ISO8601']['input'];
3750
3816
  weekStartsOn?: InputMaybe<AggregatedAvailabilityInsightsWeekStartsOn>;
3751
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
+ };
3752
3838
  export type QueryAnswerOptionArgs = {
3753
3839
  id: Scalars['ID']['input'];
3754
3840
  };
@@ -3792,6 +3878,9 @@ export type QueryAppointmentCreatedByTypeChartArgs = {
3792
3878
  export type QueryAppointmentCustomerCountChartArgs = {
3793
3879
  filters: AppointmentChartFilters;
3794
3880
  };
3881
+ export type QueryAppointmentEmployeeChartArgs = {
3882
+ filters: AppointmentChartFilters;
3883
+ };
3795
3884
  export type QueryAppointmentMeetingTypeChartArgs = {
3796
3885
  filters: AppointmentChartFilters;
3797
3886
  };
@@ -4842,6 +4931,8 @@ export type SessionEventLeadSegmentIdType = 'code' | 'id';
4842
4931
  export type SessionIntent = 'CANCEL' | 'COMPLETE' | 'EDIT' | 'INVITE' | 'RESCHEDULE' | 'SCHEDULE' | 'SECONDARY_CUSTOMER_DECLINE';
4843
4932
  export type ShowAs = 'BUSY' | 'FREE' | 'TENTATIVE';
4844
4933
  export type SortDirection = 'ASC' | 'DESC';
4934
+ export type SortableAiMessageFields = 'createdAt' | 'id' | 'updatedAt';
4935
+ export type SortableAiThreadFields = 'createdAt' | 'id' | 'updatedAt';
4845
4936
  export type SortableAppointmentFields = 'createdAt' | 'externalId' | 'id' | 'start' | 'updatedAt';
4846
4937
  export type SortableAuditLogFields = 'event' | 'id' | 'modifiedAt' | 'resourceId' | 'resourceType';
4847
4938
  export type SortableAvailabilityTemplateFields = 'id' | 'name' | 'order' | 'type';