@pexip-engage-public/graphql 1.1.10-canary-20250806091052 → 1.1.11

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.10-canary-20250806091052",
3
+ "version": "1.1.11",
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"
@@ -33,12 +33,12 @@
33
33
  "CHANGELOG.md"
34
34
  ],
35
35
  "dependencies": {
36
- "gql.tada": "^1.8.12",
36
+ "gql.tada": "^1.8.13",
37
37
  "graphql": "^16.11.0",
38
38
  "graphql-request": "^7.2.0",
39
39
  "lz-string": "^1.5.0",
40
40
  "zod": "^3.25.76",
41
- "@pexip-engage-public/utils": "0.1.47-canary-20250806091052"
41
+ "@pexip-engage-public/utils": "0.1.47"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@graphql-codegen/cli": "^5.0.7",
@@ -46,7 +46,7 @@
46
46
  "@graphql-inspector/cli": "^5.0.8",
47
47
  "typescript": "^5.9.2",
48
48
  "@pexip-engage/tsconfig": "0.1.1",
49
- "eslint-config-pexip-engage": "1.1.28-canary-20250806091052"
49
+ "eslint-config-pexip-engage": "1.1.29"
50
50
  },
51
51
  "volta": {
52
52
  "extends": "../../package.json"
@@ -6681,6 +6681,18 @@ const introspection = {
6681
6681
  "args": [],
6682
6682
  "isDeprecated": false
6683
6683
  },
6684
+ {
6685
+ "name": "provider",
6686
+ "type": {
6687
+ "kind": "NON_NULL",
6688
+ "ofType": {
6689
+ "kind": "ENUM",
6690
+ "name": "CommunicationProvider"
6691
+ }
6692
+ },
6693
+ "args": [],
6694
+ "isDeprecated": false
6695
+ },
6684
6696
  {
6685
6697
  "name": "resourceId",
6686
6698
  "type": {
@@ -6725,6 +6737,18 @@ const introspection = {
6725
6737
  },
6726
6738
  "args": [],
6727
6739
  "isDeprecated": false
6740
+ },
6741
+ {
6742
+ "name": "status",
6743
+ "type": {
6744
+ "kind": "NON_NULL",
6745
+ "ofType": {
6746
+ "kind": "ENUM",
6747
+ "name": "CommunicationStatus"
6748
+ }
6749
+ },
6750
+ "args": [],
6751
+ "isDeprecated": false
6728
6752
  }
6729
6753
  ],
6730
6754
  "interfaces": []
@@ -6795,6 +6819,48 @@ const introspection = {
6795
6819
  ],
6796
6820
  "interfaces": []
6797
6821
  },
6822
+ {
6823
+ "kind": "ENUM",
6824
+ "name": "CommunicationProvider",
6825
+ "enumValues": [
6826
+ {
6827
+ "name": "MANDRILL",
6828
+ "isDeprecated": false
6829
+ },
6830
+ {
6831
+ "name": "MICROSOFT_GRAPH_API",
6832
+ "isDeprecated": false
6833
+ },
6834
+ {
6835
+ "name": "PRETEND",
6836
+ "isDeprecated": false
6837
+ },
6838
+ {
6839
+ "name": "SEND_GRID",
6840
+ "isDeprecated": false
6841
+ },
6842
+ {
6843
+ "name": "SMTP",
6844
+ "isDeprecated": false
6845
+ },
6846
+ {
6847
+ "name": "SPRYNG",
6848
+ "isDeprecated": false
6849
+ },
6850
+ {
6851
+ "name": "TWILIO",
6852
+ "isDeprecated": false
6853
+ },
6854
+ {
6855
+ "name": "UNKNOWN",
6856
+ "isDeprecated": false
6857
+ },
6858
+ {
6859
+ "name": "WEBHOOK",
6860
+ "isDeprecated": false
6861
+ }
6862
+ ]
6863
+ },
6798
6864
  {
6799
6865
  "kind": "UNION",
6800
6866
  "name": "CommunicationReceiver",
@@ -6858,6 +6924,36 @@ const introspection = {
6858
6924
  ],
6859
6925
  "isOneOf": false
6860
6926
  },
6927
+ {
6928
+ "kind": "ENUM",
6929
+ "name": "CommunicationStatus",
6930
+ "enumValues": [
6931
+ {
6932
+ "name": "DELIVERED",
6933
+ "isDeprecated": false
6934
+ },
6935
+ {
6936
+ "name": "DISABLED",
6937
+ "isDeprecated": false
6938
+ },
6939
+ {
6940
+ "name": "INVALID_RECEIVER",
6941
+ "isDeprecated": false
6942
+ },
6943
+ {
6944
+ "name": "NO_RECEIVER",
6945
+ "isDeprecated": false
6946
+ },
6947
+ {
6948
+ "name": "SEND",
6949
+ "isDeprecated": false
6950
+ },
6951
+ {
6952
+ "name": "UNKNOWN",
6953
+ "isDeprecated": false
6954
+ }
6955
+ ]
6956
+ },
6861
6957
  {
6862
6958
  "kind": "ENUM",
6863
6959
  "name": "CommunicationType",
@@ -21212,6 +21308,29 @@ const introspection = {
21212
21308
  ],
21213
21309
  "isDeprecated": false
21214
21310
  },
21311
+ {
21312
+ "name": "createUnavailabilityEvent",
21313
+ "type": {
21314
+ "kind": "NON_NULL",
21315
+ "ofType": {
21316
+ "kind": "OBJECT",
21317
+ "name": "Unavailability"
21318
+ }
21319
+ },
21320
+ "args": [
21321
+ {
21322
+ "name": "input",
21323
+ "type": {
21324
+ "kind": "NON_NULL",
21325
+ "ofType": {
21326
+ "kind": "INPUT_OBJECT",
21327
+ "name": "UnavailabilityEventCreateInput"
21328
+ }
21329
+ }
21330
+ }
21331
+ ],
21332
+ "isDeprecated": false
21333
+ },
21215
21334
  {
21216
21335
  "name": "createUploadFileLink",
21217
21336
  "type": {
@@ -21853,6 +21972,29 @@ const introspection = {
21853
21972
  ],
21854
21973
  "isDeprecated": false
21855
21974
  },
21975
+ {
21976
+ "name": "deleteUnavailabilityEvent",
21977
+ "type": {
21978
+ "kind": "NON_NULL",
21979
+ "ofType": {
21980
+ "kind": "OBJECT",
21981
+ "name": "Unavailability"
21982
+ }
21983
+ },
21984
+ "args": [
21985
+ {
21986
+ "name": "id",
21987
+ "type": {
21988
+ "kind": "NON_NULL",
21989
+ "ofType": {
21990
+ "kind": "SCALAR",
21991
+ "name": "ID"
21992
+ }
21993
+ }
21994
+ }
21995
+ ],
21996
+ "isDeprecated": false
21997
+ },
21856
21998
  {
21857
21999
  "name": "deleteWebhookConfiguration",
21858
22000
  "type": {
@@ -41160,6 +41302,18 @@ const introspection = {
41160
41302
  "kind": "OBJECT",
41161
41303
  "name": "Unavailability",
41162
41304
  "fields": [
41305
+ {
41306
+ "name": "allDay",
41307
+ "type": {
41308
+ "kind": "NON_NULL",
41309
+ "ofType": {
41310
+ "kind": "SCALAR",
41311
+ "name": "Boolean"
41312
+ }
41313
+ },
41314
+ "args": [],
41315
+ "isDeprecated": false
41316
+ },
41163
41317
  {
41164
41318
  "name": "createdAt",
41165
41319
  "type": {
@@ -41391,6 +41545,43 @@ const introspection = {
41391
41545
  ],
41392
41546
  "interfaces": []
41393
41547
  },
41548
+ {
41549
+ "kind": "INPUT_OBJECT",
41550
+ "name": "UnavailabilityEventCreateInput",
41551
+ "inputFields": [
41552
+ {
41553
+ "name": "employeeId",
41554
+ "type": {
41555
+ "kind": "NON_NULL",
41556
+ "ofType": {
41557
+ "kind": "SCALAR",
41558
+ "name": "ID"
41559
+ }
41560
+ }
41561
+ },
41562
+ {
41563
+ "name": "end",
41564
+ "type": {
41565
+ "kind": "NON_NULL",
41566
+ "ofType": {
41567
+ "kind": "SCALAR",
41568
+ "name": "ISO8601"
41569
+ }
41570
+ }
41571
+ },
41572
+ {
41573
+ "name": "start",
41574
+ "type": {
41575
+ "kind": "NON_NULL",
41576
+ "ofType": {
41577
+ "kind": "SCALAR",
41578
+ "name": "ISO8601"
41579
+ }
41580
+ }
41581
+ }
41582
+ ],
41583
+ "isOneOf": false
41584
+ },
41394
41585
  {
41395
41586
  "kind": "INPUT_OBJECT",
41396
41587
  "name": "UnavailabilityRevertInput",
package/src/schema.ts CHANGED
@@ -959,10 +959,12 @@ export type Communication = {
959
959
  eventType: Scalars['String']['output'];
960
960
  id: Scalars['ID']['output'];
961
961
  processedAt: Scalars['ISO8601']['output'];
962
+ provider: CommunicationProvider;
962
963
  resourceId: Scalars['Int']['output'];
963
964
  resourceType: CommunicationResourceType;
964
965
  resourceVersion?: Maybe<Scalars['Int']['output']>;
965
966
  scheduledAt: Scalars['ISO8601']['output'];
967
+ status: CommunicationStatus;
966
968
  };
967
969
 
968
970
  export type CommunicationChannel =
@@ -978,6 +980,17 @@ export type CommunicationEmailEnterpriseSetting = {
978
980
  value?: Maybe<Scalars['String']['output']>;
979
981
  };
980
982
 
983
+ export type CommunicationProvider =
984
+ | 'MANDRILL'
985
+ | 'MICROSOFT_GRAPH_API'
986
+ | 'PRETEND'
987
+ | 'SEND_GRID'
988
+ | 'SMTP'
989
+ | 'SPRYNG'
990
+ | 'TWILIO'
991
+ | 'UNKNOWN'
992
+ | 'WEBHOOK';
993
+
981
994
  export type CommunicationReceiver = Customer | Employee | Enterprise | Office | { __typename?: "%other" };
982
995
 
983
996
  export type CommunicationResourceType =
@@ -989,6 +1002,14 @@ export type CommunicationSort = {
989
1002
  field: SortableCommunicationFields;
990
1003
  };
991
1004
 
1005
+ export type CommunicationStatus =
1006
+ | 'DELIVERED'
1007
+ | 'DISABLED'
1008
+ | 'INVALID_RECEIVER'
1009
+ | 'NO_RECEIVER'
1010
+ | 'SEND'
1011
+ | 'UNKNOWN';
1012
+
992
1013
  export type CommunicationType =
993
1014
  | 'NOTIFICATION'
994
1015
  | 'REMINDER';
@@ -3015,6 +3036,7 @@ export type Mutation = {
3015
3036
  * that user will be reverted (as if you called revertUnavailability first, see its description).
3016
3037
  */
3017
3038
  createUnavailability: Unavailability;
3039
+ createUnavailabilityEvent: Unavailability;
3018
3040
  createUploadFileLink: FileCreateUploadLinkResult;
3019
3041
  createVPaaSMeeting: PexipVPaaSParticipant;
3020
3042
  createWebhookConfiguration: WebhookConfiguration;
@@ -3042,6 +3064,7 @@ export type Mutation = {
3042
3064
  deleteSubject: Subject;
3043
3065
  deleteSubjectGroup: SubjectGroup;
3044
3066
  deleteUnavailability: Unavailability;
3067
+ deleteUnavailabilityEvent: Unavailability;
3045
3068
  deleteWebhookConfiguration: WebhookConfiguration;
3046
3069
  deleteWebhookConfigurationHeaders: Array<WebhookConfigurationHeader>;
3047
3070
  disconnectExternalCalendarAccount: ExternalCalendarAccount;
@@ -3398,6 +3421,11 @@ export type MutationCreateUnavailabilityArgs = {
3398
3421
  };
3399
3422
 
3400
3423
 
3424
+ export type MutationCreateUnavailabilityEventArgs = {
3425
+ input: UnavailabilityEventCreateInput;
3426
+ };
3427
+
3428
+
3401
3429
  export type MutationCreateUploadFileLinkArgs = {
3402
3430
  input: FileCreateUploadLinkInput;
3403
3431
  };
@@ -3526,6 +3554,11 @@ export type MutationDeleteUnavailabilityArgs = {
3526
3554
  };
3527
3555
 
3528
3556
 
3557
+ export type MutationDeleteUnavailabilityEventArgs = {
3558
+ id: Scalars['ID']['input'];
3559
+ };
3560
+
3561
+
3529
3562
  export type MutationDeleteWebhookConfigurationArgs = {
3530
3563
  id: Scalars['ID']['input'];
3531
3564
  };
@@ -6564,6 +6597,7 @@ export type UiFeatureTogglesEnterpriseSetting = {
6564
6597
  };
6565
6598
 
6566
6599
  export type Unavailability = {
6600
+ allDay: Scalars['Boolean']['output'];
6567
6601
  createdAt: Scalars['ISO8601']['output'];
6568
6602
  employee: Employee;
6569
6603
  /** End time of unavailability. */
@@ -6599,6 +6633,12 @@ export type UnavailabilityEdge = {
6599
6633
  node: Unavailability;
6600
6634
  };
6601
6635
 
6636
+ export type UnavailabilityEventCreateInput = {
6637
+ employeeId: Scalars['ID']['input'];
6638
+ end: Scalars['ISO8601']['input'];
6639
+ start: Scalars['ISO8601']['input'];
6640
+ };
6641
+
6602
6642
  export type UnavailabilityRevertInput = {
6603
6643
  employeeId: Scalars['ID']['input'];
6604
6644
  /** Is inclusive. */