@pexip-engage-public/graphql 1.0.9 → 1.0.10
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 +7 -0
- package/dist/graphql-error-handler.d.ts +7 -10
- package/dist/graphql-error-handler.d.ts.map +1 -1
- package/dist/graphql-error-handler.js +3 -2
- package/dist/graphql-error-handler.js.map +1 -1
- package/dist/schema.d.ts +44 -15
- package/dist/schema.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/graphql-error-handler.ts +10 -2
- package/src/schema.ts +58 -16
package/CHANGELOG.md
CHANGED
|
@@ -205,22 +205,19 @@ type ErrorMap = {
|
|
|
205
205
|
http: key;
|
|
206
206
|
}>[];
|
|
207
207
|
};
|
|
208
|
-
export
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
readonly type: "GQL";
|
|
208
|
+
export interface GQLError {
|
|
209
|
+
type: "GQL";
|
|
210
|
+
error: ClientError;
|
|
211
|
+
errorMap: ErrorMap;
|
|
212
|
+
}
|
|
213
|
+
export declare function handleGQLError(error: unknown): GQLError | {
|
|
214
|
+
readonly type: "GQL_INVALID";
|
|
216
215
|
readonly subtype: "ZOD_VALIDATION_FAILED";
|
|
217
216
|
readonly error: ClientError;
|
|
218
217
|
readonly err: unknown;
|
|
219
|
-
readonly errorMap?: undefined;
|
|
220
218
|
} | {
|
|
221
219
|
readonly type: "UNKNOWN";
|
|
222
220
|
readonly error: unknown;
|
|
223
|
-
readonly errorMap?: undefined;
|
|
224
221
|
readonly subtype?: undefined;
|
|
225
222
|
readonly err?: undefined;
|
|
226
223
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphql-error-handler.d.ts","sourceRoot":"","sources":["../src/graphql-error-handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAA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H;;;;OAIG;;;;;;;;;;;;;;;;;;;;IAKH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;IAWH,oLAAoL;;;;;;;;;;;;;;;;;;;IAItL,CAAC;AAEH,KAAK,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACjD,KAAK,QAAQ,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;AAClC,KAAK,QAAQ,GAAG;KAAG,GAAG,IAAI,QAAQ,CAAC,CAAC,EAAE,OAAO,CAAC,SAAS,EAAE;QAAE,IAAI,EAAE,GAAG,CAAA;KAAE,CAAC,EAAE;CAAE,CAAC;AAE5E,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,KAAK,CAAC;IACZ,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO;;;;;;;;;;EAgC5C"}
|
|
@@ -98,10 +98,11 @@ export function handleGQLError(error) {
|
|
|
98
98
|
}
|
|
99
99
|
return acc;
|
|
100
100
|
}, map) ?? map;
|
|
101
|
-
|
|
101
|
+
const gqlError = { type: "GQL", error, errorMap };
|
|
102
|
+
return gqlError;
|
|
102
103
|
}
|
|
103
104
|
catch (err) {
|
|
104
|
-
return { type: "
|
|
105
|
+
return { type: "GQL_INVALID", subtype: "ZOD_VALIDATION_FAILED", error, err };
|
|
105
106
|
}
|
|
106
107
|
}
|
|
107
108
|
return { type: "UNKNOWN", error };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphql-error-handler.js","sourceRoot":"","sources":["../src/graphql-error-handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE5D,MAAM,eAAe,GAAG,CA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AC,OAAO,GAAG,EAAE,CAAC;YACb,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,uBAAuB,EAAE,KAAK,EAAE,GAAG,EAAW,CAAC;QACxF,CAAC;IACH,CAAC;IAED,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAW,CAAC;AAC7C,CAAC"}
|
package/dist/schema.d.ts
CHANGED
|
@@ -545,6 +545,7 @@ export type CallbackRequest = {
|
|
|
545
545
|
listing?: Maybe<Listing>;
|
|
546
546
|
location?: Maybe<Location>;
|
|
547
547
|
meetingType?: Maybe<MeetingType>;
|
|
548
|
+
metadata?: Maybe<Scalars['JSONObject']['output']>;
|
|
548
549
|
office?: Maybe<Office>;
|
|
549
550
|
status: CallbackRequestStatus;
|
|
550
551
|
subject?: Maybe<Subject>;
|
|
@@ -584,6 +585,7 @@ export type CallbackRequestCreateInput = {
|
|
|
584
585
|
listingId?: InputMaybe<Scalars['ID']['input']>;
|
|
585
586
|
location?: InputMaybe<LocationInput>;
|
|
586
587
|
meetingType?: InputMaybe<MeetingType>;
|
|
588
|
+
metadata?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
587
589
|
officeId?: InputMaybe<Scalars['ID']['input']>;
|
|
588
590
|
subjectId?: InputMaybe<Scalars['ID']['input']>;
|
|
589
591
|
};
|
|
@@ -1523,14 +1525,12 @@ export type InternalCustomerFieldSettingsEnterpriseSetting = {
|
|
|
1523
1525
|
};
|
|
1524
1526
|
export type Language = 'da' | 'de' | 'el' | 'en' | 'es' | 'fr' | 'ja' | 'nl' | 'no' | 'pl';
|
|
1525
1527
|
export type LeadSegment = {
|
|
1526
|
-
|
|
1528
|
+
callbackRequestSettings: LeadSegmentCallbackRequestSetting;
|
|
1527
1529
|
code: Scalars['String']['output'];
|
|
1528
1530
|
createdAt: Scalars['ISO8601']['output'];
|
|
1529
1531
|
deletedAt?: Maybe<Scalars['ISO8601']['output']>;
|
|
1530
1532
|
description?: Maybe<Scalars['String']['output']>;
|
|
1531
|
-
earliestCallbackHours?: Maybe<Scalars['Int']['output']>;
|
|
1532
1533
|
id: Scalars['ID']['output'];
|
|
1533
|
-
latestCallbackHours?: Maybe<Scalars['Int']['output']>;
|
|
1534
1534
|
schedulingSettings: Array<LeadSegmentSchedulingSetting>;
|
|
1535
1535
|
updatedAt: Scalars['ISO8601']['output'];
|
|
1536
1536
|
};
|
|
@@ -1538,28 +1538,29 @@ export type LeadSegmentSchedulingSettingsArgs = {
|
|
|
1538
1538
|
meetingType?: InputMaybe<Array<MeetingType>>;
|
|
1539
1539
|
subjectId?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1540
1540
|
};
|
|
1541
|
+
export type LeadSegmentCallbackRequestSetting = {
|
|
1542
|
+
callbackRequestMode: CallbackRequestMode;
|
|
1543
|
+
leadSegmentId: Scalars['ID']['output'];
|
|
1544
|
+
};
|
|
1545
|
+
export type LeadSegmentCallbackRequestSettingInput = {
|
|
1546
|
+
callbackRequestMode?: InputMaybe<CallbackRequestMode>;
|
|
1547
|
+
};
|
|
1541
1548
|
export type LeadSegmentConnection = {
|
|
1542
1549
|
edges: Array<LeadSegmentEdge>;
|
|
1543
1550
|
pageInfo: PageInfo;
|
|
1544
1551
|
totalCount: Scalars['Int']['output'];
|
|
1545
1552
|
};
|
|
1546
1553
|
export type LeadSegmentCreateInput = {
|
|
1547
|
-
callbacksAllowed?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1548
1554
|
code: Scalars['String']['input'];
|
|
1549
1555
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
1550
|
-
earliestCallbackHours?: InputMaybe<Scalars['Int']['input']>;
|
|
1551
|
-
latestCallbackHours?: InputMaybe<Scalars['Int']['input']>;
|
|
1552
1556
|
};
|
|
1553
1557
|
export type LeadSegmentEdge = {
|
|
1554
1558
|
cursor: Scalars['String']['output'];
|
|
1555
1559
|
node: LeadSegment;
|
|
1556
1560
|
};
|
|
1557
1561
|
export type LeadSegmentPatchInput = {
|
|
1558
|
-
callbacksAllowed?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1559
1562
|
code?: InputMaybe<Scalars['String']['input']>;
|
|
1560
1563
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
1561
|
-
earliestCallbackHours?: InputMaybe<Scalars['Int']['input']>;
|
|
1562
|
-
latestCallbackHours?: InputMaybe<Scalars['Int']['input']>;
|
|
1563
1564
|
};
|
|
1564
1565
|
export type LeadSegmentSchedulingSetting = {
|
|
1565
1566
|
meetingType: MeetingType;
|
|
@@ -1573,6 +1574,13 @@ export type LeadSegmentSort = {
|
|
|
1573
1574
|
direction: SortDirection;
|
|
1574
1575
|
field: SortableLeadSegmentFields;
|
|
1575
1576
|
};
|
|
1577
|
+
export type LeadSegmentSubjectCallbackRequestSetting = {
|
|
1578
|
+
leadSegmentId: Scalars['ID']['output'];
|
|
1579
|
+
subject: Subject;
|
|
1580
|
+
};
|
|
1581
|
+
export type LeadSegmentSubjectCallbackRequestSettingInput = {
|
|
1582
|
+
subjectId: Scalars['ID']['input'];
|
|
1583
|
+
};
|
|
1576
1584
|
export type Listing = {
|
|
1577
1585
|
active: Scalars['Boolean']['output'];
|
|
1578
1586
|
createdAt: Scalars['ISO8601']['output'];
|
|
@@ -2023,6 +2031,7 @@ export type Mutation = {
|
|
|
2023
2031
|
patchFetchConfiguration: FetchConfiguration;
|
|
2024
2032
|
patchForm: Form;
|
|
2025
2033
|
patchLeadSegment: LeadSegment;
|
|
2034
|
+
patchLeadSegmentCallbackRequestSetting: LeadSegmentCallbackRequestSetting;
|
|
2026
2035
|
patchListing: Listing;
|
|
2027
2036
|
patchManagedExternalCalendarEvent: ManagedExternalCalendarEvent;
|
|
2028
2037
|
patchManagedExternalOnlineMeeting: ManagedExternalOnlineMeeting;
|
|
@@ -2045,6 +2054,7 @@ export type Mutation = {
|
|
|
2045
2054
|
putAvailabilityTimeRangeOffices: Array<AvailabilityTimeRangeOffice>;
|
|
2046
2055
|
putFavoriteAgents: Array<FavoriteAgent>;
|
|
2047
2056
|
putLeadSegmentSchedulingSettings: Array<LeadSegmentSchedulingSetting>;
|
|
2057
|
+
putLeadSegmentSubjectCallbackRequestSetting: Array<LeadSegmentSubjectCallbackRequestSetting>;
|
|
2048
2058
|
putListingSchedulingSettings: ListingSchedulingSetting;
|
|
2049
2059
|
putListingTimeSlot: ListingTimeSlot;
|
|
2050
2060
|
putOfficeEmployeeCoverageRegionSchedulingSettings: Array<OfficeEmployeeCoverageRegionSchedulingSetting>;
|
|
@@ -2060,6 +2070,7 @@ export type Mutation = {
|
|
|
2060
2070
|
putSubjectOfficeSchedulingSettings: Array<SubjectOfficeSchedulingSetting>;
|
|
2061
2071
|
putSubjectSchedulingSettings: Array<SubjectSchedulingSetting>;
|
|
2062
2072
|
reassignAppointment: Appointment;
|
|
2073
|
+
removeSecondaryCustomerParticipantFromAppointment: AppointmentParticipant;
|
|
2063
2074
|
removeSecondaryParticipantFromAppointment: AppointmentParticipant;
|
|
2064
2075
|
renderAppointmentCalendarEventTemplate: CalendarEventTemplateRender;
|
|
2065
2076
|
renderAppointmentEmailTemplate: EmailTemplateRender;
|
|
@@ -2370,6 +2381,10 @@ export type MutationPatchLeadSegmentArgs = {
|
|
|
2370
2381
|
id: Scalars['ID']['input'];
|
|
2371
2382
|
leadSegmentPatchInput: LeadSegmentPatchInput;
|
|
2372
2383
|
};
|
|
2384
|
+
export type MutationPatchLeadSegmentCallbackRequestSettingArgs = {
|
|
2385
|
+
input: LeadSegmentCallbackRequestSettingInput;
|
|
2386
|
+
leadSegmentId: Scalars['ID']['input'];
|
|
2387
|
+
};
|
|
2373
2388
|
export type MutationPatchListingArgs = {
|
|
2374
2389
|
id: Scalars['ID']['input'];
|
|
2375
2390
|
listingPatchInput: ListingPatchInput;
|
|
@@ -2456,6 +2471,10 @@ export type MutationPutLeadSegmentSchedulingSettingsArgs = {
|
|
|
2456
2471
|
leadSegmentId: Scalars['ID']['input'];
|
|
2457
2472
|
leadSegmentSchedulingSettingInputs: Array<LeadSegmentSchedulingSettingInput>;
|
|
2458
2473
|
};
|
|
2474
|
+
export type MutationPutLeadSegmentSubjectCallbackRequestSettingArgs = {
|
|
2475
|
+
inputs: Array<LeadSegmentSubjectCallbackRequestSettingInput>;
|
|
2476
|
+
leadSegmentId: Scalars['ID']['input'];
|
|
2477
|
+
};
|
|
2459
2478
|
export type MutationPutListingSchedulingSettingsArgs = {
|
|
2460
2479
|
listingId: Scalars['ID']['input'];
|
|
2461
2480
|
listingSchedulingSettingInput: ListingSchedulingSettingInput;
|
|
@@ -2516,6 +2535,9 @@ export type MutationReassignAppointmentArgs = {
|
|
|
2516
2535
|
appointmentReassignInput: AppointmentReassignInput;
|
|
2517
2536
|
id: Scalars['ID']['input'];
|
|
2518
2537
|
};
|
|
2538
|
+
export type MutationRemoveSecondaryCustomerParticipantFromAppointmentArgs = {
|
|
2539
|
+
token: Scalars['String']['input'];
|
|
2540
|
+
};
|
|
2519
2541
|
export type MutationRemoveSecondaryParticipantFromAppointmentArgs = {
|
|
2520
2542
|
id: Scalars['ID']['input'];
|
|
2521
2543
|
secondaryParticipantInput: SecondaryParticipantInput;
|
|
@@ -2591,7 +2613,7 @@ export type NotificationSettingsEnterpriseSettingValue = {
|
|
|
2591
2613
|
export type Office = {
|
|
2592
2614
|
active: Scalars['Boolean']['output'];
|
|
2593
2615
|
agents: Array<Employee>;
|
|
2594
|
-
|
|
2616
|
+
callbackRequestSettings: OfficeCallbackRequestSetting;
|
|
2595
2617
|
createdAt: Scalars['ISO8601']['output'];
|
|
2596
2618
|
deletedAt?: Maybe<Scalars['ISO8601']['output']>;
|
|
2597
2619
|
description?: Maybe<TranslationObject>;
|
|
@@ -2642,7 +2664,6 @@ export type OfficeConnection = {
|
|
|
2642
2664
|
};
|
|
2643
2665
|
export type OfficeCreateInput = {
|
|
2644
2666
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2645
|
-
callbacksAllowed?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2646
2667
|
email?: InputMaybe<Scalars['String']['input']>;
|
|
2647
2668
|
externalId?: InputMaybe<Scalars['String']['input']>;
|
|
2648
2669
|
location: LocationInput;
|
|
@@ -2682,7 +2703,6 @@ export type OfficeEmployeeSubjectCoverageRegionSchedulingSettingInput = {
|
|
|
2682
2703
|
};
|
|
2683
2704
|
export type OfficePatchInput = {
|
|
2684
2705
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2685
|
-
callbacksAllowed?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2686
2706
|
email?: InputMaybe<Scalars['String']['input']>;
|
|
2687
2707
|
externalId?: InputMaybe<Scalars['String']['input']>;
|
|
2688
2708
|
location?: InputMaybe<LocationInput>;
|
|
@@ -2826,6 +2846,8 @@ export type Query = {
|
|
|
2826
2846
|
getInsightsAccessToken: InsightsAccessToken;
|
|
2827
2847
|
isCallbackRequestEnabled: CallbackRequestMode;
|
|
2828
2848
|
leadSegment: LeadSegment;
|
|
2849
|
+
leadSegmentCallbackRequestSettings: LeadSegmentCallbackRequestSetting;
|
|
2850
|
+
leadSegmentSubjectCallbackRequestSettings: Array<LeadSegmentSubjectCallbackRequestSetting>;
|
|
2829
2851
|
leadSegments: LeadSegmentConnection;
|
|
2830
2852
|
listing: Listing;
|
|
2831
2853
|
listingTimeSlot: ListingTimeSlot;
|
|
@@ -3159,6 +3181,12 @@ export type QueryIsCallbackRequestEnabledArgs = {
|
|
|
3159
3181
|
export type QueryLeadSegmentArgs = {
|
|
3160
3182
|
id: Scalars['ID']['input'];
|
|
3161
3183
|
};
|
|
3184
|
+
export type QueryLeadSegmentCallbackRequestSettingsArgs = {
|
|
3185
|
+
leadSegmentId: Scalars['ID']['input'];
|
|
3186
|
+
};
|
|
3187
|
+
export type QueryLeadSegmentSubjectCallbackRequestSettingsArgs = {
|
|
3188
|
+
leadSegmentId: Scalars['ID']['input'];
|
|
3189
|
+
};
|
|
3162
3190
|
export type QueryLeadSegmentsArgs = {
|
|
3163
3191
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
3164
3192
|
before?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3686,7 +3714,7 @@ export type SortableCallbackRequestFields = 'createdAt' | 'externalId' | 'id' |
|
|
|
3686
3714
|
export type SortableCustomerFields = 'createdAt' | 'email' | 'firstName' | 'id' | 'lastName' | 'updatedAt';
|
|
3687
3715
|
export type SortableEmployeeFields = 'createdAt' | 'email' | 'externalId' | 'firstName' | 'id' | 'lastName' | 'status' | 'updatedAt';
|
|
3688
3716
|
export type SortableFormFields = 'createdAt' | 'id' | 'name' | 'updatedAt';
|
|
3689
|
-
export type SortableLeadSegmentFields = '
|
|
3717
|
+
export type SortableLeadSegmentFields = 'code' | 'createdAt' | 'description' | 'id' | 'updatedAt';
|
|
3690
3718
|
export type SortableListingFields = 'active' | 'createdAt' | 'externalId' | 'id' | 'name' | 'updatedAt';
|
|
3691
3719
|
export type SortableManagedExternalCalendarEventFields = 'createdAt' | 'updatedAt';
|
|
3692
3720
|
export type SortableOfficeFields = 'active' | 'createdAt' | 'externalId' | 'id' | 'name' | 'updatedAt';
|
|
@@ -3718,6 +3746,7 @@ export type StepShownSessionEventPayload = {
|
|
|
3718
3746
|
};
|
|
3719
3747
|
export type StepShownView = 'CUSTOMER' | 'EMPLOYEE' | 'MEETING_TYPE' | 'OFFICE' | 'QUESTION' | 'SUBJECT' | 'TIMETABLE';
|
|
3720
3748
|
export type Subject = {
|
|
3749
|
+
callbackRequestSettings: SubjectCallbackRequestSetting;
|
|
3721
3750
|
cancellationByAgentForm?: Maybe<Form>;
|
|
3722
3751
|
cancellationByCustomerForm?: Maybe<Form>;
|
|
3723
3752
|
completionByAgentForm?: Maybe<Form>;
|
|
@@ -3869,7 +3898,7 @@ export type SubjectOfficeCallbackRequestSetting = {
|
|
|
3869
3898
|
subject: Subject;
|
|
3870
3899
|
};
|
|
3871
3900
|
export type SubjectOfficeCallbackRequestSettingInput = {
|
|
3872
|
-
callbackRequestMode
|
|
3901
|
+
callbackRequestMode?: InputMaybe<CallbackRequestMode>;
|
|
3873
3902
|
subjectId: Scalars['ID']['input'];
|
|
3874
3903
|
};
|
|
3875
3904
|
export type SubjectOfficeEmployeeSchedulingSetting = {
|
|
@@ -4269,7 +4298,7 @@ export type WebhookDeliveryEdge = {
|
|
|
4269
4298
|
cursor: Scalars['String']['output'];
|
|
4270
4299
|
node: WebhookDelivery;
|
|
4271
4300
|
};
|
|
4272
|
-
export type WebhookEventType = 'appointment_create' | 'appointment_update' | '
|
|
4301
|
+
export type WebhookEventType = 'appointment_create' | 'appointment_update' | 'callback_request_create' | 'callback_request_update';
|
|
4273
4302
|
export type ActiveLanguagesInput = {
|
|
4274
4303
|
manageable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4275
4304
|
/** The languages supported by the enterprise. */
|