@pexip-engage-public/graphql 1.5.1 → 1.6.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/CHANGELOG.md +13 -0
- package/dist/graphql-env.d.ts +321 -161
- package/dist/graphql-env.d.ts.map +1 -1
- package/dist/graphql-env.js +364 -183
- package/dist/graphql-env.js.map +1 -1
- package/dist/graphql.d.ts +321 -161
- package/dist/graphql.d.ts.map +1 -1
- package/dist/schema.d.ts +52 -24
- package/dist/schema.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/graphql-env.ts +364 -183
- package/src/schema.ts +64 -32
package/src/schema.ts
CHANGED
|
@@ -147,9 +147,11 @@ export type AggregatedEmployeeAvailabilityInsight = {
|
|
|
147
147
|
appointmentUnavailabilityMinutes: Scalars['Int']['output'];
|
|
148
148
|
bookableMinutes: Scalars['Int']['output'];
|
|
149
149
|
definedAvailabilityMinutes: Scalars['Int']['output'];
|
|
150
|
+
earliestTimeSlotStart?: Maybe<Scalars['ISO8601']['output']>;
|
|
150
151
|
employeeId: Scalars['ID']['output'];
|
|
151
|
-
externalCalendarUnavailabilityMinutes: Scalars['Int']['output'];
|
|
152
152
|
gapTime: Scalars['Int']['output'];
|
|
153
|
+
generatedAt: Scalars['ISO8601']['output'];
|
|
154
|
+
nonAppointmentUnavailabilityMinutes: Scalars['Int']['output'];
|
|
153
155
|
officeId: Scalars['ID']['output'];
|
|
154
156
|
startDateOfInterval: Scalars['CalendarDate']['output'];
|
|
155
157
|
unavailabilityMinutes: Scalars['Int']['output'];
|
|
@@ -169,8 +171,10 @@ export type AggregatedOfficeAvailabilityInsight = {
|
|
|
169
171
|
appointmentUnavailabilityMinutes: Scalars['Int']['output'];
|
|
170
172
|
bookableMinutes: Scalars['Int']['output'];
|
|
171
173
|
definedAvailabilityMinutes: Scalars['Int']['output'];
|
|
172
|
-
|
|
174
|
+
earliestTimeSlotStart?: Maybe<Scalars['ISO8601']['output']>;
|
|
173
175
|
gapTime: Scalars['Int']['output'];
|
|
176
|
+
generatedAt: Scalars['ISO8601']['output'];
|
|
177
|
+
nonAppointmentUnavailabilityMinutes: Scalars['Int']['output'];
|
|
174
178
|
officeId: Scalars['ID']['output'];
|
|
175
179
|
startDateOfInterval: Scalars['CalendarDate']['output'];
|
|
176
180
|
unavailabilityMinutes: Scalars['Int']['output'];
|
|
@@ -277,6 +281,7 @@ export type AppliedTemplateRevertInput = {
|
|
|
277
281
|
};
|
|
278
282
|
|
|
279
283
|
export type Appointment = {
|
|
284
|
+
anonymizedAt?: Maybe<Scalars['ISO8601']['output']>;
|
|
280
285
|
answers: Array<AppointmentAnswer>;
|
|
281
286
|
appointmentParticipants: Array<AppointmentParticipant>;
|
|
282
287
|
call?: Maybe<Call>;
|
|
@@ -285,6 +290,7 @@ export type Appointment = {
|
|
|
285
290
|
createdBy?: Maybe<AppointmentActor>;
|
|
286
291
|
createdByType: UserType;
|
|
287
292
|
createdFrom: AppointmentSource;
|
|
293
|
+
createdUsingPlanningRules?: Maybe<Scalars['Boolean']['output']>;
|
|
288
294
|
customers: Array<Customer>;
|
|
289
295
|
duration?: Maybe<Scalars['Int']['output']>;
|
|
290
296
|
employees: Array<Employee>;
|
|
@@ -315,6 +321,7 @@ export type Appointment = {
|
|
|
315
321
|
updatedBy?: Maybe<AppointmentActor>;
|
|
316
322
|
updatedByType: UserType;
|
|
317
323
|
updatedFrom: AppointmentSource;
|
|
324
|
+
updatedUsingPlanningRules?: Maybe<Scalars['Boolean']['output']>;
|
|
318
325
|
/** Indicates if the appointment will sent out notifications and reminders to participants. */
|
|
319
326
|
userCommunication: AppointmentUserCommunication;
|
|
320
327
|
uuid: Scalars['String']['output'];
|
|
@@ -750,6 +757,15 @@ export type AutoAcceptSetting =
|
|
|
750
757
|
| 'DEFAULT_TRUE'
|
|
751
758
|
| 'MANDATORY';
|
|
752
759
|
|
|
760
|
+
export type AvailabilityInsightsEnabledEnterpriseSetting = {
|
|
761
|
+
createdAt: Scalars['ISO8601']['output'];
|
|
762
|
+
/** 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. */
|
|
763
|
+
manageable: Scalars['Boolean']['output'];
|
|
764
|
+
updatedAt: Scalars['ISO8601']['output'];
|
|
765
|
+
/** Whether availability insights are enabled. */
|
|
766
|
+
value: Scalars['Boolean']['output'];
|
|
767
|
+
};
|
|
768
|
+
|
|
753
769
|
export type AvailabilitySetting = {
|
|
754
770
|
autoAccept: BooleanAvailabilitySetting;
|
|
755
771
|
estimatedDuration: IntegerAvailabilitySetting;
|
|
@@ -1857,6 +1873,8 @@ export type EnterpriseSettings = {
|
|
|
1857
1873
|
appointmentTrailingBufferTime: AppointmentTrailingBufferTimeEnterpriseSetting;
|
|
1858
1874
|
/** The default travel buffer time after an appointment. */
|
|
1859
1875
|
appointmentTravelBufferTime: AppointmentTravelBufferTimeEnterpriseSetting;
|
|
1876
|
+
/** Whether availability insights are enabled. */
|
|
1877
|
+
availabilityInsightsEnabled: AvailabilityInsightsEnabledEnterpriseSetting;
|
|
1860
1878
|
/** This setting determines whether customers can request a callback. */
|
|
1861
1879
|
callbackRequestsEnabled: CallbackRequestsEnabledEnterpriseSetting;
|
|
1862
1880
|
/** The default (non-localized) email address that receives callback requests when there is no office or employee email address. */
|
|
@@ -1973,6 +1991,8 @@ export type EnterpriseSettingsPatchInput = {
|
|
|
1973
1991
|
appointmentTrailingBufferTime?: InputMaybe<AppointmentTrailingBufferTimeInput>;
|
|
1974
1992
|
/** The default travel buffer time after an appointment. */
|
|
1975
1993
|
appointmentTravelBufferTime?: InputMaybe<AppointmentTravelBufferTimeInput>;
|
|
1994
|
+
/** Whether availability insights are enabled. */
|
|
1995
|
+
availabilityInsightsEnabled?: InputMaybe<AvailabilityInsightsEnabledInput>;
|
|
1976
1996
|
/** This setting determines whether customers can request a callback. */
|
|
1977
1997
|
callbackRequestsEnabled?: InputMaybe<CallbackRequestsEnabledInput>;
|
|
1978
1998
|
/** The default (non-localized) email address that receives callback requests when there is no office or employee email address. */
|
|
@@ -2139,6 +2159,11 @@ export type ExternalCalendarAccountPatchInput = {
|
|
|
2139
2159
|
createOnlineMeetings?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2140
2160
|
};
|
|
2141
2161
|
|
|
2162
|
+
export type ExternalCalendarAccountSort = {
|
|
2163
|
+
direction: SortDirection;
|
|
2164
|
+
field: SortableExternalCalendarAccountFields;
|
|
2165
|
+
};
|
|
2166
|
+
|
|
2142
2167
|
export type ExternalCalendarConnection = {
|
|
2143
2168
|
edges: Array<ExternalCalendarEdge>;
|
|
2144
2169
|
pageInfo: PageInfo;
|
|
@@ -2498,20 +2523,6 @@ export type InputType =
|
|
|
2498
2523
|
| 'TIME_ZONE'
|
|
2499
2524
|
| 'URL';
|
|
2500
2525
|
|
|
2501
|
-
export type InsightsAccessToken = {
|
|
2502
|
-
apiHost: Scalars['String']['output'];
|
|
2503
|
-
appServer: Scalars['String']['output'];
|
|
2504
|
-
authKey: Scalars['String']['output'];
|
|
2505
|
-
authToken: Scalars['String']['output'];
|
|
2506
|
-
dashboardId: Scalars['String']['output'];
|
|
2507
|
-
};
|
|
2508
|
-
|
|
2509
|
-
export type InsightsDashboardType =
|
|
2510
|
-
| 'ADMIN_APPOINTMENT_INSIGHTS'
|
|
2511
|
-
| 'AVAILABILITY_INSIGHTS'
|
|
2512
|
-
| 'CONVERSION_ANALYTICS'
|
|
2513
|
-
| 'OFFICE_MANAGER_APPOINTMENT_INSIGHTS';
|
|
2514
|
-
|
|
2515
2526
|
export type IntegerAvailabilitySetting = {
|
|
2516
2527
|
default: Scalars['Int']['output'];
|
|
2517
2528
|
isOverridden: Scalars['Boolean']['output'];
|
|
@@ -3245,6 +3256,7 @@ export type Mutation = {
|
|
|
3245
3256
|
acceptAppointment: Appointment;
|
|
3246
3257
|
activateEmployee: Employee;
|
|
3247
3258
|
addSecondaryParticipantsToAppointment: Array<AppointmentParticipant>;
|
|
3259
|
+
anonymizeAppointment: Appointment;
|
|
3248
3260
|
anonymizeCustomer: Customer;
|
|
3249
3261
|
cancelAppointment: Appointment;
|
|
3250
3262
|
completeAppointment: Appointment;
|
|
@@ -3428,6 +3440,7 @@ export type Mutation = {
|
|
|
3428
3440
|
revertUnavailability: Array<Unavailability>;
|
|
3429
3441
|
scheduleAppointment: Appointment;
|
|
3430
3442
|
sendAIMessage: AiMessage;
|
|
3443
|
+
startAvailabilityInsights: Scalars['Boolean']['output'];
|
|
3431
3444
|
syncFutureEventsToExternalCalendar: Scalars['Boolean']['output'];
|
|
3432
3445
|
syncMeetingRooms: Scalars['Boolean']['output'];
|
|
3433
3446
|
syncMicrosoftDynamicsIntegrationCustomAttributes: Scalars['Boolean']['output'];
|
|
@@ -3462,6 +3475,11 @@ export type MutationAddSecondaryParticipantsToAppointmentArgs = {
|
|
|
3462
3475
|
};
|
|
3463
3476
|
|
|
3464
3477
|
|
|
3478
|
+
export type MutationAnonymizeAppointmentArgs = {
|
|
3479
|
+
id: Scalars['ID']['input'];
|
|
3480
|
+
};
|
|
3481
|
+
|
|
3482
|
+
|
|
3465
3483
|
export type MutationAnonymizeCustomerArgs = {
|
|
3466
3484
|
id: Scalars['ID']['input'];
|
|
3467
3485
|
};
|
|
@@ -4775,7 +4793,6 @@ export type Query = {
|
|
|
4775
4793
|
form: Form;
|
|
4776
4794
|
forms: FormConnection;
|
|
4777
4795
|
getAuthorizedProfilePictureUrl: FileMetadata;
|
|
4778
|
-
getInsightsAccessToken: InsightsAccessToken;
|
|
4779
4796
|
identifyAppointment: AppointmentIdentity;
|
|
4780
4797
|
integration: BaseIntegration;
|
|
4781
4798
|
integrations: BaseIntegrationConnection;
|
|
@@ -4842,49 +4859,46 @@ export type Query = {
|
|
|
4842
4859
|
webhookConfigurations: Array<WebhookConfiguration>;
|
|
4843
4860
|
webhookDeliveries: WebhookDeliveryConnection;
|
|
4844
4861
|
webhookDelivery: WebhookDelivery;
|
|
4862
|
+
webhookDeliveryPayload?: Maybe<WebhookDeliveryPayload>;
|
|
4845
4863
|
workLocations: Array<WorkLocationEntry>;
|
|
4846
4864
|
};
|
|
4847
4865
|
|
|
4848
4866
|
|
|
4849
4867
|
export type QueryAggregatedEmployeeAppointmentInsightsArgs = {
|
|
4850
|
-
employeeId?: InputMaybe<Scalars['ID']['input']
|
|
4868
|
+
employeeId?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
4851
4869
|
from: Scalars['ISO8601']['input'];
|
|
4852
4870
|
interval: AggregatedAppointmentInsightsInterval;
|
|
4853
4871
|
officeId: Scalars['ID']['input'];
|
|
4854
|
-
timeZone: Scalars['String']['input'];
|
|
4855
4872
|
to: Scalars['ISO8601']['input'];
|
|
4856
4873
|
weekStartsOn?: InputMaybe<AggregatedAppointmentInsightsWeekStartsOn>;
|
|
4857
4874
|
};
|
|
4858
4875
|
|
|
4859
4876
|
|
|
4860
4877
|
export type QueryAggregatedEmployeeAvailabilityInsightsArgs = {
|
|
4861
|
-
employeeId?: InputMaybe<Scalars['ID']['input']
|
|
4878
|
+
employeeId?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
4862
4879
|
from: Scalars['ISO8601']['input'];
|
|
4863
4880
|
interval: AggregatedAvailabilityInsightsInterval;
|
|
4864
4881
|
officeId: Scalars['ID']['input'];
|
|
4865
|
-
timeZone: Scalars['String']['input'];
|
|
4866
4882
|
to: Scalars['ISO8601']['input'];
|
|
4867
4883
|
weekStartsOn?: InputMaybe<AggregatedAvailabilityInsightsWeekStartsOn>;
|
|
4868
4884
|
};
|
|
4869
4885
|
|
|
4870
4886
|
|
|
4871
4887
|
export type QueryAggregatedOfficeAppointmentInsightsArgs = {
|
|
4872
|
-
employeeId?: InputMaybe<Scalars['ID']['input']
|
|
4888
|
+
employeeId?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
4873
4889
|
from: Scalars['ISO8601']['input'];
|
|
4874
4890
|
interval: AggregatedAppointmentInsightsInterval;
|
|
4875
4891
|
officeId: Scalars['ID']['input'];
|
|
4876
|
-
timeZone: Scalars['String']['input'];
|
|
4877
4892
|
to: Scalars['ISO8601']['input'];
|
|
4878
4893
|
weekStartsOn?: InputMaybe<AggregatedAppointmentInsightsWeekStartsOn>;
|
|
4879
4894
|
};
|
|
4880
4895
|
|
|
4881
4896
|
|
|
4882
4897
|
export type QueryAggregatedOfficeAvailabilityInsightsArgs = {
|
|
4883
|
-
employeeId?: InputMaybe<Scalars['ID']['input']
|
|
4898
|
+
employeeId?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
4884
4899
|
from: Scalars['ISO8601']['input'];
|
|
4885
4900
|
interval: AggregatedAvailabilityInsightsInterval;
|
|
4886
4901
|
officeId: Scalars['ID']['input'];
|
|
4887
|
-
timeZone: Scalars['String']['input'];
|
|
4888
4902
|
to: Scalars['ISO8601']['input'];
|
|
4889
4903
|
weekStartsOn?: InputMaybe<AggregatedAvailabilityInsightsWeekStartsOn>;
|
|
4890
4904
|
};
|
|
@@ -5318,11 +5332,14 @@ export type QueryExternalCalendarAccountArgs = {
|
|
|
5318
5332
|
export type QueryExternalCalendarAccountsArgs = {
|
|
5319
5333
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
5320
5334
|
before?: InputMaybe<Scalars['String']['input']>;
|
|
5335
|
+
createOnlineMeetings?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5321
5336
|
employeeId?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
5322
5337
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5323
5338
|
id?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
5324
5339
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
5325
5340
|
provider?: InputMaybe<Array<ExternalCalendarProvider>>;
|
|
5341
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
5342
|
+
sort?: InputMaybe<Array<ExternalCalendarAccountSort>>;
|
|
5326
5343
|
withDeleted?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5327
5344
|
};
|
|
5328
5345
|
|
|
@@ -5434,12 +5451,6 @@ export type QueryGetAuthorizedProfilePictureUrlArgs = {
|
|
|
5434
5451
|
};
|
|
5435
5452
|
|
|
5436
5453
|
|
|
5437
|
-
export type QueryGetInsightsAccessTokenArgs = {
|
|
5438
|
-
dashboard: InsightsDashboardType;
|
|
5439
|
-
officeId?: InputMaybe<Scalars['ID']['input']>;
|
|
5440
|
-
};
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
5454
|
export type QueryIdentifyAppointmentArgs = {
|
|
5444
5455
|
intent: Intent;
|
|
5445
5456
|
token: Scalars['String']['input'];
|
|
@@ -6001,6 +6012,11 @@ export type QueryWebhookDeliveryArgs = {
|
|
|
6001
6012
|
};
|
|
6002
6013
|
|
|
6003
6014
|
|
|
6015
|
+
export type QueryWebhookDeliveryPayloadArgs = {
|
|
6016
|
+
webhookId: Scalars['String']['input'];
|
|
6017
|
+
};
|
|
6018
|
+
|
|
6019
|
+
|
|
6004
6020
|
export type QueryWorkLocationsArgs = {
|
|
6005
6021
|
employeeIds: Array<Scalars['ID']['input']>;
|
|
6006
6022
|
from: Scalars['ISO8601']['input'];
|
|
@@ -6440,6 +6456,11 @@ export type SortableEmployeeFields =
|
|
|
6440
6456
|
| 'updatedAt'
|
|
6441
6457
|
| 'username';
|
|
6442
6458
|
|
|
6459
|
+
export type SortableExternalCalendarAccountFields =
|
|
6460
|
+
| 'email'
|
|
6461
|
+
| 'id'
|
|
6462
|
+
| 'updatedAt';
|
|
6463
|
+
|
|
6443
6464
|
export type SortableFileFields =
|
|
6444
6465
|
| 'blobName'
|
|
6445
6466
|
| 'createdAt'
|
|
@@ -7355,7 +7376,6 @@ export type WebhookDelivery = {
|
|
|
7355
7376
|
duration?: Maybe<Scalars['Int']['output']>;
|
|
7356
7377
|
error?: Maybe<Scalars['String']['output']>;
|
|
7357
7378
|
event: Scalars['String']['output'];
|
|
7358
|
-
requestData: Scalars['String']['output'];
|
|
7359
7379
|
resourceId: Scalars['String']['output'];
|
|
7360
7380
|
responseData?: Maybe<Scalars['String']['output']>;
|
|
7361
7381
|
responseHeaders?: Maybe<Scalars['String']['output']>;
|
|
@@ -7377,6 +7397,12 @@ export type WebhookDeliveryEdge = {
|
|
|
7377
7397
|
node: WebhookDelivery;
|
|
7378
7398
|
};
|
|
7379
7399
|
|
|
7400
|
+
export type WebhookDeliveryPayload = {
|
|
7401
|
+
requestData: Scalars['String']['output'];
|
|
7402
|
+
responseData?: Maybe<Scalars['String']['output']>;
|
|
7403
|
+
responseHeaders?: Maybe<Scalars['String']['output']>;
|
|
7404
|
+
};
|
|
7405
|
+
|
|
7380
7406
|
export type WebhookEventType =
|
|
7381
7407
|
| 'appointment_create'
|
|
7382
7408
|
| 'appointment_update'
|
|
@@ -7474,6 +7500,12 @@ export type AppointmentTravelBufferTimeInput = {
|
|
|
7474
7500
|
value?: InputMaybe<Scalars['Int']['input']>;
|
|
7475
7501
|
};
|
|
7476
7502
|
|
|
7503
|
+
export type AvailabilityInsightsEnabledInput = {
|
|
7504
|
+
manageable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7505
|
+
/** Whether availability insights are enabled. */
|
|
7506
|
+
value?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7507
|
+
};
|
|
7508
|
+
|
|
7477
7509
|
export type CallbackRequestsEnabledInput = {
|
|
7478
7510
|
manageable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7479
7511
|
/** This setting determines whether customers can request a callback. */
|