@pexip-engage-public/graphql 1.1.10 → 1.1.12

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",
3
+ "version": "1.1.12",
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,7 +33,7 @@
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",
@@ -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"
49
+ "eslint-config-pexip-engage": "1.1.30"
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,30 @@ 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
6752
+ },
6753
+ {
6754
+ "name": "uuid",
6755
+ "type": {
6756
+ "kind": "NON_NULL",
6757
+ "ofType": {
6758
+ "kind": "SCALAR",
6759
+ "name": "String"
6760
+ }
6761
+ },
6762
+ "args": [],
6763
+ "isDeprecated": false
6728
6764
  }
6729
6765
  ],
6730
6766
  "interfaces": []
@@ -6795,6 +6831,48 @@ const introspection = {
6795
6831
  ],
6796
6832
  "interfaces": []
6797
6833
  },
6834
+ {
6835
+ "kind": "ENUM",
6836
+ "name": "CommunicationProvider",
6837
+ "enumValues": [
6838
+ {
6839
+ "name": "MANDRILL",
6840
+ "isDeprecated": false
6841
+ },
6842
+ {
6843
+ "name": "MICROSOFT_GRAPH_API",
6844
+ "isDeprecated": false
6845
+ },
6846
+ {
6847
+ "name": "PRETEND",
6848
+ "isDeprecated": false
6849
+ },
6850
+ {
6851
+ "name": "SEND_GRID",
6852
+ "isDeprecated": false
6853
+ },
6854
+ {
6855
+ "name": "SMTP",
6856
+ "isDeprecated": false
6857
+ },
6858
+ {
6859
+ "name": "SPRYNG",
6860
+ "isDeprecated": false
6861
+ },
6862
+ {
6863
+ "name": "TWILIO",
6864
+ "isDeprecated": false
6865
+ },
6866
+ {
6867
+ "name": "UNKNOWN",
6868
+ "isDeprecated": false
6869
+ },
6870
+ {
6871
+ "name": "WEBHOOK",
6872
+ "isDeprecated": false
6873
+ }
6874
+ ]
6875
+ },
6798
6876
  {
6799
6877
  "kind": "UNION",
6800
6878
  "name": "CommunicationReceiver",
@@ -6858,6 +6936,40 @@ const introspection = {
6858
6936
  ],
6859
6937
  "isOneOf": false
6860
6938
  },
6939
+ {
6940
+ "kind": "ENUM",
6941
+ "name": "CommunicationStatus",
6942
+ "enumValues": [
6943
+ {
6944
+ "name": "DELIVERED",
6945
+ "isDeprecated": false
6946
+ },
6947
+ {
6948
+ "name": "DISABLED",
6949
+ "isDeprecated": false
6950
+ },
6951
+ {
6952
+ "name": "FAILED",
6953
+ "isDeprecated": false
6954
+ },
6955
+ {
6956
+ "name": "INVALID_RECEIVER",
6957
+ "isDeprecated": false
6958
+ },
6959
+ {
6960
+ "name": "NO_RECEIVER",
6961
+ "isDeprecated": false
6962
+ },
6963
+ {
6964
+ "name": "SENT",
6965
+ "isDeprecated": false
6966
+ },
6967
+ {
6968
+ "name": "UNKNOWN",
6969
+ "isDeprecated": false
6970
+ }
6971
+ ]
6972
+ },
6861
6973
  {
6862
6974
  "kind": "ENUM",
6863
6975
  "name": "CommunicationType",
@@ -21212,6 +21324,29 @@ const introspection = {
21212
21324
  ],
21213
21325
  "isDeprecated": false
21214
21326
  },
21327
+ {
21328
+ "name": "createUnavailabilityEvent",
21329
+ "type": {
21330
+ "kind": "NON_NULL",
21331
+ "ofType": {
21332
+ "kind": "OBJECT",
21333
+ "name": "Unavailability"
21334
+ }
21335
+ },
21336
+ "args": [
21337
+ {
21338
+ "name": "input",
21339
+ "type": {
21340
+ "kind": "NON_NULL",
21341
+ "ofType": {
21342
+ "kind": "INPUT_OBJECT",
21343
+ "name": "UnavailabilityEventCreateInput"
21344
+ }
21345
+ }
21346
+ }
21347
+ ],
21348
+ "isDeprecated": false
21349
+ },
21215
21350
  {
21216
21351
  "name": "createUploadFileLink",
21217
21352
  "type": {
@@ -21853,6 +21988,29 @@ const introspection = {
21853
21988
  ],
21854
21989
  "isDeprecated": false
21855
21990
  },
21991
+ {
21992
+ "name": "deleteUnavailabilityEvent",
21993
+ "type": {
21994
+ "kind": "NON_NULL",
21995
+ "ofType": {
21996
+ "kind": "OBJECT",
21997
+ "name": "Unavailability"
21998
+ }
21999
+ },
22000
+ "args": [
22001
+ {
22002
+ "name": "id",
22003
+ "type": {
22004
+ "kind": "NON_NULL",
22005
+ "ofType": {
22006
+ "kind": "SCALAR",
22007
+ "name": "ID"
22008
+ }
22009
+ }
22010
+ }
22011
+ ],
22012
+ "isDeprecated": false
22013
+ },
21856
22014
  {
21857
22015
  "name": "deleteWebhookConfiguration",
21858
22016
  "type": {
@@ -34335,6 +34493,19 @@ const introspection = {
34335
34493
  }
34336
34494
  }
34337
34495
  },
34496
+ {
34497
+ "name": "event",
34498
+ "type": {
34499
+ "kind": "LIST",
34500
+ "ofType": {
34501
+ "kind": "NON_NULL",
34502
+ "ofType": {
34503
+ "kind": "SCALAR",
34504
+ "name": "String"
34505
+ }
34506
+ }
34507
+ }
34508
+ },
34338
34509
  {
34339
34510
  "name": "first",
34340
34511
  "type": {
@@ -41160,6 +41331,18 @@ const introspection = {
41160
41331
  "kind": "OBJECT",
41161
41332
  "name": "Unavailability",
41162
41333
  "fields": [
41334
+ {
41335
+ "name": "allDay",
41336
+ "type": {
41337
+ "kind": "NON_NULL",
41338
+ "ofType": {
41339
+ "kind": "SCALAR",
41340
+ "name": "Boolean"
41341
+ }
41342
+ },
41343
+ "args": [],
41344
+ "isDeprecated": false
41345
+ },
41163
41346
  {
41164
41347
  "name": "createdAt",
41165
41348
  "type": {
@@ -41391,6 +41574,43 @@ const introspection = {
41391
41574
  ],
41392
41575
  "interfaces": []
41393
41576
  },
41577
+ {
41578
+ "kind": "INPUT_OBJECT",
41579
+ "name": "UnavailabilityEventCreateInput",
41580
+ "inputFields": [
41581
+ {
41582
+ "name": "employeeId",
41583
+ "type": {
41584
+ "kind": "NON_NULL",
41585
+ "ofType": {
41586
+ "kind": "SCALAR",
41587
+ "name": "ID"
41588
+ }
41589
+ }
41590
+ },
41591
+ {
41592
+ "name": "end",
41593
+ "type": {
41594
+ "kind": "NON_NULL",
41595
+ "ofType": {
41596
+ "kind": "SCALAR",
41597
+ "name": "ISO8601"
41598
+ }
41599
+ }
41600
+ },
41601
+ {
41602
+ "name": "start",
41603
+ "type": {
41604
+ "kind": "NON_NULL",
41605
+ "ofType": {
41606
+ "kind": "SCALAR",
41607
+ "name": "ISO8601"
41608
+ }
41609
+ }
41610
+ }
41611
+ ],
41612
+ "isOneOf": false
41613
+ },
41394
41614
  {
41395
41615
  "kind": "INPUT_OBJECT",
41396
41616
  "name": "UnavailabilityRevertInput",
package/src/schema.ts CHANGED
@@ -959,10 +959,13 @@ 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;
968
+ uuid: Scalars['String']['output'];
966
969
  };
967
970
 
968
971
  export type CommunicationChannel =
@@ -978,6 +981,17 @@ export type CommunicationEmailEnterpriseSetting = {
978
981
  value?: Maybe<Scalars['String']['output']>;
979
982
  };
980
983
 
984
+ export type CommunicationProvider =
985
+ | 'MANDRILL'
986
+ | 'MICROSOFT_GRAPH_API'
987
+ | 'PRETEND'
988
+ | 'SEND_GRID'
989
+ | 'SMTP'
990
+ | 'SPRYNG'
991
+ | 'TWILIO'
992
+ | 'UNKNOWN'
993
+ | 'WEBHOOK';
994
+
981
995
  export type CommunicationReceiver = Customer | Employee | Enterprise | Office | { __typename?: "%other" };
982
996
 
983
997
  export type CommunicationResourceType =
@@ -989,6 +1003,15 @@ export type CommunicationSort = {
989
1003
  field: SortableCommunicationFields;
990
1004
  };
991
1005
 
1006
+ export type CommunicationStatus =
1007
+ | 'DELIVERED'
1008
+ | 'DISABLED'
1009
+ | 'FAILED'
1010
+ | 'INVALID_RECEIVER'
1011
+ | 'NO_RECEIVER'
1012
+ | 'SENT'
1013
+ | 'UNKNOWN';
1014
+
992
1015
  export type CommunicationType =
993
1016
  | 'NOTIFICATION'
994
1017
  | 'REMINDER';
@@ -3015,6 +3038,7 @@ export type Mutation = {
3015
3038
  * that user will be reverted (as if you called revertUnavailability first, see its description).
3016
3039
  */
3017
3040
  createUnavailability: Unavailability;
3041
+ createUnavailabilityEvent: Unavailability;
3018
3042
  createUploadFileLink: FileCreateUploadLinkResult;
3019
3043
  createVPaaSMeeting: PexipVPaaSParticipant;
3020
3044
  createWebhookConfiguration: WebhookConfiguration;
@@ -3042,6 +3066,7 @@ export type Mutation = {
3042
3066
  deleteSubject: Subject;
3043
3067
  deleteSubjectGroup: SubjectGroup;
3044
3068
  deleteUnavailability: Unavailability;
3069
+ deleteUnavailabilityEvent: Unavailability;
3045
3070
  deleteWebhookConfiguration: WebhookConfiguration;
3046
3071
  deleteWebhookConfigurationHeaders: Array<WebhookConfigurationHeader>;
3047
3072
  disconnectExternalCalendarAccount: ExternalCalendarAccount;
@@ -3398,6 +3423,11 @@ export type MutationCreateUnavailabilityArgs = {
3398
3423
  };
3399
3424
 
3400
3425
 
3426
+ export type MutationCreateUnavailabilityEventArgs = {
3427
+ input: UnavailabilityEventCreateInput;
3428
+ };
3429
+
3430
+
3401
3431
  export type MutationCreateUploadFileLinkArgs = {
3402
3432
  input: FileCreateUploadLinkInput;
3403
3433
  };
@@ -3526,6 +3556,11 @@ export type MutationDeleteUnavailabilityArgs = {
3526
3556
  };
3527
3557
 
3528
3558
 
3559
+ export type MutationDeleteUnavailabilityEventArgs = {
3560
+ id: Scalars['ID']['input'];
3561
+ };
3562
+
3563
+
3529
3564
  export type MutationDeleteWebhookConfigurationArgs = {
3530
3565
  id: Scalars['ID']['input'];
3531
3566
  };
@@ -5458,6 +5493,7 @@ export type QueryWebhookDeliveriesArgs = {
5458
5493
  after?: InputMaybe<Scalars['String']['input']>;
5459
5494
  before?: InputMaybe<Scalars['String']['input']>;
5460
5495
  correlationId?: InputMaybe<Array<Scalars['String']['input']>>;
5496
+ event?: InputMaybe<Array<Scalars['String']['input']>>;
5461
5497
  first?: InputMaybe<Scalars['Int']['input']>;
5462
5498
  last?: InputMaybe<Scalars['Int']['input']>;
5463
5499
  resourceId?: InputMaybe<Array<Scalars['String']['input']>>;
@@ -6564,6 +6600,7 @@ export type UiFeatureTogglesEnterpriseSetting = {
6564
6600
  };
6565
6601
 
6566
6602
  export type Unavailability = {
6603
+ allDay: Scalars['Boolean']['output'];
6567
6604
  createdAt: Scalars['ISO8601']['output'];
6568
6605
  employee: Employee;
6569
6606
  /** End time of unavailability. */
@@ -6599,6 +6636,12 @@ export type UnavailabilityEdge = {
6599
6636
  node: Unavailability;
6600
6637
  };
6601
6638
 
6639
+ export type UnavailabilityEventCreateInput = {
6640
+ employeeId: Scalars['ID']['input'];
6641
+ end: Scalars['ISO8601']['input'];
6642
+ start: Scalars['ISO8601']['input'];
6643
+ };
6644
+
6602
6645
  export type UnavailabilityRevertInput = {
6603
6646
  employeeId: Scalars['ID']['input'];
6604
6647
  /** Is inclusive. */