@pexip-engage-public/graphql 1.1.14 → 1.1.15-canary-20251009092247
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 +968 -0
- package/dist/graphql-env.d.ts.map +1 -1
- package/dist/graphql-env.js +1232 -162
- package/dist/graphql-env.js.map +1 -1
- package/dist/schema.d.ts +110 -1
- package/dist/schema.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/graphql-env.ts +1232 -162
- package/src/schema.ts +124 -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'];
|
|
@@ -2469,6 +2536,7 @@ export type Mutation = {
|
|
|
2469
2536
|
createAvailabilityTimeRange: AvailabilityTimeRange;
|
|
2470
2537
|
createCallbackRequest: CallbackRequest;
|
|
2471
2538
|
createCallbackRequestConfirmedSessionEvent: Scalars['Boolean']['output'];
|
|
2539
|
+
createContext: Context;
|
|
2472
2540
|
createCustomer: Customer;
|
|
2473
2541
|
createDataSelectedSessionEvent: Scalars['Boolean']['output'];
|
|
2474
2542
|
createDataShownSessionEvent: Scalars['Boolean']['output'];
|
|
@@ -2636,6 +2704,7 @@ export type Mutation = {
|
|
|
2636
2704
|
* - The mutation returns the deleted original unavailability
|
|
2637
2705
|
*/
|
|
2638
2706
|
revertUnavailability: Array<Unavailability>;
|
|
2707
|
+
scheduleAppointment: Appointment;
|
|
2639
2708
|
syncFutureEventsToExternalCalendar: Scalars['Boolean']['output'];
|
|
2640
2709
|
syncMeetingRooms: Scalars['Boolean']['output'];
|
|
2641
2710
|
syncMicrosoftDynamicsIntegrationCustomAttributes: Scalars['Boolean']['output'];
|
|
@@ -2697,6 +2766,9 @@ export type MutationCreateCallbackRequestArgs = {
|
|
|
2697
2766
|
export type MutationCreateCallbackRequestConfirmedSessionEventArgs = {
|
|
2698
2767
|
input: CallbackRequestConfirmedSessionEvent;
|
|
2699
2768
|
};
|
|
2769
|
+
export type MutationCreateContextArgs = {
|
|
2770
|
+
input: ContextInput;
|
|
2771
|
+
};
|
|
2700
2772
|
export type MutationCreateCustomerArgs = {
|
|
2701
2773
|
customerCreateInput: CustomerCreateInput;
|
|
2702
2774
|
};
|
|
@@ -3223,6 +3295,9 @@ export type MutationRevertAppliedTemplatesArgs = {
|
|
|
3223
3295
|
export type MutationRevertUnavailabilityArgs = {
|
|
3224
3296
|
input: UnavailabilityRevertInput;
|
|
3225
3297
|
};
|
|
3298
|
+
export type MutationScheduleAppointmentArgs = {
|
|
3299
|
+
appointmentCreateInput: AppointmentCreateInput;
|
|
3300
|
+
};
|
|
3226
3301
|
export type MutationSyncFutureEventsToExternalCalendarArgs = {
|
|
3227
3302
|
externalCalendarId: Scalars['ID']['input'];
|
|
3228
3303
|
};
|
|
@@ -3501,6 +3576,7 @@ export type Query = {
|
|
|
3501
3576
|
callbackRequest: CallbackRequest;
|
|
3502
3577
|
callbackRequestableOffices: Array<Office>;
|
|
3503
3578
|
callbackRequests: CallbackRequestConnection;
|
|
3579
|
+
context: Context;
|
|
3504
3580
|
customer: Customer;
|
|
3505
3581
|
customers: CustomerConnection;
|
|
3506
3582
|
definedAvailability: Array<DefinedAvailability>;
|
|
@@ -3770,6 +3846,10 @@ export type QueryCallbackRequestsArgs = {
|
|
|
3770
3846
|
status?: InputMaybe<Array<CallbackRequestStatus>>;
|
|
3771
3847
|
subjectId?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
3772
3848
|
};
|
|
3849
|
+
export type QueryContextArgs = {
|
|
3850
|
+
externalId?: InputMaybe<Scalars['String']['input']>;
|
|
3851
|
+
id?: InputMaybe<Scalars['String']['input']>;
|
|
3852
|
+
};
|
|
3773
3853
|
export type QueryCustomerArgs = {
|
|
3774
3854
|
id: Scalars['ID']['input'];
|
|
3775
3855
|
};
|
|
@@ -4405,6 +4485,7 @@ export type Question = {
|
|
|
4405
4485
|
id: Scalars['ID']['output'];
|
|
4406
4486
|
inputType: InputType;
|
|
4407
4487
|
label?: Maybe<TranslationObject>;
|
|
4488
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
4408
4489
|
order: Scalars['Int']['output'];
|
|
4409
4490
|
placeholder?: Maybe<TranslationObject>;
|
|
4410
4491
|
required: Scalars['Boolean']['output'];
|
|
@@ -4429,6 +4510,7 @@ export type QuestionPatchInput = {
|
|
|
4429
4510
|
fetchConfigurationId?: InputMaybe<Scalars['ID']['input']>;
|
|
4430
4511
|
hidden?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4431
4512
|
inputType?: InputMaybe<InputType>;
|
|
4513
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
4432
4514
|
order?: InputMaybe<Scalars['Int']['input']>;
|
|
4433
4515
|
required?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4434
4516
|
targetProperty?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -4443,6 +4525,7 @@ export type QuestionPutInput = {
|
|
|
4443
4525
|
hidden?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4444
4526
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
4445
4527
|
inputType: InputType;
|
|
4528
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
4446
4529
|
order?: InputMaybe<Scalars['Int']['input']>;
|
|
4447
4530
|
required?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4448
4531
|
targetProperty?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -5149,6 +5232,7 @@ export type UiFeatureTogglesEnterpriseSetting = {
|
|
|
5149
5232
|
};
|
|
5150
5233
|
export type Unavailability = {
|
|
5151
5234
|
allDay: Scalars['Boolean']['output'];
|
|
5235
|
+
answers: Array<UnavailabilityAnswer>;
|
|
5152
5236
|
createdAt: Scalars['ISO8601']['output'];
|
|
5153
5237
|
employee: Employee;
|
|
5154
5238
|
/** End time of unavailability. */
|
|
@@ -5164,12 +5248,30 @@ export type Unavailability = {
|
|
|
5164
5248
|
type: UnavailabilityType;
|
|
5165
5249
|
updatedAt: Scalars['ISO8601']['output'];
|
|
5166
5250
|
};
|
|
5251
|
+
export type UnavailabilityAnswer = {
|
|
5252
|
+
answerType: FormType;
|
|
5253
|
+
createdAt: Scalars['ISO8601']['output'];
|
|
5254
|
+
files?: Maybe<Array<File>>;
|
|
5255
|
+
form: Form;
|
|
5256
|
+
id: Scalars['ID']['output'];
|
|
5257
|
+
question: Question;
|
|
5258
|
+
selectedAnswerOptions?: Maybe<Array<AnswerOption>>;
|
|
5259
|
+
updatedAt: Scalars['ISO8601']['output'];
|
|
5260
|
+
value?: Maybe<Scalars['String']['output']>;
|
|
5261
|
+
};
|
|
5262
|
+
export type UnavailabilityAnswerInput = {
|
|
5263
|
+
fileIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5264
|
+
questionId: Scalars['ID']['input'];
|
|
5265
|
+
selectedAnswerOptionIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
5266
|
+
value?: InputMaybe<Scalars['String']['input']>;
|
|
5267
|
+
};
|
|
5167
5268
|
export type UnavailabilityConnection = {
|
|
5168
5269
|
edges: Array<UnavailabilityEdge>;
|
|
5169
5270
|
pageInfo: PageInfo;
|
|
5170
5271
|
totalCount: Scalars['Int']['output'];
|
|
5171
5272
|
};
|
|
5172
5273
|
export type UnavailabilityCreateInput = {
|
|
5274
|
+
answers?: InputMaybe<Array<UnavailabilityAnswerInput>>;
|
|
5173
5275
|
employeeId: Scalars['ID']['input'];
|
|
5174
5276
|
/** Is inclusive. */
|
|
5175
5277
|
endDate: Scalars['CalendarDate']['input'];
|
|
@@ -5181,11 +5283,13 @@ export type UnavailabilityEdge = {
|
|
|
5181
5283
|
node: Unavailability;
|
|
5182
5284
|
};
|
|
5183
5285
|
export type UnavailabilityEventCreateInput = {
|
|
5286
|
+
answers?: InputMaybe<Array<UnavailabilityAnswerInput>>;
|
|
5184
5287
|
employeeId: Scalars['ID']['input'];
|
|
5185
5288
|
end: Scalars['ISO8601']['input'];
|
|
5186
5289
|
start: Scalars['ISO8601']['input'];
|
|
5187
5290
|
};
|
|
5188
5291
|
export type UnavailabilityRevertInput = {
|
|
5292
|
+
answers?: InputMaybe<Array<UnavailabilityAnswerInput>>;
|
|
5189
5293
|
employeeId: Scalars['ID']['input'];
|
|
5190
5294
|
/** Is inclusive. */
|
|
5191
5295
|
endDate: Scalars['CalendarDate']['input'];
|
|
@@ -5466,6 +5570,11 @@ export type DefaultTimeZoneInput = {
|
|
|
5466
5570
|
/** The default time zone used wherever no time zone is provided. */
|
|
5467
5571
|
value?: InputMaybe<Scalars['String']['input']>;
|
|
5468
5572
|
};
|
|
5573
|
+
export type DefaultUnavailabilityFormIdInput = {
|
|
5574
|
+
manageable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5575
|
+
/** The default form to be used when creating unavailability. */
|
|
5576
|
+
value?: InputMaybe<Scalars['ID']['input']>;
|
|
5577
|
+
};
|
|
5469
5578
|
export type EmailProviderInput = {
|
|
5470
5579
|
manageable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5471
5580
|
/** The email provider used to send emails. */
|