1
0
mirror of synced 2024-11-30 01:06:06 +03:00
bitrix-module/intaro.retailcrm/classes/general/config/retailcrm.json

570 lines
12 KiB
JSON
Raw Normal View History

2015-03-03 16:37:34 +03:00
{
"customers": {
"externalId": {
"type": "string",
"required": true
},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"patronymic": {
"type": "string"
},
"email": {
"type": "string"
},
"number": {
"type": "string"
},
2019-03-28 14:35:26 +03:00
"birthday": {
"type": "datetime",
"format": "Y-m-d"
},
2015-03-03 16:37:34 +03:00
"site": {
"type": "string"
},
"index": {
"type": "string"
},
"country": {
"type": "string"
},
"region": {
"type": "string"
},
"city": {
"type": "string"
},
"street": {
"type": "string"
},
"building": {
"type": "string"
},
"flat": {
"type": "string"
},
"intercomCode": {
"type": "string"
},
"floor": {
"type": "int"
},
"block": {
"type": "int"
},
"house": {
"type": "string"
},
"metro": {
"type": "string"
},
"notes": {
"type": "string"
},
"text": {
"type": "string"
},
"createdAt": {
"type": "datetime",
"format": "Y-m-d H:i:s"
},
"vip": {
"type": "bool",
"default": false
},
"bad": {
"type": "bool",
"default": false
},
2020-04-24 13:18:18 +03:00
"subscribed": {
"type": "bool",
"default": false
},
"subscribed": {
"type": "bool",
"default": false
},
2015-03-03 16:37:34 +03:00
"commentary": {
"type": "string"
},
"customFields": {
"type": "skip"
},
"contragentType": {
"type": "enum",
"default": "individual",
"values": ["individual", "legal-entity", "enterpreneur"]
},
"legalName": {
"type": "string"
},
"legalAddress": {
"type": "string"
},
"INN": {
"type": "string"
},
"OKPO": {
"type": "string"
},
"KPP": {
"type": "string"
},
"OGRN": {
"type": "string"
},
"OGRNIP": {
"type": "string"
},
"certificateNumber": {
"type": "string"
},
"certificateDate": {
"type": "datetime",
"format": "Y-m-d"
},
"BIK": {
"type": "string"
},
"bank": {
"type": "string"
},
"bankAddress": {
"type": "string"
},
"corrAccount": {
"type": "string"
},
"bankAccount": {
"type": "string"
},
"managerId": {
2018-03-22 16:11:04 +03:00
"type": "int"
2016-12-13 14:01:48 +03:00
},
"browserId": {
"type": "string"
},
"discountCardNumber": {
"type": "string"
},
"personalDiscount": {
"type": "string"
2018-03-22 16:11:04 +03:00
},
"sex": {
"type": "string"
},
"emailMarketingUnsubscribedAt" : {
"type": "datetime",
2019-03-28 14:35:26 +03:00
"format": "Y-m-d H:i:s"
2018-03-22 16:11:04 +03:00
},
"source": {
"type": "string"
},
"medium": {
"type": "string"
},
"campaign": {
"type": "string"
},
"keyword": {
"type": "string"
},
"content": {
"type": "string"
}
2015-03-03 16:37:34 +03:00
},
2020-04-24 13:18:18 +03:00
"customerCorporate": {
"externalId": {
"type": "string",
"required": true
},
"createdAt": {
"type": "datetime",
"format": "Y-m-d H:i:s"
},
"contragentType": {
"type": "enum",
"default": "legal-entity",
"values": ["individual", "legal-entity", "enterpreneur"]
},
"isMain": {
"type": "bool",
"default": false
},
"site": {
"type": "string"
},
"nickName": {
"type": "string"
},
"name": {
"type": "string"
},
"text": {
"type": "string"
},
"legalName": {
"type": "string"
},
"legalAddress": {
"type": "string"
},
"INN": {
"type": "string"
},
"KPP": {
"type": "string"
}
},
2015-03-03 16:37:34 +03:00
"orders": {
"number": {
"type": "string"
},
"externalId": {
"type": "string",
"required": true
},
2020-04-24 13:18:18 +03:00
"id": {
"type": "string",
"required": false
},
2015-03-03 16:37:34 +03:00
"createdAt": {
"type": "datetime",
"format": "Y-m-d H:i:s"
},
2017-09-04 11:36:04 +03:00
"discountManualAmount": {
"type": "double",
"default": 0,
"min": 0,
"decimals": 2
},
"discountManualPercent": {
"type": "double",
"default": 0,
"max": 100,
"min": 0,
"decimals": 2
},
2015-03-03 16:37:34 +03:00
"discount": {
"type": "double",
"default": 0,
"min": 0,
"decimals": 2
},
"discountPercent": {
"type": "double",
"default": 0,
"max": 100,
"min": 0,
"decimals": 2
},
"mark": {
"type": "int",
"max": 10,
"min": 0
},
"markDatetime": {
"type": "datetime",
"format": "Y-m-d H:i:s"
},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"patronymic": {
"type": "string"
},
"phone": {
"type": "string"
},
"additionalPhone": {
"type": "string"
},
"email": {
"type": "string"
},
"site": {
"type": "string"
},
2016-11-15 17:17:09 +03:00
"countryIso": {
"type": "string"
},
2015-03-03 16:37:34 +03:00
"call": {
"type": "bool",
"default": false
},
"expired": {
"type": "bool",
"default": false
},
"customerComment": {
"type": "string"
},
"managerComment": {
"type": "string"
},
2018-02-27 15:29:43 +03:00
"weight": {
"type": "double"
},
"length": {
"type": "int"
},
"width": {
"type": "int"
},
"height": {
"type": "int"
},
2015-03-03 16:37:34 +03:00
"paymentDetail": {
"type": "string"
},
"statusComment": {
"type": "string"
},
"customFields": {
"type": "skip"
},
"contragentType": {
"type": "enum",
"default": "individual",
"values": ["individual", "legal-entity", "enterpreneur"]
},
"legalName": {
"type": "string"
},
"legalAddress": {
"type": "string"
},
"INN": {
"type": "string"
},
"OKPO": {
"type": "string"
},
"KPP": {
"type": "string"
},
"OGRN": {
"type": "string"
},
"OGRNIP": {
"type": "string"
},
"certificateNumber": {
"type": "string"
},
"certificateDate": {
"type": "datetime",
"format": "Y-m-d"
},
"BIK": {
"type": "string"
},
"bank": {
"type": "string"
},
"bankAddress": {
"type": "string"
},
"corrAccount": {
"type": "string"
},
"bankAccount": {
"type": "string"
},
2018-03-22 16:11:04 +03:00
"shipmentDate": {
"type": "datetime",
"format": "Y-m-d"
},
"shipped": {
"type": "bool",
"default": false
},
2015-03-03 16:37:34 +03:00
"orderType": {
"type": "string"
},
"orderMethod": {
"type": "string"
},
"customerId": {
"type": "string"
},
"managerId": {
"type": "int"
},
2015-11-09 17:46:32 +03:00
"deliveryTime": {
"type": "string"
},
2015-03-03 16:37:34 +03:00
"paymentType": {
"type": "string"
},
"paymentStatus": {
"type": "string"
},
2017-09-04 11:36:04 +03:00
"type": {
"type": "string"
},
"amount": {
"type": "double",
"default": 0,
"min": 0,
"decimals": 2
},
"paidAt": {
"type": "datetime",
"format": "Y-m-d H:i:s"
},
2015-03-03 16:37:34 +03:00
"status": {
"type": "string"
},
"sourceId": {
"type": "string"
},
"initialPrice": {
"type": "double",
"default": 0,
"min": 0,
"decimals": 2
},
"quantity": {
"type": "double",
"default": 1,
2015-11-09 17:46:32 +03:00
"min": 0,
2019-03-28 14:35:26 +03:00
"decimals": 3
2015-03-03 16:37:34 +03:00
},
"properties": {
"type": "skip"
},
"productId": {
"type": "string"
},
"productName": {
"type": "string"
},
"comment": {
"type": "string"
},
"purchasePrice": {
"type": "double",
"default": 0,
"min": 0,
"decimals": 1
},
"code": {
"type": "string"
},
"integrationCode": {
"type": "string"
},
"data": {
"type": "skip"
},
"service": {
"type": "skip"
},
"cost": {
"type": "string"
},
"date": {
"type": "datetime",
"format": "Y-m-d"
},
"index": {
"type": "string"
},
"country": {
"type": "string"
},
"region": {
"type": "string"
},
"city": {
"type": "string"
},
"street": {
"type": "string"
},
"building": {
"type": "string"
},
"flat": {
"type": "string"
},
"intercomCode": {
"type": "string"
},
"floor": {
"type": "int"
},
"block": {
"type": "int"
},
"house": {
"type": "string"
},
"housing": {
"type": "string"
},
2015-03-03 16:37:34 +03:00
"metro": {
"type": "string"
},
"notes": {
"type": "string"
},
"text": {
"type": "string"
2016-09-15 16:42:10 +03:00
},
"address": {
"type": "string"
},
2016-09-15 16:42:10 +03:00
"shipmentStore": {
"type": "string"
2016-12-13 14:01:48 +03:00
},
"from": {
"type": "skip"
},
"to": {
"type": "skip"
},
"custom": {
"type": "string"
2018-03-22 16:11:04 +03:00
},
"vatRate": {
"type": "string"
},
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"xmlId": {
"type": "string"
},
"netCost": {
"type": "double"
},
"source": {
"type": "string"
},
"medium": {
"type": "string"
},
"campaign": {
"type": "string"
},
"keyword": {
"type": "string"
},
"content": {
"type": "string"
2015-03-03 16:37:34 +03:00
}
}
}