@pexip-engage-public/graphql 1.1.14 → 1.1.15-canary-20251009124159
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 +8 -0
- package/dist/graphql-env.d.ts +1017 -0
- package/dist/graphql-env.d.ts.map +1 -1
- package/dist/graphql-env.js +1236 -110
- package/dist/graphql-env.js.map +1 -1
- package/dist/schema.d.ts +118 -1
- package/dist/schema.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/graphql-env.ts +1236 -110
- package/src/schema.ts +134 -1
package/dist/schema.d.ts
CHANGED
|
@@ -841,6 +841,60 @@ export type CommunicationSort = {
|
|
|
841
841
|
};
|
|
842
842
|
export type CommunicationStatus = 'DELIVERED' | 'DISABLED' | 'FAILED' | 'INVALID_RECEIVER' | 'NO_RECEIVER' | 'SENT' | 'UNKNOWN';
|
|
843
843
|
export type CommunicationType = 'NOTIFICATION' | 'REMINDER';
|
|
844
|
+
export type Context = {
|
|
845
|
+
createdAt: Scalars['ISO8601']['output'];
|
|
846
|
+
expiresAt?: Maybe<Scalars['ISO8601']['output']>;
|
|
847
|
+
externalId?: Maybe<Scalars['String']['output']>;
|
|
848
|
+
id: Scalars['String']['output'];
|
|
849
|
+
lastAccessedAt?: Maybe<Scalars['ISO8601']['output']>;
|
|
850
|
+
output: ContextOutput;
|
|
851
|
+
updatedAt: Scalars['ISO8601']['output'];
|
|
852
|
+
};
|
|
853
|
+
export type ContextInput = {
|
|
854
|
+
appointmentExternalId?: InputMaybe<Scalars['String']['input']>;
|
|
855
|
+
customerExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
856
|
+
customerIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
857
|
+
customers?: InputMaybe<Array<CustomerCreateInput>>;
|
|
858
|
+
employeeExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
859
|
+
employeeIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
860
|
+
end?: InputMaybe<Scalars['ISO8601']['input']>;
|
|
861
|
+
leadSegmentCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
862
|
+
leadSegmentIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
863
|
+
listingExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
864
|
+
listingIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
865
|
+
meetingRoomIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
866
|
+
meetingTypes?: InputMaybe<Array<MeetingType>>;
|
|
867
|
+
metadata?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
868
|
+
officeExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
869
|
+
officeIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
870
|
+
secondaryCustomerExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
871
|
+
secondaryCustomerIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
872
|
+
secondaryCustomers?: InputMaybe<Array<CustomerCreateInput>>;
|
|
873
|
+
secondaryEmployeeExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
874
|
+
secondaryEmployeeIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
875
|
+
start?: InputMaybe<Scalars['ISO8601']['input']>;
|
|
876
|
+
subjectExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
877
|
+
subjectGroupExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
878
|
+
subjectGroupIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
879
|
+
subjectIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
880
|
+
};
|
|
881
|
+
export type ContextOutput = {
|
|
882
|
+
appointmentExternalId?: Maybe<Scalars['String']['output']>;
|
|
883
|
+
customerIds: Array<Scalars['ID']['output']>;
|
|
884
|
+
employeeIds: Array<Scalars['ID']['output']>;
|
|
885
|
+
end?: Maybe<Scalars['ISO8601']['output']>;
|
|
886
|
+
leadSegmentIds: Array<Scalars['ID']['output']>;
|
|
887
|
+
listingIds: Array<Scalars['ID']['output']>;
|
|
888
|
+
meetingRoomIds: Array<Scalars['ID']['output']>;
|
|
889
|
+
meetingTypes: Array<MeetingType>;
|
|
890
|
+
metadata?: Maybe<Scalars['JSONObject']['output']>;
|
|
891
|
+
officeIds: Array<Scalars['ID']['output']>;
|
|
892
|
+
secondaryCustomerIds: Array<Scalars['ID']['output']>;
|
|
893
|
+
secondaryEmployeeIds: Array<Scalars['ID']['output']>;
|
|
894
|
+
start?: Maybe<Scalars['ISO8601']['output']>;
|
|
895
|
+
subjectGroupIds: Array<Scalars['ID']['output']>;
|
|
896
|
+
subjectIds: Array<Scalars['ID']['output']>;
|
|
897
|
+
};
|
|
844
898
|
export type Customer = {
|
|
845
899
|
anonymizedAt?: Maybe<Scalars['ISO8601']['output']>;
|
|
846
900
|
company?: Maybe<Scalars['String']['output']>;
|
|
@@ -1077,6 +1131,14 @@ export type DefaultTimeZoneEnterpriseSetting = {
|
|
|
1077
1131
|
/** The default time zone used wherever no time zone is provided. */
|
|
1078
1132
|
value: Scalars['String']['output'];
|
|
1079
1133
|
};
|
|
1134
|
+
export type DefaultUnavailabilityFormIdEnterpriseSetting = {
|
|
1135
|
+
createdAt: Scalars['ISO8601']['output'];
|
|
1136
|
+
/** 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. */
|
|
1137
|
+
manageable: Scalars['Boolean']['output'];
|
|
1138
|
+
updatedAt: Scalars['ISO8601']['output'];
|
|
1139
|
+
/** The default form to be used when creating unavailability. */
|
|
1140
|
+
value?: Maybe<Scalars['ID']['output']>;
|
|
1141
|
+
};
|
|
1080
1142
|
export type DefinedAvailability = {
|
|
1081
1143
|
employee: Employee;
|
|
1082
1144
|
end: Scalars['ISO8601']['output'];
|
|
@@ -1382,6 +1444,9 @@ export type EnterpriseSettings = {
|
|
|
1382
1444
|
defaultTermsAndConditionsUrl: DefaultTermsAndConditionsUrlEnterpriseSetting;
|
|
1383
1445
|
/** The default time zone used wherever no time zone is provided. */
|
|
1384
1446
|
defaultTimeZone: DefaultTimeZoneEnterpriseSetting;
|
|
1447
|
+
defaultUnavailabilityForm?: Maybe<Form>;
|
|
1448
|
+
/** The default form to be used when creating unavailability. */
|
|
1449
|
+
defaultUnavailabilityFormId: DefaultUnavailabilityFormIdEnterpriseSetting;
|
|
1385
1450
|
/** The email provider used to send emails. */
|
|
1386
1451
|
emailProvider: EmailProviderEnterpriseSetting;
|
|
1387
1452
|
/** The settings used to calculate which notifications should be sent to the employee. */
|
|
@@ -1482,6 +1547,8 @@ export type EnterpriseSettingsPatchInput = {
|
|
|
1482
1547
|
defaultSubjectId?: InputMaybe<DefaultSubjectIdInput>;
|
|
1483
1548
|
/** The default time zone used wherever no time zone is provided. */
|
|
1484
1549
|
defaultTimeZone?: InputMaybe<DefaultTimeZoneInput>;
|
|
1550
|
+
/** The default form to be used when creating unavailability. */
|
|
1551
|
+
defaultUnavailabilityFormId?: InputMaybe<DefaultUnavailabilityFormIdInput>;
|
|
1485
1552
|
/** The email provider used to send emails. */
|
|
1486
1553
|
emailProvider?: InputMaybe<EmailProviderInput>;
|
|
1487
1554
|
/** The settings used to calculate which notifications should be sent to the employee. */
|
|
@@ -1811,7 +1878,7 @@ export type FormSort = {
|
|
|
1811
1878
|
direction: SortDirection;
|
|
1812
1879
|
field: SortableFormFields;
|
|
1813
1880
|
};
|
|
1814
|
-
export type FormType = 'APPOINTMENT_CANCELLATION' | 'APPOINTMENT_COMPLETION' | 'CALLBACK_REQUEST' | 'QUALIFICATION' | 'SUBJECT_QUESTIONNAIRE';
|
|
1881
|
+
export type FormType = 'APPOINTMENT_CANCELLATION' | 'APPOINTMENT_COMPLETION' | 'CALLBACK_REQUEST' | 'QUALIFICATION' | 'SUBJECT_QUESTIONNAIRE' | 'UNAVAILABILITY';
|
|
1815
1882
|
export type Geolocation = {
|
|
1816
1883
|
latitude: Scalars['Float']['output'];
|
|
1817
1884
|
longitude: Scalars['Float']['output'];
|
|
@@ -1957,6 +2024,7 @@ export type Listing = {
|
|
|
1957
2024
|
description?: Maybe<TranslationObject>;
|
|
1958
2025
|
externalId?: Maybe<Scalars['String']['output']>;
|
|
1959
2026
|
id: Scalars['ID']['output'];
|
|
2027
|
+
internalNotes?: Maybe<Scalars['String']['output']>;
|
|
1960
2028
|
listingTimeSlots: Array<ListingTimeSlot>;
|
|
1961
2029
|
location?: Maybe<Location>;
|
|
1962
2030
|
name?: Maybe<TranslationObject>;
|
|
@@ -1986,6 +2054,7 @@ export type ListingConnection = {
|
|
|
1986
2054
|
export type ListingCreateInput = {
|
|
1987
2055
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1988
2056
|
externalId?: InputMaybe<Scalars['String']['input']>;
|
|
2057
|
+
internalNotes?: InputMaybe<Scalars['String']['input']>;
|
|
1989
2058
|
location?: InputMaybe<LocationInput>;
|
|
1990
2059
|
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1991
2060
|
timeZone?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1998,6 +2067,7 @@ export type ListingEdge = {
|
|
|
1998
2067
|
export type ListingPatchInput = {
|
|
1999
2068
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2000
2069
|
externalId?: InputMaybe<Scalars['String']['input']>;
|
|
2070
|
+
internalNotes?: InputMaybe<Scalars['String']['input']>;
|
|
2001
2071
|
location?: InputMaybe<LocationInput>;
|
|
2002
2072
|
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2003
2073
|
timeZone?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -2469,12 +2539,14 @@ export type Mutation = {
|
|
|
2469
2539
|
createAvailabilityTimeRange: AvailabilityTimeRange;
|
|
2470
2540
|
createCallbackRequest: CallbackRequest;
|
|
2471
2541
|
createCallbackRequestConfirmedSessionEvent: Scalars['Boolean']['output'];
|
|
2542
|
+
createContext: Context;
|
|
2472
2543
|
createCustomer: Customer;
|
|
2473
2544
|
createDataSelectedSessionEvent: Scalars['Boolean']['output'];
|
|
2474
2545
|
createDataShownSessionEvent: Scalars['Boolean']['output'];
|
|
2475
2546
|
createDownloadAppointmentFileLink: Scalars['String']['output'];
|
|
2476
2547
|
createDownloadCallbackRequestFileLink: Scalars['String']['output'];
|
|
2477
2548
|
createDownloadFileLink: Scalars['String']['output'];
|
|
2549
|
+
createDownloadUnavailabilityFileLink: Scalars['String']['output'];
|
|
2478
2550
|
createEmployee: Employee;
|
|
2479
2551
|
createExternalCalendarAccountConnectUrl: Scalars['String']['output'];
|
|
2480
2552
|
createExternalProviderTenantAdminConsentUrl: Scalars['String']['output'];
|
|
@@ -2636,6 +2708,7 @@ export type Mutation = {
|
|
|
2636
2708
|
* - The mutation returns the deleted original unavailability
|
|
2637
2709
|
*/
|
|
2638
2710
|
revertUnavailability: Array<Unavailability>;
|
|
2711
|
+
scheduleAppointment: Appointment;
|
|
2639
2712
|
syncFutureEventsToExternalCalendar: Scalars['Boolean']['output'];
|
|
2640
2713
|
syncMeetingRooms: Scalars['Boolean']['output'];
|
|
2641
2714
|
syncMicrosoftDynamicsIntegrationCustomAttributes: Scalars['Boolean']['output'];
|
|
@@ -2697,6 +2770,9 @@ export type MutationCreateCallbackRequestArgs = {
|
|
|
2697
2770
|
export type MutationCreateCallbackRequestConfirmedSessionEventArgs = {
|
|
2698
2771
|
input: CallbackRequestConfirmedSessionEvent;
|
|
2699
2772
|
};
|
|
2773
|
+
export type MutationCreateContextArgs = {
|
|
2774
|
+
input: ContextInput;
|
|
2775
|
+
};
|
|
2700
2776
|
export type MutationCreateCustomerArgs = {
|
|
2701
2777
|
customerCreateInput: CustomerCreateInput;
|
|
2702
2778
|
};
|
|
@@ -2718,6 +2794,10 @@ export type MutationCreateDownloadCallbackRequestFileLinkArgs = {
|
|
|
2718
2794
|
export type MutationCreateDownloadFileLinkArgs = {
|
|
2719
2795
|
id: Scalars['String']['input'];
|
|
2720
2796
|
};
|
|
2797
|
+
export type MutationCreateDownloadUnavailabilityFileLinkArgs = {
|
|
2798
|
+
fileId: Scalars['String']['input'];
|
|
2799
|
+
id: Scalars['ID']['input'];
|
|
2800
|
+
};
|
|
2721
2801
|
export type MutationCreateEmployeeArgs = {
|
|
2722
2802
|
employeeCreateInput: EmployeeCreateInput;
|
|
2723
2803
|
};
|
|
@@ -3223,6 +3303,9 @@ export type MutationRevertAppliedTemplatesArgs = {
|
|
|
3223
3303
|
export type MutationRevertUnavailabilityArgs = {
|
|
3224
3304
|
input: UnavailabilityRevertInput;
|
|
3225
3305
|
};
|
|
3306
|
+
export type MutationScheduleAppointmentArgs = {
|
|
3307
|
+
appointmentCreateInput: AppointmentCreateInput;
|
|
3308
|
+
};
|
|
3226
3309
|
export type MutationSyncFutureEventsToExternalCalendarArgs = {
|
|
3227
3310
|
externalCalendarId: Scalars['ID']['input'];
|
|
3228
3311
|
};
|
|
@@ -3501,6 +3584,7 @@ export type Query = {
|
|
|
3501
3584
|
callbackRequest: CallbackRequest;
|
|
3502
3585
|
callbackRequestableOffices: Array<Office>;
|
|
3503
3586
|
callbackRequests: CallbackRequestConnection;
|
|
3587
|
+
context: Context;
|
|
3504
3588
|
customer: Customer;
|
|
3505
3589
|
customers: CustomerConnection;
|
|
3506
3590
|
definedAvailability: Array<DefinedAvailability>;
|
|
@@ -3770,6 +3854,10 @@ export type QueryCallbackRequestsArgs = {
|
|
|
3770
3854
|
status?: InputMaybe<Array<CallbackRequestStatus>>;
|
|
3771
3855
|
subjectId?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
3772
3856
|
};
|
|
3857
|
+
export type QueryContextArgs = {
|
|
3858
|
+
externalId?: InputMaybe<Scalars['String']['input']>;
|
|
3859
|
+
id?: InputMaybe<Scalars['String']['input']>;
|
|
3860
|
+
};
|
|
3773
3861
|
export type QueryCustomerArgs = {
|
|
3774
3862
|
id: Scalars['ID']['input'];
|
|
3775
3863
|
};
|
|
@@ -4405,6 +4493,7 @@ export type Question = {
|
|
|
4405
4493
|
id: Scalars['ID']['output'];
|
|
4406
4494
|
inputType: InputType;
|
|
4407
4495
|
label?: Maybe<TranslationObject>;
|
|
4496
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
4408
4497
|
order: Scalars['Int']['output'];
|
|
4409
4498
|
placeholder?: Maybe<TranslationObject>;
|
|
4410
4499
|
required: Scalars['Boolean']['output'];
|
|
@@ -4429,6 +4518,7 @@ export type QuestionPatchInput = {
|
|
|
4429
4518
|
fetchConfigurationId?: InputMaybe<Scalars['ID']['input']>;
|
|
4430
4519
|
hidden?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4431
4520
|
inputType?: InputMaybe<InputType>;
|
|
4521
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
4432
4522
|
order?: InputMaybe<Scalars['Int']['input']>;
|
|
4433
4523
|
required?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4434
4524
|
targetProperty?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -4443,6 +4533,7 @@ export type QuestionPutInput = {
|
|
|
4443
4533
|
hidden?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4444
4534
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
4445
4535
|
inputType: InputType;
|
|
4536
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
4446
4537
|
order?: InputMaybe<Scalars['Int']['input']>;
|
|
4447
4538
|
required?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4448
4539
|
targetProperty?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -5149,6 +5240,7 @@ export type UiFeatureTogglesEnterpriseSetting = {
|
|
|
5149
5240
|
};
|
|
5150
5241
|
export type Unavailability = {
|
|
5151
5242
|
allDay: Scalars['Boolean']['output'];
|
|
5243
|
+
answers: Array<UnavailabilityAnswer>;
|
|
5152
5244
|
createdAt: Scalars['ISO8601']['output'];
|
|
5153
5245
|
employee: Employee;
|
|
5154
5246
|
/** End time of unavailability. */
|
|
@@ -5164,12 +5256,30 @@ export type Unavailability = {
|
|
|
5164
5256
|
type: UnavailabilityType;
|
|
5165
5257
|
updatedAt: Scalars['ISO8601']['output'];
|
|
5166
5258
|
};
|
|
5259
|
+
export type UnavailabilityAnswer = {
|
|
5260
|
+
answerType: FormType;
|
|
5261
|
+
createdAt: Scalars['ISO8601']['output'];
|
|
5262
|
+
files?: Maybe<Array<File>>;
|
|
5263
|
+
form: Form;
|
|
5264
|
+
id: Scalars['ID']['output'];
|
|
5265
|
+
question: Question;
|
|
5266
|
+
selectedAnswerOptions?: Maybe<Array<AnswerOption>>;
|
|
5267
|
+
updatedAt: Scalars['ISO8601']['output'];
|
|
5268
|
+
value?: Maybe<Scalars['String']['output']>;
|
|
5269
|
+
};
|
|
5270
|
+
export type UnavailabilityAnswerInput = {
|
|
5271
|
+
fileIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5272
|
+
questionId: Scalars['ID']['input'];
|
|
5273
|
+
selectedAnswerOptionIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
5274
|
+
value?: InputMaybe<Scalars['String']['input']>;
|
|
5275
|
+
};
|
|
5167
5276
|
export type UnavailabilityConnection = {
|
|
5168
5277
|
edges: Array<UnavailabilityEdge>;
|
|
5169
5278
|
pageInfo: PageInfo;
|
|
5170
5279
|
totalCount: Scalars['Int']['output'];
|
|
5171
5280
|
};
|
|
5172
5281
|
export type UnavailabilityCreateInput = {
|
|
5282
|
+
answers?: InputMaybe<Array<UnavailabilityAnswerInput>>;
|
|
5173
5283
|
employeeId: Scalars['ID']['input'];
|
|
5174
5284
|
/** Is inclusive. */
|
|
5175
5285
|
endDate: Scalars['CalendarDate']['input'];
|
|
@@ -5181,11 +5291,13 @@ export type UnavailabilityEdge = {
|
|
|
5181
5291
|
node: Unavailability;
|
|
5182
5292
|
};
|
|
5183
5293
|
export type UnavailabilityEventCreateInput = {
|
|
5294
|
+
answers?: InputMaybe<Array<UnavailabilityAnswerInput>>;
|
|
5184
5295
|
employeeId: Scalars['ID']['input'];
|
|
5185
5296
|
end: Scalars['ISO8601']['input'];
|
|
5186
5297
|
start: Scalars['ISO8601']['input'];
|
|
5187
5298
|
};
|
|
5188
5299
|
export type UnavailabilityRevertInput = {
|
|
5300
|
+
answers?: InputMaybe<Array<UnavailabilityAnswerInput>>;
|
|
5189
5301
|
employeeId: Scalars['ID']['input'];
|
|
5190
5302
|
/** Is inclusive. */
|
|
5191
5303
|
endDate: Scalars['CalendarDate']['input'];
|
|
@@ -5466,6 +5578,11 @@ export type DefaultTimeZoneInput = {
|
|
|
5466
5578
|
/** The default time zone used wherever no time zone is provided. */
|
|
5467
5579
|
value?: InputMaybe<Scalars['String']['input']>;
|
|
5468
5580
|
};
|
|
5581
|
+
export type DefaultUnavailabilityFormIdInput = {
|
|
5582
|
+
manageable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5583
|
+
/** The default form to be used when creating unavailability. */
|
|
5584
|
+
value?: InputMaybe<Scalars['ID']['input']>;
|
|
5585
|
+
};
|
|
5469
5586
|
export type EmailProviderInput = {
|
|
5470
5587
|
manageable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5471
5588
|
/** The email provider used to send emails. */
|