@resconet/jsbridge 19.1.0-beta.2 → 19.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resconet/jsbridge",
3
- "version": "19.1.0-beta.2",
3
+ "version": "19.1.1",
4
4
  "main": "./src/JSBridge.js",
5
5
  "types": "./src/JSBridge.d.ts",
6
6
  "description": "Install npm JSBridge module",
package/src/JSBridge.d.ts CHANGED
@@ -65,6 +65,8 @@ declare namespace MobileCRM {
65
65
  settings: MobileCRM.Settings;
66
66
  storageDirectory: string;
67
67
  licenseAlert: string;
68
+ /**Gets or sets customer-defined project version.*/
69
+ projectVersion: string;
68
70
 
69
71
  public static requestObject(callback: (config: Configuration) => void, erroCallback?: (error: string) => void, scope?: any);
70
72
  }
@@ -82,15 +84,17 @@ declare namespace MobileCRM {
82
84
  class Settings {
83
85
  /**Gets the absolute URL (including the CrmOrganization).*/
84
86
  absoluteUrl: string;
85
- /**Gets or sets the currently selected Application ID.*/
87
+ /**Gets the currently selected Application ID. @ means default app. Null or empty string means that user hasn't chosen app yet.*/
86
88
  activeAppID: string;
89
+ /**Gets the list of Application IDs available for current user.*/
90
+ appIDs: string[];
87
91
  /**Gets or sets the last active entity in the ActivityList.*/
88
92
  activityListInitialEntity: number;
89
93
  /**Gets or sets the application lock state (0=None, 1=Soft, 2=Permanent).*/
90
94
  applicationLock: number;
91
95
  /**Gets or sets the last active view mode in Calendar view.*/
92
96
  appointmentViewMode: number;
93
- /**Gets or sets the CRM server authentication method (0=ActiveDirectory, 1=CRM Online, 2=Internet facing., 3=CRM Online EMEA, 4=CRM Online APAC).*/
97
+ /**Gets the CRM server authentication method (0=ActiveDirectory, 1=CRM Online, 2=Internet facing., 3=CRM Online EMEA, 4=CRM Online APAC).*/
94
98
  authenticationType: number;
95
99
  /**Gets or sets when the application starts to sync on the background (0=Never, 1=OnStart, 2=OnChange, 3=OnStartAndChange).*/
96
100
  autoSync: number;
@@ -106,28 +110,32 @@ declare namespace MobileCRM {
106
110
  clientCustomize: boolean;
107
111
  /**Gets or sets whether to create the call entity after a call has been made from MobileCRM.*/
108
112
  createCallEntity: boolean;
109
- /**Gets or sets the discovered CRM service authentication server url.*/
113
+ /**Gets the discovered CRM service authentication server url.*/
110
114
  crm2011AuthUrl: string;
111
- /**Gets or sets the discovered CRM service authentication type.*/
115
+ /**Gets the discovered CRM service authentication type.*/
112
116
  crm2011AuthType: string;
113
- /**Gets or sets the token (cookie) issued by LiveId services identifying this device.*/
117
+ /**Gets the token (cookie) issued by LiveId services identifying this device.*/
114
118
  crmOnlineDeviceToken: Date;
115
- /**Gets or sets when the "CrmOnlineDeviceToken" expires (in UTC).*/
119
+ /**Gets when the "CrmOnlineDeviceToken" expires (in UTC).*/
116
120
  crmOnlineDeviceTokenExpires: Date;
117
121
  /**Gets or sets the CRM organization (Absolute path in org url).*/
118
122
  crmOrganization: string;
119
- /**Gets or sets the discovered CRM service version (4 or 5).*/
123
+ /**Gets the discovered CRM service version (4 or 5).*/
120
124
  crmWebServiceVersion: number;
121
- /**Gets or sets the the discovered CRM service minor version (13 - for CRM 2011 Rollup 13 and up).*/
125
+ /**Gets the the discovered CRM service minor version (13 - for CRM 2011 Rollup 13 and up).*/
122
126
  crmWebServiceMinorVersion: number;
123
127
  /**Gets or sets the organization Pricing Decimal Precision configuration option (0..4).*/
124
128
  currencyDecimalPrecision: number;
125
129
  /**Gets or sets the currency field display option 0- Symbol ($), 1 - Code (USD).*/
126
- currencyDisplayOption: string;
127
- /**Gets or sets the customization directory.*/
130
+ currencyDisplayOption: 0 | 1;
131
+ /**Gets the customization directory.*/
128
132
  customizationDirectory: string;
129
- /**Gets or sets the database local language (for case-insensitive and language dependent compare). E.g. "en-US".*/
133
+ /**Gets the database local language (for case-insensitive and language dependent compare). E.g. "en-US".*/
130
134
  databaseLocale: string;
135
+ /**Gets or sets whether Dataverse can use TDS (Tabular Data Stream) queries for downloads.*/
136
+ dataverseCanUseTDS: boolean;
137
+ /**Gets or sets the default fetch page size (#records downloaded in 1 request). Range 100-5000, default = 1000.*/
138
+ defaultFetchPageSize: number;
131
139
  /**Gets the database schema hash.*/
132
140
  databaseSchemaHash: string;
133
141
  /**(Android only) Gets or sets the application Density (120=Low, 160=Medium, 240=High, 320=ExtraHigh, 480=ExtraExtraHigh).*/
@@ -136,7 +144,7 @@ declare namespace MobileCRM {
136
144
  deviceFriendlyName: string;
137
145
  /**Gets or sets the hardware unique id.*/
138
146
  deviceIdentifier: string;
139
- /**Gets or sets the device system an hw information (OS, etc.)*/
147
+ /**Gets or sets the device system and hardware information (OS, etc.)*/
140
148
  deviceInfo: string;
141
149
  /**Gets or sets the device name (Base64 encoded "InternalDeviceId").*/
142
150
  deviceName: string;
@@ -144,17 +152,26 @@ declare namespace MobileCRM {
144
152
  disabledEntities: boolean;
145
153
  /**Gets or sets the user domain.*/
146
154
  domain: string;
155
+ /**Indicates whether to use metric system, imperial system or default device system (0=System default, 1=Metric, 2=Imperial).*/
156
+ distanceUnits: 0 | 1 | 2;
157
+ /**Gets or sets whether to download multiple attachments in one batch request. Default false.*/
158
+ downloadMultipleAttachments: boolean;
147
159
  /**Gets or sets the email signature.*/
148
160
  emailSignature: string;
149
- /**(Android, WIndows Mobile)Enables the Call Import form (appears on the Home form)*/
150
- enableCallImport: boolean;
151
161
  /**Enables the Dashboard form (appears on the Home form).*/
152
162
  enableDashboard: boolean;
163
+ /**Allows user to multi-select in lists and calculate aggregates or execute custom commands.*/
164
+ enableListMultiSelect: boolean;
165
+ /**Enables list buttons. Default is true.*/
153
166
  enableListButtons: boolean;
154
167
  /**Enables the Map form (appears on the Home form).*/
168
+ enableMapForm: boolean;
169
+ /**Gets or sets the date when the device must be full synced. If the last sync was before this date, the next sync must be full.*/
155
170
  forcedFullSyncDate: Date;
156
171
  /**Prevents remembered password to be used for next login.*/
157
172
  forgetPassword: boolean;
173
+ /**Determines form caching policy (whether to cache no forms, default forms-only or also FormSelectRule forms (0=NoCaching, 1=DefaultFormCaching, 2=AllFormsCaching).*/
174
+ formCachePolicy: number;
158
175
  /**Gets or sets the option for generating the entity full name (contact, lead)
159
176
  e.g. how to combine the first, middle and last name (0="L,F", 1="F L", 2="L,F m", 3="F m L", 4="L,F M", 5="F M L", 6="L F", 7="LF").*/
160
177
  fullNameConventionCode: number;
@@ -164,6 +181,8 @@ declare namespace MobileCRM {
164
181
  hasTaskReminder: boolean;
165
182
  /**Gets or sets the URL of the authentication server (ADFS) in case of multi domain deployment.*/
166
183
  homeRealm: string;
184
+ /**Defines the GPS location of the user's home. Must be in the form [latitude,longitude], e.g. 48.3,17.2*/
185
+ homeLocation: string;
167
186
  /**Gets or sets whether to ignore HTTPS certificate errors. (Should be used for evaluation and DEBUG only!)*/
168
187
  ignoreCertificateErrors: boolean;
169
188
  /**Gets or sets the invalid login count.*/
@@ -196,27 +215,45 @@ declare namespace MobileCRM {
196
215
  legacyPassword: string;
197
216
  /**Gets or sets the reason of the application lock.*/
198
217
  lockReason: string;
218
+ /**Gets or sets whether the synchronization log should include low level messages.*/
219
+ logSyncDetails: boolean;
199
220
  /**Gets or sets the time in seconds after which the password expires and application login is required.*/
200
221
  loginTimeout: number;
201
222
  /**Gets or sets the maximum attachment size to sync (in KB).*/
202
223
  maxAttachmentSize: number;
224
+ /**Gets or sets the maximum number of records to process in a single ExecuteMultiple request.*/
225
+ maxExecuteMultiple: number;
226
+ /**Gets or sets the maximum size (in bytes) of records to upload in one request.*/
227
+ maxExecuteMultipleDataSize: number;
228
+ /**Gets or sets the maximum size of the captured image. Bigger images are resized to this size (0=Default, 1=640x480, 2=1024x768, 3=1600x1200, 4=2048x1536, 5=2592x1936).*/
229
+ maxImageSize: 0 | 1 | 2 | 3 | 4 | 5;
203
230
  /**Gets or sets the maximum number of records (per entity) to download.*/
204
231
  maxSyncCount: number;
232
+ /**Gets or sets the maximum size (in bytes) of attachments created by app.*/
233
+ maxUploadAttachmentSize: number;
234
+ /**Gets or sets the maximum size of the uploaded image. Bigger images are resized to this size just after being captured/selected. (0=Default, 1=640x480, 2=1024x768, 3=1600x1200, 4=2048x1536, 5=2592x1936).*/
235
+ maxUploadImageSize: 0 | 1 | 2 | 3 | 4 | 5;
205
236
  /**Gets or sets whether to use multi-threaded synchronization. Default true.*/
206
237
  multiThreadSync: boolean;
207
238
  /**Gets or sets when and how the application is switched to online mode (0=Always, 1=WifiOnly, 2=Manual, 3=Never).*/
208
239
  onlineMode: number;
209
- /**Gets or sets the organization name. Obsolete, only for compatibility.*/
210
- organization: string;
211
- /** Gets or sets the current user's organization GUID (given by the server).*/
240
+ /**Gets or sets whether to show a notification after sync finishes and app is not on foreground.*/
241
+ notifySyncFinish: boolean;
242
+ /**Indicates whether to speed up hidden iFrames in Windows Store app by placing them into pre-loaded WebView container.*/
243
+ optimizeHiddenIframes: boolean;
244
+ /** Gets the current user's organization GUID (given by the server).*/
212
245
  organizationId: string;
246
+ /**Gets the current user's organization name (given by the server).*/
247
+ organizationName: string;
248
+ /**Gets the current user's organization server URL.*/
249
+ organizationUrl: string;
213
250
  /**Gets or sets the synchronization service password.*/
214
251
  password: string;
215
252
  /**Gets or sets the password hash.*/
216
253
  passwordHash: string;
217
254
  /**Gets or sets the URL scheme of application used for making calls.*/
218
255
  phoneApplication: string;
219
- /**Gets or sets the push id used for push notification send to this device.(Android, iOS)*/
256
+ /**Gets the push id used for push notification send to this device.*/
220
257
  pushId: string;
221
258
  /**Gets the list of read-only settings.*/
222
259
  readonlySettings: Array<string>;
@@ -230,7 +267,7 @@ declare namespace MobileCRM {
230
267
  secRulesHash: number;
231
268
  /**Gets the CRM server host name.*/
232
269
  serverHostName: string;
233
- /**Gets or sets the version of the settings file as send with the customization.*/
270
+ /**Gets or sets the version of the settings file as sent with the customization.*/
234
271
  serverSettingsVersion: string;
235
272
  /**Gets or sets the server version, either 4 for CRM 4.0 or 5 for CRM 2011.*/
236
273
  serverVersion: number;
@@ -238,10 +275,14 @@ declare namespace MobileCRM {
238
275
  syncCount: number;
239
276
  /**Gets or sets the sync filter file hash code.*/
240
277
  syncFilterHash: string;
241
- /**Gets or sets the current user GUID (given by the server).*/
278
+ /**Gets the current user GUID (given by the server).*/
242
279
  systemUserId: string;
243
- /**Gets or sets the current user name (given by the server).*/
280
+ /**Gets the current user email (given by the server).*/
281
+ systemUserEmail: string;
282
+ /**Gets the current user name (given by the server).*/
244
283
  systemUserName: string;
284
+ /**Gets or sets app theme - system, light or dark. 0=Light, 1=Dark, 2=System*/
285
+ themeType: 0 | 1 | 2;
245
286
  /**Gets or sets the last active entity in the Tourplan (Calendar).*/
246
287
  tourplanInitialEntity: string;
247
288
  /**Gets or sets whether to update entity objectypecodes on first sync.*/
@@ -252,12 +293,16 @@ declare namespace MobileCRM {
252
293
  useDatabaseBlobStore: boolean;
253
294
  /**Gets or sets whether the database is encrypted. Only used when the database is created (full sync). Default true.*/
254
295
  useDatabaseEncryption: boolean;
296
+ /**Gets or sets whether flexi forms (New UI) are enabled.*/
297
+ useFlexiForms: boolean;
255
298
  /**Gets or sets the user's default currency GUID. If not set use the organization default.*/
256
299
  userDefaultCurrencyId: string;
257
300
  /**Gets or sets the full user name (domain slash name).*/
258
301
  userLogin: string;
259
302
  /**Gets or sets the user name.*/
260
303
  userName: string;
304
+ /**Defines the GPS location of the user's work. Must be in the form [latitude,longitude], e.g. 48.3,17.2*/
305
+ workLocation: string;
261
306
  /**Gets or sets whether to use RowVersion or ModifiedOn based sync. Default is true.*/
262
307
  useRowVersionChangeTracking: boolean;
263
308
  /**Gets or sets the web service URL used for synchronization.*/
package/src/JSBridge.js CHANGED
@@ -216,6 +216,7 @@
216
216
  /// <field name="isOnline" type="Boolean">Gets or sets whether the online mode is currently active.</field>
217
217
  /// <field name="legacyVersion" type="String">Gets or sets the legacy redirect folder.</field>
218
218
  /// <field name="licenseAlert" type="String">Gets the flag set during sync indicating that the user&apos;s license has expired.</field>
219
+ /// <field name="projectVersion" type="String">Gets customer-defined project version.</field>
219
220
  /// <field name="settings" type="MobileCRM._Settings">Gets the application settings.</field>
220
221
  /// <field name="storageDirectory" type="String">Gets the root folder of the application storage.</field>
221
222
  },
@@ -1771,57 +1772,84 @@
1771
1772
  // MobileCRM._Settings
1772
1773
  MobileCRM._Settings = {
1773
1774
  /// <summary>MobileCRM configuration settings class.</summary>
1775
+ /// <remarks>This object cannot be created directly. To obtain/modify this object, use <see cref="MobileCRM.Configuration.requestObject">MobileCRM.Configuration.requestObject</see> function. See <see cref="MobileCRM.Configuration">MobileCRM.Configuration</see></remarks>
1776
+ /// <field name="activeAppID" type="String">Gets currently selected Application ID. &amp; means default app. Null or empty string means that user hasn&apos;t chosen app yet.</field>
1774
1777
  /// <field name="afterSaveReload" type="Number">Gets options for default after save behavior &quot;None = 0, New = 1,Always = 2&quot;</field>
1778
+ /// <field name="appIDs" type="String[]">Gets the list of Application IDs available for current user.</field>
1775
1779
  /// <field name="authenticationType" type="Number">Gets possible CRM server authentication methods. &quot;AD = 0, PassPort = 1,SPLA = 2,PassportEMEA = 3,PassportAPAC = 4 &quot;</field>
1776
- /// <field name="businessUnitId" type="String">Gets or sets the current user's business unit id.</field>
1780
+ /// <field name="businessUnitId" type="String">Gets the current user&apos;s business unit id.</field>
1777
1781
  /// <field name="canUsePassword" type="Boolean">Gets whether there is a valid password and whether it can be used.</field>
1778
- /// <field name="crm2011AuthId" type="String">Gets or sets the discovered CRM service authentication server identifier.</field>
1779
- /// <field name="crm2011AuthType" type="String">Gets or sets the discovered CRM service authentication server type.</field>
1780
- /// <field name="crm2011AuthUrl" type="String">Gets or sets the discovered CRM service authentication server url.</field>
1781
- /// <field name="crmOnlineDeviceToken" type="String">Gets or sets the token (cookie) issued by LiveId services identifying this device.</field>
1782
+ /// <field name="crm2011AuthId" type="String">Gets the discovered CRM service authentication server identifier.</field>
1783
+ /// <field name="crm2011AuthType" type="String">Gets the discovered CRM service authentication server type.</field>
1784
+ /// <field name="crm2011AuthUrl" type="String">Gets the discovered CRM service authentication server url.</field>
1785
+ /// <field name="crmOnlineDeviceToken" type="String">Gets the token (cookie) issued by LiveId services identifying this device.</field>
1782
1786
  /// <field name="crmOnlineDeviceTokenExpires" type="Date">Gets when CrmOnlineDeviceToken expires (UTC).</field>
1783
- /// <field name="crmWebServiceMinorVersion" type="Number">Gets or sets the discovered CRM service minor version (13 - for CRM 2011 Rollup 13 and up).</field>
1784
- /// <field name="crmWebServiceVersion" type="Number">Gets or sets the discovered CRM service version (4,5).</field>
1787
+ /// <field name="crmWebServiceMinorVersion" type="Number">Gets the discovered CRM service minor version (13 - for CRM 2011 Rollup 13 and up).</field>
1788
+ /// <field name="crmWebServiceVersion" type="Number">Gets the discovered CRM service version (4,5).</field>
1785
1789
  /// <field name="currencyDecimalPrecision" type="Number">Gets or sets the organization Pricing Decimal Precision configuration option (0..4).</field>
1786
1790
  /// <field name="currencyDisplayOption" type="Number">Gets or sets the currency field display option 0- Symbol ($), 1 - Code (USD).</field>
1787
1791
  /// <field name="currencyFormatCode" type="Number">Gets or sets the currency field display option 0- $123, 1-123$, 2-$ 123, 3-123 $.</field>
1788
- /// <field name="customerId" type="MobileCRM.Reference">Gets or sets the customer when application is running in customer mode. <see cref="MobileCRM.Reference">MobileCRM.Reference</see> object instance as argument</field>
1789
- /// <field name="customerUserId" type="MobileCRM.Reference">Gets or sets the CustomerUserId when application is running in customer mode. <see cref="MobileCRM.Reference">MobileCRM.Reference</see> object instance as argument</field>
1790
- /// <field name="deviceFriendlyName" type="String">Gets or sets the device friendly name e.g. &quot;Steve's iPhone&quot;.</field>
1792
+ /// <field name="customerId" type="MobileCRM.Reference">Gets the customer when application is running in customer mode. <see cref="MobileCRM.Reference">MobileCRM.Reference</see> object instance as argument</field>
1793
+ /// <field name="customerUserId" type="MobileCRM.Reference">Gets the CustomerUserId when application is running in customer mode. <see cref="MobileCRM.Reference">MobileCRM.Reference</see> object instance as argument</field>
1794
+ /// <field name="dataverseCanUseTDS" type="Boolean">Gets or sets whether Dataverse can use TDS (Tabular Data Stream) queries for downloads.</field>
1795
+ /// <field name="defaultFetchPageSize" type="Number">Gets or sets the default fetch page size (#records downloaded in 1 request). Range 100-5000, default = 1000.</field>
1796
+ /// <field name="deviceFriendlyName" type="String">Gets or sets the device friendly name e.g. &quot;Steve&apos;s iPhone&quot;.</field>
1791
1797
  /// <field name="deviceIdentifier" type="String">Gets or sets the hardware unique id.</field>
1792
- /// <field name="deviceInfo" type="String">Gets or sets the device system an hardware information e.g. &quot;Hewlett-Packard HP ProBook 6450b\tMicrosoft Windows NT 6.1.7600.0&quot;</field>
1793
- /// <field name="internalDeviceId" type="String">Gets the device id.</field>
1798
+ /// <field name="deviceInfo" type="String">Gets the device system and hardware information e.g. &quot;Hewlett-Packard HP ProBook 6450b\tMicrosoft Windows NT 6.1.7600.0&quot;</field>
1794
1799
  /// <field name="disableSyncAnalyzer" type="Boolean">Gets or sets whether the synchronization should use the SyncAnalyzer step.</field>
1795
1800
  /// <field name="discountCalculationMethod" type="Number">Gets or sets the option for calculating the discount 0 - apply after (Price*Quantity)-Discount , 1- apply before (Price-Discount)*Quantity.</field>
1801
+ /// <field name="distanceUnits" type="Number">Indicates whether to use metric system, imperial system or default device system (0=System default, 1=Metric, 2=Imperial).</field>
1802
+ /// <field name="downloadMultipleAttachments" type="Boolean">Gets or sets whether to download multiple attachments in one batch request. Default false.</field>
1796
1803
  /// <field name="duplicateDetection" type="Number">Gets whether duplicate detection is enabled and whether to detect against the local database, online, or always online. &quot;Disabled = 0, Enabled = 1,AlwaysOnline = 2&quot;</field>
1797
- /// <field name="enableAdvancedFind" type="Boolean">Gets or sets whether to enabled advanced find functionality. Default true.</field>
1798
- /// <field name="enableListButtons" type="Boolean">Enables list buttons. Default is true.</field>
1804
+ /// <field name="emailSignature" type="String">Gets or sets the email signature.</field>
1805
+ /// <field name="enableAdvancedFind" type="Boolean">Gets or sets whether to enable advanced find functionality. Default true.</field>
1806
+ /// <field name="enableListMultiSelect" type="Boolean">Allows user to multi-select in lists and calculate aggregates or execute custom commands.</field>
1799
1807
  /// <field name="enableListSearchButtons" type="Boolean">Gets or sets whether to allow list search buttons.</field>
1800
1808
  /// <field name="forceCustomizationDownload" type="Boolean">Gets or sets a value indicating whether the customization download is forced.</field>
1801
1809
  /// <field name="forcedFullSyncDate" type="Date">Gets or sets the date when the device must be full synced. If the last sync was before this date, the next sync must be full.</field>
1802
1810
  /// <field name="forgetPassword" type="Boolean">Gets or sets whether password can be used for next login.</field>
1811
+ /// <field name="formCachePolicy" type="Number">Determines form caching policy (whether to cache no forms, default forms-only or also FormSelectRule forms (0=NoCaching, 1=DefaultFormCaching, 2=AllFormsCaching).</field>
1803
1812
  /// <field name="fullScreenForms" type="Boolean">Gets or sets whether to show forms maximized by default. Can be overridden per form in Woodford.</field>
1804
- /// <field name="googleEmail" type="String">Gets or sets the Google account email.</field>
1805
1813
  /// <field name="gPSAccuracy" type="Number">Gets or sets the default accuracy (in meters) when resolving the current position.</field>
1806
1814
  /// <field name="gPSMaxAge" type="Number">Gets or sets the default maximum age (in seconds) of the last result when resolving the current position.</field>
1815
+ /// <field name="hasSyncErrors" type="Boolean">Indicates whether there were any synchronization errors encountered.</field>
1816
+ /// <field name="homeLocation" type="String">Defines the GPS location of the user&apos;s home. Must be in the form [latitude,longitude], e.g. 48.3,17.2</field>
1807
1817
  /// <field name="isOnlineCrm" type="Boolean">Gets whether the last login was for a CRM Online instance.</field>
1818
+ /// <field name="language" type="String">Gets the language of the application (e.g. en-US).</field>
1819
+ /// <field name="lastSyncDate" type="Date">Gets the last synchronization end date.</field>
1820
+ /// <field name="logSyncDetails" type="Boolean">Gets or sets whether the synchronization log should include low level messages.</field>
1808
1821
  /// <field name="maxAttachmentSize" type="Number">Gets or sets the maximum attachment size to sync (in bytes).</field>
1822
+ /// <field name="maxExecuteMultiple" type="Number">Gets or sets the maximum number of records to process in a single ExecuteMultiple request.</field>
1823
+ /// <field name="maxExecuteMultipleDataSize" type="Number">Gets or sets the maximum size (in bytes) of records to upload in one request.</field>
1824
+ /// <field name="maxImageSize" type="Number">Gets or sets the maximum size of the captured image. Bigger images are resized to this size (0=Default, 1=640x480, 2=1024x768, 3=1600x1200, 4=2048x1536, 5=2592x1936).</field>
1825
+ /// <field name="maxSyncCount" type="Number">Gets or sets the maximum number of records (per entity) to download.</field>
1826
+ /// <field name="maxUploadAttachmentSize" type="Number">Gets or sets the maximum size (in bytes) of attachments created by app.</field>
1827
+ /// <field name="maxUploadImageSize" type="Number">Gets or sets the maximum size of the uploaded image. Bigger images are resized to this size just after being captured/selected. (0=Default, 1=640x480, 2=1024x768, 3=1600x1200, 4=2048x1536, 5=2592x1936).</field>
1828
+ /// <field name="notifySyncFinish" type="Boolean">Gets or sets whether to show a notification after sync finishes and app is not on foreground.</field>
1809
1829
  /// <field name="onlineNoLock" type="Boolean">Gets or sets whether to use "no-lock" in fetchXml during online mode.</field>
1810
- /// <field name="organizationId" type="String">Gets or sets the current user's organization id (given by the server).</field>
1830
+ /// <field name="optimizeHiddenIframes" type="Boolean">Indicates whether to speed up hidden iFrames in Windows Store app by placing them into pre-loaded WebView container. </field>
1831
+ /// <field name="organizationId" type="String">Gets the current user&apos;s organization id (given by the server).</field>
1832
+ /// <field name="organizationName" type="String">Gets the current user&apos;s organization name (given by the server).</field>
1833
+ /// <field name="organizationUrl" type="String">Gets the current user&apos;s organization server URL.</field>
1834
+ /// <field name="pushId" type="String">Gets platform-specific identifier for push notifications.</field>
1811
1835
  /// <field name="saveBehavior" type="Number">Gets options for default after save behavior &quot;Default = 0, SaveOnly = 1,SaveAndClose = 2&quot;</field>
1812
1836
  /// <field name="saveSignatureAsImage" type="Boolean">Gets or sets whether to store signature attachments as SVG (vector) or PNG (image).</field>
1813
1837
  /// <field name="serverHostName" type="String">Gets the server host name.</field>
1814
- /// <field name="serverSettingsVersion" type="String">Gets the version of the settings file as send with the customization.</field>
1838
+ /// <field name="serverSettingsVersion" type="String">Gets the version of the settings file as sent with the customization.</field>
1815
1839
  /// <field name="serverVersion" type="Number">Gets or sets the server version, either 4 for CRM 4.0 or 5 for CRM 2011.</field>
1816
- /// <field name="showPersonalContacts" type="Boolean">Gets or sets whether to show contacts from the user's personal address book.</field>
1840
+ /// <field name="showPersonalContacts" type="Boolean">Gets or sets whether to show contacts from the user&apos;s personal address book.</field>
1817
1841
  /// <field name="showSystemCalendars" type="Boolean">Gets or sets whether to show private calendars in calendars.</field>
1818
- /// <field name="systemUserId" type="String">Gets or sets the current user id (given by the server).</field>
1819
- /// <field name="systemUserName" type="String">Gets or sets the current user name (given by the server).</field>
1820
- /// <field name="teams" type="Array<String>">Gets the array of ids of teams the current user is member of.</field>
1842
+ /// <field name="systemUserEmail" type="String">Gets the current user email (given by the server).</field>
1843
+ /// <field name="systemUserId" type="String">Gets the current user id (given by the server).</field>
1844
+ /// <field name="systemUserName" type="String">Gets the current user name (given by the server).</field>
1845
+ /// <field name="teams" type="String[]">Gets the array of ids of teams the current user is member of.</field>
1846
+ /// <field name="themeType" type="Number">Gets or sets app theme - system, light or dark. 0=Light, 1=Dark, 2=System</field>
1821
1847
  /// <field name="useCrmEmail" type="Boolean">Gets or sets whether to create a CRM email entity or use the platform email service.</field>
1822
1848
  /// <field name="useDatabaseBlobStore" type="Boolean">Gets or sets whether to store attachment blobs in database or in files. If you change this setting you must perform a full sync!</field>
1823
- /// <field name="useFlexiForms" type="Boolean">Gets or sets whether flexi forms (New UI).</field>
1824
- /// <field name="googleApiKey" type="String">Gets or sets the google API key.</field>
1849
+ /// <field name="useFlexiForms" type="Boolean">Gets or sets whether flexi forms (New UI) are enabled.</field>
1850
+ /// <field name="userDefaultCurrencyId" type="String">Gets the user&apos;s default currency id. If not set use the organization default.</field>
1851
+ /// <field name="userName" type="String">Gets the current user&apos;s name.</field>
1852
+ /// <field name="workLocation" type="String">Defines the GPS location of the user&apos;s work. Must be in the form [latitude,longitude], e.g. 48.3,17.2</field>
1825
1853
  };
1826
1854
  MobileCRM.CultureInfo.currentCulture = null;
1827
1855
  MobileCRM.CultureInfo.initialize = function (callback, errorCallback, scope) {