|
@@ -1,151 +1,201 @@
|
|
|
-[
|
|
|
- {
|
|
|
- "name": "firstname",
|
|
|
- "display": "First name",
|
|
|
- "dataType": "input",
|
|
|
- "dataOption": {
|
|
|
- "type": "text",
|
|
|
- "maxlength": 150,
|
|
|
- "null": true,
|
|
|
- "item_class": "formGroup--halfSize"
|
|
|
+{
|
|
|
+ "attributes": [
|
|
|
+ {
|
|
|
+ "name": "firstname",
|
|
|
+ "display": "First name",
|
|
|
+ "dataType": "input",
|
|
|
+ "dataOption": {
|
|
|
+ "type": "text",
|
|
|
+ "maxlength": 150,
|
|
|
+ "null": true,
|
|
|
+ "item_class": "formGroup--halfSize"
|
|
|
+ },
|
|
|
+ "screens": {},
|
|
|
+ "__typename": "ObjectManagerFrontendAttribute"
|
|
|
},
|
|
|
- "__typename": "ObjectManagerFrontendAttribute"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastname",
|
|
|
- "display": "Last name",
|
|
|
- "dataType": "input",
|
|
|
- "dataOption": {
|
|
|
- "type": "text",
|
|
|
- "maxlength": 150,
|
|
|
- "null": true,
|
|
|
- "item_class": "formGroup--halfSize"
|
|
|
+ {
|
|
|
+ "name": "lastname",
|
|
|
+ "display": "Last name",
|
|
|
+ "dataType": "input",
|
|
|
+ "dataOption": {
|
|
|
+ "type": "text",
|
|
|
+ "maxlength": 150,
|
|
|
+ "null": true,
|
|
|
+ "item_class": "formGroup--halfSize"
|
|
|
+ },
|
|
|
+ "screens": {},
|
|
|
+ "__typename": "ObjectManagerFrontendAttribute"
|
|
|
},
|
|
|
- "__typename": "ObjectManagerFrontendAttribute"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "email",
|
|
|
- "display": "Email",
|
|
|
- "dataType": "input",
|
|
|
- "dataOption": {
|
|
|
- "type": "email",
|
|
|
- "maxlength": 150,
|
|
|
- "null": true,
|
|
|
- "item_class": "formGroup--halfSize"
|
|
|
+ {
|
|
|
+ "name": "email",
|
|
|
+ "display": "Email",
|
|
|
+ "dataType": "input",
|
|
|
+ "dataOption": {
|
|
|
+ "type": "email",
|
|
|
+ "maxlength": 150,
|
|
|
+ "null": true,
|
|
|
+ "item_class": "formGroup--halfSize"
|
|
|
+ },
|
|
|
+ "screens": {},
|
|
|
+ "__typename": "ObjectManagerFrontendAttribute"
|
|
|
},
|
|
|
- "__typename": "ObjectManagerFrontendAttribute"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "web",
|
|
|
- "display": "Web",
|
|
|
- "dataType": "input",
|
|
|
- "dataOption": {
|
|
|
- "type": "url",
|
|
|
- "maxlength": 250,
|
|
|
- "null": true,
|
|
|
- "item_class": "formGroup--halfSize"
|
|
|
+ {
|
|
|
+ "name": "web",
|
|
|
+ "display": "Web",
|
|
|
+ "dataType": "input",
|
|
|
+ "dataOption": {
|
|
|
+ "type": "url",
|
|
|
+ "maxlength": 250,
|
|
|
+ "null": true,
|
|
|
+ "item_class": "formGroup--halfSize"
|
|
|
+ },
|
|
|
+ "screens": {},
|
|
|
+ "__typename": "ObjectManagerFrontendAttribute"
|
|
|
},
|
|
|
- "__typename": "ObjectManagerFrontendAttribute"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "phone",
|
|
|
- "display": "Phone",
|
|
|
- "dataType": "input",
|
|
|
- "dataOption": {
|
|
|
- "type": "tel",
|
|
|
- "maxlength": 100,
|
|
|
- "null": true,
|
|
|
- "item_class": "formGroup--halfSize"
|
|
|
+ {
|
|
|
+ "name": "phone",
|
|
|
+ "display": "Phone",
|
|
|
+ "dataType": "input",
|
|
|
+ "dataOption": {
|
|
|
+ "type": "tel",
|
|
|
+ "maxlength": 100,
|
|
|
+ "null": true,
|
|
|
+ "item_class": "formGroup--halfSize"
|
|
|
+ },
|
|
|
+ "screens": {},
|
|
|
+ "__typename": "ObjectManagerFrontendAttribute"
|
|
|
},
|
|
|
- "__typename": "ObjectManagerFrontendAttribute"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "mobile",
|
|
|
- "display": "Mobile",
|
|
|
- "dataType": "input",
|
|
|
- "dataOption": {
|
|
|
- "type": "tel",
|
|
|
- "maxlength": 100,
|
|
|
- "null": true,
|
|
|
- "item_class": "formGroup--halfSize"
|
|
|
+ {
|
|
|
+ "name": "mobile",
|
|
|
+ "display": "Mobile",
|
|
|
+ "dataType": "input",
|
|
|
+ "dataOption": {
|
|
|
+ "type": "tel",
|
|
|
+ "maxlength": 100,
|
|
|
+ "null": true,
|
|
|
+ "item_class": "formGroup--halfSize"
|
|
|
+ },
|
|
|
+ "screens": {},
|
|
|
+ "__typename": "ObjectManagerFrontendAttribute"
|
|
|
},
|
|
|
- "__typename": "ObjectManagerFrontendAttribute"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fax",
|
|
|
- "display": "Fax",
|
|
|
- "dataType": "input",
|
|
|
- "dataOption": {
|
|
|
- "type": "tel",
|
|
|
- "maxlength": 100,
|
|
|
- "null": true,
|
|
|
- "item_class": "formGroup--halfSize"
|
|
|
+ {
|
|
|
+ "name": "fax",
|
|
|
+ "display": "Fax",
|
|
|
+ "dataType": "input",
|
|
|
+ "dataOption": {
|
|
|
+ "type": "tel",
|
|
|
+ "maxlength": 100,
|
|
|
+ "null": true,
|
|
|
+ "item_class": "formGroup--halfSize"
|
|
|
+ },
|
|
|
+ "screens": {},
|
|
|
+ "__typename": "ObjectManagerFrontendAttribute"
|
|
|
},
|
|
|
- "__typename": "ObjectManagerFrontendAttribute"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "organization_id",
|
|
|
- "display": "Organization",
|
|
|
- "dataType": "autocompletion_ajax",
|
|
|
- "dataOption": {
|
|
|
- "multiple": false,
|
|
|
- "nulloption": true,
|
|
|
- "null": true,
|
|
|
- "relation": "Organization",
|
|
|
- "item_class": "formGroup--halfSize"
|
|
|
+ {
|
|
|
+ "name": "organization_id",
|
|
|
+ "display": "Organization",
|
|
|
+ "dataType": "autocompletion_ajax",
|
|
|
+ "dataOption": {
|
|
|
+ "multiple": false,
|
|
|
+ "nulloption": true,
|
|
|
+ "null": true,
|
|
|
+ "relation": "Organization",
|
|
|
+ "item_class": "formGroup--halfSize"
|
|
|
+ },
|
|
|
+ "screens": {},
|
|
|
+ "__typename": "ObjectManagerFrontendAttribute"
|
|
|
},
|
|
|
- "__typename": "ObjectManagerFrontendAttribute"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "organization_ids",
|
|
|
- "display": "Secondary organizations",
|
|
|
- "dataType": "autocompletion_ajax",
|
|
|
- "dataOption": {
|
|
|
- "multiple": true,
|
|
|
- "nulloption": true,
|
|
|
- "null": true,
|
|
|
- "relation": "Organization",
|
|
|
- "item_class": "formGroup--halfSize",
|
|
|
- "display_limit": 3
|
|
|
+ {
|
|
|
+ "name": "organization_ids",
|
|
|
+ "display": "Secondary organizations",
|
|
|
+ "dataType": "autocompletion_ajax",
|
|
|
+ "dataOption": {
|
|
|
+ "multiple": true,
|
|
|
+ "nulloption": true,
|
|
|
+ "null": true,
|
|
|
+ "relation": "Organization",
|
|
|
+ "item_class": "formGroup--halfSize",
|
|
|
+ "display_limit": 3
|
|
|
+ },
|
|
|
+ "screens": {},
|
|
|
+ "__typename": "ObjectManagerFrontendAttribute"
|
|
|
},
|
|
|
- "__typename": "ObjectManagerFrontendAttribute"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "department",
|
|
|
- "display": "Department",
|
|
|
- "dataType": "input",
|
|
|
- "dataOption": {
|
|
|
- "type": "text",
|
|
|
- "maxlength": 200,
|
|
|
- "null": true,
|
|
|
- "item_class": "formGroup--halfSize"
|
|
|
+ {
|
|
|
+ "name": "department",
|
|
|
+ "display": "Department",
|
|
|
+ "dataType": "input",
|
|
|
+ "dataOption": {
|
|
|
+ "type": "text",
|
|
|
+ "maxlength": 200,
|
|
|
+ "null": true,
|
|
|
+ "item_class": "formGroup--halfSize"
|
|
|
+ },
|
|
|
+ "screens": {},
|
|
|
+ "__typename": "ObjectManagerFrontendAttribute"
|
|
|
},
|
|
|
- "__typename": "ObjectManagerFrontendAttribute"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "address",
|
|
|
- "display": "Address",
|
|
|
- "dataType": "textarea",
|
|
|
- "dataOption": {
|
|
|
- "type": "text",
|
|
|
- "maxlength": 500,
|
|
|
- "rows": 4,
|
|
|
- "null": true,
|
|
|
- "item_class": "formGroup--halfSize"
|
|
|
+ {
|
|
|
+ "name": "address",
|
|
|
+ "display": "Address",
|
|
|
+ "dataType": "textarea",
|
|
|
+ "dataOption": {
|
|
|
+ "type": "text",
|
|
|
+ "maxlength": 500,
|
|
|
+ "rows": 4,
|
|
|
+ "null": true,
|
|
|
+ "item_class": "formGroup--halfSize"
|
|
|
+ },
|
|
|
+ "screens": {},
|
|
|
+ "__typename": "ObjectManagerFrontendAttribute"
|
|
|
},
|
|
|
- "__typename": "ObjectManagerFrontendAttribute"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "note",
|
|
|
- "display": "Note",
|
|
|
- "dataType": "richtext",
|
|
|
- "dataOption": {
|
|
|
- "type": "text",
|
|
|
- "maxlength": 5000,
|
|
|
- "null": true,
|
|
|
- "note": "Notes are visible to agents only, never to customers.",
|
|
|
- "no_images": true
|
|
|
+ {
|
|
|
+ "name": "note",
|
|
|
+ "display": "Note",
|
|
|
+ "dataType": "richtext",
|
|
|
+ "dataOption": {
|
|
|
+ "type": "text",
|
|
|
+ "maxlength": 5000,
|
|
|
+ "null": true,
|
|
|
+ "note": "Notes are visible to agents only, never to customers.",
|
|
|
+ "no_images": true
|
|
|
+ },
|
|
|
+ "screens": {},
|
|
|
+ "__typename": "ObjectManagerFrontendAttribute"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "screens": [
|
|
|
+ {
|
|
|
+ "name": "view",
|
|
|
+ "attributes": [
|
|
|
+ "firstname",
|
|
|
+ "lastname",
|
|
|
+ "email",
|
|
|
+ "web",
|
|
|
+ "phone",
|
|
|
+ "mobile",
|
|
|
+ "fax",
|
|
|
+ "organization_id",
|
|
|
+ "organization_ids",
|
|
|
+ "department",
|
|
|
+ "address",
|
|
|
+ "note"
|
|
|
+ ]
|
|
|
},
|
|
|
- "__typename": "ObjectManagerFrontendAttribute"
|
|
|
- }
|
|
|
-]
|
|
|
+ {
|
|
|
+ "name": "edit",
|
|
|
+ "attributes": [
|
|
|
+ "firstname",
|
|
|
+ "lastname",
|
|
|
+ "email",
|
|
|
+ "web",
|
|
|
+ "phone",
|
|
|
+ "mobile",
|
|
|
+ "fax",
|
|
|
+ "organization_id",
|
|
|
+ "organization_ids",
|
|
|
+ "department",
|
|
|
+ "address",
|
|
|
+ "note"
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+}
|