Magento2SalesforceExtesnion - Version 1.0

Version Notes

This extension is used to fetch the abandoned shopping cart from magento and insert into the salesforce as lead data.

Download this release

Release Info

Developer Magento Core Team
Extension Magento2SalesforceExtesnion
Version 1.0
Comparing to
See all releases


Version 1.0

Files changed (39) hide show
  1. M2SFinstallation.txt +10 -0
  2. app/code/local/Thylak/Magesalesforce/Block/Adminhtml/Magesalesforce.php +16 -0
  3. app/code/local/Thylak/Magesalesforce/Block/Adminhtml/Magesalesforce/Grid.php +79 -0
  4. app/code/local/Thylak/Magesalesforce/Block/Adminhtml/Magesalesforce/Syncbtn.php +24 -0
  5. app/code/local/Thylak/Magesalesforce/Block/Adminhtml/Magesalesforce/Transaction.php +17 -0
  6. app/code/local/Thylak/Magesalesforce/Block/Adminhtml/Magesalesforce/Transaction/Grid.php +67 -0
  7. app/code/local/Thylak/Magesalesforce/Block/Adminhtml/Magesalesforce/Verifyconnection.php +16 -0
  8. app/code/local/Thylak/Magesalesforce/Helper/Data.php +6 -0
  9. app/code/local/Thylak/Magesalesforce/Model/Lead.php +1 -0
  10. app/code/local/Thylak/Magesalesforce/Model/Mysql4/Profilehistory.php +9 -0
  11. app/code/local/Thylak/Magesalesforce/Model/Mysql4/Profilehistory/Collection.php +10 -0
  12. app/code/local/Thylak/Magesalesforce/Model/Mysql4/Profiletransaction.php +9 -0
  13. app/code/local/Thylak/Magesalesforce/Model/Mysql4/Profiletransaction/Collection.php +10 -0
  14. app/code/local/Thylak/Magesalesforce/Model/Mysql4/Webservicedetails.php +12 -0
  15. app/code/local/Thylak/Magesalesforce/Model/Mysql4/Webservicedetails/Collection.php +10 -0
  16. app/code/local/Thylak/Magesalesforce/Model/Profilehistory.php +13 -0
  17. app/code/local/Thylak/Magesalesforce/Model/Profiletransaction.php +13 -0
  18. app/code/local/Thylak/Magesalesforce/Model/Webservicedetails.php +13 -0
  19. app/code/local/Thylak/Magesalesforce/controllers/Adminhtml/MagesalesforceController.php +134 -0
  20. app/code/local/Thylak/Magesalesforce/etc/config.xml +134 -0
  21. app/code/local/Thylak/Magesalesforce/sql/magesalesforce_setup/mysql4-install-0.1.0.php +56 -0
  22. app/design/adminhtml/default/default/template/magesalesforce/syncbtn.phtml +56 -0
  23. app/design/adminhtml/default/default/template/magesalesforce/transaction.phtml +9 -0
  24. app/design/adminhtml/default/default/template/magesalesforce/verifyconnection.phtml +92 -0
  25. app/etc/modules/Thylak_Magesalesforce.xml +10 -0
  26. package.xml +18 -0
  27. phptoolkit/soapclient/ProxySettings.php +8 -0
  28. phptoolkit/soapclient/SforceBaseClient.php +784 -0
  29. phptoolkit/soapclient/SforceEmail.php +101 -0
  30. phptoolkit/soapclient/SforceEnterpriseClient.php +109 -0
  31. phptoolkit/soapclient/SforceFieldTypes.php +20 -0
  32. phptoolkit/soapclient/SforceHeaderOptions.php +142 -0
  33. phptoolkit/soapclient/SforceMetaObject.php +175 -0
  34. phptoolkit/soapclient/SforceMetadataClient.php +125 -0
  35. phptoolkit/soapclient/SforcePartnerClient.php +457 -0
  36. phptoolkit/soapclient/SforceProcessRequest.php +15 -0
  37. phptoolkit/soapclient/enterprise.wsdl.xml +9928 -0
  38. phptoolkit/soapclient/metadata.wsdl.xml +1726 -0
  39. phptoolkit/soapclient/partner.wsdl.xml +2280 -0
M2SFinstallation.txt ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ synchronization Magento Abandoned Shopping cart details to Salesforce Lead Details.
2
+
3
+ 1. Create a custom field in salesforce named as MagentoProduct__c in your salesforce lead object.
4
+ 2.Export the partner and enterprise wsdl xml files and overwrite it in the php tool kit which is in the extension.
5
+
6
+ These Two are the basic steps to make extension work fine.
7
+
8
+ Thanks.
9
+ Thylaksoft LLc.
10
+ www.thylaksoft.com
app/code/local/Thylak/Magesalesforce/Block/Adminhtml/Magesalesforce.php ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Thylak_Magesalesforce_Block_Adminhtml_Magesalesforce extends Mage_Adminhtml_Block_Widget_Grid_Container
3
+ {
4
+ public function __construct()
5
+ {
6
+ $this->_controller = 'adminhtml_magesalesforce';
7
+ $this->_blockGroup = 'magesalesforce';
8
+ $this->_headerText = Mage::helper('magesalesforce')->__('Synchronization Batch Details');
9
+ parent::__construct();
10
+ $this->removeButton('add');
11
+ $this->_addButton('feedback', array(
12
+ 'label' => Mage::helper('adminhtml')->__('Feedback'),
13
+ 'onclick' => "javascript: window.open('http://magento.thylaksoft.com/business/feedback.php')",
14
+ ), -100);
15
+ }
16
+ }
app/code/local/Thylak/Magesalesforce/Block/Adminhtml/Magesalesforce/Grid.php ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Thylak_Magesalesforce_Block_Adminhtml_Magesalesforce_Grid extends Mage_Adminhtml_Block_Widget_Grid
4
+ {
5
+ public function __construct()
6
+ {
7
+ parent::__construct();
8
+ $this->setId('batchGrid');
9
+ $this->setUseAjax(true);
10
+ $this->setDefaultSort('id');
11
+ $this->setDefaultDir('ASC');
12
+ $this->setSaveParametersInSession(true);
13
+ }
14
+
15
+ protected function _prepareCollection()
16
+ {
17
+ $collection = Mage::getResourceModel('magesalesforce/profilehistory_collection');
18
+ $this->setCollection($collection);
19
+ return parent::_prepareCollection();
20
+ }
21
+
22
+ protected function _prepareColumns()
23
+ {
24
+ $this->addColumn('id', array(
25
+ 'header' => Mage::helper('adminhtml')->__('ID'),
26
+ 'width' => '50px',
27
+ 'index' => 'id',
28
+ ));
29
+ $this->addColumn( 'totalrecords', array(
30
+ 'header' => Mage::helper('adminhtml')->__('Synced Records'),
31
+ 'index' => 'totalrecords',
32
+ ));
33
+ $this->addColumn( 'totalinserted', array(
34
+ 'header' => Mage::helper('adminhtml')->__('Total Inserted Records'),
35
+ 'index' => 'totalinserted',
36
+ ));
37
+ $this->addColumn( 'totalupdated', array(
38
+ 'header' => Mage::helper('adminhtml')->__('Total Updated Records'),
39
+ 'index' => 'totalupdated',
40
+ ));
41
+ $this->addColumn('startdate', array(
42
+ 'header' => Mage::helper('adminhtml')->__('Start Date'),
43
+ 'type' => 'date',
44
+ 'align' => 'center',
45
+ 'index' => 'startdate',
46
+ ));
47
+ $this->addColumn('updated_at', array(
48
+ 'header' => Mage::helper('adminhtml')->__('End Date'),
49
+ 'type' => 'date',
50
+ 'align' => 'center',
51
+ 'index' => 'updated_at',
52
+ ));
53
+ $this->addColumn( 'runtype', array(
54
+ 'header' => Mage::helper('adminhtml')->__('Run Type'),
55
+ 'index' => 'runtype',
56
+ ));
57
+ $this->addColumn('action', array(
58
+ 'header' => Mage::helper('adminhtml')->__('Action'),
59
+ 'width' => '60px',
60
+ 'align' => 'center',
61
+ 'sortable' => false,
62
+ 'filter' => false,
63
+ 'type' => 'action',
64
+ 'actions' => array(
65
+ array(
66
+ 'url' => $this->getUrl('*/*/edit') . 'id/$id',
67
+ 'caption' => Mage::helper('adminhtml')->__('View')
68
+ )
69
+ )
70
+ ));
71
+ return parent::_prepareColumns();
72
+ }
73
+
74
+ public function getRowUrl($row)
75
+ {
76
+ return $this->getUrl('*/*/edit', array('id'=>$row->getId()));
77
+ }
78
+
79
+ }
app/code/local/Thylak/Magesalesforce/Block/Adminhtml/Magesalesforce/Syncbtn.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Thylak_Magesalesforce_Block_Adminhtml_Magesalesforce_Syncbtn extends Mage_Adminhtml_Block_Template
4
+ {
5
+ public function __construct()
6
+ {
7
+ parent::__construct();
8
+ $this->setTemplate('magesalesforce/syncbtn.phtml');
9
+ }
10
+
11
+ public function getRunButtonHtml()
12
+ {
13
+ $html = '';
14
+ $html .= $this->getLayout()->createBlock('adminhtml/widget_button')->setType('button')
15
+ ->setClass('save')->setLabel($this->__('Sync Lead In Popup'))
16
+ ->setOnClick('syncLead(true,1)')
17
+ ->toHtml();
18
+
19
+ return $html;
20
+ }
21
+ }
22
+
23
+
24
+
app/code/local/Thylak/Magesalesforce/Block/Adminhtml/Magesalesforce/Transaction.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Thylak_Magesalesforce_Block_Adminhtml_Magesalesforce_Transaction extends Mage_Adminhtml_Block_Template
3
+ {
4
+
5
+ public function __construct()
6
+ {
7
+ parent::__construct();
8
+ $this->setTemplate('magesalesforce/transaction.phtml');
9
+ }
10
+
11
+ public function _beforeToHtml()
12
+ {
13
+ $this->setChild('grid', $this->getLayout()->createBlock('magesalesforce/adminhtml_magesalesforce_transaction_grid', 'transaction.grid'));
14
+ return parent::_beforeToHtml();
15
+ }
16
+
17
+ }
app/code/local/Thylak/Magesalesforce/Block/Adminhtml/Magesalesforce/Transaction/Grid.php ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Thylak_Magesalesforce_Block_Adminhtml_Magesalesforce_Transaction_Grid extends Mage_Adminhtml_Block_Widget_Grid
4
+ {
5
+ public function __construct()
6
+ {
7
+ parent::__construct();
8
+ $this->setId('transactionGrid');
9
+ $this->setUseAjax(true);
10
+ $this->setDefaultSort('id');
11
+ $this->setDefaultDir('ASC');
12
+ $this->setSaveParametersInSession(true);
13
+ }
14
+
15
+ protected function _prepareCollection()
16
+ {
17
+ $id = $this->getRequest()->getParam('id');
18
+ $collection = Mage::getResourceModel('magesalesforce/profiletransaction_collection')
19
+ ->addFieldToFilter('batchid',Array('eq'=>$id));
20
+ $this->setCollection($collection);
21
+ return parent::_prepareCollection();
22
+ }
23
+
24
+ protected function _prepareColumns()
25
+ {
26
+ $this->addColumn('id', array(
27
+ 'header' => Mage::helper('adminhtml')->__('ID'),
28
+ 'width' => '50px',
29
+ 'index' => 'id',
30
+ ));
31
+ $this->addColumn('mage_id', array(
32
+ 'header' => Mage::helper('adminhtml')->__('Magento Id'),
33
+ 'width' => '50px',
34
+ 'index' => 'mage_id',
35
+ ));
36
+ $this->addColumn( 'lead_id', array(
37
+ 'header' => Mage::helper('adminhtml')->__('Sync Lead Id'),
38
+ 'index' => 'lead_id',
39
+ ));
40
+ $this->addColumn( 'order_amt', array(
41
+ 'header' => Mage::helper('adminhtml')->__('Order Amount'),
42
+ 'index' => 'order_amt',
43
+ ));
44
+ $this->addColumn( 'order_email', array(
45
+ 'header' => Mage::helper('adminhtml')->__('Order Email Id'),
46
+ 'index' => 'order_email',
47
+ ));
48
+ $this->addColumn('startdate', array(
49
+ 'header' => Mage::helper('adminhtml')->__('Start Date'),
50
+ 'type' => 'date',
51
+ 'align' => 'center',
52
+ 'index' => 'startdate',
53
+ ));
54
+ $this->addColumn('updated_at', array(
55
+ 'header' => Mage::helper('adminhtml')->__('End Date'),
56
+ 'type' => 'date',
57
+ 'align' => 'center',
58
+ 'index' => 'updated_at',
59
+ ));
60
+ $this->addColumn( 'status', array(
61
+ 'header' => Mage::helper('adminhtml')->__('Status'),
62
+ 'index' => 'status',
63
+ ));
64
+
65
+ return parent::_prepareColumns();
66
+ }
67
+ }
app/code/local/Thylak/Magesalesforce/Block/Adminhtml/Magesalesforce/Verifyconnection.php ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Thylak_Magesalesforce_Block_Adminhtml_Magesalesforce_Verifyconnection extends Mage_Adminhtml_Block_Widget_Form_Container
4
+ {
5
+ public function __construct()
6
+ {
7
+ $this->setTemplate('magesalesforce/verifyconnection.phtml');
8
+ }
9
+ public function getWebservicedetails()
10
+ {
11
+ return Mage::getModel('magesalesforce/webservicedetails')->load(1);
12
+ }
13
+ }
14
+
15
+
16
+
app/code/local/Thylak/Magesalesforce/Helper/Data.php ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Thylak_Magesalesforce_Helper_Data extends Mage_Core_Helper_Abstract
4
+ {
5
+
6
+ }
app/code/local/Thylak/Magesalesforce/Model/Lead.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php /* This file is protected by copyrights of Thylaksoft. */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$O0O000O0O=$O0O000O00.$OOO000000{11};$O0O000O00=$O0O000O00.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x33dc;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NGIwKTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTzAwKCRPMDAwTzBPMDAsMHgxN2MpLCdFbnRlcnlvdXdraFJIWUtOV09VVEFhQmJDY0RkRmZHZ0lpSmpMbE1tUHBRcVNzVnZYeFp6MDEyMzQ1Njc4OSsvPScsJ0FCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXowMTIzNDU2Nzg5Ky8nKSk7ZXZhbCgkT08wME8wME8wKTs='));return;?>~Dkr9NHenNHenNHe1zfukgFMaXdoyjcUImb19oUAxyb18mRtwmwJ4LT09NHr8XTzEXRJwmwJXLT09NHeEXHr8XhtONT08XHeEXHr8Pkr8XTzEXT08XHtILTzEXHr8XTzEXRtONTzEXTzEXHeEpRtfydmOlFmlvfbfqDykwBAsKa09aaryiWMkeC0OLOMcuc0lpUMpHdr1sAunOFaYzamcCGyp6HerZHzW1YjF4KUSvNUFSk0ytW0OyOLfwUApRTr1KT1nOAlYAaacbBylDCBkjcoaMc2ipDMsSdB5vFuyZF3O1fmf4GbPXHTwzYeA2YzI5hZ8mhULpK2cjdo9zcUILTzEXHr8XTzEXhTslfMyShtONTzEXTzEXTzEpKX==tmklFbapFMagd25jcUEPk3nPFuOvd2xqDbWvF29iFoYSDBaVft9TcM9ZC2aydmOlFmnZDbYlW2xpcB50RmnPFtFpKXpZcby1Dbklb29VC2AIhtfXDun0d29SD2l0R3YvCbnjdolldmWvA2cvFMYlAoyZfo5lFLYSDBaVft5XDuEmhTShFMaxfBlZca9vdMYlwtImFoiXfo9vdospft9zd2yXC2xpcB50R1YMd3kjcAilCBOlFL9XfolvdmHVFoiXkZL7tMYSCbYzwyOPGBxiD19YCBflF2yScbYMd3kjca9Yd2Oldy9HcByLwoa4foaVcuHITBymca9ed3klb01vcoaSb0yJF3OZCBY0tmShfMyZwtO0d3OidolVF2aZfoaLwe0IHeShfMyZwtO0d3OiduaXcoy0cBWINUEXKXpXfBkSDBHIcmaVC3Opd24IF3lVC0xlCBWPkocSCBF9HtLhGXplC2ivwtktCbOjDtnyGoajfbOpd24IA3OiFmWVRJ4JRJw8CmwIRz4JKXplC2ivwtkWdoaiF2AIa2ypftn1dmOpdoXIfoilwokifoYPwoa4cBY1folvdJnjd21Xdoa0cBWJRJw8CmwIRz4JKXPLd2kQwe0IdMa3wr1ic2APhTShkuclFmYpd24INUnlGunSd2OlhtFVkZXLd2kQRT5mcbOBcbkzDB9VhtLpKXPLF2yScbYgFbavfoagfoyJdoAINUnYCBflKjpmcbOTDB5mdoa0d24Pk2YvFMAvFMazd3aZC2AmhU0+c2a0aoyJdoaKCB1lhtfzCBxlF19Mdoy0b3y1d3OlkZL7tJOzCBxlF19pfoasb3OiCMxlwe0ITBymcTP6c2a0A2lVc2xlfo9Vhtfjd3klR3klF291FMYlkZLsNMflfyOiCMxlTMyscUImF2yScbYgcMxify9xfB90ca9pfoaskZL7tJOzCBxlF19Mdoy0b3y1d3Olb2yLcuklF3HINUnYCBflKjpmcbOTDB5mdoa0d24Pk2YvFMAvFMazd3aZC2AmhU0+c2a0aoyJdoaKCB1lhtfzCBxlF19Mdoy0b3y1d3Olb2yLcuklF3HmhTShDBCPkuclFmYpd25dHa0+HZl7tJOzCBxlF19vFMOlFl90CBkScUE9wr1ic2A6KMflfyYpdMfScbOvdJImC29ZcU9ZcbYvfbkjcUFpRT5mcbOACBkScA5idBAPk3Yidoazb2cSCbOgd3kLcbwmhTShgBaSF2a7tJOzCBxlF19vFMOlFl90CBkScUE9wr1ic2A6KMflfyYpdMfScbOvdJImC29ZcU9ZcbYvfbkjcUFpRT5mcbOACBkScA5idBAPk3Yidoazb29ZcoaZkZL7tm0hkokifoYPb21iGolLwe0IkuOPDbHsNMflfr1iGrlLhtL7tJOJCbOjDy9jFMaifoOgcoy0cUE9wtO0DolzRT5mcbOefbkZcB50Ooy0cUIpKXppcJILCMy0C2igdBy4DBWIwT0ITlaHTtl7tJOJCbOjDuklFZE9wr1ic2A6KMflfr1vcoaShtfsCBflF2yScbYMd3kjcU9XFM9MDBxlDolzfo9ZGUFpRT5Sd2yLhtOJCbOjDy9sCbipctL7tJOJCbOjDy9zfoyZfy9LCbOlwe0IkokifoYPFMazBZfSCbY0cMa0C2ilctffKXPLdoaicuyZGUE9wtkzcBxlC3WIhJnMFM9swtOzCBxlF19pfoasb3OiCMxlwufPcbklwuy1d3Olb2lLwolVwtizcBxlC3WIcB50DbO5b2lLwocZd20IkuYidoazb3y1d3Olb3OiCMxlwufPcbklwoaVfol0Ga9pctnVd3WIDB4PF2aScBY0wuy1d3Olb2lLwocZd20IkuYidoazb29ZcoaZb3OiCMxlhULICB5LwuniFMaVfy9pfoasb2lLwolzwo51doXICB5LwuaXcoy0cBOgCbWINJEmkokifoYPb3Y0Cbk0b2OifoAmwjShkoxiF3OMcbOjDoaLb3yZGUE9wtkzcBxlC3WIdBy4huaXcoy0cBOgCbWpwoyzwoxiF3OMcbOjDoaLwocZd20IkuYidoazb2l0cB1gfoyJdoAIf2ilFMAIFbavfoagDBWIDB4IhuYldoajftnldmOpfulgDBWIcmkvdUELF2yScbYgFbavfoagfoyJdoAIf2ilFMAIcB50DbO5b2lLwo5vftnpdJizcBxlC3WIFbavfoagDBWIcmkvdUELF2yScbYgd3kLcbkgfoyJdoAphUnidMWIFoyZcB50b2l0cB1gDBWIDbHIdmaSdtnidMWIfbnLCbOlcy9iftE+wtFLCMy0C2igF3OiFmOgcoy0cUFJKXp9cBxzcbShkoxlCBOxFmLINUEJF2aScBY0wtPIcmkvdUELF2yScbYgDbOlda90CBkScUn3DoaZcUnxfB90ca9pctnpdJEPF2aScBY0woaVfol0Ga9pctnMFM9swtOzCBxlF19xfB90ca90CBkScUn3DoaZcUnldmOpfulgDBWIdM90wolVhuYldoajftnxfB90ca9pctnMFM9swtOzCBxlF19vFMOlFl90CBkScULpwoyVctnXCbkldmOgDbOlda9pctnpFZnVfBxSwjShkoxiF3OMcbOjDoaLb3yZGUE9wtkzcBxlC3WIdBy4huaXcoy0cBOgCbWpwoyzwoxiF3OMcbOjDoaLwocZd20IkuYidoazb2l0cB1gfoyJdoAIf2ilFMAIFbavfoagDBWIDB4IhuYldoajftnldmOpfulgDBWIcmkvdUELF2yScbYgFbavfoagfoyJdoAIf2ilFMAIcB50DbO5b2lLwo5vftnpdJizcBxlC3WIFbavfoagDBWIcmkvdUELF2yScbYgd3kLcbkgfoyJdoAphUnidMWIFoyZcB50b2l0cB1gDBWIDbHIdmaSdtw7tm0hkoxlCBOZcbHINUnYCBflKjpmcbOTDB5mdoa0d24Pk2YvFMAvFMazd3aZC2AmhU0+c2a0W29VdMajfolvdJImC29Zca9ZcByLkZLsNMclfoYPWBxShtOScByLFbk5hTShkuY0CbO1FZE9wtfTfBYjcbYzkzShDBCPkocSCBF9NTEpGXPLFmaVfulXcUE9wtfnfbOvdBy0cBWmKXp9cBxzcbShkuk1dmO5FoAINUEmTByVfBySkzShgWPLDUE9weE7tJOSCbY0cMa0C2ilcy9LCbOlwe0IkZF7tMlMhoYvfB50htOScByLFMazhT4XhbShkoxiF3OMcbOjDoaLb3klFZE9wr1ic2A6KMflfyYpdMfScbOvdJImC29ZcU9ZcbYvfbkjcUFpRT5mcbOed25VcBY0DB9Vhtfjd3klb3klCBWmhU0+cMa0C2iUd3FPkoxiF3OMcbOjDoaLb3yZGUL7tJOSCbY0cMa0C2ilcy9LCbOlwe0IkoxiF3OMcbOjDoaLb3klF1SmdoyzfoclfoYPcBWmbTShkuY0CbO1FZE9wtfoCBlScBWmKXPLCMy0C2igDB5zcbk0FMazwe0IkuOPDbHsNMa4cBYOfBaZGUIJDB5zcbk0wolVfo8IFukvcMlScBipF3OvFmLIhuOvfoySFMajd3kLFZXIfo90CBxpdmYlFmOlctXIfo90CBx1FoOifoaLRtnzfoy0fbHSwuY0Cbk0coy0cUXIfbnLCbOlcy9iftXIFmaVfulXcULIfMySfBazwtIXRtEXRtEXRtEmkuY0CbO1FZFSwtFLCMy0C2igC3klCbOLb2OifoAmRtEmkokifoYPb2YZcBy0cy9LCbOlkZXIkZOZfB50GbnlkZLJhTShkokifoYPb21iGolLwe0IkuOPDbHsNMflfr1iGrlLhtL7tJOjfbY0d21lFl9LCbOib2yZFMy5we0ICbkZCbLPhTShkunZd2O1C3Ogcoy0Ca9iFmkiGUE9woyZFMy5htL7tMcvFMaiC2IPkoxlCBOZcbHICbHIkoxlCBWpGXPLFbavfoagDBWINUELdoaicySmFbavfoagDBWmbTShkol0cB1gDBWINUELdoaicySmDbOlda9pctffKXPLC3azfuyZGUE9wtkzcBxlC3WIhJnMFM9swtOzCBxlF19Mdoy0b3y1d3Olb2yLcuklF3HIf2ilFMAICBOLFMazF190Gbnlwe0Ik2kpdoxpdMFmwoyVctnxfB90ca9pctE9wtOxfB90ca9pctw7tJOjfbY0CMlSduyZGUE9wtkzcBxlC3WIhJnMFM9swtOzCBxlF19Mdoy0b3y1d3Olb2yLcuklF3HIf2ilFMAICBOLFMazF190Gbnlwe0Ik3YPDbnXDB5mkZnidMWIFbavfoagDBWINUELFbavfoagDBWJKXPLFukvcuyZGUE9wtkzcBxlC3WIhJnMFM9swtOzCBxlF19pfoasb3OiCMxlwufPcbklwol0cB1gDBWINUELDbOlda9pctw7tJOjfbY0FMazwe0ITBymcTP6c2a0A2lVc2xlfo9Vhtfjd3klR3klF291FMYlkZLsNMflfrYvdM5lC3Opd24Pk2YvFMagFMaictFpRT5McbOjDykvfZILC3azfuyZGUL7tJOjfbY0CMlSduklFZE9wr1ic2A6KMflfyYpdMfScbOvdJImC29ZcU9ZcbYvfbkjcUFpRT5mcbOed25VcBY0DB9Vhtfjd3klb3klCBWmhU0+cMa0C2iUd3FPkoY1F3OJDBxSFbk5hTShko9ZcoaZb2ysftE9wtOjfbY0CMlSduklF1Smc3kidMOgfo90CBXmbTShkoY1F3OpctE9wtOjfbY0FMazBZfjfbY0d21lFl9pctffKXPLcB1iDBXINUELC3azfuklF1SmcB1iDBXmbTShkunZd2OZcbHINUnYCBflKjpmcbOTDB5mdoa0d24Pk2YvFMAvFMazd3aZC2AmhU0+c2a0W29VdMajfolvdJImC29Zca9ZcByLkZLsNMclfoYPAM93htOXFM9LFbk5hTShDBCPhtOjfbY0DBWINT0ITlaHTtLMkJILcB1iDBXINT0ITlaHTtLpGXp9cBxzcbShkuOPDbHsNMlVF2aZfrxlCBWPkoY1F3OZcbHSkunZd2OZcbHSkokifoYPb21iGolLRtOjfbY0DBWSko9ZcoaZb2ysftL7tJOphZS7tm0hgWPLCMy0C2igfbnLCbOlcy9LCbOlwe0IkuOPDbHsNMflfrY1FmkldmOrCbOlhtL7tMlMhtOpwe09wtILfoipFZ0+fo90CBxpdmYlFmOlctEqkuOPDbHsNmOvfoySfbnLCbOlctLpGXPLF3Oifuazwe0Ik1Y1C2YlF3HmKXp9cBxzcbShkuY0CbO1FZE9wtfoCBlScBWmKXp9tMlMhtOpNjEpGXPLCMy0C2igDB5zcbk0FMazwe0IkuOPDbHsNMa4cBYOfBaZGUIJfbnLCbOlwunZd2cpdoaPDbY0d3k5wuYlftn0d3OiduklC29ZcuHINUELDUXIfo90CBxpdmYlFmOlctE9wtO0DolzRT50d3OidolVF2aZfoaLRtn0d3OiduaXcoy0cBWINUELfoipFZ0+fo90CBx1FoOifoaLRtnzfoy0fbHINUEmkuY0CbO1FZFSwuaXcoy0cBOgCbWINUEmkokifoYPb3aXcoy0cBOgcoy0cUFSwoxiF3OMcbOjDoaLwe0IkZOSCbY0cMa0C2ilcy9LCbOlkZn3DoaZcUnpctE9wtOJCbOjDy9sCbipctwpKXp9cBxzcbShkokifoYPb2lVF2aZfuklFZE9wtO0DolzRT5lGoajAbalFmLPwmaXcoy0cUnXFM9MDBxlDolzfo9ZGUnzcbWIfo90CBxZcBYvFMOzwe0IkoLSwuOvfoySDB5zcbk0cBWINUELfoipFZ0+fo90CBxpdmYlFmOlctXIfo90CBx1FoOifoaLwe0IkuOPDbHsNmOvfoySfbnLCbOlctXIF3Oifuazwe0IkZOzfoy0fbHmRtn1FoOifoaLb2y0we0IkZOJCbOjDy91FoOifoaLb2OifoAmwufPcbklwolLwe0IkokifoYPb21iGolLwJL7tm0hgBaSF2a7tJOxFmLINUEJF2aScBY0wo1iGtiSCbY0cMa0C2ilctLICbHIdoyzfy9McbOjDoaLwocZd20IFukvcMlScBipF3OvFmLJKXPLFMazwe0ITBymcTP6c2a0A2lVc2xlfo9Vhtfjd3klR3klF291FMYlkZLsNMflfrYvdM5lC3Opd24Pk2YvFMagFMaictFpRT5McbOjDykvfZILFbk5hTShkoxiF3OMcbOjDoaLb2OifoAINUELFMazBZfSCbY0b2clfoYPcBWmbTShkoipF3OvFmlgFbk5we0IwMlVF2aZftnpdmOvwunZd2cpdoaPDbY0d3k5wti0d3OiduklC29ZcuHSwuOvfoySDB5zcbk0cBWSwuOvfoySfbnLCbOlctXIF3OifuazRtnzfoyZfoOifoASwuaXcoy0cBOgCbWSwuk1dmO5FoASwoxiF3OMcbOjDoaLhUn2CBx1cbHIheESweESweESwtFLF3OifuazkZXIkZOJCbOjDy9jFMaifoOgcoy0cUFSwtFLCMy0C2igC3klCbOLb2OifoAmRtEmkuk1dmO5FoAmRtEmkoxiF3OMcbOjDoaLb2OifoAmhUw7tJOJCbOjDy9pdmYlFmOZcbHINUELfoipFZ0+cbilC1y1cbk5htOPDbY0d3k5b3yZGUL7tm0hcBYPdZEJao90dorIAMajd3kLFZnocbOjDoaLwe0IwJ4LDU4JNokZwt8+wjShcBYPdZEJao90dorIAMajd3kLFZnkdmYlFmOlctE9wtwVkuOPDbHsNmOvfoySDB5zcbk0cBWVwjxJFJEvNJw7tMajDo8IwlOvfoxiwyklC29ZcuHIabnLCbOlctE9wtwVkuOPDbHsNmOvfoySfbnLCbOlct4JNokZwt8+wjShcBYPdZEJWMy0C2IIObilC3a0DB9VwrYvdbnScbOlctnTfBYjcbYzcmaSduLVwJ4JNokZwt8+wjShcbipfeShgWpXfBkSDBHIcmaVC3Opd24IC2iqW29VdMajfolvdJILfB5idBASkuniF3HSkuOvD2aVRtO0GbnlhbShDBCPkuO5FoA9NTrpGXPLdblTcM9ZC2aed25VcBY0DB9Vwe0IdMa3wyYMd3kjcaniFmOVcbkedolldmWPhTShko15A29iFrYSDBaVftE9wtOsGaYMd3kjcAYvdM5lC3Opd24sNMYZcBy0cAYvdM5lC3Opd24PwmnPFuOvd2xqDbWvF29iFoYSDBaVft9XCbk0dMaZRmfzcoXVGo1SwJL7tm1lduYlGXPLdblTcM9ZC2aed25VcBY0DB9Vwe0IdMa3wyYMd3kjcAaVfoaZFukpF2aedolldmWPhTShko15A29iFrYSDBaVftE9wtOsGaYMd3kjcAYvdM5lC3Opd24sNMYZcBy0cAYvdM5lC3Opd24PwmnPFuOvd2xqDbWvF29iFoYSDBaVft9ldmOlFmnZDbYlRmfzcoXVGo1SwJL7tm0hkun3ctE9wtOXCbYzRJO0d2sldjShfuk5GXPLdblSd2fpdJE9wtOsGaYMd3kjcAYvdM5lC3Opd24sNMxvc2lVhtO1dMyscUXLFufLhTShkuYlF3Ypd25kctE9wtOsGBxvc2lVRT5zcbYzDB9VUBW7tm1jCbOjDtiyGoYlFuOpd24IkoApGXPLF2azF2lvdLlLNUFmKXp9tmklfuaZdJELF2azF2lvdLlLKXp9tmn1CMxpCZnMfB5jfolvdJnmcbOYCbikctIptmShkokifoYPb21iGuyZGUE9wtkTOAxyW1WIdBy4holLhUniFZnJCbOjDolLwrcUT00IFukvcMlScBipF3OvFmLJKXPLCMy0C2igdBy4FMazwe0ITBymcTP6c2a0A2lVc2xlfo9Vhtfjd3klR3klF291FMYlkZLsNMflfrYvdM5lC3Opd24Pk2YvFMagFMaictFpRT5McbOjDykvfZILCMy0C2igdBy4Fbk5hTShkokifoYPb21iGolLwe0IkokifoYPb21iGuklF1SmCMy0C2ipctffKXpZcbO1FM4IkokifoYPb21iGolLKXp9tmn1CMxpCZnMfB5jfolvdJnmcbOefbkZcB50Ooy0cUIptmShkokifoYPb2YZcBy0cy9LCbOlFbk5we0IwmYldoajftnVd3FPhUniFZnjfbkgcoy0cUw7tJOJCbOjDy9jFMaifoOgcoy0cbklFZE9wr1ic2A6KMflfyYpdMfScbOvdJImC29ZcU9ZcbYvfbkjcUFpRT5mcbOed25VcBY0DB9Vhtfjd3klb3klCBWmhU0+cMa0C2iUd3FPkokifoYPb2YZcBy0cy9LCbOlFbk5hTShkokifoYPb2YZcBy0cy9LCbOlwe0IkokifoYPb2YZcBy0cy9LCbOlFMazBZfjfbkgcoy0cUffKXpZcbO1FM4IkokifoYPb2YZcBy0cy9LCbOlKXp9tmn1CMxpCZnMfB5jfolvdJnlGoajAbalFmLPkuyZGULhGXPLFMazwe0ITBymcTP6c2a0A2lVc2xlfo9Vhtfjd3klR3klF291FMYlkZLsNMflfrYvdM5lC3Opd24Pk2YvFMagf3kpfoAmhU0+FbalFmLPkuyZGUL7tmklfuaZdJELFMazKXp9tmn1CMxpCZnMfB5jfolvdJnpdmYlFmOHcByLhtOjfbY0FMazRtOXFM9LFMazRtOJCbOjDy9sCbipctXLC3azfolLNA5aTrXSko9ZcoaZCB10hWp7tJOLCbOiwe0ITBymcTP6c2a0TB9LcBXPk21ic2azCBxlF2cvFMYlR3flCmYlFmcpC2aLcbOiDBxzkZLsNMxvCBWPHUL7tJOXCbYzwe0IkoOifoydk2yXDbniF3Y3d3kLk107tJO0d2sldJE9wtOLCbOiBZfzcBY1FMl0GbOvD2aVk107tJO1dMyscUE9wtOLCbOiBZfiFolVCB1lk107tJO0Gbnlwe0IkoOifoydk3nZd2cpdoa0Gbnlk107tMlMhtO0GbnlNT0xhbShko15A2cvFMYlW29VdMajfolvdJE9wo5lfZnTcM9ZC2aWCbk0dMaZW2xpcB50htL7tJOsGaYvCbnedolldmWINUELdblTcM9ZC2aed25VcBY0DB9VRT5jFMaifoaed25VcBY0DB9VhtkXDun0d29SD2l0R3YvCbnjdolldmWvFoyZfo5lFJ53F2OSRmisdtwpKXp9cBxzcbShko15A2cvFMYlW29VdMajfolvdJE9wo5lfZnTcM9ZC2aydmOlFmnZDbYlW2xpcB50htL7tJOsGaYvCbnedolldmWINUELdblTcM9ZC2aed25VcBY0DB9VRT5jFMaifoaed25VcBY0DB9VhtkXDun0d29SD2l0R3YvCbnjdolldmWvcB50cbkXFMlzcU53F2OSRmisdtwpKXp9tJOXf2WINUELFoyzFZ4Lfo9qcB47tJOsGBxvc2lVwe0Iko15A2cvFMYlW29VdMajfolvdJ0+do9mDB4PkuaVCB1lRtOXf2WpKXPLdoaictE9wo5lfZnTT2kQcBY0htL7tJOjfbkZb2OifoAINUELfoipFZ0+c2a0W3aZFMaVfrOifoAPhTShDBCPkoY1F3Opce09TlaHTtl7tJOsCBflDBWINUEmO3alF3WmKXPLcB1iDBXINUELC3azfuklF1SmcB1iDBXmbTShgBaSF2a7tJOsCBflDBWINUELC3azfolLKXPLcB1iDBXINUnYCBflKjpmcbOYd2OldtImC3azfo9scbwvC3azfo9scbwmhU0+do9ictILC3azfolLhU0+c2a0OB1iDBXPhTShgWPLcM5idBAINUELC3azfuklF1SmcMlZF3OVCB1lk107tJOSdMyscUE9wtOjfbY0FMazBZfSCbY0dMyscUffKXPLC2l0GUE9wtOjfbY0FMazBZfjDbO5k107tJOjd3aVfuk5we0IkoY1F3OZcbYdk2YvfB50FmlgDBWmbTShkunPd25lwe0IkoY1F3OZcbYdk3OldoaXDo9VcUffKXPLFo9zfoySC29LcUE9wtOjfbY0FMazBZfXd3Y0C29LcUffKXPLF3OifoAINUELC3azfuklF1SmFMamDB9Vk107tJOzfuklcbWINUELC3azfuklF1SmF3OZcBa0k107tJOXFM9LF2s1we0IkunZd2OZcbYdk3YqfUffKXPLFukvco5idBAINUELFukvcuklF1SmdMyscUffKXPLFbO5we0IkunZd2OZcbYdk3y0GUffKXPLFukpC2AINUELFukvcuklF1SmFukpC2AmbTShkunZd2O1C3OgfulXcUE9wtOXFM9LFMazBZfXFM9LfBY0b3O5FoAmbTShkoYZcBy0cBOgCbWINUELFukvcuklF1SmC3klCbOlcy9iftffKXPLFukvcy9LcbYjwe0IwlYRaUE9wtFLFukvcuYqfUFSwr5idBAINUEmkunZd2OVCB1lkZXIAbO5we0IkZOxfuLmRtnWFMljcUE9wtFLFukpC2AmRtnWFM9LfBY0wyO5FoAINUEmkunZd2O1C3OgfulXcUFSwrOifoAINUEmkoYZcBy0cBOgCbWmwuXJKXPLdoaicolLwe0IkZF7tJOScByLwe0ICbkZCbLPhTShkoxlCBOdk0cpFmY0TMyscUffwe0IkocVCB1lKXPLdoaicySmToyzfr5idBAmbUE9wtOSdMyscTShkoxlCBOdk0asCBlSk10INUELcB1iDBX7tJOScByLBZfed21XCB55k10INUEmaoi5doyqkzShkoxlCBOdk0YpfuLmbUE9wtOjDbO5KXPLdoaicySmW291dmOZGUffwe0IkoYvfB50FmL7tJOScByLBZfWDo9VcUffwe0IkunPd25lKXPLdoaicySmAo9zfoySW29LcUffwe0IkunvF3OidoYvcoA7tJOScByLBZfTfoy0cUffwe0IkuY0CbOlKXPLdoaicySmA3OZcBa0k10INUELF3OZcBa0KXPLFbk5we0IwlYyTraeatnkctnMFM9swrxlCBWIf2ilFMAIOB1iDBX9kZwVkoasCBlSRJwmwjShkuklF3nvdmYlwe0Iko15A2cvFMYlW29VdMajfolvdJ0+FbalFmLPkuyZGUL7tJOScByLDBWINUELFMazFo9VF2AsNmklC29ZcuYdHy0sNLlLKXp0Fml7tMlMhtOScByLDBW9NUFmhbShkuOPDbHsNmOvfoySDB5zcbk0cBWqhzShkoxlCBOdk01ic2aVfo9WFM9LfBY0b19jk10INUELFukvcy9LcbYjKXPLFMazfBx0we0Iko15A2cvFMYlW29VdMajfolvdJ0+C3klCbOlhoyZFMy5htOScByLhUXmToaictFpKXPLDBWINUELFMazfBx0RT5pceShkoxlCBOpctE9wtOpceShkuY0CbO1FZE9wtkkdmYlFmOlctw7tm1lduYlGXPLfoipFZ0+fo90CBx1FoOifoaLhZS7tJOScByLBZfpctffwe0IkoxlCBOpceShkuyZGUE9wtkTOAxyW1WIUBWSTBymcB50d1nZd2O1C3Ogb2HIcmkvdUnHcByLwufPcbklwrlLNUFJRJOScByLDBWVwJFJKXPLFMazFo9VF2AINUELdblTcM9ZC2aed25VcBY0DB9VRT5xfBaZGUILFbk5hTShkoOlF2HINUELFMazFo9VF2AsNmklC29ZcuYdHy0sNL1ic2aVfo9WFM9LfBY0b19jKXPLdoaicySmTBymcB50d1nZd2O1C3Ogb2HmbUE9wtOXFM9Lb2OlF2HVkoOlF2H7tJOZcbY1duWINUELdblTcM9ZC2aed25VcBY0DB9VRT51FoOifoAPCbkZCbLPkoxlCBWpRtfHcByLkZL7tJOpctE9wtOScByLDBW7tJOzfoy0fbHINUEJabnLCbOlctw7tm0hkuklFZE9wtO0DolzRT5lGoajAbalFmLPwMlVF2aZftnpdmOvwunZd2cpdoa0FMyVF2yjfolvdJEPCMy0C2ipctXIdBymca9pctXIdoaicy9pctXId3kLcbkgCB10RtnvFMOlFl9ldBypdtXIF3OifuazRtnzfoyZfoOifoASwuaXcoy0cBOgCbWpwucidualFZEPkokifoYPb21iGolLRtEmko1ic2apctFSwtFLdoaicolLkZXIkZOvFMOlFMysftFSwtFLcB1iDBXmRtEmkuY0CbO1FZFSwtFLC3aZFl9LCbOlkZXIkZOjfbkZb2OifoAmhUwpKXp9C2y0C2IPObijcbn0DB9VwtOlhbShkolLwe0IHeShgWpZcbO1FM4IkolLKXp9tmn1CMxpCZnMfB5jfolvdJnjDosHDBYldmYlhtLhGXPLcoy0CUE9wr1ic2A6KMflfr1vcoaShtfsCBflF2yScbYMd3kjcU93cBkzcbk2DBYlcoa0CBlSFZFpRT5Sd2yLherpKXPLD2a5we0IkoOifoydk2xpC2aVF2aqcbLmbTShkoOvdBypdJE9wtOgA0aUaLaUBZfTOakBOakgTLyYOUffKXp0Fml7tJOjDtE9woY1FMxgDB5pftIpKXPLfbkSwe0IwMi0fuE6RZ9sCBfldmOvRmOPGBxiD3YvcmWVC29sR00ZA0CvC2iqToljcB5zcU5XDuEJKXPLFoyZCB1zNUkqcbL9wJ4LD2a5RJwMco9sCBlVNUwVkoOvdBypdjShC3aZdy9zcbOvFuWPkoYPRrYaALxNAyOgAr9TatXxhTShC3aZdy9zcbOvFuWPkoYPRrYaALxNAyOgAr9TarckOAxrAZXLFoyZCB1zhTShC3aZdy9zcbOvFuWPkoYPRrYaALxNAyOgaakHRtO1FMXpKXpjfbkSb3Ylfo9XftILC2ISW1aUTr9Way9UOaOaAL5AALyKA0cyAJXxhTShkuklF3aSfe1jfbkSb2a4cBHPkoYPhTShC3aZdy9jdo9zcUILC2IpKXpZcbO1FM4IkuklF3aSfeShgBYifoYPhra4C2aXfolvdJELcUl7tL1ic2A6KMflfyYpdMfScbOvdJImC29ZcU9zcbYzDB9VkZLsNMyLcraZFM9ZhtfyGoYlFuOpd24IAMypF2aLwePIkZ4LcUL7tJO0DolzRT5Sd2fyGoYlFuOpd24PkoApKXp9tm0hgWP7alVnRPIq
app/code/local/Thylak/Magesalesforce/Model/Mysql4/Profilehistory.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Thylak_Magesalesforce_Model_Mysql4_Profilehistory extends Mage_Core_Model_Mysql4_Abstract
4
+ {
5
+ public function _construct()
6
+ {
7
+ $this->_init('magesalesforce/profilehistory', 'id');
8
+ }
9
+ }
app/code/local/Thylak/Magesalesforce/Model/Mysql4/Profilehistory/Collection.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Thylak_Magesalesforce_Model_Mysql4_Profilehistory_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
4
+ {
5
+ public function _construct()
6
+ {
7
+ parent::_construct();
8
+ $this->_init('magesalesforce/profilehistory');
9
+ }
10
+ }
app/code/local/Thylak/Magesalesforce/Model/Mysql4/Profiletransaction.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Thylak_Magesalesforce_Model_Mysql4_Profiletransaction extends Mage_Core_Model_Mysql4_Abstract
4
+ {
5
+ public function _construct()
6
+ {
7
+ $this->_init('magesalesforce/profiletransaction', 'id');
8
+ }
9
+ }
app/code/local/Thylak/Magesalesforce/Model/Mysql4/Profiletransaction/Collection.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Thylak_Magesalesforce_Model_Mysql4_Profiletransaction_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
4
+ {
5
+ public function _construct()
6
+ {
7
+ parent::_construct();
8
+ $this->_init('magesalesforce/profiletransaction');
9
+ }
10
+ }
app/code/local/Thylak/Magesalesforce/Model/Mysql4/Webservicedetails.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Thylak_Magesalesforce_Model_Mysql4_Webservicedetails extends Mage_Core_Model_Mysql4_Abstract
4
+ {
5
+
6
+ public function _construct()
7
+ {
8
+ $this->_init('magesalesforce/webservicedetails','webservice_id');
9
+
10
+ }
11
+
12
+ }
app/code/local/Thylak/Magesalesforce/Model/Mysql4/Webservicedetails/Collection.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Thylak_Magesalesforce_Model_Mysql4_Webservicedetails_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
4
+ {
5
+ public function _construct()
6
+ {
7
+ parent::_construct();
8
+ $this->_init('magesalesforce/webservicedetails');
9
+ }
10
+ }
app/code/local/Thylak/Magesalesforce/Model/Profilehistory.php ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Thylak_Magesalesforce_Model_Profilehistory extends Mage_Core_Model_Abstract
4
+ {
5
+
6
+ public function _construct()
7
+ {
8
+ parent::_construct();
9
+ $this->_init('magesalesforce/profilehistory');
10
+
11
+ }
12
+
13
+ }
app/code/local/Thylak/Magesalesforce/Model/Profiletransaction.php ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Thylak_Magesalesforce_Model_Profiletransaction extends Mage_Core_Model_Abstract
4
+ {
5
+
6
+ public function _construct()
7
+ {
8
+ parent::_construct();
9
+ $this->_init('magesalesforce/profiletransaction');
10
+
11
+ }
12
+
13
+ }
app/code/local/Thylak/Magesalesforce/Model/Webservicedetails.php ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Thylak_Magesalesforce_Model_Webservicedetails extends Mage_Core_Model_Abstract
4
+ {
5
+
6
+ public function _construct()
7
+ {
8
+ parent::_construct();
9
+ $this->_init('magesalesforce/webservicedetails');
10
+
11
+ }
12
+
13
+ }
app/code/local/Thylak/Magesalesforce/controllers/Adminhtml/MagesalesforceController.php ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Thylak_Magesalesforce_Adminhtml_MagesalesforceController extends Mage_Adminhtml_Controller_action
4
+ {
5
+
6
+ public function verifyConnectionAction()
7
+ {
8
+ $this->loadLayout()
9
+ ->_addContent($this->getLayout()->createBlock('magesalesforce/adminhtml_magesalesforce_verifyconnection'))
10
+ ->_setActiveMenu('magesalesforce/items')
11
+ ->renderLayout();
12
+ }
13
+
14
+ public function saveConnectionAction()
15
+ {
16
+ $serviceModel = Mage::getModel('magesalesforce/webservicedetails');
17
+ $security_token = $this->getRequest()->getPost('security_token');
18
+ $api_user_name = $this->getRequest()->getPost('api_user_name');
19
+ $api_password = $this->getRequest()->getPost('api_password');
20
+ //$licensetype = $this->getRequest()->getPost('licensetype');
21
+ $licensekey = $this->getRequest()->getPost('licensekey');
22
+ $type = $this->getRequest()->getPost('type');
23
+ $serviceModel->setSecuritytoken($security_token);
24
+ $serviceModel->setApiname($api_user_name);
25
+ $serviceModel->setApipassword($api_password);
26
+ $serviceModel->setProfiletype($type);
27
+ $serviceModel->setLicensekey($licensekey);
28
+ //$serviceModel->setLicensetype($licensetype);
29
+ $sessionId = Mage::getModel('magesalesforce/lead')->chkConnection($api_user_name,$api_password,$security_token,$type);
30
+ if($sessionId){
31
+ $serviceModel->setCheckservice(1);
32
+ }else{
33
+ $serviceModel->setCheckservice(0);
34
+ }
35
+ try{
36
+ $serviceModel->setId(1)
37
+ ->save();
38
+ Mage::getSingleton('core/session')->addSuccess('Webservice Details Saved Successfully.');
39
+ }catch(Exception $e){
40
+ Mage::getSingleton('core/session')->addError('Exception Raised : '.$e);
41
+ $this->logException($e);
42
+ }
43
+ $this->getResponse()->setRedirect($this->getUrl('magesalesforce/adminhtml_magesalesforce/verifyConnection/', array('_secure'=>true)));
44
+ return;
45
+ }
46
+
47
+ public function syncLeadAction()
48
+ {
49
+ $data = Mage::getModel('magesalesforce/webservicedetails')->load(1);
50
+ if($data['checkservice'] == 1)
51
+ {
52
+ if($this->chkLicense() == 1){
53
+ $this->loadLayout()
54
+ ->_addContent($this->getLayout()->createBlock('magesalesforce/adminhtml_magesalesforce_syncbtn'))
55
+ ->_setActiveMenu('magesalesforce/items1')
56
+ ->renderLayout();
57
+ }else{
58
+ Mage::getSingleton('core/session')->addError('Check Your License or expiration');
59
+ $this->getResponse()->setRedirect($this->getUrl('magesalesforce/adminhtml_magesalesforce/verifyConnection/', array('_secure'=>true)));
60
+ return;
61
+ }
62
+ }else{
63
+ Mage::getSingleton('core/session')->addError('Verify Connection Invalid Username, password or security token');
64
+ $this->getResponse()->setRedirect($this->getUrl('magesalesforce/adminhtml_magesalesforce/verifyConnection/', array('_secure'=>true)));
65
+ return;
66
+ }
67
+ }
68
+ public function viewSyncAction()
69
+ {
70
+ $data = Mage::getModel('magesalesforce/webservicedetails')->load(1);
71
+ if($data['checkservice'] == 1)
72
+ {
73
+ $this->loadLayout()
74
+ ->_addContent($this->getLayout()->createBlock('magesalesforce/adminhtml_magesalesforce'))
75
+ ->_setActiveMenu('magesalesforce/items2')
76
+ ->renderLayout();
77
+ }else{
78
+ Mage::getSingleton('core/session')->addError('Verify Connection Invalid Username, password or security token');
79
+ $this->getResponse()->setRedirect($this->getUrl('magesalesforce/adminhtml_magesalesforce/verifyConnection/', array('_secure'=>true)));
80
+ return;
81
+ }
82
+ }
83
+
84
+ public function editAction()
85
+ {
86
+ $data = Mage::getModel('magesalesforce/webservicedetails')->load(1);
87
+ if($data['checkservice'] == 1)
88
+ {
89
+ $this->loadLayout()
90
+ ->_addContent($this->getLayout()->createBlock('magesalesforce/adminhtml_magesalesforce_transaction', 'transaction'))
91
+ ->_setActiveMenu('magesalesforce/items2')
92
+ ->renderLayout();
93
+ }else{
94
+ Mage::getSingleton('core/session')->addError('Verify Connection Invalid Username, password or security token');
95
+ $this->getResponse()->setRedirect($this->getUrl('magesalesforce/adminhtml_magesalesforce/verifyConnection/', array('_secure'=>true)));
96
+ return;
97
+ }
98
+ }
99
+
100
+
101
+ public function syncAction()
102
+ {
103
+ $flag = $this->getRequest()->getParam('flag');
104
+ Mage::getModel('magesalesforce/lead')->syncLead($flag);
105
+ }
106
+
107
+
108
+ public function logException($e)
109
+ {
110
+ $date = date('h:i:s A');
111
+ $cdate = date("m-d-Y");
112
+ $dir = "Exceptions";
113
+ if (!is_dir($dir)){
114
+ mkdir($dir,"0777");
115
+ }
116
+ $myFile = $dir."/".$cdate.".txt";
117
+ $fh = fopen($myFile, 'a') or die("can't open file");
118
+ $stringData = "Error : $e ";
119
+ fwrite($fh, $stringData);
120
+ $stringData = "| Time : $date \n";
121
+ fwrite($fh, $stringData);
122
+ fclose($fh);
123
+ return;
124
+ }
125
+
126
+ public function chkLicense()
127
+ {
128
+ $chkModel = Mage::getModel('magesalesforce/lead')->chkLicense();
129
+ return $chkModel;
130
+ }
131
+
132
+
133
+
134
+ }
app/code/local/Thylak/Magesalesforce/etc/config.xml ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+
3
+ <!-- Config file -->
4
+
5
+ <config>
6
+ <modules>
7
+ <Thylak_Magesalesforce>
8
+ <version>0.1.0</version>
9
+ </Thylak_Magesalesforce>
10
+ </modules>
11
+ <admin>
12
+ <routers>
13
+ <magesalesforce>
14
+ <use>admin</use>
15
+ <args>
16
+ <module>Thylak_Magesalesforce</module>
17
+ <frontName>magesalesforce</frontName>
18
+ </args>
19
+ </magesalesforce>
20
+ </routers>
21
+ </admin>
22
+ <adminhtml>
23
+ <menu>
24
+ <magesalesforce module="magesalesforce">
25
+ <title>M2SF</title>
26
+ <sort_order>71</sort_order>
27
+ <children>
28
+ <items module="magesalesforce">
29
+ <title>Verify Connection</title>
30
+ <action>magesalesforce/adminhtml_magesalesforce/verifyConnection</action>
31
+ <sort_order>20</sort_order>
32
+ </items>
33
+ </children>
34
+ <children>
35
+ <items1 module="magesalesforce">
36
+ <title>Sync Lead Data</title>
37
+ <action>magesalesforce/adminhtml_magesalesforce/syncLead</action>
38
+ <sort_order>25</sort_order>
39
+ </items1>
40
+ </children>
41
+ <children>
42
+ <items2 module="magesalesforce">
43
+ <title>View Sync Data</title>
44
+ <action>magesalesforce/adminhtml_magesalesforce/viewSync</action>
45
+ <sort_order>30</sort_order>
46
+ </items2>
47
+ </children>
48
+ </magesalesforce>
49
+ </menu>
50
+ <acl>
51
+ <resources>
52
+ <all>
53
+ <title>Allow Everything</title>
54
+ </all>
55
+ <admin>
56
+ <children>
57
+ <Thylak_Magesalesforce>
58
+ <title>Magesalesforce Module</title>
59
+ <sort_order>10</sort_order>
60
+ </Thylak_Magesalesforce>
61
+ </children>
62
+ </admin>
63
+ </resources>
64
+ </acl>
65
+ <layout>
66
+ <updates>
67
+ <magesalesforce>
68
+ <file>magesalesforce.xml</file>
69
+ </magesalesforce>
70
+ </updates>
71
+ </layout>
72
+ </adminhtml>
73
+ <global>
74
+ <resources>
75
+ <magesalesforce_setup>
76
+ <setup>
77
+ <module>Thylak_Magesalesforce</module>
78
+ </setup>
79
+ <connection>
80
+ <use>core_setup</use>
81
+ </connection>
82
+ </magesalesforce_setup>
83
+ <magesalesforce_write>
84
+ <connection>
85
+ <use>core_write</use>
86
+ </connection>
87
+ </magesalesforce_write>
88
+ <magesalesforce_read>
89
+ <connection>
90
+ <use>core_read</use>
91
+ </connection>
92
+ </magesalesforce_read>
93
+ </resources>
94
+ <models>
95
+ <magesalesforce>
96
+ <class>Thylak_Magesalesforce_Model</class>
97
+ <resourceModel>magesalesforce_mysql4</resourceModel>
98
+ </magesalesforce>
99
+ <magesalesforce_mysql4>
100
+ <class>Thylak_Magesalesforce_Model_Mysql4</class>
101
+ <entities>
102
+ <profilehistory>
103
+ <table>profilehistory</table>
104
+ </profilehistory>
105
+ <profiletransaction>
106
+ <table>profiletransaction</table>
107
+ </profiletransaction>
108
+ <webservicedetails>
109
+ <table>webservicedetails</table>
110
+ </webservicedetails>
111
+ </entities>
112
+ </magesalesforce_mysql4>
113
+ </models>
114
+ <blocks>
115
+ <magesalesforce>
116
+ <class>Thylak_Magesalesforce_Block</class>
117
+ </magesalesforce>
118
+ </blocks>
119
+ <helpers>
120
+ <magesalesforce>
121
+ <class>Thylak_Magesalesforce_Helper</class>
122
+ </magesalesforce>
123
+ </helpers>
124
+ </global>
125
+ <crontab>
126
+ <jobs>
127
+ <magesalesforce_lead_Leadmap>
128
+ <schedule><cron_expr>* * * * *</cron_expr></schedule>
129
+ <run><model>magesalesforce/lead::syncLead</model></run>
130
+ </magesalesforce_lead_Leadmap>
131
+ </jobs>
132
+ </crontab>
133
+ </config>
134
+
app/code/local/Thylak/Magesalesforce/sql/magesalesforce_setup/mysql4-install-0.1.0.php ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $installer = $this;
4
+
5
+ $installer->startSetup();
6
+
7
+
8
+ $installer->run("
9
+
10
+ -- DROP TABLE IF EXISTS {$this->getTable('profilehistory')};
11
+ CREATE TABLE {$this->getTable('profilehistory')} (
12
+ `id` int(11) NOT NULL AUTO_INCREMENT,
13
+ `totalrecords` int(11) NOT NULL,
14
+ `totalinserted` int(11) NOT NULL,
15
+ `totalupdated` int(11) NOT NULL,
16
+ `status` varchar(50) NOT NULL,
17
+ `startdate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
18
+ `updated_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
19
+ `runtype` varchar(50) NOT NULL,
20
+ `lastfetched` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
21
+ PRIMARY KEY (`id`)
22
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
23
+
24
+ -- DROP TABLE IF EXISTS {$this->getTable('profiletransaction')};
25
+ CREATE TABLE {$this->getTable('profiletransaction')} (
26
+ `id` int(11) NOT NULL AUTO_INCREMENT,
27
+ `batchid` int(11) NOT NULL,
28
+ `mage_id` varchar(50) NOT NULL,
29
+ `lead_id` varchar(100) NOT NULL,
30
+ `order_amt` varchar(100) NOT NULL,
31
+ `order_email` varchar(100) NOT NULL,
32
+ `status` varchar(50) NOT NULL,
33
+ `startdate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
34
+ `updated_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
35
+ PRIMARY KEY (`id`)
36
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
37
+
38
+ -- DROP TABLE IF EXISTS {$this->getTable('webservicedetails')};
39
+ CREATE TABLE {$this->getTable('webservicedetails')} (
40
+ `webservice_id` int(11) NOT NULL DEFAULT '1',
41
+ `securitytoken` varchar(100) NOT NULL,
42
+ `apiname` varchar(100) NOT NULL,
43
+ `apipassword` varchar(100) NOT NULL,
44
+ `licensekey` varchar(100) NOT NULL,
45
+ `licensetype` int(11) NOT NULL DEFAULT '0',
46
+ `profiletype` int(11) NOT NULL DEFAULT '0',
47
+ `checkservice` int(11) NOT NULL DEFAULT '0',
48
+ PRIMARY KEY (`webservice_id`)
49
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
50
+
51
+ INSERT INTO `webservicedetails` (`webservice_id`, `securitytoken`, `apiname`, `apipassword`, `licensekey`, `licensetype`, `profiletype`, `checkservice`) VALUES (1, 'test123', 'test@test.com', 'test', '12345', 0, 0, 0);
52
+
53
+
54
+ ");
55
+
56
+ $installer->endSetup();
app/design/adminhtml/default/default/template/magesalesforce/syncbtn.phtml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <script type="text/javascript">
2
+ function syncLead(popup,flag)
3
+ {
4
+ var url = '<?php echo $this->getUrl('*/*/sync')?>';
5
+ if(flag==1){
6
+ url = url + 'flag/1/';
7
+ }
8
+ if (!popup) {
9
+ $('run_iframe').style.display = 'block';
10
+ $('run_iframe').src = url;
11
+ } else {
12
+ window.open(url);
13
+ }
14
+ }
15
+
16
+ </script>
17
+ <table width="100%"><tr><td>
18
+ <strong>Synchronization Magento Abandoned Orders With Salesforce</strong>
19
+ </td><td style="float:right;">
20
+ <button type="button" onclick="javascript: window.open('http://magento.thylaksoft.com/business/feedback.php')" ><span>Feedback</span></button>
21
+ </td></tr></table>
22
+
23
+ <div id="profile-generator" class="entry-edit profile-generator">
24
+
25
+ <div class="entry-edit-head">
26
+ <h4 class="icon-head head-edit-form fieldset-legend">Salesforce Synchronization</h4>
27
+ </div>
28
+ <div>
29
+ <fieldset>
30
+ <table><tr><td width="450">
31
+ <?php echo $this->getRunButtonHtml() ?>
32
+ </td></tr></table>
33
+ </fieldset>
34
+ </div>
35
+ <div class="entry-edit-head">
36
+ <h4 class="icon-head head-edit-form fieldset-legend">The Following are the default mapping feilds with Mageto to Salesforce</h4>
37
+ </div>
38
+ <div>
39
+ <fieldset>
40
+ <table>
41
+ <tr><td width="200"><strong>Magento Feilds</strong></td><td width="50"><strong><-----></strong></td><td width="200"><strong>SalesForce Feilds</strong></td></tr>
42
+ <tr><td width="200">First Name</td><td width="50"><-----></td><td width="200">First Name</td></tr>
43
+ <tr><td width="200">Last Name</td><td width="50"><-----></td><td width="200">Last Name</td></tr>
44
+ <tr><td width="200">Email Id</td><td width="50"><-----></td><td width="200">Email Id</td></tr>
45
+ <tr><td width="200">Company(default value Thylak)</td><td width="50"><-----></td><td width="200">Company</td></tr>
46
+ <tr><td width="200">Street</td><td width="50"><-----></td><td width="200">Street</td></tr>
47
+ <tr><td width="200">City</td><td width="50"><-----></td><td width="200">City</td></tr>
48
+ <tr><td width="200">State</td><td width="50"><-----></td><td width="200">State</td></tr>
49
+ <tr><td width="200">Postcode</td><td width="50"><-----></td><td width="200">PostalCode</td></tr>
50
+ <tr><td width="200">Country</td><td width="50"><-----></td><td width="200">Country</td></tr>
51
+ <tr><td width="200">Product Details(default value Thylak)</td><td width="50"><-----></td><td width="200">MagentoProduct__c</td></tr>
52
+ </table>
53
+ </fieldset>
54
+ </div>
55
+ </div>
56
+ <iframe id="run_iframe" src="<?php echo $this->getJsUrl() ?>blank.html" frameborder=0 style="display:none; width:100%; height:400px;"></iframe>
app/design/adminhtml/default/default/template/magesalesforce/transaction.phtml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <div class="content-header">
2
+ <table cellspacing="0">
3
+ <tr>
4
+ <td><h3><?php echo Mage::helper('magesalesforce')->__('Batch Transaction Details') ?></h3></td>
5
+ <td style="float:right"><button type="button" class="scalable back" onclick="javascript: history.go(-1)" ><span>Back</span></button><button type="button" onclick="javascript: window.open('http://magento.thylaksoft.com/business/feedback.php')" ><span>Feedback</span></button></td>
6
+ </tr>
7
+ </table>
8
+ </div>
9
+ <?php echo $this->getChildHtml('grid') ?>
app/design/adminhtml/default/default/template/magesalesforce/verifyconnection.phtml ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <table width="100%"><tr><td>
2
+ <strong>Verify Salesforce CRM Connection</strong>
3
+ </td><td style="float:right;">
4
+ <button type="button" onclick="javascript: window.open('http://magento.thylaksoft.com/business/feedback.php')" ><span>Feedback</span></button>
5
+ </td></tr></table>
6
+
7
+ <?php $webservice_details = $this->getWebservicedetails(); ?>
8
+
9
+ <form name="verifyconform" id="verifyconform" method="post" action="<?php echo $this->getUrl('*/*/saveConnection'); ?>" enctype="multipart/form-data">
10
+
11
+ <input name="form_key" type="hidden" value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" />
12
+
13
+
14
+
15
+ <div id="profile-generator" class="entry-edit profile-generator">
16
+
17
+ <div class="entry-edit-head">
18
+ <h4 class="icon-head head-edit-form fieldset-legend">Salesforce CRM Information</h4>
19
+ </div>
20
+ <fieldset>
21
+ <table><tr><td width="450">
22
+ <div>
23
+ <span class="field-row">
24
+ <label for="api_user_name">User Name: <span class="required">*</span></label>
25
+ <input type="text" class="required-entry input-text" id="api_user_name" name="api_user_name" value="<?php echo $webservice_details['apiname']; ?>"/>
26
+ </span>
27
+ <span class="field-row">
28
+ <label for="api_password">Password: <span class="required">*</span></label>
29
+ <input type="password" class="required-entry input-text" id="api_password" name="api_password" value="<?php echo $webservice_details['apipassword']; ?>"/>
30
+ </span>
31
+ <span class="field-row">
32
+ <label for="webservice_name">Security Token: <span class="required">*</span></label>
33
+ <input type="password" class="required-entry input-text" id="security_token" name="security_token" value="<?php echo $webservice_details['securitytoken']; ?>" />
34
+ </span>
35
+ <span class="field-row">
36
+ <label for="type">Connection Type :</label>
37
+ <select name="type" id="type">
38
+ <?php if($webservice_details['profiletype'] == 1){ ?>
39
+ <option value="0">Enterprise Profile</option><option value="1" selected="selected">Partner Profile</option>
40
+ <?php }else{ ?>
41
+ <option value="0">Enterprise Profile</option><option value="1">Partner Profile</option>
42
+ <?php } ?>
43
+ </select>
44
+ </span>
45
+ <span class="field-row">
46
+ <label for="licensekey">Serial Key: <span class="required">*</span></label>
47
+ <input type="password" class="required-entry input-text" id="licensekey" name="licensekey" value="<?php echo $webservice_details['licensekey']; ?>" />&nbsp;<a href="#" onclick="window.open('http://magento.thylaksoft.com/M2SF/getLicense.php?q=<?php echo $_SERVER['SERVER_NAME']; ?>');" alt="getKey">Get Serial Key</a><br />
48
+ </span>
49
+
50
+ <!-- <span class="field-row">
51
+ <label for="licensetype">License Type :</label>
52
+ <select name="licensetype" id="licensetype">
53
+ <?php if($webservice_details['licensetype'] == 1){ ?>
54
+ <option value="0">Trail Version</option><option value="1" selected="selected">Licensed Version</option>
55
+ <?php }else{ ?>
56
+ <option value="0">Trail Version</option><option value="1">Licensed Version</option>
57
+ <?php } ?>
58
+ </select>
59
+ </span> -->
60
+
61
+ <span class="field-row">
62
+ <label for="status">Connection Status :</label>
63
+ <?php if($webservice_details['checkservice'] == '1'){ ?><label for="chkservice" style="color:green;">Connection Successfull</lable><?php } else { ?><label for="chkservice" style="color:red;">Connection Failed</label><?php } ?>
64
+ </span>
65
+ </div>
66
+ </td><td>
67
+ <div>
68
+ <span class="field-row">
69
+ <p>1.Enter Your salesforce account username</p>
70
+ <p>2.Enter Your salesforce account password</p>
71
+ <p>3.Enter Your salesforce account token</p>
72
+ <p>4.Select Your salesforce api connection type</p>
73
+ </span>
74
+
75
+ </div>
76
+
77
+ </td></tr></table>
78
+ </fieldset>
79
+ <div style="float:right">
80
+ <button id="submit" type="submit" ><span>Submit</span></button>
81
+ </div>
82
+
83
+ </div>
84
+
85
+ </form>
86
+
87
+
88
+ <script language="javascript">
89
+
90
+ var magesugarform = new varienForm('verifyconform');
91
+
92
+ </script>
app/etc/modules/Thylak_Magesalesforce.xml ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+
3
+ <config>
4
+ <modules>
5
+ <Thylak_Magesalesforce>
6
+ <active>true</active>
7
+ <codePool>local</codePool>
8
+ </Thylak_Magesalesforce>
9
+ </modules>
10
+ </config>
package.xml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Magento2SalesforceExtesnion</name>
4
+ <version>1.0</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>This extension is used to fetch the abandoned shopping cart from magento and insert into the salesforce as lead data.</summary>
10
+ <description>This extension is used to fetch the abandoned shopping cart from magento and insert into the salesforce as lead data. To use this extension you have to create the one custom field called MagentoProduct__c and link this field with lead object. Then generate the partner and enterprise wsdl files and save it in the php tool kit in appropriate path which is available with this extension.</description>
11
+ <notes>This extension is used to fetch the abandoned shopping cart from magento and insert into the salesforce as lead data.</notes>
12
+ <authors><author><name>Gurumoorthi</name><user>auto-converted</user><email>guru@thylaksoft.com</email></author><author><name>RajeshN</name><user>auto-converted</user><email>rajeshn@thylaksoft.com</email></author></authors>
13
+ <date>2011-07-28</date>
14
+ <time>12:10:01</time>
15
+ <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="magesalesforce"><file name="syncbtn.phtml" hash="bdc6e0dae0b400c0f36c642a28826457"/><file name="transaction.phtml" hash="6563e66ce9fb3b068bf0970bb65ed406"/><file name="verifyconnection.phtml" hash="74ee1eda8a2a75469d4a6b22c3bcfe2f"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Thylak_Magesalesforce.xml" hash="2af738afaa63af4ed50e5dd2a03a05ff"/></dir></target><target name="mage"><dir name="phptoolkit"><file name="userAuth.php" hash="94b60b998957ba0357db6ed406368085"/><dir name="soapclient"><file name="enterprise.wsdl.xml" hash="69e6db10952dae8665d9e08fc35a09a6"/><file name="metadata.wsdl.xml" hash="c55ec74d4fadff80da8bf00b3bd666ce"/><file name="partner.wsdl.xml" hash="98e756474b5e72eae92b29c969522bda"/><file name="ProxySettings.php" hash="1d828218ec5b12686c376a97c11ef8b4"/><file name="SforceBaseClient.php" hash="4d64c85f85253635af8109a43b7adff6"/><file name="SforceEmail.php" hash="6ba9a19e700e92c7b1f0413bbac1d417"/><file name="SforceEnterpriseClient.php" hash="cca7cbb7695cc8730f75641e85658a31"/><file name="SforceFieldTypes.php" hash="402289ad37b7fa24442919dbfc59fd18"/><file name="SforceHeaderOptions.php" hash="de6672b2d556ffcc7a320c259d94142e"/><file name="SforceMetadataClient.php" hash="7c8024327c550e790e9fef70378c567f"/><file name="SforceMetaObject.php" hash="19be7d3900770a4b29860e11f23353f3"/><file name="SforcePartnerClient.php" hash="dba0fc92187071f334cb8a355b2a86b0"/><file name="SforceProcessRequest.php" hash="84e3a68dd73adf6dd76a4caeef0a533d"/></dir></dir><dir name="."><file name="M2SFinstallation.txt" hash="9b2e2026c9a3c75a3b8b649e180ca56a"/></dir></target><target name="magelocal"><dir name="Thylak"><dir name="Magesalesforce"><dir name="Block"><dir name="Adminhtml"><file name="Magesalesforce.php" hash="4e93cbf50f53770e1318fd425fd7c6e5"/><dir name="Magesalesforce"><file name="Grid.php" hash="7e395584b72d756fa7fccacfa7eb96ec"/><file name="Syncbtn.php" hash="fe508bdd0904104c37bc59ebea965b60"/><file name="Transaction.php" hash="c732c211d541b44dde50d148f3f2b9ed"/><file name="Verifyconnection.php" hash="cf8c7a3f147881fbd3e150a0951881a9"/><dir name="Transaction"><file name="Grid.php" hash="8b0c791336cac8638956df88ec6b79dc"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="MagesalesforceController.php" hash="d5557c667d1d6aa1bd4ff9630b85ba99"/></dir></dir><dir name="etc"><file name="config.xml" hash="3e623929fd7d32bbe965b926887fbe3d"/></dir><dir name="Helper"><file name="Data.php" hash="df07dbd18479b1ff1592084b82891df3"/></dir><dir name="Model"><file name="Lead.php" hash="f1afc110202e08ae515595c876166f14"/><file name="Profilehistory.php" hash="cde475ea237ae44562f08a43519c3a47"/><file name="Profiletransaction.php" hash="a8f29796f9330306cb5b69481ccdef91"/><file name="Webservicedetails.php" hash="58f425f0801da63557629377f71ff5ca"/><dir name="Mysql4"><file name="Profilehistory.php" hash="e8afe391b3d02acae153ba5cfa62f66c"/><file name="Profiletransaction.php" hash="0f4526c60dd020d58a2954c9e2cd4f2b"/><file name="Webservicedetails.php" hash="c8e94f63ab9f60a8c8da3926f333ad40"/><dir name="Profilehistory"><file name="Collection.php" hash="50d57becba6d507cc548e7c01638537e"/></dir><dir name="Profiletransaction"><file name="Collection.php" hash="48d28345506cf9b9732a5224dee9d822"/></dir><dir name="Webservicedetails"><file name="Collection.php" hash="5fffed473fc3dff2a5b275a3195fd83a"/></dir></dir></dir><dir name="sql"><dir name="magesalesforce_setup"><file name="mysql4-install-0.1.0.php" hash="1b50a035c6e3e3afefe8522442b9d712"/></dir></dir></dir></dir></target></contents>
16
+ <compatible/>
17
+ <dependencies/>
18
+ </package>
phptoolkit/soapclient/ProxySettings.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class ProxySettings {
3
+ public $host;
4
+ public $port;
5
+ public $login;
6
+ public $password;
7
+ }
8
+ ?>
phptoolkit/soapclient/SforceBaseClient.php ADDED
@@ -0,0 +1,784 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Copyright (c) 2007, salesforce.com, inc.
4
+ * All rights reserved.
5
+ *
6
+ * Redistribution and use in source and binary forms, with or without modification, are permitted provided
7
+ * that the following conditions are met:
8
+ *
9
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the
10
+ * following disclaimer.
11
+ *
12
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
13
+ * the following disclaimer in the documentation and/or other materials provided with the distribution.
14
+ *
15
+ * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to endorse or
16
+ * promote products derived from this software without specific prior written permission.
17
+ *
18
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
19
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
20
+ * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
21
+ * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
22
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
24
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25
+ * POSSIBILITY OF SUCH DAMAGE.
26
+ */
27
+ require_once ('SforceEmail.php');
28
+ require_once ('SforceProcessRequest.php');
29
+ require_once ('ProxySettings.php');
30
+ require_once ('SforceHeaderOptions.php');
31
+
32
+
33
+ /**
34
+ * This file contains one class.
35
+ * @package SalesforceSoapClient
36
+ */
37
+ /**
38
+ * SalesforceSoapClient
39
+ * @package SalesforceSoapClient
40
+ */
41
+ class SforceBaseClient {
42
+ protected $sforce;
43
+ protected $sessionId;
44
+ protected $location;
45
+ protected $version = '11.0';
46
+
47
+ protected $namespace;
48
+
49
+ // Header Options
50
+ protected $callOptions;
51
+ protected $assignmentRuleHeader;
52
+ protected $emailHeader;
53
+ protected $loginScopeHeader;
54
+ protected $mruHeader;
55
+ protected $queryHeader;
56
+ protected $userTerritoryDeleteHeader;
57
+ protected $sessionHeader;
58
+
59
+ public function getNamespace() {
60
+ return $this->namespace;
61
+ }
62
+
63
+
64
+ // clientId specifies which application or toolkit is accessing the
65
+ // salesforce.com API. For applications that are certified salesforce.com
66
+ // solutions, replace this with the value provided by salesforce.com.
67
+ // Otherwise, leave this value as 'phpClient/1.0'.
68
+ protected $client_id;
69
+
70
+ public function printDebugInfo() {
71
+ echo "PHP Toolkit Version: $this->version\r\n";
72
+ echo 'Current PHP version: ' . phpversion();
73
+ echo "\r\n";
74
+ echo 'SOAP enabled: ';
75
+ if (extension_loaded('soap')) {
76
+ echo 'True';
77
+ } else {
78
+ echo 'False';
79
+ }
80
+ echo "\r\n";
81
+ echo 'OpenSSL enabled: ';
82
+ if (extension_loaded('openssl')) {
83
+ echo 'True';
84
+ } else {
85
+ echo 'False';
86
+ }
87
+ }
88
+
89
+ /**
90
+ * Connect method to www.salesforce.com
91
+ *
92
+ * @param string $wsdl Salesforce.com Partner WSDL
93
+ */
94
+ public function createConnection($wsdl, $proxy=null) {
95
+ $_SERVER['HTTP_USER_AGENT'] = 'Salesforce/PHPToolkit/1.0';
96
+
97
+ $soapClientArray = null;
98
+ if (phpversion() > '5.1.2') {
99
+ $soapClientArray = array (
100
+ 'encoding' => 'utf-8',
101
+ 'trace' => 1,
102
+ 'compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP
103
+ );
104
+ } else {
105
+ $soapClientArray = array (
106
+ 'encoding' => 'utf-8',
107
+ 'trace' => 1
108
+ );
109
+ }
110
+
111
+ if ($proxy != null) {
112
+ $proxySettings = array();
113
+ $proxySettings['proxy_host'] = $proxy->host;
114
+ $proxySettings['proxy_port'] = $proxy->port; // Use an integer, not a string
115
+ $proxySettings['proxy_login'] = $proxy->login;
116
+ $proxySettings['proxy_password'] = $proxy->password;
117
+
118
+ $soapClientArray = array_merge($soapClientArray, $proxySettings);
119
+ }
120
+
121
+ $this->sforce = new SoapClient($wsdl, $soapClientArray);
122
+ return $this->sforce;
123
+ }
124
+
125
+ public function setCallOptions($header) {
126
+ if ($header != NULL) {
127
+ $this->callOptions = new SoapHeader($this->namespace, 'CallOptions', array (
128
+ 'client' => $header->client,
129
+ 'defaultNamespace' => $header->defaultNamespace
130
+ ));
131
+ } else {
132
+ $this->callOptions = NULL;
133
+ }
134
+ }
135
+
136
+ /**
137
+ * Login to Salesforce.com and starts a client session.
138
+ *
139
+ * @param string $username Username
140
+ * @param string $password Password
141
+ *
142
+ * @return LoginResult
143
+ */
144
+ public function login($username, $password) {
145
+ $this->sforce->__setSoapHeaders(NULL);
146
+ if ($this->callOptions != NULL) {
147
+ $this->sforce->__setSoapHeaders(array($this->callOptions));
148
+ }
149
+ if ($this->loginScopeHeader != NULL) {
150
+ $this->sforce->__setSoapHeaders(array($this->loginScopeHeader));
151
+ }
152
+ $result = $this->sforce->login(array (
153
+ 'username' => $username,
154
+ 'password' => $password
155
+ ));
156
+ $result = $result->result;
157
+ $this->_setLoginHeader($result);
158
+ return $result;
159
+ }
160
+
161
+ /**
162
+ * log outs from the salseforce system`
163
+ *
164
+ * @return LogoutResult
165
+ */
166
+ public function logout() {
167
+ $this->setHeaders("logout");
168
+ $arg = new stdClass;
169
+ return $this->sforce->logout();
170
+ }
171
+
172
+ /**
173
+ *invalidate Sessions from the salseforce system`
174
+ *
175
+ * @return invalidateSessionsResult
176
+ */
177
+ public function invalidateSessions() {
178
+ $this->setHeaders("invalidateSessions");
179
+ $arg = new stdClass;
180
+ $this->logout();
181
+ return $this->sforce->invalidateSessions();
182
+ }
183
+
184
+ /**
185
+ * Specifies the session ID returned from the login server after a successful
186
+ * login.
187
+ */
188
+ protected function _setLoginHeader($loginResult) {
189
+ $this->sessionId = $loginResult->sessionId;
190
+ $this->setSessionHeader($this->sessionId);
191
+ $serverURL = $loginResult->serverUrl;
192
+ $this->setEndPoint($serverURL);
193
+ }
194
+
195
+ /**
196
+ * Set the endpoint.
197
+ *
198
+ * @param string $location Location
199
+ */
200
+ public function setEndpoint($location) {
201
+ $this->location = $location;
202
+ $this->sforce->__setLocation($location);
203
+ }
204
+
205
+ private function setHeaders($call=NULL) {
206
+ $this->sforce->__setSoapHeaders(NULL);
207
+ $header_array = array (
208
+ $this->sessionHeader
209
+ );
210
+
211
+ $header = $this->callOptions;
212
+ if ($header != NULL) {
213
+ array_push($header_array, $header);
214
+ }
215
+
216
+ if ($call == "create" ||
217
+ $call == "merge" ||
218
+ $call == "update" ||
219
+ $call == "upsert"
220
+ ) {
221
+ $header = $this->assignmentRuleHeader;
222
+ if ($header != NULL) {
223
+ array_push($header_array, $header);
224
+ }
225
+ }
226
+
227
+ if ($call == "login") {
228
+ $header = $this->loginScopeHeader;
229
+ if ($header != NULL) {
230
+ array_push($header_array, $header);
231
+ }
232
+ }
233
+
234
+ if ($call == "create" ||
235
+ $call == "resetPassword" ||
236
+ $call == "update" ||
237
+ $call == "upsert"
238
+ ) {
239
+ $header = $this->emailHeader;
240
+ if ($header != NULL) {
241
+ array_push($header_array, $header);
242
+ }
243
+ }
244
+
245
+ if ($call == "create" ||
246
+ $call == "merge" ||
247
+ $call == "query" ||
248
+ $call == "retrieve" ||
249
+ $call == "update" ||
250
+ $call == "upsert"
251
+ ) {
252
+ $header = $this->mruHeader;
253
+ if ($header != NULL) {
254
+ array_push($header_array, $header);
255
+ }
256
+ }
257
+
258
+ if ($call == "delete") {
259
+ $header = $this->userTerritoryDeleteHeader;
260
+ if ($header != NULL) {
261
+ array_push($header_array, $header);
262
+ }
263
+ }
264
+
265
+ if ($call == "query" ||
266
+ $call == "queryMore" ||
267
+ $call == "retrieve") {
268
+ $header = $this->queryHeader;
269
+ if ($header != NULL) {
270
+ array_push($header_array, $header);
271
+ }
272
+ }
273
+ $this->sforce->__setSoapHeaders($header_array);
274
+ }
275
+
276
+ public function setAssignmentRuleHeader($header) {
277
+ if ($header != NULL) {
278
+ $this->assignmentRuleHeader = new SoapHeader($this->namespace, 'AssignmentRuleHeader', array (
279
+ 'assignmentRuleId' => $header->assignmentRuleId,
280
+ 'useDefaultRule' => $header->useDefaultRuleFlag
281
+ ));
282
+ } else {
283
+ $this->assignmentRuleHeader = NULL;
284
+ }
285
+ }
286
+
287
+ public function setEmailHeader($header) {
288
+ if ($header != NULL) {
289
+ $this->emailHeader = new SoapHeader($this->namespace, 'EmailHeader', array (
290
+ 'triggerAutoResponseEmail' => $header->triggerAutoResponseEmail,
291
+ 'triggerOtherEmail' => $header->triggerOtherEmail,
292
+ 'triggerUserEmail' => $header->triggerUserEmail
293
+ ));
294
+ } else {
295
+ $this->emailHeader = NULL;
296
+ }
297
+ }
298
+
299
+ public function setLoginScopeHeader($header) {
300
+ if ($header != NULL) {
301
+ $this->loginScopeHeader = new SoapHeader($this->namespace, 'LoginScopeHeader', array (
302
+ 'organizationId' => $header->organizationId,
303
+ 'portalId' => $header->portalId
304
+ ));
305
+ } else {
306
+ $this->loginScopeHeader = NULL;
307
+ }
308
+ //$this->setHeaders('login');
309
+ }
310
+
311
+ public function setMruHeader($header) {
312
+ if ($header != NULL) {
313
+ $this->mruHeader = new SoapHeader($this->namespace, 'MruHeader', array (
314
+ 'updateMru' => $header->updateMruFlag
315
+ ));
316
+ } else {
317
+ $this->mruHeader = NULL;
318
+ }
319
+ }
320
+
321
+ public function setSessionHeader($id) {
322
+ if ($id != NULL) {
323
+ $this->sessionHeader = new SoapHeader($this->namespace, 'SessionHeader', array (
324
+ 'sessionId' => $id
325
+ ));
326
+ $this->sessionId = $id;
327
+ } else {
328
+ $this->sessionHeader = NULL;
329
+ $this->sessionId = NULL;
330
+ }
331
+ }
332
+
333
+ public function setUserTerritoryDeleteHeader($header) {
334
+ if ($header != NULL) {
335
+ $this->serTerritoryDeleteHeader = new SoapHeader($this->namespace, 'UserTerritoryDeleteHeader ', array (
336
+ 'transferToUserId ' => $header->transferToUserId
337
+ ));
338
+ } else {
339
+ $this->mruHeader = NULL;
340
+ }
341
+ }
342
+
343
+ public function setQueryOptions($header) {
344
+ if ($header != NULL) {
345
+ $this->queryHeader = new SoapHeader($this->namespace, 'QueryOptions', array (
346
+ 'batchSize' => $header->batchSize
347
+ ));
348
+ } else {
349
+ $this->queryHeader = NULL;
350
+ }
351
+ }
352
+
353
+ public function getSessionId() {
354
+ return $this->sessionId;
355
+ }
356
+
357
+ public function getLocation() {
358
+ return $this->location;
359
+ }
360
+
361
+ public function getConnection() {
362
+ return $this->sforce;
363
+ }
364
+
365
+ public function getFunctions() {
366
+ return $this->sforce->__getFunctions();
367
+ }
368
+
369
+ public function getTypes() {
370
+ return $this->sforce->__getTypes();
371
+ }
372
+
373
+ public function getLastRequest() {
374
+ return $this->sforce->__getLastRequest();
375
+ }
376
+
377
+ public function getLastRequestHeaders() {
378
+ return $this->sforce->__getLastRequestHeaders();
379
+ }
380
+
381
+ public function getLastResponse() {
382
+ return $this->sforce->__getLastResponse();
383
+ }
384
+
385
+ public function getLastResponseHeaders() {
386
+ return $this->sforce->__getLastResponseHeaders();
387
+ }
388
+
389
+ protected function _convertToAny($fields) {
390
+ $anyString = '';
391
+ foreach ($fields as $key => $value) {
392
+ $anyString = $anyString . '<' . $key . '>' . $value . '</' . $key . '>';
393
+ }
394
+ return $anyString;
395
+ }
396
+
397
+ protected function _create($arg) {
398
+ $this->setHeaders("create");
399
+ return $this->sforce->create($arg)->result;
400
+ }
401
+
402
+ protected function _merge($arg) {
403
+ $this->setHeaders("merge");
404
+ return $this->sforce->merge($arg)->result;
405
+ }
406
+
407
+ protected function _process($arg) {
408
+ $this->setHeaders();
409
+ return $this->sforce->process($arg)->result;
410
+ }
411
+
412
+ protected function _update($arg) {
413
+ $this->setHeaders("update");
414
+ return $this->sforce->update($arg)->result;
415
+ }
416
+
417
+ protected function _upsert($arg) {
418
+ $this->setHeaders("upsert");
419
+ return $this->sforce->upsert($arg)->result;
420
+ }
421
+
422
+ public function sendSingleEmail($request) {
423
+ if (is_array($request)) {
424
+ $messages = array();
425
+ foreach ($request as $r) {
426
+ $email = new SoapVar($r, SOAP_ENC_OBJECT, 'SingleEmailMessage', $this->namespace);
427
+ array_push($messages, $email);
428
+ }
429
+ $arg->messages = $messages;
430
+ return $this->_sendEmail($arg);
431
+ } else {
432
+ $backtrace = debug_backtrace();
433
+ die('Please pass in array to this function: '.$backtrace[0]['function']);
434
+ }
435
+ }
436
+
437
+ public function sendMassEmail($request) {
438
+ if (is_array($request)) {
439
+ $messages = array();
440
+ foreach ($request as $r) {
441
+ $email = new SoapVar($r, SOAP_ENC_OBJECT, 'MassEmailMessage', $this->namespace);
442
+ array_push($messages, $email);
443
+ }
444
+ $arg->messages = $messages;
445
+ return $this->_sendEmail($arg);
446
+ } else {
447
+ $backtrace = debug_backtrace();
448
+ die('Please pass in array to this function: '.$backtrace[0]['function']);
449
+ }
450
+ }
451
+
452
+ protected function _sendEmail($arg) {
453
+ $this->setHeaders();
454
+ return $this->sforce->sendEmail($arg)->result;
455
+ }
456
+
457
+ /**
458
+ * Converts a Lead into an Account, Contact, or (optionally) an Opportunity.
459
+ *
460
+ * @param array $leadConverts Array of LeadConvert
461
+ *
462
+ * @return LeadConvertResult
463
+ */
464
+ public function convertLead($leadConverts) {
465
+ $this->setHeaders("convertLead");
466
+ $arg = new stdClass;
467
+ $arg->leadConverts = $leadConverts;
468
+ return $this->sforce->convertLead($arg);
469
+ }
470
+
471
+ /**
472
+ * Deletes one or more new individual objects to your organization's data.
473
+ *
474
+ * @param array $ids Array of fields
475
+ * @return DeleteResult
476
+ */
477
+ public function delete($ids) {
478
+ $this->setHeaders("delete");
479
+ $arg = new stdClass;
480
+ $arg->ids = $ids;
481
+ return $this->sforce->delete($arg)->result;
482
+ }
483
+
484
+ /**
485
+ * Deletes one or more new individual objects to your organization's data.
486
+ *
487
+ * @param array $ids Array of fields
488
+ * @return DeleteResult
489
+ */
490
+ public function undelete($ids) {
491
+ $this->setHeaders("undelete");
492
+ $arg = new stdClass;
493
+ $arg->ids = $ids;
494
+ return $this->sforce->undelete($arg)->result;
495
+ }
496
+
497
+ /**
498
+ * Deletes one or more new individual objects to your organization's data.
499
+ *
500
+ * @param array $ids Array of fields
501
+ * @return DeleteResult
502
+ */
503
+ public function emptyRecycleBin($ids) {
504
+ $this->setHeaders();
505
+ $arg = new stdClass;
506
+ $arg->ids = $ids;
507
+ return $this->sforce->emptyRecycleBin($arg)->result;
508
+ }
509
+
510
+ /**
511
+ * Process Submit Request for Approval
512
+ *
513
+ * @param array $processRequestArray
514
+ * @return ProcessResult
515
+ */
516
+ public function processSubmitRequest($processRequestArray) {
517
+ if (is_array($processRequestArray)) {
518
+ foreach ($processRequestArray as &$process) {
519
+ $process = new SoapVar($process, SOAP_ENC_OBJECT, 'ProcessSubmitRequest', $this->namespace);
520
+ }
521
+ $arg->actions = $processRequestArray;
522
+ return $this->_process($arg);
523
+ } else {
524
+ $backtrace = debug_backtrace();
525
+ die('Please pass in array to this function: '.$backtrace[0]['function']);
526
+ }
527
+ }
528
+
529
+ /**
530
+ * Process Work Item Request for Approval
531
+ *
532
+ * @param array $processRequestArray
533
+ * @return ProcessResult
534
+ */
535
+ public function processWorkitemRequest($processRequestArray) {
536
+ if (is_array($processRequestArray)) {
537
+ foreach ($processRequestArray as &$process) {
538
+ $process = new SoapVar($process, SOAP_ENC_OBJECT, 'ProcessWorkitemRequest', $this->namespace);
539
+ }
540
+ $arg->actions = $processRequestArray;
541
+ return $this->_process($arg);
542
+ } else {
543
+ $backtrace = debug_backtrace();
544
+ die('Please pass in array to this function: '.$backtrace[0]['function']);
545
+ }
546
+ }
547
+
548
+ /**
549
+ * Retrieves a list of available objects for your organization's data.
550
+ *
551
+ * @return DescribeGlobalResult
552
+ */
553
+ public function describeGlobal() {
554
+ $this->setHeaders("describeGlobal");
555
+ return $this->sforce->describeGlobal()->result;
556
+ }
557
+
558
+ /**
559
+ * Use describeLayout to retrieve information about the layout (presentation
560
+ * of data to users) for a given object type. The describeLayout call returns
561
+ * metadata about a given page layout, including layouts for edit and
562
+ * display-only views and record type mappings. Note that field-level security
563
+ * and layout editability affects which fields appear in a layout.
564
+ *
565
+ * @param string Type Object Type
566
+ * @return DescribeLayoutResult
567
+ */
568
+ public function describeLayout($type) {
569
+ $this->setHeaders("describeLayout");
570
+ $arg = new stdClass;
571
+ $arg->sObjectType = new SoapVar($type, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema');
572
+ return $this->sforce->describeLayout($arg)->result;
573
+ }
574
+
575
+ /**
576
+ * Describes metadata (field list and object properties) for the specified
577
+ * object.
578
+ *
579
+ * @param string $type Object type
580
+ * @return DescribsSObjectResult
581
+ */
582
+ public function describeSObject($type) {
583
+ $this->setHeaders("describeSObject");
584
+ $arg = new stdClass;
585
+ $arg->sObjectType = new SoapVar($type, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema');
586
+ return $this->sforce->describeSObject($arg)->result;
587
+ }
588
+
589
+ /**
590
+ * An array-based version of describeSObject; describes metadata (field list
591
+ * and object properties) for the specified object or array of objects.
592
+ *
593
+ * @param array $arrayOfTypes Array of object types.
594
+ * @return DescribsSObjectResult
595
+ */
596
+ public function describeSObjects($arrayOfTypes) {
597
+ $this->setHeaders("describeSObjects");
598
+ return $this->sforce->describeSObjects($arrayOfTypes)->result;
599
+ }
600
+
601
+ /**
602
+ * The describeTabs call returns information about the standard apps and
603
+ * custom apps, if any, available for the user who sends the call, including
604
+ * the list of tabs defined for each app.
605
+ *
606
+ * @return DescribeTabSetResult
607
+ */
608
+ public function describeTabs() {
609
+ $this->setHeaders("describeTabs");
610
+ return $this->sforce->describeTabs()->result;
611
+ }
612
+
613
+ /**
614
+ * Retrieves the list of individual objects that have been deleted within the
615
+ * given timespan for the specified object.
616
+ *
617
+ * @param string $type Ojbect type
618
+ * @param date $startDate Start date
619
+ * @param date $endDate End Date
620
+ * @return GetDeletedResult
621
+ */
622
+ public function getDeleted($type, $startDate, $endDate) {
623
+ $this->setHeaders("getDeleted");
624
+ $arg = new stdClass;
625
+ $arg->sObjectType = new SoapVar($type, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema');
626
+ $arg->startDate = $startDate;
627
+ $arg->endDate = $endDate;
628
+ return $this->sforce->getDeleted($arg)->result;
629
+ }
630
+
631
+ /**
632
+ * Retrieves the list of individual objects that have been updated (added or
633
+ * changed) within the given timespan for the specified object.
634
+ *
635
+ * @param string $type Ojbect type
636
+ * @param date $startDate Start date
637
+ * @param date $endDate End Date
638
+ * @return GetUpdatedResult
639
+ */
640
+ public function getUpdated($type, $startDate, $endDate) {
641
+ $this->setHeaders("getUpdated");
642
+ $arg = new stdClass;
643
+ $arg->sObjectType = new SoapVar($type, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema');
644
+ $arg->startDate = $startDate;
645
+ $arg->endDate = $endDate;
646
+ return $this->sforce->getUpdated($arg)->result;
647
+ }
648
+
649
+ /**
650
+ * Executes a query against the specified object and returns data that matches
651
+ * the specified criteria.
652
+ *
653
+ * @param String $query Query String
654
+ * @param QueryOptions $queryOptions Batch size limit. OPTIONAL
655
+ * @return QueryResult
656
+ */
657
+ public function query($query) {
658
+ $this->setHeaders("query");
659
+ $QueryResult = $this->sforce->query(array (
660
+ 'queryString' => $query
661
+ ))->result;
662
+ $this->_handleRecords($QueryResult);
663
+ return $QueryResult;
664
+ }
665
+
666
+ /**
667
+ * Retrieves the next batch of objects from a query.
668
+ *
669
+ * @param QueryLocator $queryLocator Represents the server-side cursor that tracks the current processing location in the query result set.
670
+ * @param QueryOptions $queryOptions Batch size limit. OPTIONAL
671
+ * @return QueryResult
672
+ */
673
+ public function queryMore($queryLocator) {
674
+ $this->setHeaders("queryMore");
675
+ $arg = new stdClass;
676
+ $arg->queryLocator = $queryLocator;
677
+ $QueryResult = $this->sforce->queryMore($arg)->result;
678
+ $this->_handleRecords($QueryResult);
679
+ return $QueryResult;
680
+ }
681
+
682
+ /**
683
+ * Retrieves data from specified objects, whether or not they have been deleted.
684
+ *
685
+ * @param String $query Query String
686
+ * @param QueryOptions $queryOptions Batch size limit. OPTIONAL
687
+ * @return QueryResult
688
+ */
689
+ public function queryAll($query, $queryOptions = NULL) {
690
+ $this->setHeaders("queryAll");
691
+ $QueryResult = $this->sforce->queryAll(array (
692
+ 'queryString' => $query
693
+ ))->result;
694
+ $this->_handleRecords($QueryResult);
695
+ return $QueryResult;
696
+ }
697
+
698
+
699
+ private function _handleRecords(& $QueryResult) {
700
+ if ($QueryResult->size > 0) {
701
+ if ($QueryResult->size == 1) {
702
+ $recs = array (
703
+ $QueryResult->records
704
+ );
705
+ } else {
706
+ $recs = $QueryResult->records;
707
+ }
708
+ $QueryResult->records = $recs;
709
+ }
710
+ }
711
+
712
+ /**
713
+ * Retrieves one or more objects based on the specified object IDs.
714
+ *
715
+ * @param string $fieldList One or more fields separated by commas.
716
+ * @param string $sObjectType Object from which to retrieve data.
717
+ * @param array $ids Array of one or more IDs of the objects to retrieve.
718
+ * @return sObject[]
719
+ */
720
+ public function retrieve($fieldList, $sObjectType, $ids) {
721
+ $this->setHeaders("retrieve");
722
+ $arg = new stdClass;
723
+ $arg->fieldList = $fieldList;
724
+ $arg->sObjectType = new SoapVar($sObjectType, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema');
725
+ $arg->ids = $ids;
726
+ return $this->sforce->retrieve($arg)->result;
727
+ }
728
+
729
+ /**
730
+ * Executes a text search in your organization's data.
731
+ *
732
+ * @param string $searchString Search string that specifies the text expression to search for.
733
+ * @return SearchResult
734
+ */
735
+ public function search($searchString) {
736
+ $this->setHeaders("search");
737
+ $arg = new stdClass;
738
+ $arg->searchString = new SoapVar($searchString, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema');
739
+ return $this->sforce->search($arg)->result;
740
+ }
741
+
742
+ /**
743
+ * Retrieves the current system timestamp (GMT) from the Web service.
744
+ *
745
+ * @return timestamp
746
+ */
747
+ public function getServerTimestamp() {
748
+ $this->setHeaders("getServerTimestamp");
749
+ return $this->sforce->getServerTimestamp()->result;
750
+ }
751
+
752
+ public function getUserInfo() {
753
+ $this->setHeaders("getUserInfo");
754
+ return $this->sforce->getUserInfo()->result;
755
+ }
756
+
757
+ /**
758
+ * Sets the specified user's password to the specified value.
759
+ *
760
+ * @param string $userId ID of the User.
761
+ * @param string $password New password
762
+ */
763
+ public function setPassword($userId, $password) {
764
+ $this->setHeaders("setPassword");
765
+ $arg = new stdClass;
766
+ $arg->userId = new SoapVar($userId, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema');
767
+ $arg->password = $password;
768
+ return $this->sforce->setPassword($arg);
769
+ }
770
+
771
+ /**
772
+ * Changes a user's password to a system-generated value.
773
+ *
774
+ * @param string $userId Id of the User
775
+ * @return password
776
+ */
777
+ public function resetPassword($userId) {
778
+ $this->setHeaders("resetPassword");
779
+ $arg = new stdClass;
780
+ $arg->userId = new SoapVar($userId, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema');
781
+ return $this->sforce->resetPassword($arg)->result;
782
+ }
783
+ }
784
+ ?>
phptoolkit/soapclient/SforceEmail.php ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ define ("EMAIL_PRIORITY_HIGHEST", 'Highest');
3
+ define ("EMAIL_PRIORITY_HIGH", 'High');
4
+ define ("EMAIL_PRIORITY_NORMAL", 'Normal');
5
+ define ("EMAIL_PRIORITY_LOW", 'Low');
6
+ define ("EMAIL_PRIORITY_LOWEST", 'Lowest');
7
+
8
+ class Email {
9
+ public function setBccSender($bccSender) {
10
+ $this->bccSender = $bccSender;
11
+ }
12
+
13
+ public function setEmailPriority($priority) {
14
+ $this->emailPriority = $priority;
15
+ }
16
+
17
+ public function setSubject($subject) {
18
+ $this->subject = $subject;
19
+ }
20
+
21
+ public function setSaveAsActivity($saveAsActivity) {
22
+ $this->saveAsActivity = $saveAsActivity;
23
+ }
24
+
25
+ public function setReplyTo($replyTo) {
26
+ $this->replyTo = $replyTo;
27
+ }
28
+
29
+ public function setUseSignature($useSignature) {
30
+ $this->useSignature = $useSignature;
31
+ }
32
+
33
+ public function setSenderDisplayName($name) {
34
+ $this->senderDisplayName = $name;
35
+ }
36
+ }
37
+
38
+ class SingleEmailMessage extends Email {
39
+ public function __construct() {}
40
+
41
+
42
+ public function setBccAddresses($addresses) {
43
+ $this->bccAddresses = $addresses;
44
+ }
45
+ public $ccAddresses;
46
+
47
+ public function setCcAddresses($addresses) {
48
+ $this->ccAddresses = $addresses;
49
+ }
50
+
51
+ public function setCharset($charset) {
52
+ $this->charset = $charset;
53
+ }
54
+
55
+ public function setHtmlBody($htmlBody) {
56
+ $this->htmlBody = $htmlBody;
57
+ }
58
+
59
+ public function setPlainTextBody($plainTextBody) {
60
+ $this->plainTextBody = $plainTextBody;
61
+ }
62
+
63
+ public function setTargetObjectId($targetObjectId) {
64
+ $this->targetObjectId = $targetObjectId;
65
+ }
66
+
67
+ public function setTemplateId($templateId) {
68
+ $this->templateId = $templateId;
69
+ }
70
+
71
+ public function setToAddresses($array) {
72
+ $this->toAddresses = $array;
73
+ }
74
+
75
+ public function setWhatId($whatId) {
76
+ $this->whatId = $whatId;
77
+ }
78
+
79
+ public function setFileAttachments($array) {
80
+ $this->fileAttachments = $array;
81
+ }
82
+
83
+ public function setDocumentAttachments($array) {
84
+ $this->documentAttachments = $array;
85
+ }
86
+ }
87
+
88
+ class MassEmailMessage extends Email {
89
+ public function setTemplateId($templateId) {
90
+ $this->templateId = $templateId;
91
+ }
92
+
93
+ public function setWhatIds($array) {
94
+ $this->whatIds = $array;
95
+ }
96
+
97
+ public function setTargetObjectIds($array) {
98
+ $this->targetObjectIds = $array;
99
+ }
100
+ }
101
+ ?>
phptoolkit/soapclient/SforceEnterpriseClient.php ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Copyright (c) 2007, salesforce.com, inc.
4
+ * All rights reserved.
5
+ *
6
+ * Redistribution and use in source and binary forms, with or without modification, are permitted provided
7
+ * that the following conditions are met:
8
+ *
9
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the
10
+ * following disclaimer.
11
+ *
12
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
13
+ * the following disclaimer in the documentation and/or other materials provided with the distribution.
14
+ *
15
+ * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to endorse or
16
+ * promote products derived from this software without specific prior written permission.
17
+ *
18
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
19
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
20
+ * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
21
+ * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
22
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
24
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25
+ * POSSIBILITY OF SUCH DAMAGE.
26
+ */
27
+ require_once ('SforceBaseClient.php');
28
+
29
+ /**
30
+ * This file contains two classes.
31
+ * @package SalesforceSoapClient
32
+ */
33
+ /**
34
+ * SforceEnterpriseClient class.
35
+ *
36
+ * @package SalesforceSoapClient
37
+ */
38
+ class SforceEnterpriseClient extends SforceBaseClient {
39
+ const ENTERPRISE_NAMESPACE = 'urn:enterprise.soap.sforce.com';
40
+
41
+ function SforceEnterpriseClient() {
42
+ $this->namespace = self::ENTERPRISE_NAMESPACE;
43
+ }
44
+
45
+ /**
46
+ * Adds one or more new individual objects to your organization's data.
47
+ * @param array $sObjects Array of one or more sObjects (up to 200) to create.
48
+ * @param AssignmentRuleHeader $assignment_header is optional. Defaults to NULL
49
+ * @param MruHeader $mru_header is optional. Defaults to NULL
50
+ * @return SaveResult
51
+ */
52
+ public function create($sObjects, $type) {
53
+ foreach ($sObjects as &$sobject) {
54
+ $sobject = new SoapVar($sobject, SOAP_ENC_OBJECT, $type, $this->namespace);
55
+ }
56
+ $arg = $sObjects;
57
+
58
+ return parent::_create(new SoapParam($arg, "sObjects"));
59
+ }
60
+
61
+ /**
62
+ * Updates one or more new individual objects to your organization's data.
63
+ * @param array sObjects Array of sObjects
64
+ * @param AssignmentRuleHeader $assignment_header is optional. Defaults to NULL
65
+ * @param MruHeader $mru_header is optional. Defaults to NULL
66
+ * @return UpdateResult
67
+ */
68
+ public function update($sObjects, $type, $assignment_header = NULL, $mru_header = NULL) {
69
+ foreach ($sObjects as &$sObject) {
70
+ $sObject = new SoapVar($sObject, SOAP_ENC_OBJECT, $type, $this->namespace);
71
+ }
72
+ $arg->sObjects = $sObjects;
73
+ return parent::_update($arg);
74
+ }
75
+
76
+ /**
77
+ * Creates new objects and updates existing objects; uses a custom field to
78
+ * determine the presence of existing objects. In most cases, we recommend
79
+ * that you use upsert instead of create because upsert is idempotent.
80
+ * Available in the API version 7.0 and later.
81
+ *
82
+ * @param string $ext_Id External Id
83
+ * @param array $sObjects Array of sObjects
84
+ * @return UpsertResult
85
+ */
86
+ public function upsert($ext_Id, $sObjects) {
87
+ $arg = new stdClass;
88
+ $arg->externalIDFieldName = new SoapVar($ext_Id, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema');
89
+ foreach ($sObjects as &$sObject) {
90
+ $sObject = new SoapVar($sObject, SOAP_ENC_OBJECT, 'Contact', $this->namespace);
91
+ }
92
+ $arg->sObjects = $sObjects;
93
+ return parent::_upsert($arg);
94
+ }
95
+
96
+ /**
97
+ * Merge records
98
+ *
99
+ * @param stdclass $mergeRequest
100
+ * @param String $type
101
+ * @return unknown
102
+ */
103
+ public function merge($mergeRequest, $type) {
104
+ $mergeRequest->masterRecord = new SoapVar($mergeRequest->masterRecord, SOAP_ENC_OBJECT, $type, $this->namespace);
105
+ $arg->request = new SoapVar($mergeRequest, SOAP_ENC_OBJECT, 'MergeRequest', $this->namespace);
106
+ return parent::_merge($arg);
107
+ }
108
+ }
109
+ ?>
phptoolkit/soapclient/SforceFieldTypes.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ define ("DEPLOYMENT_STATUS_INDEVELOPMENT", 'InDevelopment');
3
+ define ("DEPLOYMENT_STATUS_DEPLOYED", 'Deployed');
4
+
5
+ define ("GENDER_NEUTER", 'Neuter');
6
+ define ("GENDER_MASCULINE", 'Masculine');
7
+ define ("GENDER_FEMININE", 'Feminine');
8
+
9
+ define ("SHARING_MODEL_PRIVATE", 'Private');
10
+ define ("SHARING_MODEL_READ", 'Read');
11
+ define ("SHARING_MODEL_READWRITE", 'ReadWrite');
12
+
13
+ define ("STARTS_WITH_CONSONANT", 'Consonant');
14
+ define ("STARTS_WITH_VOWEL", 'Vowel');
15
+ define ("STARTS_WITH_SPECIAL", 'Special');
16
+
17
+ define ("TREAT_BLANKS_AS_BLANK", 'BlankAsBlank');
18
+ define ("TREAT_BLANKS_AS_ZERO", 'BlankAsZero');
19
+
20
+ ?>
phptoolkit/soapclient/SforceHeaderOptions.php ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Copyright (c) 2007, salesforce.com, inc.
4
+ * All rights reserved.
5
+ *
6
+ * Redistribution and use in source and binary forms, with or without modification, are permitted provided
7
+ * that the following conditions are met:
8
+ *
9
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the
10
+ * following disclaimer.
11
+ *
12
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
13
+ * the following disclaimer in the documentation and/or other materials provided with the distribution.
14
+ *
15
+ * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to endorse or
16
+ * promote products derived from this software without specific prior written permission.
17
+ *
18
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
19
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
20
+ * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
21
+ * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
22
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
24
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25
+ * POSSIBILITY OF SUCH DAMAGE.
26
+ */
27
+
28
+ /**
29
+ * This file contains three classes.
30
+ * @package SalesforceSoapClient
31
+ */
32
+
33
+
34
+ class CallOptions {
35
+ public $client;
36
+ public $defaultNamespace;
37
+
38
+ public function __construct($client, $defaultNamespace=NULL) {
39
+ $this->client = $client;
40
+ $this->defaultNamespace = $defaultNamespace;
41
+ }
42
+ }
43
+
44
+
45
+
46
+ /**
47
+ * To be used with Create and Update operations.
48
+ * Only one attribute can be set at a time.
49
+ *
50
+ * @package SalesforceSoapClient
51
+ */
52
+ class AssignmentRuleHeader {
53
+ // int
54
+ public $assignmentRuleId;
55
+ // boolean
56
+ public $useDefaultRuleFlag;
57
+
58
+ /**
59
+ * Constructor. Only one param can be set.
60
+ *
61
+ * @param int $id AssignmentRuleId
62
+ * @param boolean $flag UseDefaultRule flag
63
+ */
64
+ public function __construct($id = NULL, $flag = NULL) {
65
+ if ($id != NULL) {
66
+ $this->assignmentRuleId = $id;
67
+ }
68
+ if ($flag != NULL) {
69
+ $this->useDefaultRuleFlag = $flag;
70
+ }
71
+ }
72
+ }
73
+
74
+ /**
75
+ * To be used with Create and Update operations.
76
+ *
77
+ * @package SalesforceSoapClient
78
+ */
79
+ class MruHeader {
80
+ // boolean that Indicates whether to update the list of most recently used items (True) or not (False).
81
+ public $updateMruFlag;
82
+
83
+ public function __construct($bool) {
84
+ $this->updateMruFlag = $bool;
85
+ }
86
+ }
87
+
88
+ /**
89
+ * To be used with the Login operation.
90
+ *
91
+ * @package SalesforceSoapClient
92
+ */
93
+ class LoginScopeHeader {
94
+ // boolean that Indicates whether to update the list of most recently used items (True) or not (False).
95
+ public $organizationId;
96
+ public $portalId;
97
+
98
+ public function __construct($orgId = NULL, $portalId = NULL) {
99
+ $this->organizationId = $orgId;
100
+ $this->portalId = $portalId;
101
+ }
102
+ }
103
+
104
+ /**
105
+ * To be used with Retrieve, Query, and QueryMore operations.
106
+ *
107
+ * @package SalesforceSoapClient
108
+ */
109
+ class QueryOptions {
110
+ // int - Batch size for the number of records returned in a query or queryMore call. The default is 500; the minimum is 200, and the maximum is 2,000.
111
+ public $batchSize;
112
+
113
+ /**
114
+ * Constructor
115
+ *
116
+ * @param int $limit Batch size
117
+ */
118
+ public function __construct($limit) {
119
+ $this->batchSize = $limit;
120
+ }
121
+ }
122
+
123
+ class EmailHeader {
124
+ public $triggerAutoResponseEmail;
125
+ public $triggerOtherEmail;
126
+ public $triggerUserEmail;
127
+
128
+ public function __construct($triggerAutoResponseEmail = false, $triggerOtherEmail = false, $triggerUserEmail = false) {
129
+ $this->triggerAutoResponseEmail = $triggerAutoResponseEmail;
130
+ $this->triggerOtherEmail = $triggerOtherEmail;
131
+ $this->triggerUserEmail = $triggerUserEmail;
132
+ }
133
+ }
134
+
135
+ class UserTerritoryDeleteHeader {
136
+ public $transferToUserId;
137
+
138
+ public function __construct($transferToUserId) {
139
+ $this->transferToUserId = $transferToUserId;
140
+ }
141
+ }
142
+ ?>
phptoolkit/soapclient/SforceMetaObject.php ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ require_once('SforceFieldTypes.php');
3
+
4
+ class SforceCustomObject {
5
+ public function setDeploymentStatus($deploymentStatus) {
6
+ $this->deploymentStatus = $deploymentStatus;
7
+ }
8
+
9
+ public function setDescription($description) {
10
+ $this->description = $description;
11
+ }
12
+
13
+ public function setEnableActivities($enableActivities) {
14
+ $this->enableActivities = $enableActivities;
15
+ }
16
+
17
+ public function setEnableDivisions($enableDivisions) {
18
+ $this->enableDivisions = $enableDivisions;
19
+ }
20
+
21
+ public function setEnableHistory($enableHistory) {
22
+ $this->enableHistory = $enableHistory;
23
+ }
24
+
25
+ public function setEnableReports($enableReports) {
26
+ $this->enableReports = $enableReports;
27
+ }
28
+
29
+ public function setFields($fields) {
30
+ $this->fields = $fields;
31
+ }
32
+
33
+ public function setFullName($fullName) {
34
+ $this->fullName = $fullName;
35
+ }
36
+
37
+ public function setGender($gender) {
38
+ $this->gender = $gender;
39
+ }
40
+
41
+ public function setHousehold($household) {
42
+ $this->household = $household;
43
+ }
44
+
45
+ public function setLabel($label) {
46
+ $this->label = $label;
47
+ }
48
+
49
+ public function setNameField($nameField) {
50
+ $this->nameField = $nameField;
51
+ }
52
+
53
+ public function setPluralLabel($pluralLabel) {
54
+ $this->pluralLabel = $pluralLabel;
55
+ }
56
+
57
+ public function setStartsWith($startsWith) {
58
+ $this->startsWith = $startsWith;
59
+ }
60
+ }
61
+
62
+ class SforceCustomField {
63
+ public function setCaseSensitive($caseSensitive) {
64
+ $this->caseSensitive = $caseSensitive;
65
+ }
66
+
67
+ public function setDefaultValue($defaultValue) {
68
+ $this->defaultValue = $defaultValue;
69
+ }
70
+
71
+ public function setDescription($description) {
72
+ $this->description = $description;
73
+ }
74
+
75
+ public function setDisplayFormat($displayFormat) {
76
+ $this->displayFormat = $displayFormat;
77
+ }
78
+
79
+ public function setExternalId($externalId) {
80
+ $this->externalId = $externalId;
81
+ }
82
+
83
+ public function setFormula($formula) {
84
+ $this->formula = $formula;
85
+ }
86
+
87
+ public function setFormulaTreatBlankAs($formulaTreatBlankAs) {
88
+ $this->formulaTreatBlankAs = $formulaTreatBlankAs;
89
+ }
90
+
91
+ public function setFullName($fullName) {
92
+ $this->fullName = $fullName;
93
+ }
94
+
95
+ public function setInlineHelpText($inlineHelpText) {
96
+ $this->inlineHelpText = $inlineHelpText;
97
+ }
98
+
99
+ public function setLabel($label) {
100
+ $this->label = $label;
101
+ }
102
+
103
+ public function setLength($length) {
104
+ $this->length = $length;
105
+ }
106
+
107
+ public function setMaskChar($maskChar) {
108
+ $this->maskChar = $maskChar;
109
+ }
110
+
111
+ public function setMaskType($maskType) {
112
+ $this->maskType = $maskType;
113
+ }
114
+
115
+ public function setPicklist($picklist) {
116
+ $this->picklist = $picklist;
117
+ }
118
+
119
+ public function setPopulateExistingRows($populateExistingRows) {
120
+ $this->populateExistingRows = $populateExistingRows;
121
+ }
122
+
123
+ public function setPrecision($precision) {
124
+ $this->precision = $precision;
125
+ }
126
+
127
+ public function setReferenceTo($referenceTo) {
128
+ $this->referenceTo = $referenceTo;
129
+ }
130
+
131
+ public function setRelationshipName($relationshipName) {
132
+ $this->relationshipName = $relationshipName;
133
+ }
134
+
135
+ public function setRequired($required) {
136
+ $this->required = $required;
137
+ }
138
+
139
+ public function setScale($scale) {
140
+ $this->scale = $scale;
141
+ }
142
+
143
+ public function setStartingNumber($startingNumber) {
144
+ $this->startingNumber = $startingNumber;
145
+ }
146
+
147
+ public function setSummarizeField($summarizeField) {
148
+ $this->summarizeField = $summarizeField;
149
+ }
150
+
151
+ public function setSummaryFilterItems($summaryFilterItems) {
152
+ $this->summaryFilterItems = $summaryFilterItems;
153
+ }
154
+
155
+ public function setSummaryForeignKey($summaryForeignKey) {
156
+ $this->summaryForeignKey = $summaryForeignKey;
157
+ }
158
+
159
+ public function setSummaryOperation($summaryOperation) {
160
+ $this->summaryOperation = $summaryOperation;
161
+ }
162
+
163
+ public function setType($type) {
164
+ $this->type = $type;
165
+ }
166
+
167
+ public function setUnique($unique) {
168
+ $this->unique = $unique;
169
+ }
170
+
171
+ public function setVisibleLines($visibleLines) {
172
+ $this->visibleLines = $visibleLines;
173
+ }
174
+ }
175
+ ?>
phptoolkit/soapclient/SforceMetadataClient.php ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ require_once ('SforceMetaObject.php');
3
+
4
+ class SforceMetadataClient {
5
+ public $sforce;
6
+ protected $sessionId;
7
+ protected $location;
8
+
9
+ protected $namespace = 'http://soap.sforce.com/2006/04/metadata';
10
+
11
+ public function __construct($wsdl, $loginResult, $sforceConn) {
12
+
13
+ $soapClientArray = null;
14
+ if (phpversion() > '5.1.2') {
15
+ $soapClientArray = array (
16
+ 'encoding' => 'utf-8',
17
+ 'trace' => 1,
18
+ 'compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP,
19
+ 'sessionId' => $loginResult->sessionId
20
+ );
21
+ } else {
22
+ $soapClientArray = array (
23
+ 'encoding' => 'utf-8',
24
+ 'trace' => 1,
25
+ 'sessionId' => $loginResult->sessionId
26
+ );
27
+ }
28
+ $this->sforce = new SoapClient($wsdl,$soapClientArray);
29
+ //$this->sforce->__setSoapHeaders($header_array);
30
+
31
+
32
+ $sessionVar = array(
33
+ 'sessionId' => new SoapVar($loginResult->sessionId, XSD_STRING)
34
+ );
35
+
36
+ $headerBody = new SoapVar($sessionVar, SOAP_ENC_OBJECT);
37
+
38
+ $session_header = new SoapHeader($this->namespace, 'SessionHeader', $headerBody, false);
39
+
40
+ $header_array = array (
41
+ $session_header
42
+ );
43
+
44
+ $this->sforce->__setSoapHeaders($header_array);
45
+
46
+ $this->sforce->__setLocation($loginResult->metadataServerUrl);
47
+ return $this->sforce;
48
+ }
49
+
50
+ /**
51
+ * Specifies the session ID returned from the login server after a successful
52
+ * login.
53
+ */
54
+ protected function _setLoginHeader($loginResult) {
55
+ $this->sessionId = $loginResult->sessionId;
56
+ $this->setSessionHeader($this->sessionId);
57
+ $serverURL = $loginResult->serverUrl;
58
+ $this->setEndPoint($serverURL);
59
+ }
60
+
61
+ /**
62
+ * Set the endpoint.
63
+ *
64
+ * @param string $location Location
65
+ */
66
+ public function setEndpoint($location) {
67
+ $this->location = $location;
68
+ $this->sforce->__setLocation($location);
69
+ }
70
+
71
+ /**
72
+ * Set the Session ID
73
+ *
74
+ * @param string $sessionId Session ID
75
+ */
76
+ public function setSessionHeader($sessionId) {
77
+ $this->sforce->__setSoapHeaders(NULL);
78
+ $session_header = new SoapHeader($this->namespace, 'SessionHeader', array (
79
+ 'sessionId' => $sessionId
80
+ ));
81
+ $this->sessionId = $sessionId;
82
+ $header_array = array (
83
+ $session_header
84
+ );
85
+ $this->_setClientId($header_array);
86
+ $this->sforce->__setSoapHeaders($header_array);
87
+ }
88
+
89
+ public function create($obj) {
90
+ $encodedObj->metadata = new SoapVar($obj, SOAP_ENC_OBJECT, 'CustomObject', $this->namespace);
91
+
92
+ return $this->sforce->create($encodedObj);
93
+ }
94
+
95
+ public function delete($obj) {
96
+ $encodedObj->metadata = new SoapVar($obj, SOAP_ENC_OBJECT, 'CustomObject', $this->namespace);
97
+
98
+ return $this->sforce->delete($encodedObj);
99
+ }
100
+
101
+ public function checkStatus($ids) {
102
+ return $this->sforce->checkStatus($ids);
103
+ }
104
+
105
+ public function getLastRequest() {
106
+ return $this->sforce->__getLastRequest();
107
+ }
108
+
109
+ public function getLastRequestHeaders() {
110
+ return $this->sforce->__getLastRequestHeaders();
111
+ }
112
+
113
+ public function getLastResponse() {
114
+ return $this->sforce->__getLastResponse();
115
+ }
116
+
117
+ public function getLastResponseHeaders() {
118
+ return $this->sforce->__getLastResponseHeaders();
119
+ }
120
+
121
+
122
+ }
123
+
124
+
125
+ ?>
phptoolkit/soapclient/SforcePartnerClient.php ADDED
@@ -0,0 +1,457 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Copyright (c) 2007, salesforce.com, inc.
4
+ * All rights reserved.
5
+ *
6
+ * Redistribution and use in source and binary forms, with or without modification, are permitted provided
7
+ * that the following conditions are met:
8
+ *
9
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the
10
+ * following disclaimer.
11
+ *
12
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
13
+ * the following disclaimer in the documentation and/or other materials provided with the distribution.
14
+ *
15
+ * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to endorse or
16
+ * promote products derived from this software without specific prior written permission.
17
+ *
18
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
19
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
20
+ * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
21
+ * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
22
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
24
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25
+ * POSSIBILITY OF SUCH DAMAGE.
26
+ */
27
+ require_once ('SforceBaseClient.php');
28
+ //require_once ('SforceEmail.php');
29
+
30
+
31
+ /**
32
+ * This file contains two classes.
33
+ * @package SalesforceSoapClient
34
+ */
35
+ /**
36
+ * SforcePartnerClient class.
37
+ *
38
+ * @package SalesforceSoapClient
39
+ */
40
+ class SforcePartnerClient extends SforceBaseClient {
41
+ const PARTNER_NAMESPACE = 'urn:partner.soap.sforce.com';
42
+
43
+ function SforcePartnerClient() {
44
+ $this->namespace = self::PARTNER_NAMESPACE;
45
+ }
46
+
47
+ /**
48
+ * Adds one or more new individual objects to your organization's data.
49
+ * @param array $sObjects Array of one or more sObjects (up to 200) to create.
50
+ * @param AssignmentRuleHeader $assignment_header is optional. Defaults to NULL
51
+ * @param MruHeader $mru_header is optional. Defaults to NULL
52
+ * @return SaveResult
53
+ */
54
+ public function create($sObjects) {
55
+ $arg = new stdClass;
56
+ foreach ($sObjects as $sObject) {
57
+ if (isset ($sObject->fields)) {
58
+ $sObject->any = $this->_convertToAny($sObject->fields);
59
+ }
60
+ }
61
+ $arg->sObjects = $sObjects;
62
+ return parent::_create($arg);
63
+ }
64
+
65
+ /**
66
+ * Merge records
67
+ *
68
+ * @param stdclass $mergeRequest
69
+ * @param String $type
70
+ * @return unknown
71
+ */
72
+ public function merge($mergeRequest) {
73
+ if (isset($mergeRequest->masterRecord)) {
74
+ if (isset ($mergeRequest->masterRecord->fields)) {
75
+ $mergeRequest->masterRecord->any = $this->_convertToAny($mergeRequest->masterRecord->fields);
76
+ }
77
+ //return parent::merge($mergeRequest, $type);
78
+ $arg->request = $mergeRequest;
79
+ return $this->_merge($arg);
80
+ }
81
+ }
82
+
83
+ public function sendSingleEmail($request) {
84
+ if (is_array($request)) {
85
+ $messages = array();
86
+ foreach ($request as $r) {
87
+ $email = new SoapVar($r, SOAP_ENC_OBJECT, 'SingleEmailMessage', $this->namespace);
88
+ array_push($messages, $email);
89
+ }
90
+ $arg->messages = $messages;
91
+ return parent::_sendEmail($arg);
92
+ } else {
93
+ $backtrace = debug_backtrace();
94
+ die('Please pass in array to this function: '.$backtrace[0]['function']);
95
+ }
96
+ }
97
+
98
+ public function sendMassEmail($request) {
99
+ if (is_array($request)) {
100
+ $messages = array();
101
+ foreach ($request as $r) {
102
+ $email = new SoapVar($r, SOAP_ENC_OBJECT, 'MassEmailMessage', $this->namespace);
103
+ array_push($messages, $email);
104
+ }
105
+ $arg->messages = $messages;
106
+ return parent::_sendEmail($arg);
107
+ } else {
108
+ $backtrace = debug_backtrace();
109
+ die('Please pass in array to this function: '.$backtrace[0]['function']);
110
+ }
111
+ }
112
+
113
+ /**
114
+ * Updates one or more new individual objects to your organization's data.
115
+ * @param array sObjects Array of sObjects
116
+ * @param AssignmentRuleHeader $assignment_header is optional. Defaults to NULL
117
+ * @param MruHeader $mru_header is optional. Defaults to NULL
118
+ * @return UpdateResult
119
+ */
120
+ public function update($sObjects) {
121
+ $arg = new stdClass;
122
+ foreach ($sObjects as $sObject) {
123
+ if (isset ($sObject->fields)) {
124
+ $sObject->any = $this->_convertToAny($sObject->fields);
125
+ }
126
+ }
127
+ $arg->sObjects = $sObjects;
128
+ return parent::_update($arg);
129
+ }
130
+
131
+ /**
132
+ * Creates new objects and updates existing objects; uses a custom field to
133
+ * determine the presence of existing objects. In most cases, we recommend
134
+ * that you use upsert instead of create because upsert is idempotent.
135
+ * Available in the API version 7.0 and later.
136
+ *
137
+ * @param string $ext_Id External Id
138
+ * @param array $sObjects Array of sObjects
139
+ * @return UpsertResult
140
+ */
141
+ public function upsert($ext_Id, $sObjects) {
142
+ // $this->_setSessionHeader();
143
+ $arg = new stdClass;
144
+ $arg->externalIDFieldName = new SoapVar($ext_Id, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema');
145
+ foreach ($sObjects as $sObject) {
146
+ if (isset ($sObject->fields)) {
147
+ $sObject->any = $this->_convertToAny($sObject->fields);
148
+ }
149
+ }
150
+ $arg->sObjects = $sObjects;
151
+ return parent::_upsert($arg);
152
+ }
153
+
154
+ public function query($query) {
155
+ return new QueryResult(parent::query($query));
156
+
157
+ }
158
+ public function queryMore($queryLocator) {
159
+ return new QueryResult(parent::queryMore($queryLocator));
160
+ }
161
+ public function retrieve($fieldList, $sObjectType, $ids) {
162
+ return $this->_retrieveResult(parent::retrieve($fieldList, $sObjectType, $ids));
163
+ }
164
+
165
+ private function _retrieveResult($response) {
166
+ $arr = array();
167
+ if(is_array($response)) {
168
+ foreach($response as $r) {
169
+ $sobject = new SObject($r);
170
+ array_push($arr,$sobject);
171
+ };
172
+ }else {
173
+ $sobject = new SObject($response);
174
+ array_push($arr, $sobject);
175
+ }
176
+ return $arr;
177
+ }
178
+
179
+ }
180
+
181
+
182
+ class QueryResult {
183
+ public $queryLocator;
184
+ public $done;
185
+ public $records;
186
+ public $size;
187
+
188
+ public function __construct($response) {
189
+
190
+ $this->queryLocator = $response->queryLocator;
191
+ $this->done = $response->done;
192
+ $this->size = $response->size;
193
+
194
+
195
+ if($response instanceof QueryResult) {
196
+ $this->records = $response->records;
197
+ }
198
+ else {
199
+ $this->records = array();
200
+
201
+ if (isset($response->records)) {
202
+ if (is_array($response->records)) {
203
+ foreach ($response->records as $record) {
204
+ $sobject = new SObject($record);
205
+ array_push($this->records, $sobject);
206
+ };
207
+ } else {
208
+ $sobject = new SObject($response->records);
209
+ array_push($this->records, $sobject);
210
+ }
211
+ }
212
+ }
213
+ }
214
+ }
215
+ /**
216
+ * Salesforce Object
217
+ *
218
+ * @package SalesforceSoapClient
219
+ */
220
+ class SObject {
221
+ public $type;
222
+ public $fields;
223
+ // public $sobject;
224
+
225
+ public function __construct($response=NULL) {
226
+ if (isset($response)) {
227
+ if (isset($response->Id)) $this->Id = $response->Id[0];
228
+ if (isset($response->type)) $this->type = $response->type;
229
+ if (isset($response->any)) {
230
+ try {
231
+ //$this->fields = $this->convertFields($response->any);
232
+ // If ANY is an object, instantiate another SObject
233
+ if ($response->any instanceof stdClass) {
234
+ if ($this->isSObject($response->any)) {
235
+ $anArray = array();
236
+ $sobject = new SObject($response->any);
237
+ $anArray[] = $sobject;
238
+ $this->sobjects = $anArray;
239
+ } else {
240
+ // this is for parent to child relationships
241
+ $this->queryResult = new QueryResult($response->any);
242
+ }
243
+
244
+ } else {
245
+ // If ANY is an array
246
+ if (is_array($response->any)) {
247
+ // Loop through each and perform some action.
248
+ $anArray = array();
249
+
250
+ // Modify the foreach to have $key=>$value
251
+ // Added on 28th April 2008
252
+ foreach ($response->any as $k=>$item) {
253
+ if ($item instanceof stdClass) {
254
+ if ($this->isSObject($item)) {
255
+ $sobject = new SObject($item);
256
+
257
+ // make an associative array instead of a numeric one
258
+ $anArray[$k] = $sobject;
259
+ } else {
260
+ // this is for parent to child relationships
261
+ //$this->queryResult = new QueryResult($item);
262
+ if (!isset($this->queryResult)) {
263
+ $this->queryResult = array();
264
+ }
265
+ array_push($this->queryResult, new QueryResult($item));
266
+ }
267
+ } else {
268
+ //$this->fields = $this->convertFields($item);
269
+ if (!isset($fieldsToConvert)) {
270
+ $fieldsToConvert = $item;
271
+ } else {
272
+ $fieldsToConvert .= $item;
273
+ }
274
+ }
275
+ if (isset($fieldsToConvert)) {
276
+
277
+ // If this line is commented, then the fields becomes a stdclass object and does not have the name variable
278
+ // In this case the foreach loop on line 252 runs successfuly
279
+ $this->fields = $this->convertFields($fieldsToConvert);
280
+ }
281
+ }
282
+ if (sizeof($anArray) > 0) {
283
+
284
+ // To add more variables to the the top level sobject
285
+ foreach ($anArray as $k=>$children_sobject) {
286
+ $this->fields->$k = $children_sobject;
287
+
288
+ }
289
+
290
+ //array_push($this->fields, $anArray);
291
+ // Uncommented on 28th April since all the sobjects have now been moved to the fields
292
+ //$this->sobjects = $anArray;
293
+ }
294
+
295
+ /*
296
+ $this->fields = $this->convertFields($response->any[0]);
297
+ if (isset($response->any[1]->records)) {
298
+ $anArray = array();
299
+ if ($response->any[1]->size == 1) {
300
+ $records = array (
301
+ $response->any[1]->records
302
+ );
303
+ } else {
304
+ $records = $response->any[1]->records;
305
+ }
306
+ foreach ($records as $record) {
307
+ $sobject = new SObject($record);
308
+ array_push($anArray, $sobject);
309
+ }
310
+ $this->sobjects = $anArray;
311
+ } else {
312
+ $anArray = array();
313
+ $sobject = new SObject($response->any[1]);
314
+ array_push($anArray, $sobject);
315
+ $this->sobjects = $anArray;
316
+ }
317
+ */
318
+ } else {
319
+ $this->fields = $this->convertFields($response->any);
320
+ }
321
+ }
322
+ } catch (Exception $e) {
323
+ var_dump($e);
324
+ }
325
+ }
326
+ }
327
+ }
328
+
329
+ /**
330
+ * Parse the "any" string from an sObject. First strip out the sf: and then
331
+ * enclose string with <Object></Object>. Load the string using
332
+ * simplexml_load_string and return an array that can be traversed.
333
+ */
334
+ function convertFields($any) {
335
+ // ereg_replace('sf:', '', $any); deprecated in PHP: 5.3.0 (use preg_replace('{sf:}', '', $any);)
336
+ $str = preg_replace('{sf:}', '', $any);
337
+
338
+ $array = $this->xml2array('<Object xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">'.$str.'</Object>',0);
339
+
340
+ $xml = new stdClass;
341
+ if (!count($array['Object']))
342
+ return $xml;
343
+
344
+ foreach ($array['Object'] as $k=>$v) {
345
+ $xml->$k = $v;
346
+ }
347
+
348
+
349
+ //$new_string = '<Object xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">'.$new_string.'</Object>';
350
+ //$new_string = $new_string;
351
+ //$xml = simplexml_load_string($new_string);
352
+ return $xml;
353
+ }
354
+
355
+ function xml2array($contents, $get_attributes=1) {
356
+ if(!$contents) return array();
357
+
358
+ if(!function_exists('xml_parser_create')) {
359
+ //print "'xml_parser_create()' function not found!";
360
+ return array('not found');
361
+ }
362
+ //Get the XML parser of PHP - PHP must have this module for the parser to work
363
+ $parser = xml_parser_create();
364
+ xml_parser_set_option( $parser, XML_OPTION_CASE_FOLDING, 0 );
365
+ xml_parser_set_option( $parser, XML_OPTION_SKIP_WHITE, 1 );
366
+ xml_parse_into_struct( $parser, $contents, $xml_values );
367
+ xml_parser_free( $parser );
368
+
369
+ if(!$xml_values) return;//Hmm...
370
+
371
+ //Initializations
372
+ $xml_array = array();
373
+ $parents = array();
374
+ $opened_tags = array();
375
+ $arr = array();
376
+
377
+ $current = &$xml_array;
378
+
379
+ //Go through the tags.
380
+ foreach($xml_values as $data) {
381
+ unset($attributes,$value);//Remove existing values, or there will be trouble
382
+
383
+ //This command will extract these variables into the foreach scope
384
+ // tag(string), type(string), level(int), attributes(array).
385
+ extract($data);//We could use the array by itself, but this cooler.
386
+
387
+ $result = '';
388
+ if($get_attributes) {//The second argument of the function decides this.
389
+ $result = array();
390
+ if(isset($value)) $result['value'] = $value;
391
+
392
+ //Set the attributes too.
393
+ if(isset($attributes)) {
394
+ foreach($attributes as $attr => $val) {
395
+ if($get_attributes == 1) $result['attr'][$attr] = $val; //Set all the attributes in a array called 'attr'
396
+ /** :TODO: should we change the key name to '_attr'? Someone may use the tagname 'attr'. Same goes for 'value' too */
397
+ }
398
+ }
399
+ } elseif(isset($value)) {
400
+ $result = $value;
401
+ }
402
+
403
+ //See tag status and do the needed.
404
+ if($type == "open") {//The starting of the tag '<tag>'
405
+ $parent[$level-1] = &$current;
406
+
407
+ if(!is_array($current) or (!in_array($tag, array_keys($current)))) { //Insert New tag
408
+ $current[$tag] = $result;
409
+ $current = &$current[$tag];
410
+
411
+ } else { //There was another element with the same tag name
412
+ if(isset($current[$tag][0])) {
413
+ array_push($current[$tag], $result);
414
+ } else {
415
+ $current[$tag] = array($current[$tag],$result);
416
+ }
417
+ $last = count($current[$tag]) - 1;
418
+ $current = &$current[$tag][$last];
419
+ }
420
+
421
+ } elseif($type == "complete") { //Tags that ends in 1 line '<tag />'
422
+ //See if the key is already taken.
423
+ if(!isset($current[$tag])) { //New Key
424
+ $current[$tag] = $result;
425
+
426
+ } else { //If taken, put all things inside a list(array)
427
+ if((is_array($current[$tag]) and $get_attributes == 0)//If it is already an array...
428
+ or (isset($current[$tag][0]) and is_array($current[$tag][0]) and $get_attributes == 1)) {
429
+ array_push($current[$tag],$result); // ...push the new element into that array.
430
+ } else { //If it is not an array...
431
+ $current[$tag] = array($current[$tag],$result); //...Make it an array using using the existing value and the new value
432
+ }
433
+ }
434
+
435
+ } elseif($type == 'close') { //End of tag '</tag>'
436
+ $current = &$parent[$level-1];
437
+ }
438
+ }
439
+
440
+ return($xml_array);
441
+ }
442
+
443
+ /*
444
+ * If the stdClass has a done, we know it is a QueryResult
445
+ */
446
+ function isQueryResult($param) {
447
+ return isset($param->done);
448
+ }
449
+
450
+ /*
451
+ * If the stdClass has a type, we know it is an SObject
452
+ */
453
+ function isSObject($param) {
454
+ return isset($param->type);
455
+ }
456
+ }
457
+ ?>
phptoolkit/soapclient/SforceProcessRequest.php ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ abstract class ProcessRequest {
3
+ public $comments;
4
+ public $nextApproverIds;
5
+ }
6
+
7
+ class ProcessSubmitRequest extends ProcessRequest {
8
+ public $objectId;
9
+ }
10
+
11
+ class ProcessWorkitemRequest extends ProcessRequest {
12
+ public $action;
13
+ public $workitemId;
14
+ }
15
+ ?>
phptoolkit/soapclient/enterprise.wsdl.xml ADDED
@@ -0,0 +1,9928 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+
4
+ <!--
5
+ Salesforce.com Enterprise Web Services API Version 22.0
6
+ Generated on 2011-07-19 13:02:54 +0000.
7
+
8
+ Package Versions:
9
+ Cool Sites (Version: 1.19, Namespace: cool)
10
+ Salesforce for Google AdWords (Version: 1.2, Namespace: sfga)
11
+ SEO for Salesforce - Free Edition (Version: 1.3, Namespace: searchent)
12
+ Lead Scoring (Version: 1.11, Namespace: leadscoring)
13
+
14
+ Copyright 1999-2011 salesforce.com, inc.
15
+ All Rights Reserved
16
+ -->
17
+
18
+ <definitions targetNamespace="urn:enterprise.soap.sforce.com"
19
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
20
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
21
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
22
+ xmlns:tns="urn:enterprise.soap.sforce.com"
23
+ xmlns:fns="urn:fault.enterprise.soap.sforce.com"
24
+ xmlns:ens="urn:sobject.enterprise.soap.sforce.com">
25
+ <types>
26
+
27
+ <schema elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:sobject.enterprise.soap.sforce.com">
28
+
29
+ <import namespace="urn:enterprise.soap.sforce.com"/>
30
+
31
+
32
+ <!-- Base sObject (abstract) -->
33
+ <complexType name="sObject">
34
+ <sequence>
35
+ <element name="fieldsToNull" type="xsd:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
36
+ <element name="Id" type="tns:ID" nillable="true" />
37
+ </sequence>
38
+ </complexType>
39
+
40
+ <complexType name="AggregateResult">
41
+ <complexContent>
42
+ <extension base="ens:sObject">
43
+ <sequence>
44
+ <any namespace="##targetNamespace" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
45
+ </sequence>
46
+ </extension>
47
+ </complexContent>
48
+ </complexType>
49
+
50
+ <complexType name="Account">
51
+ <complexContent>
52
+ <extension base="ens:sObject">
53
+ <sequence>
54
+ <element name="AccountContactRoles" nillable="true" minOccurs="0" type="tns:QueryResult"/>
55
+ <element name="AccountPartnersFrom" nillable="true" minOccurs="0" type="tns:QueryResult"/>
56
+ <element name="AccountPartnersTo" nillable="true" minOccurs="0" type="tns:QueryResult"/>
57
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
58
+ <element name="AnnualRevenue" nillable="true" minOccurs="0" type="xsd:double"/>
59
+ <element name="Assets" nillable="true" minOccurs="0" type="tns:QueryResult"/>
60
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
61
+ <element name="BillingCity" nillable="true" minOccurs="0" type="xsd:string"/>
62
+ <element name="BillingCountry" nillable="true" minOccurs="0" type="xsd:string"/>
63
+ <element name="BillingPostalCode" nillable="true" minOccurs="0" type="xsd:string"/>
64
+ <element name="BillingState" nillable="true" minOccurs="0" type="xsd:string"/>
65
+ <element name="BillingStreet" nillable="true" minOccurs="0" type="xsd:string"/>
66
+ <element name="Cases" nillable="true" minOccurs="0" type="tns:QueryResult"/>
67
+ <element name="Contacts" nillable="true" minOccurs="0" type="tns:QueryResult"/>
68
+ <element name="Contracts" nillable="true" minOccurs="0" type="tns:QueryResult"/>
69
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
70
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
71
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
72
+ <element name="CustomerSegmet__c" nillable="true" minOccurs="0" type="xsd:string"/>
73
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
74
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
75
+ <element name="Fax" nillable="true" minOccurs="0" type="xsd:string"/>
76
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
77
+ <element name="Feeds" nillable="true" minOccurs="0" type="tns:QueryResult"/>
78
+ <element name="Histories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
79
+ <element name="Industry" nillable="true" minOccurs="0" type="xsd:string"/>
80
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
81
+ <element name="IsPartner" nillable="true" minOccurs="0" type="xsd:boolean"/>
82
+ <element name="Jigsaw" nillable="true" minOccurs="0" type="xsd:string"/>
83
+ <element name="LastActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
84
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
85
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
86
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
87
+ <element name="MasterRecord" nillable="true" minOccurs="0" type="ens:Account"/>
88
+ <element name="MasterRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
89
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
90
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
91
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
92
+ <element name="NumberOfEmployees" nillable="true" minOccurs="0" type="xsd:int"/>
93
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
94
+ <element name="Opportunities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
95
+ <element name="OpportunityPartnersTo" nillable="true" minOccurs="0" type="tns:QueryResult"/>
96
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:User"/>
97
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
98
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Account"/>
99
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
100
+ <element name="PartnersFrom" nillable="true" minOccurs="0" type="tns:QueryResult"/>
101
+ <element name="PartnersTo" nillable="true" minOccurs="0" type="tns:QueryResult"/>
102
+ <element name="Phone" nillable="true" minOccurs="0" type="xsd:string"/>
103
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
104
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
105
+ <element name="R00N30000002PYgJEAW__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
106
+ <element name="R00N30000002PYiJEAW__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
107
+ <element name="R00N30000002PYjmEAG__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
108
+ <element name="Shares" nillable="true" minOccurs="0" type="tns:QueryResult"/>
109
+ <element name="ShippingCity" nillable="true" minOccurs="0" type="xsd:string"/>
110
+ <element name="ShippingCountry" nillable="true" minOccurs="0" type="xsd:string"/>
111
+ <element name="ShippingPostalCode" nillable="true" minOccurs="0" type="xsd:string"/>
112
+ <element name="ShippingState" nillable="true" minOccurs="0" type="xsd:string"/>
113
+ <element name="ShippingStreet" nillable="true" minOccurs="0" type="xsd:string"/>
114
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
115
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
116
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
117
+ <element name="Website" nillable="true" minOccurs="0" type="xsd:string"/>
118
+ <element name="entered_by__c" nillable="true" minOccurs="0" type="xsd:string"/>
119
+ <element name="isSalesforceUser__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
120
+ </sequence>
121
+ </extension>
122
+ </complexContent>
123
+ </complexType>
124
+
125
+ <complexType name="AccountContactRole">
126
+ <complexContent>
127
+ <extension base="ens:sObject">
128
+ <sequence>
129
+ <element name="Account" nillable="true" minOccurs="0" type="ens:Account"/>
130
+ <element name="AccountId" nillable="true" minOccurs="0" type="tns:ID"/>
131
+ <element name="Contact" nillable="true" minOccurs="0" type="ens:Contact"/>
132
+ <element name="ContactId" nillable="true" minOccurs="0" type="tns:ID"/>
133
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
134
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
135
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
136
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
137
+ <element name="IsPrimary" nillable="true" minOccurs="0" type="xsd:boolean"/>
138
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
139
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
140
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
141
+ <element name="Role" nillable="true" minOccurs="0" type="xsd:string"/>
142
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
143
+ </sequence>
144
+ </extension>
145
+ </complexContent>
146
+ </complexType>
147
+
148
+ <complexType name="AccountFeed">
149
+ <complexContent>
150
+ <extension base="ens:sObject">
151
+ <sequence>
152
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
153
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
154
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
155
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
156
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
157
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
158
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
159
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
160
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
161
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
162
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
163
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
164
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
165
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
166
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
167
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
168
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
169
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
170
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
171
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Account"/>
172
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
173
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
174
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
175
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
176
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
177
+ </sequence>
178
+ </extension>
179
+ </complexContent>
180
+ </complexType>
181
+
182
+ <complexType name="AccountHistory">
183
+ <complexContent>
184
+ <extension base="ens:sObject">
185
+ <sequence>
186
+ <element name="Account" nillable="true" minOccurs="0" type="ens:Account"/>
187
+ <element name="AccountId" nillable="true" minOccurs="0" type="tns:ID"/>
188
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
189
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
190
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
191
+ <element name="Field" nillable="true" minOccurs="0" type="xsd:string"/>
192
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
193
+ <element name="NewValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
194
+ <element name="OldValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
195
+ </sequence>
196
+ </extension>
197
+ </complexContent>
198
+ </complexType>
199
+
200
+ <complexType name="AccountPartner">
201
+ <complexContent>
202
+ <extension base="ens:sObject">
203
+ <sequence>
204
+ <element name="AccountFrom" nillable="true" minOccurs="0" type="ens:Account"/>
205
+ <element name="AccountFromId" nillable="true" minOccurs="0" type="tns:ID"/>
206
+ <element name="AccountTo" nillable="true" minOccurs="0" type="ens:Account"/>
207
+ <element name="AccountToId" nillable="true" minOccurs="0" type="tns:ID"/>
208
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
209
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
210
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
211
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
212
+ <element name="IsPrimary" nillable="true" minOccurs="0" type="xsd:boolean"/>
213
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
214
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
215
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
216
+ <element name="Opportunity" nillable="true" minOccurs="0" type="ens:Opportunity"/>
217
+ <element name="OpportunityId" nillable="true" minOccurs="0" type="tns:ID"/>
218
+ <element name="ReversePartnerId" nillable="true" minOccurs="0" type="tns:ID"/>
219
+ <element name="Role" nillable="true" minOccurs="0" type="xsd:string"/>
220
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
221
+ </sequence>
222
+ </extension>
223
+ </complexContent>
224
+ </complexType>
225
+
226
+ <complexType name="AccountShare">
227
+ <complexContent>
228
+ <extension base="ens:sObject">
229
+ <sequence>
230
+ <element name="Account" nillable="true" minOccurs="0" type="ens:Account"/>
231
+ <element name="AccountAccessLevel" nillable="true" minOccurs="0" type="xsd:string"/>
232
+ <element name="AccountId" nillable="true" minOccurs="0" type="tns:ID"/>
233
+ <element name="CaseAccessLevel" nillable="true" minOccurs="0" type="xsd:string"/>
234
+ <element name="ContactAccessLevel" nillable="true" minOccurs="0" type="xsd:string"/>
235
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
236
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
237
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
238
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
239
+ <element name="OpportunityAccessLevel" nillable="true" minOccurs="0" type="xsd:string"/>
240
+ <element name="RowCause" nillable="true" minOccurs="0" type="xsd:string"/>
241
+ <element name="UserOrGroupId" nillable="true" minOccurs="0" type="tns:ID"/>
242
+ </sequence>
243
+ </extension>
244
+ </complexContent>
245
+ </complexType>
246
+
247
+ <complexType name="ActivityHistory">
248
+ <complexContent>
249
+ <extension base="ens:sObject">
250
+ <sequence>
251
+ <element name="Account" nillable="true" minOccurs="0" type="ens:Account"/>
252
+ <element name="AccountId" nillable="true" minOccurs="0" type="tns:ID"/>
253
+ <element name="ActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
254
+ <element name="ActivityType" nillable="true" minOccurs="0" type="xsd:string"/>
255
+ <element name="CallDisposition" nillable="true" minOccurs="0" type="xsd:string"/>
256
+ <element name="CallDurationInSeconds" nillable="true" minOccurs="0" type="xsd:int"/>
257
+ <element name="CallObject" nillable="true" minOccurs="0" type="xsd:string"/>
258
+ <element name="CallType" nillable="true" minOccurs="0" type="xsd:string"/>
259
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
260
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
261
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
262
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
263
+ <element name="DurationInMinutes" nillable="true" minOccurs="0" type="xsd:int"/>
264
+ <element name="IsAllDayEvent" nillable="true" minOccurs="0" type="xsd:boolean"/>
265
+ <element name="IsClosed" nillable="true" minOccurs="0" type="xsd:boolean"/>
266
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
267
+ <element name="IsReminderSet" nillable="true" minOccurs="0" type="xsd:boolean"/>
268
+ <element name="IsTask" nillable="true" minOccurs="0" type="xsd:boolean"/>
269
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
270
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
271
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
272
+ <element name="Location" nillable="true" minOccurs="0" type="xsd:string"/>
273
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
274
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
275
+ <element name="Priority" nillable="true" minOccurs="0" type="xsd:string"/>
276
+ <element name="ReminderDateTime" nillable="true" minOccurs="0" type="xsd:dateTime"/>
277
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
278
+ <element name="Subject" nillable="true" minOccurs="0" type="xsd:string"/>
279
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
280
+ <element name="What" nillable="true" minOccurs="0" type="ens:Name"/>
281
+ <element name="WhatId" nillable="true" minOccurs="0" type="tns:ID"/>
282
+ <element name="Who" nillable="true" minOccurs="0" type="ens:Name"/>
283
+ <element name="WhoId" nillable="true" minOccurs="0" type="tns:ID"/>
284
+ <element name="eventcost__c" nillable="true" minOccurs="0" type="xsd:double"/>
285
+ </sequence>
286
+ </extension>
287
+ </complexContent>
288
+ </complexType>
289
+
290
+ <complexType name="AdditionalNumber">
291
+ <complexContent>
292
+ <extension base="ens:sObject">
293
+ <sequence>
294
+ <element name="CallCenterId" nillable="true" minOccurs="0" type="tns:ID"/>
295
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
296
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
297
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
298
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
299
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
300
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
301
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
302
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
303
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
304
+ <element name="Phone" nillable="true" minOccurs="0" type="xsd:string"/>
305
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
306
+ </sequence>
307
+ </extension>
308
+ </complexContent>
309
+ </complexType>
310
+
311
+ <complexType name="ApexClass">
312
+ <complexContent>
313
+ <extension base="ens:sObject">
314
+ <sequence>
315
+ <element name="ApiVersion" nillable="true" minOccurs="0" type="xsd:double"/>
316
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
317
+ <element name="BodyCrc" nillable="true" minOccurs="0" type="xsd:double"/>
318
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
319
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
320
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
321
+ <element name="IsValid" nillable="true" minOccurs="0" type="xsd:boolean"/>
322
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
323
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
324
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
325
+ <element name="LengthWithoutComments" nillable="true" minOccurs="0" type="xsd:int"/>
326
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
327
+ <element name="NamespacePrefix" nillable="true" minOccurs="0" type="xsd:string"/>
328
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
329
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
330
+ </sequence>
331
+ </extension>
332
+ </complexContent>
333
+ </complexType>
334
+
335
+ <complexType name="ApexComponent">
336
+ <complexContent>
337
+ <extension base="ens:sObject">
338
+ <sequence>
339
+ <element name="ApiVersion" nillable="true" minOccurs="0" type="xsd:double"/>
340
+ <element name="ControllerKey" nillable="true" minOccurs="0" type="xsd:string"/>
341
+ <element name="ControllerType" nillable="true" minOccurs="0" type="xsd:string"/>
342
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
343
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
344
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
345
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
346
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
347
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
348
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
349
+ <element name="Markup" nillable="true" minOccurs="0" type="xsd:string"/>
350
+ <element name="MasterLabel" nillable="true" minOccurs="0" type="xsd:string"/>
351
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
352
+ <element name="NamespacePrefix" nillable="true" minOccurs="0" type="xsd:string"/>
353
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
354
+ </sequence>
355
+ </extension>
356
+ </complexContent>
357
+ </complexType>
358
+
359
+ <complexType name="ApexLog">
360
+ <complexContent>
361
+ <extension base="ens:sObject">
362
+ <sequence>
363
+ <element name="Application" nillable="true" minOccurs="0" type="xsd:string"/>
364
+ <element name="DurationMilliseconds" nillable="true" minOccurs="0" type="xsd:int"/>
365
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
366
+ <element name="Location" nillable="true" minOccurs="0" type="xsd:string"/>
367
+ <element name="LogLength" nillable="true" minOccurs="0" type="xsd:int"/>
368
+ <element name="LogUser" nillable="true" minOccurs="0" type="ens:Name"/>
369
+ <element name="LogUserId" nillable="true" minOccurs="0" type="tns:ID"/>
370
+ <element name="Operation" nillable="true" minOccurs="0" type="xsd:string"/>
371
+ <element name="Request" nillable="true" minOccurs="0" type="xsd:string"/>
372
+ <element name="StartTime" nillable="true" minOccurs="0" type="xsd:dateTime"/>
373
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
374
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
375
+ </sequence>
376
+ </extension>
377
+ </complexContent>
378
+ </complexType>
379
+
380
+ <complexType name="ApexPage">
381
+ <complexContent>
382
+ <extension base="ens:sObject">
383
+ <sequence>
384
+ <element name="ApiVersion" nillable="true" minOccurs="0" type="xsd:double"/>
385
+ <element name="ControllerKey" nillable="true" minOccurs="0" type="xsd:string"/>
386
+ <element name="ControllerType" nillable="true" minOccurs="0" type="xsd:string"/>
387
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
388
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
389
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
390
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
391
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
392
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
393
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
394
+ <element name="Markup" nillable="true" minOccurs="0" type="xsd:string"/>
395
+ <element name="MasterLabel" nillable="true" minOccurs="0" type="xsd:string"/>
396
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
397
+ <element name="NamespacePrefix" nillable="true" minOccurs="0" type="xsd:string"/>
398
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
399
+ </sequence>
400
+ </extension>
401
+ </complexContent>
402
+ </complexType>
403
+
404
+ <complexType name="ApexTrigger">
405
+ <complexContent>
406
+ <extension base="ens:sObject">
407
+ <sequence>
408
+ <element name="ApiVersion" nillable="true" minOccurs="0" type="xsd:double"/>
409
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
410
+ <element name="BodyCrc" nillable="true" minOccurs="0" type="xsd:double"/>
411
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
412
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
413
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
414
+ <element name="IsValid" nillable="true" minOccurs="0" type="xsd:boolean"/>
415
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
416
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
417
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
418
+ <element name="LengthWithoutComments" nillable="true" minOccurs="0" type="xsd:int"/>
419
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
420
+ <element name="NamespacePrefix" nillable="true" minOccurs="0" type="xsd:string"/>
421
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
422
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
423
+ <element name="TableEnumOrId" nillable="true" minOccurs="0" type="xsd:string"/>
424
+ <element name="UsageAfterDelete" nillable="true" minOccurs="0" type="xsd:boolean"/>
425
+ <element name="UsageAfterInsert" nillable="true" minOccurs="0" type="xsd:boolean"/>
426
+ <element name="UsageAfterUndelete" nillable="true" minOccurs="0" type="xsd:boolean"/>
427
+ <element name="UsageAfterUpdate" nillable="true" minOccurs="0" type="xsd:boolean"/>
428
+ <element name="UsageBeforeDelete" nillable="true" minOccurs="0" type="xsd:boolean"/>
429
+ <element name="UsageBeforeInsert" nillable="true" minOccurs="0" type="xsd:boolean"/>
430
+ <element name="UsageBeforeUpdate" nillable="true" minOccurs="0" type="xsd:boolean"/>
431
+ <element name="UsageIsBulk" nillable="true" minOccurs="0" type="xsd:boolean"/>
432
+ </sequence>
433
+ </extension>
434
+ </complexContent>
435
+ </complexType>
436
+
437
+ <complexType name="Approval">
438
+ <complexContent>
439
+ <extension base="ens:sObject">
440
+ <sequence>
441
+ <element name="ApproveComment" nillable="true" minOccurs="0" type="xsd:string"/>
442
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
443
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
444
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
445
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
446
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
447
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
448
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
449
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:User"/>
450
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
451
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Contract"/>
452
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
453
+ <element name="RequestComment" nillable="true" minOccurs="0" type="xsd:string"/>
454
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
455
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
456
+ </sequence>
457
+ </extension>
458
+ </complexContent>
459
+ </complexType>
460
+
461
+ <complexType name="Asset">
462
+ <complexContent>
463
+ <extension base="ens:sObject">
464
+ <sequence>
465
+ <element name="Account" nillable="true" minOccurs="0" type="ens:Account"/>
466
+ <element name="AccountId" nillable="true" minOccurs="0" type="tns:ID"/>
467
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
468
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
469
+ <element name="Cases" nillable="true" minOccurs="0" type="tns:QueryResult"/>
470
+ <element name="Contact" nillable="true" minOccurs="0" type="ens:Contact"/>
471
+ <element name="ContactId" nillable="true" minOccurs="0" type="tns:ID"/>
472
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
473
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
474
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
475
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
476
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
477
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
478
+ <element name="Feeds" nillable="true" minOccurs="0" type="tns:QueryResult"/>
479
+ <element name="InstallDate" nillable="true" minOccurs="0" type="xsd:date"/>
480
+ <element name="IsCompetitorProduct" nillable="true" minOccurs="0" type="xsd:boolean"/>
481
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
482
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
483
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
484
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
485
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
486
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
487
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
488
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
489
+ <element name="Price" nillable="true" minOccurs="0" type="xsd:double"/>
490
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
491
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
492
+ <element name="Product2" nillable="true" minOccurs="0" type="ens:Product2"/>
493
+ <element name="Product2Id" nillable="true" minOccurs="0" type="tns:ID"/>
494
+ <element name="PurchaseDate" nillable="true" minOccurs="0" type="xsd:date"/>
495
+ <element name="Quantity" nillable="true" minOccurs="0" type="xsd:double"/>
496
+ <element name="SerialNumber" nillable="true" minOccurs="0" type="xsd:string"/>
497
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
498
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
499
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
500
+ <element name="UsageEndDate" nillable="true" minOccurs="0" type="xsd:date"/>
501
+ </sequence>
502
+ </extension>
503
+ </complexContent>
504
+ </complexType>
505
+
506
+ <complexType name="AssetFeed">
507
+ <complexContent>
508
+ <extension base="ens:sObject">
509
+ <sequence>
510
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
511
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
512
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
513
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
514
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
515
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
516
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
517
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
518
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
519
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
520
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
521
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
522
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
523
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
524
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
525
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
526
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
527
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
528
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
529
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Asset"/>
530
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
531
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
532
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
533
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
534
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
535
+ </sequence>
536
+ </extension>
537
+ </complexContent>
538
+ </complexType>
539
+
540
+ <complexType name="AssignmentRule">
541
+ <complexContent>
542
+ <extension base="ens:sObject">
543
+ <sequence>
544
+ <element name="Active" nillable="true" minOccurs="0" type="xsd:boolean"/>
545
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
546
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
547
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
548
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
549
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
550
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
551
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
552
+ <element name="SobjectType" nillable="true" minOccurs="0" type="xsd:string"/>
553
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
554
+ </sequence>
555
+ </extension>
556
+ </complexContent>
557
+ </complexType>
558
+
559
+ <complexType name="AsyncApexJob">
560
+ <complexContent>
561
+ <extension base="ens:sObject">
562
+ <sequence>
563
+ <element name="ApexClass" nillable="true" minOccurs="0" type="ens:ApexClass"/>
564
+ <element name="ApexClassId" nillable="true" minOccurs="0" type="tns:ID"/>
565
+ <element name="CompletedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
566
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
567
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
568
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
569
+ <element name="ExtendedStatus" nillable="true" minOccurs="0" type="xsd:string"/>
570
+ <element name="JobItemsProcessed" nillable="true" minOccurs="0" type="xsd:int"/>
571
+ <element name="JobType" nillable="true" minOccurs="0" type="xsd:string"/>
572
+ <element name="LastProcessed" nillable="true" minOccurs="0" type="xsd:string"/>
573
+ <element name="LastProcessedOffset" nillable="true" minOccurs="0" type="xsd:int"/>
574
+ <element name="MethodName" nillable="true" minOccurs="0" type="xsd:string"/>
575
+ <element name="NumberOfErrors" nillable="true" minOccurs="0" type="xsd:int"/>
576
+ <element name="ParentJobId" nillable="true" minOccurs="0" type="tns:ID"/>
577
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
578
+ <element name="TotalJobItems" nillable="true" minOccurs="0" type="xsd:int"/>
579
+ </sequence>
580
+ </extension>
581
+ </complexContent>
582
+ </complexType>
583
+
584
+ <complexType name="Attachment">
585
+ <complexContent>
586
+ <extension base="ens:sObject">
587
+ <sequence>
588
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
589
+ <element name="BodyLength" nillable="true" minOccurs="0" type="xsd:int"/>
590
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
591
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
592
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
593
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
594
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
595
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
596
+ <element name="IsPrivate" nillable="true" minOccurs="0" type="xsd:boolean"/>
597
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:Name"/>
598
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
599
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
600
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
601
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
602
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
603
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Name"/>
604
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
605
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
606
+ </sequence>
607
+ </extension>
608
+ </complexContent>
609
+ </complexType>
610
+
611
+ <complexType name="BLND_DFAC_Shared_View__c">
612
+ <complexContent>
613
+ <extension base="ens:sObject">
614
+ <sequence>
615
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
616
+ <element name="BLND_Application__c" nillable="true" minOccurs="0" type="xsd:string"/>
617
+ <element name="BLND_Data__c" nillable="true" minOccurs="0" type="xsd:string"/>
618
+ <element name="BLND_Description__c" nillable="true" minOccurs="0" type="xsd:string"/>
619
+ <element name="BLND_Expansion__c" nillable="true" minOccurs="0" type="xsd:string"/>
620
+ <element name="BLND_Extra_Field__c" nillable="true" minOccurs="0" type="xsd:string"/>
621
+ <element name="BLND_Owner__c" nillable="true" minOccurs="0" type="tns:ID"/>
622
+ <element name="BLND_Owner__r" nillable="true" minOccurs="0" type="ens:User"/>
623
+ <element name="BLND_Private__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
624
+ <element name="BLND_Version__c" nillable="true" minOccurs="0" type="xsd:double"/>
625
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
626
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
627
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
628
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
629
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
630
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
631
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
632
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
633
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
634
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
635
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
636
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
637
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
638
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
639
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
640
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
641
+ </sequence>
642
+ </extension>
643
+ </complexContent>
644
+ </complexType>
645
+
646
+ <complexType name="BLND_DFCS_Carousel__c">
647
+ <complexContent>
648
+ <extension base="ens:sObject">
649
+ <sequence>
650
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
651
+ <element name="BLND_Bookmark__c" nillable="true" minOccurs="0" type="tns:ID"/>
652
+ <element name="BLND_Bookmark__r" nillable="true" minOccurs="0" type="ens:BLND_DFCS_Slide__c"/>
653
+ <element name="BLND_Data__c" nillable="true" minOccurs="0" type="xsd:string"/>
654
+ <element name="BLND_Description__c" nillable="true" minOccurs="0" type="xsd:string"/>
655
+ <element name="BLND_Expansion__c" nillable="true" minOccurs="0" type="xsd:string"/>
656
+ <element name="BLND_Extra_Field__c" nillable="true" minOccurs="0" type="xsd:string"/>
657
+ <element name="BLND_Flag1__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
658
+ <element name="BLND_Flag2__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
659
+ <element name="BLND_Flag3__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
660
+ <element name="BLND_Flag4__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
661
+ <element name="BLND_Height__c" nillable="true" minOccurs="0" type="xsd:double"/>
662
+ <element name="BLND_Lastopen__c" nillable="true" minOccurs="0" type="tns:ID"/>
663
+ <element name="BLND_Lastopen__r" nillable="true" minOccurs="0" type="ens:BLND_DFCS_Slide__c"/>
664
+ <element name="BLND_Locked__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
665
+ <element name="BLND_Over1__c" nillable="true" minOccurs="0" type="xsd:string"/>
666
+ <element name="BLND_Over2__c" nillable="true" minOccurs="0" type="xsd:string"/>
667
+ <element name="BLND_Over3__c" nillable="true" minOccurs="0" type="xsd:string"/>
668
+ <element name="BLND_Private__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
669
+ <element name="BLND_Type__c" nillable="true" minOccurs="0" type="xsd:string"/>
670
+ <element name="BLND_Version__c" nillable="true" minOccurs="0" type="xsd:double"/>
671
+ <element name="BLND_Width__c" nillable="true" minOccurs="0" type="xsd:double"/>
672
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
673
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
674
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
675
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
676
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
677
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
678
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
679
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
680
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
681
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
682
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
683
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
684
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
685
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
686
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
687
+ <element name="Slides__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
688
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
689
+ </sequence>
690
+ </extension>
691
+ </complexContent>
692
+ </complexType>
693
+
694
+ <complexType name="BLND_DFCS_Slide__c">
695
+ <complexContent>
696
+ <extension base="ens:sObject">
697
+ <sequence>
698
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
699
+ <element name="BLND_Carousel__c" nillable="true" minOccurs="0" type="tns:ID"/>
700
+ <element name="BLND_Carousel__r" nillable="true" minOccurs="0" type="ens:BLND_DFCS_Carousel__c"/>
701
+ <element name="BLND_Data__c" nillable="true" minOccurs="0" type="xsd:string"/>
702
+ <element name="BLND_Description__c" nillable="true" minOccurs="0" type="xsd:string"/>
703
+ <element name="BLND_Expansion__c" nillable="true" minOccurs="0" type="xsd:string"/>
704
+ <element name="BLND_Extra_Field__c" nillable="true" minOccurs="0" type="xsd:string"/>
705
+ <element name="BLND_Flag1__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
706
+ <element name="BLND_Flag2__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
707
+ <element name="BLND_Flag3__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
708
+ <element name="BLND_Flag4__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
709
+ <element name="BLND_Index__c" nillable="true" minOccurs="0" type="xsd:double"/>
710
+ <element name="BLND_Keywords__c" nillable="true" minOccurs="0" type="xsd:string"/>
711
+ <element name="BLND_Locked__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
712
+ <element name="BLND_Over1__c" nillable="true" minOccurs="0" type="xsd:string"/>
713
+ <element name="BLND_Over2__c" nillable="true" minOccurs="0" type="xsd:string"/>
714
+ <element name="BLND_Over3__c" nillable="true" minOccurs="0" type="xsd:string"/>
715
+ <element name="BLND_Private__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
716
+ <element name="BLND_Type__c" nillable="true" minOccurs="0" type="xsd:string"/>
717
+ <element name="BLND_Version__c" nillable="true" minOccurs="0" type="xsd:double"/>
718
+ <element name="Carousels1__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
719
+ <element name="Carousels__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
720
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
721
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
722
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
723
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
724
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
725
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
726
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
727
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
728
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
729
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
730
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
731
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
732
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
733
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
734
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
735
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
736
+ </sequence>
737
+ </extension>
738
+ </complexContent>
739
+ </complexType>
740
+
741
+ <complexType name="BLND_DFDT_Action_Item__c">
742
+ <complexContent>
743
+ <extension base="ens:sObject">
744
+ <sequence>
745
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
746
+ <element name="BLND_Action_Owner__c" nillable="true" minOccurs="0" type="tns:ID"/>
747
+ <element name="BLND_Action_Owner__r" nillable="true" minOccurs="0" type="ens:User"/>
748
+ <element name="BLND_Description__c" nillable="true" minOccurs="0" type="xsd:string"/>
749
+ <element name="BLND_Due__c" nillable="true" minOccurs="0" type="xsd:date"/>
750
+ <element name="BLND_Expansion__c" nillable="true" minOccurs="0" type="xsd:string"/>
751
+ <element name="BLND_Extra_Field__c" nillable="true" minOccurs="0" type="xsd:string"/>
752
+ <element name="BLND_Include_in_Report__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
753
+ <element name="BLND_Issue_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
754
+ <element name="BLND_Issue_Link__r" nillable="true" minOccurs="0" type="ens:BLND_DFDT_Issue__c"/>
755
+ <element name="BLND_Project_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
756
+ <element name="BLND_Project_Link__r" nillable="true" minOccurs="0" type="ens:BLND_DFDT_Project__c"/>
757
+ <element name="BLND_Status__c" nillable="true" minOccurs="0" type="xsd:string"/>
758
+ <element name="BLND_Task_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
759
+ <element name="BLND_Task_Link__r" nillable="true" minOccurs="0" type="ens:BLND_DFDT_Task__c"/>
760
+ <element name="BLND_Version__c" nillable="true" minOccurs="0" type="xsd:double"/>
761
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
762
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
763
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
764
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
765
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
766
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
767
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
768
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
769
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
770
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
771
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
772
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
773
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
774
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
775
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
776
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
777
+ </sequence>
778
+ </extension>
779
+ </complexContent>
780
+ </complexType>
781
+
782
+ <complexType name="BLND_DFDT_Discussion__c">
783
+ <complexContent>
784
+ <extension base="ens:sObject">
785
+ <sequence>
786
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
787
+ <element name="BLND_Attachment_Link__c" nillable="true" minOccurs="0" type="xsd:string"/>
788
+ <element name="BLND_Body__c" nillable="true" minOccurs="0" type="xsd:string"/>
789
+ <element name="BLND_Expansion__c" nillable="true" minOccurs="0" type="xsd:string"/>
790
+ <element name="BLND_Extra_Field__c" nillable="true" minOccurs="0" type="xsd:string"/>
791
+ <element name="BLND_Purpose__c" nillable="true" minOccurs="0" type="xsd:string"/>
792
+ <element name="BLND_Version__c" nillable="true" minOccurs="0" type="xsd:double"/>
793
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
794
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
795
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
796
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
797
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
798
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
799
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
800
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
801
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
802
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
803
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
804
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
805
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
806
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
807
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
808
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
809
+ </sequence>
810
+ </extension>
811
+ </complexContent>
812
+ </complexType>
813
+
814
+ <complexType name="BLND_DFDT_Highlight__c">
815
+ <complexContent>
816
+ <extension base="ens:sObject">
817
+ <sequence>
818
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
819
+ <element name="BLND_Date__c" nillable="true" minOccurs="0" type="xsd:date"/>
820
+ <element name="BLND_Description__c" nillable="true" minOccurs="0" type="xsd:string"/>
821
+ <element name="BLND_Expansion__c" nillable="true" minOccurs="0" type="xsd:string"/>
822
+ <element name="BLND_Extra_Field__c" nillable="true" minOccurs="0" type="xsd:string"/>
823
+ <element name="BLND_Highlight_Owner__c" nillable="true" minOccurs="0" type="tns:ID"/>
824
+ <element name="BLND_Highlight_Owner__r" nillable="true" minOccurs="0" type="ens:User"/>
825
+ <element name="BLND_Include_in_Report__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
826
+ <element name="BLND_Include_in_Weekly_Dashboard__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
827
+ <element name="BLND_Priority__c" nillable="true" minOccurs="0" type="xsd:string"/>
828
+ <element name="BLND_Project_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
829
+ <element name="BLND_Project_Link__r" nillable="true" minOccurs="0" type="ens:BLND_DFDT_Project__c"/>
830
+ <element name="BLND_Version__c" nillable="true" minOccurs="0" type="xsd:double"/>
831
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
832
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
833
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
834
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
835
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
836
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
837
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
838
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
839
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
840
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
841
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
842
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
843
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
844
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
845
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
846
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
847
+ </sequence>
848
+ </extension>
849
+ </complexContent>
850
+ </complexType>
851
+
852
+ <complexType name="BLND_DFDT_Issue__c">
853
+ <complexContent>
854
+ <extension base="ens:sObject">
855
+ <sequence>
856
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
857
+ <element name="BLND_Description__c" nillable="true" minOccurs="0" type="xsd:string"/>
858
+ <element name="BLND_Expansion__c" nillable="true" minOccurs="0" type="xsd:string"/>
859
+ <element name="BLND_Extra_Field__c" nillable="true" minOccurs="0" type="xsd:string"/>
860
+ <element name="BLND_Impact__c" nillable="true" minOccurs="0" type="xsd:string"/>
861
+ <element name="BLND_Include_in_Report__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
862
+ <element name="BLND_Issue_Owner__c" nillable="true" minOccurs="0" type="tns:ID"/>
863
+ <element name="BLND_Issue_Owner__r" nillable="true" minOccurs="0" type="ens:User"/>
864
+ <element name="BLND_Issue_Raised_On__c" nillable="true" minOccurs="0" type="xsd:date"/>
865
+ <element name="BLND_Priority__c" nillable="true" minOccurs="0" type="xsd:string"/>
866
+ <element name="BLND_Project_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
867
+ <element name="BLND_Project_Link__r" nillable="true" minOccurs="0" type="ens:BLND_DFDT_Project__c"/>
868
+ <element name="BLND_Resolution__c" nillable="true" minOccurs="0" type="xsd:string"/>
869
+ <element name="BLND_Resolve_By__c" nillable="true" minOccurs="0" type="xsd:date"/>
870
+ <element name="BLND_Severity__c" nillable="true" minOccurs="0" type="xsd:string"/>
871
+ <element name="BLND_Status__c" nillable="true" minOccurs="0" type="xsd:string"/>
872
+ <element name="BLND_Task_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
873
+ <element name="BLND_Task_Link__r" nillable="true" minOccurs="0" type="ens:BLND_DFDT_Task__c"/>
874
+ <element name="BLND_Type__c" nillable="true" minOccurs="0" type="xsd:string"/>
875
+ <element name="BLND_Version__c" nillable="true" minOccurs="0" type="xsd:double"/>
876
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
877
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
878
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
879
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
880
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
881
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
882
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
883
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
884
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
885
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
886
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
887
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
888
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
889
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
890
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
891
+ <element name="R00N30000002PYhfEAG__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
892
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
893
+ </sequence>
894
+ </extension>
895
+ </complexContent>
896
+ </complexType>
897
+
898
+ <complexType name="BLND_DFDT_Linker__c">
899
+ <complexContent>
900
+ <extension base="ens:sObject">
901
+ <sequence>
902
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
903
+ <element name="BLND_Destination_Link__c" nillable="true" minOccurs="0" type="xsd:string"/>
904
+ <element name="BLND_Expansion__c" nillable="true" minOccurs="0" type="xsd:string"/>
905
+ <element name="BLND_Extra_Field__c" nillable="true" minOccurs="0" type="xsd:string"/>
906
+ <element name="BLND_Purpose__c" nillable="true" minOccurs="0" type="xsd:string"/>
907
+ <element name="BLND_Source_Link__c" nillable="true" minOccurs="0" type="xsd:string"/>
908
+ <element name="BLND_Version__c" nillable="true" minOccurs="0" type="xsd:double"/>
909
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
910
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
911
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
912
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
913
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
914
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
915
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
916
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
917
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
918
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
919
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
920
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
921
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
922
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
923
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
924
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
925
+ </sequence>
926
+ </extension>
927
+ </complexContent>
928
+ </complexType>
929
+
930
+ <complexType name="BLND_DFDT_Project__c">
931
+ <complexContent>
932
+ <extension base="ens:sObject">
933
+ <sequence>
934
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
935
+ <element name="BLND_Account_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
936
+ <element name="BLND_Account_Link__r" nillable="true" minOccurs="0" type="ens:Account"/>
937
+ <element name="BLND_Archive__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
938
+ <element name="BLND_Complete_Tasks__c" nillable="true" minOccurs="0" type="xsd:double"/>
939
+ <element name="BLND_Complete__c" nillable="true" minOccurs="0" type="xsd:double"/>
940
+ <element name="BLND_Cost_Baseline__c" nillable="true" minOccurs="0" type="xsd:double"/>
941
+ <element name="BLND_Cost__c" nillable="true" minOccurs="0" type="xsd:double"/>
942
+ <element name="BLND_Description__c" nillable="true" minOccurs="0" type="xsd:string"/>
943
+ <element name="BLND_Duration_In_Business_Days__c" nillable="true" minOccurs="0" type="xsd:double"/>
944
+ <element name="BLND_Duration_In_Calendar_Days__c" nillable="true" minOccurs="0" type="xsd:double"/>
945
+ <element name="BLND_Expansion__c" nillable="true" minOccurs="0" type="xsd:string"/>
946
+ <element name="BLND_Extra_Field__c" nillable="true" minOccurs="0" type="xsd:string"/>
947
+ <element name="BLND_Finish_Baseline__c" nillable="true" minOccurs="0" type="xsd:dateTime"/>
948
+ <element name="BLND_Finish__c" nillable="true" minOccurs="0" type="xsd:dateTime"/>
949
+ <element name="BLND_Folder_Link__c" nillable="true" minOccurs="0" type="xsd:string"/>
950
+ <element name="BLND_Opportunity_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
951
+ <element name="BLND_Opportunity_Link__r" nillable="true" minOccurs="0" type="ens:Opportunity"/>
952
+ <element name="BLND_Priority__c" nillable="true" minOccurs="0" type="xsd:string"/>
953
+ <element name="BLND_Revenue_Baseline__c" nillable="true" minOccurs="0" type="xsd:double"/>
954
+ <element name="BLND_Revenue__c" nillable="true" minOccurs="0" type="xsd:double"/>
955
+ <element name="BLND_Schedule_Override__c" nillable="true" minOccurs="0" type="xsd:double"/>
956
+ <element name="BLND_Schedule__c" nillable="true" minOccurs="0" type="xsd:double"/>
957
+ <element name="BLND_Start_Baseline__c" nillable="true" minOccurs="0" type="xsd:dateTime"/>
958
+ <element name="BLND_Start__c" nillable="true" minOccurs="0" type="xsd:dateTime"/>
959
+ <element name="BLND_Type__c" nillable="true" minOccurs="0" type="xsd:string"/>
960
+ <element name="BLND_Vacation_List__c" nillable="true" minOccurs="0" type="xsd:string"/>
961
+ <element name="BLND_Version__c" nillable="true" minOccurs="0" type="xsd:double"/>
962
+ <element name="BLND_Weight__c" nillable="true" minOccurs="0" type="xsd:double"/>
963
+ <element name="BLND_Work_In_Actual_Hours__c" nillable="true" minOccurs="0" type="xsd:double"/>
964
+ <element name="BLND_Work_In_Planned_Hours__c" nillable="true" minOccurs="0" type="xsd:double"/>
965
+ <element name="BLND_Workday_List__c" nillable="true" minOccurs="0" type="xsd:string"/>
966
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
967
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
968
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
969
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
970
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
971
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
972
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
973
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
974
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
975
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
976
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
977
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
978
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
979
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
980
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
981
+ <element name="R00N30000002PYgUEAW__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
982
+ <element name="R00N30000002PYgzEAG__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
983
+ <element name="R00N30000002PYhhEAG__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
984
+ <element name="R00N30000002PYhyEAG__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
985
+ <element name="R00N30000002PYiTEAW__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
986
+ <element name="R00N30000002PYjNEAW__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
987
+ <element name="R00N30000002PYjWEAW__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
988
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
989
+ </sequence>
990
+ </extension>
991
+ </complexContent>
992
+ </complexType>
993
+
994
+ <complexType name="BLND_DFDT_Resource__c">
995
+ <complexContent>
996
+ <extension base="ens:sObject">
997
+ <sequence>
998
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
999
+ <element name="BLND_Approval__c" nillable="true" minOccurs="0" type="xsd:string"/>
1000
+ <element name="BLND_Archive__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1001
+ <element name="BLND_Attachment_Link__c" nillable="true" minOccurs="0" type="xsd:string"/>
1002
+ <element name="BLND_Billing_Cost_Per_Day__c" nillable="true" minOccurs="0" type="xsd:double"/>
1003
+ <element name="BLND_Billing_Cost_Per_Use__c" nillable="true" minOccurs="0" type="xsd:double"/>
1004
+ <element name="BLND_Billing_Hourly_Rate__c" nillable="true" minOccurs="0" type="xsd:double"/>
1005
+ <element name="BLND_Billing_Overtime_Rate__c" nillable="true" minOccurs="0" type="xsd:double"/>
1006
+ <element name="BLND_Cost_Per_Day__c" nillable="true" minOccurs="0" type="xsd:double"/>
1007
+ <element name="BLND_Cost_Per_Use__c" nillable="true" minOccurs="0" type="xsd:double"/>
1008
+ <element name="BLND_Description__c" nillable="true" minOccurs="0" type="xsd:string"/>
1009
+ <element name="BLND_Expansion__c" nillable="true" minOccurs="0" type="xsd:string"/>
1010
+ <element name="BLND_Extra_Field__c" nillable="true" minOccurs="0" type="xsd:string"/>
1011
+ <element name="BLND_Hourly_Rate__c" nillable="true" minOccurs="0" type="xsd:double"/>
1012
+ <element name="BLND_Overtime_Rate__c" nillable="true" minOccurs="0" type="xsd:double"/>
1013
+ <element name="BLND_Project_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
1014
+ <element name="BLND_Project_Link__r" nillable="true" minOccurs="0" type="ens:BLND_DFDT_Project__c"/>
1015
+ <element name="BLND_Purpose__c" nillable="true" minOccurs="0" type="xsd:string"/>
1016
+ <element name="BLND_Skill_Certification__c" nillable="true" minOccurs="0" type="xsd:string"/>
1017
+ <element name="BLND_Skill_Level__c" nillable="true" minOccurs="0" type="xsd:string"/>
1018
+ <element name="BLND_Skill_Set__c" nillable="true" minOccurs="0" type="xsd:string"/>
1019
+ <element name="BLND_Version__c" nillable="true" minOccurs="0" type="xsd:double"/>
1020
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
1021
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1022
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1023
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1024
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1025
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1026
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1027
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1028
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
1029
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1030
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1031
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
1032
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
1033
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1034
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1035
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1036
+ </sequence>
1037
+ </extension>
1038
+ </complexContent>
1039
+ </complexType>
1040
+
1041
+ <complexType name="BLND_DFDT_Task__c">
1042
+ <complexContent>
1043
+ <extension base="ens:sObject">
1044
+ <sequence>
1045
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1046
+ <element name="BLND_Approval__c" nillable="true" minOccurs="0" type="xsd:string"/>
1047
+ <element name="BLND_Archive__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1048
+ <element name="BLND_Billable_Task__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1049
+ <element name="BLND_Complete__c" nillable="true" minOccurs="0" type="xsd:double"/>
1050
+ <element name="BLND_Constraint_Date__c" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1051
+ <element name="BLND_Constraint_Type__c" nillable="true" minOccurs="0" type="xsd:string"/>
1052
+ <element name="BLND_Cost_Baseline__c" nillable="true" minOccurs="0" type="xsd:double"/>
1053
+ <element name="BLND_Cost__c" nillable="true" minOccurs="0" type="xsd:double"/>
1054
+ <element name="BLND_Dependent__c" nillable="true" minOccurs="0" type="xsd:string"/>
1055
+ <element name="BLND_Description__c" nillable="true" minOccurs="0" type="xsd:string"/>
1056
+ <element name="BLND_Duration_In_Business_Days__c" nillable="true" minOccurs="0" type="xsd:double"/>
1057
+ <element name="BLND_Duration_In_Calendar_Days__c" nillable="true" minOccurs="0" type="xsd:double"/>
1058
+ <element name="BLND_Duration__c" nillable="true" minOccurs="0" type="xsd:string"/>
1059
+ <element name="BLND_Expansion__c" nillable="true" minOccurs="0" type="xsd:string"/>
1060
+ <element name="BLND_Extra_Field__c" nillable="true" minOccurs="0" type="xsd:string"/>
1061
+ <element name="BLND_Finish_Baseline__c" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1062
+ <element name="BLND_Finish__c" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1063
+ <element name="BLND_Index__c" nillable="true" minOccurs="0" type="xsd:double"/>
1064
+ <element name="BLND_Link__c" nillable="true" minOccurs="0" type="xsd:string"/>
1065
+ <element name="BLND_Project_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
1066
+ <element name="BLND_Project_Link__r" nillable="true" minOccurs="0" type="ens:BLND_DFDT_Project__c"/>
1067
+ <element name="BLND_Resources__c" nillable="true" minOccurs="0" type="xsd:string"/>
1068
+ <element name="BLND_Revenue_Baseline__c" nillable="true" minOccurs="0" type="xsd:double"/>
1069
+ <element name="BLND_Revenue__c" nillable="true" minOccurs="0" type="xsd:double"/>
1070
+ <element name="BLND_Schedule__c" nillable="true" minOccurs="0" type="xsd:double"/>
1071
+ <element name="BLND_Start_Baseline__c" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1072
+ <element name="BLND_Start__c" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1073
+ <element name="BLND_Subtask__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1074
+ <element name="BLND_Tabs__c" nillable="true" minOccurs="0" type="xsd:double"/>
1075
+ <element name="BLND_Type__c" nillable="true" minOccurs="0" type="xsd:string"/>
1076
+ <element name="BLND_Version__c" nillable="true" minOccurs="0" type="xsd:double"/>
1077
+ <element name="BLND_Work_In_Actual_Hours__c" nillable="true" minOccurs="0" type="xsd:double"/>
1078
+ <element name="BLND_Work_In_Planned_Hours__c" nillable="true" minOccurs="0" type="xsd:double"/>
1079
+ <element name="BLND_Work__c" nillable="true" minOccurs="0" type="xsd:string"/>
1080
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
1081
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1082
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1083
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1084
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1085
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1086
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1087
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1088
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
1089
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1090
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1091
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
1092
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
1093
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1094
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1095
+ <element name="R00N30000002PYgtEAG__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1096
+ <element name="R00N30000002PYgxEAG__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1097
+ <element name="R00N30000002PYigEAG__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1098
+ <element name="R00N30000002PYjGEAW__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1099
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1100
+ </sequence>
1101
+ </extension>
1102
+ </complexContent>
1103
+ </complexType>
1104
+
1105
+ <complexType name="BLND_DFFF_Form__c">
1106
+ <complexContent>
1107
+ <extension base="ens:sObject">
1108
+ <sequence>
1109
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1110
+ <element name="BLND_Bookmark__c" nillable="true" minOccurs="0" type="tns:ID"/>
1111
+ <element name="BLND_Bookmark__r" nillable="true" minOccurs="0" type="ens:BLND_DFFF_Page__c"/>
1112
+ <element name="BLND_Data__c" nillable="true" minOccurs="0" type="xsd:string"/>
1113
+ <element name="BLND_Description__c" nillable="true" minOccurs="0" type="xsd:string"/>
1114
+ <element name="BLND_Expansion__c" nillable="true" minOccurs="0" type="xsd:string"/>
1115
+ <element name="BLND_Extra_Field__c" nillable="true" minOccurs="0" type="xsd:string"/>
1116
+ <element name="BLND_Flag1__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1117
+ <element name="BLND_Flag2__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1118
+ <element name="BLND_Flag3__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1119
+ <element name="BLND_Flag4__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1120
+ <element name="BLND_Height__c" nillable="true" minOccurs="0" type="xsd:double"/>
1121
+ <element name="BLND_Lastopen__c" nillable="true" minOccurs="0" type="tns:ID"/>
1122
+ <element name="BLND_Lastopen__r" nillable="true" minOccurs="0" type="ens:BLND_DFFF_Page__c"/>
1123
+ <element name="BLND_Locked__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1124
+ <element name="BLND_Over1__c" nillable="true" minOccurs="0" type="xsd:string"/>
1125
+ <element name="BLND_Over2__c" nillable="true" minOccurs="0" type="xsd:string"/>
1126
+ <element name="BLND_Over3__c" nillable="true" minOccurs="0" type="xsd:string"/>
1127
+ <element name="BLND_Private__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1128
+ <element name="BLND_Type__c" nillable="true" minOccurs="0" type="xsd:string"/>
1129
+ <element name="BLND_Version__c" nillable="true" minOccurs="0" type="xsd:double"/>
1130
+ <element name="BLND_Width__c" nillable="true" minOccurs="0" type="xsd:double"/>
1131
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
1132
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1133
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1134
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1135
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1136
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1137
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1138
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1139
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
1140
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1141
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1142
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
1143
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
1144
+ <element name="Pages__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1145
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1146
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1147
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1148
+ </sequence>
1149
+ </extension>
1150
+ </complexContent>
1151
+ </complexType>
1152
+
1153
+ <complexType name="BLND_DFFF_Page__c">
1154
+ <complexContent>
1155
+ <extension base="ens:sObject">
1156
+ <sequence>
1157
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1158
+ <element name="BLND_Data__c" nillable="true" minOccurs="0" type="xsd:string"/>
1159
+ <element name="BLND_Description__c" nillable="true" minOccurs="0" type="xsd:string"/>
1160
+ <element name="BLND_Expansion__c" nillable="true" minOccurs="0" type="xsd:string"/>
1161
+ <element name="BLND_Extra_Field__c" nillable="true" minOccurs="0" type="xsd:string"/>
1162
+ <element name="BLND_Flag1__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1163
+ <element name="BLND_Flag2__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1164
+ <element name="BLND_Flag3__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1165
+ <element name="BLND_Flag4__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1166
+ <element name="BLND_Form__c" nillable="true" minOccurs="0" type="tns:ID"/>
1167
+ <element name="BLND_Form__r" nillable="true" minOccurs="0" type="ens:BLND_DFFF_Form__c"/>
1168
+ <element name="BLND_Index__c" nillable="true" minOccurs="0" type="xsd:double"/>
1169
+ <element name="BLND_Keywords__c" nillable="true" minOccurs="0" type="xsd:string"/>
1170
+ <element name="BLND_Locked__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1171
+ <element name="BLND_Over1__c" nillable="true" minOccurs="0" type="xsd:string"/>
1172
+ <element name="BLND_Over2__c" nillable="true" minOccurs="0" type="xsd:string"/>
1173
+ <element name="BLND_Over3__c" nillable="true" minOccurs="0" type="xsd:string"/>
1174
+ <element name="BLND_Private__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1175
+ <element name="BLND_Type__c" nillable="true" minOccurs="0" type="xsd:string"/>
1176
+ <element name="BLND_Version__c" nillable="true" minOccurs="0" type="xsd:double"/>
1177
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
1178
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1179
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1180
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1181
+ <element name="Forms1__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1182
+ <element name="Forms__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1183
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1184
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1185
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1186
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1187
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
1188
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1189
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1190
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
1191
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
1192
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1193
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1194
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1195
+ </sequence>
1196
+ </extension>
1197
+ </complexContent>
1198
+ </complexType>
1199
+
1200
+ <complexType name="BLND_DFTE_Expense__c">
1201
+ <complexContent>
1202
+ <extension base="ens:sObject">
1203
+ <sequence>
1204
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1205
+ <element name="BLND_Account_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
1206
+ <element name="BLND_Account_Link__r" nillable="true" minOccurs="0" type="ens:Account"/>
1207
+ <element name="BLND_Amount__c" nillable="true" minOccurs="0" type="xsd:double"/>
1208
+ <element name="BLND_Attachment_Link__c" nillable="true" minOccurs="0" type="xsd:string"/>
1209
+ <element name="BLND_Billable__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1210
+ <element name="BLND_Billed_Flag__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1211
+ <element name="BLND_Case_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
1212
+ <element name="BLND_Case_Link__r" nillable="true" minOccurs="0" type="ens:Case"/>
1213
+ <element name="BLND_Contact_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
1214
+ <element name="BLND_Contact_Link__r" nillable="true" minOccurs="0" type="ens:Contact"/>
1215
+ <element name="BLND_Date__c" nillable="true" minOccurs="0" type="xsd:date"/>
1216
+ <element name="BLND_Description__c" nillable="true" minOccurs="0" type="xsd:string"/>
1217
+ <element name="BLND_Expansion__c" nillable="true" minOccurs="0" type="xsd:string"/>
1218
+ <element name="BLND_Extra_Field__c" nillable="true" minOccurs="0" type="xsd:string"/>
1219
+ <element name="BLND_Note__c" nillable="true" minOccurs="0" type="xsd:string"/>
1220
+ <element name="BLND_Opportunity_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
1221
+ <element name="BLND_Opportunity_Link__r" nillable="true" minOccurs="0" type="ens:Opportunity"/>
1222
+ <element name="BLND_Project_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
1223
+ <element name="BLND_Project_Link__r" nillable="true" minOccurs="0" type="ens:BLND_DFDT_Project__c"/>
1224
+ <element name="BLND_Status__c" nillable="true" minOccurs="0" type="xsd:string"/>
1225
+ <element name="BLND_Submitted__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1226
+ <element name="BLND_Task_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
1227
+ <element name="BLND_Task_Link__r" nillable="true" minOccurs="0" type="ens:BLND_DFDT_Task__c"/>
1228
+ <element name="BLND_Type__c" nillable="true" minOccurs="0" type="xsd:string"/>
1229
+ <element name="BLND_User_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
1230
+ <element name="BLND_User_Link__r" nillable="true" minOccurs="0" type="ens:User"/>
1231
+ <element name="BLND_Version__c" nillable="true" minOccurs="0" type="xsd:double"/>
1232
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
1233
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1234
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1235
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1236
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1237
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1238
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1239
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1240
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
1241
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1242
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1243
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
1244
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
1245
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1246
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1247
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1248
+ </sequence>
1249
+ </extension>
1250
+ </complexContent>
1251
+ </complexType>
1252
+
1253
+ <complexType name="BLND_DFTE_Time__c">
1254
+ <complexContent>
1255
+ <extension base="ens:sObject">
1256
+ <sequence>
1257
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1258
+ <element name="BLND_Account_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
1259
+ <element name="BLND_Account_Link__r" nillable="true" minOccurs="0" type="ens:Account"/>
1260
+ <element name="BLND_Attachment_Link__c" nillable="true" minOccurs="0" type="xsd:string"/>
1261
+ <element name="BLND_Billable__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1262
+ <element name="BLND_Billed_Flag__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1263
+ <element name="BLND_Case_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
1264
+ <element name="BLND_Case_Link__r" nillable="true" minOccurs="0" type="ens:Case"/>
1265
+ <element name="BLND_Contact_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
1266
+ <element name="BLND_Contact_Link__r" nillable="true" minOccurs="0" type="ens:Contact"/>
1267
+ <element name="BLND_Date__c" nillable="true" minOccurs="0" type="xsd:date"/>
1268
+ <element name="BLND_Description__c" nillable="true" minOccurs="0" type="xsd:string"/>
1269
+ <element name="BLND_Expansion__c" nillable="true" minOccurs="0" type="xsd:string"/>
1270
+ <element name="BLND_Extra_Field__c" nillable="true" minOccurs="0" type="xsd:string"/>
1271
+ <element name="BLND_Note__c" nillable="true" minOccurs="0" type="xsd:string"/>
1272
+ <element name="BLND_Opportunity_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
1273
+ <element name="BLND_Opportunity_Link__r" nillable="true" minOccurs="0" type="ens:Opportunity"/>
1274
+ <element name="BLND_Project_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
1275
+ <element name="BLND_Project_Link__r" nillable="true" minOccurs="0" type="ens:BLND_DFDT_Project__c"/>
1276
+ <element name="BLND_Status__c" nillable="true" minOccurs="0" type="xsd:string"/>
1277
+ <element name="BLND_Submitted__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1278
+ <element name="BLND_Task_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
1279
+ <element name="BLND_Task_Link__r" nillable="true" minOccurs="0" type="ens:BLND_DFDT_Task__c"/>
1280
+ <element name="BLND_Time_Units__c" nillable="true" minOccurs="0" type="xsd:string"/>
1281
+ <element name="BLND_Time__c" nillable="true" minOccurs="0" type="xsd:double"/>
1282
+ <element name="BLND_Type__c" nillable="true" minOccurs="0" type="xsd:string"/>
1283
+ <element name="BLND_User_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
1284
+ <element name="BLND_User_Link__r" nillable="true" minOccurs="0" type="ens:User"/>
1285
+ <element name="BLND_Version__c" nillable="true" minOccurs="0" type="xsd:double"/>
1286
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
1287
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1288
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1289
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1290
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1291
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1292
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1293
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1294
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
1295
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1296
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1297
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
1298
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
1299
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1300
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1301
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1302
+ </sequence>
1303
+ </extension>
1304
+ </complexContent>
1305
+ </complexType>
1306
+
1307
+ <complexType name="BLND_DFTT_Document__c">
1308
+ <complexContent>
1309
+ <extension base="ens:sObject">
1310
+ <sequence>
1311
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1312
+ <element name="BLND_Data__c" nillable="true" minOccurs="0" type="xsd:string"/>
1313
+ <element name="BLND_Expansion__c" nillable="true" minOccurs="0" type="xsd:string"/>
1314
+ <element name="BLND_Extra_Field__c" nillable="true" minOccurs="0" type="xsd:string"/>
1315
+ <element name="BLND_Flag1__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1316
+ <element name="BLND_Flag2__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1317
+ <element name="BLND_Flag3__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1318
+ <element name="BLND_Flag4__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1319
+ <element name="BLND_Folder_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
1320
+ <element name="BLND_Folder_Link__r" nillable="true" minOccurs="0" type="ens:BLND_DFTT_Folder__c"/>
1321
+ <element name="BLND_Over1__c" nillable="true" minOccurs="0" type="xsd:string"/>
1322
+ <element name="BLND_Over2__c" nillable="true" minOccurs="0" type="xsd:string"/>
1323
+ <element name="BLND_Over3__c" nillable="true" minOccurs="0" type="xsd:string"/>
1324
+ <element name="BLND_Type__c" nillable="true" minOccurs="0" type="xsd:string"/>
1325
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
1326
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1327
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1328
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1329
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1330
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1331
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1332
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1333
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
1334
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1335
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1336
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
1337
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
1338
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1339
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1340
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1341
+ </sequence>
1342
+ </extension>
1343
+ </complexContent>
1344
+ </complexType>
1345
+
1346
+ <complexType name="BLND_DFTT_Entity_Info__c">
1347
+ <complexContent>
1348
+ <extension base="ens:sObject">
1349
+ <sequence>
1350
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1351
+ <element name="BLND_Data__c" nillable="true" minOccurs="0" type="xsd:string"/>
1352
+ <element name="BLND_Expansion__c" nillable="true" minOccurs="0" type="xsd:string"/>
1353
+ <element name="BLND_Extra_Field__c" nillable="true" minOccurs="0" type="xsd:string"/>
1354
+ <element name="BLND_Flag1__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1355
+ <element name="BLND_Flag2__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1356
+ <element name="BLND_Flag3__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1357
+ <element name="BLND_Flag4__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1358
+ <element name="BLND_Type__c" nillable="true" minOccurs="0" type="xsd:string"/>
1359
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
1360
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1361
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1362
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1363
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1364
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1365
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1366
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1367
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
1368
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1369
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1370
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
1371
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
1372
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1373
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1374
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1375
+ </sequence>
1376
+ </extension>
1377
+ </complexContent>
1378
+ </complexType>
1379
+
1380
+ <complexType name="BLND_DFTT_Folder__c">
1381
+ <complexContent>
1382
+ <extension base="ens:sObject">
1383
+ <sequence>
1384
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1385
+ <element name="BLND_Access_List__c" nillable="true" minOccurs="0" type="xsd:string"/>
1386
+ <element name="BLND_Expansion__c" nillable="true" minOccurs="0" type="xsd:string"/>
1387
+ <element name="BLND_Extra_Field__c" nillable="true" minOccurs="0" type="xsd:string"/>
1388
+ <element name="BLND_Flag1__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1389
+ <element name="BLND_Flag2__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1390
+ <element name="BLND_Flag3__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1391
+ <element name="BLND_Flag4__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
1392
+ <element name="BLND_Folder_Link__c" nillable="true" minOccurs="0" type="tns:ID"/>
1393
+ <element name="BLND_Folder_Link__r" nillable="true" minOccurs="0" type="ens:BLND_DFTT_Folder__c"/>
1394
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
1395
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1396
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1397
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1398
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1399
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1400
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1401
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1402
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
1403
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1404
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1405
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
1406
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
1407
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1408
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1409
+ <element name="R00N30000002PYhYEAW__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1410
+ <element name="R00N30000002PYiWEAW__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1411
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1412
+ </sequence>
1413
+ </extension>
1414
+ </complexContent>
1415
+ </complexType>
1416
+
1417
+ <complexType name="BrandTemplate">
1418
+ <complexContent>
1419
+ <extension base="ens:sObject">
1420
+ <sequence>
1421
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
1422
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1423
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1424
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
1425
+ <element name="DeveloperName" nillable="true" minOccurs="0" type="xsd:string"/>
1426
+ <element name="IsActive" nillable="true" minOccurs="0" type="xsd:boolean"/>
1427
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1428
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1429
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1430
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
1431
+ <element name="NamespacePrefix" nillable="true" minOccurs="0" type="xsd:string"/>
1432
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1433
+ <element name="Value" nillable="true" minOccurs="0" type="xsd:string"/>
1434
+ </sequence>
1435
+ </extension>
1436
+ </complexContent>
1437
+ </complexType>
1438
+
1439
+ <complexType name="BusinessHours">
1440
+ <complexContent>
1441
+ <extension base="ens:sObject">
1442
+ <sequence>
1443
+ <element name="Cases" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1444
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
1445
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1446
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1447
+ <element name="FridayEndTime" nillable="true" minOccurs="0" type="xsd:time"/>
1448
+ <element name="FridayStartTime" nillable="true" minOccurs="0" type="xsd:time"/>
1449
+ <element name="IsActive" nillable="true" minOccurs="0" type="xsd:boolean"/>
1450
+ <element name="IsDefault" nillable="true" minOccurs="0" type="xsd:boolean"/>
1451
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1452
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1453
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1454
+ <element name="MondayEndTime" nillable="true" minOccurs="0" type="xsd:time"/>
1455
+ <element name="MondayStartTime" nillable="true" minOccurs="0" type="xsd:time"/>
1456
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
1457
+ <element name="SaturdayEndTime" nillable="true" minOccurs="0" type="xsd:time"/>
1458
+ <element name="SaturdayStartTime" nillable="true" minOccurs="0" type="xsd:time"/>
1459
+ <element name="SundayEndTime" nillable="true" minOccurs="0" type="xsd:time"/>
1460
+ <element name="SundayStartTime" nillable="true" minOccurs="0" type="xsd:time"/>
1461
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1462
+ <element name="ThursdayEndTime" nillable="true" minOccurs="0" type="xsd:time"/>
1463
+ <element name="ThursdayStartTime" nillable="true" minOccurs="0" type="xsd:time"/>
1464
+ <element name="TimeZoneSidKey" nillable="true" minOccurs="0" type="xsd:string"/>
1465
+ <element name="TuesdayEndTime" nillable="true" minOccurs="0" type="xsd:time"/>
1466
+ <element name="TuesdayStartTime" nillable="true" minOccurs="0" type="xsd:time"/>
1467
+ <element name="WednesdayEndTime" nillable="true" minOccurs="0" type="xsd:time"/>
1468
+ <element name="WednesdayStartTime" nillable="true" minOccurs="0" type="xsd:time"/>
1469
+ </sequence>
1470
+ </extension>
1471
+ </complexContent>
1472
+ </complexType>
1473
+
1474
+ <complexType name="BusinessProcess">
1475
+ <complexContent>
1476
+ <extension base="ens:sObject">
1477
+ <sequence>
1478
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
1479
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1480
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1481
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
1482
+ <element name="IsActive" nillable="true" minOccurs="0" type="xsd:boolean"/>
1483
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1484
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1485
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1486
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
1487
+ <element name="NamespacePrefix" nillable="true" minOccurs="0" type="xsd:string"/>
1488
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1489
+ <element name="TableEnumOrId" nillable="true" minOccurs="0" type="xsd:string"/>
1490
+ </sequence>
1491
+ </extension>
1492
+ </complexContent>
1493
+ </complexType>
1494
+
1495
+ <complexType name="COOL__Content__History">
1496
+ <complexContent>
1497
+ <extension base="ens:sObject">
1498
+ <sequence>
1499
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
1500
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1501
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1502
+ <element name="Field" nillable="true" minOccurs="0" type="xsd:string"/>
1503
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1504
+ <element name="NewValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
1505
+ <element name="OldValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
1506
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:COOL__Content__c"/>
1507
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
1508
+ </sequence>
1509
+ </extension>
1510
+ </complexContent>
1511
+ </complexType>
1512
+
1513
+ <complexType name="COOL__Content__c">
1514
+ <complexContent>
1515
+ <extension base="ens:sObject">
1516
+ <sequence>
1517
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1518
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1519
+ <element name="COOL__Abstract__c" nillable="true" minOccurs="0" type="xsd:string"/>
1520
+ <element name="COOL__ArchivedDate__c" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1521
+ <element name="COOL__Body__c" nillable="true" minOccurs="0" type="xsd:string"/>
1522
+ <element name="COOL__CategoryContent__c" nillable="true" minOccurs="0" type="xsd:string"/>
1523
+ <element name="COOL__CategorySupport__c" nillable="true" minOccurs="0" type="xsd:string"/>
1524
+ <element name="COOL__CategoryTags__c" nillable="true" minOccurs="0" type="xsd:string"/>
1525
+ <element name="COOL__Cool_Content__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1526
+ <element name="COOL__DatePublished__c" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1527
+ <element name="COOL__LastEditedBy__c" nillable="true" minOccurs="0" type="xsd:string"/>
1528
+ <element name="COOL__LastEdited__c" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1529
+ <element name="COOL__ModifiedCount__c" nillable="true" minOccurs="0" type="xsd:double"/>
1530
+ <element name="COOL__Negative_Vote_Count__c" nillable="true" minOccurs="0" type="xsd:double"/>
1531
+ <element name="COOL__ParentId__c" nillable="true" minOccurs="0" type="tns:ID"/>
1532
+ <element name="COOL__ParentId__r" nillable="true" minOccurs="0" type="ens:COOL__Content__c"/>
1533
+ <element name="COOL__Positive_Vote_Count__c" nillable="true" minOccurs="0" type="xsd:double"/>
1534
+ <element name="COOL__PublishNotes__c" nillable="true" minOccurs="0" type="xsd:string"/>
1535
+ <element name="COOL__SharedCount__c" nillable="true" minOccurs="0" type="xsd:double"/>
1536
+ <element name="COOL__Stage__c" nillable="true" minOccurs="0" type="xsd:string"/>
1537
+ <element name="COOL__Title__c" nillable="true" minOccurs="0" type="xsd:string"/>
1538
+ <element name="COOL__Type__c" nillable="true" minOccurs="0" type="xsd:string"/>
1539
+ <element name="COOL__UUID__c" nillable="true" minOccurs="0" type="xsd:string"/>
1540
+ <element name="COOL__ViewCount__c" nillable="true" minOccurs="0" type="xsd:double"/>
1541
+ <element name="COOL__Who_Email__c" nillable="true" minOccurs="0" type="xsd:string"/>
1542
+ <element name="COOL__Who_Image__c" nillable="true" minOccurs="0" type="xsd:string"/>
1543
+ <element name="COOL__Who_Name__c" nillable="true" minOccurs="0" type="xsd:string"/>
1544
+ <element name="COOL__Who_URL__c" nillable="true" minOccurs="0" type="xsd:string"/>
1545
+ <element name="COOL__XCoordinate__c" nillable="true" minOccurs="0" type="xsd:double"/>
1546
+ <element name="COOL__YCoordinate__c" nillable="true" minOccurs="0" type="xsd:double"/>
1547
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
1548
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1549
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1550
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1551
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1552
+ <element name="Histories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1553
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1554
+ <element name="LastActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
1555
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1556
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1557
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1558
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
1559
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1560
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1561
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1562
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
1563
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
1564
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1565
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1566
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1567
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1568
+ </sequence>
1569
+ </extension>
1570
+ </complexContent>
1571
+ </complexType>
1572
+
1573
+ <complexType name="COOL__Setting__c">
1574
+ <complexContent>
1575
+ <extension base="ens:sObject">
1576
+ <sequence>
1577
+ <element name="COOL__Value__c" nillable="true" minOccurs="0" type="xsd:string"/>
1578
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
1579
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1580
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1581
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1582
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1583
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1584
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1585
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1586
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
1587
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1588
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1589
+ <element name="SetupOwner" nillable="true" minOccurs="0" type="ens:Name"/>
1590
+ <element name="SetupOwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
1591
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1592
+ </sequence>
1593
+ </extension>
1594
+ </complexContent>
1595
+ </complexType>
1596
+
1597
+ <complexType name="CallCenter">
1598
+ <complexContent>
1599
+ <extension base="ens:sObject">
1600
+ <sequence>
1601
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
1602
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1603
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1604
+ <element name="InternalName" nillable="true" minOccurs="0" type="xsd:string"/>
1605
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1606
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1607
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1608
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
1609
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1610
+ <element name="Version" nillable="true" minOccurs="0" type="xsd:double"/>
1611
+ </sequence>
1612
+ </extension>
1613
+ </complexContent>
1614
+ </complexType>
1615
+
1616
+ <complexType name="Campaign">
1617
+ <complexContent>
1618
+ <extension base="ens:sObject">
1619
+ <sequence>
1620
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1621
+ <element name="ActualCost" nillable="true" minOccurs="0" type="xsd:double"/>
1622
+ <element name="AmountAllOpportunities" nillable="true" minOccurs="0" type="xsd:double"/>
1623
+ <element name="AmountWonOpportunities" nillable="true" minOccurs="0" type="xsd:double"/>
1624
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1625
+ <element name="BudgetedCost" nillable="true" minOccurs="0" type="xsd:double"/>
1626
+ <element name="CampaignGoogleTracks__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1627
+ <element name="CampaignMemberRecordTypeId" nillable="true" minOccurs="0" type="tns:ID"/>
1628
+ <element name="CampaignMembers" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1629
+ <element name="ChildCampaigns" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1630
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
1631
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1632
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1633
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
1634
+ <element name="EndDate" nillable="true" minOccurs="0" type="xsd:date"/>
1635
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1636
+ <element name="ExpectedResponse" nillable="true" minOccurs="0" type="xsd:double"/>
1637
+ <element name="ExpectedRevenue" nillable="true" minOccurs="0" type="xsd:double"/>
1638
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1639
+ <element name="Feeds" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1640
+ <element name="IsActive" nillable="true" minOccurs="0" type="xsd:boolean"/>
1641
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1642
+ <element name="LastActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
1643
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1644
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1645
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1646
+ <element name="Leads" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1647
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
1648
+ <element name="NumberOfContacts" nillable="true" minOccurs="0" type="xsd:int"/>
1649
+ <element name="NumberOfConvertedLeads" nillable="true" minOccurs="0" type="xsd:int"/>
1650
+ <element name="NumberOfLeads" nillable="true" minOccurs="0" type="xsd:int"/>
1651
+ <element name="NumberOfOpportunities" nillable="true" minOccurs="0" type="xsd:int"/>
1652
+ <element name="NumberOfResponses" nillable="true" minOccurs="0" type="xsd:int"/>
1653
+ <element name="NumberOfWonOpportunities" nillable="true" minOccurs="0" type="xsd:int"/>
1654
+ <element name="NumberSent" nillable="true" minOccurs="0" type="xsd:double"/>
1655
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1656
+ <element name="Opportunities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1657
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:User"/>
1658
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
1659
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Campaign"/>
1660
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
1661
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1662
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1663
+ <element name="Shares" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1664
+ <element name="StartDate" nillable="true" minOccurs="0" type="xsd:date"/>
1665
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
1666
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1667
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1668
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
1669
+ <element name="leadScoring__Lead_Scoring_Rules__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1670
+ </sequence>
1671
+ </extension>
1672
+ </complexContent>
1673
+ </complexType>
1674
+
1675
+ <complexType name="CampaignFeed">
1676
+ <complexContent>
1677
+ <extension base="ens:sObject">
1678
+ <sequence>
1679
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
1680
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
1681
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
1682
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
1683
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
1684
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
1685
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
1686
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
1687
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1688
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1689
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1690
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1691
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1692
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
1693
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
1694
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1695
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1696
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
1697
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
1698
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Campaign"/>
1699
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
1700
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
1701
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1702
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
1703
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
1704
+ </sequence>
1705
+ </extension>
1706
+ </complexContent>
1707
+ </complexType>
1708
+
1709
+ <complexType name="CampaignGoogleTracker__History">
1710
+ <complexContent>
1711
+ <extension base="ens:sObject">
1712
+ <sequence>
1713
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
1714
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1715
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1716
+ <element name="Field" nillable="true" minOccurs="0" type="xsd:string"/>
1717
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1718
+ <element name="NewValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
1719
+ <element name="OldValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
1720
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:CampaignGoogleTracker__c"/>
1721
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
1722
+ </sequence>
1723
+ </extension>
1724
+ </complexContent>
1725
+ </complexType>
1726
+
1727
+ <complexType name="CampaignGoogleTracker__c">
1728
+ <complexContent>
1729
+ <extension base="ens:sObject">
1730
+ <sequence>
1731
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1732
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1733
+ <element name="Campaign__c" nillable="true" minOccurs="0" type="tns:ID"/>
1734
+ <element name="Campaign__r" nillable="true" minOccurs="0" type="ens:Campaign"/>
1735
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
1736
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1737
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1738
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1739
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1740
+ <element name="GoogleAnalyticsVisitors__c" nillable="true" minOccurs="0" type="xsd:double"/>
1741
+ <element name="GoogleNewVisits__c" nillable="true" minOccurs="0" type="xsd:string"/>
1742
+ <element name="GooglePage__c" nillable="true" minOccurs="0" type="xsd:double"/>
1743
+ <element name="Histories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1744
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1745
+ <element name="LastActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
1746
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1747
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1748
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1749
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
1750
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1751
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1752
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1753
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1754
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1755
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1756
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1757
+ <element name="TrackingDate__c" nillable="true" minOccurs="0" type="xsd:date"/>
1758
+ </sequence>
1759
+ </extension>
1760
+ </complexContent>
1761
+ </complexType>
1762
+
1763
+ <complexType name="CampaignMember">
1764
+ <complexContent>
1765
+ <extension base="ens:sObject">
1766
+ <sequence>
1767
+ <element name="Campaign" nillable="true" minOccurs="0" type="ens:Campaign"/>
1768
+ <element name="CampaignId" nillable="true" minOccurs="0" type="tns:ID"/>
1769
+ <element name="Contact" nillable="true" minOccurs="0" type="ens:Contact"/>
1770
+ <element name="ContactId" nillable="true" minOccurs="0" type="tns:ID"/>
1771
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
1772
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1773
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1774
+ <element name="FirstRespondedDate" nillable="true" minOccurs="0" type="xsd:date"/>
1775
+ <element name="HasResponded" nillable="true" minOccurs="0" type="xsd:boolean"/>
1776
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1777
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1778
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1779
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1780
+ <element name="Lead" nillable="true" minOccurs="0" type="ens:Lead"/>
1781
+ <element name="LeadId" nillable="true" minOccurs="0" type="tns:ID"/>
1782
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
1783
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1784
+ <element name="leadScoring__Campaign_Score__c" nillable="true" minOccurs="0" type="xsd:double"/>
1785
+ </sequence>
1786
+ </extension>
1787
+ </complexContent>
1788
+ </complexType>
1789
+
1790
+ <complexType name="CampaignMemberStatus">
1791
+ <complexContent>
1792
+ <extension base="ens:sObject">
1793
+ <sequence>
1794
+ <element name="CampaignId" nillable="true" minOccurs="0" type="tns:ID"/>
1795
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
1796
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1797
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1798
+ <element name="HasResponded" nillable="true" minOccurs="0" type="xsd:boolean"/>
1799
+ <element name="IsDefault" nillable="true" minOccurs="0" type="xsd:boolean"/>
1800
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1801
+ <element name="Label" nillable="true" minOccurs="0" type="xsd:string"/>
1802
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1803
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1804
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1805
+ <element name="SortOrder" nillable="true" minOccurs="0" type="xsd:int"/>
1806
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1807
+ </sequence>
1808
+ </extension>
1809
+ </complexContent>
1810
+ </complexType>
1811
+
1812
+ <complexType name="CampaignShare">
1813
+ <complexContent>
1814
+ <extension base="ens:sObject">
1815
+ <sequence>
1816
+ <element name="Campaign" nillable="true" minOccurs="0" type="ens:Campaign"/>
1817
+ <element name="CampaignAccessLevel" nillable="true" minOccurs="0" type="xsd:string"/>
1818
+ <element name="CampaignId" nillable="true" minOccurs="0" type="tns:ID"/>
1819
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1820
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1821
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1822
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1823
+ <element name="RowCause" nillable="true" minOccurs="0" type="xsd:string"/>
1824
+ <element name="UserOrGroupId" nillable="true" minOccurs="0" type="tns:ID"/>
1825
+ </sequence>
1826
+ </extension>
1827
+ </complexContent>
1828
+ </complexType>
1829
+
1830
+ <complexType name="Case">
1831
+ <complexContent>
1832
+ <extension base="ens:sObject">
1833
+ <sequence>
1834
+ <element name="Account" nillable="true" minOccurs="0" type="ens:Account"/>
1835
+ <element name="AccountId" nillable="true" minOccurs="0" type="tns:ID"/>
1836
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1837
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1838
+ <element name="CaseComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1839
+ <element name="CaseContactRoles" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1840
+ <element name="CaseNumber" nillable="true" minOccurs="0" type="xsd:string"/>
1841
+ <element name="CaseSolutions" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1842
+ <element name="Cases" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1843
+ <element name="ClosedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1844
+ <element name="Contact" nillable="true" minOccurs="0" type="ens:Contact"/>
1845
+ <element name="ContactId" nillable="true" minOccurs="0" type="tns:ID"/>
1846
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
1847
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1848
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1849
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
1850
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1851
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1852
+ <element name="Feeds" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1853
+ <element name="HasCommentsUnreadByOwner" nillable="true" minOccurs="0" type="xsd:boolean"/>
1854
+ <element name="HasSelfServiceComments" nillable="true" minOccurs="0" type="xsd:boolean"/>
1855
+ <element name="Histories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1856
+ <element name="IsClosed" nillable="true" minOccurs="0" type="xsd:boolean"/>
1857
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1858
+ <element name="IsEscalated" nillable="true" minOccurs="0" type="xsd:boolean"/>
1859
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1860
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1861
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1862
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1863
+ <element name="Origin" nillable="true" minOccurs="0" type="xsd:string"/>
1864
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
1865
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
1866
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Case"/>
1867
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
1868
+ <element name="Priority" nillable="true" minOccurs="0" type="xsd:string"/>
1869
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1870
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1871
+ <element name="R00N30000002PYh2EAG__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1872
+ <element name="R00N30000002PYioEAG__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1873
+ <element name="Reason" nillable="true" minOccurs="0" type="xsd:string"/>
1874
+ <element name="ReleaseDates__c" nillable="true" minOccurs="0" type="xsd:date"/>
1875
+ <element name="Shares" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1876
+ <element name="Solutions" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1877
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
1878
+ <element name="Subject" nillable="true" minOccurs="0" type="xsd:string"/>
1879
+ <element name="SuppliedCompany" nillable="true" minOccurs="0" type="xsd:string"/>
1880
+ <element name="SuppliedEmail" nillable="true" minOccurs="0" type="xsd:string"/>
1881
+ <element name="SuppliedName" nillable="true" minOccurs="0" type="xsd:string"/>
1882
+ <element name="SuppliedPhone" nillable="true" minOccurs="0" type="xsd:string"/>
1883
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1884
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1885
+ <element name="TeamMembers" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1886
+ <element name="TeamTemplateRecords" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1887
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
1888
+ </sequence>
1889
+ </extension>
1890
+ </complexContent>
1891
+ </complexType>
1892
+
1893
+ <complexType name="CaseComment">
1894
+ <complexContent>
1895
+ <extension base="ens:sObject">
1896
+ <sequence>
1897
+ <element name="CommentBody" nillable="true" minOccurs="0" type="xsd:string"/>
1898
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
1899
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1900
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1901
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1902
+ <element name="IsPublished" nillable="true" minOccurs="0" type="xsd:boolean"/>
1903
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:Name"/>
1904
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1905
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1906
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Case"/>
1907
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
1908
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1909
+ </sequence>
1910
+ </extension>
1911
+ </complexContent>
1912
+ </complexType>
1913
+
1914
+ <complexType name="CaseContactRole">
1915
+ <complexContent>
1916
+ <extension base="ens:sObject">
1917
+ <sequence>
1918
+ <element name="Cases" nillable="true" minOccurs="0" type="ens:Case"/>
1919
+ <element name="CasesId" nillable="true" minOccurs="0" type="tns:ID"/>
1920
+ <element name="Contact" nillable="true" minOccurs="0" type="ens:Contact"/>
1921
+ <element name="ContactId" nillable="true" minOccurs="0" type="tns:ID"/>
1922
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
1923
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1924
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1925
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1926
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1927
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1928
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1929
+ <element name="Role" nillable="true" minOccurs="0" type="xsd:string"/>
1930
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1931
+ </sequence>
1932
+ </extension>
1933
+ </complexContent>
1934
+ </complexType>
1935
+
1936
+ <complexType name="CaseFeed">
1937
+ <complexContent>
1938
+ <extension base="ens:sObject">
1939
+ <sequence>
1940
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
1941
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
1942
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
1943
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
1944
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
1945
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
1946
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
1947
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
1948
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1949
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1950
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1951
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1952
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
1953
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
1954
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
1955
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1956
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1957
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
1958
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
1959
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Case"/>
1960
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
1961
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
1962
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1963
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
1964
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
1965
+ </sequence>
1966
+ </extension>
1967
+ </complexContent>
1968
+ </complexType>
1969
+
1970
+ <complexType name="CaseHistory">
1971
+ <complexContent>
1972
+ <extension base="ens:sObject">
1973
+ <sequence>
1974
+ <element name="Case" nillable="true" minOccurs="0" type="ens:Case"/>
1975
+ <element name="CaseId" nillable="true" minOccurs="0" type="tns:ID"/>
1976
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
1977
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
1978
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1979
+ <element name="Field" nillable="true" minOccurs="0" type="xsd:string"/>
1980
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1981
+ <element name="NewValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
1982
+ <element name="OldValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
1983
+ </sequence>
1984
+ </extension>
1985
+ </complexContent>
1986
+ </complexType>
1987
+
1988
+ <complexType name="CaseShare">
1989
+ <complexContent>
1990
+ <extension base="ens:sObject">
1991
+ <sequence>
1992
+ <element name="Case" nillable="true" minOccurs="0" type="ens:Case"/>
1993
+ <element name="CaseAccessLevel" nillable="true" minOccurs="0" type="xsd:string"/>
1994
+ <element name="CaseId" nillable="true" minOccurs="0" type="tns:ID"/>
1995
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
1996
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
1997
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
1998
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
1999
+ <element name="RowCause" nillable="true" minOccurs="0" type="xsd:string"/>
2000
+ <element name="UserOrGroupId" nillable="true" minOccurs="0" type="tns:ID"/>
2001
+ </sequence>
2002
+ </extension>
2003
+ </complexContent>
2004
+ </complexType>
2005
+
2006
+ <complexType name="CaseSolution">
2007
+ <complexContent>
2008
+ <extension base="ens:sObject">
2009
+ <sequence>
2010
+ <element name="Case" nillable="true" minOccurs="0" type="ens:Case"/>
2011
+ <element name="CaseId" nillable="true" minOccurs="0" type="tns:ID"/>
2012
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2013
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2014
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2015
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2016
+ <element name="Solution" nillable="true" minOccurs="0" type="ens:Solution"/>
2017
+ <element name="SolutionId" nillable="true" minOccurs="0" type="tns:ID"/>
2018
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2019
+ </sequence>
2020
+ </extension>
2021
+ </complexContent>
2022
+ </complexType>
2023
+
2024
+ <complexType name="CaseStatus">
2025
+ <complexContent>
2026
+ <extension base="ens:sObject">
2027
+ <sequence>
2028
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2029
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2030
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2031
+ <element name="IsClosed" nillable="true" minOccurs="0" type="xsd:boolean"/>
2032
+ <element name="IsDefault" nillable="true" minOccurs="0" type="xsd:boolean"/>
2033
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2034
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2035
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2036
+ <element name="MasterLabel" nillable="true" minOccurs="0" type="xsd:string"/>
2037
+ <element name="SortOrder" nillable="true" minOccurs="0" type="xsd:int"/>
2038
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2039
+ </sequence>
2040
+ </extension>
2041
+ </complexContent>
2042
+ </complexType>
2043
+
2044
+ <complexType name="CaseTeamMember">
2045
+ <complexContent>
2046
+ <extension base="ens:sObject">
2047
+ <sequence>
2048
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2049
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2050
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2051
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2052
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2053
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2054
+ <element name="MemberId" nillable="true" minOccurs="0" type="tns:ID"/>
2055
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Case"/>
2056
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
2057
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2058
+ <element name="TeamRoleId" nillable="true" minOccurs="0" type="tns:ID"/>
2059
+ <element name="TeamTemplateMemberId" nillable="true" minOccurs="0" type="tns:ID"/>
2060
+ </sequence>
2061
+ </extension>
2062
+ </complexContent>
2063
+ </complexType>
2064
+
2065
+ <complexType name="CaseTeamRole">
2066
+ <complexContent>
2067
+ <extension base="ens:sObject">
2068
+ <sequence>
2069
+ <element name="AccessLevel" nillable="true" minOccurs="0" type="xsd:string"/>
2070
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2071
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2072
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2073
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2074
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2075
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2076
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
2077
+ <element name="PreferencesVisibleInCSP" nillable="true" minOccurs="0" type="xsd:boolean"/>
2078
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2079
+ </sequence>
2080
+ </extension>
2081
+ </complexContent>
2082
+ </complexType>
2083
+
2084
+ <complexType name="CaseTeamTemplate">
2085
+ <complexContent>
2086
+ <extension base="ens:sObject">
2087
+ <sequence>
2088
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2089
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2090
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2091
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
2092
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2093
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2094
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2095
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
2096
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2097
+ </sequence>
2098
+ </extension>
2099
+ </complexContent>
2100
+ </complexType>
2101
+
2102
+ <complexType name="CaseTeamTemplateMember">
2103
+ <complexContent>
2104
+ <extension base="ens:sObject">
2105
+ <sequence>
2106
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2107
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2108
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2109
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2110
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2111
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2112
+ <element name="MemberId" nillable="true" minOccurs="0" type="tns:ID"/>
2113
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2114
+ <element name="TeamRoleId" nillable="true" minOccurs="0" type="tns:ID"/>
2115
+ <element name="TeamTemplateId" nillable="true" minOccurs="0" type="tns:ID"/>
2116
+ </sequence>
2117
+ </extension>
2118
+ </complexContent>
2119
+ </complexType>
2120
+
2121
+ <complexType name="CaseTeamTemplateRecord">
2122
+ <complexContent>
2123
+ <extension base="ens:sObject">
2124
+ <sequence>
2125
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2126
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2127
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2128
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Case"/>
2129
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
2130
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2131
+ <element name="TeamTemplateId" nillable="true" minOccurs="0" type="tns:ID"/>
2132
+ </sequence>
2133
+ </extension>
2134
+ </complexContent>
2135
+ </complexType>
2136
+
2137
+ <complexType name="CategoryData">
2138
+ <complexContent>
2139
+ <extension base="ens:sObject">
2140
+ <sequence>
2141
+ <element name="CategoryNodeId" nillable="true" minOccurs="0" type="tns:ID"/>
2142
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2143
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2144
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2145
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2146
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2147
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2148
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2149
+ <element name="RelatedSobjectId" nillable="true" minOccurs="0" type="tns:ID"/>
2150
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2151
+ </sequence>
2152
+ </extension>
2153
+ </complexContent>
2154
+ </complexType>
2155
+
2156
+ <complexType name="CategoryNode">
2157
+ <complexContent>
2158
+ <extension base="ens:sObject">
2159
+ <sequence>
2160
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2161
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2162
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2163
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2164
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2165
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2166
+ <element name="MasterLabel" nillable="true" minOccurs="0" type="xsd:string"/>
2167
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
2168
+ <element name="SortOrder" nillable="true" minOccurs="0" type="xsd:int"/>
2169
+ <element name="SortStyle" nillable="true" minOccurs="0" type="xsd:string"/>
2170
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2171
+ </sequence>
2172
+ </extension>
2173
+ </complexContent>
2174
+ </complexType>
2175
+
2176
+ <complexType name="Channels__c">
2177
+ <complexContent>
2178
+ <extension base="ens:sObject">
2179
+ <sequence>
2180
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2181
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2182
+ <element name="ChannelType__c" nillable="true" minOccurs="0" type="xsd:string"/>
2183
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2184
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2185
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2186
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2187
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2188
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2189
+ <element name="LastActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
2190
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2191
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2192
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2193
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
2194
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2195
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2196
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2197
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
2198
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
2199
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2200
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2201
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2202
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2203
+ </sequence>
2204
+ </extension>
2205
+ </complexContent>
2206
+ </complexType>
2207
+
2208
+ <complexType name="CollaborationGroup">
2209
+ <complexContent>
2210
+ <extension base="ens:sObject">
2211
+ <sequence>
2212
+ <element name="CollaborationType" nillable="true" minOccurs="0" type="xsd:string"/>
2213
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2214
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2215
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2216
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
2217
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2218
+ <element name="Feeds" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2219
+ <element name="FullPhotoUrl" nillable="true" minOccurs="0" type="xsd:string"/>
2220
+ <element name="GroupMemberRequests" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2221
+ <element name="GroupMembers" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2222
+ <element name="HasPrivateFieldsAccess" nillable="true" minOccurs="0" type="xsd:boolean"/>
2223
+ <element name="InformationBody" nillable="true" minOccurs="0" type="xsd:string"/>
2224
+ <element name="InformationTitle" nillable="true" minOccurs="0" type="xsd:string"/>
2225
+ <element name="LastFeedModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2226
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2227
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2228
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2229
+ <element name="MemberCount" nillable="true" minOccurs="0" type="xsd:int"/>
2230
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
2231
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:User"/>
2232
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
2233
+ <element name="SmallPhotoUrl" nillable="true" minOccurs="0" type="xsd:string"/>
2234
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2235
+ </sequence>
2236
+ </extension>
2237
+ </complexContent>
2238
+ </complexType>
2239
+
2240
+ <complexType name="CollaborationGroupFeed">
2241
+ <complexContent>
2242
+ <extension base="ens:sObject">
2243
+ <sequence>
2244
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
2245
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
2246
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
2247
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
2248
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
2249
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
2250
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
2251
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
2252
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2253
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2254
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2255
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2256
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2257
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
2258
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
2259
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2260
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2261
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
2262
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
2263
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:CollaborationGroup"/>
2264
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
2265
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
2266
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2267
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
2268
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
2269
+ </sequence>
2270
+ </extension>
2271
+ </complexContent>
2272
+ </complexType>
2273
+
2274
+ <complexType name="CollaborationGroupMember">
2275
+ <complexContent>
2276
+ <extension base="ens:sObject">
2277
+ <sequence>
2278
+ <element name="CollaborationGroup" nillable="true" minOccurs="0" type="ens:CollaborationGroup"/>
2279
+ <element name="CollaborationGroupId" nillable="true" minOccurs="0" type="tns:ID"/>
2280
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2281
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2282
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2283
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2284
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2285
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2286
+ <element name="MemberId" nillable="true" minOccurs="0" type="tns:ID"/>
2287
+ <element name="NotificationFrequency" nillable="true" minOccurs="0" type="xsd:string"/>
2288
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2289
+ </sequence>
2290
+ </extension>
2291
+ </complexContent>
2292
+ </complexType>
2293
+
2294
+ <complexType name="CollaborationGroupMemberRequest">
2295
+ <complexContent>
2296
+ <extension base="ens:sObject">
2297
+ <sequence>
2298
+ <element name="CollaborationGroup" nillable="true" minOccurs="0" type="ens:CollaborationGroup"/>
2299
+ <element name="CollaborationGroupId" nillable="true" minOccurs="0" type="tns:ID"/>
2300
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2301
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2302
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2303
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2304
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2305
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2306
+ <element name="RequesterId" nillable="true" minOccurs="0" type="tns:ID"/>
2307
+ <element name="ResponseMessage" nillable="true" minOccurs="0" type="xsd:string"/>
2308
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
2309
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2310
+ </sequence>
2311
+ </extension>
2312
+ </complexContent>
2313
+ </complexType>
2314
+
2315
+ <complexType name="CollaborationInvitation">
2316
+ <complexContent>
2317
+ <extension base="ens:sObject">
2318
+ <sequence>
2319
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2320
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2321
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2322
+ <element name="InvitedUserEmail" nillable="true" minOccurs="0" type="xsd:string"/>
2323
+ <element name="InvitedUserEmailNormalized" nillable="true" minOccurs="0" type="xsd:string"/>
2324
+ <element name="InviterId" nillable="true" minOccurs="0" type="tns:ID"/>
2325
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2326
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2327
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2328
+ <element name="OptionalMessage" nillable="true" minOccurs="0" type="xsd:string"/>
2329
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
2330
+ <element name="SharedEntityId" nillable="true" minOccurs="0" type="tns:ID"/>
2331
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
2332
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2333
+ </sequence>
2334
+ </extension>
2335
+ </complexContent>
2336
+ </complexType>
2337
+
2338
+ <complexType name="Community">
2339
+ <complexContent>
2340
+ <extension base="ens:sObject">
2341
+ <sequence>
2342
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2343
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2344
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2345
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
2346
+ <element name="IsActive" nillable="true" minOccurs="0" type="xsd:boolean"/>
2347
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2348
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2349
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2350
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
2351
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2352
+ </sequence>
2353
+ </extension>
2354
+ </complexContent>
2355
+ </complexType>
2356
+
2357
+ <complexType name="Contact">
2358
+ <complexContent>
2359
+ <extension base="ens:sObject">
2360
+ <sequence>
2361
+ <element name="Account" nillable="true" minOccurs="0" type="ens:Account"/>
2362
+ <element name="AccountContactRoles" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2363
+ <element name="AccountId" nillable="true" minOccurs="0" type="tns:ID"/>
2364
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2365
+ <element name="Assets" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2366
+ <element name="AssistantName" nillable="true" minOccurs="0" type="xsd:string"/>
2367
+ <element name="AssistantPhone" nillable="true" minOccurs="0" type="xsd:string"/>
2368
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2369
+ <element name="Birthdate" nillable="true" minOccurs="0" type="xsd:date"/>
2370
+ <element name="CampaignMembers" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2371
+ <element name="CaseContactRoles" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2372
+ <element name="Cases" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2373
+ <element name="ContractContactRoles" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2374
+ <element name="ContractsSigned" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2375
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2376
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2377
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2378
+ <element name="Department" nillable="true" minOccurs="0" type="xsd:string"/>
2379
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
2380
+ <element name="Email" nillable="true" minOccurs="0" type="xsd:string"/>
2381
+ <element name="EmailBouncedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2382
+ <element name="EmailBouncedReason" nillable="true" minOccurs="0" type="xsd:string"/>
2383
+ <element name="EmailStatuses" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2384
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2385
+ <element name="Fax" nillable="true" minOccurs="0" type="xsd:string"/>
2386
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2387
+ <element name="Feeds" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2388
+ <element name="FirstName" nillable="true" minOccurs="0" type="xsd:string"/>
2389
+ <element name="Histories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2390
+ <element name="HomePhone" nillable="true" minOccurs="0" type="xsd:string"/>
2391
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2392
+ <element name="Jigsaw" nillable="true" minOccurs="0" type="xsd:string"/>
2393
+ <element name="LastActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
2394
+ <element name="LastCURequestDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2395
+ <element name="LastCUUpdateDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2396
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2397
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2398
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2399
+ <element name="LastName" nillable="true" minOccurs="0" type="xsd:string"/>
2400
+ <element name="LeadSource" nillable="true" minOccurs="0" type="xsd:string"/>
2401
+ <element name="Leads__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2402
+ <element name="MailingCity" nillable="true" minOccurs="0" type="xsd:string"/>
2403
+ <element name="MailingCountry" nillable="true" minOccurs="0" type="xsd:string"/>
2404
+ <element name="MailingPostalCode" nillable="true" minOccurs="0" type="xsd:string"/>
2405
+ <element name="MailingState" nillable="true" minOccurs="0" type="xsd:string"/>
2406
+ <element name="MailingStreet" nillable="true" minOccurs="0" type="xsd:string"/>
2407
+ <element name="MasterRecord" nillable="true" minOccurs="0" type="ens:Contact"/>
2408
+ <element name="MasterRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
2409
+ <element name="MobilePhone" nillable="true" minOccurs="0" type="xsd:string"/>
2410
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
2411
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2412
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2413
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2414
+ <element name="Opportunities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2415
+ <element name="OpportunityContactRoles" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2416
+ <element name="OtherCity" nillable="true" minOccurs="0" type="xsd:string"/>
2417
+ <element name="OtherCountry" nillable="true" minOccurs="0" type="xsd:string"/>
2418
+ <element name="OtherPhone" nillable="true" minOccurs="0" type="xsd:string"/>
2419
+ <element name="OtherPostalCode" nillable="true" minOccurs="0" type="xsd:string"/>
2420
+ <element name="OtherState" nillable="true" minOccurs="0" type="xsd:string"/>
2421
+ <element name="OtherStreet" nillable="true" minOccurs="0" type="xsd:string"/>
2422
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:User"/>
2423
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
2424
+ <element name="Phone" nillable="true" minOccurs="0" type="xsd:string"/>
2425
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2426
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2427
+ <element name="Quotes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2428
+ <element name="R00N30000002PYg0EAG__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2429
+ <element name="R00N30000002PYiFEAW__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2430
+ <element name="ReportsTo" nillable="true" minOccurs="0" type="ens:Contact"/>
2431
+ <element name="ReportsToId" nillable="true" minOccurs="0" type="tns:ID"/>
2432
+ <element name="Salutation" nillable="true" minOccurs="0" type="xsd:string"/>
2433
+ <element name="Shares" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2434
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2435
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2436
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
2437
+ <element name="leadScoring__Campaign_Score__c" nillable="true" minOccurs="0" type="xsd:double"/>
2438
+ <element name="leadScoring__Lead_Score__c" nillable="true" minOccurs="0" type="xsd:double"/>
2439
+ <element name="leadScoring__Total_Lead_Score__c" nillable="true" minOccurs="0" type="xsd:double"/>
2440
+ <element name="status__c" nillable="true" minOccurs="0" type="xsd:string"/>
2441
+ </sequence>
2442
+ </extension>
2443
+ </complexContent>
2444
+ </complexType>
2445
+
2446
+ <complexType name="ContactFeed">
2447
+ <complexContent>
2448
+ <extension base="ens:sObject">
2449
+ <sequence>
2450
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
2451
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
2452
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
2453
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
2454
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
2455
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
2456
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
2457
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
2458
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2459
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2460
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2461
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2462
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2463
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
2464
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
2465
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2466
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2467
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
2468
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
2469
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Contact"/>
2470
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
2471
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
2472
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2473
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
2474
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
2475
+ </sequence>
2476
+ </extension>
2477
+ </complexContent>
2478
+ </complexType>
2479
+
2480
+ <complexType name="ContactHistory">
2481
+ <complexContent>
2482
+ <extension base="ens:sObject">
2483
+ <sequence>
2484
+ <element name="Contact" nillable="true" minOccurs="0" type="ens:Contact"/>
2485
+ <element name="ContactId" nillable="true" minOccurs="0" type="tns:ID"/>
2486
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
2487
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2488
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2489
+ <element name="Field" nillable="true" minOccurs="0" type="xsd:string"/>
2490
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2491
+ <element name="NewValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
2492
+ <element name="OldValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
2493
+ </sequence>
2494
+ </extension>
2495
+ </complexContent>
2496
+ </complexType>
2497
+
2498
+ <complexType name="ContactShare">
2499
+ <complexContent>
2500
+ <extension base="ens:sObject">
2501
+ <sequence>
2502
+ <element name="Contact" nillable="true" minOccurs="0" type="ens:Contact"/>
2503
+ <element name="ContactAccessLevel" nillable="true" minOccurs="0" type="xsd:string"/>
2504
+ <element name="ContactId" nillable="true" minOccurs="0" type="tns:ID"/>
2505
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2506
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2507
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2508
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2509
+ <element name="RowCause" nillable="true" minOccurs="0" type="xsd:string"/>
2510
+ <element name="UserOrGroupId" nillable="true" minOccurs="0" type="tns:ID"/>
2511
+ </sequence>
2512
+ </extension>
2513
+ </complexContent>
2514
+ </complexType>
2515
+
2516
+ <complexType name="ContentDocument">
2517
+ <complexContent>
2518
+ <extension base="ens:sObject">
2519
+ <sequence>
2520
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2521
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2522
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2523
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2524
+ <element name="Feeds" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2525
+ <element name="Histories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2526
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2527
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2528
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2529
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2530
+ <element name="LatestPublishedVersion" nillable="true" minOccurs="0" type="ens:ContentVersion"/>
2531
+ <element name="LatestPublishedVersionId" nillable="true" minOccurs="0" type="tns:ID"/>
2532
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:User"/>
2533
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
2534
+ <element name="PublishStatus" nillable="true" minOccurs="0" type="xsd:string"/>
2535
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2536
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
2537
+ </sequence>
2538
+ </extension>
2539
+ </complexContent>
2540
+ </complexType>
2541
+
2542
+ <complexType name="ContentDocumentFeed">
2543
+ <complexContent>
2544
+ <extension base="ens:sObject">
2545
+ <sequence>
2546
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
2547
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
2548
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
2549
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
2550
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
2551
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
2552
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
2553
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
2554
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2555
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2556
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2557
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2558
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2559
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
2560
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
2561
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2562
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2563
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
2564
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
2565
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:ContentDocument"/>
2566
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
2567
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
2568
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2569
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
2570
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
2571
+ </sequence>
2572
+ </extension>
2573
+ </complexContent>
2574
+ </complexType>
2575
+
2576
+ <complexType name="ContentDocumentHistory">
2577
+ <complexContent>
2578
+ <extension base="ens:sObject">
2579
+ <sequence>
2580
+ <element name="ContentDocument" nillable="true" minOccurs="0" type="ens:ContentDocument"/>
2581
+ <element name="ContentDocumentId" nillable="true" minOccurs="0" type="tns:ID"/>
2582
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
2583
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2584
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2585
+ <element name="Field" nillable="true" minOccurs="0" type="xsd:string"/>
2586
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2587
+ <element name="NewValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
2588
+ <element name="OldValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
2589
+ </sequence>
2590
+ </extension>
2591
+ </complexContent>
2592
+ </complexType>
2593
+
2594
+ <complexType name="ContentDocumentLink">
2595
+ <complexContent>
2596
+ <extension base="ens:sObject">
2597
+ <sequence>
2598
+ <element name="ContentDocument" nillable="true" minOccurs="0" type="ens:ContentDocument"/>
2599
+ <element name="ContentDocumentId" nillable="true" minOccurs="0" type="tns:ID"/>
2600
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2601
+ <element name="LinkedEntity" nillable="true" minOccurs="0" type="ens:Name"/>
2602
+ <element name="LinkedEntityId" nillable="true" minOccurs="0" type="tns:ID"/>
2603
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2604
+ </sequence>
2605
+ </extension>
2606
+ </complexContent>
2607
+ </complexType>
2608
+
2609
+ <complexType name="ContentVersion">
2610
+ <complexContent>
2611
+ <extension base="ens:sObject">
2612
+ <sequence>
2613
+ <element name="ContentDocument" nillable="true" minOccurs="0" type="ens:ContentDocument"/>
2614
+ <element name="ContentDocumentId" nillable="true" minOccurs="0" type="tns:ID"/>
2615
+ <element name="ContentModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2616
+ <element name="ContentModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2617
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
2618
+ <element name="ContentUrl" nillable="true" minOccurs="0" type="xsd:string"/>
2619
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2620
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2621
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2622
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
2623
+ <element name="FeaturedContentBoost" nillable="true" minOccurs="0" type="xsd:int"/>
2624
+ <element name="FeaturedContentDate" nillable="true" minOccurs="0" type="xsd:date"/>
2625
+ <element name="FileType" nillable="true" minOccurs="0" type="xsd:string"/>
2626
+ <element name="FirstPublishLocation" nillable="true" minOccurs="0" type="ens:Name"/>
2627
+ <element name="FirstPublishLocationId" nillable="true" minOccurs="0" type="tns:ID"/>
2628
+ <element name="Histories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2629
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2630
+ <element name="IsLatest" nillable="true" minOccurs="0" type="xsd:boolean"/>
2631
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2632
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2633
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2634
+ <element name="NegativeRatingCount" nillable="true" minOccurs="0" type="xsd:int"/>
2635
+ <element name="Origin" nillable="true" minOccurs="0" type="xsd:string"/>
2636
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:User"/>
2637
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
2638
+ <element name="PathOnClient" nillable="true" minOccurs="0" type="xsd:string"/>
2639
+ <element name="PositiveRatingCount" nillable="true" minOccurs="0" type="xsd:int"/>
2640
+ <element name="PublishStatus" nillable="true" minOccurs="0" type="xsd:string"/>
2641
+ <element name="RatingCount" nillable="true" minOccurs="0" type="xsd:int"/>
2642
+ <element name="ReasonForChange" nillable="true" minOccurs="0" type="xsd:string"/>
2643
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2644
+ <element name="TagCsv" nillable="true" minOccurs="0" type="xsd:string"/>
2645
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
2646
+ <element name="VersionData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
2647
+ <element name="VersionNumber" nillable="true" minOccurs="0" type="xsd:string"/>
2648
+ </sequence>
2649
+ </extension>
2650
+ </complexContent>
2651
+ </complexType>
2652
+
2653
+ <complexType name="ContentVersionHistory">
2654
+ <complexContent>
2655
+ <extension base="ens:sObject">
2656
+ <sequence>
2657
+ <element name="ContentVersion" nillable="true" minOccurs="0" type="ens:ContentVersion"/>
2658
+ <element name="ContentVersionId" nillable="true" minOccurs="0" type="tns:ID"/>
2659
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
2660
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2661
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2662
+ <element name="Field" nillable="true" minOccurs="0" type="xsd:string"/>
2663
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2664
+ <element name="NewValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
2665
+ <element name="OldValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
2666
+ </sequence>
2667
+ </extension>
2668
+ </complexContent>
2669
+ </complexType>
2670
+
2671
+ <complexType name="Contract">
2672
+ <complexContent>
2673
+ <extension base="ens:sObject">
2674
+ <sequence>
2675
+ <element name="Account" nillable="true" minOccurs="0" type="ens:Account"/>
2676
+ <element name="AccountId" nillable="true" minOccurs="0" type="tns:ID"/>
2677
+ <element name="ActivatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2678
+ <element name="ActivatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2679
+ <element name="ActivatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2680
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2681
+ <element name="Approvals" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2682
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2683
+ <element name="BillingCity" nillable="true" minOccurs="0" type="xsd:string"/>
2684
+ <element name="BillingCountry" nillable="true" minOccurs="0" type="xsd:string"/>
2685
+ <element name="BillingPostalCode" nillable="true" minOccurs="0" type="xsd:string"/>
2686
+ <element name="BillingState" nillable="true" minOccurs="0" type="xsd:string"/>
2687
+ <element name="BillingStreet" nillable="true" minOccurs="0" type="xsd:string"/>
2688
+ <element name="CompanySigned" nillable="true" minOccurs="0" type="ens:User"/>
2689
+ <element name="CompanySignedDate" nillable="true" minOccurs="0" type="xsd:date"/>
2690
+ <element name="CompanySignedId" nillable="true" minOccurs="0" type="tns:ID"/>
2691
+ <element name="ContractContactRoles" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2692
+ <element name="ContractNumber" nillable="true" minOccurs="0" type="xsd:string"/>
2693
+ <element name="ContractTerm" nillable="true" minOccurs="0" type="xsd:int"/>
2694
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2695
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2696
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2697
+ <element name="CustomerSigned" nillable="true" minOccurs="0" type="ens:Contact"/>
2698
+ <element name="CustomerSignedDate" nillable="true" minOccurs="0" type="xsd:date"/>
2699
+ <element name="CustomerSignedId" nillable="true" minOccurs="0" type="tns:ID"/>
2700
+ <element name="CustomerSignedTitle" nillable="true" minOccurs="0" type="xsd:string"/>
2701
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
2702
+ <element name="EndDate" nillable="true" minOccurs="0" type="xsd:date"/>
2703
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2704
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2705
+ <element name="Feeds" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2706
+ <element name="Histories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2707
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2708
+ <element name="LastActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
2709
+ <element name="LastApprovedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2710
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2711
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2712
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2713
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2714
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2715
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2716
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:User"/>
2717
+ <element name="OwnerExpirationNotice" nillable="true" minOccurs="0" type="xsd:string"/>
2718
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
2719
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2720
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2721
+ <element name="ShippingCity" nillable="true" minOccurs="0" type="xsd:string"/>
2722
+ <element name="ShippingCountry" nillable="true" minOccurs="0" type="xsd:string"/>
2723
+ <element name="ShippingPostalCode" nillable="true" minOccurs="0" type="xsd:string"/>
2724
+ <element name="ShippingState" nillable="true" minOccurs="0" type="xsd:string"/>
2725
+ <element name="ShippingStreet" nillable="true" minOccurs="0" type="xsd:string"/>
2726
+ <element name="SpecialTerms" nillable="true" minOccurs="0" type="xsd:string"/>
2727
+ <element name="StartDate" nillable="true" minOccurs="0" type="xsd:date"/>
2728
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
2729
+ <element name="StatusCode" nillable="true" minOccurs="0" type="xsd:string"/>
2730
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2731
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2732
+ </sequence>
2733
+ </extension>
2734
+ </complexContent>
2735
+ </complexType>
2736
+
2737
+ <complexType name="ContractContactRole">
2738
+ <complexContent>
2739
+ <extension base="ens:sObject">
2740
+ <sequence>
2741
+ <element name="Contact" nillable="true" minOccurs="0" type="ens:Contact"/>
2742
+ <element name="ContactId" nillable="true" minOccurs="0" type="tns:ID"/>
2743
+ <element name="Contract" nillable="true" minOccurs="0" type="ens:Contract"/>
2744
+ <element name="ContractId" nillable="true" minOccurs="0" type="tns:ID"/>
2745
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2746
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2747
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2748
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2749
+ <element name="IsPrimary" nillable="true" minOccurs="0" type="xsd:boolean"/>
2750
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2751
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2752
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2753
+ <element name="Role" nillable="true" minOccurs="0" type="xsd:string"/>
2754
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2755
+ </sequence>
2756
+ </extension>
2757
+ </complexContent>
2758
+ </complexType>
2759
+
2760
+ <complexType name="ContractFeed">
2761
+ <complexContent>
2762
+ <extension base="ens:sObject">
2763
+ <sequence>
2764
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
2765
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
2766
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
2767
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
2768
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
2769
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
2770
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
2771
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
2772
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2773
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2774
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2775
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2776
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2777
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
2778
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
2779
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2780
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2781
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
2782
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
2783
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Contract"/>
2784
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
2785
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
2786
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2787
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
2788
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
2789
+ </sequence>
2790
+ </extension>
2791
+ </complexContent>
2792
+ </complexType>
2793
+
2794
+ <complexType name="ContractHistory">
2795
+ <complexContent>
2796
+ <extension base="ens:sObject">
2797
+ <sequence>
2798
+ <element name="Contract" nillable="true" minOccurs="0" type="ens:Contract"/>
2799
+ <element name="ContractId" nillable="true" minOccurs="0" type="tns:ID"/>
2800
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
2801
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2802
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2803
+ <element name="Field" nillable="true" minOccurs="0" type="xsd:string"/>
2804
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2805
+ <element name="NewValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
2806
+ <element name="OldValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
2807
+ </sequence>
2808
+ </extension>
2809
+ </complexContent>
2810
+ </complexType>
2811
+
2812
+ <complexType name="ContractStatus">
2813
+ <complexContent>
2814
+ <extension base="ens:sObject">
2815
+ <sequence>
2816
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2817
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2818
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2819
+ <element name="IsDefault" nillable="true" minOccurs="0" type="xsd:boolean"/>
2820
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2821
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2822
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2823
+ <element name="MasterLabel" nillable="true" minOccurs="0" type="xsd:string"/>
2824
+ <element name="SortOrder" nillable="true" minOccurs="0" type="xsd:int"/>
2825
+ <element name="StatusCode" nillable="true" minOccurs="0" type="xsd:string"/>
2826
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2827
+ </sequence>
2828
+ </extension>
2829
+ </complexContent>
2830
+ </complexType>
2831
+
2832
+ <complexType name="CronTrigger">
2833
+ <complexContent>
2834
+ <extension base="ens:sObject">
2835
+ <sequence>
2836
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2837
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2838
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2839
+ <element name="CronExpression" nillable="true" minOccurs="0" type="xsd:string"/>
2840
+ <element name="EndTime" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2841
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2842
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2843
+ <element name="NextFireTime" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2844
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
2845
+ <element name="PreviousFireTime" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2846
+ <element name="StartTime" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2847
+ <element name="State" nillable="true" minOccurs="0" type="xsd:string"/>
2848
+ <element name="TimeZoneSidKey" nillable="true" minOccurs="0" type="xsd:string"/>
2849
+ <element name="TimesTriggered" nillable="true" minOccurs="0" type="xsd:int"/>
2850
+ </sequence>
2851
+ </extension>
2852
+ </complexContent>
2853
+ </complexType>
2854
+
2855
+ <complexType name="Dashboard">
2856
+ <complexContent>
2857
+ <extension base="ens:sObject">
2858
+ <sequence>
2859
+ <element name="BackgroundDirection" nillable="true" minOccurs="0" type="xsd:string"/>
2860
+ <element name="BackgroundEnd" nillable="true" minOccurs="0" type="xsd:int"/>
2861
+ <element name="BackgroundStart" nillable="true" minOccurs="0" type="xsd:int"/>
2862
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2863
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2864
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2865
+ <element name="DashboardComponents" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2866
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
2867
+ <element name="DeveloperName" nillable="true" minOccurs="0" type="xsd:string"/>
2868
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2869
+ <element name="Feeds" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2870
+ <element name="Folder" nillable="true" minOccurs="0" type="ens:Folder"/>
2871
+ <element name="FolderId" nillable="true" minOccurs="0" type="tns:ID"/>
2872
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2873
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2874
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2875
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2876
+ <element name="LeftSize" nillable="true" minOccurs="0" type="xsd:string"/>
2877
+ <element name="MiddleSize" nillable="true" minOccurs="0" type="xsd:string"/>
2878
+ <element name="NamespacePrefix" nillable="true" minOccurs="0" type="xsd:string"/>
2879
+ <element name="RightSize" nillable="true" minOccurs="0" type="xsd:string"/>
2880
+ <element name="RunningUser" nillable="true" minOccurs="0" type="ens:User"/>
2881
+ <element name="RunningUserId" nillable="true" minOccurs="0" type="tns:ID"/>
2882
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2883
+ <element name="TextColor" nillable="true" minOccurs="0" type="xsd:int"/>
2884
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
2885
+ <element name="TitleColor" nillable="true" minOccurs="0" type="xsd:int"/>
2886
+ <element name="TitleSize" nillable="true" minOccurs="0" type="xsd:int"/>
2887
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
2888
+ </sequence>
2889
+ </extension>
2890
+ </complexContent>
2891
+ </complexType>
2892
+
2893
+ <complexType name="DashboardComponent">
2894
+ <complexContent>
2895
+ <extension base="ens:sObject">
2896
+ <sequence>
2897
+ <element name="Dashboard" nillable="true" minOccurs="0" type="ens:Dashboard"/>
2898
+ <element name="DashboardId" nillable="true" minOccurs="0" type="tns:ID"/>
2899
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2900
+ <element name="Feeds" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2901
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
2902
+ </sequence>
2903
+ </extension>
2904
+ </complexContent>
2905
+ </complexType>
2906
+
2907
+ <complexType name="DashboardComponentFeed">
2908
+ <complexContent>
2909
+ <extension base="ens:sObject">
2910
+ <sequence>
2911
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
2912
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
2913
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
2914
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
2915
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
2916
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
2917
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
2918
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
2919
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2920
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2921
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2922
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2923
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2924
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
2925
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
2926
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2927
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2928
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
2929
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
2930
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:DashboardComponent"/>
2931
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
2932
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
2933
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2934
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
2935
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
2936
+ </sequence>
2937
+ </extension>
2938
+ </complexContent>
2939
+ </complexType>
2940
+
2941
+ <complexType name="DashboardFeed">
2942
+ <complexContent>
2943
+ <extension base="ens:sObject">
2944
+ <sequence>
2945
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
2946
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
2947
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
2948
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
2949
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
2950
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
2951
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
2952
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
2953
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2954
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2955
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2956
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2957
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
2958
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
2959
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
2960
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2961
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2962
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
2963
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
2964
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Dashboard"/>
2965
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
2966
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
2967
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2968
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
2969
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
2970
+ </sequence>
2971
+ </extension>
2972
+ </complexContent>
2973
+ </complexType>
2974
+
2975
+ <complexType name="Document">
2976
+ <complexContent>
2977
+ <extension base="ens:sObject">
2978
+ <sequence>
2979
+ <element name="Author" nillable="true" minOccurs="0" type="ens:User"/>
2980
+ <element name="AuthorId" nillable="true" minOccurs="0" type="tns:ID"/>
2981
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
2982
+ <element name="BodyLength" nillable="true" minOccurs="0" type="xsd:int"/>
2983
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
2984
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
2985
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
2986
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2987
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
2988
+ <element name="DeveloperName" nillable="true" minOccurs="0" type="xsd:string"/>
2989
+ <element name="Folder" nillable="true" minOccurs="0" type="ens:Folder"/>
2990
+ <element name="FolderId" nillable="true" minOccurs="0" type="tns:ID"/>
2991
+ <element name="IsBodySearchable" nillable="true" minOccurs="0" type="xsd:boolean"/>
2992
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
2993
+ <element name="IsInternalUseOnly" nillable="true" minOccurs="0" type="xsd:boolean"/>
2994
+ <element name="IsPublic" nillable="true" minOccurs="0" type="xsd:boolean"/>
2995
+ <element name="Keywords" nillable="true" minOccurs="0" type="xsd:string"/>
2996
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
2997
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
2998
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
2999
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
3000
+ <element name="NamespacePrefix" nillable="true" minOccurs="0" type="xsd:string"/>
3001
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3002
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
3003
+ <element name="Url" nillable="true" minOccurs="0" type="xsd:string"/>
3004
+ </sequence>
3005
+ </extension>
3006
+ </complexContent>
3007
+ </complexType>
3008
+
3009
+ <complexType name="DocumentAttachmentMap">
3010
+ <complexContent>
3011
+ <extension base="ens:sObject">
3012
+ <sequence>
3013
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
3014
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3015
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3016
+ <element name="DocumentId" nillable="true" minOccurs="0" type="tns:ID"/>
3017
+ <element name="DocumentSequence" nillable="true" minOccurs="0" type="xsd:int"/>
3018
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
3019
+ </sequence>
3020
+ </extension>
3021
+ </complexContent>
3022
+ </complexType>
3023
+
3024
+ <complexType name="EmailServicesAddress">
3025
+ <complexContent>
3026
+ <extension base="ens:sObject">
3027
+ <sequence>
3028
+ <element name="AuthorizedSenders" nillable="true" minOccurs="0" type="xsd:string"/>
3029
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
3030
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3031
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3032
+ <element name="EmailDomainName" nillable="true" minOccurs="0" type="xsd:string"/>
3033
+ <element name="Function" nillable="true" minOccurs="0" type="ens:EmailServicesFunction"/>
3034
+ <element name="FunctionId" nillable="true" minOccurs="0" type="tns:ID"/>
3035
+ <element name="IsActive" nillable="true" minOccurs="0" type="xsd:boolean"/>
3036
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
3037
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
3038
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3039
+ <element name="LocalPart" nillable="true" minOccurs="0" type="xsd:string"/>
3040
+ <element name="RunAsUserId" nillable="true" minOccurs="0" type="tns:ID"/>
3041
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3042
+ </sequence>
3043
+ </extension>
3044
+ </complexContent>
3045
+ </complexType>
3046
+
3047
+ <complexType name="EmailServicesFunction">
3048
+ <complexContent>
3049
+ <extension base="ens:sObject">
3050
+ <sequence>
3051
+ <element name="AddressInactiveAction" nillable="true" minOccurs="0" type="xsd:string"/>
3052
+ <element name="Addresses" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3053
+ <element name="ApexClassId" nillable="true" minOccurs="0" type="tns:ID"/>
3054
+ <element name="AttachmentOption" nillable="true" minOccurs="0" type="xsd:string"/>
3055
+ <element name="AuthenticationFailureAction" nillable="true" minOccurs="0" type="xsd:string"/>
3056
+ <element name="AuthorizationFailureAction" nillable="true" minOccurs="0" type="xsd:string"/>
3057
+ <element name="AuthorizedSenders" nillable="true" minOccurs="0" type="xsd:string"/>
3058
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
3059
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3060
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3061
+ <element name="ErrorRoutingAddress" nillable="true" minOccurs="0" type="xsd:string"/>
3062
+ <element name="FunctionInactiveAction" nillable="true" minOccurs="0" type="xsd:string"/>
3063
+ <element name="FunctionName" nillable="true" minOccurs="0" type="xsd:string"/>
3064
+ <element name="IsActive" nillable="true" minOccurs="0" type="xsd:boolean"/>
3065
+ <element name="IsAuthenticationRequired" nillable="true" minOccurs="0" type="xsd:boolean"/>
3066
+ <element name="IsErrorRoutingEnabled" nillable="true" minOccurs="0" type="xsd:boolean"/>
3067
+ <element name="IsTextAttachmentsAsBinary" nillable="true" minOccurs="0" type="xsd:boolean"/>
3068
+ <element name="IsTextTruncated" nillable="true" minOccurs="0" type="xsd:boolean"/>
3069
+ <element name="IsTlsRequired" nillable="true" minOccurs="0" type="xsd:boolean"/>
3070
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
3071
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
3072
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3073
+ <element name="OverLimitAction" nillable="true" minOccurs="0" type="xsd:string"/>
3074
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3075
+ </sequence>
3076
+ </extension>
3077
+ </complexContent>
3078
+ </complexType>
3079
+
3080
+ <complexType name="EmailStatus">
3081
+ <complexContent>
3082
+ <extension base="ens:sObject">
3083
+ <sequence>
3084
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
3085
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3086
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3087
+ <element name="EmailTemplateName" nillable="true" minOccurs="0" type="xsd:string"/>
3088
+ <element name="FirstOpenDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3089
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
3090
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
3091
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3092
+ <element name="LastOpenDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3093
+ <element name="Task" nillable="true" minOccurs="0" type="ens:Task"/>
3094
+ <element name="TaskId" nillable="true" minOccurs="0" type="tns:ID"/>
3095
+ <element name="TimesOpened" nillable="true" minOccurs="0" type="xsd:int"/>
3096
+ <element name="Who" nillable="true" minOccurs="0" type="ens:Name"/>
3097
+ <element name="WhoId" nillable="true" minOccurs="0" type="tns:ID"/>
3098
+ </sequence>
3099
+ </extension>
3100
+ </complexContent>
3101
+ </complexType>
3102
+
3103
+ <complexType name="EmailTemplate">
3104
+ <complexContent>
3105
+ <extension base="ens:sObject">
3106
+ <sequence>
3107
+ <element name="ApiVersion" nillable="true" minOccurs="0" type="xsd:double"/>
3108
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3109
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
3110
+ <element name="BrandTemplateId" nillable="true" minOccurs="0" type="tns:ID"/>
3111
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
3112
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3113
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3114
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
3115
+ <element name="DeveloperName" nillable="true" minOccurs="0" type="xsd:string"/>
3116
+ <element name="Encoding" nillable="true" minOccurs="0" type="xsd:string"/>
3117
+ <element name="Folder" nillable="true" minOccurs="0" type="ens:Folder"/>
3118
+ <element name="FolderId" nillable="true" minOccurs="0" type="tns:ID"/>
3119
+ <element name="HtmlValue" nillable="true" minOccurs="0" type="xsd:string"/>
3120
+ <element name="IsActive" nillable="true" minOccurs="0" type="xsd:boolean"/>
3121
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
3122
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
3123
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3124
+ <element name="LastUsedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3125
+ <element name="Markup" nillable="true" minOccurs="0" type="xsd:string"/>
3126
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
3127
+ <element name="NamespacePrefix" nillable="true" minOccurs="0" type="xsd:string"/>
3128
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:User"/>
3129
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
3130
+ <element name="Subject" nillable="true" minOccurs="0" type="xsd:string"/>
3131
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3132
+ <element name="TemplateStyle" nillable="true" minOccurs="0" type="xsd:string"/>
3133
+ <element name="TemplateType" nillable="true" minOccurs="0" type="xsd:string"/>
3134
+ <element name="TimesUsed" nillable="true" minOccurs="0" type="xsd:int"/>
3135
+ </sequence>
3136
+ </extension>
3137
+ </complexContent>
3138
+ </complexType>
3139
+
3140
+ <complexType name="EntitySubscription">
3141
+ <complexContent>
3142
+ <extension base="ens:sObject">
3143
+ <sequence>
3144
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
3145
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3146
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3147
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3148
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Name"/>
3149
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
3150
+ <element name="Subscriber" nillable="true" minOccurs="0" type="ens:User"/>
3151
+ <element name="SubscriberId" nillable="true" minOccurs="0" type="tns:ID"/>
3152
+ </sequence>
3153
+ </extension>
3154
+ </complexContent>
3155
+ </complexType>
3156
+
3157
+ <complexType name="Event">
3158
+ <complexContent>
3159
+ <extension base="ens:sObject">
3160
+ <sequence>
3161
+ <element name="Account" nillable="true" minOccurs="0" type="ens:Account"/>
3162
+ <element name="AccountId" nillable="true" minOccurs="0" type="tns:ID"/>
3163
+ <element name="ActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
3164
+ <element name="ActivityDateTime" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3165
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3166
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
3167
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3168
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3169
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
3170
+ <element name="DurationInMinutes" nillable="true" minOccurs="0" type="xsd:int"/>
3171
+ <element name="EndDateTime" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3172
+ <element name="EventAttendees" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3173
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3174
+ <element name="Feeds" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3175
+ <element name="GroupEventType" nillable="true" minOccurs="0" type="xsd:string"/>
3176
+ <element name="IsAllDayEvent" nillable="true" minOccurs="0" type="xsd:boolean"/>
3177
+ <element name="IsArchived" nillable="true" minOccurs="0" type="xsd:boolean"/>
3178
+ <element name="IsChild" nillable="true" minOccurs="0" type="xsd:boolean"/>
3179
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3180
+ <element name="IsGroupEvent" nillable="true" minOccurs="0" type="xsd:boolean"/>
3181
+ <element name="IsPrivate" nillable="true" minOccurs="0" type="xsd:boolean"/>
3182
+ <element name="IsRecurrence" nillable="true" minOccurs="0" type="xsd:boolean"/>
3183
+ <element name="IsReminderSet" nillable="true" minOccurs="0" type="xsd:boolean"/>
3184
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
3185
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
3186
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3187
+ <element name="Location" nillable="true" minOccurs="0" type="xsd:string"/>
3188
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
3189
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
3190
+ <element name="RecurrenceActivityId" nillable="true" minOccurs="0" type="tns:ID"/>
3191
+ <element name="RecurrenceDayOfMonth" nillable="true" minOccurs="0" type="xsd:int"/>
3192
+ <element name="RecurrenceDayOfWeekMask" nillable="true" minOccurs="0" type="xsd:int"/>
3193
+ <element name="RecurrenceEndDateOnly" nillable="true" minOccurs="0" type="xsd:date"/>
3194
+ <element name="RecurrenceInstance" nillable="true" minOccurs="0" type="xsd:string"/>
3195
+ <element name="RecurrenceInterval" nillable="true" minOccurs="0" type="xsd:int"/>
3196
+ <element name="RecurrenceMonthOfYear" nillable="true" minOccurs="0" type="xsd:string"/>
3197
+ <element name="RecurrenceStartDateTime" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3198
+ <element name="RecurrenceTimeZoneSidKey" nillable="true" minOccurs="0" type="xsd:string"/>
3199
+ <element name="RecurrenceType" nillable="true" minOccurs="0" type="xsd:string"/>
3200
+ <element name="RecurringEvents" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3201
+ <element name="ReminderDateTime" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3202
+ <element name="ShowAs" nillable="true" minOccurs="0" type="xsd:string"/>
3203
+ <element name="StartDateTime" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3204
+ <element name="Subject" nillable="true" minOccurs="0" type="xsd:string"/>
3205
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3206
+ <element name="What" nillable="true" minOccurs="0" type="ens:Name"/>
3207
+ <element name="WhatId" nillable="true" minOccurs="0" type="tns:ID"/>
3208
+ <element name="Who" nillable="true" minOccurs="0" type="ens:Name"/>
3209
+ <element name="WhoId" nillable="true" minOccurs="0" type="tns:ID"/>
3210
+ <element name="eventcost__c" nillable="true" minOccurs="0" type="xsd:double"/>
3211
+ </sequence>
3212
+ </extension>
3213
+ </complexContent>
3214
+ </complexType>
3215
+
3216
+ <complexType name="EventAttendee">
3217
+ <complexContent>
3218
+ <extension base="ens:sObject">
3219
+ <sequence>
3220
+ <element name="Attendee" nillable="true" minOccurs="0" type="ens:Name"/>
3221
+ <element name="AttendeeId" nillable="true" minOccurs="0" type="tns:ID"/>
3222
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
3223
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3224
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3225
+ <element name="Event" nillable="true" minOccurs="0" type="ens:Event"/>
3226
+ <element name="EventId" nillable="true" minOccurs="0" type="tns:ID"/>
3227
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3228
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
3229
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
3230
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3231
+ <element name="RespondedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3232
+ <element name="Response" nillable="true" minOccurs="0" type="xsd:string"/>
3233
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
3234
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3235
+ </sequence>
3236
+ </extension>
3237
+ </complexContent>
3238
+ </complexType>
3239
+
3240
+ <complexType name="EventFeed">
3241
+ <complexContent>
3242
+ <extension base="ens:sObject">
3243
+ <sequence>
3244
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
3245
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
3246
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
3247
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
3248
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
3249
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
3250
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
3251
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
3252
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3253
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3254
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3255
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3256
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3257
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
3258
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
3259
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3260
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3261
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
3262
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
3263
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Event"/>
3264
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
3265
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
3266
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3267
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
3268
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
3269
+ </sequence>
3270
+ </extension>
3271
+ </complexContent>
3272
+ </complexType>
3273
+
3274
+ <complexType name="FeedComment">
3275
+ <complexContent>
3276
+ <extension base="ens:sObject">
3277
+ <sequence>
3278
+ <element name="CommentBody" nillable="true" minOccurs="0" type="xsd:string"/>
3279
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
3280
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3281
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3282
+ <element name="FeedItemId" nillable="true" minOccurs="0" type="tns:ID"/>
3283
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:User"/>
3284
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
3285
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3286
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
3287
+ </sequence>
3288
+ </extension>
3289
+ </complexContent>
3290
+ </complexType>
3291
+
3292
+ <complexType name="FeedItem">
3293
+ <complexContent>
3294
+ <extension base="ens:sObject">
3295
+ <sequence>
3296
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
3297
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
3298
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
3299
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
3300
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
3301
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
3302
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
3303
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
3304
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3305
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3306
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3307
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3308
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3309
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
3310
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
3311
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3312
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3313
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
3314
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
3315
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Name"/>
3316
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
3317
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
3318
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3319
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
3320
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
3321
+ </sequence>
3322
+ </extension>
3323
+ </complexContent>
3324
+ </complexType>
3325
+
3326
+ <complexType name="FeedLike">
3327
+ <complexContent>
3328
+ <extension base="ens:sObject">
3329
+ <sequence>
3330
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
3331
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3332
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3333
+ <element name="FeedItemId" nillable="true" minOccurs="0" type="tns:ID"/>
3334
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:User"/>
3335
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
3336
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3337
+ </sequence>
3338
+ </extension>
3339
+ </complexContent>
3340
+ </complexType>
3341
+
3342
+ <complexType name="FeedTrackedChange">
3343
+ <complexContent>
3344
+ <extension base="ens:sObject">
3345
+ <sequence>
3346
+ <element name="FeedItemId" nillable="true" minOccurs="0" type="tns:ID"/>
3347
+ <element name="FieldName" nillable="true" minOccurs="0" type="xsd:string"/>
3348
+ <element name="NewValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
3349
+ <element name="OldValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
3350
+ </sequence>
3351
+ </extension>
3352
+ </complexContent>
3353
+ </complexType>
3354
+
3355
+ <complexType name="FiscalYearSettings">
3356
+ <complexContent>
3357
+ <extension base="ens:sObject">
3358
+ <sequence>
3359
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
3360
+ <element name="EndDate" nillable="true" minOccurs="0" type="xsd:date"/>
3361
+ <element name="IsStandardYear" nillable="true" minOccurs="0" type="xsd:boolean"/>
3362
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
3363
+ <element name="PeriodId" nillable="true" minOccurs="0" type="tns:ID"/>
3364
+ <element name="PeriodLabelScheme" nillable="true" minOccurs="0" type="xsd:string"/>
3365
+ <element name="PeriodPrefix" nillable="true" minOccurs="0" type="xsd:string"/>
3366
+ <element name="Periods" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3367
+ <element name="QuarterLabelScheme" nillable="true" minOccurs="0" type="xsd:string"/>
3368
+ <element name="QuarterPrefix" nillable="true" minOccurs="0" type="xsd:string"/>
3369
+ <element name="StartDate" nillable="true" minOccurs="0" type="xsd:date"/>
3370
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3371
+ <element name="WeekLabelScheme" nillable="true" minOccurs="0" type="xsd:string"/>
3372
+ <element name="WeekStartDay" nillable="true" minOccurs="0" type="xsd:int"/>
3373
+ <element name="YearType" nillable="true" minOccurs="0" type="xsd:string"/>
3374
+ </sequence>
3375
+ </extension>
3376
+ </complexContent>
3377
+ </complexType>
3378
+
3379
+ <complexType name="Folder">
3380
+ <complexContent>
3381
+ <extension base="ens:sObject">
3382
+ <sequence>
3383
+ <element name="AccessType" nillable="true" minOccurs="0" type="xsd:string"/>
3384
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
3385
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3386
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3387
+ <element name="DeveloperName" nillable="true" minOccurs="0" type="xsd:string"/>
3388
+ <element name="IsReadonly" nillable="true" minOccurs="0" type="xsd:boolean"/>
3389
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
3390
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
3391
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3392
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
3393
+ <element name="NamespacePrefix" nillable="true" minOccurs="0" type="xsd:string"/>
3394
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3395
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
3396
+ </sequence>
3397
+ </extension>
3398
+ </complexContent>
3399
+ </complexType>
3400
+
3401
+ <complexType name="ForecastShare">
3402
+ <complexContent>
3403
+ <extension base="ens:sObject">
3404
+ <sequence>
3405
+ <element name="AccessLevel" nillable="true" minOccurs="0" type="xsd:string"/>
3406
+ <element name="CanSubmit" nillable="true" minOccurs="0" type="xsd:boolean"/>
3407
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
3408
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
3409
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3410
+ <element name="RowCause" nillable="true" minOccurs="0" type="xsd:string"/>
3411
+ <element name="UserOrGroupId" nillable="true" minOccurs="0" type="tns:ID"/>
3412
+ <element name="UserRoleId" nillable="true" minOccurs="0" type="tns:ID"/>
3413
+ </sequence>
3414
+ </extension>
3415
+ </complexContent>
3416
+ </complexType>
3417
+
3418
+ <complexType name="Group">
3419
+ <complexContent>
3420
+ <extension base="ens:sObject">
3421
+ <sequence>
3422
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
3423
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3424
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3425
+ <element name="DelegatedUsers" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3426
+ <element name="DoesIncludeBosses" nillable="true" minOccurs="0" type="xsd:boolean"/>
3427
+ <element name="DoesSendEmailToMembers" nillable="true" minOccurs="0" type="xsd:boolean"/>
3428
+ <element name="Email" nillable="true" minOccurs="0" type="xsd:string"/>
3429
+ <element name="GroupMembers" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3430
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
3431
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
3432
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3433
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
3434
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
3435
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
3436
+ <element name="QueueSobjects" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3437
+ <element name="RelatedId" nillable="true" minOccurs="0" type="tns:ID"/>
3438
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3439
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
3440
+ </sequence>
3441
+ </extension>
3442
+ </complexContent>
3443
+ </complexType>
3444
+
3445
+ <complexType name="GroupMember">
3446
+ <complexContent>
3447
+ <extension base="ens:sObject">
3448
+ <sequence>
3449
+ <element name="Group" nillable="true" minOccurs="0" type="ens:Group"/>
3450
+ <element name="GroupId" nillable="true" minOccurs="0" type="tns:ID"/>
3451
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3452
+ <element name="UserOrGroupId" nillable="true" minOccurs="0" type="tns:ID"/>
3453
+ </sequence>
3454
+ </extension>
3455
+ </complexContent>
3456
+ </complexType>
3457
+
3458
+ <complexType name="Holiday">
3459
+ <complexContent>
3460
+ <extension base="ens:sObject">
3461
+ <sequence>
3462
+ <element name="ActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
3463
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
3464
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3465
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3466
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
3467
+ <element name="EndTimeInMinutes" nillable="true" minOccurs="0" type="xsd:int"/>
3468
+ <element name="IsAllDay" nillable="true" minOccurs="0" type="xsd:boolean"/>
3469
+ <element name="IsRecurrence" nillable="true" minOccurs="0" type="xsd:boolean"/>
3470
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
3471
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
3472
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3473
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
3474
+ <element name="RecurrenceDayOfMonth" nillable="true" minOccurs="0" type="xsd:int"/>
3475
+ <element name="RecurrenceDayOfWeekMask" nillable="true" minOccurs="0" type="xsd:int"/>
3476
+ <element name="RecurrenceEndDateOnly" nillable="true" minOccurs="0" type="xsd:date"/>
3477
+ <element name="RecurrenceInstance" nillable="true" minOccurs="0" type="xsd:string"/>
3478
+ <element name="RecurrenceInterval" nillable="true" minOccurs="0" type="xsd:int"/>
3479
+ <element name="RecurrenceMonthOfYear" nillable="true" minOccurs="0" type="xsd:string"/>
3480
+ <element name="RecurrenceStartDate" nillable="true" minOccurs="0" type="xsd:date"/>
3481
+ <element name="RecurrenceType" nillable="true" minOccurs="0" type="xsd:string"/>
3482
+ <element name="StartTimeInMinutes" nillable="true" minOccurs="0" type="xsd:int"/>
3483
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3484
+ </sequence>
3485
+ </extension>
3486
+ </complexContent>
3487
+ </complexType>
3488
+
3489
+ <complexType name="Idea">
3490
+ <complexContent>
3491
+ <extension base="ens:sObject">
3492
+ <sequence>
3493
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
3494
+ <element name="Categories" nillable="true" minOccurs="0" type="xsd:string"/>
3495
+ <element name="Comments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3496
+ <element name="Community" nillable="true" minOccurs="0" type="ens:Community"/>
3497
+ <element name="CommunityId" nillable="true" minOccurs="0" type="tns:ID"/>
3498
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
3499
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3500
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3501
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3502
+ <element name="IsHtml" nillable="true" minOccurs="0" type="xsd:boolean"/>
3503
+ <element name="IsLocked" nillable="true" minOccurs="0" type="xsd:boolean"/>
3504
+ <element name="LastComment" nillable="true" minOccurs="0" type="ens:IdeaComment"/>
3505
+ <element name="LastCommentDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3506
+ <element name="LastCommentId" nillable="true" minOccurs="0" type="tns:ID"/>
3507
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
3508
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
3509
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3510
+ <element name="NumComments" nillable="true" minOccurs="0" type="xsd:int"/>
3511
+ <element name="ParentIdeaId" nillable="true" minOccurs="0" type="tns:ID"/>
3512
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
3513
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3514
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
3515
+ <element name="VoteScore" nillable="true" minOccurs="0" type="xsd:double"/>
3516
+ <element name="VoteTotal" nillable="true" minOccurs="0" type="xsd:double"/>
3517
+ <element name="Votes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3518
+ </sequence>
3519
+ </extension>
3520
+ </complexContent>
3521
+ </complexType>
3522
+
3523
+ <complexType name="IdeaComment">
3524
+ <complexContent>
3525
+ <extension base="ens:sObject">
3526
+ <sequence>
3527
+ <element name="CommentBody" nillable="true" minOccurs="0" type="xsd:string"/>
3528
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
3529
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3530
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3531
+ <element name="Idea" nillable="true" minOccurs="0" type="ens:Idea"/>
3532
+ <element name="IdeaId" nillable="true" minOccurs="0" type="tns:ID"/>
3533
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3534
+ <element name="IsHtml" nillable="true" minOccurs="0" type="xsd:boolean"/>
3535
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3536
+ </sequence>
3537
+ </extension>
3538
+ </complexContent>
3539
+ </complexType>
3540
+
3541
+ <complexType name="Lead">
3542
+ <complexContent>
3543
+ <extension base="ens:sObject">
3544
+ <sequence>
3545
+ <element name="AccountContact__c" nillable="true" minOccurs="0" type="tns:ID"/>
3546
+ <element name="AccountContact__r" nillable="true" minOccurs="0" type="ens:Contact"/>
3547
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3548
+ <element name="Activity_Count__c" nillable="true" minOccurs="0" type="xsd:double"/>
3549
+ <element name="AnnualRevenue" nillable="true" minOccurs="0" type="xsd:double"/>
3550
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3551
+ <element name="Campaign" nillable="true" minOccurs="0" type="ens:Campaign"/>
3552
+ <element name="CampaignMembers" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3553
+ <element name="City" nillable="true" minOccurs="0" type="xsd:string"/>
3554
+ <element name="Company" nillable="true" minOccurs="0" type="xsd:string"/>
3555
+ <element name="Company_Size__c" nillable="true" minOccurs="0" type="xsd:string"/>
3556
+ <element name="ConvertedAccount" nillable="true" minOccurs="0" type="ens:Account"/>
3557
+ <element name="ConvertedAccountId" nillable="true" minOccurs="0" type="tns:ID"/>
3558
+ <element name="ConvertedContact" nillable="true" minOccurs="0" type="ens:Contact"/>
3559
+ <element name="ConvertedContactId" nillable="true" minOccurs="0" type="tns:ID"/>
3560
+ <element name="ConvertedDate" nillable="true" minOccurs="0" type="xsd:date"/>
3561
+ <element name="ConvertedOpportunity" nillable="true" minOccurs="0" type="ens:Opportunity"/>
3562
+ <element name="ConvertedOpportunityId" nillable="true" minOccurs="0" type="tns:ID"/>
3563
+ <element name="Country" nillable="true" minOccurs="0" type="xsd:string"/>
3564
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
3565
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3566
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3567
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
3568
+ <element name="Email" nillable="true" minOccurs="0" type="xsd:string"/>
3569
+ <element name="EmailBouncedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3570
+ <element name="EmailBouncedReason" nillable="true" minOccurs="0" type="xsd:string"/>
3571
+ <element name="EmailStatuses" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3572
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3573
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3574
+ <element name="Feeds" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3575
+ <element name="FirstName" nillable="true" minOccurs="0" type="xsd:string"/>
3576
+ <element name="Histories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3577
+ <element name="HotLead__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
3578
+ <element name="Industry" nillable="true" minOccurs="0" type="xsd:string"/>
3579
+ <element name="IsConverted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3580
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3581
+ <element name="IsUnreadByOwner" nillable="true" minOccurs="0" type="xsd:boolean"/>
3582
+ <element name="Jigsaw" nillable="true" minOccurs="0" type="xsd:string"/>
3583
+ <element name="LastActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
3584
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
3585
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
3586
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3587
+ <element name="LastName" nillable="true" minOccurs="0" type="xsd:string"/>
3588
+ <element name="LeadSource" nillable="true" minOccurs="0" type="xsd:string"/>
3589
+ <element name="LeadSourceCategory__c" nillable="true" minOccurs="0" type="xsd:string"/>
3590
+ <element name="MagentoProduct__c" nillable="true" minOccurs="0" type="xsd:string"/>
3591
+ <element name="MasterRecord" nillable="true" minOccurs="0" type="ens:Lead"/>
3592
+ <element name="MasterRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
3593
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
3594
+ <element name="NetworkingEvent__c" nillable="true" minOccurs="0" type="tns:ID"/>
3595
+ <element name="NetworkingEvent__r" nillable="true" minOccurs="0" type="ens:Networking_Events__c"/>
3596
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3597
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3598
+ <element name="NumberOfEmployees" nillable="true" minOccurs="0" type="xsd:int"/>
3599
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3600
+ <element name="OtherIndustry__c" nillable="true" minOccurs="0" type="xsd:string"/>
3601
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
3602
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
3603
+ <element name="Phone" nillable="true" minOccurs="0" type="xsd:string"/>
3604
+ <element name="PostalCode" nillable="true" minOccurs="0" type="xsd:string"/>
3605
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3606
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3607
+ <element name="Product__c" nillable="true" minOccurs="0" type="tns:ID"/>
3608
+ <element name="Product__r" nillable="true" minOccurs="0" type="ens:Product2"/>
3609
+ <element name="Rating" nillable="true" minOccurs="0" type="xsd:string"/>
3610
+ <element name="SFGA__CorrelationID__c" nillable="true" minOccurs="0" type="xsd:string"/>
3611
+ <element name="SFGA__Correlation_Data__c" nillable="true" minOccurs="0" type="xsd:string"/>
3612
+ <element name="SFGA__R00N40000001HggqEAC__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3613
+ <element name="SFGA__R00N40000001HggvEAC__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3614
+ <element name="SFGA__R00N40000001Hgh4EAC__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3615
+ <element name="SFGA__R00N40000001Hgh9EAC__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3616
+ <element name="SFGA__R00N40000001HghFEAS__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3617
+ <element name="SFGA__Web_Source__c" nillable="true" minOccurs="0" type="xsd:string"/>
3618
+ <element name="Salutation" nillable="true" minOccurs="0" type="xsd:string"/>
3619
+ <element name="Searchent__Searchent_Campaign__c" nillable="true" minOccurs="0" type="xsd:string"/>
3620
+ <element name="Searchent__Searchent_Content__c" nillable="true" minOccurs="0" type="xsd:string"/>
3621
+ <element name="Searchent__Searchent_Keywords__c" nillable="true" minOccurs="0" type="xsd:string"/>
3622
+ <element name="Searchent__Searchent_Medium__c" nillable="true" minOccurs="0" type="xsd:string"/>
3623
+ <element name="Searchent__Searchent_Referrer__c" nillable="true" minOccurs="0" type="xsd:string"/>
3624
+ <element name="Shares" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3625
+ <element name="Specific_Industry_Segment__c" nillable="true" minOccurs="0" type="xsd:string"/>
3626
+ <element name="State" nillable="true" minOccurs="0" type="xsd:string"/>
3627
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
3628
+ <element name="Street" nillable="true" minOccurs="0" type="xsd:string"/>
3629
+ <element name="SugarCrmExtLead__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
3630
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3631
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3632
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
3633
+ <element name="Version__c" nillable="true" minOccurs="0" type="xsd:string"/>
3634
+ <element name="Website" nillable="true" minOccurs="0" type="xsd:string"/>
3635
+ <element name="isPotentialPartner__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
3636
+ <element name="isSalesforceUser__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
3637
+ <element name="leadScoring__Campaign_Score__c" nillable="true" minOccurs="0" type="xsd:double"/>
3638
+ <element name="leadScoring__Lead_Priority__c" nillable="true" minOccurs="0" type="xsd:string"/>
3639
+ <element name="leadScoring__Lead_Score__c" nillable="true" minOccurs="0" type="xsd:double"/>
3640
+ <element name="leadScoring__Total_Lead_Score__c" nillable="true" minOccurs="0" type="xsd:double"/>
3641
+ <element name="magentothylaksoft__c" nillable="true" minOccurs="0" type="xsd:string"/>
3642
+ <element name="stalereason__c" nillable="true" minOccurs="0" type="xsd:string"/>
3643
+ <element name="state__c" nillable="true" minOccurs="0" type="xsd:string"/>
3644
+ </sequence>
3645
+ </extension>
3646
+ </complexContent>
3647
+ </complexType>
3648
+
3649
+ <complexType name="LeadFeed">
3650
+ <complexContent>
3651
+ <extension base="ens:sObject">
3652
+ <sequence>
3653
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
3654
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
3655
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
3656
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
3657
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
3658
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
3659
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
3660
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
3661
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3662
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3663
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3664
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3665
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3666
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
3667
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
3668
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3669
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3670
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
3671
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
3672
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Lead"/>
3673
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
3674
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
3675
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3676
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
3677
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
3678
+ </sequence>
3679
+ </extension>
3680
+ </complexContent>
3681
+ </complexType>
3682
+
3683
+ <complexType name="LeadHistory">
3684
+ <complexContent>
3685
+ <extension base="ens:sObject">
3686
+ <sequence>
3687
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
3688
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3689
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3690
+ <element name="Field" nillable="true" minOccurs="0" type="xsd:string"/>
3691
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3692
+ <element name="Lead" nillable="true" minOccurs="0" type="ens:Lead"/>
3693
+ <element name="LeadId" nillable="true" minOccurs="0" type="tns:ID"/>
3694
+ <element name="NewValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
3695
+ <element name="OldValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
3696
+ </sequence>
3697
+ </extension>
3698
+ </complexContent>
3699
+ </complexType>
3700
+
3701
+ <complexType name="LeadShare">
3702
+ <complexContent>
3703
+ <extension base="ens:sObject">
3704
+ <sequence>
3705
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3706
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
3707
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
3708
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3709
+ <element name="Lead" nillable="true" minOccurs="0" type="ens:Lead"/>
3710
+ <element name="LeadAccessLevel" nillable="true" minOccurs="0" type="xsd:string"/>
3711
+ <element name="LeadId" nillable="true" minOccurs="0" type="tns:ID"/>
3712
+ <element name="RowCause" nillable="true" minOccurs="0" type="xsd:string"/>
3713
+ <element name="UserOrGroupId" nillable="true" minOccurs="0" type="tns:ID"/>
3714
+ </sequence>
3715
+ </extension>
3716
+ </complexContent>
3717
+ </complexType>
3718
+
3719
+ <complexType name="LeadStatus">
3720
+ <complexContent>
3721
+ <extension base="ens:sObject">
3722
+ <sequence>
3723
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
3724
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3725
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3726
+ <element name="IsConverted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3727
+ <element name="IsDefault" nillable="true" minOccurs="0" type="xsd:boolean"/>
3728
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
3729
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
3730
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3731
+ <element name="MasterLabel" nillable="true" minOccurs="0" type="xsd:string"/>
3732
+ <element name="SortOrder" nillable="true" minOccurs="0" type="xsd:int"/>
3733
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3734
+ </sequence>
3735
+ </extension>
3736
+ </complexContent>
3737
+ </complexType>
3738
+
3739
+ <complexType name="Leadproduct__c">
3740
+ <complexContent>
3741
+ <extension base="ens:sObject">
3742
+ <sequence>
3743
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3744
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
3745
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3746
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3747
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3748
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3749
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
3750
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
3751
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3752
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
3753
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3754
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3755
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
3756
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
3757
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3758
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3759
+ <element name="SKU__c" nillable="true" minOccurs="0" type="xsd:string"/>
3760
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3761
+ </sequence>
3762
+ </extension>
3763
+ </complexContent>
3764
+ </complexType>
3765
+
3766
+ <complexType name="LineitemOverride">
3767
+ <complexContent>
3768
+ <extension base="ens:sObject">
3769
+ <sequence>
3770
+ <element name="AmountInherited" nillable="true" minOccurs="0" type="xsd:boolean"/>
3771
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
3772
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3773
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3774
+ <element name="ForecastCategoryInherited" nillable="true" minOccurs="0" type="xsd:boolean"/>
3775
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3776
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
3777
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
3778
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3779
+ <element name="OpportunityId" nillable="true" minOccurs="0" type="tns:ID"/>
3780
+ <element name="OpportunityLineItemId" nillable="true" minOccurs="0" type="tns:ID"/>
3781
+ <element name="OverrideAmount" nillable="true" minOccurs="0" type="xsd:double"/>
3782
+ <element name="OverrideForecastCategory" nillable="true" minOccurs="0" type="xsd:string"/>
3783
+ <element name="OverrideQuantity" nillable="true" minOccurs="0" type="xsd:double"/>
3784
+ <element name="OverrideUnitPrice" nillable="true" minOccurs="0" type="xsd:double"/>
3785
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:User"/>
3786
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
3787
+ <element name="QuantityInherited" nillable="true" minOccurs="0" type="xsd:boolean"/>
3788
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3789
+ <element name="UnitPriceInherited" nillable="true" minOccurs="0" type="xsd:boolean"/>
3790
+ </sequence>
3791
+ </extension>
3792
+ </complexContent>
3793
+ </complexType>
3794
+
3795
+ <complexType name="LoginHistory">
3796
+ <complexContent>
3797
+ <extension base="ens:sObject">
3798
+ <sequence>
3799
+ <element name="ApiType" nillable="true" minOccurs="0" type="xsd:string"/>
3800
+ <element name="ApiVersion" nillable="true" minOccurs="0" type="xsd:string"/>
3801
+ <element name="Application" nillable="true" minOccurs="0" type="xsd:string"/>
3802
+ <element name="Browser" nillable="true" minOccurs="0" type="xsd:string"/>
3803
+ <element name="ClientVersion" nillable="true" minOccurs="0" type="xsd:string"/>
3804
+ <element name="LoginTime" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3805
+ <element name="LoginType" nillable="true" minOccurs="0" type="xsd:string"/>
3806
+ <element name="LoginUrl" nillable="true" minOccurs="0" type="xsd:string"/>
3807
+ <element name="Platform" nillable="true" minOccurs="0" type="xsd:string"/>
3808
+ <element name="SourceIp" nillable="true" minOccurs="0" type="xsd:string"/>
3809
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
3810
+ <element name="UserId" nillable="true" minOccurs="0" type="tns:ID"/>
3811
+ </sequence>
3812
+ </extension>
3813
+ </complexContent>
3814
+ </complexType>
3815
+
3816
+ <complexType name="MagentoProduct__c">
3817
+ <complexContent>
3818
+ <extension base="ens:sObject">
3819
+ <sequence>
3820
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3821
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3822
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
3823
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3824
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3825
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3826
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3827
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3828
+ <element name="LastActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
3829
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
3830
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
3831
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3832
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
3833
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3834
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3835
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3836
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
3837
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
3838
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3839
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3840
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3841
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3842
+ <element name="Test__c" nillable="true" minOccurs="0" type="xsd:string"/>
3843
+ </sequence>
3844
+ </extension>
3845
+ </complexContent>
3846
+ </complexType>
3847
+
3848
+ <complexType name="Magentocrm__c">
3849
+ <complexContent>
3850
+ <extension base="ens:sObject">
3851
+ <sequence>
3852
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3853
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
3854
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3855
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3856
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3857
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3858
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
3859
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
3860
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3861
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
3862
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3863
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3864
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
3865
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
3866
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3867
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3868
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3869
+ <element name="test__c" nillable="true" minOccurs="0" type="xsd:string"/>
3870
+ </sequence>
3871
+ </extension>
3872
+ </complexContent>
3873
+ </complexType>
3874
+
3875
+ <complexType name="MailmergeTemplate">
3876
+ <complexContent>
3877
+ <extension base="ens:sObject">
3878
+ <sequence>
3879
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
3880
+ <element name="BodyLength" nillable="true" minOccurs="0" type="xsd:int"/>
3881
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
3882
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3883
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3884
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
3885
+ <element name="Filename" nillable="true" minOccurs="0" type="xsd:string"/>
3886
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3887
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
3888
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
3889
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3890
+ <element name="LastUsedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3891
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
3892
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3893
+ </sequence>
3894
+ </extension>
3895
+ </complexContent>
3896
+ </complexType>
3897
+
3898
+ <complexType name="Name">
3899
+ <complexContent>
3900
+ <extension base="ens:sObject">
3901
+ <sequence>
3902
+ <element name="Alias" nillable="true" minOccurs="0" type="xsd:string"/>
3903
+ <element name="Email" nillable="true" minOccurs="0" type="xsd:string"/>
3904
+ <element name="FirstName" nillable="true" minOccurs="0" type="xsd:string"/>
3905
+ <element name="IsActive" nillable="true" minOccurs="0" type="xsd:boolean"/>
3906
+ <element name="LastName" nillable="true" minOccurs="0" type="xsd:string"/>
3907
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
3908
+ <element name="Phone" nillable="true" minOccurs="0" type="xsd:string"/>
3909
+ <element name="Profile" nillable="true" minOccurs="0" type="ens:Profile"/>
3910
+ <element name="ProfileId" nillable="true" minOccurs="0" type="tns:ID"/>
3911
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
3912
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
3913
+ <element name="UserRole" nillable="true" minOccurs="0" type="ens:UserRole"/>
3914
+ <element name="UserRoleId" nillable="true" minOccurs="0" type="tns:ID"/>
3915
+ <element name="Username" nillable="true" minOccurs="0" type="xsd:string"/>
3916
+ </sequence>
3917
+ </extension>
3918
+ </complexContent>
3919
+ </complexType>
3920
+
3921
+ <complexType name="Networking_Events__History">
3922
+ <complexContent>
3923
+ <extension base="ens:sObject">
3924
+ <sequence>
3925
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
3926
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3927
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3928
+ <element name="Field" nillable="true" minOccurs="0" type="xsd:string"/>
3929
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3930
+ <element name="NewValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
3931
+ <element name="OldValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
3932
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Networking_Events__c"/>
3933
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
3934
+ </sequence>
3935
+ </extension>
3936
+ </complexContent>
3937
+ </complexType>
3938
+
3939
+ <complexType name="Networking_Events__c">
3940
+ <complexContent>
3941
+ <extension base="ens:sObject">
3942
+ <sequence>
3943
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3944
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3945
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
3946
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3947
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3948
+ <element name="EndDate__c" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3949
+ <element name="EventCost__c" nillable="true" minOccurs="0" type="xsd:double"/>
3950
+ <element name="EventStartDate__c" nillable="true" minOccurs="0" type="xsd:date"/>
3951
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3952
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3953
+ <element name="Histories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3954
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3955
+ <element name="LastActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
3956
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
3957
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
3958
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3959
+ <element name="Leads__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3960
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
3961
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3962
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3963
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3964
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
3965
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
3966
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3967
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3968
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3969
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3970
+ </sequence>
3971
+ </extension>
3972
+ </complexContent>
3973
+ </complexType>
3974
+
3975
+ <complexType name="NewsFeed">
3976
+ <complexContent>
3977
+ <extension base="ens:sObject">
3978
+ <sequence>
3979
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
3980
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
3981
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
3982
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
3983
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
3984
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
3985
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
3986
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
3987
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
3988
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3989
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3990
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3991
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
3992
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
3993
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
3994
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
3995
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
3996
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
3997
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
3998
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Name"/>
3999
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
4000
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
4001
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4002
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
4003
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
4004
+ </sequence>
4005
+ </extension>
4006
+ </complexContent>
4007
+ </complexType>
4008
+
4009
+ <complexType name="Note">
4010
+ <complexContent>
4011
+ <extension base="ens:sObject">
4012
+ <sequence>
4013
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
4014
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4015
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4016
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4017
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4018
+ <element name="IsPrivate" nillable="true" minOccurs="0" type="xsd:boolean"/>
4019
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4020
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4021
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4022
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:User"/>
4023
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
4024
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Name"/>
4025
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
4026
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4027
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
4028
+ </sequence>
4029
+ </extension>
4030
+ </complexContent>
4031
+ </complexType>
4032
+
4033
+ <complexType name="NoteAndAttachment">
4034
+ <complexContent>
4035
+ <extension base="ens:sObject">
4036
+ <sequence>
4037
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4038
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4039
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4040
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4041
+ <element name="IsNote" nillable="true" minOccurs="0" type="xsd:boolean"/>
4042
+ <element name="IsPrivate" nillable="true" minOccurs="0" type="xsd:boolean"/>
4043
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4044
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4045
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4046
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:User"/>
4047
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
4048
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Name"/>
4049
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
4050
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4051
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
4052
+ </sequence>
4053
+ </extension>
4054
+ </complexContent>
4055
+ </complexType>
4056
+
4057
+ <complexType name="OpenActivity">
4058
+ <complexContent>
4059
+ <extension base="ens:sObject">
4060
+ <sequence>
4061
+ <element name="Account" nillable="true" minOccurs="0" type="ens:Account"/>
4062
+ <element name="AccountId" nillable="true" minOccurs="0" type="tns:ID"/>
4063
+ <element name="ActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
4064
+ <element name="ActivityType" nillable="true" minOccurs="0" type="xsd:string"/>
4065
+ <element name="CallDisposition" nillable="true" minOccurs="0" type="xsd:string"/>
4066
+ <element name="CallDurationInSeconds" nillable="true" minOccurs="0" type="xsd:int"/>
4067
+ <element name="CallObject" nillable="true" minOccurs="0" type="xsd:string"/>
4068
+ <element name="CallType" nillable="true" minOccurs="0" type="xsd:string"/>
4069
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4070
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4071
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4072
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
4073
+ <element name="DurationInMinutes" nillable="true" minOccurs="0" type="xsd:int"/>
4074
+ <element name="IsAllDayEvent" nillable="true" minOccurs="0" type="xsd:boolean"/>
4075
+ <element name="IsClosed" nillable="true" minOccurs="0" type="xsd:boolean"/>
4076
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4077
+ <element name="IsReminderSet" nillable="true" minOccurs="0" type="xsd:boolean"/>
4078
+ <element name="IsTask" nillable="true" minOccurs="0" type="xsd:boolean"/>
4079
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4080
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4081
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4082
+ <element name="Location" nillable="true" minOccurs="0" type="xsd:string"/>
4083
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
4084
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
4085
+ <element name="Priority" nillable="true" minOccurs="0" type="xsd:string"/>
4086
+ <element name="ReminderDateTime" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4087
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
4088
+ <element name="Subject" nillable="true" minOccurs="0" type="xsd:string"/>
4089
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4090
+ <element name="What" nillable="true" minOccurs="0" type="ens:Name"/>
4091
+ <element name="WhatId" nillable="true" minOccurs="0" type="tns:ID"/>
4092
+ <element name="Who" nillable="true" minOccurs="0" type="ens:Name"/>
4093
+ <element name="WhoId" nillable="true" minOccurs="0" type="tns:ID"/>
4094
+ <element name="eventcost__c" nillable="true" minOccurs="0" type="xsd:double"/>
4095
+ </sequence>
4096
+ </extension>
4097
+ </complexContent>
4098
+ </complexType>
4099
+
4100
+ <complexType name="Opportunity">
4101
+ <complexContent>
4102
+ <extension base="ens:sObject">
4103
+ <sequence>
4104
+ <element name="Account" nillable="true" minOccurs="0" type="ens:Account"/>
4105
+ <element name="AccountId" nillable="true" minOccurs="0" type="tns:ID"/>
4106
+ <element name="AccountPartners" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4107
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4108
+ <element name="Activity_Count__c" nillable="true" minOccurs="0" type="xsd:double"/>
4109
+ <element name="Amount" nillable="true" minOccurs="0" type="xsd:double"/>
4110
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4111
+ <element name="Campaign" nillable="true" minOccurs="0" type="ens:Campaign"/>
4112
+ <element name="CampaignId" nillable="true" minOccurs="0" type="tns:ID"/>
4113
+ <element name="CloseDate" nillable="true" minOccurs="0" type="xsd:date"/>
4114
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4115
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4116
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4117
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
4118
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4119
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4120
+ <element name="Feeds" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4121
+ <element name="Fiscal" nillable="true" minOccurs="0" type="xsd:string"/>
4122
+ <element name="FiscalQuarter" nillable="true" minOccurs="0" type="xsd:int"/>
4123
+ <element name="FiscalYear" nillable="true" minOccurs="0" type="xsd:int"/>
4124
+ <element name="ForecastCategory" nillable="true" minOccurs="0" type="xsd:string"/>
4125
+ <element name="ForecastCategoryName" nillable="true" minOccurs="0" type="xsd:string"/>
4126
+ <element name="HasOpportunityLineItem" nillable="true" minOccurs="0" type="xsd:boolean"/>
4127
+ <element name="Histories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4128
+ <element name="IsClosed" nillable="true" minOccurs="0" type="xsd:boolean"/>
4129
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4130
+ <element name="IsWon" nillable="true" minOccurs="0" type="xsd:boolean"/>
4131
+ <element name="LastActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
4132
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4133
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4134
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4135
+ <element name="LeadSource" nillable="true" minOccurs="0" type="xsd:string"/>
4136
+ <element name="LostReason__c" nillable="true" minOccurs="0" type="xsd:string"/>
4137
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
4138
+ <element name="NextStep" nillable="true" minOccurs="0" type="xsd:string"/>
4139
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4140
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4141
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4142
+ <element name="OpportunityCompetitors" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4143
+ <element name="OpportunityContactRoles" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4144
+ <element name="OpportunityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4145
+ <element name="OpportunityLineItems" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4146
+ <element name="OpportunityPartnersFrom" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4147
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:User"/>
4148
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
4149
+ <element name="Partners" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4150
+ <element name="Pricebook2" nillable="true" minOccurs="0" type="ens:Pricebook2"/>
4151
+ <element name="Pricebook2Id" nillable="true" minOccurs="0" type="tns:ID"/>
4152
+ <element name="Probability" nillable="true" minOccurs="0" type="xsd:double"/>
4153
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4154
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4155
+ <element name="Product__c" nillable="true" minOccurs="0" type="tns:ID"/>
4156
+ <element name="Product__r" nillable="true" minOccurs="0" type="ens:Product2"/>
4157
+ <element name="Quotes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4158
+ <element name="R00N30000002PYgNEAW__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4159
+ <element name="R00N30000002PYgOEAW__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4160
+ <element name="R00N30000002PYjyEAG__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4161
+ <element name="R00N40000001HoCjEAK__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4162
+ <element name="SFGA__R00N40000001HggrEAC__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4163
+ <element name="SFGA__R00N40000001HggwEAC__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4164
+ <element name="SFGA__R00N40000001Hgh5EAC__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4165
+ <element name="SFGA__R00N40000001HghAEAS__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4166
+ <element name="SFGA__R00N40000001HghEEAS__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4167
+ <element name="SOLUTIONS__c" nillable="true" minOccurs="0" type="xsd:string"/>
4168
+ <element name="Shares" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4169
+ <element name="StageName" nillable="true" minOccurs="0" type="xsd:string"/>
4170
+ <element name="SyncedQuote" nillable="true" minOccurs="0" type="ens:Quote"/>
4171
+ <element name="SyncedQuoteId" nillable="true" minOccurs="0" type="tns:ID"/>
4172
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4173
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4174
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
4175
+ <element name="isHot__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
4176
+ </sequence>
4177
+ </extension>
4178
+ </complexContent>
4179
+ </complexType>
4180
+
4181
+ <complexType name="OpportunityCompetitor">
4182
+ <complexContent>
4183
+ <extension base="ens:sObject">
4184
+ <sequence>
4185
+ <element name="CompetitorName" nillable="true" minOccurs="0" type="xsd:string"/>
4186
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4187
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4188
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4189
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4190
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4191
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4192
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4193
+ <element name="Opportunity" nillable="true" minOccurs="0" type="ens:Opportunity"/>
4194
+ <element name="OpportunityId" nillable="true" minOccurs="0" type="tns:ID"/>
4195
+ <element name="Strengths" nillable="true" minOccurs="0" type="xsd:string"/>
4196
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4197
+ <element name="Weaknesses" nillable="true" minOccurs="0" type="xsd:string"/>
4198
+ </sequence>
4199
+ </extension>
4200
+ </complexContent>
4201
+ </complexType>
4202
+
4203
+ <complexType name="OpportunityContactRole">
4204
+ <complexContent>
4205
+ <extension base="ens:sObject">
4206
+ <sequence>
4207
+ <element name="Contact" nillable="true" minOccurs="0" type="ens:Contact"/>
4208
+ <element name="ContactId" nillable="true" minOccurs="0" type="tns:ID"/>
4209
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4210
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4211
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4212
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4213
+ <element name="IsPrimary" nillable="true" minOccurs="0" type="xsd:boolean"/>
4214
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4215
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4216
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4217
+ <element name="Opportunity" nillable="true" minOccurs="0" type="ens:Opportunity"/>
4218
+ <element name="OpportunityId" nillable="true" minOccurs="0" type="tns:ID"/>
4219
+ <element name="Role" nillable="true" minOccurs="0" type="xsd:string"/>
4220
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4221
+ </sequence>
4222
+ </extension>
4223
+ </complexContent>
4224
+ </complexType>
4225
+
4226
+ <complexType name="OpportunityFeed">
4227
+ <complexContent>
4228
+ <extension base="ens:sObject">
4229
+ <sequence>
4230
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
4231
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
4232
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
4233
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
4234
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
4235
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
4236
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
4237
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
4238
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4239
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4240
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4241
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4242
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4243
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
4244
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
4245
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4246
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4247
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
4248
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
4249
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Opportunity"/>
4250
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
4251
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
4252
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4253
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
4254
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
4255
+ </sequence>
4256
+ </extension>
4257
+ </complexContent>
4258
+ </complexType>
4259
+
4260
+ <complexType name="OpportunityFieldHistory">
4261
+ <complexContent>
4262
+ <extension base="ens:sObject">
4263
+ <sequence>
4264
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
4265
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4266
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4267
+ <element name="Field" nillable="true" minOccurs="0" type="xsd:string"/>
4268
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4269
+ <element name="NewValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
4270
+ <element name="OldValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
4271
+ <element name="Opportunity" nillable="true" minOccurs="0" type="ens:Opportunity"/>
4272
+ <element name="OpportunityId" nillable="true" minOccurs="0" type="tns:ID"/>
4273
+ </sequence>
4274
+ </extension>
4275
+ </complexContent>
4276
+ </complexType>
4277
+
4278
+ <complexType name="OpportunityHistory">
4279
+ <complexContent>
4280
+ <extension base="ens:sObject">
4281
+ <sequence>
4282
+ <element name="Amount" nillable="true" minOccurs="0" type="xsd:double"/>
4283
+ <element name="CloseDate" nillable="true" minOccurs="0" type="xsd:date"/>
4284
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4285
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4286
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4287
+ <element name="ExpectedRevenue" nillable="true" minOccurs="0" type="xsd:double"/>
4288
+ <element name="ForecastCategory" nillable="true" minOccurs="0" type="xsd:string"/>
4289
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4290
+ <element name="Opportunity" nillable="true" minOccurs="0" type="ens:Opportunity"/>
4291
+ <element name="OpportunityId" nillable="true" minOccurs="0" type="tns:ID"/>
4292
+ <element name="Probability" nillable="true" minOccurs="0" type="xsd:double"/>
4293
+ <element name="StageName" nillable="true" minOccurs="0" type="xsd:string"/>
4294
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4295
+ </sequence>
4296
+ </extension>
4297
+ </complexContent>
4298
+ </complexType>
4299
+
4300
+ <complexType name="OpportunityLineItem">
4301
+ <complexContent>
4302
+ <extension base="ens:sObject">
4303
+ <sequence>
4304
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4305
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4306
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4307
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
4308
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4309
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4310
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4311
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4312
+ <element name="ListPrice" nillable="true" minOccurs="0" type="xsd:double"/>
4313
+ <element name="Opportunity" nillable="true" minOccurs="0" type="ens:Opportunity"/>
4314
+ <element name="OpportunityId" nillable="true" minOccurs="0" type="tns:ID"/>
4315
+ <element name="PricebookEntry" nillable="true" minOccurs="0" type="ens:PricebookEntry"/>
4316
+ <element name="PricebookEntryId" nillable="true" minOccurs="0" type="tns:ID"/>
4317
+ <element name="Quantity" nillable="true" minOccurs="0" type="xsd:double"/>
4318
+ <element name="ServiceDate" nillable="true" minOccurs="0" type="xsd:date"/>
4319
+ <element name="SortOrder" nillable="true" minOccurs="0" type="xsd:int"/>
4320
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4321
+ <element name="TotalPrice" nillable="true" minOccurs="0" type="xsd:double"/>
4322
+ <element name="UnitPrice" nillable="true" minOccurs="0" type="xsd:double"/>
4323
+ </sequence>
4324
+ </extension>
4325
+ </complexContent>
4326
+ </complexType>
4327
+
4328
+ <complexType name="OpportunityOverride">
4329
+ <complexContent>
4330
+ <extension base="ens:sObject">
4331
+ <sequence>
4332
+ <element name="AmountInherited" nillable="true" minOccurs="0" type="xsd:boolean"/>
4333
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4334
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4335
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4336
+ <element name="ForecastCategoryInherited" nillable="true" minOccurs="0" type="xsd:boolean"/>
4337
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4338
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4339
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4340
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4341
+ <element name="OpportunityId" nillable="true" minOccurs="0" type="tns:ID"/>
4342
+ <element name="OutOfDate" nillable="true" minOccurs="0" type="xsd:boolean"/>
4343
+ <element name="OverrideAmount" nillable="true" minOccurs="0" type="xsd:double"/>
4344
+ <element name="OverrideComment" nillable="true" minOccurs="0" type="xsd:string"/>
4345
+ <element name="OverrideForecastCategory" nillable="true" minOccurs="0" type="xsd:string"/>
4346
+ <element name="OverridePeriodId" nillable="true" minOccurs="0" type="tns:ID"/>
4347
+ <element name="OverrideQuantity" nillable="true" minOccurs="0" type="xsd:double"/>
4348
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:User"/>
4349
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
4350
+ <element name="PeriodInherited" nillable="true" minOccurs="0" type="xsd:boolean"/>
4351
+ <element name="QuantityInherited" nillable="true" minOccurs="0" type="xsd:boolean"/>
4352
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4353
+ </sequence>
4354
+ </extension>
4355
+ </complexContent>
4356
+ </complexType>
4357
+
4358
+ <complexType name="OpportunityPartner">
4359
+ <complexContent>
4360
+ <extension base="ens:sObject">
4361
+ <sequence>
4362
+ <element name="AccountTo" nillable="true" minOccurs="0" type="ens:Account"/>
4363
+ <element name="AccountToId" nillable="true" minOccurs="0" type="tns:ID"/>
4364
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4365
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4366
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4367
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4368
+ <element name="IsPrimary" nillable="true" minOccurs="0" type="xsd:boolean"/>
4369
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4370
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4371
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4372
+ <element name="Opportunity" nillable="true" minOccurs="0" type="ens:Opportunity"/>
4373
+ <element name="OpportunityId" nillable="true" minOccurs="0" type="tns:ID"/>
4374
+ <element name="ReversePartnerId" nillable="true" minOccurs="0" type="tns:ID"/>
4375
+ <element name="Role" nillable="true" minOccurs="0" type="xsd:string"/>
4376
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4377
+ </sequence>
4378
+ </extension>
4379
+ </complexContent>
4380
+ </complexType>
4381
+
4382
+ <complexType name="OpportunityShare">
4383
+ <complexContent>
4384
+ <extension base="ens:sObject">
4385
+ <sequence>
4386
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4387
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4388
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4389
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4390
+ <element name="Opportunity" nillable="true" minOccurs="0" type="ens:Opportunity"/>
4391
+ <element name="OpportunityAccessLevel" nillable="true" minOccurs="0" type="xsd:string"/>
4392
+ <element name="OpportunityId" nillable="true" minOccurs="0" type="tns:ID"/>
4393
+ <element name="RowCause" nillable="true" minOccurs="0" type="xsd:string"/>
4394
+ <element name="UserOrGroupId" nillable="true" minOccurs="0" type="tns:ID"/>
4395
+ </sequence>
4396
+ </extension>
4397
+ </complexContent>
4398
+ </complexType>
4399
+
4400
+ <complexType name="OpportunityStage">
4401
+ <complexContent>
4402
+ <extension base="ens:sObject">
4403
+ <sequence>
4404
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4405
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4406
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4407
+ <element name="DefaultProbability" nillable="true" minOccurs="0" type="xsd:double"/>
4408
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
4409
+ <element name="ForecastCategory" nillable="true" minOccurs="0" type="xsd:string"/>
4410
+ <element name="ForecastCategoryName" nillable="true" minOccurs="0" type="xsd:string"/>
4411
+ <element name="IsActive" nillable="true" minOccurs="0" type="xsd:boolean"/>
4412
+ <element name="IsClosed" nillable="true" minOccurs="0" type="xsd:boolean"/>
4413
+ <element name="IsWon" nillable="true" minOccurs="0" type="xsd:boolean"/>
4414
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4415
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4416
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4417
+ <element name="MasterLabel" nillable="true" minOccurs="0" type="xsd:string"/>
4418
+ <element name="SortOrder" nillable="true" minOccurs="0" type="xsd:int"/>
4419
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4420
+ </sequence>
4421
+ </extension>
4422
+ </complexContent>
4423
+ </complexType>
4424
+
4425
+ <complexType name="OrgWideEmailAddress">
4426
+ <complexContent>
4427
+ <extension base="ens:sObject">
4428
+ <sequence>
4429
+ <element name="Address" nillable="true" minOccurs="0" type="xsd:string"/>
4430
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4431
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4432
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4433
+ <element name="DisplayName" nillable="true" minOccurs="0" type="xsd:string"/>
4434
+ <element name="IsAllowAllProfiles" nillable="true" minOccurs="0" type="xsd:boolean"/>
4435
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4436
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4437
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4438
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4439
+ </sequence>
4440
+ </extension>
4441
+ </complexContent>
4442
+ </complexType>
4443
+
4444
+ <complexType name="Organization">
4445
+ <complexContent>
4446
+ <extension base="ens:sObject">
4447
+ <sequence>
4448
+ <element name="City" nillable="true" minOccurs="0" type="xsd:string"/>
4449
+ <element name="ComplianceBccEmail" nillable="true" minOccurs="0" type="xsd:string"/>
4450
+ <element name="Country" nillable="true" minOccurs="0" type="xsd:string"/>
4451
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4452
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4453
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4454
+ <element name="DefaultAccountAccess" nillable="true" minOccurs="0" type="xsd:string"/>
4455
+ <element name="DefaultCalendarAccess" nillable="true" minOccurs="0" type="xsd:string"/>
4456
+ <element name="DefaultCampaignAccess" nillable="true" minOccurs="0" type="xsd:string"/>
4457
+ <element name="DefaultCaseAccess" nillable="true" minOccurs="0" type="xsd:string"/>
4458
+ <element name="DefaultContactAccess" nillable="true" minOccurs="0" type="xsd:string"/>
4459
+ <element name="DefaultLeadAccess" nillable="true" minOccurs="0" type="xsd:string"/>
4460
+ <element name="DefaultLocaleSidKey" nillable="true" minOccurs="0" type="xsd:string"/>
4461
+ <element name="DefaultOpportunityAccess" nillable="true" minOccurs="0" type="xsd:string"/>
4462
+ <element name="DefaultPricebookAccess" nillable="true" minOccurs="0" type="xsd:string"/>
4463
+ <element name="Division" nillable="true" minOccurs="0" type="xsd:string"/>
4464
+ <element name="Fax" nillable="true" minOccurs="0" type="xsd:string"/>
4465
+ <element name="FiscalYearStartMonth" nillable="true" minOccurs="0" type="xsd:int"/>
4466
+ <element name="LanguageLocaleKey" nillable="true" minOccurs="0" type="xsd:string"/>
4467
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4468
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4469
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4470
+ <element name="MonthlyPageViewsEntitlement" nillable="true" minOccurs="0" type="xsd:int"/>
4471
+ <element name="MonthlyPageViewsUsed" nillable="true" minOccurs="0" type="xsd:int"/>
4472
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
4473
+ <element name="OrganizationType" nillable="true" minOccurs="0" type="xsd:string"/>
4474
+ <element name="Phone" nillable="true" minOccurs="0" type="xsd:string"/>
4475
+ <element name="PostalCode" nillable="true" minOccurs="0" type="xsd:string"/>
4476
+ <element name="PreferencesRequireOpportunityProducts" nillable="true" minOccurs="0" type="xsd:boolean"/>
4477
+ <element name="PrimaryContact" nillable="true" minOccurs="0" type="xsd:string"/>
4478
+ <element name="ReceivesAdminInfoEmails" nillable="true" minOccurs="0" type="xsd:boolean"/>
4479
+ <element name="ReceivesInfoEmails" nillable="true" minOccurs="0" type="xsd:boolean"/>
4480
+ <element name="State" nillable="true" minOccurs="0" type="xsd:string"/>
4481
+ <element name="Street" nillable="true" minOccurs="0" type="xsd:string"/>
4482
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4483
+ <element name="TrialExpirationDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4484
+ <element name="UiSkin" nillable="true" minOccurs="0" type="xsd:string"/>
4485
+ <element name="UsesStartDateAsFiscalYearName" nillable="true" minOccurs="0" type="xsd:boolean"/>
4486
+ <element name="WebToCaseDefaultOrigin" nillable="true" minOccurs="0" type="xsd:string"/>
4487
+ </sequence>
4488
+ </extension>
4489
+ </complexContent>
4490
+ </complexType>
4491
+
4492
+ <complexType name="Partner">
4493
+ <complexContent>
4494
+ <extension base="ens:sObject">
4495
+ <sequence>
4496
+ <element name="AccountFrom" nillable="true" minOccurs="0" type="ens:Account"/>
4497
+ <element name="AccountFromId" nillable="true" minOccurs="0" type="tns:ID"/>
4498
+ <element name="AccountTo" nillable="true" minOccurs="0" type="ens:Account"/>
4499
+ <element name="AccountToId" nillable="true" minOccurs="0" type="tns:ID"/>
4500
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4501
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4502
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4503
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4504
+ <element name="IsPrimary" nillable="true" minOccurs="0" type="xsd:boolean"/>
4505
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4506
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4507
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4508
+ <element name="Opportunity" nillable="true" minOccurs="0" type="ens:Opportunity"/>
4509
+ <element name="OpportunityId" nillable="true" minOccurs="0" type="tns:ID"/>
4510
+ <element name="ReversePartnerId" nillable="true" minOccurs="0" type="tns:ID"/>
4511
+ <element name="Role" nillable="true" minOccurs="0" type="xsd:string"/>
4512
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4513
+ </sequence>
4514
+ </extension>
4515
+ </complexContent>
4516
+ </complexType>
4517
+
4518
+ <complexType name="PartnerRole">
4519
+ <complexContent>
4520
+ <extension base="ens:sObject">
4521
+ <sequence>
4522
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4523
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4524
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4525
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4526
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4527
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4528
+ <element name="MasterLabel" nillable="true" minOccurs="0" type="xsd:string"/>
4529
+ <element name="ReverseRole" nillable="true" minOccurs="0" type="xsd:string"/>
4530
+ <element name="SortOrder" nillable="true" minOccurs="0" type="xsd:int"/>
4531
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4532
+ </sequence>
4533
+ </extension>
4534
+ </complexContent>
4535
+ </complexType>
4536
+
4537
+ <complexType name="Period">
4538
+ <complexContent>
4539
+ <extension base="ens:sObject">
4540
+ <sequence>
4541
+ <element name="EndDate" nillable="true" minOccurs="0" type="xsd:date"/>
4542
+ <element name="FiscalYearSettings" nillable="true" minOccurs="0" type="ens:FiscalYearSettings"/>
4543
+ <element name="FiscalYearSettingsId" nillable="true" minOccurs="0" type="tns:ID"/>
4544
+ <element name="IsForecastPeriod" nillable="true" minOccurs="0" type="xsd:boolean"/>
4545
+ <element name="Number" nillable="true" minOccurs="0" type="xsd:int"/>
4546
+ <element name="PeriodLabel" nillable="true" minOccurs="0" type="xsd:string"/>
4547
+ <element name="QuarterLabel" nillable="true" minOccurs="0" type="xsd:string"/>
4548
+ <element name="StartDate" nillable="true" minOccurs="0" type="xsd:date"/>
4549
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4550
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
4551
+ </sequence>
4552
+ </extension>
4553
+ </complexContent>
4554
+ </complexType>
4555
+
4556
+ <complexType name="Pricebook2">
4557
+ <complexContent>
4558
+ <extension base="ens:sObject">
4559
+ <sequence>
4560
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4561
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4562
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4563
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
4564
+ <element name="IsActive" nillable="true" minOccurs="0" type="xsd:boolean"/>
4565
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4566
+ <element name="IsStandard" nillable="true" minOccurs="0" type="xsd:boolean"/>
4567
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4568
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4569
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4570
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
4571
+ <element name="Opportunities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4572
+ <element name="PricebookEntries" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4573
+ <element name="Quotes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4574
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4575
+ </sequence>
4576
+ </extension>
4577
+ </complexContent>
4578
+ </complexType>
4579
+
4580
+ <complexType name="PricebookEntry">
4581
+ <complexContent>
4582
+ <extension base="ens:sObject">
4583
+ <sequence>
4584
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4585
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4586
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4587
+ <element name="IsActive" nillable="true" minOccurs="0" type="xsd:boolean"/>
4588
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4589
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4590
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4591
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4592
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
4593
+ <element name="OpportunityLineItems" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4594
+ <element name="Pricebook2" nillable="true" minOccurs="0" type="ens:Pricebook2"/>
4595
+ <element name="Pricebook2Id" nillable="true" minOccurs="0" type="tns:ID"/>
4596
+ <element name="Product2" nillable="true" minOccurs="0" type="ens:Product2"/>
4597
+ <element name="Product2Id" nillable="true" minOccurs="0" type="tns:ID"/>
4598
+ <element name="ProductCode" nillable="true" minOccurs="0" type="xsd:string"/>
4599
+ <element name="QuoteLineItems" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4600
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4601
+ <element name="UnitPrice" nillable="true" minOccurs="0" type="xsd:double"/>
4602
+ <element name="UseStandardPrice" nillable="true" minOccurs="0" type="xsd:boolean"/>
4603
+ </sequence>
4604
+ </extension>
4605
+ </complexContent>
4606
+ </complexType>
4607
+
4608
+ <complexType name="ProcessInstance">
4609
+ <complexContent>
4610
+ <extension base="ens:sObject">
4611
+ <sequence>
4612
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4613
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4614
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4615
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4616
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4617
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4618
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4619
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
4620
+ <element name="Steps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4621
+ <element name="StepsAndWorkitems" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4622
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4623
+ <element name="TargetObject" nillable="true" minOccurs="0" type="ens:Name"/>
4624
+ <element name="TargetObjectId" nillable="true" minOccurs="0" type="tns:ID"/>
4625
+ <element name="Workitems" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4626
+ </sequence>
4627
+ </extension>
4628
+ </complexContent>
4629
+ </complexType>
4630
+
4631
+ <complexType name="ProcessInstanceHistory">
4632
+ <complexContent>
4633
+ <extension base="ens:sObject">
4634
+ <sequence>
4635
+ <element name="Actor" nillable="true" minOccurs="0" type="ens:Name"/>
4636
+ <element name="ActorId" nillable="true" minOccurs="0" type="tns:ID"/>
4637
+ <element name="Comments" nillable="true" minOccurs="0" type="xsd:string"/>
4638
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4639
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4640
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4641
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4642
+ <element name="IsPending" nillable="true" minOccurs="0" type="xsd:boolean"/>
4643
+ <element name="OriginalActor" nillable="true" minOccurs="0" type="ens:Name"/>
4644
+ <element name="OriginalActorId" nillable="true" minOccurs="0" type="tns:ID"/>
4645
+ <element name="ProcessInstance" nillable="true" minOccurs="0" type="ens:ProcessInstance"/>
4646
+ <element name="ProcessInstanceId" nillable="true" minOccurs="0" type="tns:ID"/>
4647
+ <element name="RemindersSent" nillable="true" minOccurs="0" type="xsd:int"/>
4648
+ <element name="StepStatus" nillable="true" minOccurs="0" type="xsd:string"/>
4649
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4650
+ <element name="TargetObject" nillable="true" minOccurs="0" type="ens:Name"/>
4651
+ <element name="TargetObjectId" nillable="true" minOccurs="0" type="tns:ID"/>
4652
+ </sequence>
4653
+ </extension>
4654
+ </complexContent>
4655
+ </complexType>
4656
+
4657
+ <complexType name="ProcessInstanceStep">
4658
+ <complexContent>
4659
+ <extension base="ens:sObject">
4660
+ <sequence>
4661
+ <element name="Actor" nillable="true" minOccurs="0" type="ens:Name"/>
4662
+ <element name="ActorId" nillable="true" minOccurs="0" type="tns:ID"/>
4663
+ <element name="Comments" nillable="true" minOccurs="0" type="xsd:string"/>
4664
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4665
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4666
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4667
+ <element name="OriginalActor" nillable="true" minOccurs="0" type="ens:Name"/>
4668
+ <element name="OriginalActorId" nillable="true" minOccurs="0" type="tns:ID"/>
4669
+ <element name="ProcessInstance" nillable="true" minOccurs="0" type="ens:ProcessInstance"/>
4670
+ <element name="ProcessInstanceId" nillable="true" minOccurs="0" type="tns:ID"/>
4671
+ <element name="StepStatus" nillable="true" minOccurs="0" type="xsd:string"/>
4672
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4673
+ </sequence>
4674
+ </extension>
4675
+ </complexContent>
4676
+ </complexType>
4677
+
4678
+ <complexType name="ProcessInstanceWorkitem">
4679
+ <complexContent>
4680
+ <extension base="ens:sObject">
4681
+ <sequence>
4682
+ <element name="Actor" nillable="true" minOccurs="0" type="ens:Name"/>
4683
+ <element name="ActorId" nillable="true" minOccurs="0" type="tns:ID"/>
4684
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4685
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4686
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4687
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4688
+ <element name="OriginalActor" nillable="true" minOccurs="0" type="ens:Name"/>
4689
+ <element name="OriginalActorId" nillable="true" minOccurs="0" type="tns:ID"/>
4690
+ <element name="ProcessInstance" nillable="true" minOccurs="0" type="ens:ProcessInstance"/>
4691
+ <element name="ProcessInstanceId" nillable="true" minOccurs="0" type="tns:ID"/>
4692
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4693
+ </sequence>
4694
+ </extension>
4695
+ </complexContent>
4696
+ </complexType>
4697
+
4698
+ <complexType name="Product2">
4699
+ <complexContent>
4700
+ <extension base="ens:sObject">
4701
+ <sequence>
4702
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4703
+ <element name="Assets" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4704
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4705
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4706
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4707
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4708
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
4709
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4710
+ <element name="Family" nillable="true" minOccurs="0" type="xsd:string"/>
4711
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4712
+ <element name="Feeds" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4713
+ <element name="IsActive" nillable="true" minOccurs="0" type="xsd:boolean"/>
4714
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4715
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4716
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4717
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4718
+ <element name="Leads__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4719
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
4720
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4721
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4722
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4723
+ <element name="Opportunities__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4724
+ <element name="OpportunityLineItems" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4725
+ <element name="PricebookEntries" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4726
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4727
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4728
+ <element name="ProductCode" nillable="true" minOccurs="0" type="xsd:string"/>
4729
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4730
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4731
+ </sequence>
4732
+ </extension>
4733
+ </complexContent>
4734
+ </complexType>
4735
+
4736
+ <complexType name="Product2Feed">
4737
+ <complexContent>
4738
+ <extension base="ens:sObject">
4739
+ <sequence>
4740
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
4741
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
4742
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
4743
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
4744
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
4745
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
4746
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
4747
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
4748
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4749
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4750
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4751
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4752
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4753
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
4754
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
4755
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4756
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4757
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
4758
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
4759
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Product2"/>
4760
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
4761
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
4762
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4763
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
4764
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
4765
+ </sequence>
4766
+ </extension>
4767
+ </complexContent>
4768
+ </complexType>
4769
+
4770
+ <complexType name="Profile">
4771
+ <complexContent>
4772
+ <extension base="ens:sObject">
4773
+ <sequence>
4774
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4775
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4776
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4777
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
4778
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4779
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4780
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4781
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
4782
+ <element name="PermissionsApiEnabled" nillable="true" minOccurs="0" type="xsd:boolean"/>
4783
+ <element name="PermissionsApiUserOnly" nillable="true" minOccurs="0" type="xsd:boolean"/>
4784
+ <element name="PermissionsAuthorApex" nillable="true" minOccurs="0" type="xsd:boolean"/>
4785
+ <element name="PermissionsBulkApiHardDelete" nillable="true" minOccurs="0" type="xsd:boolean"/>
4786
+ <element name="PermissionsCanInsertFeedSystemFields" nillable="true" minOccurs="0" type="xsd:boolean"/>
4787
+ <element name="PermissionsCanUseNewDashboardBuilder" nillable="true" minOccurs="0" type="xsd:boolean"/>
4788
+ <element name="PermissionsConvertLeads" nillable="true" minOccurs="0" type="xsd:boolean"/>
4789
+ <element name="PermissionsCreateMultiforce" nillable="true" minOccurs="0" type="xsd:boolean"/>
4790
+ <element name="PermissionsCustomizeApplication" nillable="true" minOccurs="0" type="xsd:boolean"/>
4791
+ <element name="PermissionsDelegatedPortalUserAdmin" nillable="true" minOccurs="0" type="xsd:boolean"/>
4792
+ <element name="PermissionsDistributeFromPersWksp" nillable="true" minOccurs="0" type="xsd:boolean"/>
4793
+ <element name="PermissionsEditCaseComments" nillable="true" minOccurs="0" type="xsd:boolean"/>
4794
+ <element name="PermissionsEditEvent" nillable="true" minOccurs="0" type="xsd:boolean"/>
4795
+ <element name="PermissionsEditOppLineItemUnitPrice" nillable="true" minOccurs="0" type="xsd:boolean"/>
4796
+ <element name="PermissionsEditOwnQuota" nillable="true" minOccurs="0" type="xsd:boolean"/>
4797
+ <element name="PermissionsEditPublicDocuments" nillable="true" minOccurs="0" type="xsd:boolean"/>
4798
+ <element name="PermissionsEditReadonlyFields" nillable="true" minOccurs="0" type="xsd:boolean"/>
4799
+ <element name="PermissionsEditReports" nillable="true" minOccurs="0" type="xsd:boolean"/>
4800
+ <element name="PermissionsEditTask" nillable="true" minOccurs="0" type="xsd:boolean"/>
4801
+ <element name="PermissionsEmailAdministration" nillable="true" minOccurs="0" type="xsd:boolean"/>
4802
+ <element name="PermissionsEmailTemplateManagement" nillable="true" minOccurs="0" type="xsd:boolean"/>
4803
+ <element name="PermissionsEnableNotifications" nillable="true" minOccurs="0" type="xsd:boolean"/>
4804
+ <element name="PermissionsFlowUFLRequired" nillable="true" minOccurs="0" type="xsd:boolean"/>
4805
+ <element name="PermissionsIPRestrictRequests" nillable="true" minOccurs="0" type="xsd:boolean"/>
4806
+ <element name="PermissionsImportLeads" nillable="true" minOccurs="0" type="xsd:boolean"/>
4807
+ <element name="PermissionsInboundMigrationToolsUser" nillable="true" minOccurs="0" type="xsd:boolean"/>
4808
+ <element name="PermissionsInstallMultiforce" nillable="true" minOccurs="0" type="xsd:boolean"/>
4809
+ <element name="PermissionsManageAnalyticSnapshots" nillable="true" minOccurs="0" type="xsd:boolean"/>
4810
+ <element name="PermissionsManageBusinessHourHolidays" nillable="true" minOccurs="0" type="xsd:boolean"/>
4811
+ <element name="PermissionsManageCallCenters" nillable="true" minOccurs="0" type="xsd:boolean"/>
4812
+ <element name="PermissionsManageCases" nillable="true" minOccurs="0" type="xsd:boolean"/>
4813
+ <element name="PermissionsManageCategories" nillable="true" minOccurs="0" type="xsd:boolean"/>
4814
+ <element name="PermissionsManageCssUsers" nillable="true" minOccurs="0" type="xsd:boolean"/>
4815
+ <element name="PermissionsManageCustomReportTypes" nillable="true" minOccurs="0" type="xsd:boolean"/>
4816
+ <element name="PermissionsManageDashboards" nillable="true" minOccurs="0" type="xsd:boolean"/>
4817
+ <element name="PermissionsManageDataCategories" nillable="true" minOccurs="0" type="xsd:boolean"/>
4818
+ <element name="PermissionsManageDataIntegrations" nillable="true" minOccurs="0" type="xsd:boolean"/>
4819
+ <element name="PermissionsManageEmailClientConfig" nillable="true" minOccurs="0" type="xsd:boolean"/>
4820
+ <element name="PermissionsManageLeads" nillable="true" minOccurs="0" type="xsd:boolean"/>
4821
+ <element name="PermissionsManageMobile" nillable="true" minOccurs="0" type="xsd:boolean"/>
4822
+ <element name="PermissionsManagePartners" nillable="true" minOccurs="0" type="xsd:boolean"/>
4823
+ <element name="PermissionsManageRemoteAccess" nillable="true" minOccurs="0" type="xsd:boolean"/>
4824
+ <element name="PermissionsManageSelfService" nillable="true" minOccurs="0" type="xsd:boolean"/>
4825
+ <element name="PermissionsManageSolutions" nillable="true" minOccurs="0" type="xsd:boolean"/>
4826
+ <element name="PermissionsManageUsers" nillable="true" minOccurs="0" type="xsd:boolean"/>
4827
+ <element name="PermissionsMassInlineEdit" nillable="true" minOccurs="0" type="xsd:boolean"/>
4828
+ <element name="PermissionsModifyAllData" nillable="true" minOccurs="0" type="xsd:boolean"/>
4829
+ <element name="PermissionsNewReportBuilder" nillable="true" minOccurs="0" type="xsd:boolean"/>
4830
+ <element name="PermissionsOutboundMigrationToolsUser" nillable="true" minOccurs="0" type="xsd:boolean"/>
4831
+ <element name="PermissionsOverrideForecasts" nillable="true" minOccurs="0" type="xsd:boolean"/>
4832
+ <element name="PermissionsPasswordNeverExpires" nillable="true" minOccurs="0" type="xsd:boolean"/>
4833
+ <element name="PermissionsPublishMultiforce" nillable="true" minOccurs="0" type="xsd:boolean"/>
4834
+ <element name="PermissionsResetPasswords" nillable="true" minOccurs="0" type="xsd:boolean"/>
4835
+ <element name="PermissionsRunReports" nillable="true" minOccurs="0" type="xsd:boolean"/>
4836
+ <element name="PermissionsScheduleJob" nillable="true" minOccurs="0" type="xsd:boolean"/>
4837
+ <element name="PermissionsScheduleReports" nillable="true" minOccurs="0" type="xsd:boolean"/>
4838
+ <element name="PermissionsSendSitRequests" nillable="true" minOccurs="0" type="xsd:boolean"/>
4839
+ <element name="PermissionsSolutionImport" nillable="true" minOccurs="0" type="xsd:boolean"/>
4840
+ <element name="PermissionsTransferAnyCase" nillable="true" minOccurs="0" type="xsd:boolean"/>
4841
+ <element name="PermissionsTransferAnyEntity" nillable="true" minOccurs="0" type="xsd:boolean"/>
4842
+ <element name="PermissionsTransferAnyLead" nillable="true" minOccurs="0" type="xsd:boolean"/>
4843
+ <element name="PermissionsUseTeamReassignWizards" nillable="true" minOccurs="0" type="xsd:boolean"/>
4844
+ <element name="PermissionsViewAllData" nillable="true" minOccurs="0" type="xsd:boolean"/>
4845
+ <element name="PermissionsViewAllForecasts" nillable="true" minOccurs="0" type="xsd:boolean"/>
4846
+ <element name="PermissionsViewDataCategories" nillable="true" minOccurs="0" type="xsd:boolean"/>
4847
+ <element name="PermissionsViewMyTeamsDashboards" nillable="true" minOccurs="0" type="xsd:boolean"/>
4848
+ <element name="PermissionsViewSetup" nillable="true" minOccurs="0" type="xsd:boolean"/>
4849
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4850
+ <element name="UserLicense" nillable="true" minOccurs="0" type="ens:UserLicense"/>
4851
+ <element name="UserLicenseId" nillable="true" minOccurs="0" type="tns:ID"/>
4852
+ <element name="UserType" nillable="true" minOccurs="0" type="xsd:string"/>
4853
+ <element name="Users" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4854
+ </sequence>
4855
+ </extension>
4856
+ </complexContent>
4857
+ </complexType>
4858
+
4859
+ <complexType name="Property__c">
4860
+ <complexContent>
4861
+ <extension base="ens:sObject">
4862
+ <sequence>
4863
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4864
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4865
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4866
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4867
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4868
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4869
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4870
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
4871
+ <element name="LastActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
4872
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4873
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4874
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4875
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
4876
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4877
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4878
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4879
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
4880
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
4881
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4882
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4883
+ <element name="PropertyName__c" nillable="true" minOccurs="0" type="xsd:string"/>
4884
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4885
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4886
+ </sequence>
4887
+ </extension>
4888
+ </complexContent>
4889
+ </complexType>
4890
+
4891
+ <complexType name="QuantityForecast">
4892
+ <complexContent>
4893
+ <extension base="ens:sObject">
4894
+ <sequence>
4895
+ <element name="Closed" nillable="true" minOccurs="0" type="xsd:double"/>
4896
+ <element name="Commit" nillable="true" minOccurs="0" type="xsd:double"/>
4897
+ <element name="CommitComment" nillable="true" minOccurs="0" type="xsd:string"/>
4898
+ <element name="CommitOverride" nillable="true" minOccurs="0" type="xsd:double"/>
4899
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4900
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4901
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4902
+ <element name="DefaultRollupCommit" nillable="true" minOccurs="0" type="xsd:double"/>
4903
+ <element name="DefaultRollupUpside" nillable="true" minOccurs="0" type="xsd:double"/>
4904
+ <element name="InvalidationDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4905
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
4906
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
4907
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4908
+ <element name="ManagerChoiceCommit" nillable="true" minOccurs="0" type="xsd:string"/>
4909
+ <element name="ManagerChoiceUpside" nillable="true" minOccurs="0" type="xsd:string"/>
4910
+ <element name="ManagerClosed" nillable="true" minOccurs="0" type="xsd:double"/>
4911
+ <element name="ManagerCommit" nillable="true" minOccurs="0" type="xsd:double"/>
4912
+ <element name="ManagerCommitOverride" nillable="true" minOccurs="0" type="xsd:double"/>
4913
+ <element name="ManagerDefaultRollupCommit" nillable="true" minOccurs="0" type="xsd:double"/>
4914
+ <element name="ManagerDefaultRollupUpside" nillable="true" minOccurs="0" type="xsd:double"/>
4915
+ <element name="ManagerId" nillable="true" minOccurs="0" type="tns:ID"/>
4916
+ <element name="ManagerOpportunityRollupCommit" nillable="true" minOccurs="0" type="xsd:double"/>
4917
+ <element name="ManagerOpportunityRollupUpside" nillable="true" minOccurs="0" type="xsd:double"/>
4918
+ <element name="ManagerPipeline" nillable="true" minOccurs="0" type="xsd:double"/>
4919
+ <element name="ManagerUpside" nillable="true" minOccurs="0" type="xsd:double"/>
4920
+ <element name="ManagerUpsideOverride" nillable="true" minOccurs="0" type="xsd:double"/>
4921
+ <element name="OpportunityRollupClosed" nillable="true" minOccurs="0" type="xsd:double"/>
4922
+ <element name="OpportunityRollupCommit" nillable="true" minOccurs="0" type="xsd:double"/>
4923
+ <element name="OpportunityRollupPipeline" nillable="true" minOccurs="0" type="xsd:double"/>
4924
+ <element name="OpportunityRollupUpside" nillable="true" minOccurs="0" type="xsd:double"/>
4925
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:User"/>
4926
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
4927
+ <element name="PeriodId" nillable="true" minOccurs="0" type="tns:ID"/>
4928
+ <element name="Pipeline" nillable="true" minOccurs="0" type="xsd:double"/>
4929
+ <element name="ProductFamily" nillable="true" minOccurs="0" type="xsd:string"/>
4930
+ <element name="QuantityForecastHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4931
+ <element name="Quota" nillable="true" minOccurs="0" type="xsd:double"/>
4932
+ <element name="StartDate" nillable="true" minOccurs="0" type="xsd:date"/>
4933
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4934
+ <element name="Upside" nillable="true" minOccurs="0" type="xsd:double"/>
4935
+ <element name="UpsideComment" nillable="true" minOccurs="0" type="xsd:string"/>
4936
+ <element name="UpsideOverride" nillable="true" minOccurs="0" type="xsd:double"/>
4937
+ </sequence>
4938
+ </extension>
4939
+ </complexContent>
4940
+ </complexType>
4941
+
4942
+ <complexType name="QuantityForecastHistory">
4943
+ <complexContent>
4944
+ <extension base="ens:sObject">
4945
+ <sequence>
4946
+ <element name="Closed" nillable="true" minOccurs="0" type="xsd:double"/>
4947
+ <element name="Commit" nillable="true" minOccurs="0" type="xsd:double"/>
4948
+ <element name="CommitComments" nillable="true" minOccurs="0" type="xsd:string"/>
4949
+ <element name="CommitOverridden" nillable="true" minOccurs="0" type="xsd:boolean"/>
4950
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4951
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4952
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4953
+ <element name="ForecastOverride" nillable="true" minOccurs="0" type="ens:QuantityForecast"/>
4954
+ <element name="ForecastOverrideId" nillable="true" minOccurs="0" type="tns:ID"/>
4955
+ <element name="Pipeline" nillable="true" minOccurs="0" type="xsd:double"/>
4956
+ <element name="Quota" nillable="true" minOccurs="0" type="xsd:double"/>
4957
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4958
+ <element name="Upside" nillable="true" minOccurs="0" type="xsd:double"/>
4959
+ <element name="UpsideComments" nillable="true" minOccurs="0" type="xsd:string"/>
4960
+ <element name="UpsideOverridden" nillable="true" minOccurs="0" type="xsd:boolean"/>
4961
+ </sequence>
4962
+ </extension>
4963
+ </complexContent>
4964
+ </complexType>
4965
+
4966
+ <complexType name="QueueSobject">
4967
+ <complexContent>
4968
+ <extension base="ens:sObject">
4969
+ <sequence>
4970
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
4971
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
4972
+ <element name="Queue" nillable="true" minOccurs="0" type="ens:Group"/>
4973
+ <element name="QueueId" nillable="true" minOccurs="0" type="tns:ID"/>
4974
+ <element name="SobjectType" nillable="true" minOccurs="0" type="xsd:string"/>
4975
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
4976
+ </sequence>
4977
+ </extension>
4978
+ </complexContent>
4979
+ </complexType>
4980
+
4981
+ <complexType name="Quote">
4982
+ <complexContent>
4983
+ <extension base="ens:sObject">
4984
+ <sequence>
4985
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4986
+ <element name="AdditionalCity" nillable="true" minOccurs="0" type="xsd:string"/>
4987
+ <element name="AdditionalCountry" nillable="true" minOccurs="0" type="xsd:string"/>
4988
+ <element name="AdditionalName" nillable="true" minOccurs="0" type="xsd:string"/>
4989
+ <element name="AdditionalPostalCode" nillable="true" minOccurs="0" type="xsd:string"/>
4990
+ <element name="AdditionalState" nillable="true" minOccurs="0" type="xsd:string"/>
4991
+ <element name="AdditionalStreet" nillable="true" minOccurs="0" type="xsd:string"/>
4992
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
4993
+ <element name="BillingCity" nillable="true" minOccurs="0" type="xsd:string"/>
4994
+ <element name="BillingCountry" nillable="true" minOccurs="0" type="xsd:string"/>
4995
+ <element name="BillingName" nillable="true" minOccurs="0" type="xsd:string"/>
4996
+ <element name="BillingPostalCode" nillable="true" minOccurs="0" type="xsd:string"/>
4997
+ <element name="BillingState" nillable="true" minOccurs="0" type="xsd:string"/>
4998
+ <element name="BillingStreet" nillable="true" minOccurs="0" type="xsd:string"/>
4999
+ <element name="Contact" nillable="true" minOccurs="0" type="ens:Contact"/>
5000
+ <element name="ContactId" nillable="true" minOccurs="0" type="tns:ID"/>
5001
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
5002
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5003
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5004
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
5005
+ <element name="Discount" nillable="true" minOccurs="0" type="xsd:double"/>
5006
+ <element name="Email" nillable="true" minOccurs="0" type="xsd:string"/>
5007
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5008
+ <element name="ExpirationDate" nillable="true" minOccurs="0" type="xsd:date"/>
5009
+ <element name="Fax" nillable="true" minOccurs="0" type="xsd:string"/>
5010
+ <element name="GrandTotal" nillable="true" minOccurs="0" type="xsd:double"/>
5011
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
5012
+ <element name="IsSyncing" nillable="true" minOccurs="0" type="xsd:boolean"/>
5013
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
5014
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
5015
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5016
+ <element name="LineItemCount" nillable="true" minOccurs="0" type="xsd:int"/>
5017
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
5018
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5019
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5020
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5021
+ <element name="Opportunity" nillable="true" minOccurs="0" type="ens:Opportunity"/>
5022
+ <element name="OpportunityId" nillable="true" minOccurs="0" type="tns:ID"/>
5023
+ <element name="Phone" nillable="true" minOccurs="0" type="xsd:string"/>
5024
+ <element name="Pricebook2" nillable="true" minOccurs="0" type="ens:Pricebook2"/>
5025
+ <element name="Pricebook2Id" nillable="true" minOccurs="0" type="tns:ID"/>
5026
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5027
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5028
+ <element name="QuoteDocuments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5029
+ <element name="QuoteLineItems" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5030
+ <element name="QuoteNumber" nillable="true" minOccurs="0" type="xsd:string"/>
5031
+ <element name="QuoteToCity" nillable="true" minOccurs="0" type="xsd:string"/>
5032
+ <element name="QuoteToCountry" nillable="true" minOccurs="0" type="xsd:string"/>
5033
+ <element name="QuoteToName" nillable="true" minOccurs="0" type="xsd:string"/>
5034
+ <element name="QuoteToPostalCode" nillable="true" minOccurs="0" type="xsd:string"/>
5035
+ <element name="QuoteToState" nillable="true" minOccurs="0" type="xsd:string"/>
5036
+ <element name="QuoteToStreet" nillable="true" minOccurs="0" type="xsd:string"/>
5037
+ <element name="ShippingCity" nillable="true" minOccurs="0" type="xsd:string"/>
5038
+ <element name="ShippingCountry" nillable="true" minOccurs="0" type="xsd:string"/>
5039
+ <element name="ShippingHandling" nillable="true" minOccurs="0" type="xsd:double"/>
5040
+ <element name="ShippingName" nillable="true" minOccurs="0" type="xsd:string"/>
5041
+ <element name="ShippingPostalCode" nillable="true" minOccurs="0" type="xsd:string"/>
5042
+ <element name="ShippingState" nillable="true" minOccurs="0" type="xsd:string"/>
5043
+ <element name="ShippingStreet" nillable="true" minOccurs="0" type="xsd:string"/>
5044
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
5045
+ <element name="Subtotal" nillable="true" minOccurs="0" type="xsd:double"/>
5046
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5047
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5048
+ <element name="Tax" nillable="true" minOccurs="0" type="xsd:double"/>
5049
+ <element name="TotalPrice" nillable="true" minOccurs="0" type="xsd:double"/>
5050
+ </sequence>
5051
+ </extension>
5052
+ </complexContent>
5053
+ </complexType>
5054
+
5055
+ <complexType name="QuoteDocument">
5056
+ <complexContent>
5057
+ <extension base="ens:sObject">
5058
+ <sequence>
5059
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
5060
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5061
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5062
+ <element name="Discount" nillable="true" minOccurs="0" type="xsd:double"/>
5063
+ <element name="Document" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
5064
+ <element name="GrandTotal" nillable="true" minOccurs="0" type="xsd:double"/>
5065
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
5066
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
5067
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
5068
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5069
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
5070
+ <element name="Quote" nillable="true" minOccurs="0" type="ens:Quote"/>
5071
+ <element name="QuoteId" nillable="true" minOccurs="0" type="tns:ID"/>
5072
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5073
+ </sequence>
5074
+ </extension>
5075
+ </complexContent>
5076
+ </complexType>
5077
+
5078
+ <complexType name="QuoteLineItem">
5079
+ <complexContent>
5080
+ <extension base="ens:sObject">
5081
+ <sequence>
5082
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
5083
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5084
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5085
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
5086
+ <element name="Discount" nillable="true" minOccurs="0" type="xsd:double"/>
5087
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
5088
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
5089
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
5090
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5091
+ <element name="LineNumber" nillable="true" minOccurs="0" type="xsd:string"/>
5092
+ <element name="ListPrice" nillable="true" minOccurs="0" type="xsd:double"/>
5093
+ <element name="PricebookEntry" nillable="true" minOccurs="0" type="ens:PricebookEntry"/>
5094
+ <element name="PricebookEntryId" nillable="true" minOccurs="0" type="tns:ID"/>
5095
+ <element name="Quantity" nillable="true" minOccurs="0" type="xsd:double"/>
5096
+ <element name="Quote" nillable="true" minOccurs="0" type="ens:Quote"/>
5097
+ <element name="QuoteId" nillable="true" minOccurs="0" type="tns:ID"/>
5098
+ <element name="ServiceDate" nillable="true" minOccurs="0" type="xsd:date"/>
5099
+ <element name="SortOrder" nillable="true" minOccurs="0" type="xsd:int"/>
5100
+ <element name="Subtotal" nillable="true" minOccurs="0" type="xsd:double"/>
5101
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5102
+ <element name="TotalPrice" nillable="true" minOccurs="0" type="xsd:double"/>
5103
+ <element name="UnitPrice" nillable="true" minOccurs="0" type="xsd:double"/>
5104
+ </sequence>
5105
+ </extension>
5106
+ </complexContent>
5107
+ </complexType>
5108
+
5109
+ <complexType name="QuoteTemplateRichTextData">
5110
+ <complexContent>
5111
+ <extension base="ens:sObject">
5112
+ <sequence>
5113
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
5114
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5115
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5116
+ <element name="Data" nillable="true" minOccurs="0" type="xsd:string"/>
5117
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
5118
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
5119
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
5120
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5121
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
5122
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5123
+ </sequence>
5124
+ </extension>
5125
+ </complexContent>
5126
+ </complexType>
5127
+
5128
+ <complexType name="RecordType">
5129
+ <complexContent>
5130
+ <extension base="ens:sObject">
5131
+ <sequence>
5132
+ <element name="BusinessProcessId" nillable="true" minOccurs="0" type="tns:ID"/>
5133
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
5134
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5135
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5136
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
5137
+ <element name="DeveloperName" nillable="true" minOccurs="0" type="xsd:string"/>
5138
+ <element name="IsActive" nillable="true" minOccurs="0" type="xsd:boolean"/>
5139
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
5140
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
5141
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5142
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
5143
+ <element name="NamespacePrefix" nillable="true" minOccurs="0" type="xsd:string"/>
5144
+ <element name="SobjectType" nillable="true" minOccurs="0" type="xsd:string"/>
5145
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5146
+ </sequence>
5147
+ </extension>
5148
+ </complexContent>
5149
+ </complexType>
5150
+
5151
+ <complexType name="Report">
5152
+ <complexContent>
5153
+ <extension base="ens:sObject">
5154
+ <sequence>
5155
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
5156
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5157
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5158
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
5159
+ <element name="DeveloperName" nillable="true" minOccurs="0" type="xsd:string"/>
5160
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5161
+ <element name="Feeds" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5162
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
5163
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
5164
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
5165
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5166
+ <element name="LastRunDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5167
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
5168
+ <element name="NamespacePrefix" nillable="true" minOccurs="0" type="xsd:string"/>
5169
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
5170
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5171
+ </sequence>
5172
+ </extension>
5173
+ </complexContent>
5174
+ </complexType>
5175
+
5176
+ <complexType name="ReportFeed">
5177
+ <complexContent>
5178
+ <extension base="ens:sObject">
5179
+ <sequence>
5180
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
5181
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
5182
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
5183
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
5184
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
5185
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
5186
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
5187
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
5188
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5189
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5190
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5191
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5192
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5193
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
5194
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
5195
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
5196
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5197
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
5198
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
5199
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Report"/>
5200
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
5201
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
5202
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5203
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
5204
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
5205
+ </sequence>
5206
+ </extension>
5207
+ </complexContent>
5208
+ </complexType>
5209
+
5210
+ <complexType name="RevenueForecast">
5211
+ <complexContent>
5212
+ <extension base="ens:sObject">
5213
+ <sequence>
5214
+ <element name="Closed" nillable="true" minOccurs="0" type="xsd:double"/>
5215
+ <element name="Commit" nillable="true" minOccurs="0" type="xsd:double"/>
5216
+ <element name="CommitComment" nillable="true" minOccurs="0" type="xsd:string"/>
5217
+ <element name="CommitOverride" nillable="true" minOccurs="0" type="xsd:double"/>
5218
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
5219
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5220
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5221
+ <element name="DefaultRollupCommit" nillable="true" minOccurs="0" type="xsd:double"/>
5222
+ <element name="DefaultRollupUpside" nillable="true" minOccurs="0" type="xsd:double"/>
5223
+ <element name="InvalidationDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5224
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
5225
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
5226
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5227
+ <element name="ManagerChoiceCommit" nillable="true" minOccurs="0" type="xsd:string"/>
5228
+ <element name="ManagerChoiceUpside" nillable="true" minOccurs="0" type="xsd:string"/>
5229
+ <element name="ManagerClosed" nillable="true" minOccurs="0" type="xsd:double"/>
5230
+ <element name="ManagerCommit" nillable="true" minOccurs="0" type="xsd:double"/>
5231
+ <element name="ManagerCommitOverride" nillable="true" minOccurs="0" type="xsd:double"/>
5232
+ <element name="ManagerDefaultRollupCommit" nillable="true" minOccurs="0" type="xsd:double"/>
5233
+ <element name="ManagerDefaultRollupUpside" nillable="true" minOccurs="0" type="xsd:double"/>
5234
+ <element name="ManagerId" nillable="true" minOccurs="0" type="tns:ID"/>
5235
+ <element name="ManagerOpportunityRollupCommit" nillable="true" minOccurs="0" type="xsd:double"/>
5236
+ <element name="ManagerOpportunityRollupUpside" nillable="true" minOccurs="0" type="xsd:double"/>
5237
+ <element name="ManagerPipeline" nillable="true" minOccurs="0" type="xsd:double"/>
5238
+ <element name="ManagerUpside" nillable="true" minOccurs="0" type="xsd:double"/>
5239
+ <element name="ManagerUpsideOverride" nillable="true" minOccurs="0" type="xsd:double"/>
5240
+ <element name="OpportunityRollupClosed" nillable="true" minOccurs="0" type="xsd:double"/>
5241
+ <element name="OpportunityRollupCommit" nillable="true" minOccurs="0" type="xsd:double"/>
5242
+ <element name="OpportunityRollupPipeline" nillable="true" minOccurs="0" type="xsd:double"/>
5243
+ <element name="OpportunityRollupUpside" nillable="true" minOccurs="0" type="xsd:double"/>
5244
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:User"/>
5245
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
5246
+ <element name="PeriodId" nillable="true" minOccurs="0" type="tns:ID"/>
5247
+ <element name="Pipeline" nillable="true" minOccurs="0" type="xsd:double"/>
5248
+ <element name="ProductFamily" nillable="true" minOccurs="0" type="xsd:string"/>
5249
+ <element name="Quota" nillable="true" minOccurs="0" type="xsd:double"/>
5250
+ <element name="RevenueForecastHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5251
+ <element name="StartDate" nillable="true" minOccurs="0" type="xsd:date"/>
5252
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5253
+ <element name="Upside" nillable="true" minOccurs="0" type="xsd:double"/>
5254
+ <element name="UpsideComment" nillable="true" minOccurs="0" type="xsd:string"/>
5255
+ <element name="UpsideOverride" nillable="true" minOccurs="0" type="xsd:double"/>
5256
+ </sequence>
5257
+ </extension>
5258
+ </complexContent>
5259
+ </complexType>
5260
+
5261
+ <complexType name="RevenueForecastHistory">
5262
+ <complexContent>
5263
+ <extension base="ens:sObject">
5264
+ <sequence>
5265
+ <element name="Closed" nillable="true" minOccurs="0" type="xsd:double"/>
5266
+ <element name="Commit" nillable="true" minOccurs="0" type="xsd:double"/>
5267
+ <element name="CommitComments" nillable="true" minOccurs="0" type="xsd:string"/>
5268
+ <element name="CommitOverridden" nillable="true" minOccurs="0" type="xsd:boolean"/>
5269
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
5270
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5271
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5272
+ <element name="ForecastOverride" nillable="true" minOccurs="0" type="ens:RevenueForecast"/>
5273
+ <element name="ForecastOverrideId" nillable="true" minOccurs="0" type="tns:ID"/>
5274
+ <element name="Pipeline" nillable="true" minOccurs="0" type="xsd:double"/>
5275
+ <element name="Quota" nillable="true" minOccurs="0" type="xsd:double"/>
5276
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5277
+ <element name="Upside" nillable="true" minOccurs="0" type="xsd:double"/>
5278
+ <element name="UpsideComments" nillable="true" minOccurs="0" type="xsd:string"/>
5279
+ <element name="UpsideOverridden" nillable="true" minOccurs="0" type="xsd:boolean"/>
5280
+ </sequence>
5281
+ </extension>
5282
+ </complexContent>
5283
+ </complexType>
5284
+
5285
+ <complexType name="SALEDATA__History">
5286
+ <complexContent>
5287
+ <extension base="ens:sObject">
5288
+ <sequence>
5289
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
5290
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5291
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5292
+ <element name="Field" nillable="true" minOccurs="0" type="xsd:string"/>
5293
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
5294
+ <element name="NewValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
5295
+ <element name="OldValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
5296
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:SALEDATA__c"/>
5297
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
5298
+ </sequence>
5299
+ </extension>
5300
+ </complexContent>
5301
+ </complexType>
5302
+
5303
+ <complexType name="SALEDATA__c">
5304
+ <complexContent>
5305
+ <extension base="ens:sObject">
5306
+ <sequence>
5307
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5308
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5309
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
5310
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5311
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5312
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5313
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5314
+ <element name="Histories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5315
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
5316
+ <element name="LastActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
5317
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
5318
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
5319
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5320
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
5321
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5322
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5323
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5324
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
5325
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
5326
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5327
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5328
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5329
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5330
+ </sequence>
5331
+ </extension>
5332
+ </complexContent>
5333
+ </complexType>
5334
+
5335
+ <complexType name="SFDC_Assignment__c">
5336
+ <complexContent>
5337
+ <extension base="ens:sObject">
5338
+ <sequence>
5339
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5340
+ <element name="Cap_on_hours__c" nillable="true" minOccurs="0" type="xsd:double"/>
5341
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
5342
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5343
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5344
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5345
+ <element name="Green_Light__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5346
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
5347
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
5348
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
5349
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5350
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
5351
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5352
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5353
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
5354
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
5355
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5356
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5357
+ <element name="Projects__c" nillable="true" minOccurs="0" type="tns:ID"/>
5358
+ <element name="Projects__r" nillable="true" minOccurs="0" type="ens:SFDC_Projects__c"/>
5359
+ <element name="Resource__c" nillable="true" minOccurs="0" type="tns:ID"/>
5360
+ <element name="Resource__r" nillable="true" minOccurs="0" type="ens:SFDC_Resource__c"/>
5361
+ <element name="Role__c" nillable="true" minOccurs="0" type="xsd:string"/>
5362
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5363
+ </sequence>
5364
+ </extension>
5365
+ </complexContent>
5366
+ </complexType>
5367
+
5368
+ <complexType name="SFDC_Expense__c">
5369
+ <complexContent>
5370
+ <extension base="ens:sObject">
5371
+ <sequence>
5372
+ <element name="Air_Fare_Total__c" nillable="true" minOccurs="0" type="xsd:double"/>
5373
+ <element name="Air_Purchase_1_Detail__c" nillable="true" minOccurs="0" type="xsd:string"/>
5374
+ <element name="Air_Purchase_1__c" nillable="true" minOccurs="0" type="xsd:double"/>
5375
+ <element name="Air_Purchase_2_Detail__c" nillable="true" minOccurs="0" type="xsd:string"/>
5376
+ <element name="Air_Purchase_2__c" nillable="true" minOccurs="0" type="xsd:double"/>
5377
+ <element name="Air_Purchase_3_Detail__c" nillable="true" minOccurs="0" type="xsd:string"/>
5378
+ <element name="Air_Purchase_3__c" nillable="true" minOccurs="0" type="xsd:double"/>
5379
+ <element name="Approve__c" nillable="true" minOccurs="0" type="xsd:string"/>
5380
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5381
+ <element name="Billable_to__c" nillable="true" minOccurs="0" type="xsd:string"/>
5382
+ <element name="Breakfast_Su__c" nillable="true" minOccurs="0" type="xsd:double"/>
5383
+ <element name="Breakfast_f__c" nillable="true" minOccurs="0" type="xsd:double"/>
5384
+ <element name="Breakfast_m__c" nillable="true" minOccurs="0" type="xsd:double"/>
5385
+ <element name="Breakfast_sa__c" nillable="true" minOccurs="0" type="xsd:double"/>
5386
+ <element name="Breakfast_t__c" nillable="true" minOccurs="0" type="xsd:double"/>
5387
+ <element name="Breakfast_th__c" nillable="true" minOccurs="0" type="xsd:double"/>
5388
+ <element name="Breakfast_w__c" nillable="true" minOccurs="0" type="xsd:double"/>
5389
+ <element name="Car_Rental_1_Detail__c" nillable="true" minOccurs="0" type="xsd:string"/>
5390
+ <element name="Car_Rental_2_Detail__c" nillable="true" minOccurs="0" type="xsd:string"/>
5391
+ <element name="Car_Rental_3_Detail__c" nillable="true" minOccurs="0" type="xsd:string"/>
5392
+ <element name="Car_Rental_Total_2__c" nillable="true" minOccurs="0" type="xsd:double"/>
5393
+ <element name="Car_Rental_Total_3__c" nillable="true" minOccurs="0" type="xsd:double"/>
5394
+ <element name="Car_Rental_Total__c" nillable="true" minOccurs="0" type="xsd:double"/>
5395
+ <element name="Car_Rental__c" nillable="true" minOccurs="0" type="xsd:double"/>
5396
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
5397
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5398
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5399
+ <element name="Dinner_f__c" nillable="true" minOccurs="0" type="xsd:double"/>
5400
+ <element name="Dinner_m__c" nillable="true" minOccurs="0" type="xsd:double"/>
5401
+ <element name="Dinner_sa__c" nillable="true" minOccurs="0" type="xsd:double"/>
5402
+ <element name="Dinner_su__c" nillable="true" minOccurs="0" type="xsd:double"/>
5403
+ <element name="Dinner_t__c" nillable="true" minOccurs="0" type="xsd:double"/>
5404
+ <element name="Dinner_th__c" nillable="true" minOccurs="0" type="xsd:double"/>
5405
+ <element name="Dinner_w__c" nillable="true" minOccurs="0" type="xsd:double"/>
5406
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5407
+ <element name="Gas_Total__c" nillable="true" minOccurs="0" type="xsd:double"/>
5408
+ <element name="Gas_f__c" nillable="true" minOccurs="0" type="xsd:double"/>
5409
+ <element name="Gas_m__c" nillable="true" minOccurs="0" type="xsd:double"/>
5410
+ <element name="Gas_sa__c" nillable="true" minOccurs="0" type="xsd:double"/>
5411
+ <element name="Gas_su__c" nillable="true" minOccurs="0" type="xsd:double"/>
5412
+ <element name="Gas_t__c" nillable="true" minOccurs="0" type="xsd:double"/>
5413
+ <element name="Gas_th__c" nillable="true" minOccurs="0" type="xsd:double"/>
5414
+ <element name="Gas_w__c" nillable="true" minOccurs="0" type="xsd:double"/>
5415
+ <element name="Hotel_Tax_f__c" nillable="true" minOccurs="0" type="xsd:double"/>
5416
+ <element name="Hotel_Tax_m__c" nillable="true" minOccurs="0" type="xsd:double"/>
5417
+ <element name="Hotel_Tax_sa__c" nillable="true" minOccurs="0" type="xsd:double"/>
5418
+ <element name="Hotel_Tax_su__c" nillable="true" minOccurs="0" type="xsd:double"/>
5419
+ <element name="Hotel_Tax_t__c" nillable="true" minOccurs="0" type="xsd:double"/>
5420
+ <element name="Hotel_Tax_th__c" nillable="true" minOccurs="0" type="xsd:double"/>
5421
+ <element name="Hotel_Tax_w__c" nillable="true" minOccurs="0" type="xsd:double"/>
5422
+ <element name="Hotel_Total__c" nillable="true" minOccurs="0" type="xsd:double"/>
5423
+ <element name="Internet_Total__c" nillable="true" minOccurs="0" type="xsd:double"/>
5424
+ <element name="Internet_f__c" nillable="true" minOccurs="0" type="xsd:double"/>
5425
+ <element name="Internet_m__c" nillable="true" minOccurs="0" type="xsd:double"/>
5426
+ <element name="Internet_sa__c" nillable="true" minOccurs="0" type="xsd:double"/>
5427
+ <element name="Internet_su__c" nillable="true" minOccurs="0" type="xsd:double"/>
5428
+ <element name="Internet_t__c" nillable="true" minOccurs="0" type="xsd:double"/>
5429
+ <element name="Internet_th__c" nillable="true" minOccurs="0" type="xsd:double"/>
5430
+ <element name="Internet_w__c" nillable="true" minOccurs="0" type="xsd:double"/>
5431
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
5432
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
5433
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
5434
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5435
+ <element name="Laundry_Su__c" nillable="true" minOccurs="0" type="xsd:double"/>
5436
+ <element name="Laundry_Total__c" nillable="true" minOccurs="0" type="xsd:double"/>
5437
+ <element name="Laundry_f__c" nillable="true" minOccurs="0" type="xsd:double"/>
5438
+ <element name="Laundry_m__c" nillable="true" minOccurs="0" type="xsd:double"/>
5439
+ <element name="Laundry_sa__c" nillable="true" minOccurs="0" type="xsd:double"/>
5440
+ <element name="Laundry_t__c" nillable="true" minOccurs="0" type="xsd:double"/>
5441
+ <element name="Laundry_th__c" nillable="true" minOccurs="0" type="xsd:double"/>
5442
+ <element name="Laundry_w__c" nillable="true" minOccurs="0" type="xsd:double"/>
5443
+ <element name="Lunch_f__c" nillable="true" minOccurs="0" type="xsd:double"/>
5444
+ <element name="Lunch_m__c" nillable="true" minOccurs="0" type="xsd:double"/>
5445
+ <element name="Lunch_sa__c" nillable="true" minOccurs="0" type="xsd:double"/>
5446
+ <element name="Lunch_su__c" nillable="true" minOccurs="0" type="xsd:double"/>
5447
+ <element name="Lunch_t__c" nillable="true" minOccurs="0" type="xsd:double"/>
5448
+ <element name="Lunch_th__c" nillable="true" minOccurs="0" type="xsd:double"/>
5449
+ <element name="Lunch_w__c" nillable="true" minOccurs="0" type="xsd:double"/>
5450
+ <element name="Meals_Total__c" nillable="true" minOccurs="0" type="xsd:double"/>
5451
+ <element name="Mileage_Total__c" nillable="true" minOccurs="0" type="xsd:double"/>
5452
+ <element name="Mileage_f__c" nillable="true" minOccurs="0" type="xsd:double"/>
5453
+ <element name="Mileage_m__c" nillable="true" minOccurs="0" type="xsd:double"/>
5454
+ <element name="Mileage_sa__c" nillable="true" minOccurs="0" type="xsd:double"/>
5455
+ <element name="Mileage_su__c" nillable="true" minOccurs="0" type="xsd:double"/>
5456
+ <element name="Mileage_t__c" nillable="true" minOccurs="0" type="xsd:double"/>
5457
+ <element name="Mileage_th__c" nillable="true" minOccurs="0" type="xsd:double"/>
5458
+ <element name="Mileage_w__c" nillable="true" minOccurs="0" type="xsd:double"/>
5459
+ <element name="Misc_1_f__c" nillable="true" minOccurs="0" type="xsd:double"/>
5460
+ <element name="Misc_1_m__c" nillable="true" minOccurs="0" type="xsd:double"/>
5461
+ <element name="Misc_1_sa__c" nillable="true" minOccurs="0" type="xsd:double"/>
5462
+ <element name="Misc_1_su__c" nillable="true" minOccurs="0" type="xsd:double"/>
5463
+ <element name="Misc_1_t__c" nillable="true" minOccurs="0" type="xsd:double"/>
5464
+ <element name="Misc_1_th__c" nillable="true" minOccurs="0" type="xsd:double"/>
5465
+ <element name="Misc_1_w__c" nillable="true" minOccurs="0" type="xsd:double"/>
5466
+ <element name="Misc_2_f__c" nillable="true" minOccurs="0" type="xsd:double"/>
5467
+ <element name="Misc_2_m__c" nillable="true" minOccurs="0" type="xsd:double"/>
5468
+ <element name="Misc_2_sa__c" nillable="true" minOccurs="0" type="xsd:double"/>
5469
+ <element name="Misc_2_su__c" nillable="true" minOccurs="0" type="xsd:double"/>
5470
+ <element name="Misc_2_t__c" nillable="true" minOccurs="0" type="xsd:double"/>
5471
+ <element name="Misc_2_th__c" nillable="true" minOccurs="0" type="xsd:double"/>
5472
+ <element name="Misc_2_w__c" nillable="true" minOccurs="0" type="xsd:double"/>
5473
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
5474
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5475
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5476
+ <element name="Notes_f__c" nillable="true" minOccurs="0" type="xsd:string"/>
5477
+ <element name="Notes_m__c" nillable="true" minOccurs="0" type="xsd:string"/>
5478
+ <element name="Notes_sa__c" nillable="true" minOccurs="0" type="xsd:string"/>
5479
+ <element name="Notes_su__c" nillable="true" minOccurs="0" type="xsd:string"/>
5480
+ <element name="Notes_t__c" nillable="true" minOccurs="0" type="xsd:string"/>
5481
+ <element name="Notes_th__c" nillable="true" minOccurs="0" type="xsd:string"/>
5482
+ <element name="Notes_w__c" nillable="true" minOccurs="0" type="xsd:string"/>
5483
+ <element name="Other_Food_f__c" nillable="true" minOccurs="0" type="xsd:double"/>
5484
+ <element name="Other_Food_m__c" nillable="true" minOccurs="0" type="xsd:double"/>
5485
+ <element name="Other_Food_sa__c" nillable="true" minOccurs="0" type="xsd:double"/>
5486
+ <element name="Other_Food_su__c" nillable="true" minOccurs="0" type="xsd:double"/>
5487
+ <element name="Other_Food_t__c" nillable="true" minOccurs="0" type="xsd:double"/>
5488
+ <element name="Other_Food_th__c" nillable="true" minOccurs="0" type="xsd:double"/>
5489
+ <element name="Other_Food_w__c" nillable="true" minOccurs="0" type="xsd:double"/>
5490
+ <element name="Other_Total__c" nillable="true" minOccurs="0" type="xsd:double"/>
5491
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
5492
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
5493
+ <element name="Payable_to__c" nillable="true" minOccurs="0" type="xsd:string"/>
5494
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5495
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5496
+ <element name="Projects__c" nillable="true" minOccurs="0" type="tns:ID"/>
5497
+ <element name="Projects__r" nillable="true" minOccurs="0" type="ens:SFDC_Projects__c"/>
5498
+ <element name="REPORT_TOTAL__c" nillable="true" minOccurs="0" type="xsd:double"/>
5499
+ <element name="Resource__c" nillable="true" minOccurs="0" type="tns:ID"/>
5500
+ <element name="Resource__r" nillable="true" minOccurs="0" type="ens:SFDC_Resource__c"/>
5501
+ <element name="Submit__c" nillable="true" minOccurs="0" type="xsd:string"/>
5502
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5503
+ <element name="TOTAL_MEALS_f__c" nillable="true" minOccurs="0" type="xsd:double"/>
5504
+ <element name="TOTAL_MEALS_m__c" nillable="true" minOccurs="0" type="xsd:double"/>
5505
+ <element name="TOTAL_MEALS_sa__c" nillable="true" minOccurs="0" type="xsd:double"/>
5506
+ <element name="TOTAL_MEALS_su__c" nillable="true" minOccurs="0" type="xsd:double"/>
5507
+ <element name="TOTAL_MEALS_t__c" nillable="true" minOccurs="0" type="xsd:double"/>
5508
+ <element name="TOTAL_MEALS_th__c" nillable="true" minOccurs="0" type="xsd:double"/>
5509
+ <element name="TOTAL_MEALS_w__c" nillable="true" minOccurs="0" type="xsd:double"/>
5510
+ <element name="Taxi_Total__c" nillable="true" minOccurs="0" type="xsd:double"/>
5511
+ <element name="Taxi_f__c" nillable="true" minOccurs="0" type="xsd:double"/>
5512
+ <element name="Taxi_m__c" nillable="true" minOccurs="0" type="xsd:double"/>
5513
+ <element name="Taxi_sa__c" nillable="true" minOccurs="0" type="xsd:double"/>
5514
+ <element name="Taxi_su__c" nillable="true" minOccurs="0" type="xsd:double"/>
5515
+ <element name="Taxi_t__c" nillable="true" minOccurs="0" type="xsd:double"/>
5516
+ <element name="Taxi_th__c" nillable="true" minOccurs="0" type="xsd:double"/>
5517
+ <element name="Taxi_w__c" nillable="true" minOccurs="0" type="xsd:double"/>
5518
+ <element name="Week_of__c" nillable="true" minOccurs="0" type="xsd:date"/>
5519
+ </sequence>
5520
+ </extension>
5521
+ </complexContent>
5522
+ </complexType>
5523
+
5524
+ <complexType name="SFDC_Offer__c">
5525
+ <complexContent>
5526
+ <extension base="ens:sObject">
5527
+ <sequence>
5528
+ <element name="Accepted__c" nillable="true" minOccurs="0" type="xsd:string"/>
5529
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5530
+ <element name="Availability__c" nillable="true" minOccurs="0" type="xsd:string"/>
5531
+ <element name="Billing_Rate_Available__c" nillable="true" minOccurs="0" type="xsd:double"/>
5532
+ <element name="Comments__c" nillable="true" minOccurs="0" type="xsd:string"/>
5533
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
5534
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5535
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5536
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5537
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
5538
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
5539
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
5540
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5541
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
5542
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5543
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5544
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
5545
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
5546
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5547
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5548
+ <element name="Projects__c" nillable="true" minOccurs="0" type="tns:ID"/>
5549
+ <element name="Projects__r" nillable="true" minOccurs="0" type="ens:SFDC_Projects__c"/>
5550
+ <element name="Resource__c" nillable="true" minOccurs="0" type="tns:ID"/>
5551
+ <element name="Resource__r" nillable="true" minOccurs="0" type="ens:SFDC_Resource__c"/>
5552
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5553
+ <element name="Travel__c" nillable="true" minOccurs="0" type="xsd:string"/>
5554
+ <element name="of_resource_available__c" nillable="true" minOccurs="0" type="xsd:double"/>
5555
+ </sequence>
5556
+ </extension>
5557
+ </complexContent>
5558
+ </complexType>
5559
+
5560
+ <complexType name="SFDC_Projects__c">
5561
+ <complexContent>
5562
+ <extension base="ens:sObject">
5563
+ <sequence>
5564
+ <element name="Accounts__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5565
+ <element name="Acquired_Courtesy_Licenses__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5566
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5567
+ <element name="Amount__c" nillable="true" minOccurs="0" type="xsd:double"/>
5568
+ <element name="Asked_client_for_login__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5569
+ <element name="Assets__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5570
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5571
+ <element name="Billing__c" nillable="true" minOccurs="0" type="xsd:string"/>
5572
+ <element name="Business_Model__c" nillable="true" minOccurs="0" type="xsd:string"/>
5573
+ <element name="Campaigns__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5574
+ <element name="Cases__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5575
+ <element name="Condition_1_Type__c" nillable="true" minOccurs="0" type="xsd:string"/>
5576
+ <element name="Condition_1__c" nillable="true" minOccurs="0" type="xsd:string"/>
5577
+ <element name="Condition_2_Type__c" nillable="true" minOccurs="0" type="xsd:string"/>
5578
+ <element name="Condition_2__c" nillable="true" minOccurs="0" type="xsd:string"/>
5579
+ <element name="Condition_3_Type__c" nillable="true" minOccurs="0" type="xsd:string"/>
5580
+ <element name="Condition_3__c" nillable="true" minOccurs="0" type="xsd:string"/>
5581
+ <element name="Condition_4_Type__c" nillable="true" minOccurs="0" type="xsd:string"/>
5582
+ <element name="Condition_4__c" nillable="true" minOccurs="0" type="xsd:string"/>
5583
+ <element name="Contacts__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5584
+ <element name="Contracts__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5585
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
5586
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5587
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5588
+ <element name="Custom_Objects__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5589
+ <element name="Dashboards__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5590
+ <element name="Data_Migration__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5591
+ <element name="Edition__c" nillable="true" minOccurs="0" type="xsd:string"/>
5592
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5593
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5594
+ <element name="Finished_Configuration__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5595
+ <element name="Hours__c" nillable="true" minOccurs="0" type="xsd:double"/>
5596
+ <element name="If_PE_Mkt_Licenses__c" nillable="true" minOccurs="0" type="xsd:double"/>
5597
+ <element name="If_PE_other_add_ons__c" nillable="true" minOccurs="0" type="xsd:string"/>
5598
+ <element name="Integration__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5599
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
5600
+ <element name="LastActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
5601
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
5602
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
5603
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5604
+ <element name="Leads__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5605
+ <element name="Licenses__c" nillable="true" minOccurs="0" type="xsd:double"/>
5606
+ <element name="Loaded_Data__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5607
+ <element name="Location__c" nillable="true" minOccurs="0" type="xsd:string"/>
5608
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
5609
+ <element name="Note_10__c" nillable="true" minOccurs="0" type="xsd:string"/>
5610
+ <element name="Note_11__c" nillable="true" minOccurs="0" type="xsd:string"/>
5611
+ <element name="Note_12__c" nillable="true" minOccurs="0" type="xsd:string"/>
5612
+ <element name="Note_13__c" nillable="true" minOccurs="0" type="xsd:string"/>
5613
+ <element name="Note_14__c" nillable="true" minOccurs="0" type="xsd:string"/>
5614
+ <element name="Note_15__c" nillable="true" minOccurs="0" type="xsd:string"/>
5615
+ <element name="Note_16__c" nillable="true" minOccurs="0" type="xsd:string"/>
5616
+ <element name="Note_17__c" nillable="true" minOccurs="0" type="xsd:string"/>
5617
+ <element name="Note_4__c" nillable="true" minOccurs="0" type="xsd:string"/>
5618
+ <element name="Note_5__c" nillable="true" minOccurs="0" type="xsd:string"/>
5619
+ <element name="Note_6__c" nillable="true" minOccurs="0" type="xsd:string"/>
5620
+ <element name="Note_7__c" nillable="true" minOccurs="0" type="xsd:string"/>
5621
+ <element name="Note_8__c" nillable="true" minOccurs="0" type="xsd:string"/>
5622
+ <element name="Note_9__c" nillable="true" minOccurs="0" type="xsd:string"/>
5623
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5624
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5625
+ <element name="Notes_1__c" nillable="true" minOccurs="0" type="xsd:string"/>
5626
+ <element name="Notes_2__c" nillable="true" minOccurs="0" type="xsd:string"/>
5627
+ <element name="Notes_3__c" nillable="true" minOccurs="0" type="xsd:string"/>
5628
+ <element name="Onsite_travel_expected__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5629
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5630
+ <element name="Opportunities__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5631
+ <element name="Opportunity__c" nillable="true" minOccurs="0" type="tns:ID"/>
5632
+ <element name="Opportunity__r" nillable="true" minOccurs="0" type="ens:Opportunity"/>
5633
+ <element name="Outlook_Edition__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5634
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
5635
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
5636
+ <element name="Performed_BPR__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5637
+ <element name="Performed_Kickoff_Meeting__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5638
+ <element name="Performed_Training__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5639
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5640
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5641
+ <element name="Products__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5642
+ <element name="Project_Manager__c" nillable="true" minOccurs="0" type="xsd:string"/>
5643
+ <element name="Project_Stage__c" nillable="true" minOccurs="0" type="xsd:string"/>
5644
+ <element name="Project_Status__c" nillable="true" minOccurs="0" type="xsd:string"/>
5645
+ <element name="Project_Type__c" nillable="true" minOccurs="0" type="xsd:string"/>
5646
+ <element name="R00N40000001HoCeEAK__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5647
+ <element name="R00N40000001HoCfEAK__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5648
+ <element name="R00N40000001HoCgEAK__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5649
+ <element name="R00N40000001HoChEAK__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5650
+ <element name="R00N40000001HoCiEAK__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5651
+ <element name="Received_Data__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5652
+ <element name="Received_Questionnaire_back__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5653
+ <element name="Received_login__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5654
+ <element name="Record_Types__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5655
+ <element name="Reports__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5656
+ <element name="Requested_Data__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5657
+ <element name="Scheduled_BPR__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5658
+ <element name="Scheduled_Kickoff_Meeting__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5659
+ <element name="Scheduled_Training__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5660
+ <element name="Self_Service_Portal__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5661
+ <element name="Sent_Intro_Email_Call__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5662
+ <element name="Sent_Questionnaire__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5663
+ <element name="Solution_Validation__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5664
+ <element name="Solutions__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5665
+ <element name="Success_Factors__c" nillable="true" minOccurs="0" type="xsd:string"/>
5666
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5667
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5668
+ <element name="Training__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5669
+ <element name="Web_Integration_Links__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5670
+ <element name="Web_to_Cases__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5671
+ <element name="Web_to_Leads__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5672
+ <element name="Workflow__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5673
+ <element name="sForce_Controls__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5674
+ </sequence>
5675
+ </extension>
5676
+ </complexContent>
5677
+ </complexType>
5678
+
5679
+ <complexType name="SFDC_Resource__c">
5680
+ <complexContent>
5681
+ <extension base="ens:sObject">
5682
+ <sequence>
5683
+ <element name="API_Artists__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5684
+ <element name="Ability_to_deliver_on_budget__c" nillable="true" minOccurs="0" type="xsd:string"/>
5685
+ <element name="Access_Junkies__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5686
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5687
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5688
+ <element name="Client_Engagement_Skills__c" nillable="true" minOccurs="0" type="xsd:string"/>
5689
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
5690
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5691
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5692
+ <element name="Custom_Objects_Skills__c" nillable="true" minOccurs="0" type="xsd:string"/>
5693
+ <element name="Data_Loaders__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5694
+ <element name="Data_Migration_Skills__c" nillable="true" minOccurs="0" type="xsd:string"/>
5695
+ <element name="Date_of_Last_Authorization__c" nillable="true" minOccurs="0" type="xsd:date"/>
5696
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5697
+ <element name="Excel_Calculations_Gurus__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5698
+ <element name="External_Resource__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5699
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5700
+ <element name="Foreign_Languages__c" nillable="true" minOccurs="0" type="xsd:string"/>
5701
+ <element name="Highest_Rate_Ever_Billed__c" nillable="true" minOccurs="0" type="xsd:double"/>
5702
+ <element name="Integration_Skills__c" nillable="true" minOccurs="0" type="xsd:string"/>
5703
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
5704
+ <element name="Java_Coders__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5705
+ <element name="Large_Project_Skills__c" nillable="true" minOccurs="0" type="xsd:string"/>
5706
+ <element name="LastActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
5707
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
5708
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
5709
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5710
+ <element name="Lowest_Rate_Ever_Billed__c" nillable="true" minOccurs="0" type="xsd:double"/>
5711
+ <element name="Marketing_Process_savvy__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5712
+ <element name="Marketing_Topic_Skills__c" nillable="true" minOccurs="0" type="xsd:string"/>
5713
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
5714
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5715
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5716
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5717
+ <element name="Overall_Skill_Level__c" nillable="true" minOccurs="0" type="xsd:string"/>
5718
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
5719
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
5720
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5721
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5722
+ <element name="R00N40000001HoCZEA0__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5723
+ <element name="R00N40000001HoCaEAK__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5724
+ <element name="R00N40000001HoCbEAK__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5725
+ <element name="R00N40000001HoCcEAK__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5726
+ <element name="R00N40000001HoCdEAK__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5727
+ <element name="Sales_Process_Savvy__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5728
+ <element name="Size_of_Staff_Available__c" nillable="true" minOccurs="0" type="xsd:double"/>
5729
+ <element name="Standard_Billing_Rate__c" nillable="true" minOccurs="0" type="xsd:double"/>
5730
+ <element name="Support_Process_Savvy__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
5731
+ <element name="Support_Topics_Skills__c" nillable="true" minOccurs="0" type="xsd:string"/>
5732
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5733
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5734
+ <element name="Training_Skills__c" nillable="true" minOccurs="0" type="xsd:string"/>
5735
+ <element name="of_resources__c" nillable="true" minOccurs="0" type="xsd:string"/>
5736
+ <element name="sForce_Controls_Skills__c" nillable="true" minOccurs="0" type="xsd:string"/>
5737
+ </sequence>
5738
+ </extension>
5739
+ </complexContent>
5740
+ </complexType>
5741
+
5742
+ <complexType name="SFDC_Schedule__c">
5743
+ <complexContent>
5744
+ <extension base="ens:sObject">
5745
+ <sequence>
5746
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5747
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5748
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
5749
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5750
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5751
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5752
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5753
+ <element name="Fri_booked__c" nillable="true" minOccurs="0" type="xsd:double"/>
5754
+ <element name="Fri_booked_detail__c" nillable="true" minOccurs="0" type="xsd:string"/>
5755
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
5756
+ <element name="LastActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
5757
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
5758
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
5759
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5760
+ <element name="Mon_booked__c" nillable="true" minOccurs="0" type="xsd:double"/>
5761
+ <element name="Mon_booked_detail__c" nillable="true" minOccurs="0" type="xsd:string"/>
5762
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
5763
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5764
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5765
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5766
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
5767
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
5768
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5769
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5770
+ <element name="Projects__c" nillable="true" minOccurs="0" type="tns:ID"/>
5771
+ <element name="Projects__r" nillable="true" minOccurs="0" type="ens:SFDC_Projects__c"/>
5772
+ <element name="Resource__c" nillable="true" minOccurs="0" type="tns:ID"/>
5773
+ <element name="Resource__r" nillable="true" minOccurs="0" type="ens:SFDC_Resource__c"/>
5774
+ <element name="Sat_booked__c" nillable="true" minOccurs="0" type="xsd:double"/>
5775
+ <element name="Sat_booked_detail__c" nillable="true" minOccurs="0" type="xsd:string"/>
5776
+ <element name="Sun_booked__c" nillable="true" minOccurs="0" type="xsd:double"/>
5777
+ <element name="Sun_booked_detail__c" nillable="true" minOccurs="0" type="xsd:string"/>
5778
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5779
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5780
+ <element name="Thu_booked__c" nillable="true" minOccurs="0" type="xsd:double"/>
5781
+ <element name="Thu_booked_detail__c" nillable="true" minOccurs="0" type="xsd:string"/>
5782
+ <element name="Tue_booked__c" nillable="true" minOccurs="0" type="xsd:double"/>
5783
+ <element name="Tue_booked_detail__c" nillable="true" minOccurs="0" type="xsd:string"/>
5784
+ <element name="Wed_booked__c" nillable="true" minOccurs="0" type="xsd:double"/>
5785
+ <element name="Wed_booked_detail__c" nillable="true" minOccurs="0" type="xsd:string"/>
5786
+ <element name="Week_of__c" nillable="true" minOccurs="0" type="xsd:date"/>
5787
+ </sequence>
5788
+ </extension>
5789
+ </complexContent>
5790
+ </complexType>
5791
+
5792
+ <complexType name="SFDC_Timecard__c">
5793
+ <complexContent>
5794
+ <extension base="ens:sObject">
5795
+ <sequence>
5796
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5797
+ <element name="Approve__c" nillable="true" minOccurs="0" type="xsd:string"/>
5798
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5799
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
5800
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5801
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5802
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5803
+ <element name="F_Notes__c" nillable="true" minOccurs="0" type="xsd:string"/>
5804
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5805
+ <element name="Fri__c" nillable="true" minOccurs="0" type="xsd:double"/>
5806
+ <element name="H_Notes__c" nillable="true" minOccurs="0" type="xsd:string"/>
5807
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
5808
+ <element name="LastActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
5809
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
5810
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
5811
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5812
+ <element name="M_Notes__c" nillable="true" minOccurs="0" type="xsd:string"/>
5813
+ <element name="Mon__c" nillable="true" minOccurs="0" type="xsd:double"/>
5814
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
5815
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5816
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5817
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5818
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
5819
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
5820
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5821
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5822
+ <element name="Projects__c" nillable="true" minOccurs="0" type="tns:ID"/>
5823
+ <element name="Projects__r" nillable="true" minOccurs="0" type="ens:SFDC_Projects__c"/>
5824
+ <element name="Resource__c" nillable="true" minOccurs="0" type="tns:ID"/>
5825
+ <element name="Resource__r" nillable="true" minOccurs="0" type="ens:SFDC_Resource__c"/>
5826
+ <element name="Sa_Notes__c" nillable="true" minOccurs="0" type="xsd:string"/>
5827
+ <element name="Sat__c" nillable="true" minOccurs="0" type="xsd:double"/>
5828
+ <element name="Su_Notes__c" nillable="true" minOccurs="0" type="xsd:string"/>
5829
+ <element name="Submit__c" nillable="true" minOccurs="0" type="xsd:string"/>
5830
+ <element name="Sun__c" nillable="true" minOccurs="0" type="xsd:double"/>
5831
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5832
+ <element name="T_Notes__c" nillable="true" minOccurs="0" type="xsd:string"/>
5833
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5834
+ <element name="Thu__c" nillable="true" minOccurs="0" type="xsd:double"/>
5835
+ <element name="Total_Hours__c" nillable="true" minOccurs="0" type="xsd:double"/>
5836
+ <element name="Tue__c" nillable="true" minOccurs="0" type="xsd:double"/>
5837
+ <element name="W_Notes__c" nillable="true" minOccurs="0" type="xsd:string"/>
5838
+ <element name="Wed__c" nillable="true" minOccurs="0" type="xsd:double"/>
5839
+ <element name="Week_of__c" nillable="true" minOccurs="0" type="xsd:date"/>
5840
+ </sequence>
5841
+ </extension>
5842
+ </complexContent>
5843
+ </complexType>
5844
+
5845
+ <complexType name="SFGA__Ad_Group__c">
5846
+ <complexContent>
5847
+ <extension base="ens:sObject">
5848
+ <sequence>
5849
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5850
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
5851
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5852
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5853
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5854
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
5855
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
5856
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
5857
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5858
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
5859
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5860
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5861
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
5862
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
5863
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5864
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5865
+ <element name="SFGA__Ad_Group_ID__c" nillable="true" minOccurs="0" type="xsd:string"/>
5866
+ <element name="SFGA__Lead__c" nillable="true" minOccurs="0" type="tns:ID"/>
5867
+ <element name="SFGA__Lead__r" nillable="true" minOccurs="0" type="ens:Lead"/>
5868
+ <element name="SFGA__Opportunity__c" nillable="true" minOccurs="0" type="tns:ID"/>
5869
+ <element name="SFGA__Opportunity__r" nillable="true" minOccurs="0" type="ens:Opportunity"/>
5870
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5871
+ </sequence>
5872
+ </extension>
5873
+ </complexContent>
5874
+ </complexType>
5875
+
5876
+ <complexType name="SFGA__Google_Campaign__c">
5877
+ <complexContent>
5878
+ <extension base="ens:sObject">
5879
+ <sequence>
5880
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5881
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
5882
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5883
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5884
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5885
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
5886
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
5887
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
5888
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5889
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
5890
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5891
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5892
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
5893
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
5894
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5895
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5896
+ <element name="SFGA__Google_Campaign_Description__c" nillable="true" minOccurs="0" type="xsd:string"/>
5897
+ <element name="SFGA__Google_Campaign_ID__c" nillable="true" minOccurs="0" type="xsd:string"/>
5898
+ <element name="SFGA__Lead__c" nillable="true" minOccurs="0" type="tns:ID"/>
5899
+ <element name="SFGA__Lead__r" nillable="true" minOccurs="0" type="ens:Lead"/>
5900
+ <element name="SFGA__Opportunity__c" nillable="true" minOccurs="0" type="tns:ID"/>
5901
+ <element name="SFGA__Opportunity__r" nillable="true" minOccurs="0" type="ens:Opportunity"/>
5902
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5903
+ </sequence>
5904
+ </extension>
5905
+ </complexContent>
5906
+ </complexType>
5907
+
5908
+ <complexType name="SFGA__Keyword__c">
5909
+ <complexContent>
5910
+ <extension base="ens:sObject">
5911
+ <sequence>
5912
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5913
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
5914
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5915
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5916
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5917
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
5918
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
5919
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
5920
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5921
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
5922
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5923
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5924
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
5925
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
5926
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5927
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5928
+ <element name="SFGA__Keyword_ID__c" nillable="true" minOccurs="0" type="xsd:string"/>
5929
+ <element name="SFGA__Lead__c" nillable="true" minOccurs="0" type="tns:ID"/>
5930
+ <element name="SFGA__Lead__r" nillable="true" minOccurs="0" type="ens:Lead"/>
5931
+ <element name="SFGA__Opportunity__c" nillable="true" minOccurs="0" type="tns:ID"/>
5932
+ <element name="SFGA__Opportunity__r" nillable="true" minOccurs="0" type="ens:Opportunity"/>
5933
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5934
+ </sequence>
5935
+ </extension>
5936
+ </complexContent>
5937
+ </complexType>
5938
+
5939
+ <complexType name="SFGA__Search_Phrase__c">
5940
+ <complexContent>
5941
+ <extension base="ens:sObject">
5942
+ <sequence>
5943
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5944
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
5945
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5946
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5947
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5948
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
5949
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
5950
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
5951
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5952
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
5953
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5954
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5955
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
5956
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
5957
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5958
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5959
+ <element name="SFGA__Lead__c" nillable="true" minOccurs="0" type="tns:ID"/>
5960
+ <element name="SFGA__Lead__r" nillable="true" minOccurs="0" type="ens:Lead"/>
5961
+ <element name="SFGA__Opportunity__c" nillable="true" minOccurs="0" type="tns:ID"/>
5962
+ <element name="SFGA__Opportunity__r" nillable="true" minOccurs="0" type="ens:Opportunity"/>
5963
+ <element name="SFGA__Search_Phrase_ID__c" nillable="true" minOccurs="0" type="xsd:string"/>
5964
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5965
+ </sequence>
5966
+ </extension>
5967
+ </complexContent>
5968
+ </complexType>
5969
+
5970
+ <complexType name="SFGA__Text_Ad__c">
5971
+ <complexContent>
5972
+ <extension base="ens:sObject">
5973
+ <sequence>
5974
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5975
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
5976
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
5977
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5978
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5979
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
5980
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
5981
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
5982
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
5983
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
5984
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5985
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5986
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
5987
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
5988
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5989
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
5990
+ <element name="SFGA__Lead__c" nillable="true" minOccurs="0" type="tns:ID"/>
5991
+ <element name="SFGA__Lead__r" nillable="true" minOccurs="0" type="ens:Lead"/>
5992
+ <element name="SFGA__Opportunity__c" nillable="true" minOccurs="0" type="tns:ID"/>
5993
+ <element name="SFGA__Opportunity__r" nillable="true" minOccurs="0" type="ens:Opportunity"/>
5994
+ <element name="SFGA__Text_Ad_Description_1__c" nillable="true" minOccurs="0" type="xsd:string"/>
5995
+ <element name="SFGA__Text_Ad_Description_2__c" nillable="true" minOccurs="0" type="xsd:string"/>
5996
+ <element name="SFGA__Text_Ad_Destination_URL__c" nillable="true" minOccurs="0" type="xsd:string"/>
5997
+ <element name="SFGA__Text_Ad_Display_URL__c" nillable="true" minOccurs="0" type="xsd:string"/>
5998
+ <element name="SFGA__Text_Ad_ID__c" nillable="true" minOccurs="0" type="xsd:string"/>
5999
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6000
+ </sequence>
6001
+ </extension>
6002
+ </complexContent>
6003
+ </complexType>
6004
+
6005
+ <complexType name="SFGA__Version_33_0_3__c">
6006
+ <complexContent>
6007
+ <extension base="ens:sObject">
6008
+ <sequence>
6009
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6010
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
6011
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6012
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6013
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6014
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
6015
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
6016
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
6017
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6018
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
6019
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6020
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6021
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
6022
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
6023
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6024
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6025
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6026
+ </sequence>
6027
+ </extension>
6028
+ </complexContent>
6029
+ </complexType>
6030
+
6031
+ <complexType name="Scontrol">
6032
+ <complexContent>
6033
+ <extension base="ens:sObject">
6034
+ <sequence>
6035
+ <element name="Binary" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
6036
+ <element name="BodyLength" nillable="true" minOccurs="0" type="xsd:int"/>
6037
+ <element name="ContentSource" nillable="true" minOccurs="0" type="xsd:string"/>
6038
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
6039
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6040
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6041
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
6042
+ <element name="DeveloperName" nillable="true" minOccurs="0" type="xsd:string"/>
6043
+ <element name="EncodingKey" nillable="true" minOccurs="0" type="xsd:string"/>
6044
+ <element name="Filename" nillable="true" minOccurs="0" type="xsd:string"/>
6045
+ <element name="HtmlWrapper" nillable="true" minOccurs="0" type="xsd:string"/>
6046
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
6047
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
6048
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6049
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
6050
+ <element name="NamespacePrefix" nillable="true" minOccurs="0" type="xsd:string"/>
6051
+ <element name="SupportsCaching" nillable="true" minOccurs="0" type="xsd:boolean"/>
6052
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6053
+ </sequence>
6054
+ </extension>
6055
+ </complexContent>
6056
+ </complexType>
6057
+
6058
+ <complexType name="SelfServiceUser">
6059
+ <complexContent>
6060
+ <extension base="ens:sObject">
6061
+ <sequence>
6062
+ <element name="ContactId" nillable="true" minOccurs="0" type="tns:ID"/>
6063
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
6064
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6065
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6066
+ <element name="Email" nillable="true" minOccurs="0" type="xsd:string"/>
6067
+ <element name="FirstName" nillable="true" minOccurs="0" type="xsd:string"/>
6068
+ <element name="IsActive" nillable="true" minOccurs="0" type="xsd:boolean"/>
6069
+ <element name="LanguageLocaleKey" nillable="true" minOccurs="0" type="xsd:string"/>
6070
+ <element name="LastLoginDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6071
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
6072
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
6073
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6074
+ <element name="LastName" nillable="true" minOccurs="0" type="xsd:string"/>
6075
+ <element name="LocaleSidKey" nillable="true" minOccurs="0" type="xsd:string"/>
6076
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
6077
+ <element name="SuperUser" nillable="true" minOccurs="0" type="xsd:boolean"/>
6078
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6079
+ <element name="TimeZoneSidKey" nillable="true" minOccurs="0" type="xsd:string"/>
6080
+ <element name="Username" nillable="true" minOccurs="0" type="xsd:string"/>
6081
+ </sequence>
6082
+ </extension>
6083
+ </complexContent>
6084
+ </complexType>
6085
+
6086
+ <complexType name="Site">
6087
+ <complexContent>
6088
+ <extension base="ens:sObject">
6089
+ <sequence>
6090
+ <element name="Admin" nillable="true" minOccurs="0" type="ens:User"/>
6091
+ <element name="AdminId" nillable="true" minOccurs="0" type="tns:ID"/>
6092
+ <element name="AnalyticsTrackingCode" nillable="true" minOccurs="0" type="xsd:string"/>
6093
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
6094
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6095
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6096
+ <element name="DailyBandwidthLimit" nillable="true" minOccurs="0" type="xsd:int"/>
6097
+ <element name="DailyBandwidthUsed" nillable="true" minOccurs="0" type="xsd:int"/>
6098
+ <element name="DailyRequestTimeLimit" nillable="true" minOccurs="0" type="xsd:int"/>
6099
+ <element name="DailyRequestTimeUsed" nillable="true" minOccurs="0" type="xsd:int"/>
6100
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
6101
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6102
+ <element name="Feeds" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6103
+ <element name="Histories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6104
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
6105
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
6106
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6107
+ <element name="MasterLabel" nillable="true" minOccurs="0" type="xsd:string"/>
6108
+ <element name="MonthlyPageViewsEntitlement" nillable="true" minOccurs="0" type="xsd:int"/>
6109
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
6110
+ <element name="OptionsAllowHomePage" nillable="true" minOccurs="0" type="xsd:boolean"/>
6111
+ <element name="OptionsAllowStandardAnswersPages" nillable="true" minOccurs="0" type="xsd:boolean"/>
6112
+ <element name="OptionsAllowStandardIdeasPages" nillable="true" minOccurs="0" type="xsd:boolean"/>
6113
+ <element name="OptionsAllowStandardLookups" nillable="true" minOccurs="0" type="xsd:boolean"/>
6114
+ <element name="OptionsAllowStandardSearch" nillable="true" minOccurs="0" type="xsd:boolean"/>
6115
+ <element name="OptionsEnableFeeds" nillable="true" minOccurs="0" type="xsd:boolean"/>
6116
+ <element name="SiteDomains" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6117
+ <element name="SiteType" nillable="true" minOccurs="0" type="xsd:string"/>
6118
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
6119
+ <element name="Subdomain" nillable="true" minOccurs="0" type="xsd:string"/>
6120
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6121
+ <element name="UrlPathPrefix" nillable="true" minOccurs="0" type="xsd:string"/>
6122
+ </sequence>
6123
+ </extension>
6124
+ </complexContent>
6125
+ </complexType>
6126
+
6127
+ <complexType name="SiteDomain">
6128
+ <complexContent>
6129
+ <extension base="ens:sObject">
6130
+ <sequence>
6131
+ <element name="Domain" nillable="true" minOccurs="0" type="xsd:string"/>
6132
+ <element name="Site" nillable="true" minOccurs="0" type="ens:Site"/>
6133
+ <element name="SiteId" nillable="true" minOccurs="0" type="tns:ID"/>
6134
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6135
+ </sequence>
6136
+ </extension>
6137
+ </complexContent>
6138
+ </complexType>
6139
+
6140
+ <complexType name="SiteFeed">
6141
+ <complexContent>
6142
+ <extension base="ens:sObject">
6143
+ <sequence>
6144
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
6145
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
6146
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
6147
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
6148
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
6149
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
6150
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
6151
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
6152
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6153
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6154
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6155
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6156
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6157
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
6158
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
6159
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
6160
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6161
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
6162
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
6163
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Site"/>
6164
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
6165
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
6166
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6167
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
6168
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
6169
+ </sequence>
6170
+ </extension>
6171
+ </complexContent>
6172
+ </complexType>
6173
+
6174
+ <complexType name="SiteHistory">
6175
+ <complexContent>
6176
+ <extension base="ens:sObject">
6177
+ <sequence>
6178
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
6179
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6180
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6181
+ <element name="Field" nillable="true" minOccurs="0" type="xsd:string"/>
6182
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
6183
+ <element name="NewValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
6184
+ <element name="OldValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
6185
+ <element name="Site" nillable="true" minOccurs="0" type="ens:Site"/>
6186
+ <element name="SiteId" nillable="true" minOccurs="0" type="tns:ID"/>
6187
+ </sequence>
6188
+ </extension>
6189
+ </complexContent>
6190
+ </complexType>
6191
+
6192
+ <complexType name="Solution">
6193
+ <complexContent>
6194
+ <extension base="ens:sObject">
6195
+ <sequence>
6196
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6197
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6198
+ <element name="CaseSolutions" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6199
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
6200
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6201
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6202
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6203
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6204
+ <element name="Feeds" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6205
+ <element name="Histories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6206
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
6207
+ <element name="IsHtml" nillable="true" minOccurs="0" type="xsd:boolean"/>
6208
+ <element name="IsPublished" nillable="true" minOccurs="0" type="xsd:boolean"/>
6209
+ <element name="IsPublishedInPublicKb" nillable="true" minOccurs="0" type="xsd:boolean"/>
6210
+ <element name="IsReviewed" nillable="true" minOccurs="0" type="xsd:boolean"/>
6211
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
6212
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
6213
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6214
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6215
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:User"/>
6216
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
6217
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6218
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6219
+ <element name="SolutionName" nillable="true" minOccurs="0" type="xsd:string"/>
6220
+ <element name="SolutionNote" nillable="true" minOccurs="0" type="xsd:string"/>
6221
+ <element name="SolutionNumber" nillable="true" minOccurs="0" type="xsd:string"/>
6222
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
6223
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6224
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6225
+ <element name="TimesUsed" nillable="true" minOccurs="0" type="xsd:int"/>
6226
+ <element name="Votes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6227
+ </sequence>
6228
+ </extension>
6229
+ </complexContent>
6230
+ </complexType>
6231
+
6232
+ <complexType name="SolutionFeed">
6233
+ <complexContent>
6234
+ <extension base="ens:sObject">
6235
+ <sequence>
6236
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
6237
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
6238
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
6239
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
6240
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
6241
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
6242
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
6243
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
6244
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6245
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6246
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6247
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6248
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6249
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
6250
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
6251
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
6252
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6253
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
6254
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
6255
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Solution"/>
6256
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
6257
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
6258
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6259
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
6260
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
6261
+ </sequence>
6262
+ </extension>
6263
+ </complexContent>
6264
+ </complexType>
6265
+
6266
+ <complexType name="SolutionHistory">
6267
+ <complexContent>
6268
+ <extension base="ens:sObject">
6269
+ <sequence>
6270
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
6271
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6272
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6273
+ <element name="Field" nillable="true" minOccurs="0" type="xsd:string"/>
6274
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
6275
+ <element name="NewValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
6276
+ <element name="OldValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
6277
+ <element name="Solution" nillable="true" minOccurs="0" type="ens:Solution"/>
6278
+ <element name="SolutionId" nillable="true" minOccurs="0" type="tns:ID"/>
6279
+ </sequence>
6280
+ </extension>
6281
+ </complexContent>
6282
+ </complexType>
6283
+
6284
+ <complexType name="SolutionStatus">
6285
+ <complexContent>
6286
+ <extension base="ens:sObject">
6287
+ <sequence>
6288
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
6289
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6290
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6291
+ <element name="IsDefault" nillable="true" minOccurs="0" type="xsd:boolean"/>
6292
+ <element name="IsReviewed" nillable="true" minOccurs="0" type="xsd:boolean"/>
6293
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
6294
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
6295
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6296
+ <element name="MasterLabel" nillable="true" minOccurs="0" type="xsd:string"/>
6297
+ <element name="SortOrder" nillable="true" minOccurs="0" type="xsd:int"/>
6298
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6299
+ </sequence>
6300
+ </extension>
6301
+ </complexContent>
6302
+ </complexType>
6303
+
6304
+ <complexType name="StaticResource">
6305
+ <complexContent>
6306
+ <extension base="ens:sObject">
6307
+ <sequence>
6308
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
6309
+ <element name="BodyLength" nillable="true" minOccurs="0" type="xsd:int"/>
6310
+ <element name="CacheControl" nillable="true" minOccurs="0" type="xsd:string"/>
6311
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
6312
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
6313
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6314
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6315
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
6316
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
6317
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
6318
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6319
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
6320
+ <element name="NamespacePrefix" nillable="true" minOccurs="0" type="xsd:string"/>
6321
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6322
+ </sequence>
6323
+ </extension>
6324
+ </complexContent>
6325
+ </complexType>
6326
+
6327
+ <complexType name="Task">
6328
+ <complexContent>
6329
+ <extension base="ens:sObject">
6330
+ <sequence>
6331
+ <element name="Account" nillable="true" minOccurs="0" type="ens:Account"/>
6332
+ <element name="AccountId" nillable="true" minOccurs="0" type="tns:ID"/>
6333
+ <element name="ActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
6334
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6335
+ <element name="CallDisposition" nillable="true" minOccurs="0" type="xsd:string"/>
6336
+ <element name="CallDurationInSeconds" nillable="true" minOccurs="0" type="xsd:int"/>
6337
+ <element name="CallObject" nillable="true" minOccurs="0" type="xsd:string"/>
6338
+ <element name="CallType" nillable="true" minOccurs="0" type="xsd:string"/>
6339
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
6340
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6341
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6342
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
6343
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6344
+ <element name="Feeds" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6345
+ <element name="IsArchived" nillable="true" minOccurs="0" type="xsd:boolean"/>
6346
+ <element name="IsClosed" nillable="true" minOccurs="0" type="xsd:boolean"/>
6347
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
6348
+ <element name="IsRecurrence" nillable="true" minOccurs="0" type="xsd:boolean"/>
6349
+ <element name="IsReminderSet" nillable="true" minOccurs="0" type="xsd:boolean"/>
6350
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
6351
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
6352
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6353
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
6354
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
6355
+ <element name="Priority" nillable="true" minOccurs="0" type="xsd:string"/>
6356
+ <element name="RecurrenceActivityId" nillable="true" minOccurs="0" type="tns:ID"/>
6357
+ <element name="RecurrenceDayOfMonth" nillable="true" minOccurs="0" type="xsd:int"/>
6358
+ <element name="RecurrenceDayOfWeekMask" nillable="true" minOccurs="0" type="xsd:int"/>
6359
+ <element name="RecurrenceEndDateOnly" nillable="true" minOccurs="0" type="xsd:date"/>
6360
+ <element name="RecurrenceInstance" nillable="true" minOccurs="0" type="xsd:string"/>
6361
+ <element name="RecurrenceInterval" nillable="true" minOccurs="0" type="xsd:int"/>
6362
+ <element name="RecurrenceMonthOfYear" nillable="true" minOccurs="0" type="xsd:string"/>
6363
+ <element name="RecurrenceStartDateOnly" nillable="true" minOccurs="0" type="xsd:date"/>
6364
+ <element name="RecurrenceTimeZoneSidKey" nillable="true" minOccurs="0" type="xsd:string"/>
6365
+ <element name="RecurrenceType" nillable="true" minOccurs="0" type="xsd:string"/>
6366
+ <element name="RecurringTasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6367
+ <element name="ReminderDateTime" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6368
+ <element name="Status" nillable="true" minOccurs="0" type="xsd:string"/>
6369
+ <element name="Subject" nillable="true" minOccurs="0" type="xsd:string"/>
6370
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6371
+ <element name="What" nillable="true" minOccurs="0" type="ens:Name"/>
6372
+ <element name="WhatId" nillable="true" minOccurs="0" type="tns:ID"/>
6373
+ <element name="Who" nillable="true" minOccurs="0" type="ens:Name"/>
6374
+ <element name="WhoId" nillable="true" minOccurs="0" type="tns:ID"/>
6375
+ <element name="eventcost__c" nillable="true" minOccurs="0" type="xsd:double"/>
6376
+ </sequence>
6377
+ </extension>
6378
+ </complexContent>
6379
+ </complexType>
6380
+
6381
+ <complexType name="TaskFeed">
6382
+ <complexContent>
6383
+ <extension base="ens:sObject">
6384
+ <sequence>
6385
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
6386
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
6387
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
6388
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
6389
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
6390
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
6391
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
6392
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
6393
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6394
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6395
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6396
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6397
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6398
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
6399
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
6400
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
6401
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6402
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
6403
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
6404
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Task"/>
6405
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
6406
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
6407
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6408
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
6409
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
6410
+ </sequence>
6411
+ </extension>
6412
+ </complexContent>
6413
+ </complexType>
6414
+
6415
+ <complexType name="TaskPriority">
6416
+ <complexContent>
6417
+ <extension base="ens:sObject">
6418
+ <sequence>
6419
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
6420
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6421
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6422
+ <element name="IsDefault" nillable="true" minOccurs="0" type="xsd:boolean"/>
6423
+ <element name="IsHighPriority" nillable="true" minOccurs="0" type="xsd:boolean"/>
6424
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
6425
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
6426
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6427
+ <element name="MasterLabel" nillable="true" minOccurs="0" type="xsd:string"/>
6428
+ <element name="SortOrder" nillable="true" minOccurs="0" type="xsd:int"/>
6429
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6430
+ </sequence>
6431
+ </extension>
6432
+ </complexContent>
6433
+ </complexType>
6434
+
6435
+ <complexType name="TaskStatus">
6436
+ <complexContent>
6437
+ <extension base="ens:sObject">
6438
+ <sequence>
6439
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
6440
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6441
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6442
+ <element name="IsClosed" nillable="true" minOccurs="0" type="xsd:boolean"/>
6443
+ <element name="IsDefault" nillable="true" minOccurs="0" type="xsd:boolean"/>
6444
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
6445
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
6446
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6447
+ <element name="MasterLabel" nillable="true" minOccurs="0" type="xsd:string"/>
6448
+ <element name="SortOrder" nillable="true" minOccurs="0" type="xsd:int"/>
6449
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6450
+ </sequence>
6451
+ </extension>
6452
+ </complexContent>
6453
+ </complexType>
6454
+
6455
+ <complexType name="User">
6456
+ <complexContent>
6457
+ <extension base="ens:sObject">
6458
+ <sequence>
6459
+ <element name="AboutMe" nillable="true" minOccurs="0" type="xsd:string"/>
6460
+ <element name="AccountId" nillable="true" minOccurs="0" type="tns:ID"/>
6461
+ <element name="Alias" nillable="true" minOccurs="0" type="xsd:string"/>
6462
+ <element name="CallCenterId" nillable="true" minOccurs="0" type="tns:ID"/>
6463
+ <element name="City" nillable="true" minOccurs="0" type="xsd:string"/>
6464
+ <element name="CommunityNickname" nillable="true" minOccurs="0" type="xsd:string"/>
6465
+ <element name="CompanyName" nillable="true" minOccurs="0" type="xsd:string"/>
6466
+ <element name="Contact" nillable="true" minOccurs="0" type="ens:Contact"/>
6467
+ <element name="ContactId" nillable="true" minOccurs="0" type="tns:ID"/>
6468
+ <element name="ContractsSigned" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6469
+ <element name="Country" nillable="true" minOccurs="0" type="xsd:string"/>
6470
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
6471
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6472
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6473
+ <element name="CurrentStatus" nillable="true" minOccurs="0" type="xsd:string"/>
6474
+ <element name="DefaultGroupNotificationFrequency" nillable="true" minOccurs="0" type="xsd:string"/>
6475
+ <element name="DelegatedApproverId" nillable="true" minOccurs="0" type="tns:ID"/>
6476
+ <element name="DelegatedUsers" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6477
+ <element name="Department" nillable="true" minOccurs="0" type="xsd:string"/>
6478
+ <element name="DigestFrequency" nillable="true" minOccurs="0" type="xsd:string"/>
6479
+ <element name="Division" nillable="true" minOccurs="0" type="xsd:string"/>
6480
+ <element name="Email" nillable="true" minOccurs="0" type="xsd:string"/>
6481
+ <element name="EmailEncodingKey" nillable="true" minOccurs="0" type="xsd:string"/>
6482
+ <element name="EmployeeNumber" nillable="true" minOccurs="0" type="xsd:string"/>
6483
+ <element name="Extension" nillable="true" minOccurs="0" type="xsd:string"/>
6484
+ <element name="Fax" nillable="true" minOccurs="0" type="xsd:string"/>
6485
+ <element name="FederationIdentifier" nillable="true" minOccurs="0" type="xsd:string"/>
6486
+ <element name="FeedSubscriptions" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6487
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6488
+ <element name="Feeds" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6489
+ <element name="FirstName" nillable="true" minOccurs="0" type="xsd:string"/>
6490
+ <element name="ForecastEnabled" nillable="true" minOccurs="0" type="xsd:boolean"/>
6491
+ <element name="FullPhotoUrl" nillable="true" minOccurs="0" type="xsd:string"/>
6492
+ <element name="IsActive" nillable="true" minOccurs="0" type="xsd:boolean"/>
6493
+ <element name="IsPortalEnabled" nillable="true" minOccurs="0" type="xsd:boolean"/>
6494
+ <element name="LanguageLocaleKey" nillable="true" minOccurs="0" type="xsd:string"/>
6495
+ <element name="LastLoginDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6496
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
6497
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
6498
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6499
+ <element name="LastName" nillable="true" minOccurs="0" type="xsd:string"/>
6500
+ <element name="LastPasswordChangeDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6501
+ <element name="LocaleSidKey" nillable="true" minOccurs="0" type="xsd:string"/>
6502
+ <element name="Manager" nillable="true" minOccurs="0" type="ens:User"/>
6503
+ <element name="ManagerId" nillable="true" minOccurs="0" type="tns:ID"/>
6504
+ <element name="MobilePhone" nillable="true" minOccurs="0" type="xsd:string"/>
6505
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
6506
+ <element name="OfflinePdaTrialExpirationDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6507
+ <element name="OfflineTrialExpirationDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6508
+ <element name="Phone" nillable="true" minOccurs="0" type="xsd:string"/>
6509
+ <element name="PostalCode" nillable="true" minOccurs="0" type="xsd:string"/>
6510
+ <element name="Profile" nillable="true" minOccurs="0" type="ens:Profile"/>
6511
+ <element name="ProfileId" nillable="true" minOccurs="0" type="tns:ID"/>
6512
+ <element name="R00N30000002PYg6EAG__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6513
+ <element name="R00N30000002PYgoEAG__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6514
+ <element name="R00N30000002PYi3EAG__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6515
+ <element name="R00N30000002PYj9EAG__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6516
+ <element name="R00N30000002PYjhEAG__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6517
+ <element name="R00N30000002PYjvEAG__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6518
+ <element name="ReceivesAdminInfoEmails" nillable="true" minOccurs="0" type="xsd:boolean"/>
6519
+ <element name="ReceivesInfoEmails" nillable="true" minOccurs="0" type="xsd:boolean"/>
6520
+ <element name="SmallPhotoUrl" nillable="true" minOccurs="0" type="xsd:string"/>
6521
+ <element name="State" nillable="true" minOccurs="0" type="xsd:string"/>
6522
+ <element name="Street" nillable="true" minOccurs="0" type="xsd:string"/>
6523
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6524
+ <element name="TimeZoneSidKey" nillable="true" minOccurs="0" type="xsd:string"/>
6525
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
6526
+ <element name="UserPermissionsAvantgoUser" nillable="true" minOccurs="0" type="xsd:boolean"/>
6527
+ <element name="UserPermissionsCallCenterAutoLogin" nillable="true" minOccurs="0" type="xsd:boolean"/>
6528
+ <element name="UserPermissionsMarketingUser" nillable="true" minOccurs="0" type="xsd:boolean"/>
6529
+ <element name="UserPermissionsMobileUser" nillable="true" minOccurs="0" type="xsd:boolean"/>
6530
+ <element name="UserPermissionsOfflineUser" nillable="true" minOccurs="0" type="xsd:boolean"/>
6531
+ <element name="UserPermissionsSFContentUser" nillable="true" minOccurs="0" type="xsd:boolean"/>
6532
+ <element name="UserPreferences" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6533
+ <element name="UserPreferencesActivityRemindersPopup" nillable="true" minOccurs="0" type="xsd:boolean"/>
6534
+ <element name="UserPreferencesApexPagesDeveloperMode" nillable="true" minOccurs="0" type="xsd:boolean"/>
6535
+ <element name="UserPreferencesDisableAutoSubForFeeds" nillable="true" minOccurs="0" type="xsd:boolean"/>
6536
+ <element name="UserPreferencesEventRemindersCheckboxDefault" nillable="true" minOccurs="0" type="xsd:boolean"/>
6537
+ <element name="UserPreferencesReminderSoundOff" nillable="true" minOccurs="0" type="xsd:boolean"/>
6538
+ <element name="UserPreferencesTaskRemindersCheckboxDefault" nillable="true" minOccurs="0" type="xsd:boolean"/>
6539
+ <element name="UserRole" nillable="true" minOccurs="0" type="ens:UserRole"/>
6540
+ <element name="UserRoleId" nillable="true" minOccurs="0" type="tns:ID"/>
6541
+ <element name="UserType" nillable="true" minOccurs="0" type="xsd:string"/>
6542
+ <element name="Username" nillable="true" minOccurs="0" type="xsd:string"/>
6543
+ <element name="discountDetail__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6544
+ </sequence>
6545
+ </extension>
6546
+ </complexContent>
6547
+ </complexType>
6548
+
6549
+ <complexType name="UserFeed">
6550
+ <complexContent>
6551
+ <extension base="ens:sObject">
6552
+ <sequence>
6553
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
6554
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
6555
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
6556
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
6557
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
6558
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
6559
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
6560
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
6561
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6562
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6563
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6564
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6565
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6566
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
6567
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
6568
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
6569
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6570
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
6571
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
6572
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:User"/>
6573
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
6574
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
6575
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6576
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
6577
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
6578
+ </sequence>
6579
+ </extension>
6580
+ </complexContent>
6581
+ </complexType>
6582
+
6583
+ <complexType name="UserLicense">
6584
+ <complexContent>
6585
+ <extension base="ens:sObject">
6586
+ <sequence>
6587
+ <element name="LicenseDefinitionKey" nillable="true" minOccurs="0" type="xsd:string"/>
6588
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
6589
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6590
+ </sequence>
6591
+ </extension>
6592
+ </complexContent>
6593
+ </complexType>
6594
+
6595
+ <complexType name="UserPreference">
6596
+ <complexContent>
6597
+ <extension base="ens:sObject">
6598
+ <sequence>
6599
+ <element name="Preference" nillable="true" minOccurs="0" type="xsd:string"/>
6600
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6601
+ <element name="UserId" nillable="true" minOccurs="0" type="tns:ID"/>
6602
+ <element name="Value" nillable="true" minOccurs="0" type="xsd:string"/>
6603
+ </sequence>
6604
+ </extension>
6605
+ </complexContent>
6606
+ </complexType>
6607
+
6608
+ <complexType name="UserProfileFeed">
6609
+ <complexContent>
6610
+ <extension base="ens:sObject">
6611
+ <sequence>
6612
+ <element name="Body" nillable="true" minOccurs="0" type="xsd:string"/>
6613
+ <element name="CommentCount" nillable="true" minOccurs="0" type="xsd:int"/>
6614
+ <element name="ContentData" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
6615
+ <element name="ContentDescription" nillable="true" minOccurs="0" type="xsd:string"/>
6616
+ <element name="ContentFileName" nillable="true" minOccurs="0" type="xsd:string"/>
6617
+ <element name="ContentSize" nillable="true" minOccurs="0" type="xsd:int"/>
6618
+ <element name="ContentType" nillable="true" minOccurs="0" type="xsd:string"/>
6619
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
6620
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6621
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6622
+ <element name="FeedComments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6623
+ <element name="FeedLikes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6624
+ <element name="FeedTrackedChanges" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6625
+ <element name="InsertedBy" nillable="true" minOccurs="0" type="ens:Name"/>
6626
+ <element name="InsertedById" nillable="true" minOccurs="0" type="tns:ID"/>
6627
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
6628
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6629
+ <element name="LikeCount" nillable="true" minOccurs="0" type="xsd:int"/>
6630
+ <element name="LinkUrl" nillable="true" minOccurs="0" type="xsd:string"/>
6631
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Name"/>
6632
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
6633
+ <element name="RelatedRecordId" nillable="true" minOccurs="0" type="tns:ID"/>
6634
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6635
+ <element name="Title" nillable="true" minOccurs="0" type="xsd:string"/>
6636
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
6637
+ </sequence>
6638
+ </extension>
6639
+ </complexContent>
6640
+ </complexType>
6641
+
6642
+ <complexType name="UserRole">
6643
+ <complexContent>
6644
+ <extension base="ens:sObject">
6645
+ <sequence>
6646
+ <element name="CaseAccessForAccountOwner" nillable="true" minOccurs="0" type="xsd:string"/>
6647
+ <element name="ContactAccessForAccountOwner" nillable="true" minOccurs="0" type="xsd:string"/>
6648
+ <element name="ForecastUserId" nillable="true" minOccurs="0" type="tns:ID"/>
6649
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
6650
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
6651
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6652
+ <element name="MayForecastManagerShare" nillable="true" minOccurs="0" type="xsd:boolean"/>
6653
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
6654
+ <element name="OpportunityAccessForAccountOwner" nillable="true" minOccurs="0" type="xsd:string"/>
6655
+ <element name="ParentRoleId" nillable="true" minOccurs="0" type="tns:ID"/>
6656
+ <element name="PortalAccountId" nillable="true" minOccurs="0" type="tns:ID"/>
6657
+ <element name="PortalAccountOwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
6658
+ <element name="PortalType" nillable="true" minOccurs="0" type="xsd:string"/>
6659
+ <element name="RollupDescription" nillable="true" minOccurs="0" type="xsd:string"/>
6660
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6661
+ <element name="Users" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6662
+ </sequence>
6663
+ </extension>
6664
+ </complexContent>
6665
+ </complexType>
6666
+
6667
+ <complexType name="Vote">
6668
+ <complexContent>
6669
+ <extension base="ens:sObject">
6670
+ <sequence>
6671
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
6672
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6673
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6674
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
6675
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:Name"/>
6676
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
6677
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6678
+ <element name="Type" nillable="true" minOccurs="0" type="xsd:string"/>
6679
+ </sequence>
6680
+ </extension>
6681
+ </complexContent>
6682
+ </complexType>
6683
+
6684
+ <complexType name="WebLink">
6685
+ <complexContent>
6686
+ <extension base="ens:sObject">
6687
+ <sequence>
6688
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
6689
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6690
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6691
+ <element name="Description" nillable="true" minOccurs="0" type="xsd:string"/>
6692
+ <element name="DisplayType" nillable="true" minOccurs="0" type="xsd:string"/>
6693
+ <element name="EncodingKey" nillable="true" minOccurs="0" type="xsd:string"/>
6694
+ <element name="HasMenubar" nillable="true" minOccurs="0" type="xsd:boolean"/>
6695
+ <element name="HasScrollbars" nillable="true" minOccurs="0" type="xsd:boolean"/>
6696
+ <element name="HasToolbar" nillable="true" minOccurs="0" type="xsd:boolean"/>
6697
+ <element name="Height" nillable="true" minOccurs="0" type="xsd:int"/>
6698
+ <element name="IsProtected" nillable="true" minOccurs="0" type="xsd:boolean"/>
6699
+ <element name="IsResizable" nillable="true" minOccurs="0" type="xsd:boolean"/>
6700
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
6701
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
6702
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6703
+ <element name="LinkType" nillable="true" minOccurs="0" type="xsd:string"/>
6704
+ <element name="MasterLabel" nillable="true" minOccurs="0" type="xsd:string"/>
6705
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
6706
+ <element name="NamespacePrefix" nillable="true" minOccurs="0" type="xsd:string"/>
6707
+ <element name="OpenType" nillable="true" minOccurs="0" type="xsd:string"/>
6708
+ <element name="PageOrSobjectType" nillable="true" minOccurs="0" type="xsd:string"/>
6709
+ <element name="Position" nillable="true" minOccurs="0" type="xsd:string"/>
6710
+ <element name="RequireRowSelection" nillable="true" minOccurs="0" type="xsd:boolean"/>
6711
+ <element name="ScontrolId" nillable="true" minOccurs="0" type="tns:ID"/>
6712
+ <element name="ShowsLocation" nillable="true" minOccurs="0" type="xsd:boolean"/>
6713
+ <element name="ShowsStatus" nillable="true" minOccurs="0" type="xsd:boolean"/>
6714
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6715
+ <element name="Url" nillable="true" minOccurs="0" type="xsd:string"/>
6716
+ <element name="Width" nillable="true" minOccurs="0" type="xsd:int"/>
6717
+ </sequence>
6718
+ </extension>
6719
+ </complexContent>
6720
+ </complexType>
6721
+
6722
+ <complexType name="discountData__c">
6723
+ <complexContent>
6724
+ <extension base="ens:sObject">
6725
+ <sequence>
6726
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6727
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6728
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
6729
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6730
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6731
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6732
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6733
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
6734
+ <element name="LastActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
6735
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
6736
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
6737
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6738
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
6739
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6740
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6741
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6742
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
6743
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
6744
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6745
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6746
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6747
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6748
+ <element name="decisionStatus__c" nillable="true" minOccurs="0" type="xsd:string"/>
6749
+ <element name="discountDetail__r" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6750
+ </sequence>
6751
+ </extension>
6752
+ </complexContent>
6753
+ </complexType>
6754
+
6755
+ <complexType name="discountDetails__c">
6756
+ <complexContent>
6757
+ <extension base="ens:sObject">
6758
+ <sequence>
6759
+ <element name="ActivityHistories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6760
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6761
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
6762
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6763
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6764
+ <element name="Events" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6765
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6766
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
6767
+ <element name="LastActivityDate" nillable="true" minOccurs="0" type="xsd:date"/>
6768
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
6769
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
6770
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6771
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
6772
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6773
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6774
+ <element name="OpenActivities" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6775
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6776
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6777
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6778
+ <element name="Tasks" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6779
+ <element name="User__c" nillable="true" minOccurs="0" type="tns:ID"/>
6780
+ <element name="User__r" nillable="true" minOccurs="0" type="ens:User"/>
6781
+ <element name="decisionStatus__c" nillable="true" minOccurs="0" type="xsd:string"/>
6782
+ <element name="discountData__c" nillable="true" minOccurs="0" type="tns:ID"/>
6783
+ <element name="discountData__r" nillable="true" minOccurs="0" type="ens:discountData__c"/>
6784
+ </sequence>
6785
+ </extension>
6786
+ </complexContent>
6787
+ </complexType>
6788
+
6789
+ <complexType name="leadScoring__LeadScoringRule__History">
6790
+ <complexContent>
6791
+ <extension base="ens:sObject">
6792
+ <sequence>
6793
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>
6794
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6795
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6796
+ <element name="Field" nillable="true" minOccurs="0" type="xsd:string"/>
6797
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
6798
+ <element name="NewValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
6799
+ <element name="OldValue" nillable="true" minOccurs="0" type="xsd:anyType"/>
6800
+ <element name="Parent" nillable="true" minOccurs="0" type="ens:leadScoring__LeadScoringRule__c"/>
6801
+ <element name="ParentId" nillable="true" minOccurs="0" type="tns:ID"/>
6802
+ </sequence>
6803
+ </extension>
6804
+ </complexContent>
6805
+ </complexType>
6806
+
6807
+ <complexType name="leadScoring__LeadScoringRule__c">
6808
+ <complexContent>
6809
+ <extension base="ens:sObject">
6810
+ <sequence>
6811
+ <element name="Attachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6812
+ <element name="CreatedBy" nillable="true" minOccurs="0" type="ens:User"/>
6813
+ <element name="CreatedById" nillable="true" minOccurs="0" type="tns:ID"/>
6814
+ <element name="CreatedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6815
+ <element name="FeedSubscriptionsForEntity" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6816
+ <element name="Histories" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6817
+ <element name="IsDeleted" nillable="true" minOccurs="0" type="xsd:boolean"/>
6818
+ <element name="LastModifiedBy" nillable="true" minOccurs="0" type="ens:User"/>
6819
+ <element name="LastModifiedById" nillable="true" minOccurs="0" type="tns:ID"/>
6820
+ <element name="LastModifiedDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6821
+ <element name="Name" nillable="true" minOccurs="0" type="xsd:string"/>
6822
+ <element name="Notes" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6823
+ <element name="NotesAndAttachments" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6824
+ <element name="Owner" nillable="true" minOccurs="0" type="ens:Name"/>
6825
+ <element name="OwnerId" nillable="true" minOccurs="0" type="tns:ID"/>
6826
+ <element name="ProcessInstances" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6827
+ <element name="ProcessSteps" nillable="true" minOccurs="0" type="tns:QueryResult"/>
6828
+ <element name="SystemModstamp" nillable="true" minOccurs="0" type="xsd:dateTime"/>
6829
+ <element name="leadScoring__Active__c" nillable="true" minOccurs="0" type="xsd:boolean"/>
6830
+ <element name="leadScoring__Campaign__c" nillable="true" minOccurs="0" type="tns:ID"/>
6831
+ <element name="leadScoring__Campaign__r" nillable="true" minOccurs="0" type="ens:Campaign"/>
6832
+ <element name="leadScoring__Field_Label__c" nillable="true" minOccurs="0" type="xsd:string"/>
6833
+ <element name="leadScoring__Field_Name__c" nillable="true" minOccurs="0" type="xsd:string"/>
6834
+ <element name="leadScoring__Operator__c" nillable="true" minOccurs="0" type="xsd:string"/>
6835
+ <element name="leadScoring__Score_Change__c" nillable="true" minOccurs="0" type="xsd:double"/>
6836
+ <element name="leadScoring__Type__c" nillable="true" minOccurs="0" type="xsd:string"/>
6837
+ <element name="leadScoring__Value__c" nillable="true" minOccurs="0" type="xsd:string"/>
6838
+ </sequence>
6839
+ </extension>
6840
+ </complexContent>
6841
+ </complexType>
6842
+
6843
+
6844
+ </schema>
6845
+
6846
+ <schema elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:enterprise.soap.sforce.com">
6847
+
6848
+ <import namespace="urn:sobject.enterprise.soap.sforce.com"/>
6849
+
6850
+ <!-- Our simple ID Type -->
6851
+ <simpleType name="ID">
6852
+ <restriction base="xsd:string">
6853
+ <length value="18"/>
6854
+ <pattern value='[a-zA-Z0-9]{18}'/>
6855
+ </restriction>
6856
+ </simpleType>
6857
+
6858
+ <simpleType name="QueryLocator">
6859
+ <restriction base="xsd:string"/>
6860
+ </simpleType>
6861
+
6862
+ <!-- Shared Result Types -->
6863
+ <complexType name="QueryResult">
6864
+ <sequence>
6865
+ <element name="done" type="xsd:boolean"/>
6866
+ <element name="queryLocator" type="tns:QueryLocator" nillable="true"/>
6867
+ <element name="records" type="ens:sObject" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
6868
+ <element name="size" type="xsd:int"/>
6869
+ </sequence>
6870
+ </complexType>
6871
+
6872
+
6873
+
6874
+ <!-- Search Result -->
6875
+ <complexType name="SearchResult">
6876
+ <sequence>
6877
+ <element name="searchRecords" minOccurs="0" maxOccurs="unbounded" type="tns:SearchRecord"/>
6878
+ <element name="sforceReserved" minOccurs="0" maxOccurs="1" type="xsd:string"/>
6879
+ </sequence>
6880
+ </complexType>
6881
+
6882
+ <complexType name="SearchRecord">
6883
+ <sequence>
6884
+ <element name="record" type="ens:sObject"/>
6885
+ </sequence>
6886
+ </complexType>
6887
+
6888
+ <!-- GetUpdated Result -->
6889
+ <complexType name="GetUpdatedResult">
6890
+ <sequence>
6891
+ <element name="ids" minOccurs="0" maxOccurs="unbounded" type="tns:ID"/>
6892
+ <element name="latestDateCovered" type="xsd:dateTime"/>
6893
+ <element name="sforceReserved" minOccurs="0" maxOccurs="1" type="xsd:string"/>
6894
+ </sequence>
6895
+ </complexType>
6896
+
6897
+ <!-- GetDeleted Result -->
6898
+ <complexType name="GetDeletedResult">
6899
+ <sequence>
6900
+ <element name="deletedRecords" minOccurs="0" maxOccurs="unbounded" type="tns:DeletedRecord"/>
6901
+ <element name="earliestDateAvailable" type="xsd:dateTime"/>
6902
+ <element name="latestDateCovered" type="xsd:dateTime"/>
6903
+ <element name="sforceReserved" minOccurs="0" maxOccurs="1" type="xsd:string"/>
6904
+ </sequence>
6905
+ </complexType>
6906
+
6907
+ <complexType name="DeletedRecord">
6908
+ <sequence>
6909
+ <element name="deletedDate" type="xsd:dateTime"/>
6910
+ <element name="id" type="tns:ID"/>
6911
+ </sequence>
6912
+ </complexType>
6913
+
6914
+
6915
+ <complexType name="GetServerTimestampResult">
6916
+ <sequence>
6917
+ <element name="timestamp" type="xsd:dateTime"/>
6918
+ </sequence>
6919
+ </complexType>
6920
+
6921
+
6922
+ <!-- InvalidateSessions Result -->
6923
+ <complexType name="InvalidateSessionsResult">
6924
+ <sequence>
6925
+ <element name="errors" type="tns:Error" minOccurs="0" maxOccurs="unbounded"/>
6926
+ <element name="success" type="xsd:boolean"/>
6927
+ </sequence>
6928
+ </complexType>
6929
+
6930
+ <complexType name="SetPasswordResult">
6931
+ </complexType>
6932
+
6933
+ <complexType name="ResetPasswordResult">
6934
+ <sequence>
6935
+ <element name="password" type="xsd:string"/>
6936
+ </sequence>
6937
+ </complexType>
6938
+
6939
+ <complexType name="GetUserInfoResult">
6940
+ <sequence>
6941
+ <element name="accessibilityMode" type="xsd:boolean"/>
6942
+ <element name="currencySymbol" type="xsd:string" nillable="true"/>
6943
+ <element name="orgAttachmentFileSizeLimit" type="xsd:int"/>
6944
+ <element name="orgDefaultCurrencyIsoCode" type="xsd:string" nillable="true"/>
6945
+ <element name="orgDisallowHtmlAttachments" type="xsd:boolean"/>
6946
+ <element name="orgHasPersonAccounts" type="xsd:boolean"/>
6947
+ <element name="organizationId" type="tns:ID"/>
6948
+ <element name="organizationMultiCurrency" type="xsd:boolean"/>
6949
+ <element name="organizationName" type="xsd:string"/>
6950
+ <element name="profileId" type="tns:ID"/>
6951
+ <element name="roleId" type="tns:ID" nillable="true"/>
6952
+ <element name="sessionSecondsValid" type="xsd:int"/>
6953
+ <element name="userDefaultCurrencyIsoCode" type="xsd:string" nillable="true"/>
6954
+ <element name="userEmail" type="xsd:string"/>
6955
+ <element name="userFullName" type="xsd:string"/>
6956
+ <element name="userId" type="tns:ID"/>
6957
+ <element name="userLanguage" type="xsd:string"/>
6958
+ <element name="userLocale" type="xsd:string"/>
6959
+ <element name="userName" type="xsd:string"/>
6960
+ <element name="userTimeZone" type="xsd:string"/>
6961
+ <element name="userType" type="xsd:string"/>
6962
+ <element name="userUiSkin" type="xsd:string"/>
6963
+ </sequence>
6964
+ </complexType>
6965
+
6966
+ <complexType name="LoginResult">
6967
+ <sequence>
6968
+ <element name="metadataServerUrl" type="xsd:string" nillable="true"/>
6969
+ <element name="passwordExpired" type="xsd:boolean" />
6970
+ <element name="sandbox" type="xsd:boolean"/>
6971
+ <element name="serverUrl" type="xsd:string" nillable="true"/>
6972
+ <element name="sessionId" type="xsd:string" nillable="true"/>
6973
+
6974
+ <element name="userId" type="tns:ID" nillable="true"/>
6975
+ <element name="userInfo" type="tns:GetUserInfoResult" minOccurs="0"/>
6976
+ </sequence>
6977
+ </complexType>
6978
+
6979
+ <simpleType name="StatusCode">
6980
+ <restriction base="xsd:string">
6981
+ <enumeration value="ALL_OR_NONE_OPERATION_ROLLED_BACK"/>
6982
+ <enumeration value="ALREADY_IN_PROCESS"/>
6983
+ <enumeration value="ASSIGNEE_TYPE_REQUIRED"/>
6984
+ <enumeration value="BAD_CUSTOM_ENTITY_PARENT_DOMAIN"/>
6985
+ <enumeration value="BCC_NOT_ALLOWED_IF_BCC_COMPLIANCE_ENABLED"/>
6986
+ <enumeration value="CANNOT_CASCADE_PRODUCT_ACTIVE"/>
6987
+ <enumeration value="CANNOT_CHANGE_FIELD_TYPE_OF_APEX_REFERENCED_FIELD"/>
6988
+ <enumeration value="CANNOT_CREATE_ANOTHER_MANAGED_PACKAGE"/>
6989
+ <enumeration value="CANNOT_DEACTIVATE_DIVISION"/>
6990
+ <enumeration value="CANNOT_DELETE_LAST_DATED_CONVERSION_RATE"/>
6991
+ <enumeration value="CANNOT_DELETE_MANAGED_OBJECT"/>
6992
+ <enumeration value="CANNOT_DISABLE_LAST_ADMIN"/>
6993
+ <enumeration value="CANNOT_ENABLE_IP_RESTRICT_REQUESTS"/>
6994
+ <enumeration value="CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY"/>
6995
+ <enumeration value="CANNOT_MODIFY_MANAGED_OBJECT"/>
6996
+ <enumeration value="CANNOT_RENAME_APEX_REFERENCED_FIELD"/>
6997
+ <enumeration value="CANNOT_RENAME_APEX_REFERENCED_OBJECT"/>
6998
+ <enumeration value="CANNOT_REPARENT_RECORD"/>
6999
+ <enumeration value="CANNOT_UPDATE_CONVERTED_LEAD"/>
7000
+ <enumeration value="CANT_DISABLE_CORP_CURRENCY"/>
7001
+ <enumeration value="CANT_UNSET_CORP_CURRENCY"/>
7002
+ <enumeration value="CHILD_SHARE_FAILS_PARENT"/>
7003
+ <enumeration value="CIRCULAR_DEPENDENCY"/>
7004
+ <enumeration value="COMMUNITY_NOT_ACCESSIBLE"/>
7005
+ <enumeration value="CUSTOM_CLOB_FIELD_LIMIT_EXCEEDED"/>
7006
+ <enumeration value="CUSTOM_ENTITY_OR_FIELD_LIMIT"/>
7007
+ <enumeration value="CUSTOM_FIELD_INDEX_LIMIT_EXCEEDED"/>
7008
+ <enumeration value="CUSTOM_INDEX_EXISTS"/>
7009
+ <enumeration value="CUSTOM_LINK_LIMIT_EXCEEDED"/>
7010
+ <enumeration value="CUSTOM_TAB_LIMIT_EXCEEDED"/>
7011
+ <enumeration value="DELETE_FAILED"/>
7012
+ <enumeration value="DELETE_REQUIRED_ON_CASCADE"/>
7013
+ <enumeration value="DEPENDENCY_EXISTS"/>
7014
+ <enumeration value="DUPLICATE_CASE_SOLUTION"/>
7015
+ <enumeration value="DUPLICATE_COMM_NICKNAME"/>
7016
+ <enumeration value="DUPLICATE_CUSTOM_ENTITY_DEFINITION"/>
7017
+ <enumeration value="DUPLICATE_CUSTOM_TAB_MOTIF"/>
7018
+ <enumeration value="DUPLICATE_DEVELOPER_NAME"/>
7019
+ <enumeration value="DUPLICATE_EXTERNAL_ID"/>
7020
+ <enumeration value="DUPLICATE_MASTER_LABEL"/>
7021
+ <enumeration value="DUPLICATE_SENDER_DISPLAY_NAME"/>
7022
+ <enumeration value="DUPLICATE_USERNAME"/>
7023
+ <enumeration value="DUPLICATE_VALUE"/>
7024
+ <enumeration value="EMAIL_NOT_PROCESSED_DUE_TO_PRIOR_ERROR"/>
7025
+ <enumeration value="EMPTY_SCONTROL_FILE_NAME"/>
7026
+ <enumeration value="ENTITY_FAILED_IFLASTMODIFIED_ON_UPDATE"/>
7027
+ <enumeration value="ENTITY_IS_ARCHIVED"/>
7028
+ <enumeration value="ENTITY_IS_DELETED"/>
7029
+ <enumeration value="ENTITY_IS_LOCKED"/>
7030
+ <enumeration value="ERROR_IN_MAILER"/>
7031
+ <enumeration value="FAILED_ACTIVATION"/>
7032
+ <enumeration value="FIELD_CUSTOM_VALIDATION_EXCEPTION"/>
7033
+ <enumeration value="FIELD_FILTER_VALIDATION_EXCEPTION"/>
7034
+ <enumeration value="FIELD_INTEGRITY_EXCEPTION"/>
7035
+ <enumeration value="FILTERED_LOOKUP_LIMIT_EXCEEDED"/>
7036
+ <enumeration value="HTML_FILE_UPLOAD_NOT_ALLOWED"/>
7037
+ <enumeration value="IMAGE_TOO_LARGE"/>
7038
+ <enumeration value="INACTIVE_OWNER_OR_USER"/>
7039
+ <enumeration value="INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY"/>
7040
+ <enumeration value="INSUFFICIENT_ACCESS_OR_READONLY"/>
7041
+ <enumeration value="INVALID_ACCESS_LEVEL"/>
7042
+ <enumeration value="INVALID_ARGUMENT_TYPE"/>
7043
+ <enumeration value="INVALID_ASSIGNEE_TYPE"/>
7044
+ <enumeration value="INVALID_ASSIGNMENT_RULE"/>
7045
+ <enumeration value="INVALID_BATCH_OPERATION"/>
7046
+ <enumeration value="INVALID_CONTENT_TYPE"/>
7047
+ <enumeration value="INVALID_CREDIT_CARD_INFO"/>
7048
+ <enumeration value="INVALID_CROSS_REFERENCE_KEY"/>
7049
+ <enumeration value="INVALID_CROSS_REFERENCE_TYPE_FOR_FIELD"/>
7050
+ <enumeration value="INVALID_CURRENCY_CONV_RATE"/>
7051
+ <enumeration value="INVALID_CURRENCY_CORP_RATE"/>
7052
+ <enumeration value="INVALID_CURRENCY_ISO"/>
7053
+ <enumeration value="INVALID_DATA_CATEGORY_GROUP_REFERENCE"/>
7054
+ <enumeration value="INVALID_DATA_URI"/>
7055
+ <enumeration value="INVALID_EMAIL_ADDRESS"/>
7056
+ <enumeration value="INVALID_EMPTY_KEY_OWNER"/>
7057
+ <enumeration value="INVALID_FIELD"/>
7058
+ <enumeration value="INVALID_FIELD_FOR_INSERT_UPDATE"/>
7059
+ <enumeration value="INVALID_FIELD_WHEN_USING_TEMPLATE"/>
7060
+ <enumeration value="INVALID_FILTER_ACTION"/>
7061
+ <enumeration value="INVALID_GOOGLE_DOCS_URL"/>
7062
+ <enumeration value="INVALID_ID_FIELD"/>
7063
+ <enumeration value="INVALID_INET_ADDRESS"/>
7064
+ <enumeration value="INVALID_LINEITEM_CLONE_STATE"/>
7065
+ <enumeration value="INVALID_MASTER_OR_TRANSLATED_SOLUTION"/>
7066
+ <enumeration value="INVALID_MESSAGE_ID_REFERENCE"/>
7067
+ <enumeration value="INVALID_OPERATION"/>
7068
+ <enumeration value="INVALID_OPERATOR"/>
7069
+ <enumeration value="INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST"/>
7070
+ <enumeration value="INVALID_PARTNER_NETWORK_STATUS"/>
7071
+ <enumeration value="INVALID_PERSON_ACCOUNT_OPERATION"/>
7072
+ <enumeration value="INVALID_READ_ONLY_USER_DML"/>
7073
+ <enumeration value="INVALID_SAVE_AS_ACTIVITY_FLAG"/>
7074
+ <enumeration value="INVALID_SESSION_ID"/>
7075
+ <enumeration value="INVALID_SETUP_OWNER"/>
7076
+ <enumeration value="INVALID_STATUS"/>
7077
+ <enumeration value="INVALID_TYPE"/>
7078
+ <enumeration value="INVALID_TYPE_FOR_OPERATION"/>
7079
+ <enumeration value="INVALID_TYPE_ON_FIELD_IN_RECORD"/>
7080
+ <enumeration value="IP_RANGE_LIMIT_EXCEEDED"/>
7081
+ <enumeration value="LICENSE_LIMIT_EXCEEDED"/>
7082
+ <enumeration value="LIGHT_PORTAL_USER_EXCEPTION"/>
7083
+ <enumeration value="LIMIT_EXCEEDED"/>
7084
+ <enumeration value="MALFORMED_ID"/>
7085
+ <enumeration value="MANAGER_NOT_DEFINED"/>
7086
+ <enumeration value="MASSMAIL_RETRY_LIMIT_EXCEEDED"/>
7087
+ <enumeration value="MASS_MAIL_LIMIT_EXCEEDED"/>
7088
+ <enumeration value="MAXIMUM_CCEMAILS_EXCEEDED"/>
7089
+ <enumeration value="MAXIMUM_DASHBOARD_COMPONENTS_EXCEEDED"/>
7090
+ <enumeration value="MAXIMUM_HIERARCHY_LEVELS_REACHED"/>
7091
+ <enumeration value="MAXIMUM_SIZE_OF_ATTACHMENT"/>
7092
+ <enumeration value="MAXIMUM_SIZE_OF_DOCUMENT"/>
7093
+ <enumeration value="MAX_ACTIONS_PER_RULE_EXCEEDED"/>
7094
+ <enumeration value="MAX_ACTIVE_RULES_EXCEEDED"/>
7095
+ <enumeration value="MAX_APPROVAL_STEPS_EXCEEDED"/>
7096
+ <enumeration value="MAX_FORMULAS_PER_RULE_EXCEEDED"/>
7097
+ <enumeration value="MAX_RULES_EXCEEDED"/>
7098
+ <enumeration value="MAX_RULE_ENTRIES_EXCEEDED"/>
7099
+ <enumeration value="MAX_TASK_DESCRIPTION_EXCEEEDED"/>
7100
+ <enumeration value="MAX_TM_RULES_EXCEEDED"/>
7101
+ <enumeration value="MAX_TM_RULE_ITEMS_EXCEEDED"/>
7102
+ <enumeration value="MERGE_FAILED"/>
7103
+ <enumeration value="MISSING_ARGUMENT"/>
7104
+ <enumeration value="MIXED_DML_OPERATION"/>
7105
+ <enumeration value="NONUNIQUE_SHIPPING_ADDRESS"/>
7106
+ <enumeration value="NO_APPLICABLE_PROCESS"/>
7107
+ <enumeration value="NO_ATTACHMENT_PERMISSION"/>
7108
+ <enumeration value="NO_INACTIVE_DIVISION_MEMBERS"/>
7109
+ <enumeration value="NO_MASS_MAIL_PERMISSION"/>
7110
+ <enumeration value="NUMBER_OUTSIDE_VALID_RANGE"/>
7111
+ <enumeration value="NUM_HISTORY_FIELDS_BY_SOBJECT_EXCEEDED"/>
7112
+ <enumeration value="OPTED_OUT_OF_MASS_MAIL"/>
7113
+ <enumeration value="OP_WITH_INVALID_USER_TYPE_EXCEPTION"/>
7114
+ <enumeration value="PACKAGE_LICENSE_REQUIRED"/>
7115
+ <enumeration value="PORTAL_NO_ACCESS"/>
7116
+ <enumeration value="PORTAL_USER_ALREADY_EXISTS_FOR_CONTACT"/>
7117
+ <enumeration value="PRIVATE_CONTACT_ON_ASSET"/>
7118
+ <enumeration value="RECORD_IN_USE_BY_WORKFLOW"/>
7119
+ <enumeration value="REQUEST_RUNNING_TOO_LONG"/>
7120
+ <enumeration value="REQUIRED_FEATURE_MISSING"/>
7121
+ <enumeration value="REQUIRED_FIELD_MISSING"/>
7122
+ <enumeration value="SELF_REFERENCE_FROM_TRIGGER"/>
7123
+ <enumeration value="SHARE_NEEDED_FOR_CHILD_OWNER"/>
7124
+ <enumeration value="SINGLE_EMAIL_LIMIT_EXCEEDED"/>
7125
+ <enumeration value="STANDARD_PRICE_NOT_DEFINED"/>
7126
+ <enumeration value="STORAGE_LIMIT_EXCEEDED"/>
7127
+ <enumeration value="STRING_TOO_LONG"/>
7128
+ <enumeration value="TABSET_LIMIT_EXCEEDED"/>
7129
+ <enumeration value="TEMPLATE_NOT_ACTIVE"/>
7130
+ <enumeration value="TERRITORY_REALIGN_IN_PROGRESS"/>
7131
+ <enumeration value="TEXT_DATA_OUTSIDE_SUPPORTED_CHARSET"/>
7132
+ <enumeration value="TOO_MANY_APEX_REQUESTS"/>
7133
+ <enumeration value="TOO_MANY_ENUM_VALUE"/>
7134
+ <enumeration value="TRANSFER_REQUIRES_READ"/>
7135
+ <enumeration value="UNABLE_TO_LOCK_ROW"/>
7136
+ <enumeration value="UNAVAILABLE_RECORDTYPE_EXCEPTION"/>
7137
+ <enumeration value="UNDELETE_FAILED"/>
7138
+ <enumeration value="UNKNOWN_EXCEPTION"/>
7139
+ <enumeration value="UNSPECIFIED_EMAIL_ADDRESS"/>
7140
+ <enumeration value="UNSUPPORTED_APEX_TRIGGER_OPERATON"/>
7141
+ <enumeration value="UNVERIFIED_SENDER_ADDRESS"/>
7142
+ <enumeration value="USER_OWNS_PORTAL_ACCOUNT_EXCEPTION"/>
7143
+ <enumeration value="USER_WITH_APEX_SHARES_EXCEPTION"/>
7144
+ <enumeration value="WEBLINK_SIZE_LIMIT_EXCEEDED"/>
7145
+ <enumeration value="WRONG_CONTROLLER_TYPE"/>
7146
+ </restriction>
7147
+ </simpleType>
7148
+
7149
+
7150
+ <complexType name="Error">
7151
+ <sequence>
7152
+ <element name="fields" type="xsd:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
7153
+ <element name="message" type="xsd:string"/>
7154
+ <element name="statusCode" type="tns:StatusCode"/>
7155
+ </sequence>
7156
+ </complexType>
7157
+
7158
+ <complexType name="SendEmailError">
7159
+ <sequence>
7160
+ <element name="fields" type="xsd:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
7161
+ <element name="message" type="xsd:string"/>
7162
+ <element name="statusCode" type="tns:StatusCode"/>
7163
+ <element name="targetObjectId" type="tns:ID" nillable="true"/>
7164
+ </sequence>
7165
+ </complexType>
7166
+
7167
+ <complexType name="SaveResult">
7168
+ <sequence>
7169
+ <element name="errors" type="tns:Error" minOccurs="0" maxOccurs="unbounded"/>
7170
+ <element name="id" type="tns:ID" nillable="true"/>
7171
+ <element name="success" type="xsd:boolean"/>
7172
+ </sequence>
7173
+ </complexType>
7174
+
7175
+ <complexType name="UpsertResult">
7176
+ <sequence>
7177
+ <element name="created" type="xsd:boolean"/>
7178
+ <element name="errors" type="tns:Error" minOccurs="0" maxOccurs="unbounded"/>
7179
+ <element name="id" type="tns:ID" nillable="true"/>
7180
+ <element name="success" type="xsd:boolean"/>
7181
+ </sequence>
7182
+ </complexType>
7183
+
7184
+ <complexType name="MergeRequest">
7185
+ <sequence>
7186
+ <element name="masterRecord" type="ens:sObject"/>
7187
+ <element name="recordToMergeIds" type="tns:ID" minOccurs="1" maxOccurs="unbounded"/>
7188
+ </sequence>
7189
+ </complexType>
7190
+
7191
+ <complexType name="MergeResult">
7192
+ <sequence>
7193
+ <element name="errors" type="tns:Error" minOccurs="0" maxOccurs="unbounded"/>
7194
+ <element name="id" type="tns:ID" nillable="true"/>
7195
+ <element name="mergedRecordIds" type="tns:ID" minOccurs="0" maxOccurs="unbounded"/>
7196
+ <element name="success" type="xsd:boolean"/>
7197
+ <element name="updatedRelatedIds" type="tns:ID" minOccurs="0" maxOccurs="unbounded"/>
7198
+ </sequence>
7199
+ </complexType>
7200
+
7201
+ <complexType name="ProcessRequest">
7202
+ <sequence>
7203
+ <element name="comments" type="xsd:string" nillable="true"/>
7204
+ <element name="nextApproverIds" type="tns:ID" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
7205
+ </sequence>
7206
+ </complexType>
7207
+
7208
+ <complexType name="ProcessSubmitRequest">
7209
+ <complexContent>
7210
+ <extension base="tns:ProcessRequest">
7211
+ <sequence>
7212
+ <element name="objectId" type="tns:ID"/>
7213
+ </sequence>
7214
+ </extension>
7215
+ </complexContent>
7216
+ </complexType>
7217
+
7218
+ <complexType name="ProcessWorkitemRequest">
7219
+ <complexContent>
7220
+ <extension base="tns:ProcessRequest">
7221
+ <sequence>
7222
+ <element name="action" type="xsd:string"/>
7223
+ <element name="workitemId" type="tns:ID"/>
7224
+ </sequence>
7225
+ </extension>
7226
+ </complexContent>
7227
+ </complexType>
7228
+
7229
+
7230
+
7231
+ <complexType name="ProcessResult">
7232
+ <sequence>
7233
+ <element name="actorIds" type="tns:ID" nillable="false" minOccurs="0" maxOccurs="unbounded"/>
7234
+ <element name="entityId" type="tns:ID" nillable="true"/>
7235
+ <element name="errors" type="tns:Error" minOccurs="0" maxOccurs="unbounded"/>
7236
+ <element name="instanceId" type="tns:ID" nillable="true"/>
7237
+ <element name="instanceStatus" type="xsd:string" nillable="true"/>
7238
+ <element name="newWorkitemIds" type="tns:ID" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
7239
+ <element name="success" type="xsd:boolean"/>
7240
+ </sequence>
7241
+ </complexType>
7242
+
7243
+
7244
+
7245
+
7246
+
7247
+ <complexType name="DeleteResult">
7248
+ <sequence>
7249
+ <element name="errors" type="tns:Error" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
7250
+ <element name="id" type="tns:ID" nillable="true"/>
7251
+ <element name="success" type="xsd:boolean"/>
7252
+ </sequence>
7253
+ </complexType>
7254
+
7255
+ <complexType name="UndeleteResult">
7256
+ <sequence>
7257
+ <element name="errors" type="tns:Error" minOccurs="0" maxOccurs="unbounded"/>
7258
+ <element name="id" type="tns:ID" nillable="true"/>
7259
+ <element name="success" type="xsd:boolean"/>
7260
+ </sequence>
7261
+ </complexType>
7262
+
7263
+ <complexType name="EmptyRecycleBinResult">
7264
+ <sequence>
7265
+ <element name="errors" type="tns:Error" minOccurs="0" maxOccurs="unbounded"/>
7266
+ <element name="id" type="tns:ID" nillable="true"/>
7267
+ <element name="success" type="xsd:boolean"/>
7268
+ </sequence>
7269
+ </complexType>
7270
+
7271
+ <complexType name="LeadConvert">
7272
+ <sequence>
7273
+ <element name="accountId" type="tns:ID" nillable="true"/>
7274
+ <element name="contactId" type="tns:ID" nillable="true"/>
7275
+ <element name="convertedStatus" type="xsd:string"/>
7276
+ <element name="doNotCreateOpportunity" type="xsd:boolean"/>
7277
+ <element name="leadId" type="tns:ID"/>
7278
+ <element name="opportunityName" type="xsd:string" nillable="true"/>
7279
+ <element name="overwriteLeadSource" type="xsd:boolean"/>
7280
+ <element name="ownerId" type="tns:ID" nillable="true"/>
7281
+ <element name="sendNotificationEmail" type="xsd:boolean"/>
7282
+ </sequence>
7283
+ </complexType>
7284
+
7285
+ <complexType name="LeadConvertResult">
7286
+ <sequence>
7287
+ <element name="accountId" type="tns:ID" nillable="true"/>
7288
+ <element name="contactId" type="tns:ID" nillable="true"/>
7289
+ <element name="errors" type="tns:Error" minOccurs="0" maxOccurs="unbounded"/>
7290
+ <element name="leadId" type="tns:ID" nillable="true"/>
7291
+ <element name="opportunityId" type="tns:ID" nillable="true"/>
7292
+ <element name="success" type="xsd:boolean"/>
7293
+ </sequence>
7294
+ </complexType>
7295
+
7296
+ <complexType name="DescribeSObjectResult">
7297
+ <sequence>
7298
+ <element name="activateable" type="xsd:boolean"/>
7299
+ <element name="childRelationships" type="tns:ChildRelationship" minOccurs="0" maxOccurs="unbounded"/>
7300
+ <element name="createable" type="xsd:boolean"/>
7301
+ <element name="custom" type="xsd:boolean"/>
7302
+ <element name="customSetting" type="xsd:boolean"/>
7303
+ <element name="deletable" type="xsd:boolean"/>
7304
+ <element name="deprecatedAndHidden" type="xsd:boolean"/>
7305
+ <element name="feedEnabled" type="xsd:boolean"/>
7306
+ <element name="fields" type="tns:Field" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
7307
+ <element name="keyPrefix" type="xsd:string" nillable="true"/>
7308
+ <element name="label" type="xsd:string"/>
7309
+ <element name="labelPlural" type="xsd:string"/>
7310
+ <element name="layoutable" type="xsd:boolean"/>
7311
+ <element name="mergeable" type="xsd:boolean"/>
7312
+ <element name="name" type="xsd:string"/>
7313
+ <element name="queryable" type="xsd:boolean"/>
7314
+ <element name="recordTypeInfos" type="tns:RecordTypeInfo" minOccurs="0" maxOccurs="unbounded"/>
7315
+ <element name="replicateable" type="xsd:boolean"/>
7316
+ <element name="retrieveable" type="xsd:boolean"/>
7317
+ <element name="searchable" type="xsd:boolean" />
7318
+ <element name="triggerable" type="xsd:boolean" minOccurs="0"/>
7319
+ <element name="undeletable" type="xsd:boolean"/>
7320
+ <element name="updateable" type="xsd:boolean"/>
7321
+ <element name="urlDetail" type="xsd:string" nillable="true"/>
7322
+ <element name="urlEdit" type="xsd:string" nillable="true"/>
7323
+ <element name="urlNew" type="xsd:string" nillable="true"/>
7324
+ </sequence>
7325
+ </complexType>
7326
+
7327
+ <!-- this is a subset of properties for each SObject that is returned by the describeGlobal call -->
7328
+ <complexType name="DescribeGlobalSObjectResult">
7329
+ <sequence>
7330
+ <element name="activateable" type="xsd:boolean"/>
7331
+ <element name="createable" type="xsd:boolean"/>
7332
+ <element name="custom" type="xsd:boolean"/>
7333
+ <element name="customSetting" type="xsd:boolean"/>
7334
+ <element name="deletable" type="xsd:boolean"/>
7335
+ <element name="deprecatedAndHidden" type="xsd:boolean"/>
7336
+ <element name="feedEnabled" type="xsd:boolean"/>
7337
+ <element name="keyPrefix" type="xsd:string" nillable="true"/>
7338
+ <element name="label" type="xsd:string"/>
7339
+ <element name="labelPlural" type="xsd:string"/>
7340
+ <element name="layoutable" type="xsd:boolean"/>
7341
+ <element name="mergeable" type="xsd:boolean"/>
7342
+ <element name="name" type="xsd:string"/>
7343
+ <element name="queryable" type="xsd:boolean"/>
7344
+ <element name="replicateable" type="xsd:boolean"/>
7345
+ <element name="retrieveable" type="xsd:boolean"/>
7346
+ <element name="searchable" type="xsd:boolean"/>
7347
+ <element name="triggerable" type="xsd:boolean"/>
7348
+ <element name="undeletable" type="xsd:boolean"/>
7349
+ <element name="updateable" type="xsd:boolean"/>
7350
+ </sequence>
7351
+ </complexType>
7352
+
7353
+ <complexType name="ChildRelationship">
7354
+ <sequence>
7355
+ <element name="cascadeDelete" type="xsd:boolean"/>
7356
+ <element name="childSObject" type="xsd:string"/>
7357
+ <element name="deprecatedAndHidden" type="xsd:boolean"/>
7358
+ <element name="field" type="xsd:string"/>
7359
+ <element name="relationshipName" type="xsd:string" minOccurs="0"/>
7360
+ </sequence>
7361
+ </complexType>
7362
+
7363
+ <complexType name="DescribeGlobalResult">
7364
+ <sequence>
7365
+ <element name="encoding" type="xsd:string" nillable="true"/>
7366
+ <element name="maxBatchSize" type="xsd:int"/>
7367
+ <element name="sobjects" type="tns:DescribeGlobalSObjectResult" minOccurs="0" maxOccurs="unbounded"/>
7368
+ </sequence>
7369
+ </complexType>
7370
+
7371
+ <simpleType name="fieldType">
7372
+ <restriction base="xsd:string">
7373
+ <enumeration value="string"/>
7374
+ <enumeration value="picklist"/>
7375
+ <enumeration value="multipicklist"/>
7376
+ <enumeration value="combobox"/>
7377
+ <enumeration value="reference"/>
7378
+ <enumeration value="base64"/>
7379
+ <enumeration value="boolean"/>
7380
+ <enumeration value="currency"/>
7381
+ <enumeration value="textarea"/>
7382
+ <enumeration value="int"/>
7383
+ <enumeration value="double"/>
7384
+ <enumeration value="percent"/>
7385
+ <enumeration value="phone"/>
7386
+ <enumeration value="id"/>
7387
+ <enumeration value="date"/>
7388
+ <enumeration value="datetime"/>
7389
+ <enumeration value="time"/>
7390
+ <enumeration value="url"/>
7391
+ <enumeration value="email"/>
7392
+ <enumeration value="encryptedstring"/>
7393
+ <enumeration value="datacategorygroupreference"/>
7394
+ <enumeration value="anyType"/> <!-- can be string, picklist, reference, boolean, currency, int, double, percent, id, date, datetime, url, email -->
7395
+ </restriction>
7396
+ </simpleType>
7397
+
7398
+ <simpleType name="soapType">
7399
+ <restriction base="xsd:string">
7400
+ <enumeration value="tns:ID"/>
7401
+ <enumeration value="xsd:base64Binary"/>
7402
+ <enumeration value="xsd:boolean"/>
7403
+ <enumeration value="xsd:double"/>
7404
+ <enumeration value="xsd:int"/>
7405
+ <enumeration value="xsd:string"/>
7406
+ <enumeration value="xsd:date"/>
7407
+ <enumeration value="xsd:dateTime"/>
7408
+ <enumeration value="xsd:time"/>
7409
+ <enumeration value="xsd:anyType"/> <!-- can be id, booolean, double, int, string, date, dateTime -->
7410
+ </restriction>
7411
+ </simpleType>
7412
+
7413
+ <complexType name="Field">
7414
+ <sequence>
7415
+ <element name="autoNumber" type="xsd:boolean"/>
7416
+ <element name="byteLength" type="xsd:int"/>
7417
+ <element name="calculated" type="xsd:boolean"/>
7418
+ <element name="calculatedFormula" type="xsd:string" minOccurs="0"/>
7419
+ <element name="caseSensitive" type="xsd:boolean"/>
7420
+ <element name="controllerName" type="xsd:string" minOccurs="0"/>
7421
+ <element name="createable" type="xsd:boolean"/>
7422
+ <element name="custom" type="xsd:boolean"/>
7423
+ <element name="defaultValueFormula" type="xsd:string" minOccurs="0"/>
7424
+ <element name="defaultedOnCreate" type="xsd:boolean"/>
7425
+ <element name="dependentPicklist" type="xsd:boolean" minOccurs="0"/>
7426
+ <element name="deprecatedAndHidden" type="xsd:boolean"/>
7427
+ <element name="digits" type="xsd:int"/>
7428
+ <element name="externalId" type="xsd:boolean" minOccurs="0"/>
7429
+ <element name="filterable" type="xsd:boolean"/>
7430
+ <element name="groupable" type="xsd:boolean"/>
7431
+ <element name="htmlFormatted" type="xsd:boolean" minOccurs="0"/>
7432
+ <element name="idLookup" type="xsd:boolean"/>
7433
+ <element name="inlineHelpText" type="xsd:string" minOccurs="0"/>
7434
+ <element name="label" type="xsd:string"/>
7435
+ <element name="length" type="xsd:int"/>
7436
+ <element name="name" type="xsd:string"/>
7437
+ <element name="nameField" type="xsd:boolean"/>
7438
+ <element name="namePointing" type="xsd:boolean" minOccurs="0"/>
7439
+ <element name="nillable" type="xsd:boolean"/>
7440
+ <element name="picklistValues" type="tns:PicklistEntry" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
7441
+ <element name="precision" type="xsd:int"/>
7442
+ <element name="referenceTo" type="xsd:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
7443
+ <element name="relationshipName" type="xsd:string" minOccurs="0"/>
7444
+ <element name="relationshipOrder" type="xsd:int" minOccurs="0"/>
7445
+ <element name="restrictedPicklist" type="xsd:boolean"/>
7446
+ <element name="scale" type="xsd:int"/>
7447
+ <element name="soapType" type="tns:soapType"/>
7448
+ <element name="sortable" type="xsd:boolean" minOccurs="0"/>
7449
+ <element name="type" type="tns:fieldType"/>
7450
+ <element name="unique" type="xsd:boolean"/>
7451
+ <element name="updateable" type="xsd:boolean"/>
7452
+ <element name="writeRequiresMasterRead" type="xsd:boolean" minOccurs="0"/>
7453
+ </sequence>
7454
+ </complexType>
7455
+
7456
+ <complexType name="PicklistEntry">
7457
+ <sequence>
7458
+ <element name="active" type="xsd:boolean"/>
7459
+ <element name="defaultValue" type="xsd:boolean"/>
7460
+ <element name="label" type="xsd:string" nillable="true"/>
7461
+ <element name="validFor" type="xsd:base64Binary" minOccurs="0"/>
7462
+ <element name="value" type="xsd:string"/>
7463
+ </sequence>
7464
+ </complexType>
7465
+
7466
+ <complexType name="DescribeDataCategoryGroupResult">
7467
+ <sequence>
7468
+ <element name="categoryCount" type="xsd:int"/>
7469
+ <element name="description" type="xsd:string"/>
7470
+ <element name="label" type="xsd:string"/>
7471
+ <element name="name" type="xsd:string"/>
7472
+ <element name="sobject" type="xsd:string"/>
7473
+ </sequence>
7474
+ </complexType>
7475
+
7476
+ <complexType name="DescribeDataCategoryGroupStructureResult">
7477
+ <sequence>
7478
+ <element name="description" type="xsd:string"/>
7479
+ <element name="label" type="xsd:string"/>
7480
+ <element name="name" type="xsd:string"/>
7481
+ <element name="sobject" type="xsd:string"/>
7482
+ <element name="topCategories" type="tns:DataCategory" minOccurs="0" maxOccurs="unbounded"/>
7483
+ </sequence>
7484
+ </complexType>
7485
+
7486
+ <complexType name="DataCategoryGroupSobjectTypePair">
7487
+ <sequence>
7488
+ <element name="dataCategoryGroupName" type="xsd:string"/>
7489
+ <element name="sobject" type="xsd:string"/>
7490
+ </sequence>
7491
+ </complexType>
7492
+
7493
+ <complexType name="DataCategory">
7494
+ <sequence>
7495
+ <element name="childCategories" type="tns:DataCategory" minOccurs="0" maxOccurs="unbounded"/>
7496
+ <element name="label" type="xsd:string"/>
7497
+ <element name="name" type="xsd:string"/>
7498
+ </sequence>
7499
+ </complexType>
7500
+
7501
+ <complexType name="DescribeSoftphoneLayoutResult">
7502
+ <sequence>
7503
+ <element name="callTypes" type="tns:DescribeSoftphoneLayoutCallType" maxOccurs="unbounded"/>
7504
+ <element name="id" type="tns:ID"/>
7505
+ <element name="name" type="xsd:string"/>
7506
+ </sequence>
7507
+ </complexType>
7508
+
7509
+ <complexType name="DescribeSoftphoneLayoutCallType">
7510
+ <sequence>
7511
+ <element name="infoFields" type="tns:DescribeSoftphoneLayoutInfoField" maxOccurs="unbounded"/>
7512
+ <element name="name" type="xsd:string"/>
7513
+ <element name="screenPopOptions" type="tns:DescribeSoftphoneScreenPopOption" minOccurs="0" maxOccurs="unbounded"/>
7514
+ <element name="screenPopsOpenWithin" type="xsd:string" minOccurs="0"/>
7515
+ <element name="sections" type="tns:DescribeSoftphoneLayoutSection" minOccurs="0" maxOccurs="unbounded"/>
7516
+ </sequence>
7517
+ </complexType>
7518
+
7519
+ <complexType name="DescribeSoftphoneScreenPopOption">
7520
+ <sequence>
7521
+ <element name="matchType" type="xsd:string"/>
7522
+ <element name="screenPopData" type="xsd:string"/>
7523
+ <element name="screenPopType" type="xsd:string"/>
7524
+ </sequence>
7525
+ </complexType>
7526
+
7527
+ <complexType name="DescribeSoftphoneLayoutInfoField">
7528
+ <sequence>
7529
+ <element name="name" type="xsd:string"/>
7530
+ </sequence>
7531
+ </complexType>
7532
+
7533
+ <complexType name="DescribeSoftphoneLayoutSection">
7534
+ <sequence>
7535
+ <element name="entityApiName" type="xsd:string"/>
7536
+ <element name="items" type="tns:DescribeSoftphoneLayoutItem" maxOccurs="unbounded"/>
7537
+ </sequence>
7538
+ </complexType>
7539
+
7540
+ <complexType name="DescribeSoftphoneLayoutItem">
7541
+ <sequence>
7542
+ <element name="itemApiName" type="xsd:string"/>
7543
+ </sequence>
7544
+ </complexType>
7545
+
7546
+ <complexType name="DescribeLayoutResult">
7547
+ <sequence>
7548
+ <element name="layouts" type="tns:DescribeLayout" maxOccurs="unbounded"/>
7549
+ <element name="recordTypeMappings" type="tns:RecordTypeMapping" minOccurs="0" maxOccurs="unbounded"/>
7550
+ <element name="recordTypeSelectorRequired" type="xsd:boolean" />
7551
+ </sequence>
7552
+ </complexType>
7553
+
7554
+ <complexType name="DescribeLayout">
7555
+ <sequence>
7556
+ <element name="buttonLayoutSection" type="tns:DescribeLayoutButtonSection" minOccurs="0"/>
7557
+ <element name="detailLayoutSections" type="tns:DescribeLayoutSection" minOccurs="0" maxOccurs="unbounded"/>
7558
+ <element name="editLayoutSections" type="tns:DescribeLayoutSection" minOccurs="0" maxOccurs="unbounded"/>
7559
+ <element name="id" type="tns:ID"/>
7560
+
7561
+
7562
+ <element name="relatedLists" type="tns:RelatedList" minOccurs="0" maxOccurs="unbounded"/>
7563
+ </sequence>
7564
+ </complexType>
7565
+
7566
+ <complexType name="DescribeLayoutSection">
7567
+ <sequence>
7568
+ <element name="columns" type="xsd:int"/>
7569
+ <element name="heading" type="xsd:string"/>
7570
+ <element name="layoutRows" type="tns:DescribeLayoutRow" maxOccurs="unbounded"/>
7571
+ <element name="rows" type="xsd:int"/>
7572
+ <element name="useCollapsibleSection" type="xsd:boolean"/>
7573
+ <element name="useHeading" type="xsd:boolean"/>
7574
+ </sequence>
7575
+ </complexType>
7576
+
7577
+ <complexType name="DescribeLayoutButtonSection">
7578
+ <sequence>
7579
+ <element name="detailButtons" type="tns:DescribeLayoutButton" maxOccurs="unbounded"/>
7580
+ </sequence>
7581
+ </complexType>
7582
+
7583
+ <complexType name="DescribeLayoutRow">
7584
+ <sequence>
7585
+ <element name="layoutItems" type="tns:DescribeLayoutItem" maxOccurs="unbounded"/>
7586
+ <element name="numItems" type="xsd:int"/>
7587
+ </sequence>
7588
+ </complexType>
7589
+
7590
+ <complexType name="DescribeLayoutItem">
7591
+ <sequence>
7592
+ <element name="editable" type="xsd:boolean"/>
7593
+ <element name="label" type="xsd:string" nillable="true"/>
7594
+ <element name="layoutComponents" type="tns:DescribeLayoutComponent" minOccurs="0" maxOccurs="unbounded"/>
7595
+ <element name="placeholder" type="xsd:boolean"/>
7596
+ <element name="required" type="xsd:boolean"/>
7597
+ </sequence>
7598
+ </complexType>
7599
+
7600
+ <complexType name="DescribeLayoutButton">
7601
+ <sequence>
7602
+ <element name="custom" type="xsd:boolean"/>
7603
+ <element name="label" type="xsd:string" nillable="true"/>
7604
+ <element name="name" type="xsd:string" nillable="true"/>
7605
+ </sequence>
7606
+ </complexType>
7607
+
7608
+ <complexType name="DescribeLayoutComponent">
7609
+ <sequence>
7610
+ <element name="displayLines" type="xsd:int"/>
7611
+ <element name="tabOrder" type="xsd:int"/>
7612
+ <element name="type" type="tns:layoutComponentType"/>
7613
+ <element name="value" type="xsd:string"/>
7614
+ </sequence>
7615
+ </complexType>
7616
+
7617
+ <simpleType name="layoutComponentType">
7618
+ <restriction base="xsd:string">
7619
+ <enumeration value="Field"/>
7620
+ <enumeration value="Separator"/>
7621
+ <enumeration value="SControl"/>
7622
+ <enumeration value="EmptySpace"/>
7623
+ </restriction>
7624
+ </simpleType>
7625
+
7626
+ <complexType name="RecordTypeInfo">
7627
+ <sequence>
7628
+ <element name="available" type="xsd:boolean"/>
7629
+ <element name="defaultRecordTypeMapping" type="xsd:boolean"/>
7630
+ <element name="name" type="xsd:string"/>
7631
+ <element name="recordTypeId" type="tns:ID" nillable="true"/>
7632
+ </sequence>
7633
+ </complexType>
7634
+
7635
+ <complexType name="RecordTypeMapping">
7636
+ <sequence>
7637
+ <element name="available" type="xsd:boolean"/>
7638
+ <element name="defaultRecordTypeMapping" type="xsd:boolean"/>
7639
+ <element name="layoutId" type="tns:ID"/>
7640
+ <element name="name" type="xsd:string"/>
7641
+ <element name="picklistsForRecordType" type="tns:PicklistForRecordType" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
7642
+ <element name="recordTypeId" type="tns:ID" nillable="true"/>
7643
+ </sequence>
7644
+ </complexType>
7645
+
7646
+ <complexType name="PicklistForRecordType">
7647
+ <sequence>
7648
+ <element name="picklistName" type="xsd:string"/>
7649
+ <element name="picklistValues" type="tns:PicklistEntry" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
7650
+ </sequence>
7651
+ </complexType>
7652
+
7653
+ <complexType name="RelatedList">
7654
+ <sequence>
7655
+ <element name="columns" type="tns:RelatedListColumn" maxOccurs="unbounded"/>
7656
+ <element name="custom" type="xsd:boolean"/>
7657
+ <element name="field" type="xsd:string" nillable="true"/>
7658
+ <element name="label" type="xsd:string"/>
7659
+ <element name="limitRows" type="xsd:int"/>
7660
+ <element name="name" type="xsd:string"/>
7661
+ <element name="sobject" type="xsd:string" nillable="true"/>
7662
+ <element name="sort" type="tns:RelatedListSort" minOccurs="0" maxOccurs="unbounded"/>
7663
+ </sequence>
7664
+ </complexType>
7665
+
7666
+ <complexType name="RelatedListColumn">
7667
+ <sequence>
7668
+ <element name="field" type="xsd:string" nillable="true"/>
7669
+ <element name="format" type="xsd:string" nillable="true"/>
7670
+ <element name="label" type="xsd:string"/>
7671
+ <element name="name" type="xsd:string"/>
7672
+ </sequence>
7673
+ </complexType>
7674
+
7675
+ <complexType name="RelatedListSort">
7676
+ <sequence>
7677
+ <element name="ascending" type="xsd:boolean"/>
7678
+ <element name="column" type="xsd:string"/>
7679
+ </sequence>
7680
+ </complexType>
7681
+
7682
+
7683
+
7684
+ <complexType name="EmailFileAttachment">
7685
+ <sequence>
7686
+ <element name="body" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
7687
+ <element name="contentType" nillable="true" minOccurs="0" type="xsd:string" />
7688
+ <element name="fileName" type="xsd:string" />
7689
+ <element name="inline" type="xsd:boolean" minOccurs="0"/>
7690
+ </sequence>
7691
+ </complexType>
7692
+ <simpleType name="EmailPriority">
7693
+ <restriction base="xsd:string">
7694
+ <enumeration value="Highest"/>
7695
+ <enumeration value="High"/>
7696
+ <enumeration value="Normal"/>
7697
+ <enumeration value="Low"/>
7698
+ <enumeration value="Lowest"/>
7699
+ </restriction>
7700
+ </simpleType>
7701
+
7702
+ <complexType name="Email">
7703
+ <sequence>
7704
+ <element name="bccSender" type="xsd:boolean" nillable="true"/>
7705
+ <element name="emailPriority" type="tns:EmailPriority" nillable="true"/>
7706
+ <element name="replyTo" type="xsd:string" nillable="true"/>
7707
+ <element name="saveAsActivity" type="xsd:boolean" nillable="true"/>
7708
+ <element name="senderDisplayName" type="xsd:string" nillable="true"/>
7709
+ <element name="subject" type="xsd:string" nillable="true"/>
7710
+ <element name="useSignature" type="xsd:boolean" nillable="true"/>
7711
+ </sequence>
7712
+ </complexType>
7713
+
7714
+ <complexType name="MassEmailMessage">
7715
+ <complexContent>
7716
+ <extension base="tns:Email">
7717
+ <sequence>
7718
+ <element name="description" type="xsd:string" nillable="true"/>
7719
+ <element name="targetObjectIds" minOccurs="0" maxOccurs="250" type="tns:ID" />
7720
+ <element name="templateId" type="tns:ID"/>
7721
+ <element name="whatIds" minOccurs="0" maxOccurs="250" type="tns:ID" />
7722
+ </sequence>
7723
+ </extension>
7724
+ </complexContent>
7725
+ </complexType>
7726
+
7727
+ <complexType name="SingleEmailMessage">
7728
+ <complexContent>
7729
+ <extension base="tns:Email">
7730
+ <sequence>
7731
+ <element name="bccAddresses" minOccurs="0" maxOccurs="25" type="xsd:string" nillable="true"/>
7732
+ <element name="ccAddresses" minOccurs="0" maxOccurs="25" type="xsd:string" nillable="true"/>
7733
+ <element name="charset" type="xsd:string" nillable="true"/>
7734
+ <element name="documentAttachments" minOccurs="0" maxOccurs="unbounded" type="tns:ID" />
7735
+ <element name="htmlBody" type="xsd:string" nillable="true"/>
7736
+ <element name="inReplyTo" minOccurs="0" type="xsd:string" nillable="true"/>
7737
+ <element name="fileAttachments" minOccurs="0" maxOccurs="unbounded" type="tns:EmailFileAttachment"/>
7738
+ <element name="orgWideEmailAddressId" minOccurs="0" maxOccurs="1" type="tns:ID" nillable="true"/>
7739
+ <element name="plainTextBody" type="xsd:string" nillable="true"/>
7740
+ <element name="references" minOccurs="0" type="xsd:string" nillable="true"/>
7741
+ <element name="targetObjectId" type="tns:ID" nillable="true"/>
7742
+ <element name="templateId" type="tns:ID" nillable="true"/>
7743
+ <element name="toAddresses" minOccurs="0" maxOccurs="100" type="xsd:string" nillable="true"/>
7744
+ <element name="whatId" type="tns:ID" nillable="true"/>
7745
+ </sequence>
7746
+ </extension>
7747
+ </complexContent>
7748
+ </complexType>
7749
+
7750
+ <complexType name="SendEmailResult">
7751
+ <sequence>
7752
+ <element name="errors" minOccurs="0" maxOccurs="unbounded" type="tns:SendEmailError" />
7753
+ <element name="success" type="xsd:boolean" />
7754
+ </sequence>
7755
+ </complexType>
7756
+
7757
+
7758
+
7759
+ <complexType name="DescribeTabSetResult">
7760
+ <sequence>
7761
+ <element name="label" type="xsd:string" />
7762
+ <element name="logoUrl" type="xsd:string" />
7763
+ <element name="namespace" type="xsd:string" minOccurs="0"/>
7764
+ <element name="selected" type="xsd:boolean" />
7765
+ <element name="tabs" type="tns:DescribeTab" minOccurs="0" maxOccurs="unbounded"/>
7766
+ </sequence>
7767
+ </complexType>
7768
+
7769
+ <complexType name="DescribeTab">
7770
+ <sequence>
7771
+ <element name="custom" type="xsd:boolean" />
7772
+ <element name="iconUrl" type="xsd:string" />
7773
+ <element name="label" type="xsd:string" />
7774
+ <element name="miniIconUrl" type="xsd:string" />
7775
+ <element name="sobjectName" type="xsd:string" nillable="true" />
7776
+ <element name="url" type="xsd:string" />
7777
+ </sequence>
7778
+ </complexType>
7779
+
7780
+
7781
+
7782
+
7783
+
7784
+ <!-- Login Message Types -->
7785
+ <element name="login">
7786
+ <complexType>
7787
+ <sequence>
7788
+ <element name="username" type="xsd:string"/>
7789
+ <element name="password" type="xsd:string"/>
7790
+ </sequence>
7791
+ </complexType>
7792
+ </element>
7793
+ <element name="loginResponse">
7794
+ <complexType>
7795
+ <sequence>
7796
+ <element name="result" type="tns:LoginResult"/>
7797
+ </sequence>
7798
+ </complexType>
7799
+ </element>
7800
+
7801
+ <!-- Describe Message Types -->
7802
+ <element name="describeSObject">
7803
+ <complexType>
7804
+ <sequence>
7805
+ <element name="sObjectType" type="xsd:string"/>
7806
+ </sequence>
7807
+ </complexType>
7808
+ </element>
7809
+ <element name="describeSObjectResponse">
7810
+ <complexType>
7811
+ <sequence>
7812
+ <element name="result" type="tns:DescribeSObjectResult" nillable="true"/>
7813
+ </sequence>
7814
+ </complexType>
7815
+ </element>
7816
+
7817
+ <!-- DescibeSObjects Message Types -->
7818
+ <element name="describeSObjects">
7819
+ <complexType>
7820
+ <sequence>
7821
+ <element name="sObjectType" type="xsd:string" minOccurs='0' maxOccurs='100' />
7822
+ </sequence>
7823
+ </complexType>
7824
+ </element>
7825
+ <element name="describeSObjectsResponse">
7826
+ <complexType>
7827
+ <sequence>
7828
+ <element name="result" type="tns:DescribeSObjectResult" nillable="true" minOccurs='0' maxOccurs='100'/>
7829
+ </sequence>
7830
+ </complexType>
7831
+ </element>
7832
+
7833
+ <!-- Describe Global Message Types -->
7834
+ <element name="describeGlobal">
7835
+ <complexType>
7836
+ <sequence/>
7837
+ </complexType>
7838
+ </element>
7839
+ <element name="describeGlobalResponse">
7840
+ <complexType>
7841
+ <sequence>
7842
+ <element name="result" type="tns:DescribeGlobalResult"/>
7843
+ </sequence>
7844
+ </complexType>
7845
+ </element>
7846
+
7847
+ <!-- Describe Data Category Groups Message Types -->
7848
+ <element name="describeDataCategoryGroups">
7849
+ <complexType>
7850
+ <sequence>
7851
+ <element name="sObjectType" type="xsd:string" minOccurs='0' maxOccurs='10' />
7852
+ </sequence>
7853
+ </complexType>
7854
+ </element>
7855
+ <element name="describeDataCategoryGroupsResponse">
7856
+ <complexType>
7857
+ <sequence>
7858
+ <element name="result" type="tns:DescribeDataCategoryGroupResult" minOccurs='0' maxOccurs='100'/>
7859
+ </sequence>
7860
+ </complexType>
7861
+ </element>
7862
+ <element name="describeDataCategoryGroupStructures">
7863
+ <complexType>
7864
+ <sequence>
7865
+ <element name="pairs" type="tns:DataCategoryGroupSobjectTypePair" minOccurs='0' maxOccurs='100' />
7866
+ <element name="topCategoriesOnly" type="xsd:boolean"/>
7867
+ </sequence>
7868
+ </complexType>
7869
+ </element>
7870
+ <element name="describeDataCategoryGroupStructuresResponse">
7871
+ <complexType>
7872
+ <sequence>
7873
+ <element name="result" type="tns:DescribeDataCategoryGroupStructureResult" minOccurs='0' maxOccurs='100'/>
7874
+ </sequence>
7875
+ </complexType>
7876
+ </element>
7877
+ <element name="describeLayout">
7878
+ <complexType>
7879
+ <sequence>
7880
+ <element name="sObjectType" type="xsd:string"/>
7881
+ <element name="recordTypeIds" type="tns:ID" minOccurs="0" maxOccurs="unbounded"/>
7882
+ </sequence>
7883
+ </complexType>
7884
+ </element>
7885
+ <element name="describeLayoutResponse">
7886
+ <complexType>
7887
+ <sequence>
7888
+ <element name="result" type="tns:DescribeLayoutResult" nillable="true"/>
7889
+ </sequence>
7890
+ </complexType>
7891
+ </element>
7892
+
7893
+ <element name="describeSoftphoneLayout">
7894
+ <complexType>
7895
+ <sequence/>
7896
+ </complexType>
7897
+ </element>
7898
+ <element name="describeSoftphoneLayoutResponse">
7899
+ <complexType>
7900
+ <sequence>
7901
+ <element name="result" type="tns:DescribeSoftphoneLayoutResult" nillable="true"/>
7902
+ </sequence>
7903
+ </complexType>
7904
+ </element>
7905
+
7906
+
7907
+ <element name="describeTabs">
7908
+ <complexType>
7909
+ <sequence/>
7910
+ </complexType>
7911
+ </element>
7912
+ <element name="describeTabsResponse">
7913
+ <complexType>
7914
+ <sequence>
7915
+ <element name="result" type="tns:DescribeTabSetResult" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
7916
+ </sequence>
7917
+ </complexType>
7918
+ </element>
7919
+
7920
+ <!-- Create Message Types -->
7921
+ <element name="create">
7922
+ <complexType>
7923
+ <sequence>
7924
+ <element name="sObjects" type="ens:sObject" minOccurs="0" maxOccurs="unbounded"/>
7925
+ </sequence>
7926
+ </complexType>
7927
+ </element>
7928
+ <element name="createResponse">
7929
+ <complexType>
7930
+ <sequence>
7931
+ <element name="result" type="tns:SaveResult" minOccurs="0" maxOccurs="unbounded"/>
7932
+ </sequence>
7933
+ </complexType>
7934
+ </element>
7935
+
7936
+
7937
+
7938
+ <!-- Send Email Types -->
7939
+ <element name="sendEmail">
7940
+ <complexType>
7941
+ <sequence>
7942
+ <element name="messages" type="tns:Email" minOccurs="0" maxOccurs="10"/>
7943
+ </sequence>
7944
+ </complexType>
7945
+ </element>
7946
+ <element name="sendEmailResponse">
7947
+ <complexType>
7948
+ <sequence>
7949
+ <element name="result" minOccurs="0" maxOccurs="10" type="tns:SendEmailResult"/>
7950
+ </sequence>
7951
+ </complexType>
7952
+ </element>
7953
+
7954
+
7955
+ <!-- Update Message Types -->
7956
+ <element name="update">
7957
+ <complexType>
7958
+ <sequence>
7959
+ <element name="sObjects" type="ens:sObject" minOccurs="0" maxOccurs="unbounded"/>
7960
+ </sequence>
7961
+ </complexType>
7962
+ </element>
7963
+ <element name="updateResponse">
7964
+ <complexType>
7965
+ <sequence>
7966
+ <element name="result" type="tns:SaveResult" minOccurs="0" maxOccurs="unbounded"/>
7967
+ </sequence>
7968
+ </complexType>
7969
+ </element>
7970
+
7971
+ <!-- Upsert Message Types -->
7972
+ <element name="upsert">
7973
+ <complexType>
7974
+ <sequence>
7975
+ <element name="externalIDFieldName" type="xsd:string"/>
7976
+ <element name="sObjects" type="ens:sObject" minOccurs="0" maxOccurs="unbounded"/>
7977
+ </sequence>
7978
+ </complexType>
7979
+ </element>
7980
+ <element name="upsertResponse">
7981
+ <complexType>
7982
+ <sequence>
7983
+ <element name="result" type="tns:UpsertResult" minOccurs="0" maxOccurs="unbounded"/>
7984
+ </sequence>
7985
+ </complexType>
7986
+ </element>
7987
+
7988
+ <!-- Merge Message Types -->
7989
+ <element name="merge">
7990
+ <complexType>
7991
+ <sequence>
7992
+ <element name="request" type="tns:MergeRequest" minOccurs="0" maxOccurs="unbounded"/>
7993
+ </sequence>
7994
+ </complexType>
7995
+ </element>
7996
+ <element name="mergeResponse">
7997
+ <complexType>
7998
+ <sequence>
7999
+ <element name="result" type="tns:MergeResult" minOccurs="0" maxOccurs="unbounded"/>
8000
+ </sequence>
8001
+ </complexType>
8002
+ </element>
8003
+
8004
+ <!-- Delete Message Types -->
8005
+ <element name="delete">
8006
+ <complexType>
8007
+ <sequence>
8008
+ <element name="ids" type="tns:ID" minOccurs="0" maxOccurs="unbounded"/>
8009
+ </sequence>
8010
+ </complexType>
8011
+ </element>
8012
+ <element name="deleteResponse">
8013
+ <complexType>
8014
+ <sequence>
8015
+ <element name="result" type="tns:DeleteResult" minOccurs="0" maxOccurs="unbounded"/>
8016
+ </sequence>
8017
+ </complexType>
8018
+ </element>
8019
+
8020
+ <!-- Undelete Message Types -->
8021
+ <element name="undelete">
8022
+ <complexType>
8023
+ <sequence>
8024
+ <element name="ids" type="tns:ID" minOccurs="1" maxOccurs="unbounded"/>
8025
+ </sequence>
8026
+ </complexType>
8027
+ </element>
8028
+ <element name="undeleteResponse">
8029
+ <complexType>
8030
+ <sequence>
8031
+ <element name="result" type="tns:UndeleteResult" minOccurs="1" maxOccurs="unbounded"/>
8032
+ </sequence>
8033
+ </complexType>
8034
+ </element>
8035
+
8036
+ <!-- EmptyRecycleBin Message Types -->
8037
+ <element name="emptyRecycleBin">
8038
+ <complexType>
8039
+ <sequence>
8040
+ <element name="ids" type="tns:ID" minOccurs="1" maxOccurs="unbounded"/>
8041
+ </sequence>
8042
+ </complexType>
8043
+ </element>
8044
+ <element name="emptyRecycleBinResponse">
8045
+ <complexType>
8046
+ <sequence>
8047
+ <element name="result" type="tns:EmptyRecycleBinResult" minOccurs="1" maxOccurs="unbounded"/>
8048
+ </sequence>
8049
+ </complexType>
8050
+ </element>
8051
+
8052
+ <!-- Process Message Types -->
8053
+ <element name="process">
8054
+ <complexType>
8055
+ <sequence>
8056
+ <element name="actions" type="tns:ProcessRequest" minOccurs="0" maxOccurs="unbounded"/>
8057
+ </sequence>
8058
+ </complexType>
8059
+ </element>
8060
+ <element name="processResponse">
8061
+ <complexType>
8062
+ <sequence>
8063
+ <element name="result" type="tns:ProcessResult" minOccurs="0" maxOccurs="unbounded"/>
8064
+ </sequence>
8065
+ </complexType>
8066
+ </element>
8067
+
8068
+
8069
+
8070
+ <!-- Retrieve (ID List) Message Types -->
8071
+ <element name="retrieve">
8072
+ <complexType>
8073
+ <sequence>
8074
+ <element name="fieldList" type="xsd:string"/>
8075
+ <element name="sObjectType" type="xsd:string"/>
8076
+ <element name="ids" type="tns:ID" minOccurs="0" maxOccurs="unbounded"/>
8077
+ </sequence>
8078
+ </complexType>
8079
+ </element>
8080
+ <element name="retrieveResponse">
8081
+ <complexType>
8082
+ <sequence>
8083
+ <element name="result" type="ens:sObject" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
8084
+ </sequence>
8085
+ </complexType>
8086
+ </element>
8087
+
8088
+ <!-- Convert Lead Message Types -->
8089
+ <element name="convertLead">
8090
+ <complexType>
8091
+ <sequence>
8092
+ <element name="leadConverts" type="tns:LeadConvert" minOccurs="0" maxOccurs="unbounded"/>
8093
+ </sequence>
8094
+ </complexType>
8095
+ </element>
8096
+ <element name="convertLeadResponse">
8097
+ <complexType>
8098
+ <sequence>
8099
+ <element name="result" type="tns:LeadConvertResult" minOccurs="0" maxOccurs="unbounded"/>
8100
+ </sequence>
8101
+ </complexType>
8102
+ </element>
8103
+
8104
+ <!-- Get Updated Message Types -->
8105
+ <element name="getUpdated">
8106
+ <complexType>
8107
+ <sequence>
8108
+ <element name="sObjectType" type="xsd:string"/>
8109
+ <element name="startDate" type="xsd:dateTime"/>
8110
+ <element name="endDate" type="xsd:dateTime"/>
8111
+ </sequence>
8112
+ </complexType>
8113
+ </element>
8114
+ <element name="getUpdatedResponse">
8115
+ <complexType>
8116
+ <sequence>
8117
+ <element name="result" type="tns:GetUpdatedResult"/>
8118
+ </sequence>
8119
+ </complexType>
8120
+ </element>
8121
+
8122
+ <!-- Get Deleted Message Types -->
8123
+ <element name="getDeleted">
8124
+ <complexType>
8125
+ <sequence>
8126
+ <element name="sObjectType" type="xsd:string"/>
8127
+ <element name="startDate" type="xsd:dateTime"/>
8128
+ <element name="endDate" type="xsd:dateTime"/>
8129
+ </sequence>
8130
+ </complexType>
8131
+ </element>
8132
+ <element name="getDeletedResponse">
8133
+ <complexType>
8134
+ <sequence>
8135
+ <element name="result" type="tns:GetDeletedResult"/>
8136
+ </sequence>
8137
+ </complexType>
8138
+ </element>
8139
+
8140
+
8141
+ <!-- Logout current session -->
8142
+ <element name="logout">
8143
+ <complexType>
8144
+ </complexType>
8145
+ </element>
8146
+
8147
+ <element name="logoutResponse">
8148
+ <complexType>
8149
+ </complexType>
8150
+ </element>
8151
+
8152
+ <!-- Invalidate a list of session ids -->
8153
+ <element name="invalidateSessions">
8154
+ <complexType>
8155
+ <sequence>
8156
+ <element name="sessionIds" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
8157
+ </sequence>
8158
+ </complexType>
8159
+ </element>
8160
+
8161
+ <element name="invalidateSessionsResponse">
8162
+ <complexType>
8163
+ <sequence>
8164
+ <element name="result" type="tns:InvalidateSessionsResult" minOccurs="0" maxOccurs="unbounded"/>
8165
+ </sequence>
8166
+ </complexType>
8167
+ </element>
8168
+
8169
+ <!-- Create Query -->
8170
+ <element name="query">
8171
+ <complexType>
8172
+ <sequence>
8173
+ <element name="queryString" type="xsd:string"/>
8174
+ </sequence>
8175
+ </complexType>
8176
+ </element>
8177
+ <element name="queryResponse">
8178
+ <complexType>
8179
+ <sequence>
8180
+ <element name="result" type="tns:QueryResult"/>
8181
+ </sequence>
8182
+ </complexType>
8183
+ </element>
8184
+
8185
+ <!-- Create Query All -->
8186
+ <element name="queryAll">
8187
+ <complexType>
8188
+ <sequence>
8189
+ <element name="queryString" type="xsd:string"/>
8190
+ </sequence>
8191
+ </complexType>
8192
+ </element>
8193
+ <element name="queryAllResponse">
8194
+ <complexType>
8195
+ <sequence>
8196
+ <element name="result" type="tns:QueryResult"/>
8197
+ </sequence>
8198
+ </complexType>
8199
+ </element>
8200
+
8201
+ <!-- Next Batch of sObjects from a query -->
8202
+ <element name="queryMore">
8203
+ <complexType>
8204
+ <sequence>
8205
+ <element name="queryLocator" type="tns:QueryLocator"/>
8206
+ </sequence>
8207
+ </complexType>
8208
+ </element>
8209
+ <element name="queryMoreResponse">
8210
+ <complexType>
8211
+ <sequence>
8212
+ <element name="result" type="tns:QueryResult"/>
8213
+ </sequence>
8214
+ </complexType>
8215
+ </element>
8216
+
8217
+
8218
+
8219
+ <!-- Create Search -->
8220
+ <element name="search">
8221
+ <complexType>
8222
+ <sequence>
8223
+ <element name="searchString" type="xsd:string"/>
8224
+ </sequence>
8225
+ </complexType>
8226
+ </element>
8227
+ <element name="searchResponse">
8228
+ <complexType>
8229
+ <sequence>
8230
+ <element name="result" type="tns:SearchResult"/>
8231
+ </sequence>
8232
+ </complexType>
8233
+ </element>
8234
+
8235
+
8236
+
8237
+ <element name="getServerTimestamp">
8238
+ <complexType>
8239
+ <sequence/>
8240
+ </complexType>
8241
+ </element>
8242
+ <element name="getServerTimestampResponse">
8243
+ <complexType>
8244
+ <sequence>
8245
+ <element name="result" type="tns:GetServerTimestampResult"/>
8246
+ </sequence>
8247
+ </complexType>
8248
+ </element>
8249
+
8250
+ <element name="setPassword">
8251
+ <complexType>
8252
+ <sequence>
8253
+ <element name="userId" type="tns:ID"/>
8254
+ <element name="password" type="xsd:string"/>
8255
+ </sequence>
8256
+ </complexType>
8257
+ </element>
8258
+ <element name="setPasswordResponse">
8259
+ <complexType>
8260
+ <sequence>
8261
+ <element name="result" type="tns:SetPasswordResult"/>
8262
+ </sequence>
8263
+ </complexType>
8264
+ </element>
8265
+
8266
+ <element name="resetPassword">
8267
+ <complexType>
8268
+ <sequence>
8269
+ <element name="userId" type="tns:ID"/>
8270
+ </sequence>
8271
+ </complexType>
8272
+ </element>
8273
+ <element name="resetPasswordResponse">
8274
+ <complexType>
8275
+ <sequence>
8276
+ <element name="result" type="tns:ResetPasswordResult"/>
8277
+ </sequence>
8278
+ </complexType>
8279
+ </element>
8280
+
8281
+ <element name="getUserInfo">
8282
+ <complexType>
8283
+ <sequence/>
8284
+ </complexType>
8285
+ </element>
8286
+ <element name="getUserInfoResponse">
8287
+ <complexType>
8288
+ <sequence>
8289
+ <element name="result" type="tns:GetUserInfoResult"/>
8290
+ </sequence>
8291
+ </complexType>
8292
+ </element>
8293
+
8294
+
8295
+
8296
+ <!-- Header Elements -->
8297
+ <element name="SessionHeader">
8298
+ <complexType>
8299
+ <sequence>
8300
+ <element name="sessionId" type="xsd:string"/>
8301
+ </sequence>
8302
+ </complexType>
8303
+ </element>
8304
+
8305
+ <element name="LoginScopeHeader">
8306
+ <complexType>
8307
+ <sequence>
8308
+ <element name="organizationId" type="tns:ID"/>
8309
+ <element name="portalId" type="tns:ID" minOccurs="0"/>
8310
+ </sequence>
8311
+ </complexType>
8312
+ </element>
8313
+
8314
+
8315
+
8316
+ <element name="QueryOptions">
8317
+ <complexType>
8318
+ <sequence>
8319
+ <element name="batchSize" type="xsd:int" minOccurs="0"/>
8320
+
8321
+ </sequence>
8322
+ </complexType>
8323
+ </element>
8324
+
8325
+
8326
+ <simpleType name="DebugLevel">
8327
+ <restriction base="xsd:string">
8328
+ <enumeration value="None"/>
8329
+ <enumeration value="DebugOnly"/>
8330
+ <enumeration value="Db"/>
8331
+ </restriction>
8332
+ </simpleType>
8333
+ <element name="DebuggingHeader">
8334
+ <complexType>
8335
+ <sequence>
8336
+ <element name="debugLevel" type="tns:DebugLevel"/>
8337
+ </sequence>
8338
+ </complexType>
8339
+ </element>
8340
+ <element name="DebuggingInfo">
8341
+ <complexType>
8342
+ <sequence>
8343
+ <element name="debugLog" type="xsd:string"/>
8344
+ </sequence>
8345
+ </complexType>
8346
+ </element>
8347
+
8348
+ <xsd:complexType name="PackageVersion">
8349
+ <xsd:sequence>
8350
+ <xsd:element name="majorNumber" type="xsd:int"/>
8351
+ <xsd:element name="minorNumber" type="xsd:int"/>
8352
+ <xsd:element name="namespace" type="xsd:string"/>
8353
+ </xsd:sequence>
8354
+ </xsd:complexType>
8355
+ <xsd:element name="PackageVersionHeader">
8356
+ <xsd:complexType>
8357
+ <xsd:sequence>
8358
+ <xsd:element name="packageVersions" minOccurs="0" maxOccurs="unbounded" type="tns:PackageVersion"/>
8359
+ </xsd:sequence>
8360
+ </xsd:complexType>
8361
+ </xsd:element>
8362
+
8363
+ <element name="AllowFieldTruncationHeader">
8364
+ <complexType>
8365
+ <sequence>
8366
+ <element name="allowFieldTruncation" type="xsd:boolean" />
8367
+ </sequence>
8368
+ </complexType>
8369
+ </element>
8370
+
8371
+
8372
+ <element name="DisableFeedTrackingHeader">
8373
+ <complexType>
8374
+ <sequence>
8375
+ <element name="disableFeedTracking" type="xsd:boolean" />
8376
+ </sequence>
8377
+ </complexType>
8378
+ </element>
8379
+
8380
+
8381
+
8382
+
8383
+
8384
+ <element name="AllOrNoneHeader">
8385
+ <complexType>
8386
+ <sequence>
8387
+ <element name="allOrNone" type="xsd:boolean" />
8388
+ </sequence>
8389
+ </complexType>
8390
+ </element>
8391
+
8392
+
8393
+ <!-- ideally this could of just been elem name="..." type="xsd:boolean"
8394
+ but is required to be nested within a complexType for .NET 1.1 compatibility -->
8395
+ <element name="MruHeader">
8396
+ <complexType>
8397
+ <sequence>
8398
+ <element name="updateMru" type="xsd:boolean" />
8399
+ </sequence>
8400
+ </complexType>
8401
+ </element>
8402
+
8403
+ <element name="EmailHeader">
8404
+ <complexType>
8405
+ <sequence>
8406
+ <element name="triggerAutoResponseEmail" type="xsd:boolean"/>
8407
+ <element name="triggerOtherEmail" type="xsd:boolean"/>
8408
+ <element name="triggerUserEmail" type="xsd:boolean"/>
8409
+ </sequence>
8410
+ </complexType>
8411
+ </element>
8412
+
8413
+ <element name="AssignmentRuleHeader">
8414
+ <complexType>
8415
+ <sequence>
8416
+ <element name="assignmentRuleId" type="tns:ID" nillable="true" />
8417
+ <element name="useDefaultRule" type="xsd:boolean" nillable="true" />
8418
+ </sequence>
8419
+ </complexType>
8420
+ </element>
8421
+
8422
+ <element name="UserTerritoryDeleteHeader">
8423
+ <complexType>
8424
+ <sequence>
8425
+ <element name="transferToUserId" type="tns:ID" nillable="true"/>
8426
+ </sequence>
8427
+ </complexType>
8428
+ </element>
8429
+
8430
+
8431
+
8432
+ <element name="LocaleOptions">
8433
+ <complexType>
8434
+ <sequence>
8435
+ <element name="language" type="xsd:string" minOccurs="0"/>
8436
+ </sequence>
8437
+ </complexType>
8438
+ </element>
8439
+ </schema>
8440
+
8441
+ <schema elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fault.enterprise.soap.sforce.com" xmlns:fns="urn:fault.enterprise.soap.sforce.com">
8442
+
8443
+ <simpleType name="ExceptionCode">
8444
+ <restriction base="xsd:string">
8445
+ <enumeration value="API_CURRENTLY_DISABLED"/>
8446
+ <enumeration value="API_DISABLED_FOR_ORG"/>
8447
+ <enumeration value="CANT_ADD_STANDADRD_PORTAL_USER_TO_TERRITORY"/>
8448
+ <enumeration value="CANT_ADD_STANDARD_PORTAL_USER_TO_TERRITORY"/>
8449
+ <enumeration value="CIRCULAR_OBJECT_GRAPH"/>
8450
+ <enumeration value="CLIENT_NOT_ACCESSIBLE_FOR_USER"/>
8451
+ <enumeration value="CLIENT_REQUIRE_UPDATE_FOR_USER"/>
8452
+ <enumeration value="CUSTOM_METADATA_LIMIT_EXCEEDED"/>
8453
+ <enumeration value="DATACLOUD_API_CLIENT_EXCEPTION"/>
8454
+ <enumeration value="DATACLOUD_API_SERVER_EXCEPTION"/>
8455
+ <enumeration value="DATACLOUD_API_UNAVAILABLE"/>
8456
+ <enumeration value="DUPLICATE_VALUE"/>
8457
+ <enumeration value="EMAIL_BATCH_SIZE_LIMIT_EXCEEDED"/>
8458
+ <enumeration value="EMAIL_TO_CASE_INVALID_ROUTING"/>
8459
+ <enumeration value="EMAIL_TO_CASE_LIMIT_EXCEEDED"/>
8460
+ <enumeration value="EMAIL_TO_CASE_NOT_ENABLED"/>
8461
+ <enumeration value="EXCEEDED_ID_LIMIT"/>
8462
+ <enumeration value="EXCEEDED_LEAD_CONVERT_LIMIT"/>
8463
+ <enumeration value="EXCEEDED_MAX_SIZE_REQUEST"/>
8464
+ <enumeration value="EXCEEDED_MAX_TYPES_LIMIT"/>
8465
+ <enumeration value="EXCEEDED_QUOTA"/>
8466
+ <enumeration value="FUNCTIONALITY_NOT_ENABLED"/>
8467
+ <enumeration value="FUNCTIONALITY_TEMPORARILY_UNAVAILABLE"/>
8468
+ <enumeration value="INACTIVE_OWNER_OR_USER"/>
8469
+ <enumeration value="INACTIVE_PORTAL"/>
8470
+ <enumeration value="INSUFFICIENT_ACCESS"/>
8471
+ <enumeration value="INVALID_ASSIGNMENT_RULE"/>
8472
+ <enumeration value="INVALID_BATCH_SIZE"/>
8473
+ <enumeration value="INVALID_CLIENT"/>
8474
+ <enumeration value="INVALID_CROSS_REFERENCE_KEY"/>
8475
+ <enumeration value="INVALID_FIELD"/>
8476
+ <enumeration value="INVALID_FILTER_LANGUAGE"/>
8477
+ <enumeration value="INVALID_FILTER_VALUE"/>
8478
+ <enumeration value="INVALID_ID_FIELD"/>
8479
+ <enumeration value="INVALID_LOCALE_LANGUAGE"/>
8480
+ <enumeration value="INVALID_LOCATOR"/>
8481
+ <enumeration value="INVALID_LOGIN"/>
8482
+ <enumeration value="INVALID_NEW_PASSWORD"/>
8483
+ <enumeration value="INVALID_OPERATION"/>
8484
+ <enumeration value="INVALID_OPERATION_WITH_EXPIRED_PASSWORD"/>
8485
+ <enumeration value="INVALID_QUERY_FILTER_OPERATOR"/>
8486
+ <enumeration value="INVALID_QUERY_LOCATOR"/>
8487
+ <enumeration value="INVALID_QUERY_SCOPE"/>
8488
+ <enumeration value="INVALID_REPLICATION_DATE"/>
8489
+ <enumeration value="INVALID_SEARCH"/>
8490
+ <enumeration value="INVALID_SEARCH_SCOPE"/>
8491
+ <enumeration value="INVALID_SESSION_ID"/>
8492
+ <enumeration value="INVALID_SOAP_HEADER"/>
8493
+ <enumeration value="INVALID_SSO_GATEWAY_URL"/>
8494
+ <enumeration value="INVALID_TYPE"/>
8495
+ <enumeration value="INVALID_TYPE_FOR_OPERATION"/>
8496
+ <enumeration value="JIGSAW_IMPORT_LIMIT_EXCEEDED"/>
8497
+ <enumeration value="JIGSAW_REQUEST_NOT_SUPPORTED"/>
8498
+ <enumeration value="JSON_PARSER_ERROR"/>
8499
+ <enumeration value="LIMIT_EXCEEDED"/>
8500
+ <enumeration value="LOGIN_CHALLENGE_ISSUED"/>
8501
+ <enumeration value="LOGIN_CHALLENGE_PENDING"/>
8502
+ <enumeration value="LOGIN_DURING_RESTRICTED_DOMAIN"/>
8503
+ <enumeration value="LOGIN_DURING_RESTRICTED_TIME"/>
8504
+ <enumeration value="LOGIN_MUST_USE_SECURITY_TOKEN"/>
8505
+ <enumeration value="MALFORMED_ID"/>
8506
+ <enumeration value="MALFORMED_QUERY"/>
8507
+ <enumeration value="MALFORMED_SEARCH"/>
8508
+ <enumeration value="MISSING_ARGUMENT"/>
8509
+ <enumeration value="NOT_MODIFIED"/>
8510
+ <enumeration value="NO_SOFTPHONE_LAYOUT"/>
8511
+ <enumeration value="NUMBER_OUTSIDE_VALID_RANGE"/>
8512
+ <enumeration value="OPERATION_TOO_LARGE"/>
8513
+ <enumeration value="ORG_IN_MAINTENANCE"/>
8514
+ <enumeration value="ORG_IS_DOT_ORG"/>
8515
+ <enumeration value="ORG_LOCKED"/>
8516
+ <enumeration value="ORG_NOT_OWNED_BY_INSTANCE"/>
8517
+ <enumeration value="PASSWORD_LOCKOUT"/>
8518
+ <enumeration value="PORTAL_NO_ACCESS"/>
8519
+ <enumeration value="QUERY_TIMEOUT"/>
8520
+ <enumeration value="QUERY_TOO_COMPLICATED"/>
8521
+ <enumeration value="REQUEST_LIMIT_EXCEEDED"/>
8522
+ <enumeration value="REQUEST_RUNNING_TOO_LONG"/>
8523
+ <enumeration value="SERVER_UNAVAILABLE"/>
8524
+ <enumeration value="SOCIALCRM_FEEDSERVICE_API_CLIENT_EXCEPTION"/>
8525
+ <enumeration value="SOCIALCRM_FEEDSERVICE_API_SERVER_EXCEPTION"/>
8526
+ <enumeration value="SOCIALCRM_FEEDSERVICE_API_UNAVAILABLE"/>
8527
+ <enumeration value="SSO_SERVICE_DOWN"/>
8528
+ <enumeration value="TOO_MANY_APEX_REQUESTS"/>
8529
+ <enumeration value="TRIAL_EXPIRED"/>
8530
+ <enumeration value="UNKNOWN_EXCEPTION"/>
8531
+ <enumeration value="UNSUPPORTED_API_VERSION"/>
8532
+ <enumeration value="UNSUPPORTED_CLIENT"/>
8533
+ <enumeration value="UNSUPPORTED_MEDIA_TYPE"/>
8534
+ <enumeration value="XML_PARSER_ERROR"/>
8535
+ </restriction>
8536
+ </simpleType>
8537
+ <!-- For convenience these QNames are returned in the standard soap faultcode element -->
8538
+ <simpleType name="FaultCode">
8539
+ <restriction base="xsd:QName">
8540
+ <enumeration value="fns:API_CURRENTLY_DISABLED"/>
8541
+ <enumeration value="fns:API_DISABLED_FOR_ORG"/>
8542
+ <enumeration value="fns:CANT_ADD_STANDADRD_PORTAL_USER_TO_TERRITORY"/>
8543
+ <enumeration value="fns:CANT_ADD_STANDARD_PORTAL_USER_TO_TERRITORY"/>
8544
+ <enumeration value="fns:CIRCULAR_OBJECT_GRAPH"/>
8545
+ <enumeration value="fns:CLIENT_NOT_ACCESSIBLE_FOR_USER"/>
8546
+ <enumeration value="fns:CLIENT_REQUIRE_UPDATE_FOR_USER"/>
8547
+ <enumeration value="fns:CUSTOM_METADATA_LIMIT_EXCEEDED"/>
8548
+ <enumeration value="fns:DATACLOUD_API_CLIENT_EXCEPTION"/>
8549
+ <enumeration value="fns:DATACLOUD_API_SERVER_EXCEPTION"/>
8550
+ <enumeration value="fns:DATACLOUD_API_UNAVAILABLE"/>
8551
+ <enumeration value="fns:DUPLICATE_VALUE"/>
8552
+ <enumeration value="fns:EMAIL_BATCH_SIZE_LIMIT_EXCEEDED"/>
8553
+ <enumeration value="fns:EMAIL_TO_CASE_INVALID_ROUTING"/>
8554
+ <enumeration value="fns:EMAIL_TO_CASE_LIMIT_EXCEEDED"/>
8555
+ <enumeration value="fns:EMAIL_TO_CASE_NOT_ENABLED"/>
8556
+ <enumeration value="fns:EXCEEDED_ID_LIMIT"/>
8557
+ <enumeration value="fns:EXCEEDED_LEAD_CONVERT_LIMIT"/>
8558
+ <enumeration value="fns:EXCEEDED_MAX_SIZE_REQUEST"/>
8559
+ <enumeration value="fns:EXCEEDED_MAX_TYPES_LIMIT"/>
8560
+ <enumeration value="fns:EXCEEDED_QUOTA"/>
8561
+ <enumeration value="fns:FUNCTIONALITY_NOT_ENABLED"/>
8562
+ <enumeration value="fns:FUNCTIONALITY_TEMPORARILY_UNAVAILABLE"/>
8563
+ <enumeration value="fns:INACTIVE_OWNER_OR_USER"/>
8564
+ <enumeration value="fns:INACTIVE_PORTAL"/>
8565
+ <enumeration value="fns:INSUFFICIENT_ACCESS"/>
8566
+ <enumeration value="fns:INVALID_ASSIGNMENT_RULE"/>
8567
+ <enumeration value="fns:INVALID_BATCH_SIZE"/>
8568
+ <enumeration value="fns:INVALID_CLIENT"/>
8569
+ <enumeration value="fns:INVALID_CROSS_REFERENCE_KEY"/>
8570
+ <enumeration value="fns:INVALID_FIELD"/>
8571
+ <enumeration value="fns:INVALID_FILTER_LANGUAGE"/>
8572
+ <enumeration value="fns:INVALID_FILTER_VALUE"/>
8573
+ <enumeration value="fns:INVALID_ID_FIELD"/>
8574
+ <enumeration value="fns:INVALID_LOCALE_LANGUAGE"/>
8575
+ <enumeration value="fns:INVALID_LOCATOR"/>
8576
+ <enumeration value="fns:INVALID_LOGIN"/>
8577
+ <enumeration value="fns:INVALID_NEW_PASSWORD"/>
8578
+ <enumeration value="fns:INVALID_OPERATION"/>
8579
+ <enumeration value="fns:INVALID_OPERATION_WITH_EXPIRED_PASSWORD"/>
8580
+ <enumeration value="fns:INVALID_QUERY_FILTER_OPERATOR"/>
8581
+ <enumeration value="fns:INVALID_QUERY_LOCATOR"/>
8582
+ <enumeration value="fns:INVALID_QUERY_SCOPE"/>
8583
+ <enumeration value="fns:INVALID_REPLICATION_DATE"/>
8584
+ <enumeration value="fns:INVALID_SEARCH"/>
8585
+ <enumeration value="fns:INVALID_SEARCH_SCOPE"/>
8586
+ <enumeration value="fns:INVALID_SESSION_ID"/>
8587
+ <enumeration value="fns:INVALID_SOAP_HEADER"/>
8588
+ <enumeration value="fns:INVALID_SSO_GATEWAY_URL"/>
8589
+ <enumeration value="fns:INVALID_TYPE"/>
8590
+ <enumeration value="fns:INVALID_TYPE_FOR_OPERATION"/>
8591
+ <enumeration value="fns:JIGSAW_IMPORT_LIMIT_EXCEEDED"/>
8592
+ <enumeration value="fns:JIGSAW_REQUEST_NOT_SUPPORTED"/>
8593
+ <enumeration value="fns:JSON_PARSER_ERROR"/>
8594
+ <enumeration value="fns:LIMIT_EXCEEDED"/>
8595
+ <enumeration value="fns:LOGIN_CHALLENGE_ISSUED"/>
8596
+ <enumeration value="fns:LOGIN_CHALLENGE_PENDING"/>
8597
+ <enumeration value="fns:LOGIN_DURING_RESTRICTED_DOMAIN"/>
8598
+ <enumeration value="fns:LOGIN_DURING_RESTRICTED_TIME"/>
8599
+ <enumeration value="fns:LOGIN_MUST_USE_SECURITY_TOKEN"/>
8600
+ <enumeration value="fns:MALFORMED_ID"/>
8601
+ <enumeration value="fns:MALFORMED_QUERY"/>
8602
+ <enumeration value="fns:MALFORMED_SEARCH"/>
8603
+ <enumeration value="fns:MISSING_ARGUMENT"/>
8604
+ <enumeration value="fns:NOT_MODIFIED"/>
8605
+ <enumeration value="fns:NO_SOFTPHONE_LAYOUT"/>
8606
+ <enumeration value="fns:NUMBER_OUTSIDE_VALID_RANGE"/>
8607
+ <enumeration value="fns:OPERATION_TOO_LARGE"/>
8608
+ <enumeration value="fns:ORG_IN_MAINTENANCE"/>
8609
+ <enumeration value="fns:ORG_IS_DOT_ORG"/>
8610
+ <enumeration value="fns:ORG_LOCKED"/>
8611
+ <enumeration value="fns:ORG_NOT_OWNED_BY_INSTANCE"/>
8612
+ <enumeration value="fns:PASSWORD_LOCKOUT"/>
8613
+ <enumeration value="fns:PORTAL_NO_ACCESS"/>
8614
+ <enumeration value="fns:QUERY_TIMEOUT"/>
8615
+ <enumeration value="fns:QUERY_TOO_COMPLICATED"/>
8616
+ <enumeration value="fns:REQUEST_LIMIT_EXCEEDED"/>
8617
+ <enumeration value="fns:REQUEST_RUNNING_TOO_LONG"/>
8618
+ <enumeration value="fns:SERVER_UNAVAILABLE"/>
8619
+ <enumeration value="fns:SOCIALCRM_FEEDSERVICE_API_CLIENT_EXCEPTION"/>
8620
+ <enumeration value="fns:SOCIALCRM_FEEDSERVICE_API_SERVER_EXCEPTION"/>
8621
+ <enumeration value="fns:SOCIALCRM_FEEDSERVICE_API_UNAVAILABLE"/>
8622
+ <enumeration value="fns:SSO_SERVICE_DOWN"/>
8623
+ <enumeration value="fns:TOO_MANY_APEX_REQUESTS"/>
8624
+ <enumeration value="fns:TRIAL_EXPIRED"/>
8625
+ <enumeration value="fns:UNKNOWN_EXCEPTION"/>
8626
+ <enumeration value="fns:UNSUPPORTED_API_VERSION"/>
8627
+ <enumeration value="fns:UNSUPPORTED_CLIENT"/>
8628
+ <enumeration value="fns:UNSUPPORTED_MEDIA_TYPE"/>
8629
+ <enumeration value="fns:XML_PARSER_ERROR"/>
8630
+ </restriction>
8631
+ </simpleType>
8632
+
8633
+
8634
+ <!-- Fault -->
8635
+ <complexType name="ApiFault">
8636
+ <sequence>
8637
+ <element name="exceptionCode" type="fns:ExceptionCode"/>
8638
+ <element name="exceptionMessage" type="xsd:string"/>
8639
+
8640
+ </sequence>
8641
+ </complexType>
8642
+
8643
+ <element name="fault" type="fns:ApiFault" />
8644
+
8645
+ <complexType name="ApiQueryFault">
8646
+ <complexContent>
8647
+ <extension base="fns:ApiFault">
8648
+ <sequence>
8649
+ <element name="row" type="xsd:int"/>
8650
+ <element name="column" type="xsd:int"/>
8651
+ </sequence>
8652
+ </extension>
8653
+ </complexContent>
8654
+ </complexType>
8655
+
8656
+ <complexType name="LoginFault">
8657
+ <complexContent>
8658
+ <extension base="fns:ApiFault"/>
8659
+ </complexContent>
8660
+ </complexType>
8661
+ <element name="LoginFault" type="fns:LoginFault"/>
8662
+
8663
+ <complexType name="InvalidQueryLocatorFault">
8664
+ <complexContent>
8665
+ <extension base="fns:ApiFault"/>
8666
+ </complexContent>
8667
+ </complexType>
8668
+ <element name="InvalidQueryLocatorFault" type="fns:InvalidQueryLocatorFault"/>
8669
+
8670
+ <complexType name="InvalidNewPasswordFault">
8671
+ <complexContent>
8672
+ <extension base="fns:ApiFault"/>
8673
+ </complexContent>
8674
+ </complexType>
8675
+ <element name="InvalidNewPasswordFault" type="fns:InvalidNewPasswordFault"/>
8676
+
8677
+ <complexType name="InvalidIdFault">
8678
+ <complexContent>
8679
+ <extension base="fns:ApiFault"/>
8680
+ </complexContent>
8681
+ </complexType>
8682
+ <element name="InvalidIdFault" type="fns:InvalidIdFault"/>
8683
+
8684
+ <complexType name="UnexpectedErrorFault">
8685
+ <complexContent>
8686
+ <extension base="fns:ApiFault"/>
8687
+ </complexContent>
8688
+ </complexType>
8689
+ <element name="UnexpectedErrorFault" type="fns:UnexpectedErrorFault"/>
8690
+
8691
+ <complexType name="InvalidFieldFault">
8692
+ <complexContent>
8693
+ <extension base="fns:ApiQueryFault"/>
8694
+ </complexContent>
8695
+ </complexType>
8696
+ <element name="InvalidFieldFault" type="fns:InvalidFieldFault"/>
8697
+
8698
+ <complexType name="InvalidSObjectFault">
8699
+ <complexContent>
8700
+ <extension base="fns:ApiQueryFault"/>
8701
+ </complexContent>
8702
+ </complexType>
8703
+ <element name="InvalidSObjectFault" type="fns:InvalidSObjectFault"/>
8704
+
8705
+ <complexType name="MalformedQueryFault">
8706
+ <complexContent>
8707
+ <extension base="fns:ApiQueryFault"/>
8708
+ </complexContent>
8709
+ </complexType>
8710
+ <element name="MalformedQueryFault" type="fns:MalformedQueryFault"/>
8711
+
8712
+ <complexType name="MalformedSearchFault">
8713
+ <complexContent>
8714
+ <extension base="fns:ApiQueryFault"/>
8715
+ </complexContent>
8716
+ </complexType>
8717
+ <element name="MalformedSearchFault" type="fns:MalformedSearchFault"/>
8718
+
8719
+
8720
+ </schema>
8721
+ </types>
8722
+
8723
+ <!-- Header Message -->
8724
+ <message name="Header">
8725
+ <part element="tns:LoginScopeHeader" name="LoginScopeHeader"/>
8726
+ <part element="tns:SessionHeader" name="SessionHeader"/>
8727
+
8728
+ <part element="tns:QueryOptions" name="QueryOptions"/>
8729
+ <part element="tns:AssignmentRuleHeader" name="AssignmentRuleHeader"/>
8730
+ <part element="tns:AllowFieldTruncationHeader" name="AllowFieldTruncationHeader"/>
8731
+
8732
+ <part element="tns:AllOrNoneHeader" name="AllOrNoneHeader"/>
8733
+
8734
+
8735
+ <part element="tns:DisableFeedTrackingHeader" name="DisableFeedTrackingHeader"/>
8736
+
8737
+
8738
+ <part element="tns:MruHeader" name="MruHeader"/>
8739
+ <part element="tns:EmailHeader" name="EmailHeader"/>
8740
+
8741
+ <part element="tns:UserTerritoryDeleteHeader" name="UserTerritoryDeleteHeader"/>
8742
+
8743
+ <part element="tns:DebuggingHeader" name="DebuggingHeader"/>
8744
+ <part element="tns:PackageVersionHeader" name="PackageVersionHeader"/>
8745
+ <part element="tns:DebuggingInfo" name="DebuggingInfo"/>
8746
+ <part element="tns:LocaleOptions" name="LocaleOptions"/>
8747
+ </message>
8748
+
8749
+ <!-- Fault Messages -->
8750
+
8751
+ <message name="ApiFault">
8752
+ <part name="fault" element="fns:fault"/>
8753
+ </message>
8754
+
8755
+ <message name="LoginFault">
8756
+ <part name="fault" element="fns:LoginFault"/>
8757
+ </message>
8758
+ <message name="InvalidQueryLocatorFault">
8759
+ <part name="fault" element="fns:InvalidQueryLocatorFault"/>
8760
+ </message>
8761
+ <message name="InvalidNewPasswordFault">
8762
+ <part name="fault" element="fns:InvalidNewPasswordFault"/>
8763
+ </message>
8764
+ <message name="InvalidIdFault">
8765
+ <part name="fault" element="fns:InvalidIdFault"/>
8766
+ </message>
8767
+ <message name="UnexpectedErrorFault">
8768
+ <part name="fault" element="fns:UnexpectedErrorFault"/>
8769
+ </message>
8770
+ <message name="InvalidFieldFault">
8771
+ <part name="fault" element="fns:InvalidFieldFault"/>
8772
+ </message>
8773
+ <message name="InvalidSObjectFault">
8774
+ <part name="fault" element="fns:InvalidSObjectFault"/>
8775
+ </message>
8776
+ <message name="MalformedQueryFault">
8777
+ <part name="fault" element="fns:MalformedQueryFault"/>
8778
+ </message>
8779
+ <message name="MalformedSearchFault">
8780
+ <part name="fault" element="fns:MalformedSearchFault"/>
8781
+ </message>
8782
+
8783
+
8784
+ <!-- Method Messages -->
8785
+ <message name="loginRequest">
8786
+ <part element="tns:login" name="parameters"/>
8787
+ </message>
8788
+ <message name="loginResponse">
8789
+ <part element="tns:loginResponse" name="parameters"/>
8790
+ </message>
8791
+
8792
+ <message name="describeSObjectRequest">
8793
+ <part element="tns:describeSObject" name="parameters"/>
8794
+ </message>
8795
+ <message name="describeSObjectResponse">
8796
+ <part element="tns:describeSObjectResponse" name="parameters"/>
8797
+ </message>
8798
+
8799
+ <message name="describeSObjectsRequest">
8800
+ <part element="tns:describeSObjects" name="parameters"/>
8801
+ </message>
8802
+ <message name="describeSObjectsResponse">
8803
+ <part element="tns:describeSObjectsResponse" name="parameters"/>
8804
+ </message>
8805
+
8806
+ <message name="describeGlobalRequest">
8807
+ <part element="tns:describeGlobal" name="parameters"/>
8808
+ </message>
8809
+ <message name="describeGlobalResponse">
8810
+ <part element="tns:describeGlobalResponse" name="parameters"/>
8811
+ </message>
8812
+
8813
+ <message name="describeDataCategoryGroupsRequest">
8814
+ <part element="tns:describeDataCategoryGroups" name="parameters"/>
8815
+ </message>
8816
+ <message name="describeDataCategoryGroupsResponse">
8817
+ <part element="tns:describeDataCategoryGroupsResponse" name="parameters"/>
8818
+ </message>
8819
+
8820
+ <message name="describeDataCategoryGroupStructuresRequest">
8821
+ <part element="tns:describeDataCategoryGroupStructures" name="parameters"/>
8822
+ </message>
8823
+ <message name="describeDataCategoryGroupStructuresResponse">
8824
+ <part element="tns:describeDataCategoryGroupStructuresResponse" name="parameters"/>
8825
+ </message>
8826
+
8827
+ <message name="describeLayoutRequest">
8828
+ <part element="tns:describeLayout" name="parameters"/>
8829
+ </message>
8830
+ <message name="describeLayoutResponse">
8831
+ <part element="tns:describeLayoutResponse" name="parameters"/>
8832
+ </message>
8833
+
8834
+ <message name="describeSoftphoneLayoutRequest">
8835
+ <part element="tns:describeSoftphoneLayout" name="parameters"/>
8836
+ </message>
8837
+ <message name="describeSoftphoneLayoutResponse">
8838
+ <part element="tns:describeSoftphoneLayoutResponse" name="parameters"/>
8839
+ </message>
8840
+
8841
+ <message name="describeTabsRequest">
8842
+ <part element="tns:describeTabs" name="parameters"/>
8843
+ </message>
8844
+ <message name="describeTabsResponse">
8845
+ <part element="tns:describeTabsResponse" name="parameters"/>
8846
+ </message>
8847
+
8848
+ <message name="createRequest">
8849
+ <part element="tns:create" name="parameters"/>
8850
+ </message>
8851
+ <message name="createResponse">
8852
+ <part element="tns:createResponse" name="parameters"/>
8853
+ </message>
8854
+
8855
+ <message name="updateRequest">
8856
+ <part element="tns:update" name="parameters"/>
8857
+ </message>
8858
+ <message name="updateResponse">
8859
+ <part element="tns:updateResponse" name="parameters"/>
8860
+ </message>
8861
+
8862
+ <message name="upsertRequest">
8863
+ <part element="tns:upsert" name="parameters"/>
8864
+ </message>
8865
+ <message name="upsertResponse">
8866
+ <part element="tns:upsertResponse" name="parameters"/>
8867
+ </message>
8868
+
8869
+ <message name="mergeRequest">
8870
+ <part element="tns:merge" name="parameters"/>
8871
+ </message>
8872
+ <message name="mergeResponse">
8873
+ <part element="tns:mergeResponse" name="parameters"/>
8874
+ </message>
8875
+
8876
+ <message name="deleteRequest">
8877
+ <part element="tns:delete" name="parameters"/>
8878
+ </message>
8879
+ <message name="deleteResponse">
8880
+ <part element="tns:deleteResponse" name="parameters"/>
8881
+ </message>
8882
+
8883
+ <message name="undeleteRequest">
8884
+ <part element="tns:undelete" name="parameters"/>
8885
+ </message>
8886
+ <message name="undeleteResponse">
8887
+ <part element="tns:undeleteResponse" name="parameters"/>
8888
+ </message>
8889
+
8890
+ <message name="emptyRecycleBinRequest">
8891
+ <part element="tns:emptyRecycleBin" name="parameters"/>
8892
+ </message>
8893
+ <message name="emptyRecycleBinResponse">
8894
+ <part element="tns:emptyRecycleBinResponse" name="parameters"/>
8895
+ </message>
8896
+
8897
+ <message name="retrieveRequest">
8898
+ <part element="tns:retrieve" name="parameters"/>
8899
+ </message>
8900
+ <message name="retrieveResponse">
8901
+ <part element="tns:retrieveResponse" name="parameters"/>
8902
+ </message>
8903
+
8904
+ <message name="processRequest">
8905
+ <part element="tns:process" name="parameters"/>
8906
+ </message>
8907
+ <message name="processResponse">
8908
+ <part element="tns:processResponse" name="parameters"/>
8909
+ </message>
8910
+
8911
+ <message name="convertLeadRequest">
8912
+ <part element="tns:convertLead" name="parameters"/>
8913
+ </message>
8914
+ <message name="convertLeadResponse">
8915
+ <part element="tns:convertLeadResponse" name="parameters"/>
8916
+ </message>
8917
+
8918
+ <message name="logoutRequest">
8919
+ <part element="tns:logout" name="parameters"/>
8920
+ </message>
8921
+ <message name="logoutResponse">
8922
+ <part element="tns:logoutResponse" name="parameters"/>
8923
+ </message>
8924
+
8925
+ <message name="invalidateSessionsRequest">
8926
+ <part element="tns:invalidateSessions" name="parameters"/>
8927
+ </message>
8928
+ <message name="invalidateSessionsResponse">
8929
+ <part element="tns:invalidateSessionsResponse" name="parameters"/>
8930
+ </message>
8931
+
8932
+ <message name="getDeletedRequest">
8933
+ <part element="tns:getDeleted" name="parameters"/>
8934
+ </message>
8935
+ <message name="getDeletedResponse">
8936
+ <part element="tns:getDeletedResponse" name="parameters"/>
8937
+ </message>
8938
+
8939
+ <message name="getUpdatedRequest">
8940
+ <part element="tns:getUpdated" name="parameters"/>
8941
+ </message>
8942
+ <message name="getUpdatedResponse">
8943
+ <part element="tns:getUpdatedResponse" name="parameters"/>
8944
+ </message>
8945
+
8946
+ <message name="queryRequest">
8947
+ <part element="tns:query" name="parameters"/>
8948
+ </message>
8949
+ <message name="queryResponse">
8950
+ <part element="tns:queryResponse" name="parameters"/>
8951
+ </message>
8952
+
8953
+ <message name="queryAllRequest">
8954
+ <part element="tns:queryAll" name="parameters"/>
8955
+ </message>
8956
+ <message name="queryAllResponse">
8957
+ <part element="tns:queryAllResponse" name="parameters"/>
8958
+ </message>
8959
+
8960
+ <message name="queryMoreRequest">
8961
+ <part element="tns:queryMore" name="parameters"/>
8962
+ </message>
8963
+ <message name="queryMoreResponse">
8964
+ <part element="tns:queryMoreResponse" name="parameters"/>
8965
+ </message>
8966
+
8967
+ <message name="searchRequest">
8968
+ <part element="tns:search" name="parameters"/>
8969
+ </message>
8970
+ <message name="searchResponse">
8971
+ <part element="tns:searchResponse" name="parameters"/>
8972
+ </message>
8973
+
8974
+ <message name="getServerTimestampRequest">
8975
+ <part element="tns:getServerTimestamp" name="parameters"/>
8976
+ </message>
8977
+ <message name="getServerTimestampResponse">
8978
+ <part element="tns:getServerTimestampResponse" name="parameters"/>
8979
+ </message>
8980
+
8981
+ <message name="setPasswordRequest">
8982
+ <part element="tns:setPassword" name="parameters"/>
8983
+ </message>
8984
+ <message name="setPasswordResponse">
8985
+ <part element="tns:setPasswordResponse" name="parameters"/>
8986
+ </message>
8987
+
8988
+ <message name="resetPasswordRequest">
8989
+ <part element="tns:resetPassword" name="parameters"/>
8990
+ </message>
8991
+ <message name="resetPasswordResponse">
8992
+ <part element="tns:resetPasswordResponse" name="parameters"/>
8993
+ </message>
8994
+
8995
+ <message name="getUserInfoRequest">
8996
+ <part element="tns:getUserInfo" name="parameters"/>
8997
+ </message>
8998
+ <message name="getUserInfoResponse">
8999
+ <part element="tns:getUserInfoResponse" name="parameters"/>
9000
+ </message>
9001
+
9002
+ <message name="sendEmailRequest">
9003
+ <part element="tns:sendEmail" name="parameters"/>
9004
+ </message>
9005
+ <message name="sendEmailResponse">
9006
+ <part element="tns:sendEmailResponse" name="parameters"/>
9007
+ </message>
9008
+
9009
+
9010
+
9011
+ <!-- Soap PortType -->
9012
+ <portType name="Soap">
9013
+ <operation name="login">
9014
+ <documentation>Login to the Salesforce.com SOAP Api</documentation>
9015
+ <input message="tns:loginRequest"/>
9016
+ <output message="tns:loginResponse"/>
9017
+ <fault message="tns:LoginFault" name="LoginFault"/>
9018
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9019
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
9020
+ </operation>
9021
+
9022
+ <operation name="describeSObject">
9023
+ <documentation>Describe an sObject</documentation>
9024
+ <input message="tns:describeSObjectRequest"/>
9025
+ <output message="tns:describeSObjectResponse"/>
9026
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
9027
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9028
+ </operation>
9029
+
9030
+ <operation name="describeSObjects">
9031
+ <documentation>Describe a number sObjects</documentation>
9032
+ <input message="tns:describeSObjectsRequest"/>
9033
+ <output message="tns:describeSObjectsResponse"/>
9034
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
9035
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9036
+ </operation>
9037
+
9038
+ <operation name="describeGlobal">
9039
+ <documentation>Describe the Global state</documentation>
9040
+ <input message="tns:describeGlobalRequest"/>
9041
+ <output message="tns:describeGlobalResponse"/>
9042
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9043
+ </operation>
9044
+
9045
+ <operation name="describeDataCategoryGroups">
9046
+ <documentation>Describe all the data category groups available for a given set of types</documentation>
9047
+ <input message="tns:describeDataCategoryGroupsRequest"/>
9048
+ <output message="tns:describeDataCategoryGroupsResponse"/>
9049
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
9050
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9051
+ </operation>
9052
+
9053
+ <operation name="describeDataCategoryGroupStructures">
9054
+ <documentation>Describe the data category group structures for a given set of pair of types and data category group name</documentation>
9055
+ <input message="tns:describeDataCategoryGroupStructuresRequest"/>
9056
+ <output message="tns:describeDataCategoryGroupStructuresResponse"/>
9057
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
9058
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9059
+ </operation>
9060
+
9061
+ <operation name="describeLayout">
9062
+ <documentation>Describe the layout of an sObject</documentation>
9063
+ <input message="tns:describeLayoutRequest"/>
9064
+ <output message="tns:describeLayoutResponse"/>
9065
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
9066
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9067
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
9068
+ </operation>
9069
+
9070
+ <operation name="describeSoftphoneLayout">
9071
+ <documentation>Describe the layout of the SoftPhone</documentation>
9072
+ <input message="tns:describeSoftphoneLayoutRequest"/>
9073
+ <output message="tns:describeSoftphoneLayoutResponse"/>
9074
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9075
+ </operation>
9076
+
9077
+ <operation name="describeTabs">
9078
+ <documentation>Describe the tabs that appear on a users page</documentation>
9079
+ <input message="tns:describeTabsRequest"/>
9080
+ <output message="tns:describeTabsResponse"/>
9081
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9082
+ </operation>
9083
+
9084
+ <operation name="create">
9085
+ <documentation>Create a set of new sObjects</documentation>
9086
+ <input message="tns:createRequest"/>
9087
+ <output message="tns:createResponse"/>
9088
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
9089
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9090
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
9091
+ <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/>
9092
+ </operation>
9093
+
9094
+ <operation name="update">
9095
+ <documentation>Update a set of sObjects</documentation>
9096
+ <input message="tns:updateRequest"/>
9097
+ <output message="tns:updateResponse"/>
9098
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
9099
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9100
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
9101
+ <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/>
9102
+ </operation>
9103
+
9104
+ <operation name="upsert">
9105
+ <documentation>Update or insert a set of sObjects based on object id</documentation>
9106
+ <input message="tns:upsertRequest"/>
9107
+ <output message="tns:upsertResponse"/>
9108
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
9109
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9110
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
9111
+ <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/>
9112
+ </operation>
9113
+
9114
+ <operation name="merge">
9115
+ <documentation>Merge and update a set of sObjects based on object id</documentation>
9116
+ <input message="tns:mergeRequest"/>
9117
+ <output message="tns:mergeResponse"/>
9118
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
9119
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9120
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
9121
+ <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/>
9122
+ </operation>
9123
+
9124
+ <operation name="delete">
9125
+ <documentation>Delete a set of sObjects</documentation>
9126
+ <input message="tns:deleteRequest"/>
9127
+ <output message="tns:deleteResponse"/>
9128
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9129
+ </operation>
9130
+
9131
+ <operation name="undelete">
9132
+ <documentation>Undelete a set of sObjects</documentation>
9133
+ <input message="tns:undeleteRequest"/>
9134
+ <output message="tns:undeleteResponse"/>
9135
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9136
+ </operation>
9137
+
9138
+ <operation name="emptyRecycleBin">
9139
+ <documentation>Empty a set of sObjects from the recycle bin</documentation>
9140
+ <input message="tns:emptyRecycleBinRequest"/>
9141
+ <output message="tns:emptyRecycleBinResponse"/>
9142
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9143
+ </operation>
9144
+
9145
+ <operation name="retrieve">
9146
+ <documentation>Get a set of sObjects</documentation>
9147
+ <input message="tns:retrieveRequest"/>
9148
+ <output message="tns:retrieveResponse"/>
9149
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
9150
+ <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/>
9151
+ <fault message="tns:MalformedQueryFault" name="MalformedQueryFault"/>
9152
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9153
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
9154
+ </operation>
9155
+
9156
+ <operation name="process">
9157
+ <documentation>Submit an entity to a workflow process or process a workitem</documentation>
9158
+ <input message="tns:processRequest"/>
9159
+ <output message="tns:processResponse"/>
9160
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9161
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
9162
+ </operation>
9163
+
9164
+ <operation name="convertLead">
9165
+ <documentation>convert a set of leads</documentation>
9166
+ <input message="tns:convertLeadRequest"/>
9167
+ <output message="tns:convertLeadResponse"/>
9168
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9169
+ </operation>
9170
+
9171
+ <operation name="logout">
9172
+ <documentation>Logout the current user, invalidating the current session.</documentation>
9173
+ <input message="tns:logoutRequest"/>
9174
+ <output message="tns:logoutResponse"/>
9175
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9176
+ </operation>
9177
+
9178
+ <operation name="invalidateSessions">
9179
+ <documentation>Logs out and invalidates session ids</documentation>
9180
+ <input message="tns:invalidateSessionsRequest"/>
9181
+ <output message="tns:invalidateSessionsResponse"/>
9182
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9183
+ </operation>
9184
+
9185
+ <operation name="getDeleted">
9186
+ <documentation>Get the IDs for deleted sObjects</documentation>
9187
+ <input message="tns:getDeletedRequest"/>
9188
+ <output message="tns:getDeletedResponse"/>
9189
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
9190
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9191
+ </operation>
9192
+
9193
+ <operation name="getUpdated">
9194
+ <documentation>Get the IDs for updated sObjects</documentation>
9195
+ <input message="tns:getUpdatedRequest"/>
9196
+ <output message="tns:getUpdatedResponse"/>
9197
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
9198
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9199
+ </operation>
9200
+
9201
+ <operation name="query">
9202
+ <documentation>Create a Query Cursor</documentation>
9203
+ <input message="tns:queryRequest"/>
9204
+ <output message="tns:queryResponse"/>
9205
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
9206
+ <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/>
9207
+ <fault message="tns:MalformedQueryFault" name="MalformedQueryFault"/>
9208
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
9209
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9210
+ <fault message="tns:InvalidQueryLocatorFault" name="InvalidQueryLocatorFault"/>
9211
+ </operation>
9212
+
9213
+ <operation name="queryAll">
9214
+ <documentation>Create a Query Cursor, including deleted sObjects</documentation>
9215
+ <input message="tns:queryAllRequest"/>
9216
+ <output message="tns:queryAllResponse"/>
9217
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
9218
+ <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/>
9219
+ <fault message="tns:MalformedQueryFault" name="MalformedQueryFault"/>
9220
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
9221
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9222
+ <fault message="tns:InvalidQueryLocatorFault" name="InvalidQueryLocatorFault"/>
9223
+ </operation>
9224
+
9225
+ <operation name="queryMore">
9226
+ <documentation>Gets the next batch of sObjects from a query</documentation>
9227
+ <input message="tns:queryMoreRequest"/>
9228
+ <output message="tns:queryMoreResponse"/>
9229
+ <fault message="tns:InvalidQueryLocatorFault" name="InvalidQueryLocatorFault"/>
9230
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9231
+ <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/>
9232
+ </operation>
9233
+
9234
+ <operation name="search">
9235
+ <documentation>Search for sObjects</documentation>
9236
+ <input message="tns:searchRequest"/>
9237
+ <output message="tns:searchResponse"/>
9238
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
9239
+ <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/>
9240
+ <fault message="tns:MalformedSearchFault" name="MalformedSearchFault"/>
9241
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9242
+ </operation>
9243
+
9244
+ <operation name="getServerTimestamp">
9245
+ <documentation>Gets server timestamp</documentation>
9246
+ <input message="tns:getServerTimestampRequest"/>
9247
+ <output message="tns:getServerTimestampResponse"/>
9248
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9249
+ </operation>
9250
+
9251
+ <operation name="setPassword">
9252
+ <documentation>Set a user's password</documentation>
9253
+ <input message="tns:setPasswordRequest"/>
9254
+ <output message="tns:setPasswordResponse"/>
9255
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
9256
+ <fault message="tns:InvalidNewPasswordFault" name="InvalidNewPasswordFault"/>
9257
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9258
+ </operation>
9259
+
9260
+ <operation name="resetPassword">
9261
+ <documentation>Reset a user's password</documentation>
9262
+ <input message="tns:resetPasswordRequest"/>
9263
+ <output message="tns:resetPasswordResponse"/>
9264
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
9265
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9266
+ </operation>
9267
+
9268
+ <operation name="getUserInfo">
9269
+ <documentation>Returns standard information relevant to the current user</documentation>
9270
+ <input message="tns:getUserInfoRequest"/>
9271
+ <output message="tns:getUserInfoResponse"/>
9272
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9273
+ </operation>
9274
+
9275
+ <operation name="sendEmail">
9276
+ <documentation>Send outbound email</documentation>
9277
+ <input message="tns:sendEmailRequest"/>
9278
+ <output message="tns:sendEmailResponse"/>
9279
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
9280
+ </operation>
9281
+
9282
+ </portType>
9283
+
9284
+ <!-- Soap Binding -->
9285
+ <binding name="SoapBinding" type="tns:Soap">
9286
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
9287
+ <operation name="login">
9288
+ <soap:operation soapAction=""/>
9289
+ <input>
9290
+ <soap:header use="literal" message="tns:Header" part="LoginScopeHeader"/>
9291
+ <soap:body parts="parameters" use="literal"/>
9292
+ </input>
9293
+ <output>
9294
+ <soap:body use="literal"/>
9295
+ </output>
9296
+ <fault name="LoginFault">
9297
+ <soap:fault name="LoginFault" use="literal"/>
9298
+ </fault>
9299
+ <fault name="UnexpectedErrorFault">
9300
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9301
+ </fault>
9302
+ <fault name="InvalidIdFault">
9303
+ <soap:fault name="InvalidIdFault" use="literal"/>
9304
+ </fault>
9305
+ </operation>
9306
+ <operation name="describeSObject">
9307
+ <soap:operation soapAction=""/>
9308
+ <input>
9309
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9310
+ <soap:header use="literal" message="tns:Header" part="PackageVersionHeader"/>
9311
+ <soap:header use="literal" message="tns:Header" part="LocaleOptions"/>
9312
+ <soap:body parts="parameters" use="literal"/>
9313
+ </input>
9314
+ <output>
9315
+ <soap:body use="literal"/>
9316
+ </output>
9317
+ <fault name="InvalidSObjectFault">
9318
+ <soap:fault name="InvalidSObjectFault" use="literal"/>
9319
+ </fault>
9320
+ <fault name="UnexpectedErrorFault">
9321
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9322
+ </fault>
9323
+ </operation>
9324
+ <operation name="describeSObjects">
9325
+ <soap:operation soapAction=""/>
9326
+ <input>
9327
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9328
+ <soap:header use="literal" message="tns:Header" part="PackageVersionHeader"/>
9329
+ <soap:header use="literal" message="tns:Header" part="LocaleOptions"/>
9330
+ <soap:body parts="parameters" use="literal"/>
9331
+ </input>
9332
+ <output>
9333
+ <soap:body use="literal"/>
9334
+ </output>
9335
+ <fault name="InvalidSObjectFault">
9336
+ <soap:fault name="InvalidSObjectFault" use="literal"/>
9337
+ </fault>
9338
+ <fault name="UnexpectedErrorFault">
9339
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9340
+ </fault>
9341
+ </operation>
9342
+ <operation name="describeGlobal">
9343
+ <soap:operation soapAction=""/>
9344
+ <input>
9345
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9346
+ <soap:header use="literal" message="tns:Header" part="PackageVersionHeader"/>
9347
+ <soap:body parts="parameters" use="literal"/>
9348
+ </input>
9349
+ <output>
9350
+ <soap:body use="literal"/>
9351
+ </output>
9352
+ <fault name="UnexpectedErrorFault">
9353
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9354
+ </fault>
9355
+ </operation>
9356
+ <operation name="describeDataCategoryGroups">
9357
+ <soap:operation soapAction=""/>
9358
+ <input>
9359
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9360
+ <soap:header use="literal" message="tns:Header" part="PackageVersionHeader"/>
9361
+ <soap:body parts="parameters" use="literal"/>
9362
+ </input>
9363
+ <output>
9364
+ <soap:body use="literal"/>
9365
+ </output>
9366
+ <fault name="InvalidSObjectFault">
9367
+ <soap:fault name="InvalidSObjectFault" use="literal"/>
9368
+ </fault>
9369
+ <fault name="UnexpectedErrorFault">
9370
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9371
+ </fault>
9372
+ </operation>
9373
+ <operation name="describeDataCategoryGroupStructures">
9374
+ <soap:operation soapAction=""/>
9375
+ <input>
9376
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9377
+ <soap:header use="literal" message="tns:Header" part="PackageVersionHeader"/>
9378
+ <soap:body parts="parameters" use="literal"/>
9379
+ </input>
9380
+ <output>
9381
+ <soap:body use="literal"/>
9382
+ </output>
9383
+ <fault name="InvalidSObjectFault">
9384
+ <soap:fault name="InvalidSObjectFault" use="literal"/>
9385
+ </fault>
9386
+ <fault name="UnexpectedErrorFault">
9387
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9388
+ </fault>
9389
+ </operation>
9390
+ <operation name="describeLayout">
9391
+ <soap:operation soapAction=""/>
9392
+ <input>
9393
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9394
+ <soap:header use="literal" message="tns:Header" part="PackageVersionHeader"/>
9395
+ <soap:body parts="parameters" use="literal"/>
9396
+ </input>
9397
+ <output>
9398
+ <soap:body use="literal"/>
9399
+ </output>
9400
+ <fault name="InvalidSObjectFault">
9401
+ <soap:fault name="InvalidSObjectFault" use="literal"/>
9402
+ </fault>
9403
+ <fault name="UnexpectedErrorFault">
9404
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9405
+ </fault>
9406
+ <fault name="InvalidIdFault">
9407
+ <soap:fault name="InvalidIdFault" use="literal"/>
9408
+ </fault>
9409
+ </operation>
9410
+ <operation name="describeSoftphoneLayout">
9411
+ <soap:operation soapAction=""/>
9412
+ <input>
9413
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9414
+ <soap:header use="literal" message="tns:Header" part="PackageVersionHeader"/>
9415
+ <soap:body parts="parameters" use="literal"/>
9416
+ </input>
9417
+ <output>
9418
+ <soap:body use="literal"/>
9419
+ </output>
9420
+ <fault name="UnexpectedErrorFault">
9421
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9422
+ </fault>
9423
+ </operation>
9424
+ <operation name="describeTabs">
9425
+ <soap:operation soapAction=""/>
9426
+ <input>
9427
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9428
+ <soap:header use="literal" message="tns:Header" part="PackageVersionHeader"/>
9429
+ <soap:body parts="parameters" use="literal"/>
9430
+ </input>
9431
+ <output>
9432
+ <soap:body use="literal"/>
9433
+ </output>
9434
+ <fault name="UnexpectedErrorFault">
9435
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9436
+ </fault>
9437
+ </operation>
9438
+ <operation name="create">
9439
+ <soap:operation soapAction=""/>
9440
+ <input>
9441
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9442
+ <soap:header use="literal" message="tns:Header" part="AssignmentRuleHeader"/>
9443
+ <soap:header use="literal" message="tns:Header" part="MruHeader"/>
9444
+ <soap:header use="literal" message="tns:Header" part="AllowFieldTruncationHeader"/>
9445
+ <soap:header use="literal" message="tns:Header" part="DisableFeedTrackingHeader"/>
9446
+ <soap:header use="literal" message="tns:Header" part="AllOrNoneHeader"/>
9447
+ <soap:header use="literal" message="tns:Header" part="DebuggingHeader"/>
9448
+ <soap:header use="literal" message="tns:Header" part="PackageVersionHeader"/>
9449
+ <soap:header use="literal" message="tns:Header" part="EmailHeader"/>
9450
+ <soap:body parts="parameters" use="literal"/>
9451
+ </input>
9452
+ <output>
9453
+ <soap:header use="literal" message="tns:Header" part="DebuggingInfo"/>
9454
+ <soap:body use="literal"/>
9455
+ </output>
9456
+ <fault name="InvalidSObjectFault">
9457
+ <soap:fault name="InvalidSObjectFault" use="literal"/>
9458
+ </fault>
9459
+ <fault name="UnexpectedErrorFault">
9460
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9461
+ </fault>
9462
+ <fault name="InvalidIdFault">
9463
+ <soap:fault name="InvalidIdFault" use="literal"/>
9464
+ </fault>
9465
+ <fault name="InvalidFieldFault">
9466
+ <soap:fault name="InvalidFieldFault" use="literal"/>
9467
+ </fault>
9468
+ </operation>
9469
+ <operation name="update">
9470
+ <soap:operation soapAction=""/>
9471
+ <input>
9472
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9473
+ <soap:header use="literal" message="tns:Header" part="AssignmentRuleHeader"/>
9474
+ <soap:header use="literal" message="tns:Header" part="MruHeader"/>
9475
+ <soap:header use="literal" message="tns:Header" part="AllowFieldTruncationHeader"/>
9476
+ <soap:header use="literal" message="tns:Header" part="DisableFeedTrackingHeader"/>
9477
+ <soap:header use="literal" message="tns:Header" part="AllOrNoneHeader"/>
9478
+ <soap:header use="literal" message="tns:Header" part="DebuggingHeader"/>
9479
+ <soap:header use="literal" message="tns:Header" part="PackageVersionHeader"/>
9480
+ <soap:header use="literal" message="tns:Header" part="EmailHeader"/>
9481
+ <soap:body parts="parameters" use="literal"/>
9482
+ </input>
9483
+ <output>
9484
+ <soap:header use="literal" message="tns:Header" part="DebuggingInfo"/>
9485
+ <soap:body use="literal"/>
9486
+ </output>
9487
+ <fault name="InvalidSObjectFault">
9488
+ <soap:fault name="InvalidSObjectFault" use="literal"/>
9489
+ </fault>
9490
+ <fault name="UnexpectedErrorFault">
9491
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9492
+ </fault>
9493
+ <fault name="InvalidIdFault">
9494
+ <soap:fault name="InvalidIdFault" use="literal"/>
9495
+ </fault>
9496
+ <fault name="InvalidFieldFault">
9497
+ <soap:fault name="InvalidFieldFault" use="literal"/>
9498
+ </fault>
9499
+ </operation>
9500
+ <operation name="upsert">
9501
+ <soap:operation soapAction=""/>
9502
+ <input>
9503
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9504
+ <soap:header use="literal" message="tns:Header" part="AssignmentRuleHeader"/>
9505
+ <soap:header use="literal" message="tns:Header" part="MruHeader"/>
9506
+ <soap:header use="literal" message="tns:Header" part="AllowFieldTruncationHeader"/>
9507
+ <soap:header use="literal" message="tns:Header" part="DisableFeedTrackingHeader"/>
9508
+ <soap:header use="literal" message="tns:Header" part="AllOrNoneHeader"/>
9509
+ <soap:header use="literal" message="tns:Header" part="DebuggingHeader"/>
9510
+ <soap:header use="literal" message="tns:Header" part="PackageVersionHeader"/>
9511
+ <soap:header use="literal" message="tns:Header" part="EmailHeader"/>
9512
+ <soap:body parts="parameters" use="literal"/>
9513
+ </input>
9514
+ <output>
9515
+ <soap:header use="literal" message="tns:Header" part="DebuggingInfo"/>
9516
+ <soap:body use="literal"/>
9517
+ </output>
9518
+ <fault name="InvalidSObjectFault">
9519
+ <soap:fault name="InvalidSObjectFault" use="literal"/>
9520
+ </fault>
9521
+ <fault name="UnexpectedErrorFault">
9522
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9523
+ </fault>
9524
+ <fault name="InvalidIdFault">
9525
+ <soap:fault name="InvalidIdFault" use="literal"/>
9526
+ </fault>
9527
+ <fault name="InvalidFieldFault">
9528
+ <soap:fault name="InvalidFieldFault" use="literal"/>
9529
+ </fault>
9530
+ </operation>
9531
+ <operation name="merge">
9532
+ <soap:operation soapAction=""/>
9533
+ <input>
9534
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9535
+ <soap:header use="literal" message="tns:Header" part="AssignmentRuleHeader"/>
9536
+ <soap:header use="literal" message="tns:Header" part="MruHeader"/>
9537
+ <soap:header use="literal" message="tns:Header" part="AllowFieldTruncationHeader"/>
9538
+ <soap:header use="literal" message="tns:Header" part="DisableFeedTrackingHeader"/>
9539
+ <soap:header use="literal" message="tns:Header" part="DebuggingHeader"/>
9540
+ <soap:header use="literal" message="tns:Header" part="PackageVersionHeader"/>
9541
+ <soap:header use="literal" message="tns:Header" part="EmailHeader"/>
9542
+ <soap:body parts="parameters" use="literal"/>
9543
+ </input>
9544
+ <output>
9545
+ <soap:header use="literal" message="tns:Header" part="DebuggingInfo"/>
9546
+ <soap:body use="literal"/>
9547
+ </output>
9548
+ <fault name="InvalidSObjectFault">
9549
+ <soap:fault name="InvalidSObjectFault" use="literal"/>
9550
+ </fault>
9551
+ <fault name="UnexpectedErrorFault">
9552
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9553
+ </fault>
9554
+ <fault name="InvalidIdFault">
9555
+ <soap:fault name="InvalidIdFault" use="literal"/>
9556
+ </fault>
9557
+ <fault name="InvalidFieldFault">
9558
+ <soap:fault name="InvalidFieldFault" use="literal"/>
9559
+ </fault>
9560
+ </operation>
9561
+ <operation name="delete">
9562
+ <soap:operation soapAction=""/>
9563
+ <input>
9564
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9565
+ <soap:header use="literal" message="tns:Header" part="PackageVersionHeader"/>
9566
+ <soap:header use="literal" message="tns:Header" part="UserTerritoryDeleteHeader"/>
9567
+ <soap:header use="literal" message="tns:Header" part="EmailHeader"/>
9568
+ <soap:header use="literal" message="tns:Header" part="AllowFieldTruncationHeader"/>
9569
+ <soap:header use="literal" message="tns:Header" part="DisableFeedTrackingHeader"/>
9570
+ <soap:header use="literal" message="tns:Header" part="AllOrNoneHeader"/>
9571
+ <soap:header use="literal" message="tns:Header" part="DebuggingHeader"/>
9572
+ <soap:body parts="parameters" use="literal"/>
9573
+ </input>
9574
+ <output>
9575
+ <soap:header use="literal" message="tns:Header" part="DebuggingInfo"/>
9576
+ <soap:body use="literal"/>
9577
+ </output>
9578
+ <fault name="UnexpectedErrorFault">
9579
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9580
+ </fault>
9581
+ </operation>
9582
+ <operation name="undelete">
9583
+ <soap:operation soapAction=""/>
9584
+ <input>
9585
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9586
+ <soap:header use="literal" message="tns:Header" part="AllowFieldTruncationHeader"/>
9587
+ <soap:header use="literal" message="tns:Header" part="DisableFeedTrackingHeader"/>
9588
+ <soap:header use="literal" message="tns:Header" part="AllOrNoneHeader"/>
9589
+ <soap:header use="literal" message="tns:Header" part="DebuggingHeader"/>
9590
+ <soap:header use="literal" message="tns:Header" part="PackageVersionHeader"/>
9591
+ <soap:body parts="parameters" use="literal"/>
9592
+ </input>
9593
+ <output>
9594
+ <soap:header use="literal" message="tns:Header" part="DebuggingInfo"/>
9595
+ <soap:body use="literal"/>
9596
+ </output>
9597
+ <fault name="UnexpectedErrorFault">
9598
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9599
+ </fault>
9600
+ </operation>
9601
+ <operation name="emptyRecycleBin">
9602
+ <soap:operation soapAction=""/>
9603
+ <input>
9604
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9605
+ <soap:body parts="parameters" use="literal"/>
9606
+ </input>
9607
+ <output>
9608
+ <soap:body use="literal"/>
9609
+ </output>
9610
+ <fault name="UnexpectedErrorFault">
9611
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9612
+ </fault>
9613
+ </operation>
9614
+ <operation name="retrieve">
9615
+ <soap:operation soapAction=""/>
9616
+ <input>
9617
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9618
+ <soap:header use="literal" message="tns:Header" part="QueryOptions"/>
9619
+ <soap:header use="literal" message="tns:Header" part="MruHeader"/>
9620
+ <soap:header use="literal" message="tns:Header" part="PackageVersionHeader"/>
9621
+ <soap:body parts="parameters" use="literal"/>
9622
+ </input>
9623
+ <output>
9624
+ <soap:body use="literal"/>
9625
+ </output>
9626
+ <fault name="InvalidSObjectFault">
9627
+ <soap:fault name="InvalidSObjectFault" use="literal"/>
9628
+ </fault>
9629
+ <fault name="InvalidFieldFault">
9630
+ <soap:fault name="InvalidFieldFault" use="literal"/>
9631
+ </fault>
9632
+ <fault name="MalformedQueryFault">
9633
+ <soap:fault name="MalformedQueryFault" use="literal"/>
9634
+ </fault>
9635
+ <fault name="UnexpectedErrorFault">
9636
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9637
+ </fault>
9638
+ <fault name="InvalidIdFault">
9639
+ <soap:fault name="InvalidIdFault" use="literal"/>
9640
+ </fault>
9641
+ </operation>
9642
+ <operation name="process">
9643
+ <soap:operation soapAction=""/>
9644
+ <input>
9645
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9646
+ <soap:header use="literal" message="tns:Header" part="AllowFieldTruncationHeader"/>
9647
+ <soap:header use="literal" message="tns:Header" part="DisableFeedTrackingHeader"/>
9648
+ <soap:header use="literal" message="tns:Header" part="DebuggingHeader"/>
9649
+ <soap:header use="literal" message="tns:Header" part="PackageVersionHeader"/>
9650
+ <soap:body parts="parameters" use="literal"/>
9651
+ </input>
9652
+ <output>
9653
+ <soap:header use="literal" message="tns:Header" part="DebuggingInfo"/>
9654
+ <soap:body use="literal"/>
9655
+ </output>
9656
+ <fault name="UnexpectedErrorFault">
9657
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9658
+ </fault>
9659
+ <fault name="InvalidIdFault">
9660
+ <soap:fault name="InvalidIdFault" use="literal"/>
9661
+ </fault>
9662
+ </operation>
9663
+ <operation name="convertLead">
9664
+ <soap:operation soapAction=""/>
9665
+ <input>
9666
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9667
+ <soap:header use="literal" message="tns:Header" part="AllowFieldTruncationHeader"/>
9668
+ <soap:header use="literal" message="tns:Header" part="DisableFeedTrackingHeader"/>
9669
+ <soap:header use="literal" message="tns:Header" part="DebuggingHeader"/>
9670
+ <soap:header use="literal" message="tns:Header" part="PackageVersionHeader"/>
9671
+ <soap:body parts="parameters" use="literal"/>
9672
+ </input>
9673
+ <output>
9674
+ <soap:header use="literal" message="tns:Header" part="DebuggingInfo"/>
9675
+ <soap:body use="literal"/>
9676
+ </output>
9677
+ <fault name="UnexpectedErrorFault">
9678
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9679
+ </fault>
9680
+ </operation>
9681
+ <operation name="logout">
9682
+ <soap:operation soapAction=""/>
9683
+ <input>
9684
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9685
+ <soap:body parts="parameters" use="literal"/>
9686
+ </input>
9687
+ <output>
9688
+ <soap:body use="literal"/>
9689
+ </output>
9690
+ <fault name="UnexpectedErrorFault">
9691
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9692
+ </fault>
9693
+ </operation>
9694
+ <operation name="invalidateSessions">
9695
+ <soap:operation soapAction=""/>
9696
+ <input>
9697
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9698
+ <soap:body parts="parameters" use="literal"/>
9699
+ </input>
9700
+ <output>
9701
+ <soap:body use="literal"/>
9702
+ </output>
9703
+ <fault name="UnexpectedErrorFault">
9704
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9705
+ </fault>
9706
+ </operation>
9707
+ <operation name="getDeleted">
9708
+ <soap:operation soapAction=""/>
9709
+ <input>
9710
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9711
+ <soap:body parts="parameters" use="literal"/>
9712
+ </input>
9713
+ <output>
9714
+ <soap:body use="literal"/>
9715
+ </output>
9716
+ <fault name="InvalidSObjectFault">
9717
+ <soap:fault name="InvalidSObjectFault" use="literal"/>
9718
+ </fault>
9719
+ <fault name="UnexpectedErrorFault">
9720
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9721
+ </fault>
9722
+ </operation>
9723
+ <operation name="getUpdated">
9724
+ <soap:operation soapAction=""/>
9725
+ <input>
9726
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9727
+ <soap:body parts="parameters" use="literal"/>
9728
+ </input>
9729
+ <output>
9730
+ <soap:body use="literal"/>
9731
+ </output>
9732
+ <fault name="InvalidSObjectFault">
9733
+ <soap:fault name="InvalidSObjectFault" use="literal"/>
9734
+ </fault>
9735
+ <fault name="UnexpectedErrorFault">
9736
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9737
+ </fault>
9738
+ </operation>
9739
+ <operation name="query">
9740
+ <soap:operation soapAction=""/>
9741
+ <input>
9742
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9743
+ <soap:header use="literal" message="tns:Header" part="QueryOptions"/>
9744
+ <soap:header use="literal" message="tns:Header" part="MruHeader"/>
9745
+ <soap:header use="literal" message="tns:Header" part="PackageVersionHeader"/>
9746
+ <soap:body parts="parameters" use="literal"/>
9747
+ </input>
9748
+ <output>
9749
+ <soap:body use="literal"/>
9750
+ </output>
9751
+ <fault name="InvalidSObjectFault">
9752
+ <soap:fault name="InvalidSObjectFault" use="literal"/>
9753
+ </fault>
9754
+ <fault name="InvalidFieldFault">
9755
+ <soap:fault name="InvalidFieldFault" use="literal"/>
9756
+ </fault>
9757
+ <fault name="MalformedQueryFault">
9758
+ <soap:fault name="MalformedQueryFault" use="literal"/>
9759
+ </fault>
9760
+ <fault name="InvalidIdFault">
9761
+ <soap:fault name="InvalidIdFault" use="literal"/>
9762
+ </fault>
9763
+ <fault name="UnexpectedErrorFault">
9764
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9765
+ </fault>
9766
+ <fault name="InvalidQueryLocatorFault">
9767
+ <soap:fault name="InvalidQueryLocatorFault" use="literal"/>
9768
+ </fault>
9769
+ </operation>
9770
+ <operation name="queryAll">
9771
+ <soap:operation soapAction=""/>
9772
+ <input>
9773
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9774
+ <soap:header use="literal" message="tns:Header" part="QueryOptions"/>
9775
+ <soap:body parts="parameters" use="literal"/>
9776
+ </input>
9777
+ <output>
9778
+ <soap:body use="literal"/>
9779
+ </output>
9780
+ <fault name="InvalidSObjectFault">
9781
+ <soap:fault name="InvalidSObjectFault" use="literal"/>
9782
+ </fault>
9783
+ <fault name="InvalidFieldFault">
9784
+ <soap:fault name="InvalidFieldFault" use="literal"/>
9785
+ </fault>
9786
+ <fault name="MalformedQueryFault">
9787
+ <soap:fault name="MalformedQueryFault" use="literal"/>
9788
+ </fault>
9789
+ <fault name="InvalidIdFault">
9790
+ <soap:fault name="InvalidIdFault" use="literal"/>
9791
+ </fault>
9792
+ <fault name="UnexpectedErrorFault">
9793
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9794
+ </fault>
9795
+ <fault name="InvalidQueryLocatorFault">
9796
+ <soap:fault name="InvalidQueryLocatorFault" use="literal"/>
9797
+ </fault>
9798
+ </operation>
9799
+ <operation name="queryMore">
9800
+ <soap:operation soapAction=""/>
9801
+ <input>
9802
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9803
+ <soap:header use="literal" message="tns:Header" part="QueryOptions"/>
9804
+ <soap:body parts="parameters" use="literal"/>
9805
+ </input>
9806
+ <output>
9807
+ <soap:body use="literal"/>
9808
+ </output>
9809
+ <fault name="InvalidQueryLocatorFault">
9810
+ <soap:fault name="InvalidQueryLocatorFault" use="literal"/>
9811
+ </fault>
9812
+ <fault name="UnexpectedErrorFault">
9813
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9814
+ </fault>
9815
+ <fault name="InvalidFieldFault">
9816
+ <soap:fault name="InvalidFieldFault" use="literal"/>
9817
+ </fault>
9818
+ </operation>
9819
+ <operation name="search">
9820
+ <soap:operation soapAction=""/>
9821
+ <input>
9822
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9823
+ <soap:header use="literal" message="tns:Header" part="PackageVersionHeader"/>
9824
+ <soap:body parts="parameters" use="literal"/>
9825
+ </input>
9826
+ <output>
9827
+ <soap:body use="literal"/>
9828
+ </output>
9829
+ <fault name="InvalidSObjectFault">
9830
+ <soap:fault name="InvalidSObjectFault" use="literal"/>
9831
+ </fault>
9832
+ <fault name="InvalidFieldFault">
9833
+ <soap:fault name="InvalidFieldFault" use="literal"/>
9834
+ </fault>
9835
+ <fault name="MalformedSearchFault">
9836
+ <soap:fault name="MalformedSearchFault" use="literal"/>
9837
+ </fault>
9838
+ <fault name="UnexpectedErrorFault">
9839
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9840
+ </fault>
9841
+ </operation>
9842
+ <operation name="getServerTimestamp">
9843
+ <soap:operation soapAction=""/>
9844
+ <input>
9845
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9846
+ <soap:body parts="parameters" use="literal"/>
9847
+ </input>
9848
+ <output>
9849
+ <soap:body use="literal"/>
9850
+ </output>
9851
+ <fault name="UnexpectedErrorFault">
9852
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9853
+ </fault>
9854
+ </operation>
9855
+ <operation name="setPassword">
9856
+ <soap:operation soapAction=""/>
9857
+ <input>
9858
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9859
+ <soap:body parts="parameters" use="literal"/>
9860
+ </input>
9861
+ <output>
9862
+ <soap:body use="literal"/>
9863
+ </output>
9864
+ <fault name="InvalidIdFault">
9865
+ <soap:fault name="InvalidIdFault" use="literal"/>
9866
+ </fault>
9867
+ <fault name="InvalidNewPasswordFault">
9868
+ <soap:fault name="InvalidNewPasswordFault" use="literal"/>
9869
+ </fault>
9870
+ <fault name="UnexpectedErrorFault">
9871
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9872
+ </fault>
9873
+ </operation>
9874
+ <operation name="resetPassword">
9875
+ <soap:operation soapAction=""/>
9876
+ <input>
9877
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9878
+ <soap:header use="literal" message="tns:Header" part="EmailHeader"/>
9879
+ <soap:body parts="parameters" use="literal"/>
9880
+ </input>
9881
+ <output>
9882
+ <soap:body use="literal"/>
9883
+ </output>
9884
+ <fault name="InvalidIdFault">
9885
+ <soap:fault name="InvalidIdFault" use="literal"/>
9886
+ </fault>
9887
+ <fault name="UnexpectedErrorFault">
9888
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9889
+ </fault>
9890
+ </operation>
9891
+ <operation name="getUserInfo">
9892
+ <soap:operation soapAction=""/>
9893
+ <input>
9894
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9895
+ <soap:body parts="parameters" use="literal"/>
9896
+ </input>
9897
+ <output>
9898
+ <soap:body use="literal"/>
9899
+ </output>
9900
+ <fault name="UnexpectedErrorFault">
9901
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9902
+ </fault>
9903
+ </operation>
9904
+ <operation name="sendEmail">
9905
+ <soap:operation soapAction=""/>
9906
+ <input>
9907
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
9908
+ <soap:body parts="parameters" use="literal"/>
9909
+ </input>
9910
+ <output>
9911
+ <soap:body use="literal"/>
9912
+ </output>
9913
+ <fault name="UnexpectedErrorFault">
9914
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
9915
+ </fault>
9916
+ </operation>
9917
+
9918
+ </binding>
9919
+
9920
+ <!-- Soap Service Endpoint -->
9921
+ <service name="SforceService">
9922
+ <documentation>Sforce SOAP API</documentation>
9923
+ <port binding="tns:SoapBinding" name="Soap">
9924
+ <soap:address location="https://test.salesforce.com/services/Soap/c/22.0/0DFQ00000008Pn9"/>
9925
+ </port>
9926
+ </service>
9927
+ </definitions>
9928
+
phptoolkit/soapclient/metadata.wsdl.xml ADDED
@@ -0,0 +1,1726 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Salesforce.com Metadata API version 13.0
4
+
5
+ Copyright 2006-2008 Salesforce.com, inc. All Rights Reserved
6
+ -->
7
+ <definitions targetNamespace="http://soap.sforce.com/2006/04/metadata" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://soap.sforce.com/2006/04/metadata">
8
+ <types>
9
+ <xsd:schema elementFormDefault="qualified" targetNamespace="http://soap.sforce.com/2006/04/metadata">
10
+ <xsd:element name="DebuggingInfo">
11
+ <xsd:complexType>
12
+ <xsd:sequence>
13
+ <xsd:element name="debugLog" type="xsd:string"/>
14
+ </xsd:sequence>
15
+ </xsd:complexType>
16
+ </xsd:element>
17
+ <xsd:complexType name="AsyncResult">
18
+ <xsd:sequence>
19
+ <xsd:element name="done" type="xsd:boolean"/>
20
+ <xsd:element name="id" type="tns:ID"/>
21
+ <xsd:element name="message" minOccurs="0" type="xsd:string"/>
22
+ <xsd:element name="secondsToWait" type="xsd:int"/>
23
+ <xsd:element name="state" type="tns:AsyncRequestState"/>
24
+ <xsd:element name="statusCode" minOccurs="0" type="tns:StatusCode"/>
25
+ </xsd:sequence>
26
+ </xsd:complexType>
27
+ <xsd:simpleType name="AsyncRequestState">
28
+ <xsd:restriction base="xsd:string">
29
+ <xsd:enumeration value="Queued"/>
30
+ <xsd:enumeration value="InProgress"/>
31
+ <xsd:enumeration value="Completed"/>
32
+ <xsd:enumeration value="Error"/>
33
+ </xsd:restriction>
34
+ </xsd:simpleType>
35
+ <xsd:complexType name="DeployResult">
36
+ <xsd:sequence>
37
+ <xsd:element name="id" type="tns:ID"/>
38
+ <xsd:element name="messages" minOccurs="0" maxOccurs="unbounded" type="tns:DeployMessage"/>
39
+ <xsd:element name="retrieveResult" minOccurs="0" type="tns:RetrieveResult"/>
40
+ <xsd:element name="runTestResult" minOccurs="0" type="tns:RunTestsResult"/>
41
+ <xsd:element name="success" type="xsd:boolean"/>
42
+ </xsd:sequence>
43
+ </xsd:complexType>
44
+ <xsd:complexType name="DeployMessage">
45
+ <xsd:sequence>
46
+ <xsd:element name="changed" type="xsd:boolean"/>
47
+ <xsd:element name="columnNumber" minOccurs="0" type="xsd:int"/>
48
+ <xsd:element name="created" type="xsd:boolean"/>
49
+ <xsd:element name="deleted" type="xsd:boolean"/>
50
+ <xsd:element name="fileName" type="xsd:string"/>
51
+ <xsd:element name="fullName" type="xsd:string"/>
52
+ <xsd:element name="id" minOccurs="0" type="xsd:string"/>
53
+ <xsd:element name="lineNumber" minOccurs="0" type="xsd:int"/>
54
+ <xsd:element name="problem" minOccurs="0" type="xsd:string"/>
55
+ <xsd:element name="success" type="xsd:boolean"/>
56
+ </xsd:sequence>
57
+ </xsd:complexType>
58
+ <xsd:complexType name="RetrieveResult">
59
+ <xsd:sequence>
60
+ <xsd:element name="fileProperties" minOccurs="0" maxOccurs="unbounded" type="tns:FileProperties"/>
61
+ <xsd:element name="id" type="xsd:string"/>
62
+ <xsd:element name="messages" minOccurs="0" maxOccurs="unbounded" type="tns:RetrieveMessage"/>
63
+ <xsd:element name="zipFile" type="xsd:base64Binary"/>
64
+ </xsd:sequence>
65
+ </xsd:complexType>
66
+ <xsd:complexType name="FileProperties">
67
+ <xsd:sequence>
68
+ <xsd:element name="createdById" type="xsd:string"/>
69
+ <xsd:element name="createdByName" type="xsd:string"/>
70
+ <xsd:element name="createdDate" type="xsd:dateTime"/>
71
+ <xsd:element name="fileName" type="xsd:string"/>
72
+ <xsd:element name="id" type="xsd:string"/>
73
+ <xsd:element name="lastModifiedById" type="xsd:string"/>
74
+ <xsd:element name="lastModifiedByName" type="xsd:string"/>
75
+ <xsd:element name="lastModifiedDate" type="xsd:dateTime"/>
76
+ <xsd:element name="manageableState" minOccurs="0" type="tns:ManageableState"/>
77
+ <xsd:element name="namespacePrefix" minOccurs="0" type="xsd:string"/>
78
+ </xsd:sequence>
79
+ </xsd:complexType>
80
+ <xsd:simpleType name="ManageableState">
81
+ <xsd:restriction base="xsd:string">
82
+ <xsd:enumeration value="released"/>
83
+ <xsd:enumeration value="installed"/>
84
+ <xsd:enumeration value="beta"/>
85
+ <xsd:enumeration value="unmanaged"/>
86
+ </xsd:restriction>
87
+ </xsd:simpleType>
88
+ <xsd:complexType name="RetrieveMessage">
89
+ <xsd:sequence>
90
+ <xsd:element name="fileName" type="xsd:string"/>
91
+ <xsd:element name="problem" type="xsd:string"/>
92
+ </xsd:sequence>
93
+ </xsd:complexType>
94
+ <xsd:complexType name="RunTestsResult">
95
+ <xsd:sequence>
96
+ <xsd:element name="codeCoverage" minOccurs="0" maxOccurs="unbounded" type="tns:CodeCoverageResult"/>
97
+ <xsd:element name="codeCoverageWarnings" minOccurs="0" maxOccurs="unbounded" type="tns:CodeCoverageWarning"/>
98
+ <xsd:element name="failures" minOccurs="0" maxOccurs="unbounded" type="tns:RunTestFailure"/>
99
+ <xsd:element name="numFailures" type="xsd:int"/>
100
+ <xsd:element name="numTestsRun" type="xsd:int"/>
101
+ <xsd:element name="successes" minOccurs="0" maxOccurs="unbounded" type="tns:RunTestSuccess"/>
102
+ <xsd:element name="totalTime" type="xsd:double"/>
103
+ </xsd:sequence>
104
+ </xsd:complexType>
105
+ <xsd:complexType name="CodeCoverageResult">
106
+ <xsd:sequence>
107
+ <xsd:element name="dmlInfo" minOccurs="0" maxOccurs="unbounded" type="tns:CodeLocation"/>
108
+ <xsd:element name="id" type="tns:ID"/>
109
+ <xsd:element name="locationsNotCovered" minOccurs="0" maxOccurs="unbounded" type="tns:CodeLocation"/>
110
+ <xsd:element name="methodInfo" minOccurs="0" maxOccurs="unbounded" type="tns:CodeLocation"/>
111
+ <xsd:element name="name" type="xsd:string"/>
112
+ <xsd:element name="namespace" type="xsd:string" nillable="true"/>
113
+ <xsd:element name="numLocations" type="xsd:int"/>
114
+ <xsd:element name="numLocationsNotCovered" type="xsd:int"/>
115
+ <xsd:element name="soqlInfo" minOccurs="0" maxOccurs="unbounded" type="tns:CodeLocation"/>
116
+ <xsd:element name="soslInfo" minOccurs="0" maxOccurs="unbounded" type="tns:CodeLocation"/>
117
+ <xsd:element name="type" type="xsd:string"/>
118
+ </xsd:sequence>
119
+ </xsd:complexType>
120
+ <xsd:complexType name="CodeLocation">
121
+ <xsd:sequence>
122
+ <xsd:element name="column" type="xsd:int"/>
123
+ <xsd:element name="line" type="xsd:int"/>
124
+ <xsd:element name="numExecutions" type="xsd:int"/>
125
+ <xsd:element name="time" type="xsd:double"/>
126
+ </xsd:sequence>
127
+ </xsd:complexType>
128
+ <xsd:complexType name="CodeCoverageWarning">
129
+ <xsd:sequence>
130
+ <xsd:element name="id" type="tns:ID"/>
131
+ <xsd:element name="message" type="xsd:string"/>
132
+ <xsd:element name="name" type="xsd:string" nillable="true"/>
133
+ <xsd:element name="namespace" type="xsd:string" nillable="true"/>
134
+ </xsd:sequence>
135
+ </xsd:complexType>
136
+ <xsd:complexType name="RunTestFailure">
137
+ <xsd:sequence>
138
+ <xsd:element name="id" type="tns:ID"/>
139
+ <xsd:element name="message" type="xsd:string"/>
140
+ <xsd:element name="methodName" type="xsd:string" nillable="true"/>
141
+ <xsd:element name="name" type="xsd:string"/>
142
+ <xsd:element name="namespace" type="xsd:string" nillable="true"/>
143
+ <xsd:element name="packageName" type="xsd:string"/>
144
+ <xsd:element name="stackTrace" type="xsd:string" nillable="true"/>
145
+ <xsd:element name="time" type="xsd:double"/>
146
+ <xsd:element name="type" type="xsd:string"/>
147
+ </xsd:sequence>
148
+ </xsd:complexType>
149
+ <xsd:complexType name="RunTestSuccess">
150
+ <xsd:sequence>
151
+ <xsd:element name="id" type="tns:ID"/>
152
+ <xsd:element name="methodName" type="xsd:string"/>
153
+ <xsd:element name="name" type="xsd:string"/>
154
+ <xsd:element name="namespace" type="xsd:string" nillable="true"/>
155
+ <xsd:element name="time" type="xsd:double"/>
156
+ </xsd:sequence>
157
+ </xsd:complexType>
158
+ <xsd:complexType name="DescribeMetadataResult">
159
+ <xsd:sequence>
160
+ <xsd:element name="metadataObjects" minOccurs="0" maxOccurs="unbounded" type="tns:DescribeMetadataObject"/>
161
+ <xsd:element name="organizationNamespace" type="xsd:string"/>
162
+ <xsd:element name="partialSaveAllowed" type="xsd:boolean"/>
163
+ <xsd:element name="testRequired" type="xsd:boolean"/>
164
+ </xsd:sequence>
165
+ </xsd:complexType>
166
+ <xsd:complexType name="DescribeMetadataObject">
167
+ <xsd:sequence>
168
+ <xsd:element name="directoryName" type="xsd:string"/>
169
+ <xsd:element name="inFolder" type="xsd:boolean"/>
170
+ <xsd:element name="metaFile" type="xsd:boolean"/>
171
+ <xsd:element name="parent" minOccurs="0" type="xsd:string"/>
172
+ <xsd:element name="suffix" minOccurs="0" type="xsd:string"/>
173
+ <xsd:element name="xmlName" type="xsd:string"/>
174
+ </xsd:sequence>
175
+ </xsd:complexType>
176
+ <xsd:complexType name="StaticResource">
177
+ <xsd:complexContent>
178
+ <xsd:extension base="tns:MetadataWithContent">
179
+ <xsd:sequence>
180
+ <xsd:element name="contentType" type="xsd:string"/>
181
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
182
+ </xsd:sequence>
183
+ </xsd:extension>
184
+ </xsd:complexContent>
185
+ </xsd:complexType>
186
+ <xsd:complexType name="Scontrol">
187
+ <xsd:complexContent>
188
+ <xsd:extension base="tns:MetadataWithContent">
189
+ <xsd:sequence>
190
+ <xsd:element name="contentSource" type="tns:SControlContentSource"/>
191
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
192
+ <xsd:element name="encodingKey" type="tns:Encoding"/>
193
+ <xsd:element name="fileContent" minOccurs="0" type="xsd:base64Binary"/>
194
+ <xsd:element name="name" type="xsd:string"/>
195
+ <xsd:element name="supportsCaching" type="xsd:boolean"/>
196
+ </xsd:sequence>
197
+ </xsd:extension>
198
+ </xsd:complexContent>
199
+ </xsd:complexType>
200
+ <xsd:simpleType name="SControlContentSource">
201
+ <xsd:restriction base="xsd:string">
202
+ <xsd:enumeration value="HTML"/>
203
+ <xsd:enumeration value="URL"/>
204
+ <xsd:enumeration value="Snippet"/>
205
+ </xsd:restriction>
206
+ </xsd:simpleType>
207
+ <xsd:simpleType name="Encoding">
208
+ <xsd:restriction base="xsd:string">
209
+ <xsd:enumeration value="Shift_JIS"/>
210
+ <xsd:enumeration value="GB2312"/>
211
+ <xsd:enumeration value="UTF-8"/>
212
+ <xsd:enumeration value="ks_c_5601-1987"/>
213
+ <xsd:enumeration value="EUC-JP"/>
214
+ <xsd:enumeration value="ISO-2022-JP"/>
215
+ <xsd:enumeration value="Big5"/>
216
+ <xsd:enumeration value="ISO-8859-1"/>
217
+ </xsd:restriction>
218
+ </xsd:simpleType>
219
+ <xsd:complexType name="ApexPage">
220
+ <xsd:complexContent>
221
+ <xsd:extension base="tns:MetadataWithContent">
222
+ <xsd:sequence>
223
+ <xsd:element name="apiVersion" type="xsd:double"/>
224
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
225
+ <xsd:element name="label" type="xsd:string"/>
226
+ </xsd:sequence>
227
+ </xsd:extension>
228
+ </xsd:complexContent>
229
+ </xsd:complexType>
230
+ <xsd:complexType name="ApexComponent">
231
+ <xsd:complexContent>
232
+ <xsd:extension base="tns:MetadataWithContent">
233
+ <xsd:sequence>
234
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
235
+ <xsd:element name="label" type="xsd:string"/>
236
+ </xsd:sequence>
237
+ </xsd:extension>
238
+ </xsd:complexContent>
239
+ </xsd:complexType>
240
+ <xsd:complexType name="CustomObject">
241
+ <xsd:complexContent>
242
+ <xsd:extension base="tns:Metadata">
243
+ <xsd:sequence>
244
+ <xsd:element name="customSettingsType" minOccurs="0" type="tns:CustomSettingsType"/>
245
+ <xsd:element name="deploymentStatus" minOccurs="0" type="tns:DeploymentStatus"/>
246
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
247
+ <xsd:element name="enableActivities" minOccurs="0" type="xsd:boolean"/>
248
+ <xsd:element name="enableDivisions" minOccurs="0" type="xsd:boolean"/>
249
+ <xsd:element name="enableHistory" minOccurs="0" type="xsd:boolean"/>
250
+ <xsd:element name="enableReports" minOccurs="0" type="xsd:boolean"/>
251
+ <xsd:element name="fields" minOccurs="0" maxOccurs="unbounded" type="tns:CustomField"/>
252
+ <xsd:element name="gender" minOccurs="0" type="tns:Gender"/>
253
+ <xsd:element name="household" minOccurs="0" type="xsd:boolean"/>
254
+ <xsd:element name="label" minOccurs="0" type="xsd:string"/>
255
+ <xsd:element name="nameField" minOccurs="0" type="tns:CustomField"/>
256
+ <xsd:element name="pluralLabel" minOccurs="0" type="xsd:string"/>
257
+ <xsd:element name="recordTypes" minOccurs="0" maxOccurs="unbounded" type="tns:RecordType"/>
258
+ <xsd:element name="sharingModel" minOccurs="0" type="tns:SharingModel"/>
259
+ <xsd:element name="startsWith" minOccurs="0" type="tns:StartsWith"/>
260
+ <xsd:element name="validationRules" minOccurs="0" maxOccurs="unbounded" type="tns:ValidationRule"/>
261
+ <xsd:element name="webLinks" minOccurs="0" maxOccurs="unbounded" type="tns:WebLink"/>
262
+ </xsd:sequence>
263
+ </xsd:extension>
264
+ </xsd:complexContent>
265
+ </xsd:complexType>
266
+ <xsd:complexType name="CustomField">
267
+ <xsd:complexContent>
268
+ <xsd:extension base="tns:Metadata">
269
+ <xsd:sequence>
270
+ <xsd:element name="caseSensitive" minOccurs="0" type="xsd:boolean"/>
271
+ <xsd:element name="defaultValue" minOccurs="0" type="xsd:string"/>
272
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
273
+ <xsd:element name="displayFormat" minOccurs="0" type="xsd:string"/>
274
+ <xsd:element name="externalId" minOccurs="0" type="xsd:boolean"/>
275
+ <xsd:element name="formula" minOccurs="0" type="xsd:string"/>
276
+ <xsd:element name="formulaTreatBlanksAs" minOccurs="0" type="tns:TreatBlanksAs"/>
277
+ <xsd:element name="indexed" minOccurs="0" type="xsd:boolean"/>
278
+ <xsd:element name="inlineHelpText" minOccurs="0" type="xsd:string"/>
279
+ <xsd:element name="label" type="xsd:string"/>
280
+ <xsd:element name="length" minOccurs="0" type="xsd:int"/>
281
+ <xsd:element name="maskChar" minOccurs="0" type="tns:EncryptedFieldMaskChar"/>
282
+ <xsd:element name="maskType" minOccurs="0" type="tns:EncryptedFieldMaskType"/>
283
+ <xsd:element name="picklist" minOccurs="0" type="tns:Picklist"/>
284
+ <xsd:element name="populateExistingRows" minOccurs="0" type="xsd:boolean"/>
285
+ <xsd:element name="precision" minOccurs="0" type="xsd:int"/>
286
+ <xsd:element name="referenceTo" minOccurs="0" type="xsd:string"/>
287
+ <xsd:element name="relationshipLabel" minOccurs="0" type="xsd:string"/>
288
+ <xsd:element name="relationshipName" minOccurs="0" type="xsd:string"/>
289
+ <xsd:element name="relationshipOrder" minOccurs="0" type="xsd:int"/>
290
+ <xsd:element name="required" minOccurs="0" type="xsd:boolean"/>
291
+ <xsd:element name="restrictedAdminField" minOccurs="0" type="xsd:boolean"/>
292
+ <xsd:element name="scale" minOccurs="0" type="xsd:int"/>
293
+ <xsd:element name="startingNumber" minOccurs="0" type="xsd:int"/>
294
+ <xsd:element name="summarizedField" minOccurs="0" type="xsd:string"/>
295
+ <xsd:element name="summaryFilterItems" minOccurs="0" maxOccurs="unbounded" type="tns:FilterItem"/>
296
+ <xsd:element name="summaryForeignKey" minOccurs="0" type="xsd:string"/>
297
+ <xsd:element name="summaryOperation" minOccurs="0" type="tns:SummaryOperations"/>
298
+ <xsd:element name="trueValueIndexed" minOccurs="0" type="xsd:boolean"/>
299
+ <xsd:element name="type" type="tns:FieldType"/>
300
+ <xsd:element name="unique" minOccurs="0" type="xsd:boolean"/>
301
+ <xsd:element name="visibleLines" minOccurs="0" type="xsd:int"/>
302
+ <xsd:element name="writeRequiresMasterRead" minOccurs="0" type="xsd:boolean"/>
303
+ </xsd:sequence>
304
+ </xsd:extension>
305
+ </xsd:complexContent>
306
+ </xsd:complexType>
307
+ <xsd:simpleType name="EncryptedFieldMaskChar">
308
+ <xsd:restriction base="xsd:string">
309
+ <xsd:enumeration value="asterisk"/>
310
+ <xsd:enumeration value="X"/>
311
+ </xsd:restriction>
312
+ </xsd:simpleType>
313
+ <xsd:simpleType name="EncryptedFieldMaskType">
314
+ <xsd:restriction base="xsd:string">
315
+ <xsd:enumeration value="all"/>
316
+ <xsd:enumeration value="creditCard"/>
317
+ <xsd:enumeration value="ssn"/>
318
+ <xsd:enumeration value="lastFour"/>
319
+ <xsd:enumeration value="sin"/>
320
+ <xsd:enumeration value="nino"/>
321
+ </xsd:restriction>
322
+ </xsd:simpleType>
323
+ <xsd:complexType name="Picklist">
324
+ <xsd:sequence>
325
+ <xsd:element name="picklistValues" minOccurs="0" maxOccurs="unbounded" type="tns:PicklistValue"/>
326
+ <xsd:element name="sorted" type="xsd:boolean"/>
327
+ </xsd:sequence>
328
+ </xsd:complexType>
329
+ <xsd:complexType name="PicklistValue">
330
+ <xsd:complexContent>
331
+ <xsd:extension base="tns:Metadata">
332
+ <xsd:sequence>
333
+ <xsd:element name="default" type="xsd:boolean"/>
334
+ </xsd:sequence>
335
+ </xsd:extension>
336
+ </xsd:complexContent>
337
+ </xsd:complexType>
338
+ <xsd:complexType name="FilterItem">
339
+ <xsd:sequence>
340
+ <xsd:element name="field" type="xsd:string"/>
341
+ <xsd:element name="operation" type="tns:FilterOperation"/>
342
+ <xsd:element name="value" minOccurs="0" type="xsd:string"/>
343
+ </xsd:sequence>
344
+ </xsd:complexType>
345
+ <xsd:simpleType name="SummaryOperations">
346
+ <xsd:restriction base="xsd:string">
347
+ <xsd:enumeration value="count"/>
348
+ <xsd:enumeration value="sum"/>
349
+ <xsd:enumeration value="min"/>
350
+ <xsd:enumeration value="max"/>
351
+ </xsd:restriction>
352
+ </xsd:simpleType>
353
+ <xsd:complexType name="RecordType">
354
+ <xsd:complexContent>
355
+ <xsd:extension base="tns:Metadata">
356
+ <xsd:sequence>
357
+ <xsd:element name="active" type="xsd:boolean"/>
358
+ <xsd:element name="picklistValues" minOccurs="0" maxOccurs="unbounded" type="tns:RecordTypePicklistValue"/>
359
+ </xsd:sequence>
360
+ </xsd:extension>
361
+ </xsd:complexContent>
362
+ </xsd:complexType>
363
+ <xsd:complexType name="RecordTypePicklistValue">
364
+ <xsd:sequence>
365
+ <xsd:element name="picklist" type="xsd:string"/>
366
+ <xsd:element name="values" minOccurs="0" maxOccurs="unbounded" type="tns:PicklistValue"/>
367
+ </xsd:sequence>
368
+ </xsd:complexType>
369
+ <xsd:complexType name="ValidationRule">
370
+ <xsd:complexContent>
371
+ <xsd:extension base="tns:Metadata">
372
+ <xsd:sequence>
373
+ <xsd:element name="active" type="xsd:boolean"/>
374
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
375
+ <xsd:element name="errorConditionFormula" type="xsd:string"/>
376
+ <xsd:element name="errorDisplayField" minOccurs="0" type="xsd:string"/>
377
+ <xsd:element name="errorMessage" type="xsd:string"/>
378
+ </xsd:sequence>
379
+ </xsd:extension>
380
+ </xsd:complexContent>
381
+ </xsd:complexType>
382
+ <xsd:complexType name="WebLink">
383
+ <xsd:complexContent>
384
+ <xsd:extension base="tns:Metadata">
385
+ <xsd:sequence>
386
+ <xsd:element name="availability" type="tns:WebLinkAvailability"/>
387
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
388
+ <xsd:element name="displayType" type="tns:WebLinkDisplayType"/>
389
+ <xsd:element name="hasMenubar" minOccurs="0" type="xsd:boolean"/>
390
+ <xsd:element name="hasScrollbars" minOccurs="0" type="xsd:boolean"/>
391
+ <xsd:element name="hasToolbar" minOccurs="0" type="xsd:boolean"/>
392
+ <xsd:element name="height" minOccurs="0" type="xsd:int"/>
393
+ <xsd:element name="isResizable" minOccurs="0" type="xsd:boolean"/>
394
+ <xsd:element name="linkType" type="tns:WebLinkType"/>
395
+ <xsd:element name="masterLabel" minOccurs="0" type="xsd:string"/>
396
+ <xsd:element name="openType" type="tns:WebLinkWindowType"/>
397
+ <xsd:element name="position" minOccurs="0" type="tns:WebLinkPosition"/>
398
+ <xsd:element name="requireRowSelection" minOccurs="0" type="xsd:boolean"/>
399
+ <xsd:element name="scontrol" minOccurs="0" type="xsd:string"/>
400
+ <xsd:element name="showsLocation" minOccurs="0" type="xsd:boolean"/>
401
+ <xsd:element name="showsStatus" minOccurs="0" type="xsd:boolean"/>
402
+ <xsd:element name="url" minOccurs="0" type="xsd:string"/>
403
+ <xsd:element name="width" minOccurs="0" type="xsd:int"/>
404
+ </xsd:sequence>
405
+ </xsd:extension>
406
+ </xsd:complexContent>
407
+ </xsd:complexType>
408
+ <xsd:simpleType name="WebLinkAvailability">
409
+ <xsd:restriction base="xsd:string">
410
+ <xsd:enumeration value="online"/>
411
+ <xsd:enumeration value="offline"/>
412
+ </xsd:restriction>
413
+ </xsd:simpleType>
414
+ <xsd:simpleType name="WebLinkType">
415
+ <xsd:restriction base="xsd:string">
416
+ <xsd:enumeration value="url"/>
417
+ <xsd:enumeration value="sControl"/>
418
+ <xsd:enumeration value="javascript"/>
419
+ </xsd:restriction>
420
+ </xsd:simpleType>
421
+ <xsd:complexType name="Layout">
422
+ <xsd:complexContent>
423
+ <xsd:extension base="tns:Metadata">
424
+ <xsd:sequence>
425
+ <xsd:element name="customButtons" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
426
+ <xsd:element name="emailDefault" minOccurs="0" type="xsd:boolean"/>
427
+ <xsd:element name="excludeButtons" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
428
+ <xsd:element name="headers" minOccurs="0" maxOccurs="unbounded" type="tns:LayoutHeader"/>
429
+ <xsd:element name="layoutSections" minOccurs="0" maxOccurs="unbounded" type="tns:LayoutSection"/>
430
+ <xsd:element name="miniLayout" minOccurs="0" type="tns:MiniLayout"/>
431
+ <xsd:element name="multilineLayoutFields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
432
+ <xsd:element name="relatedLists" minOccurs="0" maxOccurs="unbounded" type="tns:RelatedListItem"/>
433
+ <xsd:element name="relatedObjects" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
434
+ <xsd:element name="runAssignmentRulesDefault" minOccurs="0" type="xsd:boolean"/>
435
+ <xsd:element name="showEmailCheckbox" minOccurs="0" type="xsd:boolean"/>
436
+ <xsd:element name="showRunAssignmentRulesCheckbox" minOccurs="0" type="xsd:boolean"/>
437
+ <xsd:element name="showSolutionSection" minOccurs="0" type="xsd:boolean"/>
438
+ </xsd:sequence>
439
+ </xsd:extension>
440
+ </xsd:complexContent>
441
+ </xsd:complexType>
442
+ <xsd:complexType name="LayoutSection">
443
+ <xsd:sequence>
444
+ <xsd:element name="customLabel" minOccurs="0" type="xsd:boolean"/>
445
+ <xsd:element name="detailHeading" minOccurs="0" type="xsd:boolean"/>
446
+ <xsd:element name="editHeading" minOccurs="0" type="xsd:boolean"/>
447
+ <xsd:element name="label" minOccurs="0" type="xsd:string"/>
448
+ <xsd:element name="layoutColumns" minOccurs="0" maxOccurs="unbounded" type="tns:LayoutColumn"/>
449
+ <xsd:element name="style" type="tns:LayoutSectionStyle"/>
450
+ </xsd:sequence>
451
+ </xsd:complexType>
452
+ <xsd:complexType name="LayoutColumn">
453
+ <xsd:sequence>
454
+ <xsd:element name="layoutItems" minOccurs="0" maxOccurs="unbounded" type="tns:LayoutItem"/>
455
+ <xsd:element name="reserved" minOccurs="0" type="xsd:string"/>
456
+ </xsd:sequence>
457
+ </xsd:complexType>
458
+ <xsd:complexType name="LayoutItem">
459
+ <xsd:sequence>
460
+ <xsd:element name="behavior" minOccurs="0" type="tns:UiBehavior"/>
461
+ <xsd:element name="customLink" minOccurs="0" type="xsd:string"/>
462
+ <xsd:element name="field" minOccurs="0" type="xsd:string"/>
463
+ <xsd:element name="height" minOccurs="0" type="xsd:int"/>
464
+ <xsd:element name="page" minOccurs="0" type="xsd:string"/>
465
+ <xsd:element name="scontrol" minOccurs="0" type="xsd:string"/>
466
+ <xsd:element name="showLabel" minOccurs="0" type="xsd:boolean"/>
467
+ <xsd:element name="showScrollbars" minOccurs="0" type="xsd:boolean"/>
468
+ <xsd:element name="width" minOccurs="0" type="xsd:string"/>
469
+ </xsd:sequence>
470
+ </xsd:complexType>
471
+ <xsd:complexType name="MiniLayout">
472
+ <xsd:sequence>
473
+ <xsd:element name="fields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
474
+ <xsd:element name="relatedLists" minOccurs="0" maxOccurs="unbounded" type="tns:RelatedListItem"/>
475
+ </xsd:sequence>
476
+ </xsd:complexType>
477
+ <xsd:complexType name="RelatedListItem">
478
+ <xsd:sequence>
479
+ <xsd:element name="excludeButtons" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
480
+ <xsd:element name="fields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
481
+ <xsd:element name="relatedList" type="xsd:string"/>
482
+ <xsd:element name="sortField" minOccurs="0" type="xsd:string"/>
483
+ <xsd:element name="sortOrder" minOccurs="0" type="tns:SortOrder"/>
484
+ </xsd:sequence>
485
+ </xsd:complexType>
486
+ <xsd:complexType name="Document">
487
+ <xsd:complexContent>
488
+ <xsd:extension base="tns:MetadataWithContent">
489
+ <xsd:sequence>
490
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
491
+ <xsd:element name="internalUseOnly" type="xsd:boolean"/>
492
+ <xsd:element name="keywords" minOccurs="0" type="xsd:string"/>
493
+ <xsd:element name="public" type="xsd:boolean"/>
494
+ </xsd:sequence>
495
+ </xsd:extension>
496
+ </xsd:complexContent>
497
+ </xsd:complexType>
498
+ <xsd:complexType name="DocumentFolder">
499
+ <xsd:complexContent>
500
+ <xsd:extension base="tns:Folder">
501
+ <xsd:sequence/>
502
+ </xsd:extension>
503
+ </xsd:complexContent>
504
+ </xsd:complexType>
505
+ <xsd:simpleType name="FolderAccessTypes">
506
+ <xsd:restriction base="xsd:string">
507
+ <xsd:enumeration value="Shared"/>
508
+ <xsd:enumeration value="Public"/>
509
+ <xsd:enumeration value="Hidden"/>
510
+ </xsd:restriction>
511
+ </xsd:simpleType>
512
+ <xsd:complexType name="CustomPageWebLink">
513
+ <xsd:complexContent>
514
+ <xsd:extension base="tns:Metadata">
515
+ <xsd:sequence>
516
+ <xsd:element name="availability" type="tns:WebLinkAvailability"/>
517
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
518
+ <xsd:element name="displayType" type="tns:WebLinkDisplayType"/>
519
+ <xsd:element name="hasMenubar" minOccurs="0" type="xsd:boolean"/>
520
+ <xsd:element name="hasScrollbars" minOccurs="0" type="xsd:boolean"/>
521
+ <xsd:element name="hasToolbar" minOccurs="0" type="xsd:boolean"/>
522
+ <xsd:element name="height" minOccurs="0" type="xsd:int"/>
523
+ <xsd:element name="isResizable" minOccurs="0" type="xsd:boolean"/>
524
+ <xsd:element name="linkType" type="tns:WebLinkType"/>
525
+ <xsd:element name="masterLabel" minOccurs="0" type="xsd:string"/>
526
+ <xsd:element name="openType" type="tns:WebLinkWindowType"/>
527
+ <xsd:element name="position" minOccurs="0" type="tns:WebLinkPosition"/>
528
+ <xsd:element name="requireRowSelection" minOccurs="0" type="xsd:boolean"/>
529
+ <xsd:element name="scontrol" minOccurs="0" type="xsd:string"/>
530
+ <xsd:element name="showsLocation" minOccurs="0" type="xsd:boolean"/>
531
+ <xsd:element name="showsStatus" minOccurs="0" type="xsd:boolean"/>
532
+ <xsd:element name="url" minOccurs="0" type="xsd:string"/>
533
+ <xsd:element name="width" minOccurs="0" type="xsd:int"/>
534
+ </xsd:sequence>
535
+ </xsd:extension>
536
+ </xsd:complexContent>
537
+ </xsd:complexType>
538
+ <xsd:complexType name="CustomTab">
539
+ <xsd:complexContent>
540
+ <xsd:extension base="tns:Metadata">
541
+ <xsd:sequence>
542
+ <xsd:element name="customObject" minOccurs="0" type="xsd:boolean"/>
543
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
544
+ <xsd:element name="frameHeight" minOccurs="0" type="xsd:int"/>
545
+ <xsd:element name="hasSidebar" minOccurs="0" type="xsd:boolean"/>
546
+ <xsd:element name="label" minOccurs="0" type="xsd:string"/>
547
+ <xsd:element name="motif" type="xsd:string"/>
548
+ <xsd:element name="page" minOccurs="0" type="xsd:string"/>
549
+ <xsd:element name="scontrol" minOccurs="0" type="xsd:string"/>
550
+ <xsd:element name="splashPageLink" minOccurs="0" type="xsd:string"/>
551
+ <xsd:element name="url" minOccurs="0" type="xsd:string"/>
552
+ <xsd:element name="urlEncodingKey" minOccurs="0" type="tns:Encoding"/>
553
+ </xsd:sequence>
554
+ </xsd:extension>
555
+ </xsd:complexContent>
556
+ </xsd:complexType>
557
+ <xsd:complexType name="CustomApplication">
558
+ <xsd:complexContent>
559
+ <xsd:extension base="tns:Metadata">
560
+ <xsd:sequence>
561
+ <xsd:element name="defaultLandingTab" minOccurs="0" type="xsd:string"/>
562
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
563
+ <xsd:element name="label" type="xsd:string"/>
564
+ <xsd:element name="logo" minOccurs="0" type="xsd:string"/>
565
+ <xsd:element name="tab" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
566
+ </xsd:sequence>
567
+ </xsd:extension>
568
+ </xsd:complexContent>
569
+ </xsd:complexType>
570
+ <xsd:complexType name="Letterhead">
571
+ <xsd:complexContent>
572
+ <xsd:extension base="tns:Metadata">
573
+ <xsd:sequence>
574
+ <xsd:element name="available" type="xsd:boolean"/>
575
+ <xsd:element name="backgroundColor" type="xsd:string"/>
576
+ <xsd:element name="bodyColor" type="xsd:string"/>
577
+ <xsd:element name="bottomLine" type="tns:LetterheadLine"/>
578
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
579
+ <xsd:element name="footer" type="tns:LetterheadHeaderFooter"/>
580
+ <xsd:element name="header" type="tns:LetterheadHeaderFooter"/>
581
+ <xsd:element name="middleLine" type="tns:LetterheadLine"/>
582
+ <xsd:element name="name" type="xsd:string"/>
583
+ <xsd:element name="topLine" type="tns:LetterheadLine"/>
584
+ </xsd:sequence>
585
+ </xsd:extension>
586
+ </xsd:complexContent>
587
+ </xsd:complexType>
588
+ <xsd:complexType name="LetterheadLine">
589
+ <xsd:sequence>
590
+ <xsd:element name="color" type="xsd:string"/>
591
+ <xsd:element name="height" type="xsd:int"/>
592
+ </xsd:sequence>
593
+ </xsd:complexType>
594
+ <xsd:complexType name="LetterheadHeaderFooter">
595
+ <xsd:sequence>
596
+ <xsd:element name="backgroundColor" type="xsd:string"/>
597
+ <xsd:element name="height" type="xsd:int"/>
598
+ <xsd:element name="horizontalAlignment" minOccurs="0" type="tns:LetterheadHorizontalAlignment"/>
599
+ <xsd:element name="logo" minOccurs="0" type="xsd:string"/>
600
+ <xsd:element name="verticalAlignment" minOccurs="0" type="tns:LetterheadVerticalAlignment"/>
601
+ </xsd:sequence>
602
+ </xsd:complexType>
603
+ <xsd:simpleType name="EmailTemplateType">
604
+ <xsd:restriction base="xsd:string">
605
+ <xsd:enumeration value="text"/>
606
+ <xsd:enumeration value="html"/>
607
+ <xsd:enumeration value="custom"/>
608
+ </xsd:restriction>
609
+ </xsd:simpleType>
610
+ <xsd:simpleType name="EmailTemplateStyle">
611
+ <xsd:restriction base="xsd:string">
612
+ <xsd:enumeration value="none"/>
613
+ <xsd:enumeration value="freeForm"/>
614
+ <xsd:enumeration value="formalLetter"/>
615
+ <xsd:enumeration value="promotionRight"/>
616
+ <xsd:enumeration value="promotionLeft"/>
617
+ <xsd:enumeration value="newsletter"/>
618
+ <xsd:enumeration value="products"/>
619
+ </xsd:restriction>
620
+ </xsd:simpleType>
621
+ <xsd:complexType name="EmailTemplate">
622
+ <xsd:complexContent>
623
+ <xsd:extension base="tns:MetadataWithContent">
624
+ <xsd:sequence>
625
+ <xsd:element name="available" type="xsd:boolean"/>
626
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
627
+ <xsd:element name="encodingKey" type="tns:Encoding"/>
628
+ <xsd:element name="letterhead" minOccurs="0" type="xsd:string"/>
629
+ <xsd:element name="style" type="tns:EmailTemplateStyle"/>
630
+ <xsd:element name="subject" minOccurs="0" type="xsd:string"/>
631
+ <xsd:element name="textOnly" minOccurs="0" type="xsd:string"/>
632
+ <xsd:element name="type" type="tns:EmailTemplateType"/>
633
+ </xsd:sequence>
634
+ </xsd:extension>
635
+ </xsd:complexContent>
636
+ </xsd:complexType>
637
+ <xsd:complexType name="EmailFolder">
638
+ <xsd:complexContent>
639
+ <xsd:extension base="tns:Folder">
640
+ <xsd:sequence/>
641
+ </xsd:extension>
642
+ </xsd:complexContent>
643
+ </xsd:complexType>
644
+ <xsd:complexType name="Workflow">
645
+ <xsd:complexContent>
646
+ <xsd:extension base="tns:Metadata">
647
+ <xsd:sequence>
648
+ <xsd:element name="alerts" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowAlert"/>
649
+ <xsd:element name="fieldUpdates" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowFieldUpdate"/>
650
+ <xsd:element name="outboundMessages" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowOutboundMessage"/>
651
+ <xsd:element name="rules" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowRule"/>
652
+ <xsd:element name="tasks" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowTask"/>
653
+ </xsd:sequence>
654
+ </xsd:extension>
655
+ </xsd:complexContent>
656
+ </xsd:complexType>
657
+ <xsd:complexType name="WorkflowAlert">
658
+ <xsd:complexContent>
659
+ <xsd:extension base="tns:WorkflowAction">
660
+ <xsd:sequence>
661
+ <xsd:element name="ccEmails" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
662
+ <xsd:element name="recipients" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowEmailRecipient"/>
663
+ <xsd:element name="template" type="xsd:string"/>
664
+ </xsd:sequence>
665
+ </xsd:extension>
666
+ </xsd:complexContent>
667
+ </xsd:complexType>
668
+ <xsd:complexType name="WorkflowEmailRecipient">
669
+ <xsd:sequence>
670
+ <xsd:element name="field" minOccurs="0" type="xsd:string"/>
671
+ <xsd:element name="recipient" minOccurs="0" type="xsd:string"/>
672
+ <xsd:element name="type" type="tns:ActionEmailRecipientTypes"/>
673
+ </xsd:sequence>
674
+ </xsd:complexType>
675
+ <xsd:simpleType name="ActionEmailRecipientTypes">
676
+ <xsd:restriction base="xsd:string">
677
+ <xsd:enumeration value="group"/>
678
+ <xsd:enumeration value="role"/>
679
+ <xsd:enumeration value="user"/>
680
+ <xsd:enumeration value="opportunityTeam"/>
681
+ <xsd:enumeration value="accountTeam"/>
682
+ <xsd:enumeration value="roleSubordinates"/>
683
+ <xsd:enumeration value="owner"/>
684
+ <xsd:enumeration value="creator"/>
685
+ <xsd:enumeration value="partnerUser"/>
686
+ <xsd:enumeration value="accountOwner"/>
687
+ <xsd:enumeration value="customerPortalUser"/>
688
+ <xsd:enumeration value="portalRole"/>
689
+ <xsd:enumeration value="portalRoleSubordinates"/>
690
+ <xsd:enumeration value="contactLookup"/>
691
+ <xsd:enumeration value="userLookup"/>
692
+ <xsd:enumeration value="roleSubordinatesInternal"/>
693
+ <xsd:enumeration value="email"/>
694
+ </xsd:restriction>
695
+ </xsd:simpleType>
696
+ <xsd:complexType name="WorkflowFieldUpdate">
697
+ <xsd:complexContent>
698
+ <xsd:extension base="tns:WorkflowAction">
699
+ <xsd:sequence>
700
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
701
+ <xsd:element name="field" type="xsd:string"/>
702
+ <xsd:element name="formula" minOccurs="0" type="xsd:string"/>
703
+ <xsd:element name="literalValue" minOccurs="0" type="xsd:string"/>
704
+ <xsd:element name="lookupValue" minOccurs="0" type="xsd:string"/>
705
+ <xsd:element name="lookupValueType" minOccurs="0" type="tns:LookupValueType"/>
706
+ <xsd:element name="notifyAssignee" type="xsd:boolean"/>
707
+ <xsd:element name="operation" type="tns:FieldUpdateOperation"/>
708
+ <xsd:element name="sourceField" minOccurs="0" type="xsd:string"/>
709
+ </xsd:sequence>
710
+ </xsd:extension>
711
+ </xsd:complexContent>
712
+ </xsd:complexType>
713
+ <xsd:simpleType name="FieldUpdateOperation">
714
+ <xsd:restriction base="xsd:string">
715
+ <xsd:enumeration value="Formula"/>
716
+ <xsd:enumeration value="Literal"/>
717
+ <xsd:enumeration value="Null"/>
718
+ <xsd:enumeration value="NextValue"/>
719
+ <xsd:enumeration value="PreviousValue"/>
720
+ <xsd:enumeration value="LookupValue"/>
721
+ </xsd:restriction>
722
+ </xsd:simpleType>
723
+ <xsd:complexType name="WorkflowOutboundMessage">
724
+ <xsd:complexContent>
725
+ <xsd:extension base="tns:WorkflowAction">
726
+ <xsd:sequence>
727
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
728
+ <xsd:element name="endpointUrl" type="xsd:string"/>
729
+ <xsd:element name="fields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
730
+ <xsd:element name="includeSessionId" type="xsd:boolean"/>
731
+ <xsd:element name="integrationUser" type="xsd:string"/>
732
+ <xsd:element name="useDeadLetterQueue" minOccurs="0" type="xsd:boolean"/>
733
+ </xsd:sequence>
734
+ </xsd:extension>
735
+ </xsd:complexContent>
736
+ </xsd:complexType>
737
+ <xsd:complexType name="WorkflowRule">
738
+ <xsd:complexContent>
739
+ <xsd:extension base="tns:Metadata">
740
+ <xsd:sequence>
741
+ <xsd:element name="actions" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowActionReference"/>
742
+ <xsd:element name="active" type="xsd:boolean"/>
743
+ <xsd:element name="booleanFilter" minOccurs="0" type="xsd:string"/>
744
+ <xsd:element name="criteriaItems" minOccurs="0" maxOccurs="unbounded" type="tns:FilterItem"/>
745
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
746
+ <xsd:element name="formula" minOccurs="0" type="xsd:string"/>
747
+ <xsd:element name="triggerType" type="tns:WorkflowTriggerTypes"/>
748
+ </xsd:sequence>
749
+ </xsd:extension>
750
+ </xsd:complexContent>
751
+ </xsd:complexType>
752
+ <xsd:complexType name="WorkflowActionReference">
753
+ <xsd:sequence>
754
+ <xsd:element name="name" type="xsd:string"/>
755
+ <xsd:element name="type" type="tns:WorkflowActionType"/>
756
+ </xsd:sequence>
757
+ </xsd:complexType>
758
+ <xsd:simpleType name="WorkflowTriggerTypes">
759
+ <xsd:restriction base="xsd:string">
760
+ <xsd:enumeration value="onCreateOnly"/>
761
+ <xsd:enumeration value="onCreateOrTriggeringUpdate"/>
762
+ <xsd:enumeration value="onAllChanges"/>
763
+ </xsd:restriction>
764
+ </xsd:simpleType>
765
+ <xsd:complexType name="WorkflowTask">
766
+ <xsd:complexContent>
767
+ <xsd:extension base="tns:WorkflowAction">
768
+ <xsd:sequence>
769
+ <xsd:element name="assignedTo" minOccurs="0" type="xsd:string"/>
770
+ <xsd:element name="assignedToType" type="tns:ActionTaskAssignedToTypes"/>
771
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
772
+ <xsd:element name="dueDateOffset" type="xsd:int"/>
773
+ <xsd:element name="notifyAssignee" type="xsd:boolean"/>
774
+ <xsd:element name="offsetFromField" minOccurs="0" type="xsd:string"/>
775
+ <xsd:element name="priority" type="xsd:string"/>
776
+ <xsd:element name="status" type="xsd:string"/>
777
+ </xsd:sequence>
778
+ </xsd:extension>
779
+ </xsd:complexContent>
780
+ </xsd:complexType>
781
+ <xsd:simpleType name="ActionTaskAssignedToTypes">
782
+ <xsd:restriction base="xsd:string">
783
+ <xsd:enumeration value="user"/>
784
+ <xsd:enumeration value="role"/>
785
+ <xsd:enumeration value="opportunityTeam"/>
786
+ <xsd:enumeration value="accountTeam"/>
787
+ <xsd:enumeration value="owner"/>
788
+ <xsd:enumeration value="accountOwner"/>
789
+ <xsd:enumeration value="creator"/>
790
+ <xsd:enumeration value="accountCreator"/>
791
+ <xsd:enumeration value="partnerUser"/>
792
+ <xsd:enumeration value="portalRole"/>
793
+ </xsd:restriction>
794
+ </xsd:simpleType>
795
+ <xsd:complexType name="Profile">
796
+ <xsd:complexContent>
797
+ <xsd:extension base="tns:Metadata">
798
+ <xsd:sequence>
799
+ <xsd:element name="applicationVisibilities" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileApplicationVisibility"/>
800
+ <xsd:element name="fieldLevelSecurities" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileFieldLevelSecurity"/>
801
+ <xsd:element name="layoutAssingments" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileLayoutAssignment"/>
802
+ <xsd:element name="objectPermissions" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileObjectPermissions"/>
803
+ <xsd:element name="recordTypeVisibilities" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileRecordTypeVisibility"/>
804
+ <xsd:element name="tabVisibilities" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileTabVisibility"/>
805
+ </xsd:sequence>
806
+ </xsd:extension>
807
+ </xsd:complexContent>
808
+ </xsd:complexType>
809
+ <xsd:complexType name="ProfileApplicationVisibility">
810
+ <xsd:sequence>
811
+ <xsd:element name="application" type="xsd:string"/>
812
+ <xsd:element name="default" type="xsd:boolean"/>
813
+ <xsd:element name="visible" type="xsd:boolean"/>
814
+ </xsd:sequence>
815
+ </xsd:complexType>
816
+ <xsd:complexType name="ProfileFieldLevelSecurity">
817
+ <xsd:sequence>
818
+ <xsd:element name="editable" type="xsd:boolean"/>
819
+ <xsd:element name="field" type="xsd:string"/>
820
+ </xsd:sequence>
821
+ </xsd:complexType>
822
+ <xsd:complexType name="ProfileLayoutAssignment">
823
+ <xsd:sequence>
824
+ <xsd:element name="layout" type="xsd:string"/>
825
+ <xsd:element name="recordType" minOccurs="0" type="xsd:string"/>
826
+ </xsd:sequence>
827
+ </xsd:complexType>
828
+ <xsd:complexType name="ProfileObjectPermissions">
829
+ <xsd:sequence>
830
+ <xsd:element name="object" type="xsd:string"/>
831
+ <xsd:element name="revokeCreate" minOccurs="0" type="xsd:boolean"/>
832
+ <xsd:element name="revokeDelete" minOccurs="0" type="xsd:boolean"/>
833
+ <xsd:element name="revokeEdit" minOccurs="0" type="xsd:boolean"/>
834
+ <xsd:element name="revokeRead" minOccurs="0" type="xsd:boolean"/>
835
+ </xsd:sequence>
836
+ </xsd:complexType>
837
+ <xsd:complexType name="ProfileRecordTypeVisibility">
838
+ <xsd:sequence>
839
+ <xsd:element name="default" type="xsd:boolean"/>
840
+ <xsd:element name="recordType" type="xsd:string"/>
841
+ <xsd:element name="visible" type="xsd:boolean"/>
842
+ </xsd:sequence>
843
+ </xsd:complexType>
844
+ <xsd:complexType name="ProfileTabVisibility">
845
+ <xsd:sequence>
846
+ <xsd:element name="tab" type="xsd:string"/>
847
+ <xsd:element name="visibility" type="tns:TabVisibility"/>
848
+ </xsd:sequence>
849
+ </xsd:complexType>
850
+ <xsd:complexType name="HomePageComponent">
851
+ <xsd:complexContent>
852
+ <xsd:extension base="tns:Metadata">
853
+ <xsd:sequence>
854
+ <xsd:element name="body" minOccurs="0" type="xsd:string"/>
855
+ <xsd:element name="links" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
856
+ <xsd:element name="pageComponentType" type="tns:PageComponentType"/>
857
+ <xsd:element name="width" minOccurs="0" type="tns:PageComponentWidth"/>
858
+ </xsd:sequence>
859
+ </xsd:extension>
860
+ </xsd:complexContent>
861
+ </xsd:complexType>
862
+ <xsd:complexType name="HomePageLayout">
863
+ <xsd:complexContent>
864
+ <xsd:extension base="tns:Metadata">
865
+ <xsd:sequence>
866
+ <xsd:element name="narrowComponents" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
867
+ <xsd:element name="wideComponents" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
868
+ </xsd:sequence>
869
+ </xsd:extension>
870
+ </xsd:complexContent>
871
+ </xsd:complexType>
872
+ <xsd:complexType name="ApexClass">
873
+ <xsd:complexContent>
874
+ <xsd:extension base="tns:MetadataWithContent">
875
+ <xsd:sequence>
876
+ <xsd:element name="apiVersion" type="xsd:double"/>
877
+ <xsd:element name="status" type="tns:ApexCodeUnitStatus"/>
878
+ </xsd:sequence>
879
+ </xsd:extension>
880
+ </xsd:complexContent>
881
+ </xsd:complexType>
882
+ <xsd:simpleType name="ApexCodeUnitStatus">
883
+ <xsd:restriction base="xsd:string">
884
+ <xsd:enumeration value="Inactive"/>
885
+ <xsd:enumeration value="Active"/>
886
+ <xsd:enumeration value="Deleted"/>
887
+ </xsd:restriction>
888
+ </xsd:simpleType>
889
+ <xsd:complexType name="ApexTrigger">
890
+ <xsd:complexContent>
891
+ <xsd:extension base="tns:MetadataWithContent">
892
+ <xsd:sequence>
893
+ <xsd:element name="apiVersion" type="xsd:double"/>
894
+ <xsd:element name="status" type="tns:ApexCodeUnitStatus"/>
895
+ </xsd:sequence>
896
+ </xsd:extension>
897
+ </xsd:complexContent>
898
+ </xsd:complexType>
899
+ <xsd:complexType name="Package">
900
+ <xsd:complexContent>
901
+ <xsd:extension base="tns:Metadata">
902
+ <xsd:sequence>
903
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
904
+ <xsd:element name="types" minOccurs="0" maxOccurs="unbounded" type="tns:PackageTypeMembers"/>
905
+ <xsd:element name="version" type="xsd:string"/>
906
+ </xsd:sequence>
907
+ </xsd:extension>
908
+ </xsd:complexContent>
909
+ </xsd:complexType>
910
+ <xsd:complexType name="PackageTypeMembers">
911
+ <xsd:sequence>
912
+ <xsd:element name="members" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
913
+ <xsd:element name="name" type="xsd:string"/>
914
+ </xsd:sequence>
915
+ </xsd:complexType>
916
+ <xsd:simpleType name="CustomSettingsType">
917
+ <xsd:restriction base="xsd:string">
918
+ <xsd:enumeration value="List"/>
919
+ <xsd:enumeration value="Hierarchy"/>
920
+ </xsd:restriction>
921
+ </xsd:simpleType>
922
+ <xsd:complexType name="DeployOptions">
923
+ <xsd:sequence>
924
+ <xsd:element name="allowMissingFiles" type="xsd:boolean"/>
925
+ <xsd:element name="autoUpdatePackage" type="xsd:boolean"/>
926
+ <xsd:element name="checkOnly" type="xsd:boolean"/>
927
+ <xsd:element name="performRetrieve" type="xsd:boolean"/>
928
+ <xsd:element name="rollbackOnError" type="xsd:boolean"/>
929
+ <xsd:element name="runAllTests" type="xsd:boolean"/>
930
+ <xsd:element name="runTests" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
931
+ <xsd:element name="singlePackage" type="xsd:boolean"/>
932
+ </xsd:sequence>
933
+ </xsd:complexType>
934
+ <xsd:simpleType name="DeploymentStatus">
935
+ <xsd:restriction base="xsd:string">
936
+ <xsd:enumeration value="InDevelopment"/>
937
+ <xsd:enumeration value="Deployed"/>
938
+ </xsd:restriction>
939
+ </xsd:simpleType>
940
+ <xsd:simpleType name="FieldType">
941
+ <xsd:restriction base="xsd:string">
942
+ <xsd:enumeration value="AutoNumber"/>
943
+ <xsd:enumeration value="Lookup"/>
944
+ <xsd:enumeration value="MasterDetail"/>
945
+ <xsd:enumeration value="Checkbox"/>
946
+ <xsd:enumeration value="Currency"/>
947
+ <xsd:enumeration value="Date"/>
948
+ <xsd:enumeration value="DateTime"/>
949
+ <xsd:enumeration value="Email"/>
950
+ <xsd:enumeration value="Number"/>
951
+ <xsd:enumeration value="Percent"/>
952
+ <xsd:enumeration value="Phone"/>
953
+ <xsd:enumeration value="Picklist"/>
954
+ <xsd:enumeration value="MultiselectPicklist"/>
955
+ <xsd:enumeration value="Text"/>
956
+ <xsd:enumeration value="TextArea"/>
957
+ <xsd:enumeration value="LongTextArea"/>
958
+ <xsd:enumeration value="Url"/>
959
+ <xsd:enumeration value="EncryptedText"/>
960
+ <xsd:enumeration value="Summary"/>
961
+ <xsd:enumeration value="Hierarchy"/>
962
+ </xsd:restriction>
963
+ </xsd:simpleType>
964
+ <xsd:simpleType name="FilterOperation">
965
+ <xsd:restriction base="xsd:string">
966
+ <xsd:enumeration value="equals"/>
967
+ <xsd:enumeration value="notEqual"/>
968
+ <xsd:enumeration value="lessThan"/>
969
+ <xsd:enumeration value="greaterThan"/>
970
+ <xsd:enumeration value="lessOrEqual"/>
971
+ <xsd:enumeration value="greaterOrEqual"/>
972
+ <xsd:enumeration value="contains"/>
973
+ <xsd:enumeration value="notContain"/>
974
+ <xsd:enumeration value="startsWith"/>
975
+ <xsd:enumeration value="includes"/>
976
+ <xsd:enumeration value="excludes"/>
977
+ </xsd:restriction>
978
+ </xsd:simpleType>
979
+ <xsd:complexType name="Folder">
980
+ <xsd:complexContent>
981
+ <xsd:extension base="tns:Metadata">
982
+ <xsd:sequence>
983
+ <xsd:element name="accessType" type="tns:FolderAccessTypes"/>
984
+ <xsd:element name="name" type="xsd:string"/>
985
+ <xsd:element name="publicFolderAccess" minOccurs="0" type="tns:PublicFolderAccess"/>
986
+ </xsd:sequence>
987
+ </xsd:extension>
988
+ </xsd:complexContent>
989
+ </xsd:complexType>
990
+ <xsd:complexType name="Metadata">
991
+ <xsd:sequence>
992
+ <xsd:element name="fullName" minOccurs="0" type="xsd:string"/>
993
+ </xsd:sequence>
994
+ </xsd:complexType>
995
+ <xsd:simpleType name="PublicFolderAccess">
996
+ <xsd:restriction base="xsd:string">
997
+ <xsd:enumeration value="ReadOnly"/>
998
+ <xsd:enumeration value="ReadWrite"/>
999
+ </xsd:restriction>
1000
+ </xsd:simpleType>
1001
+ <xsd:simpleType name="Gender">
1002
+ <xsd:restriction base="xsd:string">
1003
+ <xsd:enumeration value="Neuter"/>
1004
+ <xsd:enumeration value="Masculine"/>
1005
+ <xsd:enumeration value="Feminine"/>
1006
+ </xsd:restriction>
1007
+ </xsd:simpleType>
1008
+ <xsd:simpleType name="LayoutHeader">
1009
+ <xsd:restriction base="xsd:string">
1010
+ <xsd:enumeration value="PersonalTagging"/>
1011
+ <xsd:enumeration value="PublicTagging"/>
1012
+ </xsd:restriction>
1013
+ </xsd:simpleType>
1014
+ <xsd:simpleType name="LayoutSectionStyle">
1015
+ <xsd:restriction base="xsd:string">
1016
+ <xsd:enumeration value="TwoColumnsTopToBottom"/>
1017
+ <xsd:enumeration value="TwoColumnsLeftToRight"/>
1018
+ <xsd:enumeration value="OneColumn"/>
1019
+ <xsd:enumeration value="CustomLinks"/>
1020
+ </xsd:restriction>
1021
+ </xsd:simpleType>
1022
+ <xsd:simpleType name="LetterheadHorizontalAlignment">
1023
+ <xsd:restriction base="xsd:string">
1024
+ <xsd:enumeration value="None"/>
1025
+ <xsd:enumeration value="Left"/>
1026
+ <xsd:enumeration value="Center"/>
1027
+ <xsd:enumeration value="Right"/>
1028
+ </xsd:restriction>
1029
+ </xsd:simpleType>
1030
+ <xsd:simpleType name="LetterheadVerticalAlignment">
1031
+ <xsd:restriction base="xsd:string">
1032
+ <xsd:enumeration value="None"/>
1033
+ <xsd:enumeration value="Top"/>
1034
+ <xsd:enumeration value="Middle"/>
1035
+ <xsd:enumeration value="Bottom"/>
1036
+ </xsd:restriction>
1037
+ </xsd:simpleType>
1038
+ <xsd:simpleType name="LogCategory">
1039
+ <xsd:restriction base="xsd:string">
1040
+ <xsd:enumeration value="Db"/>
1041
+ <xsd:enumeration value="Workflow"/>
1042
+ <xsd:enumeration value="Validation"/>
1043
+ <xsd:enumeration value="Callout"/>
1044
+ <xsd:enumeration value="Apex_code"/>
1045
+ <xsd:enumeration value="Apex_profiling"/>
1046
+ <xsd:enumeration value="All"/>
1047
+ </xsd:restriction>
1048
+ </xsd:simpleType>
1049
+ <xsd:simpleType name="LogCategoryLevel">
1050
+ <xsd:restriction base="xsd:string">
1051
+ <xsd:enumeration value="Internal"/>
1052
+ <xsd:enumeration value="Finest"/>
1053
+ <xsd:enumeration value="Finer"/>
1054
+ <xsd:enumeration value="Fine"/>
1055
+ <xsd:enumeration value="Debug"/>
1056
+ <xsd:enumeration value="Info"/>
1057
+ <xsd:enumeration value="Warn"/>
1058
+ <xsd:enumeration value="Error"/>
1059
+ </xsd:restriction>
1060
+ </xsd:simpleType>
1061
+ <xsd:complexType name="LogInfo">
1062
+ <xsd:sequence>
1063
+ <xsd:element name="category" type="tns:LogCategory"/>
1064
+ <xsd:element name="level" type="tns:LogCategoryLevel"/>
1065
+ </xsd:sequence>
1066
+ </xsd:complexType>
1067
+ <xsd:simpleType name="LogType">
1068
+ <xsd:restriction base="xsd:string">
1069
+ <xsd:enumeration value="None"/>
1070
+ <xsd:enumeration value="Debugonly"/>
1071
+ <xsd:enumeration value="Db"/>
1072
+ <xsd:enumeration value="Profiling"/>
1073
+ <xsd:enumeration value="Callout"/>
1074
+ <xsd:enumeration value="Detail"/>
1075
+ </xsd:restriction>
1076
+ </xsd:simpleType>
1077
+ <xsd:simpleType name="LookupValueType">
1078
+ <xsd:restriction base="xsd:string">
1079
+ <xsd:enumeration value="User"/>
1080
+ <xsd:enumeration value="Queue"/>
1081
+ <xsd:enumeration value="RecordType"/>
1082
+ </xsd:restriction>
1083
+ </xsd:simpleType>
1084
+ <xsd:complexType name="MetadataWithContent">
1085
+ <xsd:complexContent>
1086
+ <xsd:extension base="tns:Metadata">
1087
+ <xsd:sequence>
1088
+ <xsd:element name="content" minOccurs="0" type="xsd:base64Binary"/>
1089
+ </xsd:sequence>
1090
+ </xsd:extension>
1091
+ </xsd:complexContent>
1092
+ </xsd:complexType>
1093
+ <xsd:simpleType name="PageComponentType">
1094
+ <xsd:restriction base="xsd:string">
1095
+ <xsd:enumeration value="links"/>
1096
+ <xsd:enumeration value="htmlArea"/>
1097
+ <xsd:enumeration value="imageOrNote"/>
1098
+ </xsd:restriction>
1099
+ </xsd:simpleType>
1100
+ <xsd:simpleType name="PageComponentWidth">
1101
+ <xsd:restriction base="xsd:string">
1102
+ <xsd:enumeration value="narrow"/>
1103
+ <xsd:enumeration value="wide"/>
1104
+ </xsd:restriction>
1105
+ </xsd:simpleType>
1106
+ <xsd:complexType name="RetrieveRequest">
1107
+ <xsd:sequence>
1108
+ <xsd:element name="apiVersion" type="xsd:double"/>
1109
+ <xsd:element name="packageNames" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
1110
+ <xsd:element name="singlePackage" type="xsd:boolean"/>
1111
+ <xsd:element name="specificFiles" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
1112
+ <xsd:element name="unpackaged" minOccurs="0" type="tns:Package"/>
1113
+ </xsd:sequence>
1114
+ </xsd:complexType>
1115
+ <xsd:simpleType name="SharingModel">
1116
+ <xsd:restriction base="xsd:string">
1117
+ <xsd:enumeration value="Private"/>
1118
+ <xsd:enumeration value="Read"/>
1119
+ <xsd:enumeration value="ReadWrite"/>
1120
+ <xsd:enumeration value="ReadWriteTransfer"/>
1121
+ <xsd:enumeration value="FullAccess"/>
1122
+ <xsd:enumeration value="ControlledByParent"/>
1123
+ </xsd:restriction>
1124
+ </xsd:simpleType>
1125
+ <xsd:simpleType name="SortOrder">
1126
+ <xsd:restriction base="xsd:string">
1127
+ <xsd:enumeration value="Asc"/>
1128
+ <xsd:enumeration value="Desc"/>
1129
+ </xsd:restriction>
1130
+ </xsd:simpleType>
1131
+ <xsd:simpleType name="StartsWith">
1132
+ <xsd:restriction base="xsd:string">
1133
+ <xsd:enumeration value="Consonant"/>
1134
+ <xsd:enumeration value="Vowel"/>
1135
+ <xsd:enumeration value="Special"/>
1136
+ </xsd:restriction>
1137
+ </xsd:simpleType>
1138
+ <xsd:simpleType name="TabVisibility">
1139
+ <xsd:restriction base="xsd:string">
1140
+ <xsd:enumeration value="Hidden"/>
1141
+ <xsd:enumeration value="DefaultOff"/>
1142
+ <xsd:enumeration value="DefaultOn"/>
1143
+ </xsd:restriction>
1144
+ </xsd:simpleType>
1145
+ <xsd:simpleType name="TreatBlanksAs">
1146
+ <xsd:restriction base="xsd:string">
1147
+ <xsd:enumeration value="BlankAsBlank"/>
1148
+ <xsd:enumeration value="BlankAsZero"/>
1149
+ </xsd:restriction>
1150
+ </xsd:simpleType>
1151
+ <xsd:simpleType name="UiBehavior">
1152
+ <xsd:restriction base="xsd:string">
1153
+ <xsd:enumeration value="Edit"/>
1154
+ <xsd:enumeration value="Required"/>
1155
+ <xsd:enumeration value="Readonly"/>
1156
+ </xsd:restriction>
1157
+ </xsd:simpleType>
1158
+ <xsd:complexType name="UpdateMetadata">
1159
+ <xsd:sequence>
1160
+ <xsd:element name="currentName" type="xsd:string"/>
1161
+ <xsd:element name="metadata" type="tns:Metadata"/>
1162
+ </xsd:sequence>
1163
+ </xsd:complexType>
1164
+ <xsd:simpleType name="WebLinkDisplayType">
1165
+ <xsd:restriction base="xsd:string">
1166
+ <xsd:enumeration value="link"/>
1167
+ <xsd:enumeration value="button"/>
1168
+ <xsd:enumeration value="massActionButton"/>
1169
+ </xsd:restriction>
1170
+ </xsd:simpleType>
1171
+ <xsd:simpleType name="WebLinkPosition">
1172
+ <xsd:restriction base="xsd:string">
1173
+ <xsd:enumeration value="fullScreen"/>
1174
+ <xsd:enumeration value="none"/>
1175
+ <xsd:enumeration value="topLeft"/>
1176
+ </xsd:restriction>
1177
+ </xsd:simpleType>
1178
+ <xsd:simpleType name="WebLinkWindowType">
1179
+ <xsd:restriction base="xsd:string">
1180
+ <xsd:enumeration value="newWindow"/>
1181
+ <xsd:enumeration value="sidebar"/>
1182
+ <xsd:enumeration value="noSidebar"/>
1183
+ <xsd:enumeration value="replace"/>
1184
+ <xsd:enumeration value="onClickJavaScript"/>
1185
+ </xsd:restriction>
1186
+ </xsd:simpleType>
1187
+ <xsd:complexType name="WorkflowAction">
1188
+ <xsd:complexContent>
1189
+ <xsd:extension base="tns:Metadata">
1190
+ <xsd:sequence/>
1191
+ </xsd:extension>
1192
+ </xsd:complexContent>
1193
+ </xsd:complexType>
1194
+ <xsd:simpleType name="WorkflowActionType">
1195
+ <xsd:restriction base="xsd:string">
1196
+ <xsd:enumeration value="Task"/>
1197
+ <xsd:enumeration value="Alert"/>
1198
+ <xsd:enumeration value="FieldUpdate"/>
1199
+ <xsd:enumeration value="OutboundMessage"/>
1200
+ </xsd:restriction>
1201
+ </xsd:simpleType>
1202
+ <xsd:element name="SessionHeader">
1203
+ <xsd:complexType>
1204
+ <xsd:sequence>
1205
+ <xsd:element name="sessionId" type="xsd:string"/>
1206
+ </xsd:sequence>
1207
+ </xsd:complexType>
1208
+ </xsd:element>
1209
+ <xsd:element name="DebuggingHeader">
1210
+ <xsd:complexType>
1211
+ <xsd:sequence>
1212
+ <xsd:element name="categories" minOccurs="0" maxOccurs="unbounded" type="tns:LogInfo"/>
1213
+ <xsd:element name="debugLevel" type="tns:LogType"/>
1214
+ </xsd:sequence>
1215
+ </xsd:complexType>
1216
+ </xsd:element>
1217
+ <xsd:element name="CallOptions">
1218
+ <xsd:complexType>
1219
+ <xsd:sequence>
1220
+ <xsd:element name="client" type="xsd:string"/>
1221
+ </xsd:sequence>
1222
+ </xsd:complexType>
1223
+ </xsd:element>
1224
+ <xsd:simpleType name="ID">
1225
+ <xsd:restriction base="xsd:string">
1226
+ <xsd:length value="18"/>
1227
+ <xsd:pattern value="[a-zA-Z0-9]{18}"/>
1228
+ </xsd:restriction>
1229
+ </xsd:simpleType>
1230
+ <xsd:simpleType name="StatusCode">
1231
+ <xsd:restriction base="xsd:string">
1232
+ <xsd:enumeration value="ALREADY_IN_PROCESS"/>
1233
+ <xsd:enumeration value="ASSIGNEE_TYPE_REQUIRED"/>
1234
+ <xsd:enumeration value="BAD_CUSTOM_ENTITY_PARENT_DOMAIN"/>
1235
+ <xsd:enumeration value="BCC_NOT_ALLOWED_IF_BCC_COMPLIANCE_ENABLED"/>
1236
+ <xsd:enumeration value="CANNOT_CASCADE_PRODUCT_ACTIVE"/>
1237
+ <xsd:enumeration value="CANNOT_CHANGE_FIELD_TYPE_OF_APEX_REFERENCED_FIELD"/>
1238
+ <xsd:enumeration value="CANNOT_CREATE_ANOTHER_MANAGED_PACKAGE"/>
1239
+ <xsd:enumeration value="CANNOT_DEACTIVATE_DIVISION"/>
1240
+ <xsd:enumeration value="CANNOT_DELETE_LAST_DATED_CONVERSION_RATE"/>
1241
+ <xsd:enumeration value="CANNOT_DELETE_MANAGED_OBJECT"/>
1242
+ <xsd:enumeration value="CANNOT_DISABLE_LAST_ADMIN"/>
1243
+ <xsd:enumeration value="CANNOT_ENABLE_IP_RESTRICT_REQUESTS"/>
1244
+ <xsd:enumeration value="CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY"/>
1245
+ <xsd:enumeration value="CANNOT_MODIFY_MANAGED_OBJECT"/>
1246
+ <xsd:enumeration value="CANNOT_RENAME_APEX_REFERENCED_FIELD"/>
1247
+ <xsd:enumeration value="CANNOT_RENAME_APEX_REFERENCED_OBJECT"/>
1248
+ <xsd:enumeration value="CANNOT_REPARENT_RECORD"/>
1249
+ <xsd:enumeration value="CANNOT_UPDATE_CONVERTED_LEAD"/>
1250
+ <xsd:enumeration value="CANT_DISABLE_CORP_CURRENCY"/>
1251
+ <xsd:enumeration value="CANT_UNSET_CORP_CURRENCY"/>
1252
+ <xsd:enumeration value="CHILD_SHARE_FAILS_PARENT"/>
1253
+ <xsd:enumeration value="CIRCULAR_DEPENDENCY"/>
1254
+ <xsd:enumeration value="CUSTOM_CLOB_FIELD_LIMIT_EXCEEDED"/>
1255
+ <xsd:enumeration value="CUSTOM_ENTITY_OR_FIELD_LIMIT"/>
1256
+ <xsd:enumeration value="CUSTOM_FIELD_INDEX_LIMIT_EXCEEDED"/>
1257
+ <xsd:enumeration value="CUSTOM_INDEX_EXISTS"/>
1258
+ <xsd:enumeration value="CUSTOM_LINK_LIMIT_EXCEEDED"/>
1259
+ <xsd:enumeration value="CUSTOM_TAB_LIMIT_EXCEEDED"/>
1260
+ <xsd:enumeration value="DELETE_FAILED"/>
1261
+ <xsd:enumeration value="DELETE_REQUIRED_ON_CASCADE"/>
1262
+ <xsd:enumeration value="DEPENDENCY_EXISTS"/>
1263
+ <xsd:enumeration value="DUPLICATE_CASE_SOLUTION"/>
1264
+ <xsd:enumeration value="DUPLICATE_CUSTOM_ENTITY_DEFINITION"/>
1265
+ <xsd:enumeration value="DUPLICATE_CUSTOM_TAB_MOTIF"/>
1266
+ <xsd:enumeration value="DUPLICATE_DEVELOPER_NAME"/>
1267
+ <xsd:enumeration value="DUPLICATE_EXTERNAL_ID"/>
1268
+ <xsd:enumeration value="DUPLICATE_MASTER_LABEL"/>
1269
+ <xsd:enumeration value="DUPLICATE_USERNAME"/>
1270
+ <xsd:enumeration value="DUPLICATE_VALUE"/>
1271
+ <xsd:enumeration value="EMAIL_NOT_PROCESSED_DUE_TO_PRIOR_ERROR"/>
1272
+ <xsd:enumeration value="EMPTY_SCONTROL_FILE_NAME"/>
1273
+ <xsd:enumeration value="ENTITY_FAILED_IFLASTMODIFIED_ON_UPDATE"/>
1274
+ <xsd:enumeration value="ENTITY_IS_ARCHIVED"/>
1275
+ <xsd:enumeration value="ENTITY_IS_DELETED"/>
1276
+ <xsd:enumeration value="ENTITY_IS_LOCKED"/>
1277
+ <xsd:enumeration value="ERROR_IN_MAILER"/>
1278
+ <xsd:enumeration value="FAILED_ACTIVATION"/>
1279
+ <xsd:enumeration value="FIELD_CUSTOM_VALIDATION_EXCEPTION"/>
1280
+ <xsd:enumeration value="FIELD_INTEGRITY_EXCEPTION"/>
1281
+ <xsd:enumeration value="HTML_FILE_UPLOAD_NOT_ALLOWED"/>
1282
+ <xsd:enumeration value="IMAGE_TOO_LARGE"/>
1283
+ <xsd:enumeration value="INACTIVE_OWNER_OR_USER"/>
1284
+ <xsd:enumeration value="INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY"/>
1285
+ <xsd:enumeration value="INSUFFICIENT_ACCESS_OR_READONLY"/>
1286
+ <xsd:enumeration value="INVALID_ACCESS_LEVEL"/>
1287
+ <xsd:enumeration value="INVALID_ARGUMENT_TYPE"/>
1288
+ <xsd:enumeration value="INVALID_ASSIGNEE_TYPE"/>
1289
+ <xsd:enumeration value="INVALID_ASSIGNMENT_RULE"/>
1290
+ <xsd:enumeration value="INVALID_BATCH_OPERATION"/>
1291
+ <xsd:enumeration value="INVALID_CREDIT_CARD_INFO"/>
1292
+ <xsd:enumeration value="INVALID_CROSS_REFERENCE_KEY"/>
1293
+ <xsd:enumeration value="INVALID_CROSS_REFERENCE_TYPE_FOR_FIELD"/>
1294
+ <xsd:enumeration value="INVALID_CURRENCY_CONV_RATE"/>
1295
+ <xsd:enumeration value="INVALID_CURRENCY_CORP_RATE"/>
1296
+ <xsd:enumeration value="INVALID_CURRENCY_ISO"/>
1297
+ <xsd:enumeration value="INVALID_EMAIL_ADDRESS"/>
1298
+ <xsd:enumeration value="INVALID_EMPTY_KEY_OWNER"/>
1299
+ <xsd:enumeration value="INVALID_FIELD"/>
1300
+ <xsd:enumeration value="INVALID_FIELD_FOR_INSERT_UPDATE"/>
1301
+ <xsd:enumeration value="INVALID_FIELD_WHEN_USING_TEMPLATE"/>
1302
+ <xsd:enumeration value="INVALID_FILTER_ACTION"/>
1303
+ <xsd:enumeration value="INVALID_GOOGLE_DOCS_URL"/>
1304
+ <xsd:enumeration value="INVALID_ID_FIELD"/>
1305
+ <xsd:enumeration value="INVALID_INET_ADDRESS"/>
1306
+ <xsd:enumeration value="INVALID_LINEITEM_CLONE_STATE"/>
1307
+ <xsd:enumeration value="INVALID_MASTER_OR_TRANSLATED_SOLUTION"/>
1308
+ <xsd:enumeration value="INVALID_OPERATION"/>
1309
+ <xsd:enumeration value="INVALID_OPERATOR"/>
1310
+ <xsd:enumeration value="INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST"/>
1311
+ <xsd:enumeration value="INVALID_PARTNER_NETWORK_STATUS"/>
1312
+ <xsd:enumeration value="INVALID_PERSON_ACCOUNT_OPERATION"/>
1313
+ <xsd:enumeration value="INVALID_SAVE_AS_ACTIVITY_FLAG"/>
1314
+ <xsd:enumeration value="INVALID_SESSION_ID"/>
1315
+ <xsd:enumeration value="INVALID_SETUP_OWNER"/>
1316
+ <xsd:enumeration value="INVALID_STATUS"/>
1317
+ <xsd:enumeration value="INVALID_TYPE"/>
1318
+ <xsd:enumeration value="INVALID_TYPE_FOR_OPERATION"/>
1319
+ <xsd:enumeration value="INVALID_TYPE_ON_FIELD_IN_RECORD"/>
1320
+ <xsd:enumeration value="IP_RANGE_LIMIT_EXCEEDED"/>
1321
+ <xsd:enumeration value="LICENSE_LIMIT_EXCEEDED"/>
1322
+ <xsd:enumeration value="LIMIT_EXCEEDED"/>
1323
+ <xsd:enumeration value="MALFORMED_ID"/>
1324
+ <xsd:enumeration value="MANAGER_NOT_DEFINED"/>
1325
+ <xsd:enumeration value="MASSMAIL_RETRY_LIMIT_EXCEEDED"/>
1326
+ <xsd:enumeration value="MASS_MAIL_LIMIT_EXCEEDED"/>
1327
+ <xsd:enumeration value="MAXIMUM_CCEMAILS_EXCEEDED"/>
1328
+ <xsd:enumeration value="MAXIMUM_DASHBOARD_COMPONENTS_EXCEEDED"/>
1329
+ <xsd:enumeration value="MAXIMUM_HIERARCHY_LEVELS_REACHED"/>
1330
+ <xsd:enumeration value="MAXIMUM_SIZE_OF_ATTACHMENT"/>
1331
+ <xsd:enumeration value="MAXIMUM_SIZE_OF_DOCUMENT"/>
1332
+ <xsd:enumeration value="MAX_ACTIONS_PER_RULE_EXCEEDED"/>
1333
+ <xsd:enumeration value="MAX_ACTIVE_RULES_EXCEEDED"/>
1334
+ <xsd:enumeration value="MAX_APPROVAL_STEPS_EXCEEDED"/>
1335
+ <xsd:enumeration value="MAX_FORMULAS_PER_RULE_EXCEEDED"/>
1336
+ <xsd:enumeration value="MAX_RULES_EXCEEDED"/>
1337
+ <xsd:enumeration value="MAX_RULE_ENTRIES_EXCEEDED"/>
1338
+ <xsd:enumeration value="MAX_TASK_DESCRIPTION_EXCEEEDED"/>
1339
+ <xsd:enumeration value="MAX_TM_RULES_EXCEEDED"/>
1340
+ <xsd:enumeration value="MAX_TM_RULE_ITEMS_EXCEEDED"/>
1341
+ <xsd:enumeration value="MERGE_FAILED"/>
1342
+ <xsd:enumeration value="MISSING_ARGUMENT"/>
1343
+ <xsd:enumeration value="MIXED_DML_OPERATION"/>
1344
+ <xsd:enumeration value="NONUNIQUE_SHIPPING_ADDRESS"/>
1345
+ <xsd:enumeration value="NO_APPLICABLE_PROCESS"/>
1346
+ <xsd:enumeration value="NO_ATTACHMENT_PERMISSION"/>
1347
+ <xsd:enumeration value="NO_MASS_MAIL_PERMISSION"/>
1348
+ <xsd:enumeration value="NUMBER_OUTSIDE_VALID_RANGE"/>
1349
+ <xsd:enumeration value="NUM_HISTORY_FIELDS_BY_SOBJECT_EXCEEDED"/>
1350
+ <xsd:enumeration value="OPTED_OUT_OF_MASS_MAIL"/>
1351
+ <xsd:enumeration value="PACKAGE_LICENSE_REQUIRED"/>
1352
+ <xsd:enumeration value="PORTAL_USER_ALREADY_EXISTS_FOR_CONTACT"/>
1353
+ <xsd:enumeration value="PRIVATE_CONTACT_ON_ASSET"/>
1354
+ <xsd:enumeration value="RECORD_IN_USE_BY_WORKFLOW"/>
1355
+ <xsd:enumeration value="REQUEST_RUNNING_TOO_LONG"/>
1356
+ <xsd:enumeration value="REQUIRED_FIELD_MISSING"/>
1357
+ <xsd:enumeration value="SELF_REFERENCE_FROM_TRIGGER"/>
1358
+ <xsd:enumeration value="SHARE_NEEDED_FOR_CHILD_OWNER"/>
1359
+ <xsd:enumeration value="STANDARD_PRICE_NOT_DEFINED"/>
1360
+ <xsd:enumeration value="STORAGE_LIMIT_EXCEEDED"/>
1361
+ <xsd:enumeration value="STRING_TOO_LONG"/>
1362
+ <xsd:enumeration value="TABSET_LIMIT_EXCEEDED"/>
1363
+ <xsd:enumeration value="TEMPLATE_NOT_ACTIVE"/>
1364
+ <xsd:enumeration value="TERRITORY_REALIGN_IN_PROGRESS"/>
1365
+ <xsd:enumeration value="TEXT_DATA_OUTSIDE_SUPPORTED_CHARSET"/>
1366
+ <xsd:enumeration value="TOO_MANY_APEX_REQUESTS"/>
1367
+ <xsd:enumeration value="TOO_MANY_ENUM_VALUE"/>
1368
+ <xsd:enumeration value="TRANSFER_REQUIRES_READ"/>
1369
+ <xsd:enumeration value="UNABLE_TO_LOCK_ROW"/>
1370
+ <xsd:enumeration value="UNAVAILABLE_RECORDTYPE_EXCEPTION"/>
1371
+ <xsd:enumeration value="UNDELETE_FAILED"/>
1372
+ <xsd:enumeration value="UNKNOWN_EXCEPTION"/>
1373
+ <xsd:enumeration value="UNSPECIFIED_EMAIL_ADDRESS"/>
1374
+ <xsd:enumeration value="UNSUPPORTED_APEX_TRIGGER_OPERATON"/>
1375
+ <xsd:enumeration value="WEBLINK_SIZE_LIMIT_EXCEEDED"/>
1376
+ </xsd:restriction>
1377
+ </xsd:simpleType>
1378
+ <xsd:element name="checkDeployStatus">
1379
+ <xsd:complexType>
1380
+ <xsd:sequence>
1381
+ <xsd:element name="asyncProcessId" type="tns:ID"/>
1382
+ </xsd:sequence>
1383
+ </xsd:complexType>
1384
+ </xsd:element>
1385
+ <xsd:element name="checkDeployStatusResponse">
1386
+ <xsd:complexType>
1387
+ <xsd:sequence>
1388
+ <xsd:element name="result" type="tns:DeployResult"/>
1389
+ </xsd:sequence>
1390
+ </xsd:complexType>
1391
+ </xsd:element>
1392
+ <xsd:element name="checkRetrieveStatus">
1393
+ <xsd:complexType>
1394
+ <xsd:sequence>
1395
+ <xsd:element name="asyncProcessId" type="tns:ID"/>
1396
+ </xsd:sequence>
1397
+ </xsd:complexType>
1398
+ </xsd:element>
1399
+ <xsd:element name="checkRetrieveStatusResponse">
1400
+ <xsd:complexType>
1401
+ <xsd:sequence>
1402
+ <xsd:element name="result" type="tns:RetrieveResult"/>
1403
+ </xsd:sequence>
1404
+ </xsd:complexType>
1405
+ </xsd:element>
1406
+ <xsd:element name="checkStatus">
1407
+ <xsd:complexType>
1408
+ <xsd:sequence>
1409
+ <xsd:element name="asyncProcessId" minOccurs="0" maxOccurs="unbounded" type="tns:ID"/>
1410
+ </xsd:sequence>
1411
+ </xsd:complexType>
1412
+ </xsd:element>
1413
+ <xsd:element name="checkStatusResponse">
1414
+ <xsd:complexType>
1415
+ <xsd:sequence>
1416
+ <xsd:element name="result" minOccurs="0" maxOccurs="unbounded" type="tns:AsyncResult"/>
1417
+ </xsd:sequence>
1418
+ </xsd:complexType>
1419
+ </xsd:element>
1420
+ <xsd:element name="create">
1421
+ <xsd:complexType>
1422
+ <xsd:sequence>
1423
+ <xsd:element name="metadata" minOccurs="0" maxOccurs="unbounded" type="tns:Metadata"/>
1424
+ </xsd:sequence>
1425
+ </xsd:complexType>
1426
+ </xsd:element>
1427
+ <xsd:element name="createResponse">
1428
+ <xsd:complexType>
1429
+ <xsd:sequence>
1430
+ <xsd:element name="result" minOccurs="0" maxOccurs="unbounded" type="tns:AsyncResult"/>
1431
+ </xsd:sequence>
1432
+ </xsd:complexType>
1433
+ </xsd:element>
1434
+ <xsd:element name="delete">
1435
+ <xsd:complexType>
1436
+ <xsd:sequence>
1437
+ <xsd:element name="metadata" minOccurs="0" maxOccurs="unbounded" type="tns:Metadata"/>
1438
+ </xsd:sequence>
1439
+ </xsd:complexType>
1440
+ </xsd:element>
1441
+ <xsd:element name="deleteResponse">
1442
+ <xsd:complexType>
1443
+ <xsd:sequence>
1444
+ <xsd:element name="result" minOccurs="0" maxOccurs="unbounded" type="tns:AsyncResult"/>
1445
+ </xsd:sequence>
1446
+ </xsd:complexType>
1447
+ </xsd:element>
1448
+ <xsd:element name="deploy">
1449
+ <xsd:complexType>
1450
+ <xsd:sequence>
1451
+ <xsd:element name="ZipFile" type="xsd:base64Binary"/>
1452
+ <xsd:element name="DeployOptions" type="tns:DeployOptions"/>
1453
+ </xsd:sequence>
1454
+ </xsd:complexType>
1455
+ </xsd:element>
1456
+ <xsd:element name="deployResponse">
1457
+ <xsd:complexType>
1458
+ <xsd:sequence>
1459
+ <xsd:element name="result" type="tns:AsyncResult"/>
1460
+ </xsd:sequence>
1461
+ </xsd:complexType>
1462
+ </xsd:element>
1463
+ <xsd:element name="describeMetadata">
1464
+ <xsd:complexType>
1465
+ <xsd:sequence>
1466
+ <xsd:element name="asOfVersion" type="xsd:double"/>
1467
+ </xsd:sequence>
1468
+ </xsd:complexType>
1469
+ </xsd:element>
1470
+ <xsd:element name="describeMetadataResponse">
1471
+ <xsd:complexType>
1472
+ <xsd:sequence>
1473
+ <xsd:element name="result" type="tns:DescribeMetadataResult"/>
1474
+ </xsd:sequence>
1475
+ </xsd:complexType>
1476
+ </xsd:element>
1477
+ <xsd:element name="retrieve">
1478
+ <xsd:complexType>
1479
+ <xsd:sequence>
1480
+ <xsd:element name="retrieveRequest" type="tns:RetrieveRequest"/>
1481
+ </xsd:sequence>
1482
+ </xsd:complexType>
1483
+ </xsd:element>
1484
+ <xsd:element name="retrieveResponse">
1485
+ <xsd:complexType>
1486
+ <xsd:sequence>
1487
+ <xsd:element name="result" type="tns:AsyncResult"/>
1488
+ </xsd:sequence>
1489
+ </xsd:complexType>
1490
+ </xsd:element>
1491
+ <xsd:element name="update">
1492
+ <xsd:complexType>
1493
+ <xsd:sequence>
1494
+ <xsd:element name="UpdateMetadata" minOccurs="0" maxOccurs="unbounded" type="tns:UpdateMetadata"/>
1495
+ </xsd:sequence>
1496
+ </xsd:complexType>
1497
+ </xsd:element>
1498
+ <xsd:element name="updateResponse">
1499
+ <xsd:complexType>
1500
+ <xsd:sequence>
1501
+ <xsd:element name="result" minOccurs="0" maxOccurs="unbounded" type="tns:AsyncResult"/>
1502
+ </xsd:sequence>
1503
+ </xsd:complexType>
1504
+ </xsd:element>
1505
+ </xsd:schema>
1506
+ </types>
1507
+ <!-- Message for the header parts -->
1508
+ <message name="Header">
1509
+ <part name="CallOptions" element="tns:CallOptions"/>
1510
+ <part name="DebuggingHeader" element="tns:DebuggingHeader"/>
1511
+ <part name="DebuggingInfo" element="tns:DebuggingInfo"/>
1512
+ <part name="SessionHeader" element="tns:SessionHeader"/>
1513
+ </message>
1514
+ <!-- Operation Messages -->
1515
+ <message name="checkDeployStatusRequest">
1516
+ <part element="tns:checkDeployStatus" name="parameters"/>
1517
+ </message>
1518
+ <message name="checkDeployStatusResponse">
1519
+ <part element="tns:checkDeployStatusResponse" name="parameters"/>
1520
+ </message>
1521
+ <message name="checkRetrieveStatusRequest">
1522
+ <part element="tns:checkRetrieveStatus" name="parameters"/>
1523
+ </message>
1524
+ <message name="checkRetrieveStatusResponse">
1525
+ <part element="tns:checkRetrieveStatusResponse" name="parameters"/>
1526
+ </message>
1527
+ <message name="checkStatusRequest">
1528
+ <part element="tns:checkStatus" name="parameters"/>
1529
+ </message>
1530
+ <message name="checkStatusResponse">
1531
+ <part element="tns:checkStatusResponse" name="parameters"/>
1532
+ </message>
1533
+ <message name="createRequest">
1534
+ <part element="tns:create" name="parameters"/>
1535
+ </message>
1536
+ <message name="createResponse">
1537
+ <part element="tns:createResponse" name="parameters"/>
1538
+ </message>
1539
+ <message name="deleteRequest">
1540
+ <part element="tns:delete" name="parameters"/>
1541
+ </message>
1542
+ <message name="deleteResponse">
1543
+ <part element="tns:deleteResponse" name="parameters"/>
1544
+ </message>
1545
+ <message name="deployRequest">
1546
+ <part element="tns:deploy" name="parameters"/>
1547
+ </message>
1548
+ <message name="deployResponse">
1549
+ <part element="tns:deployResponse" name="parameters"/>
1550
+ </message>
1551
+ <message name="describeMetadataRequest">
1552
+ <part element="tns:describeMetadata" name="parameters"/>
1553
+ </message>
1554
+ <message name="describeMetadataResponse">
1555
+ <part element="tns:describeMetadataResponse" name="parameters"/>
1556
+ </message>
1557
+ <message name="retrieveRequest">
1558
+ <part element="tns:retrieve" name="parameters"/>
1559
+ </message>
1560
+ <message name="retrieveResponse">
1561
+ <part element="tns:retrieveResponse" name="parameters"/>
1562
+ </message>
1563
+ <message name="updateRequest">
1564
+ <part element="tns:update" name="parameters"/>
1565
+ </message>
1566
+ <message name="updateResponse">
1567
+ <part element="tns:updateResponse" name="parameters"/>
1568
+ </message>
1569
+ <portType name="MetadataPortType">
1570
+ <operation name="checkDeployStatus">
1571
+ <documentation>Check the current status of an asyncronous deploy call.</documentation>
1572
+ <input message="tns:checkDeployStatusRequest"/>
1573
+ <output message="tns:checkDeployStatusResponse"/>
1574
+ </operation>
1575
+ <operation name="checkRetrieveStatus">
1576
+ <documentation>Check the current status of an asyncronous deploy call.</documentation>
1577
+ <input message="tns:checkRetrieveStatusRequest"/>
1578
+ <output message="tns:checkRetrieveStatusResponse"/>
1579
+ </operation>
1580
+ <operation name="checkStatus">
1581
+ <documentation>Check the current status of an asyncronous call.</documentation>
1582
+ <input message="tns:checkStatusRequest"/>
1583
+ <output message="tns:checkStatusResponse"/>
1584
+ </operation>
1585
+ <operation name="create">
1586
+ <documentation>Creates new metadata entries asyncronously.</documentation>
1587
+ <input message="tns:createRequest"/>
1588
+ <output message="tns:createResponse"/>
1589
+ </operation>
1590
+ <operation name="delete">
1591
+ <documentation>Deletes metadata entries asyncronously.</documentation>
1592
+ <input message="tns:deleteRequest"/>
1593
+ <output message="tns:deleteResponse"/>
1594
+ </operation>
1595
+ <operation name="deploy">
1596
+ <documentation>Deploys a zipfile full of metadata entries asynchronously.</documentation>
1597
+ <input message="tns:deployRequest"/>
1598
+ <output message="tns:deployResponse"/>
1599
+ </operation>
1600
+ <operation name="describeMetadata">
1601
+ <documentation>Describes features of the metadata API.</documentation>
1602
+ <input message="tns:describeMetadataRequest"/>
1603
+ <output message="tns:describeMetadataResponse"/>
1604
+ </operation>
1605
+ <operation name="retrieve">
1606
+ <documentation>Retrieves a set of individually specified metadata entries.</documentation>
1607
+ <input message="tns:retrieveRequest"/>
1608
+ <output message="tns:retrieveResponse"/>
1609
+ </operation>
1610
+ <operation name="update">
1611
+ <documentation>Updates metadata entries asyncronously.</documentation>
1612
+ <input message="tns:updateRequest"/>
1613
+ <output message="tns:updateResponse"/>
1614
+ </operation>
1615
+ </portType>
1616
+ <binding name="MetadataBinding" type="tns:MetadataPortType">
1617
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
1618
+ <operation name="checkDeployStatus">
1619
+ <soap:operation soapAction=""/>
1620
+ <input>
1621
+ <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
1622
+ <soap:header use="literal" part="CallOptions" message="tns:Header"/>
1623
+ <soap:body use="literal" parts="parameters"/>
1624
+ </input>
1625
+ <output>
1626
+ <soap:header use="literal" part="DebuggingInfo" message="tns:Header"/>
1627
+ <soap:body use="literal"/>
1628
+ </output>
1629
+ </operation>
1630
+ <operation name="checkRetrieveStatus">
1631
+ <soap:operation soapAction=""/>
1632
+ <input>
1633
+ <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
1634
+ <soap:header use="literal" part="CallOptions" message="tns:Header"/>
1635
+ <soap:body use="literal" parts="parameters"/>
1636
+ </input>
1637
+ <output>
1638
+ <soap:body use="literal"/>
1639
+ </output>
1640
+ </operation>
1641
+ <operation name="checkStatus">
1642
+ <soap:operation soapAction=""/>
1643
+ <input>
1644
+ <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
1645
+ <soap:header use="literal" part="CallOptions" message="tns:Header"/>
1646
+ <soap:body use="literal" parts="parameters"/>
1647
+ </input>
1648
+ <output>
1649
+ <soap:body use="literal"/>
1650
+ </output>
1651
+ </operation>
1652
+ <operation name="create">
1653
+ <soap:operation soapAction=""/>
1654
+ <input>
1655
+ <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
1656
+ <soap:header use="literal" part="CallOptions" message="tns:Header"/>
1657
+ <soap:body use="literal" parts="parameters"/>
1658
+ </input>
1659
+ <output>
1660
+ <soap:body use="literal"/>
1661
+ </output>
1662
+ </operation>
1663
+ <operation name="delete">
1664
+ <soap:operation soapAction=""/>
1665
+ <input>
1666
+ <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
1667
+ <soap:header use="literal" part="CallOptions" message="tns:Header"/>
1668
+ <soap:body use="literal" parts="parameters"/>
1669
+ </input>
1670
+ <output>
1671
+ <soap:body use="literal"/>
1672
+ </output>
1673
+ </operation>
1674
+ <operation name="deploy">
1675
+ <soap:operation soapAction=""/>
1676
+ <input>
1677
+ <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
1678
+ <soap:header use="literal" part="DebuggingHeader" message="tns:Header"/>
1679
+ <soap:header use="literal" part="CallOptions" message="tns:Header"/>
1680
+ <soap:body use="literal" parts="parameters"/>
1681
+ </input>
1682
+ <output>
1683
+ <soap:body use="literal"/>
1684
+ </output>
1685
+ </operation>
1686
+ <operation name="describeMetadata">
1687
+ <soap:operation soapAction=""/>
1688
+ <input>
1689
+ <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
1690
+ <soap:header use="literal" part="CallOptions" message="tns:Header"/>
1691
+ <soap:body use="literal" parts="parameters"/>
1692
+ </input>
1693
+ <output>
1694
+ <soap:body use="literal"/>
1695
+ </output>
1696
+ </operation>
1697
+ <operation name="retrieve">
1698
+ <soap:operation soapAction=""/>
1699
+ <input>
1700
+ <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
1701
+ <soap:header use="literal" part="CallOptions" message="tns:Header"/>
1702
+ <soap:body use="literal" parts="parameters"/>
1703
+ </input>
1704
+ <output>
1705
+ <soap:body use="literal"/>
1706
+ </output>
1707
+ </operation>
1708
+ <operation name="update">
1709
+ <soap:operation soapAction=""/>
1710
+ <input>
1711
+ <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
1712
+ <soap:header use="literal" part="CallOptions" message="tns:Header"/>
1713
+ <soap:body use="literal" parts="parameters"/>
1714
+ </input>
1715
+ <output>
1716
+ <soap:body use="literal"/>
1717
+ </output>
1718
+ </operation>
1719
+ </binding>
1720
+ <service name="MetadataService">
1721
+ <documentation>Manage your Salesforce.com metadata</documentation>
1722
+ <port binding="tns:MetadataBinding" name="Metadata">
1723
+ <soap:address location="https://na5-api.salesforce.com/services/Soap/m/13.0"/>
1724
+ </port>
1725
+ </service>
1726
+ </definitions>
phptoolkit/soapclient/partner.wsdl.xml ADDED
@@ -0,0 +1,2808 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Salesforce.com Partner Web Services API Version 13.0
4
+ Generated on 2008-07-15 00:26:57 +0000.
5
+
6
+ Copyright 1999-2008 salesforce.com, inc.
7
+ All Rights Reserved
8
+ -->
9
+ <definitions targetNamespace="urn:partner.soap.sforce.com" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:fns="urn:fault.partner.soap.sforce.com" xmlns:tns="urn:partner.soap.sforce.com" xmlns:ens="urn:sobject.partner.soap.sforce.com">
10
+ <types>
11
+
12
+ <schema elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:sobject.partner.soap.sforce.com">
13
+
14
+ <import namespace="urn:partner.soap.sforce.com"/>
15
+
16
+
17
+ <!-- Dynamic sObject -->
18
+ <complexType name="sObject">
19
+ <sequence>
20
+ <element name="type" type="xsd:string"/>
21
+ <element name="fieldsToNull" type="xsd:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
22
+ <element name="Id" type="tns:ID" nillable="true"/>
23
+ <any namespace="##targetNamespace" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
24
+ </sequence>
25
+ </complexType>
26
+
27
+ </schema>
28
+
29
+ <schema elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:partner.soap.sforce.com">
30
+
31
+ <import namespace="urn:sobject.partner.soap.sforce.com"/>
32
+
33
+ <!-- Our simple ID Type -->
34
+ <simpleType name="ID">
35
+ <restriction base="xsd:string">
36
+ <length value="18"/>
37
+ <pattern value="[a-zA-Z0-9]{18}"/>
38
+ </restriction>
39
+ </simpleType>
40
+
41
+ <simpleType name="QueryLocator">
42
+ <restriction base="xsd:string"/>
43
+ </simpleType>
44
+
45
+ <!-- Shared Result Types -->
46
+ <complexType name="QueryResult">
47
+ <sequence>
48
+ <element name="done" type="xsd:boolean"/>
49
+ <element name="queryLocator" type="tns:QueryLocator" nillable="true"/>
50
+ <element name="records" type="ens:sObject" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
51
+ <element name="size" type="xsd:int"/>
52
+ </sequence>
53
+ </complexType>
54
+
55
+
56
+
57
+ <!-- Search Result -->
58
+ <complexType name="SearchResult">
59
+ <sequence>
60
+ <element name="searchRecords" minOccurs="0" maxOccurs="unbounded" type="tns:SearchRecord"/>
61
+ <element name="sforceReserved" minOccurs="0" maxOccurs="1" type="xsd:string"/>
62
+ </sequence>
63
+ </complexType>
64
+
65
+ <complexType name="SearchRecord">
66
+ <sequence>
67
+ <element name="record" type="ens:sObject"/>
68
+ </sequence>
69
+ </complexType>
70
+
71
+ <!-- GetUpdated Result -->
72
+ <complexType name="GetUpdatedResult">
73
+ <sequence>
74
+ <element name="ids" minOccurs="0" maxOccurs="unbounded" type="tns:ID"/>
75
+ <element name="latestDateCovered" type="xsd:dateTime"/>
76
+ <element name="sforceReserved" minOccurs="0" maxOccurs="1" type="xsd:string"/>
77
+ </sequence>
78
+ </complexType>
79
+
80
+ <!-- GetDeleted Result -->
81
+ <complexType name="GetDeletedResult">
82
+ <sequence>
83
+ <element name="deletedRecords" minOccurs="0" maxOccurs="unbounded" type="tns:DeletedRecord"/>
84
+ <element name="earliestDateAvailable" type="xsd:dateTime"/>
85
+ <element name="latestDateCovered" type="xsd:dateTime"/>
86
+ <element name="sforceReserved" minOccurs="0" maxOccurs="1" type="xsd:string"/>
87
+ </sequence>
88
+ </complexType>
89
+
90
+ <complexType name="DeletedRecord">
91
+ <sequence>
92
+ <element name="deletedDate" type="xsd:dateTime"/>
93
+ <element name="id" type="tns:ID"/>
94
+ </sequence>
95
+ </complexType>
96
+
97
+
98
+ <complexType name="GetServerTimestampResult">
99
+ <sequence>
100
+ <element name="timestamp" type="xsd:dateTime"/>
101
+ </sequence>
102
+ </complexType>
103
+
104
+
105
+ <!-- InvalidateSessions Result -->
106
+ <complexType name="InvalidateSessionsResult">
107
+ <sequence>
108
+ <element name="errors" type="tns:Error" minOccurs="0" maxOccurs="unbounded"/>
109
+ <element name="success" type="xsd:boolean"/>
110
+ </sequence>
111
+ </complexType>
112
+
113
+ <complexType name="SetPasswordResult">
114
+ </complexType>
115
+
116
+ <complexType name="ResetPasswordResult">
117
+ <sequence>
118
+ <element name="password" type="xsd:string"/>
119
+ </sequence>
120
+ </complexType>
121
+
122
+ <complexType name="GetUserInfoResult">
123
+ <sequence>
124
+ <element name="accessibilityMode" type="xsd:boolean"/>
125
+ <element name="currencySymbol" type="xsd:string" nillable="true"/>
126
+ <element name="orgDefaultCurrencyIsoCode" type="xsd:string" nillable="true"/>
127
+ <element name="orgHasPersonAccounts" type="xsd:boolean"/>
128
+ <element name="organizationId" type="tns:ID"/>
129
+ <element name="organizationMultiCurrency" type="xsd:boolean"/>
130
+ <element name="organizationName" type="xsd:string"/>
131
+ <element name="profileId" type="tns:ID"/>
132
+ <element name="roleId" type="tns:ID" nillable="true"/>
133
+ <element name="userDefaultCurrencyIsoCode" type="xsd:string" nillable="true"/>
134
+ <element name="userEmail" type="xsd:string"/>
135
+ <element name="userFullName" type="xsd:string"/>
136
+ <element name="userId" type="tns:ID"/>
137
+ <element name="userLanguage" type="xsd:string"/>
138
+ <element name="userLocale" type="xsd:string"/>
139
+ <element name="userName" type="xsd:string"/>
140
+ <element name="userTimeZone" type="xsd:string"/>
141
+ <element name="userType" type="xsd:string"/>
142
+ <element name="userUiSkin" type="xsd:string"/>
143
+ </sequence>
144
+ </complexType>
145
+
146
+ <complexType name="LoginResult">
147
+ <sequence>
148
+ <element name="metadataServerUrl" type="xsd:string" nillable="true"/>
149
+ <element name="passwordExpired" type="xsd:boolean"/>
150
+ <element name="sandbox" type="xsd:boolean"/>
151
+ <element name="serverUrl" type="xsd:string" nillable="true"/>
152
+ <element name="sessionId" type="xsd:string" nillable="true"/>
153
+
154
+ <element name="userId" type="tns:ID" nillable="true"/>
155
+ <element name="userInfo" type="tns:GetUserInfoResult" minOccurs="0"/>
156
+ </sequence>
157
+ </complexType>
158
+
159
+ <simpleType name="StatusCode">
160
+ <restriction base="xsd:string">
161
+ <enumeration value="ALREADY_IN_PROCESS"/>
162
+ <enumeration value="ASSIGNEE_TYPE_REQUIRED"/>
163
+ <enumeration value="BAD_CUSTOM_ENTITY_PARENT_DOMAIN"/>
164
+ <enumeration value="BCC_NOT_ALLOWED_IF_BCC_COMPLIANCE_ENABLED"/>
165
+ <enumeration value="CANNOT_CASCADE_PRODUCT_ACTIVE"/>
166
+ <enumeration value="CANNOT_CHANGE_FIELD_TYPE_OF_APEX_REFERENCED_FIELD"/>
167
+ <enumeration value="CANNOT_CREATE_ANOTHER_MANAGED_PACKAGE"/>
168
+ <enumeration value="CANNOT_DEACTIVATE_DIVISION"/>
169
+ <enumeration value="CANNOT_DELETE_LAST_DATED_CONVERSION_RATE"/>
170
+ <enumeration value="CANNOT_DELETE_MANAGED_OBJECT"/>
171
+ <enumeration value="CANNOT_DISABLE_LAST_ADMIN"/>
172
+ <enumeration value="CANNOT_ENABLE_IP_RESTRICT_REQUESTS"/>
173
+ <enumeration value="CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY"/>
174
+ <enumeration value="CANNOT_MODIFY_MANAGED_OBJECT"/>
175
+ <enumeration value="CANNOT_RENAME_APEX_REFERENCED_FIELD"/>
176
+ <enumeration value="CANNOT_RENAME_APEX_REFERENCED_OBJECT"/>
177
+ <enumeration value="CANNOT_REPARENT_RECORD"/>
178
+ <enumeration value="CANNOT_UPDATE_CONVERTED_LEAD"/>
179
+ <enumeration value="CANT_DISABLE_CORP_CURRENCY"/>
180
+ <enumeration value="CANT_UNSET_CORP_CURRENCY"/>
181
+ <enumeration value="CHILD_SHARE_FAILS_PARENT"/>
182
+ <enumeration value="CIRCULAR_DEPENDENCY"/>
183
+ <enumeration value="CUSTOM_CLOB_FIELD_LIMIT_EXCEEDED"/>
184
+ <enumeration value="CUSTOM_ENTITY_OR_FIELD_LIMIT"/>
185
+ <enumeration value="CUSTOM_FIELD_INDEX_LIMIT_EXCEEDED"/>
186
+ <enumeration value="CUSTOM_INDEX_EXISTS"/>
187
+ <enumeration value="CUSTOM_LINK_LIMIT_EXCEEDED"/>
188
+ <enumeration value="CUSTOM_TAB_LIMIT_EXCEEDED"/>
189
+ <enumeration value="DELETE_FAILED"/>
190
+ <enumeration value="DELETE_REQUIRED_ON_CASCADE"/>
191
+ <enumeration value="DEPENDENCY_EXISTS"/>
192
+ <enumeration value="DUPLICATE_CASE_SOLUTION"/>
193
+ <enumeration value="DUPLICATE_CUSTOM_ENTITY_DEFINITION"/>
194
+ <enumeration value="DUPLICATE_CUSTOM_TAB_MOTIF"/>
195
+ <enumeration value="DUPLICATE_DEVELOPER_NAME"/>
196
+ <enumeration value="DUPLICATE_EXTERNAL_ID"/>
197
+ <enumeration value="DUPLICATE_MASTER_LABEL"/>
198
+ <enumeration value="DUPLICATE_USERNAME"/>
199
+ <enumeration value="DUPLICATE_VALUE"/>
200
+ <enumeration value="EMAIL_NOT_PROCESSED_DUE_TO_PRIOR_ERROR"/>
201
+ <enumeration value="EMPTY_SCONTROL_FILE_NAME"/>
202
+ <enumeration value="ENTITY_FAILED_IFLASTMODIFIED_ON_UPDATE"/>
203
+ <enumeration value="ENTITY_IS_ARCHIVED"/>
204
+ <enumeration value="ENTITY_IS_DELETED"/>
205
+ <enumeration value="ENTITY_IS_LOCKED"/>
206
+ <enumeration value="ERROR_IN_MAILER"/>
207
+ <enumeration value="FAILED_ACTIVATION"/>
208
+ <enumeration value="FIELD_CUSTOM_VALIDATION_EXCEPTION"/>
209
+ <enumeration value="FIELD_INTEGRITY_EXCEPTION"/>
210
+ <enumeration value="HTML_FILE_UPLOAD_NOT_ALLOWED"/>
211
+ <enumeration value="IMAGE_TOO_LARGE"/>
212
+ <enumeration value="INACTIVE_OWNER_OR_USER"/>
213
+ <enumeration value="INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY"/>
214
+ <enumeration value="INSUFFICIENT_ACCESS_OR_READONLY"/>
215
+ <enumeration value="INVALID_ACCESS_LEVEL"/>
216
+ <enumeration value="INVALID_ARGUMENT_TYPE"/>
217
+ <enumeration value="INVALID_ASSIGNEE_TYPE"/>
218
+ <enumeration value="INVALID_ASSIGNMENT_RULE"/>
219
+ <enumeration value="INVALID_BATCH_OPERATION"/>
220
+ <enumeration value="INVALID_CREDIT_CARD_INFO"/>
221
+ <enumeration value="INVALID_CROSS_REFERENCE_KEY"/>
222
+ <enumeration value="INVALID_CROSS_REFERENCE_TYPE_FOR_FIELD"/>
223
+ <enumeration value="INVALID_CURRENCY_CONV_RATE"/>
224
+ <enumeration value="INVALID_CURRENCY_CORP_RATE"/>
225
+ <enumeration value="INVALID_CURRENCY_ISO"/>
226
+ <enumeration value="INVALID_EMAIL_ADDRESS"/>
227
+ <enumeration value="INVALID_EMPTY_KEY_OWNER"/>
228
+ <enumeration value="INVALID_FIELD"/>
229
+ <enumeration value="INVALID_FIELD_FOR_INSERT_UPDATE"/>
230
+ <enumeration value="INVALID_FIELD_WHEN_USING_TEMPLATE"/>
231
+ <enumeration value="INVALID_FILTER_ACTION"/>
232
+ <enumeration value="INVALID_GOOGLE_DOCS_URL"/>
233
+ <enumeration value="INVALID_ID_FIELD"/>
234
+ <enumeration value="INVALID_INET_ADDRESS"/>
235
+ <enumeration value="INVALID_LINEITEM_CLONE_STATE"/>
236
+ <enumeration value="INVALID_MASTER_OR_TRANSLATED_SOLUTION"/>
237
+ <enumeration value="INVALID_OPERATION"/>
238
+ <enumeration value="INVALID_OPERATOR"/>
239
+ <enumeration value="INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST"/>
240
+ <enumeration value="INVALID_PARTNER_NETWORK_STATUS"/>
241
+ <enumeration value="INVALID_PERSON_ACCOUNT_OPERATION"/>
242
+ <enumeration value="INVALID_SAVE_AS_ACTIVITY_FLAG"/>
243
+ <enumeration value="INVALID_SESSION_ID"/>
244
+ <enumeration value="INVALID_SETUP_OWNER"/>
245
+ <enumeration value="INVALID_STATUS"/>
246
+ <enumeration value="INVALID_TYPE"/>
247
+ <enumeration value="INVALID_TYPE_FOR_OPERATION"/>
248
+ <enumeration value="INVALID_TYPE_ON_FIELD_IN_RECORD"/>
249
+ <enumeration value="IP_RANGE_LIMIT_EXCEEDED"/>
250
+ <enumeration value="LICENSE_LIMIT_EXCEEDED"/>
251
+ <enumeration value="LIMIT_EXCEEDED"/>
252
+ <enumeration value="MALFORMED_ID"/>
253
+ <enumeration value="MANAGER_NOT_DEFINED"/>
254
+ <enumeration value="MASSMAIL_RETRY_LIMIT_EXCEEDED"/>
255
+ <enumeration value="MASS_MAIL_LIMIT_EXCEEDED"/>
256
+ <enumeration value="MAXIMUM_CCEMAILS_EXCEEDED"/>
257
+ <enumeration value="MAXIMUM_DASHBOARD_COMPONENTS_EXCEEDED"/>
258
+ <enumeration value="MAXIMUM_HIERARCHY_LEVELS_REACHED"/>
259
+ <enumeration value="MAXIMUM_SIZE_OF_ATTACHMENT"/>
260
+ <enumeration value="MAXIMUM_SIZE_OF_DOCUMENT"/>
261
+ <enumeration value="MAX_ACTIONS_PER_RULE_EXCEEDED"/>
262
+ <enumeration value="MAX_ACTIVE_RULES_EXCEEDED"/>
263
+ <enumeration value="MAX_APPROVAL_STEPS_EXCEEDED"/>
264
+ <enumeration value="MAX_FORMULAS_PER_RULE_EXCEEDED"/>
265
+ <enumeration value="MAX_RULES_EXCEEDED"/>
266
+ <enumeration value="MAX_RULE_ENTRIES_EXCEEDED"/>
267
+ <enumeration value="MAX_TASK_DESCRIPTION_EXCEEEDED"/>
268
+ <enumeration value="MAX_TM_RULES_EXCEEDED"/>
269
+ <enumeration value="MAX_TM_RULE_ITEMS_EXCEEDED"/>
270
+ <enumeration value="MERGE_FAILED"/>
271
+ <enumeration value="MISSING_ARGUMENT"/>
272
+ <enumeration value="MIXED_DML_OPERATION"/>
273
+ <enumeration value="NONUNIQUE_SHIPPING_ADDRESS"/>
274
+ <enumeration value="NO_APPLICABLE_PROCESS"/>
275
+ <enumeration value="NO_ATTACHMENT_PERMISSION"/>
276
+ <enumeration value="NO_MASS_MAIL_PERMISSION"/>
277
+ <enumeration value="NUMBER_OUTSIDE_VALID_RANGE"/>
278
+ <enumeration value="NUM_HISTORY_FIELDS_BY_SOBJECT_EXCEEDED"/>
279
+ <enumeration value="OPTED_OUT_OF_MASS_MAIL"/>
280
+ <enumeration value="PACKAGE_LICENSE_REQUIRED"/>
281
+ <enumeration value="PORTAL_USER_ALREADY_EXISTS_FOR_CONTACT"/>
282
+ <enumeration value="PRIVATE_CONTACT_ON_ASSET"/>
283
+ <enumeration value="RECORD_IN_USE_BY_WORKFLOW"/>
284
+ <enumeration value="REQUEST_RUNNING_TOO_LONG"/>
285
+ <enumeration value="REQUIRED_FIELD_MISSING"/>
286
+ <enumeration value="SELF_REFERENCE_FROM_TRIGGER"/>
287
+ <enumeration value="SHARE_NEEDED_FOR_CHILD_OWNER"/>
288
+ <enumeration value="STANDARD_PRICE_NOT_DEFINED"/>
289
+ <enumeration value="STORAGE_LIMIT_EXCEEDED"/>
290
+ <enumeration value="STRING_TOO_LONG"/>
291
+ <enumeration value="TABSET_LIMIT_EXCEEDED"/>
292
+ <enumeration value="TEMPLATE_NOT_ACTIVE"/>
293
+ <enumeration value="TERRITORY_REALIGN_IN_PROGRESS"/>
294
+ <enumeration value="TEXT_DATA_OUTSIDE_SUPPORTED_CHARSET"/>
295
+ <enumeration value="TOO_MANY_APEX_REQUESTS"/>
296
+ <enumeration value="TOO_MANY_ENUM_VALUE"/>
297
+ <enumeration value="TRANSFER_REQUIRES_READ"/>
298
+ <enumeration value="UNABLE_TO_LOCK_ROW"/>
299
+ <enumeration value="UNAVAILABLE_RECORDTYPE_EXCEPTION"/>
300
+ <enumeration value="UNDELETE_FAILED"/>
301
+ <enumeration value="UNKNOWN_EXCEPTION"/>
302
+ <enumeration value="UNSPECIFIED_EMAIL_ADDRESS"/>
303
+ <enumeration value="UNSUPPORTED_APEX_TRIGGER_OPERATON"/>
304
+ <enumeration value="WEBLINK_SIZE_LIMIT_EXCEEDED"/>
305
+ </restriction>
306
+ </simpleType>
307
+
308
+
309
+ <complexType name="Error">
310
+ <sequence>
311
+ <element name="fields" type="xsd:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
312
+ <element name="message" type="xsd:string"/>
313
+ <element name="statusCode" type="tns:StatusCode"/>
314
+ </sequence>
315
+ </complexType>
316
+
317
+ <complexType name="SendEmailError">
318
+ <sequence>
319
+ <element name="fields" type="xsd:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
320
+ <element name="message" type="xsd:string"/>
321
+ <element name="statusCode" type="tns:StatusCode"/>
322
+ <element name="targetObjectId" type="tns:ID" nillable="true"/>
323
+ </sequence>
324
+ </complexType>
325
+
326
+ <complexType name="SaveResult">
327
+ <sequence>
328
+ <element name="errors" type="tns:Error" minOccurs="0" maxOccurs="unbounded"/>
329
+ <element name="id" type="tns:ID" nillable="true"/>
330
+ <element name="success" type="xsd:boolean"/>
331
+ </sequence>
332
+ </complexType>
333
+
334
+ <complexType name="UpsertResult">
335
+ <sequence>
336
+ <element name="created" type="xsd:boolean"/>
337
+ <element name="errors" type="tns:Error" minOccurs="0" maxOccurs="unbounded"/>
338
+ <element name="id" type="tns:ID" nillable="true"/>
339
+ <element name="success" type="xsd:boolean"/>
340
+ </sequence>
341
+ </complexType>
342
+
343
+ <complexType name="MergeRequest">
344
+ <sequence>
345
+ <element name="masterRecord" type="ens:sObject"/>
346
+ <element name="recordToMergeIds" type="tns:ID" minOccurs="1" maxOccurs="unbounded"/>
347
+ </sequence>
348
+ </complexType>
349
+
350
+ <complexType name="MergeResult">
351
+ <sequence>
352
+ <element name="errors" type="tns:Error" minOccurs="0" maxOccurs="unbounded"/>
353
+ <element name="id" type="tns:ID" nillable="true"/>
354
+ <element name="mergedRecordIds" type="tns:ID" minOccurs="0" maxOccurs="unbounded"/>
355
+ <element name="success" type="xsd:boolean"/>
356
+ <element name="updatedRelatedIds" type="tns:ID" minOccurs="0" maxOccurs="unbounded"/>
357
+ </sequence>
358
+ </complexType>
359
+
360
+ <complexType name="ProcessRequest">
361
+ <sequence>
362
+ <element name="comments" type="xsd:string" nillable="true"/>
363
+ <element name="nextApproverIds" type="tns:ID" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
364
+ </sequence>
365
+ </complexType>
366
+
367
+ <complexType name="ProcessSubmitRequest">
368
+ <complexContent>
369
+ <extension base="tns:ProcessRequest">
370
+ <sequence>
371
+ <element name="objectId" type="tns:ID"/>
372
+ </sequence>
373
+ </extension>
374
+ </complexContent>
375
+ </complexType>
376
+
377
+ <complexType name="ProcessWorkitemRequest">
378
+ <complexContent>
379
+ <extension base="tns:ProcessRequest">
380
+ <sequence>
381
+ <element name="action" type="xsd:string"/>
382
+ <element name="workitemId" type="tns:ID"/>
383
+ </sequence>
384
+ </extension>
385
+ </complexContent>
386
+ </complexType>
387
+
388
+ <complexType name="ProcessResult">
389
+ <sequence>
390
+ <element name="actorIds" type="tns:ID" nillable="false" minOccurs="0" maxOccurs="unbounded"/>
391
+ <element name="entityId" type="tns:ID" nillable="true"/>
392
+ <element name="errors" type="tns:Error" minOccurs="0" maxOccurs="unbounded"/>
393
+ <element name="instanceId" type="tns:ID" nillable="true"/>
394
+ <element name="instanceStatus" type="xsd:string" nillable="true"/>
395
+ <element name="newWorkitemIds" type="tns:ID" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
396
+ <element name="success" type="xsd:boolean"/>
397
+ </sequence>
398
+ </complexType>
399
+
400
+ <complexType name="DeleteResult">
401
+ <sequence>
402
+ <element name="errors" type="tns:Error" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
403
+ <element name="id" type="tns:ID" nillable="true"/>
404
+ <element name="success" type="xsd:boolean"/>
405
+ </sequence>
406
+ </complexType>
407
+
408
+ <complexType name="UndeleteResult">
409
+ <sequence>
410
+ <element name="errors" type="tns:Error" minOccurs="0" maxOccurs="unbounded"/>
411
+ <element name="id" type="tns:ID" nillable="true"/>
412
+ <element name="success" type="xsd:boolean"/>
413
+ </sequence>
414
+ </complexType>
415
+
416
+ <complexType name="EmptyRecycleBinResult">
417
+ <sequence>
418
+ <element name="errors" type="tns:Error" minOccurs="0" maxOccurs="unbounded"/>
419
+ <element name="id" type="tns:ID" nillable="true"/>
420
+ <element name="success" type="xsd:boolean"/>
421
+ </sequence>
422
+ </complexType>
423
+
424
+ <complexType name="LeadConvert">
425
+ <sequence>
426
+ <element name="accountId" type="tns:ID" nillable="true"/>
427
+ <element name="contactId" type="tns:ID" nillable="true"/>
428
+ <element name="convertedStatus" type="xsd:string"/>
429
+ <element name="doNotCreateOpportunity" type="xsd:boolean"/>
430
+ <element name="leadId" type="tns:ID"/>
431
+ <element name="opportunityName" type="xsd:string" nillable="true"/>
432
+ <element name="overwriteLeadSource" type="xsd:boolean"/>
433
+ <element name="ownerId" type="tns:ID" nillable="true"/>
434
+ <element name="sendNotificationEmail" type="xsd:boolean"/>
435
+ </sequence>
436
+ </complexType>
437
+
438
+ <complexType name="LeadConvertResult">
439
+ <sequence>
440
+ <element name="accountId" type="tns:ID" nillable="true"/>
441
+ <element name="contactId" type="tns:ID" nillable="true"/>
442
+ <element name="errors" type="tns:Error" minOccurs="0" maxOccurs="unbounded"/>
443
+ <element name="leadId" type="tns:ID" nillable="true"/>
444
+ <element name="opportunityId" type="tns:ID" nillable="true"/>
445
+ <element name="success" type="xsd:boolean"/>
446
+ </sequence>
447
+ </complexType>
448
+
449
+ <complexType name="DescribeSObjectResult">
450
+ <sequence>
451
+ <element name="activateable" type="xsd:boolean"/>
452
+ <element name="childRelationships" type="tns:ChildRelationship" minOccurs="0" maxOccurs="unbounded"/>
453
+ <element name="createable" type="xsd:boolean"/>
454
+ <element name="custom" type="xsd:boolean"/>
455
+ <element name="deletable" type="xsd:boolean"/>
456
+ <element name="fields" type="tns:Field" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
457
+ <element name="keyPrefix" type="xsd:string" nillable="true"/>
458
+ <element name="label" type="xsd:string"/>
459
+ <element name="labelPlural" type="xsd:string"/>
460
+ <element name="layoutable" type="xsd:boolean"/>
461
+ <element name="mergeable" type="xsd:boolean"/>
462
+ <element name="name" type="xsd:string"/>
463
+ <element name="queryable" type="xsd:boolean"/>
464
+ <element name="recordTypeInfos" type="tns:RecordTypeInfo" minOccurs="0" maxOccurs="unbounded"/>
465
+ <element name="replicateable" type="xsd:boolean"/>
466
+ <element name="retrieveable" type="xsd:boolean"/>
467
+ <element name="searchable" type="xsd:boolean"/>
468
+ <element name="triggerable" type="xsd:boolean" minOccurs="0"/>
469
+ <element name="undeletable" type="xsd:boolean"/>
470
+ <element name="updateable" type="xsd:boolean"/>
471
+ <element name="urlDetail" type="xsd:string" nillable="true"/>
472
+ <element name="urlEdit" type="xsd:string" nillable="true"/>
473
+ <element name="urlNew" type="xsd:string" nillable="true"/>
474
+ </sequence>
475
+ </complexType>
476
+
477
+ <complexType name="ChildRelationship">
478
+ <sequence>
479
+ <element name="cascadeDelete" type="xsd:boolean"/>
480
+ <element name="childSObject" type="xsd:string"/>
481
+ <element name="field" type="xsd:string"/>
482
+ <element name="relationshipName" type="xsd:string" minOccurs="0"/>
483
+ </sequence>
484
+ </complexType>
485
+
486
+ <complexType name="DescribeGlobalResult">
487
+ <sequence>
488
+ <element name="encoding" type="xsd:string" nillable="true"/>
489
+ <element name="maxBatchSize" type="xsd:int"/>
490
+ <element name="types" type="xsd:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
491
+ </sequence>
492
+ </complexType>
493
+
494
+ <simpleType name="fieldType">
495
+ <restriction base="xsd:string">
496
+ <enumeration value="string"/>
497
+ <enumeration value="picklist"/>
498
+ <enumeration value="multipicklist"/>
499
+ <enumeration value="combobox"/>
500
+ <enumeration value="reference"/>
501
+ <enumeration value="base64"/>
502
+ <enumeration value="boolean"/>
503
+ <enumeration value="currency"/>
504
+ <enumeration value="textarea"/>
505
+ <enumeration value="int"/>
506
+ <enumeration value="double"/>
507
+ <enumeration value="percent"/>
508
+ <enumeration value="phone"/>
509
+ <enumeration value="id"/>
510
+ <enumeration value="date"/>
511
+ <enumeration value="datetime"/>
512
+ <enumeration value="time"/>
513
+ <enumeration value="url"/>
514
+ <enumeration value="email"/>
515
+ <enumeration value="encryptedstring"/>
516
+ <enumeration value="anyType"/> <!-- can be string, picklist, reference, boolean, currency, int, double, percent, id, date, datetime, url, email -->
517
+ </restriction>
518
+ </simpleType>
519
+
520
+ <simpleType name="soapType">
521
+ <restriction base="xsd:string">
522
+ <enumeration value="tns:ID"/>
523
+ <enumeration value="xsd:base64Binary"/>
524
+ <enumeration value="xsd:boolean"/>
525
+ <enumeration value="xsd:double"/>
526
+ <enumeration value="xsd:int"/>
527
+ <enumeration value="xsd:string"/>
528
+ <enumeration value="xsd:date"/>
529
+ <enumeration value="xsd:dateTime"/>
530
+ <enumeration value="xsd:time"/>
531
+ <enumeration value="xsd:anyType"/> <!-- can be id, booolean, double, int, string, date, dateTime -->
532
+ </restriction>
533
+ </simpleType>
534
+
535
+ <complexType name="Field">
536
+ <sequence>
537
+ <element name="autoNumber" type="xsd:boolean"/>
538
+ <element name="byteLength" type="xsd:int"/>
539
+ <element name="calculated" type="xsd:boolean"/>
540
+ <element name="calculatedFormula" type="xsd:string" minOccurs="0"/>
541
+ <element name="caseSensitive" type="xsd:boolean"/>
542
+ <element name="controllerName" type="xsd:string" minOccurs="0"/>
543
+ <element name="createable" type="xsd:boolean"/>
544
+ <element name="custom" type="xsd:boolean"/>
545
+ <element name="defaultValueFormula" type="xsd:string" minOccurs="0"/>
546
+ <element name="defaultedOnCreate" type="xsd:boolean"/>
547
+ <element name="dependentPicklist" type="xsd:boolean" minOccurs="0"/>
548
+ <element name="digits" type="xsd:int"/>
549
+ <element name="externalId" type="xsd:boolean" minOccurs="0"/>
550
+ <element name="filterable" type="xsd:boolean"/>
551
+ <element name="htmlFormatted" type="xsd:boolean" minOccurs="0"/>
552
+ <element name="idLookup" type="xsd:boolean"/>
553
+ <element name="inlineHelpText" type="xsd:string" minOccurs="0"/>
554
+ <element name="label" type="xsd:string"/>
555
+ <element name="length" type="xsd:int"/>
556
+ <element name="name" type="xsd:string"/>
557
+ <element name="nameField" type="xsd:boolean"/>
558
+ <element name="namePointing" type="xsd:boolean" minOccurs="0"/>
559
+ <element name="nillable" type="xsd:boolean"/>
560
+ <element name="picklistValues" type="tns:PicklistEntry" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
561
+ <element name="precision" type="xsd:int"/>
562
+ <element name="referenceTo" type="xsd:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
563
+ <element name="relationshipName" type="xsd:string" minOccurs="0"/>
564
+ <element name="relationshipOrder" type="xsd:int" minOccurs="0"/>
565
+ <element name="restrictedPicklist" type="xsd:boolean"/>
566
+ <element name="scale" type="xsd:int"/>
567
+ <element name="soapType" type="tns:soapType"/>
568
+ <element name="sortable" type="xsd:boolean" minOccurs="0"/>
569
+ <element name="type" type="tns:fieldType"/>
570
+ <element name="unique" type="xsd:boolean"/>
571
+ <element name="updateable" type="xsd:boolean"/>
572
+ <element name="writeRequiresMasterRead" type="xsd:boolean" minOccurs="0"/>
573
+ </sequence>
574
+ </complexType>
575
+
576
+ <complexType name="PicklistEntry">
577
+ <sequence>
578
+ <element name="active" type="xsd:boolean"/>
579
+ <element name="defaultValue" type="xsd:boolean"/>
580
+ <element name="label" type="xsd:string" nillable="true"/>
581
+ <element name="validFor" type="xsd:base64Binary" minOccurs="0"/>
582
+ <element name="value" type="xsd:string"/>
583
+ </sequence>
584
+ </complexType>
585
+
586
+ <complexType name="DescribeSoftphoneLayoutResult">
587
+ <sequence>
588
+ <element name="callTypes" type="tns:DescribeSoftphoneLayoutCallType" maxOccurs="unbounded"/>
589
+ <element name="id" type="tns:ID"/>
590
+ <element name="name" type="xsd:string"/>
591
+ </sequence>
592
+ </complexType>
593
+
594
+ <complexType name="DescribeSoftphoneLayoutCallType">
595
+ <sequence>
596
+ <element name="infoFields" type="tns:DescribeSoftphoneLayoutInfoField" maxOccurs="unbounded"/>
597
+ <element name="name" type="xsd:string"/>
598
+ <element name="sections" type="tns:DescribeSoftphoneLayoutSection" minOccurs="0" maxOccurs="unbounded"/>
599
+ </sequence>
600
+ </complexType>
601
+
602
+ <complexType name="DescribeSoftphoneLayoutInfoField">
603
+ <sequence>
604
+ <element name="name" type="xsd:string"/>
605
+ </sequence>
606
+ </complexType>
607
+
608
+ <complexType name="DescribeSoftphoneLayoutSection">
609
+ <sequence>
610
+ <element name="entityApiName" type="xsd:string"/>
611
+ <element name="items" type="tns:DescribeSoftphoneLayoutItem" maxOccurs="unbounded"/>
612
+ </sequence>
613
+ </complexType>
614
+
615
+ <complexType name="DescribeSoftphoneLayoutItem">
616
+ <sequence>
617
+ <element name="itemApiName" type="xsd:string"/>
618
+ </sequence>
619
+ </complexType>
620
+
621
+ <complexType name="DescribeLayoutResult">
622
+ <sequence>
623
+ <element name="layouts" type="tns:DescribeLayout" maxOccurs="unbounded"/>
624
+ <element name="recordTypeMappings" type="tns:RecordTypeMapping" minOccurs="0" maxOccurs="unbounded"/>
625
+ <element name="recordTypeSelectorRequired" type="xsd:boolean"/>
626
+ </sequence>
627
+ </complexType>
628
+
629
+ <complexType name="DescribeLayout">
630
+ <sequence>
631
+ <element name="detailLayoutSections" type="tns:DescribeLayoutSection" minOccurs="0" maxOccurs="unbounded"/>
632
+ <element name="editLayoutSections" type="tns:DescribeLayoutSection" minOccurs="0" maxOccurs="unbounded"/>
633
+ <element name="id" type="tns:ID"/>
634
+
635
+
636
+ <element name="relatedLists" type="tns:RelatedList" minOccurs="0" maxOccurs="unbounded"/>
637
+ </sequence>
638
+ </complexType>
639
+
640
+ <complexType name="DescribeLayoutSection">
641
+ <sequence>
642
+ <element name="columns" type="xsd:int"/>
643
+ <element name="heading" type="xsd:string"/>
644
+ <element name="layoutRows" type="tns:DescribeLayoutRow" maxOccurs="unbounded"/>
645
+ <element name="rows" type="xsd:int"/>
646
+ <element name="useCollapsibleSection" type="xsd:boolean"/>
647
+ <element name="useHeading" type="xsd:boolean"/>
648
+ </sequence>
649
+ </complexType>
650
+
651
+ <complexType name="DescribeLayoutRow">
652
+ <sequence>
653
+ <element name="layoutItems" type="tns:DescribeLayoutItem" maxOccurs="unbounded"/>
654
+ <element name="numItems" type="xsd:int"/>
655
+ </sequence>
656
+ </complexType>
657
+
658
+ <complexType name="DescribeLayoutItem">
659
+ <sequence>
660
+ <element name="editable" type="xsd:boolean"/>
661
+ <element name="label" type="xsd:string" nillable="true"/>
662
+ <element name="layoutComponents" type="tns:DescribeLayoutComponent" minOccurs="0" maxOccurs="unbounded"/>
663
+ <element name="placeholder" type="xsd:boolean"/>
664
+ <element name="required" type="xsd:boolean"/>
665
+ </sequence>
666
+ </complexType>
667
+
668
+ <complexType name="DescribeLayoutComponent">
669
+ <sequence>
670
+ <element name="displayLines" type="xsd:int"/>
671
+ <element name="tabOrder" type="xsd:int"/>
672
+ <element name="type" type="tns:layoutComponentType"/>
673
+ <element name="value" type="xsd:string"/>
674
+ </sequence>
675
+ </complexType>
676
+
677
+ <simpleType name="layoutComponentType">
678
+ <restriction base="xsd:string">
679
+ <enumeration value="Field"/>
680
+ <enumeration value="Separator"/>
681
+ <enumeration value="SControl"/>
682
+ </restriction>
683
+ </simpleType>
684
+
685
+ <complexType name="RecordTypeInfo">
686
+ <sequence>
687
+ <element name="available" type="xsd:boolean"/>
688
+ <element name="defaultRecordTypeMapping" type="xsd:boolean"/>
689
+ <element name="name" type="xsd:string"/>
690
+ <element name="recordTypeId" type="tns:ID" nillable="true"/>
691
+ </sequence>
692
+ </complexType>
693
+
694
+ <complexType name="RecordTypeMapping">
695
+ <sequence>
696
+ <element name="available" type="xsd:boolean"/>
697
+ <element name="defaultRecordTypeMapping" type="xsd:boolean"/>
698
+ <element name="layoutId" type="tns:ID"/>
699
+ <element name="name" type="xsd:string"/>
700
+ <element name="picklistsForRecordType" type="tns:PicklistForRecordType" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
701
+ <element name="recordTypeId" type="tns:ID" nillable="true"/>
702
+ </sequence>
703
+ </complexType>
704
+
705
+ <complexType name="PicklistForRecordType">
706
+ <sequence>
707
+ <element name="picklistName" type="xsd:string"/>
708
+ <element name="picklistValues" type="tns:PicklistEntry" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
709
+ </sequence>
710
+ </complexType>
711
+
712
+ <complexType name="RelatedList">
713
+ <sequence>
714
+ <element name="columns" type="tns:RelatedListColumn" maxOccurs="unbounded"/>
715
+ <element name="custom" type="xsd:boolean"/>
716
+ <element name="field" type="xsd:string" nillable="true"/>
717
+ <element name="label" type="xsd:string"/>
718
+ <element name="limitRows" type="xsd:int"/>
719
+ <element name="name" type="xsd:string"/>
720
+ <element name="sobject" type="xsd:string" nillable="true"/>
721
+ <element name="sort" type="tns:RelatedListSort" minOccurs="0" maxOccurs="unbounded"/>
722
+ </sequence>
723
+ </complexType>
724
+
725
+ <complexType name="RelatedListColumn">
726
+ <sequence>
727
+ <element name="field" type="xsd:string" nillable="true"/>
728
+ <element name="format" type="xsd:string" nillable="true"/>
729
+ <element name="label" type="xsd:string"/>
730
+ <element name="name" type="xsd:string"/>
731
+ </sequence>
732
+ </complexType>
733
+
734
+ <complexType name="RelatedListSort">
735
+ <sequence>
736
+ <element name="ascending" type="xsd:boolean"/>
737
+ <element name="column" type="xsd:string"/>
738
+ </sequence>
739
+ </complexType>
740
+
741
+
742
+
743
+ <complexType name="EmailFileAttachment">
744
+ <sequence>
745
+ <element name="body" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
746
+ <element name="fileName" type="xsd:string"/>
747
+ </sequence>
748
+ </complexType>
749
+ <simpleType name="EmailPriority">
750
+ <restriction base="xsd:string">
751
+ <enumeration value="Highest"/>
752
+ <enumeration value="High"/>
753
+ <enumeration value="Normal"/>
754
+ <enumeration value="Low"/>
755
+ <enumeration value="Lowest"/>
756
+ </restriction>
757
+ </simpleType>
758
+
759
+ <complexType name="Email">
760
+ <sequence>
761
+ <element name="bccSender" type="xsd:boolean" nillable="true"/>
762
+ <element name="emailPriority" type="tns:EmailPriority" nillable="true"/>
763
+ <element name="replyTo" type="xsd:string" nillable="true"/>
764
+ <element name="saveAsActivity" type="xsd:boolean" nillable="true"/>
765
+ <element name="senderDisplayName" type="xsd:string" nillable="true"/>
766
+ <element name="subject" type="xsd:string" nillable="true"/>
767
+ <element name="useSignature" type="xsd:boolean" nillable="true"/>
768
+ </sequence>
769
+ </complexType>
770
+
771
+ <complexType name="MassEmailMessage">
772
+ <complexContent>
773
+ <extension base="tns:Email">
774
+ <sequence>
775
+ <element name="description" type="xsd:string" nillable="true"/>
776
+ <element name="targetObjectIds" minOccurs="0" maxOccurs="250" type="tns:ID"/>
777
+ <element name="templateId" type="tns:ID"/>
778
+ <element name="whatIds" minOccurs="0" maxOccurs="250" type="tns:ID"/>
779
+ </sequence>
780
+ </extension>
781
+ </complexContent>
782
+ </complexType>
783
+
784
+ <complexType name="SingleEmailMessage">
785
+ <complexContent>
786
+ <extension base="tns:Email">
787
+ <sequence>
788
+ <element name="bccAddresses" minOccurs="0" maxOccurs="5" type="xsd:string" nillable="true"/>
789
+ <element name="ccAddresses" minOccurs="0" maxOccurs="5" type="xsd:string" nillable="true"/>
790
+ <element name="charset" type="xsd:string" nillable="true"/>
791
+ <element name="documentAttachments" minOccurs="0" maxOccurs="unbounded" type="tns:ID"/>
792
+ <element name="htmlBody" type="xsd:string" nillable="true"/>
793
+ <element name="fileAttachments" minOccurs="0" maxOccurs="unbounded" type="tns:EmailFileAttachment"/>
794
+ <element name="plainTextBody" type="xsd:string" nillable="true"/>
795
+ <element name="targetObjectId" type="tns:ID" nillable="true"/>
796
+ <element name="templateId" type="tns:ID" nillable="true"/>
797
+ <element name="toAddresses" minOccurs="0" maxOccurs="10" type="xsd:string" nillable="true"/>
798
+ <element name="whatId" type="tns:ID" nillable="true"/>
799
+ </sequence>
800
+ </extension>
801
+ </complexContent>
802
+ </complexType>
803
+
804
+ <complexType name="SendEmailResult">
805
+ <sequence>
806
+ <element name="errors" minOccurs="0" maxOccurs="unbounded" type="tns:SendEmailError"/>
807
+ <element name="success" type="xsd:boolean"/>
808
+ </sequence>
809
+ </complexType>
810
+
811
+
812
+
813
+ <complexType name="DescribeTabSetResult">
814
+ <sequence>
815
+ <element name="label" type="xsd:string"/>
816
+ <element name="logoUrl" type="xsd:string"/>
817
+ <element name="namespace" type="xsd:string" minOccurs="0"/>
818
+ <element name="selected" type="xsd:boolean"/>
819
+ <element name="tabs" type="tns:DescribeTab" minOccurs="0" maxOccurs="unbounded"/>
820
+ </sequence>
821
+ </complexType>
822
+
823
+ <complexType name="DescribeTab">
824
+ <sequence>
825
+ <element name="custom" type="xsd:boolean"/>
826
+ <element name="iconUrl" type="xsd:string"/>
827
+ <element name="label" type="xsd:string"/>
828
+ <element name="miniIconUrl" type="xsd:string"/>
829
+ <element name="sobjectName" type="xsd:string" nillable="true"/>
830
+ <element name="url" type="xsd:string"/>
831
+ </sequence>
832
+ </complexType>
833
+
834
+
835
+
836
+
837
+
838
+ <!-- Login Message Types -->
839
+ <element name="login">
840
+ <complexType>
841
+ <sequence>
842
+ <element name="username" type="xsd:string"/>
843
+ <element name="password" type="xsd:string"/>
844
+ </sequence>
845
+ </complexType>
846
+ </element>
847
+ <element name="loginResponse">
848
+ <complexType>
849
+ <sequence>
850
+ <element name="result" type="tns:LoginResult"/>
851
+ </sequence>
852
+ </complexType>
853
+ </element>
854
+
855
+ <!-- Describe Message Types -->
856
+ <element name="describeSObject">
857
+ <complexType>
858
+ <sequence>
859
+ <element name="sObjectType" type="xsd:string"/>
860
+ </sequence>
861
+ </complexType>
862
+ </element>
863
+ <element name="describeSObjectResponse">
864
+ <complexType>
865
+ <sequence>
866
+ <element name="result" type="tns:DescribeSObjectResult" nillable="true"/>
867
+ </sequence>
868
+ </complexType>
869
+ </element>
870
+
871
+ <!-- DescibeSObjects Message Types -->
872
+ <element name="describeSObjects">
873
+ <complexType>
874
+ <sequence>
875
+ <element name="sObjectType" type="xsd:string" minOccurs="0" maxOccurs="100"/>
876
+ </sequence>
877
+ </complexType>
878
+ </element>
879
+ <element name="describeSObjectsResponse">
880
+ <complexType>
881
+ <sequence>
882
+ <element name="result" type="tns:DescribeSObjectResult" nillable="true" minOccurs="0" maxOccurs="100"/>
883
+ </sequence>
884
+ </complexType>
885
+ </element>
886
+
887
+ <!-- Describe Global Message Types -->
888
+ <element name="describeGlobal">
889
+ <complexType>
890
+ <sequence/>
891
+ </complexType>
892
+ </element>
893
+ <element name="describeGlobalResponse">
894
+ <complexType>
895
+ <sequence>
896
+ <element name="result" type="tns:DescribeGlobalResult"/>
897
+ </sequence>
898
+ </complexType>
899
+ </element>
900
+
901
+ <element name="describeLayout">
902
+ <complexType>
903
+ <sequence>
904
+ <element name="sObjectType" type="xsd:string"/>
905
+ <element name="recordTypeIds" type="tns:ID" minOccurs="0" maxOccurs="unbounded"/>
906
+ </sequence>
907
+ </complexType>
908
+ </element>
909
+ <element name="describeLayoutResponse">
910
+ <complexType>
911
+ <sequence>
912
+ <element name="result" type="tns:DescribeLayoutResult" nillable="true"/>
913
+ </sequence>
914
+ </complexType>
915
+ </element>
916
+
917
+ <element name="describeSoftphoneLayout">
918
+ <complexType>
919
+ <sequence/>
920
+ </complexType>
921
+ </element>
922
+ <element name="describeSoftphoneLayoutResponse">
923
+ <complexType>
924
+ <sequence>
925
+ <element name="result" type="tns:DescribeSoftphoneLayoutResult" nillable="true"/>
926
+ </sequence>
927
+ </complexType>
928
+ </element>
929
+
930
+
931
+ <element name="describeTabs">
932
+ <complexType>
933
+ <sequence/>
934
+ </complexType>
935
+ </element>
936
+ <element name="describeTabsResponse">
937
+ <complexType>
938
+ <sequence>
939
+ <element name="result" type="tns:DescribeTabSetResult" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
940
+ </sequence>
941
+ </complexType>
942
+ </element>
943
+
944
+ <!-- Create Message Types -->
945
+ <element name="create">
946
+ <complexType>
947
+ <sequence>
948
+ <element name="sObjects" type="ens:sObject" minOccurs="0" maxOccurs="unbounded"/>
949
+ </sequence>
950
+ </complexType>
951
+ </element>
952
+ <element name="createResponse">
953
+ <complexType>
954
+ <sequence>
955
+ <element name="result" type="tns:SaveResult" minOccurs="0" maxOccurs="unbounded"/>
956
+ </sequence>
957
+ </complexType>
958
+ </element>
959
+
960
+
961
+
962
+ <!-- Send Email Types -->
963
+ <element name="sendEmail">
964
+ <complexType>
965
+ <sequence>
966
+ <element name="messages" type="tns:Email" minOccurs="0" maxOccurs="10"/>
967
+ </sequence>
968
+ </complexType>
969
+ </element>
970
+ <element name="sendEmailResponse">
971
+ <complexType>
972
+ <sequence>
973
+ <element name="result" minOccurs="0" maxOccurs="10" type="tns:SendEmailResult"/>
974
+ </sequence>
975
+ </complexType>
976
+ </element>
977
+
978
+
979
+ <!-- Update Message Types -->
980
+ <element name="update">
981
+ <complexType>
982
+ <sequence>
983
+ <element name="sObjects" type="ens:sObject" minOccurs="0" maxOccurs="unbounded"/>
984
+ </sequence>
985
+ </complexType>
986
+ </element>
987
+ <element name="updateResponse">
988
+ <complexType>
989
+ <sequence>
990
+ <element name="result" type="tns:SaveResult" minOccurs="0" maxOccurs="unbounded"/>
991
+ </sequence>
992
+ </complexType>
993
+ </element>
994
+
995
+ <!-- Upsert Message Types -->
996
+ <element name="upsert">
997
+ <complexType>
998
+ <sequence>
999
+ <element name="externalIDFieldName" type="xsd:string"/>
1000
+ <element name="sObjects" type="ens:sObject" minOccurs="0" maxOccurs="unbounded"/>
1001
+ </sequence>
1002
+ </complexType>
1003
+ </element>
1004
+ <element name="upsertResponse">
1005
+ <complexType>
1006
+ <sequence>
1007
+ <element name="result" type="tns:UpsertResult" minOccurs="0" maxOccurs="unbounded"/>
1008
+ </sequence>
1009
+ </complexType>
1010
+ </element>
1011
+
1012
+ <!-- Merge Message Types -->
1013
+ <element name="merge">
1014
+ <complexType>
1015
+ <sequence>
1016
+ <element name="request" type="tns:MergeRequest" minOccurs="0" maxOccurs="unbounded"/>
1017
+ </sequence>
1018
+ </complexType>
1019
+ </element>
1020
+ <element name="mergeResponse">
1021
+ <complexType>
1022
+ <sequence>
1023
+ <element name="result" type="tns:MergeResult" minOccurs="0" maxOccurs="unbounded"/>
1024
+ </sequence>
1025
+ </complexType>
1026
+ </element>
1027
+
1028
+ <!-- Delete Message Types -->
1029
+ <element name="delete">
1030
+ <complexType>
1031
+ <sequence>
1032
+ <element name="ids" type="tns:ID" minOccurs="0" maxOccurs="unbounded"/>
1033
+ </sequence>
1034
+ </complexType>
1035
+ </element>
1036
+ <element name="deleteResponse">
1037
+ <complexType>
1038
+ <sequence>
1039
+ <element name="result" type="tns:DeleteResult" minOccurs="0" maxOccurs="unbounded"/>
1040
+ </sequence>
1041
+ </complexType>
1042
+ </element>
1043
+
1044
+ <!-- Undelete Message Types -->
1045
+ <element name="undelete">
1046
+ <complexType>
1047
+ <sequence>
1048
+ <element name="ids" type="tns:ID" minOccurs="1" maxOccurs="unbounded"/>
1049
+ </sequence>
1050
+ </complexType>
1051
+ </element>
1052
+ <element name="undeleteResponse">
1053
+ <complexType>
1054
+ <sequence>
1055
+ <element name="result" type="tns:UndeleteResult" minOccurs="1" maxOccurs="unbounded"/>
1056
+ </sequence>
1057
+ </complexType>
1058
+ </element>
1059
+
1060
+ <!-- EmptyRecycleBin Message Types -->
1061
+ <element name="emptyRecycleBin">
1062
+ <complexType>
1063
+ <sequence>
1064
+ <element name="ids" type="tns:ID" minOccurs="1" maxOccurs="unbounded"/>
1065
+ </sequence>
1066
+ </complexType>
1067
+ </element>
1068
+ <element name="emptyRecycleBinResponse">
1069
+ <complexType>
1070
+ <sequence>
1071
+ <element name="result" type="tns:EmptyRecycleBinResult" minOccurs="1" maxOccurs="unbounded"/>
1072
+ </sequence>
1073
+ </complexType>
1074
+ </element>
1075
+
1076
+ <!-- Process Message Types -->
1077
+ <element name="process">
1078
+ <complexType>
1079
+ <sequence>
1080
+ <element name="actions" type="tns:ProcessRequest" minOccurs="0" maxOccurs="unbounded"/>
1081
+ </sequence>
1082
+ </complexType>
1083
+ </element>
1084
+ <element name="processResponse">
1085
+ <complexType>
1086
+ <sequence>
1087
+ <element name="result" type="tns:ProcessResult" minOccurs="0" maxOccurs="unbounded"/>
1088
+ </sequence>
1089
+ </complexType>
1090
+ </element>
1091
+
1092
+ <!-- Retrieve (ID List) Message Types -->
1093
+ <element name="retrieve">
1094
+ <complexType>
1095
+ <sequence>
1096
+ <element name="fieldList" type="xsd:string"/>
1097
+ <element name="sObjectType" type="xsd:string"/>
1098
+ <element name="ids" type="tns:ID" minOccurs="0" maxOccurs="unbounded"/>
1099
+ </sequence>
1100
+ </complexType>
1101
+ </element>
1102
+ <element name="retrieveResponse">
1103
+ <complexType>
1104
+ <sequence>
1105
+ <element name="result" type="ens:sObject" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
1106
+ </sequence>
1107
+ </complexType>
1108
+ </element>
1109
+
1110
+ <!-- Convert Lead Message Types -->
1111
+ <element name="convertLead">
1112
+ <complexType>
1113
+ <sequence>
1114
+ <element name="leadConverts" type="tns:LeadConvert" minOccurs="0" maxOccurs="unbounded"/>
1115
+ </sequence>
1116
+ </complexType>
1117
+ </element>
1118
+ <element name="convertLeadResponse">
1119
+ <complexType>
1120
+ <sequence>
1121
+ <element name="result" type="tns:LeadConvertResult" minOccurs="0" maxOccurs="unbounded"/>
1122
+ </sequence>
1123
+ </complexType>
1124
+ </element>
1125
+
1126
+ <!-- Get Updated Message Types -->
1127
+ <element name="getUpdated">
1128
+ <complexType>
1129
+ <sequence>
1130
+ <element name="sObjectType" type="xsd:string"/>
1131
+ <element name="startDate" type="xsd:dateTime"/>
1132
+ <element name="endDate" type="xsd:dateTime"/>
1133
+ </sequence>
1134
+ </complexType>
1135
+ </element>
1136
+ <element name="getUpdatedResponse">
1137
+ <complexType>
1138
+ <sequence>
1139
+ <element name="result" type="tns:GetUpdatedResult"/>
1140
+ </sequence>
1141
+ </complexType>
1142
+ </element>
1143
+
1144
+ <!-- Get Deleted Message Types -->
1145
+ <element name="getDeleted">
1146
+ <complexType>
1147
+ <sequence>
1148
+ <element name="sObjectType" type="xsd:string"/>
1149
+ <element name="startDate" type="xsd:dateTime"/>
1150
+ <element name="endDate" type="xsd:dateTime"/>
1151
+ </sequence>
1152
+ </complexType>
1153
+ </element>
1154
+ <element name="getDeletedResponse">
1155
+ <complexType>
1156
+ <sequence>
1157
+ <element name="result" type="tns:GetDeletedResult"/>
1158
+ </sequence>
1159
+ </complexType>
1160
+ </element>
1161
+
1162
+
1163
+ <!-- Logout current session -->
1164
+ <element name="logout">
1165
+ <complexType>
1166
+ </complexType>
1167
+ </element>
1168
+
1169
+ <element name="logoutResponse">
1170
+ <complexType>
1171
+ </complexType>
1172
+ </element>
1173
+
1174
+ <!-- Invalidate a list of session ids -->
1175
+ <element name="invalidateSessions">
1176
+ <complexType>
1177
+ <sequence>
1178
+ <element name="sessionIds" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
1179
+ </sequence>
1180
+ </complexType>
1181
+ </element>
1182
+
1183
+ <element name="invalidateSessionsResponse">
1184
+ <complexType>
1185
+ <sequence>
1186
+ <element name="result" type="tns:InvalidateSessionsResult" minOccurs="0" maxOccurs="unbounded"/>
1187
+ </sequence>
1188
+ </complexType>
1189
+ </element>
1190
+
1191
+ <!-- Create Query -->
1192
+ <element name="query">
1193
+ <complexType>
1194
+ <sequence>
1195
+ <element name="queryString" type="xsd:string"/>
1196
+ </sequence>
1197
+ </complexType>
1198
+ </element>
1199
+ <element name="queryResponse">
1200
+ <complexType>
1201
+ <sequence>
1202
+ <element name="result" type="tns:QueryResult"/>
1203
+ </sequence>
1204
+ </complexType>
1205
+ </element>
1206
+
1207
+ <!-- Create Query All -->
1208
+ <element name="queryAll">
1209
+ <complexType>
1210
+ <sequence>
1211
+ <element name="queryString" type="xsd:string"/>
1212
+ </sequence>
1213
+ </complexType>
1214
+ </element>
1215
+ <element name="queryAllResponse">
1216
+ <complexType>
1217
+ <sequence>
1218
+ <element name="result" type="tns:QueryResult"/>
1219
+ </sequence>
1220
+ </complexType>
1221
+ </element>
1222
+
1223
+ <!-- Next Batch of sObjects from a query -->
1224
+ <element name="queryMore">
1225
+ <complexType>
1226
+ <sequence>
1227
+ <element name="queryLocator" type="tns:QueryLocator"/>
1228
+ </sequence>
1229
+ </complexType>
1230
+ </element>
1231
+ <element name="queryMoreResponse">
1232
+ <complexType>
1233
+ <sequence>
1234
+ <element name="result" type="tns:QueryResult"/>
1235
+ </sequence>
1236
+ </complexType>
1237
+ </element>
1238
+
1239
+
1240
+
1241
+ <!-- Create Search -->
1242
+ <element name="search">
1243
+ <complexType>
1244
+ <sequence>
1245
+ <element name="searchString" type="xsd:string"/>
1246
+ </sequence>
1247
+ </complexType>
1248
+ </element>
1249
+ <element name="searchResponse">
1250
+ <complexType>
1251
+ <sequence>
1252
+ <element name="result" type="tns:SearchResult"/>
1253
+ </sequence>
1254
+ </complexType>
1255
+ </element>
1256
+
1257
+
1258
+
1259
+ <element name="getServerTimestamp">
1260
+ <complexType>
1261
+ <sequence/>
1262
+ </complexType>
1263
+ </element>
1264
+ <element name="getServerTimestampResponse">
1265
+ <complexType>
1266
+ <sequence>
1267
+ <element name="result" type="tns:GetServerTimestampResult"/>
1268
+ </sequence>
1269
+ </complexType>
1270
+ </element>
1271
+
1272
+ <element name="setPassword">
1273
+ <complexType>
1274
+ <sequence>
1275
+ <element name="userId" type="tns:ID"/>
1276
+ <element name="password" type="xsd:string"/>
1277
+ </sequence>
1278
+ </complexType>
1279
+ </element>
1280
+ <element name="setPasswordResponse">
1281
+ <complexType>
1282
+ <sequence>
1283
+ <element name="result" type="tns:SetPasswordResult"/>
1284
+ </sequence>
1285
+ </complexType>
1286
+ </element>
1287
+
1288
+ <element name="resetPassword">
1289
+ <complexType>
1290
+ <sequence>
1291
+ <element name="userId" type="tns:ID"/>
1292
+ </sequence>
1293
+ </complexType>
1294
+ </element>
1295
+ <element name="resetPasswordResponse">
1296
+ <complexType>
1297
+ <sequence>
1298
+ <element name="result" type="tns:ResetPasswordResult"/>
1299
+ </sequence>
1300
+ </complexType>
1301
+ </element>
1302
+
1303
+ <element name="getUserInfo">
1304
+ <complexType>
1305
+ <sequence/>
1306
+ </complexType>
1307
+ </element>
1308
+ <element name="getUserInfoResponse">
1309
+ <complexType>
1310
+ <sequence>
1311
+ <element name="result" type="tns:GetUserInfoResult"/>
1312
+ </sequence>
1313
+ </complexType>
1314
+ </element>
1315
+
1316
+
1317
+
1318
+ <!-- Header Elements -->
1319
+ <element name="SessionHeader">
1320
+ <complexType>
1321
+ <sequence>
1322
+ <element name="sessionId" type="xsd:string"/>
1323
+ </sequence>
1324
+ </complexType>
1325
+ </element>
1326
+
1327
+ <element name="LoginScopeHeader">
1328
+ <complexType>
1329
+ <sequence>
1330
+ <element name="organizationId" type="tns:ID"/>
1331
+ <element name="portalId" type="tns:ID" minOccurs="0"/>
1332
+ </sequence>
1333
+ </complexType>
1334
+ </element>
1335
+
1336
+
1337
+ <element name="CallOptions">
1338
+ <complexType>
1339
+ <sequence>
1340
+ <element name="client" type="xsd:string" nillable="true"/>
1341
+ <element name="defaultNamespace" type="xsd:string" nillable="true"/>
1342
+
1343
+ </sequence>
1344
+ </complexType>
1345
+ </element>
1346
+
1347
+
1348
+ <element name="QueryOptions">
1349
+ <complexType>
1350
+ <sequence>
1351
+ <element name="batchSize" type="xsd:int" minOccurs="0"/>
1352
+
1353
+ </sequence>
1354
+ </complexType>
1355
+ </element>
1356
+
1357
+
1358
+ <simpleType name="DebugLevel">
1359
+ <restriction base="xsd:string">
1360
+ <enumeration value="None"/>
1361
+ <enumeration value="DebugOnly"/>
1362
+ <enumeration value="Db"/>
1363
+ </restriction>
1364
+ </simpleType>
1365
+ <element name="DebuggingHeader">
1366
+ <complexType>
1367
+ <sequence>
1368
+ <element name="debugLevel" type="tns:DebugLevel"/>
1369
+ </sequence>
1370
+ </complexType>
1371
+ </element>
1372
+ <element name="DebuggingInfo">
1373
+ <complexType>
1374
+ <sequence>
1375
+ <element name="debugLog" type="xsd:string"/>
1376
+ </sequence>
1377
+ </complexType>
1378
+ </element>
1379
+
1380
+ <!-- ideally this could of just been elem name="..." type="xsd:boolean"
1381
+ but is required to be nested within a complexType for .NET 1.1 compatibility -->
1382
+ <element name="MruHeader">
1383
+ <complexType>
1384
+ <sequence>
1385
+ <element name="updateMru" type="xsd:boolean"/>
1386
+ </sequence>
1387
+ </complexType>
1388
+ </element>
1389
+
1390
+ <element name="EmailHeader">
1391
+ <complexType>
1392
+ <sequence>
1393
+ <element name="triggerAutoResponseEmail" type="xsd:boolean"/>
1394
+ <element name="triggerOtherEmail" type="xsd:boolean"/>
1395
+ <element name="triggerUserEmail" type="xsd:boolean"/>
1396
+ </sequence>
1397
+ </complexType>
1398
+ </element>
1399
+
1400
+ <element name="AssignmentRuleHeader">
1401
+ <complexType>
1402
+ <sequence>
1403
+ <element name="assignmentRuleId" type="tns:ID" nillable="true"/>
1404
+ <element name="useDefaultRule" type="xsd:boolean" nillable="true"/>
1405
+ </sequence>
1406
+ </complexType>
1407
+ </element>
1408
+
1409
+ <element name="UserTerritoryDeleteHeader">
1410
+ <complexType>
1411
+ <sequence>
1412
+ <element name="transferToUserId" type="tns:ID" nillable="true"/>
1413
+ </sequence>
1414
+ </complexType>
1415
+ </element>
1416
+
1417
+
1418
+
1419
+ <element name="LocaleOptions">
1420
+ <complexType>
1421
+ <sequence>
1422
+ <element name="language" type="xsd:string" minOccurs="0"/>
1423
+ </sequence>
1424
+ </complexType>
1425
+ </element>
1426
+ </schema>
1427
+
1428
+ <schema elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fault.partner.soap.sforce.com" xmlns:fns="urn:fault.partner.soap.sforce.com">
1429
+
1430
+ <simpleType name="ExceptionCode">
1431
+ <restriction base="xsd:string">
1432
+ <enumeration value="API_CURRENTLY_DISABLED"/>
1433
+ <enumeration value="API_DISABLED_FOR_ORG"/>
1434
+ <enumeration value="CANT_ADD_STANDADRD_PORTAL_USER_TO_TERRITORY"/>
1435
+ <enumeration value="CANT_ADD_STANDARD_PORTAL_USER_TO_TERRITORY"/>
1436
+ <enumeration value="CIRCULAR_OBJECT_GRAPH"/>
1437
+ <enumeration value="CLIENT_NOT_ACCESSIBLE_FOR_USER"/>
1438
+ <enumeration value="CLIENT_REQUIRE_UPDATE_FOR_USER"/>
1439
+ <enumeration value="CUSTOM_METADATA_LIMIT_EXCEEDED"/>
1440
+ <enumeration value="DUPLICATE_VALUE"/>
1441
+ <enumeration value="EMAIL_BATCH_SIZE_LIMIT_EXCEEDED"/>
1442
+ <enumeration value="EMAIL_TO_CASE_INVALID_ROUTING"/>
1443
+ <enumeration value="EMAIL_TO_CASE_LIMIT_EXCEEDED"/>
1444
+ <enumeration value="EMAIL_TO_CASE_NOT_ENABLED"/>
1445
+ <enumeration value="EXCEEDED_ID_LIMIT"/>
1446
+ <enumeration value="EXCEEDED_LEAD_CONVERT_LIMIT"/>
1447
+ <enumeration value="EXCEEDED_MAX_SIZE_REQUEST"/>
1448
+ <enumeration value="EXCEEDED_MAX_TYPES_LIMIT"/>
1449
+ <enumeration value="EXCEEDED_QUOTA"/>
1450
+ <enumeration value="FUNCTIONALITY_NOT_ENABLED"/>
1451
+ <enumeration value="INACTIVE_OWNER_OR_USER"/>
1452
+ <enumeration value="INACTIVE_PORTAL"/>
1453
+ <enumeration value="INSUFFICIENT_ACCESS"/>
1454
+ <enumeration value="INVALID_ASSIGNMENT_RULE"/>
1455
+ <enumeration value="INVALID_BATCH_SIZE"/>
1456
+ <enumeration value="INVALID_CLIENT"/>
1457
+ <enumeration value="INVALID_CROSS_REFERENCE_KEY"/>
1458
+ <enumeration value="INVALID_FIELD"/>
1459
+ <enumeration value="INVALID_FILTER_LANGUAGE"/>
1460
+ <enumeration value="INVALID_FILTER_VALUE"/>
1461
+ <enumeration value="INVALID_ID_FIELD"/>
1462
+ <enumeration value="INVALID_LOCALE_LANGUAGE"/>
1463
+ <enumeration value="INVALID_LOCATOR"/>
1464
+ <enumeration value="INVALID_LOGIN"/>
1465
+ <enumeration value="INVALID_NEW_PASSWORD"/>
1466
+ <enumeration value="INVALID_OPERATION"/>
1467
+ <enumeration value="INVALID_OPERATION_WITH_EXPIRED_PASSWORD"/>
1468
+ <enumeration value="INVALID_QUERY_FILTER_OPERATOR"/>
1469
+ <enumeration value="INVALID_QUERY_LOCATOR"/>
1470
+ <enumeration value="INVALID_QUERY_SCOPE"/>
1471
+ <enumeration value="INVALID_REPLICATION_DATE"/>
1472
+ <enumeration value="INVALID_SEARCH"/>
1473
+ <enumeration value="INVALID_SEARCH_SCOPE"/>
1474
+ <enumeration value="INVALID_SESSION_ID"/>
1475
+ <enumeration value="INVALID_SOAP_HEADER"/>
1476
+ <enumeration value="INVALID_SSO_GATEWAY_URL"/>
1477
+ <enumeration value="INVALID_TYPE"/>
1478
+ <enumeration value="INVALID_TYPE_FOR_OPERATION"/>
1479
+ <enumeration value="LIMIT_EXCEEDED"/>
1480
+ <enumeration value="LOGIN_CHALLENGE_ISSUED"/>
1481
+ <enumeration value="LOGIN_CHALLENGE_PENDING"/>
1482
+ <enumeration value="LOGIN_DURING_RESTRICTED_DOMAIN"/>
1483
+ <enumeration value="LOGIN_DURING_RESTRICTED_TIME"/>
1484
+ <enumeration value="LOGIN_MUST_USE_SECURITY_TOKEN"/>
1485
+ <enumeration value="MALFORMED_ID"/>
1486
+ <enumeration value="MALFORMED_QUERY"/>
1487
+ <enumeration value="MALFORMED_SEARCH"/>
1488
+ <enumeration value="MISSING_ARGUMENT"/>
1489
+ <enumeration value="NOT_MODIFIED"/>
1490
+ <enumeration value="NO_SOFTPHONE_LAYOUT"/>
1491
+ <enumeration value="NUMBER_OUTSIDE_VALID_RANGE"/>
1492
+ <enumeration value="OPERATION_TOO_LARGE"/>
1493
+ <enumeration value="ORG_LOCKED"/>
1494
+ <enumeration value="ORG_NOT_OWNED_BY_INSTANCE"/>
1495
+ <enumeration value="PASSWORD_LOCKOUT"/>
1496
+ <enumeration value="PORTAL_NO_ACCESS"/>
1497
+ <enumeration value="QUERY_TIMEOUT"/>
1498
+ <enumeration value="QUERY_TOO_COMPLICATED"/>
1499
+ <enumeration value="REQUEST_LIMIT_EXCEEDED"/>
1500
+ <enumeration value="REQUEST_RUNNING_TOO_LONG"/>
1501
+ <enumeration value="SERVER_UNAVAILABLE"/>
1502
+ <enumeration value="SSO_SERVICE_DOWN"/>
1503
+ <enumeration value="TOO_MANY_APEX_REQUESTS"/>
1504
+ <enumeration value="TRIAL_EXPIRED"/>
1505
+ <enumeration value="UNKNOWN_EXCEPTION"/>
1506
+ <enumeration value="UNSUPPORTED_API_VERSION"/>
1507
+ <enumeration value="UNSUPPORTED_CLIENT"/>
1508
+ </restriction>
1509
+ </simpleType>
1510
+ <!-- For convenience these QNames are returned in the standard soap faultcode element -->
1511
+ <simpleType name="FaultCode">
1512
+ <restriction base="xsd:QName">
1513
+ <enumeration value="fns:API_CURRENTLY_DISABLED"/>
1514
+ <enumeration value="fns:API_DISABLED_FOR_ORG"/>
1515
+ <enumeration value="fns:CANT_ADD_STANDADRD_PORTAL_USER_TO_TERRITORY"/>
1516
+ <enumeration value="fns:CANT_ADD_STANDARD_PORTAL_USER_TO_TERRITORY"/>
1517
+ <enumeration value="fns:CIRCULAR_OBJECT_GRAPH"/>
1518
+ <enumeration value="fns:CLIENT_NOT_ACCESSIBLE_FOR_USER"/>
1519
+ <enumeration value="fns:CLIENT_REQUIRE_UPDATE_FOR_USER"/>
1520
+ <enumeration value="fns:CUSTOM_METADATA_LIMIT_EXCEEDED"/>
1521
+ <enumeration value="fns:DUPLICATE_VALUE"/>
1522
+ <enumeration value="fns:EMAIL_BATCH_SIZE_LIMIT_EXCEEDED"/>
1523
+ <enumeration value="fns:EMAIL_TO_CASE_INVALID_ROUTING"/>
1524
+ <enumeration value="fns:EMAIL_TO_CASE_LIMIT_EXCEEDED"/>
1525
+ <enumeration value="fns:EMAIL_TO_CASE_NOT_ENABLED"/>
1526
+ <enumeration value="fns:EXCEEDED_ID_LIMIT"/>
1527
+ <enumeration value="fns:EXCEEDED_LEAD_CONVERT_LIMIT"/>
1528
+ <enumeration value="fns:EXCEEDED_MAX_SIZE_REQUEST"/>
1529
+ <enumeration value="fns:EXCEEDED_MAX_TYPES_LIMIT"/>
1530
+ <enumeration value="fns:EXCEEDED_QUOTA"/>
1531
+ <enumeration value="fns:FUNCTIONALITY_NOT_ENABLED"/>
1532
+ <enumeration value="fns:INACTIVE_OWNER_OR_USER"/>
1533
+ <enumeration value="fns:INACTIVE_PORTAL"/>
1534
+ <enumeration value="fns:INSUFFICIENT_ACCESS"/>
1535
+ <enumeration value="fns:INVALID_ASSIGNMENT_RULE"/>
1536
+ <enumeration value="fns:INVALID_BATCH_SIZE"/>
1537
+ <enumeration value="fns:INVALID_CLIENT"/>
1538
+ <enumeration value="fns:INVALID_CROSS_REFERENCE_KEY"/>
1539
+ <enumeration value="fns:INVALID_FIELD"/>
1540
+ <enumeration value="fns:INVALID_FILTER_LANGUAGE"/>
1541
+ <enumeration value="fns:INVALID_FILTER_VALUE"/>
1542
+ <enumeration value="fns:INVALID_ID_FIELD"/>
1543
+ <enumeration value="fns:INVALID_LOCALE_LANGUAGE"/>
1544
+ <enumeration value="fns:INVALID_LOCATOR"/>
1545
+ <enumeration value="fns:INVALID_LOGIN"/>
1546
+ <enumeration value="fns:INVALID_NEW_PASSWORD"/>
1547
+ <enumeration value="fns:INVALID_OPERATION"/>
1548
+ <enumeration value="fns:INVALID_OPERATION_WITH_EXPIRED_PASSWORD"/>
1549
+ <enumeration value="fns:INVALID_QUERY_FILTER_OPERATOR"/>
1550
+ <enumeration value="fns:INVALID_QUERY_LOCATOR"/>
1551
+ <enumeration value="fns:INVALID_QUERY_SCOPE"/>
1552
+ <enumeration value="fns:INVALID_REPLICATION_DATE"/>
1553
+ <enumeration value="fns:INVALID_SEARCH"/>
1554
+ <enumeration value="fns:INVALID_SEARCH_SCOPE"/>
1555
+ <enumeration value="fns:INVALID_SESSION_ID"/>
1556
+ <enumeration value="fns:INVALID_SOAP_HEADER"/>
1557
+ <enumeration value="fns:INVALID_SSO_GATEWAY_URL"/>
1558
+ <enumeration value="fns:INVALID_TYPE"/>
1559
+ <enumeration value="fns:INVALID_TYPE_FOR_OPERATION"/>
1560
+ <enumeration value="fns:LIMIT_EXCEEDED"/>
1561
+ <enumeration value="fns:LOGIN_CHALLENGE_ISSUED"/>
1562
+ <enumeration value="fns:LOGIN_CHALLENGE_PENDING"/>
1563
+ <enumeration value="fns:LOGIN_DURING_RESTRICTED_DOMAIN"/>
1564
+ <enumeration value="fns:LOGIN_DURING_RESTRICTED_TIME"/>
1565
+ <enumeration value="fns:LOGIN_MUST_USE_SECURITY_TOKEN"/>
1566
+ <enumeration value="fns:MALFORMED_ID"/>
1567
+ <enumeration value="fns:MALFORMED_QUERY"/>
1568
+ <enumeration value="fns:MALFORMED_SEARCH"/>
1569
+ <enumeration value="fns:MISSING_ARGUMENT"/>
1570
+ <enumeration value="fns:NOT_MODIFIED"/>
1571
+ <enumeration value="fns:NO_SOFTPHONE_LAYOUT"/>
1572
+ <enumeration value="fns:NUMBER_OUTSIDE_VALID_RANGE"/>
1573
+ <enumeration value="fns:OPERATION_TOO_LARGE"/>
1574
+ <enumeration value="fns:ORG_LOCKED"/>
1575
+ <enumeration value="fns:ORG_NOT_OWNED_BY_INSTANCE"/>
1576
+ <enumeration value="fns:PASSWORD_LOCKOUT"/>
1577
+ <enumeration value="fns:PORTAL_NO_ACCESS"/>
1578
+ <enumeration value="fns:QUERY_TIMEOUT"/>
1579
+ <enumeration value="fns:QUERY_TOO_COMPLICATED"/>
1580
+ <enumeration value="fns:REQUEST_LIMIT_EXCEEDED"/>
1581
+ <enumeration value="fns:REQUEST_RUNNING_TOO_LONG"/>
1582
+ <enumeration value="fns:SERVER_UNAVAILABLE"/>
1583
+ <enumeration value="fns:SSO_SERVICE_DOWN"/>
1584
+ <enumeration value="fns:TOO_MANY_APEX_REQUESTS"/>
1585
+ <enumeration value="fns:TRIAL_EXPIRED"/>
1586
+ <enumeration value="fns:UNKNOWN_EXCEPTION"/>
1587
+ <enumeration value="fns:UNSUPPORTED_API_VERSION"/>
1588
+ <enumeration value="fns:UNSUPPORTED_CLIENT"/>
1589
+ </restriction>
1590
+ </simpleType>
1591
+
1592
+
1593
+ <!-- Fault -->
1594
+ <complexType name="ApiFault">
1595
+ <sequence>
1596
+ <element name="exceptionCode" type="fns:ExceptionCode"/>
1597
+ <element name="exceptionMessage" type="xsd:string"/>
1598
+
1599
+ </sequence>
1600
+ </complexType>
1601
+
1602
+ <element name="fault" type="fns:ApiFault"/>
1603
+
1604
+ <complexType name="ApiQueryFault">
1605
+ <complexContent>
1606
+ <extension base="fns:ApiFault">
1607
+ <sequence>
1608
+ <element name="row" type="xsd:int"/>
1609
+ <element name="column" type="xsd:int"/>
1610
+ </sequence>
1611
+ </extension>
1612
+ </complexContent>
1613
+ </complexType>
1614
+
1615
+ <complexType name="LoginFault">
1616
+ <complexContent>
1617
+ <extension base="fns:ApiFault"/>
1618
+ </complexContent>
1619
+ </complexType>
1620
+ <element name="LoginFault" type="fns:LoginFault"/>
1621
+
1622
+ <complexType name="InvalidQueryLocatorFault">
1623
+ <complexContent>
1624
+ <extension base="fns:ApiFault"/>
1625
+ </complexContent>
1626
+ </complexType>
1627
+ <element name="InvalidQueryLocatorFault" type="fns:InvalidQueryLocatorFault"/>
1628
+
1629
+ <complexType name="InvalidNewPasswordFault">
1630
+ <complexContent>
1631
+ <extension base="fns:ApiFault"/>
1632
+ </complexContent>
1633
+ </complexType>
1634
+ <element name="InvalidNewPasswordFault" type="fns:InvalidNewPasswordFault"/>
1635
+
1636
+ <complexType name="InvalidIdFault">
1637
+ <complexContent>
1638
+ <extension base="fns:ApiFault"/>
1639
+ </complexContent>
1640
+ </complexType>
1641
+ <element name="InvalidIdFault" type="fns:InvalidIdFault"/>
1642
+
1643
+ <complexType name="UnexpectedErrorFault">
1644
+ <complexContent>
1645
+ <extension base="fns:ApiFault"/>
1646
+ </complexContent>
1647
+ </complexType>
1648
+ <element name="UnexpectedErrorFault" type="fns:UnexpectedErrorFault"/>
1649
+
1650
+ <complexType name="InvalidFieldFault">
1651
+ <complexContent>
1652
+ <extension base="fns:ApiQueryFault"/>
1653
+ </complexContent>
1654
+ </complexType>
1655
+ <element name="InvalidFieldFault" type="fns:InvalidFieldFault"/>
1656
+
1657
+ <complexType name="InvalidSObjectFault">
1658
+ <complexContent>
1659
+ <extension base="fns:ApiQueryFault"/>
1660
+ </complexContent>
1661
+ </complexType>
1662
+ <element name="InvalidSObjectFault" type="fns:InvalidSObjectFault"/>
1663
+
1664
+ <complexType name="MalformedQueryFault">
1665
+ <complexContent>
1666
+ <extension base="fns:ApiQueryFault"/>
1667
+ </complexContent>
1668
+ </complexType>
1669
+ <element name="MalformedQueryFault" type="fns:MalformedQueryFault"/>
1670
+
1671
+ <complexType name="MalformedSearchFault">
1672
+ <complexContent>
1673
+ <extension base="fns:ApiQueryFault"/>
1674
+ </complexContent>
1675
+ </complexType>
1676
+ <element name="MalformedSearchFault" type="fns:MalformedSearchFault"/>
1677
+
1678
+
1679
+ </schema>
1680
+ </types>
1681
+
1682
+ <!-- Header Message -->
1683
+ <message name="Header">
1684
+ <part element="tns:LoginScopeHeader" name="LoginScopeHeader"/>
1685
+ <part element="tns:SessionHeader" name="SessionHeader"/>
1686
+
1687
+ <part element="tns:CallOptions" name="CallOptions"/>
1688
+
1689
+ <part element="tns:QueryOptions" name="QueryOptions"/>
1690
+ <part element="tns:AssignmentRuleHeader" name="AssignmentRuleHeader"/>
1691
+ <part element="tns:MruHeader" name="MruHeader"/>
1692
+ <part element="tns:EmailHeader" name="EmailHeader"/>
1693
+
1694
+ <part element="tns:UserTerritoryDeleteHeader" name="UserTerritoryDeleteHeader"/>
1695
+
1696
+ <part element="tns:DebuggingHeader" name="DebuggingHeader"/>
1697
+ <part element="tns:DebuggingInfo" name="DebuggingInfo"/>
1698
+ <part element="tns:LocaleOptions" name="LocaleOptions"/>
1699
+ </message>
1700
+
1701
+ <!-- Fault Messages -->
1702
+
1703
+ <message name="ApiFault">
1704
+ <part name="fault" element="fns:fault"/>
1705
+ </message>
1706
+
1707
+ <message name="LoginFault">
1708
+ <part name="fault" element="fns:LoginFault"/>
1709
+ </message>
1710
+ <message name="InvalidQueryLocatorFault">
1711
+ <part name="fault" element="fns:InvalidQueryLocatorFault"/>
1712
+ </message>
1713
+ <message name="InvalidNewPasswordFault">
1714
+ <part name="fault" element="fns:InvalidNewPasswordFault"/>
1715
+ </message>
1716
+ <message name="InvalidIdFault">
1717
+ <part name="fault" element="fns:InvalidIdFault"/>
1718
+ </message>
1719
+ <message name="UnexpectedErrorFault">
1720
+ <part name="fault" element="fns:UnexpectedErrorFault"/>
1721
+ </message>
1722
+ <message name="InvalidFieldFault">
1723
+ <part name="fault" element="fns:InvalidFieldFault"/>
1724
+ </message>
1725
+ <message name="InvalidSObjectFault">
1726
+ <part name="fault" element="fns:InvalidSObjectFault"/>
1727
+ </message>
1728
+ <message name="MalformedQueryFault">
1729
+ <part name="fault" element="fns:MalformedQueryFault"/>
1730
+ </message>
1731
+ <message name="MalformedSearchFault">
1732
+ <part name="fault" element="fns:MalformedSearchFault"/>
1733
+ </message>
1734
+
1735
+
1736
+ <!-- Method Messages -->
1737
+ <message name="loginRequest">
1738
+ <part element="tns:login" name="parameters"/>
1739
+ </message>
1740
+ <message name="loginResponse">
1741
+ <part element="tns:loginResponse" name="parameters"/>
1742
+ </message>
1743
+
1744
+ <message name="describeSObjectRequest">
1745
+ <part element="tns:describeSObject" name="parameters"/>
1746
+ </message>
1747
+ <message name="describeSObjectResponse">
1748
+ <part element="tns:describeSObjectResponse" name="parameters"/>
1749
+ </message>
1750
+
1751
+ <message name="describeSObjectsRequest">
1752
+ <part element="tns:describeSObjects" name="parameters"/>
1753
+ </message>
1754
+ <message name="describeSObjectsResponse">
1755
+ <part element="tns:describeSObjectsResponse" name="parameters"/>
1756
+ </message>
1757
+
1758
+ <message name="describeGlobalRequest">
1759
+ <part element="tns:describeGlobal" name="parameters"/>
1760
+ </message>
1761
+ <message name="describeGlobalResponse">
1762
+ <part element="tns:describeGlobalResponse" name="parameters"/>
1763
+ </message>
1764
+
1765
+ <message name="describeLayoutRequest">
1766
+ <part element="tns:describeLayout" name="parameters"/>
1767
+ </message>
1768
+ <message name="describeLayoutResponse">
1769
+ <part element="tns:describeLayoutResponse" name="parameters"/>
1770
+ </message>
1771
+
1772
+ <message name="describeSoftphoneLayoutRequest">
1773
+ <part element="tns:describeSoftphoneLayout" name="parameters"/>
1774
+ </message>
1775
+ <message name="describeSoftphoneLayoutResponse">
1776
+ <part element="tns:describeSoftphoneLayoutResponse" name="parameters"/>
1777
+ </message>
1778
+
1779
+ <message name="describeTabsRequest">
1780
+ <part element="tns:describeTabs" name="parameters"/>
1781
+ </message>
1782
+ <message name="describeTabsResponse">
1783
+ <part element="tns:describeTabsResponse" name="parameters"/>
1784
+ </message>
1785
+
1786
+ <message name="createRequest">
1787
+ <part element="tns:create" name="parameters"/>
1788
+ </message>
1789
+ <message name="createResponse">
1790
+ <part element="tns:createResponse" name="parameters"/>
1791
+ </message>
1792
+
1793
+ <message name="updateRequest">
1794
+ <part element="tns:update" name="parameters"/>
1795
+ </message>
1796
+ <message name="updateResponse">
1797
+ <part element="tns:updateResponse" name="parameters"/>
1798
+ </message>
1799
+
1800
+ <message name="upsertRequest">
1801
+ <part element="tns:upsert" name="parameters"/>
1802
+ </message>
1803
+ <message name="upsertResponse">
1804
+ <part element="tns:upsertResponse" name="parameters"/>
1805
+ </message>
1806
+
1807
+ <message name="mergeRequest">
1808
+ <part element="tns:merge" name="parameters"/>
1809
+ </message>
1810
+ <message name="mergeResponse">
1811
+ <part element="tns:mergeResponse" name="parameters"/>
1812
+ </message>
1813
+
1814
+ <message name="deleteRequest">
1815
+ <part element="tns:delete" name="parameters"/>
1816
+ </message>
1817
+ <message name="deleteResponse">
1818
+ <part element="tns:deleteResponse" name="parameters"/>
1819
+ </message>
1820
+
1821
+ <message name="undeleteRequest">
1822
+ <part element="tns:undelete" name="parameters"/>
1823
+ </message>
1824
+ <message name="undeleteResponse">
1825
+ <part element="tns:undeleteResponse" name="parameters"/>
1826
+ </message>
1827
+
1828
+ <message name="emptyRecycleBinRequest">
1829
+ <part element="tns:emptyRecycleBin" name="parameters"/>
1830
+ </message>
1831
+ <message name="emptyRecycleBinResponse">
1832
+ <part element="tns:emptyRecycleBinResponse" name="parameters"/>
1833
+ </message>
1834
+
1835
+ <message name="retrieveRequest">
1836
+ <part element="tns:retrieve" name="parameters"/>
1837
+ </message>
1838
+ <message name="retrieveResponse">
1839
+ <part element="tns:retrieveResponse" name="parameters"/>
1840
+ </message>
1841
+
1842
+ <message name="processRequest">
1843
+ <part element="tns:process" name="parameters"/>
1844
+ </message>
1845
+ <message name="processResponse">
1846
+ <part element="tns:processResponse" name="parameters"/>
1847
+ </message>
1848
+
1849
+ <message name="convertLeadRequest">
1850
+ <part element="tns:convertLead" name="parameters"/>
1851
+ </message>
1852
+ <message name="convertLeadResponse">
1853
+ <part element="tns:convertLeadResponse" name="parameters"/>
1854
+ </message>
1855
+
1856
+ <message name="logoutRequest">
1857
+ <part element="tns:logout" name="parameters"/>
1858
+ </message>
1859
+ <message name="logoutResponse">
1860
+ <part element="tns:logoutResponse" name="parameters"/>
1861
+ </message>
1862
+
1863
+ <message name="invalidateSessionsRequest">
1864
+ <part element="tns:invalidateSessions" name="parameters"/>
1865
+ </message>
1866
+ <message name="invalidateSessionsResponse">
1867
+ <part element="tns:invalidateSessionsResponse" name="parameters"/>
1868
+ </message>
1869
+
1870
+ <message name="getDeletedRequest">
1871
+ <part element="tns:getDeleted" name="parameters"/>
1872
+ </message>
1873
+ <message name="getDeletedResponse">
1874
+ <part element="tns:getDeletedResponse" name="parameters"/>
1875
+ </message>
1876
+
1877
+ <message name="getUpdatedRequest">
1878
+ <part element="tns:getUpdated" name="parameters"/>
1879
+ </message>
1880
+ <message name="getUpdatedResponse">
1881
+ <part element="tns:getUpdatedResponse" name="parameters"/>
1882
+ </message>
1883
+
1884
+ <message name="queryRequest">
1885
+ <part element="tns:query" name="parameters"/>
1886
+ </message>
1887
+ <message name="queryResponse">
1888
+ <part element="tns:queryResponse" name="parameters"/>
1889
+ </message>
1890
+
1891
+ <message name="queryAllRequest">
1892
+ <part element="tns:queryAll" name="parameters"/>
1893
+ </message>
1894
+ <message name="queryAllResponse">
1895
+ <part element="tns:queryAllResponse" name="parameters"/>
1896
+ </message>
1897
+
1898
+ <message name="queryMoreRequest">
1899
+ <part element="tns:queryMore" name="parameters"/>
1900
+ </message>
1901
+ <message name="queryMoreResponse">
1902
+ <part element="tns:queryMoreResponse" name="parameters"/>
1903
+ </message>
1904
+
1905
+ <message name="searchRequest">
1906
+ <part element="tns:search" name="parameters"/>
1907
+ </message>
1908
+ <message name="searchResponse">
1909
+ <part element="tns:searchResponse" name="parameters"/>
1910
+ </message>
1911
+
1912
+ <message name="getServerTimestampRequest">
1913
+ <part element="tns:getServerTimestamp" name="parameters"/>
1914
+ </message>
1915
+ <message name="getServerTimestampResponse">
1916
+ <part element="tns:getServerTimestampResponse" name="parameters"/>
1917
+ </message>
1918
+
1919
+ <message name="setPasswordRequest">
1920
+ <part element="tns:setPassword" name="parameters"/>
1921
+ </message>
1922
+ <message name="setPasswordResponse">
1923
+ <part element="tns:setPasswordResponse" name="parameters"/>
1924
+ </message>
1925
+
1926
+ <message name="resetPasswordRequest">
1927
+ <part element="tns:resetPassword" name="parameters"/>
1928
+ </message>
1929
+ <message name="resetPasswordResponse">
1930
+ <part element="tns:resetPasswordResponse" name="parameters"/>
1931
+ </message>
1932
+
1933
+ <message name="getUserInfoRequest">
1934
+ <part element="tns:getUserInfo" name="parameters"/>
1935
+ </message>
1936
+ <message name="getUserInfoResponse">
1937
+ <part element="tns:getUserInfoResponse" name="parameters"/>
1938
+ </message>
1939
+
1940
+ <message name="sendEmailRequest">
1941
+ <part element="tns:sendEmail" name="parameters"/>
1942
+ </message>
1943
+ <message name="sendEmailResponse">
1944
+ <part element="tns:sendEmailResponse" name="parameters"/>
1945
+ </message>
1946
+
1947
+
1948
+
1949
+ <!-- Soap PortType -->
1950
+ <portType name="Soap">
1951
+ <operation name="login">
1952
+ <documentation>Login to the Salesforce.com SOAP Api</documentation>
1953
+ <input message="tns:loginRequest"/>
1954
+ <output message="tns:loginResponse"/>
1955
+ <fault message="tns:LoginFault" name="LoginFault"/>
1956
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
1957
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
1958
+ </operation>
1959
+
1960
+ <operation name="describeSObject">
1961
+ <documentation>Describe an sObject</documentation>
1962
+ <input message="tns:describeSObjectRequest"/>
1963
+ <output message="tns:describeSObjectResponse"/>
1964
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
1965
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
1966
+ </operation>
1967
+
1968
+ <operation name="describeSObjects">
1969
+ <documentation>Describe a number sObjects</documentation>
1970
+ <input message="tns:describeSObjectsRequest"/>
1971
+ <output message="tns:describeSObjectsResponse"/>
1972
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
1973
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
1974
+ </operation>
1975
+
1976
+ <operation name="describeGlobal">
1977
+ <documentation>Describe the Global state</documentation>
1978
+ <input message="tns:describeGlobalRequest"/>
1979
+ <output message="tns:describeGlobalResponse"/>
1980
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
1981
+ </operation>
1982
+
1983
+ <operation name="describeLayout">
1984
+ <documentation>Describe the layout of an sObject</documentation>
1985
+ <input message="tns:describeLayoutRequest"/>
1986
+ <output message="tns:describeLayoutResponse"/>
1987
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
1988
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
1989
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
1990
+ </operation>
1991
+
1992
+ <operation name="describeSoftphoneLayout">
1993
+ <documentation>Describe the layout of the SoftPhone</documentation>
1994
+ <input message="tns:describeSoftphoneLayoutRequest"/>
1995
+ <output message="tns:describeSoftphoneLayoutResponse"/>
1996
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
1997
+ </operation>
1998
+
1999
+ <operation name="describeTabs">
2000
+ <documentation>Describe the tabs that appear on a users page</documentation>
2001
+ <input message="tns:describeTabsRequest"/>
2002
+ <output message="tns:describeTabsResponse"/>
2003
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2004
+ </operation>
2005
+
2006
+ <operation name="create">
2007
+ <documentation>Create a set of new sObjects</documentation>
2008
+ <input message="tns:createRequest"/>
2009
+ <output message="tns:createResponse"/>
2010
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
2011
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2012
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
2013
+ <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/>
2014
+ </operation>
2015
+
2016
+ <operation name="update">
2017
+ <documentation>Update a set of sObjects</documentation>
2018
+ <input message="tns:updateRequest"/>
2019
+ <output message="tns:updateResponse"/>
2020
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
2021
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2022
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
2023
+ <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/>
2024
+ </operation>
2025
+
2026
+ <operation name="upsert">
2027
+ <documentation>Update or insert a set of sObjects based on object id</documentation>
2028
+ <input message="tns:upsertRequest"/>
2029
+ <output message="tns:upsertResponse"/>
2030
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
2031
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2032
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
2033
+ <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/>
2034
+ </operation>
2035
+
2036
+ <operation name="merge">
2037
+ <documentation>Merge and update a set of sObjects based on object id</documentation>
2038
+ <input message="tns:mergeRequest"/>
2039
+ <output message="tns:mergeResponse"/>
2040
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
2041
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2042
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
2043
+ <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/>
2044
+ </operation>
2045
+
2046
+ <operation name="delete">
2047
+ <documentation>Delete a set of sObjects</documentation>
2048
+ <input message="tns:deleteRequest"/>
2049
+ <output message="tns:deleteResponse"/>
2050
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2051
+ </operation>
2052
+
2053
+ <operation name="undelete">
2054
+ <documentation>Undelete a set of sObjects</documentation>
2055
+ <input message="tns:undeleteRequest"/>
2056
+ <output message="tns:undeleteResponse"/>
2057
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2058
+ </operation>
2059
+
2060
+ <operation name="emptyRecycleBin">
2061
+ <documentation>Empty a set of sObjects from the recycle bin</documentation>
2062
+ <input message="tns:emptyRecycleBinRequest"/>
2063
+ <output message="tns:emptyRecycleBinResponse"/>
2064
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2065
+ </operation>
2066
+
2067
+ <operation name="retrieve">
2068
+ <documentation>Get a set of sObjects</documentation>
2069
+ <input message="tns:retrieveRequest"/>
2070
+ <output message="tns:retrieveResponse"/>
2071
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
2072
+ <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/>
2073
+ <fault message="tns:MalformedQueryFault" name="MalformedQueryFault"/>
2074
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2075
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
2076
+ </operation>
2077
+
2078
+ <operation name="process">
2079
+ <documentation>Submit an entity to a workflow process or process a workitem</documentation>
2080
+ <input message="tns:processRequest"/>
2081
+ <output message="tns:processResponse"/>
2082
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2083
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
2084
+ </operation>
2085
+
2086
+ <operation name="convertLead">
2087
+ <documentation>convert a set of leads</documentation>
2088
+ <input message="tns:convertLeadRequest"/>
2089
+ <output message="tns:convertLeadResponse"/>
2090
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2091
+ </operation>
2092
+
2093
+ <operation name="logout">
2094
+ <documentation>Logout the current user, invalidating the current session.</documentation>
2095
+ <input message="tns:logoutRequest"/>
2096
+ <output message="tns:logoutResponse"/>
2097
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2098
+ </operation>
2099
+
2100
+ <operation name="invalidateSessions">
2101
+ <documentation>Logs out and invalidates session ids</documentation>
2102
+ <input message="tns:invalidateSessionsRequest"/>
2103
+ <output message="tns:invalidateSessionsResponse"/>
2104
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2105
+ </operation>
2106
+
2107
+ <operation name="getDeleted">
2108
+ <documentation>Get the IDs for deleted sObjects</documentation>
2109
+ <input message="tns:getDeletedRequest"/>
2110
+ <output message="tns:getDeletedResponse"/>
2111
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
2112
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2113
+ </operation>
2114
+
2115
+ <operation name="getUpdated">
2116
+ <documentation>Get the IDs for updated sObjects</documentation>
2117
+ <input message="tns:getUpdatedRequest"/>
2118
+ <output message="tns:getUpdatedResponse"/>
2119
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
2120
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2121
+ </operation>
2122
+
2123
+ <operation name="query">
2124
+ <documentation>Create a Query Cursor</documentation>
2125
+ <input message="tns:queryRequest"/>
2126
+ <output message="tns:queryResponse"/>
2127
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
2128
+ <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/>
2129
+ <fault message="tns:MalformedQueryFault" name="MalformedQueryFault"/>
2130
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
2131
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2132
+ <fault message="tns:InvalidQueryLocatorFault" name="InvalidQueryLocatorFault"/>
2133
+ </operation>
2134
+
2135
+ <operation name="queryAll">
2136
+ <documentation>Create a Query Cursor, including deleted sObjects</documentation>
2137
+ <input message="tns:queryAllRequest"/>
2138
+ <output message="tns:queryAllResponse"/>
2139
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
2140
+ <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/>
2141
+ <fault message="tns:MalformedQueryFault" name="MalformedQueryFault"/>
2142
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
2143
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2144
+ <fault message="tns:InvalidQueryLocatorFault" name="InvalidQueryLocatorFault"/>
2145
+ </operation>
2146
+
2147
+ <operation name="queryMore">
2148
+ <documentation>Gets the next batch of sObjects from a query</documentation>
2149
+ <input message="tns:queryMoreRequest"/>
2150
+ <output message="tns:queryMoreResponse"/>
2151
+ <fault message="tns:InvalidQueryLocatorFault" name="InvalidQueryLocatorFault"/>
2152
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2153
+ <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/>
2154
+ </operation>
2155
+
2156
+ <operation name="search">
2157
+ <documentation>Search for sObjects</documentation>
2158
+ <input message="tns:searchRequest"/>
2159
+ <output message="tns:searchResponse"/>
2160
+ <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/>
2161
+ <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/>
2162
+ <fault message="tns:MalformedSearchFault" name="MalformedSearchFault"/>
2163
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2164
+ </operation>
2165
+
2166
+ <operation name="getServerTimestamp">
2167
+ <documentation>Gets server timestamp</documentation>
2168
+ <input message="tns:getServerTimestampRequest"/>
2169
+ <output message="tns:getServerTimestampResponse"/>
2170
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2171
+ </operation>
2172
+
2173
+ <operation name="setPassword">
2174
+ <documentation>Set a user's password</documentation>
2175
+ <input message="tns:setPasswordRequest"/>
2176
+ <output message="tns:setPasswordResponse"/>
2177
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
2178
+ <fault message="tns:InvalidNewPasswordFault" name="InvalidNewPasswordFault"/>
2179
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2180
+ </operation>
2181
+
2182
+ <operation name="resetPassword">
2183
+ <documentation>Reset a user's password</documentation>
2184
+ <input message="tns:resetPasswordRequest"/>
2185
+ <output message="tns:resetPasswordResponse"/>
2186
+ <fault message="tns:InvalidIdFault" name="InvalidIdFault"/>
2187
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2188
+ </operation>
2189
+
2190
+ <operation name="getUserInfo">
2191
+ <documentation>Returns standard information relevant to the current user</documentation>
2192
+ <input message="tns:getUserInfoRequest"/>
2193
+ <output message="tns:getUserInfoResponse"/>
2194
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2195
+ </operation>
2196
+
2197
+ <operation name="sendEmail">
2198
+ <documentation>Send outbound email</documentation>
2199
+ <input message="tns:sendEmailRequest"/>
2200
+ <output message="tns:sendEmailResponse"/>
2201
+ <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/>
2202
+ </operation>
2203
+
2204
+ </portType>
2205
+
2206
+ <!-- Soap Binding -->
2207
+ <binding name="SoapBinding" type="tns:Soap">
2208
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
2209
+ <operation name="login">
2210
+ <soap:operation soapAction=""/>
2211
+ <input>
2212
+ <soap:header use="literal" message="tns:Header" part="LoginScopeHeader"/>
2213
+ <soap:header use="literal" message="tns:Header" part="CallOptions"/>
2214
+ <soap:body parts="parameters" use="literal"/>
2215
+ </input>
2216
+ <output>
2217
+ <soap:body use="literal"/>
2218
+ </output>
2219
+ <fault name="LoginFault">
2220
+ <soap:fault name="LoginFault" use="literal"/>
2221
+ </fault>
2222
+ <fault name="UnexpectedErrorFault">
2223
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
2224
+ </fault>
2225
+ <fault name="InvalidIdFault">
2226
+ <soap:fault name="InvalidIdFault" use="literal"/>
2227
+ </fault>
2228
+ </operation>
2229
+ <operation name="describeSObject">
2230
+ <soap:operation soapAction=""/>
2231
+ <input>
2232
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
2233
+ <soap:header use="literal" message="tns:Header" part="CallOptions"/>
2234
+ <soap:header use="literal" message="tns:Header" part="LocaleOptions"/>
2235
+ <soap:body parts="parameters" use="literal"/>
2236
+ </input>
2237
+ <output>
2238
+ <soap:body use="literal"/>
2239
+ </output>
2240
+ <fault name="InvalidSObjectFault">
2241
+ <soap:fault name="InvalidSObjectFault" use="literal"/>
2242
+ </fault>
2243
+ <fault name="UnexpectedErrorFault">
2244
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
2245
+ </fault>
2246
+ </operation>
2247
+ <operation name="describeSObjects">
2248
+ <soap:operation soapAction=""/>
2249
+ <input>
2250
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
2251
+ <soap:header use="literal" message="tns:Header" part="CallOptions"/>
2252
+ <soap:header use="literal" message="tns:Header" part="LocaleOptions"/>
2253
+ <soap:body parts="parameters" use="literal"/>
2254
+ </input>
2255
+ <output>
2256
+ <soap:body use="literal"/>
2257
+ </output>
2258
+ <fault name="InvalidSObjectFault">
2259
+ <soap:fault name="InvalidSObjectFault" use="literal"/>
2260
+ </fault>
2261
+ <fault name="UnexpectedErrorFault">
2262
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
2263
+ </fault>
2264
+ </operation>
2265
+ <operation name="describeGlobal">
2266
+ <soap:operation soapAction=""/>
2267
+ <input>
2268
+ <soap:header use="literal" message="tns:Header" part="SessionHeader"/>
2269
+ <soap:header use="literal" message="tns:Header" part="CallOptions"/>
2270
+ <soap:body parts="parameters" use="literal"/>
2271
+ </input>
2272
+ <output>
2273
+ <soap:body use="literal"/>
2274
+ </output>
2275
+ <fault name="UnexpectedErrorFault">
2276
+ <soap:fault name="UnexpectedErrorFault" use="literal"/>
2277
+ </fault>
2278
+ </operation>
2279
+ <operation name="describeLayout">
2280
+ <soap:operation soapAction="