graphlit-client 1.0.20260406002 → 1.0.20260407001

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.
@@ -16597,6 +16597,7 @@ export const CreatePersona = gql `
16597
16597
  id
16598
16598
  name
16599
16599
  state
16600
+ type
16600
16601
  identifier
16601
16602
  platform
16602
16603
  displayName
@@ -16644,6 +16645,7 @@ export const GetPersona = gql `
16644
16645
  id
16645
16646
  }
16646
16647
  state
16648
+ type
16647
16649
  user {
16648
16650
  id
16649
16651
  }
@@ -16673,6 +16675,7 @@ export const QueryPersonas = gql `
16673
16675
  id
16674
16676
  }
16675
16677
  state
16678
+ type
16676
16679
  identifier
16677
16680
  platform
16678
16681
  displayName
@@ -16693,6 +16696,7 @@ export const UpdatePersona = gql `
16693
16696
  id
16694
16697
  name
16695
16698
  state
16699
+ type
16696
16700
  identifier
16697
16701
  platform
16698
16702
  displayName
@@ -18989,6 +18993,7 @@ export const GetUser = gql `
18989
18993
  id
18990
18994
  name
18991
18995
  state
18996
+ type
18992
18997
  identifier
18993
18998
  platform
18994
18999
  displayName
@@ -19117,6 +19122,7 @@ export const GetUserByIdentifier = gql `
19117
19122
  id
19118
19123
  name
19119
19124
  state
19125
+ type
19120
19126
  identifier
19121
19127
  platform
19122
19128
  displayName
@@ -19246,6 +19252,7 @@ export const QueryUsers = gql `
19246
19252
  id
19247
19253
  name
19248
19254
  state
19255
+ type
19249
19256
  identifier
19250
19257
  platform
19251
19258
  displayName
@@ -19156,7 +19156,7 @@ export type PersonUpdateInput = {
19156
19156
  /** The person URI. */
19157
19157
  uri?: InputMaybe<Scalars['URL']['input']>;
19158
19158
  };
19159
- /** Represents a user persona for per-user agent personalization. */
19159
+ /** Represents a persona for user or agent personalization. */
19160
19160
  export type Persona = {
19161
19161
  __typename?: 'Persona';
19162
19162
  /** The creation date of the persona. */
@@ -19187,6 +19187,8 @@ export type Persona = {
19187
19187
  state: EntityState;
19188
19188
  /** The IANA timezone of the persona. */
19189
19189
  timezone?: Maybe<Scalars['String']['output']>;
19190
+ /** The type of the persona. */
19191
+ type?: Maybe<PersonaTypes>;
19190
19192
  /** The user that created the entity. */
19191
19193
  user?: Maybe<EntityReference>;
19192
19194
  };
@@ -19220,6 +19222,8 @@ export type PersonaFilter = {
19220
19222
  search?: InputMaybe<Scalars['String']['input']>;
19221
19223
  /** Filter persona(s) by their states. */
19222
19224
  states?: InputMaybe<Array<EntityState>>;
19225
+ /** Filter by persona type. */
19226
+ types?: InputMaybe<Array<PersonaTypes>>;
19223
19227
  };
19224
19228
  /** Represents a persona. */
19225
19229
  export type PersonaInput = {
@@ -19237,6 +19241,8 @@ export type PersonaInput = {
19237
19241
  role?: InputMaybe<Scalars['String']['input']>;
19238
19242
  /** The IANA timezone of the persona. */
19239
19243
  timezone?: InputMaybe<Scalars['String']['input']>;
19244
+ /** The type of the persona. Defaults to User. */
19245
+ type?: InputMaybe<PersonaTypes>;
19240
19246
  };
19241
19247
  /** Represents persona query results. */
19242
19248
  export type PersonaResults = {
@@ -19244,6 +19250,13 @@ export type PersonaResults = {
19244
19250
  /** The list of persona query results. */
19245
19251
  results?: Maybe<Array<Persona>>;
19246
19252
  };
19253
+ /** Persona type */
19254
+ export declare enum PersonaTypes {
19255
+ /** Agent persona */
19256
+ Agent = "AGENT",
19257
+ /** User persona */
19258
+ User = "USER"
19259
+ }
19247
19260
  /** Represents a persona. */
19248
19261
  export type PersonaUpdateInput = {
19249
19262
  /** The display name of the persona. */
@@ -19262,6 +19275,8 @@ export type PersonaUpdateInput = {
19262
19275
  role?: InputMaybe<Scalars['String']['input']>;
19263
19276
  /** The IANA timezone of the persona. */
19264
19277
  timezone?: InputMaybe<Scalars['String']['input']>;
19278
+ /** The type of the persona. */
19279
+ type?: InputMaybe<PersonaTypes>;
19265
19280
  };
19266
19281
  /** Represents a place. */
19267
19282
  export type Place = {
@@ -44898,6 +44913,7 @@ export type CreatePersonaMutation = {
44898
44913
  id: string;
44899
44914
  name: string;
44900
44915
  state: EntityState;
44916
+ type?: PersonaTypes | null;
44901
44917
  identifier?: string | null;
44902
44918
  platform?: string | null;
44903
44919
  displayName?: string | null;
@@ -44954,6 +44970,7 @@ export type GetPersonaQuery = {
44954
44970
  creationDate: any;
44955
44971
  modifiedDate?: any | null;
44956
44972
  state: EntityState;
44973
+ type?: PersonaTypes | null;
44957
44974
  identifier?: string | null;
44958
44975
  platform?: string | null;
44959
44976
  displayName?: string | null;
@@ -44991,6 +45008,7 @@ export type QueryPersonasQuery = {
44991
45008
  modifiedDate?: any | null;
44992
45009
  relevance?: number | null;
44993
45010
  state: EntityState;
45011
+ type?: PersonaTypes | null;
44994
45012
  identifier?: string | null;
44995
45013
  platform?: string | null;
44996
45014
  displayName?: string | null;
@@ -45019,6 +45037,7 @@ export type UpdatePersonaMutation = {
45019
45037
  id: string;
45020
45038
  name: string;
45021
45039
  state: EntityState;
45040
+ type?: PersonaTypes | null;
45022
45041
  identifier?: string | null;
45023
45042
  platform?: string | null;
45024
45043
  displayName?: string | null;
@@ -47762,6 +47781,7 @@ export type GetUserQuery = {
47762
47781
  id: string;
47763
47782
  name: string;
47764
47783
  state: EntityState;
47784
+ type?: PersonaTypes | null;
47765
47785
  identifier?: string | null;
47766
47786
  platform?: string | null;
47767
47787
  displayName?: string | null;
@@ -47915,6 +47935,7 @@ export type GetUserByIdentifierQuery = {
47915
47935
  id: string;
47916
47936
  name: string;
47917
47937
  state: EntityState;
47938
+ type?: PersonaTypes | null;
47918
47939
  identifier?: string | null;
47919
47940
  platform?: string | null;
47920
47941
  displayName?: string | null;
@@ -48071,6 +48092,7 @@ export type QueryUsersQuery = {
48071
48092
  id: string;
48072
48093
  name: string;
48073
48094
  state: EntityState;
48095
+ type?: PersonaTypes | null;
48074
48096
  identifier?: string | null;
48075
48097
  platform?: string | null;
48076
48098
  displayName?: string | null;
@@ -2858,6 +2858,14 @@ export var PersonFacetTypes;
2858
2858
  /** Creation Date */
2859
2859
  PersonFacetTypes["CreationDate"] = "CREATION_DATE";
2860
2860
  })(PersonFacetTypes || (PersonFacetTypes = {}));
2861
+ /** Persona type */
2862
+ export var PersonaTypes;
2863
+ (function (PersonaTypes) {
2864
+ /** Agent persona */
2865
+ PersonaTypes["Agent"] = "AGENT";
2866
+ /** User persona */
2867
+ PersonaTypes["User"] = "USER";
2868
+ })(PersonaTypes || (PersonaTypes = {}));
2861
2869
  /** Place facet types */
2862
2870
  export var PlaceFacetTypes;
2863
2871
  (function (PlaceFacetTypes) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20260406002",
3
+ "version": "1.0.20260407001",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",