|
@@ -441,6 +441,26 @@ export type OrganizationMembersArgs = {
|
|
|
last?: InputMaybe<Scalars['Int']>;
|
|
|
};
|
|
|
|
|
|
+/** The connection type for Organization. */
|
|
|
+export type OrganizationConnection = {
|
|
|
+ __typename?: 'OrganizationConnection';
|
|
|
+ /** A list of edges. */
|
|
|
+ edges: Array<OrganizationEdge>;
|
|
|
+ /** Information to aid in pagination. */
|
|
|
+ pageInfo: PageInfo;
|
|
|
+ /** Indicates the total number of available records. */
|
|
|
+ totalCount: Scalars['Int'];
|
|
|
+};
|
|
|
+
|
|
|
+/** An edge in a connection. */
|
|
|
+export type OrganizationEdge = {
|
|
|
+ __typename?: 'OrganizationEdge';
|
|
|
+ /** A cursor for use in pagination. */
|
|
|
+ cursor: Scalars['String'];
|
|
|
+ /** The item at the end of the edge. */
|
|
|
+ node: Organization;
|
|
|
+};
|
|
|
+
|
|
|
/** The organization insert/update fields. */
|
|
|
export type OrganizationInput = {
|
|
|
/** The organization active flag */
|
|
@@ -1014,6 +1034,7 @@ export type User = ObjectAttributeValueInterface & {
|
|
|
permissions?: Maybe<UserPermission>;
|
|
|
phone?: Maybe<Scalars['String']>;
|
|
|
preferences?: Maybe<Scalars['JSON']>;
|
|
|
+ secondaryOrganizations?: Maybe<OrganizationConnection>;
|
|
|
ticketsCount?: Maybe<TicketCount>;
|
|
|
/** Last update date/time of the record */
|
|
|
updatedAt: Scalars['ISO8601DateTime'];
|
|
@@ -1024,6 +1045,15 @@ export type User = ObjectAttributeValueInterface & {
|
|
|
web?: Maybe<Scalars['String']>;
|
|
|
};
|
|
|
|
|
|
+
|
|
|
+/** Users (admins, agents and customers) */
|
|
|
+export type UserSecondaryOrganizationsArgs = {
|
|
|
+ after?: InputMaybe<Scalars['String']>;
|
|
|
+ before?: InputMaybe<Scalars['String']>;
|
|
|
+ first?: InputMaybe<Scalars['Int']>;
|
|
|
+ last?: InputMaybe<Scalars['Int']>;
|
|
|
+};
|
|
|
+
|
|
|
/** Autogenerated return type of UserAdd */
|
|
|
export type UserAddPayload = {
|
|
|
__typename?: 'UserAddPayload';
|