@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/src/schema.ts
CHANGED
|
@@ -1016,6 +1016,63 @@ export type CommunicationType =
|
|
|
1016
1016
|
| 'NOTIFICATION'
|
|
1017
1017
|
| 'REMINDER';
|
|
1018
1018
|
|
|
1019
|
+
export type Context = {
|
|
1020
|
+
createdAt: Scalars['ISO8601']['output'];
|
|
1021
|
+
expiresAt?: Maybe<Scalars['ISO8601']['output']>;
|
|
1022
|
+
externalId?: Maybe<Scalars['String']['output']>;
|
|
1023
|
+
id: Scalars['String']['output'];
|
|
1024
|
+
lastAccessedAt?: Maybe<Scalars['ISO8601']['output']>;
|
|
1025
|
+
output: ContextOutput;
|
|
1026
|
+
updatedAt: Scalars['ISO8601']['output'];
|
|
1027
|
+
};
|
|
1028
|
+
|
|
1029
|
+
export type ContextInput = {
|
|
1030
|
+
appointmentExternalId?: InputMaybe<Scalars['String']['input']>;
|
|
1031
|
+
customerExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1032
|
+
customerIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1033
|
+
customers?: InputMaybe<Array<CustomerCreateInput>>;
|
|
1034
|
+
employeeExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1035
|
+
employeeIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1036
|
+
end?: InputMaybe<Scalars['ISO8601']['input']>;
|
|
1037
|
+
leadSegmentCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1038
|
+
leadSegmentIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1039
|
+
listingExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1040
|
+
listingIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1041
|
+
meetingRoomIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1042
|
+
meetingTypes?: InputMaybe<Array<MeetingType>>;
|
|
1043
|
+
metadata?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
1044
|
+
officeExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1045
|
+
officeIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1046
|
+
secondaryCustomerExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1047
|
+
secondaryCustomerIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1048
|
+
secondaryCustomers?: InputMaybe<Array<CustomerCreateInput>>;
|
|
1049
|
+
secondaryEmployeeExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1050
|
+
secondaryEmployeeIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1051
|
+
start?: InputMaybe<Scalars['ISO8601']['input']>;
|
|
1052
|
+
subjectExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1053
|
+
subjectGroupExternalIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1054
|
+
subjectGroupIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1055
|
+
subjectIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1056
|
+
};
|
|
1057
|
+
|
|
1058
|
+
export type ContextOutput = {
|
|
1059
|
+
appointmentExternalId?: Maybe<Scalars['String']['output']>;
|
|
1060
|
+
customerIds: Array<Scalars['ID']['output']>;
|
|
1061
|
+
employeeIds: Array<Scalars['ID']['output']>;
|
|
1062
|
+
end?: Maybe<Scalars['ISO8601']['output']>;
|
|
1063
|
+
leadSegmentIds: Array<Scalars['ID']['output']>;
|
|
1064
|
+
listingIds: Array<Scalars['ID']['output']>;
|
|
1065
|
+
meetingRoomIds: Array<Scalars['ID']['output']>;
|
|
1066
|
+
meetingTypes: Array<MeetingType>;
|
|
1067
|
+
metadata?: Maybe<Scalars['JSONObject']['output']>;
|
|
1068
|
+
officeIds: Array<Scalars['ID']['output']>;
|
|
1069
|
+
secondaryCustomerIds: Array<Scalars['ID']['output']>;
|
|
1070
|
+
secondaryEmployeeIds: Array<Scalars['ID']['output']>;
|
|
1071
|
+
start?: Maybe<Scalars['ISO8601']['output']>;
|
|
1072
|
+
subjectGroupIds: Array<Scalars['ID']['output']>;
|
|
1073
|
+
subjectIds: Array<Scalars['ID']['output']>;
|
|
1074
|
+
};
|
|
1075
|
+
|
|
1019
1076
|
export type Customer = {
|
|
1020
1077
|
anonymizedAt?: Maybe<Scalars['ISO8601']['output']>;
|
|
1021
1078
|
company?: Maybe<Scalars['String']['output']>;
|
|
@@ -1290,6 +1347,15 @@ export type DefaultTimeZoneEnterpriseSetting = {
|
|
|
1290
1347
|
value: Scalars['String']['output'];
|
|
1291
1348
|
};
|
|
1292
1349
|
|
|
1350
|
+
export type DefaultUnavailabilityFormIdEnterpriseSetting = {
|
|
1351
|
+
createdAt: Scalars['ISO8601']['output'];
|
|
1352
|
+
/** 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. */
|
|
1353
|
+
manageable: Scalars['Boolean']['output'];
|
|
1354
|
+
updatedAt: Scalars['ISO8601']['output'];
|
|
1355
|
+
/** The default form to be used when creating unavailability. */
|
|
1356
|
+
value?: Maybe<Scalars['ID']['output']>;
|
|
1357
|
+
};
|
|
1358
|
+
|
|
1293
1359
|
export type DefinedAvailability = {
|
|
1294
1360
|
employee: Employee;
|
|
1295
1361
|
end: Scalars['ISO8601']['output'];
|
|
@@ -1648,6 +1714,9 @@ export type EnterpriseSettings = {
|
|
|
1648
1714
|
defaultTermsAndConditionsUrl: DefaultTermsAndConditionsUrlEnterpriseSetting;
|
|
1649
1715
|
/** The default time zone used wherever no time zone is provided. */
|
|
1650
1716
|
defaultTimeZone: DefaultTimeZoneEnterpriseSetting;
|
|
1717
|
+
defaultUnavailabilityForm?: Maybe<Form>;
|
|
1718
|
+
/** The default form to be used when creating unavailability. */
|
|
1719
|
+
defaultUnavailabilityFormId: DefaultUnavailabilityFormIdEnterpriseSetting;
|
|
1651
1720
|
/** The email provider used to send emails. */
|
|
1652
1721
|
emailProvider: EmailProviderEnterpriseSetting;
|
|
1653
1722
|
/** The settings used to calculate which notifications should be sent to the employee. */
|
|
@@ -1749,6 +1818,8 @@ export type EnterpriseSettingsPatchInput = {
|
|
|
1749
1818
|
defaultSubjectId?: InputMaybe<DefaultSubjectIdInput>;
|
|
1750
1819
|
/** The default time zone used wherever no time zone is provided. */
|
|
1751
1820
|
defaultTimeZone?: InputMaybe<DefaultTimeZoneInput>;
|
|
1821
|
+
/** The default form to be used when creating unavailability. */
|
|
1822
|
+
defaultUnavailabilityFormId?: InputMaybe<DefaultUnavailabilityFormIdInput>;
|
|
1752
1823
|
/** The email provider used to send emails. */
|
|
1753
1824
|
emailProvider?: InputMaybe<EmailProviderInput>;
|
|
1754
1825
|
/** The settings used to calculate which notifications should be sent to the employee. */
|
|
@@ -2167,7 +2238,8 @@ export type FormType =
|
|
|
2167
2238
|
| 'APPOINTMENT_COMPLETION'
|
|
2168
2239
|
| 'CALLBACK_REQUEST'
|
|
2169
2240
|
| 'QUALIFICATION'
|
|
2170
|
-
| 'SUBJECT_QUESTIONNAIRE'
|
|
2241
|
+
| 'SUBJECT_QUESTIONNAIRE'
|
|
2242
|
+
| 'UNAVAILABILITY';
|
|
2171
2243
|
|
|
2172
2244
|
export type Geolocation = {
|
|
2173
2245
|
latitude: Scalars['Float']['output'];
|
|
@@ -2405,6 +2477,7 @@ export type Listing = {
|
|
|
2405
2477
|
description?: Maybe<TranslationObject>;
|
|
2406
2478
|
externalId?: Maybe<Scalars['String']['output']>;
|
|
2407
2479
|
id: Scalars['ID']['output'];
|
|
2480
|
+
internalNotes?: Maybe<Scalars['String']['output']>;
|
|
2408
2481
|
listingTimeSlots: Array<ListingTimeSlot>;
|
|
2409
2482
|
location?: Maybe<Location>;
|
|
2410
2483
|
name?: Maybe<TranslationObject>;
|
|
@@ -2440,6 +2513,7 @@ export type ListingConnection = {
|
|
|
2440
2513
|
export type ListingCreateInput = {
|
|
2441
2514
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2442
2515
|
externalId?: InputMaybe<Scalars['String']['input']>;
|
|
2516
|
+
internalNotes?: InputMaybe<Scalars['String']['input']>;
|
|
2443
2517
|
location?: InputMaybe<LocationInput>;
|
|
2444
2518
|
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2445
2519
|
timeZone?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -2454,6 +2528,7 @@ export type ListingEdge = {
|
|
|
2454
2528
|
export type ListingPatchInput = {
|
|
2455
2529
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2456
2530
|
externalId?: InputMaybe<Scalars['String']['input']>;
|
|
2531
|
+
internalNotes?: InputMaybe<Scalars['String']['input']>;
|
|
2457
2532
|
location?: InputMaybe<LocationInput>;
|
|
2458
2533
|
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2459
2534
|
timeZone?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3004,12 +3079,14 @@ export type Mutation = {
|
|
|
3004
3079
|
createAvailabilityTimeRange: AvailabilityTimeRange;
|
|
3005
3080
|
createCallbackRequest: CallbackRequest;
|
|
3006
3081
|
createCallbackRequestConfirmedSessionEvent: Scalars['Boolean']['output'];
|
|
3082
|
+
createContext: Context;
|
|
3007
3083
|
createCustomer: Customer;
|
|
3008
3084
|
createDataSelectedSessionEvent: Scalars['Boolean']['output'];
|
|
3009
3085
|
createDataShownSessionEvent: Scalars['Boolean']['output'];
|
|
3010
3086
|
createDownloadAppointmentFileLink: Scalars['String']['output'];
|
|
3011
3087
|
createDownloadCallbackRequestFileLink: Scalars['String']['output'];
|
|
3012
3088
|
createDownloadFileLink: Scalars['String']['output'];
|
|
3089
|
+
createDownloadUnavailabilityFileLink: Scalars['String']['output'];
|
|
3013
3090
|
createEmployee: Employee;
|
|
3014
3091
|
createExternalCalendarAccountConnectUrl: Scalars['String']['output'];
|
|
3015
3092
|
createExternalProviderTenantAdminConsentUrl: Scalars['String']['output'];
|
|
@@ -3171,6 +3248,7 @@ export type Mutation = {
|
|
|
3171
3248
|
* - The mutation returns the deleted original unavailability
|
|
3172
3249
|
*/
|
|
3173
3250
|
revertUnavailability: Array<Unavailability>;
|
|
3251
|
+
scheduleAppointment: Appointment;
|
|
3174
3252
|
syncFutureEventsToExternalCalendar: Scalars['Boolean']['output'];
|
|
3175
3253
|
syncMeetingRooms: Scalars['Boolean']['output'];
|
|
3176
3254
|
syncMicrosoftDynamicsIntegrationCustomAttributes: Scalars['Boolean']['output'];
|
|
@@ -3262,6 +3340,11 @@ export type MutationCreateCallbackRequestConfirmedSessionEventArgs = {
|
|
|
3262
3340
|
};
|
|
3263
3341
|
|
|
3264
3342
|
|
|
3343
|
+
export type MutationCreateContextArgs = {
|
|
3344
|
+
input: ContextInput;
|
|
3345
|
+
};
|
|
3346
|
+
|
|
3347
|
+
|
|
3265
3348
|
export type MutationCreateCustomerArgs = {
|
|
3266
3349
|
customerCreateInput: CustomerCreateInput;
|
|
3267
3350
|
};
|
|
@@ -3295,6 +3378,12 @@ export type MutationCreateDownloadFileLinkArgs = {
|
|
|
3295
3378
|
};
|
|
3296
3379
|
|
|
3297
3380
|
|
|
3381
|
+
export type MutationCreateDownloadUnavailabilityFileLinkArgs = {
|
|
3382
|
+
fileId: Scalars['String']['input'];
|
|
3383
|
+
id: Scalars['ID']['input'];
|
|
3384
|
+
};
|
|
3385
|
+
|
|
3386
|
+
|
|
3298
3387
|
export type MutationCreateEmployeeArgs = {
|
|
3299
3388
|
employeeCreateInput: EmployeeCreateInput;
|
|
3300
3389
|
};
|
|
@@ -4078,6 +4167,11 @@ export type MutationRevertUnavailabilityArgs = {
|
|
|
4078
4167
|
};
|
|
4079
4168
|
|
|
4080
4169
|
|
|
4170
|
+
export type MutationScheduleAppointmentArgs = {
|
|
4171
|
+
appointmentCreateInput: AppointmentCreateInput;
|
|
4172
|
+
};
|
|
4173
|
+
|
|
4174
|
+
|
|
4081
4175
|
export type MutationSyncFutureEventsToExternalCalendarArgs = {
|
|
4082
4176
|
externalCalendarId: Scalars['ID']['input'];
|
|
4083
4177
|
};
|
|
@@ -4418,6 +4512,7 @@ export type Query = {
|
|
|
4418
4512
|
callbackRequest: CallbackRequest;
|
|
4419
4513
|
callbackRequestableOffices: Array<Office>;
|
|
4420
4514
|
callbackRequests: CallbackRequestConnection;
|
|
4515
|
+
context: Context;
|
|
4421
4516
|
customer: Customer;
|
|
4422
4517
|
customers: CustomerConnection;
|
|
4423
4518
|
definedAvailability: Array<DefinedAvailability>;
|
|
@@ -4737,6 +4832,12 @@ export type QueryCallbackRequestsArgs = {
|
|
|
4737
4832
|
};
|
|
4738
4833
|
|
|
4739
4834
|
|
|
4835
|
+
export type QueryContextArgs = {
|
|
4836
|
+
externalId?: InputMaybe<Scalars['String']['input']>;
|
|
4837
|
+
id?: InputMaybe<Scalars['String']['input']>;
|
|
4838
|
+
};
|
|
4839
|
+
|
|
4840
|
+
|
|
4740
4841
|
export type QueryCustomerArgs = {
|
|
4741
4842
|
id: Scalars['ID']['input'];
|
|
4742
4843
|
};
|
|
@@ -5535,6 +5636,7 @@ export type Question = {
|
|
|
5535
5636
|
id: Scalars['ID']['output'];
|
|
5536
5637
|
inputType: InputType;
|
|
5537
5638
|
label?: Maybe<TranslationObject>;
|
|
5639
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
5538
5640
|
order: Scalars['Int']['output'];
|
|
5539
5641
|
placeholder?: Maybe<TranslationObject>;
|
|
5540
5642
|
required: Scalars['Boolean']['output'];
|
|
@@ -5564,6 +5666,7 @@ export type QuestionPatchInput = {
|
|
|
5564
5666
|
fetchConfigurationId?: InputMaybe<Scalars['ID']['input']>;
|
|
5565
5667
|
hidden?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5566
5668
|
inputType?: InputMaybe<InputType>;
|
|
5669
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
5567
5670
|
order?: InputMaybe<Scalars['Int']['input']>;
|
|
5568
5671
|
required?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5569
5672
|
targetProperty?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -5579,6 +5682,7 @@ export type QuestionPutInput = {
|
|
|
5579
5682
|
hidden?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5580
5683
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
5581
5684
|
inputType: InputType;
|
|
5685
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
5582
5686
|
order?: InputMaybe<Scalars['Int']['input']>;
|
|
5583
5687
|
required?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5584
5688
|
targetProperty?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6620,6 +6724,7 @@ export type UiFeatureTogglesEnterpriseSetting = {
|
|
|
6620
6724
|
|
|
6621
6725
|
export type Unavailability = {
|
|
6622
6726
|
allDay: Scalars['Boolean']['output'];
|
|
6727
|
+
answers: Array<UnavailabilityAnswer>;
|
|
6623
6728
|
createdAt: Scalars['ISO8601']['output'];
|
|
6624
6729
|
employee: Employee;
|
|
6625
6730
|
/** End time of unavailability. */
|
|
@@ -6636,6 +6741,25 @@ export type Unavailability = {
|
|
|
6636
6741
|
updatedAt: Scalars['ISO8601']['output'];
|
|
6637
6742
|
};
|
|
6638
6743
|
|
|
6744
|
+
export type UnavailabilityAnswer = {
|
|
6745
|
+
answerType: FormType;
|
|
6746
|
+
createdAt: Scalars['ISO8601']['output'];
|
|
6747
|
+
files?: Maybe<Array<File>>;
|
|
6748
|
+
form: Form;
|
|
6749
|
+
id: Scalars['ID']['output'];
|
|
6750
|
+
question: Question;
|
|
6751
|
+
selectedAnswerOptions?: Maybe<Array<AnswerOption>>;
|
|
6752
|
+
updatedAt: Scalars['ISO8601']['output'];
|
|
6753
|
+
value?: Maybe<Scalars['String']['output']>;
|
|
6754
|
+
};
|
|
6755
|
+
|
|
6756
|
+
export type UnavailabilityAnswerInput = {
|
|
6757
|
+
fileIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
6758
|
+
questionId: Scalars['ID']['input'];
|
|
6759
|
+
selectedAnswerOptionIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
6760
|
+
value?: InputMaybe<Scalars['String']['input']>;
|
|
6761
|
+
};
|
|
6762
|
+
|
|
6639
6763
|
export type UnavailabilityConnection = {
|
|
6640
6764
|
edges: Array<UnavailabilityEdge>;
|
|
6641
6765
|
pageInfo: PageInfo;
|
|
@@ -6643,6 +6767,7 @@ export type UnavailabilityConnection = {
|
|
|
6643
6767
|
};
|
|
6644
6768
|
|
|
6645
6769
|
export type UnavailabilityCreateInput = {
|
|
6770
|
+
answers?: InputMaybe<Array<UnavailabilityAnswerInput>>;
|
|
6646
6771
|
employeeId: Scalars['ID']['input'];
|
|
6647
6772
|
/** Is inclusive. */
|
|
6648
6773
|
endDate: Scalars['CalendarDate']['input'];
|
|
@@ -6656,12 +6781,14 @@ export type UnavailabilityEdge = {
|
|
|
6656
6781
|
};
|
|
6657
6782
|
|
|
6658
6783
|
export type UnavailabilityEventCreateInput = {
|
|
6784
|
+
answers?: InputMaybe<Array<UnavailabilityAnswerInput>>;
|
|
6659
6785
|
employeeId: Scalars['ID']['input'];
|
|
6660
6786
|
end: Scalars['ISO8601']['input'];
|
|
6661
6787
|
start: Scalars['ISO8601']['input'];
|
|
6662
6788
|
};
|
|
6663
6789
|
|
|
6664
6790
|
export type UnavailabilityRevertInput = {
|
|
6791
|
+
answers?: InputMaybe<Array<UnavailabilityAnswerInput>>;
|
|
6665
6792
|
employeeId: Scalars['ID']['input'];
|
|
6666
6793
|
/** Is inclusive. */
|
|
6667
6794
|
endDate: Scalars['CalendarDate']['input'];
|
|
@@ -7014,6 +7141,12 @@ export type DefaultTimeZoneInput = {
|
|
|
7014
7141
|
value?: InputMaybe<Scalars['String']['input']>;
|
|
7015
7142
|
};
|
|
7016
7143
|
|
|
7144
|
+
export type DefaultUnavailabilityFormIdInput = {
|
|
7145
|
+
manageable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7146
|
+
/** The default form to be used when creating unavailability. */
|
|
7147
|
+
value?: InputMaybe<Scalars['ID']['input']>;
|
|
7148
|
+
};
|
|
7149
|
+
|
|
7017
7150
|
export type EmailProviderInput = {
|
|
7018
7151
|
manageable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7019
7152
|
/** The email provider used to send emails. */
|