@pexip-engage-public/graphql 1.0.70 → 1.0.71-canary-20250429150215

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
@@ -87,6 +87,50 @@ export type AgentPrioritizationEnabledEnterpriseSetting = {
87
87
  /** Whether ranking should be applied when offering employees for scheduling. */
88
88
  value: Scalars['Boolean']['output'];
89
89
  };
90
+ export type AggregatedAppointmentInsightsInterval = 'DAY' | 'MONTH' | 'WEEK';
91
+ export type AggregatedAppointmentInsightsWeekStartsOn = 'MONDAY' | 'SUNDAY';
92
+ export type AggregatedAvailabilityInsightsInterval = 'DAY' | 'MONTH' | 'WEEK';
93
+ export type AggregatedAvailabilityInsightsWeekStartsOn = 'MONDAY' | 'SUNDAY';
94
+ export type AggregatedEmployeeAppointmentInsight = {
95
+ employeeId: Scalars['ID']['output'];
96
+ officeId: Scalars['ID']['output'];
97
+ officeMinutes: Scalars['Int']['output'];
98
+ onLocationMinutes: Scalars['Int']['output'];
99
+ phoneMinutes: Scalars['Int']['output'];
100
+ startDateOfInterval: Scalars['CalendarDate']['output'];
101
+ totalMinutes: Scalars['Int']['output'];
102
+ videoMinutes: Scalars['Int']['output'];
103
+ };
104
+ export type AggregatedEmployeeAvailabilityInsight = {
105
+ appointmentUnavailabilityMinutes: Scalars['Int']['output'];
106
+ bookableMinutes: Scalars['Int']['output'];
107
+ definedAvailabilityMinutes: Scalars['Int']['output'];
108
+ employeeId: Scalars['ID']['output'];
109
+ externalCalendarUnavailabilityMinutes: Scalars['Int']['output'];
110
+ gapTime: Scalars['Int']['output'];
111
+ officeId: Scalars['ID']['output'];
112
+ startDateOfInterval: Scalars['CalendarDate']['output'];
113
+ unavailabilityMinutes: Scalars['Int']['output'];
114
+ };
115
+ export type AggregatedOfficeAppointmentInsight = {
116
+ officeId: Scalars['ID']['output'];
117
+ officeMinutes: Scalars['Int']['output'];
118
+ onLocationMinutes: Scalars['Int']['output'];
119
+ phoneMinutes: Scalars['Int']['output'];
120
+ startDateOfInterval: Scalars['CalendarDate']['output'];
121
+ totalMinutes: Scalars['Int']['output'];
122
+ videoMinutes: Scalars['Int']['output'];
123
+ };
124
+ export type AggregatedOfficeAvailabilityInsight = {
125
+ appointmentUnavailabilityMinutes: Scalars['Int']['output'];
126
+ bookableMinutes: Scalars['Int']['output'];
127
+ definedAvailabilityMinutes: Scalars['Int']['output'];
128
+ externalCalendarUnavailabilityMinutes: Scalars['Int']['output'];
129
+ gapTime: Scalars['Int']['output'];
130
+ officeId: Scalars['ID']['output'];
131
+ startDateOfInterval: Scalars['CalendarDate']['output'];
132
+ unavailabilityMinutes: Scalars['Int']['output'];
133
+ };
90
134
  export type AllowedExternalCalendarAccountProvidersEnterpriseSetting = {
91
135
  createdAt: Scalars['ISO8601']['output'];
92
136
  /** 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. */
@@ -855,15 +899,6 @@ export type CustomerSort = {
855
899
  direction: SortDirection;
856
900
  field: SortableCustomerFields;
857
901
  };
858
- export type DailyAvailabilityInsight = {
859
- appointmentUnavailabilityMinutes: Scalars['Int']['output'];
860
- bookableMinutes: Scalars['Int']['output'];
861
- date: Scalars['ISO8601']['output'];
862
- definedAvailabilityMinutes: Scalars['Int']['output'];
863
- employeeId: Scalars['ID']['output'];
864
- externalCalendarUnavailabilityMinutes: Scalars['Int']['output'];
865
- officeId: Scalars['ID']['output'];
866
- };
867
902
  export type DataRetentionDurationEnterpriseSetting = {
868
903
  createdAt: Scalars['ISO8601']['output'];
869
904
  /** 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. */
@@ -2104,6 +2139,7 @@ export type ManagedExternalCalendarEvent = Managed & {
2104
2139
  id: Scalars['String']['output'];
2105
2140
  lastSyncedAt?: Maybe<Scalars['ISO8601']['output']>;
2106
2141
  location?: Maybe<ManagedExternalCalendarEventLocation>;
2142
+ phoneNumber?: Maybe<Scalars['String']['output']>;
2107
2143
  resourceId: Scalars['String']['output'];
2108
2144
  resourceType: ExternalCalendarEventResourceType;
2109
2145
  showAs: ShowAs;
@@ -2123,6 +2159,7 @@ export type ManagedExternalCalendarEventCreateInput = {
2123
2159
  hash?: InputMaybe<Scalars['String']['input']>;
2124
2160
  location?: InputMaybe<ManagedExternalCalendarEventLocationInput>;
2125
2161
  meetingRoomId?: InputMaybe<Scalars['ID']['input']>;
2162
+ phoneNumber?: InputMaybe<Scalars['String']['input']>;
2126
2163
  resourceId: Scalars['String']['input'];
2127
2164
  resourceType: ExternalCalendarEventResourceType;
2128
2165
  showAs: ShowAs;
@@ -2158,6 +2195,7 @@ export type ManagedExternalCalendarEventPatchInput = {
2158
2195
  hash?: InputMaybe<Scalars['String']['input']>;
2159
2196
  location?: InputMaybe<ManagedExternalCalendarEventLocationInput>;
2160
2197
  meetingRoomId?: InputMaybe<Scalars['ID']['input']>;
2198
+ phoneNumber?: InputMaybe<Scalars['String']['input']>;
2161
2199
  resourceId?: InputMaybe<Scalars['String']['input']>;
2162
2200
  resourceType?: InputMaybe<ExternalCalendarEventResourceType>;
2163
2201
  showAs?: InputMaybe<ShowAs>;
@@ -2393,6 +2431,8 @@ export type Mutation = {
2393
2431
  createOffice: Office;
2394
2432
  createOfficeRelation: OfficeRelation;
2395
2433
  createQuestion: Question;
2434
+ createSamlIntegration: SamlIntegration;
2435
+ createScimToken: Scalars['String']['output'];
2396
2436
  createSessionConfigSessionEvent: Scalars['Boolean']['output'];
2397
2437
  createSessionDataSessionEvent: Scalars['Boolean']['output'];
2398
2438
  createStepShownSessionEvent: Scalars['Boolean']['output'];
@@ -2427,6 +2467,7 @@ export type Mutation = {
2427
2467
  deleteOffice: Office;
2428
2468
  deleteOfficeRelation: OfficeRelation;
2429
2469
  deleteQuestion: Question;
2470
+ deleteSamlIntegration: SamlIntegration;
2430
2471
  deleteStorageAccountConfig: StorageAccountConfig;
2431
2472
  deleteSubject: Subject;
2432
2473
  deleteSubjectGroup: SubjectGroup;
@@ -2465,6 +2506,7 @@ export type Mutation = {
2465
2506
  patchOffice: Office;
2466
2507
  patchOfficeCallbackRequestSetting: OfficeCallbackRequestSetting;
2467
2508
  patchQuestion: Question;
2509
+ patchSamlIntegration: SamlIntegration;
2468
2510
  patchStaticTranslationOverrides: Array<StaticTranslationOverride>;
2469
2511
  patchStorageAccountConfig: StorageAccountConfig;
2470
2512
  patchSubject: Subject;
@@ -2534,6 +2576,7 @@ export type Mutation = {
2534
2576
  syncMeetingRooms: Scalars['Boolean']['output'];
2535
2577
  syncMicrosoftDynamicsIntegrationCustomAttributes: Scalars['Boolean']['output'];
2536
2578
  testWebhookConfiguration: WebhookDelivery;
2579
+ uploadSamlIdentityProviderMetadata: SamlIntegration;
2537
2580
  upsertMicrosoftGraphAPIEmailConfiguration: MicrosoftGraphApiEmailProviderConfiguration;
2538
2581
  upsertOfficeRelation: GroupedOfficeRelation;
2539
2582
  };
@@ -2888,6 +2931,9 @@ export type MutationPatchQuestionArgs = {
2888
2931
  id: Scalars['ID']['input'];
2889
2932
  questionPatchInput: QuestionPatchInput;
2890
2933
  };
2934
+ export type MutationPatchSamlIntegrationArgs = {
2935
+ input: SamlIntegrationPatchInput;
2936
+ };
2891
2937
  export type MutationPatchStaticTranslationOverridesArgs = {
2892
2938
  staticTranslationOverridesPatchInput: Array<StaticTranslationOverridePatchInput>;
2893
2939
  };
@@ -3104,6 +3150,9 @@ export type MutationSyncMicrosoftDynamicsIntegrationCustomAttributesArgs = {
3104
3150
  export type MutationTestWebhookConfigurationArgs = {
3105
3151
  id: Scalars['ID']['input'];
3106
3152
  };
3153
+ export type MutationUploadSamlIdentityProviderMetadataArgs = {
3154
+ metadataUrl: Scalars['String']['input'];
3155
+ };
3107
3156
  export type MutationUpsertMicrosoftGraphApiEmailConfigurationArgs = {
3108
3157
  input: MicrosoftGraphApiEmailProviderConfigurationInput;
3109
3158
  };
@@ -3325,6 +3374,10 @@ export type PutAppointmentAnswersInput = {
3325
3374
  };
3326
3375
  export type Query = {
3327
3376
  activeMeetingTypes: Array<MeetingType>;
3377
+ aggregatedEmployeeAppointmentInsights: Array<AggregatedEmployeeAppointmentInsight>;
3378
+ aggregatedEmployeeAvailabilityInsights: Array<AggregatedEmployeeAvailabilityInsight>;
3379
+ aggregatedOfficeAppointmentInsights: Array<AggregatedOfficeAppointmentInsight>;
3380
+ aggregatedOfficeAvailabilityInsights: Array<AggregatedOfficeAvailabilityInsight>;
3328
3381
  answerOption: AnswerOption;
3329
3382
  apiClients: Array<ApiClient>;
3330
3383
  appliedTemplates: AppliedTemplateConnection;
@@ -3347,7 +3400,6 @@ export type Query = {
3347
3400
  callbackRequests: CallbackRequestConnection;
3348
3401
  customer: Customer;
3349
3402
  customers: CustomerConnection;
3350
- dailyAvailabilityInsights: Array<DailyAvailabilityInsight>;
3351
3403
  definedAvailability: Array<DefinedAvailability>;
3352
3404
  definedAvailabilityEvents: Array<DefinedAvailabilityEvent>;
3353
3405
  emailTemplate: EmailTemplate;
@@ -3403,11 +3455,14 @@ export type Query = {
3403
3455
  question: Question;
3404
3456
  questions: Array<Question>;
3405
3457
  regions: RegionConnection;
3458
+ samlIntegration?: Maybe<SamlIntegration>;
3406
3459
  schedulableEmployees: Array<Employee>;
3407
3460
  schedulableMeetingRooms: Array<MeetingRoom>;
3408
3461
  schedulableMeetingTypes: Array<MeetingType>;
3409
3462
  schedulableOffices: Array<Office>;
3410
3463
  schedulableSubjects: Array<Subject>;
3464
+ scimEndpoint: Scalars['String']['output'];
3465
+ scimTokens: Array<ScimToken>;
3411
3466
  searchRegions: Array<Region>;
3412
3467
  staticTranslationOverrides: Array<StaticTranslationOverride>;
3413
3468
  staticTranslations: Scalars['JSONObject']['output'];
@@ -3433,6 +3488,42 @@ export type Query = {
3433
3488
  webhookDeliveries: WebhookDeliveryConnection;
3434
3489
  webhookDelivery: WebhookDelivery;
3435
3490
  };
3491
+ export type QueryAggregatedEmployeeAppointmentInsightsArgs = {
3492
+ employeeId?: InputMaybe<Scalars['ID']['input']>;
3493
+ from: Scalars['ISO8601']['input'];
3494
+ interval: AggregatedAppointmentInsightsInterval;
3495
+ officeId: Scalars['ID']['input'];
3496
+ timeZone: Scalars['String']['input'];
3497
+ to: Scalars['ISO8601']['input'];
3498
+ weekStartsOn?: InputMaybe<AggregatedAppointmentInsightsWeekStartsOn>;
3499
+ };
3500
+ export type QueryAggregatedEmployeeAvailabilityInsightsArgs = {
3501
+ employeeId?: InputMaybe<Scalars['ID']['input']>;
3502
+ from: Scalars['ISO8601']['input'];
3503
+ interval: AggregatedAvailabilityInsightsInterval;
3504
+ officeId: Scalars['ID']['input'];
3505
+ timeZone: Scalars['String']['input'];
3506
+ to: Scalars['ISO8601']['input'];
3507
+ weekStartsOn?: InputMaybe<AggregatedAvailabilityInsightsWeekStartsOn>;
3508
+ };
3509
+ export type QueryAggregatedOfficeAppointmentInsightsArgs = {
3510
+ employeeId?: InputMaybe<Scalars['ID']['input']>;
3511
+ from: Scalars['ISO8601']['input'];
3512
+ interval: AggregatedAppointmentInsightsInterval;
3513
+ officeId: Scalars['ID']['input'];
3514
+ timeZone: Scalars['String']['input'];
3515
+ to: Scalars['ISO8601']['input'];
3516
+ weekStartsOn?: InputMaybe<AggregatedAppointmentInsightsWeekStartsOn>;
3517
+ };
3518
+ export type QueryAggregatedOfficeAvailabilityInsightsArgs = {
3519
+ employeeId?: InputMaybe<Scalars['ID']['input']>;
3520
+ from: Scalars['ISO8601']['input'];
3521
+ interval: AggregatedAvailabilityInsightsInterval;
3522
+ officeId: Scalars['ID']['input'];
3523
+ timeZone: Scalars['String']['input'];
3524
+ to: Scalars['ISO8601']['input'];
3525
+ weekStartsOn?: InputMaybe<AggregatedAvailabilityInsightsWeekStartsOn>;
3526
+ };
3436
3527
  export type QueryAnswerOptionArgs = {
3437
3528
  id: Scalars['ID']['input'];
3438
3529
  };
@@ -3583,13 +3674,6 @@ export type QueryCustomersArgs = {
3583
3674
  withAnonymized?: InputMaybe<Scalars['Boolean']['input']>;
3584
3675
  withDeleted?: InputMaybe<Scalars['Boolean']['input']>;
3585
3676
  };
3586
- export type QueryDailyAvailabilityInsightsArgs = {
3587
- employeeId?: InputMaybe<Array<Scalars['ID']['input']>>;
3588
- from: Scalars['ISO8601']['input'];
3589
- officeId: Scalars['ID']['input'];
3590
- timeZone: Scalars['String']['input'];
3591
- to: Scalars['ISO8601']['input'];
3592
- };
3593
3677
  export type QueryDefinedAvailabilityArgs = {
3594
3678
  employeeIds?: InputMaybe<Array<Scalars['ID']['input']>>;
3595
3679
  from: Scalars['ISO8601']['input'];
@@ -4296,6 +4380,44 @@ export type RenderedTemplateMeta = {
4296
4380
  timeZone: Scalars['String']['output'];
4297
4381
  };
4298
4382
  export type ResourceType = 'API_CLIENT' | 'APPOINTMENT' | 'CUSTOMER' | 'EMPLOYEE' | 'ENTERPRISE_SETTING' | 'EXTERNAL_CALENDAR_ACCOUNT' | 'LEAD_SEGMENT' | 'LISTING' | 'MEETING_TYPE' | 'OFFICE' | 'OFFICE_RELATION' | 'SUBJECT' | 'SUBJECT_GROUP';
4383
+ export type SamlIntegration = {
4384
+ active: Scalars['Boolean']['output'];
4385
+ forceAuthentication: Scalars['Boolean']['output'];
4386
+ identityProviderMetadataUrl?: Maybe<Scalars['String']['output']>;
4387
+ identityProviderSignatureKey?: Maybe<SamlIntegrationIdentityProviderKey>;
4388
+ serviceProviderEncryptionKeys: Array<SamlIntegrationServiceProviderKey>;
4389
+ serviceProviderMetadataUrl: Scalars['String']['output'];
4390
+ serviceProviderSignatureKeys: Array<SamlIntegrationServiceProviderKey>;
4391
+ signServiceProviderMetadata: Scalars['Boolean']['output'];
4392
+ singleLogoutServiceUrl?: Maybe<Scalars['String']['output']>;
4393
+ singleSignOnServiceUrl?: Maybe<Scalars['String']['output']>;
4394
+ validateSignature: Scalars['Boolean']['output'];
4395
+ wantAssertionsEncrypted: Scalars['Boolean']['output'];
4396
+ wantAssertionsSigned: Scalars['Boolean']['output'];
4397
+ wantAuthnRequestsSigned: Scalars['Boolean']['output'];
4398
+ };
4399
+ export type SamlIntegrationIdentityProviderKey = {
4400
+ certificate: Scalars['String']['output'];
4401
+ expiresAt: Scalars['ISO8601']['output'];
4402
+ };
4403
+ export type SamlIntegrationKeyStatus = 'ACTIVE' | 'DISABLED' | 'PASSIVE';
4404
+ export type SamlIntegrationPatchInput = {
4405
+ active?: InputMaybe<Scalars['Boolean']['input']>;
4406
+ forceAuthentication?: InputMaybe<Scalars['Boolean']['input']>;
4407
+ signServiceProviderMetadata?: InputMaybe<Scalars['Boolean']['input']>;
4408
+ validateSignature?: InputMaybe<Scalars['Boolean']['input']>;
4409
+ wantAssertionsEncrypted?: InputMaybe<Scalars['Boolean']['input']>;
4410
+ wantAssertionsSigned?: InputMaybe<Scalars['Boolean']['input']>;
4411
+ wantAuthnRequestsSigned?: InputMaybe<Scalars['Boolean']['input']>;
4412
+ };
4413
+ export type SamlIntegrationServiceProviderKey = {
4414
+ algorithm: Scalars['String']['output'];
4415
+ certificate: Scalars['String']['output'];
4416
+ expiresAt: Scalars['ISO8601']['output'];
4417
+ id: Scalars['String']['output'];
4418
+ publicKey: Scalars['String']['output'];
4419
+ status: SamlIntegrationKeyStatus;
4420
+ };
4299
4421
  export type ScimIntegration = BaseIntegration & {
4300
4422
  active: Scalars['Boolean']['output'];
4301
4423
  authToken?: Maybe<Scalars['String']['output']>;
@@ -4303,6 +4425,13 @@ export type ScimIntegration = BaseIntegration & {
4303
4425
  integrationType: IntegrationType;
4304
4426
  name: Scalars['String']['output'];
4305
4427
  };
4428
+ export type ScimToken = {
4429
+ createdAt: Scalars['ISO8601']['output'];
4430
+ deletedAt?: Maybe<Scalars['ISO8601']['output']>;
4431
+ expiresAt: Scalars['ISO8601']['output'];
4432
+ id: Scalars['ID']['output'];
4433
+ updatedAt: Scalars['ISO8601']['output'];
4434
+ };
4306
4435
  export type SecondaryParticipantInput = {
4307
4436
  participantId: Scalars['ID']['input'];
4308
4437
  type: ParticipantType;