|
@@ -172,6 +172,13 @@ export enum EnumOrderDirection {
|
|
|
Descending = 'DESCENDING'
|
|
|
}
|
|
|
|
|
|
+/** All available public links screens */
|
|
|
+export enum EnumPublicLinksScreen {
|
|
|
+ Login = 'login',
|
|
|
+ PasswordReset = 'password_reset',
|
|
|
+ Signup = 'signup'
|
|
|
+}
|
|
|
+
|
|
|
/** All searchable models */
|
|
|
export enum EnumSearchableModels {
|
|
|
Organization = 'Organization',
|
|
@@ -704,6 +711,31 @@ export type PageInfo = {
|
|
|
startCursor?: Maybe<Scalars['String']>;
|
|
|
};
|
|
|
|
|
|
+/** Public links available in the system */
|
|
|
+export type PublicLink = {
|
|
|
+ __typename?: 'PublicLink';
|
|
|
+ /** Create date/time of the record */
|
|
|
+ createdAt: Scalars['ISO8601DateTime'];
|
|
|
+ /** User that created this record */
|
|
|
+ createdBy: User;
|
|
|
+ description?: Maybe<Scalars['String']>;
|
|
|
+ id: Scalars['ID'];
|
|
|
+ link: Scalars['String'];
|
|
|
+ newTab: Scalars['Boolean'];
|
|
|
+ title: Scalars['String'];
|
|
|
+ /** Last update date/time of the record */
|
|
|
+ updatedAt: Scalars['ISO8601DateTime'];
|
|
|
+ /** Last user that updated this record */
|
|
|
+ updatedBy: User;
|
|
|
+};
|
|
|
+
|
|
|
+/** Autogenerated return type of PublicLinkUpdates */
|
|
|
+export type PublicLinkUpdatesPayload = {
|
|
|
+ __typename?: 'PublicLinkUpdatesPayload';
|
|
|
+ /** Current available public links */
|
|
|
+ publicLinks?: Maybe<Array<PublicLink>>;
|
|
|
+};
|
|
|
+
|
|
|
/** Autogenerated return type of PushMessages */
|
|
|
export type PushMessagesPayload = {
|
|
|
__typename?: 'PushMessagesPayload';
|
|
@@ -740,6 +772,8 @@ export type Queries = {
|
|
|
organization: Organization;
|
|
|
/** Fetch the version of Zammad */
|
|
|
productAbout: Scalars['String'];
|
|
|
+ /** Fetch public links */
|
|
|
+ publicLinks?: Maybe<Array<PublicLink>>;
|
|
|
/** Generic object search */
|
|
|
search: Array<SearchResult>;
|
|
|
/** The sessionId of the currently authenticated user. */
|
|
@@ -810,6 +844,12 @@ export type QueriesOrganizationArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
+/** All available queries */
|
|
|
+export type QueriesPublicLinksArgs = {
|
|
|
+ screen: EnumPublicLinksScreen;
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
/** All available queries */
|
|
|
export type QueriesSearchArgs = {
|
|
|
limit?: InputMaybe<Scalars['Int']>;
|
|
@@ -920,6 +960,8 @@ export type Subscriptions = {
|
|
|
onlineNotificationsCount: OnlineNotificationsCountPayload;
|
|
|
/** Updates to organization records */
|
|
|
organizationUpdates: OrganizationUpdatesPayload;
|
|
|
+ /** Updates to public links */
|
|
|
+ publicLinkUpdates: PublicLinkUpdatesPayload;
|
|
|
/** Broadcast messages to all users */
|
|
|
pushMessages: PushMessagesPayload;
|
|
|
/** Updates to ticket records */
|
|
@@ -941,6 +983,12 @@ export type SubscriptionsOrganizationUpdatesArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
+/** All available subscriptions */
|
|
|
+export type SubscriptionsPublicLinkUpdatesArgs = {
|
|
|
+ screen: EnumPublicLinksScreen;
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
/** All available subscriptions */
|
|
|
export type SubscriptionsTicketUpdatesArgs = {
|
|
|
ticketId: Scalars['ID'];
|
|
@@ -1525,6 +1573,20 @@ export type OnlineNotificationsCountSubscriptionVariables = Exact<{
|
|
|
|
|
|
export type OnlineNotificationsCountSubscription = { __typename?: 'Subscriptions', onlineNotificationsCount: { __typename?: 'OnlineNotificationsCountPayload', unseenCount: number } };
|
|
|
|
|
|
+export type PublicLinksQueryVariables = Exact<{
|
|
|
+ screen: EnumPublicLinksScreen;
|
|
|
+}>;
|
|
|
+
|
|
|
+
|
|
|
+export type PublicLinksQuery = { __typename?: 'Queries', publicLinks?: Array<{ __typename?: 'PublicLink', id: string, link: string, title: string, description?: string | null, newTab: boolean }> | null };
|
|
|
+
|
|
|
+export type PublicLinkUpdatesSubscriptionVariables = Exact<{
|
|
|
+ screen: EnumPublicLinksScreen;
|
|
|
+}>;
|
|
|
+
|
|
|
+
|
|
|
+export type PublicLinkUpdatesSubscription = { __typename?: 'Subscriptions', publicLinkUpdates: { __typename?: 'PublicLinkUpdatesPayload', publicLinks?: Array<{ __typename?: 'PublicLink', id: string, link: string, title: string, description?: string | null, newTab: boolean }> | null } };
|
|
|
+
|
|
|
export type TicketOverviewsQueryVariables = Exact<{
|
|
|
withTicketCount: Scalars['Boolean'];
|
|
|
}>;
|
|
@@ -1538,6 +1600,8 @@ export type ErrorsFragment = { __typename?: 'UserError', message: string, field?
|
|
|
|
|
|
export type ObjectAttributeValuesFragment = { __typename?: 'ObjectAttributeValue', value?: any | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string, dataType: string, dataOption?: any | null } };
|
|
|
|
|
|
+export type PublicLinkAttributesFragment = { __typename?: 'PublicLink', id: string, link: string, title: string, description?: string | null, newTab: boolean };
|
|
|
+
|
|
|
export type UserAttributesFragment = { __typename?: 'User', id: string, firstname?: string | null, lastname?: string | null, fullname?: string | null, image?: string | null, preferences?: any | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string, dataType: string, dataOption?: any | null } }> | null, organization?: { __typename?: 'Organization', name?: string | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string, dataType: string, dataOption?: any | null } }> | null } | null };
|
|
|
|
|
|
export type UserDetailAttributesFragment = { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, image?: string | null, email?: string | null, web?: string | null, vip?: boolean | null, phone?: string | null, mobile?: string | null, fax?: string | null, note?: string | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string, dataType: string, dataOption?: any | null } }> | null, organization?: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, ticketsCount?: { __typename?: 'TicketCount', open: number, closed: number } | null } | null, ticketsCount?: { __typename?: 'TicketCount', open: number, closed: number } | null };
|