@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/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'];
|
|
@@ -3004,6 +3076,7 @@ export type Mutation = {
|
|
|
3004
3076
|
createAvailabilityTimeRange: AvailabilityTimeRange;
|
|
3005
3077
|
createCallbackRequest: CallbackRequest;
|
|
3006
3078
|
createCallbackRequestConfirmedSessionEvent: Scalars['Boolean']['output'];
|
|
3079
|
+
createContext: Context;
|
|
3007
3080
|
createCustomer: Customer;
|
|
3008
3081
|
createDataSelectedSessionEvent: Scalars['Boolean']['output'];
|
|
3009
3082
|
createDataShownSessionEvent: Scalars['Boolean']['output'];
|
|
@@ -3171,6 +3244,7 @@ export type Mutation = {
|
|
|
3171
3244
|
* - The mutation returns the deleted original unavailability
|
|
3172
3245
|
*/
|
|
3173
3246
|
revertUnavailability: Array<Unavailability>;
|
|
3247
|
+
scheduleAppointment: Appointment;
|
|
3174
3248
|
syncFutureEventsToExternalCalendar: Scalars['Boolean']['output'];
|
|
3175
3249
|
syncMeetingRooms: Scalars['Boolean']['output'];
|
|
3176
3250
|
syncMicrosoftDynamicsIntegrationCustomAttributes: Scalars['Boolean']['output'];
|
|
@@ -3262,6 +3336,11 @@ export type MutationCreateCallbackRequestConfirmedSessionEventArgs = {
|
|
|
3262
3336
|
};
|
|
3263
3337
|
|
|
3264
3338
|
|
|
3339
|
+
export type MutationCreateContextArgs = {
|
|
3340
|
+
input: ContextInput;
|
|
3341
|
+
};
|
|
3342
|
+
|
|
3343
|
+
|
|
3265
3344
|
export type MutationCreateCustomerArgs = {
|
|
3266
3345
|
customerCreateInput: CustomerCreateInput;
|
|
3267
3346
|
};
|
|
@@ -4078,6 +4157,11 @@ export type MutationRevertUnavailabilityArgs = {
|
|
|
4078
4157
|
};
|
|
4079
4158
|
|
|
4080
4159
|
|
|
4160
|
+
export type MutationScheduleAppointmentArgs = {
|
|
4161
|
+
appointmentCreateInput: AppointmentCreateInput;
|
|
4162
|
+
};
|
|
4163
|
+
|
|
4164
|
+
|
|
4081
4165
|
export type MutationSyncFutureEventsToExternalCalendarArgs = {
|
|
4082
4166
|
externalCalendarId: Scalars['ID']['input'];
|
|
4083
4167
|
};
|
|
@@ -4418,6 +4502,7 @@ export type Query = {
|
|
|
4418
4502
|
callbackRequest: CallbackRequest;
|
|
4419
4503
|
callbackRequestableOffices: Array<Office>;
|
|
4420
4504
|
callbackRequests: CallbackRequestConnection;
|
|
4505
|
+
context: Context;
|
|
4421
4506
|
customer: Customer;
|
|
4422
4507
|
customers: CustomerConnection;
|
|
4423
4508
|
definedAvailability: Array<DefinedAvailability>;
|
|
@@ -4737,6 +4822,12 @@ export type QueryCallbackRequestsArgs = {
|
|
|
4737
4822
|
};
|
|
4738
4823
|
|
|
4739
4824
|
|
|
4825
|
+
export type QueryContextArgs = {
|
|
4826
|
+
externalId?: InputMaybe<Scalars['String']['input']>;
|
|
4827
|
+
id?: InputMaybe<Scalars['String']['input']>;
|
|
4828
|
+
};
|
|
4829
|
+
|
|
4830
|
+
|
|
4740
4831
|
export type QueryCustomerArgs = {
|
|
4741
4832
|
id: Scalars['ID']['input'];
|
|
4742
4833
|
};
|
|
@@ -5535,6 +5626,7 @@ export type Question = {
|
|
|
5535
5626
|
id: Scalars['ID']['output'];
|
|
5536
5627
|
inputType: InputType;
|
|
5537
5628
|
label?: Maybe<TranslationObject>;
|
|
5629
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
5538
5630
|
order: Scalars['Int']['output'];
|
|
5539
5631
|
placeholder?: Maybe<TranslationObject>;
|
|
5540
5632
|
required: Scalars['Boolean']['output'];
|
|
@@ -5564,6 +5656,7 @@ export type QuestionPatchInput = {
|
|
|
5564
5656
|
fetchConfigurationId?: InputMaybe<Scalars['ID']['input']>;
|
|
5565
5657
|
hidden?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5566
5658
|
inputType?: InputMaybe<InputType>;
|
|
5659
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
5567
5660
|
order?: InputMaybe<Scalars['Int']['input']>;
|
|
5568
5661
|
required?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5569
5662
|
targetProperty?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -5579,6 +5672,7 @@ export type QuestionPutInput = {
|
|
|
5579
5672
|
hidden?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5580
5673
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
5581
5674
|
inputType: InputType;
|
|
5675
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
5582
5676
|
order?: InputMaybe<Scalars['Int']['input']>;
|
|
5583
5677
|
required?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5584
5678
|
targetProperty?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6620,6 +6714,7 @@ export type UiFeatureTogglesEnterpriseSetting = {
|
|
|
6620
6714
|
|
|
6621
6715
|
export type Unavailability = {
|
|
6622
6716
|
allDay: Scalars['Boolean']['output'];
|
|
6717
|
+
answers: Array<UnavailabilityAnswer>;
|
|
6623
6718
|
createdAt: Scalars['ISO8601']['output'];
|
|
6624
6719
|
employee: Employee;
|
|
6625
6720
|
/** End time of unavailability. */
|
|
@@ -6636,6 +6731,25 @@ export type Unavailability = {
|
|
|
6636
6731
|
updatedAt: Scalars['ISO8601']['output'];
|
|
6637
6732
|
};
|
|
6638
6733
|
|
|
6734
|
+
export type UnavailabilityAnswer = {
|
|
6735
|
+
answerType: FormType;
|
|
6736
|
+
createdAt: Scalars['ISO8601']['output'];
|
|
6737
|
+
files?: Maybe<Array<File>>;
|
|
6738
|
+
form: Form;
|
|
6739
|
+
id: Scalars['ID']['output'];
|
|
6740
|
+
question: Question;
|
|
6741
|
+
selectedAnswerOptions?: Maybe<Array<AnswerOption>>;
|
|
6742
|
+
updatedAt: Scalars['ISO8601']['output'];
|
|
6743
|
+
value?: Maybe<Scalars['String']['output']>;
|
|
6744
|
+
};
|
|
6745
|
+
|
|
6746
|
+
export type UnavailabilityAnswerInput = {
|
|
6747
|
+
fileIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
6748
|
+
questionId: Scalars['ID']['input'];
|
|
6749
|
+
selectedAnswerOptionIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
6750
|
+
value?: InputMaybe<Scalars['String']['input']>;
|
|
6751
|
+
};
|
|
6752
|
+
|
|
6639
6753
|
export type UnavailabilityConnection = {
|
|
6640
6754
|
edges: Array<UnavailabilityEdge>;
|
|
6641
6755
|
pageInfo: PageInfo;
|
|
@@ -6643,6 +6757,7 @@ export type UnavailabilityConnection = {
|
|
|
6643
6757
|
};
|
|
6644
6758
|
|
|
6645
6759
|
export type UnavailabilityCreateInput = {
|
|
6760
|
+
answers?: InputMaybe<Array<UnavailabilityAnswerInput>>;
|
|
6646
6761
|
employeeId: Scalars['ID']['input'];
|
|
6647
6762
|
/** Is inclusive. */
|
|
6648
6763
|
endDate: Scalars['CalendarDate']['input'];
|
|
@@ -6656,12 +6771,14 @@ export type UnavailabilityEdge = {
|
|
|
6656
6771
|
};
|
|
6657
6772
|
|
|
6658
6773
|
export type UnavailabilityEventCreateInput = {
|
|
6774
|
+
answers?: InputMaybe<Array<UnavailabilityAnswerInput>>;
|
|
6659
6775
|
employeeId: Scalars['ID']['input'];
|
|
6660
6776
|
end: Scalars['ISO8601']['input'];
|
|
6661
6777
|
start: Scalars['ISO8601']['input'];
|
|
6662
6778
|
};
|
|
6663
6779
|
|
|
6664
6780
|
export type UnavailabilityRevertInput = {
|
|
6781
|
+
answers?: InputMaybe<Array<UnavailabilityAnswerInput>>;
|
|
6665
6782
|
employeeId: Scalars['ID']['input'];
|
|
6666
6783
|
/** Is inclusive. */
|
|
6667
6784
|
endDate: Scalars['CalendarDate']['input'];
|
|
@@ -7014,6 +7131,12 @@ export type DefaultTimeZoneInput = {
|
|
|
7014
7131
|
value?: InputMaybe<Scalars['String']['input']>;
|
|
7015
7132
|
};
|
|
7016
7133
|
|
|
7134
|
+
export type DefaultUnavailabilityFormIdInput = {
|
|
7135
|
+
manageable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7136
|
+
/** The default form to be used when creating unavailability. */
|
|
7137
|
+
value?: InputMaybe<Scalars['ID']['input']>;
|
|
7138
|
+
};
|
|
7139
|
+
|
|
7017
7140
|
export type EmailProviderInput = {
|
|
7018
7141
|
manageable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7019
7142
|
/** The email provider used to send emails. */
|