OBJECT

UserListing

# GraphQL Schema definition

1type UserListing implements ListingCustomAttributeInterface, ListingsMetadata, RemoteModelInterface, RelationOnDemandInterface {
 
2authentications: [Authentication!]
 
3communication: ListingsCommunication
 
4created_at: JSONDate
 
5# Fetch address by name; ex: address: custom_address(name: "office_address")
6#
7# Arguments
8# name: [Not documented]
9custom_address(name: String!): ListingAddress
 
10# Fetch all addresses, optionaly you can filter results by name; ex: home:
11# custom_addresses(name: "home")
12#
13# Arguments
14# name: [Not documented]
15custom_addresses(name: String): [ListingAddress!]
 
16# Fetch attachment by name; ex: sales_report: custom_attachment(name:
17# "sales_report")
18#
19# Arguments
20# name: [Not documented]
21custom_attachment(name: String!): ListingsPrivateFile
 
22# Arguments
23# name: [Not documented]
24custom_attachments(name: String): [ListingsPrivateFile!]
 
25# Fetch image by name; ex: header: custom_image(name: "header")
26#
27# Arguments
28# name: [Not documented]
29custom_image(name: String!): ListingImage
 
30# Fetch all images, optionaly you can filter results by name; ex: cat_images:
31# custom_images(name: "cat")
32#
33# Arguments
34# name: [Not documented]
35custom_images(name: String): [ListingImage!]
 
36# Arguments
37# name: [Not documented]
38# properties: [Not documented]
39# user_id: [Not documented]
40customizations(
41name: String,
42properties: [QueryCustomAttribute],
43user_id: ID
44): [ListingsCustomization!]
 
45deleted_at: JSONDate
 
46email: String!
 
47external_id: ID
 
48first_name: String
 
49id: ID!
 
50language: String
 
51last_name: String
 
52middle_name: String
 
53name: String!
 
54# Arguments
55# profile_type: [Not documented]
56profile(profile_type: String!): ListingUserProfile
 
57profiles: [ListingUserProfile!]
 
58# List of all properties assigned to the object.
59properties: HashObject
 
60# Fetch any custom attribute by name; ex: hair_color: property(name: "hair_color")
61#
62# Arguments
63# name: [Not documented]
64property(name: String!): String
 
65# Fetch any property of Array type by name, it returns Array in contrast to
66# "property" which returns String; ex: todo_list: property_array(name:
67# "todo_list")
68#
69# Arguments
70# name: [Not documented]
71property_array(name: String!): [String!]
 
72# Fetch any property of JSON type by name, it returns JSON in contrast to
73# "property" which returns String; ex: todo_list: property_json(name: "todo_list")
74#
75# Arguments
76# name: [Not documented]
77property_json(name: String!): JSONPayload
 
78# Defines belongs-to relation with other model; ex: parent: model(model_name:
79# "parent", join_on_property: "parent_id") { id }
80#
81# Arguments
82# foreign_property: Load resources with foreign_property ==
83# join_on_property
84# join_on_property: Load remote resource with id ==
85# join_on_property
86# model_schema_name: Joins model [formaly customization] with
87# custom-model-type-name == model_name
88related_model(
89foreign_property: String,
90join_on_property: String,
91model_schema_name: String
92): ListingsCustomization
 
93# Defines has-many relation with other model, returns maximum of 10000 records at
94# once; ex: children: models(model_name: "child", join_on_property: "parent_id",
95# foreign_property: "parent_id") { id }
96#
97# Arguments
98# foreign_property: Load resources with foreign_property ==
99# join_on_property
100# join_on_property: Load resources with foreign_property ==
101# join_on_property
102# model_schema_name: Joins model [formaly customization] with
103# custom-model-type-name == model_name
104related_models(
105foreign_property: String!,
106join_on_property: String!,
107model_schema_name: [String]
108): [ListingsCustomization!]
 
109# Defines relation with other user, returns maximum of 10000 records at once; ex:
110# invited_by: user(join_on_property: "invited_by_id") { id }
111#
112# Arguments
113# foreign_property: [Not documented]
114# join_on_property: [Not documented]
115related_user(foreign_property: String, join_on_property: String): User
 
116# Defines relation object accessible over HTTP in JSON collection identified by
117# it's ID.
118#
119# Arguments
120# endpoint: Endpoint that will return resources for given ids in
121# json format
122# join_on_property: Load remote resource with id ==
123# join_on_property
124remote_model(endpoint: Endpoint!, join_on_property: String!): Customization
 
125slug: String
 
126# Arguments
127# valid_for: Number of hours before the token expires
128temporary_token(valid_for: Int): String
 
129updated_at: JSONDate
 
130}

# Required by