@pexip-engage-public/graphql 1.1.13 → 1.1.14-canary-20251008093334
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 +10 -0
- package/dist/graphql-env.d.ts +1159 -53
- package/dist/graphql-env.d.ts.map +1 -1
- package/dist/graphql-env.js +1287 -64
- package/dist/graphql-env.js.map +1 -1
- package/dist/graphql.d.ts +1 -1
- package/dist/graphql.d.ts.map +1 -1
- package/dist/schema.d.ts +126 -1
- package/dist/schema.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/graphql-env.ts +1287 -64
- package/src/graphql.ts +1 -1
- package/src/schema.ts +144 -1
package/src/graphql.ts
CHANGED
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>;
|
|
@@ -4510,6 +4595,7 @@ export type Query = {
|
|
|
4510
4595
|
webhookConfigurations: Array<WebhookConfiguration>;
|
|
4511
4596
|
webhookDeliveries: WebhookDeliveryConnection;
|
|
4512
4597
|
webhookDelivery: WebhookDelivery;
|
|
4598
|
+
workLocations: Array<WorkLocationEntry>;
|
|
4513
4599
|
};
|
|
4514
4600
|
|
|
4515
4601
|
|
|
@@ -4736,6 +4822,12 @@ export type QueryCallbackRequestsArgs = {
|
|
|
4736
4822
|
};
|
|
4737
4823
|
|
|
4738
4824
|
|
|
4825
|
+
export type QueryContextArgs = {
|
|
4826
|
+
externalId?: InputMaybe<Scalars['String']['input']>;
|
|
4827
|
+
id?: InputMaybe<Scalars['String']['input']>;
|
|
4828
|
+
};
|
|
4829
|
+
|
|
4830
|
+
|
|
4739
4831
|
export type QueryCustomerArgs = {
|
|
4740
4832
|
id: Scalars['ID']['input'];
|
|
4741
4833
|
};
|
|
@@ -5513,6 +5605,13 @@ export type QueryWebhookDeliveryArgs = {
|
|
|
5513
5605
|
webhookId: Scalars['String']['input'];
|
|
5514
5606
|
};
|
|
5515
5607
|
|
|
5608
|
+
|
|
5609
|
+
export type QueryWorkLocationsArgs = {
|
|
5610
|
+
employeeIds: Array<Scalars['ID']['input']>;
|
|
5611
|
+
from: Scalars['ISO8601']['input'];
|
|
5612
|
+
to: Scalars['ISO8601']['input'];
|
|
5613
|
+
};
|
|
5614
|
+
|
|
5516
5615
|
export type Question = {
|
|
5517
5616
|
answerOptions: Array<AnswerOption>;
|
|
5518
5617
|
createdAt: Scalars['ISO8601']['output'];
|
|
@@ -5527,6 +5626,7 @@ export type Question = {
|
|
|
5527
5626
|
id: Scalars['ID']['output'];
|
|
5528
5627
|
inputType: InputType;
|
|
5529
5628
|
label?: Maybe<TranslationObject>;
|
|
5629
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
5530
5630
|
order: Scalars['Int']['output'];
|
|
5531
5631
|
placeholder?: Maybe<TranslationObject>;
|
|
5532
5632
|
required: Scalars['Boolean']['output'];
|
|
@@ -5556,6 +5656,7 @@ export type QuestionPatchInput = {
|
|
|
5556
5656
|
fetchConfigurationId?: InputMaybe<Scalars['ID']['input']>;
|
|
5557
5657
|
hidden?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5558
5658
|
inputType?: InputMaybe<InputType>;
|
|
5659
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
5559
5660
|
order?: InputMaybe<Scalars['Int']['input']>;
|
|
5560
5661
|
required?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5561
5662
|
targetProperty?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -5571,6 +5672,7 @@ export type QuestionPutInput = {
|
|
|
5571
5672
|
hidden?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5572
5673
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
5573
5674
|
inputType: InputType;
|
|
5675
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
5574
5676
|
order?: InputMaybe<Scalars['Int']['input']>;
|
|
5575
5677
|
required?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5576
5678
|
targetProperty?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6612,6 +6714,7 @@ export type UiFeatureTogglesEnterpriseSetting = {
|
|
|
6612
6714
|
|
|
6613
6715
|
export type Unavailability = {
|
|
6614
6716
|
allDay: Scalars['Boolean']['output'];
|
|
6717
|
+
answers: Array<UnavailabilityAnswer>;
|
|
6615
6718
|
createdAt: Scalars['ISO8601']['output'];
|
|
6616
6719
|
employee: Employee;
|
|
6617
6720
|
/** End time of unavailability. */
|
|
@@ -6628,6 +6731,25 @@ export type Unavailability = {
|
|
|
6628
6731
|
updatedAt: Scalars['ISO8601']['output'];
|
|
6629
6732
|
};
|
|
6630
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
|
+
|
|
6631
6753
|
export type UnavailabilityConnection = {
|
|
6632
6754
|
edges: Array<UnavailabilityEdge>;
|
|
6633
6755
|
pageInfo: PageInfo;
|
|
@@ -6635,6 +6757,7 @@ export type UnavailabilityConnection = {
|
|
|
6635
6757
|
};
|
|
6636
6758
|
|
|
6637
6759
|
export type UnavailabilityCreateInput = {
|
|
6760
|
+
answers?: InputMaybe<Array<UnavailabilityAnswerInput>>;
|
|
6638
6761
|
employeeId: Scalars['ID']['input'];
|
|
6639
6762
|
/** Is inclusive. */
|
|
6640
6763
|
endDate: Scalars['CalendarDate']['input'];
|
|
@@ -6648,12 +6771,14 @@ export type UnavailabilityEdge = {
|
|
|
6648
6771
|
};
|
|
6649
6772
|
|
|
6650
6773
|
export type UnavailabilityEventCreateInput = {
|
|
6774
|
+
answers?: InputMaybe<Array<UnavailabilityAnswerInput>>;
|
|
6651
6775
|
employeeId: Scalars['ID']['input'];
|
|
6652
6776
|
end: Scalars['ISO8601']['input'];
|
|
6653
6777
|
start: Scalars['ISO8601']['input'];
|
|
6654
6778
|
};
|
|
6655
6779
|
|
|
6656
6780
|
export type UnavailabilityRevertInput = {
|
|
6781
|
+
answers?: InputMaybe<Array<UnavailabilityAnswerInput>>;
|
|
6657
6782
|
employeeId: Scalars['ID']['input'];
|
|
6658
6783
|
/** Is inclusive. */
|
|
6659
6784
|
endDate: Scalars['CalendarDate']['input'];
|
|
@@ -6844,6 +6969,18 @@ export type WebhookEventType =
|
|
|
6844
6969
|
| 'callback_request_update'
|
|
6845
6970
|
| 'communication_send';
|
|
6846
6971
|
|
|
6972
|
+
export type WorkLocation = {
|
|
6973
|
+
employee: Employee;
|
|
6974
|
+
meetingTypes: Array<MeetingType>;
|
|
6975
|
+
office: Office;
|
|
6976
|
+
};
|
|
6977
|
+
|
|
6978
|
+
export type WorkLocationEntry = {
|
|
6979
|
+
end: Scalars['ISO8601']['output'];
|
|
6980
|
+
start: Scalars['ISO8601']['output'];
|
|
6981
|
+
workLocations: Array<WorkLocation>;
|
|
6982
|
+
};
|
|
6983
|
+
|
|
6847
6984
|
export type ActiveLanguagesInput = {
|
|
6848
6985
|
manageable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6849
6986
|
/** The languages supported by the enterprise. */
|
|
@@ -6994,6 +7131,12 @@ export type DefaultTimeZoneInput = {
|
|
|
6994
7131
|
value?: InputMaybe<Scalars['String']['input']>;
|
|
6995
7132
|
};
|
|
6996
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
|
+
|
|
6997
7140
|
export type EmailProviderInput = {
|
|
6998
7141
|
manageable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6999
7142
|
/** The email provider used to send emails. */
|