@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/src/schema.ts CHANGED
@@ -100,13 +100,18 @@ export type AgentLanguageExpertiseSetting =
100
100
  | 'HINT'
101
101
  | 'STRICT';
102
102
 
103
- export type AgentPrioritizationEnabledEnterpriseSetting = {
103
+ export type AgentPrioritizationStrategy =
104
+ | 'DISABLED'
105
+ | 'RANK_OFFSET_PRIORITY'
106
+ | 'SLOT_LEVEL_PRIORITY';
107
+
108
+ export type AgentPrioritizationStrategyEnterpriseSetting = {
104
109
  createdAt: Scalars['ISO8601']['output'];
105
110
  /** 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. */
106
111
  manageable: Scalars['Boolean']['output'];
107
112
  updatedAt: Scalars['ISO8601']['output'];
108
- /** Whether ranking should be applied when offering employees for scheduling. */
109
- value: Scalars['Boolean']['output'];
113
+ /** The strategy used for agent prioritization when offering employees for scheduling. */
114
+ value: AgentPrioritizationStrategy;
110
115
  };
111
116
 
112
117
  export type AggregatedAppointmentInsightsInterval =
@@ -496,9 +501,12 @@ export type AppointmentEventType =
496
501
  | 'REQUEST_RESCHEDULED_BY_CUSTOMER'
497
502
  | 'RESCHEDULED_BY_CUSTOMER'
498
503
  | 'RESCHEDULED_BY_EMPLOYEE'
499
- | 'SECONDARY_PARTICIPANTS_UPDATED'
500
- | 'SECONDARY_PARTICIPANT_ADDED'
501
- | 'SECONDARY_PARTICIPANT_REMOVED'
504
+ | 'SECONDARY_CUSTOMERS_UPDATED'
505
+ | 'SECONDARY_CUSTOMER_ADDED'
506
+ | 'SECONDARY_CUSTOMER_REMOVED'
507
+ | 'SECONDARY_EMPLOYEES_UPDATED'
508
+ | 'SECONDARY_EMPLOYEE_ADDED'
509
+ | 'SECONDARY_EMPLOYEE_REMOVED'
502
510
  | 'UPDATE_APPOINTMENT_DETAILS';
503
511
 
504
512
  export type AppointmentIdentity = {
@@ -679,9 +687,13 @@ export type AppointmentTemplateName =
679
687
  | 'REQUEST_RESCHEDULED_BY_CUSTOMER'
680
688
  | 'RESCHEDULED_BY_CUSTOMER'
681
689
  | 'RESCHEDULED_BY_EMPLOYEE'
690
+ | 'SECONDARY_CUSTOMERS_UPDATED'
691
+ | 'SECONDARY_CUSTOMER_ADDED'
692
+ | 'SECONDARY_CUSTOMER_REMOVED'
693
+ | 'SECONDARY_EMPLOYEES_UPDATED'
694
+ | 'SECONDARY_EMPLOYEE_ADDED'
695
+ | 'SECONDARY_EMPLOYEE_REMOVED'
682
696
  | 'SECONDARY_PARTICIPANTS_UPDATED'
683
- | 'SECONDARY_PARTICIPANT_ADDED'
684
- | 'SECONDARY_PARTICIPANT_REMOVED'
685
697
  | 'UPDATE_APPOINTMENT_DETAILS';
686
698
 
687
699
  export type AppointmentTextMessageMeta = {
@@ -1429,7 +1441,7 @@ export type DataExportEnabledEnterpriseSetting = {
1429
1441
  /** 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. */
1430
1442
  manageable: Scalars['Boolean']['output'];
1431
1443
  updatedAt: Scalars['ISO8601']['output'];
1432
- /** Whether data export is enabled. */
1444
+ /** Whether the data export feature is enabled. */
1433
1445
  value: Scalars['Boolean']['output'];
1434
1446
  };
1435
1447
 
@@ -1939,8 +1951,8 @@ export type EnterpriseSettings = {
1939
1951
  activeLanguages: ActiveLanguagesEnterpriseSetting;
1940
1952
  /** This setting determines whether agent language expertise filters are enabled and in which mode. */
1941
1953
  agentLanguageExpertise: AgentLanguageExpertiseEnterpriseSetting;
1942
- /** Whether ranking should be applied when offering employees for scheduling. */
1943
- agentPrioritizationEnabled: AgentPrioritizationEnabledEnterpriseSetting;
1954
+ /** The strategy used for agent prioritization when offering employees for scheduling. */
1955
+ agentPrioritizationStrategy: AgentPrioritizationStrategyEnterpriseSetting;
1944
1956
  /** The providers from which an employee can choose to connect an external calendar account. */
1945
1957
  allowedExternalCalendarAccountProviders: AllowedExternalCalendarAccountProvidersEnterpriseSetting;
1946
1958
  /** The allowed providers for meeting rooms. */
@@ -1971,7 +1983,7 @@ export type EnterpriseSettings = {
1971
1983
  customerNotificationSettings: CustomerNotificationSettingsEnterpriseSetting;
1972
1984
  /** The settings used to calculate which reminders should be sent to the customer. */
1973
1985
  customerReminderSettings: CustomerReminderSettingsEnterpriseSetting;
1974
- /** Whether data export is enabled. */
1986
+ /** Whether the data export feature is enabled. */
1975
1987
  dataExportEnabled: DataExportEnabledEnterpriseSetting;
1976
1988
  /** The duration in minutes stale data is retained before it is anonymized. */
1977
1989
  dataRetentionDuration: DataRetentionDurationEnterpriseSetting;
@@ -2061,8 +2073,8 @@ export type EnterpriseSettingsPatchInput = {
2061
2073
  activeLanguages?: InputMaybe<ActiveLanguagesInput>;
2062
2074
  /** This setting determines whether agent language expertise filters are enabled and in which mode. */
2063
2075
  agentLanguageExpertise?: InputMaybe<AgentLanguageExpertiseInput>;
2064
- /** Whether ranking should be applied when offering employees for scheduling. */
2065
- agentPrioritizationEnabled?: InputMaybe<AgentPrioritizationEnabledInput>;
2076
+ /** The strategy used for agent prioritization when offering employees for scheduling. */
2077
+ agentPrioritizationStrategy?: InputMaybe<AgentPrioritizationStrategyInput>;
2066
2078
  /** The providers from which an employee can choose to connect an external calendar account. */
2067
2079
  allowedExternalCalendarAccountProviders?: InputMaybe<AllowedExternalCalendarAccountProvidersInput>;
2068
2080
  /** The allowed providers for meeting rooms. */
@@ -2093,7 +2105,7 @@ export type EnterpriseSettingsPatchInput = {
2093
2105
  customerNotificationSettings?: InputMaybe<CustomerNotificationSettingsInput>;
2094
2106
  /** The settings used to calculate which reminders should be sent to the customer. */
2095
2107
  customerReminderSettings?: InputMaybe<CustomerReminderSettingsInput>;
2096
- /** Whether data export is enabled. */
2108
+ /** Whether the data export feature is enabled. */
2097
2109
  dataExportEnabled?: InputMaybe<DataExportEnabledInput>;
2098
2110
  /** The duration in minutes stale data is retained before it is anonymized. */
2099
2111
  dataRetentionDuration?: InputMaybe<DataRetentionDurationInput>;
@@ -2338,6 +2350,7 @@ export type ExternalCustomerField =
2338
2350
  | 'timeZone';
2339
2351
 
2340
2352
  export type ExternalCustomerFieldSettingEnterpriseSettingInput = {
2353
+ editable: Scalars['Boolean']['input'];
2341
2354
  field: ExternalCustomerField;
2342
2355
  order: Scalars['Int']['input'];
2343
2356
  required: Scalars['Boolean']['input'];
@@ -2345,6 +2358,7 @@ export type ExternalCustomerFieldSettingEnterpriseSettingInput = {
2345
2358
  };
2346
2359
 
2347
2360
  export type ExternalCustomerFieldSettingEnterpriseSettingValue = {
2361
+ editable: Scalars['Boolean']['output'];
2348
2362
  field: ExternalCustomerField;
2349
2363
  order: Scalars['Int']['output'];
2350
2364
  required: Scalars['Boolean']['output'];
@@ -2656,6 +2670,7 @@ export type InternalCustomerField =
2656
2670
  | 'timeZone';
2657
2671
 
2658
2672
  export type InternalCustomerFieldSettingEnterpriseSettingInput = {
2673
+ editable: Scalars['Boolean']['input'];
2659
2674
  field: InternalCustomerField;
2660
2675
  order: Scalars['Int']['input'];
2661
2676
  private: Scalars['Boolean']['input'];
@@ -2664,6 +2679,7 @@ export type InternalCustomerFieldSettingEnterpriseSettingInput = {
2664
2679
  };
2665
2680
 
2666
2681
  export type InternalCustomerFieldSettingEnterpriseSettingValue = {
2682
+ editable: Scalars['Boolean']['output'];
2667
2683
  field: InternalCustomerField;
2668
2684
  order: Scalars['Int']['output'];
2669
2685
  private: Scalars['Boolean']['output'];
@@ -6267,6 +6283,7 @@ export type QueryTimetableArgs = {
6267
6283
  employeeId?: InputMaybe<Array<Scalars['ID']['input']>>;
6268
6284
  employeeLanguages?: InputMaybe<Array<Language>>;
6269
6285
  from: Scalars['ISO8601']['input'];
6286
+ ignoreAppointment?: InputMaybe<Scalars['ID']['input']>;
6270
6287
  ignoreCoverageRegions?: InputMaybe<Scalars['Boolean']['input']>;
6271
6288
  leadSegmentId?: InputMaybe<Scalars['ID']['input']>;
6272
6289
  listingId?: InputMaybe<Scalars['ID']['input']>;
@@ -6297,6 +6314,7 @@ export type QueryValidateTimetableSlotArgs = {
6297
6314
  employeeId?: InputMaybe<Array<Scalars['ID']['input']>>;
6298
6315
  employeeLanguages?: InputMaybe<Array<Language>>;
6299
6316
  from: Scalars['ISO8601']['input'];
6317
+ ignoreAppointment?: InputMaybe<Scalars['ID']['input']>;
6300
6318
  ignoreCoverageRegions?: InputMaybe<Scalars['Boolean']['input']>;
6301
6319
  leadSegmentId?: InputMaybe<Scalars['ID']['input']>;
6302
6320
  listingId?: InputMaybe<Scalars['ID']['input']>;
@@ -7821,10 +7839,10 @@ export type AgentLanguageExpertiseInput = {
7821
7839
  value?: InputMaybe<AgentLanguageExpertiseSetting>;
7822
7840
  };
7823
7841
 
7824
- export type AgentPrioritizationEnabledInput = {
7842
+ export type AgentPrioritizationStrategyInput = {
7825
7843
  manageable?: InputMaybe<Scalars['Boolean']['input']>;
7826
- /** Whether ranking should be applied when offering employees for scheduling. */
7827
- value?: InputMaybe<Scalars['Boolean']['input']>;
7844
+ /** The strategy used for agent prioritization when offering employees for scheduling. */
7845
+ value?: InputMaybe<AgentPrioritizationStrategy>;
7828
7846
  };
7829
7847
 
7830
7848
  export type AllowedExternalCalendarAccountProvidersInput = {
@@ -7919,7 +7937,7 @@ export type CustomerReminderSettingsInput = {
7919
7937
 
7920
7938
  export type DataExportEnabledInput = {
7921
7939
  manageable?: InputMaybe<Scalars['Boolean']['input']>;
7922
- /** Whether data export is enabled. */
7940
+ /** Whether the data export feature is enabled. */
7923
7941
  value?: InputMaybe<Scalars['Boolean']['input']>;
7924
7942
  };
7925
7943