@pexip-engage-public/graphql 1.1.5 → 1.1.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pexip-engage-public/graphql",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "homepage": "https://github.com/skedify/frontend-mono/tree/develop/packages/graphql#readme",
5
5
  "bugs": {
6
6
  "url": "https://github.com/skedify/frontend-mono/issues"
@@ -2548,61 +2548,6 @@ const introspection = {
2548
2548
  ],
2549
2549
  "isOneOf": false
2550
2550
  },
2551
- {
2552
- "kind": "OBJECT",
2553
- "name": "AppointmentCrossOfficeParticipantSelectionEnabledEnterpriseSetting",
2554
- "fields": [
2555
- {
2556
- "name": "createdAt",
2557
- "type": {
2558
- "kind": "NON_NULL",
2559
- "ofType": {
2560
- "kind": "SCALAR",
2561
- "name": "ISO8601"
2562
- }
2563
- },
2564
- "args": [],
2565
- "isDeprecated": false
2566
- },
2567
- {
2568
- "name": "manageable",
2569
- "type": {
2570
- "kind": "NON_NULL",
2571
- "ofType": {
2572
- "kind": "SCALAR",
2573
- "name": "Boolean"
2574
- }
2575
- },
2576
- "args": [],
2577
- "isDeprecated": false
2578
- },
2579
- {
2580
- "name": "updatedAt",
2581
- "type": {
2582
- "kind": "NON_NULL",
2583
- "ofType": {
2584
- "kind": "SCALAR",
2585
- "name": "ISO8601"
2586
- }
2587
- },
2588
- "args": [],
2589
- "isDeprecated": false
2590
- },
2591
- {
2592
- "name": "value",
2593
- "type": {
2594
- "kind": "NON_NULL",
2595
- "ofType": {
2596
- "kind": "SCALAR",
2597
- "name": "Boolean"
2598
- }
2599
- },
2600
- "args": [],
2601
- "isDeprecated": false
2602
- }
2603
- ],
2604
- "interfaces": []
2605
- },
2606
2551
  {
2607
2552
  "kind": "OBJECT",
2608
2553
  "name": "AppointmentDefaultEstimatedDurationEnterpriseSetting",
@@ -10831,18 +10776,6 @@ const introspection = {
10831
10776
  "args": [],
10832
10777
  "isDeprecated": false
10833
10778
  },
10834
- {
10835
- "name": "appointmentCrossOfficeParticipantSelectionEnabled",
10836
- "type": {
10837
- "kind": "NON_NULL",
10838
- "ofType": {
10839
- "kind": "OBJECT",
10840
- "name": "AppointmentCrossOfficeParticipantSelectionEnabledEnterpriseSetting"
10841
- }
10842
- },
10843
- "args": [],
10844
- "isDeprecated": false
10845
- },
10846
10779
  {
10847
10780
  "name": "appointmentDefaultEstimatedDuration",
10848
10781
  "type": {
@@ -11476,13 +11409,6 @@ const introspection = {
11476
11409
  "name": "appointmentCompletionAllowedDaysBeforeStartInput"
11477
11410
  }
11478
11411
  },
11479
- {
11480
- "name": "appointmentCrossOfficeParticipantSelectionEnabled",
11481
- "type": {
11482
- "kind": "INPUT_OBJECT",
11483
- "name": "appointmentCrossOfficeParticipantSelectionEnabledInput"
11484
- }
11485
- },
11486
11412
  {
11487
11413
  "name": "appointmentDefaultEstimatedDuration",
11488
11414
  "type": {
@@ -21286,6 +21212,29 @@ const introspection = {
21286
21212
  ],
21287
21213
  "isDeprecated": false
21288
21214
  },
21215
+ {
21216
+ "name": "createUnavailabilityEvent",
21217
+ "type": {
21218
+ "kind": "NON_NULL",
21219
+ "ofType": {
21220
+ "kind": "OBJECT",
21221
+ "name": "Unavailability"
21222
+ }
21223
+ },
21224
+ "args": [
21225
+ {
21226
+ "name": "input",
21227
+ "type": {
21228
+ "kind": "NON_NULL",
21229
+ "ofType": {
21230
+ "kind": "INPUT_OBJECT",
21231
+ "name": "UnavailabilityEventCreateInput"
21232
+ }
21233
+ }
21234
+ }
21235
+ ],
21236
+ "isDeprecated": false
21237
+ },
21289
21238
  {
21290
21239
  "name": "createUploadFileLink",
21291
21240
  "type": {
@@ -21927,6 +21876,29 @@ const introspection = {
21927
21876
  ],
21928
21877
  "isDeprecated": false
21929
21878
  },
21879
+ {
21880
+ "name": "deleteUnavailabilityEvent",
21881
+ "type": {
21882
+ "kind": "NON_NULL",
21883
+ "ofType": {
21884
+ "kind": "OBJECT",
21885
+ "name": "Unavailability"
21886
+ }
21887
+ },
21888
+ "args": [
21889
+ {
21890
+ "name": "id",
21891
+ "type": {
21892
+ "kind": "NON_NULL",
21893
+ "ofType": {
21894
+ "kind": "SCALAR",
21895
+ "name": "ID"
21896
+ }
21897
+ }
21898
+ }
21899
+ ],
21900
+ "isDeprecated": false
21901
+ },
21930
21902
  {
21931
21903
  "name": "deleteWebhookConfiguration",
21932
21904
  "type": {
@@ -40905,6 +40877,10 @@ const introspection = {
40905
40877
  "name": "APPOINTMENT_CREATION_MESSAGE_FOR_CUSTOMER",
40906
40878
  "isDeprecated": false
40907
40879
  },
40880
+ {
40881
+ "name": "APPOINTMENT_CROSS_OFFICE_EMPLOYEE_SELECTION_ENABLED",
40882
+ "isDeprecated": false
40883
+ },
40908
40884
  {
40909
40885
  "name": "APPOINTMENT_CUSTOMER_SELECTION",
40910
40886
  "isDeprecated": false
@@ -40913,6 +40889,10 @@ const introspection = {
40913
40889
  "name": "APPOINTMENT_ONLY_SCHEDULABLE_TOGGLE",
40914
40890
  "isDeprecated": false
40915
40891
  },
40892
+ {
40893
+ "name": "APPOINTMENT_PAST_EDITING_ENABLED",
40894
+ "isDeprecated": false
40895
+ },
40916
40896
  {
40917
40897
  "name": "APPOINTMENT_SCHEDULING",
40918
40898
  "isDeprecated": false
@@ -40921,6 +40901,10 @@ const introspection = {
40921
40901
  "name": "APPOINTMENT_SUBJECT_SELECTION",
40922
40902
  "isDeprecated": false
40923
40903
  },
40904
+ {
40905
+ "name": "CALENDAR_UNAVAILABILITY_EVENTS",
40906
+ "isDeprecated": false
40907
+ },
40924
40908
  {
40925
40909
  "name": "CUSTOMER_CREATION",
40926
40910
  "isDeprecated": false
@@ -41178,6 +41162,18 @@ const introspection = {
41178
41162
  "kind": "OBJECT",
41179
41163
  "name": "Unavailability",
41180
41164
  "fields": [
41165
+ {
41166
+ "name": "allDay",
41167
+ "type": {
41168
+ "kind": "NON_NULL",
41169
+ "ofType": {
41170
+ "kind": "SCALAR",
41171
+ "name": "Boolean"
41172
+ }
41173
+ },
41174
+ "args": [],
41175
+ "isDeprecated": false
41176
+ },
41181
41177
  {
41182
41178
  "name": "createdAt",
41183
41179
  "type": {
@@ -41409,6 +41405,43 @@ const introspection = {
41409
41405
  ],
41410
41406
  "interfaces": []
41411
41407
  },
41408
+ {
41409
+ "kind": "INPUT_OBJECT",
41410
+ "name": "UnavailabilityEventCreateInput",
41411
+ "inputFields": [
41412
+ {
41413
+ "name": "employeeId",
41414
+ "type": {
41415
+ "kind": "NON_NULL",
41416
+ "ofType": {
41417
+ "kind": "SCALAR",
41418
+ "name": "ID"
41419
+ }
41420
+ }
41421
+ },
41422
+ {
41423
+ "name": "end",
41424
+ "type": {
41425
+ "kind": "NON_NULL",
41426
+ "ofType": {
41427
+ "kind": "SCALAR",
41428
+ "name": "ISO8601"
41429
+ }
41430
+ }
41431
+ },
41432
+ {
41433
+ "name": "start",
41434
+ "type": {
41435
+ "kind": "NON_NULL",
41436
+ "ofType": {
41437
+ "kind": "SCALAR",
41438
+ "name": "ISO8601"
41439
+ }
41440
+ }
41441
+ }
41442
+ ],
41443
+ "isOneOf": false
41444
+ },
41412
41445
  {
41413
41446
  "kind": "INPUT_OBJECT",
41414
41447
  "name": "UnavailabilityRevertInput",
@@ -42880,27 +42913,6 @@ const introspection = {
42880
42913
  ],
42881
42914
  "isOneOf": false
42882
42915
  },
42883
- {
42884
- "kind": "INPUT_OBJECT",
42885
- "name": "appointmentCrossOfficeParticipantSelectionEnabledInput",
42886
- "inputFields": [
42887
- {
42888
- "name": "manageable",
42889
- "type": {
42890
- "kind": "SCALAR",
42891
- "name": "Boolean"
42892
- }
42893
- },
42894
- {
42895
- "name": "value",
42896
- "type": {
42897
- "kind": "SCALAR",
42898
- "name": "Boolean"
42899
- }
42900
- }
42901
- ],
42902
- "isOneOf": false
42903
- },
42904
42916
  {
42905
42917
  "kind": "INPUT_OBJECT",
42906
42918
  "name": "appointmentDefaultEstimatedDurationInput",
package/src/schema.ts CHANGED
@@ -367,15 +367,6 @@ export type AppointmentCreateInput = {
367
367
  userCommunication?: InputMaybe<AppointmentUserCommunicationInput>;
368
368
  };
369
369
 
370
- export type AppointmentCrossOfficeParticipantSelectionEnabledEnterpriseSetting = {
371
- createdAt: Scalars['ISO8601']['output'];
372
- /** 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. */
373
- manageable: Scalars['Boolean']['output'];
374
- updatedAt: Scalars['ISO8601']['output'];
375
- /** Whether reassigning appointments to another office is allowed. */
376
- value: Scalars['Boolean']['output'];
377
- };
378
-
379
370
  export type AppointmentDefaultEstimatedDurationEnterpriseSetting = {
380
371
  createdAt: Scalars['ISO8601']['output'];
381
372
  /** 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. */
@@ -1585,8 +1576,6 @@ export type EnterpriseSettings = {
1585
1576
  appointmentAutoAccept: AppointmentAutoAcceptEnterpriseSetting;
1586
1577
  /** The number of days before its start from when an appointment can be completed. */
1587
1578
  appointmentCompletionAllowedDaysBeforeStart: AppointmentCompletionAllowedDaysBeforeStartEnterpriseSetting;
1588
- /** Whether reassigning appointments to another office is allowed. */
1589
- appointmentCrossOfficeParticipantSelectionEnabled: AppointmentCrossOfficeParticipantSelectionEnabledEnterpriseSetting;
1590
1579
  /** The default appointment duration. */
1591
1580
  appointmentDefaultEstimatedDuration: AppointmentDefaultEstimatedDurationEnterpriseSetting;
1592
1581
  /** The earliest possible time from now an appointment can be booked. */
@@ -1700,8 +1689,6 @@ export type EnterpriseSettingsPatchInput = {
1700
1689
  appointmentAutoAccept?: InputMaybe<AppointmentAutoAcceptInput>;
1701
1690
  /** The number of days before its start from when an appointment can be completed. */
1702
1691
  appointmentCompletionAllowedDaysBeforeStart?: InputMaybe<AppointmentCompletionAllowedDaysBeforeStartInput>;
1703
- /** Whether reassigning appointments to another office is allowed. */
1704
- appointmentCrossOfficeParticipantSelectionEnabled?: InputMaybe<AppointmentCrossOfficeParticipantSelectionEnabledInput>;
1705
1692
  /** The default appointment duration. */
1706
1693
  appointmentDefaultEstimatedDuration?: InputMaybe<AppointmentDefaultEstimatedDurationInput>;
1707
1694
  /** The earliest possible time from now an appointment can be booked. */
@@ -3028,6 +3015,7 @@ export type Mutation = {
3028
3015
  * that user will be reverted (as if you called revertUnavailability first, see its description).
3029
3016
  */
3030
3017
  createUnavailability: Unavailability;
3018
+ createUnavailabilityEvent: Unavailability;
3031
3019
  createUploadFileLink: FileCreateUploadLinkResult;
3032
3020
  createVPaaSMeeting: PexipVPaaSParticipant;
3033
3021
  createWebhookConfiguration: WebhookConfiguration;
@@ -3055,6 +3043,7 @@ export type Mutation = {
3055
3043
  deleteSubject: Subject;
3056
3044
  deleteSubjectGroup: SubjectGroup;
3057
3045
  deleteUnavailability: Unavailability;
3046
+ deleteUnavailabilityEvent: Unavailability;
3058
3047
  deleteWebhookConfiguration: WebhookConfiguration;
3059
3048
  deleteWebhookConfigurationHeaders: Array<WebhookConfigurationHeader>;
3060
3049
  disconnectExternalCalendarAccount: ExternalCalendarAccount;
@@ -3411,6 +3400,11 @@ export type MutationCreateUnavailabilityArgs = {
3411
3400
  };
3412
3401
 
3413
3402
 
3403
+ export type MutationCreateUnavailabilityEventArgs = {
3404
+ input: UnavailabilityEventCreateInput;
3405
+ };
3406
+
3407
+
3414
3408
  export type MutationCreateUploadFileLinkArgs = {
3415
3409
  input: FileCreateUploadLinkInput;
3416
3410
  };
@@ -3539,6 +3533,11 @@ export type MutationDeleteUnavailabilityArgs = {
3539
3533
  };
3540
3534
 
3541
3535
 
3536
+ export type MutationDeleteUnavailabilityEventArgs = {
3537
+ id: Scalars['ID']['input'];
3538
+ };
3539
+
3540
+
3542
3541
  export type MutationDeleteWebhookConfigurationArgs = {
3543
3542
  id: Scalars['ID']['input'];
3544
3543
  };
@@ -6512,10 +6511,13 @@ export type UiFeature =
6512
6511
  | 'APPOINTMENT_COMPLETION'
6513
6512
  | 'APPOINTMENT_CREATION'
6514
6513
  | 'APPOINTMENT_CREATION_MESSAGE_FOR_CUSTOMER'
6514
+ | 'APPOINTMENT_CROSS_OFFICE_EMPLOYEE_SELECTION_ENABLED'
6515
6515
  | 'APPOINTMENT_CUSTOMER_SELECTION'
6516
6516
  | 'APPOINTMENT_ONLY_SCHEDULABLE_TOGGLE'
6517
+ | 'APPOINTMENT_PAST_EDITING_ENABLED'
6517
6518
  | 'APPOINTMENT_SCHEDULING'
6518
6519
  | 'APPOINTMENT_SUBJECT_SELECTION'
6520
+ | 'CALENDAR_UNAVAILABILITY_EVENTS'
6519
6521
  | 'CUSTOMER_CREATION'
6520
6522
  | 'CUSTOMER_DETAILS'
6521
6523
  | 'CUSTOMER_OVERVIEW'
@@ -6570,6 +6572,7 @@ export type UiFeatureTogglesEnterpriseSetting = {
6570
6572
  };
6571
6573
 
6572
6574
  export type Unavailability = {
6575
+ allDay: Scalars['Boolean']['output'];
6573
6576
  createdAt: Scalars['ISO8601']['output'];
6574
6577
  employee: Employee;
6575
6578
  /** End time of unavailability. */
@@ -6605,6 +6608,12 @@ export type UnavailabilityEdge = {
6605
6608
  node: Unavailability;
6606
6609
  };
6607
6610
 
6611
+ export type UnavailabilityEventCreateInput = {
6612
+ employeeId: Scalars['ID']['input'];
6613
+ end: Scalars['ISO8601']['input'];
6614
+ start: Scalars['ISO8601']['input'];
6615
+ };
6616
+
6608
6617
  export type UnavailabilityRevertInput = {
6609
6618
  employeeId: Scalars['ID']['input'];
6610
6619
  /** Is inclusive. */
@@ -6844,12 +6853,6 @@ export type AppointmentCompletionAllowedDaysBeforeStartInput = {
6844
6853
  value?: InputMaybe<Scalars['Int']['input']>;
6845
6854
  };
6846
6855
 
6847
- export type AppointmentCrossOfficeParticipantSelectionEnabledInput = {
6848
- manageable?: InputMaybe<Scalars['Boolean']['input']>;
6849
- /** Whether reassigning appointments to another office is allowed. */
6850
- value?: InputMaybe<Scalars['Boolean']['input']>;
6851
- };
6852
-
6853
6856
  export type AppointmentDefaultEstimatedDurationInput = {
6854
6857
  manageable?: InputMaybe<Scalars['Boolean']['input']>;
6855
6858
  /** The default appointment duration. */