metaforce 0.2.0.alpha

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. data/.gitignore +7 -0
  2. data/.rvmrc +55 -0
  3. data/Gemfile +10 -0
  4. data/Guardfile +9 -0
  5. data/README.md +59 -0
  6. data/Rakefile +6 -0
  7. data/lib/metaforce.rb +4 -0
  8. data/lib/metaforce/api.rb +3 -0
  9. data/lib/metaforce/api/metadata.rb +117 -0
  10. data/lib/metaforce/api/services.rb +33 -0
  11. data/lib/metaforce/api/transaction.rb +53 -0
  12. data/lib/metaforce/config.rb +24 -0
  13. data/lib/metaforce/manifest.rb +313 -0
  14. data/lib/metaforce/version.rb +3 -0
  15. data/metaforce.gemspec +28 -0
  16. data/spec/.gitignore +1 -0
  17. data/spec/fixtures/package.xml +17 -0
  18. data/spec/fixtures/requests/check_deploy_status/done.xml +33 -0
  19. data/spec/fixtures/requests/check_deploy_status/error.xml +26 -0
  20. data/spec/fixtures/requests/check_status/done.xml +19 -0
  21. data/spec/fixtures/requests/check_status/not_done.xml +19 -0
  22. data/spec/fixtures/requests/deploy/in_progress.xml +13 -0
  23. data/spec/fixtures/requests/describe_metadata/success.xml +230 -0
  24. data/spec/fixtures/requests/list_metadata/objects.xml +33 -0
  25. data/spec/fixtures/requests/login/failure.xml +15 -0
  26. data/spec/fixtures/requests/login/success.xml +39 -0
  27. data/spec/fixtures/sample/src/classes/TestClass.cls +2 -0
  28. data/spec/fixtures/sample/src/classes/TestClass.cls-meta.xml +5 -0
  29. data/spec/fixtures/sample/src/package.xml +8 -0
  30. data/spec/lib/api/metadata_spec.rb +139 -0
  31. data/spec/lib/api/services_spec.rb +24 -0
  32. data/spec/lib/api/transaction_spec.rb +62 -0
  33. data/spec/lib/config_spec.rb +53 -0
  34. data/spec/lib/manifest_spec.rb +181 -0
  35. data/spec/spec_helper.rb +11 -0
  36. data/wsdl/23.0/metadata.xml +3520 -0
  37. data/wsdl/23.0/partner.xml +3190 -0
  38. metadata +167 -0
@@ -0,0 +1,11 @@
1
+ require "bundler"
2
+ Bundler.require :default, :development
3
+ require "pp"
4
+
5
+ RSpec.configure do |config|
6
+ config.mock_with :mocha
7
+ config.include Savon::Spec::Macros
8
+ end
9
+
10
+ Savon.log = false
11
+ Savon::Spec::Fixture.path = File.join(File.dirname(__FILE__), 'fixtures/requests')
@@ -0,0 +1,3520 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Salesforce.com Metadata API version 23.0
4
+
5
+ Copyright 2006-2012 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="checkOnly" minOccurs="0" type="xsd:boolean"/>
20
+ <xsd:element name="done" type="xsd:boolean"/>
21
+ <xsd:element name="id" type="tns:ID"/>
22
+ <xsd:element name="message" minOccurs="0" type="xsd:string"/>
23
+ <xsd:element name="numberComponentErrors" minOccurs="0" type="xsd:int"/>
24
+ <xsd:element name="numberComponentsDeployed" minOccurs="0" type="xsd:int"/>
25
+ <xsd:element name="numberComponentsTotal" minOccurs="0" type="xsd:int"/>
26
+ <xsd:element name="numberTestErrors" minOccurs="0" type="xsd:int"/>
27
+ <xsd:element name="numberTestsCompleted" minOccurs="0" type="xsd:int"/>
28
+ <xsd:element name="numberTestsTotal" minOccurs="0" type="xsd:int"/>
29
+ <xsd:element name="state" type="tns:AsyncRequestState"/>
30
+ <xsd:element name="stateDetail" minOccurs="0" type="xsd:string"/>
31
+ <xsd:element name="stateDetailLastModifiedDate" minOccurs="0" type="xsd:dateTime"/>
32
+ <xsd:element name="statusCode" minOccurs="0" type="tns:StatusCode"/>
33
+ </xsd:sequence>
34
+ </xsd:complexType>
35
+ <xsd:simpleType name="AsyncRequestState">
36
+ <xsd:restriction base="xsd:string">
37
+ <xsd:enumeration value="Queued"/>
38
+ <xsd:enumeration value="InProgress"/>
39
+ <xsd:enumeration value="Completed"/>
40
+ <xsd:enumeration value="Error"/>
41
+ </xsd:restriction>
42
+ </xsd:simpleType>
43
+ <xsd:complexType name="DeployResult">
44
+ <xsd:sequence>
45
+ <xsd:element name="id" type="tns:ID"/>
46
+ <xsd:element name="messages" minOccurs="0" maxOccurs="unbounded" type="tns:DeployMessage"/>
47
+ <xsd:element name="retrieveResult" minOccurs="0" type="tns:RetrieveResult"/>
48
+ <xsd:element name="runTestResult" minOccurs="0" type="tns:RunTestsResult"/>
49
+ <xsd:element name="success" type="xsd:boolean"/>
50
+ </xsd:sequence>
51
+ </xsd:complexType>
52
+ <xsd:complexType name="DeployMessage">
53
+ <xsd:sequence>
54
+ <xsd:element name="changed" type="xsd:boolean"/>
55
+ <xsd:element name="columnNumber" minOccurs="0" type="xsd:int"/>
56
+ <xsd:element name="created" type="xsd:boolean"/>
57
+ <xsd:element name="deleted" type="xsd:boolean"/>
58
+ <xsd:element name="fileName" type="xsd:string"/>
59
+ <xsd:element name="fullName" type="xsd:string"/>
60
+ <xsd:element name="id" minOccurs="0" type="xsd:string"/>
61
+ <xsd:element name="lineNumber" minOccurs="0" type="xsd:int"/>
62
+ <xsd:element name="problem" minOccurs="0" type="xsd:string"/>
63
+ <xsd:element name="problemType" minOccurs="0" type="tns:DeployProblemType"/>
64
+ <xsd:element name="success" type="xsd:boolean"/>
65
+ </xsd:sequence>
66
+ </xsd:complexType>
67
+ <xsd:complexType name="RetrieveResult">
68
+ <xsd:sequence>
69
+ <xsd:element name="fileProperties" minOccurs="0" maxOccurs="unbounded" type="tns:FileProperties"/>
70
+ <xsd:element name="id" type="xsd:string"/>
71
+ <xsd:element name="messages" minOccurs="0" maxOccurs="unbounded" type="tns:RetrieveMessage"/>
72
+ <xsd:element name="zipFile" type="xsd:base64Binary"/>
73
+ </xsd:sequence>
74
+ </xsd:complexType>
75
+ <xsd:complexType name="FileProperties">
76
+ <xsd:sequence>
77
+ <xsd:element name="createdById" type="xsd:string"/>
78
+ <xsd:element name="createdByName" type="xsd:string"/>
79
+ <xsd:element name="createdDate" type="xsd:dateTime"/>
80
+ <xsd:element name="fileName" type="xsd:string"/>
81
+ <xsd:element name="fullName" type="xsd:string"/>
82
+ <xsd:element name="id" type="xsd:string"/>
83
+ <xsd:element name="lastModifiedById" type="xsd:string"/>
84
+ <xsd:element name="lastModifiedByName" type="xsd:string"/>
85
+ <xsd:element name="lastModifiedDate" type="xsd:dateTime"/>
86
+ <xsd:element name="manageableState" minOccurs="0" type="tns:ManageableState"/>
87
+ <xsd:element name="namespacePrefix" minOccurs="0" type="xsd:string"/>
88
+ <xsd:element name="type" type="xsd:string"/>
89
+ </xsd:sequence>
90
+ </xsd:complexType>
91
+ <xsd:simpleType name="ManageableState">
92
+ <xsd:restriction base="xsd:string">
93
+ <xsd:enumeration value="released"/>
94
+ <xsd:enumeration value="deleted"/>
95
+ <xsd:enumeration value="deprecated"/>
96
+ <xsd:enumeration value="installed"/>
97
+ <xsd:enumeration value="beta"/>
98
+ <xsd:enumeration value="unmanaged"/>
99
+ </xsd:restriction>
100
+ </xsd:simpleType>
101
+ <xsd:complexType name="RetrieveMessage">
102
+ <xsd:sequence>
103
+ <xsd:element name="fileName" type="xsd:string"/>
104
+ <xsd:element name="problem" type="xsd:string"/>
105
+ </xsd:sequence>
106
+ </xsd:complexType>
107
+ <xsd:complexType name="RunTestsResult">
108
+ <xsd:sequence>
109
+ <xsd:element name="codeCoverage" minOccurs="0" maxOccurs="unbounded" type="tns:CodeCoverageResult"/>
110
+ <xsd:element name="codeCoverageWarnings" minOccurs="0" maxOccurs="unbounded" type="tns:CodeCoverageWarning"/>
111
+ <xsd:element name="failures" minOccurs="0" maxOccurs="unbounded" type="tns:RunTestFailure"/>
112
+ <xsd:element name="numFailures" type="xsd:int"/>
113
+ <xsd:element name="numTestsRun" type="xsd:int"/>
114
+ <xsd:element name="successes" minOccurs="0" maxOccurs="unbounded" type="tns:RunTestSuccess"/>
115
+ <xsd:element name="totalTime" type="xsd:double"/>
116
+ </xsd:sequence>
117
+ </xsd:complexType>
118
+ <xsd:complexType name="CodeCoverageResult">
119
+ <xsd:sequence>
120
+ <xsd:element name="dmlInfo" minOccurs="0" maxOccurs="unbounded" type="tns:CodeLocation"/>
121
+ <xsd:element name="id" type="tns:ID"/>
122
+ <xsd:element name="locationsNotCovered" minOccurs="0" maxOccurs="unbounded" type="tns:CodeLocation"/>
123
+ <xsd:element name="methodInfo" minOccurs="0" maxOccurs="unbounded" type="tns:CodeLocation"/>
124
+ <xsd:element name="name" type="xsd:string"/>
125
+ <xsd:element name="namespace" type="xsd:string" nillable="true"/>
126
+ <xsd:element name="numLocations" type="xsd:int"/>
127
+ <xsd:element name="numLocationsNotCovered" type="xsd:int"/>
128
+ <xsd:element name="soqlInfo" minOccurs="0" maxOccurs="unbounded" type="tns:CodeLocation"/>
129
+ <xsd:element name="soslInfo" minOccurs="0" maxOccurs="unbounded" type="tns:CodeLocation"/>
130
+ <xsd:element name="type" type="xsd:string"/>
131
+ </xsd:sequence>
132
+ </xsd:complexType>
133
+ <xsd:complexType name="CodeLocation">
134
+ <xsd:sequence>
135
+ <xsd:element name="column" type="xsd:int"/>
136
+ <xsd:element name="line" type="xsd:int"/>
137
+ <xsd:element name="numExecutions" type="xsd:int"/>
138
+ <xsd:element name="time" type="xsd:double"/>
139
+ </xsd:sequence>
140
+ </xsd:complexType>
141
+ <xsd:complexType name="CodeCoverageWarning">
142
+ <xsd:sequence>
143
+ <xsd:element name="id" type="tns:ID"/>
144
+ <xsd:element name="message" type="xsd:string"/>
145
+ <xsd:element name="name" type="xsd:string" nillable="true"/>
146
+ <xsd:element name="namespace" type="xsd:string" nillable="true"/>
147
+ </xsd:sequence>
148
+ </xsd:complexType>
149
+ <xsd:complexType name="RunTestFailure">
150
+ <xsd:sequence>
151
+ <xsd:element name="id" type="tns:ID"/>
152
+ <xsd:element name="message" type="xsd:string"/>
153
+ <xsd:element name="methodName" type="xsd:string" nillable="true"/>
154
+ <xsd:element name="name" type="xsd:string"/>
155
+ <xsd:element name="namespace" type="xsd:string" nillable="true"/>
156
+ <xsd:element name="packageName" type="xsd:string"/>
157
+ <xsd:element name="stackTrace" type="xsd:string" nillable="true"/>
158
+ <xsd:element name="time" type="xsd:double"/>
159
+ <xsd:element name="type" type="xsd:string"/>
160
+ </xsd:sequence>
161
+ </xsd:complexType>
162
+ <xsd:complexType name="RunTestSuccess">
163
+ <xsd:sequence>
164
+ <xsd:element name="id" type="tns:ID"/>
165
+ <xsd:element name="methodName" type="xsd:string"/>
166
+ <xsd:element name="name" type="xsd:string"/>
167
+ <xsd:element name="namespace" type="xsd:string" nillable="true"/>
168
+ <xsd:element name="time" type="xsd:double"/>
169
+ </xsd:sequence>
170
+ </xsd:complexType>
171
+ <xsd:complexType name="DescribeMetadataResult">
172
+ <xsd:sequence>
173
+ <xsd:element name="metadataObjects" minOccurs="0" maxOccurs="unbounded" type="tns:DescribeMetadataObject"/>
174
+ <xsd:element name="organizationNamespace" type="xsd:string"/>
175
+ <xsd:element name="partialSaveAllowed" type="xsd:boolean"/>
176
+ <xsd:element name="testRequired" type="xsd:boolean"/>
177
+ </xsd:sequence>
178
+ </xsd:complexType>
179
+ <xsd:complexType name="DescribeMetadataObject">
180
+ <xsd:sequence>
181
+ <xsd:element name="childXmlNames" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
182
+ <xsd:element name="directoryName" type="xsd:string"/>
183
+ <xsd:element name="inFolder" type="xsd:boolean"/>
184
+ <xsd:element name="metaFile" type="xsd:boolean"/>
185
+ <xsd:element name="suffix" minOccurs="0" type="xsd:string"/>
186
+ <xsd:element name="xmlName" type="xsd:string"/>
187
+ </xsd:sequence>
188
+ </xsd:complexType>
189
+ <xsd:complexType name="SharedTo">
190
+ <xsd:sequence>
191
+ <xsd:element name="group" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
192
+ <xsd:element name="groups" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
193
+ <xsd:element name="role" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
194
+ <xsd:element name="roleAndSubordinates" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
195
+ <xsd:element name="roleAndSubordinatesInternal" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
196
+ <xsd:element name="roles" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
197
+ <xsd:element name="rolesAndSubordinates" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
198
+ <xsd:element name="territories" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
199
+ <xsd:element name="territoriesAndSubordinates" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
200
+ <xsd:element name="territory" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
201
+ <xsd:element name="territoryAndSubordinates" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
202
+ </xsd:sequence>
203
+ </xsd:complexType>
204
+ <xsd:complexType name="CustomLabels">
205
+ <xsd:complexContent>
206
+ <xsd:extension base="tns:Metadata">
207
+ <xsd:sequence>
208
+ <xsd:element name="labels" minOccurs="0" maxOccurs="unbounded" type="tns:CustomLabel"/>
209
+ </xsd:sequence>
210
+ </xsd:extension>
211
+ </xsd:complexContent>
212
+ </xsd:complexType>
213
+ <xsd:complexType name="CustomLabel">
214
+ <xsd:complexContent>
215
+ <xsd:extension base="tns:Metadata">
216
+ <xsd:sequence>
217
+ <xsd:element name="categories" minOccurs="0" type="xsd:string"/>
218
+ <xsd:element name="language" type="xsd:string"/>
219
+ <xsd:element name="protected" type="xsd:boolean"/>
220
+ <xsd:element name="shortDescription" type="xsd:string"/>
221
+ <xsd:element name="value" type="xsd:string"/>
222
+ </xsd:sequence>
223
+ </xsd:extension>
224
+ </xsd:complexContent>
225
+ </xsd:complexType>
226
+ <xsd:complexType name="StaticResource">
227
+ <xsd:complexContent>
228
+ <xsd:extension base="tns:MetadataWithContent">
229
+ <xsd:sequence>
230
+ <xsd:element name="cacheControl" type="tns:StaticResourceCacheControl"/>
231
+ <xsd:element name="contentType" type="xsd:string"/>
232
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
233
+ </xsd:sequence>
234
+ </xsd:extension>
235
+ </xsd:complexContent>
236
+ </xsd:complexType>
237
+ <xsd:simpleType name="StaticResourceCacheControl">
238
+ <xsd:restriction base="xsd:string">
239
+ <xsd:enumeration value="Private"/>
240
+ <xsd:enumeration value="Public"/>
241
+ </xsd:restriction>
242
+ </xsd:simpleType>
243
+ <xsd:complexType name="Scontrol">
244
+ <xsd:complexContent>
245
+ <xsd:extension base="tns:MetadataWithContent">
246
+ <xsd:sequence>
247
+ <xsd:element name="contentSource" type="tns:SControlContentSource"/>
248
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
249
+ <xsd:element name="encodingKey" type="tns:Encoding"/>
250
+ <xsd:element name="fileContent" minOccurs="0" type="xsd:base64Binary"/>
251
+ <xsd:element name="fileName" minOccurs="0" type="xsd:string"/>
252
+ <xsd:element name="name" type="xsd:string"/>
253
+ <xsd:element name="supportsCaching" type="xsd:boolean"/>
254
+ </xsd:sequence>
255
+ </xsd:extension>
256
+ </xsd:complexContent>
257
+ </xsd:complexType>
258
+ <xsd:simpleType name="SControlContentSource">
259
+ <xsd:restriction base="xsd:string">
260
+ <xsd:enumeration value="HTML"/>
261
+ <xsd:enumeration value="URL"/>
262
+ <xsd:enumeration value="Snippet"/>
263
+ </xsd:restriction>
264
+ </xsd:simpleType>
265
+ <xsd:simpleType name="Encoding">
266
+ <xsd:restriction base="xsd:string">
267
+ <xsd:enumeration value="UTF-8"/>
268
+ <xsd:enumeration value="ISO-8859-1"/>
269
+ <xsd:enumeration value="Shift_JIS"/>
270
+ <xsd:enumeration value="ISO-2022-JP"/>
271
+ <xsd:enumeration value="EUC-JP"/>
272
+ <xsd:enumeration value="ks_c_5601-1987"/>
273
+ <xsd:enumeration value="Big5"/>
274
+ <xsd:enumeration value="GB2312"/>
275
+ <xsd:enumeration value="Big5-HKSCS"/>
276
+ <xsd:enumeration value="x-SJIS_0213"/>
277
+ </xsd:restriction>
278
+ </xsd:simpleType>
279
+ <xsd:complexType name="ApexComponent">
280
+ <xsd:complexContent>
281
+ <xsd:extension base="tns:MetadataWithContent">
282
+ <xsd:sequence>
283
+ <xsd:element name="apiVersion" minOccurs="0" type="xsd:double"/>
284
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
285
+ <xsd:element name="label" type="xsd:string"/>
286
+ <xsd:element name="packageVersions" minOccurs="0" maxOccurs="unbounded" type="tns:PackageVersion"/>
287
+ </xsd:sequence>
288
+ </xsd:extension>
289
+ </xsd:complexContent>
290
+ </xsd:complexType>
291
+ <xsd:complexType name="PackageVersion">
292
+ <xsd:sequence>
293
+ <xsd:element name="majorNumber" type="xsd:int"/>
294
+ <xsd:element name="minorNumber" type="xsd:int"/>
295
+ <xsd:element name="namespace" type="xsd:string"/>
296
+ </xsd:sequence>
297
+ </xsd:complexType>
298
+ <xsd:complexType name="ApexPage">
299
+ <xsd:complexContent>
300
+ <xsd:extension base="tns:MetadataWithContent">
301
+ <xsd:sequence>
302
+ <xsd:element name="apiVersion" type="xsd:double"/>
303
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
304
+ <xsd:element name="label" type="xsd:string"/>
305
+ <xsd:element name="packageVersions" minOccurs="0" maxOccurs="unbounded" type="tns:PackageVersion"/>
306
+ </xsd:sequence>
307
+ </xsd:extension>
308
+ </xsd:complexContent>
309
+ </xsd:complexType>
310
+ <xsd:complexType name="CustomDataType">
311
+ <xsd:complexContent>
312
+ <xsd:extension base="tns:Metadata">
313
+ <xsd:sequence>
314
+ <xsd:element name="customDataTypeComponents" minOccurs="0" maxOccurs="unbounded" type="tns:CustomDataTypeComponent"/>
315
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
316
+ <xsd:element name="displayFormula" minOccurs="0" type="xsd:string"/>
317
+ <xsd:element name="editComponentsOnSeparateLines" minOccurs="0" type="xsd:boolean"/>
318
+ <xsd:element name="label" type="xsd:string"/>
319
+ <xsd:element name="rightAligned" minOccurs="0" type="xsd:boolean"/>
320
+ <xsd:element name="supportComponentsInReports" minOccurs="0" type="xsd:boolean"/>
321
+ </xsd:sequence>
322
+ </xsd:extension>
323
+ </xsd:complexContent>
324
+ </xsd:complexType>
325
+ <xsd:complexType name="CustomDataTypeComponent">
326
+ <xsd:sequence>
327
+ <xsd:element name="developerSuffix" type="xsd:string"/>
328
+ <xsd:element name="enforceFieldRequiredness" minOccurs="0" type="xsd:boolean"/>
329
+ <xsd:element name="label" type="xsd:string"/>
330
+ <xsd:element name="length" minOccurs="0" type="xsd:int"/>
331
+ <xsd:element name="precision" minOccurs="0" type="xsd:int"/>
332
+ <xsd:element name="scale" minOccurs="0" type="xsd:int"/>
333
+ <xsd:element name="sortOrder" minOccurs="0" type="tns:SortOrder"/>
334
+ <xsd:element name="sortPriority" minOccurs="0" type="xsd:int"/>
335
+ <xsd:element name="type" type="tns:FieldType"/>
336
+ </xsd:sequence>
337
+ </xsd:complexType>
338
+ <xsd:complexType name="SearchLayouts">
339
+ <xsd:sequence>
340
+ <xsd:element name="customTabListAdditionalFields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
341
+ <xsd:element name="excludedStandardButtons" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
342
+ <xsd:element name="listViewButtons" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
343
+ <xsd:element name="lookupDialogsAdditionalFields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
344
+ <xsd:element name="lookupFilterFields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
345
+ <xsd:element name="lookupPhoneDialogsAdditionalFields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
346
+ <xsd:element name="searchFilterFields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
347
+ <xsd:element name="searchResultsAdditionalFields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
348
+ <xsd:element name="searchResultsCustomButtons" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
349
+ </xsd:sequence>
350
+ </xsd:complexType>
351
+ <xsd:complexType name="ListViewFilter">
352
+ <xsd:sequence>
353
+ <xsd:element name="field" type="xsd:string"/>
354
+ <xsd:element name="operation" type="tns:FilterOperation"/>
355
+ <xsd:element name="value" minOccurs="0" type="xsd:string"/>
356
+ </xsd:sequence>
357
+ </xsd:complexType>
358
+ <xsd:complexType name="ArticleTypeChannelDisplay">
359
+ <xsd:sequence>
360
+ <xsd:element name="articleTypeTemplates" minOccurs="0" maxOccurs="unbounded" type="tns:ArticleTypeTemplate"/>
361
+ </xsd:sequence>
362
+ </xsd:complexType>
363
+ <xsd:complexType name="ArticleTypeTemplate">
364
+ <xsd:sequence>
365
+ <xsd:element name="channel" type="tns:Channel"/>
366
+ <xsd:element name="page" minOccurs="0" type="xsd:string"/>
367
+ <xsd:element name="template" type="tns:Template"/>
368
+ </xsd:sequence>
369
+ </xsd:complexType>
370
+ <xsd:complexType name="CustomObject">
371
+ <xsd:complexContent>
372
+ <xsd:extension base="tns:Metadata">
373
+ <xsd:sequence>
374
+ <xsd:element name="actionOverrides" minOccurs="0" maxOccurs="unbounded" type="tns:ActionOverride"/>
375
+ <xsd:element name="articleTypeChannelDisplay" minOccurs="0" type="tns:ArticleTypeChannelDisplay"/>
376
+ <xsd:element name="businessProcesses" minOccurs="0" maxOccurs="unbounded" type="tns:BusinessProcess"/>
377
+ <xsd:element name="customHelp" minOccurs="0" type="xsd:string"/>
378
+ <xsd:element name="customHelpPage" minOccurs="0" type="xsd:string"/>
379
+ <xsd:element name="customSettingsType" minOccurs="0" type="tns:CustomSettingsType"/>
380
+ <xsd:element name="customSettingsVisibility" minOccurs="0" type="tns:CustomSettingsVisibility"/>
381
+ <xsd:element name="deploymentStatus" minOccurs="0" type="tns:DeploymentStatus"/>
382
+ <xsd:element name="deprecated" minOccurs="0" type="xsd:boolean"/>
383
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
384
+ <xsd:element name="enableActivities" minOccurs="0" type="xsd:boolean"/>
385
+ <xsd:element name="enableDivisions" minOccurs="0" type="xsd:boolean"/>
386
+ <xsd:element name="enableEnhancedLookup" minOccurs="0" type="xsd:boolean"/>
387
+ <xsd:element name="enableFeeds" minOccurs="0" type="xsd:boolean"/>
388
+ <xsd:element name="enableHistory" minOccurs="0" type="xsd:boolean"/>
389
+ <xsd:element name="enableReports" minOccurs="0" type="xsd:boolean"/>
390
+ <xsd:element name="fieldSets" minOccurs="0" maxOccurs="unbounded" type="tns:FieldSet"/>
391
+ <xsd:element name="fields" minOccurs="0" maxOccurs="unbounded" type="tns:CustomField"/>
392
+ <xsd:element name="gender" minOccurs="0" type="tns:Gender"/>
393
+ <xsd:element name="household" minOccurs="0" type="xsd:boolean"/>
394
+ <xsd:element name="label" minOccurs="0" type="xsd:string"/>
395
+ <xsd:element name="listViews" minOccurs="0" maxOccurs="unbounded" type="tns:ListView"/>
396
+ <xsd:element name="nameField" minOccurs="0" type="tns:CustomField"/>
397
+ <xsd:element name="namedFilters" minOccurs="0" maxOccurs="unbounded" type="tns:NamedFilter"/>
398
+ <xsd:element name="pluralLabel" minOccurs="0" type="xsd:string"/>
399
+ <xsd:element name="recordTypeTrackFeedHistory" minOccurs="0" type="xsd:boolean"/>
400
+ <xsd:element name="recordTypeTrackHistory" minOccurs="0" type="xsd:boolean"/>
401
+ <xsd:element name="recordTypes" minOccurs="0" maxOccurs="unbounded" type="tns:RecordType"/>
402
+ <xsd:element name="searchLayouts" minOccurs="0" type="tns:SearchLayouts"/>
403
+ <xsd:element name="sharingModel" minOccurs="0" type="tns:SharingModel"/>
404
+ <xsd:element name="sharingReasons" minOccurs="0" maxOccurs="unbounded" type="tns:SharingReason"/>
405
+ <xsd:element name="sharingRecalculations" minOccurs="0" maxOccurs="unbounded" type="tns:SharingRecalculation"/>
406
+ <xsd:element name="startsWith" minOccurs="0" type="tns:StartsWith"/>
407
+ <xsd:element name="validationRules" minOccurs="0" maxOccurs="unbounded" type="tns:ValidationRule"/>
408
+ <xsd:element name="webLinks" minOccurs="0" maxOccurs="unbounded" type="tns:WebLink"/>
409
+ </xsd:sequence>
410
+ </xsd:extension>
411
+ </xsd:complexContent>
412
+ </xsd:complexType>
413
+ <xsd:complexType name="ActionOverride">
414
+ <xsd:sequence>
415
+ <xsd:element name="actionName" minOccurs="0" type="xsd:string"/>
416
+ <xsd:element name="comment" minOccurs="0" type="xsd:string"/>
417
+ <xsd:element name="content" minOccurs="0" type="xsd:string"/>
418
+ <xsd:element name="skipRecordTypeSelect" minOccurs="0" type="xsd:boolean"/>
419
+ <xsd:element name="type" minOccurs="0" type="tns:ActionOverrideType"/>
420
+ </xsd:sequence>
421
+ </xsd:complexType>
422
+ <xsd:simpleType name="ActionOverrideType">
423
+ <xsd:restriction base="xsd:string">
424
+ <xsd:enumeration value="Default"/>
425
+ <xsd:enumeration value="Standard"/>
426
+ <xsd:enumeration value="Scontrol"/>
427
+ <xsd:enumeration value="Visualforce"/>
428
+ </xsd:restriction>
429
+ </xsd:simpleType>
430
+ <xsd:complexType name="BusinessProcess">
431
+ <xsd:complexContent>
432
+ <xsd:extension base="tns:Metadata">
433
+ <xsd:sequence>
434
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
435
+ <xsd:element name="isActive" minOccurs="0" type="xsd:boolean"/>
436
+ <xsd:element name="values" minOccurs="0" maxOccurs="unbounded" type="tns:PicklistValue"/>
437
+ </xsd:sequence>
438
+ </xsd:extension>
439
+ </xsd:complexContent>
440
+ </xsd:complexType>
441
+ <xsd:complexType name="PicklistValue">
442
+ <xsd:complexContent>
443
+ <xsd:extension base="tns:Metadata">
444
+ <xsd:sequence>
445
+ <xsd:element name="allowEmail" minOccurs="0" type="xsd:boolean"/>
446
+ <xsd:element name="closed" minOccurs="0" type="xsd:boolean"/>
447
+ <xsd:element name="color" minOccurs="0" type="xsd:string"/>
448
+ <xsd:element name="controllingFieldValues" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
449
+ <xsd:element name="converted" minOccurs="0" type="xsd:boolean"/>
450
+ <xsd:element name="cssExposed" minOccurs="0" type="xsd:boolean"/>
451
+ <xsd:element name="default" type="xsd:boolean"/>
452
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
453
+ <xsd:element name="forecastCategory" minOccurs="0" type="tns:ForecastCategories"/>
454
+ <xsd:element name="highPriority" minOccurs="0" type="xsd:boolean"/>
455
+ <xsd:element name="probability" minOccurs="0" type="xsd:int"/>
456
+ <xsd:element name="reverseRole" minOccurs="0" type="xsd:string"/>
457
+ <xsd:element name="reviewed" minOccurs="0" type="xsd:boolean"/>
458
+ <xsd:element name="won" minOccurs="0" type="xsd:boolean"/>
459
+ </xsd:sequence>
460
+ </xsd:extension>
461
+ </xsd:complexContent>
462
+ </xsd:complexType>
463
+ <xsd:complexType name="FieldSet">
464
+ <xsd:complexContent>
465
+ <xsd:extension base="tns:Metadata">
466
+ <xsd:sequence>
467
+ <xsd:element name="availableFields" minOccurs="0" maxOccurs="unbounded" type="tns:FieldSetItem"/>
468
+ <xsd:element name="description" type="xsd:string"/>
469
+ <xsd:element name="displayedFields" minOccurs="0" maxOccurs="unbounded" type="tns:FieldSetItem"/>
470
+ <xsd:element name="label" type="xsd:string"/>
471
+ </xsd:sequence>
472
+ </xsd:extension>
473
+ </xsd:complexContent>
474
+ </xsd:complexType>
475
+ <xsd:complexType name="FieldSetItem">
476
+ <xsd:sequence>
477
+ <xsd:element name="field" minOccurs="0" type="xsd:string"/>
478
+ <xsd:element name="isRequired" minOccurs="0" type="xsd:boolean"/>
479
+ </xsd:sequence>
480
+ </xsd:complexType>
481
+ <xsd:complexType name="CustomField">
482
+ <xsd:complexContent>
483
+ <xsd:extension base="tns:Metadata">
484
+ <xsd:sequence>
485
+ <xsd:element name="caseSensitive" minOccurs="0" type="xsd:boolean"/>
486
+ <xsd:element name="customDataType" minOccurs="0" type="xsd:string"/>
487
+ <xsd:element name="defaultValue" minOccurs="0" type="xsd:string"/>
488
+ <xsd:element name="deprecated" minOccurs="0" type="xsd:boolean"/>
489
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
490
+ <xsd:element name="displayFormat" minOccurs="0" type="xsd:string"/>
491
+ <xsd:element name="escapeMarkup" minOccurs="0" type="xsd:boolean"/>
492
+ <xsd:element name="externalId" minOccurs="0" type="xsd:boolean"/>
493
+ <xsd:element name="formula" minOccurs="0" type="xsd:string"/>
494
+ <xsd:element name="formulaTreatBlanksAs" minOccurs="0" type="tns:TreatBlanksAs"/>
495
+ <xsd:element name="inlineHelpText" minOccurs="0" type="xsd:string"/>
496
+ <xsd:element name="label" minOccurs="0" type="xsd:string"/>
497
+ <xsd:element name="length" minOccurs="0" type="xsd:int"/>
498
+ <xsd:element name="maskChar" minOccurs="0" type="tns:EncryptedFieldMaskChar"/>
499
+ <xsd:element name="maskType" minOccurs="0" type="tns:EncryptedFieldMaskType"/>
500
+ <xsd:element name="picklist" minOccurs="0" type="tns:Picklist"/>
501
+ <xsd:element name="populateExistingRows" minOccurs="0" type="xsd:boolean"/>
502
+ <xsd:element name="precision" minOccurs="0" type="xsd:int"/>
503
+ <xsd:element name="referenceTo" minOccurs="0" type="xsd:string"/>
504
+ <xsd:element name="relationshipLabel" minOccurs="0" type="xsd:string"/>
505
+ <xsd:element name="relationshipName" minOccurs="0" type="xsd:string"/>
506
+ <xsd:element name="relationshipOrder" minOccurs="0" type="xsd:int"/>
507
+ <xsd:element name="required" minOccurs="0" type="xsd:boolean"/>
508
+ <xsd:element name="restrictedAdminField" minOccurs="0" type="xsd:boolean"/>
509
+ <xsd:element name="scale" minOccurs="0" type="xsd:int"/>
510
+ <xsd:element name="startingNumber" minOccurs="0" type="xsd:int"/>
511
+ <xsd:element name="stripMarkup" minOccurs="0" type="xsd:boolean"/>
512
+ <xsd:element name="summarizedField" minOccurs="0" type="xsd:string"/>
513
+ <xsd:element name="summaryFilterItems" minOccurs="0" maxOccurs="unbounded" type="tns:FilterItem"/>
514
+ <xsd:element name="summaryForeignKey" minOccurs="0" type="xsd:string"/>
515
+ <xsd:element name="summaryOperation" minOccurs="0" type="tns:SummaryOperations"/>
516
+ <xsd:element name="trackFeedHistory" minOccurs="0" type="xsd:boolean"/>
517
+ <xsd:element name="trackHistory" minOccurs="0" type="xsd:boolean"/>
518
+ <xsd:element name="type" type="tns:FieldType"/>
519
+ <xsd:element name="unique" minOccurs="0" type="xsd:boolean"/>
520
+ <xsd:element name="visibleLines" minOccurs="0" type="xsd:int"/>
521
+ <xsd:element name="writeRequiresMasterRead" minOccurs="0" type="xsd:boolean"/>
522
+ </xsd:sequence>
523
+ </xsd:extension>
524
+ </xsd:complexContent>
525
+ </xsd:complexType>
526
+ <xsd:simpleType name="EncryptedFieldMaskChar">
527
+ <xsd:restriction base="xsd:string">
528
+ <xsd:enumeration value="asterisk"/>
529
+ <xsd:enumeration value="X"/>
530
+ </xsd:restriction>
531
+ </xsd:simpleType>
532
+ <xsd:simpleType name="EncryptedFieldMaskType">
533
+ <xsd:restriction base="xsd:string">
534
+ <xsd:enumeration value="all"/>
535
+ <xsd:enumeration value="creditCard"/>
536
+ <xsd:enumeration value="ssn"/>
537
+ <xsd:enumeration value="lastFour"/>
538
+ <xsd:enumeration value="sin"/>
539
+ <xsd:enumeration value="nino"/>
540
+ </xsd:restriction>
541
+ </xsd:simpleType>
542
+ <xsd:complexType name="Picklist">
543
+ <xsd:sequence>
544
+ <xsd:element name="controllingField" minOccurs="0" type="xsd:string"/>
545
+ <xsd:element name="picklistValues" minOccurs="0" maxOccurs="unbounded" type="tns:PicklistValue"/>
546
+ <xsd:element name="sorted" type="xsd:boolean"/>
547
+ </xsd:sequence>
548
+ </xsd:complexType>
549
+ <xsd:complexType name="FilterItem">
550
+ <xsd:sequence>
551
+ <xsd:element name="field" type="xsd:string"/>
552
+ <xsd:element name="operation" type="tns:FilterOperation"/>
553
+ <xsd:element name="value" minOccurs="0" type="xsd:string"/>
554
+ <xsd:element name="valueField" minOccurs="0" type="xsd:string"/>
555
+ </xsd:sequence>
556
+ </xsd:complexType>
557
+ <xsd:simpleType name="SummaryOperations">
558
+ <xsd:restriction base="xsd:string">
559
+ <xsd:enumeration value="count"/>
560
+ <xsd:enumeration value="sum"/>
561
+ <xsd:enumeration value="min"/>
562
+ <xsd:enumeration value="max"/>
563
+ </xsd:restriction>
564
+ </xsd:simpleType>
565
+ <xsd:complexType name="ListView">
566
+ <xsd:complexContent>
567
+ <xsd:extension base="tns:Metadata">
568
+ <xsd:sequence>
569
+ <xsd:element name="booleanFilter" minOccurs="0" type="xsd:string"/>
570
+ <xsd:element name="columns" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
571
+ <xsd:element name="division" minOccurs="0" type="xsd:string"/>
572
+ <xsd:element name="filterScope" type="tns:FilterScope"/>
573
+ <xsd:element name="filters" minOccurs="0" maxOccurs="unbounded" type="tns:ListViewFilter"/>
574
+ <xsd:element name="label" type="xsd:string"/>
575
+ <xsd:element name="language" minOccurs="0" type="tns:Language"/>
576
+ <xsd:element name="queue" minOccurs="0" type="xsd:string"/>
577
+ <xsd:element name="sharedTo" minOccurs="0" type="tns:SharedTo"/>
578
+ </xsd:sequence>
579
+ </xsd:extension>
580
+ </xsd:complexContent>
581
+ </xsd:complexType>
582
+ <xsd:simpleType name="Language">
583
+ <xsd:restriction base="xsd:string">
584
+ <xsd:enumeration value="en_US"/>
585
+ <xsd:enumeration value="de"/>
586
+ <xsd:enumeration value="es"/>
587
+ <xsd:enumeration value="fr"/>
588
+ <xsd:enumeration value="it"/>
589
+ <xsd:enumeration value="ja"/>
590
+ <xsd:enumeration value="sv"/>
591
+ <xsd:enumeration value="ko"/>
592
+ <xsd:enumeration value="zh_TW"/>
593
+ <xsd:enumeration value="zh_CN"/>
594
+ <xsd:enumeration value="pt_BR"/>
595
+ <xsd:enumeration value="nl_NL"/>
596
+ <xsd:enumeration value="da"/>
597
+ <xsd:enumeration value="th"/>
598
+ <xsd:enumeration value="fi"/>
599
+ <xsd:enumeration value="ru"/>
600
+ <xsd:enumeration value="es_MX"/>
601
+ <xsd:enumeration value="hu"/>
602
+ <xsd:enumeration value="pl"/>
603
+ <xsd:enumeration value="cs"/>
604
+ <xsd:enumeration value="tr"/>
605
+ <xsd:enumeration value="in"/>
606
+ <xsd:enumeration value="ro"/>
607
+ <xsd:enumeration value="vi"/>
608
+ <xsd:enumeration value="uk"/>
609
+ <xsd:enumeration value="iw"/>
610
+ <xsd:enumeration value="el"/>
611
+ <xsd:enumeration value="bg"/>
612
+ <xsd:enumeration value="en_GB"/>
613
+ <xsd:enumeration value="ar"/>
614
+ <xsd:enumeration value="no"/>
615
+ <xsd:enumeration value="fr_CA"/>
616
+ <xsd:enumeration value="ka"/>
617
+ <xsd:enumeration value="sr"/>
618
+ <xsd:enumeration value="sh"/>
619
+ <xsd:enumeration value="sk"/>
620
+ <xsd:enumeration value="en_AU"/>
621
+ <xsd:enumeration value="en_MY"/>
622
+ <xsd:enumeration value="en_IN"/>
623
+ <xsd:enumeration value="en_PH"/>
624
+ <xsd:enumeration value="en_CA"/>
625
+ <xsd:enumeration value="sl"/>
626
+ <xsd:enumeration value="ro_MD"/>
627
+ <xsd:enumeration value="hr"/>
628
+ <xsd:enumeration value="bs"/>
629
+ <xsd:enumeration value="mk"/>
630
+ <xsd:enumeration value="lv"/>
631
+ <xsd:enumeration value="lt"/>
632
+ <xsd:enumeration value="et"/>
633
+ <xsd:enumeration value="sq"/>
634
+ <xsd:enumeration value="sh_ME"/>
635
+ <xsd:enumeration value="mt"/>
636
+ <xsd:enumeration value="ga"/>
637
+ <xsd:enumeration value="eu"/>
638
+ <xsd:enumeration value="cy"/>
639
+ <xsd:enumeration value="is"/>
640
+ <xsd:enumeration value="pt_PT"/>
641
+ <xsd:enumeration value="ms"/>
642
+ <xsd:enumeration value="tl"/>
643
+ <xsd:enumeration value="lb"/>
644
+ <xsd:enumeration value="rm"/>
645
+ <xsd:enumeration value="hy"/>
646
+ <xsd:enumeration value="hi"/>
647
+ <xsd:enumeration value="ur"/>
648
+ <xsd:enumeration value="eo"/>
649
+ </xsd:restriction>
650
+ </xsd:simpleType>
651
+ <xsd:complexType name="NamedFilter">
652
+ <xsd:complexContent>
653
+ <xsd:extension base="tns:Metadata">
654
+ <xsd:sequence>
655
+ <xsd:element name="active" type="xsd:boolean"/>
656
+ <xsd:element name="booleanFilter" minOccurs="0" type="xsd:string"/>
657
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
658
+ <xsd:element name="errorMessage" minOccurs="0" type="xsd:string"/>
659
+ <xsd:element name="field" type="xsd:string"/>
660
+ <xsd:element name="filterItems" minOccurs="0" maxOccurs="unbounded" type="tns:FilterItem"/>
661
+ <xsd:element name="infoMessage" minOccurs="0" type="xsd:string"/>
662
+ <xsd:element name="isOptional" type="xsd:boolean"/>
663
+ <xsd:element name="name" type="xsd:string"/>
664
+ <xsd:element name="sourceObject" minOccurs="0" type="xsd:string"/>
665
+ </xsd:sequence>
666
+ </xsd:extension>
667
+ </xsd:complexContent>
668
+ </xsd:complexType>
669
+ <xsd:complexType name="RecordType">
670
+ <xsd:complexContent>
671
+ <xsd:extension base="tns:Metadata">
672
+ <xsd:sequence>
673
+ <xsd:element name="active" type="xsd:boolean"/>
674
+ <xsd:element name="businessProcess" minOccurs="0" type="xsd:string"/>
675
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
676
+ <xsd:element name="label" type="xsd:string"/>
677
+ <xsd:element name="picklistValues" minOccurs="0" maxOccurs="unbounded" type="tns:RecordTypePicklistValue"/>
678
+ </xsd:sequence>
679
+ </xsd:extension>
680
+ </xsd:complexContent>
681
+ </xsd:complexType>
682
+ <xsd:complexType name="RecordTypePicklistValue">
683
+ <xsd:sequence>
684
+ <xsd:element name="picklist" type="xsd:string"/>
685
+ <xsd:element name="values" minOccurs="0" maxOccurs="unbounded" type="tns:PicklistValue"/>
686
+ </xsd:sequence>
687
+ </xsd:complexType>
688
+ <xsd:complexType name="SharingReason">
689
+ <xsd:complexContent>
690
+ <xsd:extension base="tns:Metadata">
691
+ <xsd:sequence>
692
+ <xsd:element name="label" type="xsd:string"/>
693
+ </xsd:sequence>
694
+ </xsd:extension>
695
+ </xsd:complexContent>
696
+ </xsd:complexType>
697
+ <xsd:complexType name="SharingRecalculation">
698
+ <xsd:sequence>
699
+ <xsd:element name="className" type="xsd:string"/>
700
+ </xsd:sequence>
701
+ </xsd:complexType>
702
+ <xsd:complexType name="ValidationRule">
703
+ <xsd:complexContent>
704
+ <xsd:extension base="tns:Metadata">
705
+ <xsd:sequence>
706
+ <xsd:element name="active" type="xsd:boolean"/>
707
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
708
+ <xsd:element name="errorConditionFormula" type="xsd:string"/>
709
+ <xsd:element name="errorDisplayField" minOccurs="0" type="xsd:string"/>
710
+ <xsd:element name="errorMessage" type="xsd:string"/>
711
+ </xsd:sequence>
712
+ </xsd:extension>
713
+ </xsd:complexContent>
714
+ </xsd:complexType>
715
+ <xsd:complexType name="WebLink">
716
+ <xsd:complexContent>
717
+ <xsd:extension base="tns:Metadata">
718
+ <xsd:sequence>
719
+ <xsd:element name="availability" type="tns:WebLinkAvailability"/>
720
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
721
+ <xsd:element name="displayType" type="tns:WebLinkDisplayType"/>
722
+ <xsd:element name="hasMenubar" minOccurs="0" type="xsd:boolean"/>
723
+ <xsd:element name="hasScrollbars" minOccurs="0" type="xsd:boolean"/>
724
+ <xsd:element name="hasToolbar" minOccurs="0" type="xsd:boolean"/>
725
+ <xsd:element name="height" minOccurs="0" type="xsd:int"/>
726
+ <xsd:element name="isResizable" minOccurs="0" type="xsd:boolean"/>
727
+ <xsd:element name="linkType" type="tns:WebLinkType"/>
728
+ <xsd:element name="masterLabel" minOccurs="0" type="xsd:string"/>
729
+ <xsd:element name="openType" type="tns:WebLinkWindowType"/>
730
+ <xsd:element name="page" minOccurs="0" type="xsd:string"/>
731
+ <xsd:element name="position" minOccurs="0" type="tns:WebLinkPosition"/>
732
+ <xsd:element name="protected" type="xsd:boolean"/>
733
+ <xsd:element name="requireRowSelection" minOccurs="0" type="xsd:boolean"/>
734
+ <xsd:element name="scontrol" minOccurs="0" type="xsd:string"/>
735
+ <xsd:element name="showsLocation" minOccurs="0" type="xsd:boolean"/>
736
+ <xsd:element name="showsStatus" minOccurs="0" type="xsd:boolean"/>
737
+ <xsd:element name="url" minOccurs="0" type="xsd:string"/>
738
+ <xsd:element name="width" minOccurs="0" type="xsd:int"/>
739
+ </xsd:sequence>
740
+ </xsd:extension>
741
+ </xsd:complexContent>
742
+ </xsd:complexType>
743
+ <xsd:simpleType name="WebLinkAvailability">
744
+ <xsd:restriction base="xsd:string">
745
+ <xsd:enumeration value="online"/>
746
+ <xsd:enumeration value="offline"/>
747
+ </xsd:restriction>
748
+ </xsd:simpleType>
749
+ <xsd:simpleType name="WebLinkType">
750
+ <xsd:restriction base="xsd:string">
751
+ <xsd:enumeration value="url"/>
752
+ <xsd:enumeration value="sControl"/>
753
+ <xsd:enumeration value="javascript"/>
754
+ <xsd:enumeration value="page"/>
755
+ </xsd:restriction>
756
+ </xsd:simpleType>
757
+ <xsd:simpleType name="WebLinkWindowType">
758
+ <xsd:restriction base="xsd:string">
759
+ <xsd:enumeration value="newWindow"/>
760
+ <xsd:enumeration value="sidebar"/>
761
+ <xsd:enumeration value="noSidebar"/>
762
+ <xsd:enumeration value="replace"/>
763
+ <xsd:enumeration value="onClickJavaScript"/>
764
+ </xsd:restriction>
765
+ </xsd:simpleType>
766
+ <xsd:simpleType name="WebLinkPosition">
767
+ <xsd:restriction base="xsd:string">
768
+ <xsd:enumeration value="fullScreen"/>
769
+ <xsd:enumeration value="none"/>
770
+ <xsd:enumeration value="topLeft"/>
771
+ </xsd:restriction>
772
+ </xsd:simpleType>
773
+ <xsd:simpleType name="ReportTypeCategory">
774
+ <xsd:restriction base="xsd:string">
775
+ <xsd:enumeration value="accounts"/>
776
+ <xsd:enumeration value="opportunities"/>
777
+ <xsd:enumeration value="forecasts"/>
778
+ <xsd:enumeration value="cases"/>
779
+ <xsd:enumeration value="leads"/>
780
+ <xsd:enumeration value="campaigns"/>
781
+ <xsd:enumeration value="activities"/>
782
+ <xsd:enumeration value="busop"/>
783
+ <xsd:enumeration value="products"/>
784
+ <xsd:enumeration value="admin"/>
785
+ <xsd:enumeration value="territory"/>
786
+ <xsd:enumeration value="other"/>
787
+ <xsd:enumeration value="content"/>
788
+ </xsd:restriction>
789
+ </xsd:simpleType>
790
+ <xsd:complexType name="ObjectRelationship">
791
+ <xsd:sequence>
792
+ <xsd:element name="join" minOccurs="0" type="tns:ObjectRelationship"/>
793
+ <xsd:element name="outerJoin" type="xsd:boolean"/>
794
+ <xsd:element name="relationship" type="xsd:string"/>
795
+ </xsd:sequence>
796
+ </xsd:complexType>
797
+ <xsd:complexType name="ReportTypeColumn">
798
+ <xsd:sequence>
799
+ <xsd:element name="checkedByDefault" type="xsd:boolean"/>
800
+ <xsd:element name="displayNameOverride" minOccurs="0" type="xsd:string"/>
801
+ <xsd:element name="field" type="xsd:string"/>
802
+ <xsd:element name="table" type="xsd:string"/>
803
+ </xsd:sequence>
804
+ </xsd:complexType>
805
+ <xsd:complexType name="ReportLayoutSection">
806
+ <xsd:sequence>
807
+ <xsd:element name="columns" minOccurs="0" maxOccurs="unbounded" type="tns:ReportTypeColumn"/>
808
+ <xsd:element name="masterLabel" type="xsd:string"/>
809
+ </xsd:sequence>
810
+ </xsd:complexType>
811
+ <xsd:complexType name="ReportType">
812
+ <xsd:complexContent>
813
+ <xsd:extension base="tns:Metadata">
814
+ <xsd:sequence>
815
+ <xsd:element name="baseObject" type="xsd:string"/>
816
+ <xsd:element name="category" type="tns:ReportTypeCategory"/>
817
+ <xsd:element name="deployed" type="xsd:boolean"/>
818
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
819
+ <xsd:element name="join" minOccurs="0" type="tns:ObjectRelationship"/>
820
+ <xsd:element name="label" type="xsd:string"/>
821
+ <xsd:element name="sections" minOccurs="0" maxOccurs="unbounded" type="tns:ReportLayoutSection"/>
822
+ </xsd:sequence>
823
+ </xsd:extension>
824
+ </xsd:complexContent>
825
+ </xsd:complexType>
826
+ <xsd:simpleType name="ReportSummaryType">
827
+ <xsd:restriction base="xsd:string">
828
+ <xsd:enumeration value="Sum"/>
829
+ <xsd:enumeration value="Average"/>
830
+ <xsd:enumeration value="Maximum"/>
831
+ <xsd:enumeration value="Minimum"/>
832
+ <xsd:enumeration value="None"/>
833
+ </xsd:restriction>
834
+ </xsd:simpleType>
835
+ <xsd:complexType name="ReportAggregate">
836
+ <xsd:sequence>
837
+ <xsd:element name="acrossGroupingContext" minOccurs="0" type="xsd:string"/>
838
+ <xsd:element name="calculatedFormula" type="xsd:string"/>
839
+ <xsd:element name="datatype" type="tns:ReportAggregateDatatype"/>
840
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
841
+ <xsd:element name="developerName" type="xsd:string"/>
842
+ <xsd:element name="downGroupingContext" minOccurs="0" type="xsd:string"/>
843
+ <xsd:element name="isActive" type="xsd:boolean"/>
844
+ <xsd:element name="masterLabel" type="xsd:string"/>
845
+ <xsd:element name="scale" minOccurs="0" type="xsd:int"/>
846
+ </xsd:sequence>
847
+ </xsd:complexType>
848
+ <xsd:complexType name="ReportGrouping">
849
+ <xsd:sequence>
850
+ <xsd:element name="dateGranularity" minOccurs="0" type="tns:UserDateGranularity"/>
851
+ <xsd:element name="field" type="xsd:string"/>
852
+ <xsd:element name="sortOrder" type="tns:SortOrder"/>
853
+ </xsd:sequence>
854
+ </xsd:complexType>
855
+ <xsd:simpleType name="UserDateGranularity">
856
+ <xsd:restriction base="xsd:string">
857
+ <xsd:enumeration value="None"/>
858
+ <xsd:enumeration value="Day"/>
859
+ <xsd:enumeration value="Week"/>
860
+ <xsd:enumeration value="Month"/>
861
+ <xsd:enumeration value="Quarter"/>
862
+ <xsd:enumeration value="Year"/>
863
+ <xsd:enumeration value="FiscalQuarter"/>
864
+ <xsd:enumeration value="FiscalYear"/>
865
+ <xsd:enumeration value="MonthInYear"/>
866
+ <xsd:enumeration value="DayInMonth"/>
867
+ <xsd:enumeration value="FiscalPeriod"/>
868
+ <xsd:enumeration value="FiscalWeek"/>
869
+ </xsd:restriction>
870
+ </xsd:simpleType>
871
+ <xsd:complexType name="ReportColorRange">
872
+ <xsd:sequence>
873
+ <xsd:element name="aggregate" minOccurs="0" type="tns:ReportSummaryType"/>
874
+ <xsd:element name="columnName" type="xsd:string"/>
875
+ <xsd:element name="highBreakpoint" minOccurs="0" type="xsd:double"/>
876
+ <xsd:element name="highColor" type="xsd:string"/>
877
+ <xsd:element name="lowBreakpoint" minOccurs="0" type="xsd:double"/>
878
+ <xsd:element name="lowColor" type="xsd:string"/>
879
+ <xsd:element name="midColor" type="xsd:string"/>
880
+ </xsd:sequence>
881
+ </xsd:complexType>
882
+ <xsd:complexType name="ReportColumn">
883
+ <xsd:sequence>
884
+ <xsd:element name="aggregateTypes" minOccurs="0" maxOccurs="unbounded" type="tns:ReportSummaryType"/>
885
+ <xsd:element name="field" type="xsd:string"/>
886
+ </xsd:sequence>
887
+ </xsd:complexType>
888
+ <xsd:complexType name="ReportFilter">
889
+ <xsd:sequence>
890
+ <xsd:element name="booleanFilter" minOccurs="0" type="xsd:string"/>
891
+ <xsd:element name="criteriaItems" minOccurs="0" maxOccurs="unbounded" type="tns:ReportFilterItem"/>
892
+ <xsd:element name="language" minOccurs="0" type="tns:Language"/>
893
+ </xsd:sequence>
894
+ </xsd:complexType>
895
+ <xsd:complexType name="ReportFilterItem">
896
+ <xsd:sequence>
897
+ <xsd:element name="column" type="xsd:string"/>
898
+ <xsd:element name="operator" type="tns:FilterOperation"/>
899
+ <xsd:element name="value" minOccurs="0" type="xsd:string"/>
900
+ </xsd:sequence>
901
+ </xsd:complexType>
902
+ <xsd:complexType name="ReportTimeFrameFilter">
903
+ <xsd:sequence>
904
+ <xsd:element name="dateColumn" type="xsd:string"/>
905
+ <xsd:element name="endDate" minOccurs="0" type="xsd:date"/>
906
+ <xsd:element name="interval" type="tns:UserDateInterval"/>
907
+ <xsd:element name="startDate" minOccurs="0" type="xsd:date"/>
908
+ </xsd:sequence>
909
+ </xsd:complexType>
910
+ <xsd:complexType name="ReportParam">
911
+ <xsd:sequence>
912
+ <xsd:element name="name" type="xsd:string"/>
913
+ <xsd:element name="value" type="xsd:string"/>
914
+ </xsd:sequence>
915
+ </xsd:complexType>
916
+ <xsd:complexType name="Report">
917
+ <xsd:complexContent>
918
+ <xsd:extension base="tns:Metadata">
919
+ <xsd:sequence>
920
+ <xsd:element name="aggregates" minOccurs="0" maxOccurs="unbounded" type="tns:ReportAggregate"/>
921
+ <xsd:element name="chart" minOccurs="0" type="tns:ReportChart"/>
922
+ <xsd:element name="colorRanges" minOccurs="0" maxOccurs="unbounded" type="tns:ReportColorRange"/>
923
+ <xsd:element name="columns" minOccurs="0" maxOccurs="unbounded" type="tns:ReportColumn"/>
924
+ <xsd:element name="crossFilters" minOccurs="0" maxOccurs="unbounded" type="tns:ReportCrossFilter"/>
925
+ <xsd:element name="currency" minOccurs="0" type="tns:CurrencyIsoCode"/>
926
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
927
+ <xsd:element name="division" minOccurs="0" type="xsd:string"/>
928
+ <xsd:element name="filter" minOccurs="0" type="tns:ReportFilter"/>
929
+ <xsd:element name="format" type="tns:ReportFormat"/>
930
+ <xsd:element name="groupingsAcross" minOccurs="0" maxOccurs="unbounded" type="tns:ReportGrouping"/>
931
+ <xsd:element name="groupingsDown" minOccurs="0" maxOccurs="unbounded" type="tns:ReportGrouping"/>
932
+ <xsd:element name="name" type="xsd:string"/>
933
+ <xsd:element name="params" minOccurs="0" maxOccurs="unbounded" type="tns:ReportParam"/>
934
+ <xsd:element name="reportType" type="xsd:string"/>
935
+ <xsd:element name="roleHierarchyFilter" minOccurs="0" type="xsd:string"/>
936
+ <xsd:element name="rowLimit" minOccurs="0" type="xsd:int"/>
937
+ <xsd:element name="scope" minOccurs="0" type="xsd:string"/>
938
+ <xsd:element name="showDetails" minOccurs="0" type="xsd:boolean"/>
939
+ <xsd:element name="sortColumn" minOccurs="0" type="xsd:string"/>
940
+ <xsd:element name="sortOrder" minOccurs="0" type="tns:SortOrder"/>
941
+ <xsd:element name="territoryHierarchyFilter" minOccurs="0" type="xsd:string"/>
942
+ <xsd:element name="timeFrameFilter" minOccurs="0" type="tns:ReportTimeFrameFilter"/>
943
+ <xsd:element name="userFilter" minOccurs="0" type="xsd:string"/>
944
+ </xsd:sequence>
945
+ </xsd:extension>
946
+ </xsd:complexContent>
947
+ </xsd:complexType>
948
+ <xsd:complexType name="ReportChart">
949
+ <xsd:sequence>
950
+ <xsd:element name="backgroundColor1" minOccurs="0" type="xsd:string"/>
951
+ <xsd:element name="backgroundColor2" minOccurs="0" type="xsd:string"/>
952
+ <xsd:element name="backgroundFadeDir" minOccurs="0" type="tns:ChartBackgroundDirection"/>
953
+ <xsd:element name="chartSummaries" minOccurs="0" maxOccurs="unbounded" type="tns:ChartSummary"/>
954
+ <xsd:element name="chartType" type="tns:ChartType"/>
955
+ <xsd:element name="enableHoverLabels" minOccurs="0" type="xsd:boolean"/>
956
+ <xsd:element name="expandOthers" minOccurs="0" type="xsd:boolean"/>
957
+ <xsd:element name="groupingColumn" minOccurs="0" type="xsd:string"/>
958
+ <xsd:element name="legendPosition" minOccurs="0" type="tns:ChartLegendPosition"/>
959
+ <xsd:element name="location" minOccurs="0" type="tns:ChartPosition"/>
960
+ <xsd:element name="secondaryGroupingColumn" minOccurs="0" type="xsd:string"/>
961
+ <xsd:element name="showAxisLabels" minOccurs="0" type="xsd:boolean"/>
962
+ <xsd:element name="showPercentage" minOccurs="0" type="xsd:boolean"/>
963
+ <xsd:element name="showTotal" minOccurs="0" type="xsd:boolean"/>
964
+ <xsd:element name="showValues" minOccurs="0" type="xsd:boolean"/>
965
+ <xsd:element name="size" minOccurs="0" type="tns:ReportChartSize"/>
966
+ <xsd:element name="summaryAxisManualRangeEnd" minOccurs="0" type="xsd:double"/>
967
+ <xsd:element name="summaryAxisManualRangeStart" minOccurs="0" type="xsd:double"/>
968
+ <xsd:element name="summaryAxisRange" minOccurs="0" type="tns:ChartRangeType"/>
969
+ <xsd:element name="textColor" minOccurs="0" type="xsd:string"/>
970
+ <xsd:element name="textSize" minOccurs="0" type="xsd:int"/>
971
+ <xsd:element name="title" minOccurs="0" type="xsd:string"/>
972
+ <xsd:element name="titleColor" minOccurs="0" type="xsd:string"/>
973
+ <xsd:element name="titleSize" minOccurs="0" type="xsd:int"/>
974
+ </xsd:sequence>
975
+ </xsd:complexType>
976
+ <xsd:simpleType name="ChartBackgroundDirection">
977
+ <xsd:restriction base="xsd:string">
978
+ <xsd:enumeration value="TopToBottom"/>
979
+ <xsd:enumeration value="LeftToRight"/>
980
+ <xsd:enumeration value="Diagonal"/>
981
+ </xsd:restriction>
982
+ </xsd:simpleType>
983
+ <xsd:complexType name="ChartSummary">
984
+ <xsd:sequence>
985
+ <xsd:element name="aggregate" minOccurs="0" type="tns:ReportSummaryType"/>
986
+ <xsd:element name="axisBinding" minOccurs="0" type="tns:ChartAxis"/>
987
+ <xsd:element name="column" type="xsd:string"/>
988
+ </xsd:sequence>
989
+ </xsd:complexType>
990
+ <xsd:simpleType name="ChartAxis">
991
+ <xsd:restriction base="xsd:string">
992
+ <xsd:enumeration value="x"/>
993
+ <xsd:enumeration value="y"/>
994
+ <xsd:enumeration value="y2"/>
995
+ <xsd:enumeration value="r"/>
996
+ </xsd:restriction>
997
+ </xsd:simpleType>
998
+ <xsd:simpleType name="ChartLegendPosition">
999
+ <xsd:restriction base="xsd:string">
1000
+ <xsd:enumeration value="Right"/>
1001
+ <xsd:enumeration value="Bottom"/>
1002
+ <xsd:enumeration value="OnChart"/>
1003
+ </xsd:restriction>
1004
+ </xsd:simpleType>
1005
+ <xsd:simpleType name="ChartRangeType">
1006
+ <xsd:restriction base="xsd:string">
1007
+ <xsd:enumeration value="Auto"/>
1008
+ <xsd:enumeration value="Manual"/>
1009
+ </xsd:restriction>
1010
+ </xsd:simpleType>
1011
+ <xsd:complexType name="ReportCrossFilter">
1012
+ <xsd:sequence>
1013
+ <xsd:element name="criteriaItems" minOccurs="0" maxOccurs="unbounded" type="tns:ReportFilterItem"/>
1014
+ <xsd:element name="operation" type="tns:ObjectFilterOperator"/>
1015
+ <xsd:element name="primaryTableColumn" type="xsd:string"/>
1016
+ <xsd:element name="relatedTable" type="xsd:string"/>
1017
+ <xsd:element name="relatedTableJoinColumn" type="xsd:string"/>
1018
+ </xsd:sequence>
1019
+ </xsd:complexType>
1020
+ <xsd:simpleType name="ObjectFilterOperator">
1021
+ <xsd:restriction base="xsd:string">
1022
+ <xsd:enumeration value="with"/>
1023
+ <xsd:enumeration value="without"/>
1024
+ </xsd:restriction>
1025
+ </xsd:simpleType>
1026
+ <xsd:simpleType name="CurrencyIsoCode">
1027
+ <xsd:restriction base="xsd:string">
1028
+ <xsd:enumeration value="ADP"/>
1029
+ <xsd:enumeration value="AED"/>
1030
+ <xsd:enumeration value="AFA"/>
1031
+ <xsd:enumeration value="AFN"/>
1032
+ <xsd:enumeration value="ALL"/>
1033
+ <xsd:enumeration value="AMD"/>
1034
+ <xsd:enumeration value="ANG"/>
1035
+ <xsd:enumeration value="AOA"/>
1036
+ <xsd:enumeration value="ARS"/>
1037
+ <xsd:enumeration value="ATS"/>
1038
+ <xsd:enumeration value="AUD"/>
1039
+ <xsd:enumeration value="AWG"/>
1040
+ <xsd:enumeration value="AZM"/>
1041
+ <xsd:enumeration value="AZN"/>
1042
+ <xsd:enumeration value="BAM"/>
1043
+ <xsd:enumeration value="BBD"/>
1044
+ <xsd:enumeration value="BDT"/>
1045
+ <xsd:enumeration value="BEF"/>
1046
+ <xsd:enumeration value="BGL"/>
1047
+ <xsd:enumeration value="BGN"/>
1048
+ <xsd:enumeration value="BHD"/>
1049
+ <xsd:enumeration value="BIF"/>
1050
+ <xsd:enumeration value="BMD"/>
1051
+ <xsd:enumeration value="BND"/>
1052
+ <xsd:enumeration value="BOB"/>
1053
+ <xsd:enumeration value="BOV"/>
1054
+ <xsd:enumeration value="BRL"/>
1055
+ <xsd:enumeration value="BSD"/>
1056
+ <xsd:enumeration value="BTN"/>
1057
+ <xsd:enumeration value="BWP"/>
1058
+ <xsd:enumeration value="BYB"/>
1059
+ <xsd:enumeration value="BYR"/>
1060
+ <xsd:enumeration value="BZD"/>
1061
+ <xsd:enumeration value="CAD"/>
1062
+ <xsd:enumeration value="CDF"/>
1063
+ <xsd:enumeration value="CHF"/>
1064
+ <xsd:enumeration value="CLF"/>
1065
+ <xsd:enumeration value="CLP"/>
1066
+ <xsd:enumeration value="CNY"/>
1067
+ <xsd:enumeration value="COP"/>
1068
+ <xsd:enumeration value="CRC"/>
1069
+ <xsd:enumeration value="CUP"/>
1070
+ <xsd:enumeration value="CVE"/>
1071
+ <xsd:enumeration value="CYP"/>
1072
+ <xsd:enumeration value="CZK"/>
1073
+ <xsd:enumeration value="DEM"/>
1074
+ <xsd:enumeration value="DJF"/>
1075
+ <xsd:enumeration value="DKK"/>
1076
+ <xsd:enumeration value="DOP"/>
1077
+ <xsd:enumeration value="DZD"/>
1078
+ <xsd:enumeration value="EEK"/>
1079
+ <xsd:enumeration value="EGP"/>
1080
+ <xsd:enumeration value="ERN"/>
1081
+ <xsd:enumeration value="ESP"/>
1082
+ <xsd:enumeration value="ETB"/>
1083
+ <xsd:enumeration value="EUR"/>
1084
+ <xsd:enumeration value="FIM"/>
1085
+ <xsd:enumeration value="FJD"/>
1086
+ <xsd:enumeration value="FKP"/>
1087
+ <xsd:enumeration value="FRF"/>
1088
+ <xsd:enumeration value="GBP"/>
1089
+ <xsd:enumeration value="GEL"/>
1090
+ <xsd:enumeration value="GHC"/>
1091
+ <xsd:enumeration value="GHS"/>
1092
+ <xsd:enumeration value="GIP"/>
1093
+ <xsd:enumeration value="GMD"/>
1094
+ <xsd:enumeration value="GNF"/>
1095
+ <xsd:enumeration value="GRD"/>
1096
+ <xsd:enumeration value="GTQ"/>
1097
+ <xsd:enumeration value="GWP"/>
1098
+ <xsd:enumeration value="GYD"/>
1099
+ <xsd:enumeration value="HKD"/>
1100
+ <xsd:enumeration value="HNL"/>
1101
+ <xsd:enumeration value="HRK"/>
1102
+ <xsd:enumeration value="HTG"/>
1103
+ <xsd:enumeration value="HUF"/>
1104
+ <xsd:enumeration value="IDR"/>
1105
+ <xsd:enumeration value="IEP"/>
1106
+ <xsd:enumeration value="ILS"/>
1107
+ <xsd:enumeration value="INR"/>
1108
+ <xsd:enumeration value="IQD"/>
1109
+ <xsd:enumeration value="IRR"/>
1110
+ <xsd:enumeration value="ISK"/>
1111
+ <xsd:enumeration value="ITL"/>
1112
+ <xsd:enumeration value="JMD"/>
1113
+ <xsd:enumeration value="JOD"/>
1114
+ <xsd:enumeration value="JPY"/>
1115
+ <xsd:enumeration value="KES"/>
1116
+ <xsd:enumeration value="KGS"/>
1117
+ <xsd:enumeration value="KHR"/>
1118
+ <xsd:enumeration value="KMF"/>
1119
+ <xsd:enumeration value="KPW"/>
1120
+ <xsd:enumeration value="KRW"/>
1121
+ <xsd:enumeration value="KWD"/>
1122
+ <xsd:enumeration value="KYD"/>
1123
+ <xsd:enumeration value="KZT"/>
1124
+ <xsd:enumeration value="LAK"/>
1125
+ <xsd:enumeration value="LBP"/>
1126
+ <xsd:enumeration value="LKR"/>
1127
+ <xsd:enumeration value="LRD"/>
1128
+ <xsd:enumeration value="LSL"/>
1129
+ <xsd:enumeration value="LTL"/>
1130
+ <xsd:enumeration value="LUF"/>
1131
+ <xsd:enumeration value="LVL"/>
1132
+ <xsd:enumeration value="LYD"/>
1133
+ <xsd:enumeration value="MAD"/>
1134
+ <xsd:enumeration value="MDL"/>
1135
+ <xsd:enumeration value="MGA"/>
1136
+ <xsd:enumeration value="MGF"/>
1137
+ <xsd:enumeration value="MKD"/>
1138
+ <xsd:enumeration value="MMK"/>
1139
+ <xsd:enumeration value="MNT"/>
1140
+ <xsd:enumeration value="MOP"/>
1141
+ <xsd:enumeration value="MRO"/>
1142
+ <xsd:enumeration value="MTL"/>
1143
+ <xsd:enumeration value="MUR"/>
1144
+ <xsd:enumeration value="MVR"/>
1145
+ <xsd:enumeration value="MWK"/>
1146
+ <xsd:enumeration value="MXN"/>
1147
+ <xsd:enumeration value="MXV"/>
1148
+ <xsd:enumeration value="MYR"/>
1149
+ <xsd:enumeration value="MZM"/>
1150
+ <xsd:enumeration value="MZN"/>
1151
+ <xsd:enumeration value="NAD"/>
1152
+ <xsd:enumeration value="NGN"/>
1153
+ <xsd:enumeration value="NIO"/>
1154
+ <xsd:enumeration value="NLG"/>
1155
+ <xsd:enumeration value="NOK"/>
1156
+ <xsd:enumeration value="NPR"/>
1157
+ <xsd:enumeration value="NZD"/>
1158
+ <xsd:enumeration value="OMR"/>
1159
+ <xsd:enumeration value="PAB"/>
1160
+ <xsd:enumeration value="PEN"/>
1161
+ <xsd:enumeration value="PGK"/>
1162
+ <xsd:enumeration value="PHP"/>
1163
+ <xsd:enumeration value="PKR"/>
1164
+ <xsd:enumeration value="PLN"/>
1165
+ <xsd:enumeration value="PTE"/>
1166
+ <xsd:enumeration value="PYG"/>
1167
+ <xsd:enumeration value="QAR"/>
1168
+ <xsd:enumeration value="RMB"/>
1169
+ <xsd:enumeration value="ROL"/>
1170
+ <xsd:enumeration value="RON"/>
1171
+ <xsd:enumeration value="RSD"/>
1172
+ <xsd:enumeration value="RUB"/>
1173
+ <xsd:enumeration value="RUR"/>
1174
+ <xsd:enumeration value="RWF"/>
1175
+ <xsd:enumeration value="SAR"/>
1176
+ <xsd:enumeration value="SBD"/>
1177
+ <xsd:enumeration value="SCR"/>
1178
+ <xsd:enumeration value="SDD"/>
1179
+ <xsd:enumeration value="SDG"/>
1180
+ <xsd:enumeration value="SEK"/>
1181
+ <xsd:enumeration value="SGD"/>
1182
+ <xsd:enumeration value="SHP"/>
1183
+ <xsd:enumeration value="SIT"/>
1184
+ <xsd:enumeration value="SKK"/>
1185
+ <xsd:enumeration value="SLL"/>
1186
+ <xsd:enumeration value="SOS"/>
1187
+ <xsd:enumeration value="SRD"/>
1188
+ <xsd:enumeration value="SRG"/>
1189
+ <xsd:enumeration value="STD"/>
1190
+ <xsd:enumeration value="SVC"/>
1191
+ <xsd:enumeration value="SYP"/>
1192
+ <xsd:enumeration value="SZL"/>
1193
+ <xsd:enumeration value="THB"/>
1194
+ <xsd:enumeration value="TJR"/>
1195
+ <xsd:enumeration value="TJS"/>
1196
+ <xsd:enumeration value="TMM"/>
1197
+ <xsd:enumeration value="TMT"/>
1198
+ <xsd:enumeration value="TND"/>
1199
+ <xsd:enumeration value="TOP"/>
1200
+ <xsd:enumeration value="TPE"/>
1201
+ <xsd:enumeration value="TRL"/>
1202
+ <xsd:enumeration value="TRY"/>
1203
+ <xsd:enumeration value="TTD"/>
1204
+ <xsd:enumeration value="TWD"/>
1205
+ <xsd:enumeration value="TZS"/>
1206
+ <xsd:enumeration value="UAH"/>
1207
+ <xsd:enumeration value="UGX"/>
1208
+ <xsd:enumeration value="USD"/>
1209
+ <xsd:enumeration value="UYU"/>
1210
+ <xsd:enumeration value="UZS"/>
1211
+ <xsd:enumeration value="VEB"/>
1212
+ <xsd:enumeration value="VEF"/>
1213
+ <xsd:enumeration value="VND"/>
1214
+ <xsd:enumeration value="VUV"/>
1215
+ <xsd:enumeration value="WST"/>
1216
+ <xsd:enumeration value="XAF"/>
1217
+ <xsd:enumeration value="XCD"/>
1218
+ <xsd:enumeration value="XOF"/>
1219
+ <xsd:enumeration value="XPF"/>
1220
+ <xsd:enumeration value="YER"/>
1221
+ <xsd:enumeration value="YUM"/>
1222
+ <xsd:enumeration value="ZAR"/>
1223
+ <xsd:enumeration value="ZMK"/>
1224
+ <xsd:enumeration value="ZWD"/>
1225
+ <xsd:enumeration value="ZWL"/>
1226
+ </xsd:restriction>
1227
+ </xsd:simpleType>
1228
+ <xsd:simpleType name="ReportFormat">
1229
+ <xsd:restriction base="xsd:string">
1230
+ <xsd:enumeration value="MultiBlock"/>
1231
+ <xsd:enumeration value="Matrix"/>
1232
+ <xsd:enumeration value="Summary"/>
1233
+ <xsd:enumeration value="Tabular"/>
1234
+ </xsd:restriction>
1235
+ </xsd:simpleType>
1236
+ <xsd:complexType name="ReportFolder">
1237
+ <xsd:complexContent>
1238
+ <xsd:extension base="tns:Folder">
1239
+ <xsd:sequence/>
1240
+ </xsd:extension>
1241
+ </xsd:complexContent>
1242
+ </xsd:complexType>
1243
+ <xsd:simpleType name="DashboardComponentSize">
1244
+ <xsd:restriction base="xsd:string">
1245
+ <xsd:enumeration value="Narrow"/>
1246
+ <xsd:enumeration value="Medium"/>
1247
+ <xsd:enumeration value="Wide"/>
1248
+ </xsd:restriction>
1249
+ </xsd:simpleType>
1250
+ <xsd:simpleType name="DashboardType">
1251
+ <xsd:restriction base="xsd:string">
1252
+ <xsd:enumeration value="SpecifiedUser"/>
1253
+ <xsd:enumeration value="LoggedInUser"/>
1254
+ <xsd:enumeration value="MyTeamUser"/>
1255
+ </xsd:restriction>
1256
+ </xsd:simpleType>
1257
+ <xsd:complexType name="DashboardComponentSection">
1258
+ <xsd:sequence>
1259
+ <xsd:element name="columnSize" type="tns:DashboardComponentSize"/>
1260
+ <xsd:element name="components" minOccurs="0" maxOccurs="unbounded" type="tns:DashboardComponent"/>
1261
+ </xsd:sequence>
1262
+ </xsd:complexType>
1263
+ <xsd:complexType name="DashboardComponent">
1264
+ <xsd:sequence>
1265
+ <xsd:element name="chartAxisRange" minOccurs="0" type="tns:ChartRangeType"/>
1266
+ <xsd:element name="chartAxisRangeMax" minOccurs="0" type="xsd:double"/>
1267
+ <xsd:element name="chartAxisRangeMin" minOccurs="0" type="xsd:double"/>
1268
+ <xsd:element name="componentType" type="tns:DashboardComponentType"/>
1269
+ <xsd:element name="dashboardFilterColumns" minOccurs="0" maxOccurs="unbounded" type="tns:DashboardFilterColumn"/>
1270
+ <xsd:element name="dashboardTableColumn" minOccurs="0" maxOccurs="unbounded" type="tns:DashboardTableColumn"/>
1271
+ <xsd:element name="displayUnits" minOccurs="0" type="tns:ChartUnits"/>
1272
+ <xsd:element name="drillDownUrl" minOccurs="0" type="xsd:string"/>
1273
+ <xsd:element name="drillEnabled" minOccurs="0" type="xsd:boolean"/>
1274
+ <xsd:element name="drillToDetailEnabled" minOccurs="0" type="xsd:boolean"/>
1275
+ <xsd:element name="enableHover" minOccurs="0" type="xsd:boolean"/>
1276
+ <xsd:element name="expandOthers" minOccurs="0" type="xsd:boolean"/>
1277
+ <xsd:element name="footer" minOccurs="0" type="xsd:string"/>
1278
+ <xsd:element name="gaugeMax" minOccurs="0" type="xsd:double"/>
1279
+ <xsd:element name="gaugeMin" minOccurs="0" type="xsd:double"/>
1280
+ <xsd:element name="header" minOccurs="0" type="xsd:string"/>
1281
+ <xsd:element name="indicatorBreakpoint1" minOccurs="0" type="xsd:double"/>
1282
+ <xsd:element name="indicatorBreakpoint2" minOccurs="0" type="xsd:double"/>
1283
+ <xsd:element name="indicatorHighColor" minOccurs="0" type="xsd:string"/>
1284
+ <xsd:element name="indicatorLowColor" minOccurs="0" type="xsd:string"/>
1285
+ <xsd:element name="indicatorMiddleColor" minOccurs="0" type="xsd:string"/>
1286
+ <xsd:element name="legendPosition" minOccurs="0" type="tns:ChartLegendPosition"/>
1287
+ <xsd:element name="maxValuesDisplayed" minOccurs="0" type="xsd:int"/>
1288
+ <xsd:element name="metricLabel" minOccurs="0" type="xsd:string"/>
1289
+ <xsd:element name="page" minOccurs="0" type="xsd:string"/>
1290
+ <xsd:element name="pageHeightInPixels" minOccurs="0" type="xsd:int"/>
1291
+ <xsd:element name="report" minOccurs="0" type="xsd:string"/>
1292
+ <xsd:element name="scontrol" minOccurs="0" type="xsd:string"/>
1293
+ <xsd:element name="scontrolHeightInPixels" minOccurs="0" type="xsd:int"/>
1294
+ <xsd:element name="showPercentage" minOccurs="0" type="xsd:boolean"/>
1295
+ <xsd:element name="showPicturesOnCharts" minOccurs="0" type="xsd:boolean"/>
1296
+ <xsd:element name="showPicturesOnTables" minOccurs="0" type="xsd:boolean"/>
1297
+ <xsd:element name="showTotal" minOccurs="0" type="xsd:boolean"/>
1298
+ <xsd:element name="showValues" minOccurs="0" type="xsd:boolean"/>
1299
+ <xsd:element name="sortBy" minOccurs="0" type="tns:DashboardComponentFilter"/>
1300
+ <xsd:element name="title" minOccurs="0" type="xsd:string"/>
1301
+ <xsd:element name="useReportChart" minOccurs="0" type="xsd:boolean"/>
1302
+ </xsd:sequence>
1303
+ </xsd:complexType>
1304
+ <xsd:complexType name="DashboardFilterColumn">
1305
+ <xsd:sequence>
1306
+ <xsd:element name="column" type="xsd:string"/>
1307
+ </xsd:sequence>
1308
+ </xsd:complexType>
1309
+ <xsd:complexType name="DashboardTableColumn">
1310
+ <xsd:sequence>
1311
+ <xsd:element name="aggregateType" minOccurs="0" type="tns:ReportSummaryType"/>
1312
+ <xsd:element name="column" type="xsd:string"/>
1313
+ <xsd:element name="showTotal" minOccurs="0" type="xsd:boolean"/>
1314
+ <xsd:element name="sortBy" minOccurs="0" type="tns:DashboardComponentFilter"/>
1315
+ </xsd:sequence>
1316
+ </xsd:complexType>
1317
+ <xsd:complexType name="DashboardFilter">
1318
+ <xsd:sequence>
1319
+ <xsd:element name="dashboardFilterOptions" minOccurs="0" maxOccurs="unbounded" type="tns:DashboardFilterOption"/>
1320
+ <xsd:element name="name" type="xsd:string"/>
1321
+ </xsd:sequence>
1322
+ </xsd:complexType>
1323
+ <xsd:complexType name="DashboardFilterOption">
1324
+ <xsd:sequence>
1325
+ <xsd:element name="operator" type="tns:FilterOperation"/>
1326
+ <xsd:element name="value" type="xsd:string"/>
1327
+ </xsd:sequence>
1328
+ </xsd:complexType>
1329
+ <xsd:complexType name="Dashboard">
1330
+ <xsd:complexContent>
1331
+ <xsd:extension base="tns:Metadata">
1332
+ <xsd:sequence>
1333
+ <xsd:element name="backgroundEndColor" type="xsd:string"/>
1334
+ <xsd:element name="backgroundFadeDirection" type="tns:ChartBackgroundDirection"/>
1335
+ <xsd:element name="backgroundStartColor" type="xsd:string"/>
1336
+ <xsd:element name="dashboardFilters" minOccurs="0" maxOccurs="unbounded" type="tns:DashboardFilter"/>
1337
+ <xsd:element name="dashboardType" minOccurs="0" type="tns:DashboardType"/>
1338
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
1339
+ <xsd:element name="leftSection" type="tns:DashboardComponentSection"/>
1340
+ <xsd:element name="middleSection" minOccurs="0" type="tns:DashboardComponentSection"/>
1341
+ <xsd:element name="rightSection" type="tns:DashboardComponentSection"/>
1342
+ <xsd:element name="runningUser" minOccurs="0" type="xsd:string"/>
1343
+ <xsd:element name="textColor" type="xsd:string"/>
1344
+ <xsd:element name="title" type="xsd:string"/>
1345
+ <xsd:element name="titleColor" type="xsd:string"/>
1346
+ <xsd:element name="titleSize" type="xsd:int"/>
1347
+ </xsd:sequence>
1348
+ </xsd:extension>
1349
+ </xsd:complexContent>
1350
+ </xsd:complexType>
1351
+ <xsd:complexType name="DashboardFolder">
1352
+ <xsd:complexContent>
1353
+ <xsd:extension base="tns:Folder">
1354
+ <xsd:sequence/>
1355
+ </xsd:extension>
1356
+ </xsd:complexContent>
1357
+ </xsd:complexType>
1358
+ <xsd:complexType name="Layout">
1359
+ <xsd:complexContent>
1360
+ <xsd:extension base="tns:Metadata">
1361
+ <xsd:sequence>
1362
+ <xsd:element name="customButtons" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
1363
+ <xsd:element name="emailDefault" minOccurs="0" type="xsd:boolean"/>
1364
+ <xsd:element name="excludeButtons" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
1365
+ <xsd:element name="headers" minOccurs="0" maxOccurs="unbounded" type="tns:LayoutHeader"/>
1366
+ <xsd:element name="layoutSections" minOccurs="0" maxOccurs="unbounded" type="tns:LayoutSection"/>
1367
+ <xsd:element name="miniLayout" minOccurs="0" type="tns:MiniLayout"/>
1368
+ <xsd:element name="multilineLayoutFields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
1369
+ <xsd:element name="relatedLists" minOccurs="0" maxOccurs="unbounded" type="tns:RelatedListItem"/>
1370
+ <xsd:element name="relatedObjects" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
1371
+ <xsd:element name="runAssignmentRulesDefault" minOccurs="0" type="xsd:boolean"/>
1372
+ <xsd:element name="showEmailCheckbox" minOccurs="0" type="xsd:boolean"/>
1373
+ <xsd:element name="showHighlightsPanel" minOccurs="0" type="xsd:boolean"/>
1374
+ <xsd:element name="showInteractionLogPanel" minOccurs="0" type="xsd:boolean"/>
1375
+ <xsd:element name="showKnowledgeComponent" minOccurs="0" type="xsd:boolean"/>
1376
+ <xsd:element name="showRunAssignmentRulesCheckbox" minOccurs="0" type="xsd:boolean"/>
1377
+ <xsd:element name="showSolutionSection" minOccurs="0" type="xsd:boolean"/>
1378
+ <xsd:element name="showSubmitAndAttachButton" minOccurs="0" type="xsd:boolean"/>
1379
+ <xsd:element name="summaryLayout" minOccurs="0" type="tns:SummaryLayout"/>
1380
+ </xsd:sequence>
1381
+ </xsd:extension>
1382
+ </xsd:complexContent>
1383
+ </xsd:complexType>
1384
+ <xsd:complexType name="LayoutSection">
1385
+ <xsd:sequence>
1386
+ <xsd:element name="customLabel" minOccurs="0" type="xsd:boolean"/>
1387
+ <xsd:element name="detailHeading" minOccurs="0" type="xsd:boolean"/>
1388
+ <xsd:element name="editHeading" minOccurs="0" type="xsd:boolean"/>
1389
+ <xsd:element name="label" minOccurs="0" type="xsd:string"/>
1390
+ <xsd:element name="layoutColumns" minOccurs="0" maxOccurs="unbounded" type="tns:LayoutColumn"/>
1391
+ <xsd:element name="style" type="tns:LayoutSectionStyle"/>
1392
+ </xsd:sequence>
1393
+ </xsd:complexType>
1394
+ <xsd:complexType name="LayoutColumn">
1395
+ <xsd:sequence>
1396
+ <xsd:element name="layoutItems" minOccurs="0" maxOccurs="unbounded" type="tns:LayoutItem"/>
1397
+ <xsd:element name="reserved" minOccurs="0" type="xsd:string"/>
1398
+ </xsd:sequence>
1399
+ </xsd:complexType>
1400
+ <xsd:complexType name="LayoutItem">
1401
+ <xsd:sequence>
1402
+ <xsd:element name="behavior" minOccurs="0" type="tns:UiBehavior"/>
1403
+ <xsd:element name="customLink" minOccurs="0" type="xsd:string"/>
1404
+ <xsd:element name="emptySpace" minOccurs="0" type="xsd:boolean"/>
1405
+ <xsd:element name="field" minOccurs="0" type="xsd:string"/>
1406
+ <xsd:element name="height" minOccurs="0" type="xsd:int"/>
1407
+ <xsd:element name="page" minOccurs="0" type="xsd:string"/>
1408
+ <xsd:element name="scontrol" minOccurs="0" type="xsd:string"/>
1409
+ <xsd:element name="showLabel" minOccurs="0" type="xsd:boolean"/>
1410
+ <xsd:element name="showScrollbars" minOccurs="0" type="xsd:boolean"/>
1411
+ <xsd:element name="width" minOccurs="0" type="xsd:string"/>
1412
+ </xsd:sequence>
1413
+ </xsd:complexType>
1414
+ <xsd:complexType name="MiniLayout">
1415
+ <xsd:sequence>
1416
+ <xsd:element name="fields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
1417
+ <xsd:element name="relatedLists" minOccurs="0" maxOccurs="unbounded" type="tns:RelatedListItem"/>
1418
+ </xsd:sequence>
1419
+ </xsd:complexType>
1420
+ <xsd:complexType name="RelatedListItem">
1421
+ <xsd:sequence>
1422
+ <xsd:element name="customButtons" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
1423
+ <xsd:element name="excludeButtons" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
1424
+ <xsd:element name="fields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
1425
+ <xsd:element name="relatedList" type="xsd:string"/>
1426
+ <xsd:element name="sortField" minOccurs="0" type="xsd:string"/>
1427
+ <xsd:element name="sortOrder" minOccurs="0" type="tns:SortOrder"/>
1428
+ </xsd:sequence>
1429
+ </xsd:complexType>
1430
+ <xsd:complexType name="SummaryLayout">
1431
+ <xsd:sequence>
1432
+ <xsd:element name="masterLabel" type="xsd:string"/>
1433
+ <xsd:element name="sizeX" type="xsd:int"/>
1434
+ <xsd:element name="sizeY" minOccurs="0" type="xsd:int"/>
1435
+ <xsd:element name="sizeZ" minOccurs="0" type="xsd:int"/>
1436
+ <xsd:element name="summaryLayoutItems" minOccurs="0" maxOccurs="unbounded" type="tns:SummaryLayoutItem"/>
1437
+ <xsd:element name="summaryLayoutStyle" type="tns:SummaryLayoutStyle"/>
1438
+ </xsd:sequence>
1439
+ </xsd:complexType>
1440
+ <xsd:complexType name="SummaryLayoutItem">
1441
+ <xsd:sequence>
1442
+ <xsd:element name="customLink" minOccurs="0" type="xsd:string"/>
1443
+ <xsd:element name="field" minOccurs="0" type="xsd:string"/>
1444
+ <xsd:element name="posX" type="xsd:int"/>
1445
+ <xsd:element name="posY" minOccurs="0" type="xsd:int"/>
1446
+ <xsd:element name="posZ" minOccurs="0" type="xsd:int"/>
1447
+ </xsd:sequence>
1448
+ </xsd:complexType>
1449
+ <xsd:simpleType name="SummaryLayoutStyle">
1450
+ <xsd:restriction base="xsd:string">
1451
+ <xsd:enumeration value="Default"/>
1452
+ <xsd:enumeration value="QuoteTemplate"/>
1453
+ <xsd:enumeration value="DefaultQuoteTemplate"/>
1454
+ </xsd:restriction>
1455
+ </xsd:simpleType>
1456
+ <xsd:complexType name="Document">
1457
+ <xsd:complexContent>
1458
+ <xsd:extension base="tns:MetadataWithContent">
1459
+ <xsd:sequence>
1460
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
1461
+ <xsd:element name="internalUseOnly" type="xsd:boolean"/>
1462
+ <xsd:element name="keywords" minOccurs="0" type="xsd:string"/>
1463
+ <xsd:element name="name" minOccurs="0" type="xsd:string"/>
1464
+ <xsd:element name="public" type="xsd:boolean"/>
1465
+ </xsd:sequence>
1466
+ </xsd:extension>
1467
+ </xsd:complexContent>
1468
+ </xsd:complexType>
1469
+ <xsd:complexType name="DocumentFolder">
1470
+ <xsd:complexContent>
1471
+ <xsd:extension base="tns:Folder">
1472
+ <xsd:sequence/>
1473
+ </xsd:extension>
1474
+ </xsd:complexContent>
1475
+ </xsd:complexType>
1476
+ <xsd:simpleType name="FolderAccessTypes">
1477
+ <xsd:restriction base="xsd:string">
1478
+ <xsd:enumeration value="Shared"/>
1479
+ <xsd:enumeration value="Public"/>
1480
+ <xsd:enumeration value="Hidden"/>
1481
+ <xsd:enumeration value="PublicInternal"/>
1482
+ </xsd:restriction>
1483
+ </xsd:simpleType>
1484
+ <xsd:complexType name="CustomPageWebLink">
1485
+ <xsd:complexContent>
1486
+ <xsd:extension base="tns:Metadata">
1487
+ <xsd:sequence>
1488
+ <xsd:element name="availability" type="tns:WebLinkAvailability"/>
1489
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
1490
+ <xsd:element name="displayType" type="tns:WebLinkDisplayType"/>
1491
+ <xsd:element name="hasMenubar" minOccurs="0" type="xsd:boolean"/>
1492
+ <xsd:element name="hasScrollbars" minOccurs="0" type="xsd:boolean"/>
1493
+ <xsd:element name="hasToolbar" minOccurs="0" type="xsd:boolean"/>
1494
+ <xsd:element name="height" minOccurs="0" type="xsd:int"/>
1495
+ <xsd:element name="isResizable" minOccurs="0" type="xsd:boolean"/>
1496
+ <xsd:element name="linkType" type="tns:WebLinkType"/>
1497
+ <xsd:element name="masterLabel" minOccurs="0" type="xsd:string"/>
1498
+ <xsd:element name="openType" type="tns:WebLinkWindowType"/>
1499
+ <xsd:element name="page" minOccurs="0" type="xsd:string"/>
1500
+ <xsd:element name="position" minOccurs="0" type="tns:WebLinkPosition"/>
1501
+ <xsd:element name="protected" type="xsd:boolean"/>
1502
+ <xsd:element name="requireRowSelection" minOccurs="0" type="xsd:boolean"/>
1503
+ <xsd:element name="scontrol" minOccurs="0" type="xsd:string"/>
1504
+ <xsd:element name="showsLocation" minOccurs="0" type="xsd:boolean"/>
1505
+ <xsd:element name="showsStatus" minOccurs="0" type="xsd:boolean"/>
1506
+ <xsd:element name="url" minOccurs="0" type="xsd:string"/>
1507
+ <xsd:element name="width" minOccurs="0" type="xsd:int"/>
1508
+ </xsd:sequence>
1509
+ </xsd:extension>
1510
+ </xsd:complexContent>
1511
+ </xsd:complexType>
1512
+ <xsd:complexType name="CustomTab">
1513
+ <xsd:complexContent>
1514
+ <xsd:extension base="tns:Metadata">
1515
+ <xsd:sequence>
1516
+ <xsd:element name="customObject" minOccurs="0" type="xsd:boolean"/>
1517
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
1518
+ <xsd:element name="frameHeight" minOccurs="0" type="xsd:int"/>
1519
+ <xsd:element name="hasSidebar" minOccurs="0" type="xsd:boolean"/>
1520
+ <xsd:element name="icon" minOccurs="0" type="xsd:string"/>
1521
+ <xsd:element name="label" minOccurs="0" type="xsd:string"/>
1522
+ <xsd:element name="mobileReady" type="xsd:boolean"/>
1523
+ <xsd:element name="motif" type="xsd:string"/>
1524
+ <xsd:element name="page" minOccurs="0" type="xsd:string"/>
1525
+ <xsd:element name="scontrol" minOccurs="0" type="xsd:string"/>
1526
+ <xsd:element name="splashPageLink" minOccurs="0" type="xsd:string"/>
1527
+ <xsd:element name="url" minOccurs="0" type="xsd:string"/>
1528
+ <xsd:element name="urlEncodingKey" minOccurs="0" type="tns:Encoding"/>
1529
+ </xsd:sequence>
1530
+ </xsd:extension>
1531
+ </xsd:complexContent>
1532
+ </xsd:complexType>
1533
+ <xsd:complexType name="CustomApplication">
1534
+ <xsd:complexContent>
1535
+ <xsd:extension base="tns:Metadata">
1536
+ <xsd:sequence>
1537
+ <xsd:element name="defaultLandingTab" minOccurs="0" type="xsd:string"/>
1538
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
1539
+ <xsd:element name="label" type="xsd:string"/>
1540
+ <xsd:element name="logo" minOccurs="0" type="xsd:string"/>
1541
+ <xsd:element name="tab" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
1542
+ </xsd:sequence>
1543
+ </xsd:extension>
1544
+ </xsd:complexContent>
1545
+ </xsd:complexType>
1546
+ <xsd:complexType name="Portal">
1547
+ <xsd:complexContent>
1548
+ <xsd:extension base="tns:Metadata">
1549
+ <xsd:sequence>
1550
+ <xsd:element name="active" type="xsd:boolean"/>
1551
+ <xsd:element name="admin" minOccurs="0" type="xsd:string"/>
1552
+ <xsd:element name="defaultLanguage" minOccurs="0" type="xsd:string"/>
1553
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
1554
+ <xsd:element name="emailSenderAddress" type="xsd:string"/>
1555
+ <xsd:element name="emailSenderName" type="xsd:string"/>
1556
+ <xsd:element name="enableSelfCloseCase" minOccurs="0" type="xsd:boolean"/>
1557
+ <xsd:element name="footerDocument" minOccurs="0" type="xsd:string"/>
1558
+ <xsd:element name="forgotPassTemplate" minOccurs="0" type="xsd:string"/>
1559
+ <xsd:element name="headerDocument" minOccurs="0" type="xsd:string"/>
1560
+ <xsd:element name="isSelfRegistrationActivated" minOccurs="0" type="xsd:boolean"/>
1561
+ <xsd:element name="loginHeaderDocument" minOccurs="0" type="xsd:string"/>
1562
+ <xsd:element name="logoDocument" minOccurs="0" type="xsd:string"/>
1563
+ <xsd:element name="logoutUrl" minOccurs="0" type="xsd:string"/>
1564
+ <xsd:element name="newCommentTemplate" minOccurs="0" type="xsd:string"/>
1565
+ <xsd:element name="newPassTemplate" minOccurs="0" type="xsd:string"/>
1566
+ <xsd:element name="newUserTemplate" minOccurs="0" type="xsd:string"/>
1567
+ <xsd:element name="ownerNotifyTemplate" minOccurs="0" type="xsd:string"/>
1568
+ <xsd:element name="selfRegNewUserUrl" minOccurs="0" type="xsd:string"/>
1569
+ <xsd:element name="selfRegUserDefaultProfile" minOccurs="0" type="xsd:string"/>
1570
+ <xsd:element name="selfRegUserDefaultRole" minOccurs="0" type="tns:PortalRoles"/>
1571
+ <xsd:element name="selfRegUserTemplate" minOccurs="0" type="xsd:string"/>
1572
+ <xsd:element name="showActionConfirmation" minOccurs="0" type="xsd:boolean"/>
1573
+ <xsd:element name="stylesheetDocument" minOccurs="0" type="xsd:string"/>
1574
+ <xsd:element name="type" type="tns:PortalType"/>
1575
+ </xsd:sequence>
1576
+ </xsd:extension>
1577
+ </xsd:complexContent>
1578
+ </xsd:complexType>
1579
+ <xsd:simpleType name="PortalRoles">
1580
+ <xsd:restriction base="xsd:string">
1581
+ <xsd:enumeration value="Executive"/>
1582
+ <xsd:enumeration value="Manager"/>
1583
+ <xsd:enumeration value="Worker"/>
1584
+ <xsd:enumeration value="PersonAccount"/>
1585
+ </xsd:restriction>
1586
+ </xsd:simpleType>
1587
+ <xsd:complexType name="Letterhead">
1588
+ <xsd:complexContent>
1589
+ <xsd:extension base="tns:Metadata">
1590
+ <xsd:sequence>
1591
+ <xsd:element name="available" type="xsd:boolean"/>
1592
+ <xsd:element name="backgroundColor" type="xsd:string"/>
1593
+ <xsd:element name="bodyColor" type="xsd:string"/>
1594
+ <xsd:element name="bottomLine" type="tns:LetterheadLine"/>
1595
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
1596
+ <xsd:element name="footer" type="tns:LetterheadHeaderFooter"/>
1597
+ <xsd:element name="header" type="tns:LetterheadHeaderFooter"/>
1598
+ <xsd:element name="middleLine" type="tns:LetterheadLine"/>
1599
+ <xsd:element name="name" type="xsd:string"/>
1600
+ <xsd:element name="topLine" type="tns:LetterheadLine"/>
1601
+ </xsd:sequence>
1602
+ </xsd:extension>
1603
+ </xsd:complexContent>
1604
+ </xsd:complexType>
1605
+ <xsd:complexType name="LetterheadLine">
1606
+ <xsd:sequence>
1607
+ <xsd:element name="color" type="xsd:string"/>
1608
+ <xsd:element name="height" type="xsd:int"/>
1609
+ </xsd:sequence>
1610
+ </xsd:complexType>
1611
+ <xsd:complexType name="LetterheadHeaderFooter">
1612
+ <xsd:sequence>
1613
+ <xsd:element name="backgroundColor" type="xsd:string"/>
1614
+ <xsd:element name="height" type="xsd:int"/>
1615
+ <xsd:element name="horizontalAlignment" minOccurs="0" type="tns:LetterheadHorizontalAlignment"/>
1616
+ <xsd:element name="logo" minOccurs="0" type="xsd:string"/>
1617
+ <xsd:element name="verticalAlignment" minOccurs="0" type="tns:LetterheadVerticalAlignment"/>
1618
+ </xsd:sequence>
1619
+ </xsd:complexType>
1620
+ <xsd:simpleType name="EmailTemplateType">
1621
+ <xsd:restriction base="xsd:string">
1622
+ <xsd:enumeration value="text"/>
1623
+ <xsd:enumeration value="html"/>
1624
+ <xsd:enumeration value="custom"/>
1625
+ <xsd:enumeration value="visualforce"/>
1626
+ </xsd:restriction>
1627
+ </xsd:simpleType>
1628
+ <xsd:simpleType name="EmailTemplateStyle">
1629
+ <xsd:restriction base="xsd:string">
1630
+ <xsd:enumeration value="none"/>
1631
+ <xsd:enumeration value="freeForm"/>
1632
+ <xsd:enumeration value="formalLetter"/>
1633
+ <xsd:enumeration value="promotionRight"/>
1634
+ <xsd:enumeration value="promotionLeft"/>
1635
+ <xsd:enumeration value="newsletter"/>
1636
+ <xsd:enumeration value="products"/>
1637
+ </xsd:restriction>
1638
+ </xsd:simpleType>
1639
+ <xsd:complexType name="EmailTemplate">
1640
+ <xsd:complexContent>
1641
+ <xsd:extension base="tns:MetadataWithContent">
1642
+ <xsd:sequence>
1643
+ <xsd:element name="apiVersion" minOccurs="0" type="xsd:double"/>
1644
+ <xsd:element name="attachedDocuments" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
1645
+ <xsd:element name="attachments" minOccurs="0" maxOccurs="unbounded" type="tns:Attachment"/>
1646
+ <xsd:element name="available" type="xsd:boolean"/>
1647
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
1648
+ <xsd:element name="encodingKey" type="tns:Encoding"/>
1649
+ <xsd:element name="letterhead" minOccurs="0" type="xsd:string"/>
1650
+ <xsd:element name="name" type="xsd:string"/>
1651
+ <xsd:element name="packageVersions" minOccurs="0" maxOccurs="unbounded" type="tns:PackageVersion"/>
1652
+ <xsd:element name="style" type="tns:EmailTemplateStyle"/>
1653
+ <xsd:element name="subject" minOccurs="0" type="xsd:string"/>
1654
+ <xsd:element name="textOnly" minOccurs="0" type="xsd:string"/>
1655
+ <xsd:element name="type" type="tns:EmailTemplateType"/>
1656
+ </xsd:sequence>
1657
+ </xsd:extension>
1658
+ </xsd:complexContent>
1659
+ </xsd:complexType>
1660
+ <xsd:complexType name="Attachment">
1661
+ <xsd:sequence>
1662
+ <xsd:element name="content" type="xsd:base64Binary"/>
1663
+ <xsd:element name="name" type="xsd:string"/>
1664
+ </xsd:sequence>
1665
+ </xsd:complexType>
1666
+ <xsd:complexType name="EmailFolder">
1667
+ <xsd:complexContent>
1668
+ <xsd:extension base="tns:Folder">
1669
+ <xsd:sequence/>
1670
+ </xsd:extension>
1671
+ </xsd:complexContent>
1672
+ </xsd:complexType>
1673
+ <xsd:complexType name="Workflow">
1674
+ <xsd:complexContent>
1675
+ <xsd:extension base="tns:Metadata">
1676
+ <xsd:sequence>
1677
+ <xsd:element name="alerts" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowAlert"/>
1678
+ <xsd:element name="fieldUpdates" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowFieldUpdate"/>
1679
+ <xsd:element name="outboundMessages" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowOutboundMessage"/>
1680
+ <xsd:element name="rules" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowRule"/>
1681
+ <xsd:element name="tasks" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowTask"/>
1682
+ </xsd:sequence>
1683
+ </xsd:extension>
1684
+ </xsd:complexContent>
1685
+ </xsd:complexType>
1686
+ <xsd:complexType name="WorkflowAlert">
1687
+ <xsd:complexContent>
1688
+ <xsd:extension base="tns:WorkflowAction">
1689
+ <xsd:sequence>
1690
+ <xsd:element name="ccEmails" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
1691
+ <xsd:element name="description" type="xsd:string"/>
1692
+ <xsd:element name="protected" type="xsd:boolean"/>
1693
+ <xsd:element name="recipients" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowEmailRecipient"/>
1694
+ <xsd:element name="senderAddress" minOccurs="0" type="xsd:string"/>
1695
+ <xsd:element name="senderType" minOccurs="0" type="tns:ActionEmailSenderType"/>
1696
+ <xsd:element name="template" type="xsd:string"/>
1697
+ </xsd:sequence>
1698
+ </xsd:extension>
1699
+ </xsd:complexContent>
1700
+ </xsd:complexType>
1701
+ <xsd:complexType name="WorkflowEmailRecipient">
1702
+ <xsd:sequence>
1703
+ <xsd:element name="field" minOccurs="0" type="xsd:string"/>
1704
+ <xsd:element name="recipient" minOccurs="0" type="xsd:string"/>
1705
+ <xsd:element name="type" type="tns:ActionEmailRecipientTypes"/>
1706
+ </xsd:sequence>
1707
+ </xsd:complexType>
1708
+ <xsd:simpleType name="ActionEmailRecipientTypes">
1709
+ <xsd:restriction base="xsd:string">
1710
+ <xsd:enumeration value="group"/>
1711
+ <xsd:enumeration value="role"/>
1712
+ <xsd:enumeration value="user"/>
1713
+ <xsd:enumeration value="opportunityTeam"/>
1714
+ <xsd:enumeration value="accountTeam"/>
1715
+ <xsd:enumeration value="roleSubordinates"/>
1716
+ <xsd:enumeration value="owner"/>
1717
+ <xsd:enumeration value="creator"/>
1718
+ <xsd:enumeration value="partnerUser"/>
1719
+ <xsd:enumeration value="accountOwner"/>
1720
+ <xsd:enumeration value="customerPortalUser"/>
1721
+ <xsd:enumeration value="portalRole"/>
1722
+ <xsd:enumeration value="portalRoleSubordinates"/>
1723
+ <xsd:enumeration value="contactLookup"/>
1724
+ <xsd:enumeration value="userLookup"/>
1725
+ <xsd:enumeration value="roleSubordinatesInternal"/>
1726
+ <xsd:enumeration value="email"/>
1727
+ <xsd:enumeration value="caseTeam"/>
1728
+ <xsd:enumeration value="campaignMemberDerivedOwner"/>
1729
+ </xsd:restriction>
1730
+ </xsd:simpleType>
1731
+ <xsd:simpleType name="ActionEmailSenderType">
1732
+ <xsd:restriction base="xsd:string">
1733
+ <xsd:enumeration value="CurrentUser"/>
1734
+ <xsd:enumeration value="OrgWideEmailAddress"/>
1735
+ <xsd:enumeration value="DefaultWorkflowUser"/>
1736
+ </xsd:restriction>
1737
+ </xsd:simpleType>
1738
+ <xsd:complexType name="WorkflowFieldUpdate">
1739
+ <xsd:complexContent>
1740
+ <xsd:extension base="tns:WorkflowAction">
1741
+ <xsd:sequence>
1742
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
1743
+ <xsd:element name="field" type="xsd:string"/>
1744
+ <xsd:element name="formula" minOccurs="0" type="xsd:string"/>
1745
+ <xsd:element name="literalValue" minOccurs="0" type="xsd:string"/>
1746
+ <xsd:element name="lookupValue" minOccurs="0" type="xsd:string"/>
1747
+ <xsd:element name="lookupValueType" minOccurs="0" type="tns:LookupValueType"/>
1748
+ <xsd:element name="name" type="xsd:string"/>
1749
+ <xsd:element name="notifyAssignee" type="xsd:boolean"/>
1750
+ <xsd:element name="operation" type="tns:FieldUpdateOperation"/>
1751
+ <xsd:element name="protected" type="xsd:boolean"/>
1752
+ <xsd:element name="targetObject" minOccurs="0" type="xsd:string"/>
1753
+ </xsd:sequence>
1754
+ </xsd:extension>
1755
+ </xsd:complexContent>
1756
+ </xsd:complexType>
1757
+ <xsd:simpleType name="FieldUpdateOperation">
1758
+ <xsd:restriction base="xsd:string">
1759
+ <xsd:enumeration value="Formula"/>
1760
+ <xsd:enumeration value="Literal"/>
1761
+ <xsd:enumeration value="Null"/>
1762
+ <xsd:enumeration value="NextValue"/>
1763
+ <xsd:enumeration value="PreviousValue"/>
1764
+ <xsd:enumeration value="LookupValue"/>
1765
+ </xsd:restriction>
1766
+ </xsd:simpleType>
1767
+ <xsd:complexType name="WorkflowOutboundMessage">
1768
+ <xsd:complexContent>
1769
+ <xsd:extension base="tns:WorkflowAction">
1770
+ <xsd:sequence>
1771
+ <xsd:element name="apiVersion" type="xsd:double"/>
1772
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
1773
+ <xsd:element name="endpointUrl" type="xsd:string"/>
1774
+ <xsd:element name="fields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
1775
+ <xsd:element name="includeSessionId" type="xsd:boolean"/>
1776
+ <xsd:element name="integrationUser" type="xsd:string"/>
1777
+ <xsd:element name="name" type="xsd:string"/>
1778
+ <xsd:element name="protected" type="xsd:boolean"/>
1779
+ <xsd:element name="useDeadLetterQueue" minOccurs="0" type="xsd:boolean"/>
1780
+ </xsd:sequence>
1781
+ </xsd:extension>
1782
+ </xsd:complexContent>
1783
+ </xsd:complexType>
1784
+ <xsd:complexType name="WorkflowRule">
1785
+ <xsd:complexContent>
1786
+ <xsd:extension base="tns:Metadata">
1787
+ <xsd:sequence>
1788
+ <xsd:element name="actions" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowActionReference"/>
1789
+ <xsd:element name="active" type="xsd:boolean"/>
1790
+ <xsd:element name="booleanFilter" minOccurs="0" type="xsd:string"/>
1791
+ <xsd:element name="criteriaItems" minOccurs="0" maxOccurs="unbounded" type="tns:FilterItem"/>
1792
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
1793
+ <xsd:element name="formula" minOccurs="0" type="xsd:string"/>
1794
+ <xsd:element name="triggerType" type="tns:WorkflowTriggerTypes"/>
1795
+ <xsd:element name="workflowTimeTriggers" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowTimeTrigger"/>
1796
+ </xsd:sequence>
1797
+ </xsd:extension>
1798
+ </xsd:complexContent>
1799
+ </xsd:complexType>
1800
+ <xsd:complexType name="WorkflowActionReference">
1801
+ <xsd:sequence>
1802
+ <xsd:element name="name" type="xsd:string"/>
1803
+ <xsd:element name="type" type="tns:WorkflowActionType"/>
1804
+ </xsd:sequence>
1805
+ </xsd:complexType>
1806
+ <xsd:simpleType name="WorkflowTriggerTypes">
1807
+ <xsd:restriction base="xsd:string">
1808
+ <xsd:enumeration value="onCreateOnly"/>
1809
+ <xsd:enumeration value="onCreateOrTriggeringUpdate"/>
1810
+ <xsd:enumeration value="onAllChanges"/>
1811
+ </xsd:restriction>
1812
+ </xsd:simpleType>
1813
+ <xsd:complexType name="WorkflowTimeTrigger">
1814
+ <xsd:sequence>
1815
+ <xsd:element name="actions" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowActionReference"/>
1816
+ <xsd:element name="offsetFromField" minOccurs="0" type="xsd:string"/>
1817
+ <xsd:element name="timeLength" minOccurs="0" type="xsd:string"/>
1818
+ <xsd:element name="workflowTimeTriggerUnit" type="tns:WorkflowTimeUnits"/>
1819
+ </xsd:sequence>
1820
+ </xsd:complexType>
1821
+ <xsd:simpleType name="WorkflowTimeUnits">
1822
+ <xsd:restriction base="xsd:string">
1823
+ <xsd:enumeration value="Hours"/>
1824
+ <xsd:enumeration value="Days"/>
1825
+ </xsd:restriction>
1826
+ </xsd:simpleType>
1827
+ <xsd:complexType name="WorkflowTask">
1828
+ <xsd:complexContent>
1829
+ <xsd:extension base="tns:WorkflowAction">
1830
+ <xsd:sequence>
1831
+ <xsd:element name="assignedTo" minOccurs="0" type="xsd:string"/>
1832
+ <xsd:element name="assignedToType" type="tns:ActionTaskAssignedToTypes"/>
1833
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
1834
+ <xsd:element name="dueDateOffset" type="xsd:int"/>
1835
+ <xsd:element name="notifyAssignee" type="xsd:boolean"/>
1836
+ <xsd:element name="offsetFromField" minOccurs="0" type="xsd:string"/>
1837
+ <xsd:element name="priority" type="xsd:string"/>
1838
+ <xsd:element name="protected" type="xsd:boolean"/>
1839
+ <xsd:element name="status" type="xsd:string"/>
1840
+ <xsd:element name="subject" type="xsd:string"/>
1841
+ </xsd:sequence>
1842
+ </xsd:extension>
1843
+ </xsd:complexContent>
1844
+ </xsd:complexType>
1845
+ <xsd:simpleType name="ActionTaskAssignedToTypes">
1846
+ <xsd:restriction base="xsd:string">
1847
+ <xsd:enumeration value="user"/>
1848
+ <xsd:enumeration value="role"/>
1849
+ <xsd:enumeration value="opportunityTeam"/>
1850
+ <xsd:enumeration value="accountTeam"/>
1851
+ <xsd:enumeration value="owner"/>
1852
+ <xsd:enumeration value="accountOwner"/>
1853
+ <xsd:enumeration value="creator"/>
1854
+ <xsd:enumeration value="accountCreator"/>
1855
+ <xsd:enumeration value="partnerUser"/>
1856
+ <xsd:enumeration value="portalRole"/>
1857
+ </xsd:restriction>
1858
+ </xsd:simpleType>
1859
+ <xsd:complexType name="HomePageComponent">
1860
+ <xsd:complexContent>
1861
+ <xsd:extension base="tns:Metadata">
1862
+ <xsd:sequence>
1863
+ <xsd:element name="body" minOccurs="0" type="xsd:string"/>
1864
+ <xsd:element name="links" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
1865
+ <xsd:element name="pageComponentType" type="tns:PageComponentType"/>
1866
+ <xsd:element name="width" minOccurs="0" type="tns:PageComponentWidth"/>
1867
+ </xsd:sequence>
1868
+ </xsd:extension>
1869
+ </xsd:complexContent>
1870
+ </xsd:complexType>
1871
+ <xsd:complexType name="HomePageLayout">
1872
+ <xsd:complexContent>
1873
+ <xsd:extension base="tns:Metadata">
1874
+ <xsd:sequence>
1875
+ <xsd:element name="narrowComponents" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
1876
+ <xsd:element name="wideComponents" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
1877
+ </xsd:sequence>
1878
+ </xsd:extension>
1879
+ </xsd:complexContent>
1880
+ </xsd:complexType>
1881
+ <xsd:complexType name="CustomObjectTranslation">
1882
+ <xsd:complexContent>
1883
+ <xsd:extension base="tns:Metadata">
1884
+ <xsd:sequence>
1885
+ <xsd:element name="caseValues" minOccurs="0" maxOccurs="unbounded" type="tns:ObjectNameCaseValue"/>
1886
+ <xsd:element name="fields" minOccurs="0" maxOccurs="unbounded" type="tns:CustomFieldTranslation"/>
1887
+ <xsd:element name="gender" minOccurs="0" type="tns:Gender"/>
1888
+ <xsd:element name="layouts" minOccurs="0" maxOccurs="unbounded" type="tns:LayoutTranslation"/>
1889
+ <xsd:element name="nameFieldLabel" minOccurs="0" type="xsd:string"/>
1890
+ <xsd:element name="namedFilters" minOccurs="0" maxOccurs="unbounded" type="tns:NamedFilterTranslation"/>
1891
+ <xsd:element name="recordTypes" minOccurs="0" maxOccurs="unbounded" type="tns:RecordTypeTranslation"/>
1892
+ <xsd:element name="sharingReasons" minOccurs="0" maxOccurs="unbounded" type="tns:SharingReasonTranslation"/>
1893
+ <xsd:element name="startsWith" minOccurs="0" type="tns:StartsWith"/>
1894
+ <xsd:element name="validationRules" minOccurs="0" maxOccurs="unbounded" type="tns:ValidationRuleTranslation"/>
1895
+ <xsd:element name="webLinks" minOccurs="0" maxOccurs="unbounded" type="tns:WebLinkTranslation"/>
1896
+ <xsd:element name="workflowTasks" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowTaskTranslation"/>
1897
+ </xsd:sequence>
1898
+ </xsd:extension>
1899
+ </xsd:complexContent>
1900
+ </xsd:complexType>
1901
+ <xsd:complexType name="ObjectNameCaseValue">
1902
+ <xsd:sequence>
1903
+ <xsd:element name="article" minOccurs="0" type="tns:Article"/>
1904
+ <xsd:element name="caseType" minOccurs="0" type="tns:CaseType"/>
1905
+ <xsd:element name="plural" minOccurs="0" type="xsd:boolean"/>
1906
+ <xsd:element name="possessive" minOccurs="0" type="tns:Possessive"/>
1907
+ <xsd:element name="value" type="xsd:string"/>
1908
+ </xsd:sequence>
1909
+ </xsd:complexType>
1910
+ <xsd:complexType name="CustomFieldTranslation">
1911
+ <xsd:sequence>
1912
+ <xsd:element name="help" minOccurs="0" type="xsd:string"/>
1913
+ <xsd:element name="label" minOccurs="0" type="xsd:string"/>
1914
+ <xsd:element name="name" type="xsd:string"/>
1915
+ <xsd:element name="picklistValues" minOccurs="0" maxOccurs="unbounded" type="tns:PicklistValueTranslation"/>
1916
+ <xsd:element name="relationshipLabel" minOccurs="0" type="xsd:string"/>
1917
+ </xsd:sequence>
1918
+ </xsd:complexType>
1919
+ <xsd:complexType name="PicklistValueTranslation">
1920
+ <xsd:sequence>
1921
+ <xsd:element name="masterLabel" type="xsd:string"/>
1922
+ <xsd:element name="translation" minOccurs="0" type="xsd:string"/>
1923
+ </xsd:sequence>
1924
+ </xsd:complexType>
1925
+ <xsd:complexType name="LayoutTranslation">
1926
+ <xsd:sequence>
1927
+ <xsd:element name="layout" type="xsd:string"/>
1928
+ <xsd:element name="layoutType" minOccurs="0" type="xsd:string"/>
1929
+ <xsd:element name="sections" minOccurs="0" maxOccurs="unbounded" type="tns:LayoutSectionTranslation"/>
1930
+ </xsd:sequence>
1931
+ </xsd:complexType>
1932
+ <xsd:complexType name="LayoutSectionTranslation">
1933
+ <xsd:sequence>
1934
+ <xsd:element name="label" type="xsd:string"/>
1935
+ <xsd:element name="section" type="xsd:string"/>
1936
+ </xsd:sequence>
1937
+ </xsd:complexType>
1938
+ <xsd:complexType name="NamedFilterTranslation">
1939
+ <xsd:sequence>
1940
+ <xsd:element name="errorMessage" type="xsd:string"/>
1941
+ <xsd:element name="informationalMessage" type="xsd:string"/>
1942
+ <xsd:element name="name" type="xsd:string"/>
1943
+ </xsd:sequence>
1944
+ </xsd:complexType>
1945
+ <xsd:complexType name="RecordTypeTranslation">
1946
+ <xsd:sequence>
1947
+ <xsd:element name="label" type="xsd:string"/>
1948
+ <xsd:element name="name" type="xsd:string"/>
1949
+ </xsd:sequence>
1950
+ </xsd:complexType>
1951
+ <xsd:complexType name="SharingReasonTranslation">
1952
+ <xsd:sequence>
1953
+ <xsd:element name="label" type="xsd:string"/>
1954
+ <xsd:element name="name" type="xsd:string"/>
1955
+ </xsd:sequence>
1956
+ </xsd:complexType>
1957
+ <xsd:complexType name="ValidationRuleTranslation">
1958
+ <xsd:sequence>
1959
+ <xsd:element name="errorMessage" type="xsd:string"/>
1960
+ <xsd:element name="name" type="xsd:string"/>
1961
+ </xsd:sequence>
1962
+ </xsd:complexType>
1963
+ <xsd:complexType name="WebLinkTranslation">
1964
+ <xsd:sequence>
1965
+ <xsd:element name="label" type="xsd:string"/>
1966
+ <xsd:element name="name" type="xsd:string"/>
1967
+ </xsd:sequence>
1968
+ </xsd:complexType>
1969
+ <xsd:complexType name="WorkflowTaskTranslation">
1970
+ <xsd:sequence>
1971
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
1972
+ <xsd:element name="name" type="xsd:string"/>
1973
+ <xsd:element name="subject" minOccurs="0" type="xsd:string"/>
1974
+ </xsd:sequence>
1975
+ </xsd:complexType>
1976
+ <xsd:complexType name="Translations">
1977
+ <xsd:complexContent>
1978
+ <xsd:extension base="tns:Metadata">
1979
+ <xsd:sequence>
1980
+ <xsd:element name="customApplications" minOccurs="0" maxOccurs="unbounded" type="tns:CustomApplicationTranslation"/>
1981
+ <xsd:element name="customDataTypeTranslations" minOccurs="0" maxOccurs="unbounded" type="tns:CustomDataTypeTranslation"/>
1982
+ <xsd:element name="customLabels" minOccurs="0" maxOccurs="unbounded" type="tns:CustomLabelTranslation"/>
1983
+ <xsd:element name="customPageWebLinks" minOccurs="0" maxOccurs="unbounded" type="tns:CustomPageWebLinkTranslation"/>
1984
+ <xsd:element name="customTabs" minOccurs="0" maxOccurs="unbounded" type="tns:CustomTabTranslation"/>
1985
+ <xsd:element name="reportTypes" minOccurs="0" maxOccurs="unbounded" type="tns:ReportTypeTranslation"/>
1986
+ <xsd:element name="scontrols" minOccurs="0" maxOccurs="unbounded" type="tns:ScontrolTranslation"/>
1987
+ </xsd:sequence>
1988
+ </xsd:extension>
1989
+ </xsd:complexContent>
1990
+ </xsd:complexType>
1991
+ <xsd:complexType name="CustomApplicationTranslation">
1992
+ <xsd:sequence>
1993
+ <xsd:element name="label" type="xsd:string"/>
1994
+ <xsd:element name="name" type="xsd:string"/>
1995
+ </xsd:sequence>
1996
+ </xsd:complexType>
1997
+ <xsd:complexType name="CustomDataTypeTranslation">
1998
+ <xsd:sequence>
1999
+ <xsd:element name="components" minOccurs="0" maxOccurs="unbounded" type="tns:CustomDataTypeComponentTranslation"/>
2000
+ <xsd:element name="customDataTypeName" type="xsd:string"/>
2001
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
2002
+ <xsd:element name="label" minOccurs="0" type="xsd:string"/>
2003
+ </xsd:sequence>
2004
+ </xsd:complexType>
2005
+ <xsd:complexType name="CustomDataTypeComponentTranslation">
2006
+ <xsd:sequence>
2007
+ <xsd:element name="developerSuffix" type="xsd:string"/>
2008
+ <xsd:element name="label" minOccurs="0" type="xsd:string"/>
2009
+ </xsd:sequence>
2010
+ </xsd:complexType>
2011
+ <xsd:complexType name="CustomLabelTranslation">
2012
+ <xsd:sequence>
2013
+ <xsd:element name="label" type="xsd:string"/>
2014
+ <xsd:element name="name" type="xsd:string"/>
2015
+ </xsd:sequence>
2016
+ </xsd:complexType>
2017
+ <xsd:complexType name="CustomPageWebLinkTranslation">
2018
+ <xsd:sequence>
2019
+ <xsd:element name="label" type="xsd:string"/>
2020
+ <xsd:element name="name" type="xsd:string"/>
2021
+ </xsd:sequence>
2022
+ </xsd:complexType>
2023
+ <xsd:complexType name="CustomTabTranslation">
2024
+ <xsd:sequence>
2025
+ <xsd:element name="label" type="xsd:string"/>
2026
+ <xsd:element name="name" type="xsd:string"/>
2027
+ </xsd:sequence>
2028
+ </xsd:complexType>
2029
+ <xsd:complexType name="ReportTypeTranslation">
2030
+ <xsd:sequence>
2031
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
2032
+ <xsd:element name="label" minOccurs="0" type="xsd:string"/>
2033
+ <xsd:element name="name" type="xsd:string"/>
2034
+ <xsd:element name="sections" minOccurs="0" maxOccurs="unbounded" type="tns:ReportTypeSectionTranslation"/>
2035
+ </xsd:sequence>
2036
+ </xsd:complexType>
2037
+ <xsd:complexType name="ReportTypeSectionTranslation">
2038
+ <xsd:sequence>
2039
+ <xsd:element name="columns" minOccurs="0" maxOccurs="unbounded" type="tns:ReportTypeColumnTranslation"/>
2040
+ <xsd:element name="label" minOccurs="0" type="xsd:string"/>
2041
+ <xsd:element name="name" type="xsd:string"/>
2042
+ </xsd:sequence>
2043
+ </xsd:complexType>
2044
+ <xsd:complexType name="ReportTypeColumnTranslation">
2045
+ <xsd:sequence>
2046
+ <xsd:element name="label" type="xsd:string"/>
2047
+ <xsd:element name="name" type="xsd:string"/>
2048
+ </xsd:sequence>
2049
+ </xsd:complexType>
2050
+ <xsd:complexType name="ScontrolTranslation">
2051
+ <xsd:sequence>
2052
+ <xsd:element name="label" type="xsd:string"/>
2053
+ <xsd:element name="name" type="xsd:string"/>
2054
+ </xsd:sequence>
2055
+ </xsd:complexType>
2056
+ <xsd:complexType name="ApexClass">
2057
+ <xsd:complexContent>
2058
+ <xsd:extension base="tns:MetadataWithContent">
2059
+ <xsd:sequence>
2060
+ <xsd:element name="apiVersion" type="xsd:double"/>
2061
+ <xsd:element name="packageVersions" minOccurs="0" maxOccurs="unbounded" type="tns:PackageVersion"/>
2062
+ <xsd:element name="status" type="tns:ApexCodeUnitStatus"/>
2063
+ </xsd:sequence>
2064
+ </xsd:extension>
2065
+ </xsd:complexContent>
2066
+ </xsd:complexType>
2067
+ <xsd:simpleType name="ApexCodeUnitStatus">
2068
+ <xsd:restriction base="xsd:string">
2069
+ <xsd:enumeration value="Inactive"/>
2070
+ <xsd:enumeration value="Active"/>
2071
+ <xsd:enumeration value="Deleted"/>
2072
+ </xsd:restriction>
2073
+ </xsd:simpleType>
2074
+ <xsd:complexType name="ApexTrigger">
2075
+ <xsd:complexContent>
2076
+ <xsd:extension base="tns:MetadataWithContent">
2077
+ <xsd:sequence>
2078
+ <xsd:element name="apiVersion" type="xsd:double"/>
2079
+ <xsd:element name="packageVersions" minOccurs="0" maxOccurs="unbounded" type="tns:PackageVersion"/>
2080
+ <xsd:element name="status" type="tns:ApexCodeUnitStatus"/>
2081
+ </xsd:sequence>
2082
+ </xsd:extension>
2083
+ </xsd:complexContent>
2084
+ </xsd:complexType>
2085
+ <xsd:complexType name="Profile">
2086
+ <xsd:complexContent>
2087
+ <xsd:extension base="tns:Metadata">
2088
+ <xsd:sequence>
2089
+ <xsd:element name="applicationVisibilities" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileApplicationVisibility"/>
2090
+ <xsd:element name="classAccesses" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileApexClassAccess"/>
2091
+ <xsd:element name="fieldPermissions" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileFieldLevelSecurity"/>
2092
+ <xsd:element name="layoutAssignments" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileLayoutAssignment"/>
2093
+ <xsd:element name="loginIpRanges" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileLoginIpRange"/>
2094
+ <xsd:element name="objectPermissions" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileObjectPermissions"/>
2095
+ <xsd:element name="pageAccesses" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileApexPageAccess"/>
2096
+ <xsd:element name="recordTypeVisibilities" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileRecordTypeVisibility"/>
2097
+ <xsd:element name="tabVisibilities" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileTabVisibility"/>
2098
+ <xsd:element name="userLicense" minOccurs="0" type="xsd:string"/>
2099
+ </xsd:sequence>
2100
+ </xsd:extension>
2101
+ </xsd:complexContent>
2102
+ </xsd:complexType>
2103
+ <xsd:complexType name="ProfileApplicationVisibility">
2104
+ <xsd:sequence>
2105
+ <xsd:element name="application" type="xsd:string"/>
2106
+ <xsd:element name="default" type="xsd:boolean"/>
2107
+ <xsd:element name="visible" type="xsd:boolean"/>
2108
+ </xsd:sequence>
2109
+ </xsd:complexType>
2110
+ <xsd:complexType name="ProfileApexClassAccess">
2111
+ <xsd:sequence>
2112
+ <xsd:element name="apexClass" type="xsd:string"/>
2113
+ <xsd:element name="enabled" type="xsd:boolean"/>
2114
+ </xsd:sequence>
2115
+ </xsd:complexType>
2116
+ <xsd:complexType name="ProfileFieldLevelSecurity">
2117
+ <xsd:sequence>
2118
+ <xsd:element name="editable" type="xsd:boolean"/>
2119
+ <xsd:element name="field" type="xsd:string"/>
2120
+ <xsd:element name="readable" minOccurs="0" type="xsd:boolean"/>
2121
+ </xsd:sequence>
2122
+ </xsd:complexType>
2123
+ <xsd:complexType name="ProfileLayoutAssignment">
2124
+ <xsd:sequence>
2125
+ <xsd:element name="layout" type="xsd:string"/>
2126
+ <xsd:element name="recordType" minOccurs="0" type="xsd:string"/>
2127
+ </xsd:sequence>
2128
+ </xsd:complexType>
2129
+ <xsd:complexType name="ProfileLoginIpRange">
2130
+ <xsd:sequence>
2131
+ <xsd:element name="endAddress" type="xsd:string"/>
2132
+ <xsd:element name="startAddress" type="xsd:string"/>
2133
+ </xsd:sequence>
2134
+ </xsd:complexType>
2135
+ <xsd:complexType name="ProfileObjectPermissions">
2136
+ <xsd:sequence>
2137
+ <xsd:element name="allowCreate" minOccurs="0" type="xsd:boolean"/>
2138
+ <xsd:element name="allowDelete" minOccurs="0" type="xsd:boolean"/>
2139
+ <xsd:element name="allowEdit" minOccurs="0" type="xsd:boolean"/>
2140
+ <xsd:element name="allowRead" minOccurs="0" type="xsd:boolean"/>
2141
+ <xsd:element name="modifyAllRecords" minOccurs="0" type="xsd:boolean"/>
2142
+ <xsd:element name="object" type="xsd:string"/>
2143
+ <xsd:element name="viewAllRecords" minOccurs="0" type="xsd:boolean"/>
2144
+ </xsd:sequence>
2145
+ </xsd:complexType>
2146
+ <xsd:complexType name="ProfileApexPageAccess">
2147
+ <xsd:sequence>
2148
+ <xsd:element name="apexPage" type="xsd:string"/>
2149
+ <xsd:element name="enabled" type="xsd:boolean"/>
2150
+ </xsd:sequence>
2151
+ </xsd:complexType>
2152
+ <xsd:complexType name="ProfileRecordTypeVisibility">
2153
+ <xsd:sequence>
2154
+ <xsd:element name="default" type="xsd:boolean"/>
2155
+ <xsd:element name="personAccountDefault" minOccurs="0" type="xsd:boolean"/>
2156
+ <xsd:element name="recordType" type="xsd:string"/>
2157
+ <xsd:element name="visible" type="xsd:boolean"/>
2158
+ </xsd:sequence>
2159
+ </xsd:complexType>
2160
+ <xsd:complexType name="ProfileTabVisibility">
2161
+ <xsd:sequence>
2162
+ <xsd:element name="tab" type="xsd:string"/>
2163
+ <xsd:element name="visibility" type="tns:TabVisibility"/>
2164
+ </xsd:sequence>
2165
+ </xsd:complexType>
2166
+ <xsd:complexType name="PermissionSet">
2167
+ <xsd:complexContent>
2168
+ <xsd:extension base="tns:Metadata">
2169
+ <xsd:sequence>
2170
+ <xsd:element name="classAccesses" minOccurs="0" maxOccurs="unbounded" type="tns:PermissionSetApexClassAccess"/>
2171
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
2172
+ <xsd:element name="fieldPermissions" minOccurs="0" maxOccurs="unbounded" type="tns:PermissionSetFieldPermissions"/>
2173
+ <xsd:element name="label" minOccurs="0" type="xsd:string"/>
2174
+ <xsd:element name="objectPermissions" minOccurs="0" maxOccurs="unbounded" type="tns:PermissionSetObjectPermissions"/>
2175
+ <xsd:element name="pageAccesses" minOccurs="0" maxOccurs="unbounded" type="tns:PermissionSetApexPageAccess"/>
2176
+ <xsd:element name="userLicense" minOccurs="0" type="xsd:string"/>
2177
+ <xsd:element name="userPermissions" minOccurs="0" maxOccurs="unbounded" type="tns:PermissionSetUserPermission"/>
2178
+ </xsd:sequence>
2179
+ </xsd:extension>
2180
+ </xsd:complexContent>
2181
+ </xsd:complexType>
2182
+ <xsd:complexType name="PermissionSetApexClassAccess">
2183
+ <xsd:sequence>
2184
+ <xsd:element name="apexClass" type="xsd:string"/>
2185
+ <xsd:element name="enabled" type="xsd:boolean"/>
2186
+ </xsd:sequence>
2187
+ </xsd:complexType>
2188
+ <xsd:complexType name="PermissionSetFieldPermissions">
2189
+ <xsd:sequence>
2190
+ <xsd:element name="editable" type="xsd:boolean"/>
2191
+ <xsd:element name="field" type="xsd:string"/>
2192
+ <xsd:element name="readable" minOccurs="0" type="xsd:boolean"/>
2193
+ </xsd:sequence>
2194
+ </xsd:complexType>
2195
+ <xsd:complexType name="PermissionSetObjectPermissions">
2196
+ <xsd:sequence>
2197
+ <xsd:element name="allowCreate" type="xsd:boolean"/>
2198
+ <xsd:element name="allowDelete" type="xsd:boolean"/>
2199
+ <xsd:element name="allowEdit" type="xsd:boolean"/>
2200
+ <xsd:element name="allowRead" type="xsd:boolean"/>
2201
+ <xsd:element name="modifyAllRecords" type="xsd:boolean"/>
2202
+ <xsd:element name="object" type="xsd:string"/>
2203
+ <xsd:element name="viewAllRecords" type="xsd:boolean"/>
2204
+ </xsd:sequence>
2205
+ </xsd:complexType>
2206
+ <xsd:complexType name="PermissionSetApexPageAccess">
2207
+ <xsd:sequence>
2208
+ <xsd:element name="apexPage" type="xsd:string"/>
2209
+ <xsd:element name="enabled" type="xsd:boolean"/>
2210
+ </xsd:sequence>
2211
+ </xsd:complexType>
2212
+ <xsd:complexType name="PermissionSetUserPermission">
2213
+ <xsd:sequence>
2214
+ <xsd:element name="enabled" type="xsd:boolean"/>
2215
+ <xsd:element name="name" type="xsd:string"/>
2216
+ </xsd:sequence>
2217
+ </xsd:complexType>
2218
+ <xsd:complexType name="DataCategoryGroup">
2219
+ <xsd:complexContent>
2220
+ <xsd:extension base="tns:Metadata">
2221
+ <xsd:sequence>
2222
+ <xsd:element name="active" type="xsd:boolean"/>
2223
+ <xsd:element name="dataCategory" type="tns:DataCategory"/>
2224
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
2225
+ <xsd:element name="label" type="xsd:string"/>
2226
+ <xsd:element name="objectUsage" minOccurs="0" type="tns:ObjectUsage"/>
2227
+ </xsd:sequence>
2228
+ </xsd:extension>
2229
+ </xsd:complexContent>
2230
+ </xsd:complexType>
2231
+ <xsd:complexType name="DataCategory">
2232
+ <xsd:sequence>
2233
+ <xsd:element name="dataCategory" minOccurs="0" maxOccurs="unbounded" type="tns:DataCategory"/>
2234
+ <xsd:element name="label" type="xsd:string"/>
2235
+ <xsd:element name="name" type="xsd:string"/>
2236
+ </xsd:sequence>
2237
+ </xsd:complexType>
2238
+ <xsd:complexType name="ObjectUsage">
2239
+ <xsd:sequence>
2240
+ <xsd:element name="object" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
2241
+ </xsd:sequence>
2242
+ </xsd:complexType>
2243
+ <xsd:complexType name="AnalyticSnapshot">
2244
+ <xsd:complexContent>
2245
+ <xsd:extension base="tns:Metadata">
2246
+ <xsd:sequence>
2247
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
2248
+ <xsd:element name="groupColumn" minOccurs="0" type="xsd:string"/>
2249
+ <xsd:element name="mappings" minOccurs="0" maxOccurs="unbounded" type="tns:AnalyticSnapshotMapping"/>
2250
+ <xsd:element name="name" type="xsd:string"/>
2251
+ <xsd:element name="runningUser" minOccurs="0" type="xsd:string"/>
2252
+ <xsd:element name="sourceReport" type="xsd:string"/>
2253
+ <xsd:element name="targetObject" type="xsd:string"/>
2254
+ </xsd:sequence>
2255
+ </xsd:extension>
2256
+ </xsd:complexContent>
2257
+ </xsd:complexType>
2258
+ <xsd:complexType name="AnalyticSnapshotMapping">
2259
+ <xsd:sequence>
2260
+ <xsd:element name="aggregateType" minOccurs="0" type="tns:ReportSummaryType"/>
2261
+ <xsd:element name="sourceField" type="xsd:string"/>
2262
+ <xsd:element name="sourceType" type="tns:ReportJobSourceTypes"/>
2263
+ <xsd:element name="targetField" type="xsd:string"/>
2264
+ </xsd:sequence>
2265
+ </xsd:complexType>
2266
+ <xsd:simpleType name="ReportJobSourceTypes">
2267
+ <xsd:restriction base="xsd:string">
2268
+ <xsd:enumeration value="tabular"/>
2269
+ <xsd:enumeration value="summary"/>
2270
+ <xsd:enumeration value="snapshot"/>
2271
+ </xsd:restriction>
2272
+ </xsd:simpleType>
2273
+ <xsd:complexType name="EntitlementTemplate">
2274
+ <xsd:complexContent>
2275
+ <xsd:extension base="tns:Metadata">
2276
+ <xsd:sequence>
2277
+ <xsd:element name="businessHours" minOccurs="0" type="xsd:string"/>
2278
+ <xsd:element name="casesPerEntitlement" minOccurs="0" type="xsd:int"/>
2279
+ <xsd:element name="entitlementProcess" minOccurs="0" type="xsd:string"/>
2280
+ <xsd:element name="isPerIncident" minOccurs="0" type="xsd:boolean"/>
2281
+ <xsd:element name="term" minOccurs="0" type="xsd:int"/>
2282
+ <xsd:element name="type" minOccurs="0" type="xsd:string"/>
2283
+ </xsd:sequence>
2284
+ </xsd:extension>
2285
+ </xsd:complexContent>
2286
+ </xsd:complexType>
2287
+ <xsd:complexType name="RemoteSiteSetting">
2288
+ <xsd:complexContent>
2289
+ <xsd:extension base="tns:Metadata">
2290
+ <xsd:sequence>
2291
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
2292
+ <xsd:element name="disableProtocolSecurity" type="xsd:boolean"/>
2293
+ <xsd:element name="isActive" type="xsd:boolean"/>
2294
+ <xsd:element name="url" type="xsd:string"/>
2295
+ </xsd:sequence>
2296
+ </xsd:extension>
2297
+ </xsd:complexContent>
2298
+ </xsd:complexType>
2299
+ <xsd:complexType name="Package">
2300
+ <xsd:complexContent>
2301
+ <xsd:extension base="tns:Metadata">
2302
+ <xsd:sequence>
2303
+ <xsd:element name="apiAccessLevel" minOccurs="0" type="tns:APIAccessLevel"/>
2304
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
2305
+ <xsd:element name="namespacePrefix" minOccurs="0" type="xsd:string"/>
2306
+ <xsd:element name="objectPermissions" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileObjectPermissions"/>
2307
+ <xsd:element name="setupWeblink" minOccurs="0" type="xsd:string"/>
2308
+ <xsd:element name="types" minOccurs="0" maxOccurs="unbounded" type="tns:PackageTypeMembers"/>
2309
+ <xsd:element name="version" type="xsd:string"/>
2310
+ </xsd:sequence>
2311
+ </xsd:extension>
2312
+ </xsd:complexContent>
2313
+ </xsd:complexType>
2314
+ <xsd:complexType name="PackageTypeMembers">
2315
+ <xsd:sequence>
2316
+ <xsd:element name="members" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
2317
+ <xsd:element name="name" type="xsd:string"/>
2318
+ </xsd:sequence>
2319
+ </xsd:complexType>
2320
+ <xsd:complexType name="CustomSite">
2321
+ <xsd:complexContent>
2322
+ <xsd:extension base="tns:Metadata">
2323
+ <xsd:sequence>
2324
+ <xsd:element name="active" type="xsd:boolean"/>
2325
+ <xsd:element name="allowHomePage" type="xsd:boolean"/>
2326
+ <xsd:element name="allowStandardAnswersPages" minOccurs="0" type="xsd:boolean"/>
2327
+ <xsd:element name="allowStandardIdeasPages" type="xsd:boolean"/>
2328
+ <xsd:element name="allowStandardLookups" type="xsd:boolean"/>
2329
+ <xsd:element name="allowStandardSearch" type="xsd:boolean"/>
2330
+ <xsd:element name="analyticsTrackingCode" minOccurs="0" type="xsd:string"/>
2331
+ <xsd:element name="authorizationRequiredPage" minOccurs="0" type="xsd:string"/>
2332
+ <xsd:element name="bandwidthExceededPage" minOccurs="0" type="xsd:string"/>
2333
+ <xsd:element name="changePasswordPage" minOccurs="0" type="xsd:string"/>
2334
+ <xsd:element name="customWebAddresses" minOccurs="0" maxOccurs="unbounded" type="tns:SiteWebAddress"/>
2335
+ <xsd:element name="description" minOccurs="0" type="xsd:string"/>
2336
+ <xsd:element name="favoriteIcon" minOccurs="0" type="xsd:string"/>
2337
+ <xsd:element name="fileNotFoundPage" minOccurs="0" type="xsd:string"/>
2338
+ <xsd:element name="genericErrorPage" minOccurs="0" type="xsd:string"/>
2339
+ <xsd:element name="guestProfile" minOccurs="0" type="xsd:string"/>
2340
+ <xsd:element name="inMaintenancePage" minOccurs="0" type="xsd:string"/>
2341
+ <xsd:element name="inactiveIndexPage" minOccurs="0" type="xsd:string"/>
2342
+ <xsd:element name="indexPage" type="xsd:string"/>
2343
+ <xsd:element name="masterLabel" type="xsd:string"/>
2344
+ <xsd:element name="myProfilePage" minOccurs="0" type="xsd:string"/>
2345
+ <xsd:element name="portal" minOccurs="0" type="xsd:string"/>
2346
+ <xsd:element name="requireInsecurePortalAccess" type="xsd:boolean"/>
2347
+ <xsd:element name="robotsTxtPage" minOccurs="0" type="xsd:string"/>
2348
+ <xsd:element name="rootComponent" minOccurs="0" type="xsd:string"/>
2349
+ <xsd:element name="serverIsDown" minOccurs="0" type="xsd:string"/>
2350
+ <xsd:element name="siteAdmin" minOccurs="0" type="xsd:string"/>
2351
+ <xsd:element name="siteRedirectMappings" minOccurs="0" maxOccurs="unbounded" type="tns:SiteRedirectMapping"/>
2352
+ <xsd:element name="siteTemplate" minOccurs="0" type="xsd:string"/>
2353
+ <xsd:element name="subdomain" minOccurs="0" type="xsd:string"/>
2354
+ <xsd:element name="urlPathPrefix" minOccurs="0" type="xsd:string"/>
2355
+ </xsd:sequence>
2356
+ </xsd:extension>
2357
+ </xsd:complexContent>
2358
+ </xsd:complexType>
2359
+ <xsd:complexType name="SiteWebAddress">
2360
+ <xsd:sequence>
2361
+ <xsd:element name="domainName" type="xsd:string"/>
2362
+ <xsd:element name="primary" type="xsd:boolean"/>
2363
+ </xsd:sequence>
2364
+ </xsd:complexType>
2365
+ <xsd:complexType name="SiteRedirectMapping">
2366
+ <xsd:sequence>
2367
+ <xsd:element name="action" type="tns:SiteRedirect"/>
2368
+ <xsd:element name="isActive" minOccurs="0" type="xsd:boolean"/>
2369
+ <xsd:element name="source" type="xsd:string"/>
2370
+ <xsd:element name="target" type="xsd:string"/>
2371
+ </xsd:sequence>
2372
+ </xsd:complexType>
2373
+ <xsd:simpleType name="SiteRedirect">
2374
+ <xsd:restriction base="xsd:string">
2375
+ <xsd:enumeration value="Permanent"/>
2376
+ <xsd:enumeration value="Temporary"/>
2377
+ </xsd:restriction>
2378
+ </xsd:simpleType>
2379
+ <xsd:simpleType name="APIAccessLevel">
2380
+ <xsd:restriction base="xsd:string">
2381
+ <xsd:enumeration value="Unrestricted"/>
2382
+ <xsd:enumeration value="Restricted"/>
2383
+ </xsd:restriction>
2384
+ </xsd:simpleType>
2385
+ <xsd:simpleType name="Article">
2386
+ <xsd:restriction base="xsd:string">
2387
+ <xsd:enumeration value="None"/>
2388
+ <xsd:enumeration value="Indefinite"/>
2389
+ <xsd:enumeration value="Definite"/>
2390
+ </xsd:restriction>
2391
+ </xsd:simpleType>
2392
+ <xsd:simpleType name="CaseType">
2393
+ <xsd:restriction base="xsd:string">
2394
+ <xsd:enumeration value="Nominative"/>
2395
+ <xsd:enumeration value="Accusative"/>
2396
+ <xsd:enumeration value="Genitive"/>
2397
+ <xsd:enumeration value="Dative"/>
2398
+ <xsd:enumeration value="Inessive"/>
2399
+ <xsd:enumeration value="Elative"/>
2400
+ <xsd:enumeration value="Illative"/>
2401
+ <xsd:enumeration value="Adessive"/>
2402
+ <xsd:enumeration value="Ablative"/>
2403
+ <xsd:enumeration value="Allative"/>
2404
+ <xsd:enumeration value="Essive"/>
2405
+ <xsd:enumeration value="Translative"/>
2406
+ <xsd:enumeration value="Partitive"/>
2407
+ <xsd:enumeration value="Objective"/>
2408
+ <xsd:enumeration value="Subjective"/>
2409
+ <xsd:enumeration value="Instrumental"/>
2410
+ <xsd:enumeration value="Prepositional"/>
2411
+ <xsd:enumeration value="Locative"/>
2412
+ <xsd:enumeration value="Vocative"/>
2413
+ <xsd:enumeration value="Sublative"/>
2414
+ <xsd:enumeration value="Superessive"/>
2415
+ <xsd:enumeration value="Delative"/>
2416
+ <xsd:enumeration value="Causalfinal"/>
2417
+ <xsd:enumeration value="Essiveformal"/>
2418
+ <xsd:enumeration value="Termanative"/>
2419
+ <xsd:enumeration value="Distributive"/>
2420
+ <xsd:enumeration value="Ergative"/>
2421
+ <xsd:enumeration value="Adverbial"/>
2422
+ <xsd:enumeration value="Abessive"/>
2423
+ <xsd:enumeration value="Comitative"/>
2424
+ </xsd:restriction>
2425
+ </xsd:simpleType>
2426
+ <xsd:simpleType name="Channel">
2427
+ <xsd:restriction base="xsd:string">
2428
+ <xsd:enumeration value="AllChannels"/>
2429
+ <xsd:enumeration value="App"/>
2430
+ <xsd:enumeration value="Pkb"/>
2431
+ <xsd:enumeration value="Csp"/>
2432
+ <xsd:enumeration value="Prm"/>
2433
+ </xsd:restriction>
2434
+ </xsd:simpleType>
2435
+ <xsd:simpleType name="ChartPosition">
2436
+ <xsd:restriction base="xsd:string">
2437
+ <xsd:enumeration value="CHART_TOP"/>
2438
+ <xsd:enumeration value="CHART_BOTTOM"/>
2439
+ </xsd:restriction>
2440
+ </xsd:simpleType>
2441
+ <xsd:simpleType name="ChartType">
2442
+ <xsd:restriction base="xsd:string">
2443
+ <xsd:enumeration value="None"/>
2444
+ <xsd:enumeration value="Scatter"/>
2445
+ <xsd:enumeration value="ScatterGrouped"/>
2446
+ <xsd:enumeration value="Bubble"/>
2447
+ <xsd:enumeration value="BubbleGrouped"/>
2448
+ <xsd:enumeration value="HorizontalBar"/>
2449
+ <xsd:enumeration value="HorizontalBarGrouped"/>
2450
+ <xsd:enumeration value="HorizontalBarStacked"/>
2451
+ <xsd:enumeration value="HorizontalBarStackedTo100"/>
2452
+ <xsd:enumeration value="VerticalColumn"/>
2453
+ <xsd:enumeration value="VerticalColumnGrouped"/>
2454
+ <xsd:enumeration value="VerticalColumnStacked"/>
2455
+ <xsd:enumeration value="VerticalColumnStackedTo100"/>
2456
+ <xsd:enumeration value="Line"/>
2457
+ <xsd:enumeration value="LineGrouped"/>
2458
+ <xsd:enumeration value="LineCumulative"/>
2459
+ <xsd:enumeration value="LineCumulativeGrouped"/>
2460
+ <xsd:enumeration value="Pie"/>
2461
+ <xsd:enumeration value="Donut"/>
2462
+ <xsd:enumeration value="Funnel"/>
2463
+ <xsd:enumeration value="VerticalColumnLine"/>
2464
+ <xsd:enumeration value="VerticalColumnGroupedLine"/>
2465
+ <xsd:enumeration value="VerticalColumnStackedLine"/>
2466
+ </xsd:restriction>
2467
+ </xsd:simpleType>
2468
+ <xsd:simpleType name="ChartUnits">
2469
+ <xsd:restriction base="xsd:string">
2470
+ <xsd:enumeration value="Auto"/>
2471
+ <xsd:enumeration value="Integer"/>
2472
+ <xsd:enumeration value="Hundreds"/>
2473
+ <xsd:enumeration value="Thousands"/>
2474
+ <xsd:enumeration value="Millions"/>
2475
+ <xsd:enumeration value="Billions"/>
2476
+ <xsd:enumeration value="Trillions"/>
2477
+ </xsd:restriction>
2478
+ </xsd:simpleType>
2479
+ <xsd:simpleType name="CustomSettingsType">
2480
+ <xsd:restriction base="xsd:string">
2481
+ <xsd:enumeration value="List"/>
2482
+ <xsd:enumeration value="Hierarchy"/>
2483
+ </xsd:restriction>
2484
+ </xsd:simpleType>
2485
+ <xsd:simpleType name="CustomSettingsVisibility">
2486
+ <xsd:restriction base="xsd:string">
2487
+ <xsd:enumeration value="Protected"/>
2488
+ <xsd:enumeration value="Public"/>
2489
+ </xsd:restriction>
2490
+ </xsd:simpleType>
2491
+ <xsd:simpleType name="DashboardComponentFilter">
2492
+ <xsd:restriction base="xsd:string">
2493
+ <xsd:enumeration value="RowLabelAscending"/>
2494
+ <xsd:enumeration value="RowLabelDescending"/>
2495
+ <xsd:enumeration value="RowValueAscending"/>
2496
+ <xsd:enumeration value="RowValueDescending"/>
2497
+ </xsd:restriction>
2498
+ </xsd:simpleType>
2499
+ <xsd:simpleType name="DashboardComponentType">
2500
+ <xsd:restriction base="xsd:string">
2501
+ <xsd:enumeration value="Bar"/>
2502
+ <xsd:enumeration value="BarGrouped"/>
2503
+ <xsd:enumeration value="BarStacked"/>
2504
+ <xsd:enumeration value="BarStacked100"/>
2505
+ <xsd:enumeration value="Column"/>
2506
+ <xsd:enumeration value="ColumnGrouped"/>
2507
+ <xsd:enumeration value="ColumnStacked"/>
2508
+ <xsd:enumeration value="ColumnStacked100"/>
2509
+ <xsd:enumeration value="Line"/>
2510
+ <xsd:enumeration value="LineGrouped"/>
2511
+ <xsd:enumeration value="Pie"/>
2512
+ <xsd:enumeration value="Table"/>
2513
+ <xsd:enumeration value="Metric"/>
2514
+ <xsd:enumeration value="Gauge"/>
2515
+ <xsd:enumeration value="LineCumulative"/>
2516
+ <xsd:enumeration value="LineGroupedCumulative"/>
2517
+ <xsd:enumeration value="Scontrol"/>
2518
+ <xsd:enumeration value="VisualforcePage"/>
2519
+ <xsd:enumeration value="Donut"/>
2520
+ <xsd:enumeration value="Funnel"/>
2521
+ </xsd:restriction>
2522
+ </xsd:simpleType>
2523
+ <xsd:simpleType name="DeleteConstraint">
2524
+ <xsd:restriction base="xsd:string">
2525
+ <xsd:enumeration value="Cascade"/>
2526
+ <xsd:enumeration value="Restrict"/>
2527
+ <xsd:enumeration value="SetNull"/>
2528
+ </xsd:restriction>
2529
+ </xsd:simpleType>
2530
+ <xsd:complexType name="DeployOptions">
2531
+ <xsd:sequence>
2532
+ <xsd:element name="allowMissingFiles" type="xsd:boolean"/>
2533
+ <xsd:element name="autoUpdatePackage" type="xsd:boolean"/>
2534
+ <xsd:element name="checkOnly" type="xsd:boolean"/>
2535
+ <xsd:element name="ignoreWarnings" type="xsd:boolean"/>
2536
+ <xsd:element name="performRetrieve" type="xsd:boolean"/>
2537
+ <xsd:element name="purgeOnDelete" type="xsd:boolean"/>
2538
+ <xsd:element name="rollbackOnError" type="xsd:boolean"/>
2539
+ <xsd:element name="runAllTests" type="xsd:boolean"/>
2540
+ <xsd:element name="runTests" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
2541
+ <xsd:element name="singlePackage" type="xsd:boolean"/>
2542
+ </xsd:sequence>
2543
+ </xsd:complexType>
2544
+ <xsd:simpleType name="DeployProblemType">
2545
+ <xsd:restriction base="xsd:string">
2546
+ <xsd:enumeration value="Warning"/>
2547
+ <xsd:enumeration value="Error"/>
2548
+ </xsd:restriction>
2549
+ </xsd:simpleType>
2550
+ <xsd:simpleType name="DeploymentStatus">
2551
+ <xsd:restriction base="xsd:string">
2552
+ <xsd:enumeration value="InDevelopment"/>
2553
+ <xsd:enumeration value="Deployed"/>
2554
+ </xsd:restriction>
2555
+ </xsd:simpleType>
2556
+ <xsd:simpleType name="FieldType">
2557
+ <xsd:restriction base="xsd:string">
2558
+ <xsd:enumeration value="AutoNumber"/>
2559
+ <xsd:enumeration value="Lookup"/>
2560
+ <xsd:enumeration value="MasterDetail"/>
2561
+ <xsd:enumeration value="Checkbox"/>
2562
+ <xsd:enumeration value="Currency"/>
2563
+ <xsd:enumeration value="Date"/>
2564
+ <xsd:enumeration value="DateTime"/>
2565
+ <xsd:enumeration value="Email"/>
2566
+ <xsd:enumeration value="Number"/>
2567
+ <xsd:enumeration value="Percent"/>
2568
+ <xsd:enumeration value="Phone"/>
2569
+ <xsd:enumeration value="Picklist"/>
2570
+ <xsd:enumeration value="MultiselectPicklist"/>
2571
+ <xsd:enumeration value="Text"/>
2572
+ <xsd:enumeration value="TextArea"/>
2573
+ <xsd:enumeration value="LongTextArea"/>
2574
+ <xsd:enumeration value="Html"/>
2575
+ <xsd:enumeration value="Url"/>
2576
+ <xsd:enumeration value="EncryptedText"/>
2577
+ <xsd:enumeration value="Summary"/>
2578
+ <xsd:enumeration value="Hierarchy"/>
2579
+ <xsd:enumeration value="File"/>
2580
+ <xsd:enumeration value="CustomDataType"/>
2581
+ </xsd:restriction>
2582
+ </xsd:simpleType>
2583
+ <xsd:simpleType name="FilterOperation">
2584
+ <xsd:restriction base="xsd:string">
2585
+ <xsd:enumeration value="equals"/>
2586
+ <xsd:enumeration value="notEqual"/>
2587
+ <xsd:enumeration value="lessThan"/>
2588
+ <xsd:enumeration value="greaterThan"/>
2589
+ <xsd:enumeration value="lessOrEqual"/>
2590
+ <xsd:enumeration value="greaterOrEqual"/>
2591
+ <xsd:enumeration value="contains"/>
2592
+ <xsd:enumeration value="notContain"/>
2593
+ <xsd:enumeration value="startsWith"/>
2594
+ <xsd:enumeration value="includes"/>
2595
+ <xsd:enumeration value="excludes"/>
2596
+ </xsd:restriction>
2597
+ </xsd:simpleType>
2598
+ <xsd:simpleType name="FilterScope">
2599
+ <xsd:restriction base="xsd:string">
2600
+ <xsd:enumeration value="Everything"/>
2601
+ <xsd:enumeration value="Mine"/>
2602
+ <xsd:enumeration value="Queue"/>
2603
+ <xsd:enumeration value="Delegated"/>
2604
+ <xsd:enumeration value="MyTerritory"/>
2605
+ <xsd:enumeration value="MyTeamTerritory"/>
2606
+ <xsd:enumeration value="Team"/>
2607
+ </xsd:restriction>
2608
+ </xsd:simpleType>
2609
+ <xsd:complexType name="Folder">
2610
+ <xsd:complexContent>
2611
+ <xsd:extension base="tns:Metadata">
2612
+ <xsd:sequence>
2613
+ <xsd:element name="accessType" type="tns:FolderAccessTypes"/>
2614
+ <xsd:element name="name" type="xsd:string"/>
2615
+ <xsd:element name="publicFolderAccess" minOccurs="0" type="tns:PublicFolderAccess"/>
2616
+ <xsd:element name="sharedTo" minOccurs="0" type="tns:SharedTo"/>
2617
+ </xsd:sequence>
2618
+ </xsd:extension>
2619
+ </xsd:complexContent>
2620
+ </xsd:complexType>
2621
+ <xsd:complexType name="Metadata">
2622
+ <xsd:sequence>
2623
+ <xsd:element name="fullName" minOccurs="0" type="xsd:string"/>
2624
+ </xsd:sequence>
2625
+ </xsd:complexType>
2626
+ <xsd:simpleType name="PublicFolderAccess">
2627
+ <xsd:restriction base="xsd:string">
2628
+ <xsd:enumeration value="ReadOnly"/>
2629
+ <xsd:enumeration value="ReadWrite"/>
2630
+ </xsd:restriction>
2631
+ </xsd:simpleType>
2632
+ <xsd:simpleType name="ForecastCategories">
2633
+ <xsd:restriction base="xsd:string">
2634
+ <xsd:enumeration value="Omitted"/>
2635
+ <xsd:enumeration value="Pipeline"/>
2636
+ <xsd:enumeration value="BestCase"/>
2637
+ <xsd:enumeration value="Forecast"/>
2638
+ <xsd:enumeration value="Closed"/>
2639
+ </xsd:restriction>
2640
+ </xsd:simpleType>
2641
+ <xsd:simpleType name="Gender">
2642
+ <xsd:restriction base="xsd:string">
2643
+ <xsd:enumeration value="Neuter"/>
2644
+ <xsd:enumeration value="Masculine"/>
2645
+ <xsd:enumeration value="Feminine"/>
2646
+ </xsd:restriction>
2647
+ </xsd:simpleType>
2648
+ <xsd:simpleType name="LayoutHeader">
2649
+ <xsd:restriction base="xsd:string">
2650
+ <xsd:enumeration value="PersonalTagging"/>
2651
+ <xsd:enumeration value="PublicTagging"/>
2652
+ </xsd:restriction>
2653
+ </xsd:simpleType>
2654
+ <xsd:simpleType name="LayoutSectionStyle">
2655
+ <xsd:restriction base="xsd:string">
2656
+ <xsd:enumeration value="TwoColumnsTopToBottom"/>
2657
+ <xsd:enumeration value="TwoColumnsLeftToRight"/>
2658
+ <xsd:enumeration value="OneColumn"/>
2659
+ <xsd:enumeration value="CustomLinks"/>
2660
+ </xsd:restriction>
2661
+ </xsd:simpleType>
2662
+ <xsd:simpleType name="LetterheadHorizontalAlignment">
2663
+ <xsd:restriction base="xsd:string">
2664
+ <xsd:enumeration value="None"/>
2665
+ <xsd:enumeration value="Left"/>
2666
+ <xsd:enumeration value="Center"/>
2667
+ <xsd:enumeration value="Right"/>
2668
+ </xsd:restriction>
2669
+ </xsd:simpleType>
2670
+ <xsd:simpleType name="LetterheadVerticalAlignment">
2671
+ <xsd:restriction base="xsd:string">
2672
+ <xsd:enumeration value="None"/>
2673
+ <xsd:enumeration value="Top"/>
2674
+ <xsd:enumeration value="Middle"/>
2675
+ <xsd:enumeration value="Bottom"/>
2676
+ </xsd:restriction>
2677
+ </xsd:simpleType>
2678
+ <xsd:complexType name="ListMetadataQuery">
2679
+ <xsd:sequence>
2680
+ <xsd:element name="folder" minOccurs="0" type="xsd:string"/>
2681
+ <xsd:element name="type" type="xsd:string"/>
2682
+ </xsd:sequence>
2683
+ </xsd:complexType>
2684
+ <xsd:simpleType name="LogCategory">
2685
+ <xsd:restriction base="xsd:string">
2686
+ <xsd:enumeration value="Db"/>
2687
+ <xsd:enumeration value="Workflow"/>
2688
+ <xsd:enumeration value="Validation"/>
2689
+ <xsd:enumeration value="Callout"/>
2690
+ <xsd:enumeration value="Apex_code"/>
2691
+ <xsd:enumeration value="Apex_profiling"/>
2692
+ <xsd:enumeration value="Visualforce"/>
2693
+ <xsd:enumeration value="System"/>
2694
+ <xsd:enumeration value="All"/>
2695
+ </xsd:restriction>
2696
+ </xsd:simpleType>
2697
+ <xsd:simpleType name="LogCategoryLevel">
2698
+ <xsd:restriction base="xsd:string">
2699
+ <xsd:enumeration value="Internal"/>
2700
+ <xsd:enumeration value="Finest"/>
2701
+ <xsd:enumeration value="Finer"/>
2702
+ <xsd:enumeration value="Fine"/>
2703
+ <xsd:enumeration value="Debug"/>
2704
+ <xsd:enumeration value="Info"/>
2705
+ <xsd:enumeration value="Warn"/>
2706
+ <xsd:enumeration value="Error"/>
2707
+ </xsd:restriction>
2708
+ </xsd:simpleType>
2709
+ <xsd:complexType name="LogInfo">
2710
+ <xsd:sequence>
2711
+ <xsd:element name="category" type="tns:LogCategory"/>
2712
+ <xsd:element name="level" type="tns:LogCategoryLevel"/>
2713
+ </xsd:sequence>
2714
+ </xsd:complexType>
2715
+ <xsd:simpleType name="LogType">
2716
+ <xsd:restriction base="xsd:string">
2717
+ <xsd:enumeration value="None"/>
2718
+ <xsd:enumeration value="Debugonly"/>
2719
+ <xsd:enumeration value="Db"/>
2720
+ <xsd:enumeration value="Profiling"/>
2721
+ <xsd:enumeration value="Callout"/>
2722
+ <xsd:enumeration value="Detail"/>
2723
+ </xsd:restriction>
2724
+ </xsd:simpleType>
2725
+ <xsd:simpleType name="LookupValueType">
2726
+ <xsd:restriction base="xsd:string">
2727
+ <xsd:enumeration value="User"/>
2728
+ <xsd:enumeration value="Queue"/>
2729
+ <xsd:enumeration value="RecordType"/>
2730
+ </xsd:restriction>
2731
+ </xsd:simpleType>
2732
+ <xsd:complexType name="MetadataWithContent">
2733
+ <xsd:complexContent>
2734
+ <xsd:extension base="tns:Metadata">
2735
+ <xsd:sequence>
2736
+ <xsd:element name="content" minOccurs="0" type="xsd:base64Binary"/>
2737
+ </xsd:sequence>
2738
+ </xsd:extension>
2739
+ </xsd:complexContent>
2740
+ </xsd:complexType>
2741
+ <xsd:simpleType name="PageComponentType">
2742
+ <xsd:restriction base="xsd:string">
2743
+ <xsd:enumeration value="links"/>
2744
+ <xsd:enumeration value="htmlArea"/>
2745
+ <xsd:enumeration value="imageOrNote"/>
2746
+ </xsd:restriction>
2747
+ </xsd:simpleType>
2748
+ <xsd:simpleType name="PageComponentWidth">
2749
+ <xsd:restriction base="xsd:string">
2750
+ <xsd:enumeration value="narrow"/>
2751
+ <xsd:enumeration value="wide"/>
2752
+ </xsd:restriction>
2753
+ </xsd:simpleType>
2754
+ <xsd:simpleType name="PortalType">
2755
+ <xsd:restriction base="xsd:string">
2756
+ <xsd:enumeration value="CustomerSuccess"/>
2757
+ <xsd:enumeration value="Partner"/>
2758
+ </xsd:restriction>
2759
+ </xsd:simpleType>
2760
+ <xsd:simpleType name="Possessive">
2761
+ <xsd:restriction base="xsd:string">
2762
+ <xsd:enumeration value="None"/>
2763
+ <xsd:enumeration value="First"/>
2764
+ <xsd:enumeration value="Second"/>
2765
+ </xsd:restriction>
2766
+ </xsd:simpleType>
2767
+ <xsd:simpleType name="ReportAggregateDatatype">
2768
+ <xsd:restriction base="xsd:string">
2769
+ <xsd:enumeration value="currency"/>
2770
+ <xsd:enumeration value="percent"/>
2771
+ <xsd:enumeration value="number"/>
2772
+ </xsd:restriction>
2773
+ </xsd:simpleType>
2774
+ <xsd:simpleType name="ReportChartSize">
2775
+ <xsd:restriction base="xsd:string">
2776
+ <xsd:enumeration value="Tiny"/>
2777
+ <xsd:enumeration value="Small"/>
2778
+ <xsd:enumeration value="Medium"/>
2779
+ <xsd:enumeration value="Large"/>
2780
+ <xsd:enumeration value="Huge"/>
2781
+ </xsd:restriction>
2782
+ </xsd:simpleType>
2783
+ <xsd:complexType name="RetrieveRequest">
2784
+ <xsd:sequence>
2785
+ <xsd:element name="apiVersion" type="xsd:double"/>
2786
+ <xsd:element name="packageNames" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
2787
+ <xsd:element name="singlePackage" type="xsd:boolean"/>
2788
+ <xsd:element name="specificFiles" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
2789
+ <xsd:element name="unpackaged" minOccurs="0" type="tns:Package"/>
2790
+ </xsd:sequence>
2791
+ </xsd:complexType>
2792
+ <xsd:simpleType name="SharingModel">
2793
+ <xsd:restriction base="xsd:string">
2794
+ <xsd:enumeration value="Private"/>
2795
+ <xsd:enumeration value="Read"/>
2796
+ <xsd:enumeration value="ReadWrite"/>
2797
+ <xsd:enumeration value="ReadWriteTransfer"/>
2798
+ <xsd:enumeration value="FullAccess"/>
2799
+ <xsd:enumeration value="ControlledByParent"/>
2800
+ </xsd:restriction>
2801
+ </xsd:simpleType>
2802
+ <xsd:simpleType name="SortOrder">
2803
+ <xsd:restriction base="xsd:string">
2804
+ <xsd:enumeration value="Asc"/>
2805
+ <xsd:enumeration value="Desc"/>
2806
+ </xsd:restriction>
2807
+ </xsd:simpleType>
2808
+ <xsd:simpleType name="StartsWith">
2809
+ <xsd:restriction base="xsd:string">
2810
+ <xsd:enumeration value="Consonant"/>
2811
+ <xsd:enumeration value="Vowel"/>
2812
+ <xsd:enumeration value="Special"/>
2813
+ </xsd:restriction>
2814
+ </xsd:simpleType>
2815
+ <xsd:simpleType name="TabVisibility">
2816
+ <xsd:restriction base="xsd:string">
2817
+ <xsd:enumeration value="Hidden"/>
2818
+ <xsd:enumeration value="DefaultOff"/>
2819
+ <xsd:enumeration value="DefaultOn"/>
2820
+ </xsd:restriction>
2821
+ </xsd:simpleType>
2822
+ <xsd:simpleType name="Template">
2823
+ <xsd:restriction base="xsd:string">
2824
+ <xsd:enumeration value="Page"/>
2825
+ <xsd:enumeration value="Tab"/>
2826
+ <xsd:enumeration value="Toc"/>
2827
+ </xsd:restriction>
2828
+ </xsd:simpleType>
2829
+ <xsd:simpleType name="TreatBlanksAs">
2830
+ <xsd:restriction base="xsd:string">
2831
+ <xsd:enumeration value="BlankAsBlank"/>
2832
+ <xsd:enumeration value="BlankAsZero"/>
2833
+ </xsd:restriction>
2834
+ </xsd:simpleType>
2835
+ <xsd:simpleType name="UiBehavior">
2836
+ <xsd:restriction base="xsd:string">
2837
+ <xsd:enumeration value="Edit"/>
2838
+ <xsd:enumeration value="Required"/>
2839
+ <xsd:enumeration value="Readonly"/>
2840
+ </xsd:restriction>
2841
+ </xsd:simpleType>
2842
+ <xsd:complexType name="UpdateMetadata">
2843
+ <xsd:sequence>
2844
+ <xsd:element name="currentName" type="xsd:string"/>
2845
+ <xsd:element name="metadata" type="tns:Metadata"/>
2846
+ </xsd:sequence>
2847
+ </xsd:complexType>
2848
+ <xsd:simpleType name="UserDateInterval">
2849
+ <xsd:restriction base="xsd:string">
2850
+ <xsd:enumeration value="INTERVAL_CURRENT"/>
2851
+ <xsd:enumeration value="INTERVAL_CURNEXT1"/>
2852
+ <xsd:enumeration value="INTERVAL_CURPREV1"/>
2853
+ <xsd:enumeration value="INTERVAL_NEXT1"/>
2854
+ <xsd:enumeration value="INTERVAL_PREV1"/>
2855
+ <xsd:enumeration value="INTERVAL_CURNEXT3"/>
2856
+ <xsd:enumeration value="INTERVAL_CURFY"/>
2857
+ <xsd:enumeration value="INTERVAL_PREVFY"/>
2858
+ <xsd:enumeration value="INTERVAL_PREV2FY"/>
2859
+ <xsd:enumeration value="INTERVAL_AGO2FY"/>
2860
+ <xsd:enumeration value="INTERVAL_NEXTFY"/>
2861
+ <xsd:enumeration value="INTERVAL_PREVCURFY"/>
2862
+ <xsd:enumeration value="INTERVAL_PREVCUR2FY"/>
2863
+ <xsd:enumeration value="INTERVAL_CURNEXTFY"/>
2864
+ <xsd:enumeration value="INTERVAL_CUSTOM"/>
2865
+ <xsd:enumeration value="INTERVAL_YESTERDAY"/>
2866
+ <xsd:enumeration value="INTERVAL_TODAY"/>
2867
+ <xsd:enumeration value="INTERVAL_TOMORROW"/>
2868
+ <xsd:enumeration value="INTERVAL_LASTWEEK"/>
2869
+ <xsd:enumeration value="INTERVAL_THISWEEK"/>
2870
+ <xsd:enumeration value="INTERVAL_NEXTWEEK"/>
2871
+ <xsd:enumeration value="INTERVAL_LASTMONTH"/>
2872
+ <xsd:enumeration value="INTERVAL_THISMONTH"/>
2873
+ <xsd:enumeration value="INTERVAL_NEXTMONTH"/>
2874
+ <xsd:enumeration value="INTERVAL_LASTTHISMONTH"/>
2875
+ <xsd:enumeration value="INTERVAL_THISNEXTMONTH"/>
2876
+ <xsd:enumeration value="INTERVAL_CURRENTQ"/>
2877
+ <xsd:enumeration value="INTERVAL_CURNEXTQ"/>
2878
+ <xsd:enumeration value="INTERVAL_CURPREVQ"/>
2879
+ <xsd:enumeration value="INTERVAL_NEXTQ"/>
2880
+ <xsd:enumeration value="INTERVAL_PREVQ"/>
2881
+ <xsd:enumeration value="INTERVAL_CURNEXT3Q"/>
2882
+ <xsd:enumeration value="INTERVAL_CURY"/>
2883
+ <xsd:enumeration value="INTERVAL_PREVY"/>
2884
+ <xsd:enumeration value="INTERVAL_PREV2Y"/>
2885
+ <xsd:enumeration value="INTERVAL_AGO2Y"/>
2886
+ <xsd:enumeration value="INTERVAL_NEXTY"/>
2887
+ <xsd:enumeration value="INTERVAL_PREVCURY"/>
2888
+ <xsd:enumeration value="INTERVAL_PREVCUR2Y"/>
2889
+ <xsd:enumeration value="INTERVAL_CURNEXTY"/>
2890
+ <xsd:enumeration value="INTERVAL_LAST7"/>
2891
+ <xsd:enumeration value="INTERVAL_LAST30"/>
2892
+ <xsd:enumeration value="INTERVAL_LAST60"/>
2893
+ <xsd:enumeration value="INTERVAL_LAST90"/>
2894
+ <xsd:enumeration value="INTERVAL_LAST120"/>
2895
+ <xsd:enumeration value="INTERVAL_NEXT7"/>
2896
+ <xsd:enumeration value="INTERVAL_NEXT30"/>
2897
+ <xsd:enumeration value="INTERVAL_NEXT60"/>
2898
+ <xsd:enumeration value="INTERVAL_NEXT90"/>
2899
+ <xsd:enumeration value="INTERVAL_NEXT120"/>
2900
+ <xsd:enumeration value="LAST_FISCALWEEK"/>
2901
+ <xsd:enumeration value="THIS_FISCALWEEK"/>
2902
+ <xsd:enumeration value="NEXT_FISCALWEEK"/>
2903
+ <xsd:enumeration value="LAST_FISCALPERIOD"/>
2904
+ <xsd:enumeration value="THIS_FISCALPERIOD"/>
2905
+ <xsd:enumeration value="NEXT_FISCALPERIOD"/>
2906
+ <xsd:enumeration value="LASTTHIS_FISCALPERIOD"/>
2907
+ <xsd:enumeration value="THISNEXT_FISCALPERIOD"/>
2908
+ <xsd:enumeration value="CURRENT_ENTITLEMENT_PERIOD"/>
2909
+ <xsd:enumeration value="PREVIOUS_ENTITLEMENT_PERIOD"/>
2910
+ <xsd:enumeration value="PREVIOUS_TWO_ENTITLEMENT_PERIODS"/>
2911
+ <xsd:enumeration value="TWO_ENTITLEMENT_PERIODS_AGO"/>
2912
+ <xsd:enumeration value="CURRENT_AND_PREVIOUS_ENTITLEMENT_PERIOD"/>
2913
+ <xsd:enumeration value="CURRENT_AND_PREVIOUS_TWO_ENTITLEMENT_PERIODS"/>
2914
+ </xsd:restriction>
2915
+ </xsd:simpleType>
2916
+ <xsd:simpleType name="WebLinkDisplayType">
2917
+ <xsd:restriction base="xsd:string">
2918
+ <xsd:enumeration value="link"/>
2919
+ <xsd:enumeration value="button"/>
2920
+ <xsd:enumeration value="massActionButton"/>
2921
+ </xsd:restriction>
2922
+ </xsd:simpleType>
2923
+ <xsd:complexType name="WorkflowAction">
2924
+ <xsd:complexContent>
2925
+ <xsd:extension base="tns:Metadata">
2926
+ <xsd:sequence/>
2927
+ </xsd:extension>
2928
+ </xsd:complexContent>
2929
+ </xsd:complexType>
2930
+ <xsd:simpleType name="WorkflowActionType">
2931
+ <xsd:restriction base="xsd:string">
2932
+ <xsd:enumeration value="Task"/>
2933
+ <xsd:enumeration value="Alert"/>
2934
+ <xsd:enumeration value="FieldUpdate"/>
2935
+ <xsd:enumeration value="OutboundMessage"/>
2936
+ </xsd:restriction>
2937
+ </xsd:simpleType>
2938
+ <xsd:element name="DebuggingHeader">
2939
+ <xsd:complexType>
2940
+ <xsd:sequence>
2941
+ <xsd:element name="categories" minOccurs="0" maxOccurs="unbounded" type="tns:LogInfo"/>
2942
+ <xsd:element name="debugLevel" type="tns:LogType"/>
2943
+ </xsd:sequence>
2944
+ </xsd:complexType>
2945
+ </xsd:element>
2946
+ <xsd:element name="CallOptions">
2947
+ <xsd:complexType>
2948
+ <xsd:sequence>
2949
+ <xsd:element name="client" type="xsd:string"/>
2950
+ </xsd:sequence>
2951
+ </xsd:complexType>
2952
+ </xsd:element>
2953
+ <xsd:element name="SessionHeader">
2954
+ <xsd:complexType>
2955
+ <xsd:sequence>
2956
+ <xsd:element name="sessionId" type="xsd:string"/>
2957
+ </xsd:sequence>
2958
+ </xsd:complexType>
2959
+ </xsd:element>
2960
+ <xsd:simpleType name="ID">
2961
+ <xsd:restriction base="xsd:string">
2962
+ <xsd:length value="18"/>
2963
+ <xsd:pattern value="[a-zA-Z0-9]{18}"/>
2964
+ </xsd:restriction>
2965
+ </xsd:simpleType>
2966
+ <xsd:simpleType name="StatusCode">
2967
+ <xsd:restriction base="xsd:string">
2968
+ <xsd:enumeration value="ALL_OR_NONE_OPERATION_ROLLED_BACK"/>
2969
+ <xsd:enumeration value="ALREADY_IN_PROCESS"/>
2970
+ <xsd:enumeration value="ASSIGNEE_TYPE_REQUIRED"/>
2971
+ <xsd:enumeration value="BAD_CUSTOM_ENTITY_PARENT_DOMAIN"/>
2972
+ <xsd:enumeration value="BCC_NOT_ALLOWED_IF_BCC_COMPLIANCE_ENABLED"/>
2973
+ <xsd:enumeration value="CANNOT_CASCADE_PRODUCT_ACTIVE"/>
2974
+ <xsd:enumeration value="CANNOT_CHANGE_FIELD_TYPE_OF_APEX_REFERENCED_FIELD"/>
2975
+ <xsd:enumeration value="CANNOT_CREATE_ANOTHER_MANAGED_PACKAGE"/>
2976
+ <xsd:enumeration value="CANNOT_DEACTIVATE_DIVISION"/>
2977
+ <xsd:enumeration value="CANNOT_DELETE_LAST_DATED_CONVERSION_RATE"/>
2978
+ <xsd:enumeration value="CANNOT_DELETE_MANAGED_OBJECT"/>
2979
+ <xsd:enumeration value="CANNOT_DISABLE_LAST_ADMIN"/>
2980
+ <xsd:enumeration value="CANNOT_ENABLE_IP_RESTRICT_REQUESTS"/>
2981
+ <xsd:enumeration value="CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY"/>
2982
+ <xsd:enumeration value="CANNOT_MODIFY_MANAGED_OBJECT"/>
2983
+ <xsd:enumeration value="CANNOT_RENAME_APEX_REFERENCED_FIELD"/>
2984
+ <xsd:enumeration value="CANNOT_RENAME_APEX_REFERENCED_OBJECT"/>
2985
+ <xsd:enumeration value="CANNOT_REPARENT_RECORD"/>
2986
+ <xsd:enumeration value="CANNOT_UPDATE_CONVERTED_LEAD"/>
2987
+ <xsd:enumeration value="CANT_DISABLE_CORP_CURRENCY"/>
2988
+ <xsd:enumeration value="CANT_UNSET_CORP_CURRENCY"/>
2989
+ <xsd:enumeration value="CHILD_SHARE_FAILS_PARENT"/>
2990
+ <xsd:enumeration value="CIRCULAR_DEPENDENCY"/>
2991
+ <xsd:enumeration value="COMMUNITY_NOT_ACCESSIBLE"/>
2992
+ <xsd:enumeration value="CUSTOM_CLOB_FIELD_LIMIT_EXCEEDED"/>
2993
+ <xsd:enumeration value="CUSTOM_ENTITY_OR_FIELD_LIMIT"/>
2994
+ <xsd:enumeration value="CUSTOM_FIELD_INDEX_LIMIT_EXCEEDED"/>
2995
+ <xsd:enumeration value="CUSTOM_INDEX_EXISTS"/>
2996
+ <xsd:enumeration value="CUSTOM_LINK_LIMIT_EXCEEDED"/>
2997
+ <xsd:enumeration value="CUSTOM_TAB_LIMIT_EXCEEDED"/>
2998
+ <xsd:enumeration value="DELETE_FAILED"/>
2999
+ <xsd:enumeration value="DELETE_REQUIRED_ON_CASCADE"/>
3000
+ <xsd:enumeration value="DEPENDENCY_EXISTS"/>
3001
+ <xsd:enumeration value="DUPLICATE_CASE_SOLUTION"/>
3002
+ <xsd:enumeration value="DUPLICATE_COMM_NICKNAME"/>
3003
+ <xsd:enumeration value="DUPLICATE_CUSTOM_ENTITY_DEFINITION"/>
3004
+ <xsd:enumeration value="DUPLICATE_CUSTOM_TAB_MOTIF"/>
3005
+ <xsd:enumeration value="DUPLICATE_DEVELOPER_NAME"/>
3006
+ <xsd:enumeration value="DUPLICATE_EXTERNAL_ID"/>
3007
+ <xsd:enumeration value="DUPLICATE_MASTER_LABEL"/>
3008
+ <xsd:enumeration value="DUPLICATE_SENDER_DISPLAY_NAME"/>
3009
+ <xsd:enumeration value="DUPLICATE_USERNAME"/>
3010
+ <xsd:enumeration value="DUPLICATE_VALUE"/>
3011
+ <xsd:enumeration value="EMAIL_NOT_PROCESSED_DUE_TO_PRIOR_ERROR"/>
3012
+ <xsd:enumeration value="EMPTY_SCONTROL_FILE_NAME"/>
3013
+ <xsd:enumeration value="ENTITY_FAILED_IFLASTMODIFIED_ON_UPDATE"/>
3014
+ <xsd:enumeration value="ENTITY_IS_ARCHIVED"/>
3015
+ <xsd:enumeration value="ENTITY_IS_DELETED"/>
3016
+ <xsd:enumeration value="ENTITY_IS_LOCKED"/>
3017
+ <xsd:enumeration value="ERROR_IN_MAILER"/>
3018
+ <xsd:enumeration value="FAILED_ACTIVATION"/>
3019
+ <xsd:enumeration value="FIELD_CUSTOM_VALIDATION_EXCEPTION"/>
3020
+ <xsd:enumeration value="FIELD_FILTER_VALIDATION_EXCEPTION"/>
3021
+ <xsd:enumeration value="FIELD_INTEGRITY_EXCEPTION"/>
3022
+ <xsd:enumeration value="FILTERED_LOOKUP_LIMIT_EXCEEDED"/>
3023
+ <xsd:enumeration value="HTML_FILE_UPLOAD_NOT_ALLOWED"/>
3024
+ <xsd:enumeration value="IMAGE_TOO_LARGE"/>
3025
+ <xsd:enumeration value="INACTIVE_OWNER_OR_USER"/>
3026
+ <xsd:enumeration value="INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY"/>
3027
+ <xsd:enumeration value="INSUFFICIENT_ACCESS_OR_READONLY"/>
3028
+ <xsd:enumeration value="INVALID_ACCESS_LEVEL"/>
3029
+ <xsd:enumeration value="INVALID_ARGUMENT_TYPE"/>
3030
+ <xsd:enumeration value="INVALID_ASSIGNEE_TYPE"/>
3031
+ <xsd:enumeration value="INVALID_ASSIGNMENT_RULE"/>
3032
+ <xsd:enumeration value="INVALID_BATCH_OPERATION"/>
3033
+ <xsd:enumeration value="INVALID_CONTENT_TYPE"/>
3034
+ <xsd:enumeration value="INVALID_CREDIT_CARD_INFO"/>
3035
+ <xsd:enumeration value="INVALID_CROSS_REFERENCE_KEY"/>
3036
+ <xsd:enumeration value="INVALID_CROSS_REFERENCE_TYPE_FOR_FIELD"/>
3037
+ <xsd:enumeration value="INVALID_CURRENCY_CONV_RATE"/>
3038
+ <xsd:enumeration value="INVALID_CURRENCY_CORP_RATE"/>
3039
+ <xsd:enumeration value="INVALID_CURRENCY_ISO"/>
3040
+ <xsd:enumeration value="INVALID_DATA_CATEGORY_GROUP_REFERENCE"/>
3041
+ <xsd:enumeration value="INVALID_DATA_URI"/>
3042
+ <xsd:enumeration value="INVALID_EMAIL_ADDRESS"/>
3043
+ <xsd:enumeration value="INVALID_EMPTY_KEY_OWNER"/>
3044
+ <xsd:enumeration value="INVALID_FIELD"/>
3045
+ <xsd:enumeration value="INVALID_FIELD_FOR_INSERT_UPDATE"/>
3046
+ <xsd:enumeration value="INVALID_FIELD_WHEN_USING_TEMPLATE"/>
3047
+ <xsd:enumeration value="INVALID_FILTER_ACTION"/>
3048
+ <xsd:enumeration value="INVALID_GOOGLE_DOCS_URL"/>
3049
+ <xsd:enumeration value="INVALID_ID_FIELD"/>
3050
+ <xsd:enumeration value="INVALID_INET_ADDRESS"/>
3051
+ <xsd:enumeration value="INVALID_LINEITEM_CLONE_STATE"/>
3052
+ <xsd:enumeration value="INVALID_MASTER_OR_TRANSLATED_SOLUTION"/>
3053
+ <xsd:enumeration value="INVALID_MESSAGE_ID_REFERENCE"/>
3054
+ <xsd:enumeration value="INVALID_OPERATION"/>
3055
+ <xsd:enumeration value="INVALID_OPERATOR"/>
3056
+ <xsd:enumeration value="INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST"/>
3057
+ <xsd:enumeration value="INVALID_PARTNER_NETWORK_STATUS"/>
3058
+ <xsd:enumeration value="INVALID_PERSON_ACCOUNT_OPERATION"/>
3059
+ <xsd:enumeration value="INVALID_READ_ONLY_USER_DML"/>
3060
+ <xsd:enumeration value="INVALID_SAVE_AS_ACTIVITY_FLAG"/>
3061
+ <xsd:enumeration value="INVALID_SESSION_ID"/>
3062
+ <xsd:enumeration value="INVALID_SETUP_OWNER"/>
3063
+ <xsd:enumeration value="INVALID_STATUS"/>
3064
+ <xsd:enumeration value="INVALID_TYPE"/>
3065
+ <xsd:enumeration value="INVALID_TYPE_FOR_OPERATION"/>
3066
+ <xsd:enumeration value="INVALID_TYPE_ON_FIELD_IN_RECORD"/>
3067
+ <xsd:enumeration value="IP_RANGE_LIMIT_EXCEEDED"/>
3068
+ <xsd:enumeration value="LICENSE_LIMIT_EXCEEDED"/>
3069
+ <xsd:enumeration value="LIGHT_PORTAL_USER_EXCEPTION"/>
3070
+ <xsd:enumeration value="LIMIT_EXCEEDED"/>
3071
+ <xsd:enumeration value="MALFORMED_ID"/>
3072
+ <xsd:enumeration value="MANAGER_NOT_DEFINED"/>
3073
+ <xsd:enumeration value="MASSMAIL_RETRY_LIMIT_EXCEEDED"/>
3074
+ <xsd:enumeration value="MASS_MAIL_LIMIT_EXCEEDED"/>
3075
+ <xsd:enumeration value="MAXIMUM_CCEMAILS_EXCEEDED"/>
3076
+ <xsd:enumeration value="MAXIMUM_DASHBOARD_COMPONENTS_EXCEEDED"/>
3077
+ <xsd:enumeration value="MAXIMUM_HIERARCHY_LEVELS_REACHED"/>
3078
+ <xsd:enumeration value="MAXIMUM_SIZE_OF_ATTACHMENT"/>
3079
+ <xsd:enumeration value="MAXIMUM_SIZE_OF_DOCUMENT"/>
3080
+ <xsd:enumeration value="MAX_ACTIONS_PER_RULE_EXCEEDED"/>
3081
+ <xsd:enumeration value="MAX_ACTIVE_RULES_EXCEEDED"/>
3082
+ <xsd:enumeration value="MAX_APPROVAL_STEPS_EXCEEDED"/>
3083
+ <xsd:enumeration value="MAX_FORMULAS_PER_RULE_EXCEEDED"/>
3084
+ <xsd:enumeration value="MAX_RULES_EXCEEDED"/>
3085
+ <xsd:enumeration value="MAX_RULE_ENTRIES_EXCEEDED"/>
3086
+ <xsd:enumeration value="MAX_TASK_DESCRIPTION_EXCEEEDED"/>
3087
+ <xsd:enumeration value="MAX_TM_RULES_EXCEEDED"/>
3088
+ <xsd:enumeration value="MAX_TM_RULE_ITEMS_EXCEEDED"/>
3089
+ <xsd:enumeration value="MERGE_FAILED"/>
3090
+ <xsd:enumeration value="MISSING_ARGUMENT"/>
3091
+ <xsd:enumeration value="MIXED_DML_OPERATION"/>
3092
+ <xsd:enumeration value="NONUNIQUE_SHIPPING_ADDRESS"/>
3093
+ <xsd:enumeration value="NO_APPLICABLE_PROCESS"/>
3094
+ <xsd:enumeration value="NO_ATTACHMENT_PERMISSION"/>
3095
+ <xsd:enumeration value="NO_INACTIVE_DIVISION_MEMBERS"/>
3096
+ <xsd:enumeration value="NO_MASS_MAIL_PERMISSION"/>
3097
+ <xsd:enumeration value="NUMBER_OUTSIDE_VALID_RANGE"/>
3098
+ <xsd:enumeration value="NUM_HISTORY_FIELDS_BY_SOBJECT_EXCEEDED"/>
3099
+ <xsd:enumeration value="OPTED_OUT_OF_MASS_MAIL"/>
3100
+ <xsd:enumeration value="OP_WITH_INVALID_USER_TYPE_EXCEPTION"/>
3101
+ <xsd:enumeration value="PACKAGE_LICENSE_REQUIRED"/>
3102
+ <xsd:enumeration value="PORTAL_NO_ACCESS"/>
3103
+ <xsd:enumeration value="PORTAL_USER_ALREADY_EXISTS_FOR_CONTACT"/>
3104
+ <xsd:enumeration value="PRIVATE_CONTACT_ON_ASSET"/>
3105
+ <xsd:enumeration value="RECORD_IN_USE_BY_WORKFLOW"/>
3106
+ <xsd:enumeration value="REQUEST_RUNNING_TOO_LONG"/>
3107
+ <xsd:enumeration value="REQUIRED_FEATURE_MISSING"/>
3108
+ <xsd:enumeration value="REQUIRED_FIELD_MISSING"/>
3109
+ <xsd:enumeration value="SELF_REFERENCE_FROM_TRIGGER"/>
3110
+ <xsd:enumeration value="SHARE_NEEDED_FOR_CHILD_OWNER"/>
3111
+ <xsd:enumeration value="SINGLE_EMAIL_LIMIT_EXCEEDED"/>
3112
+ <xsd:enumeration value="STANDARD_PRICE_NOT_DEFINED"/>
3113
+ <xsd:enumeration value="STORAGE_LIMIT_EXCEEDED"/>
3114
+ <xsd:enumeration value="STRING_TOO_LONG"/>
3115
+ <xsd:enumeration value="TABSET_LIMIT_EXCEEDED"/>
3116
+ <xsd:enumeration value="TEMPLATE_NOT_ACTIVE"/>
3117
+ <xsd:enumeration value="TERRITORY_REALIGN_IN_PROGRESS"/>
3118
+ <xsd:enumeration value="TEXT_DATA_OUTSIDE_SUPPORTED_CHARSET"/>
3119
+ <xsd:enumeration value="TOO_MANY_APEX_REQUESTS"/>
3120
+ <xsd:enumeration value="TOO_MANY_ENUM_VALUE"/>
3121
+ <xsd:enumeration value="TRANSFER_REQUIRES_READ"/>
3122
+ <xsd:enumeration value="UNABLE_TO_LOCK_ROW"/>
3123
+ <xsd:enumeration value="UNAVAILABLE_RECORDTYPE_EXCEPTION"/>
3124
+ <xsd:enumeration value="UNDELETE_FAILED"/>
3125
+ <xsd:enumeration value="UNKNOWN_EXCEPTION"/>
3126
+ <xsd:enumeration value="UNSPECIFIED_EMAIL_ADDRESS"/>
3127
+ <xsd:enumeration value="UNSUPPORTED_APEX_TRIGGER_OPERATON"/>
3128
+ <xsd:enumeration value="UNVERIFIED_SENDER_ADDRESS"/>
3129
+ <xsd:enumeration value="USER_OWNS_PORTAL_ACCOUNT_EXCEPTION"/>
3130
+ <xsd:enumeration value="USER_WITH_APEX_SHARES_EXCEPTION"/>
3131
+ <xsd:enumeration value="WEBLINK_SIZE_LIMIT_EXCEEDED"/>
3132
+ <xsd:enumeration value="WRONG_CONTROLLER_TYPE"/>
3133
+ </xsd:restriction>
3134
+ </xsd:simpleType>
3135
+ <xsd:element name="checkDeployStatus">
3136
+ <xsd:complexType>
3137
+ <xsd:sequence>
3138
+ <xsd:element name="asyncProcessId" type="tns:ID"/>
3139
+ </xsd:sequence>
3140
+ </xsd:complexType>
3141
+ </xsd:element>
3142
+ <xsd:element name="checkDeployStatusResponse">
3143
+ <xsd:complexType>
3144
+ <xsd:sequence>
3145
+ <xsd:element name="result" type="tns:DeployResult"/>
3146
+ </xsd:sequence>
3147
+ </xsd:complexType>
3148
+ </xsd:element>
3149
+ <xsd:element name="checkRetrieveStatus">
3150
+ <xsd:complexType>
3151
+ <xsd:sequence>
3152
+ <xsd:element name="asyncProcessId" type="tns:ID"/>
3153
+ </xsd:sequence>
3154
+ </xsd:complexType>
3155
+ </xsd:element>
3156
+ <xsd:element name="checkRetrieveStatusResponse">
3157
+ <xsd:complexType>
3158
+ <xsd:sequence>
3159
+ <xsd:element name="result" type="tns:RetrieveResult"/>
3160
+ </xsd:sequence>
3161
+ </xsd:complexType>
3162
+ </xsd:element>
3163
+ <xsd:element name="checkStatus">
3164
+ <xsd:complexType>
3165
+ <xsd:sequence>
3166
+ <xsd:element name="asyncProcessId" minOccurs="0" maxOccurs="unbounded" type="tns:ID"/>
3167
+ </xsd:sequence>
3168
+ </xsd:complexType>
3169
+ </xsd:element>
3170
+ <xsd:element name="checkStatusResponse">
3171
+ <xsd:complexType>
3172
+ <xsd:sequence>
3173
+ <xsd:element name="result" minOccurs="0" maxOccurs="unbounded" type="tns:AsyncResult"/>
3174
+ </xsd:sequence>
3175
+ </xsd:complexType>
3176
+ </xsd:element>
3177
+ <xsd:element name="create">
3178
+ <xsd:complexType>
3179
+ <xsd:sequence>
3180
+ <xsd:element name="metadata" minOccurs="0" maxOccurs="unbounded" type="tns:Metadata"/>
3181
+ </xsd:sequence>
3182
+ </xsd:complexType>
3183
+ </xsd:element>
3184
+ <xsd:element name="createResponse">
3185
+ <xsd:complexType>
3186
+ <xsd:sequence>
3187
+ <xsd:element name="result" minOccurs="0" maxOccurs="unbounded" type="tns:AsyncResult"/>
3188
+ </xsd:sequence>
3189
+ </xsd:complexType>
3190
+ </xsd:element>
3191
+ <xsd:element name="delete">
3192
+ <xsd:complexType>
3193
+ <xsd:sequence>
3194
+ <xsd:element name="metadata" minOccurs="0" maxOccurs="unbounded" type="tns:Metadata"/>
3195
+ </xsd:sequence>
3196
+ </xsd:complexType>
3197
+ </xsd:element>
3198
+ <xsd:element name="deleteResponse">
3199
+ <xsd:complexType>
3200
+ <xsd:sequence>
3201
+ <xsd:element name="result" minOccurs="0" maxOccurs="unbounded" type="tns:AsyncResult"/>
3202
+ </xsd:sequence>
3203
+ </xsd:complexType>
3204
+ </xsd:element>
3205
+ <xsd:element name="deploy">
3206
+ <xsd:complexType>
3207
+ <xsd:sequence>
3208
+ <xsd:element name="ZipFile" type="xsd:base64Binary"/>
3209
+ <xsd:element name="DeployOptions" type="tns:DeployOptions"/>
3210
+ </xsd:sequence>
3211
+ </xsd:complexType>
3212
+ </xsd:element>
3213
+ <xsd:element name="deployResponse">
3214
+ <xsd:complexType>
3215
+ <xsd:sequence>
3216
+ <xsd:element name="result" type="tns:AsyncResult"/>
3217
+ </xsd:sequence>
3218
+ </xsd:complexType>
3219
+ </xsd:element>
3220
+ <xsd:element name="describeMetadata">
3221
+ <xsd:complexType>
3222
+ <xsd:sequence>
3223
+ <xsd:element name="asOfVersion" type="xsd:double"/>
3224
+ </xsd:sequence>
3225
+ </xsd:complexType>
3226
+ </xsd:element>
3227
+ <xsd:element name="describeMetadataResponse">
3228
+ <xsd:complexType>
3229
+ <xsd:sequence>
3230
+ <xsd:element name="result" type="tns:DescribeMetadataResult"/>
3231
+ </xsd:sequence>
3232
+ </xsd:complexType>
3233
+ </xsd:element>
3234
+ <xsd:element name="listMetadata">
3235
+ <xsd:complexType>
3236
+ <xsd:sequence>
3237
+ <xsd:element name="queries" minOccurs="0" maxOccurs="unbounded" type="tns:ListMetadataQuery"/>
3238
+ <xsd:element name="asOfVersion" type="xsd:double"/>
3239
+ </xsd:sequence>
3240
+ </xsd:complexType>
3241
+ </xsd:element>
3242
+ <xsd:element name="listMetadataResponse">
3243
+ <xsd:complexType>
3244
+ <xsd:sequence>
3245
+ <xsd:element name="result" minOccurs="0" maxOccurs="unbounded" type="tns:FileProperties"/>
3246
+ </xsd:sequence>
3247
+ </xsd:complexType>
3248
+ </xsd:element>
3249
+ <xsd:element name="retrieve">
3250
+ <xsd:complexType>
3251
+ <xsd:sequence>
3252
+ <xsd:element name="retrieveRequest" type="tns:RetrieveRequest"/>
3253
+ </xsd:sequence>
3254
+ </xsd:complexType>
3255
+ </xsd:element>
3256
+ <xsd:element name="retrieveResponse">
3257
+ <xsd:complexType>
3258
+ <xsd:sequence>
3259
+ <xsd:element name="result" type="tns:AsyncResult"/>
3260
+ </xsd:sequence>
3261
+ </xsd:complexType>
3262
+ </xsd:element>
3263
+ <xsd:element name="update">
3264
+ <xsd:complexType>
3265
+ <xsd:sequence>
3266
+ <xsd:element name="UpdateMetadata" minOccurs="0" maxOccurs="unbounded" type="tns:UpdateMetadata"/>
3267
+ </xsd:sequence>
3268
+ </xsd:complexType>
3269
+ </xsd:element>
3270
+ <xsd:element name="updateResponse">
3271
+ <xsd:complexType>
3272
+ <xsd:sequence>
3273
+ <xsd:element name="result" minOccurs="0" maxOccurs="unbounded" type="tns:AsyncResult"/>
3274
+ </xsd:sequence>
3275
+ </xsd:complexType>
3276
+ </xsd:element>
3277
+ </xsd:schema>
3278
+ </types>
3279
+ <!-- Message for the header parts -->
3280
+ <message name="Header">
3281
+ <part name="CallOptions" element="tns:CallOptions"/>
3282
+ <part name="DebuggingHeader" element="tns:DebuggingHeader"/>
3283
+ <part name="DebuggingInfo" element="tns:DebuggingInfo"/>
3284
+ <part name="SessionHeader" element="tns:SessionHeader"/>
3285
+ </message>
3286
+ <!-- Operation Messages -->
3287
+ <message name="checkDeployStatusRequest">
3288
+ <part element="tns:checkDeployStatus" name="parameters"/>
3289
+ </message>
3290
+ <message name="checkDeployStatusResponse">
3291
+ <part element="tns:checkDeployStatusResponse" name="parameters"/>
3292
+ </message>
3293
+ <message name="checkRetrieveStatusRequest">
3294
+ <part element="tns:checkRetrieveStatus" name="parameters"/>
3295
+ </message>
3296
+ <message name="checkRetrieveStatusResponse">
3297
+ <part element="tns:checkRetrieveStatusResponse" name="parameters"/>
3298
+ </message>
3299
+ <message name="checkStatusRequest">
3300
+ <part element="tns:checkStatus" name="parameters"/>
3301
+ </message>
3302
+ <message name="checkStatusResponse">
3303
+ <part element="tns:checkStatusResponse" name="parameters"/>
3304
+ </message>
3305
+ <message name="createRequest">
3306
+ <part element="tns:create" name="parameters"/>
3307
+ </message>
3308
+ <message name="createResponse">
3309
+ <part element="tns:createResponse" name="parameters"/>
3310
+ </message>
3311
+ <message name="deleteRequest">
3312
+ <part element="tns:delete" name="parameters"/>
3313
+ </message>
3314
+ <message name="deleteResponse">
3315
+ <part element="tns:deleteResponse" name="parameters"/>
3316
+ </message>
3317
+ <message name="deployRequest">
3318
+ <part element="tns:deploy" name="parameters"/>
3319
+ </message>
3320
+ <message name="deployResponse">
3321
+ <part element="tns:deployResponse" name="parameters"/>
3322
+ </message>
3323
+ <message name="describeMetadataRequest">
3324
+ <part element="tns:describeMetadata" name="parameters"/>
3325
+ </message>
3326
+ <message name="describeMetadataResponse">
3327
+ <part element="tns:describeMetadataResponse" name="parameters"/>
3328
+ </message>
3329
+ <message name="listMetadataRequest">
3330
+ <part element="tns:listMetadata" name="parameters"/>
3331
+ </message>
3332
+ <message name="listMetadataResponse">
3333
+ <part element="tns:listMetadataResponse" name="parameters"/>
3334
+ </message>
3335
+ <message name="retrieveRequest">
3336
+ <part element="tns:retrieve" name="parameters"/>
3337
+ </message>
3338
+ <message name="retrieveResponse">
3339
+ <part element="tns:retrieveResponse" name="parameters"/>
3340
+ </message>
3341
+ <message name="updateRequest">
3342
+ <part element="tns:update" name="parameters"/>
3343
+ </message>
3344
+ <message name="updateResponse">
3345
+ <part element="tns:updateResponse" name="parameters"/>
3346
+ </message>
3347
+ <portType name="MetadataPortType">
3348
+ <operation name="checkDeployStatus">
3349
+ <documentation>Check the current status of an asyncronous deploy call.</documentation>
3350
+ <input message="tns:checkDeployStatusRequest"/>
3351
+ <output message="tns:checkDeployStatusResponse"/>
3352
+ </operation>
3353
+ <operation name="checkRetrieveStatus">
3354
+ <documentation>Check the current status of an asyncronous deploy call.</documentation>
3355
+ <input message="tns:checkRetrieveStatusRequest"/>
3356
+ <output message="tns:checkRetrieveStatusResponse"/>
3357
+ </operation>
3358
+ <operation name="checkStatus">
3359
+ <documentation>Check the current status of an asyncronous call.</documentation>
3360
+ <input message="tns:checkStatusRequest"/>
3361
+ <output message="tns:checkStatusResponse"/>
3362
+ </operation>
3363
+ <operation name="create">
3364
+ <documentation>Creates new metadata entries asyncronously.</documentation>
3365
+ <input message="tns:createRequest"/>
3366
+ <output message="tns:createResponse"/>
3367
+ </operation>
3368
+ <operation name="delete">
3369
+ <documentation>Deletes metadata entries asyncronously.</documentation>
3370
+ <input message="tns:deleteRequest"/>
3371
+ <output message="tns:deleteResponse"/>
3372
+ </operation>
3373
+ <operation name="deploy">
3374
+ <documentation>Deploys a zipfile full of metadata entries asynchronously.</documentation>
3375
+ <input message="tns:deployRequest"/>
3376
+ <output message="tns:deployResponse"/>
3377
+ </operation>
3378
+ <operation name="describeMetadata">
3379
+ <documentation>Describes features of the metadata API.</documentation>
3380
+ <input message="tns:describeMetadataRequest"/>
3381
+ <output message="tns:describeMetadataResponse"/>
3382
+ </operation>
3383
+ <operation name="listMetadata">
3384
+ <documentation>Lists the available metadata components.</documentation>
3385
+ <input message="tns:listMetadataRequest"/>
3386
+ <output message="tns:listMetadataResponse"/>
3387
+ </operation>
3388
+ <operation name="retrieve">
3389
+ <documentation>Retrieves a set of individually specified metadata entries.</documentation>
3390
+ <input message="tns:retrieveRequest"/>
3391
+ <output message="tns:retrieveResponse"/>
3392
+ </operation>
3393
+ <operation name="update">
3394
+ <documentation>Updates metadata entries asyncronously.</documentation>
3395
+ <input message="tns:updateRequest"/>
3396
+ <output message="tns:updateResponse"/>
3397
+ </operation>
3398
+ </portType>
3399
+ <binding name="MetadataBinding" type="tns:MetadataPortType">
3400
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
3401
+ <operation name="checkDeployStatus">
3402
+ <soap:operation soapAction=""/>
3403
+ <input>
3404
+ <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
3405
+ <soap:header use="literal" part="CallOptions" message="tns:Header"/>
3406
+ <soap:body use="literal" parts="parameters"/>
3407
+ </input>
3408
+ <output>
3409
+ <soap:header use="literal" part="DebuggingInfo" message="tns:Header"/>
3410
+ <soap:body use="literal"/>
3411
+ </output>
3412
+ </operation>
3413
+ <operation name="checkRetrieveStatus">
3414
+ <soap:operation soapAction=""/>
3415
+ <input>
3416
+ <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
3417
+ <soap:header use="literal" part="CallOptions" message="tns:Header"/>
3418
+ <soap:body use="literal" parts="parameters"/>
3419
+ </input>
3420
+ <output>
3421
+ <soap:body use="literal"/>
3422
+ </output>
3423
+ </operation>
3424
+ <operation name="checkStatus">
3425
+ <soap:operation soapAction=""/>
3426
+ <input>
3427
+ <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
3428
+ <soap:header use="literal" part="CallOptions" message="tns:Header"/>
3429
+ <soap:body use="literal" parts="parameters"/>
3430
+ </input>
3431
+ <output>
3432
+ <soap:body use="literal"/>
3433
+ </output>
3434
+ </operation>
3435
+ <operation name="create">
3436
+ <soap:operation soapAction=""/>
3437
+ <input>
3438
+ <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
3439
+ <soap:header use="literal" part="CallOptions" message="tns:Header"/>
3440
+ <soap:body use="literal" parts="parameters"/>
3441
+ </input>
3442
+ <output>
3443
+ <soap:body use="literal"/>
3444
+ </output>
3445
+ </operation>
3446
+ <operation name="delete">
3447
+ <soap:operation soapAction=""/>
3448
+ <input>
3449
+ <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
3450
+ <soap:header use="literal" part="CallOptions" message="tns:Header"/>
3451
+ <soap:body use="literal" parts="parameters"/>
3452
+ </input>
3453
+ <output>
3454
+ <soap:body use="literal"/>
3455
+ </output>
3456
+ </operation>
3457
+ <operation name="deploy">
3458
+ <soap:operation soapAction=""/>
3459
+ <input>
3460
+ <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
3461
+ <soap:header use="literal" part="DebuggingHeader" message="tns:Header"/>
3462
+ <soap:header use="literal" part="CallOptions" message="tns:Header"/>
3463
+ <soap:body use="literal" parts="parameters"/>
3464
+ </input>
3465
+ <output>
3466
+ <soap:body use="literal"/>
3467
+ </output>
3468
+ </operation>
3469
+ <operation name="describeMetadata">
3470
+ <soap:operation soapAction=""/>
3471
+ <input>
3472
+ <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
3473
+ <soap:header use="literal" part="CallOptions" message="tns:Header"/>
3474
+ <soap:body use="literal" parts="parameters"/>
3475
+ </input>
3476
+ <output>
3477
+ <soap:body use="literal"/>
3478
+ </output>
3479
+ </operation>
3480
+ <operation name="listMetadata">
3481
+ <soap:operation soapAction=""/>
3482
+ <input>
3483
+ <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
3484
+ <soap:header use="literal" part="CallOptions" message="tns:Header"/>
3485
+ <soap:body use="literal" parts="parameters"/>
3486
+ </input>
3487
+ <output>
3488
+ <soap:body use="literal"/>
3489
+ </output>
3490
+ </operation>
3491
+ <operation name="retrieve">
3492
+ <soap:operation soapAction=""/>
3493
+ <input>
3494
+ <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
3495
+ <soap:header use="literal" part="CallOptions" message="tns:Header"/>
3496
+ <soap:body use="literal" parts="parameters"/>
3497
+ </input>
3498
+ <output>
3499
+ <soap:body use="literal"/>
3500
+ </output>
3501
+ </operation>
3502
+ <operation name="update">
3503
+ <soap:operation soapAction=""/>
3504
+ <input>
3505
+ <soap:header use="literal" part="SessionHeader" message="tns:Header"/>
3506
+ <soap:header use="literal" part="CallOptions" message="tns:Header"/>
3507
+ <soap:body use="literal" parts="parameters"/>
3508
+ </input>
3509
+ <output>
3510
+ <soap:body use="literal"/>
3511
+ </output>
3512
+ </operation>
3513
+ </binding>
3514
+ <service name="MetadataService">
3515
+ <documentation>Manage your Salesforce.com metadata</documentation>
3516
+ <port binding="tns:MetadataBinding" name="Metadata">
3517
+ <soap:address location="https://login.salesforce.com/services/Soap/m/23.0"/>
3518
+ </port>
3519
+ </service>
3520
+ </definitions>