OBJECT
ListingsCustomization
# GraphQL Schema definition
1 type ListingsCustomization implements ListingCustomAttributeInterface, RemoteModelInterface, RelationOnDemandInterface { 2 # timestamp of when the record was created, automatically generated by the system 3 JSONDate : 4 # Fetch address by name; ex: address: custom_address(name: "office_address") 5 # 6 # Arguments 7 # name: [Not documented] 8 String!): ListingAddress ( : 9 # Fetch all addresses, optionaly you can filter results by name; ex: home: 10 # custom_addresses(name: "home") 11 # 12 # Arguments 13 # name: [Not documented] 14 String): [ListingAddress!] ( : 15 # Fetch attachment by name; ex: sales_report: custom_attachment(name: 16 # "sales_report") 17 # 18 # Arguments 19 # name: [Not documented] 20 String!): ListingsPrivateFile ( : 21 # Arguments 22 # name: [Not documented] 23 String): [ListingsPrivateFile!] ( : 24 # Fetch image by name; ex: header: custom_image(name: "header") 25 # 26 # Arguments 27 # name: [Not documented] 28 String!): ListingImage ( : 29 # Fetch all images, optionaly you can filter results by name; ex: cat_images: 30 # custom_images(name: "cat") 31 # 32 # Arguments 33 # name: [Not documented] 34 String): [ListingImage!] ( : 35 ListingsCustomModelType : 36 Customizable : 37 ID : 38 String : 39 JSONDate : 40 # Used mainly for import/export, if you want to use third party service as a 41 # source of truth 42 ID : 43 String : 44 ID! : 45 ListingsModelSchema : 46 String : 47 # List of all properties assigned to the object. 48 HashObject : 49 # Fetch any custom attribute by name; ex: hair_color: property(name: "hair_color") 50 # 51 # Arguments 52 # name: [Not documented] 53 String!): String ( : 54 # Fetch any property of Array type by name, it returns Array in contrast to 55 # "property" which returns String; ex: todo_list: property_array(name: 56 # "todo_list") 57 # 58 # Arguments 59 # name: [Not documented] 60 String!): [String!] ( : 61 # Fetch any property of JSON type by name, it returns JSON in contrast to 62 # "property" which returns String; ex: todo_list: property_json(name: "todo_list") 63 # 64 # Arguments 65 # name: [Not documented] 66 String!): JSONPayload ( : 67 # Defines belongs-to relation with other model; ex: parent: model(model_name: 68 # "parent", join_on_property: "parent_id") { id } 69 # 70 # Arguments 71 # foreign_property: Load resources with foreign_property == 72 # join_on_property 73 # join_on_property: Load remote resource with id == 74 # join_on_property 75 # model_schema_name: Joins model [formaly customization] with 76 # custom-model-type-name == model_name 77 ( 78 String, : 79 String, : 80 String : 81 ): ListingsCustomization 82 # Defines has-many relation with other model, returns maximum of 10000 records at 83 # once; ex: children: models(model_name: "child", join_on_property: "parent_id", 84 # foreign_property: "parent_id") { id } 85 # 86 # Arguments 87 # foreign_property: Load resources with foreign_property == 88 # join_on_property 89 # join_on_property: Load resources with foreign_property == 90 # join_on_property 91 # model_schema_name: Joins model [formaly customization] with 92 # custom-model-type-name == model_name 93 ( 94 String!, : 95 String!, : 96 String] : [ 97 ): [ListingsCustomization!] 98 # Defines relation with other user, returns maximum of 10000 records at once; ex: 99 # invited_by: user(join_on_property: "invited_by_id") { id } 100 # 101 # Arguments 102 # foreign_property: [Not documented] 103 # join_on_property: [Not documented] 104 String, : String): User ( : 105 # Defines relation object accessible over HTTP in JSON collection identified by 106 # it's ID. 107 # 108 # Arguments 109 # endpoint: Endpoint that will return resources for given ids in 110 # json format 111 # join_on_property: Load remote resource with id == 112 # join_on_property 113 Endpoint!, : String!): Customization ( : 114 JSONDate : 115 ID : 116 }