@pexip-engage-public/graphql 1.7.5 → 1.7.7

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
@@ -433,7 +433,7 @@ export type AppointmentEdge = {
433
433
  export type AppointmentEmailMeta = {
434
434
  eventType: AppointmentTemplateName;
435
435
  };
436
- 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' | 'LOCATION_UPDATED' | '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';
436
+ 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' | 'LOCATION_UPDATED' | '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' | 'UPDATE_APPOINTMENT_DETAILS';
437
437
  export type AppointmentIdentity = {
438
438
  backofficeUrl: Scalars['String']['output'];
439
439
  id: Scalars['Int']['output'];
@@ -566,7 +566,7 @@ export type AppointmentSort = {
566
566
  };
567
567
  export type AppointmentSource = 'BACKOFFICE_APP' | 'OTHER' | 'PARTNER_BOOKING_APP' | 'PLUGIN';
568
568
  export type AppointmentStatus = 'ACCEPTED' | 'ALTERNATIVE_DATE_REQUESTED' | 'CANCELLED' | 'COMPLETED' | 'INCOMING_REQUEST' | 'NO_SHOW' | 'OUTGOING_INVITE';
569
- 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' | 'LOCATION_UPDATED' | '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';
569
+ 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' | 'LOCATION_UPDATED' | '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' | 'UPDATE_APPOINTMENT_DETAILS';
570
570
  export type AppointmentTextMessageMeta = {
571
571
  eventType: Scalars['String']['input'];
572
572
  };
@@ -1162,6 +1162,24 @@ export type CustomerSort = {
1162
1162
  direction: SortDirection;
1163
1163
  field: SortableCustomerFields;
1164
1164
  };
1165
+ export type DataExport = {
1166
+ active: Scalars['Boolean']['output'];
1167
+ createdAt: Scalars['ISO8601']['output'];
1168
+ exportMode: DataExportMode;
1169
+ id: Scalars['Int']['output'];
1170
+ lastSuccessfulExport?: Maybe<Scalars['ISO8601']['output']>;
1171
+ lastSuccessfulExportRecords?: Maybe<Scalars['Int']['output']>;
1172
+ type: DataExportType;
1173
+ updatedAt: Scalars['ISO8601']['output'];
1174
+ };
1175
+ export type DataExportFile = {
1176
+ /** Size of the file in bytes */
1177
+ contentLength?: Maybe<Scalars['Float']['output']>;
1178
+ lastModified?: Maybe<Scalars['ISO8601']['output']>;
1179
+ name: Scalars['String']['output'];
1180
+ };
1181
+ export type DataExportMode = 'FULL_SNAPSHOT' | 'INCREMENTAL';
1182
+ export type DataExportType = 'EXPERTISE' | 'MEETING_ROOMS' | 'MEETING_ROOM_SCHEDULING_SETTINGS' | 'OFFICE_RELATIONS';
1165
1183
  export type DataRetentionDurationEnterpriseSetting = {
1166
1184
  createdAt: Scalars['ISO8601']['output'];
1167
1185
  /** 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. */
@@ -1381,6 +1399,7 @@ export type Employee = {
1381
1399
  communicationEmail?: Maybe<Scalars['String']['output']>;
1382
1400
  createdAt: Scalars['ISO8601']['output'];
1383
1401
  deletedAt?: Maybe<Scalars['ISO8601']['output']>;
1402
+ description?: Maybe<TranslationObject>;
1384
1403
  /** Email address intended for identification and login purposes. */
1385
1404
  email: Scalars['String']['output'];
1386
1405
  externalCalendarAccounts: Array<ExternalCalendarAccount>;
@@ -1496,6 +1515,7 @@ export type EmployeeNotificationSettingsEnterpriseSetting = {
1496
1515
  export type EmployeePatchAccess = {
1497
1516
  availableRoles: Scalars['Boolean']['output'];
1498
1517
  communicationEmail: Scalars['Boolean']['output'];
1518
+ description: Scalars['Boolean']['output'];
1499
1519
  email: Scalars['Boolean']['output'];
1500
1520
  externalId: Scalars['Boolean']['output'];
1501
1521
  firstName: Scalars['Boolean']['output'];
@@ -1541,12 +1561,15 @@ export type EmployeeSort = {
1541
1561
  };
1542
1562
  export type EmployeeStatus = 'ACTIVE' | 'PENDING' | 'SUSPENDED';
1543
1563
  export type EmployeeTranslations = {
1564
+ description: Array<TranslationObject>;
1544
1565
  function: Array<TranslationObject>;
1545
1566
  };
1546
1567
  export type EmployeeTranslationsCreateInput = {
1568
+ description?: InputMaybe<Array<TranslationObjectInput>>;
1547
1569
  function?: InputMaybe<Array<TranslationObjectInput>>;
1548
1570
  };
1549
1571
  export type EmployeeTranslationsPatchInput = {
1572
+ description?: InputMaybe<Array<TranslationObjectInput>>;
1550
1573
  function?: InputMaybe<Array<TranslationObjectInput>>;
1551
1574
  };
1552
1575
  export type Enterprise = {
@@ -1650,6 +1673,8 @@ export type EnterpriseSettings = {
1650
1673
  localizedTermsAndConditionsUrls: LocalizedTermsAndConditionsUrlsEnterpriseSetting;
1651
1674
  /** The URL of the enterprise's logo. */
1652
1675
  logoUrl: LogoUrlEnterpriseSetting;
1676
+ /** Toggles maintenance mode for the environment. */
1677
+ maintenanceMode: MaintenanceModeEnterpriseSetting;
1653
1678
  /** The default value for the amount of maximum concurrent appointments allowed. */
1654
1679
  maxConcurrentAppointments: MaxConcurrentAppointmentsEnterpriseSetting;
1655
1680
  /** This setting determines whether meeting rooms are enabled. */
@@ -1754,6 +1779,8 @@ export type EnterpriseSettingsPatchInput = {
1754
1779
  localizedTermsAndConditionsUrls?: InputMaybe<LocalizedTermsAndConditionsUrlsInput>;
1755
1780
  /** The URL of the enterprise's logo. */
1756
1781
  logoUrl?: InputMaybe<LogoUrlInput>;
1782
+ /** Toggles maintenance mode for the environment. */
1783
+ maintenanceMode?: InputMaybe<MaintenanceModeInput>;
1757
1784
  /** The default value for the amount of maximum concurrent appointments allowed. */
1758
1785
  maxConcurrentAppointments?: InputMaybe<MaxConcurrentAppointmentsInput>;
1759
1786
  /** This setting determines whether meeting rooms are enabled. */
@@ -2428,6 +2455,14 @@ export type LogoUrlEnterpriseSetting = {
2428
2455
  /** The URL of the enterprise's logo. */
2429
2456
  value: Scalars['String']['output'];
2430
2457
  };
2458
+ export type MaintenanceModeEnterpriseSetting = {
2459
+ createdAt: Scalars['ISO8601']['output'];
2460
+ /** 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. */
2461
+ manageable: Scalars['Boolean']['output'];
2462
+ updatedAt: Scalars['ISO8601']['output'];
2463
+ /** Toggles maintenance mode for the environment. */
2464
+ value: Scalars['Boolean']['output'];
2465
+ };
2431
2466
  export type Managed = {
2432
2467
  attempts: Scalars['Int']['output'];
2433
2468
  createdAt: Scalars['ISO8601']['output'];
@@ -2725,6 +2760,7 @@ export type Mutation = {
2725
2760
  createDataShownSessionEvent: Scalars['Boolean']['output'];
2726
2761
  createDownloadAppointmentFileLink: Scalars['String']['output'];
2727
2762
  createDownloadCallbackRequestFileLink: Scalars['String']['output'];
2763
+ createDownloadDataExportLink: Scalars['String']['output'];
2728
2764
  createDownloadFileLink: Scalars['String']['output'];
2729
2765
  createDownloadUnavailabilityFileLink: Scalars['String']['output'];
2730
2766
  createEmployee: Employee;
@@ -2810,6 +2846,7 @@ export type Mutation = {
2810
2846
  patchCalendarEventTemplate: CalendarEventTemplate;
2811
2847
  patchCallbackRequest: CallbackRequest;
2812
2848
  patchCustomer: Customer;
2849
+ patchDataExport: DataExport;
2813
2850
  patchEmailTemplate: EmailTemplate;
2814
2851
  patchEmployee: Employee;
2815
2852
  patchEnterpriseSettings: EnterpriseSettings;
@@ -2907,6 +2944,7 @@ export type Mutation = {
2907
2944
  syncMicrosoftDynamicsIntegrationCustomAttributes: Scalars['Boolean']['output'];
2908
2945
  testMeetingRoomAccess: Scalars['Boolean']['output'];
2909
2946
  testWebhookConfiguration: WebhookDelivery;
2947
+ updateAppointmentDetails: Appointment;
2910
2948
  updateAppointmentLocation: Appointment;
2911
2949
  updateAppointmentMeetingType: Appointment;
2912
2950
  uploadSamlIdentityProviderMetadataByFile: SamlIntegration;
@@ -2990,6 +3028,10 @@ export type MutationCreateDownloadCallbackRequestFileLinkArgs = {
2990
3028
  fileId: Scalars['String']['input'];
2991
3029
  id: Scalars['ID']['input'];
2992
3030
  };
3031
+ export type MutationCreateDownloadDataExportLinkArgs = {
3032
+ dataExportId: Scalars['Int']['input'];
3033
+ fileName: Scalars['String']['input'];
3034
+ };
2993
3035
  export type MutationCreateDownloadFileLinkArgs = {
2994
3036
  id: Scalars['String']['input'];
2995
3037
  };
@@ -3240,6 +3282,10 @@ export type MutationPatchCustomerArgs = {
3240
3282
  customerPatchInput: CustomerPatchInput;
3241
3283
  id: Scalars['ID']['input'];
3242
3284
  };
3285
+ export type MutationPatchDataExportArgs = {
3286
+ id: Scalars['Int']['input'];
3287
+ input: PatchDataExportInput;
3288
+ };
3243
3289
  export type MutationPatchEmailTemplateArgs = {
3244
3290
  id: Scalars['ID']['input'];
3245
3291
  input: EmailTemplatePatchInput;
@@ -3565,6 +3611,11 @@ export type MutationTestMeetingRoomAccessArgs = {
3565
3611
  export type MutationTestWebhookConfigurationArgs = {
3566
3612
  id: Scalars['ID']['input'];
3567
3613
  };
3614
+ export type MutationUpdateAppointmentDetailsArgs = {
3615
+ forceTimeSlotValidation?: InputMaybe<Scalars['Boolean']['input']>;
3616
+ id: Scalars['ID']['input'];
3617
+ input: UpdateAppointmentDetailsInput;
3618
+ };
3568
3619
  export type MutationUpdateAppointmentLocationArgs = {
3569
3620
  id: Scalars['ID']['input'];
3570
3621
  input: AppointmentLocationUpdateInput;
@@ -3852,6 +3903,9 @@ export type PasswordAuthenticationEnabledEnterpriseSetting = {
3852
3903
  /** Whether password authentication is used. */
3853
3904
  value: Scalars['Boolean']['output'];
3854
3905
  };
3906
+ export type PatchDataExportInput = {
3907
+ active: Scalars['Boolean']['input'];
3908
+ };
3855
3909
  export type PexipInfinityCall = {
3856
3910
  conferenceNode: Scalars['String']['output'];
3857
3911
  dialInCode: Scalars['String']['output'];
@@ -3930,6 +3984,9 @@ export type Query = {
3930
3984
  conversionAnalyticsUserOSFamilyChart: Chart;
3931
3985
  customer: Customer;
3932
3986
  customers: CustomerConnection;
3987
+ dataExport: DataExport;
3988
+ dataExportFiles: Array<DataExportFile>;
3989
+ dataExports: Array<DataExport>;
3933
3990
  definedAvailability: Array<DefinedAvailability>;
3934
3991
  definedAvailabilityEvents: Array<DefinedAvailabilityEvent>;
3935
3992
  emailTemplate: EmailTemplate;
@@ -4326,6 +4383,12 @@ export type QueryCustomersArgs = {
4326
4383
  withAnonymized?: InputMaybe<Scalars['Boolean']['input']>;
4327
4384
  withDeleted?: InputMaybe<Scalars['Boolean']['input']>;
4328
4385
  };
4386
+ export type QueryDataExportArgs = {
4387
+ id: Scalars['Int']['input'];
4388
+ };
4389
+ export type QueryDataExportFilesArgs = {
4390
+ dataExportId: Scalars['Int']['input'];
4391
+ };
4329
4392
  export type QueryDefinedAvailabilityArgs = {
4330
4393
  employeeIds?: InputMaybe<Array<Scalars['ID']['input']>>;
4331
4394
  from: Scalars['ISO8601']['input'];
@@ -4384,6 +4447,7 @@ export type QueryExternalCalendarAccountsArgs = {
4384
4447
  after?: InputMaybe<Scalars['String']['input']>;
4385
4448
  before?: InputMaybe<Scalars['String']['input']>;
4386
4449
  createOnlineMeetings?: InputMaybe<Scalars['Boolean']['input']>;
4450
+ credentialsValid?: InputMaybe<Scalars['Boolean']['input']>;
4387
4451
  employeeId?: InputMaybe<Array<Scalars['ID']['input']>>;
4388
4452
  first?: InputMaybe<Scalars['Int']['input']>;
4389
4453
  id?: InputMaybe<Array<Scalars['ID']['input']>>;
@@ -5080,7 +5144,7 @@ export type RenderedTemplateMeta = {
5080
5144
  receiver: Receiver;
5081
5145
  timeZone: Scalars['String']['output'];
5082
5146
  };
5083
- export type ResourceType = 'ANSWER_OPTION' | 'API_CLIENT' | 'APPLIED_TEMPLATE' | 'APPOINTMENT' | 'AVAILABILITY_TEMPLATE' | 'AVAILABILITY_TIME_RANGE' | 'AVAILABILITY_TIME_RANGE_OFFICE' | 'CALENDAR_EVENT_TEMPLATE' | 'CALLBACK_REQUEST' | 'CUSTOMER' | 'EMAIL_TEMPLATE' | 'EMPLOYEE' | 'ENTERPRISE_SETTING' | 'EXTERNAL_CALENDAR' | 'EXTERNAL_CALENDAR_ACCOUNT' | 'FETCH_CONFIGURATION' | 'FILE' | 'FORM' | 'LEAD_SEGMENT' | 'LISTING' | 'MEETING_ROOM' | 'MEETING_TYPE' | 'OFFICE' | 'OFFICE_RELATION' | 'OIDC_INTEGRATION' | 'QUESTION' | 'SAML_INTEGRATION' | 'SAML_KEY_PROVIDER' | 'SCIM_TOKEN' | 'SUBJECT' | 'SUBJECT_GROUP' | 'TEXT_MESSAGE_TEMPLATE' | 'UNAVAILABILITY';
5147
+ export type ResourceType = 'ANSWER_OPTION' | 'API_CLIENT' | 'APPLIED_TEMPLATE' | 'APPOINTMENT' | 'AVAILABILITY_TEMPLATE' | 'AVAILABILITY_TIME_RANGE' | 'AVAILABILITY_TIME_RANGE_OFFICE' | 'CALENDAR_EVENT_TEMPLATE' | 'CALLBACK_REQUEST' | 'CUSTOMER' | 'EMAIL_TEMPLATE' | 'EMPLOYEE' | 'ENTERPRISE_SETTING' | 'EXTERNAL_CALENDAR' | 'EXTERNAL_CALENDAR_ACCOUNT' | 'FETCH_CONFIGURATION' | 'FILE' | 'FORM' | 'LEAD_SEGMENT' | 'LISTING' | 'MEETING_ROOM' | 'MEETING_TYPE' | 'OFFICE' | 'OFFICE_RELATION' | 'OFFICE_UNAVAILABILITY' | 'OIDC_INTEGRATION' | 'QUESTION' | 'SAML_INTEGRATION' | 'SAML_KEY_PROVIDER' | 'SCIM_TOKEN' | 'SUBJECT' | 'SUBJECT_GROUP' | 'TEXT_MESSAGE_TEMPLATE' | 'UNAVAILABILITY';
5084
5148
  export type SamlIntegration = {
5085
5149
  active: Scalars['Boolean']['output'];
5086
5150
  forceAuthentication: Scalars['Boolean']['output'];
@@ -5800,6 +5864,18 @@ export type UnavailabilityRevertInput = {
5800
5864
  startDate: Scalars['CalendarDate']['input'];
5801
5865
  };
5802
5866
  export type UnavailabilityType = 'APPOINTMENT' | 'EXTERNAL_CALENDAR' | 'LISTING_EXCLUSIVITY' | 'USER_DEFINED';
5867
+ export type UpdateAppointmentDetailsInput = {
5868
+ answers?: InputMaybe<Array<AppointmentAnswerInput>>;
5869
+ appointmentParticipants?: InputMaybe<Array<AppointmentParticipantCreateInput>>;
5870
+ end?: InputMaybe<Scalars['ISO8601']['input']>;
5871
+ messageForCustomer?: InputMaybe<Scalars['String']['input']>;
5872
+ officeId?: InputMaybe<Scalars['ID']['input']>;
5873
+ start?: InputMaybe<Scalars['ISO8601']['input']>;
5874
+ token?: InputMaybe<Scalars['String']['input']>;
5875
+ updatedById?: InputMaybe<Scalars['ID']['input']>;
5876
+ updatedByType?: InputMaybe<UserType>;
5877
+ userCommunication?: InputMaybe<AppointmentUserCommunicationInput>;
5878
+ };
5803
5879
  export type UserType = 'CUSTOMER' | 'EMPLOYEE' | 'OTHER';
5804
5880
  export type ValidatedTimetableSlot = {
5805
5881
  availableMeetingRooms: Array<MeetingRoom>;
@@ -6140,6 +6216,11 @@ export type LogoUrlInput = {
6140
6216
  /** The URL of the enterprise's logo. */
6141
6217
  value?: InputMaybe<Scalars['String']['input']>;
6142
6218
  };
6219
+ export type MaintenanceModeInput = {
6220
+ manageable?: InputMaybe<Scalars['Boolean']['input']>;
6221
+ /** Toggles maintenance mode for the environment. */
6222
+ value?: InputMaybe<Scalars['Boolean']['input']>;
6223
+ };
6143
6224
  export type MaxConcurrentAppointmentsInput = {
6144
6225
  manageable?: InputMaybe<Scalars['Boolean']['input']>;
6145
6226
  /** The default value for the amount of maximum concurrent appointments allowed. */