@pexip-engage-public/graphql 1.3.6 → 1.4.1

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.3.6",
3
+ "version": "1.4.1",
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"
@@ -35,18 +35,18 @@
35
35
  "dependencies": {
36
36
  "gql.tada": "^1.9.0",
37
37
  "graphql": "16.11.0",
38
- "graphql-request": "^7.3.5",
38
+ "graphql-request": "^7.4.0",
39
39
  "lz-string": "^1.5.0",
40
- "zod": "^3.25.76",
41
- "@pexip-engage-public/utils": "0.1.52"
40
+ "zod": "^4.2.1",
41
+ "@pexip-engage-public/utils": "0.1.54"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@graphql-codegen/cli": "^6.1.0",
45
- "@graphql-codegen/typescript": "^5.0.6",
46
- "@graphql-inspector/cli": "^6.0.3",
45
+ "@graphql-codegen/typescript": "^5.0.7",
46
+ "@graphql-inspector/cli": "^6.0.5",
47
47
  "typescript": "^5.9.3",
48
48
  "@pexip-engage/tsconfig": "0.1.1",
49
- "eslint-config-pexip-engage": "1.2.3"
49
+ "@pexip-engage/eslint-config-pexip-engage": "1.3.1"
50
50
  },
51
51
  "volta": {
52
52
  "extends": "../../package.json"
@@ -2223,6 +2223,18 @@ const introspection = {
2223
2223
  },
2224
2224
  "args": [],
2225
2225
  "isDeprecated": false
2226
+ },
2227
+ {
2228
+ "name": "uuid",
2229
+ "type": {
2230
+ "kind": "NON_NULL",
2231
+ "ofType": {
2232
+ "kind": "SCALAR",
2233
+ "name": "String"
2234
+ }
2235
+ },
2236
+ "args": [],
2237
+ "isDeprecated": false
2226
2238
  }
2227
2239
  ],
2228
2240
  "interfaces": []
@@ -16347,32 +16359,6 @@ const introspection = {
16347
16359
  }
16348
16360
  ]
16349
16361
  },
16350
- {
16351
- "kind": "ENUM",
16352
- "name": "InsightsDatasetType",
16353
- "enumValues": [
16354
- {
16355
- "name": "APPOINTMENT_INSIGHTS",
16356
- "isDeprecated": false
16357
- },
16358
- {
16359
- "name": "AVAILABILITY_INSIGHTS",
16360
- "isDeprecated": false
16361
- },
16362
- {
16363
- "name": "CONVERSION_ANALYTICS",
16364
- "isDeprecated": false
16365
- },
16366
- {
16367
- "name": "CONVERSION_ANALYTICS_AGGREGATED",
16368
- "isDeprecated": false
16369
- },
16370
- {
16371
- "name": "CONVERSION_ANALYTICS_UNWRAPPED",
16372
- "isDeprecated": false
16373
- }
16374
- ]
16375
- },
16376
16362
  {
16377
16363
  "kind": "SCALAR",
16378
16364
  "name": "Int"
@@ -25172,6 +25158,45 @@ const introspection = {
25172
25158
  ],
25173
25159
  "isDeprecated": false
25174
25160
  },
25161
+ {
25162
+ "name": "putMeetingRoomOffices",
25163
+ "type": {
25164
+ "kind": "NON_NULL",
25165
+ "ofType": {
25166
+ "kind": "OBJECT",
25167
+ "name": "MeetingRoom"
25168
+ }
25169
+ },
25170
+ "args": [
25171
+ {
25172
+ "name": "meetingRoomId",
25173
+ "type": {
25174
+ "kind": "NON_NULL",
25175
+ "ofType": {
25176
+ "kind": "SCALAR",
25177
+ "name": "ID"
25178
+ }
25179
+ }
25180
+ },
25181
+ {
25182
+ "name": "officeIds",
25183
+ "type": {
25184
+ "kind": "NON_NULL",
25185
+ "ofType": {
25186
+ "kind": "LIST",
25187
+ "ofType": {
25188
+ "kind": "NON_NULL",
25189
+ "ofType": {
25190
+ "kind": "SCALAR",
25191
+ "name": "ID"
25192
+ }
25193
+ }
25194
+ }
25195
+ }
25196
+ }
25197
+ ],
25198
+ "isDeprecated": false
25199
+ },
25175
25200
  {
25176
25201
  "name": "putMeetingRoomSchedulingSettings",
25177
25202
  "type": {
@@ -40698,6 +40723,15 @@ const introspection = {
40698
40723
  "args": [],
40699
40724
  "isDeprecated": false
40700
40725
  },
40726
+ {
40727
+ "name": "description",
40728
+ "type": {
40729
+ "kind": "OBJECT",
40730
+ "name": "TranslationObject"
40731
+ },
40732
+ "args": [],
40733
+ "isDeprecated": false
40734
+ },
40701
40735
  {
40702
40736
  "name": "externalId",
40703
40737
  "type": {
@@ -41120,6 +41154,24 @@ const introspection = {
41120
41154
  "kind": "OBJECT",
41121
41155
  "name": "SubjectGroupTranslations",
41122
41156
  "fields": [
41157
+ {
41158
+ "name": "description",
41159
+ "type": {
41160
+ "kind": "NON_NULL",
41161
+ "ofType": {
41162
+ "kind": "LIST",
41163
+ "ofType": {
41164
+ "kind": "NON_NULL",
41165
+ "ofType": {
41166
+ "kind": "OBJECT",
41167
+ "name": "TranslationObject"
41168
+ }
41169
+ }
41170
+ }
41171
+ },
41172
+ "args": [],
41173
+ "isDeprecated": false
41174
+ },
41123
41175
  {
41124
41176
  "name": "name",
41125
41177
  "type": {
@@ -41145,6 +41197,20 @@ const introspection = {
41145
41197
  "kind": "INPUT_OBJECT",
41146
41198
  "name": "SubjectGroupTranslationsCreateInput",
41147
41199
  "inputFields": [
41200
+ {
41201
+ "name": "description",
41202
+ "type": {
41203
+ "kind": "LIST",
41204
+ "ofType": {
41205
+ "kind": "NON_NULL",
41206
+ "ofType": {
41207
+ "kind": "INPUT_OBJECT",
41208
+ "name": "TranslationObjectInput"
41209
+ }
41210
+ }
41211
+ },
41212
+ "defaultValue": "[]"
41213
+ },
41148
41214
  {
41149
41215
  "name": "name",
41150
41216
  "type": {
@@ -41168,6 +41234,19 @@ const introspection = {
41168
41234
  "kind": "INPUT_OBJECT",
41169
41235
  "name": "SubjectGroupTranslationsPatchInput",
41170
41236
  "inputFields": [
41237
+ {
41238
+ "name": "description",
41239
+ "type": {
41240
+ "kind": "LIST",
41241
+ "ofType": {
41242
+ "kind": "NON_NULL",
41243
+ "ofType": {
41244
+ "kind": "INPUT_OBJECT",
41245
+ "name": "TranslationObjectInput"
41246
+ }
41247
+ }
41248
+ }
41249
+ },
41171
41250
  {
41172
41251
  "name": "name",
41173
41252
  "type": {
@@ -1,5 +1,5 @@
1
1
  import { ClientError } from "graphql-request";
2
- import { z } from "zod";
2
+ import * as z from "zod";
3
3
 
4
4
  import { GraphQLErrorCode } from "./graphql-error-codes.js";
5
5
 
@@ -61,7 +61,7 @@ const ExtensionSchema = z.union([
61
61
  statusCode: z.literal(409),
62
62
  }),
63
63
  z.object({
64
- code: z.nativeEnum(GraphQLErrorCode),
64
+ code: z.enum(GraphQLErrorCode),
65
65
  message: z.string(),
66
66
  /**
67
67
  * A `422` response code indicates a failed business validation.
package/src/schema.ts CHANGED
@@ -317,6 +317,7 @@ export type Appointment = {
317
317
  updatedFrom: AppointmentSource;
318
318
  /** Indicates if the appointment will sent out notifications and reminders to participants. */
319
319
  userCommunication: AppointmentUserCommunication;
320
+ uuid: Scalars['String']['output'];
320
321
  };
321
322
 
322
323
 
@@ -2442,13 +2443,6 @@ export type InsightsDashboardType =
2442
2443
  | 'CONVERSION_ANALYTICS'
2443
2444
  | 'OFFICE_MANAGER_APPOINTMENT_INSIGHTS';
2444
2445
 
2445
- export type InsightsDatasetType =
2446
- | 'APPOINTMENT_INSIGHTS'
2447
- | 'AVAILABILITY_INSIGHTS'
2448
- | 'CONVERSION_ANALYTICS'
2449
- | 'CONVERSION_ANALYTICS_AGGREGATED'
2450
- | 'CONVERSION_ANALYTICS_UNWRAPPED';
2451
-
2452
2446
  export type IntegerAvailabilitySetting = {
2453
2447
  default: Scalars['Int']['output'];
2454
2448
  isOverridden: Scalars['Boolean']['output'];
@@ -3307,6 +3301,7 @@ export type Mutation = {
3307
3301
  putLeadSegmentSchedulingSettings: Array<LeadSegmentSchedulingSetting>;
3308
3302
  putListingSchedulingSettings: ListingSchedulingSetting;
3309
3303
  putListingTimeSlot: ListingTimeSlot;
3304
+ putMeetingRoomOffices: MeetingRoom;
3310
3305
  putMeetingRoomSchedulingSettings: Array<MeetingRoomSchedulingSetting>;
3311
3306
  putOfficeEmployeeCoverageRegionSchedulingSettings: Array<OfficeEmployeeCoverageRegionSchedulingSetting>;
3312
3307
  putOfficeEmployeeSubjectCoverageRegionSchedulingSettings: Array<OfficeEmployeeSubjectCoverageRegionSchedulingSetting>;
@@ -4053,6 +4048,12 @@ export type MutationPutListingTimeSlotArgs = {
4053
4048
  };
4054
4049
 
4055
4050
 
4051
+ export type MutationPutMeetingRoomOfficesArgs = {
4052
+ meetingRoomId: Scalars['ID']['input'];
4053
+ officeIds: Array<Scalars['ID']['input']>;
4054
+ };
4055
+
4056
+
4056
4057
  export type MutationPutMeetingRoomSchedulingSettingsArgs = {
4057
4058
  meetingRoomId: Scalars['ID']['input'];
4058
4059
  meetingRoomSchedulingSettingInput: Array<MeetingRoomSchedulingSettingInput>;
@@ -6487,6 +6488,7 @@ export type SubjectGroup = {
6487
6488
  color: Scalars['String']['output'];
6488
6489
  createdAt: Scalars['ISO8601']['output'];
6489
6490
  deletedAt?: Maybe<Scalars['ISO8601']['output']>;
6491
+ description?: Maybe<TranslationObject>;
6490
6492
  externalId?: Maybe<Scalars['String']['output']>;
6491
6493
  id: Scalars['ID']['output'];
6492
6494
  image?: Maybe<Scalars['String']['output']>;
@@ -6550,14 +6552,17 @@ export type SubjectGroupSort = {
6550
6552
  };
6551
6553
 
6552
6554
  export type SubjectGroupTranslations = {
6555
+ description: Array<TranslationObject>;
6553
6556
  name: Array<TranslationObject>;
6554
6557
  };
6555
6558
 
6556
6559
  export type SubjectGroupTranslationsCreateInput = {
6560
+ description?: InputMaybe<Array<TranslationObjectInput>>;
6557
6561
  name: Array<TranslationObjectInput>;
6558
6562
  };
6559
6563
 
6560
6564
  export type SubjectGroupTranslationsPatchInput = {
6565
+ description?: InputMaybe<Array<TranslationObjectInput>>;
6561
6566
  name?: InputMaybe<Array<TranslationObjectInput>>;
6562
6567
  };
6563
6568