@pexip-engage-public/graphql 1.7.9 → 1.8.0

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
@@ -106,13 +106,14 @@ export type AgentLanguageExpertiseEnterpriseSetting = {
106
106
  value: AgentLanguageExpertiseSetting;
107
107
  };
108
108
  export type AgentLanguageExpertiseSetting = 'DISABLED' | 'HINT' | 'STRICT';
109
- export type AgentPrioritizationEnabledEnterpriseSetting = {
109
+ export type AgentPrioritizationStrategy = 'DISABLED' | 'RANK_OFFSET_PRIORITY' | 'SLOT_LEVEL_PRIORITY';
110
+ export type AgentPrioritizationStrategyEnterpriseSetting = {
110
111
  createdAt: Scalars['ISO8601']['output'];
111
112
  /** 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. */
112
113
  manageable: Scalars['Boolean']['output'];
113
114
  updatedAt: Scalars['ISO8601']['output'];
114
- /** Whether ranking should be applied when offering employees for scheduling. */
115
- value: Scalars['Boolean']['output'];
115
+ /** The strategy used for agent prioritization when offering employees for scheduling. */
116
+ value: AgentPrioritizationStrategy;
116
117
  };
117
118
  export type AggregatedAppointmentInsightsInterval = 'DAY' | 'MONTH' | 'WEEK';
118
119
  export type AggregatedAppointmentInsightsWeekStartsOn = 'MONDAY' | 'SUNDAY';
@@ -433,7 +434,7 @@ export type AppointmentEdge = {
433
434
  export type AppointmentEmailMeta = {
434
435
  eventType: AppointmentTemplateName;
435
436
  };
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
+ 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_CUSTOMERS_UPDATED' | 'SECONDARY_CUSTOMER_ADDED' | 'SECONDARY_CUSTOMER_REMOVED' | 'SECONDARY_EMPLOYEES_UPDATED' | 'SECONDARY_EMPLOYEE_ADDED' | 'SECONDARY_EMPLOYEE_REMOVED' | 'UPDATE_APPOINTMENT_DETAILS';
437
438
  export type AppointmentIdentity = {
438
439
  backofficeUrl: Scalars['String']['output'];
439
440
  id: Scalars['Int']['output'];
@@ -566,7 +567,7 @@ export type AppointmentSort = {
566
567
  };
567
568
  export type AppointmentSource = 'BACKOFFICE_APP' | 'OTHER' | 'PARTNER_BOOKING_APP' | 'PLUGIN';
568
569
  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' | 'UPDATE_APPOINTMENT_DETAILS';
570
+ 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_CUSTOMERS_UPDATED' | 'SECONDARY_CUSTOMER_ADDED' | 'SECONDARY_CUSTOMER_REMOVED' | 'SECONDARY_EMPLOYEES_UPDATED' | 'SECONDARY_EMPLOYEE_ADDED' | 'SECONDARY_EMPLOYEE_REMOVED' | 'SECONDARY_PARTICIPANTS_UPDATED' | 'UPDATE_APPOINTMENT_DETAILS';
570
571
  export type AppointmentTextMessageMeta = {
571
572
  eventType: Scalars['String']['input'];
572
573
  };
@@ -1177,7 +1178,7 @@ export type DataExportEnabledEnterpriseSetting = {
1177
1178
  /** 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. */
1178
1179
  manageable: Scalars['Boolean']['output'];
1179
1180
  updatedAt: Scalars['ISO8601']['output'];
1180
- /** Whether data export is enabled. */
1181
+ /** Whether the data export feature is enabled. */
1181
1182
  value: Scalars['Boolean']['output'];
1182
1183
  };
1183
1184
  export type DataExportFile = {
@@ -1596,8 +1597,8 @@ export type EnterpriseSettings = {
1596
1597
  activeLanguages: ActiveLanguagesEnterpriseSetting;
1597
1598
  /** This setting determines whether agent language expertise filters are enabled and in which mode. */
1598
1599
  agentLanguageExpertise: AgentLanguageExpertiseEnterpriseSetting;
1599
- /** Whether ranking should be applied when offering employees for scheduling. */
1600
- agentPrioritizationEnabled: AgentPrioritizationEnabledEnterpriseSetting;
1600
+ /** The strategy used for agent prioritization when offering employees for scheduling. */
1601
+ agentPrioritizationStrategy: AgentPrioritizationStrategyEnterpriseSetting;
1601
1602
  /** The providers from which an employee can choose to connect an external calendar account. */
1602
1603
  allowedExternalCalendarAccountProviders: AllowedExternalCalendarAccountProvidersEnterpriseSetting;
1603
1604
  /** The allowed providers for meeting rooms. */
@@ -1628,7 +1629,7 @@ export type EnterpriseSettings = {
1628
1629
  customerNotificationSettings: CustomerNotificationSettingsEnterpriseSetting;
1629
1630
  /** The settings used to calculate which reminders should be sent to the customer. */
1630
1631
  customerReminderSettings: CustomerReminderSettingsEnterpriseSetting;
1631
- /** Whether data export is enabled. */
1632
+ /** Whether the data export feature is enabled. */
1632
1633
  dataExportEnabled: DataExportEnabledEnterpriseSetting;
1633
1634
  /** The duration in minutes stale data is retained before it is anonymized. */
1634
1635
  dataRetentionDuration: DataRetentionDurationEnterpriseSetting;
@@ -1717,8 +1718,8 @@ export type EnterpriseSettingsPatchInput = {
1717
1718
  activeLanguages?: InputMaybe<ActiveLanguagesInput>;
1718
1719
  /** This setting determines whether agent language expertise filters are enabled and in which mode. */
1719
1720
  agentLanguageExpertise?: InputMaybe<AgentLanguageExpertiseInput>;
1720
- /** Whether ranking should be applied when offering employees for scheduling. */
1721
- agentPrioritizationEnabled?: InputMaybe<AgentPrioritizationEnabledInput>;
1721
+ /** The strategy used for agent prioritization when offering employees for scheduling. */
1722
+ agentPrioritizationStrategy?: InputMaybe<AgentPrioritizationStrategyInput>;
1722
1723
  /** The providers from which an employee can choose to connect an external calendar account. */
1723
1724
  allowedExternalCalendarAccountProviders?: InputMaybe<AllowedExternalCalendarAccountProvidersInput>;
1724
1725
  /** The allowed providers for meeting rooms. */
@@ -1749,7 +1750,7 @@ export type EnterpriseSettingsPatchInput = {
1749
1750
  customerNotificationSettings?: InputMaybe<CustomerNotificationSettingsInput>;
1750
1751
  /** The settings used to calculate which reminders should be sent to the customer. */
1751
1752
  customerReminderSettings?: InputMaybe<CustomerReminderSettingsInput>;
1752
- /** Whether data export is enabled. */
1753
+ /** Whether the data export feature is enabled. */
1753
1754
  dataExportEnabled?: InputMaybe<DataExportEnabledInput>;
1754
1755
  /** The duration in minutes stale data is retained before it is anonymized. */
1755
1756
  dataRetentionDuration?: InputMaybe<DataRetentionDurationInput>;
@@ -1951,12 +1952,14 @@ export type ExternalCalendarPatchInput = {
1951
1952
  export type ExternalCalendarProvider = 'CRONOFY' | 'GOOGLE' | 'OFFICE365';
1952
1953
  export type ExternalCustomerField = 'company' | 'customerNumber' | 'email' | 'existing' | 'firstName' | 'language' | 'lastName' | 'location' | 'phoneNumber' | 'timeZone';
1953
1954
  export type ExternalCustomerFieldSettingEnterpriseSettingInput = {
1955
+ editable: Scalars['Boolean']['input'];
1954
1956
  field: ExternalCustomerField;
1955
1957
  order: Scalars['Int']['input'];
1956
1958
  required: Scalars['Boolean']['input'];
1957
1959
  show: Scalars['Boolean']['input'];
1958
1960
  };
1959
1961
  export type ExternalCustomerFieldSettingEnterpriseSettingValue = {
1962
+ editable: Scalars['Boolean']['output'];
1960
1963
  field: ExternalCustomerField;
1961
1964
  order: Scalars['Int']['output'];
1962
1965
  required: Scalars['Boolean']['output'];
@@ -2163,6 +2166,7 @@ export type Intent = 'CANCEL' | 'DECLINE' | 'EDIT' | 'INVITE';
2163
2166
  export type InteractionState = 'COMPLETED' | 'SHOWN' | 'TOUCHED';
2164
2167
  export type InternalCustomerField = 'company' | 'customerNumber' | 'email' | 'existing' | 'externalId' | 'firstName' | 'language' | 'lastName' | 'location' | 'notes' | 'phoneNumber' | 'timeZone';
2165
2168
  export type InternalCustomerFieldSettingEnterpriseSettingInput = {
2169
+ editable: Scalars['Boolean']['input'];
2166
2170
  field: InternalCustomerField;
2167
2171
  order: Scalars['Int']['input'];
2168
2172
  private: Scalars['Boolean']['input'];
@@ -2170,6 +2174,7 @@ export type InternalCustomerFieldSettingEnterpriseSettingInput = {
2170
2174
  show: Scalars['Boolean']['input'];
2171
2175
  };
2172
2176
  export type InternalCustomerFieldSettingEnterpriseSettingValue = {
2177
+ editable: Scalars['Boolean']['output'];
2173
2178
  field: InternalCustomerField;
2174
2179
  order: Scalars['Int']['output'];
2175
2180
  private: Scalars['Boolean']['output'];
@@ -4957,6 +4962,7 @@ export type QueryTimetableArgs = {
4957
4962
  employeeId?: InputMaybe<Array<Scalars['ID']['input']>>;
4958
4963
  employeeLanguages?: InputMaybe<Array<Language>>;
4959
4964
  from: Scalars['ISO8601']['input'];
4965
+ ignoreAppointment?: InputMaybe<Scalars['ID']['input']>;
4960
4966
  ignoreCoverageRegions?: InputMaybe<Scalars['Boolean']['input']>;
4961
4967
  leadSegmentId?: InputMaybe<Scalars['ID']['input']>;
4962
4968
  listingId?: InputMaybe<Scalars['ID']['input']>;
@@ -4983,6 +4989,7 @@ export type QueryValidateTimetableSlotArgs = {
4983
4989
  employeeId?: InputMaybe<Array<Scalars['ID']['input']>>;
4984
4990
  employeeLanguages?: InputMaybe<Array<Language>>;
4985
4991
  from: Scalars['ISO8601']['input'];
4992
+ ignoreAppointment?: InputMaybe<Scalars['ID']['input']>;
4986
4993
  ignoreCoverageRegions?: InputMaybe<Scalars['Boolean']['input']>;
4987
4994
  leadSegmentId?: InputMaybe<Scalars['ID']['input']>;
4988
4995
  listingId?: InputMaybe<Scalars['ID']['input']>;
@@ -6048,10 +6055,10 @@ export type AgentLanguageExpertiseInput = {
6048
6055
  /** This setting determines whether agent language expertise filters are enabled and in which mode. */
6049
6056
  value?: InputMaybe<AgentLanguageExpertiseSetting>;
6050
6057
  };
6051
- export type AgentPrioritizationEnabledInput = {
6058
+ export type AgentPrioritizationStrategyInput = {
6052
6059
  manageable?: InputMaybe<Scalars['Boolean']['input']>;
6053
- /** Whether ranking should be applied when offering employees for scheduling. */
6054
- value?: InputMaybe<Scalars['Boolean']['input']>;
6060
+ /** The strategy used for agent prioritization when offering employees for scheduling. */
6061
+ value?: InputMaybe<AgentPrioritizationStrategy>;
6055
6062
  };
6056
6063
  export type AllowedExternalCalendarAccountProvidersInput = {
6057
6064
  manageable?: InputMaybe<Scalars['Boolean']['input']>;
@@ -6130,7 +6137,7 @@ export type CustomerReminderSettingsInput = {
6130
6137
  };
6131
6138
  export type DataExportEnabledInput = {
6132
6139
  manageable?: InputMaybe<Scalars['Boolean']['input']>;
6133
- /** Whether data export is enabled. */
6140
+ /** Whether the data export feature is enabled. */
6134
6141
  value?: InputMaybe<Scalars['Boolean']['input']>;
6135
6142
  };
6136
6143
  export type DataRetentionDurationInput = {